summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 07:17:09 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 07:17:09 +0000
commit8be5f096f62dc635778bc957b91e2864ec2915ef (patch)
tree62e33a0d36e8a11e7af9d49b11eb8e6e724e59c9
parentb8f3ed013b9e9dfca15968889905ea0c6c22d672 (diff)
automatic import of python-pyratlib
-rw-r--r--.gitignore1
-rw-r--r--python-pyratlib.spec72
-rw-r--r--sources1
3 files changed, 74 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..3a06d7e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pyratlib-0.7.7.tar.gz
diff --git a/python-pyratlib.spec b/python-pyratlib.spec
new file mode 100644
index 0000000..b205f75
--- /dev/null
+++ b/python-pyratlib.spec
@@ -0,0 +1,72 @@
+%global _empty_manifest_terminate_build 0
+Name: python-pyratlib
+Version: 0.7.7
+Release: 1
+Summary: PyRat is a user friendly library in python to analyze data from the DeepLabCut. Developed to help researchers unfamiliar with programming can perform animal behavior analysis more simpler.
+License: MIT
+URL: https://github.com/pyratlib/pyrat
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/af/17/70920eb8a1bf1333ab602f0b3b997640ecf28729dded2795518ecc9f94fa/pyratlib-0.7.7.tar.gz
+BuildArch: noarch
+
+
+%description
+PyRat is a user friendly library in python to analyze data from the DeepLabCut. Developed to help researchers unfamiliar with programming can perform animal behavior analysis more simpler.
+
+%package -n python3-pyratlib
+Summary: PyRat is a user friendly library in python to analyze data from the DeepLabCut. Developed to help researchers unfamiliar with programming can perform animal behavior analysis more simpler.
+Provides: python-pyratlib
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-pyratlib
+PyRat is a user friendly library in python to analyze data from the DeepLabCut. Developed to help researchers unfamiliar with programming can perform animal behavior analysis more simpler.
+
+%package help
+Summary: Development documents and examples for pyratlib
+Provides: python3-pyratlib-doc
+%description help
+PyRat is a user friendly library in python to analyze data from the DeepLabCut. Developed to help researchers unfamiliar with programming can perform animal behavior analysis more simpler.
+
+%prep
+%autosetup -n pyratlib-0.7.7
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-pyratlib -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.7.7-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..674ea73
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+ed1ec7816e6af7175077da32cd1065d1 pyratlib-0.7.7.tar.gz