dev-python/pytest-relaxed: initial import, new test dep for paramiko

This commit is contained in:
Tim Harder
2018-02-08 00:04:38 -05:00
parent 59ca95e102
commit c7ddf66e28
3 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST pytest-relaxed-1.1.0.tar.gz 25942 BLAKE2B 6dd34044ec3ae0b5c85f0a76102aaeafe3dad8748c0cf34666dd3550162a2968191efb8415467259a4f072905af062aeabaaaeb475ab68d47aa8d79e3cadd3d0 SHA512 010e37c4d0c63bd00af8851bb50e52af7f8f17769be042e4941e8d8ba451920c24dfa6cdf74cd1b3ca4b3e1c71cd5e1ac34ffae855fc261cf431c212f98cbfff

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<upstream>
<remote-id type="pypi">pytest-relaxed</remote-id>
<remote-id type="github">bitprophet/pytest-relaxed</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,31 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
inherit distutils-r1
DESCRIPTION="py.test plugin for relaxed test discovery and organization"
HOMEPAGE="https://pypi.python.org/pypi/pytest-relaxed https://github.com/bitprophet/pytest-relaxed"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
SLOT="0"
LICENSE="BSD-2"
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"
IUSE="test"
RDEPEND="
>=dev-python/pytest-3[${PYTHON_USEDEP}]
>=dev-python/six-1[${PYTHON_USEDEP}]
>=dev-python/decorator-4[${PYTHON_USEDEP}]
"
DEPEND="test? ( ${RDEPEND} )"
# various misc failures
RESTRICT="test"
python_test() {
py.test || die "tests failed with ${EPYTHON}"
}