[oe] [meta-python][PATCH 2/2] python-cryptography: update to version 1.6

Derek Straka derek at asterius.io
Wed Nov 30 19:13:55 UTC 2016


Signed-off-by: Derek Straka <derek at asterius.io>
---
 .../recipes-devtools/python/python-cryptography.inc     | 17 +++++++++++++----
 ...n-cryptography_1.4.bb => python-cryptography_1.6.bb} |  7 ++++++-
 ...-cryptography_1.4.bb => python3-cryptography_1.6.bb} |  0
 3 files changed, 19 insertions(+), 5 deletions(-)
 rename meta-python/recipes-devtools/python/{python-cryptography_1.4.bb => python-cryptography_1.6.bb} (72%)
 rename meta-python/recipes-devtools/python/{python3-cryptography_1.4.bb => python3-cryptography_1.6.bb} (100%)

diff --git a/meta-python/recipes-devtools/python/python-cryptography.inc b/meta-python/recipes-devtools/python/python-cryptography.inc
index d4767b1..50483bd 100644
--- a/meta-python/recipes-devtools/python/python-cryptography.inc
+++ b/meta-python/recipes-devtools/python/python-cryptography.inc
@@ -1,6 +1,6 @@
 SUMMARY = "Provides cryptographic recipes and primitives to python developers"
 LICENSE = "Apache-2.0 | BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1f375ab4f6b9a7c9eec25377c52d3aa1"
 
 DEPENDS += " \
     ${PYTHON_PN}-cffi \
@@ -9,18 +9,27 @@ DEPENDS += " \
     ${PYTHON_PN}-six \
 "
 
-SRC_URI[md5sum] = "a9763e3831cc7cdb402c028fac1ceb39"
-SRC_URI[sha256sum] = "bb149540ed90c4b2171bf694fe6991d6331bc149ae623c8ff419324f4222d128"
+SRC_URI[md5sum] = "33ed393be75f04cd889a02a11acbab39"
+SRC_URI[sha256sum] = "4d0d86d2c8d3fc89133c3fa0d164a688a458b6663ab6fa965c80d6c2cdaf9b3f"
 
 RDEPENDS_${PN} += " \
     ${PYTHON_PN}-cffi \
     ${PYTHON_PN}-idna \
-    ${PYTHON_PN}-numbers \
     ${PYTHON_PN}-pyasn1 \
     ${PYTHON_PN}-pycparser \
     ${PYTHON_PN}-setuptools \
     ${PYTHON_PN}-six \
+"
+
+RDEPENDS_${PN}_class-target += " \
+    ${PYTHON_PN}-cffi \
+    ${PYTHON_PN}-idna \
+    ${PYTHON_PN}-numbers \
+    ${PYTHON_PN}-pyasn1 \
+    ${PYTHON_PN}-pycparser \
     ${PYTHON_PN}-subprocess \
+    ${PYTHON_PN}-setuptools \
+    ${PYTHON_PN}-six \
     ${PYTHON_PN}-threading \
 "
 
diff --git a/meta-python/recipes-devtools/python/python-cryptography_1.4.bb b/meta-python/recipes-devtools/python/python-cryptography_1.6.bb
similarity index 72%
rename from meta-python/recipes-devtools/python/python-cryptography_1.4.bb
rename to meta-python/recipes-devtools/python/python-cryptography_1.6.bb
index b05c615..f5b1e0b 100644
--- a/meta-python/recipes-devtools/python/python-cryptography_1.4.bb
+++ b/meta-python/recipes-devtools/python/python-cryptography_1.6.bb
@@ -10,7 +10,12 @@ DEPENDS += " \
 "
 
 RDEPENDS_${PN} += " \
-    ${PYTHON_PN}-contextlib \
     ${PYTHON_PN}-enum34 \
     ${PYTHON_PN}-ipaddress \
 "
+
+RDEPENDS_${PN}_class-target += " \
+    ${PYTHON_PN}-enum34 \
+    ${PYTHON_PN}-ipaddress \
+    ${PYTHON_PN}-contextlib \
+"
diff --git a/meta-python/recipes-devtools/python/python3-cryptography_1.4.bb b/meta-python/recipes-devtools/python/python3-cryptography_1.6.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python3-cryptography_1.4.bb
rename to meta-python/recipes-devtools/python/python3-cryptography_1.6.bb
-- 
2.7.4




More information about the Openembedded-devel mailing list