mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
dev-perl/Data-Password-passwdqc: Simplify; EAPI=8
Closes: https://bugs.gentoo.org/815895 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Copyright 2020-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
DIST_AUTHOR=SHERWIN
|
||||
DIST_VERSION=0.09
|
||||
@@ -10,8 +10,6 @@ inherit perl-module
|
||||
DESCRIPTION="Check password strength and generate password using passwdqc"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-Carp
|
||||
@@ -26,23 +24,18 @@ BDEPEND="${RDEPEND}
|
||||
virtual/perl-Test-Simple
|
||||
)
|
||||
"
|
||||
|
||||
PERL_RM_FILES=(
|
||||
t/pod.t
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
ebegin "Stripping Devel-CheckOS from inc/"
|
||||
einfo "Stripping Devel-CheckOS from inc/"
|
||||
rm -rf "${S}/inc/Devel/CheckOS.pm" \
|
||||
"${S}/inc/Devel/AssertOS.pm" \
|
||||
"${S}/inc/Devel/AssertOS" ||
|
||||
die "Can't remove bundled Devel-CheckOS bits"
|
||||
sed -i -e '/^inc\/Devel\/\(Check\|Assert\)OS/d' MANIFEST ||
|
||||
die "Can't remove Devel-CheckOS bits from MANIFEST"
|
||||
eend
|
||||
perl-module_src_prepare
|
||||
}
|
||||
src_compile() {
|
||||
mymake=(
|
||||
"OPTIMIZE=${CFLAGS}"
|
||||
)
|
||||
perl-module_src_compile
|
||||
}
|
||||
Reference in New Issue
Block a user