From: Ross Burton Date: Wed, 30 Jul 2025 16:03:43 +0000 (+0100) Subject: python3-docutils: upgrade to 0.22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2a105d753310eda94ccf22ec89c276fd2b30dd9;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git python3-docutils: upgrade to 0.22 License-Update: the code that was ZPL-licensed has been removed[1]. Explicitly set a non-GPLv3 LICENSE on the output package as we don't actually ship the GPLv3 file. This fixes the incorrect hashbangs, so we can remove the manual seds. Signed-off-by: Ross Burton [1] https://sourceforge.net/p/docutils/code/9977/ Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/python/python3-docutils_0.21.2.bb b/meta/recipes-devtools/python/python3-docutils_0.21.2.bb deleted file mode 100644 index 237cabb195..0000000000 --- a/meta/recipes-devtools/python/python3-docutils_0.21.2.bb +++ /dev/null @@ -1,22 +0,0 @@ -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_flit_core - -RDEPENDS:${PN} += " \ - python3-pprint \ -" - -do_install:append() { - # Make sure we use /usr/bin/env python3 - for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do - sed -i -e '1s|^#!.*|#!/usr/bin/env python3|' $PYTHSCRIPT - done -} - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-devtools/python/python3-docutils_0.22.bb b/meta/recipes-devtools/python/python3-docutils_0.22.bb new file mode 100644 index 0000000000..2dafa034fb --- /dev/null +++ b/meta/recipes-devtools/python/python3-docutils_0.22.bb @@ -0,0 +1,16 @@ +SUMMARY = "Docutils is a modular system for processing documentation into useful formats" +HOMEPAGE = "http://docutils.sourceforge.net" +SECTION = "devel/python" +LICENSE = "CC0-1.0 & BSD-2-Clause & GPL-3.0-only" +LIC_FILES_CHKSUM = "file://COPYING.rst;md5=ce467b04b35c7ac3429b6908fc8b318e" + +SRC_URI[sha256sum] = "ba9d57750e92331ebe7c08a1bbf7a7f8143b86c476acd51528b042216a6aad0f" + +inherit pypi python_flit_core + +RDEPENDS:${PN} += "python3-pprint" + +# We don't install the emacs lisp, which is the only piece of GPLv3 +LICENSE:${PN} = "CC0-1.0 & BSD-2-Clause" + +BBCLASSEXTEND = "native nativesdk"