python3-twisted: also ship Twisted-*.dist-info

With the PEP-517 packaging, we need to ship additional FILES-${PN} (the
wheel dist-info standard files).

This recipe may be overly complicated. This commit is only an attempt to
fix the install of the wheel.

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>
This commit is contained in:
Tim Orling
2022-02-25 18:42:35 -08:00
committed by Khem Raj
parent 9e5f9a7e2d
commit 770cba1d55

View File

@@ -80,8 +80,7 @@ RDEPENDS:${PN}-flow += "${PN}-core"
RDEPENDS:${PN}-pair += "${PN}-core"
RDEPENDS:${PN}-dbg = "${PN}"
ALLOW_EMPTY:${PN} = "1"
FILES:${PN} = ""
FILES:${PN} = "${PYTHON_SITEPACKAGES_DIR}/${PYPI_PACKAGE}-${PV}.dist-info/*"
FILES:${PN}-test = " \
${libdir}/${PYTHON_DIR}/site-packages/twisted/test \