summaryrefslogtreecommitdiff
path: root/eclass/python-any-r1.eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-02-04 22:51:22 +0100
committerMichał Górny <mgorny@gentoo.org>2022-02-09 09:43:55 +0100
commitae26acc2328b9e9b832c8dee53dcc571d77a27f2 (patch)
tree82e2678e0dc85f0dd8f62dc340522684a472d84a /eclass/python-any-r1.eclass
parent0cc9d3cc4fab252b0782b8debaeb8408a7c7812f (diff)
downloadgentoo-ae26acc2328b9e9b832c8dee53dcc571d77a27f2.tar.gz
gentoo-ae26acc2328b9e9b832c8dee53dcc571d77a27f2.tar.bz2
gentoo-ae26acc2328b9e9b832c8dee53dcc571d77a27f2.zip
python-utils-r1.eclass: Support matching impls by stdlib version
Update _python_impl_matches() (used to implement python_gen*, python_setup) to support specifying stdlib versions ("3.8", "3.9") in addition to exact implementation names. This makes handling PyPy3 version changes much easier when dealing with backports. For example, if you specify "3.8", then the spec will match python3_8 and pypy3, for as long as we supply PyPy3.8. Once we upgrade to PyPy3.9 completely, it will stop matching pypy3 and we won't have to manually keep updating these deps. Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/python-any-r1.eclass')
0 files changed, 0 insertions, 0 deletions