diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-11 04:13:02 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 04:13:02 +0000 |
| commit | 56355c5c2c57b7b0b0dd72958b20c21e9af8d3aa (patch) | |
| tree | 3f61311fcaa93f8e939c378c241c5454b27f79db | |
| parent | 2b25f5dbfbeb1c1be88fe9b049c4803ed2f9f69f (diff) | |
automatic import of python-parasail
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-parasail.spec | 84 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 86 insertions, 0 deletions
@@ -0,0 +1 @@ +/parasail-1.3.4.tar.gz diff --git a/python-parasail.spec b/python-parasail.spec new file mode 100644 index 0000000..25c22f7 --- /dev/null +++ b/python-parasail.spec @@ -0,0 +1,84 @@ +%global _empty_manifest_terminate_build 0 +Name: python-parasail +Version: 1.3.4 +Release: 1 +Summary: pairwise sequence alignment library +License: BSD +URL: https://github.com/jeffdaily/parasail-python +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/e7/ea/83b1f61fde88c164b7a0224f540d358177bc29cae2aae1d8873f42f10805/parasail-1.3.4.tar.gz + +Requires: python3-numpy + +%description +Python Bindings for the Parasail C Library +Travis Build Status: +PyPI Package: +Author: Jeff Daily (jeffrey.daily@gmail.com) + +%package -n python3-parasail +Summary: pairwise sequence alignment library +Provides: python-parasail +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-cffi +BuildRequires: gcc +BuildRequires: gdb +%description -n python3-parasail +Python Bindings for the Parasail C Library +Travis Build Status: +PyPI Package: +Author: Jeff Daily (jeffrey.daily@gmail.com) + +%package help +Summary: Development documents and examples for parasail +Provides: python3-parasail-doc +%description help +Python Bindings for the Parasail C Library +Travis Build Status: +PyPI Package: +Author: Jeff Daily (jeffrey.daily@gmail.com) + +%prep +%autosetup -n parasail-1.3.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-parasail -f filelist.lst +%dir %{python3_sitearch}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 1.3.4-1 +- Package Spec generated @@ -0,0 +1 @@ +637a941b552a615994b1d41e8a05b9de parasail-1.3.4.tar.gz |
