On Tue, Jul 4, 2023 at 10:09 PM Sudip Mukherjee <sudipm.mukher...@gmail.com> wrote:
> Upstream has removed setup.py and started using pyproject.toml > > Signed-off-by: Sudip Mukherjee <sudipm.mukher...@gmail.com> > --- > ...ython3-pygments_2.14.0.bb => python3-pygments_2.15.1.bb} | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > rename meta/recipes-devtools/python/{python3-pygments_2.14.0.bb => > python3-pygments_2.15.1.bb} (76%) > > diff --git a/meta/recipes-devtools/python/python3-pygments_2.14.0.bb > b/meta/recipes-devtools/python/python3-pygments_2.15.1.bb > 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 16769e9263..7e3b286f41 100644 > --- a/meta/recipes-devtools/python/python3-pygments_2.14.0.bb > +++ b/meta/recipes-devtools/python/python3-pygments_2.15.1.bb > @@ -5,7 +5,7 @@ LICENSE = "BSD-2-Clause" > LIC_FILES_CHKSUM = "file://LICENSE;md5=36a13c90514e2899f1eba7f41c3ee592" > > inherit setuptools3 instead of setuptools3, inherit python_setuptools_build_meta Look at the build.backend variable in pyproject.toml for hints https://github.com/pygments/pygments/blob/master/pyproject.toml#L4 > > -SRC_URI[sha256sum] = > "b3ed06a9e8ac9a9aae5a6f5dbe78a8a58655d17b43b93c078f094ddc476ae297" > +SRC_URI[sha256sum] = > "8ace4d3c1dd481894b2005f560ead0f9f19ee64fe983366be1a21e171d12775c" > > DEPENDS += "\ > ${PYTHON_PN} \ > @@ -15,5 +15,9 @@ PYPI_PACKAGE = "Pygments" > > inherit pypi > > +do_compile () { > + python_pep517_do_compile > +} > + inheriting the proper class will do this > > BBCLASSEXTEND = "native nativesdk" > > -- > 2.30.2 > > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#183876): https://lists.openembedded.org/g/openembedded-core/message/183876 Mute This Topic: https://lists.openembedded.org/mt/99953624/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-