dev-python/pytest-testmon: take TDD to a new level with py.test and testmon
authorWilliam Hubbs <william.hubbs@sony.com>
Thu, 7 Mar 2019 21:55:24 +0000 (15:55 -0600)
committerWilliam Hubbs <williamh@gentoo.org>
Thu, 7 Mar 2019 21:57:12 +0000 (15:57 -0600)
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: William Hubbs <williamh@gentoo.org>
dev-python/pytest-testmon/Manifest [new file with mode: 0644]
dev-python/pytest-testmon/metadata.xml [new file with mode: 0644]
dev-python/pytest-testmon/pytest-testmon-0.9.15.ebuild [new file with mode: 0644]

diff --git a/dev-python/pytest-testmon/Manifest b/dev-python/pytest-testmon/Manifest
new file mode 100644 (file)
index 0000000..b56efbe
--- /dev/null
@@ -0,0 +1 @@
+DIST pytest-testmon-0.9.15.tar.gz 32468 BLAKE2B 72678f4a5ed9bbc1ee6a4ec611da105554856454dcd3a3f199084645977d7ce461697218c460f9ae3b5a56bd90843822e5e88c54fb43f55a12f2c31d4ea53658 SHA512 fb414c492188f59e34a5f940e9f378cc841dd9de311738a0238980318261f51b869c30e1218e3219dabf8c438f28bcb9b10f751c07240b533ead537f4b6d8d4e
diff --git a/dev-python/pytest-testmon/metadata.xml b/dev-python/pytest-testmon/metadata.xml
new file mode 100644 (file)
index 0000000..c36c371
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>williamh@gentoo.org</email>
+               <name>William Hubbs</name>
+       </maintainer>
+</pkgmetadata>
diff --git a/dev-python/pytest-testmon/pytest-testmon-0.9.15.ebuild b/dev-python/pytest-testmon/pytest-testmon-0.9.15.ebuild
new file mode 100644 (file)
index 0000000..c5e5880
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+inherit distutils-r1
+
+DESCRIPTION="take TDD to a new level with py.test and testmon"
+HOMEPAGE="https://github.com/tarpas/pytest-testmon"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]
+dev-python/coverage[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+       dev-python/setuptools[${PYTHON_USEDEP}]"
+
+python_test() {
+       distutils_install_for_testing
+       py.test -v || die "Tests fail with ${EPYTHON}"
+}