sys-libs/cracklib: EAPI 7

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: David Michael <fedora.dm0@gmail.com>
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
David Michael
2020-12-25 22:08:45 -05:00
committed by Mike Gilbert
parent d925984147
commit fca20ac6c2

View File

@@ -1,12 +1,12 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
DISTUTILS_OPTIONAL=1
inherit distutils-r1 libtool multilib-minimal toolchain-funcs usr-ldscript
inherit distutils-r1 libtool multilib-minimal usr-ldscript
MY_P=${P/_}
DESCRIPTION="Password Checking Library"
@@ -88,15 +88,15 @@ multilib_src_install() {
multilib_src_install_all() {
einstalldocs
find "${ED}" -name "*.la" -delete || die
rm -r "${ED%/}"/usr/share/cracklib || die
find "${ED}" -type f -name "*.la" -delete || die
rm -r "${ED}"/usr/share/cracklib || die
insinto /usr/share/dict
doins dicts/cracklib-small
}
pkg_postinst() {
if [[ ${ROOT} == "/" ]] ; then
if [[ -z ${ROOT} ]] ; then
ebegin "Regenerating cracklib dictionary"
create-cracklib-dict "${EPREFIX}"/usr/share/dict/* > /dev/null
eend $?