package: add python-itsdangerous
authorPeter Korsgaard <peter@korsgaard.com>
Fri, 14 Nov 2014 17:25:04 +0000 (18:25 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 14 Nov 2014 17:34:07 +0000 (18:34 +0100)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/Config.in
package/python-itsdangerous/Config.in [new file with mode: 0644]
package/python-itsdangerous/python-itsdangerous.mk [new file with mode: 0644]

index 4e894471d4c00e9bf21ce435796356f394244834..ba97db7a78524bc38766bfee50fb06286a03fa44 100644 (file)
@@ -493,6 +493,7 @@ menu "external python modules"
        source "package/python-id3/Config.in"
        source "package/python-ipy/Config.in"
        source "package/python-ipython/Config.in"
+       source "package/python-itsdangerous/Config.in"
        source "package/python-jinja2/Config.in"
        source "package/python-json-schema-validator/Config.in"
        source "package/python-keyring/Config.in"
diff --git a/package/python-itsdangerous/Config.in b/package/python-itsdangerous/Config.in
new file mode 100644 (file)
index 0000000..6670af5
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_ITSDANGEROUS
+       bool "python-itsdangerous"
+       help
+         Itsdangerous contains various helpers to pass data to
+         untrusted environments and to get it back safe and sound.
+
+         http://pythonhosted.org/itsdangerous/
diff --git a/package/python-itsdangerous/python-itsdangerous.mk b/package/python-itsdangerous/python-itsdangerous.mk
new file mode 100644 (file)
index 0000000..8b055d6
--- /dev/null
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-itsdangerous
+#
+################################################################################
+
+PYTHON_ITSDANGEROUS_VERSION = 0.24
+PYTHON_ITSDANGEROUS_SITE = $(call github,mitsuhiko,itsdangerous,$(PYTHON_ITSDANGEROUS_VERSION))
+PYTHON_ITSDANGEROUS_SETUP_TYPE = setuptools
+PYTHON_ITSDANGEROUS_LICENSE = BSD-3c
+PYTHON_ITSDANGEROUS_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))