diff options
author | Kent Fredric <kentnl@gentoo.org> | 2020-07-01 01:59:30 +1200 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2020-07-01 01:59:57 +1200 |
commit | 1d79ac57f4449ed34d97ddea06fedcfd479f5a5c (patch) | |
tree | f3b687a01cf5e5108ef5fe4fa4d71af4ad3ff34c /dev-perl/Crypt-Cracklib/Crypt-Cracklib-1.700.0-r3.ebuild | |
parent | media-libs/openh264: fix double prefix (diff) | |
download | gentoo-1d79ac57f4449ed34d97ddea06fedcfd479f5a5c.tar.gz gentoo-1d79ac57f4449ed34d97ddea06fedcfd479f5a5c.tar.bz2 gentoo-1d79ac57f4449ed34d97ddea06fedcfd479f5a5c.zip |
dev-perl/Crypt-Cracklib: -r bump for EAPI7 and fixes
- EAPI7
- Expand dependencies better
- Migrade "sed" hackery to a patch
- Rework existing patch into git format
- Unconditionally patch out bad tests
- Ensure CFLAGS passed through to make
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl@gentoo.org>
Diffstat (limited to 'dev-perl/Crypt-Cracklib/Crypt-Cracklib-1.700.0-r3.ebuild')
-rw-r--r-- | dev-perl/Crypt-Cracklib/Crypt-Cracklib-1.700.0-r3.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-perl/Crypt-Cracklib/Crypt-Cracklib-1.700.0-r3.ebuild b/dev-perl/Crypt-Cracklib/Crypt-Cracklib-1.700.0-r3.ebuild new file mode 100644 index 000000000000..9d86b5c2aaee --- /dev/null +++ b/dev-perl/Crypt-Cracklib/Crypt-Cracklib-1.700.0-r3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIST_AUTHOR=DANIEL +DIST_VERSION=1.7 +inherit perl-module + +DESCRIPTION="Perl interface to Alec Muffett's Cracklib" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="sys-libs/cracklib" +DEPEND="${RDEPEND}" +BDEPEND="${RDEPEND} + >=virtual/perl-ExtUtils-MakeMaker-6.420.0 + test? ( + >=virtual/perl-Test-Simple-0.470.0 + ) +" + +PATCHES=( + "${FILESDIR}/${PN}-1.7-CFLAGS-1.patch" + "${FILESDIR}/${PN}-1.7-no-dot-inc.patch" +) +PERL_RM_FILES=( + t/pod-coverage.t + t/pod.t +) +src_compile() { + mymake=( + "OPTIMIZE=${CFLAGS}" + ) + perl-module_src_compile +} |