dev-libs/atf: remove /usr/tests
authorMike Gilbert <floppym@gentoo.org>
Fri, 7 Sep 2018 14:53:22 +0000 (10:53 -0400)
committerMike Gilbert <floppym@gentoo.org>
Fri, 7 Sep 2018 17:18:44 +0000 (13:18 -0400)
Bug: https://bugs.gentoo.org/654496
Package-Manager: Portage-2.3.49_p2, Repoman-2.3.10_p48

dev-libs/atf/atf-0.21-r2.ebuild [moved from dev-libs/atf/atf-0.21-r1.ebuild with 75% similarity]

similarity index 75%
rename from dev-libs/atf/atf-0.21-r1.ebuild
rename to dev-libs/atf/atf-0.21-r2.ebuild
index 8f0c520fae81a11b87979d480292d5939b8106e1..81fad911bd9f078bec0633aa7856ed23ff740c46 100644 (file)
@@ -1,10 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit ltprune
-
 DESCRIPTION="Libraries to write tests in C, C++ and shell"
 HOMEPAGE="https://github.com/jmmv/atf"
 SRC_URI="https://github.com/jmmv/atf/releases/download/${P}/${P}.tar.gz"
@@ -16,9 +14,10 @@ IUSE=""
 
 DEPEND="virtual/pkgconfig"
 
-PATCHES=( ${FILESDIR}/${P}-getopt-solaris.patch )
+PATCHES=( "${FILESDIR}"/${P}-getopt-solaris.patch )
 
 src_install() {
        default
-       prune_libtool_files
+       rm -r "${ED%/}"/usr/tests || die
+       find "${ED}" -name '*.la' -delete || die
 }