Skip to contentSkip to conversation

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

PATCH New Tim Orling 1 participant 1 message Feb 26, 2022

lore
Share & tools
lore

Tim Orling

author
#0 lore raw

PATCH 1/1 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.

---
 meta-python/recipes-devtools/python/python3-twisted_22.1.0.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta-python/recipes-devtools/python/python3-twisted_22.1.0.bb +1 -2
index 7b437916b1..4967b5a14d 100644
@@ -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 \
Signature · 1 line
2.30.2