summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2011-09-16 08:51:28 +0000
committerDirkjan Ochtman <djc@gentoo.org>2011-09-16 08:51:28 +0000
commit522b81c3b3218c602652b9f07736da290010ad53 (patch)
treee4f3b6244d93e4468005c922d124cc632d0e537d /dev-python
parentFix unpack stage. Closes bug #383185. (diff)
downloadhistorical-522b81c3b3218c602652b9f07736da290010ad53.tar.gz
historical-522b81c3b3218c602652b9f07736da290010ad53.tar.bz2
historical-522b81c3b3218c602652b9f07736da290010ad53.zip
Version bump webtest to 1.3.
Package-Manager: portage-2.1.10.15/cvs/Linux x86_64
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/webtest/ChangeLog8
-rw-r--r--dev-python/webtest/Manifest13
-rw-r--r--dev-python/webtest/files/webtest-1.3-doctest-ellipsis.patch38
-rw-r--r--dev-python/webtest/webtest-1.3.ebuild60
4 files changed, 113 insertions, 6 deletions
diff --git a/dev-python/webtest/ChangeLog b/dev-python/webtest/ChangeLog
index dadabc4fa16d..4d550dfdfe0f 100644
--- a/dev-python/webtest/ChangeLog
+++ b/dev-python/webtest/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/webtest
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/webtest/ChangeLog,v 1.26 2011/04/29 20:10:57 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/webtest/ChangeLog,v 1.27 2011/09/16 08:51:28 djc Exp $
+
+*webtest-1.3 (16 Sep 2011)
+
+ 16 Sep 2011; Dirkjan Ochtman <djc@gentoo.org> +webtest-1.3.ebuild,
+ +files/webtest-1.3-doctest-ellipsis.patch:
+ Version bump to 1.3 (fixes bug 382923, thanks to jbergstroem).
29 Apr 2011; Samuli Suominen <ssuominen@gentoo.org> webtest-1.2.3.ebuild:
ppc64 stable wrt #365335
diff --git a/dev-python/webtest/Manifest b/dev-python/webtest/Manifest
index b4a90878b11d..b9588859d375 100644
--- a/dev-python/webtest/Manifest
+++ b/dev-python/webtest/Manifest
@@ -1,14 +1,17 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
+Hash: SHA512
+AUX webtest-1.3-doctest-ellipsis.patch 1116 RMD160 290b833ed2309917f664a94694244a4ed8c09486 SHA1 bc9cd1bad655803661dff69ff1a549949d88ba3c SHA256 a6e64a000ad6745b12cb8ab6061b09ce692f3efcf061851cc1bc0e4eb9d2e9ed
DIST WebTest-1.2.3.tar.gz 49571 RMD160 41cee0779ed26fb484d692e7cbff165c46335095 SHA1 2bf3c6a11b948c6b166935bbd73a3a0a40e458e5 SHA256 5e1cdb914a889ee035daa610e9858c1a33fec481cbd7a7df45b537954cbb513b
+DIST WebTest-1.3.tar.gz 76603 RMD160 079283805bad6d76a90022c308820f690b288a9e SHA1 439ca06af501df7f8f4c8c68214d8463424cc82e SHA256 aba8f6dcf87584c1d05848814cdd6c58fcb4cde1640a892322c978cc1ae204f3
EBUILD webtest-1.2.3.ebuild 814 RMD160 0942f048b849138f2938d4b6f14fa39f824f2c7b SHA1 6d16fb82c0eb0dd632b049ea45ae9caf10eec1c5 SHA256 5f302345dd8c45e5199289908d015ef55d427ec78ed7d598a0548aff89ff4d75
-MISC ChangeLog 3177 RMD160 3af102f3e249a25b15d659481dce0e8e4a2fdd9c SHA1 ca728cc2071a2aa38d7d7abc9182b21cc24a2590 SHA256 f1174185ff7c8fa8f700e1c1ee65c612b7fcb5d1699620a90f198de702a69f0c
+EBUILD webtest-1.3.ebuild 1398 RMD160 0e56ed77c95ae7cabd392b3c1067334e34a79927 SHA1 1ca4f9f8acbce88cffa198329382014fa1006eaf SHA256 d5f68c6226c9be4300f65a9377127543487155225df9501789041e88e6d55d27
+MISC ChangeLog 3379 RMD160 d1c6af4d6e5fefa5aa0dd4b3260ad5c9c3c74ddb SHA1 0fb37a53f8a23636409049245da6e94d8aa03ec2 SHA256 43504f4de1feb0a20cc26a1adafaeb60a9681bf3d660eac64f834f65e3b55816
MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iF4EAREIAAYFAk27G78ACgkQXkR9YqOcLPF6PgEAlUxZTjmFzUkVnINV4XafPIcJ
-Sq9eBRIGobczL1Z2uTIA/R7I4JbJ2XoUlJJET0q9Jm8mw5DciJWe/UM8BYaJTPJd
-=EnjK
+iEYEAREKAAYFAk5zDhkACgkQxeMuLWsGW/vMBwCfaHuzJErMKJ+moAoyDleum4X8
+Y3oAoKkP8XqPDr7FXA6t1QxhunXgKiV3
+=lRjR
-----END PGP SIGNATURE-----
diff --git a/dev-python/webtest/files/webtest-1.3-doctest-ellipsis.patch b/dev-python/webtest/files/webtest-1.3-doctest-ellipsis.patch
new file mode 100644
index 000000000000..38b01ae215b0
--- /dev/null
+++ b/dev-python/webtest/files/webtest-1.3-doctest-ellipsis.patch
@@ -0,0 +1,38 @@
+diff --git a/docs/index.txt b/docs/index.txt
+index f472102..1edf711 100644
+--- a/docs/index.txt
++++ b/docs/index.txt
+@@ -271,7 +271,7 @@ Then you can submit:
+ >>> res = form.submit()
+ >>> # Or submit a button:
+ >>> res = form.submit('submit')
+- >>> print(res)
++ >>> print(res) # doctest:+ELLIPSIS
+ Response: 200 OK
+ Content-Type: text/plain
+ ...
+@@ -331,7 +331,7 @@ Examples:
+ <class 'BeautifulSoup.BeautifulSoup'>
+ >>> res.html.body.div.string
+ u'hey!'
+- >>> res.lxml
++ >>> res.lxml # doctest:+ELLIPSIS
+ <Element html at ...>
+ >>> res.lxml.xpath('//body/div')[0].text
+ 'hey!'
+@@ -343,13 +343,13 @@ Examples:
+ >>> res = TestResponse(content_type='application/xml',
+ ... body='<xml><message>hey!</message></xml>')
+ >>> res.request = TestRequest.blank('/')
+- >>> res.xml
++ >>> res.xml # doctest:+ELLIPSIS
+ <Element ...>
+ >>> res.xml[0].tag
+ 'message'
+ >>> res.xml[0].text
+ 'hey!'
+- >>> res.lxml
++ >>> res.lxml # doctest:+ELLIPSIS
+ <Element xml at ...>
+ >>> res.lxml[0].tag
+ 'message' \ No newline at end of file
diff --git a/dev-python/webtest/webtest-1.3.ebuild b/dev-python/webtest/webtest-1.3.ebuild
new file mode 100644
index 000000000000..912550658e74
--- /dev/null
+++ b/dev-python/webtest/webtest-1.3.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/webtest/webtest-1.3.ebuild,v 1.1 2011/09/16 08:51:28 djc Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2:2.5"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.4 3.*"
+DISTUTILS_SRC_TEST="nosetests"
+
+inherit distutils eutils
+
+MY_PN="WebTest"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Helper to test WSGI applications"
+HOMEPAGE="http://pythonpaste.org/webtest/ http://pypi.python.org/pypi/WebTest"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND=">=dev-python/webob-0.9.2"
+DEPEND="${RDEPEND}
+ dev-python/setuptools
+ doc? ( dev-python/sphinx )
+ test? ( dev-python/pyquery )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ distutils_src_prepare
+ epatch "${FILESDIR}/${P}-doctest-ellipsis.patch"
+}
+
+src_compile() {
+ distutils_src_compile
+
+ if use doc; then
+ einfo "Generation of documentation"
+ sphinx-build docs html || die "Building of documentation failed"
+ fi
+}
+
+src_install() {
+ distutils_src_install
+
+ # Avoid future-import bug on py2.5.* - lint3 is py3 anyway
+ delete_lint3() {
+ [[ "${PYTHON_ABI}" == 3.* ]] && return
+ rm "${ED}$(python_get_sitedir)/webtest/lint3.py"
+ }
+ python_execute_function -q delete_lint3
+
+ if use doc; then
+ dohtml -r html/* || die "Error installing docs"
+ fi
+}