diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-03-09 07:28:19 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-03-09 07:28:19 +0000 |
commit | fad2b3bd130c9e5aba71a62776212a216c03b63f (patch) | |
tree | 6b41b8a39a20c9c1e1562570b3e953ab9da15fba | |
parent | bf5cf20aa84b807e77db729c1f19d713d32cc600 (diff) |
automatic import of python-etcd3gw
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-etcd3gw.spec | 111 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 113 insertions, 0 deletions
@@ -0,0 +1 @@ +/etcd3gw-2.1.0.tar.gz diff --git a/python-etcd3gw.spec b/python-etcd3gw.spec new file mode 100644 index 0000000..19dc01b --- /dev/null +++ b/python-etcd3gw.spec @@ -0,0 +1,111 @@ +%global _empty_manifest_terminate_build 0 +Name: python-etcd3gw +Version: 2.1.0 +Release: 1 +Summary: A python client for etcd3 grpc-gateway v3 API +License: Apache Software License +URL: https://docs.openstack.org/etcd3gw/latest/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/41/ec/f9698c6c7ec74233e37231ce4ec2b6e215a07553bcc9ec7880583f3cb4e4/etcd3gw-2.1.0.tar.gz +BuildArch: noarch + +Requires: python3-futurist +Requires: python3-pbr +Requires: python3-requests + +%description +# etcd3 gateway Python Client + +[](https://travis-ci.org/dims/etcd3-gateway) +[](https://badge.fury.io/py/etcd3gw) +[](https://codecov.io/gh/dims/etcd3-gateway "Non-generated packages only") +[](https://pypi.python.org/pypi/etcd3gw) +[](https://pypi.python.org/pypi/etcd3gw) + +A python client for etcd3 grpc-gateway v3 API + + + + + +%package -n python3-etcd3gw +Summary: A python client for etcd3 grpc-gateway v3 API +Provides: python-etcd3gw +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-etcd3gw +# etcd3 gateway Python Client + +[](https://travis-ci.org/dims/etcd3-gateway) +[](https://badge.fury.io/py/etcd3gw) +[](https://codecov.io/gh/dims/etcd3-gateway "Non-generated packages only") +[](https://pypi.python.org/pypi/etcd3gw) +[](https://pypi.python.org/pypi/etcd3gw) + +A python client for etcd3 grpc-gateway v3 API + + + + + +%package help +Summary: Development documents and examples for etcd3gw +Provides: python3-etcd3gw-doc +%description help +# etcd3 gateway Python Client + +[](https://travis-ci.org/dims/etcd3-gateway) +[](https://badge.fury.io/py/etcd3gw) +[](https://codecov.io/gh/dims/etcd3-gateway "Non-generated packages only") +[](https://pypi.python.org/pypi/etcd3gw) +[](https://pypi.python.org/pypi/etcd3gw) + +A python client for etcd3 grpc-gateway v3 API + + + + + +%prep +%autosetup -n etcd3gw-2.1.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-etcd3gw -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu Mar 09 2023 Python_Bot <Python_Bot@openeuler.org> - 2.1.0-1 +- Package Spec generated @@ -0,0 +1 @@ +60b4b63e2eef1070c8cd7f9b0acbedbb etcd3gw-2.1.0.tar.gz |