From 465f1be58a1cc2824bdbf1033fd93c9deefd0d11 Mon Sep 17 00:00:00 2001 From: Jeff Ortel Date: Wed, 5 Nov 2008 23:28:00 +0000 Subject: [PATCH] Add python-suds package. --- .cvsignore | 1 + import.log | 1 + python-suds.spec | 79 ++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 82 insertions(+) create mode 100644 import.log create mode 100644 python-suds.spec diff --git a/.cvsignore b/.cvsignore index e69de29..dcf3f72 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +python-suds-0.3.1.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..a4cbdc2 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +python-suds-0_3_1-5_fc8:HEAD:python-suds-0.3.1-5.fc8.src.rpm:1225927588 diff --git a/python-suds.spec b/python-suds.spec new file mode 100644 index 0000000..59cdf41 --- /dev/null +++ b/python-suds.spec @@ -0,0 +1,79 @@ +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + +Summary: A python SOAP client +Name: python-suds +Version: 0.3.1 +Release: 5%{?dist} +Source0: https://fedorahosted.org/releases/s/u/%{name}/%{name}-%{version}.tar.gz +License: LGPLv3+ +Group: Development/Libraries +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot +BuildArch: noarch +Requires: python >= 2.3 +%if 0%{?fedora} >= 8 +BuildRequires: python-setuptools-devel +%else +BuildRequires: python-setuptools +%endif +Url: https://fedorahosted.org/suds + +%description +The suds project is a python soap web services client lib. Suds leverages +python meta programming to provide an intuative API for consuming web +services. Objectification of types defined in the WSDL is provided +without class generation. Programmers rarely need to read the WSDL since +services and WSDL based objects can be easily inspected. Supports +pluggable soap bindings. + +%prep +%setup -q + +%build +python setup.py sdist + +%install +rm -rf $RPM_BUILD_ROOT +python setup.py install --optimize=1 --root=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%if 0%{?fedora} >= 8 +%{python_sitelib}/suds*.egg-info +%endif +%dir %{python_sitelib}/suds +%dir %{python_sitelib}/suds/bindings +%dir %{python_sitelib}/suds/sax +%dir %{python_sitelib}/suds/xsd +%dir %{python_sitelib}/tests +%{python_sitelib}/suds/*.py* +%{python_sitelib}/suds/bindings/*.py* +%{python_sitelib}/suds/sax/*.py* +%{python_sitelib}/suds/xsd/*.py* +%{python_sitelib}/tests/*.py* + +%doc README LICENSE + +%changelog +* Fri Nov 03 2008 jortel - 0.3.1-5 +- Add LICENSE to %%doc. + +* Fri Oct 28 2008 jortel - 0.3.1-4 +- Changes acc. #466496 Comment #8 + +* Fri Oct 27 2008 jortel - 0.3.1-3 +- Add "rm -rf $RPM_BUILD_ROOT" to install + +* Fri Oct 16 2008 jortel - 0.3.1-2 +- Changes acc. #466496 Comment #1 + +* Fri Oct 10 2008 jortel - 0.3.1-1 +- Extends the support for multi-port services introduced earlier. This addition, + provides for multiple services to define the *same* method and suds will + handle it properly. See section 'SERVICES WITH MULTIPLE PORTS:' +- Add support for multi-document document/literal soap binding style. + See section 'MULTI-DOCUMENT Docuemnt/Literal:' +- Add support for (xs:group, xs:attributeGroup) tags. +- Add Client.last_sent() and Client.last_received(). diff --git a/sources b/sources index e69de29..be2bb8d 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +ae5a7e1f39c63ecf2c5622d687d6981c python-suds-0.3.1.tar.gz