summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2014-01-03 15:09:39 +0000
committerIan Delaney <idella4@gentoo.org>2014-01-03 15:09:39 +0000
commit3ce391c6e2b3cc0d5945ce4bb544422fd0926911 (patch)
treeaf817b439a00b180f929ebc128ebdebd07277ca8 /dev-python
parentVersion bump for tiny bug fixes. (diff)
downloadgentoo-2-3ce391c6e2b3cc0d5945ce4bb544422fd0926911.tar.gz
gentoo-2-3ce391c6e2b3cc0d5945ce4bb544422fd0926911.tar.bz2
gentoo-2-3ce391c6e2b3cc0d5945ce4bb544422fd0926911.zip
pypy support dropped (unrequired and problematic in test phase), set for IN_SOURCE_BUILD (required for test phase), test phase fixed
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/testrepository/ChangeLog7
-rw-r--r--dev-python/testrepository/testrepository-0.0.17-r2.ebuild14
-rw-r--r--dev-python/testrepository/testrepository-0.0.18.ebuild14
3 files changed, 18 insertions, 17 deletions
diff --git a/dev-python/testrepository/ChangeLog b/dev-python/testrepository/ChangeLog
index 88d081aae207..86164aab9339 100644
--- a/dev-python/testrepository/ChangeLog
+++ b/dev-python/testrepository/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/testrepository
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/testrepository/ChangeLog,v 1.4 2014/01/02 15:17:55 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/testrepository/ChangeLog,v 1.5 2014/01/03 15:09:39 idella4 Exp $
+
+ 03 Jan 2014; Ian Delaney <idella4@gentoo.org> testrepository-0.0.17-r2.ebuild,
+ testrepository-0.0.18.ebuild:
+ pypy support dropped (unrequired and problematic in test phase), set for
+ IN_SOURCE_BUILD (required for test phase), test phase fixed
*testrepository-0.0.17-r2 (02 Jan 2014)
*testrepository-0.0.18 (02 Jan 2014)
diff --git a/dev-python/testrepository/testrepository-0.0.17-r2.ebuild b/dev-python/testrepository/testrepository-0.0.17-r2.ebuild
index 3fb53b97acdd..7dc9408ada7c 100644
--- a/dev-python/testrepository/testrepository-0.0.17-r2.ebuild
+++ b/dev-python/testrepository/testrepository-0.0.17-r2.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/testrepository/testrepository-0.0.17-r2.ebuild,v 1.1 2014/01/02 15:17:55 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/testrepository/testrepository-0.0.17-r2.ebuild,v 1.2 2014/01/03 15:09:39 idella4 Exp $
EAPI=5
-PYTHON_COMPAT=( python{2_7,3_2,3_3} pypy2_0 )
+PYTHON_COMPAT=( python{2_7,3_2,3_3} )
inherit distutils-r1
@@ -31,12 +31,10 @@ RDEPEND=">=dev-python/subunit-0.0.10[${PYTHON_USEDEP}]
dev-python/fixtures[${PYTHON_USEDEP}]"
REQUIRED_USE="test? ( $(python_gen_useflags python{2_7,3_2}) )"
+# Required for test phase
+DISTUTILS_IN_SOURCE_BUILD=1
python_test() {
- # The running has a gentoo python style bug, yet unknown, that corrupts the passing of
- # impls other than py2.7. A wip
- if [ "${EPYTHON}" == python2.7 ]; then
- "${PYTHON}" ./testr init || die
- "${PYTHON}" ./testr run || die "tests failed under ${EPYTHON}"
- fi
+ "${PYTHON}" ./testr init || die
+ "${PYTHON}" setup.py testr --coverage || die "tests failed under ${EPYTHON}"
}
diff --git a/dev-python/testrepository/testrepository-0.0.18.ebuild b/dev-python/testrepository/testrepository-0.0.18.ebuild
index 8da88bf5eb4e..c61cdc8effc4 100644
--- a/dev-python/testrepository/testrepository-0.0.18.ebuild
+++ b/dev-python/testrepository/testrepository-0.0.18.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/testrepository/testrepository-0.0.18.ebuild,v 1.1 2014/01/02 15:17:55 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/testrepository/testrepository-0.0.18.ebuild,v 1.2 2014/01/03 15:09:39 idella4 Exp $
EAPI=5
-PYTHON_COMPAT=( python{2_7,3_2,3_3} pypy2_0 )
+PYTHON_COMPAT=( python{2_7,3_2,3_3} )
inherit distutils-r1
@@ -28,12 +28,10 @@ RDEPEND=">=dev-python/subunit-0.0.10[${PYTHON_USEDEP}]
dev-python/fixtures[${PYTHON_USEDEP}]"
REQUIRED_USE="test? ( $(python_gen_useflags python{2_7,3_2}) )"
+# Required for test phase
+DISTUTILS_IN_SOURCE_BUILD=1
python_test() {
- # The running has a gentoo python style bug, yet unknown, that corrupts the passing of
- # impls other than py2.7. A wip
- if [ "${EPYTHON}" == python2.7 ]; then
- "${PYTHON}" ./testr init || die
- "${PYTHON}" ./testr run || die "tests failed under ${EPYTHON}"
- fi
+ "${PYTHON}" ./testr init || die
+ "${PYTHON}" setup.py testr --coverage || die "tests failed under ${EPYTHON}"
}