summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2021-05-24 14:03:12 -0700
committerPatrick McLean <chutzpah@gentoo.org>2021-05-24 14:03:40 -0700
commit0fc950fe84f88ef9d72d705f067f534546423225 (patch)
tree17d900eb0bf0fe68cfbb5cd8cbd872f02621a777 /sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild
parentdev-libs/libical: Stabilize 3.0.10 sparc, #791439 (diff)
downloadgentoo-0fc950fe84f88ef9d72d705f067f534546423225.tar.gz
gentoo-0fc950fe84f88ef9d72d705f067f534546423225.tar.bz2
gentoo-0fc950fe84f88ef9d72d705f067f534546423225.zip
sys-auth/nss-pam-ldapd-0.9.11-r3: Add py39
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild')
-rw-r--r--sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild
index 3d6590078bca..3f748952208f 100644
--- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild
+++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.11-r3.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=(python3_{7..8})
+PYTHON_COMPAT=(python3_{7..9})
inherit prefix python-r1 autotools multilib multilib-minimal systemd s6 tmpfiles
DESCRIPTION="NSS module for name lookups using LDAP"
@@ -53,6 +53,7 @@ PATCHES=(
"${FILESDIR}/nss-pam-ldapd-0.9.11-use-mkstemp.patch"
"${FILESDIR}/nss-pam-ldapd-0.9.11-relative-imports.patch"
"${FILESDIR}/nss-pam-ldapd-0.9.11-tests.patch"
+ "${FILESDIR}/nss-pam-ldapd-0.9.11-tests-py39.patch"
)
src_prepare() {
@@ -100,7 +101,8 @@ multilib_src_test() {
}
python_test() {
- emake check
+ cp -l "${S}"/pynslcd/*.py pynslcd/ || die "Could not copy python files for tests"
+ nonfatal emake check || die "tests failed with ${EPYTHON}"
}
multilib_src_install_all() {