diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-31 05:15:10 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-31 05:15:10 +0000 |
commit | 1b1b45d6b9901f5be71acb87013b8da5688b4646 (patch) | |
tree | 47be78ff6752fa8652fa7365a27b99e33cea508a | |
parent | 1cd028cd8c3a9a3f18971f8ce598f77decd290e0 (diff) |
automatic import of python-smart-bs-seq
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-smart-bs-seq.spec | 79 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 81 insertions, 0 deletions
@@ -0,0 +1 @@ +/SMART-BS-Seq-2.2.8.tar.gz diff --git a/python-smart-bs-seq.spec b/python-smart-bs-seq.spec new file mode 100644 index 0000000..1e69fb9 --- /dev/null +++ b/python-smart-bs-seq.spec @@ -0,0 +1,79 @@ +%global _empty_manifest_terminate_build 0 +Name: python-SMART-BS-Seq +Version: 2.2.8 +Release: 1 +Summary: Specific Methylation Analysis and Report Tool 2 +License: BSD License +URL: http://fame.edbc.org/smart/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/36/35/37242e8ed531c71c045e21fe00a3a652b6d691e7ae57bb331efb88f8f33a/SMART-BS-Seq-2.2.8.tar.gz +BuildArch: noarch + +Requires: python3-numpy +Requires: python3-pandas +Requires: python3-scipy +Requires: python3-statsmodels + +%description +*Time-stamp: <2018-01-31 10:35:00 Hongbo Liu>* +|PyPI| |License| |Build Status| |Platform| + +%package -n python3-SMART-BS-Seq +Summary: Specific Methylation Analysis and Report Tool 2 +Provides: python-SMART-BS-Seq +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-SMART-BS-Seq +*Time-stamp: <2018-01-31 10:35:00 Hongbo Liu>* +|PyPI| |License| |Build Status| |Platform| + +%package help +Summary: Development documents and examples for SMART-BS-Seq +Provides: python3-SMART-BS-Seq-doc +%description help +*Time-stamp: <2018-01-31 10:35:00 Hongbo Liu>* +|PyPI| |License| |Build Status| |Platform| + +%prep +%autosetup -n SMART-BS-Seq-2.2.8 + +%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-SMART-BS-Seq -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 2.2.8-1 +- Package Spec generated @@ -0,0 +1 @@ +f5d6988198e40097dc215ee4ea4c4fe5 SMART-BS-Seq-2.2.8.tar.gz |