From 05e0eb3e832157d443554677341251be6eeceb1d Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 18 May 2023 06:04:30 +0000 Subject: automatic import of python-aetcd3 --- .gitignore | 1 + python-aetcd3.spec | 138 +++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 140 insertions(+) create mode 100644 python-aetcd3.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..f1552db 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/aetcd3-0.1.0a7.post1.tar.gz diff --git a/python-aetcd3.spec b/python-aetcd3.spec new file mode 100644 index 0000000..84298d5 --- /dev/null +++ b/python-aetcd3.spec @@ -0,0 +1,138 @@ +%global _empty_manifest_terminate_build 0 +Name: python-aetcd3 +Version: 0.1.0a7.post1 +Release: 1 +Summary: NOTICE: Please use aetcd package instead +License: Apache Software License 2.0 +URL: https://github.com/martyanov/aetcd3 +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b9/b1/1650612bd461b5a31a34802841441b483f561fd117090c096f6ae22d79a0/aetcd3-0.1.0a7.post1.tar.gz +BuildArch: noarch + +Requires: python3-aiofiles +Requires: python3-grpclib +Requires: python3-protobuf +Requires: python3-tenacity +Requires: python3-flake8-commas +Requires: python3-flake8-docstrings +Requires: python3-flake8-isort +Requires: python3-flake8-quotes +Requires: python3-flake8 +Requires: python3-grpcio-tools +Requires: python3-pep8-naming +Requires: python3-twine +Requires: python3-sphinx +Requires: python3-sphinx-rtd-theme +Requires: python3-pifpaf +Requires: python3-pytest-asyncio +Requires: python3-pytest-cov +Requires: python3-pytest + +%description +NOTICE: Please use `aetcd `_ package instead, as this is now a canonical name for the project. ``aetcd3`` is now outdated and not maintained anymore. +Installation +~~~~~~~~~~~~ + $ python3 -m pip install aetcd3 +Basic usage +~~~~~~~~~~~ + import aetcd3 + client = aetcd3.client() + await client.put('foo', 'bar') + await client.get('foo') + await client.delete('foo') +Acknowledgements +~~~~~~~~~~~~~~~~ +This project is a fork of `etcd3aio`_, which itself is a fork +of `python-etcd3`_. ``python-etcd3`` was originally written by `kragniz`_. ``asyncio`` suppport +was contributed by `hron`_ and based on the previous work by `gjcarneiro`_. Kudos to all +the people involved in the project. + +%package -n python3-aetcd3 +Summary: NOTICE: Please use aetcd package instead +Provides: python-aetcd3 +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-aetcd3 +NOTICE: Please use `aetcd `_ package instead, as this is now a canonical name for the project. ``aetcd3`` is now outdated and not maintained anymore. +Installation +~~~~~~~~~~~~ + $ python3 -m pip install aetcd3 +Basic usage +~~~~~~~~~~~ + import aetcd3 + client = aetcd3.client() + await client.put('foo', 'bar') + await client.get('foo') + await client.delete('foo') +Acknowledgements +~~~~~~~~~~~~~~~~ +This project is a fork of `etcd3aio`_, which itself is a fork +of `python-etcd3`_. ``python-etcd3`` was originally written by `kragniz`_. ``asyncio`` suppport +was contributed by `hron`_ and based on the previous work by `gjcarneiro`_. Kudos to all +the people involved in the project. + +%package help +Summary: Development documents and examples for aetcd3 +Provides: python3-aetcd3-doc +%description help +NOTICE: Please use `aetcd `_ package instead, as this is now a canonical name for the project. ``aetcd3`` is now outdated and not maintained anymore. +Installation +~~~~~~~~~~~~ + $ python3 -m pip install aetcd3 +Basic usage +~~~~~~~~~~~ + import aetcd3 + client = aetcd3.client() + await client.put('foo', 'bar') + await client.get('foo') + await client.delete('foo') +Acknowledgements +~~~~~~~~~~~~~~~~ +This project is a fork of `etcd3aio`_, which itself is a fork +of `python-etcd3`_. ``python-etcd3`` was originally written by `kragniz`_. ``asyncio`` suppport +was contributed by `hron`_ and based on the previous work by `gjcarneiro`_. Kudos to all +the people involved in the project. + +%prep +%autosetup -n aetcd3-0.1.0a7.post1 + +%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-aetcd3 -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu May 18 2023 Python_Bot - 0.1.0a7.post1-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..2b3b109 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +4ff66921d72356e39ead8f88294af54d aetcd3-0.1.0a7.post1.tar.gz -- cgit v1.2.3