Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap-ng/
Date: Fri, 14 Aug 2020 23:22:32
Message-Id: 1597447295.8b78a2bf52cd04def3279d150b8117b738c70d08.asturm@gentoo
1 commit: 8b78a2bf52cd04def3279d150b8117b738c70d08
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 3 21:25:55 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 14 23:21:35 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b78a2bf
7
8 sys-libs/libcap-ng: Drop superfluous calls to python_is_python3
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild | 7 +------
13 1 file changed, 1 insertion(+), 6 deletions(-)
14
15 diff --git a/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild b/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
16 index f19dc4e73c8..ffc8687f1aa 100644
17 --- a/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
18 +++ b/sys-libs/libcap-ng/libcap-ng-0.7.10.ebuild
19 @@ -44,12 +44,7 @@ src_configure() {
20 # set up python bindings build(s)
21 if use python ; then
22 setup_python_flags_configure() {
23 - if python_is_python3; then
24 - pythonconf=( --without-python --with-python3 )
25 - else
26 - pythonconf=( --with-python --without-python3 )
27 - local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
28 - fi
29 + pythonconf=( --without-python --with-python3 )
30 run_in_build_dir econf "${pythonconf[@]}" "${myconf[@]}"
31 }