[gentoo-dev] [PATCH] python-utils-r1.eclass: Redo cross-prefix support using sysconfig

2023-08-25 Thread James Le Cuirot
We recently supported cross-prefix by rewriting PYTHON_SITEDIR and PYTHON_INCLUDEDIR from BROOT to EPREFIX. We now know that you can get sysconfig to use EPREFIX in the first place, which is cleaner. Signed-off-by: James Le Cuirot --- eclass/python-utils-r1.eclass | 14 ++ 1 file cha

Re: [gentoo-dev] [PATCH] python-utils-r1.eclass: Redo cross-prefix support using sysconfig

2023-08-25 Thread Michał Górny
On Fri, 2023-08-25 at 22:18 +0100, James Le Cuirot wrote: > We recently supported cross-prefix by rewriting PYTHON_SITEDIR and > PYTHON_INCLUDEDIR from BROOT to EPREFIX. We now know that you can get > sysconfig to use EPREFIX in the first place, which is cleaner. > > Signed-off-by: James Le Cuirot

Re: [gentoo-dev] [PATCH] python-utils-r1.eclass: Redo cross-prefix support using sysconfig

2023-08-25 Thread Michał Górny
On Sat, 2023-08-26 at 06:09 +0200, Michał Górny wrote: > On Fri, 2023-08-25 at 22:18 +0100, James Le Cuirot wrote: > > We recently supported cross-prefix by rewriting PYTHON_SITEDIR and > > PYTHON_INCLUDEDIR from BROOT to EPREFIX. We now know that you can get > > sysconfig to use EPREFIX in the fir