python-configobj: new package

[Thomas: convert to the Python package infrastructure.]

Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Zoltan Gyarmati 2013-12-11 21:27:01 +01:00 committed by Peter Korsgaard
parent c8e76a2d49
commit 494c8eb54b
3 changed files with 25 additions and 0 deletions

View File

@ -386,6 +386,7 @@ source "package/python/Config.in"
if BR2_PACKAGE_PYTHON
menu "external python modules"
source "package/python-bottle/Config.in"
source "package/python-configobj/Config.in"
source "package/python-crc16/Config.in"
source "package/python-dialog/Config.in"
source "package/python-dpkt/Config.in"

View File

@ -0,0 +1,10 @@
config BR2_PACKAGE_PYTHON_CONFIGOBJ
bool "python-configobj"
depends on BR2_PACKAGE_PYTHON
help
ConfigObj is a simple but powerful config file reader and
writer: an ini file round tripper. Its main feature is that
it is very easy to use, with a straightforward programmer's
interface and a simple syntax for config files.
http://www.voidspace.org.uk/python/configobj.html

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-configobj
#
################################################################################
PYTHON_CONFIGOBJ_VERSION = 4.7.2
PYTHON_CONFIGOBJ_SOURCE = configobj-$(PYTHON_CONFIGOBJ_VERSION).tar.gz
PYTHON_CONFIGOBJ_SITE = http://pypi.python.org/packages/source/c/configobj
PYTHON_CONFIGOBJ_LICENSE = BSD-3c
# License only mentioned in the source
PYTHON_CONFIGOBJ_SETUP_TYPE = distutils
$(eval $(python-package))