Skip to contentSkip to conversation

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

PATCH New Ross Burton 1 participant 1 message Sep 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-flit-core: use flit-core sdist instead of flit

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.

---
 meta/recipes-devtools/python/python3-flit-core_3.12.0.bb | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
meta/recipes-devtools/python/python3-flit-core_3.12.0.bb +2 -4
index e40ffd0d0f7..d6b37fe904b 100644
@@ -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
Signature · 1 line
2.43.0