diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-06-22 09:15:06 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-06-22 09:26:09 +0200 |
commit | e5750eb623d42ee9f7b7fc523f08894e4fad272c (patch) | |
tree | 10d7638c2b1592a2f60ac10e462503e1f153462a /dev-libs/ossp-uuid | |
parent | media-libs/assimp: Stabilize 5.2.4 x86, #853673 (diff) | |
download | gentoo-e5750eb623d42ee9f7b7fc523f08894e4fad272c.tar.gz gentoo-e5750eb623d42ee9f7b7fc523f08894e4fad272c.tar.bz2 gentoo-e5750eb623d42ee9f7b7fc523f08894e4fad272c.zip |
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@gentoo.org>
Diffstat (limited to 'dev-libs/ossp-uuid')
-rw-r--r-- | dev-libs/ossp-uuid/ossp-uuid-1.6.2-r7.ebuild | 5 |
1 files 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" |