python-libconfig: new package
Derycke
PATCH 1/2 python-libconfig: new package
Python bindings to the C++ library libconfig
https://github.com/cnangel/python-libconfig
--- 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
package/python-libconfig/Config.in new file +9 -0
@@ -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 + + https://github.com/cnangel/python-libconfig
package/python-libconfig/python-libconfig.mk new file +21 -0
@@ -0,0 +1,21 @@ +################################################################################ +# +# python-libconfig +# +################################################################################ + +PYTHON_LIBCONFIG_VERSION = b271c3d9dac938ad5cd29b67bd08cc5536a5a391 +PYTHON_LIBCONFIG_SITE = https://github.com/cnangel/python-libconfig/ +PYTHON_LIBCONFIG_SITE_METHOD = git + +PYTHON_LIBCONFIG_LICENSE = BSD +PYTHON_LIBCONFIG_LICENSE_FILES = README + +PYTHON_LIBCONFIG_SETUP_TYPE = setuptools + +PYTHON_LIBCONFIG_DEPENDENCIES = libconfig boost + +$(eval $(python-package)) + + +
--
1.7.10.4
Best regards,
Johan Derycke
This message is subject to the following terms and conditions: MAIL DISCLAIMER<http://www.barco.com/en/maildisclaimer>
PATCH 1/2 python-libconfig: new package
Quoted 17 lines · Johan
Python bindings to the C++ library libconfig
https://github.com/cnangel/python-libconfigSigned-off-by Johan Derycke <[email protected]>--- 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.mkpackage/python-libconfig/Config.in new file +0
-0
package/python-libconfig/Config.in line 7
Quoted 7 lines
package/python-libconfig/Config.in new file +7
-0@@ -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).
Quoted 8 lines
package/python-libconfig/Config.in new file +2
-0+ + https://github.com/cnangel/python-libconfigpackage/python-libconfig/python-libconfig.mk new file +0
-0
package/python-libconfig/python-libconfig.mk line 9
Quoted 9 lines
package/python-libconfig/python-libconfig.mk new file +9
-0@@ -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".
package/python-libconfig/python-libconfig.mk line 21
Quoted 12 lines
package/python-libconfig/python-libconfig.mk new file +12
-0+ +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
Signature · 3 lines
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 -PATCH 1/2 python-libconfig: new package
In reply to DeryckeQuoted 17 lines · Johan
Python bindings to the C++ library libconfig
https://github.com/cnangel/python-libconfigSigned-off-by Johan Derycke <[email protected]>--- 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.mkpackage/python-libconfig/Config.in new file +0
-0
package/python-libconfig/Config.in line 4
Quoted 4 lines
package/python-libconfig/Config.in new file +4
-0@@ -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
You should also select BR2_PACKAGE_BOOST.
You should also depend on boost's toolchain dependencies:BR2_INSTALL_LIBSTDCPP, BR2_LARGEFILE, BR2_TOOLCHAIN_HAS_THREADS, and add the corresponding comment.
It's a crying shame that the python wrapper for something trivial like
libconfig requires bloatware like boost :-) but that can't be helped of course.
package/python-libconfig/Config.in line 7
Quoted 3 lines
package/python-libconfig/Config.in new file +3
-0+ select BR2_PACKAGE_LIBCONFIG + help + Python bindings to the C++ library libconfig
Perhaps add a bit of the help text of libconfig.
Regards,
Arnout
Quoted 46 lines
package/python-libconfig/Config.in new file +2
-0+ + https://github.com/cnangel/python-libconfigpackage/python-libconfig/python-libconfig.mk new file +21
-1@@ -0,0 +1,21 @@ +################################################################################ +# +# python-libconfig +# +################################################################################ + +PYTHON_LIBCONFIG_VERSION = b271c3d9dac938ad5cd29b67bd08cc5536a5a391 +PYTHON_LIBCONFIG_SITE = https://github.com/cnangel/python-libconfig/ +PYTHON_LIBCONFIG_SITE_METHOD = git + +PYTHON_LIBCONFIG_LICENSE = BSD +PYTHON_LIBCONFIG_LICENSE_FILES = README + +PYTHON_LIBCONFIG_SETUP_TYPE = setuptools + +PYTHON_LIBCONFIG_DEPENDENCIES = libconfig boost + +$(eval $(python-package)) + + + --1.7.10.4
Best regards,
Johan DeryckeThis message is subject to the following terms and conditions: MAIL DISCLAIMER<http://www.barco.com/en/maildisclaimer>
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/2 python-libconfig: new package
Quoted 39 lines · Johan
Hi,
Quoted 33 lines
-----Original Message-----
From: Arnout Vandecappelle [mailto:arnout at mind.be]
Sent: woensdag 5 maart 2014 18:11
To: Derycke, Johan; buildroot at busybox.net
Subject: Re: [Buildroot] [PATCH 1/2] python-libconfig: new packageQuoted 7 lines · Johan
Python bindings to the C++ library libconfig
https://github.com/cnangel/python-libconfigSigned-off-by Johan Derycke <[email protected]>--- package/python-libconfig/Config.in | 9 +++++++++ package/python-libconfig/python-libconfig.mk | 21+++++++++++++++++++++
Quoted 11 lines
2 files changed, 30 insertions(+) create mode 100644 package/python-libconfig/Config.in create mode 100644 package/python-libconfig/python-libconfig.mkpackage/python-libconfig/Config.in new file +0
-0package/python-libconfig/Config.in line 4
Quoted 4 lines
package/python-libconfig/Config.in new file +4
-0@@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_LIBCONFIG + bool "python-libconfig" + depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_BOOST_PYTHONYou should also select
BR2_PACKAGE_BOOST.Quoted 3 lines
You should also depend on boost's toolchain dependencies:
BR2_INSTALL_LIBSTDCPP,BR2_LARGEFILE,BR2_TOOLCHAIN_HAS_THREADS, and add the corresponding comment.
Quoted 7 lines
Can I use:
comment "python libconfig needs boost"
depends on !BR2_PACKAGE_BOOST
depends onBR2_PACKAGE_PYTHON||BR2_PACKAGE_PYTHON3to avoid the boost "bloatware" being installed behind the back?
No, that's OK. The bloat is only in the source, not in the libary (I
haven't built it yet but I expect it will be in the order of 100K).
I mainly made the remark to trigger you to consider if it is really
needed. But I think I get it now: boost.Python is an alternative for something like swig or sip. I first thought it was using some of boost's standard C++ library alternatives.
Regards,
Arnout
Quoted 13 lines
Quoted 13 lines
It's a crying shame that the python wrapper for something trivial like libconfig
requires bloatware like boost :-) but that can't be helped of course.package/python-libconfig/Config.in line 7
Quoted 3 lines
package/python-libconfig/Config.in new file +3
-0+ select BR2_PACKAGE_LIBCONFIG + help + Python bindings to the C++ library libconfigPerhaps add a bit of the help text of libconfig.
Regards,
Arnout
[snip]
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F