15
0
forked from pool/python-WSME

Accepting request 518974 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/518974
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-WSME?expand=0&rev=13
This commit is contained in:
2017-08-29 09:44:36 +00:00
committed by Git OBS Bridge
4 changed files with 59 additions and 28 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:00241e4e4e40d6183f6354a8f5659b601753d49e28b6e5aca332bdf2e31188db
size 121619

3
WSME-0.9.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e790ac755a7e36eaa796d3966d3878677896dbc7d1c2685cb85c06b744c21976
size 122620

View File

@@ -1,3 +1,31 @@
-------------------------------------------------------------------
Fri Aug 25 15:19:25 UTC 2017 - jengelh@inai.de
- Trim sensationalist wording.
-------------------------------------------------------------------
Fri Aug 25 12:18:37 UTC 2017 - tbechtold@suse.com
- Fix fdupes call
-------------------------------------------------------------------
Thu Aug 24 14:44:34 UTC 2017 - tbechtold@suse.com
- update to 0.9.2:
* Remove white space between print ()
* Fix: Sphinx extension on Python3
* Fix the setup.cfg metadata
* Print exceptions raised from from_param methods
* Fix pep8 issues and switch to py35 in tox.ini
* [doc] Complete doc requirements
* Add the 0.8.0 changes list
* wsattr.__set__() catchs TypeError
* Fix jenkins failure
* Port test_cornice to Python 3
* Change the repositories from stackforge to openstack
* Update .gitreview for new namespace
- convert to singlespec
-------------------------------------------------------------------
Wed Sep 9 07:12:25 UTC 2015 - tbechtold@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-WSME
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,57 +16,60 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-WSME
Version: 0.8.0
Version: 0.9.2
Release: 0
Summary: Web Services Made Easy
License: MIT
Group: Development/Languages/Python
Url: http://packages.python.org/WSME/
Source: http://pypi.python.org/packages/source/W/WSME/WSME-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-pbr >= 0.5.21
BuildRequires: python-setuptools
BuildRequires: python-six
Source: https://files.pythonhosted.org/packages/source/W/WSME/WSME-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pbr}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# Test requirements:
BuildRequires: python-WebOb >= 1.2.3
BuildRequires: python-netaddr >= 0.7.12
BuildRequires: python-pytz
BuildRequires: python-simplegeneric
BuildRequires: python-six >= 1.9.0
BuildRequires: %{python_module WebOb >= 1.2.3}
BuildRequires: %{python_module WebTest}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module netaddr >= 0.7.12}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module pecan}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module simplegeneric}
BuildRequires: %{python_module six >= 1.9.0}
Requires: python-WebOb >= 1.2.3
Requires: python-netaddr >= 0.7.12
Requires: python-pytz
Requires: python-simplegeneric
Requires: python-six >= 1.9.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
BuildRequires: python-ordereddict
Requires: python-ordereddict
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
%python_subpackages
%description
Web Service Made Easy (WSME) is a very easy way to implement webservices
in your python web application.
Web Service Made Easy (WSME) is a way to implement webservices
in Python web applications.
It is originally a rewrite of TGWebServices
with focus on extensibility, framework-independance and better type handling.
with focus on extensibility, framework-independence and improved type handling.
%prep
%setup -q -n WSME-%{version}
%build
python setup.py build
%python_build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%python_install
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
%check
python setup.py test
%python_exec %{_bindir}/nosetests -v tests/pecantest tests/rest
%files
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE README.rst examples
%{python_sitelib}/*