Gentoo Archives: gentoo-user

From: Philip Webb <purslow@××××××××.net>
To: Gentoo User <gentoo-user@l.g.o>
Subject: [gentoo-user] problem dropping Python 2.7
Date: Thu, 12 Sep 2019 04:36:22
Message-Id: 20190912043611.GU2327@ca.inter.net
1 I've been trying to eliminate Python 2.7
2 & have dropped the 'TARGETS' lines from 'make.conf', leaving only 3.6 ,
3 but it seems that a number of pkgs still require it :
4
5 root:762 ~> emerge -cpv python:2.7
6 Calculating dependencies... done!
7 dev-lang/python-2.7.15 pulled in by:
8 dev-lang/spidermonkey-60.5.2_p0-r2 requires >=dev-lang/python-2.7.5-r2:2.7[ncurses,sqlite,ssl,threads]
9 dev-lang/yasm-1.3.0 requires >=dev-lang/python-2.7.5-r2:2.7
10 dev-libs/libxml2-2.9.9-r1 requires >=dev-lang/python-2.7.5-r2:2.7[xml]
11 dev-libs/libxslt-1.1.33-r1 requires >=dev-lang/python-2.7.5-r2:2.7[xml]
12 dev-python/enum34-1.1.6-r1 requires >=dev-lang/python-2.7.5-r2:2.7
13 dev-qt/qtwebkit-5.212.0_pre20180120 requires >=dev-lang/python-2.7.5-r2:2.7
14 dev-util/boost-build-1.65.0 requires >=dev-lang/python-2.7.5-r2:2.7
15 net-mail/fetchmail-6.3.26-r4 requires >=dev-lang/python-2.7.5-r2:2.7[tk]
16 net-print/cups-2.2.12 requires >=dev-lang/python-2.7.5-r2:2.7
17 sys-devel/llvm-7.1.0 requires >=dev-lang/python-2.7.5-r2:2.7
18 www-client/firefox-60.8.0 requires dev-lang/python:2.7[ncurses,sqlite,ssl,threads(+)]
19 >>> No packages selected for removal by depclean
20
21 I've already remerged 'firefox' + 'spidermonkey' with the new 'make.conf',
22 but they still appear above.
23
24 When I check via 'eix --installed-with-use python_targets_python2_7',
25 it lists 8 pkgs :
26
27 python-exec yasm libxml2 libxslt enum34 boost-build fetchmail cups
28
29 When I try to remerge eg 'libxslt', I'm told :
30
31 root:767 ~> emerge -pv libxslt
32 These are the packages that would be merged, in order:
33 Calculating dependencies |
34 !!! Problem resolving dependencies for dev-libs/libxslt
35 ... done!
36 !!! The ebuild selected to satisfy "libxslt" has unmet requirements.
37 - dev-libs/libxslt-1.1.33-r1::gentoo USE="crypt -debug -examples python -static-libs" ABI_X86="-32 (64) (-x32)" PYTHON_TARGETS="-python2_7"
38 The following REQUIRED_USE flag constraints are unsatisfied:
39 python? ( python_targets_python2_7 )
40 The above constraints are a subset of the following complete expression:
41 python? ( any-of ( python_targets_python2_7 ) )
42
43 'libxslt-1.1.33-r1.ebuild' does in fact say "PYTHON_COMPAT=( python2_7 )".
44
45 Can anyone suggest a solution ?
46
47 --
48 ========================,,============================================
49 SUPPORT ___________//___, Philip Webb
50 ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto
51 TRANSIT `-O----------O---' purslowatchassdotutorontodotca

Replies

Subject Author
[gentoo-user] Re: problem dropping Python 2.7 Nikos Chantziaras <realnc@×××××.com>