summaryrefslogtreecommitdiff
path: root/dev-lang/python/python-3.12.0_alpha3-r1.ebuild
AgeCommit message (Collapse)Author
2023-01-28dev-lang/python: Remove oldMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2022-12-29dev-lang/python: Fix cross-compiling for prefixed systemsJames Le Cuirot
Cross-compiling Python involves doing a native build first. The prefix profile prefixifies setup.py, but this has been done before the native build when it needs to be done after. Handle this in the ebuild with hprefixify instead of with sed in the profile. Also drop some other obsolete Python prefix hacks from the profile. Signed-off-by: James Le Cuirot <chewi@gentoo.org>
2022-12-13dev-lang/python: Fix installing lib-dynload in 3.12Michał Górny
The Makefile rules are broken and fail to create the necessary directories in DESTDIR if they are already present on the live system. They also fail to handle install(1) errors. Therefore, if Python 3.12 was already installed in the system, the ebuild did not create lib-dynload directory in DESTDIR, then failed to install extension modules there and happily created a broken Python distribution. Just create the directory early in the ebuild to workaround the problem until upstream figures out how to fix the problem. Signed-off-by: Michał Górny <mgorny@gentoo.org>