summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-cellprofiler.spec105
-rw-r--r--sources1
3 files changed, 107 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..6370407 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/CellProfiler-4.2.5.tar.gz
diff --git a/python-cellprofiler.spec b/python-cellprofiler.spec
new file mode 100644
index 0000000..877c37b
--- /dev/null
+++ b/python-cellprofiler.spec
@@ -0,0 +1,105 @@
+%global _empty_manifest_terminate_build 0
+Name: python-CellProfiler
+Version: 4.2.5
+Release: 1
+Summary: please add a summary manually as the author left a blank one
+License: BSD
+URL: https://github.com/CellProfiler/CellProfiler
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/24/d8/ceeb479bc09d2a41e9220bd06786c14e18250a92806a0b6049308e1550cb/CellProfiler-4.2.5.tar.gz
+BuildArch: noarch
+
+Requires: python3-boto3
+Requires: python3-cellprofiler-core
+Requires: python3-centrosome
+Requires: python3-docutils
+Requires: python3-h5py
+Requires: python3-imageio
+Requires: python3-inflect
+Requires: python3-Jinja2
+Requires: python3-joblib
+Requires: python3-mahotas
+Requires: python3-matplotlib
+Requires: python3-mysqlclient
+Requires: python3-numpy
+Requires: python3-Pillow
+Requires: python3-prokaryote
+Requires: python3-bioformats
+Requires: python3-javabridge
+Requires: python3-pyzmq
+Requires: python3-sentry-sdk
+Requires: python3-requests
+Requires: python3-scikit-image
+Requires: python3-scikit-learn
+Requires: python3-scipy
+Requires: python3-six
+Requires: python3-tifffile
+Requires: python3-wxPython
+Requires: python3-black
+Requires: python3-pre-commit
+Requires: python3-pyinstaller
+Requires: python3-twine
+Requires: python3-Sphinx
+Requires: python3-sphinx-rtd-theme
+Requires: python3-pytest
+
+%description
+
+
+%package -n python3-CellProfiler
+Summary: please add a summary manually as the author left a blank one
+Provides: python-CellProfiler
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-CellProfiler
+
+
+%package help
+Summary: Development documents and examples for CellProfiler
+Provides: python3-CellProfiler-doc
+%description help
+
+
+%prep
+%autosetup -n CellProfiler-4.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-CellProfiler -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Wed May 17 2023 Python_Bot <Python_Bot@openeuler.org> - 4.2.5-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..5568644
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+04de14e628d33755cc0d625b81b25de7 CellProfiler-4.2.5.tar.gz