diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-20 08:37:29 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-20 08:37:29 +0000 |
commit | ce44056df07416f734c5263a788c56f2be96c7e9 (patch) | |
tree | faa0a4eaccac701856fb8012a8e2b4e1b8fd2e08 | |
parent | 79db4dcf9e51a2164a2fc90aeeb5d4a77b5ece82 (diff) |
automatic import of python-egtaonlineapiopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-egtaonlineapi.spec | 96 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 98 insertions, 0 deletions
@@ -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 +[](https://travis-ci.org/egtaonline/egtaonline-api) +[](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 +[](https://travis-ci.org/egtaonline/egtaonline-api) +[](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 +[](https://travis-ci.org/egtaonline/egtaonline-api) +[](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 <Python_Bot@openeuler.org> - 0.8.7-1 +- Package Spec generated @@ -0,0 +1 @@ +168ca2a748c54303f20e4aee30b61f6e egtaonlineapi-0.8.7.tar.gz |