1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-01 14:55:55 +02:00

gnu: python: Refactor module.

* gnu/packages/python.scm
(common-python-phases): New variable, encompassing phases used both in
all python packages.  Add a warning comment.
(common-python3-phases): New variable, encompassing phases used in all
python@3 packages.  Add a warning comment.
(python-2.7)[arguments]<#:phases>: Modify them
from (common-python-phases) base.
(python-3.10)[arguments]: Avoid substituting python-2.7 arguments.
<#:configure-flags>: ...except here, which is fine since it's not
further inherited.
<#:phases>: Modify them from (common-python3-phases) base.
(python-3.11)[arguments]<#:phases>: Modify them
from (common-python3-phases) base.
(python-2.7)[arguments]<#:phases>: Modify them
from (common-python3-phases) base.
This commit is contained in:
Nicolas Graves
2026-01-17 14:27:18 +01:00
committed by Sharlatan Hellseher
parent 6a84f6c2a9
commit aeaa81a9f0
+325 -705
View File
File diff suppressed because it is too large Load Diff