From 96bc60efa4e81bf552d88e215d7821129bba84b3 Mon Sep 17 00:00:00 2001 From: Yegor Yefremov Date: Wed, 28 Jan 2015 22:05:43 +0100 Subject: [PATCH] python-six: new package Signed-off-by: Yegor Yefremov Signed-off-by: Peter Korsgaard --- package/Config.in | 1 + package/python-six/Config.in | 9 +++++++++ package/python-six/python-six.hash | 2 ++ package/python-six/python-six.mk | 14 ++++++++++++++ 4 files changed, 26 insertions(+) create mode 100644 package/python-six/Config.in create mode 100644 package/python-six/python-six.hash create mode 100644 package/python-six/python-six.mk diff --git a/package/Config.in b/package/Config.in index d140721ef4..095126d395 100644 --- a/package/Config.in +++ b/package/Config.in @@ -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 index 0000000000..0a8b69ace6 --- /dev/null +++ b/package/python-six/Config.in @@ -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 index 0000000000..6121a083ec --- /dev/null +++ b/package/python-six/python-six.hash @@ -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 index 0000000000..08fe5de60e --- /dev/null +++ b/package/python-six/python-six.mk @@ -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))