From ce44056df07416f734c5263a788c56f2be96c7e9 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 20 Jun 2023 08:37:29 +0000 Subject: automatic import of python-egtaonlineapi --- .gitignore | 1 + python-egtaonlineapi.spec | 96 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 98 insertions(+) create mode 100644 python-egtaonlineapi.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..40d67c5 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/egtaonlineapi-0.8.7.tar.gz diff --git a/python-egtaonlineapi.spec b/python-egtaonlineapi.spec new file mode 100644 index 0000000..3151208 --- /dev/null +++ b/python-egtaonlineapi.spec @@ -0,0 +1,96 @@ +%global _empty_manifest_terminate_build 0 +Name: python-egtaonlineapi +Version: 0.8.7 +Release: 1 +Summary: Various APIs for egtaonline +License: Apache 2.0 +URL: https://github.com/egtaonline/egtaonline-api.git +Source0: https://mirrors.aliyun.com/pypi/web/packages/a9/bb/764b0386821fea18ce1269388baf22617eedb7ec7816cdc285da916f9785/egtaonlineapi-0.8.7.tar.gz +BuildArch: noarch + +Requires: python3-inflection +Requires: python3-jsonschema +Requires: python3-lxml +Requires: python3-requests-mock +Requires: python3-requests +Requires: python3-tabulate +Requires: python3-ipython +Requires: python3-pylint-quotes +Requires: python3-pylint +Requires: python3-mock +Requires: python3-pytest-asyncio +Requires: python3-pytest-cov +Requires: python3-pytest-env +Requires: python3-pytest-xdist +Requires: python3-pytest +Requires: python3-sphinx +Requires: python3-twine +Requires: python3-wheel + +%description +[![Build](https://img.shields.io/travis/egtaonline/egtaonline-api.svg?style=flat-square)](https://travis-ci.org/egtaonline/egtaonline-api) +[![Coverage](https://img.shields.io/coveralls/egtaonline/egtaonline-api.svg?style=flat-square)](https://coveralls.io/github/egtaonline/egtaonline-api) +Command line and python access to egtaonline. + +%package -n python3-egtaonlineapi +Summary: Various APIs for egtaonline +Provides: python-egtaonlineapi +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-egtaonlineapi +[![Build](https://img.shields.io/travis/egtaonline/egtaonline-api.svg?style=flat-square)](https://travis-ci.org/egtaonline/egtaonline-api) +[![Coverage](https://img.shields.io/coveralls/egtaonline/egtaonline-api.svg?style=flat-square)](https://coveralls.io/github/egtaonline/egtaonline-api) +Command line and python access to egtaonline. + +%package help +Summary: Development documents and examples for egtaonlineapi +Provides: python3-egtaonlineapi-doc +%description help +[![Build](https://img.shields.io/travis/egtaonline/egtaonline-api.svg?style=flat-square)](https://travis-ci.org/egtaonline/egtaonline-api) +[![Coverage](https://img.shields.io/coveralls/egtaonline/egtaonline-api.svg?style=flat-square)](https://coveralls.io/github/egtaonline/egtaonline-api) +Command line and python access to egtaonline. + +%prep +%autosetup -n egtaonlineapi-0.8.7 + +%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-egtaonlineapi -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Jun 20 2023 Python_Bot - 0.8.7-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..c564bb1 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +168ca2a748c54303f20e4aee30b61f6e egtaonlineapi-0.8.7.tar.gz -- cgit v1.2.3