Skip to contentSkip to conversation

python3-flake8: Change python to python3

PATCH New Wang Mingyu 1 participant 5 messages Jun 29, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-flake8: Change python to python3

upgrade 2.4.0 -> 3.8.3

-License-Update: Copyright year updated to 2016.

---
 .../python/python-flake8_2.4.0.bb               | 17 -----------------
 .../python/python3-flake8_3.8.3.bb              | 17 +++++++++++++++++
 2 files changed, 17 insertions(+), 17 deletions(-)
 delete mode 100644 meta-openstack/recipes-devtools/python/python-flake8_2.4.0.bb
 create mode 100644 meta-openstack/recipes-devtools/python/python3-flake8_3.8.3.bb
meta-openstack/recipes-devtools/python/python-flake8_2.4.0.bb deleted +0 -17
deleted file mode 100644
index f476c42..0000000
@@ -1,17 +0,0 @@
-DESCRIPTION = "The modular source code checker: pep8, pyflakes and co"
-HOMEPAGE = "https://github.com/dreamhost/cliff"
-SECTION = "devel/python"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=7a76e57e683629e1ac2a49406169c2a3"
-
-SRC_URI[md5sum] = "d413935bb21026c18aca82654114502f"
-SRC_URI[sha256sum] = "d26a9d0252da9f831b8277b824961bb10b1f9d79f4752d32e4814b7bcd1e089b"
-
-inherit setuptools3 pypi
-
-RDEPENDS_${PN} += "python-prettytable \
-            python-cmd2 \
-            python-pyparsing \
-            python-mccabe \
-            python-pep8 \
-            python-pyflakes"
meta-openstack/recipes-devtools/python/python3-flake8_3.8.3.bb new file +17 -0
new file mode 100644
index 0000000..9385c80
@@ -0,0 +1,17 @@
+DESCRIPTION = "The modular source code checker: pep8, pyflakes and co"
+HOMEPAGE = "https://github.com/dreamhost/cliff"
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=75b26781f1adf1aa310bda6098937878"
+
+SRC_URI[md5sum] = "b11380b47468c3dc7323396d4b8c1746"
+SRC_URI[sha256sum] = "f04b9fcbac03b0a3e58c0ab3a0ecc462e023a9faf046d57794184028123aa208"
+
+inherit setuptools3 pypi
+
+RDEPENDS_${PN} += "python3-prettytable \
+            python3-cmd2 \
+            python3-pyparsing \
+            python3-mccabe \
+            python3-pep8 \
+            python3-pyflakes"
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 python3-oslotest: Change python to python3

upgrade 2.17.0 -> 2.17.2

---
 ...slotest_git.bb => python3-oslotest_git.bb} | 26 +++++++++----------
 1 file changed, 13 insertions(+), 13 deletions(-)
 rename meta-openstack/recipes-devtools/python/{python-oslotest_git.bb => python3-oslotest_git.bb} (57%)
meta-openstack/recipes-devtools/python/python3-oslotest_git.bb renamed from meta-openstack/recipes-devtools/python/python-oslotest_git.bb +13 -13
similarity index 57%
rename from meta-openstack/recipes-devtools/python/python-oslotest_git.bb
rename to meta-openstack/recipes-devtools/python/python3-oslotest_git.bb
index 7505100..ecc0672 100644
@@ -6,8 +6,8 @@ SECTION = "devel/python"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=34400b68072d710fecd0a2940a0d1658"
 
-PV = "2.17.0+git${SRCPV}"
-SRCREV = "aea2b5cfd6442195f7ee479e21664631825af924"
+PV = "2.17.2+git${SRCPV}"
+SRCREV = "54ac29c3edd46530c1ee90eb860a7e686d9a3740"
 
 SRCNAME = "oslotest"
 SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/pike"
@@ -17,23 +17,23 @@ S = "${WORKDIR}/git"
 inherit setuptools3
 
 DEPENDS += "\
-    python-pbr \
+    python3-pbr \
     "
 
 # Satisfy setup.py 'setup_requires'
 DEPENDS += " \
-        python-pbr-native \
+        python3-pbr-native \
 	"
 
-RDEPENDS_${PN} = "python-fixtures \
-                  python-subunit \
-                  python-six \
-                  python-testrepository \
-                  python-testtools \
-                  python-mock \
-                  python-mox3 \
-                  python-os-client-config \
-                  python-debtcollector \
+RDEPENDS_${PN} = "python3-fixtures \
+                  python3-subunit \
+                  python3-six \
+                  python3-testrepository \
+                  python3-testtools \
+                  python3-mock \
+                  python3-mox3 \
+                  python3-os-client-config \
+                  python3-debtcollector \
                   bash \
 "
 	
Signature · 1 line
2.17.1
#2 lore raw

PATCH 1/1 python3-ovsdbapp: Change python to python3

In reply to Wang Mingyu

upgrade 0.4.1 -> 0.4.4

---
 ...ovsdbapp_git.bb => python3-ovsdbapp_git.bb} | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
 rename meta-openstack/recipes-devtools/python/{python-ovsdbapp_git.bb => python3-ovsdbapp_git.bb} (65%)
meta-openstack/recipes-devtools/python/python3-ovsdbapp_git.bb renamed from meta-openstack/recipes-devtools/python/python-ovsdbapp_git.bb +9 -9
similarity index 65%
rename from meta-openstack/recipes-devtools/python/python-ovsdbapp_git.bb
rename to meta-openstack/recipes-devtools/python/python3-ovsdbapp_git.bb
index c464f2a..4c0510c 100644
@@ -7,26 +7,26 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
 SRCNAME = "ovsdbapp"
 SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/pike"
 
