diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-04-08 16:40:29 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-04-08 16:40:29 +0000 |
commit | 28441c19f7aa4324639a332977b140debdf78685 (patch) | |
tree | 351760276e6f9f0dd69e5e82b67206638aa2943a /dev-python/testtools | |
parent | Port to libv4l using patch from Fedora. (diff) | |
download | historical-28441c19f7aa4324639a332977b140debdf78685.tar.gz historical-28441c19f7aa4324639a332977b140debdf78685.tar.bz2 historical-28441c19f7aa4324639a332977b140debdf78685.zip |
Set SUPPORT_PYTHON_ABIS. Add src_test().
Package-Manager: portage-HEAD/cvs/Linux x86_64
Diffstat (limited to 'dev-python/testtools')
-rw-r--r-- | dev-python/testtools/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/testtools/Manifest | 14 | ||||
-rw-r--r-- | dev-python/testtools/testtools-0.9.2.ebuild | 19 |
3 files changed, 21 insertions, 18 deletions
diff --git a/dev-python/testtools/ChangeLog b/dev-python/testtools/ChangeLog index 71467e4d3662..e9d29f863000 100644 --- a/dev-python/testtools/ChangeLog +++ b/dev-python/testtools/ChangeLog @@ -1,6 +1,10 @@ # 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.8 2010/04/08 07:40:59 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/testtools/ChangeLog,v 1.9 2010/04/08 16:40:29 arfrever Exp $ + + 08 Apr 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + testtools-0.9.2.ebuild: + Set SUPPORT_PYTHON_ABIS. Add src_test(). 08 Apr 2010; Christian Faulhammer <fauli@gentoo.org> metadata.xml: add python team as maintainer diff --git a/dev-python/testtools/Manifest b/dev-python/testtools/Manifest index 96ea100844f3..81e752b1ea94 100644 --- a/dev-python/testtools/Manifest +++ b/dev-python/testtools/Manifest @@ -1,14 +1,4 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - DIST testtools-0.9.2.tar.gz 34675 RMD160 894c8b77a6694f6839a910c5d0af29d67c01212d SHA1 6c22f64b074cb1600d9c9bbb48d89ebb222c31a8 SHA256 6d796512736ed1bdfa23cb911d17c6c32b7cfd976b5d44d6b4ed29570b728eed -EBUILD testtools-0.9.2.ebuild 637 RMD160 278ca6bff8b3fd480def794ccadf534da8a4b597 SHA1 be0e812f441f4bcfd0e3f78e06e9871248f9cdaf SHA256 25e29d5b7ba0f064fd7aaa1dbc7fb47125245b1bbbdec2db92daf13094b113ac -MISC ChangeLog 1162 RMD160 f2849ec930a52021521c0d4e2a97c2ec9c225df0 SHA1 bf9a962155cc8de21e8eae7dd728d49074bf444e SHA256 eff76e0e9ecb9f98bee480b5ecb558add66cc9b4101c329b2a8bd25b78ba095e +EBUILD testtools-0.9.2.ebuild 847 RMD160 9585204c0cafb784b7496f7b5115c7db04ba7522 SHA1 20e995010f77534111dc17cb6fb0613364a29cd8 SHA256 0244db2340ff28c3d7035ea5fd804e69dcf6c726eb3aca88406dd16aec678ed1 +MISC ChangeLog 1308 RMD160 92e5f07fa9d7488ee9ee44fa92d7ebdc35165743 SHA1 15eb7e63b355fffdb4207e460ab8385620de63f9 SHA256 adc58438cb7daa06d6a56389582ae8170e888a29a467c7d6a15a3916cef93be0 MISC metadata.xml 183 RMD160 3d7d3ef1c7fc2ad46c3bd8e2d8a728c8aac5d98e SHA1 467d0cbe06164e9a6b36ddf69790013d55b7d871 SHA256 37cf175469989020dfc412334d876157ffda2f766d2642104f8480a9e50ae51c ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.14 (GNU/Linux) - -iEYEARECAAYFAku9iJAACgkQNQqtfCuFneOLzwCeNRixzlQdIKXV88UWLChupsnl -dmUAn0WlK5oO6RAx8IU110gHpRNJZwW6 -=DIsr ------END PGP SIGNATURE----- diff --git a/dev-python/testtools/testtools-0.9.2.ebuild b/dev-python/testtools/testtools-0.9.2.ebuild index f440fbfa6b80..7cbb4b8cfa7d 100644 --- a/dev-python/testtools/testtools-0.9.2.ebuild +++ b/dev-python/testtools/testtools-0.9.2.ebuild @@ -1,13 +1,14 @@ # 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.2.ebuild,v 1.7 2010/02/26 16:44:07 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/testtools/testtools-0.9.2.ebuild,v 1.8 2010/04/08 16:40:29 arfrever Exp $ -EAPI=2 -NEED_PYTHON=2.4 +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" inherit distutils versionator -SERIES=$(get_version_component_range 1-2) +SERIES="$(get_version_component_range 1-2)" DESCRIPTION="Extensions to the Python unittest library" HOMEPAGE="https://launchpad.net/testtools" @@ -19,4 +20,12 @@ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" IUSE="" DEPEND="" -RDEPEND="${DEPEND}" +RDEPEND="" +RESTRICT_PYTHON_ABIS="3.*" + +src_test() { + testing() { + PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" -m testtools.run testtools.tests.test_suite + } + python_execute_function testing +} |