python-pyasn1: new package
authorAsaf Kahlon <asafka7@gmail.com>
Fri, 14 Sep 2018 06:52:37 +0000 (09:52 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 14 Sep 2018 21:55:55 +0000 (23:55 +0200)
The pyasn1 library implements ASN.1 support in pure-Python.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in
package/python-pyasn1/Config.in [new file with mode: 0644]
package/python-pyasn1/python-pyasn1.hash [new file with mode: 0644]
package/python-pyasn1/python-pyasn1.mk [new file with mode: 0644]

index d7af9f88af3a5b6eaff891164f4b50b4fa684bca..dcea07462c63ef79dcd598b3c7a1422cdbf88266 100644 (file)
@@ -203,6 +203,7 @@ F:  package/python-bcrypt/
 F:     package/python-engineio/
 F:     package/python-fire/
 F:     package/python-jsonmodels/
+F:     package/python-pyasn1/
 F:     package/python-pyroute2/
 F:     package/python-pytz/
 F:     package/python-reentry/
index 2810d0497f9d8f74c65acf88b9cf7aeafe0d8f19..c04645a30bfaa4aac303118660926ecd2b561c14 100644 (file)
@@ -918,6 +918,7 @@ menu "External python modules"
        source "package/python-pudb/Config.in"
        source "package/python-pyasn/Config.in"
        source "package/python-pyasn-modules/Config.in"
+       source "package/python-pyasn1/Config.in"
        source "package/python-pycli/Config.in"
        source "package/python-pycparser/Config.in"
        source "package/python-pycrypto/Config.in"
diff --git a/package/python-pyasn1/Config.in b/package/python-pyasn1/Config.in
new file mode 100644 (file)
index 0000000..fea6381
--- /dev/null
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_PYASN1
+       bool "python-pyasn1"
+       help
+         ASN.1 types and codecs.
+
+         https://github.com/etingof/pyasn1
diff --git a/package/python-pyasn1/python-pyasn1.hash b/package/python-pyasn1/python-pyasn1.hash
new file mode 100644 (file)
index 0000000..fd34621
--- /dev/null
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/pyasn1/json
+md5    0d182b71e1f72fe147d7957bc90be7f2  pyasn1-0.4.4.tar.gz
+sha256 f58f2a3d12fd754aa123e9fa74fb7345333000a035f3921dbdaa08597aa53137  pyasn1-0.4.4.tar.gz
+# Locally computed sha256 checksums
+sha256 f82128f64d567c333936a12b99a21d0e8cd66ce628d51ce0a7770cc38dc7fe43  LICENSE.rst
diff --git a/package/python-pyasn1/python-pyasn1.mk b/package/python-pyasn1/python-pyasn1.mk
new file mode 100644 (file)
index 0000000..f658fc9
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-pyasn1
+#
+################################################################################
+
+PYTHON_PYASN1_VERSION = 0.4.4
+PYTHON_PYASN1_SOURCE = pyasn1-$(PYTHON_PYASN1_VERSION).tar.gz
+PYTHON_PYASN1_SITE = https://files.pythonhosted.org/packages/10/46/059775dc8e50f722d205452bced4b3cc965d27e8c3389156acd3b1123ae3
+PYTHON_PYASN1_SETUP_TYPE = setuptools
+PYTHON_PYASN1_LICENSE = BSD-2-Clause
+PYTHON_PYASN1_LICENSE_FILES = LICENSE.rst
+
+$(eval $(python-package))