sys-auth/sssd: Disable broken Python support
authorMichał Górny <mgorny@gentoo.org>
Mon, 12 Aug 2019 17:45:18 +0000 (19:45 +0200)
committerMikle Kolyada <zlogene@gentoo.org>
Mon, 12 Aug 2019 21:44:12 +0000 (00:44 +0300)
Closes: https://bugs.gentoo.org/690510
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
sys-auth/sssd/sssd-1.16.3-r2.ebuild
sys-auth/sssd/sssd-2.1.0.ebuild
sys-auth/sssd/sssd-2.2.0.ebuild

index 123d66457912a00482f87b103c56f928eae1d523..6397b5835b11099e90066f723807cc8179301d43 100644 (file)
@@ -3,9 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
-
-inherit autotools flag-o-matic linux-info multilib-minimal pam python-r1 systemd toolchain-funcs
+inherit autotools flag-o-matic linux-info multilib-minimal pam systemd toolchain-funcs
 
 DESCRIPTION="System Security Services Daemon provides access to identity and authentication"
 HOMEPAGE="https://pagure.io/SSSD/sssd"
@@ -14,7 +12,7 @@ KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc
 
 LICENSE="GPL-3"
 SLOT="0"
-IUSE="acl autofs +locator +netlink nfsv4 nls +manpages python samba selinux sudo ssh test"
+IUSE="acl autofs +locator +netlink nfsv4 nls +manpages samba selinux sudo ssh test"
 
 COMMON_DEP="
        >=virtual/pam-0-r1[${MULTILIB_USEDEP}]
@@ -104,12 +102,6 @@ multilib_src_configure() {
        # set initscript to sysv because the systemd option needs systemd to
        # be installed. We provide our own systemd file anyway.
        local myconf=()
-       if [[ "${PYTHON_TARGETS}" == *python2* ]]; then
-               myconf+=($(multilib_native_use_with python python2-bindings))
-       fi
-       if [[ "${PYTHON_TARGETS}" == *python3* ]]; then
-               myconf+=($(multilib_native_use_with python python3-bindings))
-       fi
        #Work around linker dependency problem.
        append-ldflags "-Wl,--allow-shlib-undefined"
 
@@ -142,6 +134,8 @@ multilib_src_configure() {
                $(multilib_native_use_with ssh)
                --with-crypto="nss"
                --with-initscript="sysv"
+               --without-python2-bindings
+               --without-python3-bindings
 
                KRB5_CONFIG=/usr/bin/${CHOST}-krb5-config
        )
index 146e47c5995db81b03b9f9f09c84e52c8ee4548b..3bb83f60232e5bbc1c48bd11d0c6073b6581826d 100644 (file)
@@ -3,9 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
-
-inherit autotools flag-o-matic linux-info multilib-minimal pam python-r1 systemd toolchain-funcs
+inherit autotools flag-o-matic linux-info multilib-minimal pam systemd toolchain-funcs
 
 DESCRIPTION="System Security Services Daemon provides access to identity and authentication"
 HOMEPAGE="https://pagure.io/SSSD/sssd"
@@ -14,7 +12,7 @@ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~spar
 
 LICENSE="GPL-3"
 SLOT="0"
-IUSE="acl autofs +locator +netlink nfsv4 nls +manpages python samba selinux sudo ssh test"
+IUSE="acl autofs +locator +netlink nfsv4 nls +manpages samba selinux sudo ssh test"
 
 COMMON_DEP="
        >=virtual/pam-0-r1[${MULTILIB_USEDEP}]
@@ -101,12 +99,6 @@ multilib_src_configure() {
        # set initscript to sysv because the systemd option needs systemd to
        # be installed. We provide our own systemd file anyway.
        local myconf=()
-       if [[ "${PYTHON_TARGETS}" == *python2* ]]; then
-               myconf+=($(multilib_native_use_with python python2-bindings))
-       fi
-       if [[ "${PYTHON_TARGETS}" == *python3* ]]; then
-               myconf+=($(multilib_native_use_with python python3-bindings))
-       fi
        #Work around linker dependency problem.
        append-ldflags "-Wl,--allow-shlib-undefined"
 
@@ -139,6 +131,8 @@ multilib_src_configure() {
                $(multilib_native_use_with ssh)
                --with-crypto="nss"
                --with-initscript="sysv"
+               --without-python2-bindings
+               --without-python3-bindings
 
                KRB5_CONFIG=/usr/bin/${CHOST}-krb5-config
        )
index 146e47c5995db81b03b9f9f09c84e52c8ee4548b..3bb83f60232e5bbc1c48bd11d0c6073b6581826d 100644 (file)
@@ -3,9 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
-
-inherit autotools flag-o-matic linux-info multilib-minimal pam python-r1 systemd toolchain-funcs
+inherit autotools flag-o-matic linux-info multilib-minimal pam systemd toolchain-funcs
 
 DESCRIPTION="System Security Services Daemon provides access to identity and authentication"
 HOMEPAGE="https://pagure.io/SSSD/sssd"
@@ -14,7 +12,7 @@ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~spar
 
 LICENSE="GPL-3"
 SLOT="0"
-IUSE="acl autofs +locator +netlink nfsv4 nls +manpages python samba selinux sudo ssh test"
+IUSE="acl autofs +locator +netlink nfsv4 nls +manpages samba selinux sudo ssh test"
 
 COMMON_DEP="
        >=virtual/pam-0-r1[${MULTILIB_USEDEP}]
@@ -101,12 +99,6 @@ multilib_src_configure() {
        # set initscript to sysv because the systemd option needs systemd to
        # be installed. We provide our own systemd file anyway.
        local myconf=()
-       if [[ "${PYTHON_TARGETS}" == *python2* ]]; then
-               myconf+=($(multilib_native_use_with python python2-bindings))
-       fi
-       if [[ "${PYTHON_TARGETS}" == *python3* ]]; then
-               myconf+=($(multilib_native_use_with python python3-bindings))
-       fi
        #Work around linker dependency problem.
        append-ldflags "-Wl,--allow-shlib-undefined"
 
@@ -139,6 +131,8 @@ multilib_src_configure() {
                $(multilib_native_use_with ssh)
                --with-crypto="nss"
                --with-initscript="sysv"
+               --without-python2-bindings
+               --without-python3-bindings
 
                KRB5_CONFIG=/usr/bin/${CHOST}-krb5-config
        )