diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-12 06:46:52 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-12 06:46:52 +0000 |
commit | 9a1e8600c5d6f322d66334c7dd7e758399e29f2d (patch) | |
tree | a5cb255a4c62442b9c2f28acd3e14ba843ef4a35 | |
parent | 8c149e0246a7429d621d2de0c1c13e36db2a440b (diff) |
automatic import of python-histomicstkopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-histomicstk.spec | 95 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 97 insertions, 0 deletions
@@ -0,0 +1 @@ +/histomicstk-1.2.5.tar.gz diff --git a/python-histomicstk.spec b/python-histomicstk.spec new file mode 100644 index 0000000..dff8e18 --- /dev/null +++ b/python-histomicstk.spec @@ -0,0 +1,95 @@ +%global _empty_manifest_terminate_build 0 +Name: python-histomicstk +Version: 1.2.5 +Release: 1 +Summary: A Python toolkit for Histopathology Image Analysis +License: Apache Software License 2.0 +URL: https://github.com/DigitalSlideArchive/HistomicsTK +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/58/69/c59211e060928603e544c869dd31e85fb427e5d4e290f792c085ea99d5b8/histomicstk-1.2.5.tar.gz +BuildArch: noarch + +Requires: python3-girder-client +Requires: python3-nimfa +Requires: python3-numpy +Requires: python3-scipy +Requires: python3-Pillow +Requires: python3-pandas +Requires: python3-scikit-image +Requires: python3-scikit-learn +Requires: python3-imageio +Requires: python3-shapely[vectorized] +Requires: python3-matplotlib +Requires: python3-pyvips +Requires: python3-dask[dataframe] +Requires: python3-distributed +Requires: python3-girder-slicer-cli-web +Requires: python3-ctk-cli +Requires: python3-opencv-python-headless +Requires: python3-sqlalchemy +Requires: python3-opencv-python-headless +Requires: python3-sqlalchemy +Requires: python3-large-image[pil] +Requires: python3-large-image[sources] +Requires: python3-large-image[sources] + +%description + + +%package -n python3-histomicstk +Summary: A Python toolkit for Histopathology Image Analysis +Provides: python-histomicstk +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-histomicstk + + +%package help +Summary: Development documents and examples for histomicstk +Provides: python3-histomicstk-doc +%description help + + +%prep +%autosetup -n histomicstk-1.2.5 + +%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-histomicstk -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed Apr 12 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.5-1 +- Package Spec generated @@ -0,0 +1 @@ +c8a105247500fd2d8e4b0d8d6ae3b5b9 histomicstk-1.2.5.tar.gz |