diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2017-04-27 17:28:09 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-05-18 14:01:46 +0100 |
commit | c91c70b5ab3b9e258e093eb75aad2a5151aa96d3 (patch) | |
tree | 411cb5c10fee00b3cf0e93c277753543eea082f7 /meta/recipes-devtools/opkg-utils/opkg-utils_git.bb | |
parent | 4725e56f8b0ec6b485f86c5ee346c6e82d5d4c6f (diff) | |
download | poky-c91c70b5ab3b9e258e093eb75aad2a5151aa96d3.tar.gz |
opkg-utils: move to Python 3
The scripts were fixed to be compatible with py3 some time ago,
but the shebang continued to refer to python 2.x.
(From OE-Core rev: bb5718b631151cff840bcfa171ad4f8326c2132e)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/opkg-utils/opkg-utils_git.bb')
-rw-r--r-- | meta/recipes-devtools/opkg-utils/opkg-utils_git.bb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb index 9deea0f5e5..2460a26324 100644 --- a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb +++ b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb | |||
@@ -4,13 +4,14 @@ SECTION = "base" | |||
4 | HOMEPAGE = "http://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils" | 4 | HOMEPAGE = "http://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils" |
5 | LICENSE = "GPLv2+" | 5 | LICENSE = "GPLv2+" |
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ |
7 | file://opkg.py;beginline=1;endline=18;md5=15917491ad6bf7acc666ca5f7cc1e083" | 7 | file://opkg.py;beginline=2;endline=18;md5=63ce9e6bcc445181cd9e4baf4b4ccc35" |
8 | PROVIDES += "${@bb.utils.contains('PACKAGECONFIG', 'update-alternatives', 'virtual/update-alternatives', '', d)}" | 8 | PROVIDES += "${@bb.utils.contains('PACKAGECONFIG', 'update-alternatives', 'virtual/update-alternatives', '', d)}" |
9 | 9 | ||
10 | SRCREV = "1a708fd73d10c2b7677dd4cc4e017746ebbb9166" | 10 | SRCREV = "1a708fd73d10c2b7677dd4cc4e017746ebbb9166" |
11 | PV = "0.3.4+git${SRCPV}" | 11 | PV = "0.3.4+git${SRCPV}" |
12 | 12 | ||
13 | SRC_URI = "git://git.yoctoproject.org/opkg-utils \ | 13 | SRC_URI = "git://git.yoctoproject.org/opkg-utils \ |
14 | file://0001-Switch-all-scripts-to-use-Python-3.x.patch \ | ||
14 | " | 15 | " |
15 | SRC_URI_append_class-native = " file://tar_ignore_error.patch" | 16 | SRC_URI_append_class-native = " file://tar_ignore_error.patch" |
16 | 17 | ||
@@ -18,7 +19,7 @@ S = "${WORKDIR}/git" | |||
18 | 19 | ||
19 | TARGET_CC_ARCH += "${LDFLAGS}" | 20 | TARGET_CC_ARCH += "${LDFLAGS}" |
20 | 21 | ||
21 | PYTHONRDEPS = "python python-shell python-io python-math python-crypt python-logging python-fcntl python-subprocess python-pickle python-compression python-textutils python-stringold" | 22 | PYTHONRDEPS = "python3 python3-shell python3-io python3-math python3-crypt python3-logging python3-fcntl python3-subprocess python3-pickle python3-compression python3-textutils python3-stringold" |
22 | PYTHONRDEPS_class-native = "" | 23 | PYTHONRDEPS_class-native = "" |
23 | 24 | ||
24 | PACKAGECONFIG = "python update-alternatives" | 25 | PACKAGECONFIG = "python update-alternatives" |