[Buildroot] [PATCH 1/1] package/python-argon2-cffi: new package

James Hilliard james.hilliard1 at gmail.com
Thu Feb 13 06:45:36 UTC 2020


The secure Argon2 password hashing algorithm.

Signed-off-by: James Hilliard <james.hilliard1 at gmail.com>
---
 DEVELOPERS                                         |  1 +
 package/Config.in                                  |  1 +
 package/python-argon2-cffi/Config.in               |  9 +++++++++
 package/python-argon2-cffi/python-argon2-cffi.hash |  5 +++++
 package/python-argon2-cffi/python-argon2-cffi.mk   | 14 ++++++++++++++
 5 files changed, 30 insertions(+)
 create mode 100644 package/python-argon2-cffi/Config.in
 create mode 100644 package/python-argon2-cffi/python-argon2-cffi.hash
 create mode 100644 package/python-argon2-cffi/python-argon2-cffi.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index cb13035bc4..15ad7c1274 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1161,6 +1161,7 @@ F:	package/python-aiojobs/
 F:	package/python-aiorwlock/
 F:	package/python-aiosignal/
 F:	package/python-aiozipkin/
+F:	package/python-argon2-cffi/
 F:	package/python-async-lru/
 F:	package/python-async-timeout/
 F:	package/python-brotli/
diff --git a/package/Config.in b/package/Config.in
index dfa3f34b9d..e464f9d2d5 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -857,6 +857,7 @@ menu "External python modules"
 	source "package/python-aiozipkin/Config.in"
 	source "package/python-alsaaudio/Config.in"
 	source "package/python-argh/Config.in"
+	source "package/python-argon2-cffi/Config.in"
 	source "package/python-arrow/Config.in"
 	source "package/python-asgiref/Config.in"
 	source "package/python-asn1crypto/Config.in"
diff --git a/package/python-argon2-cffi/Config.in b/package/python-argon2-cffi/Config.in
new file mode 100644
index 0000000000..c1adcbc77d
--- /dev/null
+++ b/package/python-argon2-cffi/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_ARGON2_CFFI
+	bool "python-argon2-cffi"
+	select BR2_PACKAGE_PYTHON_CFFI # runtime
+	select BR2_PACKAGE_PYTHON_ENUM34 if BR2_PACKAGE_PYTHON # runtime
+	select BR2_PACKAGE_PYTHON_SIX # runtime
+	help
+	  The secure Argon2 password hashing algorithm.
+
+	  https://argon2-cffi.readthedocs.io/
diff --git a/package/python-argon2-cffi/python-argon2-cffi.hash b/package/python-argon2-cffi/python-argon2-cffi.hash
new file mode 100644
index 0000000000..631c85ac7f
--- /dev/null
+++ b/package/python-argon2-cffi/python-argon2-cffi.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/argon2_cffi/json
+md5	3fb9154af6f7a113028a7a8bc7da715d  argon2-cffi-19.2.0.tar.gz
+sha256	ffaa623eea77b497ffbdd1a51e941b33d3bf552c60f14dbee274c4070677bda3  argon2-cffi-19.2.0.tar.gz
+# Locally computed sha256 checksums
+sha256	bf659a28b49240602f56bbdf490cbe2ec509b15b98f99d7b19a52c740e327863  LICENSE
diff --git a/package/python-argon2-cffi/python-argon2-cffi.mk b/package/python-argon2-cffi/python-argon2-cffi.mk
new file mode 100644
index 0000000000..18ae80776c
--- /dev/null
+++ b/package/python-argon2-cffi/python-argon2-cffi.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-argon2-cffi
+#
+################################################################################
+
+PYTHON_ARGON2_CFFI_VERSION = 19.2.0
+PYTHON_ARGON2_CFFI_SOURCE = argon2-cffi-$(PYTHON_ARGON2_CFFI_VERSION).tar.gz
+PYTHON_ARGON2_CFFI_SITE = https://files.pythonhosted.org/packages/e4/96/f1bf2369f29794971f836b8eff5e3bdb653043f1b61d104eae21b1de3ccb
+PYTHON_ARGON2_CFFI_SETUP_TYPE = setuptools
+PYTHON_ARGON2_CFFI_LICENSE = MIT
+PYTHON_ARGON2_CFFI_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
-- 
2.20.1



More information about the buildroot mailing list