python-bcrypt: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Yegor Yefremov
2017-06-12 16:30:02 +02:00
committed by Thomas Petazzoni
parent 1a5887eb6e
commit 667a6e3c1c
4 changed files with 27 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
config BR2_PACKAGE_PYTHON_BCRYPT
bool "python-bcrypt"
select BR2_PACKAGE_PYTHON_CFFI # runtime
select BR2_PACKAGE_PYTHON_SIX # runtime
help
Modern password hashing for your software and your servers.
https://github.com/pyca/bcrypt/

View File

@@ -0,0 +1,3 @@
# md5 from https://pypi.python.org/pypi/bcrypt/json, sha256 locally computed
md5 20da8b40790caad99c4086dba533154b bcrypt-3.1.3.tar.gz
sha256 6645c8d0ad845308de3eb9be98b6fd22a46ec5412bfc664a423e411cdd8f5488 bcrypt-3.1.3.tar.gz

View File

@@ -0,0 +1,15 @@
################################################################################
#
# python-bcrypt
#
################################################################################
PYTHON_BCRYPT_VERSION = 3.1.3
PYTHON_BCRYPT_SOURCE = bcrypt-$(PYTHON_BCRYPT_VERSION).tar.gz
PYTHON_BCRYPT_SITE = https://pypi.python.org/packages/58/e9/6d7f1d883d8c5876470b5d187d72c04f2a9954d61e71e7eb5d2ea2a50442
PYTHON_BCRYPT_SETUP_TYPE = setuptools
PYTHON_BCRYPT_LICENSE = Apache-2.0
PYTHON_BCRYPT_LICENSE_FILES = LICENSE
PYTHON_BCRYPT_DEPENDENCIES = host-python-cffi
$(eval $(python-package))