diff --git a/etcd3gw-0.2.4.tar.gz b/etcd3gw-0.2.4.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..9d1aae2daf68ed98cbc570fee77d05dacb66382a Binary files /dev/null and b/etcd3gw-0.2.4.tar.gz differ diff --git a/python-etcd3gw.spec b/python-etcd3gw.spec new file mode 100644 index 0000000000000000000000000000000000000000..ee10f1e64a36f2eb45f47edda132cdb10a9fba49 --- /dev/null +++ b/python-etcd3gw.spec @@ -0,0 +1,107 @@ +%global _empty_manifest_terminate_build 0 +Name: python-etcd3gw +Version: 0.2.4 +Release: 1 +Summary: A python client for etcd3 grpc-gateway v3 API +License: Apache-2.0 +URL: https://github.com/dims/etcd3-gateway +Source0: https://files.pythonhosted.org/packages/08/02/63d5eb103943ce18c38dd1b11a2d63e6ff7260d44067458e7faa092c2b9e/etcd3gw-0.2.4.tar.gz +BuildArch: noarch +%description +# etcd3 gateway Python Client + +[![Build Status](https://travis-ci.org/dims/etcd3-gateway.svg?branch=master)](https://travis-ci.org/dims/etcd3-gateway) +[![PyPI version](https://badge.fury.io/py/etcd3gw.svg)](https://badge.fury.io/py/etcd3gw) +[![codecov](https://codecov.io/gh/dims/etcd3-gateway/branch/master/graph/badge.svg)](https://codecov.io/gh/dims/etcd3-gateway "Non-generated packages only") +[![pypi status](https://img.shields.io/pypi/status/etcd3gw.svg)](https://pypi.python.org/pypi/etcd3gw) +[![pypi supported versions](https://img.shields.io/pypi/pyversions/etcd3gw.svg)](https://pypi.python.org/pypi/etcd3gw) + +A python client for etcd3 grpc-gateway v3alpha API + + + + +%package -n python2-etcd3gw +Summary: A python client for etcd3 grpc-gateway v3 API +Provides: python2-etcd3gw +BuildRequires: python2-devel +BuildRequires: python2-setuptools +Requires: python2-pbr +Requires: python2-urllib3 +Requires: python2-requests +Requires: python2-six +Requires: python2-futurist +%description -n python2-etcd3gw +# etcd3 gateway Python Client + +[![Build Status](https://travis-ci.org/dims/etcd3-gateway.svg?branch=master)](https://travis-ci.org/dims/etcd3-gateway) +[![PyPI version](https://badge.fury.io/py/etcd3gw.svg)](https://badge.fury.io/py/etcd3gw) +[![codecov](https://codecov.io/gh/dims/etcd3-gateway/branch/master/graph/badge.svg)](https://codecov.io/gh/dims/etcd3-gateway "Non-generated packages only") +[![pypi status](https://img.shields.io/pypi/status/etcd3gw.svg)](https://pypi.python.org/pypi/etcd3gw) +[![pypi supported versions](https://img.shields.io/pypi/pyversions/etcd3gw.svg)](https://pypi.python.org/pypi/etcd3gw) + +A python client for etcd3 grpc-gateway v3alpha API + + + + +%package help +Summary: Development documents and examples for etcd3gw +Provides: python2-etcd3gw-doc +%description help +# etcd3 gateway Python Client + +[![Build Status](https://travis-ci.org/dims/etcd3-gateway.svg?branch=master)](https://travis-ci.org/dims/etcd3-gateway) +[![PyPI version](https://badge.fury.io/py/etcd3gw.svg)](https://badge.fury.io/py/etcd3gw) +[![codecov](https://codecov.io/gh/dims/etcd3-gateway/branch/master/graph/badge.svg)](https://codecov.io/gh/dims/etcd3-gateway "Non-generated packages only") +[![pypi status](https://img.shields.io/pypi/status/etcd3gw.svg)](https://pypi.python.org/pypi/etcd3gw) +[![pypi supported versions](https://img.shields.io/pypi/pyversions/etcd3gw.svg)](https://pypi.python.org/pypi/etcd3gw) + +A python client for etcd3 grpc-gateway v3alpha API + + + + +%prep +%autosetup -n etcd3gw-0.2.4 + +%build +%py2_build + +%install +%py2_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 python2-etcd3gw -f filelist.lst +%dir %{python2_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue May 11 2021 OpenStack_SIG +- Package Spec generated