Skip to contentSkip to conversation

python-bcrypt: add a python3 version of the recipe

PATCH New Derek Straka 1 participant 1 message Sep 19, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-bcrypt: add a python3 version of the recipe

---
 meta-python/recipes-devtools/python/python-bcrypt.inc   | 15 +++++++++++++++
 .../recipes-devtools/python/python-bcrypt_3.1.3.bb      | 17 ++---------------
 .../recipes-devtools/python/python3-bcrypt_3.1.3.bb     |  2 ++
 3 files changed, 19 insertions(+), 15 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-bcrypt.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-bcrypt_3.1.3.bb
meta-python/recipes-devtools/python/python-bcrypt.inc new file +15 -0
new file mode 100644
index 0000000..667a3fb
@@ -0,0 +1,15 @@
+DESCRIPTION = "Modern password hashing for your software and your servers."
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=8f7bb094c7232b058c7e9f2e431f389c"
+
+DEPENDS += "${PYTHON_PN}-cffi-native"
+
+SRC_URI[md5sum] = "20da8b40790caad99c4086dba533154b"
+SRC_URI[sha256sum] = "6645c8d0ad845308de3eb9be98b6fd22a46ec5412bfc664a423e411cdd8f5488"
+
+inherit pypi
+
+RDEPENDS_${PN}_class-target += "\
+    ${PYTHON_PN}-cffi \
+    ${PYTHON_PN}-six \
+"
meta-python/recipes-devtools/python/python-bcrypt_3.1.3.bb +2 -15
index c690f0d..2433354 100644
@@ -1,15 +1,2 @@
-DESCRIPTION = "Modern password hashing for your software and your servers."
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=8f7bb094c7232b058c7e9f2e431f389c"
-
-DEPENDS = "python-cffi-native"
-
-SRC_URI[md5sum] = "20da8b40790caad99c4086dba533154b"
-SRC_URI[sha256sum] = "6645c8d0ad845308de3eb9be98b6fd22a46ec5412bfc664a423e411cdd8f5488"
-
-inherit pypi setuptools
-
-RDEPENDS_${PN}_class-target += "\
-    ${PYTHON_PN}-cffi \
-    ${PYTHON_PN}-six \
-"
+inherit setuptools
+require python-bcrypt.inc
meta-python/recipes-devtools/python/python3-bcrypt_3.1.3.bb new file +2 -0
new file mode 100644
index 0000000..d2ec9e3
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-bcrypt.inc
Signature · 1 line
2.7.4