From fad2b3bd130c9e5aba71a62776212a216c03b63f Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 9 Mar 2023 07:28:19 +0000 Subject: automatic import of python-etcd3gw --- .gitignore | 1 + python-etcd3gw.spec | 111 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 113 insertions(+) create mode 100644 python-etcd3gw.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..2f4aa7f 100644 --- a/.gitignore +++ b/.gitignore @@ -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 + +[![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 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 + +[![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 v3 API + + + + + +%package help +Summary: Development documents and examples for etcd3gw +Provides: python3-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 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 - 2.1.0-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..8897f5e --- /dev/null +++ b/sources @@ -0,0 +1 @@ +60b4b63e2eef1070c8cd7f9b0acbedbb etcd3gw-2.1.0.tar.gz -- cgit v1.2.3