summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-10-17 22:16:10 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-10-17 22:16:10 +0000
commit2a9086ece4e8dfee9f3ffacf85baf046bb4746bd (patch)
tree682caae9e2a4953cc44dff20d0777b635e907004 /dev-python
parentUpdate live ebuild for upstream svm->github migration, bug 338362. Thanks to ... (diff)
downloadhistorical-2a9086ece4e8dfee9f3ffacf85baf046bb4746bd.tar.gz
historical-2a9086ece4e8dfee9f3ffacf85baf046bb4746bd.tar.bz2
historical-2a9086ece4e8dfee9f3ffacf85baf046bb4746bd.zip
Version bump. Install tests (bug #341095).
Package-Manager: portage-2.2_rc97_p2/cvs/Linux x86_64
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/testtools/ChangeLog8
-rw-r--r--dev-python/testtools/Manifest4
-rw-r--r--dev-python/testtools/testtools-0.9.7.ebuild38
3 files changed, 48 insertions, 2 deletions
diff --git a/dev-python/testtools/ChangeLog b/dev-python/testtools/ChangeLog
index 4084d165c272..698c7115afe8 100644
--- a/dev-python/testtools/ChangeLog
+++ b/dev-python/testtools/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/testtools
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/testtools/ChangeLog,v 1.15 2010/09/23 21:41:19 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/testtools/ChangeLog,v 1.16 2010/10/17 22:16:10 arfrever Exp $
+
+*testtools-0.9.7 (17 Oct 2010)
+
+ 17 Oct 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +testtools-0.9.7.ebuild:
+ Version bump. Install tests (bug #341095).
*testtools-0.9.6 (23 Sep 2010)
diff --git a/dev-python/testtools/Manifest b/dev-python/testtools/Manifest
index 3fce506a5556..182a496e94ef 100644
--- a/dev-python/testtools/Manifest
+++ b/dev-python/testtools/Manifest
@@ -1,6 +1,8 @@
DIST testtools-0.9.5.tar.gz 50627 RMD160 8921d59ca2c62814db60e464a53bb7d897241f30 SHA1 a595fb166039aca22a184763eb830aa762e3aaf4 SHA256 b414862c4b3a85be5176bd30889a6c60c2ad867bbe4d81e0568324d33949ecc7
DIST testtools-0.9.6.tar.gz 56817 RMD160 ae90206bc5ee85f88ee933b768459e128abe5181 SHA1 65640cb0cffa4402f7ab2a67a0e6b2cd4f18ae9f SHA256 88a036a6119db919c515242881861b984e0a1f6c571af900b7e4edbae2222d6e
+DIST testtools-0.9.7.tar.gz 62224 RMD160 5183706399a91cf38eda40e9ef7b5c1ad7eec9a8 SHA1 58d9dba117137fb0dafd462acc021d78f2467318 SHA256 27b421f92d6e00974e69afa496e6340b0e3e82b8ea5717134ba7d8585300de3a
EBUILD testtools-0.9.5.ebuild 850 RMD160 db5445d4dd829c11b8b84f0007a2b9ddc10a5159 SHA1 b8d4733f7827652d92bed62523f2094abadf69b9 SHA256 eb72292f83829682f93f34d77caa9437e5baab3a180b9ca8177ece7efedcf29d
EBUILD testtools-0.9.6.ebuild 1215 RMD160 f8a4870159b6962a84d6e11ad42c4dee4d7988c9 SHA1 ea5f7f46171c04e11aa20bbaa2ebb3da0f478415 SHA256 b3c1c3a24c40e8245f86743c806b394cd2190e3838eb55399ded9192afbbe15a
-MISC ChangeLog 2136 RMD160 7e6bfb034e0bfa9f198ed25b74fcd459dc896722 SHA1 a7fda57f1f64ca96c0514860f1298759929b5b72 SHA256 817e8f91e05da14ee59140679ae9256b35c880fc3b607c38d9c3aa92c0b92188
+EBUILD testtools-0.9.7.ebuild 1160 RMD160 ac4d79d8cdd2786aaabeb717d1a77767c5504321 SHA1 c93200e3b1fa27a745d643050e0c60a39c0e9224 SHA256 9abf5a02b49cd25e751df36a5ce6e1a1bea093f332178bd155012c7585f9d3f2
+MISC ChangeLog 2314 RMD160 4a1e55981c2ba277e43699a8cd8e7323f6cf8f05 SHA1 f789b5112b9b7e288f57ab59bf9a8dc6934f92a1 SHA256 8a789fac8ec832dcde19e09ca88a5c6bbcc337811ae6fea41c89259dbfb157ea
MISC metadata.xml 183 RMD160 3d7d3ef1c7fc2ad46c3bd8e2d8a728c8aac5d98e SHA1 467d0cbe06164e9a6b36ddf69790013d55b7d871 SHA256 37cf175469989020dfc412334d876157ffda2f766d2642104f8480a9e50ae51c
diff --git a/dev-python/testtools/testtools-0.9.7.ebuild b/dev-python/testtools/testtools-0.9.7.ebuild
new file mode 100644
index 000000000000..76c24600e848
--- /dev/null
+++ b/dev-python/testtools/testtools-0.9.7.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/testtools/testtools-0.9.7.ebuild,v 1.1 2010/10/17 22:16:10 arfrever Exp $
+
+EAPI="3"
+SUPPORT_PYTHON_ABIS="1"
+
+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
+}
+
+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.