diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-15 08:48:26 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-15 08:48:26 +0000 |
commit | 3793755b93c6c88b8e938ec8caa2157ffc6ffc79 (patch) | |
tree | 30aed6b7cd27f81a03d3a8a816e3acd6ef989e5b | |
parent | a4b2843a14a9adae35a4e84f8cb047829c2f3226 (diff) |
automatic import of python-instrumented-soap
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-instrumented-soap.spec | 79 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 81 insertions, 0 deletions
@@ -0,0 +1 @@ +/instrumented-soap-2.1.1.tar.gz diff --git a/python-instrumented-soap.spec b/python-instrumented-soap.spec new file mode 100644 index 0000000..0b8c6e5 --- /dev/null +++ b/python-instrumented-soap.spec @@ -0,0 +1,79 @@ +%global _empty_manifest_terminate_build 0 +Name: python-instrumented-soap +Version: 2.1.1 +Release: 1 +Summary: Wrapper around suds-jurko that adds improved proxy support and testing tools. +License: ISC +URL: https://gitlab.com/thelabnyc/instrumented-soap +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/a0/bc/d51efc54de2c023fdfa94ebbe30a6e9fc435bf80a118fa315df0084c7691/instrumented-soap-2.1.1.tar.gz +BuildArch: noarch + +Requires: python3-Django +Requires: python3-suds-community +Requires: python3-requests +Requires: python3-flake8 +Requires: python3-tox +Requires: python3-sphinx +Requires: python3-sphinx-rtd-theme + +%description +| |license| |kit| |format| |downloads| + +%package -n python3-instrumented-soap +Summary: Wrapper around suds-jurko that adds improved proxy support and testing tools. +Provides: python-instrumented-soap +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-instrumented-soap +| |license| |kit| |format| |downloads| + +%package help +Summary: Development documents and examples for instrumented-soap +Provides: python3-instrumented-soap-doc +%description help +| |license| |kit| |format| |downloads| + +%prep +%autosetup -n instrumented-soap-2.1.1 + +%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-instrumented-soap -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 2.1.1-1 +- Package Spec generated @@ -0,0 +1 @@ +502aad4b524415f9a0354b1e2ef899a8 instrumented-soap-2.1.1.tar.gz |