mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-15 06:45:32 +01:00
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. Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
c278b70198
commit
b877b19381
2
meta-python/recipes-devtools/gyp/gyp-py2_git.bb
Normal file
2
meta-python/recipes-devtools/gyp/gyp-py2_git.bb
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
inherit setuptools
|
||||
require gyp.inc
|
||||
13
meta-python/recipes-devtools/gyp/gyp.inc
Normal file
13
meta-python/recipes-devtools/gyp/gyp.inc
Normal file
|
|
@ -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"
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user