summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Brandt <alunduil@gentoo.org>2015-03-21 15:21:53 +0000
committerAlex Brandt <alunduil@gentoo.org>2015-03-21 15:21:53 +0000
commit33c5951dc72a920012427a728ffec27ea9da4520 (patch)
treeddf0cf6465922047543ab7c095cf58ae9cc9a43e /dev-python
parentamd64 stable wrt bug #544014 (diff)
downloadgentoo-2-33c5951dc72a920012427a728ffec27ea9da4520.tar.gz
gentoo-2-33c5951dc72a920012427a728ffec27ea9da4520.tar.bz2
gentoo-2-33c5951dc72a920012427a728ffec27ea9da4520.zip
add version 1.7.1
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 11A8217C!)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/testtools/ChangeLog7
-rw-r--r--dev-python/testtools/testtools-1.7.1.ebuild45
2 files changed, 51 insertions, 1 deletions
diff --git a/dev-python/testtools/ChangeLog b/dev-python/testtools/ChangeLog
index 55b34c8a9f0a..5224dbc87919 100644
--- a/dev-python/testtools/ChangeLog
+++ b/dev-python/testtools/ChangeLog
@@ -1,6 +1,11 @@
# 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.117 2015/03/03 07:25:54 dlan Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/testtools/ChangeLog,v 1.118 2015/03/21 15:21:53 alunduil Exp $
+
+*testtools-1.7.1 (21 Mar 2015)
+
+ 21 Mar 2015; Alex Brandt <alunduil@gentoo.org> +testtools-1.7.1.ebuild:
+ add version 1.7.1
02 Mar 2015; Yixun Lan <dlan@gentoo.org> testtools-1.5.0.ebuild:
add arm64 support, tested on A53 board
diff --git a/dev-python/testtools/testtools-1.7.1.ebuild b/dev-python/testtools/testtools-1.7.1.ebuild
new file mode 100644
index 000000000000..c5c87eb4daf1
--- /dev/null
+++ b/dev-python/testtools/testtools-1.7.1.ebuild
@@ -0,0 +1,45 @@
+# 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.7.1.ebuild,v 1.1 2015/03/21 15:21:53 alunduil Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
+
+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="~amd64"
+IUSE="doc test"
+
+CDEPEND="
+ dev-python/extras[${PYTHON_USEDEP}]
+ dev-python/mimeparse[${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
+}