From 9470a6066ff6c1e23d7014be3638004a93eb92d3 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 17 May 2023 04:09:27 +0000 Subject: automatic import of python-cellprofiler --- python-cellprofiler.spec | 105 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 python-cellprofiler.spec (limited to 'python-cellprofiler.spec') 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 - 4.2.5-1 +- Package Spec generated -- cgit v1.2.3