5c6f81
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
5c6f81
5c6f81
Summary: A python SOAP client
5c6f81
Name:  python-suds
5c6f81
Version: 0.4.1
5c6f81
Release: 5%{?dist}
5c6f81
Source0: https://fedorahosted.org/releases/s/u/suds/%{name}-%{version}.tar.gz
5c6f81
License: LGPLv3+
5c6f81
Group: Development/Libraries
5c6f81
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
5c6f81
BuildArch: noarch
5c6f81
Requires: python >= 2.4
5c6f81
BuildRequires: python-setuptools-devel
5c6f81
Url: https://fedorahosted.org/suds
5c6f81
5c6f81
%description
5c6f81
The suds project is a python soap web services client lib.  Suds leverages
5c6f81
python meta programming to provide an intuitive API for consuming web
5c6f81
services.  Objectification of types defined in the WSDL is provided
5c6f81
without class generation.  Programmers rarely need to read the WSDL since
5c6f81
services and WSDL based objects can be easily inspected.
5c6f81
5c6f81
%prep
5c6f81
%setup -q
5c6f81
5c6f81
%build
5c6f81
python setup.py sdist
5c6f81
5c6f81
%install
5c6f81
rm -rf $RPM_BUILD_ROOT
5c6f81
python setup.py install --optimize=1 --root=$RPM_BUILD_ROOT
5c6f81
5c6f81
%clean
5c6f81
rm -rf $RPM_BUILD_ROOT
5c6f81
5c6f81
%files
5c6f81
%defattr(-,root,root,-)
5c6f81
%{python_sitelib}/suds*.egg-info
5c6f81
%dir %{python_sitelib}/suds
5c6f81
%dir %{python_sitelib}/suds/bindings
5c6f81
%dir %{python_sitelib}/suds/sax
5c6f81
%dir %{python_sitelib}/suds/xsd
5c6f81
%dir %{python_sitelib}/suds/mx
5c6f81
%dir %{python_sitelib}/suds/umx
5c6f81
%dir %{python_sitelib}/suds/transport
5c6f81
%{python_sitelib}/suds/*.py*
5c6f81
%{python_sitelib}/suds/bindings/*.py*
5c6f81
%{python_sitelib}/suds/sax/*.py*
5c6f81
%{python_sitelib}/suds/xsd/*.py*
5c6f81
%{python_sitelib}/suds/mx/*.py*
5c6f81
%{python_sitelib}/suds/umx/*.py*
5c6f81
%{python_sitelib}/suds/transport/*.py*
5c6f81
5c6f81
%doc README LICENSE
5c6f81
5c6f81
%changelog
5c6f81
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.4.1-5
5c6f81
- Mass rebuild 2013-12-27
5c6f81
5c6f81
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-4
5c6f81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
5c6f81
5c6f81
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-3
5c6f81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
5c6f81
5c6f81
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-2
5c6f81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
5c6f81
5c6f81
* Thu Oct 15 2010 jortel <jortel@redhat.com> - 0.4.1-1
5c6f81
- 0.4.1
5c6f81
5c6f81
* Thu Sep 8 2010 jortel <jortel@redhat.com> - 0.4-1
5c6f81
- Fix spelling errors in spec description.
5c6f81
- Fix source0 URL warning.
5c6f81
- Updated caching to not cache intermediate wsdls.
5c6f81
- Added DocumentCache which caches verified XML documents as text. User can choose.
5c6f81
- Added cachingpolicy option to allow user to specify whether to cache XML documents or the WSDL object.
5c6f81
- Provided for repeating values in reply for message parts consistent with way handled in nested objects.
5c6f81
- Added charset=utf-8 to stock content-type http header.
5c6f81
- Added  to outgoing SOAP messages.
5c6f81
- Detection of faults in successful (http=200) replies and raise WebFault. Search for <soapenv:Fault/>.
5c6f81
- Add plugins facility. 
5c6f81
- Fixed Tickets: #251, #313, #314, #334
5c6f81
5c6f81
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.3.9-2
5c6f81
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
5c6f81
5c6f81
* Thu Dec 17 2009 jortel <jortel@redhat.com> - 0.3.9-1
5c6f81
- Bumped python requires to 2.4
5c6f81
- Replaced stream-based caching in the transport package with document-based caching.
5c6f81
- Caches pickled Document objects instead of XML text. 2x Faster!
5c6f81
- No more SAX parsing exceptions on damaged or incomplete cached files. 
5c6f81
- Cached WSDL objects. Entire Definitions object including contained Schema object cached via pickle.
5c6f81
- Copy of soap encoding schema packaged with suds.
5c6f81
- Refactor Transports to use ProxyHandler instead of urllib2.Request.set_proxy().
5c6f81
- Added WSSE enhancements <Timestamp/> and <Expires/> support. See: Timestamp token. 
5c6f81
- Fixed Tickets: #256, #291, #294, #295, #296
5c6f81
5c6f81
* Wed Dec 9 2009 jortel <jortel@redhat.com> - 0.3.8-1
5c6f81
- Includeds Windows NTLM Transport.
5c6f81
- Add missing self.messages in Client.clone().
5c6f81
- Changed default behavior for WSDL PartElement to be optional.
5c6f81
- Add support for services/ports defined without <address/> element in WSDL.
5c6f81
- Fix sax.attribute.Element.attrib() to find by name only when ns is not specified; renamed to Element.getAttribute().
5c6f81
- Update HttpTransport to pass timeout parameter to urllib2 open() methods when supported by urllib2.
5c6f81
- Add null class to pass explicit NULL values for parameters and optional elements.
5c6f81
- Soap encoded array (soap-enc:Array) enhancement for rpc/encoded.
5c6f81
  Arrays passed as python arrays - works like document/literal now.
5c6f81
  No more using the factory to create the Array.
5c6f81
  Automatically includes arrayType attribute.  Eg: soap-enc:arrayType="Array[2]".
5c6f81
  Reintroduced ability to pass complex (objects) using python dict instead of suds object via factory.
5c6f81
- Fixed tickets: #84, #261, #262, #263, #265, #266, #278, #280, #282.
5c6f81
5c6f81
* Thu Oct 16 2009 jortel <jortel@redhat.com> - 0.3.7-1
5c6f81
- Better soap header support
5c6f81
- Added new transport HttpAuthenticated for active (not passive) basic authentication.
5c6f81
- New options (prefixes, timeout, retxml)
5c6f81
- WSDL processing enhancements.
5c6f81
- Expanded builtin XSD type support.
5c6f81
- Fixed <xs:iniclude/>
5c6f81
- Better XML date/datetime conversion.
5c6f81
- Client.clone() method added for lightweight copy of client object.
5c6f81
- XSD processing fixes/enhancements.
5c6f81
- Better <simpleType/> by <xs:restriction/> support.
5c6f81
- Performance enhancements. 
5c6f81
- Fixed tickets: #65, #232, #233, #235, #241, #242, #244, #247, #254, #254, #256, #257, #258
5c6f81
5c6f81
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.6-2
5c6f81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
5c6f81
5c6f81
* Wed May 1 2009 jortel <jortel@redhat.com> - 0.3.6-1
5c6f81
- Change hard coded /tmp/suds to tempfile.gettempdir() and create suds/ on demand.
5c6f81
- Fix return type for Any.get_attribute().
5c6f81
- Update http caching to ignore file:// urls.
5c6f81
- Better logging of messages when only the reply is injected.
5c6f81
- Fix XInteger and XFloat types to translate returned arrays properly.
5c6f81
- Fix xs:import schema with same namespace.
5c6f81
- Update parser to not load external references and add Import.bind() for XMLSchema.xsd location.
5c6f81
- Add schema doctor - used to patch XSDs at runtime.  (See Options.doctor)
5c6f81
- Fix deprecation warnings in python 2.6.
5c6f81
- Add behavior for @default defined on <element/>.
5c6f81
- Change @xsi:type value to always be qualified for doc/literal.
5c6f81
- Add Option.xstq option to control when @xsi:type is qualified.
5c6f81
- Fixed Tickets: #64, #129, #205, #206, #217, #221, #222, #224, #225, #228, #229, #230
5c6f81
5c6f81
* Wed Feb 25 2009 jortel <jortel@redhat.com> - 0.3.5-1
5c6f81
- Adds http caching.  Default is (1) day.
5c6f81
- Removed checking fc version in spec since no longer building < fc9.
5c6f81
- Updated makefile to roll tarball with tar.sh.
5c6f81
- Moved bare/wrapped determination to wsdl for document/literal.
5c6f81
- Refactored Transport to provide better visibility into http headers.
5c6f81
- Fixed Tickets: #207, #207, #209, #210, #212, #214, #215
5c6f81
5c6f81
* Mon Dec 08 2008 jortel <jortel@redhat.com> - 0.3.4-1
5c6f81
- Static (automatic) Import.bind('http://schemas.xmlsoap.org/soap/encoding/')
5c6f81
- Basic ws-security with {{{UsernameToken}}} and clear-text password only.
5c6f81
- Add support for ''sparse'' soap headers via passing dictionary
5c6f81
- Add support for arbitrary user defined soap headers
5c6f81
- Fixes service operations with multiple soap header entries.
5c6f81
- Schema loading and dereferencing algorithm enhancements.
5c6f81
- Nested soap multirefs fixed.
5c6f81
- Better (true) support for elementFormDefault="unqualified" provides more accurate namespaing.
5c6f81
- WSDL part types no longer default to WSDL targetNamespace.
5c6f81
- Fixed Tickets: #4, #6, #21, #32, #62, #66, #71, #72, #114, #155, #201.
5c6f81
5c6f81
* Wed Dec 04 2008 jortel <jortel@redhat.com> - 0.3.3-2
5c6f81
- Rebuild for Python 2.6
5c6f81
5c6f81
* Wed Dec 04 2008 jortel <jortel@redhat.com> - 0.3.3-1
5c6f81
- No longer installs (tests) package.
5c6f81
- Implements API-3 proposal
5c6f81
    Pluggable transport
5c6f81
    Keyword method arguments
5c6f81
    Baisc http authentication in default transport
5c6f81
- Add namespace prefix normalization in soap message.
5c6f81
- Better soap message pruning of empty nodes.
5c6f81
- Fixed Tickets: #51 - #60.
5c6f81
5c6f81
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.3.2-2
5c6f81
- Rebuild for Python 2.6
5c6f81
5c6f81
* Fri Nov 06 2008 jortel <jortel@redhat.com> - 0.3.2-1
5c6f81
- Add SOAP MultiRef support
5c6f81
- Add support for new schema tags:
5c6f81
    <xs:include/>
5c6f81
    <xs:simpleContent/>
5c6f81
    <xs:group/>
5c6f81
    <xs:attributeGroup/>
5c6f81
- Added support for new xs <--> python type conversions:
5c6f81
    xs:int
5c6f81
    xs:long
5c6f81
    xs:float
5c6f81
    xs:double
5c6f81
- Revise marshaller and binding to further sharpen the namespacing of nodes produced.
5c6f81
- Infinite recursion fixed in ''xsd'' package dereference() during schema loading.
5c6f81
- Add support for <wsdl:import/> of schema files into the wsdl root <definitions/>.
5c6f81
- Fix double encoding of (&)
5c6f81
- Add Client API:
5c6f81
    setheaders()  - Same as keyword but works for all invocations.
5c6f81
    addprefix()   - Mapping of namespace prefixes.
5c6f81
    setlocation() - Override the location in the wsdl.
5c6f81
    setproxy()    - Same as proxy keyword but for all invocations.
5c6f81
- Add proper namespace prefix for soap headers.
5c6f81
- Fixed Tickets: #5, #12, #34, #37, #40, #44, #45, #46, #48, #49, #50, #51
5c6f81
5c6f81
* Fri Nov 03 2008 jortel <jortel@redhat.com> - 0.3.1-5
5c6f81
- Add LICENSE to %%doc.
5c6f81
5c6f81
* Fri Oct 28 2008 jortel <jortel@redhat.com> - 0.3.1-4
5c6f81
- Changes acc. #466496 Comment #8
5c6f81
5c6f81
* Fri Oct 27 2008 jortel <jortel@redhat.com> - 0.3.1-3
5c6f81
- Add "rm -rf $RPM_BUILD_ROOT" to install
5c6f81
5c6f81
* Fri Oct 16 2008 jortel <jortel@redhat.com> - 0.3.1-2
5c6f81
- Changes acc. #466496 Comment #1
5c6f81
5c6f81
* Fri Oct 10 2008 jortel <jortel@redhat.com> - 0.3.1-1
5c6f81
- Extends the support for multi-port services introduced earlier. This addition, 
5c6f81
  provides for multiple services to define the *same* method and suds will
5c6f81
  handle it properly.  See section 'SERVICES WITH MULTIPLE PORTS:'
5c6f81
- Add support for multi-document document/literal soap binding style.
5c6f81
  See section 'MULTI-DOCUMENT Docuemnt/Literal:'
5c6f81
- Add support for (xs:group, xs:attributeGroup) tags.
5c6f81
- Add Client.last_sent() and Client.last_received().