commit: e5750eb623d42ee9f7b7fc523f08894e4fad272c Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Jun 22 07:15:06 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> 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 <mgorny <AT> 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"
