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-semantic-version_2.10.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-semantic-version_2.10.0.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-semantic-version_2.10.0.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python3-semantic-version_2.10.0.bb b/meta/recipes-devtools/python/python3-semantic-version_2.10.0.bb index 27e3f534b8..78763a911e 100644 --- a/meta/recipes-devtools/python/python3-semantic-version_2.10.0.bb +++ b/meta/recipes-devtools/python/python3-semantic-version_2.10.0.bb | |||
| @@ -7,6 +7,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4fb31e3c1c7eeb8b5e8c07657cdd54e2" | |||
| 7 | SRC_URI[sha256sum] = "bdabb6d336998cbb378d4b9db3a4b56a1e3235701dc05ea2690d9a997ed5041c" | 7 | SRC_URI[sha256sum] = "bdabb6d336998cbb378d4b9db3a4b56a1e3235701dc05ea2690d9a997ed5041c" |
| 8 | 8 | ||
| 9 | PYPI_PACKAGE = "semantic_version" | 9 | PYPI_PACKAGE = "semantic_version" |
| 10 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | ||
| 11 | |||
| 10 | inherit pypi setuptools3 | 12 | inherit pypi setuptools3 |
| 11 | 13 | ||
| 12 | RDEPENDS:${PN} += " \ | 14 | RDEPENDS:${PN} += " \ |
| @@ -15,4 +17,3 @@ RDEPENDS:${PN} += " \ | |||
| 15 | 17 | ||
| 16 | BBCLASSEXTEND = "native nativesdk" | 18 | BBCLASSEXTEND = "native nativesdk" |
| 17 | 19 | ||
| 18 | UPSTREAM_CHECK_REGEX = "/semantic-version/(?P<pver>(\d+[\.\-_]*)+)/" | ||
