summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2013-12-13 02:38:53 +0000
committerIan Delaney <idella4@gentoo.org>2013-12-13 02:38:53 +0000
commita9db8b7629b51a9e119481ac1b237b3b7239f46a (patch)
treea1577df37ec4a2e0f2e8fc4168250e7193e10f96 /dev-python/testresources
parentImported from graaf-overlay. Added some small changes. (diff)
downloadgentoo-2-a9db8b7629b51a9e119481ac1b237b3b7239f46a.tar.gz
gentoo-2-a9db8b7629b51a9e119481ac1b237b3b7239f46a.tar.bz2
gentoo-2-a9db8b7629b51a9e119481ac1b237b3b7239f46a.zip
switch herds, add py3 support
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/testresources')
-rw-r--r--dev-python/testresources/ChangeLog6
-rw-r--r--dev-python/testresources/metadata.xml2
-rw-r--r--dev-python/testresources/testresources-0.2.7.ebuild6
3 files changed, 9 insertions, 5 deletions
diff --git a/dev-python/testresources/ChangeLog b/dev-python/testresources/ChangeLog
index 3f77db288196..14e46d2f9e56 100644
--- a/dev-python/testresources/ChangeLog
+++ b/dev-python/testresources/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/testresources
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/testresources/ChangeLog,v 1.1 2013/09/17 17:16:44 prometheanfire Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/testresources/ChangeLog,v 1.2 2013/12/13 02:38:53 idella4 Exp $
+
+ 13 Dec 2013; Ian Delaney <idella4@gentoo.org> metadata.xml,
+ testresources-0.2.7.ebuild:
+ switch herds, add py3 support
*testresources-0.2.7 (17 Sep 2013)
diff --git a/dev-python/testresources/metadata.xml b/dev-python/testresources/metadata.xml
index 44721a03f2f6..2ff9e7331c5d 100644
--- a/dev-python/testresources/metadata.xml
+++ b/dev-python/testresources/metadata.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>python</herd>
+ <herd>openstack</herd>
<maintainer>
<email>prometheanfire@gentoo.org</email>
<name>Matthew Thode</name>
diff --git a/dev-python/testresources/testresources-0.2.7.ebuild b/dev-python/testresources/testresources-0.2.7.ebuild
index ee4ef0595475..20e8bd16aab2 100644
--- a/dev-python/testresources/testresources-0.2.7.ebuild
+++ b/dev-python/testresources/testresources-0.2.7.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/testresources/testresources-0.2.7.ebuild,v 1.1 2013/09/17 17:16:44 prometheanfire Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/testresources/testresources-0.2.7.ebuild,v 1.2 2013/12/13 02:38:53 idella4 Exp $
EAPI=5
-PYTHON_COMPAT=( python2_7 )
+PYTHON_COMPAT=( python{2_7,3_2} )
inherit distutils-r1
@@ -24,5 +24,5 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
RDEPEND=""
python_test() {
- "${PYTHON}" setup.py nosetests || die
+ nosetests || die "Tests failed under ${EPYTHON}"
}