python-six: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Yegor Yefremov 2015-01-28 22:05:43 +01:00 committed by Peter Korsgaard
parent 07ca476869
commit 96bc60efa4
4 changed files with 26 additions and 0 deletions

View 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"

View File

@ -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

View File

@ -0,0 +1,2 @@
# Locally computed:
sha256 e24052411fc4fbd1f672635537c3fc2330d9481b18c0317695b46259512c91d5 six-1.9.0.tar.gz

View File

@ -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))