summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-05-27 08:24:42 +0000
committerJustin Lecher <jlec@gentoo.org>2015-05-27 08:24:42 +0000
commit3f3bf47e1418f67a35b632773f3972a166145c07 (patch)
tree135ab15af88fff8a97a3ddcd9bcd05fddf5cc439 /dev-python/testtools
parentFix installation error due to missing file, bug #550512 (diff)
downloadgentoo-2-3f3bf47e1418f67a35b632773f3972a166145c07.tar.gz
gentoo-2-3f3bf47e1418f67a35b632773f3972a166145c07.tar.bz2
gentoo-2-3f3bf47e1418f67a35b632773f3972a166145c07.zip
Version Bump
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key E9402A79B03529A2!)
Diffstat (limited to 'dev-python/testtools')
-rw-r--r--dev-python/testtools/ChangeLog8
-rw-r--r--dev-python/testtools/metadata.xml6
-rw-r--r--dev-python/testtools/testtools-1.8.0.ebuild48
3 files changed, 58 insertions, 4 deletions
diff --git a/dev-python/testtools/ChangeLog b/dev-python/testtools/ChangeLog
index 86534eb8413c..eae396be60b7 100644
--- a/dev-python/testtools/ChangeLog
+++ b/dev-python/testtools/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/testtools
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/testtools/ChangeLog,v 1.123 2015/05/21 03:40:48 mattst88 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/testtools/ChangeLog,v 1.124 2015/05/27 08:24:42 jlec Exp $
+
+*testtools-1.8.0 (27 May 2015)
+
+ 27 May 2015; Justin Lecher <jlec@gentoo.org> +testtools-1.8.0.ebuild,
+ metadata.xml:
+ Version Bump
21 May 2015; Matt Turner <mattst88@gentoo.org> testtools-1.7.1.ebuild:
Added ~alpha, bug 544148.
diff --git a/dev-python/testtools/metadata.xml b/dev-python/testtools/metadata.xml
index eb3a6613ba4e..1cc193322351 100644
--- a/dev-python/testtools/metadata.xml
+++ b/dev-python/testtools/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>bazaar</herd>
- <herd>python</herd>
- <herd>openstack</herd>
+ <herd>bazaar</herd>
+ <herd>python</herd>
+ <herd>openstack</herd>
</pkgmetadata>
diff --git a/dev-python/testtools/testtools-1.8.0.ebuild b/dev-python/testtools/testtools-1.8.0.ebuild
new file mode 100644
index 000000000000..7fa513db3465
--- /dev/null
+++ b/dev-python/testtools/testtools-1.8.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/testtools/testtools-1.8.0.ebuild,v 1.1 2015/05/27 08:24:42 jlec Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{3,4} )
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="Extensions to the Python standard library unit testing framework"
+HOMEPAGE="https://github.com/testing-cabal/testtools"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc64"
+IUSE="doc test"
+
+CDEPEND="
+ dev-python/extras[${PYTHON_USEDEP}]
+ dev-python/linecache2[${PYTHON_USEDEP}]
+ dev-python/mimeparse[${PYTHON_USEDEP}]
+ >=dev-python/pbr-0.11[${PYTHON_USEDEP}]
+ >=dev-python/unittest2-1.0.0[${PYTHON_USEDEP}]
+ dev-python/traceback2[${PYTHON_USEDEP}]
+"
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ ${CDEPEND}
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+"
+RDEPEND="${CDEPEND}"
+
+python_compile_all() {
+ use doc && emake -C doc html
+}
+
+python_test() {
+ "${PYTHON}" -m testtools.run testtools.tests.test_suite || die "tests failed under ${EPYTHON}"
+}
+
+python_install_all() {
+ use doc && HTML_DOCS=( doc/_build/html/. )
+
+ distutils-r1_python_install_all
+}