python3-docutils: upgrade 0.20.1 -> 0.21.2
PATCH v2 1/1 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 <[email protected]>
---
v2 makes the CC0 (public domain) license specified in COPYING.txt explicit in the LICENSE line.
.../python/python3-docutils_0.20.1.bb | 20 ------------------- .../python/python3-docutils_0.21.2.bb | 14 +++++++++++++ 2 files changed, 14 insertions(+), 20 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-docutils_0.20.1.bb create mode 100644 meta/recipes-devtools/python/python3-docutils_0.21.2.bb
meta/recipes-devtools/python/python3-docutils_0.20.1.bb deleted +0 -20
@@ -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"
meta/recipes-devtools/python/python3-docutils_0.21.2.bb new file +14 -0
@@ -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"
Signature · 1 line
2.45.1