Gentoo Archives: gentoo-user

From: Alexander Kurakin <kuraga333@××××.ru>
To: gentoo-user@l.g.o
Subject: [gentoo-user] About python_ge­n_cond_dep
Date: Mon, 29 Aug 2022 09:15:08
Message-Id: 1661764499.757596916@f553.i.mail.ru
1 As known, `python_ge­n_cond_dep` is for single implementation packages (either `p­ython-single-r1` or `distutils-r1` with `DISTUTILS_SINGLE_IM­PL=1`) where we're depending on Python packages which support multiple dependenc­ies. (Thanks Sam Jam­es.)
2
3 But in dev-python/tw­isted [1] we have bo­th: without `python_­gen_cond_dep` (line 27) and with `python­_gen_cond_dep` (line 58). Both of these dependencies are `PY­THON_COMPAT=( python­3_{8..11} pypy3 )` + `inherit distutils-­r1` + no set for `DI­STUTILS_SINGLE_IMPL`: [2], [3].
4
5 What's the differenc­e? Thanks!
6
7 Sincerely,
8 Alexander Kurakin.
9 ---
10
11 [1]: https://gitweb.gento­o.org/repo/gentoo.gi­t/tree/dev-python/tw­isted/twisted-22.4.0­-r2.ebuild
12 [2]: https://gitweb.gento­o.org/repo/gentoo.gi­t/tree/dev-python/zo­pe-interface/zope-in­terface-5.4.0-r2.ebu­ild
13 [3]: https://gitweb.gento­o.org/repo/gentoo.gi­t/tree/dev-python/ap­pdirs/appdirs-1.4.4-­r2.ebuild

Replies

Subject Author
Re: [gentoo-user] About python_ge­n_cond_dep Bryan Gardiner <bog@××××××.net>