From 9477e18c1a01743abc5e35c7195ef21b4e0b48ad Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 31 May 2023 04:10:01 +0000 Subject: automatic import of python-clowdr --- .gitignore | 1 + python-clowdr.spec | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 87 insertions(+) create mode 100644 python-clowdr.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..5972a9e 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/clowdr-0.1.2.post1.tar.gz diff --git a/python-clowdr.spec b/python-clowdr.spec new file mode 100644 index 0000000..e235860 --- /dev/null +++ b/python-clowdr.spec @@ -0,0 +1,85 @@ +%global _empty_manifest_terminate_build 0 +Name: python-clowdr +Version: 0.1.2.post1 +Release: 1 +Summary: Tool for launching pipelines locally and remotely +License: MIT +URL: http://github.com/clowdr/clowdr +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/6b/91/5c97d5304091b38eec8ff36470a86f2684676b10f107fdc34dda8172a150/clowdr-0.1.2.post1.tar.gz +BuildArch: noarch + +Requires: python3-boto3 +Requires: python3-flask +Requires: python3-boutiques +Requires: python3-pandas +Requires: python3-slurmpy +Requires: python3-dash +Requires: python3-dash-renderer +Requires: python3-dash-html-components +Requires: python3-dash-core-components +Requires: python3-dash-table-experiments +Requires: python3-colorlover +Requires: python3-psutil +Requires: python3-plotly + +%description + + +%package -n python3-clowdr +Summary: Tool for launching pipelines locally and remotely +Provides: python-clowdr +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-clowdr + + +%package help +Summary: Development documents and examples for clowdr +Provides: python3-clowdr-doc +%description help + + +%prep +%autosetup -n clowdr-0.1.2.post1 + +%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-clowdr -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 31 2023 Python_Bot - 0.1.2.post1-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..88b3c2c --- /dev/null +++ b/sources @@ -0,0 +1 @@ +be51089fd67efbf38adda907ba459b7d clowdr-0.1.2.post1.tar.gz -- cgit v1.2.3