Gentoo Archives: gentoo-user

From: n952162 <n952162@×××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] override PYTHON_TARGETS to avoid a slot collision
Date: Wed, 16 Dec 2020 10:23:53
Message-Id: 361f9fda-9b2c-5e40-2b2e-28c35e52056b@web.de
1 In an update with several slot collisions (see attachment),  I'm
2 zero-ing in on the simplest, where a package is to be replaced by the
3 same package, but with different PYTHON_TARGETS (at least, that's how I
4 interpret it).
5
6 Is there a way to force the PYTHON_TARGETS of the dependency?
7
8 Slot collision:
9
10 dev-python/jinja:0
11
12   (dev-python/jinja-2.11.2-r1:0/0::gentoo, ebuild scheduled for merge)
13 USE="-doc -examples -test" ABI_X86="(64)" PYTHON_TARGETS="*python3_8
14 python3_9 (-pypy3) -python3_6 -python3_7*" pulled in by
15 dev-python/jinja[python_targets_python3_9(-),python_single_target_python3_9(+)]
16 required by (sys-auth/pambase-20201103:0/0::gentoo, ebuild scheduled for
17 merge) USE="nullok passwdqc sha512 -caps -debug -elogind -gnome-keyring
18 -minimal -mktemp -pam_krb5 -pam_ssh -pwhistory -pwquality -securetty
19 (-selinux) -systemd" ABI_X86="(64)"
20
21
22     dev-python/jinja (Argument)
23
24   (dev-python/jinja-2.11.2-r1:0/0::gentoo, installed) USE="-doc
25 -examples -test" ABI_X86="(64)" PYTHON_TARGETS="*python3_7 (-pypy3)
26 -python3_6 -python3_8 -python3_9*" pulled in by
27 dev-python/jinja[python_targets_pypy3(-)?,python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,-python_single_target_pypy3(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)]
28 required by (dev-python/sphinx-3.2.1:0/0::gentoo, installed) USE="-doc
29 -latex -test" ABI_X86="(64)" PYTHON_TARGETS="python3_7 (-pypy3)
30 -python3_6 -python3_8 -python3_9"
31
32 If the package was good enough before, it's likely still good enough. 
33 Where's the problem?  I've (unsuccessfully) made these attempts:
34
35 # */* PYTHON_TARGETS: python3_6 python3_7 python3_8 python3_9
36 #*/* PYTHON_TARGETS: -python3_6 -python3_7 python3_8 python3_9
37 # just have one set
38 */* PYTHON_TARGETS: python3_8
39
40 The sphinx ebuild has no targets, but does have this:
41
42 PYTHON_COMPAT=( python3_{6..9} pypy3 )
43
44 The emerge command was:
45
46 sudo emerge --verbose=y -vuUD --verbose-conflicts  
47 dev-python/setuptools dev-python/setuptools_scm dev-python/certifi
48 dev-python/markupsafe dev-python/jinja dev-libs/libxml2

Attachments

File name MIME type
jinja-part.201216 text/plain

Replies

Subject Author
Re: [gentoo-user] override PYTHON_TARGETS to avoid a slot collision Miles Malone <m.malone@××××××××××××××××××.net>
Re: [gentoo-user] override PYTHON_TARGETS to avoid a slot collision bobwxc <bobwxc@××.com>