python-six: new package
authorYegor Yefremov <yegorslists@googlemail.com>
Wed, 28 Jan 2015 21:05:43 +0000 (22:05 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 31 Jan 2015 23:07:36 +0000 (00:07 +0100)
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/Config.in
package/python-six/Config.in [new file with mode: 0644]
package/python-six/python-six.hash [new file with mode: 0644]
package/python-six/python-six.mk [new file with mode: 0644]

index d140721ef410905c1ade757d358a89611d36aab2..095126d3958e7ff3d791bd9258aae7e7952a6c2f 100644 (file)
@@ -547,6 +547,7 @@ menu "external python modules"
        source "package/python-serial/Config.in"
        source "package/python-setuptools/Config.in"
        source "package/python-simplejson/Config.in"
+       source "package/python-six/Config.in"
        source "package/python-thrift/Config.in"
        source "package/python-tornado/Config.in"
        source "package/python-twisted/Config.in"
diff --git a/package/python-six/Config.in b/package/python-six/Config.in
new file mode 100644 (file)
index 0000000..0a8b69a
--- /dev/null
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_SIX
+       bool "python-six"
+       help
+         Six is a Python 2 and 3 compatibility library. It provides
+         utility functions for smoothing over the differences between
+         the Python versions with the goal of writing Python code that
+         is compatible on both Python versions.
+
+         http://pythonhosted.org/six
diff --git a/package/python-six/python-six.hash b/package/python-six/python-six.hash
new file mode 100644 (file)
index 0000000..6121a08
--- /dev/null
@@ -0,0 +1,2 @@
+# Locally computed:
+sha256  e24052411fc4fbd1f672635537c3fc2330d9481b18c0317695b46259512c91d5  six-1.9.0.tar.gz
diff --git a/package/python-six/python-six.mk b/package/python-six/python-six.mk
new file mode 100644 (file)
index 0000000..08fe5de
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-six
+#
+################################################################################
+
+PYTHON_SIX_VERSION = 1.9.0
+PYTHON_SIX_SOURCE = six-$(PYTHON_SIX_VERSION).tar.gz
+PYTHON_SIX_SITE = https://pypi.python.org/packages/source/s/six/
+PYTHON_SIX_SETUP_TYPE = setuptools
+PYTHON_SIX_LICENSE = MIT
+PYTHON_SIX_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))