From 798db38f993cf9bad6feb2da6e0eea0a582ba9f3 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Thu, 2 Jun 2016 12:25:58 +0300 Subject: [PATCH] python-docutils: move to Python 3 Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python3-dbus_1.2.4.bb | 4 ++-- .../{python-docutils_0.12.bb => python3-docutils_0.12.bb} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename meta/recipes-devtools/python/{python-docutils_0.12.bb => python3-docutils_0.12.bb} (92%) diff --git a/meta/recipes-devtools/python/python3-dbus_1.2.4.bb b/meta/recipes-devtools/python/python3-dbus_1.2.4.bb index c058cafcf1..759512c396 100644 --- a/meta/recipes-devtools/python/python3-dbus_1.2.4.bb +++ b/meta/recipes-devtools/python/python3-dbus_1.2.4.bb @@ -15,8 +15,8 @@ S = "${WORKDIR}/dbus-python-${PV}" inherit distutils3-base autotools pkgconfig PACKAGECONFIG ?= "" -PACKAGECONFIG[docs] = "--enable-html-docs,--disable-html-docs,python-docutils-native" -PACKAGECONFIG[api-docs] = "--enable-api-docs,--disable-api-docs,python-docutils-native python-epydoc-native" +PACKAGECONFIG[docs] = "--enable-html-docs,--disable-html-docs,python3-docutils-native" +PACKAGECONFIG[api-docs] = "--enable-api-docs,--disable-api-docs,python3-docutils-native python3-epydoc-native" do_configure_prepend() { export PYTHON=${PYTHON} diff --git a/meta/recipes-devtools/python/python-docutils_0.12.bb b/meta/recipes-devtools/python/python3-docutils_0.12.bb similarity index 92% rename from meta/recipes-devtools/python/python-docutils_0.12.bb rename to meta/recipes-devtools/python/python3-docutils_0.12.bb index 8cda88d277..e78fa3bbc8 100644 --- a/meta/recipes-devtools/python/python-docutils_0.12.bb +++ b/meta/recipes-devtools/python/python3-docutils_0.12.bb @@ -4,7 +4,7 @@ SECTION = "devel/python" LICENSE = "PSF & BSD-2-Clause & GPLv3" LIC_FILES_CHKSUM = "file://COPYING.txt;md5=a722fbdc20347db7b69223594dd54574" -DEPENDS = "python" +DEPENDS = "python3" SRC_URI = "${SOURCEFORGE_MIRROR}/docutils/docutils-${PV}.tar.gz" SRC_URI[md5sum] = "4622263b62c5c771c03502afa3157768" @@ -12,7 +12,7 @@ SRC_URI[sha256sum] = "c7db717810ab6965f66c8cf0398a98c9d8df982da39b4cd7f162911eb8 S = "${WORKDIR}/docutils-${PV}" -inherit distutils +inherit distutils3 BBCLASSEXTEND = "native" -- 2.40.1