mirror of
https://github.com/godotengine/buildroot.git
synced 2025-12-31 09:48:56 +03:00
Add Scons4 to the SDK
This commit is contained in:
committed by
Hein-Pieter van Braam
parent
3f944a5dda
commit
1006066adc
@@ -84,6 +84,7 @@ menu "Host utilities"
|
||||
source "package/python-kflash/Config.in.host"
|
||||
source "package/python-lxml/Config.in.host"
|
||||
source "package/python-pyyaml/Config.in.host"
|
||||
source "package/python-scons/Config.in.host"
|
||||
source "package/python-six/Config.in.host"
|
||||
source "package/python-xlrd/Config.in.host"
|
||||
source "package/python3/Config.in.host"
|
||||
|
||||
33
package/python-scons/0001-remove-docs.patch
Normal file
33
package/python-scons/0001-remove-docs.patch
Normal file
@@ -0,0 +1,33 @@
|
||||
diff -urN SCons-4.5.2/MANIFEST.in SCons-4.5.2.new/MANIFEST.in
|
||||
--- SCons-4.5.2/MANIFEST.in 2023-01-24 05:14:53.000000000 +0100
|
||||
+++ SCons-4.5.2.new/MANIFEST.in 2023-10-31 21:31:57.320046155 +0100
|
||||
@@ -1,10 +1,8 @@
|
||||
-recursive-include SCons/Tool/docbook *
|
||||
|
||||
# For license file
|
||||
include LICENSE
|
||||
|
||||
include scons.1 sconsign.1 scons-time.1
|
||||
-recursive-include build/doc/man *.1
|
||||
|
||||
|
||||
|
||||
diff -urN SCons-4.5.2/setup.cfg SCons-4.5.2.new/setup.cfg
|
||||
--- SCons-4.5.2/setup.cfg 2023-03-21 17:11:43.492238000 +0100
|
||||
+++ SCons-4.5.2.new/setup.cfg 2023-10-31 21:32:20.359093931 +0100
|
||||
@@ -55,14 +55,6 @@
|
||||
sconsign = SCons.Utilities.sconsign:main
|
||||
scons-configure-cache = SCons.Utilities.ConfigureCache:main
|
||||
|
||||
-[options.package_data]
|
||||
-* = *.txt, *.rst, *.1
|
||||
-SCons.Tool.docbook = *.*
|
||||
-
|
||||
-[options.data_files]
|
||||
-. = scons.1
|
||||
- scons-time.1
|
||||
- sconsign.1
|
||||
|
||||
[sdist]
|
||||
dist_dir = build/dist
|
||||
|
||||
4
package/python-scons/Config.in.host
Normal file
4
package/python-scons/Config.in.host
Normal file
@@ -0,0 +1,4 @@
|
||||
config BR2_PACKAGE_HOST_PYTHON_SCONS
|
||||
bool "host python-scons"
|
||||
help
|
||||
SCons 4.5.2
|
||||
3
package/python-scons/python-scons.hash
Normal file
3
package/python-scons/python-scons.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally computed:
|
||||
sha256 ce26aac95d350a79a4192196b0beac3cb24f4ccabce0123eb28d3370f576f072 SCons-4.5.2.tar.gz
|
||||
sha256 f4d2b41033399aa4d3459a5e9708be41022381a47ef2dd64adfab714e9d6d39f LICENSE
|
||||
15
package/python-scons/python-scons.mk
Normal file
15
package/python-scons/python-scons.mk
Normal file
@@ -0,0 +1,15 @@
|
||||
################################################################################
|
||||
#
|
||||
# scons
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_SCONS_VERSION = 4.5.2
|
||||
PYTHON_SCONS_SOURCE = SCons-$(PYTHON_SCONS_VERSION).tar.gz
|
||||
PYTHON_SCONS_SITE = https://sourceforge.net/projects/scons/files/scons/$(PYTHON_SCONS_VERSION)
|
||||
PYTHON_SCONS_LICENSE = MIT
|
||||
PYTHON_SCONS_LICENSE_FILES = LICENSE
|
||||
PYTHON_SCONS_SETUP_TYPE = setuptools
|
||||
HOST_PYTHON_SCONS_NEEDS_HOST_PYTHON = python3
|
||||
|
||||
$(eval $(host-python-package))
|
||||
Reference in New Issue
Block a user