python-ecdsa: new package
authorYegor Yefremov <yegorslists@googlemail.com>
Sat, 16 Jan 2016 16:41:13 +0000 (17:41 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 18 Jan 2016 20:46:15 +0000 (21:46 +0100)
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/Config.in
package/python-ecdsa/Config.in [new file with mode: 0644]
package/python-ecdsa/python-ecdsa.hash [new file with mode: 0644]
package/python-ecdsa/python-ecdsa.mk [new file with mode: 0644]

index 5d24527aecd00b4f6cfff97e5826fc78cc48d29b..d134df18d5324dac399f1cd6b1bc4c8342439b99 100644 (file)
@@ -634,6 +634,7 @@ menu "External python modules"
        source "package/python-django/Config.in"
        source "package/python-docopt/Config.in"
        source "package/python-dpkt/Config.in"
+       source "package/python-ecdsa/Config.in"
        source "package/python-enum/Config.in"
        source "package/python-enum34/Config.in"
        source "package/python-flask/Config.in"
diff --git a/package/python-ecdsa/Config.in b/package/python-ecdsa/Config.in
new file mode 100644 (file)
index 0000000..ce11910
--- /dev/null
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_ECDSA
+       bool "python-ecdsa"
+       help
+         ECDSA cryptographic signature library (pure python).
+
+         http://github.com/warner/python-ecdsa
diff --git a/package/python-ecdsa/python-ecdsa.hash b/package/python-ecdsa/python-ecdsa.hash
new file mode 100644 (file)
index 0000000..b4bd706
--- /dev/null
@@ -0,0 +1,4 @@
+# md5 from https://pypi.python.org/pypi/ecdsa/json
+md5    1f60eda9cb5c46722856db41a3ae6670  ecdsa-0.13.tar.gz
+# sha256 calculated by scanpypi
+sha256 64cf1ee26d1cde3c73c6d7d107f835fed7c6a2904aef9eac223d57ad800c43fa  ecdsa-0.13.tar.gz
diff --git a/package/python-ecdsa/python-ecdsa.mk b/package/python-ecdsa/python-ecdsa.mk
new file mode 100644 (file)
index 0000000..75b0634
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-ecdsa
+#
+################################################################################
+
+PYTHON_ECDSA_VERSION = 0.13
+PYTHON_ECDSA_SOURCE = ecdsa-$(PYTHON_ECDSA_VERSION).tar.gz
+PYTHON_ECDSA_SITE = https://pypi.python.org/packages/source/e/ecdsa
+PYTHON_ECDSA_SETUP_TYPE = setuptools
+PYTHON_ECDSA_LICENSE = MIT
+PYTHON_ECDSA_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))