diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-29 11:32:43 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-29 11:32:43 +0000 |
commit | 3579dd5a4465564151f5cbbc4f097e2963628029 (patch) | |
tree | a09c3ac0be43bc73c5be12ca91c3e2a038fdb868 | |
parent | dac5e13dd4b84b47397503bfeb1abc9cd3b589c2 (diff) |
automatic import of python-kumuniverse
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-kumuniverse.spec | 86 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 88 insertions, 0 deletions
@@ -0,0 +1 @@ +/kumuniverse-0.9.4.tar.gz diff --git a/python-kumuniverse.spec b/python-kumuniverse.spec new file mode 100644 index 0000000..66698b4 --- /dev/null +++ b/python-kumuniverse.spec @@ -0,0 +1,86 @@ +%global _empty_manifest_terminate_build 0 +Name: python-kumuniverse +Version: 0.9.4 +Release: 1 +Summary: Data team shared library for accessing services +License: MIT +URL: https://pypi.org/project/kumuniverse/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/27/b3/9e8e6fd414605a99510647d08f9e2c04d86a0adea57dd55fd41286efe386/kumuniverse-0.9.4.tar.gz +BuildArch: noarch + +Requires: python3-pymongo +Requires: python3-pymongo[srv] +Requires: python3-pymongo[aws] +Requires: python3-requests +Requires: python3-UnleashClient +Requires: python3-boto3 +Requires: python3-pandas +Requires: python3-pyspark +Requires: python3-kafka-python +Requires: python3-sagemaker +Requires: python3-redis + +%description +Data team shared library for accessing services + + +%package -n python3-kumuniverse +Summary: Data team shared library for accessing services +Provides: python-kumuniverse +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-kumuniverse +Data team shared library for accessing services + + +%package help +Summary: Development documents and examples for kumuniverse +Provides: python3-kumuniverse-doc +%description help +Data team shared library for accessing services + + +%prep +%autosetup -n kumuniverse-0.9.4 + +%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-kumuniverse -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 0.9.4-1 +- Package Spec generated @@ -0,0 +1 @@ +394c8039da17ca7cf1578e253b7ecd24 kumuniverse-0.9.4.tar.gz |