python3-pygments: upgrade 2.16.1 -> 2.17.2

* 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

(From OE-Core rev: 426ec8595233203034d06dd30041c551f2622d90)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Tim Orling 2023-12-04 17:46:58 -08:00 committed by Richard Purdie
parent 37076ad1e1
commit ef7ba05995

View File

@ -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"