-PV = "0.4.1+git${SRCPV}"
-SRCREV = "742754bce3c9453f8c7186455a92e4f6d6b18ace"
+PV = "0.4.4+git${SRCPV}"
+SRCREV = "40064ca2d99389f278028508a17f2e38d6df6f10"
 S = "${WORKDIR}/git"
 
 inherit setuptools3
 
-# DEPENDS_default: python-pip
+# DEPENDS_default: python3-pip
 
 DEPENDS += " \
-        python-pip \
-        python-pbr \
+        python3-pip \
+        python3-pbr \
         "
 
 # Satisfy setup.py 'setup_requires'
 DEPENDS += " \
-        python-pbr-native \
+        python3-pbr-native \
         "
 
 RDEPENDS_${PN} += " \
-        python-fixtures \
-        python-ovs \
-        python-pbr \
+        python3-fixtures \
+        python3-ovs \
+        python3-pbr \
         "
Signature · 1 line
2.17.1
#3 lore raw

PATCH 1/1 python3-trollius: Change python to python3

In reply to Wang Mingyu

upgrade 2.0 -> 3.4.3

---
 .../{python-trollius_git.bb => python3-trollius_git.bb}     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-openstack/recipes-devtools/python/{python-trollius_git.bb => python3-trollius_git.bb} (81%)
meta-openstack/recipes-devtools/python/python3-trollius_git.bb renamed from meta-openstack/recipes-devtools/python/python-trollius_git.bb +3 -3
similarity index 81%
rename from meta-openstack/recipes-devtools/python/python-trollius_git.bb
rename to meta-openstack/recipes-devtools/python/python3-trollius_git.bb
index 3e15f5f..acba23e 100644
@@ -4,8 +4,8 @@ SECTION = "devel/python"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://COPYING;md5=8f7bb094c7232b058c7e9f2e431f389c"
 
-PV = "2.0+git${SRCPV}"
-SRCREV = "5e9854d7b7bed6eb6e182808379342355e2bfca4"
+PV = "3.4.3+git${SRCPV}"
+SRCREV = "7b2d8abfce1d7ef18ef516f9b1b7032172630375"
 
 SRCNAME = "trollius"
 SRC_URI = "git://github.com/haypo/${SRCNAME}.git;branch=trollius"
@@ -15,7 +15,7 @@ S = "${WORKDIR}/git"
 inherit setuptools3
 
 DEPENDS += " \
-        python-pip \
+        python3-pip \
         "
 
 RDEPENDS_${PN} += " \
Signature · 1 line
2.17.1
#4 lore raw

PATCH 1/1 python3-xstatic-bootswatch: Change python to python3

In reply to Wang Mingyu
---
 .../python/python-xstatic-bootswatch.inc      | 19 -----------------
 .../python-xstatic-bootswatch_3.3.7.0.bb      |  2 --
 .../python3-xstatic-bootswatch_3.3.7.0.bb     | 21 +++++++++++++++++--
 3 files changed, 19 insertions(+), 23 deletions(-)
 delete mode 100644 meta-openstack/recipes-devtools/python/python-xstatic-bootswatch.inc
 delete mode 100644 meta-openstack/recipes-devtools/python/python-xstatic-bootswatch_3.3.7.0.bb
meta-openstack/recipes-devtools/python/python-xstatic-bootswatch.inc deleted +0 -19
deleted file mode 100644
index 60b978a..0000000
@@ -1,19 +0,0 @@
-DESCRIPTION = "bootswatch javascript library packaged for setuptools (easy_install) / pip."
-HOMEPAGE = "https://pypi.python.org/pypi/XStatic-bootswatch"
-SECTION = "devel/python"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
-
-PYPI_PACKAGE = "XStatic-bootswatch"
-
-SRC_URI[md5sum] = "422f09e076ff1741b76a9f7554ceca32"
-SRC_URI[sha256sum] = "93ee5863c1ec07212fe12ae137a10708b4102720391d460f061dd3f441ba3b6e"
-
-inherit pypi
-
-DEPENDS += " \
-        ${PYTHON_PN}-pip \
-        "
-
-RDEPENDS_${PN} += " \
-        "
meta-openstack/recipes-devtools/python/python-xstatic-bootswatch_3.3.7.0.bb deleted +0 -2
deleted file mode 100644
index 5a7d5f8..0000000
@@ -1,2 +0,0 @@
-require python-xstatic-bootswatch.inc
-inherit setuptools3
meta-openstack/recipes-devtools/python/python3-xstatic-bootswatch_3.3.7.0.bb +19 -2
index 5a7d5f8..52cbe2a 100644
@@ -1,2 +1,19 @@
-require python-xstatic-bootswatch.inc
-inherit setuptools3
+DESCRIPTION = "bootswatch javascript library packaged for setuptools (easy_install) / pip."
+HOMEPAGE = "https://pypi.python.org/pypi/XStatic-bootswatch"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
+
+PYPI_PACKAGE = "XStatic-bootswatch"
+
+SRC_URI[md5sum] = "422f09e076ff1741b76a9f7554ceca32"
+SRC_URI[sha256sum] = "93ee5863c1ec07212fe12ae137a10708b4102720391d460f061dd3f441ba3b6e"
+
+inherit pypi setuptools3
+
+DEPENDS += " \
+        ${PYTHON_PN}-pip \
+        "
+
+RDEPENDS_${PN} += " \
+        "
Signature · 1 line
2.17.1