public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ryan Fox" <flewkey@2a03.party>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pyclip/
Date: Thu, 26 May 2022 21:09:08 +0000 (UTC)	[thread overview]
Message-ID: <1653599086.6deb9f488f576a25dd74c58ad1a75e92f7b0c52f.flewkey@gentoo> (raw)

commit:     6deb9f488f576a25dd74c58ad1a75e92f7b0c52f
Author:     Ryan Fox <flewkey <AT> 2a03 <DOT> party>
AuthorDate: Thu May 26 21:04:46 2022 +0000
Commit:     Ryan Fox <flewkey <AT> 2a03 <DOT> party>
CommitDate: Thu May 26 21:04:46 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6deb9f48

dev-python/pyclip: Disable tests

Running the tests is a bad idea because the clipboard isn't always
available when building.

Signed-off-by: Ryan Fox <flewkey <AT> 2a03.party>
Closes: https://bugs.gentoo.org/847169

 dev-python/pyclip/pyclip-0.5.4.ebuild | 13 ++-----------
 dev-python/pyclip/pyclip-0.6.0.ebuild | 13 ++-----------
 dev-python/pyclip/pyclip-9999.ebuild  | 13 ++-----------
 3 files changed, 6 insertions(+), 33 deletions(-)

diff --git a/dev-python/pyclip/pyclip-0.5.4.ebuild b/dev-python/pyclip/pyclip-0.5.4.ebuild
index f57d3f5c1..9d7f2261e 100644
--- a/dev-python/pyclip/pyclip-0.5.4.ebuild
+++ b/dev-python/pyclip/pyclip-0.5.4.ebuild
@@ -20,20 +20,11 @@ DESCRIPTION="Python clipboard module"
 HOMEPAGE="https://pypi.org/project/pyclip/"
 LICENSE="Apache-2.0"
 SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
+RESTRICT="test"
 DOCS="${S}/docs/README.md"
 
-DEPEND="
-	test? ( dev-python/pytest[${PYTHON_USEDEP}] )
-"
+DEPEND=""
 RDEPEND="
 	x11-misc/xclip
 "
 BDEPEND=""
-
-python_test() {
-	for unittest in "${S}/tests/"*".py"; do
-		"${EPYTHON}" "${unittest}" || die "Tests failed"
-	done
-}

diff --git a/dev-python/pyclip/pyclip-0.6.0.ebuild b/dev-python/pyclip/pyclip-0.6.0.ebuild
index 61efa2b6a..8eb8b2e96 100644
--- a/dev-python/pyclip/pyclip-0.6.0.ebuild
+++ b/dev-python/pyclip/pyclip-0.6.0.ebuild
@@ -20,21 +20,12 @@ DESCRIPTION="Python clipboard module"
 HOMEPAGE="https://pypi.org/project/pyclip/"
 LICENSE="Apache-2.0"
 SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
+RESTRICT="test"
 DOCS="${S}/docs/README.md"
 
-DEPEND="
-	test? ( dev-python/pytest[${PYTHON_USEDEP}] )
-"
+DEPEND=""
 RDEPEND="
 	gui-apps/wl-clipboard
 	x11-misc/xclip
 "
 BDEPEND=""
-
-python_test() {
-	for unittest in "${S}/tests/"*".py"; do
-		"${EPYTHON}" "${unittest}" || die "Tests failed"
-	done
-}

diff --git a/dev-python/pyclip/pyclip-9999.ebuild b/dev-python/pyclip/pyclip-9999.ebuild
index 61efa2b6a..8eb8b2e96 100644
--- a/dev-python/pyclip/pyclip-9999.ebuild
+++ b/dev-python/pyclip/pyclip-9999.ebuild
@@ -20,21 +20,12 @@ DESCRIPTION="Python clipboard module"
 HOMEPAGE="https://pypi.org/project/pyclip/"
 LICENSE="Apache-2.0"
 SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
+RESTRICT="test"
 DOCS="${S}/docs/README.md"
 
-DEPEND="
-	test? ( dev-python/pytest[${PYTHON_USEDEP}] )
-"
+DEPEND=""
 RDEPEND="
 	gui-apps/wl-clipboard
 	x11-misc/xclip
 "
 BDEPEND=""
-
-python_test() {
-	for unittest in "${S}/tests/"*".py"; do
-		"${EPYTHON}" "${unittest}" || die "Tests failed"
-	done
-}


             reply	other threads:[~2022-05-26 21:09 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-26 21:09 Ryan Fox [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-10 15:48 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pyclip/ Denis Reva
2024-03-21 22:11 Esteve Varela Colominas
2024-02-19 21:58 Lucio Sauer
2024-02-19 21:58 Lucio Sauer
2024-02-19 21:58 Lucio Sauer
2024-02-19 21:33 Julien Roy
2022-12-19 13:55 Denis Reva
2022-12-19 13:48 Denis Reva
2022-05-26 20:43 Ryan Fox
2022-05-26 20:43 Ryan Fox
2022-05-19 20:58 Tony Olagbaiye
2022-05-18 19:35 Tony Olagbaiye
2022-05-18 16:00 Tony Olagbaiye

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=1653599086.6deb9f488f576a25dd74c58ad1a75e92f7b0c52f.flewkey@gentoo \
    --to=flewkey@2a03.party \
    --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