summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrevor Gamblin <tgamblin@baylibre.com>2024-06-06 08:37:47 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-06-07 23:21:42 +0100
commit6b70da17e3b412be70ba9c9c394bce773107a0e1 (patch)
treeb7c5b41f7b3b1cf3587bdf2f081c8a9258ba9e4d
parent2cd48e3e77a6d0f0b38d0d350581a835679bebdc (diff)
downloadpoky-6b70da17e3b412be70ba9c9c394bce773107a0e1.tar.gz
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 (From OE-Core rev: 38f2293304fbd884d4653f7746bc1d5a9bac12c1) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/python/python3-docutils_0.20.1.bb20
-rw-r--r--meta/recipes-devtools/python/python3-docutils_0.21.2.bb14
2 files changed, 14 insertions, 20 deletions
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 @@
1SUMMARY = "Docutils is a modular system for processing documentation into useful formats"
2HOMEPAGE = "http://docutils.sourceforge.net"
3SECTION = "devel/python"
4LICENSE = "PSF-2.0 & BSD-2-Clause & GPL-3.0-only"
5LIC_FILES_CHKSUM = "file://COPYING.txt;md5=08f5f8aa6a1db2500c08a2bb558e45af"
6
7SRC_URI[sha256sum] = "f08a4e276c3a1583a86dce3e34aba3fe04d02bba2dd51ed16106244e8a923e3b"
8
9inherit pypi setuptools3
10
11do_install:append() {
12 for f in rst2html rst2html4 rst2html5 rst2latex rst2man \
13 rst2odt rst2odt_prepstyles rst2pseudoxml rst2s5 rst2xetex rst2xml \
14 rstpep2html
15 do
16 mv ${D}${bindir}/$f.py ${D}${bindir}/$f;
17 done
18}
19
20BBCLASSEXTEND = "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..ac41ef6858
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-docutils_0.21.2.bb
@@ -0,0 +1,14 @@
1SUMMARY = "Docutils is a modular system for processing documentation into useful formats"
2HOMEPAGE = "http://docutils.sourceforge.net"
3SECTION = "devel/python"
4LICENSE = "CC0-1.0 & ZPL-2.1 & BSD-2-Clause & GPL-3.0-only"
5LIC_FILES_CHKSUM = "file://COPYING.txt;md5=382430a09a4453818aa6618f2090491b"
6
7SRC_URI[sha256sum] = "3a6b18732edf182daa3cd12775bbb338cf5691468f91eeeb109deff6ebfa986f"
8
9inherit pypi python_setuptools_build_meta
10
11RDEPENDS:${PN} += " \
12 python3-pprint \
13"
14BBCLASSEXTEND = "native nativesdk"