From 9072c123cad0f0fd67aac564e4ccb93ea2abe31a Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 10 May 2023 03:27:01 +0000 Subject: automatic import of python-config-client --- .gitignore | 1 + python-config-client.spec | 153 ++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 155 insertions(+) create mode 100644 python-config-client.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..5e320d0 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/config-client-1.3.0.tar.gz diff --git a/python-config-client.spec b/python-config-client.spec new file mode 100644 index 0000000..7575025 --- /dev/null +++ b/python-config-client.spec @@ -0,0 +1,153 @@ +%global _empty_manifest_terminate_build 0 +Name: python-config-client +Version: 1.3.0 +Release: 1 +Summary: config client for Spring Cloud Config Server and Cloud Foundry +License: Apache-2.0 +URL: https://github.com/amenezes/config-client +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/da/e7/095c57bfd1fc005106e5b7ea8115bd803183d157de447324297d509891d1/config-client-1.3.0.tar.gz +BuildArch: noarch + +Requires: python3-attrs +Requires: python3-glom +Requires: python3-requests +Requires: python3-click +Requires: python3-mkdocs-material +Requires: python3-rich +Requires: python3-click +Requires: python3-rich +Requires: python3-mkdocs-material + +%description +[![ci](https://github.com/amenezes/config-client/actions/workflows/ci.yml/badge.svg)](https://github.com/amenezes/config-client/actions/workflows/ci.yml) +[![codecov](https://codecov.io/gh/amenezes/config-client/branch/master/graph/badge.svg)](https://codecov.io/gh/amenezes/config-client) +[![PyPI version](https://badge.fury.io/py/config-client.svg)](https://badge.fury.io/py/config-client) +![PyPI - Python Version](https://img.shields.io/pypi/pyversions/config-client) +[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) + +# config-client + +config-client for [spring cloud config server](https://spring.io/projects/spring-cloud-config) and [cloud foundry](https://www.cloudfoundry.org). + +## Installing + +Install and update using pip: + +````bash +pip install config-client +```` + +## Links + +- License: [Apache License](https://choosealicense.com/licenses/apache-2.0/) +- Code: [https://github.com/amenezes/config-client](https://github.com/amenezes/config-client) +- Issue tracker: [https://github.com/amenezes/config-client/issues](https://github.com/amenezes/config-client/issues) +- Docs: [https://config-client.amenezes.net](https://config-client.amenezes.net) + + +%package -n python3-config-client +Summary: config client for Spring Cloud Config Server and Cloud Foundry +Provides: python-config-client +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-config-client +[![ci](https://github.com/amenezes/config-client/actions/workflows/ci.yml/badge.svg)](https://github.com/amenezes/config-client/actions/workflows/ci.yml) +[![codecov](https://codecov.io/gh/amenezes/config-client/branch/master/graph/badge.svg)](https://codecov.io/gh/amenezes/config-client) +[![PyPI version](https://badge.fury.io/py/config-client.svg)](https://badge.fury.io/py/config-client) +![PyPI - Python Version](https://img.shields.io/pypi/pyversions/config-client) +[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) + +# config-client + +config-client for [spring cloud config server](https://spring.io/projects/spring-cloud-config) and [cloud foundry](https://www.cloudfoundry.org). + +## Installing + +Install and update using pip: + +````bash +pip install config-client +```` + +## Links + +- License: [Apache License](https://choosealicense.com/licenses/apache-2.0/) +- Code: [https://github.com/amenezes/config-client](https://github.com/amenezes/config-client) +- Issue tracker: [https://github.com/amenezes/config-client/issues](https://github.com/amenezes/config-client/issues) +- Docs: [https://config-client.amenezes.net](https://config-client.amenezes.net) + + +%package help +Summary: Development documents and examples for config-client +Provides: python3-config-client-doc +%description help +[![ci](https://github.com/amenezes/config-client/actions/workflows/ci.yml/badge.svg)](https://github.com/amenezes/config-client/actions/workflows/ci.yml) +[![codecov](https://codecov.io/gh/amenezes/config-client/branch/master/graph/badge.svg)](https://codecov.io/gh/amenezes/config-client) +[![PyPI version](https://badge.fury.io/py/config-client.svg)](https://badge.fury.io/py/config-client) +![PyPI - Python Version](https://img.shields.io/pypi/pyversions/config-client) +[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) + +# config-client + +config-client for [spring cloud config server](https://spring.io/projects/spring-cloud-config) and [cloud foundry](https://www.cloudfoundry.org). + +## Installing + +Install and update using pip: + +````bash +pip install config-client +```` + +## Links + +- License: [Apache License](https://choosealicense.com/licenses/apache-2.0/) +- Code: [https://github.com/amenezes/config-client](https://github.com/amenezes/config-client) +- Issue tracker: [https://github.com/amenezes/config-client/issues](https://github.com/amenezes/config-client/issues) +- Docs: [https://config-client.amenezes.net](https://config-client.amenezes.net) + + +%prep +%autosetup -n config-client-1.3.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-config-client -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot - 1.3.0-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..e91aa16 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +95ebf6f0d78bd937a8b3d11bdb7383fc config-client-1.3.0.tar.gz -- cgit v1.2.3