diff options
author | Kent Fredric <kentnl@gentoo.org> | 2020-09-22 04:52:52 +1200 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2020-09-22 04:53:11 +1200 |
commit | 4cbb124efec771137c36b27e78e9c195dcfd8a46 (patch) | |
tree | 7732b7ecedb67d50c9a1069c0b5d4dc2122ac39d /dev-perl/Data-Password-passwdqc/Data-Password-passwdqc-0.90.0.ebuild | |
parent | app-emulation/cri-o: Bump to version 1.19.0 (diff) | |
download | gentoo-4cbb124efec771137c36b27e78e9c195dcfd8a46.tar.gz gentoo-4cbb124efec771137c36b27e78e9c195dcfd8a46.tar.bz2 gentoo-4cbb124efec771137c36b27e78e9c195dcfd8a46.zip |
dev-perl/Data-Password-passwdqc: Add w/ version=0.90.0
Requsted by juippis as an optional dep of app-admin/kpcli
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
Diffstat (limited to 'dev-perl/Data-Password-passwdqc/Data-Password-passwdqc-0.90.0.ebuild')
-rw-r--r-- | dev-perl/Data-Password-passwdqc/Data-Password-passwdqc-0.90.0.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-perl/Data-Password-passwdqc/Data-Password-passwdqc-0.90.0.ebuild b/dev-perl/Data-Password-passwdqc/Data-Password-passwdqc-0.90.0.ebuild new file mode 100644 index 000000000000..48b88d3924e8 --- /dev/null +++ b/dev-perl/Data-Password-passwdqc/Data-Password-passwdqc-0.90.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIST_AUTHOR=SHERWIN +DIST_VERSION=0.09 +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 + 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() { + ebegin "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 +} |