summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2021-11-22 17:34:55 +0100
committerDavid Seifert <soap@gentoo.org>2021-11-22 17:34:55 +0100
commit6d29e0c6e0a2208423cfdd76562fd2d7371c2dae (patch)
treef441ddf4204d428b0e9835280f12089548e0ab4d /sys-auth/sssd
parentnet-misc/yt-dlp: disable pytest-markdown (diff)
downloadgentoo-6d29e0c6e0a2208423cfdd76562fd2d7371c2dae.tar.gz
gentoo-6d29e0c6e0a2208423cfdd76562fd2d7371c2dae.tar.bz2
gentoo-6d29e0c6e0a2208423cfdd76562fd2d7371c2dae.zip
sys-auth/sssd: do not install conditional python files
Closes: https://bugs.gentoo.org/822399 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sys-auth/sssd')
-rw-r--r--sys-auth/sssd/files/sssd-2.6.0-conditional-python-install.patch19
-rw-r--r--sys-auth/sssd/sssd-2.6.0-r1.ebuild (renamed from sys-auth/sssd/sssd-2.6.0.ebuild)2
2 files changed, 21 insertions, 0 deletions
diff --git a/sys-auth/sssd/files/sssd-2.6.0-conditional-python-install.patch b/sys-auth/sssd/files/sssd-2.6.0-conditional-python-install.patch
new file mode 100644
index 000000000000..04c18ceede8c
--- /dev/null
+++ b/sys-auth/sssd/files/sssd-2.6.0-conditional-python-install.patch
@@ -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
diff --git a/sys-auth/sssd/sssd-2.6.0.ebuild b/sys-auth/sssd/sssd-2.6.0-r1.ebuild
index 857e7084b74f..6b13c0aa927a 100644
--- a/sys-auth/sssd/sssd-2.6.0.ebuild
+++ b/sys-auth/sssd/sssd-2.6.0-r1.ebuild
@@ -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