sys-auth/sssd: do not install conditional python files

Closes: https://bugs.gentoo.org/822399
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert
2021-11-22 17:34:55 +01:00
parent 283b7f6ab2
commit 6d29e0c6e0
2 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
--- a/src/tools/analyzer/Makefile.am
+++ b/src/tools/analyzer/Makefile.am
@@ -1,5 +1,7 @@
pkgpythondir = $(python3dir)/sssd
+modulesdir = $(pkgpythondir)/modules
+if BUILD_PYTHON_BINDINGS
dist_pkgpython_SCRIPTS = \
sss_analyze.py \
$(NULL)
@@ -10,7 +12,7 @@
source_reader.py \
$(NULL)
-modulesdir = $(pkgpythondir)/modules
dist_modules_DATA = \
modules/request.py \
$(NULL)
+endif

View File

@@ -90,6 +90,8 @@ BDEPEND="
CONFIG_CHECK="~KEYS"
PATCHES=( "${FILESDIR}"/${PN}-2.6.0-conditional-python-install.patch )
MULTILIB_WRAPPED_HEADERS=(
/usr/include/ipa_hbac.h
/usr/include/sss_idmap.h