Skip to contentSkip to conversation

python3-pygments: upgrade 2.14.0 -> 2.15.1

PATCH New Tim Orling 1 participant 1 message Jul 5, 2023

lore
Share & tools
lore

Tim Orling

author
#0 lore raw

PATCH 1/1 python3-pygments: upgrade 2.14.0 -> 2.15.1

* Upstream has dropped setup.py
* Inherit python_setuptools_build_meta instead of setuptools3
* Add self as maintainer, as this is a dependency for python3-sphinx

Adds some new lexers, updates a few others. A handful of bug fixes.

https://github.com/pygments/pygments/blob/2.15.1/CHANGES#L6
https://github.com/pygments/pygments/blob/2.15.1/CHANGES#L18

---
 meta/conf/distro/include/maintainers.inc                      | 2 +-
 ...{python3-pygments_2.14.0.bb => python3-pygments_2.15.1.bb} | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-devtools/python/{python3-pygments_2.14.0.bb => python3-pygments_2.15.1.bb} (76%)
meta/conf/distro/include/maintainers.inc +1 -1
index 232107cd242..fafa8eeb2ca 100644
@@ -663,7 +663,7 @@ RECIPE_MAINTAINER:pn-python3-pyasn1 = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-pycairo = "Zang Ruochen <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-pycparser = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-pyelftools = "Joshua Watt <[email protected]>"
-RECIPE_MAINTAINER:pn-python3-pygments = "Unassigned <[email protected]>"
+RECIPE_MAINTAINER:pn-python3-pygments = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-pygobject = "Zang Ruochen <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-pyopenssl = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-python3-pyparsing = "Unassigned <[email protected]>"
meta/recipes-devtools/python/python3-pygments_2.15.1.bb renamed from meta/recipes-devtools/python/python3-pygments_2.14.0.bb +2 -2
similarity index 76%
rename from meta/recipes-devtools/python/python3-pygments_2.14.0.bb
rename to meta/recipes-devtools/python/python3-pygments_2.15.1.bb
index 16769e92635..e0e477100eb 100644
@@ -4,8 +4,8 @@ HOMEPAGE = "http://pygments.org/"
 LICENSE = "BSD-2-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=36a13c90514e2899f1eba7f41c3ee592"
 
-inherit setuptools3
-SRC_URI[sha256sum] = "b3ed06a9e8ac9a9aae5a6f5dbe78a8a58655d17b43b93c078f094ddc476ae297"
+inherit python_setuptools_build_meta
+SRC_URI[sha256sum] = "8ace4d3c1dd481894b2005f560ead0f9f19ee64fe983366be1a21e171d12775c"
 
 DEPENDS += "\
             ${PYTHON_PN} \
Signature · 1 line
2.30.2