Gentoo Archives: gentoo-dev

From: James Le Cuirot <chewi@g.o>
To: gentoo-dev <gentoo-dev@l.g.o>
Subject: [gentoo-dev] [PATCH] Eclass changes for cross-compiling Python modules
Date: Thu, 03 Jan 2019 21:39:52
1 Here's a series of eclass changes I've been working on since August to
2 allow Python modules to be cross-compiled. We previously believed this
3 to be practically impossible without significant changes upstream and
4 in the wider Python ecosystem so getting here feels like quite an
5 achievement. While the approach is a little unconventional, it doesn't
6 feel overly hacky and the results are quite consistently good.
8 These changes should also benefit prefix and I did a full prefix
9 bootstrap for the first time this week just to make sure I didn't
10 break it.
12 A handful of other Python packages that don't quite follow the usual
13 mantra have needed fixing up. I haven't included those changes here
14 but you can view them on this GitHub pull request.
18 Once this is in place, I can finish my long-awaited revamp of my
19 cross-boss project that will allow you to cross-compile @system from
20 scratch with very little effort.


Subject Author
[gentoo-dev] [PATCH 01/12] python-utils-r1.eclass: Fix some double slash paths James Le Cuirot <chewi@g.o>
[gentoo-dev] [PATCH 02/12] python-utils-r1.eclass: New python_fix_shebang approach James Le Cuirot <chewi@g.o>
[gentoo-dev] [PATCH 03/12] python-utils-r1.eclass: Have wrapper workdir default to "impl" arg James Le Cuirot <chewi@g.o>
[gentoo-dev] [PATCH 04/12] python-utils-r1.eclass: Use wrapper scripts to fix cross-compiling James Le Cuirot <chewi@g.o>
[gentoo-dev] [PATCH 05/12] python-utils-r1.eclass: Replace temporary paths in python_fix_shebang James Le Cuirot <chewi@g.o>
[gentoo-dev] [PATCH 06/12] python-utils-r1.eclass: Don't die in python_fix_shebang if all fixed James Le Cuirot <chewi@g.o>
[gentoo-dev] [PATCH 07/12] python-utils-r1.eclass: Add special wrapper handling for Python itself James Le Cuirot <chewi@g.o>
[gentoo-dev] [PATCH 08/12] python-utils-r1.eclass: Adjust wrappers for Python 3.7 libdir change James Le Cuirot <chewi@g.o>
[gentoo-dev] [PATCH 09/12] python-any-r1.eclass: Export PYTHON after checking whether installed James Le Cuirot <chewi@g.o>
[gentoo-dev] [PATCH 10/12] python-any-r1.eclass: Create wrappers against build system's config James Le Cuirot <chewi@g.o>
[gentoo-dev] [PATCH 11/12] distutils-r1.eclass: Fix cross-compiling James Le Cuirot <chewi@g.o>
[gentoo-dev] [PATCH 12/12] distutils-r1.eclass: Make distutils-r1_create_setup_cfg external James Le Cuirot <chewi@g.o>
Re: [gentoo-dev] [PATCH] Eclass changes for cross-compiling Python modules Benda Xu <heroxbd@g.o>
Re: [gentoo-dev] [PATCH] Eclass changes for cross-compiling Python modules "Michał Górny" <mgorny@g.o>