package/python-pyaes: new package
authorBartosz Bilas <b.bilas@grinn-global.com>
Thu, 7 Nov 2019 17:05:03 +0000 (18:05 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 7 Nov 2019 21:48:35 +0000 (22:48 +0100)
Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in
package/python-pyaes/Config.in [new file with mode: 0644]
package/python-pyaes/python-pyaes.hash [new file with mode: 0644]
package/python-pyaes/python-pyaes.mk [new file with mode: 0644]

index 33273ce6c891ce7620d979bd2701cce5a2edf590..503e9648d0e0265bef0cfd0becadd6d8495a6627 100644 (file)
@@ -256,6 +256,7 @@ F:  package/lua-ev/
 F:     package/orbit/
 
 N:     Bartosz Bilas <b.bilas@grinn-global.com>
+F:     package/python-pyaes/
 F:     package/qt5/qt5scxml/
 F:     package/qt5/qt5webview/
 
index f72c77b416b6d09888c0e4f1bd66766a6f3ce429..8b554e46d8e3a67b88c81f78c70d56bf46825b85 100644 (file)
@@ -1006,6 +1006,7 @@ menu "External python modules"
        source "package/python-ptyprocess/Config.in"
        source "package/python-pudb/Config.in"
        source "package/python-py/Config.in"
+       source "package/python-pyaes/Config.in"
        source "package/python-pyasn/Config.in"
        source "package/python-pyasn-modules/Config.in"
        source "package/python-pyasn1/Config.in"
diff --git a/package/python-pyaes/Config.in b/package/python-pyaes/Config.in
new file mode 100644 (file)
index 0000000..629fd82
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_PYAES
+       bool "python-pyaes"
+       help
+         Pure-Python Implementation of the AES block-cipher and
+         common modes of operation.
+
+         https://github.com/ricmoo/pyaes
diff --git a/package/python-pyaes/python-pyaes.hash b/package/python-pyaes/python-pyaes.hash
new file mode 100644 (file)
index 0000000..25a15f1
--- /dev/null
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/pyaes/json
+md5    20fd5c6e29dcfdd08098e85a859a54ec  pyaes-1.6.1.tar.gz
+sha256 02c1b1405c38d3c370b085fb952dd8bea3fadcee6411ad99f312cc129c536d8f  pyaes-1.6.1.tar.gz
+# Locally computed sha256 checksums
+sha256 1efe6c78b28b4203d397ea9b68bdc9c658d21cd9afaf8ae8223def83f2a7ebbd  LICENSE.txt
diff --git a/package/python-pyaes/python-pyaes.mk b/package/python-pyaes/python-pyaes.mk
new file mode 100644 (file)
index 0000000..a738d3c
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-pyaes
+#
+################################################################################
+
+PYTHON_PYAES_VERSION = 1.6.1
+PYTHON_PYAES_SOURCE = pyaes-$(PYTHON_PYAES_VERSION).tar.gz
+PYTHON_PYAES_SITE = https://files.pythonhosted.org/packages/44/66/2c17bae31c906613795711fc78045c285048168919ace2220daa372c7d72
+PYTHON_PYAES_SETUP_TYPE = distutils
+PYTHON_PYAES_LICENSE = MIT
+PYTHON_PYAES_LICENSE_FILES = LICENSE.txt
+
+$(eval $(python-package))