From 494c8eb54b051d45b43d833a3e41f5735cd8075e Mon Sep 17 00:00:00 2001 From: Zoltan Gyarmati Date: Wed, 11 Dec 2013 21:27:01 +0100 Subject: [PATCH] python-configobj: new package [Thomas: convert to the Python package infrastructure.] Signed-off-by: Zoltan Gyarmati Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- package/Config.in | 1 + package/python-configobj/Config.in | 10 ++++++++++ package/python-configobj/python-configobj.mk | 14 ++++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 package/python-configobj/Config.in create mode 100644 package/python-configobj/python-configobj.mk diff --git a/package/Config.in b/package/Config.in index a884de1d59..3316d0fe6e 100644 --- a/package/Config.in +++ b/package/Config.in @@ -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" diff --git a/package/python-configobj/Config.in b/package/python-configobj/Config.in new file mode 100644 index 0000000000..fc57e26f1c --- /dev/null +++ b/package/python-configobj/Config.in @@ -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 diff --git a/package/python-configobj/python-configobj.mk b/package/python-configobj/python-configobj.mk new file mode 100644 index 0000000000..5211b1d323 --- /dev/null +++ b/package/python-configobj/python-configobj.mk @@ -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)) -- 2.30.2