From b970e21017a29bde25b5317b67f29cf834b350d3 Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Fri, 2 Jun 2023 12:48:22 -0400 Subject: python3-webcolors: upgrade 1.12 -> 1.13 Replaced the inherit of setuptools3 with python_setuptools_build_meta to make the new version build. Changelog (see https://webcolors.readthedocs.io/en/latest/changelog.html): - Supported Python versions are now 3.7, 3.8, 3.9, 3.10, and 3.11 - The codebase was significantly reorganized and modernized. Public API is unchanged. Imports should continue to be directly from the top-level webcolors module; attempting to import from submodules is not supported. - Now packaging declaratively via pyproject.toml with PEP 517 support from setuptools. (From OE-Core rev: 434aaf5e02332a54a17a2812969165f6f6b3674b) Signed-off-by: Trevor Gamblin Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- .../python/python3-webcolors_1.12.bb | 28 ---------------------- .../python/python3-webcolors_1.13.bb | 28 ++++++++++++++++++++++ 2 files changed, 28 insertions(+), 28 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-webcolors_1.12.bb create mode 100644 meta/recipes-devtools/python/python3-webcolors_1.13.bb (limited to 'meta/recipes-devtools/python') diff --git a/meta/recipes-devtools/python/python3-webcolors_1.12.bb b/meta/recipes-devtools/python/python3-webcolors_1.12.bb deleted file mode 100644 index 02f6c9fed8..0000000000 --- a/meta/recipes-devtools/python/python3-webcolors_1.12.bb +++ /dev/null @@ -1,28 +0,0 @@ -SUMMARY = "Simple Python module for working with HTML/CSS color definitions." -HOMEPAGE = "https://pypi.org/project/webcolors/" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=bcf737478d2fa8af5bc954231df056c6" - -SRC_URI[sha256sum] = "16d043d3a08fd6a1b1b7e3e9e62640d09790dce80d2bdd4792a175b35fe794a9" - -inherit pypi setuptools3 ptest - -RDEPENDS:${PN}:class-target = "\ - ${PYTHON_PN}-stringold \ -" - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ - ${PYTHON_PN}-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-devtools/python/python3-webcolors_1.13.bb b/meta/recipes-devtools/python/python3-webcolors_1.13.bb new file mode 100644 index 0000000000..2a6be3f9cb --- /dev/null +++ b/meta/recipes-devtools/python/python3-webcolors_1.13.bb @@ -0,0 +1,28 @@ +SUMMARY = "Simple Python module for working with HTML/CSS color definitions." +HOMEPAGE = "https://pypi.org/project/webcolors/" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=702b1ef12cf66832a88f24c8f2ee9c19" + +SRC_URI[sha256sum] = "c225b674c83fa923be93d235330ce0300373d02885cef23238813b0d5668304a" + +inherit pypi python_setuptools_build_meta ptest + +RDEPENDS:${PN}:class-target = "\ + ${PYTHON_PN}-stringold \ +" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-unittest-automake-output \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf