public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-xvfb/
Date: Tue, 14 Sep 2021 13:58:53 +0000 (UTC)	[thread overview]
Message-ID: <1631627903.393b8cf31c1b79b3c923413b9661d40df7c8f828.arthurzam@gentoo> (raw)

commit:     393b8cf31c1b79b3c923413b9661d40df7c8f828
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 13 20:19:40 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Sep 14 13:58:23 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=393b8cf3

dev-python/pytest-xvfb: enable py3.10, cleanup python_test

Closes: https://github.com/gentoo/gentoo/pull/22284
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

diff --git a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild
index dd8953d8bdb..efd50e3c0ec 100644
--- a/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild
+++ b/dev-python/pytest-xvfb/pytest-xvfb-2.0.0-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 PYTHON_REQ_USE="tk"
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit distutils-r1
 
@@ -22,13 +22,4 @@ RDEPEND="
 	x11-base/xorg-server[xvfb]
 "
 
-distutils_enable_tests pytest
-
-python_test() {
-	local -x PYTHONPATH="${BUILD_DIR}/install/lib"
-	esetup.py install \
-		--root="${BUILD_DIR}/install" \
-		--install-lib=lib
-
-	pytest -vv || die "Tests fail with ${EPYTHON}"
-}
+distutils_enable_tests --install pytest


             reply	other threads:[~2021-09-14 13:59 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-14 13:58 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-29  9:13 [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-xvfb/ Michał Górny
2025-03-29  7:59 Arthur Zamarin
2025-03-13  6:10 Ionen Wolkens
2024-09-03 12:31 Ionen Wolkens
2023-11-25 16:48 Michał Górny
2023-11-25 16:14 Michał Górny
2023-07-25  0:10 Ionen Wolkens
2023-07-06 12:08 Michał Górny
2023-07-05 20:52 Sam James
2023-05-29 13:35 Ionen Wolkens
2023-04-09 23:38 Ionen Wolkens
2023-04-09 23:38 Ionen Wolkens
2023-04-09 20:40 Andrew Ammerlaan
2022-10-29 19:43 Sam James
2022-09-09 22:38 Jakov Smolić
2022-09-07  7:51 Michał Górny
2022-07-02 19:26 Michał Górny
2022-07-02 18:18 Sam James
2022-06-01 10:55 Andrew Ammerlaan
2021-10-19  0:12 Sam James
2021-09-14 13:58 Arthur Zamarin
2021-05-19  6:02 Michał Górny
2021-05-18 23:20 Sam James
2021-04-09 11:49 Joonas Niilola
2020-11-24  7:20 Agostino Sarubbo
2020-11-18 23:42 Thomas Deutschmann
2020-11-18 21:35 Thomas Deutschmann
2020-09-21 16:06 Michał Górny
2020-09-15  8:09 Joonas Niilola

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=1631627903.393b8cf31c1b79b3c923413b9661d40df7c8f828.arthurzam@gentoo \
    --to=arthurzam@gentoo.org \
    --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