dev-python/pytest-subtesthack: Add tree package to add py3.{7,8}

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Manifest-Sign-Key: 00EFD31F1B60D5DBADB831C1C0ECE6960E54475B
Signed-off-by: Nils Freydank <holgersson@posteo.de>
This commit is contained in:
Nils Freydank 2020-04-18 19:48:58 +02:00
parent a59c5d034c
commit 7a42e42d5b
No known key found for this signature in database
GPG Key ID: BC5DC2998AAD2B21
3 changed files with 64 additions and 0 deletions

View File

@ -0,0 +1,22 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
DIST pytest-subtesthack-0.1.1.tar.gz 2410 BLAKE2B 3d41950ad46bb07da145db7f88eba7eb34a2bbb99273f47d2443cae5ab0e11737f1c2fe81bf473180178b2ad9e55b252c7717846f1b010cc58fb1bf61380d003 SHA512 0bf6425b535e65dc7f06f74493d10fbb6451e78a817174638661d7525f39f092f67db8da010228cbd54b400485e71e443118f91ebef660b9c00d2b354062a55f
-----BEGIN PGP SIGNATURE-----
iQKTBAEBCAB9FiEEcg3s4uUa4XE72XWQvF3CmYqtKyEFAl6bOq5fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDcy
MERFQ0UyRTUxQUUxNzEzQkQ5NzU5MEJDNURDMjk5OEFBRDJCMjEACgkQvF3CmYqt
KyEl9A/8D2OQGDYS6AxlpAP4llR87pzagwj6YjuySma7+2SrxocC8SKDdwtMEEVR
3+U9KrYf0RZZZAz2gaPXUmlpcrzdoe0gJwzfzWoGttxH4KUjTLHuRLLkshr/97X+
Z8PLgF1vERtEezhU042ovtjTJjZB7LezklVC2ZMlfkeMygsLvHsQ7g79Qf9XJ3S1
7s+vWvEtTxTKfHiDPWFgoDsug3xje2egwsky04XEnpCx3IYX66WwjYvMR+p6YItB
+gP2hcswkt0qg6mwvk/bG3JDyebMudTkbp6Py562aWFSlqle5SvpawJUIrAGA48K
KFH+8CwFe6/3keEwxvz+7rAilNn/JO0UghdNIvjifPjWrhhNWUkVm8O9CRPa0lLC
Jt2D7uKUWCJ3WuBIyxjwq6du4rwMiRtYXs3P5EcHCr7IaN3kRokSUkQZ7bnGb8qg
Q6YuHApSiUCvt8lkQbNk4Ntp7Co/Rc8fH/vaqUDF+VJ2QUaHKno2O6OAVGT8cU0u
K0TJjpN+16Zv23FCP8fb2UW2fMHcl1wmWYQTon3Aq+iGEk9f2A3VFOGmqIcHItiP
Y5RI1Hat9xMjWS28Kvm7w7841E2roY+W59SafYEnQqmvaWBcEE8OehKLcUszUsB+
ZDK3Bj491x6H5JwWfn6MvOToFnzzHZTW3WJVBvbt8qIbbXK6BLw=
=RU5I
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>holgersson@posteo.de</email>
<name>Nils Freydank</name>
</maintainer>
<upstream>
<remote-id type="pypi">pytest-subtesthack</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,31 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{6..8} )
inherit distutils-r1
DESCRIPTION="A hack for test fixtures, needed for hypothesis inside py.test"
HOMEPAGE="https://github.com/untitaker/pytest-subtesthack/"
# pypi tarball misses tests
SRC_URI="https://github.com/untitaker/pytest-subtesthack/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/hypothesis[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
distutils_install_for_testing
py.test -v || die "Tests fail with ${EPYTHON}"
}