From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 323FD1382C5 for ; Thu, 21 May 2020 11:24:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6D4DBE08F2; Thu, 21 May 2020 11:24:14 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 54BEFE08F2 for ; Thu, 21 May 2020 11:24:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6E18634F6D5 for ; Thu, 21 May 2020 11:24:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1E3241F5 for ; Thu, 21 May 2020 11:24:12 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1589917561.db970c8bb1db3fb257a224159196f2785b05e272.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/pytest-randomly/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/pytest-randomly/pytest-randomly-3.3.1-r2.ebuild X-VCS-Directories: dev-python/pytest-randomly/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: db970c8bb1db3fb257a224159196f2785b05e272 X-VCS-Branch: master Date: Thu, 21 May 2020 11:24:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3024fd8c-8c56-4f14-a8e5-c4bef019bf77 X-Archives-Hash: d91a62e092a9247ac5b8bc217d9cf8e0 commit: db970c8bb1db3fb257a224159196f2785b05e272 Author: Alessandro Barbieri gmail com> AuthorDate: Tue May 19 19:43:53 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Tue May 19 19:46:01 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=db970c8b dev-python/pytest-randomly: disable failing test Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri gmail.com> .../pytest-randomly-3.3.1-r2.ebuild | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/dev-python/pytest-randomly/pytest-randomly-3.3.1-r2.ebuild b/dev-python/pytest-randomly/pytest-randomly-3.3.1-r2.ebuild new file mode 100644 index 0000000..1e902ac --- /dev/null +++ b/dev-python/pytest-randomly/pytest-randomly-3.3.1-r2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="Pytest plugin to randomly order tests and control random.seed" +HOMEPAGE=" + https://pypi.python.org/pypi/pytest-randomly + https://github.com/pytest-dev/pytest-randomly +" +SRC_URI="https://github.com/pytest-dev/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/docutils[${PYTHON_USEDEP}] + dev-python/factory_boy[${PYTHON_USEDEP}] + dev-python/faker[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + + $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' python3_6 python3_7) +" +#not really needed +# dev-python/isort[${PYTHON_USEDEP}] +# $(python_gen_cond_dep 'dev-python/black[${PYTHON_USEDEP}]' python3_8) +# dev-python/secretstorage[${PYTHON_USEDEP}] +# dev-python/twine[${PYTHON_USEDEP}] + +DEPEND=" + test? ( + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" +#not really needed +# $(python_gen_cond_dep 'dev-python/check-manifest[${PYTHON_USEDEP}]' python3_8) +# dev-python/multilint[${PYTHON_USEDEP}] + +distutils_enable_tests pytest + +python_test() { + distutils_install_for_testing + pytest -vv --deselect tests/test_pytest_randomly.py::test_entrypoint_injection || die "Testsuite failed under ${EPYTHON}" +}