diff options
| author | Khem Raj <raj.khem@gmail.com> | 2019-12-19 18:51:34 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2019-12-20 16:07:50 -0800 |
| commit | 4874aeeda8c2ea240bb4a2025388e285f120d408 (patch) | |
| tree | aaf683b1e4107967c84582382807a7a5b73548ea | |
| parent | e919c1d508246eff6acf8d444ec8b9feb1bd36a0 (diff) | |
| download | meta-openembedded-4874aeeda8c2ea240bb4a2025388e285f120d408.tar.gz | |
mercurial: Add python scripts into separate python package
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-devtools/mercurial/mercurial_5.2.bb | 3 |
1 files changed, 3 insertions, 0 deletions
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 () { | |||
| 30 | oe_runmake -e install-bin DESTDIR=${D} PREFIX=${prefix} | 30 | oe_runmake -e install-bin DESTDIR=${D} PREFIX=${prefix} |
| 31 | sed -i -e 's:${STAGING_BINDIR_NATIVE}/python3-native/python3:${USRBINPATH}/env python3:g' ${D}${bindir}/hg | 31 | sed -i -e 's:${STAGING_BINDIR_NATIVE}/python3-native/python3:${USRBINPATH}/env python3:g' ${D}${bindir}/hg |
| 32 | } | 32 | } |
| 33 | PACKAGES =+ "${PN}-python" | ||
| 33 | 34 | ||
| 34 | FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}" | 35 | FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}" |
| 35 | 36 | ||
| 37 | FILES_${PN}-python = "${nonarch_libdir}/${PYTHON_DIR}" | ||
| 38 | |||
