diff mbox series

python3-flit-core: use flit-core sdist instead of flit

Message ID 20260907145928.4115637-1-ross.burton@arm.com
State Under Review
Headers show
Series python3-flit-core: use flit-core sdist instead of flit | expand

Commit Message

Ross Burton Sept. 7, 2026, 2:59 p.m. UTC
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 <ross.burton@arm.com>
---
 meta/recipes-devtools/python/python3-flit-core_3.12.0.bb | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
diff mbox series

Patch

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