dev-libs/libressl: enable REQUIRED_USE for tests and drop eutils
authorAaron Bauman <bman@gentoo.org>
Tue, 17 Apr 2018 01:31:09 +0000 (21:31 -0400)
committerAaron Bauman <bman@gentoo.org>
Tue, 17 Apr 2018 01:31:09 +0000 (21:31 -0400)
Upstream has noted that tests require static-libs. As such, require that
static-libs USE flag is set. Additionally, drop eutils eclass in favor
of ltprune as the only function called is prune_libtool_files.

Closes: https://bugs.gentoo.org/625266
Closes: https://bugs.gentoo.org/607960
Package-Manager: Portage-2.3.28, Repoman-2.3.9

dev-libs/libressl/libressl-2.6.0.ebuild
dev-libs/libressl/libressl-2.6.4.ebuild
dev-libs/libressl/libressl-2.7.2.ebuild

index 44ecf27ddcb03380e106c2a83d5c24aaf3ec205d..2613eb39b5315964e204c384f30e0b9676fda474 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit eutils multilib-minimal
+inherit ltprune multilib-minimal
 
 DESCRIPTION="Free version of the SSL/TLS protocol forked from OpenSSL"
 HOMEPAGE="https://www.libressl.org/"
@@ -15,14 +15,13 @@ LICENSE="ISC openssl"
 # versions, we have to change the subslot to trigger rebuild of consumers.
 SLOT="0/43"
 KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86"
-IUSE="+asm static-libs"
+IUSE="+asm static-libs test"
+REQUIRED_USE="test? ( static-libs )"
 
 RDEPEND="!dev-libs/openssl:0"
 DEPEND="${RDEPEND}"
 PDEPEND="app-misc/ca-certificates"
 
-RESTRICT="test" # bug #625266
-
 src_prepare() {
        touch crypto/Makefile.in
 
index b4987334136f0e73e6b13293e5b2ea217dfa2f2c..d8f2130d4b1a312deae488f9190a9263e2b7e53d 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit eutils multilib-minimal
+inherit ltprune multilib-minimal
 
 DESCRIPTION="Free version of the SSL/TLS protocol forked from OpenSSL"
 HOMEPAGE="https://www.libressl.org/"
@@ -15,7 +15,8 @@ LICENSE="ISC openssl"
 # versions, we have to change the subslot to trigger rebuild of consumers.
 SLOT="0/44"
 KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86"
-IUSE="+asm static-libs"
+IUSE="+asm static-libs test"
+REQUIRED_USE="test? ( static-libs )"
 
 RDEPEND="!dev-libs/openssl:0"
 DEPEND="${RDEPEND}"
index af207c40014f952975786b5e35b0ba0bb3692e26..d988e0c8f0155bbea6572a1a72e299f25112673f 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit eutils multilib-minimal
+inherit ltprune multilib-minimal
 
 DESCRIPTION="Free version of the SSL/TLS protocol forked from OpenSSL"
 HOMEPAGE="https://www.libressl.org/"
@@ -16,7 +16,8 @@ LICENSE="ISC openssl"
 SLOT="0/45"
 #KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
 KEYWORDS=""
-IUSE="+asm static-libs"
+IUSE="+asm static-libs test"
+REQUIRED_USE="test? ( static-libs )"
 
 RDEPEND="!dev-libs/openssl:0"
 DEPEND="${RDEPEND}"