diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-10 05:58:19 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-10 05:58:19 +0000 |
commit | 731099e2188d21a0a4c838220849e865910b1d55 (patch) | |
tree | b13ea5a507f6811cb8c9cf3ddb3fb0c187368856 | |
parent | a55878563edb6b02f39c491cba170851c2e93b4d (diff) |
automatic import of python-resteasycli
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-resteasycli.spec | 92 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 94 insertions, 0 deletions
@@ -0,0 +1 @@ +/RESTEasyCLI-0.9.8.tar.gz diff --git a/python-resteasycli.spec b/python-resteasycli.spec new file mode 100644 index 0000000..7e8393d --- /dev/null +++ b/python-resteasycli.spec @@ -0,0 +1,92 @@ +%global _empty_manifest_terminate_build 0 +Name: python-RESTEasyCLI +Version: 0.9.8 +Release: 1 +Summary: Handy REST API client on your terminal +License: MIT +URL: https://github.com/rapidstack/RESTEasyCLI +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/f6/8f/19a0851526f0a0d50d1c839b9b2575c94ef4782c9216562360ea377241da/RESTEasyCLI-0.9.8.tar.gz +BuildArch: noarch + +Requires: python3-cliff +Requires: python3-PyYAML +Requires: python3-RESTEasy +Requires: python3-marshmallow +Requires: python3-toml +Requires: python3-Docify +Requires: python3-pip +Requires: python3-setuptools +Requires: python3-wheel +Requires: python3-twine +Requires: python3-pylint +Requires: python3-autopep8 +Requires: python3-m2r +Requires: python3-ipykernel +Requires: python3-mkdocs +Requires: python3-mkdocs-rtd-dropdown +Requires: python3-tox +Requires: python3-pre-commit +Requires: python3-flake8 +Requires: python3-pytest-cov + +%description +Handy REST API client on your terminal + +%package -n python3-RESTEasyCLI +Summary: Handy REST API client on your terminal +Provides: python-RESTEasyCLI +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-RESTEasyCLI +Handy REST API client on your terminal + +%package help +Summary: Development documents and examples for RESTEasyCLI +Provides: python3-RESTEasyCLI-doc +%description help +Handy REST API client on your terminal + +%prep +%autosetup -n RESTEasyCLI-0.9.8 + +%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-RESTEasyCLI -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.9.8-1 +- Package Spec generated @@ -0,0 +1 @@ +1f77e6d75bfb0d6bb6b8d48df76a7dc1 RESTEasyCLI-0.9.8.tar.gz |