diff mbox series

python3-docutils: upgrade 0.20.1 -> 0.21.2

Message ID 20240604135942.2721706-1-tgamblin@baylibre.com
State Accepted, archived
Commit 38f2293304fbd884d4653f7746bc1d5a9bac12c1
Headers show
Series python3-docutils: upgrade 0.20.1 -> 0.21.2 | expand

Commit Message

Trevor Gamblin June 4, 2024, 1:59 p.m. UTC
From: Trevor Gamblin <tgamblin@baylibre.com>

License-Update: Change from PSF 2.x to ZPL-2.1

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 <tgamblin@baylibre.com>
---
 .../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

Comments

Ross Burton June 6, 2024, 11:05 a.m. UTC | #1
On 4 Jun 2024, at 14:59, Trevor Gamblin via lists.openembedded.org <tgamblin=baylibre.com@lists.openembedded.org> wrote:
> +LICENSE = "ZPL-2.1 & BSD-2-Clause & GPL-3.0-only"
> +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=382430a09a4453818aa6618f2090491b"

That LICENSE does not match the COPYING.txt.  Can we refresh it?

Notably the bulk of the code is “public domain” (urgh!), that license list are the exceptions.

Ross
diff mbox series

Patch

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 6038732cc4..0000000000
--- 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 0000000000..f4134f47c4
--- /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 = "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"