diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-kipoi.spec | 107 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 109 insertions, 0 deletions
@@ -0,0 +1 @@ +/kipoi-0.8.6.tar.gz diff --git a/python-kipoi.spec b/python-kipoi.spec new file mode 100644 index 0000000..352b619 --- /dev/null +++ b/python-kipoi.spec @@ -0,0 +1,107 @@ +%global _empty_manifest_terminate_build 0 +Name: python-kipoi +Version: 0.8.6 +Release: 1 +Summary: Kipoi: model zoo for genomics +License: MIT license +URL: https://github.com/kipoi/kipoi +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/36/31/a615a95f2f346bf5897ba941fa55b9f42694a278b2c93b56ef6ee2e1da60/kipoi-0.8.6.tar.gz +BuildArch: noarch + +Requires: python3-pyyaml +Requires: python3-numpy +Requires: python3-pandas +Requires: python3-tqdm +Requires: python3-related +Requires: python3-colorlog +Requires: python3-jinja2 +Requires: python3-cookiecutter +Requires: python3-h5py +Requires: python3-urllib3 +Requires: python3-tinydb +Requires: python3-kipoi-utils +Requires: python3-kipoi-conda +Requires: python3-deprecation +Requires: python3-attrs +Requires: python3-bump2version +Requires: python3-gitpython +Requires: python3-wheel +Requires: python3-jedi +Requires: python3-epc +Requires: python3-pyarrow +Requires: python3-pytest +Requires: python3-pytest-xdist +Requires: python3-pytest-pep8 +Requires: python3-pytest-cov +Requires: python3-scikit-learn +Requires: python3-cython +Requires: python3-keras +Requires: python3-tensorflow +Requires: python3-zarr +Requires: python3-kipoi-interpret +Requires: python3-concise + +%description +Kipoi: model zoo for genomics. http://kipoi.org/ + + +%package -n python3-kipoi +Summary: Kipoi: model zoo for genomics +Provides: python-kipoi +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-kipoi +Kipoi: model zoo for genomics. http://kipoi.org/ + + +%package help +Summary: Development documents and examples for kipoi +Provides: python3-kipoi-doc +%description help +Kipoi: model zoo for genomics. http://kipoi.org/ + + +%prep +%autosetup -n kipoi-0.8.6 + +%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-kipoi -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.8.6-1 +- Package Spec generated @@ -0,0 +1 @@ +6bc51d6aac5ca2bcb41c4fb669817869 kipoi-0.8.6.tar.gz |