summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-05-29 17:35:23 +0200
committerManuel Rüger <mrueg@gentoo.org>2017-05-29 17:36:58 +0200
commit0366ced102de3e9b53c9d56bf56864707ce5e726 (patch)
tree62f57b47741228e6e41f9c0ad662a08612b2f7b6 /dev-python/unittest-mixins
parentsys-kernel/gentoo-sources: Linux patch 4.1-48 (diff)
downloadgentoo-0366ced102de3e9b53c9d56bf56864707ce5e726.tar.gz
gentoo-0366ced102de3e9b53c9d56bf56864707ce5e726.tar.bz2
gentoo-0366ced102de3e9b53c9d56bf56864707ce5e726.zip
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
Diffstat (limited to 'dev-python/unittest-mixins')
-rw-r--r--dev-python/unittest-mixins/Manifest1
-rw-r--r--dev-python/unittest-mixins/metadata.xml12
-rw-r--r--dev-python/unittest-mixins/unittest-mixins-1.3.ebuild25
3 files changed, 38 insertions, 0 deletions
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 @@
+<?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
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
+}