From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/pytest-randomly/
Date: Tue, 19 May 2020 11:24:42 +0000 (UTC) [thread overview]
Message-ID: <1589821919.e02da715d0ec8864974a94e61f0f21e3a6b9d08c.andrewammerlaan@gentoo> (raw)
commit: e02da715d0ec8864974a94e61f0f21e3a6b9d08c
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon May 18 17:11:59 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Mon May 18 17:11:59 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e02da715
dev-python/pytest-randomly: install before testing
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
.../pytest-randomly-3.3.1-r1.ebuild | 8 +++-
.../pytest-randomly/pytest-randomly-3.3.1.ebuild | 47 ----------------------
2 files changed, 6 insertions(+), 49 deletions(-)
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
index be8f908..7aa75e0 100644
--- a/dev-python/pytest-randomly/pytest-randomly-3.3.1-r1.ebuild
+++ b/dev-python/pytest-randomly/pytest-randomly-3.3.1-r1.ebuild
@@ -18,7 +18,8 @@ SRC_URI="https://github.com/pytest-dev/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-
+IUSE="test"
+RESTRICT="!test? ( test )"
RDEPEND="
dev-python/docutils[${PYTHON_USEDEP}]
dev-python/factory_boy[${PYTHON_USEDEP}]
@@ -43,4 +44,7 @@ DEPEND="
# $(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 || die "Testsuite failed under ${EPYTHON}"
+}
diff --git a/dev-python/pytest-randomly/pytest-randomly-3.3.1.ebuild b/dev-python/pytest-randomly/pytest-randomly-3.3.1.ebuild
deleted file mode 100644
index b28fd46..0000000
--- a/dev-python/pytest-randomly/pytest-randomly-3.3.1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# 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"
-IUSE="test"
-RESTRICT="test"
-
-RDEPEND="
- dev-python/docutils[${PYTHON_USEDEP}]
- dev-python/factory_boy[${PYTHON_USEDEP}]
- dev-python/faker[${PYTHON_USEDEP}]
- dev-python/isort[${PYTHON_USEDEP}]
- dev-python/numpy[${PYTHON_USEDEP}]
- dev-python/pygments[${PYTHON_USEDEP}]
- dev-python/secretstorage[${PYTHON_USEDEP}]
- dev-python/twine[${PYTHON_USEDEP}]
-
- $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' python3_6 python3_7)
-"
-# $(python_gen_cond_dep 'dev-python/black[${PYTHON_USEDEP}]' python3_8)
-
-#DEPEND="
-# test? (
-# $(python_gen_cond_dep 'dev-python/check-manifest[${PYTHON_USEDEP}]' python3_8)
-# dev-python/multilint[${PYTHON_USEDEP}]
-# dev-python/pytest-xdist[${PYTHON_USEDEP}]
-# )
-#"
-
-#no multilint for now
-#distutils_enable_tests pytest
next reply other threads:[~2020-05-19 11:24 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-19 11:24 Andrew Ammerlaan [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-03-16 13:59 [gentoo-commits] repo/proj/guru:master commit in: dev-python/pytest-randomly/ Florian Schmaus
2022-06-01 11:17 Andrew Ammerlaan
2021-11-03 11:12 Andrew Ammerlaan
2021-06-15 7:11 Andrew Ammerlaan
2021-04-14 9:08 Andrew Ammerlaan
2020-12-18 19:05 Andrew Ammerlaan
2020-12-10 8:46 Andrew Ammerlaan
2020-08-28 15:26 Andrew Ammerlaan
2020-05-21 11:24 Andrew Ammerlaan
2020-05-19 11:24 Andrew Ammerlaan
2020-04-28 7:44 Andrew Ammerlaan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1589821919.e02da715d0ec8864974a94e61f0f21e3a6b9d08c.andrewammerlaan@gentoo \
--to=andrewammerlaan@riseup.net \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox