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