72578e1883
Based on http://lists.busybox.net/pipermail/buildroot/2013-October/080830.html [Thomas: - fix license information: it is a "or" between the SIP license, GPLv2 and GPLv3 - the target version of python-sip does *not* need the host version of python-sip, it can build perfectly fine without it. python-qt will need host-python-sip, but there's no need to have this dependency between python-sip and host-python-sip. - add support for Python 3, since the package could also be enabled for Python 3. - add <pkg>_BUILD_CMDS for host and target variants, so that the build does not take place when doing the installation. - use HOST_MAKE_ENV and TARGET_MAKE_ENV where appropriate. - fix indentation. - propagate the thread and mmu dependencies from Qt. - extend the Config.in help text.] Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> Cc: Sergey Kostanbaev <sergey.kostanbaev@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
25 lines
944 B
Plaintext
25 lines
944 B
Plaintext
comment "python-sip needs a toolchain w/ C++, threads"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
config BR2_PACKAGE_PYTHON_SIP
|
|
bool "python-sip"
|
|
depends on BR2_INSTALL_LIBSTDCPP # qt
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # qt
|
|
depends on BR2_USE_MMU # qt
|
|
select BR2_PACKAGE_QT
|
|
help
|
|
SIP is a tool that makes it very easy to create Python
|
|
bindings for C and C++ libraries. It was originally
|
|
developed to create PyQt, the Python bindings for the Qt
|
|
toolkit, but can be used to create bindings for any C or C++
|
|
library.
|
|
|
|
SIP comprises a code generator and a Python module. The code
|
|
generator processes a set of specification files and
|
|
generates C or C++ code which is then compiled to create the
|
|
bindings extension module. The SIP Python module provides
|
|
support functions to the automatically generated code.
|
|
|
|
http://www.riverbankcomputing.com/software/sip/intro
|