python-asn1crypto: new package
authorYegor Yefremov <yegorslists@googlemail.com>
Tue, 18 Jul 2017 07:06:58 +0000 (09:06 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 19 Jul 2017 19:49:11 +0000 (21:49 +0200)
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/python-asn1crypto/Config.in [new file with mode: 0644]
package/python-asn1crypto/python-asn1crypto.hash [new file with mode: 0644]
package/python-asn1crypto/python-asn1crypto.mk [new file with mode: 0644]

index b48ab5e0ddc2a53a11003a6e945ae3ff97a0379d..28cb6f145459ee9179e5f66027e239db79d09388 100644 (file)
@@ -685,6 +685,7 @@ menu "External python modules"
        source "package/python-alsaaudio/Config.in"
        source "package/python-argh/Config.in"
        source "package/python-arrow/Config.in"
+       source "package/python-asn1crypto/Config.in"
        source "package/python-attrs/Config.in"
        source "package/python-autobahn/Config.in"
        source "package/python-babel/Config.in"
diff --git a/package/python-asn1crypto/Config.in b/package/python-asn1crypto/Config.in
new file mode 100644 (file)
index 0000000..345c739
--- /dev/null
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_ASN1CRYPTO
+       bool "python-asn1crypto"
+       help
+         Fast ASN.1 parser and serializer with definitions for private keys,
+         public keys, certificates, CRL, OCSP, CMS, PKCS#3, PKCS#7, PKCS#8,
+         PKCS#12, PKCS#5, X.509 and TSP.
+
+         https://github.com/wbond/asn1crypto
diff --git a/package/python-asn1crypto/python-asn1crypto.hash b/package/python-asn1crypto/python-asn1crypto.hash
new file mode 100644 (file)
index 0000000..ec5d7cf
--- /dev/null
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/asn1crypto/json, sha256 locally computed
+md5    74a8b9402625b38ef19cf3fa69ef8470  asn1crypto-0.22.0.tar.gz
+sha256 cbbadd640d3165ab24b06ef25d1dca09a3441611ac15f6a6b452474fdf0aed1a  asn1crypto-0.22.0.tar.gz
diff --git a/package/python-asn1crypto/python-asn1crypto.mk b/package/python-asn1crypto/python-asn1crypto.mk
new file mode 100644 (file)
index 0000000..681dfd5
--- /dev/null
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-asn1crypto
+#
+################################################################################
+
+PYTHON_ASN1CRYPTO_VERSION = 0.22.0
+PYTHON_ASN1CRYPTO_SOURCE = asn1crypto-$(PYTHON_ASN1CRYPTO_VERSION).tar.gz
+PYTHON_ASN1CRYPTO_SITE = https://pypi.python.org/packages/67/14/5d66588868c4304f804ebaff9397255f6ec5559e46724c2496e0f26e68d6
+PYTHON_ASN1CRYPTO_SETUP_TYPE = setuptools
+PYTHON_ASN1CRYPTO_LICENSE = MIT
+
+$(eval $(python-package))