dev-python/unittest-mixins: Initial version, new dependency for dev-python/coverage
authorManuel Rüger <mrueg@gentoo.org>
Mon, 29 May 2017 15:35:23 +0000 (17:35 +0200)
committerManuel Rüger <mrueg@gentoo.org>
Mon, 29 May 2017 15:36:58 +0000 (17:36 +0200)
Original ebuild by Brian Dolbec (dolsen)

Package-Manager: Portage-2.3.6, Repoman-2.3.2

dev-python/unittest-mixins/Manifest [new file with mode: 0644]
dev-python/unittest-mixins/metadata.xml [new file with mode: 0644]
dev-python/unittest-mixins/unittest-mixins-1.3.ebuild [new file with mode: 0644]

diff --git a/dev-python/unittest-mixins/Manifest b/dev-python/unittest-mixins/Manifest
new file mode 100644 (file)
index 0000000..02cd24e
--- /dev/null
@@ -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 (file)
index 0000000..21871fa
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="project">
+               <email>python@gentoo.org</email>
+               <name>Python</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="pypi">unittest-mixins</remote-id>
+               <remote-id type="github">nedbat/unittest-mixins</remote-id>
+       </upstream>
+</pkgmetadata>
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 (file)
index 0000000..8635d1e
--- /dev/null
@@ -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
+}