[python-webtest] Updated to 2.0.15.
Bohuslav Kabrda
bkabrda at fedoraproject.org
Fri Jun 13 09:40:21 UTC 2014
commit 24496008e0209d753ad9fd2e7ac7b53bbdd67d0c
Author: Slavek Kabrda <bkabrda at redhat.com>
Date: Fri Jun 13 11:40:15 2014 +0200
Updated to 2.0.15.
.gitignore | 1 +
python-webtest.spec | 41 ++++++++++++++++++++++++++++++++++-------
sources | 2 +-
3 files changed, 36 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 01755d7..e762201 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ WebTest-1.2.1.tar.gz
/WebTest-1.2.3.tar.gz
/WebTest-1.3.3.tar.gz
/WebTest-1.3.4.tar.gz
+/WebTest-2.0.15.zip
diff --git a/python-webtest.spec b/python-webtest.spec
index ad15dbd..39b6d20 100644
--- a/python-webtest.spec
+++ b/python-webtest.spec
@@ -5,30 +5,47 @@
%endif
Name: python-webtest
-Version: 1.3.4
-Release: 8%{?dist}
+Version: 2.0.15
+Release: 1%{?dist}
Summary: Helper to test WSGI applications
Group: Development/Languages
License: MIT
URL: http://pythonpaste.org/webtest/
-Source0: http://pypi.python.org/packages/source/W/WebTest/WebTest-%{version}.tar.gz
+Source0: http://pypi.python.org/packages/source/W/WebTest/WebTest-%{version}.zip
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
BuildRequires: python-setuptools
BuildRequires: python-nose
+BuildRequires: python-mock
+
+BuildRequires: python-beautifulsoup4
+BuildRequires: python-paste-deploy
+BuildRequires: python-pyquery
+BuildRequires: python-six
+BuildRequires: python-waitress
BuildRequires: python-webob
-BuildRequires: python-dtopt
+BuildRequires: python-WSGIProxy2
+
%if 0%{?with_python3}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-nose
+
+BuildRequires: python3-beautifulsoup4
+BuildRequires: python3-paste-deploy
+BuildRequires: python3-pyquery
+BuildRequires: python3-six
+BuildRequires: python3-waitress
BuildRequires: python3-webob
-BuildRequires: python3-dtopt
+BuildRequires: python3-WSGIProxy2
%endif
+Requires: python-beautifulsoup4
+Requires: python-six
+Requires: python-waitress
Requires: python-webob
%description
@@ -43,6 +60,9 @@ with any WSGI-compatible framework.
Summary: Helper to test WSGI applications
Group: Development/Languages
+Requires: python3-beautifulsoup4
+Requires: python3-six
+Requires: python3-waitress
Requires: python3-webob
%description -n python3-webtest
@@ -63,6 +83,9 @@ rm -rf *.egg-info
%if 0%{?with_python3}
rm -rf %{py3dir}
cp -a . %{py3dir}
+pushd %{py3dir}
+find tests -type f -exec sed -i "s|import mock|from unittest import mock|" {} \;
+popd
%endif
%build
@@ -88,11 +111,12 @@ popd
%{__rm} -rf %{buildroot}
%check
-PYTHONPATH=$(pwd) %{__python} setup.py test
+PYTHONPATH=$(pwd) nosetests
%if 0%{?with_python3}
pushd %{py3dir}
-PYTHONPATH=$(pwd) %{__python3} setup.py test
+LANG=en_US.utf8
+PYTHONPATH=$(pwd) nosetests-%{python3_version}
popd
%endif
@@ -109,6 +133,9 @@ popd
%endif
%changelog
+* Fri Jun 13 2014 Bohuslav Kabrda <bkabrda at redhat.com> - 2.0.15-1
+- Updated to 2.0.15.
+
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.3.4-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
diff --git a/sources b/sources
index 598ae30..df6d827 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-be4b448e91306f297e6e302c3ebe9540 WebTest-1.3.4.tar.gz
+49314bdba23f4d0bd807facb2a6d3f90 WebTest-2.0.15.zip
More information about the scm-commits
mailing list