[oe-commits] [meta-openembedded] branch master-next updated: mercurial: Upgrade to 5.2 and switch to py3

git at git.openembedded.org git at git.openembedded.org
Tue Nov 26 20:55:18 UTC 2019


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

The following commit(s) were added to refs/heads/master-next by this push:
     new 7881184  mercurial: Upgrade to 5.2 and switch to py3
7881184 is described below

commit 788118471698d5fceb81658ac0470c522a81a0aa
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Tue Nov 26 12:53:33 2019 -0800

    mercurial: Upgrade to 5.2 and switch to py3
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 .../mercurial/{mercurial_4.6.1.bb => mercurial_5.2.bb}       | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/meta-oe/recipes-devtools/mercurial/mercurial_4.6.1.bb b/meta-oe/recipes-devtools/mercurial/mercurial_5.2.bb
similarity index 67%
rename from meta-oe/recipes-devtools/mercurial/mercurial_4.6.1.bb
rename to meta-oe/recipes-devtools/mercurial/mercurial_5.2.bb
index 13710aa..3cff508 100644
--- a/meta-oe/recipes-devtools/mercurial/mercurial_4.6.1.bb
+++ b/meta-oe/recipes-devtools/mercurial/mercurial_5.2.bb
@@ -3,15 +3,13 @@ HOMEPAGE = "http://mercurial.selenic.com/"
 SECTION = "console/utils"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
-DEPENDS = "python python-native"
-DEPENDS_class-native = "python-native"
-RDEPENDS_${PN} = "python python-modules"
+RDEPENDS_${PN} = "python3 python3-modules"
 
-inherit python-dir
+inherit python3native
 
 SRC_URI = "https://www.mercurial-scm.org/release/${BP}.tar.gz"
-SRC_URI[md5sum] = "f9b2e4a3b5901ef744fa3abe4196e97e"
-SRC_URI[sha256sum] = "89fa8ecbc8aa6e48e98f9803a1683ba91367124295dba2407b28c34ca621108d"
+SRC_URI[md5sum] = "9ba9d59157c002db8d8cab680de08eb5"
+SRC_URI[sha256sum] = "ff030e923f03ee15c91191996fcb099bfcfa60c7df263be227f67b6a65d36194"
 
 S = "${WORKDIR}/mercurial-${PV}"
 
@@ -21,7 +19,7 @@ EXTRA_OEMAKE = "STAGING_LIBDIR=${STAGING_LIBDIR} STAGING_INCDIR=${STAGING_INCDIR
     PREFIX=${prefix}"
 
 do_configure_append () {
-    sed -i -e 's:PYTHON=python:PYTHON=${STAGING_BINDIR_NATIVE}/python-native/python:g' ${S}/Makefile
+    sed -i -e 's:PYTHON=python:PYTHON=${STAGING_BINDIR_NATIVE}/python-native/python3:g' ${S}/Makefile
 }
 
 do_install () {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list