diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-beneath.spec | 156 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 158 insertions, 0 deletions
@@ -0,0 +1 @@ +/beneath-1.4.2.tar.gz diff --git a/python-beneath.spec b/python-beneath.spec new file mode 100644 index 0000000..ab4e089 --- /dev/null +++ b/python-beneath.spec @@ -0,0 +1,156 @@ +%global _empty_manifest_terminate_build 0 +Name: python-beneath +Version: 1.4.2 +Release: 1 +Summary: Python client and CLI for Beneath (https://beneath.dev/) +License: MIT +URL: https://github.com/beneath-hq/beneath/tree/master/clients/python +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c5/30/adf8e73e0035c1b0f316c9a07f0f8f86008f01a7fd57999039c0c8e0e4f8/beneath-1.4.2.tar.gz +BuildArch: noarch + +Requires: python3-aiohttp +Requires: python3-argparse +Requires: python3-Cython +Requires: python3-fastavro +Requires: python3-grpcio +Requires: python3-msgpack +Requires: python3-pandas +Requires: python3-protobuf +Requires: python3-six + +%description +# Beneath Python Client Library + +[](https://pypi.org/project/beneath) +[](https://python.docs.beneath.dev) +[](https://github.com/beneath-hq/beneath/blob/master/clients/LICENSE) +[](https://app.netlify.com/sites/beneath-clients-python/deploys) + +This folder contains the source code for the [Beneath](https://beneath.dev) Python library. Here are some useful links: + +- [Beneath Docs](https://about.beneath.dev/docs/) +- [Python Client API Reference](https://python.docs.beneath.dev) +- [Reading data tutorial](https://about.beneath.dev/docs/read-data-into-jupyter-notebook/) +- [Writing data tutorial](https://about.beneath.dev/docs/write-data-from-your-app/) + +### Installation + +To install the Python library (requires Python 3.7 or higher), run: + +``` +pip3 install --upgrade beneath +``` + +### Providing feedback + +Beneath is just entering public beta, so there's bound to be some rough edges. Bugs, feature requests, suggestions – we'd love to hear about them. [Click here](https://github.com/beneath-hq/beneath/issues) to file an issue. + + +%package -n python3-beneath +Summary: Python client and CLI for Beneath (https://beneath.dev/) +Provides: python-beneath +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-beneath +# Beneath Python Client Library + +[](https://pypi.org/project/beneath) +[](https://python.docs.beneath.dev) +[](https://github.com/beneath-hq/beneath/blob/master/clients/LICENSE) +[](https://app.netlify.com/sites/beneath-clients-python/deploys) + +This folder contains the source code for the [Beneath](https://beneath.dev) Python library. Here are some useful links: + +- [Beneath Docs](https://about.beneath.dev/docs/) +- [Python Client API Reference](https://python.docs.beneath.dev) +- [Reading data tutorial](https://about.beneath.dev/docs/read-data-into-jupyter-notebook/) +- [Writing data tutorial](https://about.beneath.dev/docs/write-data-from-your-app/) + +### Installation + +To install the Python library (requires Python 3.7 or higher), run: + +``` +pip3 install --upgrade beneath +``` + +### Providing feedback + +Beneath is just entering public beta, so there's bound to be some rough edges. Bugs, feature requests, suggestions – we'd love to hear about them. [Click here](https://github.com/beneath-hq/beneath/issues) to file an issue. + + +%package help +Summary: Development documents and examples for beneath +Provides: python3-beneath-doc +%description help +# Beneath Python Client Library + +[](https://pypi.org/project/beneath) +[](https://python.docs.beneath.dev) +[](https://github.com/beneath-hq/beneath/blob/master/clients/LICENSE) +[](https://app.netlify.com/sites/beneath-clients-python/deploys) + +This folder contains the source code for the [Beneath](https://beneath.dev) Python library. Here are some useful links: + +- [Beneath Docs](https://about.beneath.dev/docs/) +- [Python Client API Reference](https://python.docs.beneath.dev) +- [Reading data tutorial](https://about.beneath.dev/docs/read-data-into-jupyter-notebook/) +- [Writing data tutorial](https://about.beneath.dev/docs/write-data-from-your-app/) + +### Installation + +To install the Python library (requires Python 3.7 or higher), run: + +``` +pip3 install --upgrade beneath +``` + +### Providing feedback + +Beneath is just entering public beta, so there's bound to be some rough edges. Bugs, feature requests, suggestions – we'd love to hear about them. [Click here](https://github.com/beneath-hq/beneath/issues) to file an issue. + + +%prep +%autosetup -n beneath-1.4.2 + +%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-beneath -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 1.4.2-1 +- Package Spec generated @@ -0,0 +1 @@ +016a47401e91364f95686a797d5b08b8 beneath-1.4.2.tar.gz |