summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 01:45:16 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 01:45:16 +0000
commit34946396e0e36b209eb8ff0f849c8a75b14c99bb (patch)
tree0d7e627dbd886be6f410b8335e0f570621eca338
parent80dcf3698cfc2ed0a572aa135ca16f0113e1ac26 (diff)
automatic import of python-ibis-bigquery
-rw-r--r--.gitignore1
-rw-r--r--python-ibis-bigquery.spec83
-rw-r--r--sources1
3 files changed, 85 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..c665f6f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ibis-bigquery-2.2.1.tar.gz
diff --git a/python-ibis-bigquery.spec b/python-ibis-bigquery.spec
new file mode 100644
index 0000000..f2449df
--- /dev/null
+++ b/python-ibis-bigquery.spec
@@ -0,0 +1,83 @@
+%global _empty_manifest_terminate_build 0
+Name: python-ibis-bigquery
+Version: 2.2.1
+Release: 1
+Summary: Ibis BigQuery backend
+License: Apache 2.0
+URL: https://github.com/ibis-project/ibis-bigquery
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/20/b6/77f34c2954c6b7207abea51ff16c1f3b72311f50002f9ab68e80ef8ecfe1/ibis-bigquery-2.2.1.tar.gz
+BuildArch: noarch
+
+Requires: python3-ibis-framework
+Requires: python3-db-dtypes
+Requires: python3-google-cloud-bigquery
+Requires: python3-google-cloud-bigquery-storage
+Requires: python3-packaging
+Requires: python3-pyarrow
+Requires: python3-pydata-google-auth
+Requires: python3-sqlalchemy
+
+%description
+This package provides a `BigQuery <https://cloud.google.com/bigquery>`_ backend
+for `Ibis <https://ibis-project.org/>`_.
+
+%package -n python3-ibis-bigquery
+Summary: Ibis BigQuery backend
+Provides: python-ibis-bigquery
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-ibis-bigquery
+This package provides a `BigQuery <https://cloud.google.com/bigquery>`_ backend
+for `Ibis <https://ibis-project.org/>`_.
+
+%package help
+Summary: Development documents and examples for ibis-bigquery
+Provides: python3-ibis-bigquery-doc
+%description help
+This package provides a `BigQuery <https://cloud.google.com/bigquery>`_ backend
+for `Ibis <https://ibis-project.org/>`_.
+
+%prep
+%autosetup -n ibis-bigquery-2.2.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-ibis-bigquery -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 2.2.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..aa0a454
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+1c959fa1e2ac540d3cf41852c50d437d ibis-bigquery-2.2.1.tar.gz