From 17efad0d06f2159aed9913ca3f46527c66eef44797eb38e3211bd689d331a261 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Tue, 31 Jan 2012 13:50:23 +0000 Subject: [PATCH] - Simplified macro usage - Run testsuite - Update to version 1.3.3: * added post_json, put_json, delete_json * fix #25 params dictionary of webtest.AppTest.post() does not support unicode values - Changes from version 1.3.2: * improve showbrowser. * print_stderr fail with unicode string on python2 - Changes from version 1.3.1: * Added .option() * Full python3 compat OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WebTest?expand=0&rev=4 --- WebTest-1.3.3.tar.gz | 3 +++ WebTest-1.3.tar.gz | 3 --- python-WebTest.changes | 15 +++++++++++++++ python-WebTest.spec | 21 +++++++++------------ 4 files changed, 27 insertions(+), 15 deletions(-) create mode 100644 WebTest-1.3.3.tar.gz delete mode 100644 WebTest-1.3.tar.gz diff --git a/WebTest-1.3.3.tar.gz b/WebTest-1.3.3.tar.gz new file mode 100644 index 0000000..3997b2f --- /dev/null +++ b/WebTest-1.3.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:018897fd56c1f96396282ac36d32f5c7862eb07e3965765f0e86ca092ecd42a0 +size 77709 diff --git a/WebTest-1.3.tar.gz b/WebTest-1.3.tar.gz deleted file mode 100644 index 172bddb..0000000 --- a/WebTest-1.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aba8f6dcf87584c1d05848814cdd6c58fcb4cde1640a892322c978cc1ae204f3 -size 76603 diff --git a/python-WebTest.changes b/python-WebTest.changes index 1665af8..832e87c 100644 --- a/python-WebTest.changes +++ b/python-WebTest.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Tue Jan 31 13:49:10 UTC 2012 - saschpe@suse.de + +- Simplified macro usage +- Run testsuite +- Update to version 1.3.3: + * added post_json, put_json, delete_json + * fix #25 params dictionary of webtest.AppTest.post() does not support unicode values +- Changes from version 1.3.2: + * improve showbrowser. + * print_stderr fail with unicode string on python2 +- Changes from version 1.3.1: + * Added .option() + * Full python3 compat + ------------------------------------------------------------------- Thu Sep 1 15:07:32 UTC 2011 - saschpe@suse.de diff --git a/python-WebTest.spec b/python-WebTest.spec index 7d0d214..89f1969 100644 --- a/python-WebTest.spec +++ b/python-WebTest.spec @@ -1,7 +1,7 @@ # # spec file for package python-WebTest # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 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 @@ -11,12 +11,11 @@ # 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-WebTest -Version: 1.3 +Version: 1.3.3 Release: 0 Url: http://webtest.pythonpaste.org/ Summary: Helper to test WSGI applications @@ -25,19 +24,17 @@ Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/W/WebTest/WebTest-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel -BuildRequires: python-distribute +BuildRequires: python-distribute Requires: python-WebOb Requires: python-dtopt -Requires: python-nose -%if 0%{?suse_version} -%py_requires -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -%endif +Requires: python-nose Provides: python-webtest = %{version} Obsoletes: python-webtest < %{version} +%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 This wraps any WSGI application and makes it easy to send test