diff options
author | Alex Brandt <alunduil@gentoo.org> | 2015-07-19 23:50:45 +0000 |
---|---|---|
committer | Alex Brandt <alunduil@gentoo.org> | 2015-07-19 23:50:45 +0000 |
commit | 958919d3b6e860727c843524a7156309e0ca3245 (patch) | |
tree | 8175b978de963be9a5f7ba789753cecae836c76a /dev-python/unittest2 | |
parent | Remove dev-java/itext:5 mask as bug #475552 now looks good. (diff) | |
download | gentoo-2-958919d3b6e860727c843524a7156309e0ca3245.tar.gz gentoo-2-958919d3b6e860727c843524a7156309e0ca3245.tar.bz2 gentoo-2-958919d3b6e860727c843524a7156309e0ca3245.zip |
add version 1.1.0
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 11A8217C!)
Diffstat (limited to 'dev-python/unittest2')
-rw-r--r-- | dev-python/unittest2/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/unittest2/unittest2-1.1.0.ebuild | 37 |
2 files changed, 43 insertions, 1 deletions
diff --git a/dev-python/unittest2/ChangeLog b/dev-python/unittest2/ChangeLog index 97f70096655c..2ec961bf72b6 100644 --- a/dev-python/unittest2/ChangeLog +++ b/dev-python/unittest2/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/unittest2 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/unittest2/ChangeLog,v 1.62 2015/05/21 03:40:29 mattst88 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/unittest2/ChangeLog,v 1.63 2015/07/19 23:50:45 alunduil Exp $ + +*unittest2-1.1.0 (19 Jul 2015) + + 19 Jul 2015; Alex Brandt <alunduil@gentoo.org> +unittest2-1.1.0.ebuild: + add version 1.1.0 21 May 2015; Matt Turner <mattst88@gentoo.org> unittest2-1.0.1-r1.ebuild: Added ~alpha, bug 544146. diff --git a/dev-python/unittest2/unittest2-1.1.0.ebuild b/dev-python/unittest2/unittest2-1.1.0.ebuild new file mode 100644 index 000000000000..451aa90fae1d --- /dev/null +++ b/dev-python/unittest2/unittest2-1.1.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/unittest2/unittest2-1.1.0.ebuild,v 1.1 2015/07/19 23:50:45 alunduil Exp $ + +EAPI=5 +PYTHON_COMPAT=( python2_7 python3_3 python3_4 ) + +inherit distutils-r1 + +DESCRIPTION="The new features in unittest backported to Python 2.4+" +HOMEPAGE="http://pypi.python.org/pypi/unittest2" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc64" +IUSE="" + +CDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/six-1.4[${PYTHON_USEDEP}] + dev-python/traceback2[${PYTHON_USEDEP}] +" +DEPEND="${CDEPEND}" +RDEPEND="${CDEPEND}" + +python_prepare_all() { + local PATCHES=( + "${FILESDIR}"/remove-argparse-dependence.patch + ) + + distutils-r1_python_prepare_all +} + +python_test() { + "${PYTHON}" -m unittest2 discover || die "tests failed under ${EPYTHON}" +} |