app-admin/gentoo-perl-helpers: Bump to version 0.4.0 re bug #683432

Reworked to make use of recent changes in portage-utils

Bug: https://bugs.gentoo.org/683432
Bug: https://bugs.gentoo.org/688442
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
This commit is contained in:
Kent Fredric
2019-06-23 18:41:38 +12:00
parent 8e66bffdb4
commit e4d7ceb22b
2 changed files with 54 additions and 0 deletions
+1
View File
@@ -4,3 +4,4 @@ DIST gentoo-perl-helpers-0.2.1.tar.xz 8904 BLAKE2B 8fb93a47beaef233a10c065368dcd
DIST gentoo-perl-helpers-0.2.2.tar.xz 9096 BLAKE2B fe53c1fc2742c256b5a62188f82ac257df9a67ddde95ce8ad760976cfb0bba956aebb915388b22ebe2899546a24dec1385a07521405758fbd7e14112cdf0e32e SHA512 97653cbcff01cb65b5aa8b5e56ecdafedddfed773b8f41120707066d8c3d837634b9d2996eeed069cf434175684ac38a0e829719dd88a3bfd14e2e0ab6f80a14
DIST gentoo-perl-helpers-0.3.0.tar.xz 9392 BLAKE2B ef20955add23d834f85781c90de3c8d439c9659dca330a444a6041a0e1c99ca7a378bf88425f4ca021d4ef607fbffe0d7a6e43a92085f8d488179114b2d23a37 SHA512 3feaf287457d0b4fa29cc58878566b38674b0c112ba356727bbce2bcff9b9cca07cec34cfb960260a0a32542c43611b783f74ee4127c9c0aa33843a144544c13
DIST gentoo-perl-helpers-0.3.1.tar.xz 9420 BLAKE2B dea001473832f4412ae090afbc458720ec1d40d19ac3db3a6a57b26115603f224f2f1c4155ecd3190866dfa0ab648fdd3a98a90e9ed576e7bd3ad8bdaf9a73c6 SHA512 dce6addfebbdfd16da3b580776c34346eb60b2eaef9cc7bed03d5ae0bf028de7a0175fbf7f68113d44b645c3d5ca7f5175389478655b08c115a5342ff930e096
DIST gentoo-perl-helpers-0.4.0.tar.xz 9580 BLAKE2B daea9e3f43bcd24ea34c9448294fb730595e8a021dffcbbf7f123ff5439455aa362c623affee29341266a0494f4744df0bf195d2db422d6276eb54fdca07149c SHA512 fbbd33122028ad12cbec7adbc97faaa32aa485ef21ca38dc2e1906610fdea7709e5da7e8164f5f86afa3607928837f3b35468274b6c626e3bd843432d780701b
@@ -0,0 +1,53 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="Introspection and Upgrade Assistance tools for Gentoo Perl"
HOMEPAGE="https://github.com/gentoo-perl/gentoo-perl-helpers"
SRC_URI="
https://github.com/gentoo-perl/${PN}/releases/download/${PV}/${P}.tar.xz
mirror://gentoo/${P}.tar.xz
https://dev.gentoo.org/~kentnl/distfiles/${P}.tar.xz
"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE=""
# Assumed System:
# sys-apps/coreutils
# sys-apps/grep
# sys-apps/findutils
# sys-apps/sed
# app-shells/bash
# sys-apps/gawk
# app-arch/tar
RDEPEND="
$(: multiple --quiet, --format and anti-slot support)
>=app-portage/portage-utils-0.80_pre20190620
"
DEPEND=""
src_prepare() {
sed -i -e "s^@@LIBDIR@@^${EPREFIX}/usr/lib/gentoo-perl-helpers^g" \
-e "s^@@LIBEXECDIR@@^${EPREFIX}/usr/libexec/gentoo-perl-helpers^g" \
"${S}/bin/gentoo-perl" \
"${S}/lib/core-functions.sh" \
|| die "Can't patch bin/gentoo-perl"
default
}
src_compile() { :; }
src_install() {
exeinto /usr/bin
doexe "${S}/bin/"*
exeinto /usr/libexec/gentoo-perl-helpers
doexe "${S}/libexec/"*
insinto /usr/lib/gentoo-perl-helpers
doins -r "${S}/lib/"*
dodoc "${S}/README.mkdn" "${S}/Changes"
}