classes/pypi: update the default UPSTREAM_CHECK_URI to use the simple repo API
PATCH v3 1/2 classes/pypi: update the default UPSTREAM_CHECK_URI to use the simple repo API
Update the UPSTREAM_CHECK_URI to leverage the simple repo API. The project URLs require javascript which breaks the version checking fetch and subsequent logic. The simple repo API provides similar functionality with a well defined spec which is used by tools such as pip. Also update the UPSTREAM_CHECK_REGEX to be compatible with the information retrieved via the API
--- meta/classes-recipe/pypi.bbclass | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-)
meta/classes-recipe/pypi.bbclass +17 -3
@@ -28,6 +28,14 @@ def pypi_src_uri(d): archive_downloadname = d.getVar('PYPI_ARCHIVE_NAME_PREFIX') + archive_name return 'https://files.pythonhosted.org/packages/source/%s/%s/%s;downloadfilename=%s' % (package[0], package, archive_name, archive_downloadname) +def pypi_normalize(d): + """" + Normalize the package names to match PEP625 (https://peps.python.org/pep-0625/). + For non-compliant packages, maintainers can set UPSTREAM_CHECK_PYPI_PACKAGE to override the normalization + """ + import re + return re.sub(r"[-_.]+", "-", d.getVar('PYPI_PACKAGE')).lower() + PYPI_SRC_URI ?= "${@pypi_src_uri(d)}" HOMEPAGE ?= "https://pypi.python.org/pypi/${PYPI_PACKAGE}/"
@@ -36,8 +44,14 @@ SRC_URI:prepend = "${PYPI_SRC_URI} " S = "${WORKDIR}/${PYPI_PACKAGE}-${PV}" # Replace any '_' characters in the pypi URI with '-'s to follow the PyPi website naming conventions -UPSTREAM_CHECK_PYPI_PACKAGE ?= "${@d.getVar('PYPI_PACKAGE').replace('_', '-')}" -UPSTREAM_CHECK_URI ?= "https://pypi.org/project/${UPSTREAM_CHECK_PYPI_PACKAGE}/" -UPSTREAM_CHECK_REGEX ?= "/${UPSTREAM_CHECK_PYPI_PACKAGE}/(?P<pver>(\d+[\.\-_]*)+)/" +UPSTREAM_CHECK_PYPI_PACKAGE ?= "${@pypi_normalize(d)}" + +# Use the simple repository API rather than the potentially unstable project URL +# More information on the pypi API specification is avaialble here: +# https://packaging.python.org/en/latest/specifications/simple-repository-api/ +# +# NOTE: All URLs for the simple API MUST request canonical normalized URLs per the spec +UPSTREAM_CHECK_URI ?= "https://pypi.org/simple/${@pypi_normalize(d)}" +UPSTREAM_CHECK_REGEX ?= "${UPSTREAM_CHECK_PYPI_PACKAGE}-(?P<pver>(\d+[\.\-_]*)+).(tar\.gz|tgz|zip|tar\.bz2)" CVE_PRODUCT ?= "python:${PYPI_PACKAGE}"
Signature · 1 line
2.34.1
PATCH v3 2/2 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
--- meta/recipes-devtools/python/python3-booleanpy_4.0.bb | 1 + meta/recipes-devtools/python/python3-click_8.1.7.bb | 2 -- meta/recipes-devtools/python/python3-cython_3.0.11.bb | 2 -- meta/recipes-devtools/python/python3-git_3.1.43.bb | 1 + .../python/python3-hatch-fancy-pypi-readme_24.1.0.bb | 3 +-- meta/recipes-devtools/python/python3-hatch-vcs_0.4.0.bb | 3 +-- meta/recipes-devtools/python/python3-jinja2_3.1.4.bb | 1 - .../python/python3-jsonschema-specifications_2024.10.1.bb | 1 + .../python/python3-license-expression_30.4.0.bb | 1 + meta/recipes-devtools/python/python3-mako_1.3.6.bb | 1 - meta/recipes-devtools/python/python3-markdown_3.7.bb | 1 - meta/recipes-devtools/python/python3-markupsafe_3.0.2.bb | 1 - meta/recipes-devtools/python/python3-meson-python_0.17.1.bb | 1 + meta/recipes-devtools/python/python3-ndg-httpsclient_0.5.1.bb | 3 +-- meta/recipes-devtools/python/python3-poetry-core_1.9.1.bb | 1 + meta/recipes-devtools/python/python3-pygments_2.18.0.bb | 1 - meta/recipes-devtools/python/python3-pyopenssl_24.2.1.bb | 1 - meta/recipes-devtools/python/python3-pyparsing_3.2.0.bb | 2 -- meta/recipes-devtools/python/python3-pyproject-hooks_1.2.0.bb | 1 + .../python/python3-pyproject-metadata_0.9.0.bb | 1 + meta/recipes-devtools/python/python3-pysocks_1.7.1.bb | 2 ++ meta/recipes-devtools/python/python3-pytest-subtests_0.13.1.bb | 1 + meta/recipes-devtools/python/python3-pyyaml_6.0.2.bb | 2 -- .../recipes-devtools/python/python3-rfc3339-validator_0.1.4.bb | 2 +- meta/recipes-devtools/python/python3-rpds-py_0.21.0.bb | 1 + meta/recipes-devtools/python/python3-ruamel-yaml_0.18.6.bb | 1 + meta/recipes-devtools/python/python3-scons_4.8.1.bb | 1 - .../recipes-devtools/python/python3-semantic-version_2.10.0.bb | 3 ++- meta/recipes-devtools/python/python3-setuptools-rust_1.10.2.bb | 1 + meta/recipes-devtools/python/python3-setuptools-scm_8.1.0.bb | 3 +-- meta/recipes-devtools/python/python3-smartypants_2.0.0.bb | 2 -- meta/recipes-devtools/python/python3-sphinx-rtd-theme_3.0.2.bb | 2 +- meta/recipes-devtools/python/python3-sphinx_8.1.3.bb | 1 - .../python/python3-sphinxcontrib-applehelp_2.0.0.bb | 1 + .../python/python3-sphinxcontrib-devhelp_2.0.0.bb | 1 + .../python/python3-sphinxcontrib-htmlhelp_2.1.0.bb | 1 + .../python/python3-sphinxcontrib-qthelp_2.0.0.bb | 1 + .../python/python3-sphinxcontrib-serializinghtml_2.0.0.bb | 1 + .../python/python3-trove-classifiers_2024.10.21.16.bb | 1 + .../python/python3-typing-extensions_4.12.2.bb | 3 +-- 40 files changed, 29 insertions(+), 31 deletions(-)
meta/recipes-devtools/python/python3-booleanpy_4.0.bb +1 -0
@@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d118b5feceee598ebeca76e13395c2bd" SRC_URI[sha256sum] = "17b9a181630e43dde1851d42bef546d616d5d9b4480357514597e78b203d06e4" PYPI_PACKAGE = "boolean.py" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi setuptools3
meta/recipes-devtools/python/python3-click_8.1.7.bb +0 -2
@@ -27,8 +27,6 @@ do_install_ptest() { cp -rf ${S}/docs ${D}${PTEST_PATH}/ } -UPSTREAM_CHECK_REGEX = "click/(?P<pver>\d+(\.\d+)+)/" - CLEANBROKEN = "1" RDEPENDS:${PN} += "\
meta/recipes-devtools/python/python3-cython_3.0.11.bb +0 -2
@@ -15,8 +15,6 @@ inherit pypi setuptools3 cython # No need to depend on self DEPENDS:remove = "python3-cython-native" -UPSTREAM_CHECK_PYPI_PACKAGE = "Cython" - do_install:append() { # rename scripts that would conflict with the Python 2 build of Cython mv ${D}${bindir}/cython ${D}${bindir}/cython3
meta/recipes-devtools/python/python3-git_3.1.43.bb +1 -0
@@ -9,6 +9,7 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=5279a7ab369ba336989dcf2a107e5c8e" PYPI_PACKAGE = "GitPython" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi python_setuptools_build_meta
meta/recipes-devtools/python/python3-hatch-fancy-pypi-readme_24.1.0.bb +1 -2
@@ -6,9 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ba5633c60bd3e243091013aa83b4d807" inherit pypi python_hatchling PYPI_PACKAGE = "hatch_fancy_pypi_readme" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" SRC_URI[sha256sum] = "44dd239f1a779b9dcf8ebc9401a611fd7f7e3e14578dcf22c265dfaf7c1514b8" BBCLASSEXTEND = "native nativesdk" - -UPSTREAM_CHECK_REGEX = "/hatch-fancy-pypi-readme/(?P<pver>(\d+[\.\-_]*)+)/"
meta/recipes-devtools/python/python3-hatch-vcs_0.4.0.bb +1 -2
@@ -6,9 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=26501cfd0bbddf830ee820e95551fa3d" inherit pypi python_hatchling PYPI_PACKAGE = "hatch_vcs" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" SRC_URI[sha256sum] = "093810748fe01db0d451fabcf2c1ac2688caefd232d4ede967090b1c1b07d9f7" BBCLASSEXTEND = "native nativesdk" - -UPSTREAM_CHECK_REGEX = "/hatch-vcs/(?P<pver>(\d+[\.\-_]*)+)/"
meta/recipes-devtools/python/python3-jinja2_3.1.4.bb +0 -1
@@ -13,7 +13,6 @@ CVE_PRODUCT = "jinja2 jinja" CLEANBROKEN = "1" inherit pypi python_flit_core ptest -UPSTREAM_CHECK_PYPI_PACKAGE = "Jinja2" SRC_URI += " \ file://run-ptest \
meta/recipes-devtools/python/python3-jsonschema-specifications_2024.10.1.bb +1 -0
@@ -10,6 +10,7 @@ SRC_URI[sha256sum] = "0f38b83639958ce1152d02a7f062902c41c8fd20d558b0c34344292d41 inherit pypi python_hatchling PYPI_PACKAGE = "jsonschema_specifications" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" DEPENDS += "python3-hatch-vcs-native"
meta/recipes-devtools/python/python3-license-expression_30.4.0.bb +1 -0
@@ -8,6 +8,7 @@ SRC_URI[sha256sum] = "6464397f8ed4353cc778999caec43b099f8d8d5b335f282e26a9eb9435 inherit pypi ptest python_setuptools_build_meta PYPI_PACKAGE = "license_expression" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" DEPENDS += "python3-setuptools-scm-native"
meta/recipes-devtools/python/python3-mako_1.3.6.bb +0 -1
@@ -5,7 +5,6 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=d0995d6f7ba3f186a03118f244e88f57" PYPI_PACKAGE = "mako" -UPSTREAM_CHECK_PYPI_PACKAGE = "Mako" inherit pypi python_setuptools_build_meta ptest
meta/recipes-devtools/python/python3-markdown_3.7.bb +0 -1
@@ -5,7 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=ec58cdf7cfed06a21f7a9362627a5480" inherit pypi python_setuptools_build_meta -UPSTREAM_CHECK_PYPI_PACKAGE = "Markdown" SRC_URI[sha256sum] = "2ae2471477cfd02dbbf038d5d9bc226d40def84b4fe2986e49b59b6b472bbed2" BBCLASSEXTEND = "native nativesdk"
meta/recipes-devtools/python/python3-markupsafe_3.0.2.bb +0 -1
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ffeffa59c90c9c4a033c7574f8f3fb75" SRC_URI[sha256sum] = "ee55d3edf80167e48ea11a923c7386f4669df67d7994554387f84e7d8b0a2bf0" PYPI_PACKAGE = "markupsafe" -UPSTREAM_CHECK_PYPI_PACKAGE = "MarkupSafe" inherit pypi python_setuptools_build_meta ptest RDEPENDS:${PN} += "python3-html python3-stringold"
meta/recipes-devtools/python/python3-meson-python_0.17.1.bb +1 -0
@@ -11,6 +11,7 @@ DEPENDS = " \ " PYPI_PACKAGE = "meson_python" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi python_mesonpy SRC_URI[sha256sum] = "efb91f69f2e19eef7bc9a471ed2a4e730088cc6b39eacaf3e49fc4f930eb5f83"
meta/recipes-devtools/python/python3-ndg-httpsclient_0.5.1.bb +1 -2
@@ -9,6 +9,7 @@ SRC_URI[sha256sum] = "d72faed0376ab039736c2ba12e30695e2788c4aa569c9c3e3d72131de2 inherit pypi setuptools3 update-alternatives PYPI_PACKAGE = "ndg_httpsclient" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" DEPENDS += " \ python3-pyopenssl \
@@ -24,8 +25,6 @@ RDEPENDS:${PN} += " \ BBCLASSEXTEND = "native nativesdk" -UPSTREAM_CHECK_REGEX = "" - ALTERNATIVE:${PN} = "ndg_httpclient" ALTERNATIVE_LINK_NAME[ndg_httpclient] = "${bindir}/ndg_httpclient" ALTERNATIVE_PRIORITY = "30"
meta/recipes-devtools/python/python3-poetry-core_1.9.1.bb +1 -0
@@ -20,6 +20,7 @@ SRC_URI[sha256sum] = "7a2d49214bf58b4f17f99d6891d947a9836c9899a67a5069f52d7b6721 inherit python_poetry_core pypi PYPI_PACKAGE = "poetry_core" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" RDEPENDS:${PN}:append:class-target = "\ python3-compression \
meta/recipes-devtools/python/python3-pygments_2.18.0.bb +0 -1
@@ -7,7 +7,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=36a13c90514e2899f1eba7f41c3ee592" inherit python_hatchling SRC_URI[sha256sum] = "786ff802f32e91311bff3889f6e9a86e81505fe99f2735bb6d60ae0c5004f199" -UPSTREAM_CHECK_PYPI_PACKAGE = "Pygments" inherit pypi BBCLASSEXTEND = "native nativesdk"
meta/recipes-devtools/python/python3-pyopenssl_24.2.1.bb +0 -1
@@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" DEPENDS += "openssl python3-cryptography" SRC_URI[sha256sum] = "4247f0dbe3748d560dcbb2ff3ea01af0f9a1a001ef5f7c4c647956ed8cbf0e95" -UPSTREAM_CHECK_PYPI_PACKAGE = "pyOpenSSL" inherit pypi setuptools3
meta/recipes-devtools/python/python3-pyparsing_3.2.0.bb +0 -2
@@ -12,8 +12,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=657a566233888513e1f07ba13e2f47f1" SRC_URI[sha256sum] = "cbf74e27246d595d9a74b186b810f6fbb86726dbf3b9532efb343f6d7294fe9c" -UPSTREAM_CHECK_REGEX = "pyparsing-(?P<pver>.*)\.tar" - inherit pypi python_flit_core RDEPENDS:${PN} += " \
meta/recipes-devtools/python/python3-pyproject-hooks_1.2.0.bb +1 -0
@@ -8,6 +8,7 @@ SRC_URI[sha256sum] = "1e859bd5c40fae9448642dd871adf459e5e2084186e8d2c2a79a824c97 inherit pypi python_flit_core PYPI_PACKAGE = "pyproject_hooks" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" BBCLASSEXTEND = "native nativesdk"
meta/recipes-devtools/python/python3-pyproject-metadata_0.9.0.bb +1 -0
@@ -13,6 +13,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=310439af287b0fb4780b2ad6907c256c" PYPI_PACKAGE = "pyproject_metadata" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi python_setuptools_build_meta
meta/recipes-devtools/python/python3-pysocks_1.7.1.bb +2 -0
@@ -7,6 +7,8 @@ SRC_URI[md5sum] = "89b1a6865c61bae67a32417517612ee6" SRC_URI[sha256sum] = "3f8804571ebe159c380ac6de37643bb4685970655d3bba243530d6558b799aa0" PYPI_PACKAGE = "PySocks" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" + inherit pypi setuptools3 RDEPENDS:${PN}:class-target += "\
meta/recipes-devtools/python/python3-pytest-subtests_0.13.1.bb +1 -0
@@ -10,6 +10,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=242b4e17fa287dcf7aef372f6bc3dcb1" SRC_URI[sha256sum] = "989e38f0f1c01bc7c6b2e04db7d9fd859db35d77c2c1a430c831a70cbf3fde2d" PYPI_PACKAGE = "pytest_subtests" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi python_setuptools_build_meta
meta/recipes-devtools/python/python3-pyyaml_6.0.2.bb +0 -2
@@ -12,8 +12,6 @@ SRC_URI += "\ " SRC_URI[test.sha256sum] = "b6a8a2825d89fdc8aee226560f66b8196e872012a0ea7118cbef1a832359434a" -UPSTREAM_CHECK_PYPI_PACKAGE = "PyYAML" - inherit pypi python_setuptools_build_meta ptest cython PACKAGECONFIG ?= "libyaml"
meta/recipes-devtools/python/python3-rfc3339-validator_0.1.4.bb +1 -1
@@ -8,7 +8,7 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/python-rfc3339-validator:" SRC_URI[sha256sum] = "138a2abdf93304ad60530167e51d2dfb9549521a836871b88d7f4695d0022f6b" PYPI_PACKAGE = "rfc3339_validator" -UPSTREAM_CHECK_REGEX = "/rfc3339-validator/(?P<pver>(\d+[\.\-_]*)+)/" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi setuptools3
meta/recipes-devtools/python/python3-rpds-py_0.21.0.bb +1 -0
@@ -13,6 +13,7 @@ require ${BPN}-crates.inc inherit pypi cargo-update-recipe-crates python_maturin ptest PYPI_PACKAGE = "rpds_py" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" RDEPENDS:${PN}-ptest += " \ python3-iniconfig \
meta/recipes-devtools/python/python3-ruamel-yaml_0.18.6.bb +1 -0
@@ -5,6 +5,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=30cbbccd94bf3a2b0285ec35671a1938" PYPI_PACKAGE = "ruamel.yaml" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi python_setuptools_build_meta
meta/recipes-devtools/python/python3-scons_4.8.1.bb +0 -1
@@ -5,7 +5,6 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=d903b0b8027f461402bac9b5169b36f7" SRC_URI[sha256sum] = "5b641357904d2f56f7bfdbb37e165ab996b6143c948b9df0efc7305f54949daa" -UPSTREAM_CHECK_PYPI_PACKAGE = "SCons" inherit pypi python_setuptools_build_meta
meta/recipes-devtools/python/python3-semantic-version_2.10.0.bb +2 -1
@@ -7,6 +7,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4fb31e3c1c7eeb8b5e8c07657cdd54e2" SRC_URI[sha256sum] = "bdabb6d336998cbb378d4b9db3a4b56a1e3235701dc05ea2690d9a997ed5041c" PYPI_PACKAGE = "semantic_version" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" + inherit pypi setuptools3 RDEPENDS:${PN} += " \
@@ -15,4 +17,3 @@ RDEPENDS:${PN} += " \ BBCLASSEXTEND = "native nativesdk" -UPSTREAM_CHECK_REGEX = "/semantic-version/(?P<pver>(\d+[\.\-_]*)+)/"
meta/recipes-devtools/python/python3-setuptools-rust_1.10.2.bb +1 -0
@@ -12,6 +12,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=011cd92e702dd9e6b1a26157b6fd53f5" SRC_URI[sha256sum] = "5d73e7eee5f87a6417285b617c97088a7c20d1a70fcea60e3bdc94ff567c29dc" PYPI_PACKAGE = "setuptools_rust" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit cargo pypi python_setuptools_build_meta
meta/recipes-devtools/python/python3-setuptools-scm_8.1.0.bb +1 -2
@@ -9,11 +9,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=838c366f69b72c5df05c96dff79b35f2" SRC_URI[sha256sum] = "42dea1b65771cba93b7a515d65a65d8246e560768a66b9106a592c8e7f26c8a7" PYPI_PACKAGE = "setuptools_scm" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi python_setuptools_build_meta -UPSTREAM_CHECK_REGEX = "scm-(?P<pver>.*)\.tar" - DEPENDS += "python3-packaging-native python3-typing-extensions-native" RDEPENDS:${PN} = "\
meta/recipes-devtools/python/python3-smartypants_2.0.0.bb +0 -2
@@ -10,5 +10,3 @@ SRC_URI += "file://0001-Change-hash-bang-to-python3.patch" SRC_URI[sha256sum] = "7812353a32022699a1aa8cd5626e01c94a946dcaeedaee2d0b382bae4c4cbf36" BBCLASSEXTEND = "native nativesdk" - -UPSTREAM_CHECK_REGEX = "/${PYPI_PACKAGE}/(?P<pver>(?!2\.0\.1)(\d+[\.\-_]*)+)/"
meta/recipes-devtools/python/python3-sphinx-rtd-theme_3.0.2.bb +1 -1
@@ -13,9 +13,9 @@ RDEPENDS:${PN} += " \ " PYPI_PACKAGE = "sphinx_rtd_theme" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" SRC_URI[sha256sum] = "b7457bc25dda723b20b086a670b9953c859eab60a2a03ee8eb2bb23e176e5f85" -UPSTREAM_CHECK_REGEX ?= "/sphinx-rtd-theme/(?P<pver>(\d+[\.\-_]*)+)/" inherit setuptools3 pypi
meta/recipes-devtools/python/python3-sphinx_8.1.3.bb +0 -1
@@ -7,7 +7,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=4ab44940eeb9c0ec044da326d904a683" SRC_URI[sha256sum] = "43c1911eecb0d3e161ad78611bc905d1ad0e523e4ddc202a58a821773dc4c927" inherit python_flit_core pypi -UPSTREAM_CHECK_REGEX = "/Sphinx/(?P<pver>(\d+[\.\-_]*)+)/" do_install:append () { # The cache format of "{None, 'en', 'ja'}" doesn't seem to be consistent (dict ordering?)
meta/recipes-devtools/python/python3-sphinxcontrib-applehelp_2.0.0.bb +1 -0
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENCE.rst;md5=c7715857042d4c8c0105999ca0c072c5" SRC_URI[sha256sum] = "2f29ef331735ce958efa4734873f084941970894c6090408b079c61b2e1c06d1" PYPI_PACKAGE = "sphinxcontrib_applehelp" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi python_flit_core
meta/recipes-devtools/python/python3-sphinxcontrib-devhelp_2.0.0.bb +1 -0
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENCE.rst;md5=fd30d9972a142c857a80c9f312e92b93" SRC_URI[sha256sum] = "411f5d96d445d1d73bb5d52133377b4248ec79db5c793ce7dbe59e074b4dd1ad" PYPI_PACKAGE = "sphinxcontrib_devhelp" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi python_flit_core
meta/recipes-devtools/python/python3-sphinxcontrib-htmlhelp_2.1.0.bb +1 -0
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENCE.rst;md5=24dce5ef6a13563241c24bc366f48886" SRC_URI[sha256sum] = "c9e2916ace8aad64cc13a0d233ee22317f2b9025b9cf3295249fa985cc7082e9" PYPI_PACKAGE = "sphinxcontrib_htmlhelp" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi python_flit_core
meta/recipes-devtools/python/python3-sphinxcontrib-qthelp_2.0.0.bb +1 -0
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENCE.rst;md5=f7a83b72ea86d04827575ec0b63430eb" SRC_URI[sha256sum] = "4fe7d0ac8fc171045be623aba3e2a8f613f8682731f9153bb2e40ece16b9bbab" PYPI_PACKAGE = "sphinxcontrib_qthelp" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi python_flit_core
meta/recipes-devtools/python/python3-sphinxcontrib-serializinghtml_2.0.0.bb +1 -0
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENCE.rst;md5=32a84ac5cd3bbd10c4d479233ad588b6" SRC_URI[sha256sum] = "e9d912827f872c029017a53f0ef2180b327c3f7fd23c87229f7a8e8b70031d4d" PYPI_PACKAGE = "sphinxcontrib_serializinghtml" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi python_flit_core
meta/recipes-devtools/python/python3-trove-classifiers_2024.10.21.16.bb +1 -0
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" SRC_URI[sha256sum] = "17cbd055d67d5e9d9de63293a8732943fabc21574e4c7b74edf112b4928cf5f3" PYPI_PACKAGE = "trove_classifiers" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi python_setuptools_build_meta ptest
meta/recipes-devtools/python/python3-typing-extensions_4.12.2.bb +1 -2
@@ -14,11 +14,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=fcf6b249c2641540219a727f35d8d2c2" # The name on PyPi is slightly different. PYPI_PACKAGE = "typing_extensions" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" SRC_URI[sha256sum] = "1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8" inherit pypi python_flit_core -UPSTREAM_CHECK_REGEX = "/typing-extensions/(?P<pver>(\d+[\.\-_]*)+)/" - BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.34.1