package/scons: switch from distutils to setuptools
PATCH 1/1 package/scons: switch from distutils to setuptools
distutils will be dropped with python 3.12.
Remove no longer required --install-lib install option which was originally added in b08979477d65203b9b90c88d2a00246342c0b56a to work around a gentoo bug which predates scons using our python infrastructure and is unlikely to be relevant at all anymore.
--- package/scons/scons.mk | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
package/scons/scons.mk +1 -4
@@ -8,10 +8,7 @@ SCONS_VERSION = 3.1.2 SCONS_SITE = http://downloads.sourceforge.net/project/scons/scons/$(SCONS_VERSION) SCONS_LICENSE = MIT SCONS_LICENSE_FILES = LICENSE.txt -SCONS_SETUP_TYPE = distutils - -HOST_SCONS_INSTALL_OPTS = \ - --install-lib=$(HOST_DIR)/lib/scons-$(SCONS_VERSION) +SCONS_SETUP_TYPE = setuptools $(eval $(host-python-package))
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
James, All,
On 2023-10-01 03:16 -0600, James Hilliard spake thusly:
Quoted 8 lines
distutils will be dropped with python 3.12.
Remove no longer required --install-lib install option which was originally added in
b08979477d65203b9b90c88d2a00246342c0b56ato work around a gentoo bug which predates scons using our python infrastructure and is unlikely to be relevant at all anymore.Signed-off-by James Hilliard <[email protected]>
scons has been bumped and switched to setuptools by Adam in commit ab3d5a5f5e9b (package/scons: bump version to 4.5.2), now.
So this patch no longer applies and is no longer needed.
Thanks!
Regards,
Yann E. MORIN.
Quoted 27 lines
--- package/scons/scons.mk | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)package/scons/scons.mk +1
-4@@ -8,10 +8,7 @@ SCONS_VERSION = 3.1.2 SCONS_SITE = http://downloads.sourceforge.net/project/scons/scons/$(SCONS_VERSION) SCONS_LICENSE = MIT SCONS_LICENSE_FILES = LICENSE.txt -SCONS_SETUP_TYPE = distutils - -HOST_SCONS_INSTALL_OPTS = \ - --install-lib=$(HOST_DIR)/lib/scons-$(SCONS_VERSION) +SCONS_SETUP_TYPE = setuptools $(eval $(host-python-package))Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot