Skip to contentSkip to conversation

gyp: update to fcd686f1880f

PATCH New André Draszik 1 participant 2 messages Nov 10, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 gyp: update to fcd686f1880f

This brings a few python3 fixes:
fcd686f1 (origin/master, origin/HEAD, master) Add .tbd to the .xcodeproj generator’s extension map a8921fca fix encoding issues with inputs for better Python 3 support
12ef00df fix make output checks under C locale
aca1e2c3 Fix Python 3 incompatibilities
4f1618ab Add missing b'' qualifier from da63cb0f.
da63cb0f Misc python3 fixes in xcode_emulation.
5c270f76 Fix incorrect depfile path relativization
9f2a7bb1 Add flake8 checks to travis configuration.

---
 meta-python/recipes-devtools/gyp/gyp_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/gyp/gyp_git.bb +1 -1
index 2b3f3fb2b..61f3c8637 100644
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=ab828cb8ce4c62ee82945a11247b6bbd"
 SECTION = "devel"
 
 SRC_URI = "git://chromium.googlesource.com/external/gyp;protocol=https"
-SRCREV = "8bee09f4a57807136593ddc906b0b213c21f9014"
+SRCREV = "fcd686f1880fa52a1ee78d3e98af1b88cb334528"
 
 S = "${WORKDIR}/git"
 PV = "0.1+git${SRCPV}"
Signature · 1 line
2.23.0.rc1
#1 lore raw

PATCH 2/2 gyp: provide a python2 version of gyp as gyp-py2

Doing so will allow us to change the NodeJS build to use the system gyp, rather than its own copy. NodeJS still uses python2, and imports parts of gyp directly.
Also note that Debian only provides a python2 version.

---
 meta-python/recipes-devtools/gyp/gyp-py2_git.bb |  2 ++
 meta-python/recipes-devtools/gyp/gyp.inc        | 13 +++++++++++++
 meta-python/recipes-devtools/gyp/gyp_git.bb     | 15 +--------------
 3 files changed, 16 insertions(+), 14 deletions(-)
 create mode 100644 meta-python/recipes-devtools/gyp/gyp-py2_git.bb
 create mode 100644 meta-python/recipes-devtools/gyp/gyp.inc
meta-python/recipes-devtools/gyp/gyp-py2_git.bb new file +2 -0
new file mode 100644
index 000000000..d69b92ce6
@@ -0,0 +1,2 @@
+inherit setuptools
+require gyp.inc
meta-python/recipes-devtools/gyp/gyp.inc new file +13 -0
new file mode 100644
index 000000000..98ed42cc9
@@ -0,0 +1,13 @@
+DESCRIPTION = "GYP is a Meta-Build system: a build system that generates other build systems."
+HOMEPAGE = "https://gyp.gsrc.io/"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=ab828cb8ce4c62ee82945a11247b6bbd"
+SECTION = "devel"
+
+SRC_URI = "git://chromium.googlesource.com/external/gyp;protocol=https"
+SRCREV = "fcd686f1880fa52a1ee78d3e98af1b88cb334528"
+
+S = "${WORKDIR}/git"
+PV = "0.1+git${SRCPV}"
+
+BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/gyp/gyp_git.bb +1 -14
index 61f3c8637..8e48a27fa 100644
@@ -1,15 +1,2 @@
-DESCRIPTION = "GYP is a Meta-Build system: a build system that generates other build systems."
-HOMEPAGE = "https://gyp.gsrc.io/"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=ab828cb8ce4c62ee82945a11247b6bbd"
-SECTION = "devel"
-
-SRC_URI = "git://chromium.googlesource.com/external/gyp;protocol=https"
-SRCREV = "fcd686f1880fa52a1ee78d3e98af1b88cb334528"
-
-S = "${WORKDIR}/git"
-PV = "0.1+git${SRCPV}"
-
 inherit setuptools3
-
-BBCLASSEXTEND = "native nativesdk"
+require gyp.inc
Signature · 1 line
2.23.0.rc1