diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-15 09:28:42 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-15 09:28:42 +0000 |
| commit | dac7075bd1f6592c0877610ca4fcbdedeb58c400 (patch) | |
| tree | 0f6397ed8aa4d8fcf2c6b487469225c773183afe | |
| parent | bfd65ae10329365744013aaaeae0569c402af4d5 (diff) | |
automatic import of python-pyquant-ms
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-pyquant-ms.spec | 83 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 85 insertions, 0 deletions
@@ -0,0 +1 @@ +/pyquant-ms-0.2.4.tar.gz diff --git a/python-pyquant-ms.spec b/python-pyquant-ms.spec new file mode 100644 index 0000000..6d6180b --- /dev/null +++ b/python-pyquant-ms.spec @@ -0,0 +1,83 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pyquant-ms +Version: 0.2.4 +Release: 1 +Summary: A framework for the analysis of quantitative mass spectrometry data +License: MIT License +URL: http://www.github.com/chris7/pyquant +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/5b/a9/9bfae18e0af8777266033579ad79e6c77df9fc2e72f68ff1351df8b00716/pyquant-ms-0.2.4.tar.gz + +Requires: python3-cython +Requires: python3-lxml +Requires: python3-numpy +Requires: python3-pandas +Requires: python3-patsy +Requires: python3-pythomics +Requires: python3-scikit-learn +Requires: python3-scipy +Requires: python3-simplejson + +%description + + +%package -n python3-pyquant-ms +Summary: A framework for the analysis of quantitative mass spectrometry data +Provides: python-pyquant-ms +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-cffi +BuildRequires: gcc +BuildRequires: gdb +%description -n python3-pyquant-ms + + +%package help +Summary: Development documents and examples for pyquant-ms +Provides: python3-pyquant-ms-doc +%description help + + +%prep +%autosetup -n pyquant-ms-0.2.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-pyquant-ms -f filelist.lst +%dir %{python3_sitearch}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.4-1 +- Package Spec generated @@ -0,0 +1 @@ +487926c2bc8fec96c42edf85fa40a5eb pyquant-ms-0.2.4.tar.gz |
