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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D5F59158090 for ; Thu, 26 May 2022 21:09:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0AED6E07B3; Thu, 26 May 2022 21:09:13 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7670BE07B3 for ; Thu, 26 May 2022 21:09:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 107E4341A96 for ; Thu, 26 May 2022 21:09:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 50AE134E for ; Thu, 26 May 2022 21:09:08 +0000 (UTC) From: "Ryan Fox" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ryan Fox" Message-ID: <1653599086.6deb9f488f576a25dd74c58ad1a75e92f7b0c52f.flewkey@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pyclip/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/pyclip/pyclip-0.5.4.ebuild dev-python/pyclip/pyclip-0.6.0.ebuild dev-python/pyclip/pyclip-9999.ebuild X-VCS-Directories: dev-python/pyclip/ X-VCS-Committer: flewkey X-VCS-Committer-Name: Ryan Fox X-VCS-Revision: 6deb9f488f576a25dd74c58ad1a75e92f7b0c52f X-VCS-Branch: dev Date: Thu, 26 May 2022 21:09:08 +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: b299660d-439a-4716-928b-bb606e1c01cb X-Archives-Hash: 590d4b571f613652ac29911d08bf8250 commit: 6deb9f488f576a25dd74c58ad1a75e92f7b0c52f Author: Ryan Fox 2a03 party> AuthorDate: Thu May 26 21:04:46 2022 +0000 Commit: Ryan Fox 2a03 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 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 -}