summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-15 03:12:36 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-15 03:12:36 +0000
commita814820d2132eb5e2f48a878e8627d26c724edd5 (patch)
treec0e818e6a27cc7a283aa3cb09dea184625a2df55
parent491ed74c4bd52a0e099af4a628b5b5a02ca5f6f5 (diff)
automatic import of python-kudu-python
-rw-r--r--.gitignore1
-rw-r--r--python-kudu-python.spec114
-rw-r--r--sources1
3 files changed, 116 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..be80922 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/kudu-python-1.16.0.tar.gz
diff --git a/python-kudu-python.spec b/python-kudu-python.spec
new file mode 100644
index 0000000..87265a5
--- /dev/null
+++ b/python-kudu-python.spec
@@ -0,0 +1,114 @@
+%global _empty_manifest_terminate_build 0
+Name: python-kudu-python
+Version: 1.16.0
+Release: 1
+Summary: Python interface to the Apache Kudu C++ Client API
+License: Apache License, Version 2.0
+URL: http://kudu.apache.org/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c0/b6/e1aab0c4b4e3378e5afa4a664dc05040c50f19ee1bd54cddbab570f59fab/kudu-python-1.16.0.tar.gz
+BuildArch: noarch
+
+
+%description
+## kudu-python: Python interface to the Apache Kudu C++ Client API
+
+Using this package requires that you install the Kudu C++ client libraries and
+headers. See http://getkudu.io for more.
+
+To install from PyPI, run
+
+```
+pip install kudu-python
+```
+
+Installation from source requires Cython.
+
+
+
+
+%package -n python3-kudu-python
+Summary: Python interface to the Apache Kudu C++ Client API
+Provides: python-kudu-python
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-kudu-python
+## kudu-python: Python interface to the Apache Kudu C++ Client API
+
+Using this package requires that you install the Kudu C++ client libraries and
+headers. See http://getkudu.io for more.
+
+To install from PyPI, run
+
+```
+pip install kudu-python
+```
+
+Installation from source requires Cython.
+
+
+
+
+%package help
+Summary: Development documents and examples for kudu-python
+Provides: python3-kudu-python-doc
+%description help
+## kudu-python: Python interface to the Apache Kudu C++ Client API
+
+Using this package requires that you install the Kudu C++ client libraries and
+headers. See http://getkudu.io for more.
+
+To install from PyPI, run
+
+```
+pip install kudu-python
+```
+
+Installation from source requires Cython.
+
+
+
+
+%prep
+%autosetup -n kudu-python-1.16.0
+
+%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-kudu-python -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 1.16.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..faa95d9
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+c414641c82f7db1b886f6f741dda5603 kudu-python-1.16.0.tar.gz