diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-31 04:10:01 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-31 04:10:01 +0000 |
commit | 9477e18c1a01743abc5e35c7195ef21b4e0b48ad (patch) | |
tree | 544d8127f93286d882e38ee1cdcbbc02d849e070 | |
parent | 294b8ab3ec6a1aa19d74d6d3f55cde1de4094c42 (diff) |
automatic import of python-clowdr
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-clowdr.spec | 85 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 87 insertions, 0 deletions
@@ -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 <Python_Bot@openeuler.org> - 0.1.2.post1-1 +- Package Spec generated @@ -0,0 +1 @@ +be51089fd67efbf38adda907ba459b7d clowdr-0.1.2.post1.tar.gz |