From: Manuel RĂ¼ger Date: Mon, 29 May 2017 15:35:23 +0000 (+0200) Subject: dev-python/unittest-mixins: Initial version, new dependency for dev-python/coverage X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0366ced102de3e9b53c9d56bf56864707ce5e726;p=gentoo.git dev-python/unittest-mixins: Initial version, new dependency for dev-python/coverage Original ebuild by Brian Dolbec (dolsen) Package-Manager: Portage-2.3.6, Repoman-2.3.2 --- diff --git a/dev-python/unittest-mixins/Manifest b/dev-python/unittest-mixins/Manifest new file mode 100644 index 000000000000..02cd24ef14db --- /dev/null +++ b/dev-python/unittest-mixins/Manifest @@ -0,0 +1 @@ +DIST unittest-mixins-1.3.tar.gz 12942 SHA256 3daa4113d0b6674911d1f732c138a240480c773b7c5b608cd93c32fe89510d90 SHA512 8cdc7adf387d3576d1690c2ab62eff93c085a36b82b756d237cc177aa52718e7ce6c5ec103841f1581cd28576bb17fbbe034c21d1c1347da643dfde3b8033d3a WHIRLPOOL 26d2ed0c0caf36e340ab88272d4ef5d193dc633c5a988fb32ef2487dbb0192d552bc23d945637683d99e8e72273d1805887797caec9ac68a3c8854a97a6668b9 diff --git a/dev-python/unittest-mixins/metadata.xml b/dev-python/unittest-mixins/metadata.xml new file mode 100644 index 000000000000..21871fac51c5 --- /dev/null +++ b/dev-python/unittest-mixins/metadata.xml @@ -0,0 +1,12 @@ + + + + + python@gentoo.org + Python + + + unittest-mixins + nedbat/unittest-mixins + + diff --git a/dev-python/unittest-mixins/unittest-mixins-1.3.ebuild b/dev-python/unittest-mixins/unittest-mixins-1.3.ebuild new file mode 100644 index 000000000000..8635d1ee869b --- /dev/null +++ b/dev-python/unittest-mixins/unittest-mixins-1.3.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy) + +inherit distutils-r1 + +DESCRIPTION="A set of mixin classes and other helpers for unittest test case classes" +HOMEPAGE="https://github.com/nedbat/unittest-mixins https://pypi.python.org/pypi/unittest-mixins" +SRC_URI="https://github.com/nedbat/unittest-mixins/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND=">=dev-python/six-1.10.0[${PYTHON_USEDEP}]" + +DEPEND="${RDEPEND} + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +python_test() { + py.test || die +}