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 B1A43158094 for ; Wed, 22 Jun 2022 07:26:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CB84DE086C; Wed, 22 Jun 2022 07:26:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 B473CE086C for ; Wed, 22 Jun 2022 07:26:16 +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 91FF6341A93 for ; Wed, 22 Jun 2022 07:26:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D1AA9448 for ; Wed, 22 Jun 2022 07:26:13 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1655882769.e5750eb623d42ee9f7b7fc523f08894e4fad272c.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/ossp-uuid/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/ossp-uuid/ossp-uuid-1.6.2-r7.ebuild X-VCS-Directories: dev-libs/ossp-uuid/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e5750eb623d42ee9f7b7fc523f08894e4fad272c X-VCS-Branch: master Date: Wed, 22 Jun 2022 07:26:13 +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: 8338ebf2-547f-455f-8189-cc168e9150a2 X-Archives-Hash: e587b5ee90d98b52d6d9cbae04905b77 commit: e5750eb623d42ee9f7b7fc523f08894e4fad272c Author: Michał Górny gentoo org> AuthorDate: Wed Jun 22 07:15:06 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Jun 22 07:26:09 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5750eb6 dev-libs/ossp-uuid: Use the canonical test restriction While the conditional test restriction here might make some sense (though it would make even more sense to remove it entirely and just skip perl tests if USE=-test), it triggers a false positive in pkgcheck and there's really no need to be that specific to cover a corner case of a corner case. Signed-off-by: Michał Górny gentoo.org> dev-libs/ossp-uuid/ossp-uuid-1.6.2-r7.ebuild | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dev-libs/ossp-uuid/ossp-uuid-1.6.2-r7.ebuild b/dev-libs/ossp-uuid/ossp-uuid-1.6.2-r7.ebuild index 90dbbbf5b19e..335448aba2c5 100644 --- a/dev-libs/ossp-uuid/ossp-uuid-1.6.2-r7.ebuild +++ b/dev-libs/ossp-uuid/ossp-uuid-1.6.2-r7.ebuild @@ -12,6 +12,7 @@ inherit perl-module DESCRIPTION="An ISO-C:1999 API with CLI for generating DCE, ISO/IEC and RFC compliant UUID" HOMEPAGE="http://www.ossp.org/pkg/lib/uuid/" SRC_URI="ftp://ftp.ossp.org/pkg/lib/uuid/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" LICENSE="ISC" SLOT="0" @@ -21,9 +22,7 @@ IUSE="+cxx perl static-libs test" DEPEND="perl? ( dev-lang/perl test? ( virtual/perl-Test-Simple ) )" RDEPEND="perl? ( dev-lang/perl:= )" BDEPEND="perl? ( dev-lang/perl )" -RESTRICT="perl? ( !test? ( test ) )" - -S="${WORKDIR}/${MY_P}" +RESTRICT="!test? ( test )" PATCHES=( "${FILESDIR}/${P}-gentoo-r1.patch"