The flit sdist includes a copy of flit-core, but the maintainers also
upload a package that contains just flit-core.  Use this to allow the
default class to work.

Signed-off-by: Ross Burton <[email protected]>
---
 meta/recipes-devtools/python/python3-flit-core_3.12.0.bb | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-devtools/python/python3-flit-core_3.12.0.bb 
b/meta/recipes-devtools/python/python3-flit-core_3.12.0.bb
index e40ffd0d0f7..d6b37fe904b 100644
--- a/meta/recipes-devtools/python/python3-flit-core_3.12.0.bb
+++ b/meta/recipes-devtools/python/python3-flit-core_3.12.0.bb
@@ -8,7 +8,7 @@ BUGTRACKER = "https://github.com/pypa/flit/issues";
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=41eb78fa8a872983a882c694a8305f08"
 
-SRC_URI[sha256sum] = 
"1c80f34dd96992e7758b40423d2809f48f640ca285d0b7821825e50745ec3740"
+SRC_URI[sha256sum] = 
"18f63100d6f94385c6ed57a72073443e1a71a4acb4339491615d0f16d6ff01b2"
 
 inherit pypi python_flit_core
 
@@ -16,9 +16,7 @@ inherit pypi python_flit_core
 DEPENDS:remove:class-native = " python3-build-native python3-installer-native"
 DEPENDS:append:class-native = " unzip-native"
 
-# We need the full flit tarball
-PYPI_PACKAGE = "flit"
-PEP517_SOURCE_PATH = "${S}/flit_core"
+PYPI_PACKAGE = "flit_core"
 
 do_compile:class-native () {
     python_flit_core_do_manual_build
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#245299): 
https://lists.openembedded.org/g/openembedded-core/message/245299
Mute This Topic: https://lists.openembedded.org/mt/121129756/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to