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 C525D138351 for ; Tue, 28 Apr 2020 07:44:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 16708E0984; Tue, 28 Apr 2020 07:44:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 DEA88E0984 for ; Tue, 28 Apr 2020 07:44:29 +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 294FA34EF7A for ; Tue, 28 Apr 2020 07:44:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 605E9200 for ; Tue, 28 Apr 2020 07:44:20 +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: <1588022655.a25775e33e4db18fdef2f29aa94725d94cd7e8ef.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/metadata.xml dev-python/pytest-randomly/pytest-randomly-3.3.1-r1.ebuild X-VCS-Directories: dev-python/pytest-randomly/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: a25775e33e4db18fdef2f29aa94725d94cd7e8ef X-VCS-Branch: master Date: Tue, 28 Apr 2020 07:44:20 +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: bcdd61b8-56b2-4ff0-8000-761d9accce37 X-Archives-Hash: 85224e87cd324017929834a411976748 commit: a25775e33e4db18fdef2f29aa94725d94cd7e8ef Author: Alessandro Barbieri gmail com> AuthorDate: Mon Apr 27 21:15:58 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Mon Apr 27 21:24:15 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a25775e3 dev-python/pytest-randomly: deps cleanup Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri gmail.com> dev-python/pytest-randomly/metadata.xml | 7 ++++ .../pytest-randomly-3.3.1-r1.ebuild | 46 ++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/dev-python/pytest-randomly/metadata.xml b/dev-python/pytest-randomly/metadata.xml index 46c4254..e9b1d80 100644 --- a/dev-python/pytest-randomly/metadata.xml +++ b/dev-python/pytest-randomly/metadata.xml @@ -29,6 +29,13 @@ By resetting the random seed to a repeatable number for each test, tests can cre This plugin is a Pytest port of my plugin for nose, nose-randomly. I’ve written a blog post on its history. + https://github.com/pytest-dev/pytest-randomly/issues + https://github.com/pytest-dev/pytest-randomly/blob/master/HISTORY.rst + + me@adamj.eu + Adam Johnson + + pytest-randomly pytest-dev/pytest-randomly diff --git a/dev-python/pytest-randomly/pytest-randomly-3.3.1-r1.ebuild b/dev-python/pytest-randomly/pytest-randomly-3.3.1-r1.ebuild new file mode 100644 index 0000000..be8f908 --- /dev/null +++ b/dev-python/pytest-randomly/pytest-randomly-3.3.1-r1.ebuild @@ -0,0 +1,46 @@ +# 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}] + + $(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