From: Trevor Gamblin Date: Thu, 6 Jun 2024 12:37:47 +0000 (-0400) Subject: python3-docutils: upgrade 0.20.1 -> 0.21.2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38f2293304fbd884d4653f7746bc1d5a9bac12c1;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git python3-docutils: upgrade 0.20.1 -> 0.21.2 License-Update: Change from PSF 2.x to ZPL-2.1, add CC0 A few notable things change with this upgrade: - docutils now uses the Zope 2.1 license instead of PSF 2.1.1 - It now uses flit as the build backend - The do_install append is no longer needed, as the rst2* endpoints lacking the .py extension are included - python3-pprint is added to RDEPENDS Changelog: https://docutils.sourceforge.io/RELEASE-NOTES.html Signed-off-by: Trevor Gamblin Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/python/python3-docutils_0.20.1.bb b/meta/recipes-devtools/python/python3-docutils_0.20.1.bb deleted file mode 100644 index 6038732cc4f..00000000000 --- a/meta/recipes-devtools/python/python3-docutils_0.20.1.bb +++ /dev/null @@ -1,20 +0,0 @@ -SUMMARY = "Docutils is a modular system for processing documentation into useful formats" -HOMEPAGE = "http://docutils.sourceforge.net" -SECTION = "devel/python" -LICENSE = "PSF-2.0 & BSD-2-Clause & GPL-3.0-only" -LIC_FILES_CHKSUM = "file://COPYING.txt;md5=08f5f8aa6a1db2500c08a2bb558e45af" - -SRC_URI[sha256sum] = "f08a4e276c3a1583a86dce3e34aba3fe04d02bba2dd51ed16106244e8a923e3b" - -inherit pypi setuptools3 - -do_install:append() { - for f in rst2html rst2html4 rst2html5 rst2latex rst2man \ - rst2odt rst2odt_prepstyles rst2pseudoxml rst2s5 rst2xetex rst2xml \ - rstpep2html - do - mv ${D}${bindir}/$f.py ${D}${bindir}/$f; - done -} - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-devtools/python/python3-docutils_0.21.2.bb b/meta/recipes-devtools/python/python3-docutils_0.21.2.bb new file mode 100644 index 00000000000..ac41ef6858e --- /dev/null +++ b/meta/recipes-devtools/python/python3-docutils_0.21.2.bb @@ -0,0 +1,14 @@ +SUMMARY = "Docutils is a modular system for processing documentation into useful formats" +HOMEPAGE = "http://docutils.sourceforge.net" +SECTION = "devel/python" +LICENSE = "CC0-1.0 & ZPL-2.1 & BSD-2-Clause & GPL-3.0-only" +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=382430a09a4453818aa6618f2090491b" + +SRC_URI[sha256sum] = "3a6b18732edf182daa3cd12775bbb338cf5691468f91eeeb109deff6ebfa986f" + +inherit pypi python_setuptools_build_meta + +RDEPENDS:${PN} += " \ + python3-pprint \ +" +BBCLASSEXTEND = "native nativesdk"