From 33f97df7ad907352af39d92cb8c76f38d3db1713 Mon Sep 17 00:00:00 2001 From: John Eckersberg Date: Feb 15 2019 20:40:00 +0000 Subject: Initial import (rhbz#1676912) --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5b48fa7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/etcd3gw-0.2.4.tar.gz diff --git a/python-etcd3gw.spec b/python-etcd3gw.spec new file mode 100644 index 0000000..04c8040 --- /dev/null +++ b/python-etcd3gw.spec @@ -0,0 +1,55 @@ +%global srcname etcd3gw + +Name: python-%{srcname} +Version: 0.2.4 +Release: 1%{?dist} +Summary: An etcd3 gateway Python client + +License: ASL 2.0 +URL: https://pypi.python.org/pypi/%{srcname} +Source0: %{pypi_source} + +BuildArch: noarch + +%description +A python client for etcd3 grpc-gateway v3alpha API + +%package -n python3-%{srcname} +Summary: %{summary} +BuildRequires: python3-devel + +BuildRequires: python3-futurist +BuildRequires: python3-oslotest +BuildRequires: python3-requests + +%{?python_enable_dependency_generator} + +%{?python_provide:%python_provide python3-%{srcname}} + +%description -n python3-%{srcname} +A python client for etcd3 grpc-gateway v3alpha API + +%prep +%autosetup -n %{srcname}-%{version} + +%build +%py3_build + +%install +%py3_install + +%check +export PYTHON=%{__python3} +%{__python3} setup.py test + +%files -n python3-%{srcname} +%license LICENSE +%doc README.md CONTRIBUTING.rst HACKING.rst +%{python3_sitelib}/%{srcname}-*.egg-info/ +%{python3_sitelib}/%{srcname}/ + + +%changelog +* Wed Feb 13 2019 John Eckersberg - 0.2.4-1 +- Initial package + diff --git a/sources b/sources new file mode 100644 index 0000000..83e897e --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (etcd3gw-0.2.4.tar.gz) = 2c54f8089d7686676e6fcc3ef13c264d6106891ac92610950bb7b2103fbd441ac70961e508951462fbd0e32e207827ca6beedf5ea802d22fa723c496aa708938