dev-libs/libtasn1: eapi bump
authorAlon Bar-Lev <alonbl@gentoo.org>
Fri, 28 Sep 2018 12:58:34 +0000 (15:58 +0300)
committerAlon Bar-Lev <alonbl@gentoo.org>
Fri, 28 Sep 2018 12:59:56 +0000 (15:59 +0300)
Package-Manager: Portage-2.3.49, Repoman-2.3.10

dev-libs/libtasn1/libtasn1-4.13.ebuild

index 1b1de7e63a0f01e47477338749c9890def9693c4..4dd66c9586e0b31ddd815b4de0ae82f53704507b 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit multilib-minimal libtool ltprune
+inherit multilib-minimal libtool
 
 DESCRIPTION="ASN.1 library"
 HOMEPAGE="https://www.gnu.org/software/libtasn1/"
@@ -12,16 +12,19 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
 LICENSE="GPL-3 LGPL-2.1"
 SLOT="0/6" # subslot = libtasn1 soname version
 KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="doc static-libs valgrind"
+IUSE="doc static-libs test valgrind"
 
-DEPEND=">=dev-lang/perl-5.6
-       sys-apps/help2man
-       virtual/yacc"
-RDEPEND="
-       valgrind? ( dev-util/valgrind )
-"
+BDEPEND="sys-apps/help2man
+       virtual/yacc
+       test? ( valgrind? ( dev-util/valgrind ) )"
 
-DOCS=( AUTHORS ChangeLog NEWS README THANKS )
+DOCS=(
+       AUTHORS
+       ChangeLog
+       NEWS
+       README
+       THANKS
+)
 
 pkg_setup() {
        if use doc; then
@@ -43,5 +46,5 @@ multilib_src_configure() {
 
 multilib_src_install_all() {
        einstalldocs
-       prune_libtool_files
+       find "${D}" -name '*.la' -delete || die
 }