mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-25 11:57:36 -08:00
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>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user