15
0
forked from pool/python-WSME
Files
python-WSME/python-WSME.spec

66 lines
2.0 KiB
RPMSpec
Raw Normal View History

#
# spec file for package python-WSME
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
Name: python-WSME
- Update to version 0.5b1: + Introduce a new kind of adapters that rely on the framework routing. Adapters are provided for Pecan, TurboGears and cornice. + Reorganised the rest protocol implementation to ease the implementation of adapters that rely only on the host framework routing system. + The default rest @expose decorator does not wrap the decorated function anymore. If needed to expose a same function several times, a parameter multiple_expose=True has been introduced. + Remove the wsme.release module + Fix == operator on ArrayType + Adapted the wsme.sphinxext module to work with the function exposed by the wsme.pecan adapter. + Allow promotion of int to float on float attributes (Doug Hellman) + Add a samples_slot option to the .. autotype directive to choose where the data samples whould be inserted + Add sample() to ArrayType and DictType + New syntax for object arrays as GET parameters, without brackets. Ex: ?o.f1=a&o.f1=b&o.f2=c&o.f2=d is an array of two objects: [{‘f1’: ‘a’, ‘f2’: ‘c’]}, {‘f1’: ‘b’, ‘f2’: ‘d’]}. + @signature (and its @wsexpose frontends) has a new parameter: ignore_extra_args. + Fix boolean as input type support in the soap implementation + Fix empty/nil strings distinction in soap + Improved unittests code coverage. + Ported the soap implementation to python 3. + Moved non-core features (adapters, sphinx extension) to the wsmeext module. + Change the GET parameter name for passing the request body as a parameter is now from ‘body’ to ‘__body__’ + The soap, extdirect and sqlalchemy packages have been merged into the main package. + Changed the documentation theme to “Cloud”. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=2
2013-02-22 12:42:08 +00:00
Version: 0.5b1
Release: 0
License: MIT
Summary: Web Services Made Easy
Url: http://packages.python.org/WSME/
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/W/WSME/WSME-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-distribute
BuildRequires: python-d2to1
BuildRequires: python-WebOb
BuildRequires: python-simplegeneric
BuildRequires: python-six
Requires: python-simplegeneric
Requires: python-six
Requires: python-WebOb
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
%description
Web Service Made Easy (WSME) is a very easy way to implement webservices
in your python web application.
It is originally a rewrite of TGWebServices
with focus on extensibility, framework-independance and better type handling.
%prep
%setup -q -n WSME-%{version}
%build
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
python setup.py test
%files
%defattr(-,root,root,-)
%doc LICENSE README.rst examples
%{python_sitelib}/*
%changelog