summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2018-07-09 19:50:16 +0200
committerThomas Deutschmann <whissi@gentoo.org>2018-07-09 19:59:30 +0200
commitef2cd2bf374ce2a366dea973d1e17ebff7cd33a7 (patch)
tree8002d72a647c83e3f81d6d3eaef4decf0e4a89fa /sys-apps
parentsys-apps/coreutils-8.29-r1: arm64 stable (bug #660786) (diff)
downloadgentoo-ef2cd2bf374ce2a366dea973d1e17ebff7cd33a7.tar.gz
gentoo-ef2cd2bf374ce2a366dea973d1e17ebff7cd33a7.tar.bz2
gentoo-ef2cd2bf374ce2a366dea973d1e17ebff7cd33a7.zip
sys-apps/util-linux: drop Python 3+ support
pylibmount is _not_ compatible with Python 3. Bug: https://github.com/karelzak/util-linux/issues/489 Closes: https://bugs.gentoo.org/624132 Package-Manager: Portage-2.3.41, Repoman-2.3.9
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/util-linux/util-linux-2.30.2-r1.ebuild2
-rw-r--r--sys-apps/util-linux/util-linux-2.32-r4.ebuild (renamed from sys-apps/util-linux/util-linux-2.32-r3.ebuild)10
2 files changed, 10 insertions, 2 deletions
diff --git a/sys-apps/util-linux/util-linux-2.30.2-r1.ebuild b/sys-apps/util-linux/util-linux-2.30.2-r1.ebuild
index 3077f85b78e7..adba6b4d54f7 100644
--- a/sys-apps/util-linux/util-linux-2.30.2-r1.ebuild
+++ b/sys-apps/util-linux/util-linux-2.30.2-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+PYTHON_COMPAT=( python2_7 )
inherit toolchain-funcs libtool flag-o-matic bash-completion-r1 \
pam python-single-r1 multilib-minimal multiprocessing systemd
diff --git a/sys-apps/util-linux/util-linux-2.32-r3.ebuild b/sys-apps/util-linux/util-linux-2.32-r4.ebuild
index 4fe88effdfb8..d988bafa6f6d 100644
--- a/sys-apps/util-linux/util-linux-2.32-r3.ebuild
+++ b/sys-apps/util-linux/util-linux-2.32-r4.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+PYTHON_COMPAT=( python2_7 )
inherit toolchain-funcs libtool flag-o-matic bash-completion-r1 \
pam python-single-r1 multilib-minimal multiprocessing systemd
@@ -216,6 +216,14 @@ multilib_src_install_all() {
newpamd "${FILESDIR}/runuser.pamd" runuser
newpamd "${FILESDIR}/runuser-l.pamd" runuser-l
fi
+
+ # Note:
+ # Bash completion for "runuser" command is provided by same file which
+ # would also provide bash completion for "su" command. However, we don't
+ # use "su" command from this package.
+ # This triggers a known QA warning which we ignore for now to magically
+ # keep bash completion for "su" command which shadow package does not
+ # provide.
}
pkg_postinst() {