* Drop redundant DEPENDS
* PEP-517 backend is now hatchling -> inherit python_hatchling
* Drop PYPI_PACKAGE as upstream download filename is now "pygments"
* Add UPSTREAM_CHECK_PYPI_PACKAGE since upstream path is still "/Pygments/"

https://github.com/pygments/pygments/blob/2.17.2/CHANGES

Signed-off-by: Tim Orling <tim.orl...@konsulko.com>
---
Tested basic "python3; import pygments" on core-image-full-cmdline for 
qemux86-64
Tested 'devtool latest-version python3-pygments'

 ...-pygments_2.16.1.bb => python3-pygments_2.17.2.bb} | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)
 rename meta/recipes-devtools/python/{python3-pygments_2.16.1.bb => 
python3-pygments_2.17.2.bb} (61%)

diff --git a/meta/recipes-devtools/python/python3-pygments_2.16.1.bb 
b/meta/recipes-devtools/python/python3-pygments_2.17.2.bb
similarity index 61%
rename from meta/recipes-devtools/python/python3-pygments_2.16.1.bb
rename to meta/recipes-devtools/python/python3-pygments_2.17.2.bb
index 240d01d0dfa..8b98064b784 100644
--- a/meta/recipes-devtools/python/python3-pygments_2.16.1.bb
+++ b/meta/recipes-devtools/python/python3-pygments_2.17.2.bb
@@ -4,15 +4,10 @@ HOMEPAGE = "http://pygments.org/";
 LICENSE = "BSD-2-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=36a13c90514e2899f1eba7f41c3ee592"
 
-inherit python_setuptools_build_meta
-SRC_URI[sha256sum] = 
"1daff0494820c69bc8941e407aa20f577374ee88364ee10a98fdbe0aece96e29"
-
-DEPENDS += "\
-            ${PYTHON_PN} \
-            "
-
-PYPI_PACKAGE = "Pygments"
+inherit python_hatchling
+SRC_URI[sha256sum] = 
"da46cec9fd2de5be3a8a784f434e4c4ab670b4ff54d605c4c2717e9d49c4c367"
 
+UPSTREAM_CHECK_PYPI_PACKAGE = "Pygments"
 inherit pypi
 
 BBCLASSEXTEND = "native nativesdk"
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#191772): 
https://lists.openembedded.org/g/openembedded-core/message/191772
Mute This Topic: https://lists.openembedded.org/mt/102984413/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to