diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-12 07:17:16 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-12 07:17:16 +0000 |
| commit | 66d3fe45729c7608841907f1b1a6665dfbf57430 (patch) | |
| tree | 5ea60b35fd90b31e74bc8cecab2d6b3d719d43df | |
| parent | de22f799f415ea16a4b5811ff96d9980a408e433 (diff) | |
automatic import of python-partsegcore-compiled-backendopeneuler20.03
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-partsegcore-compiled-backend.spec | 95 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 97 insertions, 0 deletions
@@ -0,0 +1 @@ +/PartSegCore_compiled_backend-0.15.0.tar.gz diff --git a/python-partsegcore-compiled-backend.spec b/python-partsegcore-compiled-backend.spec new file mode 100644 index 0000000..4b2949f --- /dev/null +++ b/python-partsegcore-compiled-backend.spec @@ -0,0 +1,95 @@ +%global _empty_manifest_terminate_build 0 +Name: python-PartSegCore-compiled-backend +Version: 0.15.0 +Release: 1 +Summary: PartSegCore compiled backend, +License: BSD-3-Clause +URL: https://4dnucleome.cent.uw.edu.pl/PartSeg/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/bb/75/2adc84a32b809121729bad87f86b9f9fddfb81b6996b9659af612ebf5c69/PartSegCore_compiled_backend-0.15.0.tar.gz + +Requires: python3-numpy +Requires: python3-pytest +Requires: python3-pytest-cov + +%description +# PartSegCore_compiled_backend + +This is package with all cython/c++ backends for ParSeg + +Current release extracted from PartSegCore module to avoid build multiple wheels +for main package and speedup tests. + + +%package -n python3-PartSegCore-compiled-backend +Summary: PartSegCore compiled backend, +Provides: python-PartSegCore-compiled-backend +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-cffi +BuildRequires: gcc +BuildRequires: gdb +%description -n python3-PartSegCore-compiled-backend +# PartSegCore_compiled_backend + +This is package with all cython/c++ backends for ParSeg + +Current release extracted from PartSegCore module to avoid build multiple wheels +for main package and speedup tests. + + +%package help +Summary: Development documents and examples for PartSegCore-compiled-backend +Provides: python3-PartSegCore-compiled-backend-doc +%description help +# PartSegCore_compiled_backend + +This is package with all cython/c++ backends for ParSeg + +Current release extracted from PartSegCore module to avoid build multiple wheels +for main package and speedup tests. + + +%prep +%autosetup -n PartSegCore-compiled-backend-0.15.0 + +%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-PartSegCore-compiled-backend -f filelist.lst +%dir %{python3_sitearch}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 0.15.0-1 +- Package Spec generated @@ -0,0 +1 @@ +d1429550fcab544fbae4dd82429bc8bd PartSegCore_compiled_backend-0.15.0.tar.gz |
