summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-01-19 16:33:15 -0800
committerKhem Raj <raj.khem@gmail.com>2020-01-22 09:56:34 -0800
commit505774658338002a92c2e32c4c57c55f36c5e36e (patch)
treec5d1032aac37af7493141cdfa56da5b371ce5a59 /meta-oe/recipes-devtools
parent66454b26ff49c6cca3dd8d32832078cfa05cd5ef (diff)
downloadmeta-openembedded-505774658338002a92c2e32c4c57c55f36c5e36e.tar.gz
meta-oe: Remove using python2
This change makes the parsing go though, we still might have build issues, which will be reported in world builds seprately Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools')
-rw-r--r--meta-oe/recipes-devtools/guider/guider_3.9.6.bb6
-rw-r--r--meta-oe/recipes-devtools/nanopb/nanopb_0.4.0.bb2
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs_10.17.0.bb2
-rw-r--r--meta-oe/recipes-devtools/php/php_7.3.11.bb2
-rw-r--r--meta-oe/recipes-devtools/python/python-cpuset_1.6.bb18
-rw-r--r--meta-oe/recipes-devtools/python/python-distutils-extra.bb7
-rw-r--r--meta-oe/recipes-devtools/python/python-futures_3.3.0.bb13
-rw-r--r--meta-oe/recipes-devtools/python/python-jsmin_2.2.2.bb11
-rw-r--r--meta-oe/recipes-devtools/python/python-pytoml.inc12
-rw-r--r--meta-oe/recipes-devtools/python/python-pytoml_0.1.21.bb2
-rw-r--r--meta-oe/recipes-devtools/python/python-six_1.13.0.bb2
-rw-r--r--meta-oe/recipes-devtools/python/python-which_1.1.0.bb19
-rw-r--r--meta-oe/recipes-devtools/python/python3-pygobject/0001-python-pyobject-fix-install-dir.patch (renamed from meta-oe/recipes-devtools/python/python-pygobject/0001-python-pyobject-fix-install-dir.patch)0
-rw-r--r--meta-oe/recipes-devtools/python/python3-pygobject_3.34.0.bb (renamed from meta-oe/recipes-devtools/python/python-pygobject_3.34.0.bb)11
-rw-r--r--meta-oe/recipes-devtools/sip/sip_4.19.19.bb2
-rw-r--r--meta-oe/recipes-devtools/yasm/yasm_git.bb2
16 files changed, 13 insertions, 98 deletions
diff --git a/meta-oe/recipes-devtools/guider/guider_3.9.6.bb b/meta-oe/recipes-devtools/guider/guider_3.9.6.bb
index 0057db661c..c8ddb15080 100644
--- a/meta-oe/recipes-devtools/guider/guider_3.9.6.bb
+++ b/meta-oe/recipes-devtools/guider/guider_3.9.6.bb
@@ -16,7 +16,7 @@ SRCREV = "fef25c41efb9bde0614ea477d0b90bd9565ae0b4"
16S = "${WORKDIR}/git" 16S = "${WORKDIR}/git"
17R = "${RECIPE_SYSROOT}" 17R = "${RECIPE_SYSROOT}"
18 18
19inherit distutils 19inherit distutils3
20 20
21GUIDER_OBJ = "guider.pyc" 21GUIDER_OBJ = "guider.pyc"
22GUIDER_SCRIPT = "guider" 22GUIDER_SCRIPT = "guider"
@@ -31,5 +31,5 @@ do_install() {
31 install -v -m 0755 ${STAGING_LIBDIR_NATIVE}/python${PYTHON_BASEVERSION}/site-packages/${BPN}/${GUIDER_OBJ} ${D}${datadir}/${BPN}/${GUIDER_OBJ} 31 install -v -m 0755 ${STAGING_LIBDIR_NATIVE}/python${PYTHON_BASEVERSION}/site-packages/${BPN}/${GUIDER_OBJ} ${D}${datadir}/${BPN}/${GUIDER_OBJ}
32} 32}
33 33
34RDEPENDS_${PN} = "python-ctypes python-shell \ 34RDEPENDS_${PN} = "python3-ctypes python3-shell \
35 python-json python-subprocess" 35 python3-json python3-subprocess"
diff --git a/meta-oe/recipes-devtools/nanopb/nanopb_0.4.0.bb b/meta-oe/recipes-devtools/nanopb/nanopb_0.4.0.bb
index aedd53a7a4..dc270eab3e 100644
--- a/meta-oe/recipes-devtools/nanopb/nanopb_0.4.0.bb
+++ b/meta-oe/recipes-devtools/nanopb/nanopb_0.4.0.bb
@@ -9,7 +9,7 @@ SRCREV = "70f0de9877b1ce12abc0229d5df84db6349fcbfc"
9 9
10S = "${WORKDIR}/git" 10S = "${WORKDIR}/git"
11 11
12inherit cmake pythonnative 12inherit cmake python3native
13 13
14do_install_append() { 14do_install_append() {
15 install -Dm 0755 ${S}/generator/nanopb_generator.py ${D}${bindir}/nanopb_generator.py 15 install -Dm 0755 ${S}/generator/nanopb_generator.py ${D}${bindir}/nanopb_generator.py
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_10.17.0.bb b/meta-oe/recipes-devtools/nodejs/nodejs_10.17.0.bb
index 71a47636b0..a9ca58f8bc 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs_10.17.0.bb
+++ b/meta-oe/recipes-devtools/nodejs/nodejs_10.17.0.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=be980eb7ccafe287cb438076a65e888c"
6DEPENDS = "openssl" 6DEPENDS = "openssl"
7DEPENDS_append_class-target = " nodejs-native" 7DEPENDS_append_class-target = " nodejs-native"
8 8
9inherit pkgconfig pythonnative 9inherit pkgconfig python3native
10 10
11COMPATIBLE_MACHINE_armv4 = "(!.*armv4).*" 11COMPATIBLE_MACHINE_armv4 = "(!.*armv4).*"
12COMPATIBLE_MACHINE_armv5 = "(!.*armv5).*" 12COMPATIBLE_MACHINE_armv5 = "(!.*armv5).*"
diff --git a/meta-oe/recipes-devtools/php/php_7.3.11.bb b/meta-oe/recipes-devtools/php/php_7.3.11.bb
index e7fb847fa9..0e76cbf75c 100644
--- a/meta-oe/recipes-devtools/php/php_7.3.11.bb
+++ b/meta-oe/recipes-devtools/php/php_7.3.11.bb
@@ -37,7 +37,7 @@ S = "${WORKDIR}/php-${PV}"
37SRC_URI[md5sum] = "21b710b4126d4d54714de9693a6c7b0d" 37SRC_URI[md5sum] = "21b710b4126d4d54714de9693a6c7b0d"
38SRC_URI[sha256sum] = "92d1ff4b13c7093635f1ec338a5e6891ca99b10e65fbcadd527e5bb84d11b5e7" 38SRC_URI[sha256sum] = "92d1ff4b13c7093635f1ec338a5e6891ca99b10e65fbcadd527e5bb84d11b5e7"
39 39
40inherit autotools pkgconfig pythonnative gettext 40inherit autotools pkgconfig python3native gettext
41 41
42# phpize is not scanned for absolute paths by default (but php-config is). 42# phpize is not scanned for absolute paths by default (but php-config is).
43# 43#
diff --git a/meta-oe/recipes-devtools/python/python-cpuset_1.6.bb b/meta-oe/recipes-devtools/python/python-cpuset_1.6.bb
deleted file mode 100644
index 1255a51f75..0000000000
--- a/meta-oe/recipes-devtools/python/python-cpuset_1.6.bb
+++ /dev/null
@@ -1,18 +0,0 @@
1SUMMARY = "Cpuset is a Python application to make using the cpusets facilities in the Linux kernel easier"
2SECTION = "devel/python"
3LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
5
6S = "${WORKDIR}/git"
7SRCREV = "6c46d71a1c6ee711063153b9f7787280128f7252"
8SRC_URI = "git://github.com/lpechacek/cpuset.git;protocol=https;"
9
10inherit distutils
11
12RDEPENDS_${PN} = "\
13 python-core \
14 python-re \
15 python-logging \
16 python-textutils \
17 python-unixadmin \
18 "
diff --git a/meta-oe/recipes-devtools/python/python-distutils-extra.bb b/meta-oe/recipes-devtools/python/python-distutils-extra.bb
deleted file mode 100644
index eb84f74365..0000000000
--- a/meta-oe/recipes-devtools/python/python-distutils-extra.bb
+++ /dev/null
@@ -1,7 +0,0 @@
1require python-distutils-extra.inc
2
3inherit setuptools
4
5RDEPENDS_${PN} = "\
6 python-distutils \
7"
diff --git a/meta-oe/recipes-devtools/python/python-futures_3.3.0.bb b/meta-oe/recipes-devtools/python/python-futures_3.3.0.bb
deleted file mode 100644
index 1636f7371d..0000000000
--- a/meta-oe/recipes-devtools/python/python-futures_3.3.0.bb
+++ /dev/null
@@ -1,13 +0,0 @@
1DESCRIPTION = "The concurrent.futures module provides a high-level interface for asynchronously executing callables."
2SECTION = "devel/python"
3LICENSE = "PSF"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=834d982f973c48b6d662b5944c5ab567"
5HOMEPAGE = "https://github.com/agronholm/pythonfutures"
6DEPENDS = "python"
7
8SRC_URI[md5sum] = "b43a39ae1475e3fd6940f2b4f7214675"
9SRC_URI[sha256sum] = "7e033af76a5e35f58e56da7a91e687706faf4e7bdfb2cbc3f2cca6b9bcda9794"
10
11inherit pypi setuptools
12
13BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-devtools/python/python-jsmin_2.2.2.bb b/meta-oe/recipes-devtools/python/python-jsmin_2.2.2.bb
deleted file mode 100644
index d00d1e2a08..0000000000
--- a/meta-oe/recipes-devtools/python/python-jsmin_2.2.2.bb
+++ /dev/null
@@ -1,11 +0,0 @@
1DESCRIPTION = "JavaScript minifier."
2HOMEPAGE = "https://github.com/tikitu/jsmin/"
3SECTION = "devel/python"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3a3301ce2ad647e172f4a1016c67324d"
6
7inherit setuptools pypi
8SRC_URI[md5sum] = "00e7a3179a4591aab2ee707b3214e2fd"
9SRC_URI[sha256sum] = "b6df99b2cd1c75d9d342e4335b535789b8da9107ec748212706ef7bbe5c2553b"
10
11BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-devtools/python/python-pytoml.inc b/meta-oe/recipes-devtools/python/python-pytoml.inc
deleted file mode 100644
index 180531d750..0000000000
--- a/meta-oe/recipes-devtools/python/python-pytoml.inc
+++ /dev/null
@@ -1,12 +0,0 @@
1SUMMARY = "A TOML-0.4.0 parser/writer for Python"
2HOMEPAGE = "https://pypi.python.org/pypi/pytoml/"
3SECTION = "devel/python"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=cfff423699bdaef24331933ac4f56078"
6
7SRC_URI[md5sum] = "e59dd36a559dd2a876e4c149c69e947b"
8SRC_URI[sha256sum] = "8eecf7c8d0adcff3b375b09fe403407aa9b645c499e5ab8cac670ac4a35f61e7"
9
10inherit pypi
11
12BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-devtools/python/python-pytoml_0.1.21.bb b/meta-oe/recipes-devtools/python/python-pytoml_0.1.21.bb
deleted file mode 100644
index 88fa95317f..0000000000
--- a/meta-oe/recipes-devtools/python/python-pytoml_0.1.21.bb
+++ /dev/null
@@ -1,2 +0,0 @@
1inherit pypi setuptools
2require python-pytoml.inc
diff --git a/meta-oe/recipes-devtools/python/python-six_1.13.0.bb b/meta-oe/recipes-devtools/python/python-six_1.13.0.bb
deleted file mode 100644
index af26e83d60..0000000000
--- a/meta-oe/recipes-devtools/python/python-six_1.13.0.bb
+++ /dev/null
@@ -1,2 +0,0 @@
1inherit pypi setuptools
2require recipes-devtools/python/python-six.inc
diff --git a/meta-oe/recipes-devtools/python/python-which_1.1.0.bb b/meta-oe/recipes-devtools/python/python-which_1.1.0.bb
deleted file mode 100644
index 901fdc7637..0000000000
--- a/meta-oe/recipes-devtools/python/python-which_1.1.0.bb
+++ /dev/null
@@ -1,19 +0,0 @@
1DESCRIPTION = "which.py -- a portable GNU which replacement"
2HOMEPAGE = "http://code.google.com/p/which/"
3SECTION = "devel/python"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=030b09798681482b9ad12ac47be496ea"
6
7inherit setuptools pypi python-dir
8
9SRCREV = "425bdeeb2d87c36e2313dc4b8d69ff2bb5a02ee9"
10PYPI_SRC_URI = "git://github.com/trentm/which"
11
12S = "${WORKDIR}/git"
13
14do_install_append() {
15 rmdir -p --ignore-fail-on-non-empty ${D}${STAGING_BINDIR_NATIVE}
16 rmdir -p --ignore-fail-on-non-empty ${D}${datadir}
17}
18
19BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-devtools/python/python-pygobject/0001-python-pyobject-fix-install-dir.patch b/meta-oe/recipes-devtools/python/python3-pygobject/0001-python-pyobject-fix-install-dir.patch
index 848cda5aad..848cda5aad 100644
--- a/meta-oe/recipes-devtools/python/python-pygobject/0001-python-pyobject-fix-install-dir.patch
+++ b/meta-oe/recipes-devtools/python/python3-pygobject/0001-python-pyobject-fix-install-dir.patch
diff --git a/meta-oe/recipes-devtools/python/python-pygobject_3.34.0.bb b/meta-oe/recipes-devtools/python/python3-pygobject_3.34.0.bb
index 0cbd07f666..b016df7198 100644
--- a/meta-oe/recipes-devtools/python/python-pygobject_3.34.0.bb
+++ b/meta-oe/recipes-devtools/python/python3-pygobject_3.34.0.bb
@@ -5,14 +5,13 @@ LICENSE = "LGPLv2.1"
5LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" 5LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
6 6
7GNOMEBASEBUILDCLASS = "meson" 7GNOMEBASEBUILDCLASS = "meson"
8inherit gnomebase gobject-introspection distutils-base upstream-version-is-even 8inherit gnomebase gobject-introspection distutils3-base upstream-version-is-even
9 9
10DEPENDS += "python glib-2.0" 10DEPENDS += "python3 glib-2.0"
11 11
12SRCNAME = "pygobject" 12SRCNAME = "pygobject"
13SRC_URI = " \ 13SRC_URI = " \
14 http://ftp.gnome.org/pub/GNOME/sources/${SRCNAME}/${@gnome_verdir("${PV}")}/${SRCNAME}-${PV}.tar.xz \ 14 http://ftp.gnome.org/pub/GNOME/sources/${SRCNAME}/${@gnome_verdir("${PV}")}/${SRCNAME}-${PV}.tar.xz \
15 file://0001-python-pyobject-fix-install-dir.patch \
16" 15"
17 16
18SRC_URI[md5sum] = "ca1dc4f31c1d6d283758e8f315a88ab6" 17SRC_URI[md5sum] = "ca1dc4f31c1d6d283758e8f315a88ab6"
@@ -22,12 +21,12 @@ S = "${WORKDIR}/${SRCNAME}-${PV}"
22 21
23UNKNOWN_CONFIGURE_WHITELIST = "introspection" 22UNKNOWN_CONFIGURE_WHITELIST = "introspection"
24 23
25PACKAGECONFIG ??= "stagedir" 24PACKAGECONFIG ??= ""
26 25
27PACKAGECONFIG[cairo] = "-Dpycairo=true,-Dpycairo=false, cairo python-pycairo, python-pycairo" 26PACKAGECONFIG[cairo] = "-Dpycairo=true,-Dpycairo=false, cairo python-pycairo, python-pycairo"
28PACKAGECONFIG[tests] = "-Dtests=true, -Dtests=false, , " 27PACKAGECONFIG[tests] = "-Dtests=true, -Dtests=false, , "
29PACKAGECONFIG[python] = "-Dpython=python3, -Dpython=python2, , " 28
30PACKAGECONFIG[stagedir] = "-Dstagedir=${PYTHON_SITEPACKAGES_DIR}, -Dstagedir="", , " 29EXTRA_OEMESON_append = " -Dpython=python3"
31 30
32BBCLASSEXTEND = "native" 31BBCLASSEXTEND = "native"
33RDEPENDS_${PN} = "python-pkgutil" 32RDEPENDS_${PN} = "python-pkgutil"
diff --git a/meta-oe/recipes-devtools/sip/sip_4.19.19.bb b/meta-oe/recipes-devtools/sip/sip_4.19.19.bb
index 3da15b842b..6299de4874 100644
--- a/meta-oe/recipes-devtools/sip/sip_4.19.19.bb
+++ b/meta-oe/recipes-devtools/sip/sip_4.19.19.bb
@@ -2,7 +2,7 @@ require sip.inc
2 2
3DEPENDS = "python" 3DEPENDS = "python"
4 4
5inherit python-dir pythonnative 5inherit python3-dir python3native
6 6
7PACKAGES += "python-sip" 7PACKAGES += "python-sip"
8 8
diff --git a/meta-oe/recipes-devtools/yasm/yasm_git.bb b/meta-oe/recipes-devtools/yasm/yasm_git.bb
index dc4fbf7f57..53856263f7 100644
--- a/meta-oe/recipes-devtools/yasm/yasm_git.bb
+++ b/meta-oe/recipes-devtools/yasm/yasm_git.bb
@@ -13,7 +13,7 @@ SRC_URI = "git://github.com/yasm/yasm.git"
13 13
14S = "${WORKDIR}/git" 14S = "${WORKDIR}/git"
15 15
16inherit autotools gettext pythonnative 16inherit autotools gettext python3native
17 17
18CACHED_CONFIGUREVARS = "CCLD_FOR_BUILD='${CC_FOR_BUILD}'" 18CACHED_CONFIGUREVARS = "CCLD_FOR_BUILD='${CC_FOR_BUILD}'"
19 19