Skip to contentSkip to conversation

python-docutils: Upgrade to 0.15.2

PATCH New Khem Raj 1 participant 2 messages Nov 3, 2019

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/2 python-docutils: Upgrade to 0.15.2

- License-Update: Formatting changes due to change in SRC_URI
- This is reflected as latest release on PyPI
- Add python3 variant
- Add python3 variant to meta-python packagegroup

---
 .../packagegroups/packagegroup-meta-python.bb  |  2 +-
 .../python/python-docutils_0.14rc2.bb          | 18 ------------------
 .../python/python-docutils_0.15.2.bb           | 15 +++++++++++++++
 .../python/python3-docutils_0.15.2.bb          | 15 +++++++++++++++
 4 files changed, 31 insertions(+), 19 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python-docutils_0.14rc2.bb
 create mode 100644 meta-python/recipes-devtools/python/python-docutils_0.15.2.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-docutils_0.15.2.bb
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +1 -1
index 42f416346d..bb05de1f55 100644
@@ -77,7 +77,7 @@ RDEPENDS_packagegroup-meta-python3 = "\
     python3-pint python3-coverage python3-iso8601 python3-ndg-httpsclient python3-yappi python3-twofish \
     python3-speaklater python3-smbus python3-djangorestframework python3-msgpack python3-jsonpointer \
     python3-flask-script python3-cassandra-driver python3-cython python3-ujson python3-aws-iot-device-sdk-python \
-    python3-pytest-runner python3-pyiface python3-flask-login python3-markupsafe python3-setuptools-scm \
+    python3-pytest-runner python3-pyiface python3-docutils python3-flask-login python3-markupsafe python3-setuptools-scm \
     python3-semver python3-sdnotify python3-flask-user python3-tornado python3-jsonpatch python3-pexpect \
     python3-progress python3-jsonschema python3-xstatic python3-pyroute2 python3-idna python3-sqlalchemy \
     python3-urllib3 python3-flask-mail python3-asn1crypto python3-pyinotify python3-intervals python3-pyperclip \
meta-python/recipes-devtools/python/python-docutils_0.14rc2.bb deleted +0 -18
deleted file mode 100644
index 68436a1a54..0000000000
@@ -1,18 +0,0 @@
-SUMMARY = "Text processing system for documentation"
-HOMEPAGE = "http://docutils.sourceforge.net"
-SECTION = "devel/python"
-LICENSE = "PSF & BSD-2-Clause & GPLv3"
-LIC_FILES_CHKSUM = "file://COPYING.txt;md5=35a23d42b615470583563132872c97d6"
-
-DEPENDS = "python"
-
-SRC_URI = "${SOURCEFORGE_MIRROR}/docutils/docutils-${PV}.tar.gz"
-SRC_URI[md5sum] = "2f4bee6451958252f7bec71f18b05be3"
-SRC_URI[sha256sum] = "3caee0bcb2a49fdf24fcfa70849a60abb7a181aa68b030f7cb7494096181830c"
-
-S = "${WORKDIR}/docutils-${PV}"
-
-inherit distutils
-
-BBCLASSEXTEND = "native"
-
meta-python/recipes-devtools/python/python-docutils_0.15.2.bb new file +15 -0
new file mode 100644
index 0000000000..d26e81908b
@@ -0,0 +1,15 @@
+SUMMARY = "Text processing system for documentation"
+HOMEPAGE = "http://docutils.sourceforge.net"
+SECTION = "devel/python"
+LICENSE = "PSF & BSD-2-Clause & GPLv3"
+LIC_FILES_CHKSUM = "file://COPYING.txt;md5=7a4646907ab9083c826280b19e103106"
+
+inherit pypi setuptools
+
+PYPI_PACKAGE = "docutils"
+
+SRC_URI[md5sum] = "e26a308d8000b0bed7416a633217c676"
+SRC_URI[sha256sum] = "a2aeea129088da402665e92e0b25b04b073c04b2dce4ab65caaa38b7ce2e1a99"
+
+BBCLASSEXTEND = "native"
+
meta-python/recipes-devtools/python/python3-docutils_0.15.2.bb new file +15 -0
new file mode 100644
index 0000000000..321f55572f
@@ -0,0 +1,15 @@
+SUMMARY = "Text processing system for documentation"
+HOMEPAGE = "http://docutils.sourceforge.net"
+SECTION = "devel/python"
+LICENSE = "PSF & BSD-2-Clause & GPLv3"
+LIC_FILES_CHKSUM = "file://COPYING.txt;md5=7a4646907ab9083c826280b19e103106"
+
+inherit pypi setuptools3
+
+PYPI_PACKAGE = "docutils"
+
+SRC_URI[md5sum] = "e26a308d8000b0bed7416a633217c676"
+SRC_URI[sha256sum] = "a2aeea129088da402665e92e0b25b04b073c04b2dce4ab65caaa38b7ce2e1a99"
+
+BBCLASSEXTEND = "native"
+
Signature · 1 line
2.23.0
author
#1 lore raw

PATCH 2/2 iwd: Use python3 variant of docutils during build

python2 is on its way out

---
 meta-oe/recipes-connectivity/iwd/iwd_0.23.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-oe/recipes-connectivity/iwd/iwd_0.23.bb +2 -2
index d48fb84504..20c6d04f7a 100644
@@ -2,9 +2,9 @@ DESCRIPTION = "Wireless daemon for Linux"
 LICENSE = "LGPL-2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=fb504b67c50331fc78734fed90fb0e09"
 
-inherit autotools pkgconfig systemd pythonnative
+inherit autotools pkgconfig systemd python3native
 
-DEPENDS = "ell readline dbus python-docutils-native"
+DEPENDS = "ell readline dbus python3-docutils-native"
 
 SRC_URI = "git://git.kernel.org/pub/scm/network/wireless/iwd.git"
 SRCREV = "77f16ae26fc013477f6362a0c33f0e52e82863e0"
Signature · 1 line
2.23.0