summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2012-05-19 16:13:36 +0000
committerMike Gilbert <floppym@gentoo.org>2012-05-19 16:13:36 +0000
commitc7f759d8e3bd2ebb2aea66b2c03e318722885963 (patch)
tree794e8208d8cb597958d0e21085e52c81babdfb22 /dev-python/testtools
parentSet RESTRICT="test" by Markus Meier (bug #414841). (diff)
downloadhistorical-c7f759d8e3bd2ebb2aea66b2c03e318722885963.tar.gz
historical-c7f759d8e3bd2ebb2aea66b2c03e318722885963.tar.bz2
historical-c7f759d8e3bd2ebb2aea66b2c03e318722885963.zip
Version bump. Re-enable python 3 support.
Package-Manager: portage-2.2.0_alpha107/cvs/Linux x86_64
Diffstat (limited to 'dev-python/testtools')
-rw-r--r--dev-python/testtools/ChangeLog7
-rw-r--r--dev-python/testtools/Manifest14
-rw-r--r--dev-python/testtools/testtools-0.9.15.ebuild42
3 files changed, 56 insertions, 7 deletions
diff --git a/dev-python/testtools/ChangeLog b/dev-python/testtools/ChangeLog
index 2b63e8739101..c018c09b68e3 100644
--- a/dev-python/testtools/ChangeLog
+++ b/dev-python/testtools/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/testtools
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/testtools/ChangeLog,v 1.41 2012/04/26 22:14:30 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/testtools/ChangeLog,v 1.42 2012/05/19 16:13:36 floppym Exp $
+
+*testtools-0.9.15 (19 May 2012)
+
+ 19 May 2012; Mike Gilbert <floppym@gentoo.org> +testtools-0.9.15.ebuild:
+ Version bump. Re-enable python 3 support.
26 Apr 2012; Alexis Ballier <aballier@gentoo.org> testtools-0.9.14.ebuild:
keyword ~amd64-fbsd
diff --git a/dev-python/testtools/Manifest b/dev-python/testtools/Manifest
index e0e53d0afa40..d92f91a2f055 100644
--- a/dev-python/testtools/Manifest
+++ b/dev-python/testtools/Manifest
@@ -1,18 +1,20 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
DIST testtools-0.9.11.tar.gz 115047 RMD160 3b2be21e9c249e8a7cd923d1dc6037086690ed85 SHA1 3478e43f8d5810d9d1d95b3dc372b49c65744d80 SHA256 45569f20a355e8a4e60f705b95ed5d06a1994a1594d0e8cbff46cea1fd15e9e6
DIST testtools-0.9.14.tar.gz 146103 RMD160 7138b30ff3d5a556d2f488c54499e25e1d409638 SHA1 12bd97a51a71437d489718125f2a39f8aac309fb SHA256 8fbe8736822caa3f95a3c65cf4df9e6d68aab5edd6f0adf3eebd0072d1a012cc
+DIST testtools-0.9.15.tar.gz 152830 RMD160 c70c5a3b5fcff1219b8c0a43776a67db79b5633f SHA1 985dddc38e0317d6c6f351665e74d57fcb86a1c8 SHA256 49ef090f09e217c9f2688d4b2f9e246f00b9c1a867040a7ae8e4e9de7f707c02
DIST testtools-0.9.8.tar.gz 85000 RMD160 f4fc62db9d8f3541d15aeded4e52ae880e102474 SHA1 e409586cd1c22b94098d808058da0e5b735a19cf SHA256 a440b5d9797755f2c7e4c9aa11364f92858d2504b1b8147287f85472644753ed
EBUILD testtools-0.9.11.ebuild 1282 RMD160 a5624a6532e171e5894c7acb8ab88587fb7210f5 SHA1 4e5fd37728be5b44e742069d75ff5e74f6ac02b5 SHA256 8891518f5f706e91a8e6e1d1e5faeb6d2cba07787e2dff337b20c2ffd8887a9c
EBUILD testtools-0.9.14.ebuild 1057 RMD160 a1adde3b4fa911a2654403f89feff1c7e8692190 SHA1 f398133b80e5e6e4322f09cd73805cbd307a1700 SHA256 ec33a2fdd8bfee9d5978674d1abc46ca4cc6ccca2e7b7c1c01feb7c65603ff9b
+EBUILD testtools-0.9.15.ebuild 1313 RMD160 6ee1d8377541350576c2f4e5b556e786425d6f59 SHA1 e2dbb19fc2e31c1f6228a54255f9161b8b4b42c1 SHA256 51375194147d844afc99ed2eda8e6b8db518165f6110ba9e1a64665c2fc277cb
EBUILD testtools-0.9.8.ebuild 1150 RMD160 371f0a7cb6fae9a9bdd9dd9702a176521b060a6f SHA1 7bcb5fadd4c0afe5764ff4f0a082290ad7c82d7b SHA256 554b0deb802965cf64e255f97574b846f3362d3503c3ed874c126dd92e25049c
-MISC ChangeLog 5288 RMD160 6efb9ed7f88598327539b45450ae0ca249241102 SHA1 1e9688e94614cd42ba1f71facf7d880053e65870 SHA256 704a1709a9784919ca47efbc6d6973dd9c5b2cd213d0daf6c035fca3dc3ed21f
+MISC ChangeLog 5440 RMD160 3515ea1e26a179887a71f3fdfa6d767695310cbd SHA1 c5b3e1d3d31cc7f8efd6fa875d3fd34c9a485cb3 SHA256 b79bfe29399f4456f60c8b286517b8f113d3eb63551b0fcb02e1b3de05a38627
MISC metadata.xml 183 RMD160 3d7d3ef1c7fc2ad46c3bd8e2d8a728c8aac5d98e SHA1 467d0cbe06164e9a6b36ddf69790013d55b7d871 SHA256 37cf175469989020dfc412334d876157ffda2f766d2642104f8480a9e50ae51c
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk+ZyMwACgkQvFcC4BYPU0qzbgCfSZlCHd21HOZjvU2XBmv11e4W
-400AoMGiOvDb6ABXXtv6rrCL1AzVVvvJ
-=ISCO
+iF4EAREIAAYFAk+3xrkACgkQC77qH+pIQ6S0LgD/ds70r8YWE3hDl69p95X8PLoM
+9V3PyaToLFTLc9h4ecYA/RqJUO0jeC/i7e6gmDQx7qHFUwX9vpJ+r4WG2btu2J6e
+=NmjU
-----END PGP SIGNATURE-----
diff --git a/dev-python/testtools/testtools-0.9.15.ebuild b/dev-python/testtools/testtools-0.9.15.ebuild
new file mode 100644
index 000000000000..f86a676d9c89
--- /dev/null
+++ b/dev-python/testtools/testtools-0.9.15.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/testtools/testtools-0.9.15.ebuild,v 1.1 2012/05/19 16:13:36 floppym Exp $
+
+EAPI="4"
+SUPPORT_PYTHON_ABIS="1"
+DISTUTILS_SRC_TEST="setup.py"
+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 ~amd64-fbsd ~x86-fbsd"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_compile() {
+ distutils_src_compile
+
+ if [[ ! -e testtools/_compat2x.py ]]; then
+ die "_compat2x.py removed upstream; fix src_compile"
+ fi
+
+ fix_compat() {
+ # _compat2x.py is expected to have syntax incompatible with python 3.
+ # This breaks compileall. Replace with "raise SyntaxError".
+ if [[ $(python_get_version -l --major) == 3 ]]; then
+ echo "raise SyntaxError" > build-${PYTHON_ABI}/lib/testtools/_compat2x.py
+ fi
+ }
+ python_execute_function -q fix_compat
+}
+
+# dev-python/subunit imports some objects from testtools.tests.helpers, so
+# tests need to be installed.