summaryrefslogtreecommitdiff
path: root/python-scikit-allel.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 09:57:08 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 09:57:08 +0000
commitd57e9a92f88a67a6298ada7e60e1fb5cb1a0ea2e (patch)
tree99a94b85e07c10a404a158049869b1a85d48cc91 /python-scikit-allel.spec
parentd605c82d688fb83d58943af507dffb66ee88c82d (diff)
automatic import of python-scikit-allelopeneuler20.03
Diffstat (limited to 'python-scikit-allel.spec')
-rw-r--r--python-scikit-allel.spec96
1 files changed, 96 insertions, 0 deletions
diff --git a/python-scikit-allel.spec b/python-scikit-allel.spec
new file mode 100644
index 0000000..131d2fb
--- /dev/null
+++ b/python-scikit-allel.spec
@@ -0,0 +1,96 @@
+%global _empty_manifest_terminate_build 0
+Name: python-scikit-allel
+Version: 1.3.5
+Release: 1
+Summary: A Python package for exploring and analysing genetic variation data.
+License: MIT
+URL: https://github.com/cggh/scikit-allel
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/13/5f/4a45c9d788cf74eb5a6536ceab78ff72806ac36dfed07abb54fc72f9a39f/scikit-allel-1.3.5.tar.gz
+
+Requires: python3-numpy
+Requires: python3-dask[array]
+Requires: python3-scipy
+Requires: python3-matplotlib
+Requires: python3-seaborn
+Requires: python3-pandas
+Requires: python3-scikit-learn
+Requires: python3-h5py
+Requires: python3-numexpr
+Requires: python3-zarr
+Requires: python3-hmmlearn
+Requires: python3-pomegranate
+Requires: python3-nose
+
+%description
+A Python package for exploratory analysis of large scale genetic variation data.
+* Documentation: http://scikit-allel.readthedocs.org
+* Source code: https://github.com/cggh/scikit-allel
+* Download: https://pypi.python.org/pypi/scikit-allel
+
+%package -n python3-scikit-allel
+Summary: A Python package for exploring and analysing genetic variation data.
+Provides: python-scikit-allel
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+BuildRequires: python3-cffi
+BuildRequires: gcc
+BuildRequires: gdb
+%description -n python3-scikit-allel
+A Python package for exploratory analysis of large scale genetic variation data.
+* Documentation: http://scikit-allel.readthedocs.org
+* Source code: https://github.com/cggh/scikit-allel
+* Download: https://pypi.python.org/pypi/scikit-allel
+
+%package help
+Summary: Development documents and examples for scikit-allel
+Provides: python3-scikit-allel-doc
+%description help
+A Python package for exploratory analysis of large scale genetic variation data.
+* Documentation: http://scikit-allel.readthedocs.org
+* Source code: https://github.com/cggh/scikit-allel
+* Download: https://pypi.python.org/pypi/scikit-allel
+
+%prep
+%autosetup -n scikit-allel-1.3.5
+
+%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-scikit-allel -f filelist.lst
+%dir %{python3_sitearch}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 1.3.5-1
+- Package Spec generated