diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-09 06:29:16 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-09 06:29:16 +0000 |
commit | 6de3ece5b0e88369f6c9ef0c9318bdd15f61e658 (patch) | |
tree | 8f6723244eeaba035c6720a0d780592a1aa82b75 | |
parent | c488c886b7fcfe733847b777a0034c9a7affae97 (diff) |
automatic import of python-pynessieopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-pynessie.spec | 83 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 85 insertions, 0 deletions
@@ -0,0 +1 @@ +/pynessie-0.60.1.tar.gz diff --git a/python-pynessie.spec b/python-pynessie.spec new file mode 100644 index 0000000..c4bfc5b --- /dev/null +++ b/python-pynessie.spec @@ -0,0 +1,83 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pynessie +Version: 0.60.1 +Release: 1 +Summary: Project Nessie: Transactional Catalog for Data Lakes with Git-like semantics +License: Apache Software License 2.0 +URL: https://github.com/projectnessie/nessie +Source0: https://mirrors.aliyun.com/pypi/web/packages/41/6a/215f0f1a5a874f92cc13bd100682e6c9603c07346ff0044db8b019d2640e/pynessie-0.60.1.tar.gz +BuildArch: noarch + +Requires: python3-attrs +Requires: python3-botocore +Requires: python3-Click +Requires: python3-confuse +Requires: python3-desert +Requires: python3-marshmallow +Requires: python3-marshmallow-oneofschema +Requires: python3-dateutil +Requires: python3-requests +Requires: python3-requests-aws4auth +Requires: python3-simplejson + +%description + + +%package -n python3-pynessie +Summary: Project Nessie: Transactional Catalog for Data Lakes with Git-like semantics +Provides: python-pynessie +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pynessie + + +%package help +Summary: Development documents and examples for pynessie +Provides: python3-pynessie-doc +%description help + + +%prep +%autosetup -n pynessie-0.60.1 + +%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-pynessie -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.60.1-1 +- Package Spec generated @@ -0,0 +1 @@ +fb57bc838938e48784a0922573ea8311 pynessie-0.60.1.tar.gz |