diff options
author | Derek Straka <derek@asterius.io> | 2017-09-19 15:27:07 -0400 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-09-22 22:50:46 +0000 |
commit | baa5f5cdf9639d661749d42b96e5222500f8c9df (patch) | |
tree | 55d5bdba1487488c2197d4d8bc507ce08b64e9f6 /meta-python/recipes-devtools/python | |
parent | c134e806376e53eb07814cb6a35b1f544598b456 (diff) | |
download | meta-openembedded-baa5f5cdf9639d661749d42b96e5222500f8c9df.tar.gz |
python-bcrypt: add a python3 version of the recipe
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python')
3 files changed, 19 insertions, 15 deletions
diff --git a/meta-python/recipes-devtools/python/python-bcrypt.inc b/meta-python/recipes-devtools/python/python-bcrypt.inc new file mode 100644 index 000000000..667a3fb6e --- /dev/null +++ b/meta-python/recipes-devtools/python/python-bcrypt.inc | |||
@@ -0,0 +1,15 @@ | |||
1 | DESCRIPTION = "Modern password hashing for your software and your servers." | ||
2 | LICENSE = "Apache-2.0" | ||
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8f7bb094c7232b058c7e9f2e431f389c" | ||
4 | |||
5 | DEPENDS += "${PYTHON_PN}-cffi-native" | ||
6 | |||
7 | SRC_URI[md5sum] = "20da8b40790caad99c4086dba533154b" | ||
8 | SRC_URI[sha256sum] = "6645c8d0ad845308de3eb9be98b6fd22a46ec5412bfc664a423e411cdd8f5488" | ||
9 | |||
10 | inherit pypi | ||
11 | |||
12 | RDEPENDS_${PN}_class-target += "\ | ||
13 | ${PYTHON_PN}-cffi \ | ||
14 | ${PYTHON_PN}-six \ | ||
15 | " | ||
diff --git a/meta-python/recipes-devtools/python/python-bcrypt_3.1.3.bb b/meta-python/recipes-devtools/python/python-bcrypt_3.1.3.bb index c690f0dfd..24333540b 100644 --- a/meta-python/recipes-devtools/python/python-bcrypt_3.1.3.bb +++ b/meta-python/recipes-devtools/python/python-bcrypt_3.1.3.bb | |||
@@ -1,15 +1,2 @@ | |||
1 | DESCRIPTION = "Modern password hashing for your software and your servers." | 1 | inherit setuptools |
2 | LICENSE = "Apache-2.0" | 2 | require python-bcrypt.inc |
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8f7bb094c7232b058c7e9f2e431f389c" | ||
4 | |||
5 | DEPENDS = "python-cffi-native" | ||
6 | |||
7 | SRC_URI[md5sum] = "20da8b40790caad99c4086dba533154b" | ||
8 | SRC_URI[sha256sum] = "6645c8d0ad845308de3eb9be98b6fd22a46ec5412bfc664a423e411cdd8f5488" | ||
9 | |||
10 | inherit pypi setuptools | ||
11 | |||
12 | RDEPENDS_${PN}_class-target += "\ | ||
13 | ${PYTHON_PN}-cffi \ | ||
14 | ${PYTHON_PN}-six \ | ||
15 | " | ||
diff --git a/meta-python/recipes-devtools/python/python3-bcrypt_3.1.3.bb b/meta-python/recipes-devtools/python/python3-bcrypt_3.1.3.bb new file mode 100644 index 000000000..d2ec9e386 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-bcrypt_3.1.3.bb | |||
@@ -0,0 +1,2 @@ | |||
1 | inherit setuptools3 | ||
2 | require python-bcrypt.inc | ||