summaryrefslogtreecommitdiff
path: root/python-toxopy.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-18 06:01:28 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-18 06:01:28 +0000
commit844dec9da22396257c32a3f40403ab1493eb3d29 (patch)
tree49c354310c4da04f6d0b310555fa0299f18532aa /python-toxopy.spec
parentf5c2216b4d0270ddc4081a33f4581bd479da6bdc (diff)
automatic import of python-toxopy
Diffstat (limited to 'python-toxopy.spec')
-rw-r--r--python-toxopy.spec83
1 files changed, 83 insertions, 0 deletions
diff --git a/python-toxopy.spec b/python-toxopy.spec
new file mode 100644
index 0000000..a630e97
--- /dev/null
+++ b/python-toxopy.spec
@@ -0,0 +1,83 @@
+%global _empty_manifest_terminate_build 0
+Name: python-toxopy
+Version: 0.6.4
+Release: 1
+Summary: Object-specific python package to run automated tasks in the Chase Lab.
+License: MIT License
+URL: https://github.com/bchaselab/toxopy
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/92/75/30e9d15df7ec95a49bc92313934b7680f539b55560010324737c52b80b0b/toxopy-0.6.4.tar.gz
+BuildArch: noarch
+
+Requires: python3-pandas
+Requires: python3-dlcu
+Requires: python3-numpy
+Requires: python3-tqdm
+Requires: python3-scipy
+Requires: python3-matplotlib
+Requires: python3-seaborn
+Requires: python3-rich
+Requires: python3-dirtyR
+Requires: python3-rdp
+Requires: python3-pca
+
+%description
+
+
+%package -n python3-toxopy
+Summary: Object-specific python package to run automated tasks in the Chase Lab.
+Provides: python-toxopy
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-toxopy
+
+
+%package help
+Summary: Development documents and examples for toxopy
+Provides: python3-toxopy-doc
+%description help
+
+
+%prep
+%autosetup -n toxopy-0.6.4
+
+%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-toxopy -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 0.6.4-1
+- Package Spec generated