From 3f6e2fceaeaa715ac11b4cfd9fc45e2f2bbef728 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 15 May 2023 05:51:56 +0000 Subject: automatic import of python-ares-util --- .gitignore | 1 + python-ares-util.spec | 158 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 160 insertions(+) create mode 100644 python-ares-util.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..9683c70 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/ares_util-0.2.2.tar.gz diff --git a/python-ares-util.spec b/python-ares-util.spec new file mode 100644 index 0000000..22d64a8 --- /dev/null +++ b/python-ares-util.spec @@ -0,0 +1,158 @@ +%global _empty_manifest_terminate_build 0 +Name: python-ares-util +Version: 0.2.2 +Release: 1 +Summary: A tool for information system allowing a retrieval of information on economic entities registered in the Czech Republic (ARES - Access to Registers of Economic Subjects / Entities). +License: MIT +URL: https://github.com/illagrenan/ares_util +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/94/d8/e5b1ac69477dbf2251ac68cfc82621b70fb30293760fac97a4b61de8dad3/ares_util-0.2.2.tar.gz +BuildArch: noarch + +Requires: python3-xmltodict +Requires: python3-requests + +%description ++----------------+-----------------------------------------------------------------------------------------------------------------+ +| Latest release | .. image:: https://img.shields.io/pypi/v/ares-util.svg | +| | :target: https://pypi.python.org/pypi/ares-util | +| | :alt: PyPi | +| | | +| | .. image:: https://img.shields.io/badge/license-MIT-blue.svg | +| | :target: https://pypi.python.org/pypi/ares-util/ | +| | :alt: MIT License | +| | | +| | .. image:: https://img.shields.io/pypi/implementation/ares-util.svg | +| | :target: https://pypi.python.org/pypi/ares-util/ | +| | :alt: Supported Python implementations | +| | | +| | .. image:: https://img.shields.io/pypi/pyversions/ares-util.svg | +| | :target: https://pypi.python.org/pypi/ares-util/ | +| | :alt: Supported Python versions | ++----------------+-----------------------------------------------------------------------------------------------------------------+ +| CI | .. image:: https://img.shields.io/travis/illagrenan/ares_util.svg | +| | :target: https://travis-ci.org/illagrenan/ares_util | +| | :alt: TravisCI | +| | | +| | .. image:: https://img.shields.io/coveralls/illagrenan/ares_util.svg | +| | :target: https://coveralls.io/github/illagrenan/ares_util?branch=master | +| | :alt: Coverage | ++----------------+-----------------------------------------------------------------------------------------------------------------+ +| Dependencies | .. image:: https://pyup.io/repos/github/illagrenan/ares_util/shield.svg | +| | :target: https://pyup.io/repos/github/illagrenan/ares_util/ | +| | :alt: Updates | ++----------------+-----------------------------------------------------------------------------------------------------------------+ + +%package -n python3-ares-util +Summary: A tool for information system allowing a retrieval of information on economic entities registered in the Czech Republic (ARES - Access to Registers of Economic Subjects / Entities). +Provides: python-ares-util +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-ares-util ++----------------+-----------------------------------------------------------------------------------------------------------------+ +| Latest release | .. image:: https://img.shields.io/pypi/v/ares-util.svg | +| | :target: https://pypi.python.org/pypi/ares-util | +| | :alt: PyPi | +| | | +| | .. image:: https://img.shields.io/badge/license-MIT-blue.svg | +| | :target: https://pypi.python.org/pypi/ares-util/ | +| | :alt: MIT License | +| | | +| | .. image:: https://img.shields.io/pypi/implementation/ares-util.svg | +| | :target: https://pypi.python.org/pypi/ares-util/ | +| | :alt: Supported Python implementations | +| | | +| | .. image:: https://img.shields.io/pypi/pyversions/ares-util.svg | +| | :target: https://pypi.python.org/pypi/ares-util/ | +| | :alt: Supported Python versions | ++----------------+-----------------------------------------------------------------------------------------------------------------+ +| CI | .. image:: https://img.shields.io/travis/illagrenan/ares_util.svg | +| | :target: https://travis-ci.org/illagrenan/ares_util | +| | :alt: TravisCI | +| | | +| | .. image:: https://img.shields.io/coveralls/illagrenan/ares_util.svg | +| | :target: https://coveralls.io/github/illagrenan/ares_util?branch=master | +| | :alt: Coverage | ++----------------+-----------------------------------------------------------------------------------------------------------------+ +| Dependencies | .. image:: https://pyup.io/repos/github/illagrenan/ares_util/shield.svg | +| | :target: https://pyup.io/repos/github/illagrenan/ares_util/ | +| | :alt: Updates | ++----------------+-----------------------------------------------------------------------------------------------------------------+ + +%package help +Summary: Development documents and examples for ares-util +Provides: python3-ares-util-doc +%description help ++----------------+-----------------------------------------------------------------------------------------------------------------+ +| Latest release | .. image:: https://img.shields.io/pypi/v/ares-util.svg | +| | :target: https://pypi.python.org/pypi/ares-util | +| | :alt: PyPi | +| | | +| | .. image:: https://img.shields.io/badge/license-MIT-blue.svg | +| | :target: https://pypi.python.org/pypi/ares-util/ | +| | :alt: MIT License | +| | | +| | .. image:: https://img.shields.io/pypi/implementation/ares-util.svg | +| | :target: https://pypi.python.org/pypi/ares-util/ | +| | :alt: Supported Python implementations | +| | | +| | .. image:: https://img.shields.io/pypi/pyversions/ares-util.svg | +| | :target: https://pypi.python.org/pypi/ares-util/ | +| | :alt: Supported Python versions | ++----------------+-----------------------------------------------------------------------------------------------------------------+ +| CI | .. image:: https://img.shields.io/travis/illagrenan/ares_util.svg | +| | :target: https://travis-ci.org/illagrenan/ares_util | +| | :alt: TravisCI | +| | | +| | .. image:: https://img.shields.io/coveralls/illagrenan/ares_util.svg | +| | :target: https://coveralls.io/github/illagrenan/ares_util?branch=master | +| | :alt: Coverage | ++----------------+-----------------------------------------------------------------------------------------------------------------+ +| Dependencies | .. image:: https://pyup.io/repos/github/illagrenan/ares_util/shield.svg | +| | :target: https://pyup.io/repos/github/illagrenan/ares_util/ | +| | :alt: Updates | ++----------------+-----------------------------------------------------------------------------------------------------------------+ + +%prep +%autosetup -n ares-util-0.2.2 + +%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-ares-util -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot - 0.2.2-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..5e9a84c --- /dev/null +++ b/sources @@ -0,0 +1 @@ +44d692e04db8635d921ef9818a49ba4c ares_util-0.2.2.tar.gz -- cgit v1.2.3