dev-python/pytest-html: add package

Package-Manager: portage-2.3.2
This commit is contained in:
Zac Medico
2016-11-07 11:50:28 -08:00
parent 5cdc62b3e7
commit 3bf7c5fba5
3 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST pytest-html-1.10.1.tar.gz 15380 SHA256 f6fc1ccefe94fb17ba289ee385bebaeccfd44cf4f05eef9116572cae699af6d6 SHA512 56d49fcb293adcf1424b0dfd3f64b62da560b744594007028c02e4bd722f92201709a089afb4283e6b711ae616eebd0bd4da204f4b974e4a4fc38bc7ab11d077 WHIRLPOOL ff2023e5dad07aa790c3b08f5e0ba497d45e7c916de4475d42c07e734650c7f0e88a004a1012092f8fddd75cbcb4cb272f87c502d903ec77c8b0a740d6984ea2

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="pypi">pytest-html</remote-id>
<remote-id type="github">pytest-dev/pytest-html</remote-id>
</upstream>
<maintainer type="person">
<email>zmedico@gentoo.org</email>
</maintainer>
</pkgmetadata>

View File

@@ -0,0 +1,28 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=6
PYTHON_COMPAT=( python{2_7,3_{4,5}} pypy 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[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/setuptools_scm[${PYTHON_USEDEP}]"
python_test() {
PYTHONPATH=${PWD}${PYTHONPATH:+:}${PYTHONPATH} \
py.test test_pytest_html.py || die
}