From ff8b71ecb519a2d8effc03e79a192ab18a2c286690c4eec77b333499117d8286 Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Thu, 24 Aug 2017 15:43:30 +0000 Subject: [PATCH 1/3] Accepting request 518560 from home:tbechtold:branches:devel:languages:python - 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 OBS-URL: https://build.opensuse.org/request/show/518560 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=24 --- WSME-0.8.0.tar.gz | 3 --- WSME-0.9.2.tar.gz | 3 +++ python-WSME.changes | 18 +++++++++++++++++ python-WSME.spec | 47 ++++++++++++++++++++++++--------------------- 4 files changed, 46 insertions(+), 25 deletions(-) delete mode 100644 WSME-0.8.0.tar.gz create mode 100644 WSME-0.9.2.tar.gz diff --git a/WSME-0.8.0.tar.gz b/WSME-0.8.0.tar.gz deleted file mode 100644 index 54c94ac..0000000 --- a/WSME-0.8.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:00241e4e4e40d6183f6354a8f5659b601753d49e28b6e5aca332bdf2e31188db -size 121619 diff --git a/WSME-0.9.2.tar.gz b/WSME-0.9.2.tar.gz new file mode 100644 index 0000000..2eecf55 --- /dev/null +++ b/WSME-0.9.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e790ac755a7e36eaa796d3966d3878677896dbc7d1c2685cb85c06b744c21976 +size 122620 diff --git a/python-WSME.changes b/python-WSME.changes index be37931..235477d 100644 --- a/python-WSME.changes +++ b/python-WSME.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +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 diff --git a/python-WSME.spec b/python-WSME.spec index 8181690..69911bd 100644 --- a/python-WSME.spec +++ b/python-WSME.spec @@ -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,37 +16,39 @@ # +%{?!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 @@ -58,15 +60,16 @@ with focus on extensibility, framework-independance and better type handling. %setup -q -n WSME-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%fdupes %{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}/* From fa1264e194fadf5c7378349f336f1b5bf4edc4bd0ed1bb189a69fbd6cb67c27d Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Fri, 25 Aug 2017 12:19:41 +0000 Subject: [PATCH 2/3] Accepting request 518736 from home:tbechtold:branches:devel:languages:python - Fix fdupes call OBS-URL: https://build.opensuse.org/request/show/518736 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=25 --- python-WSME.changes | 5 +++++ python-WSME.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-WSME.changes b/python-WSME.changes index 235477d..598897a 100644 --- a/python-WSME.changes +++ b/python-WSME.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/python-WSME.spec b/python-WSME.spec index 69911bd..cadcb4a 100644 --- a/python-WSME.spec +++ b/python-WSME.spec @@ -64,7 +64,7 @@ with focus on extensibility, framework-independance and better type handling. %install %python_install -%fdupes %{buildroot}%{python_sitelib} +%python_expand %fdupes -s %{buildroot}%{$python_sitelib} %check %python_exec %{_bindir}/nosetests -v tests/pecantest tests/rest From 373f3bb35559a3fb0e83850d5b898c186a587f7684f95468f44a46419e8c586e Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Mon, 28 Aug 2017 04:14:54 +0000 Subject: [PATCH 3/3] Accepting request 518777 from home:jengelh:branches:devel:languages:python - Trim sensationalist wording. OBS-URL: https://build.opensuse.org/request/show/518777 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSME?expand=0&rev=26 --- python-WSME.changes | 5 +++++ python-WSME.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/python-WSME.changes b/python-WSME.changes index 598897a..0e57bb2 100644 --- a/python-WSME.changes +++ b/python-WSME.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/python-WSME.spec b/python-WSME.spec index cadcb4a..45739e1 100644 --- a/python-WSME.spec +++ b/python-WSME.spec @@ -51,10 +51,10 @@ BuildArch: noarch %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}