diff options
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pytest-html/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pytest-html/pytest-html-2.0.0.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/pytest-html/Manifest b/dev-python/pytest-html/Manifest new file mode 100644 index 0000000..ad41194 --- /dev/null +++ b/dev-python/pytest-html/Manifest @@ -0,0 +1 @@ +DIST pytest-html-2.0.0.tar.gz 27484 BLAKE2B 2cf2b65406ad171a4aeaad668d4598c9f95513dcb31a8c914494bfdad9af5098d732c0573fc40a24e403a208faefcd06af81947d5c092fc27e24c7dab3255b85 SHA512 4aff39918957738814ec59c63de3cbf5468d5db6c6f9c753cc474b38e5c47697454c807605d57dd6551c94bde5d9fcee7573147aaa8f0db7dee8d2f15657ac29 diff --git a/dev-python/pytest-html/pytest-html-2.0.0.ebuild b/dev-python/pytest-html/pytest-html-2.0.0.ebuild new file mode 100644 index 0000000..bc3ffb8 --- /dev/null +++ b/dev-python/pytest-html/pytest-html-2.0.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Plugin for generating HTML reports for py.test results" +HOMEPAGE="https://github.com/pytest-dev/pytest-html/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +# Lots of test failures... +RESTRICT="test" + +RDEPEND=" + >=dev-python/pytest-5.0[${PYTHON_USEDEP}] + dev-python/pytest-metadata[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/setuptools_scm[${PYTHON_USEDEP}]" + +python_test() { + PYTHONPATH=${PWD}${PYTHONPATH:+:}${PYTHONPATH} \ + py.test -v -r a testing/test_pytest_html.py || die +} |