commit: 0a5d69bc6cbccb7c2681fa442c2417991aaad5c9 Author: William Hubbs <william.hubbs <AT> sony <DOT> com> AuthorDate: Thu Mar 7 21:55:24 2019 +0000 Commit: William Hubbs <williamh <AT> gentoo <DOT> org> CommitDate: Thu Mar 7 21:57:12 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a5d69bc
dev-python/pytest-testmon: take TDD to a new level with py.test and testmon Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: William Hubbs <williamh <AT> gentoo.org> dev-python/pytest-testmon/Manifest | 1 + dev-python/pytest-testmon/metadata.xml | 8 +++++++ .../pytest-testmon/pytest-testmon-0.9.15.ebuild | 26 ++++++++++++++++++++++ 3 files changed, 35 insertions(+) diff --git a/dev-python/pytest-testmon/Manifest b/dev-python/pytest-testmon/Manifest new file mode 100644 index 00000000000..b56efbe0dbe --- /dev/null +++ b/dev-python/pytest-testmon/Manifest @@ -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 index 00000000000..c36c37139fa --- /dev/null +++ b/dev-python/pytest-testmon/metadata.xml @@ -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>willi...@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 index 00000000000..c5e588074fd --- /dev/null +++ b/dev-python/pytest-testmon/pytest-testmon-0.9.15.ebuild @@ -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}" +}