summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2014-01-14 06:43:19 +0000
committerIan Delaney <idella4@gentoo.org>2014-01-14 06:43:19 +0000
commit510b112e0c272855b5f39b1c47bdaea9c7353dd5 (patch)
tree5691c7ff1b5fde9bc261e9decccc787b442cad4c /dev-python/testscenarios
parentBump (diff)
downloadgentoo-2-510b112e0c272855b5f39b1c47bdaea9c7353dd5.tar.gz
gentoo-2-510b112e0c272855b5f39b1c47bdaea9c7353dd5.tar.bz2
gentoo-2-510b112e0c272855b5f39b1c47bdaea9c7353dd5.zip
metadata; add python herd, revbump; add py3.3 support
(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/testscenarios')
-rw-r--r--dev-python/testscenarios/ChangeLog10
-rw-r--r--dev-python/testscenarios/metadata.xml1
-rw-r--r--dev-python/testscenarios/testscenarios-0.4-r1.ebuild29
-rw-r--r--dev-python/testscenarios/testscenarios-0.4.ebuild4
4 files changed, 40 insertions, 4 deletions
diff --git a/dev-python/testscenarios/ChangeLog b/dev-python/testscenarios/ChangeLog
index 3ba41534a8a8..5958d21b137c 100644
--- a/dev-python/testscenarios/ChangeLog
+++ b/dev-python/testscenarios/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/testscenarios
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/testscenarios/ChangeLog,v 1.2 2013/12/13 02:49:48 idella4 Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/testscenarios/ChangeLog,v 1.3 2014/01/14 06:43:19 idella4 Exp $
+
+*testscenarios-0.4-r1 (14 Jan 2014)
+
+ 14 Jan 2014; Ian Delaney <idella4@gentoo.org> +testscenarios-0.4-r1.ebuild,
+ metadata.xml, testscenarios-0.4.ebuild:
+ metadata; add python herd, revbump; add py3.3 support
13 Dec 2013; Ian Delaney <idella4@gentoo.org> metadata.xml,
testscenarios-0.4.ebuild:
diff --git a/dev-python/testscenarios/metadata.xml b/dev-python/testscenarios/metadata.xml
index 0b60102c7d65..0176feeb19da 100644
--- a/dev-python/testscenarios/metadata.xml
+++ b/dev-python/testscenarios/metadata.xml
@@ -2,6 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>openstack</herd>
+ <herd>python</herd>
<maintainer>
<email>prometheanfire@gentoo.org</email>
<name>Matthew Thode</name>
diff --git a/dev-python/testscenarios/testscenarios-0.4-r1.ebuild b/dev-python/testscenarios/testscenarios-0.4-r1.ebuild
new file mode 100644
index 000000000000..7f7f0fca0306
--- /dev/null
+++ b/dev-python/testscenarios/testscenarios-0.4-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/testscenarios/testscenarios-0.4-r1.ebuild,v 1.1 2014/01/14 06:43:19 idella4 Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_2,3_3} )
+
+inherit distutils-r1
+
+DESCRIPTION="Testscenarios, a pyunit extension for dependency injection"
+HOMEPAGE="https://launchpad.net/testscenarios"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/nose[${PYTHON_USEDEP}]
+ dev-python/testtools[${PYTHON_USEDEP}]
+ dev-python/testresources[${PYTHON_USEDEP}]
+ virtual/python-unittest2[${PYTHON_USEDEP}] )"
+RDEPEND=""
+
+python_test() {
+ # https://bugs.launchpad.net/testscenarios/+bug/1260573
+ nosetests || die "Tests failed under ${EPYTHON}"
+}
diff --git a/dev-python/testscenarios/testscenarios-0.4.ebuild b/dev-python/testscenarios/testscenarios-0.4.ebuild
index 6034448825f3..99dce3af2e15 100644
--- a/dev-python/testscenarios/testscenarios-0.4.ebuild
+++ b/dev-python/testscenarios/testscenarios-0.4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/testscenarios/testscenarios-0.4.ebuild,v 1.2 2013/12/13 02:49:48 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/testscenarios/testscenarios-0.4.ebuild,v 1.3 2014/01/14 06:43:19 idella4 Exp $
EAPI=5
PYTHON_COMPAT=( python{2_7,3_2} )