diff options
author | Alex Brandt <alunduil@gentoo.org> | 2015-03-19 15:46:15 +0000 |
---|---|---|
committer | Alex Brandt <alunduil@gentoo.org> | 2015-03-19 15:46:15 +0000 |
commit | fcb3865c41cf608c43a395e44a97825dab343b58 (patch) | |
tree | cfcec63d17dde189f5de333f06311c7f2fd3f9fb /dev-python | |
parent | Fix tcl/tk slotting (diff) | |
download | gentoo-2-fcb3865c41cf608c43a395e44a97825dab343b58.tar.gz gentoo-2-fcb3865c41cf608c43a395e44a97825dab343b58.tar.bz2 gentoo-2-fcb3865c41cf608c43a395e44a97825dab343b58.zip |
add version 1.0.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/unittest2/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/unittest2/unittest2-1.0.1.ebuild | 44 |
2 files changed, 50 insertions, 1 deletions
diff --git a/dev-python/unittest2/ChangeLog b/dev-python/unittest2/ChangeLog index dde688403981..bee5073f5b6c 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.54 2015/03/03 07:27:15 dlan Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/unittest2/ChangeLog,v 1.55 2015/03/19 15:46:15 alunduil Exp $ + +*unittest2-1.0.1 (19 Mar 2015) + + 19 Mar 2015; Alex Brandt <alunduil@gentoo.org> +unittest2-1.0.1.ebuild: + add version 1.0.1 02 Mar 2015; Yixun Lan <dlan@gentoo.org> unittest2-0.8.0.ebuild: add arm64 support, tested on A53 board diff --git a/dev-python/unittest2/unittest2-1.0.1.ebuild b/dev-python/unittest2/unittest2-1.0.1.ebuild new file mode 100644 index 000000000000..0a181b9cfc57 --- /dev/null +++ b/dev-python/unittest2/unittest2-1.0.1.ebuild @@ -0,0 +1,44 @@ +# 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.0.1.ebuild,v 1.1 2015/03/19 15:46:15 alunduil Exp $ + +EAPI=5 +PYTHON_COMPAT=( python2_7 python3_3 python3_4 ) + +inherit distutils-r1 + +DESCRIPTION="The new features in unittest for Python 2.7 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="~amd64" +IUSE="" + +CDEPEND=" + dev-python/six[${PYTHON_USEDEP}] + dev-python/traceback2[${PYTHON_USEDEP}] +" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/linecache2[${PYTHON_USEDEP}] + ${CDEPEND} +" +RDEPEND="${CDEPEND}" + +python_prepare_all() { + ebegin 'patching setup.py' + sed \ + -e "60 s/'argparse', //" \ + -i setup.py + STATUS=${?} + eend ${STATUS} + [[ ${STATUS} -gt 0 ]] && die + + distutils-r1_python_prepare_all +} + +python_test() { + "${PYTHON}" -m unittest2 discover || die "tests failed under ${EPYTHON}" +} |