diff mbox series

[oe,meta-oe,07/23] mercurial: Add python scripts into separate python package

Message ID 20191221000635.1573390-7-raj.khem@gmail.com
State Accepted
Commit 4874aeeda8c2ea240bb4a2025388e285f120d408
Headers show
Series [oe,meta-networking,01/23] cannelloni: Update to latest and fix multilib builds | expand

Commit Message

Khem Raj Dec. 21, 2019, 12:06 a.m. UTC
Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta-oe/recipes-devtools/mercurial/mercurial_5.2.bb | 3 +++
 1 file changed, 3 insertions(+)

-- 
2.24.1

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

diff --git a/meta-oe/recipes-devtools/mercurial/mercurial_5.2.bb b/meta-oe/recipes-devtools/mercurial/mercurial_5.2.bb
index 0fec4d1f17..6dedb02aa3 100644
--- a/meta-oe/recipes-devtools/mercurial/mercurial_5.2.bb
+++ b/meta-oe/recipes-devtools/mercurial/mercurial_5.2.bb
@@ -30,6 +30,9 @@  do_install () {
     oe_runmake -e install-bin DESTDIR=${D} PREFIX=${prefix}
     sed -i -e 's:${STAGING_BINDIR_NATIVE}/python3-native/python3:${USRBINPATH}/env python3:g' ${D}${bindir}/hg
 }
+PACKAGES =+ "${PN}-python"
 
 FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}"
 
+FILES_${PN}-python = "${nonarch_libdir}/${PYTHON_DIR}"
+