[oe] [meta-python] [PATCH] python-ipaddress: upgrade 1.0.22 -> 1.0.23

Zang Ruochen zangrc.fnst at cn.fujitsu.com
Tue Oct 22 01:27:59 UTC 2019


-Add python3 version.

Signed-off-by: Zang Ruochen <zangrc.fnst at cn.fujitsu.com>
---
 .../python/{python-ipaddress_1.0.22.bb => python-ipaddress.inc}   | 8 ++++----
 meta-python/recipes-devtools/python/python-ipaddress_1.0.23.bb    | 2 ++
 meta-python/recipes-devtools/python/python3-ipaddress_1.0.23.bb   | 2 ++
 3 files changed, 8 insertions(+), 4 deletions(-)
 rename meta-python/recipes-devtools/python/{python-ipaddress_1.0.22.bb => python-ipaddress.inc} (56%)
 create mode 100644 meta-python/recipes-devtools/python/python-ipaddress_1.0.23.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-ipaddress_1.0.23.bb

diff --git a/meta-python/recipes-devtools/python/python-ipaddress_1.0.22.bb b/meta-python/recipes-devtools/python/python-ipaddress.inc
similarity index 56%
rename from meta-python/recipes-devtools/python/python-ipaddress_1.0.22.bb
rename to meta-python/recipes-devtools/python/python-ipaddress.inc
index 66de8b6..a230206 100644
--- a/meta-python/recipes-devtools/python/python-ipaddress_1.0.22.bb
+++ b/meta-python/recipes-devtools/python/python-ipaddress.inc
@@ -3,11 +3,11 @@ HOMEPAGE = "https://github.com/phihag/ipaddress"
 LICENSE = "Python-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=7f538584cc3407bf76042def7168548a"
 
-DEPENDS += "python-pip"
+DEPENDS += "${PYTHON_PN}-pip"
 
-SRC_URI[md5sum] = "74c1ce3109f30eaa1ab3dd342e7b76d4"
-SRC_URI[sha256sum] = "b146c751ea45cad6188dd6cf2d9b757f6f4f8d6ffb96a023e6f2e26eea02a72c"
+SRC_URI[md5sum] = "aaee67a8026782af1831148beb0d9060"
+SRC_URI[sha256sum] = "b7f8e0369580bb4a24d5ba1d7cc29660a4a6987763faf1d8a8046830e020e7e2"
 
-inherit pypi setuptools
+inherit pypi
 
 BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-ipaddress_1.0.23.bb b/meta-python/recipes-devtools/python/python-ipaddress_1.0.23.bb
new file mode 100644
index 0000000..ed4e6cb
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-ipaddress_1.0.23.bb
@@ -0,0 +1,2 @@
+inherit setuptools
+require python-ipaddress.inc
diff --git a/meta-python/recipes-devtools/python/python3-ipaddress_1.0.23.bb b/meta-python/recipes-devtools/python/python3-ipaddress_1.0.23.bb
new file mode 100644
index 0000000..77e9787
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-ipaddress_1.0.23.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-ipaddress.inc
-- 
2.7.4





More information about the Openembedded-devel mailing list