diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2021-10-16 22:07:29 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2021-10-16 22:07:29 +0200 |
commit | 53aa4895ddbf4320f5a76c3de8a085e6a3a3e669 (patch) | |
tree | 075166772a8252531b249bdc984af57a4ae89484 /dev-perl/Data-Password-passwdqc/Data-Password-passwdqc-0.90.0-r1.ebuild | |
parent | dev-perl/Net-Netmask: Remove old (diff) | |
download | gentoo-53aa4895ddbf4320f5a76c3de8a085e6a3a3e669.tar.gz gentoo-53aa4895ddbf4320f5a76c3de8a085e6a3a3e669.tar.bz2 gentoo-53aa4895ddbf4320f5a76c3de8a085e6a3a3e669.zip |
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>
Diffstat (limited to 'dev-perl/Data-Password-passwdqc/Data-Password-passwdqc-0.90.0-r1.ebuild')
-rw-r--r-- | dev-perl/Data-Password-passwdqc/Data-Password-passwdqc-0.90.0-r1.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-perl/Data-Password-passwdqc/Data-Password-passwdqc-0.90.0-r1.ebuild b/dev-perl/Data-Password-passwdqc/Data-Password-passwdqc-0.90.0-r1.ebuild new file mode 100644 index 000000000000..bdc294294215 --- /dev/null +++ b/dev-perl/Data-Password-passwdqc/Data-Password-passwdqc-0.90.0-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_AUTHOR=SHERWIN +DIST_VERSION=0.09 +inherit perl-module + +DESCRIPTION="Check password strength and generate password using passwdqc" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + virtual/perl-Carp + dev-perl/List-MoreUtils + dev-perl/Moose + dev-perl/namespace-autoclean +" +BDEPEND="${RDEPEND} + >=virtual/perl-ExtUtils-MakeMaker-6.300.0 + dev-perl/Devel-CheckOS + test? ( + virtual/perl-Test-Simple + ) +" + +PERL_RM_FILES=( + t/pod.t +) + +src_prepare() { + 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" + perl-module_src_prepare +} |