All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-python][PATCH] python3-twisted: also ship Twisted-*.dist-info
@ 2022-02-26  2:42 Tim Orling
  0 siblings, 0 replies; only message in thread
From: Tim Orling @ 2022-02-26  2:42 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Tim Orling

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>
---
 meta-python/recipes-devtools/python/python3-twisted_22.1.0.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python3-twisted_22.1.0.bb b/meta-python/recipes-devtools/python/python3-twisted_22.1.0.bb
index 7b437916b1..4967b5a14d 100644
--- a/meta-python/recipes-devtools/python/python3-twisted_22.1.0.bb
+++ b/meta-python/recipes-devtools/python/python3-twisted_22.1.0.bb
@@ -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 \
-- 
2.30.2



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-26  2:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-26  2:42 [meta-python][PATCH] python3-twisted: also ship Twisted-*.dist-info Tim Orling

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.