diff options
author | 2014-01-14 06:01:50 +0000 | |
---|---|---|
committer | 2014-01-14 06:01:50 +0000 | |
commit | 8560dade33814de85910238cda534684c0386660 (patch) | |
tree | 7991153cdef2391015fff4b793a57b3d89c0d2eb | |
parent | Bump (diff) | |
download | gentoo-2-8560dade33814de85910238cda534684c0386660.tar.gz gentoo-2-8560dade33814de85910238cda534684c0386660.tar.bz2 gentoo-2-8560dade33814de85910238cda534684c0386660.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)
-rw-r--r-- | dev-python/testresources/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/testresources/metadata.xml | 1 | ||||
-rw-r--r-- | dev-python/testresources/testresources-0.2.7-r1.ebuild | 28 |
3 files changed, 37 insertions, 2 deletions
diff --git a/dev-python/testresources/ChangeLog b/dev-python/testresources/ChangeLog index 14e46d2f9e56..d71ff87d8a24 100644 --- a/dev-python/testresources/ChangeLog +++ b/dev-python/testresources/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/testresources -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/testresources/ChangeLog,v 1.2 2013/12/13 02:38:53 idella4 Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/testresources/ChangeLog,v 1.3 2014/01/14 06:01:50 idella4 Exp $ + +*testresources-0.2.7-r1 (14 Jan 2014) + + 14 Jan 2014; Ian Delaney <idella4@gentoo.org> +testresources-0.2.7-r1.ebuild, + metadata.xml: + metadata; add python herd, revbump; add py3.3 support 13 Dec 2013; Ian Delaney <idella4@gentoo.org> metadata.xml, testresources-0.2.7.ebuild: diff --git a/dev-python/testresources/metadata.xml b/dev-python/testresources/metadata.xml index 2ff9e7331c5d..a4d226e9ce3d 100644 --- a/dev-python/testresources/metadata.xml +++ b/dev-python/testresources/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/testresources/testresources-0.2.7-r1.ebuild b/dev-python/testresources/testresources-0.2.7-r1.ebuild new file mode 100644 index 000000000000..e5b3acc5ab04 --- /dev/null +++ b/dev-python/testresources/testresources-0.2.7-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/testresources/testresources-0.2.7-r1.ebuild,v 1.1 2014/01/14 06:01:50 idella4 Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_2,3_3} ) + +inherit distutils-r1 + +DESCRIPTION="Testresources, a pyunit extension for managing expensive test resources." +HOMEPAGE="https://launchpad.net/testresources" +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/fixtures[${PYTHON_USEDEP}] + virtual/python-unittest2[${PYTHON_USEDEP}] )" +RDEPEND="" + +python_test() { + nosetests || die "Tests failed under ${EPYTHON}" +} |