From a8f507ba6c27cb100df76edcaa21497dd92c5acd Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Tue, 25 Feb 2025 21:54:37 -0500 Subject: python3-setuptools-scm: upgrade 8.1.0 -> 8.2.0 Patch '0001-respect-GIT_CEILING_DIRECTORIES.patch' is no longer required as it's upstream in 979d79301da6. Changelog (https://github.com/pypa/setuptools-scm/blob/main/CHANGELOG.md): Added - fix #960: add a --force-write-version-files flag for the cli Changed - fix #950: ensure to pass encodings to io usage - fix #957: add subprocess timeout control env var - add sp-repo-review pre-commit hook Fixed - fix #1018: allow non-normalized versions for semver - fix #1103: respect GIT_CEILING_DIRECTORIES when trying to find git toplevels - fix #1081: add name normalized pipx entrypoint - fix #1080: clean pdm from PYTHONPATH to protect mercurial (From OE-Core rev: 6bab759c00b44fc2793e095f991975b7eebf360f) Signed-off-by: Trevor Gamblin Signed-off-by: Richard Purdie --- .../python/python3-setuptools-scm_8.2.0.bb | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-setuptools-scm_8.2.0.bb (limited to 'meta/recipes-devtools/python/python3-setuptools-scm_8.2.0.bb') diff --git a/meta/recipes-devtools/python/python3-setuptools-scm_8.2.0.bb b/meta/recipes-devtools/python/python3-setuptools-scm_8.2.0.bb new file mode 100644 index 0000000000..ecb79afe47 --- /dev/null +++ b/meta/recipes-devtools/python/python3-setuptools-scm_8.2.0.bb @@ -0,0 +1,31 @@ +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://LICENSE;md5=838c366f69b72c5df05c96dff79b35f2" + +SRC_URI[sha256sum] = "a18396a1bc0219c974d1a74612b11f9dce0d5bd8b1dc55c65f6ac7fd609e8c28" + +PYPI_PACKAGE = "setuptools_scm" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" + +inherit pypi python_setuptools_build_meta + +DEPENDS += "python3-packaging-native python3-typing-extensions-native" + +RDEPENDS:${PN} = "\ + python3-packaging \ + python3-pip \ + python3-pyparsing \ + python3-setuptools \ + python3-typing-extensions \ +" + +RDEPENDS:${PN}:append:class-target = " \ + python3-debugger \ + python3-json \ +" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf