python-pycryptodomex: new package
authorAsaf Kahlon <asafka7@gmail.com>
Sat, 22 Sep 2018 19:36:28 +0000 (22:36 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 10 Oct 2018 12:26:38 +0000 (14:26 +0200)
Cryptographic library for Python

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
[Thomas: adjust license information, it's not under Apache-2.0, but a
combination of BSD-2-Clause, Public Domain and OCB License.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in
package/python-pycryptodomex/Config.in [new file with mode: 0644]
package/python-pycryptodomex/python-pycryptodomex.hash [new file with mode: 0644]
package/python-pycryptodomex/python-pycryptodomex.mk [new file with mode: 0644]

index 0757ebfcf26ab2c081b8052253984ac41cb6ae9e..990621fb11e2f6f952d2ddc2ff20eb6a5249540a 100644 (file)
@@ -219,6 +219,7 @@ F:  package/python-ply/
 F:     package/python-priority/
 F:     package/python-pyasn1/
 F:     package/python-pyasn1-modules/
+F:     package/python-pycryptodomex/
 F:     package/python-pyhamcrest/
 F:     package/python-pyopenssl/
 F:     package/python-pyqrcode/
index 6207767ff20b7474ec5cf949b09f38f5f212bcea..8d995f82e61b7cab895fd8587ef0ab1e2d0f3117 100644 (file)
@@ -950,6 +950,7 @@ menu "External python modules"
        source "package/python-pycli/Config.in"
        source "package/python-pycparser/Config.in"
        source "package/python-pycrypto/Config.in"
+       source "package/python-pycryptodomex/Config.in"
        source "package/python-pydal/Config.in"
        source "package/python-pyelftools/Config.in"
        source "package/python-pyftpdlib/Config.in"
diff --git a/package/python-pycryptodomex/Config.in b/package/python-pycryptodomex/Config.in
new file mode 100644 (file)
index 0000000..c7127fe
--- /dev/null
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_PYCRYPTODOMEX
+       bool "python-pycryptodomex"
+       help
+         Cryptographic library for Python.
+
+         http://www.pycryptodome.org
diff --git a/package/python-pycryptodomex/python-pycryptodomex.hash b/package/python-pycryptodomex/python-pycryptodomex.hash
new file mode 100644 (file)
index 0000000..3dec1a1
--- /dev/null
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/pycryptodomex/json
+md5    7e1884f55077ed2e48d36565525b1657  pycryptodomex-3.6.6.tar.gz
+sha256 d0d448484e161786922b41e112b5d7cf76ef5f0c725ea5107ef866bb14a38b12  pycryptodomex-3.6.6.tar.gz
+# Locally computed sha256 checksums
+sha256 fc884f6492490d0f227613ee900ff2a27e6879b79ee637c53a4697238bf12970  LICENSE.rst
diff --git a/package/python-pycryptodomex/python-pycryptodomex.mk b/package/python-pycryptodomex/python-pycryptodomex.mk
new file mode 100644 (file)
index 0000000..828f936
--- /dev/null
@@ -0,0 +1,17 @@
+################################################################################
+#
+# python-pycryptodomex
+#
+################################################################################
+
+PYTHON_PYCRYPTODOMEX_VERSION = 3.6.6
+PYTHON_PYCRYPTODOMEX_SOURCE = pycryptodomex-$(PYTHON_PYCRYPTODOMEX_VERSION).tar.gz
+PYTHON_PYCRYPTODOMEX_SITE = https://files.pythonhosted.org/packages/95/10/f3bd758050da1c08ea30c8b4daf9ff895f306b780f07430fcc9b38722e1b
+PYTHON_PYCRYPTODOMEX_SETUP_TYPE = setuptools
+PYTHON_PYCRYPTODOMEX_LICENSE = \
+       BSD-2-Clause, \
+       Public Domain (pycrypto original code), \
+       OCB license (OCB cypher)
+PYTHON_PYCRYPTODOMEX_LICENSE_FILES = LICENSE.rst
+
+$(eval $(python-package))