From c0753684bcd65d757cdee006c033d2ef74e32203ebc2ed440d9960c3ee84e3a4 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Thu, 22 Nov 2012 15:17:30 +0000 Subject: [PATCH] =?UTF-8?q?-=20Update=20to=20version=201.4.2:=20=20=20+=20?= =?UTF-8?q?fix=20tests=20error=20due=20to=20CLRF=20in=20a=20tarball=20-=20?= =?UTF-8?q?Changes=20from=20version=201.4.1:=20=20=20+=20add=20travis-ci?= =?UTF-8?q?=20=20=20+=20migrate=20repository=20to=20https://github.com/Pyl?= =?UTF-8?q?ons/webtest=20=20=20+=20Fix=20a=20typo=20in=20apps.py:=20select?= =?UTF-8?q?edIndicies=20=20=20+=20Preserve=20field=20order=20during=20pars?= =?UTF-8?q?ing=20(support=20for=20deform=20and=20such)=20=20=20+=20Allow?= =?UTF-8?q?=20equals=20sign=20in=20the=20cookie=20by=20spliting=20name-val?= =?UTF-8?q?ue-string=20pairs=20on=20the=20=20=20=20=20first=20=E2=80=98=3D?= =?UTF-8?q?=E2=80=99=20sign=20as=20per=20http://tools.ietf.org/html/rfc626?= =?UTF-8?q?5#section-5.2=20=20=20+=20fix=20an=20error=20when=20you=20use?= =?UTF-8?q?=20AssertionError(response)=20with=20unicode=20chars=20in=20res?= =?UTF-8?q?ponse=20-=20Build=20HTML=20documentaton=20-=20Run=20testsuite?= =?UTF-8?q?=20-=20Split=20of=20doc=20package?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WebTest?expand=0&rev=11 --- WebTest-1.4.0.tar.gz | 3 --- WebTest-1.4.2.zip | 3 +++ python-WebTest.changes | 17 +++++++++++++++++ python-WebTest.spec | 35 +++++++++++++++++++++++++++++------ 4 files changed, 49 insertions(+), 9 deletions(-) delete mode 100644 WebTest-1.4.0.tar.gz create mode 100644 WebTest-1.4.2.zip diff --git a/WebTest-1.4.0.tar.gz b/WebTest-1.4.0.tar.gz deleted file mode 100644 index 6ac73f9..0000000 --- a/WebTest-1.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d4764ae3a63de7775ff3e840a07a8c1d010222b36c7b3d9298046677c8f96297 -size 82799 diff --git a/WebTest-1.4.2.zip b/WebTest-1.4.2.zip new file mode 100644 index 0000000..aae266f --- /dev/null +++ b/WebTest-1.4.2.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:102d9936bd453de9831027853df1425b9f60ab6de85a91db6c3291982a7340cb +size 80466 diff --git a/python-WebTest.changes b/python-WebTest.changes index a377355..514ff4c 100644 --- a/python-WebTest.changes +++ b/python-WebTest.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Thu Nov 22 15:13:50 UTC 2012 - saschpe@suse.de + +- Update to version 1.4.2: + + fix tests error due to CLRF in a tarball +- Changes from version 1.4.1: + + add travis-ci + + migrate repository to https://github.com/Pylons/webtest + + Fix a typo in apps.py: selectedIndicies + + Preserve field order during parsing (support for deform and such) + + Allow equals sign in the cookie by spliting name-value-string pairs on the + first ‘=’ sign as per http://tools.ietf.org/html/rfc6265#section-5.2 + + fix an error when you use AssertionError(response) with unicode chars in response +- Build HTML documentaton +- Run testsuite +- Split of doc package + ------------------------------------------------------------------- Sat Sep 22 18:38:46 UTC 2012 - os-dev@jacraig.com diff --git a/python-WebTest.spec b/python-WebTest.spec index 83592f5..c2fdb0c 100644 --- a/python-WebTest.spec +++ b/python-WebTest.spec @@ -17,21 +17,29 @@ Name: python-WebTest -Version: 1.4.0 +Version: 1.4.2 Release: 0 Url: http://webtest.pythonpaste.org/ Summary: Helper to test WSGI applications License: MIT Group: Development/Languages/Python -Source: http://pypi.python.org/packages/source/W/WebTest/WebTest-%{version}.tar.gz +Source: http://pypi.python.org/packages/source/W/WebTest/WebTest-%{version}.zip BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-devel +BuildRequires: python-base BuildRequires: python-distribute +BuildRequires: unzip +# Documentation build requirements: +BuildRequires: python-Sphinx +# Test build requirements: +BuildRequires: python-WebOb +BuildRequires: python-coverage +BuildRequires: python-nose +BuildRequires: python-unittest2 Requires: python-WebOb 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()")} +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %else BuildArch: noarch %endif @@ -43,19 +51,34 @@ requests to that application, without starting up an HTTP server. This provides convenient full-stack testing of applications written with any WSGI-compatible framework. +%package doc +Summary: Helper to test WSGI applications - Documentation +Group: Documentation/HTML +Requires: %{name} = %{version} + +%description doc +This package contains documentation files for %{name}. + %prep %setup -q -n WebTest-%{version} -mv docs/_build docs/html %build python setup.py build +python setup.py build_sphinx && rm build/sphinx/html/.buildinfo %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%check +python setup.py test + %files %defattr(-,root,root,-) -%doc docs/html +%doc README.rst %{python_sitelib}/* +%files doc +%defattr(-,root,root,-) +%doc build/sphinx/html + %changelog