Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/util-linux/
Date: Mon, 09 Jul 2018 18:00:57
Message-Id: 1531159170.ef2cd2bf374ce2a366dea973d1e17ebff7cd33a7.whissi@gentoo
1 commit: ef2cd2bf374ce2a366dea973d1e17ebff7cd33a7
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 9 17:50:16 2018 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 9 17:59:30 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef2cd2bf
7
8 sys-apps/util-linux: drop Python 3+ support
9
10 pylibmount is _not_ compatible with Python 3.
11
12 Bug: https://github.com/karelzak/util-linux/issues/489
13 Closes: https://bugs.gentoo.org/624132
14 Package-Manager: Portage-2.3.41, Repoman-2.3.9
15
16 sys-apps/util-linux/util-linux-2.30.2-r1.ebuild | 2 +-
17 .../{util-linux-2.32-r3.ebuild => util-linux-2.32-r4.ebuild} | 10 +++++++++-
18 2 files changed, 10 insertions(+), 2 deletions(-)
19
20 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
21 index 3077f85b78e..adba6b4d54f 100644
22 --- a/sys-apps/util-linux/util-linux-2.30.2-r1.ebuild
23 +++ b/sys-apps/util-linux/util-linux-2.30.2-r1.ebuild
24 @@ -3,7 +3,7 @@
25
26 EAPI=6
27
28 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
29 +PYTHON_COMPAT=( python2_7 )
30
31 inherit toolchain-funcs libtool flag-o-matic bash-completion-r1 \
32 pam python-single-r1 multilib-minimal multiprocessing systemd
33
34 diff --git a/sys-apps/util-linux/util-linux-2.32-r3.ebuild b/sys-apps/util-linux/util-linux-2.32-r4.ebuild
35 similarity index 94%
36 rename from sys-apps/util-linux/util-linux-2.32-r3.ebuild
37 rename to sys-apps/util-linux/util-linux-2.32-r4.ebuild
38 index 4fe88effdfb..d988bafa6f6 100644
39 --- a/sys-apps/util-linux/util-linux-2.32-r3.ebuild
40 +++ b/sys-apps/util-linux/util-linux-2.32-r4.ebuild
41 @@ -3,7 +3,7 @@
42
43 EAPI=6
44
45 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
46 +PYTHON_COMPAT=( python2_7 )
47
48 inherit toolchain-funcs libtool flag-o-matic bash-completion-r1 \
49 pam python-single-r1 multilib-minimal multiprocessing systemd
50 @@ -216,6 +216,14 @@ multilib_src_install_all() {
51 newpamd "${FILESDIR}/runuser.pamd" runuser
52 newpamd "${FILESDIR}/runuser-l.pamd" runuser-l
53 fi
54 +
55 + # Note:
56 + # Bash completion for "runuser" command is provided by same file which
57 + # would also provide bash completion for "su" command. However, we don't
58 + # use "su" command from this package.
59 + # This triggers a known QA warning which we ignore for now to magically
60 + # keep bash completion for "su" command which shadow package does not
61 + # provide.
62 }
63
64 pkg_postinst() {