summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 22:45:56 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 22:45:56 +0000
commit968105ae451bcd2b939ffc1dc5795109553cc156 (patch)
tree60ea3777acc6f18cfe947c314fe501af9528bbdd
parent293e937ff956f51e1322f5253c0b0a6c47da6042 (diff)
automatic import of python-delta-sharing
-rw-r--r--.gitignore1
-rw-r--r--python-delta-sharing.spec126
-rw-r--r--sources1
3 files changed, 128 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..d523b1e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/delta-sharing-0.6.3.tar.gz
diff --git a/python-delta-sharing.spec b/python-delta-sharing.spec
new file mode 100644
index 0000000..ba64731
--- /dev/null
+++ b/python-delta-sharing.spec
@@ -0,0 +1,126 @@
+%global _empty_manifest_terminate_build 0
+Name: python-delta-sharing
+Version: 0.6.3
+Release: 1
+Summary: Python Connector for Delta Sharing
+License: Apache-2.0
+URL: https://github.com/delta-io/delta-sharing/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/40/b3/22cb1ad4227031b6d69932fbe3661b1c14749a3fcf954d2397119dfb92b9/delta-sharing-0.6.3.tar.gz
+BuildArch: noarch
+
+Requires: python3-pandas
+Requires: python3-pyarrow
+Requires: python3-fsspec
+Requires: python3-requests
+Requires: python3-aiohttp
+Requires: python3-yarl
+Requires: python3-dataclasses
+Requires: python3-adlfs
+Requires: python3-adlfs
+Requires: python3-gcsfs
+Requires: python3-gcsfs
+Requires: python3-s3fs
+
+%description
+# Delta Sharing
+
+[Delta Sharing](https://delta.io/sharing) is an open protocol for secure real-time exchange of large datasets, which enables secure data sharing across different computing platforms. It lets organizations share access to existing [Delta Lake](https://delta.io) and [Apache Parquet](https://parquet.apache.org) tables with other organizations, who can then directly read the table in Pandas, Apache Spark, or any other software that implements the open protocol.
+
+This is the Python client library for Delta Sharing, which lets you load shared tables as [pandas](https://pandas.pydata.org/) DataFrames or as [Apache Spark](http://spark.apache.org/) DataFrames if running in PySpark with the [Apache Spark Connector library](https://github.com/delta-io/delta-sharing#set-up-apache-spark).
+
+## Installation and Usage
+
+1. Install using `pip install delta-sharing`.
+2. To use the Python Connector, see [the project docs](https://github.com/delta-io/delta-sharing) for details.
+
+## Documentation
+
+This README only contains basic information about the Delta Sharing Python Connector. Please read [the project documentation](https://github.com/delta-io/delta-sharing) for full usage details.
+
+
+%package -n python3-delta-sharing
+Summary: Python Connector for Delta Sharing
+Provides: python-delta-sharing
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-delta-sharing
+# Delta Sharing
+
+[Delta Sharing](https://delta.io/sharing) is an open protocol for secure real-time exchange of large datasets, which enables secure data sharing across different computing platforms. It lets organizations share access to existing [Delta Lake](https://delta.io) and [Apache Parquet](https://parquet.apache.org) tables with other organizations, who can then directly read the table in Pandas, Apache Spark, or any other software that implements the open protocol.
+
+This is the Python client library for Delta Sharing, which lets you load shared tables as [pandas](https://pandas.pydata.org/) DataFrames or as [Apache Spark](http://spark.apache.org/) DataFrames if running in PySpark with the [Apache Spark Connector library](https://github.com/delta-io/delta-sharing#set-up-apache-spark).
+
+## Installation and Usage
+
+1. Install using `pip install delta-sharing`.
+2. To use the Python Connector, see [the project docs](https://github.com/delta-io/delta-sharing) for details.
+
+## Documentation
+
+This README only contains basic information about the Delta Sharing Python Connector. Please read [the project documentation](https://github.com/delta-io/delta-sharing) for full usage details.
+
+
+%package help
+Summary: Development documents and examples for delta-sharing
+Provides: python3-delta-sharing-doc
+%description help
+# Delta Sharing
+
+[Delta Sharing](https://delta.io/sharing) is an open protocol for secure real-time exchange of large datasets, which enables secure data sharing across different computing platforms. It lets organizations share access to existing [Delta Lake](https://delta.io) and [Apache Parquet](https://parquet.apache.org) tables with other organizations, who can then directly read the table in Pandas, Apache Spark, or any other software that implements the open protocol.
+
+This is the Python client library for Delta Sharing, which lets you load shared tables as [pandas](https://pandas.pydata.org/) DataFrames or as [Apache Spark](http://spark.apache.org/) DataFrames if running in PySpark with the [Apache Spark Connector library](https://github.com/delta-io/delta-sharing#set-up-apache-spark).
+
+## Installation and Usage
+
+1. Install using `pip install delta-sharing`.
+2. To use the Python Connector, see [the project docs](https://github.com/delta-io/delta-sharing) for details.
+
+## Documentation
+
+This README only contains basic information about the Delta Sharing Python Connector. Please read [the project documentation](https://github.com/delta-io/delta-sharing) for full usage details.
+
+
+%prep
+%autosetup -n delta-sharing-0.6.3
+
+%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-delta-sharing -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.6.3-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..0b2faed
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+fec8a4513e4a7b49a8f7aa2e01c9a0eb delta-sharing-0.6.3.tar.gz