summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2011-07-03 14:50:32 +0000
committerChristian Faulhammer <fauli@gentoo.org>2011-07-03 14:50:32 +0000
commit996c8767c844fea1ca7fa29ed1ff13de8fafd1f7 (patch)
tree878c688811e590a15f6bfd6925af544d35973104 /dev-python/testtools
parentMoved from sunrise overlay. Thanks to Patrick Nagel <mail@patrick-nagel.net>.... (diff)
downloadhistorical-996c8767c844fea1ca7fa29ed1ff13de8fafd1f7.tar.gz
historical-996c8767c844fea1ca7fa29ed1ff13de8fafd1f7.tar.bz2
historical-996c8767c844fea1ca7fa29ed1ff13de8fafd1f7.zip
version bump, disable support for Python 3 as it does break regularly
Package-Manager: portage-2.1.9.42/cvs/Linux i686
Diffstat (limited to 'dev-python/testtools')
-rw-r--r--dev-python/testtools/ChangeLog8
-rw-r--r--dev-python/testtools/Manifest10
-rw-r--r--dev-python/testtools/testtools-0.9.11.ebuild37
3 files changed, 50 insertions, 5 deletions
diff --git a/dev-python/testtools/ChangeLog b/dev-python/testtools/ChangeLog
index 1c85c7b9f501..d3a4459fb46c 100644
--- a/dev-python/testtools/ChangeLog
+++ b/dev-python/testtools/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/testtools
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/testtools/ChangeLog,v 1.29 2011/04/17 15:22:08 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/testtools/ChangeLog,v 1.30 2011/07/03 14:50:32 fauli Exp $
+
+*testtools-0.9.11 (03 Jul 2011)
+
+ 03 Jul 2011; Christian Faulhammer <fauli@gentoo.org>
+ +testtools-0.9.11.ebuild:
+ version bump, disable support for Python 3 as it does break regularly
*testtools-0.9.10 (17 Apr 2011)
diff --git a/dev-python/testtools/Manifest b/dev-python/testtools/Manifest
index 57e2df8d5b3b..7e0dd7b7219c 100644
--- a/dev-python/testtools/Manifest
+++ b/dev-python/testtools/Manifest
@@ -2,15 +2,17 @@
Hash: SHA1
DIST testtools-0.9.10.tar.gz 109366 RMD160 d5547b7aa66959b5f3441309d5ec51f23dcd4eea SHA1 2c9e9ee98dd5ed76dac849111abe78f7dddcec97 SHA256 9d810506bcf58fa7d9da099be71210c00f77d9c316bc3b7f95209046cdd716af
+DIST testtools-0.9.11.tar.gz 115047 RMD160 3b2be21e9c249e8a7cd923d1dc6037086690ed85 SHA1 3478e43f8d5810d9d1d95b3dc372b49c65744d80 SHA256 45569f20a355e8a4e60f705b95ed5d06a1994a1594d0e8cbff46cea1fd15e9e6
DIST testtools-0.9.8.tar.gz 85000 RMD160 f4fc62db9d8f3541d15aeded4e52ae880e102474 SHA1 e409586cd1c22b94098d808058da0e5b735a19cf SHA256 a440b5d9797755f2c7e4c9aa11364f92858d2504b1b8147287f85472644753ed
EBUILD testtools-0.9.10.ebuild 1158 RMD160 107f1efa2a35d827cac76e405b3ef169a5322f6d SHA1 e80bb7ba178d018f251da04909eab2870c7f4c94 SHA256 143a8201ffc9b7cd8353f8f9a61f510aa6a3ce86b514102c17bf4d65d95e789e
+EBUILD testtools-0.9.11.ebuild 1223 RMD160 72a5ca616ac745ad2fd476ea1acd9c2a7fb8d8e2 SHA1 f651b97e7afcc74f2ea33a5e634060ee771a8b7f SHA256 7abe0c6f66264bb77df0104d8f67a269b0ff259ea42f8d1933406ab1ef24ead6
EBUILD testtools-0.9.8.ebuild 1150 RMD160 371f0a7cb6fae9a9bdd9dd9702a176521b060a6f SHA1 7bcb5fadd4c0afe5764ff4f0a082290ad7c82d7b SHA256 554b0deb802965cf64e255f97574b846f3362d3503c3ed874c126dd92e25049c
-MISC ChangeLog 3796 RMD160 ef257770138ec19f75691266235faef671d35fe4 SHA1 9211127abbcdd9ef9f1e96ead14a84589677da0b SHA256 12b58f5d1a09088b597c5a65d92428914045c43fc92c582e1c1612a4a3c622bd
+MISC ChangeLog 3985 RMD160 c5b98bcc81b1dbde1e30472b9a080ecd5307325a SHA1 f1815e931a5b56bf3397eb30da729f21fb7f9e3f SHA256 c5815b372752c25626f73627d9f36119ad16e1fa5a5fae1140371d0018112d54
MISC metadata.xml 183 RMD160 3d7d3ef1c7fc2ad46c3bd8e2d8a728c8aac5d98e SHA1 467d0cbe06164e9a6b36ddf69790013d55b7d871 SHA256 37cf175469989020dfc412334d876157ffda2f766d2642104f8480a9e50ae51c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk2rBaYACgkQNQqtfCuFneNs1QCcDfvjZQ3f4zfAL/suP/3751nZ
-vWoAoJb6ZnghGlYqi7mLTzNGYU3ARarD
-=MOjb
+iEYEARECAAYFAk4QgdAACgkQNQqtfCuFneN0WgCfeo7B/aTiY9oCjqb2HM/BTXY1
+Fn8AnihyjpMesaQN9XJHiX0GqntdjW72
+=/r9q
-----END PGP SIGNATURE-----
diff --git a/dev-python/testtools/testtools-0.9.11.ebuild b/dev-python/testtools/testtools-0.9.11.ebuild
new file mode 100644
index 000000000000..11864dc60852
--- /dev/null
+++ b/dev-python/testtools/testtools-0.9.11.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/testtools/testtools-0.9.11.ebuild,v 1.1 2011/07/03 14:50:32 fauli Exp $
+
+EAPI="3"
+inherit distutils versionator
+
+SERIES="$(get_version_component_range 1-2)"
+
+DESCRIPTION="Extensions to the Python unittest library"
+HOMEPAGE="https://launchpad.net/testtools http://pypi.python.org/pypi/testtools"
+SRC_URI="http://launchpad.net/${PN}/${SERIES}/${PV}/+download/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_prepare() {
+ distutils_src_prepare
+
+ # Fix tests with Python 3.
+ sed -e 's/raise RuntimeError, "Something went wrong!"/raise RuntimeError("Something went wrong!")/' -i testtools/tests/test_monkey.py
+}
+
+# Below will work as soon as upstream really develops for Python 3 and beyond
+# src_test() {
+# testing() {
+# PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" -m testtools.run testtools.tests.test_suite
+# }
+# python_execute_function testing
+# }
+
+# dev-python/subunit imports some objects from testtools.tests.helpers, so tests need to be installed.