diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-05 06:57:27 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 06:57:27 +0000 |
| commit | f1a33b8dcb53c5d64cc8efa9478993017f32c809 (patch) | |
| tree | 7de647cea7e4cf70ea475dee7ececa3e8d9ca5d3 | |
| parent | 9dc57149f8502977f761d4423b6480ad0476a947 (diff) | |
automatic import of python-pyhiveapiopeneuler20.03
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-pyhiveapi.spec | 81 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 83 insertions, 0 deletions
@@ -0,0 +1 @@ +/pyhiveapi-0.5.15.tar.gz diff --git a/python-pyhiveapi.spec b/python-pyhiveapi.spec new file mode 100644 index 0000000..e48767e --- /dev/null +++ b/python-pyhiveapi.spec @@ -0,0 +1,81 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pyhiveapi +Version: 0.5.15 +Release: 1 +Summary: A Python library to interface with the Hive API +License: MIT +URL: https://github.com/Pyhive/pyhiveapi +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a5/5f/7cedbdb1196b9c43310c8cff9b33ad0119692f8b9454931e212f1745b39f/pyhiveapi-0.5.15.tar.gz +BuildArch: noarch + +Requires: python3-pre-commit +Requires: python3-boto3 +Requires: python3-botocore +Requires: python3-requests +Requires: python3-aiohttp +Requires: python3-pyquery +Requires: python3-unasync +Requires: python3-loguru +Requires: python3-tox + +%description + + +%package -n python3-pyhiveapi +Summary: A Python library to interface with the Hive API +Provides: python-pyhiveapi +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pyhiveapi + + +%package help +Summary: Development documents and examples for pyhiveapi +Provides: python3-pyhiveapi-doc +%description help + + +%prep +%autosetup -n pyhiveapi-0.5.15 + +%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-pyhiveapi -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.5.15-1 +- Package Spec generated @@ -0,0 +1 @@ +a1a1d86b2675395880d823c345706612 pyhiveapi-0.5.15.tar.gz |
