[Buildroot] [PATCH 1/2] python-libconfig: new package

Baruch Siach baruch at tkos.co.il
Tue Mar 4 08:47:48 UTC 2014


On Tue, Mar 04, 2014 at 08:32:47AM +0000, Derycke, Johan wrote:
> Python bindings to the C++ library libconfig
> https://github.com/cnangel/python-libconfig
> 
> Signed-off-by: Johan Derycke <johan.derycke at barco.com>
> ---
>  package/python-libconfig/Config.in           |    9 +++++++++
>  package/python-libconfig/python-libconfig.mk |   21 +++++++++++++++++++++
>  2 files changed, 30 insertions(+)
>  create mode 100644 package/python-libconfig/Config.in
>  create mode 100644 package/python-libconfig/python-libconfig.mk
> 
> diff --git a/package/python-libconfig/Config.in b/package/python-libconfig/Config.in
> new file mode 100644
> index 0000000..7e4f317
> --- /dev/null
> +++ b/package/python-libconfig/Config.in
> @@ -0,0 +1,9 @@
> +config BR2_PACKAGE_PYTHON_LIBCONFIG
> +       bool "python-libconfig"
> +       depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
> +  select BR2_PACKAGE_BOOST_PYTHON
> +       select BR2_PACKAGE_LIBCONFIG
> +       help
> +           Python bindings to the C++ library libconfig

Please fix indentation. See section 7.1.1 of the manual 
(http://buildroot.net/downloads/manual/manual.html).

> +
> +          https://github.com/cnangel/python-libconfig
> diff --git a/package/python-libconfig/python-libconfig.mk b/package/python-libconfig/python-libconfig.mk
> new file mode 100644
> index 0000000..8d597ef
> --- /dev/null
> +++ b/package/python-libconfig/python-libconfig.mk
> @@ -0,0 +1,21 @@
> +################################################################################
> +#
> +# python-libconfig
> +#
> +################################################################################
> +
> +PYTHON_LIBCONFIG_VERSION = b271c3d9dac938ad5cd29b67bd08cc5536a5a391
> +PYTHON_LIBCONFIG_SITE = https://github.com/cnangel/python-libconfig/
> +PYTHON_LIBCONFIG_SITE_METHOD = git

Please use the github helper. See section 7.2.11 of the manual under "How to 
add a package from github".

> +
> +PYTHON_LIBCONFIG_LICENSE = BSD
> +PYTHON_LIBCONFIG_LICENSE_FILES = README
> +
> +PYTHON_LIBCONFIG_SETUP_TYPE = setuptools
> +
> +PYTHON_LIBCONFIG_DEPENDENCIES = libconfig boost
> +
> +$(eval $(python-package))
> +
> +
> +

Unneeded blank lines.

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -


More information about the buildroot mailing list