diff options
| author | Tim Orling <ticotimo@gmail.com> | 2022-02-28 10:03:39 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-03-01 09:06:56 -0800 |
| commit | 4c1065c55c680d74193efcbc525b5e3b88519644 (patch) | |
| tree | e4e9c3a776115cc97b590157fe67c27edb80ebf7 /meta-python/recipes-extended/python-meh/python3-meh_0.50.1.bb | |
| parent | fbb90ed4eeaf8065a8ccc9ab13dca14cc550a5b8 (diff) | |
| download | meta-openembedded-4c1065c55c680d74193efcbc525b5e3b88519644.tar.gz | |
python3-meh: patch to use setuptools
* Add patch to switch from 'distutils' to 'setuptools'
* Set PIP_INSTALL_PACKAGE = "python_meh"
* Install files to ${datadir} as intended
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Diffstat (limited to 'meta-python/recipes-extended/python-meh/python3-meh_0.50.1.bb')
| -rw-r--r-- | meta-python/recipes-extended/python-meh/python3-meh_0.50.1.bb | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/meta-python/recipes-extended/python-meh/python3-meh_0.50.1.bb b/meta-python/recipes-extended/python-meh/python3-meh_0.50.1.bb index bf0df021a4..96dba96123 100644 --- a/meta-python/recipes-extended/python-meh/python3-meh_0.50.1.bb +++ b/meta-python/recipes-extended/python-meh/python3-meh_0.50.1.bb | |||
| @@ -9,8 +9,17 @@ inherit setuptools3 | |||
| 9 | 9 | ||
| 10 | S = "${WORKDIR}/git" | 10 | S = "${WORKDIR}/git" |
| 11 | 11 | ||
| 12 | SRC_URI = "git://github.com/rhinstaller/python-meh.git;protocol=https;branch=rhel9-branch" | 12 | SRC_URI = "git://github.com/rhinstaller/python-meh.git;protocol=https;branch=rhel9-branch \ |
| 13 | file://0001-setup.py-switch-from-distutils-to-setuptools.patch \ | ||
| 14 | " | ||
| 13 | SRCREV = "c321ce22950aff76611a3c6beffa02b5ea3adbed" | 15 | SRCREV = "c321ce22950aff76611a3c6beffa02b5ea3adbed" |
| 14 | 16 | ||
| 17 | PIP_INSTALL_PACKAGE = "python_meh" | ||
| 18 | |||
| 19 | do_install:append () { | ||
| 20 | install -d ${D}/${datadir}/python-meh | ||
| 21 | mv ${D}${PYTHON_SITEPACKAGES_DIR}${datadir}/python-meh/* ${D}/${datadir}/python-meh/ | ||
| 22 | } | ||
| 23 | |||
| 15 | FILES:${PN} += "${datadir}/*" | 24 | FILES:${PN} += "${datadir}/*" |
| 16 | 25 | ||
