mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 08:18:43 +01:00
This was held by numpy rejecting setuptools >= 60.x, however it got a workaround in recent point releases and so the upgrade can proceed. Drop 0001-_distutils-sysconfig-append-STAGING_LIBDIR-python-sy.patch as changed code completely removed upstream. Replicate another distutils/sysconfig.py fix from python recipe via 0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch Add a tomli build dependency to python3-setuptools-scm as new setuptools exposes: | File "/srv/work/alex/poky/build-64-alt/tmp/work/x86_64-linux/python3-setuptools-scm-native/6.4.2-r0/setuptools_scm-6.4.2/src/setuptools_scm/config.py", line 59, in _lazy_tomli_load | from tomli import loads | ModuleNotFoundError: No module named 'tomli' (From OE-Core rev: 0907866325fbfb5774e1a3f0ba0cf110d9b9b663) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
29 lines
929 B
BlitzBasic
29 lines
929 B
BlitzBasic
SUMMARY = "the blessed package to manage your versions by scm tags"
|
|
HOMEPAGE = "https://pypi.org/project/setuptools-scm/"
|
|
DESCRIPTION = "setuptools_scm handles managing your Python package versions in SCM metadata instead of declaring them as the version argument or in a SCM managed file."
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489"
|
|
|
|
SRC_URI[sha256sum] = "6833ac65c6ed9711a4d5d2266f8024cfa07c533a0e55f4c12f6eff280a5a9e30"
|
|
|
|
PYPI_PACKAGE = "setuptools_scm"
|
|
inherit pypi python_setuptools_build_meta
|
|
|
|
UPSTREAM_CHECK_REGEX = "setuptools_scm-(?P<pver>.*)\.tar"
|
|
|
|
DEPENDS += "python3-tomli-native"
|
|
|
|
RDEPENDS:${PN} = "\
|
|
${PYTHON_PN}-packaging \
|
|
${PYTHON_PN}-pyparsing \
|
|
${PYTHON_PN}-setuptools \
|
|
${PYTHON_PN}-tomli \
|
|
"
|
|
|
|
RDEPENDS:${PN}:append:class-target = " \
|
|
${PYTHON_PN}-debugger \
|
|
${PYTHON_PN}-json \
|
|
"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|