Skip to contentSkip to conversation

python3-termcolor: inherit setuptools3 not distutils

PATCH In review Wang Mingyu 1 participant 3 messages Jan 19, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 6/8 python3-termcolor: inherit setuptools3 not distutils

---
 .../recipes-devtools/python/python3-termcolor_1.1.0.bb          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-openstack/recipes-devtools/python/python3-termcolor_1.1.0.bb +1 -1
index a8d50097..127287a7 100644
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING.txt;md5=809e8749b63567978acfbd81d9f6a27d"
 SRC_URI[md5sum] = "043e89644f8909d462fbbfa511c768df"
 SRC_URI[sha256sum] = "1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b"
 
-inherit distutils3 pypi
+inherit setuptools3 pypi
 
 DEPENDS += " \
         python3-pip \
Signature · 1 line
2.25.1
#1 lore raw

PATCH 7/8 mod-wsgi: inherit setuptools3-base not distutils3-base

---
 meta-openstack/recipes-support/mod-wsgi/mod-wsgi_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-openstack/recipes-support/mod-wsgi/mod-wsgi_git.bb +1 -1
index 910bba1b..b0daf54d 100644
@@ -20,7 +20,7 @@ SRC_URI = "\
 	file://configure.ac-allow-PYTHON-values-to-be-passed-via-en.patch \        
 	"
 
-inherit autotools-brokensep distutils3-base
+inherit autotools-brokensep setuptools3-base
 
 DEPENDS += "apache2-native apache2 python3"
 RDEPENDS:${PN} = "python3"
Signature · 1 line
2.25.1
#2 lore raw

PATCH 8/8 python3-novnc: update 0.5.1 -> 1.3.0

In reply to Wang Mingyu

refresh python-distutils.patch

License-Update:
-year updated to 2019
-file of the noVNC core library changed
-the HTML, CSS, font and images files that included with the noVNC
source distibution changed
-URL of history changed
-files and projects that have been incorporated into
the noVNC core library changed
-license texts changed

---
 .../python-distutils.patch                                | 4 ++--
 .../python/{python-novnc_git.bb => python3-novnc_git.bb}  | 8 +++-----
 2 files changed, 5 insertions(+), 7 deletions(-)
 rename meta-openstack/recipes-devtools/python/{python-novnc => python3-novnc}/python-distutils.patch (91%)
 rename meta-openstack/recipes-devtools/python/{python-novnc_git.bb => python3-novnc_git.bb} (68%)
meta-openstack/recipes-devtools/python/python3-novnc/python-distutils.patch renamed from meta-openstack/recipes-devtools/python/python-novnc/python-distutils.patch +2 -2
similarity index 91%
rename from meta-openstack/recipes-devtools/python/python-novnc/python-distutils.patch
rename to meta-openstack/recipes-devtools/python/python3-novnc/python-distutils.patch
index ef3393f3..85befc9f 100644
@@ -1,13 +1,13 @@
 Index: git/setup.py
 ===================================================================
 --- /dev/null
-+++ git/setup.py
++++ b/setup.py
 @@ -0,0 +1,14 @@
 +#!/usr/bin/env python
 +
 +from distutils.core import setup
 +
-+setup(name='python-novnc',
++setup(name='python3-novnc',
 +      version='2012.1~e3',
 +      description='NoVNC python libraries',
 +      author='Ghe Rivero',
meta-openstack/recipes-devtools/python/python3-novnc_git.bb renamed from meta-openstack/recipes-devtools/python/python-novnc_git.bb +3 -5
similarity index 68%
rename from meta-openstack/recipes-devtools/python/python-novnc_git.bb
rename to meta-openstack/recipes-devtools/python/python3-novnc_git.bb
index da5f048e..b41b5876 100644
@@ -2,13 +2,11 @@ DESCRIPTION = "This package contains the core python parts of NoVNC"
 HOMEPAGE = "https://github.com/kanaka/noVNC"
 SECTION = "devel/python"
 
-PR = "r0"
-
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=6458695fb66dcd893becb5f9f912715e"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=99aebbcc36b17df855fad64d4b792bff"
 
-SRCREV = "3b8ec46fd26d644e6edbea4f46e630929297e448"
-PV = "0.5.1+git${SRCPV}"
+SRCREV = "463c39e4af98ec4106b87bbea17e1605aa4c6180"
+PV = "1.3.0"
 
 SRC_URI = "git://github.com/kanaka/noVNC.git;branch=master;protocol=https \
            file://python-distutils.patch"
Signature · 1 line
2.25.1