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 | 8cb5003b5a4c9589e6ed96a9ad731081927f4287 (patch) | |
tree | 07ac593e93a17a668b006a93f19bafb1385ebaea | |
parent | 0de92371ef016002446c887cdbabb3f2ceb3a0c1 (diff) | |
download | meta-python2-8cb5003b5a4c9589e6ed96a9ad731081927f4287.tar.gz |
python-bcrypt: add a python3 version of the recipe
(From meta-openembedded commit: baa5f5cdf9639d661749d42b96e5222500f8c9df)
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Tim Orling <ticotimo@gmail.com>
-rw-r--r-- | recipes-devtools/python/python-bcrypt.inc | 15 | ||||
-rw-r--r-- | recipes-devtools/python/python-bcrypt_3.1.3.bb | 17 |
2 files changed, 17 insertions, 15 deletions
diff --git a/recipes-devtools/python/python-bcrypt.inc b/recipes-devtools/python/python-bcrypt.inc new file mode 100644 index 0000000..667a3fb --- /dev/null +++ b/recipes-devtools/python/python-bcrypt.inc @@ -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 \ +" diff --git a/recipes-devtools/python/python-bcrypt_3.1.3.bb b/recipes-devtools/python/python-bcrypt_3.1.3.bb index c690f0d..2433354 100644 --- a/recipes-devtools/python/python-bcrypt_3.1.3.bb +++ b/recipes-devtools/python/python-bcrypt_3.1.3.bb @@ -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 |