diff options
author | Michał Górny <mgorny@gentoo.org> | 2013-01-13 12:42:22 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2013-01-13 12:42:22 +0000 |
commit | 23701d81e47f51e81dbfdae373385ead3de4f557 (patch) | |
tree | 610094f8676a4601a579375e2515c56c409e591d /dev-python/msgpack | |
parent | add ~arm, bug #449762 (diff) | |
download | gentoo-2-23701d81e47f51e81dbfdae373385ead3de4f557.tar.gz gentoo-2-23701d81e47f51e81dbfdae373385ead3de4f557.tar.bz2 gentoo-2-23701d81e47f51e81dbfdae373385ead3de4f557.zip |
Migrate to distutils-r1.
(Portage version: 2.2.0_alpha151/cvs/Linux x86_64, signed Manifest commit with key 42B9401D)
Diffstat (limited to 'dev-python/msgpack')
-rw-r--r-- | dev-python/msgpack/ChangeLog | 5 | ||||
-rw-r--r-- | dev-python/msgpack/msgpack-0.2.4.ebuild | 18 |
2 files changed, 11 insertions, 12 deletions
diff --git a/dev-python/msgpack/ChangeLog b/dev-python/msgpack/ChangeLog index 7f77cc81f5b7..038a69a463cd 100644 --- a/dev-python/msgpack/ChangeLog +++ b/dev-python/msgpack/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-python/msgpack # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/msgpack/ChangeLog,v 1.8 2013/01/11 06:01:50 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/msgpack/ChangeLog,v 1.9 2013/01/13 12:42:22 mgorny Exp $ + + 13 Jan 2013; Michał Górny <mgorny@gentoo.org> msgpack-0.2.4.ebuild: + Migrate to distutils-r1. *msgpack-0.2.4 (11 Jan 2013) diff --git a/dev-python/msgpack/msgpack-0.2.4.ebuild b/dev-python/msgpack/msgpack-0.2.4.ebuild index 73d37ff2744b..f20720f4dd0e 100644 --- a/dev-python/msgpack/msgpack-0.2.4.ebuild +++ b/dev-python/msgpack/msgpack-0.2.4.ebuild @@ -1,15 +1,11 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/msgpack/msgpack-0.2.4.ebuild,v 1.1 2013/01/11 06:01:50 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/msgpack/msgpack-0.2.4.ebuild,v 1.2 2013/01/13 12:42:22 mgorny Exp $ -EAPI="4" -PYTHON_DEPEND="2:2.5 3" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="2.7-pypy-* *-jython" -DISTUTILS_SRC_TEST="nosetests" -DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1" +EAPI=5 +PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} ) -inherit distutils +inherit distutils-r1 MY_PN="${PN}-python" MY_P="${MY_PN}-${PV}" @@ -23,10 +19,10 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="test" -DEPEND="test? ( dev-python/six )" +DEPEND="test? ( dev-python/six[${PYTHON_USEDEP}] )" S="${WORKDIR}/${MY_P}" -src_test() { - distutils_src_test -P -w test; +python_test() { + nosetests -P -w test || die "Tests fail with ${EPYTHON}" } |