commit:     a8e57b37d64f0846e166836533c7e0a0cfb37628
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 14 04:17:21 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 14 04:17:21 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8e57b37

sys-auth/nss-pam-ldapd: fix Python REQUIRED_USE

The package appears to need Python at build-time too so fix REQUIRED_USE
accordingly per 
https://projects.gentoo.org/python/guide/multi.html#additional-build-time-python-use.

Note that I've not investigated if it really does use Python at build-time,
just making things consistent here.

Bug: https://bugs.gentoo.org/891745
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild | 3 ++-
 sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild 
b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild
index 474304460092..be8cf405f24b 100644
--- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild
+++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -15,6 +15,7 @@ SLOT="0"
 KEYWORDS="amd64 arm ~hppa ~ia64 ~ppc ppc64 ~sparc x86"
 IUSE="debug kerberos +pam pynslcd sasl test +utils"
 REQUIRED_USE="
+       ${PYTHON_REQUIRED_USE}
        utils? ( ${PYTHON_REQUIRED_USE} )
        test? ( ${PYTHON_REQUIRED_USE} pynslcd )
 "

diff --git a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild 
b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild
index ad51ea51a204..45bec6750bfa 100644
--- a/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild
+++ b/sys-auth/nss-pam-ldapd/nss-pam-ldapd-0.9.12-r3.ebuild
@@ -15,6 +15,7 @@ SLOT="0"
 KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc64 ~sparc x86"
 IUSE="debug kerberos +pam pynslcd sasl selinux test +utils"
 REQUIRED_USE="
+       ${PYTHON_REQUIRED_USE}
        utils? ( ${PYTHON_REQUIRED_USE} )
        test? ( ${PYTHON_REQUIRED_USE} pynslcd )
 "

Reply via email to