python-simplejson: new package

[Thomas: convert to the Python package infrastructure, drop the
setuptools dependency since the package uses distutils.]

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Ludovic Desroches 2013-12-11 21:27:04 +01:00 committed by Peter Korsgaard
parent fba747ca43
commit b973f3bb2c
3 changed files with 22 additions and 0 deletions

View File

@ -406,6 +406,7 @@ source "package/python-pyusb/Config.in"
source "package/python-pyzmq/Config.in"
source "package/python-serial/Config.in"
source "package/python-setuptools/Config.in"
source "package/python-simplejson/Config.in"
source "package/python-thrift/Config.in"
source "package/python-versiontools/Config.in"
endmenu

View File

@ -0,0 +1,7 @@
config BR2_PACKAGE_PYTHON_SIMPLEJSON
bool "python-simplejson"
depends on BR2_PACKAGE_PYTHON
help
Simple, fast, extensible JSON encoder/decoder for Python
https://pypi.python.org/pypi/simplejson/

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-simplejson
#
################################################################################
PYTHON_SIMPLEJSON_VERSION = 3.3.1
PYTHON_SIMPLEJSON_SOURCE = simplejson-$(PYTHON_SIMPLEJSON_VERSION).tar.gz
PYTHON_SIMPLEJSON_SITE = http://pypi.python.org/packages/source/s/simplejson/
PYTHON_SIMPLEJSON_LICENSE = MIT
PYTHON_SIMPLEJSON_LICENSE_FILES = LICENSE.txt
PYTHON_SIMPLEJSON_SETUP_TYPE = distutils
$(eval $(python-package))