mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-01 03:08:27 +00:00
python3-slip-dbus: Fix build with wheel packaging
Migrate to use setuptools instead of distutils merge slip.dbus into slip module since we use slip.dbus, it works fine for OE Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
@@ -14,12 +14,14 @@ LICENSE = "GPLv2+"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=5574c6965ae5f583e55880e397fbb018"
|
||||
SRCNAME = "python-slip"
|
||||
|
||||
SRC_URI = "https://github.com/nphilipp/${SRCNAME}/releases/download/${SRCNAME}-${PV}/${SRCNAME}-${PV}.tar.bz2"
|
||||
S = "${WORKDIR}/${SRCNAME}-${PV}"
|
||||
|
||||
SRC_URI[md5sum] = "28ae5f93853466c44ec96706ba2a1eb4"
|
||||
SRC_URI = "https://github.com/nphilipp/${SRCNAME}/releases/download/${SRCNAME}-${PV}/${SRCNAME}-${PV}.tar.bz2 \
|
||||
file://9b939c0b534c1b7958fa0a3c7aedf30bca910431.patch \
|
||||
file://0001-setup.py-Use-setuptools-instead-of-distutils.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "c726c086f0dd93a0ac7a0176f383a12af91b6657b78a301e3f5b25d9f8d4d10b"
|
||||
|
||||
S = "${WORKDIR}/${SRCNAME}-${PV}"
|
||||
|
||||
do_compile:prepend() {
|
||||
sed -e 's/@VERSION@/${PV}/g' ${S}/setup.py.in > ${S}/setup.py
|
||||
}
|
||||
@@ -32,3 +34,4 @@ RDEPENDS:${PN} += "\
|
||||
CLEANBROKEN = "1"
|
||||
|
||||
inherit setuptools3
|
||||
PIP_INSTALL_PACKAGE = "slip"
|
||||
|
||||
Reference in New Issue
Block a user