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