diff --git a/dev-python/pytest-relaxed/Manifest b/dev-python/pytest-relaxed/Manifest new file mode 100644 index 0000000000000..0faad2d9e9ac2 --- /dev/null +++ b/dev-python/pytest-relaxed/Manifest @@ -0,0 +1 @@ +DIST pytest-relaxed-1.1.0.tar.gz 25942 BLAKE2B 6dd34044ec3ae0b5c85f0a76102aaeafe3dad8748c0cf34666dd3550162a2968191efb8415467259a4f072905af062aeabaaaeb475ab68d47aa8d79e3cadd3d0 SHA512 010e37c4d0c63bd00af8851bb50e52af7f8f17769be042e4941e8d8ba451920c24dfa6cdf74cd1b3ca4b3e1c71cd5e1ac34ffae855fc261cf431c212f98cbfff diff --git a/dev-python/pytest-relaxed/metadata.xml b/dev-python/pytest-relaxed/metadata.xml new file mode 100644 index 0000000000000..2d23528854f3a --- /dev/null +++ b/dev-python/pytest-relaxed/metadata.xml @@ -0,0 +1,12 @@ + + + + + python@gentoo.org + Python + + + pytest-relaxed + bitprophet/pytest-relaxed + + diff --git a/dev-python/pytest-relaxed/pytest-relaxed-1.1.0.ebuild b/dev-python/pytest-relaxed/pytest-relaxed-1.1.0.ebuild new file mode 100644 index 0000000000000..5264bf4fb7f5c --- /dev/null +++ b/dev-python/pytest-relaxed/pytest-relaxed-1.1.0.ebuild @@ -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}" +}