From 14b8eb66f889b99954648c22150bc4f6d78ced65 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Thu, 25 Jun 2020 20:35:20 +0200 Subject: dev-python/pytest-forked: Bump to 1.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- .../pytest-forked/pytest-forked-1.2.0.ebuild | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 dev-python/pytest-forked/pytest-forked-1.2.0.ebuild (limited to 'dev-python/pytest-forked/pytest-forked-1.2.0.ebuild') diff --git a/dev-python/pytest-forked/pytest-forked-1.2.0.ebuild b/dev-python/pytest-forked/pytest-forked-1.2.0.ebuild new file mode 100644 index 000000000000..d1217706c9c8 --- /dev/null +++ b/dev-python/pytest-forked/pytest-forked-1.2.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python2_7 python3_{6..9} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="run tests in isolated forked subprocesses" +HOMEPAGE="https://pypi.org/project/pytest-forked/ https://github.com/pytest-dev/pytest-forked" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/pytest-3.1.0[${PYTHON_USEDEP}]" + +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( ${RDEPEND} )" + +python_test() { + distutils_install_for_testing + pytest -vv -p no:flaky || die "Tests failed under ${EPYTHON}" +} -- cgit v1.2.3-65-gdbad