python3-lrparsing: use setuptools instead of distutils

Recipe also does not inherit pypi nor would PN be a good guess at the
name of the wheel. Set PIP_INSTALL_PACKAGE appropriately.

Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
Justin Bronder
2022-03-01 17:55:42 -05:00
committed by Khem Raj
parent 689a4a54fe
commit 7e809b06e7
2 changed files with 31 additions and 1 deletions

View File

@@ -7,7 +7,9 @@ HOMEPAGE = "http://lrparsing.sourceforge.net/"
BUGTRACKER = "https://sourceforge.net/p/lrparsing/tickets/"
UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/lrparsing/files/"
UPSTREAM_CHECK_REGEX = "lrparsing-(?P<pver>\d+(\.\d+)+)"
SRC_URI = "${SOURCEFORGE_MIRROR}/lrparsing/lrparsing-${PV}.tar.gz"
SRC_URI = "${SOURCEFORGE_MIRROR}/lrparsing/lrparsing-${PV}.tar.gz \
file://0001-setup.py-use-setuptools-instead-of-distutils.patch \
"
SRC_URI[sha256sum] = "7c060d9f03cf582fdbc0ae0fef0ea2ff6fd56251047ba7e425af97e23f46f582"
RDEPENDS:${PN} = " \
@@ -15,6 +17,7 @@ RDEPENDS:${PN} = " \
"
inherit setuptools3
PIP_INSTALL_PACKAGE = "lrparsing"
S = "${WORKDIR}/lrparsing-${PV}"