diff options
| author | Derek Straka <derek@asterius.io> | 2024-12-13 19:48:02 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-12-17 11:41:53 +0000 |
| commit | 7dcc37c329a0f2ca2fda7849572d5ced34735306 (patch) | |
| tree | 56b5717d188f19273337163e88c5e322a936f216 /meta/recipes-devtools/python/python3-setuptools-scm_8.1.0.bb | |
| parent | 2ce210011c733cbbda13706322652dabf97d6e67 (diff) | |
| download | poky-7dcc37c329a0f2ca2fda7849572d5ced34735306.tar.gz | |
python3-*: Update recipes to correctly check the upstream packages
With the upstream check migrated to the simple repo API, a number of the
recipes required updates to:
1. Remove outdated UPSTREAM_CHECK_REGEX checks
2. Add recipe specific UPSTREAM_CHECK_PYPI_PACKAGE definitions for
packages that use '_', CamelCase, or other deviations from PEP625 in
the source archive
(From OE-Core rev: efbb98977664cd5392ec00d97d0eaf5374a32573)
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-setuptools-scm_8.1.0.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-setuptools-scm_8.1.0.bb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/recipes-devtools/python/python3-setuptools-scm_8.1.0.bb b/meta/recipes-devtools/python/python3-setuptools-scm_8.1.0.bb index d8b9f8f262..4bcc8e438a 100644 --- a/meta/recipes-devtools/python/python3-setuptools-scm_8.1.0.bb +++ b/meta/recipes-devtools/python/python3-setuptools-scm_8.1.0.bb | |||
| @@ -9,11 +9,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=838c366f69b72c5df05c96dff79b35f2" | |||
| 9 | SRC_URI[sha256sum] = "42dea1b65771cba93b7a515d65a65d8246e560768a66b9106a592c8e7f26c8a7" | 9 | SRC_URI[sha256sum] = "42dea1b65771cba93b7a515d65a65d8246e560768a66b9106a592c8e7f26c8a7" |
| 10 | 10 | ||
| 11 | PYPI_PACKAGE = "setuptools_scm" | 11 | PYPI_PACKAGE = "setuptools_scm" |
| 12 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
| 12 | 13 | ||
| 13 | inherit pypi python_setuptools_build_meta | 14 | inherit pypi python_setuptools_build_meta |
| 14 | 15 | ||
| 15 | UPSTREAM_CHECK_REGEX = "scm-(?P<pver>.*)\.tar" | ||
| 16 | |||
| 17 | DEPENDS += "python3-packaging-native python3-typing-extensions-native" | 16 | DEPENDS += "python3-packaging-native python3-typing-extensions-native" |
| 18 | 17 | ||
| 19 | RDEPENDS:${PN} = "\ | 18 | RDEPENDS:${PN} = "\ |
