generated from gaoyang3513/SDK_RK3288
[Mod] First commit
This commit is contained in:
23
package/python-libconfig/Config.in
Normal file
23
package/python-libconfig/Config.in
Normal file
@ -0,0 +1,23 @@
|
||||
comment "python-libconfig needs a glibc or uClibc toolchain w/ C++, threads"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
BR2_TOOLCHAIN_USES_MUSL
|
||||
|
||||
config BR2_PACKAGE_PYTHON_LIBCONFIG
|
||||
bool "python-libconfig"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
# error: invalid use of incomplete type 'struct _IO_FILE'
|
||||
depends on !BR2_TOOLCHAIN_USES_MUSL
|
||||
select BR2_PACKAGE_BOOST
|
||||
select BR2_PACKAGE_BOOST_PYTHON
|
||||
select BR2_PACKAGE_LIBCONFIG
|
||||
help
|
||||
Python bindings to the C++ library libconfig
|
||||
|
||||
Libconfig is a simple library for manipulating structured
|
||||
configuration files. The file format is more compact and more
|
||||
readable than XML. And unlike XML, it is type-aware, so it is
|
||||
not necessary to do string parsing in application code.
|
||||
http://www.hyperrealm.com/libconfig/
|
||||
|
||||
https://github.com/cnangel/python-libconfig
|
||||
3
package/python-libconfig/python-libconfig.hash
Normal file
3
package/python-libconfig/python-libconfig.hash
Normal file
@ -0,0 +1,3 @@
|
||||
# locally computed
|
||||
sha256 f4cfb7e60b8fcee32ca3392c99932c579038db0852c1c2c42d7c4b859eea3c5c python-libconfig-b271c3d9dac938ad5cd29b67bd08cc5536a5a391.tar.gz
|
||||
sha256 7e47579751c8125eaa031fd10b197d3956d231323598a42612f30abf19c7fed0 README
|
||||
23
package/python-libconfig/python-libconfig.mk
Normal file
23
package/python-libconfig/python-libconfig.mk
Normal file
@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-libconfig
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_LIBCONFIG_VERSION = b271c3d9dac938ad5cd29b67bd08cc5536a5a391
|
||||
PYTHON_LIBCONFIG_SITE = $(call github,cnangel,python-libconfig,$(PYTHON_LIBCONFIG_VERSION))
|
||||
|
||||
PYTHON_LIBCONFIG_LICENSE = BSD
|
||||
PYTHON_LIBCONFIG_LICENSE_FILES = README
|
||||
|
||||
PYTHON_LIBCONFIG_SETUP_TYPE = setuptools
|
||||
|
||||
PYTHON_LIBCONFIG_DEPENDENCIES = libconfig boost
|
||||
|
||||
define PYTHON_LIBCONFIG_FIX_SETUP
|
||||
$(SED) 's/boost_python/boost_python$(subst .,,$(PYTHON3_VERSION_MAJOR))/g' \
|
||||
$(@D)/setup.py
|
||||
endef
|
||||
PYTHON_LIBCONFIG_POST_PATCH_HOOKS += PYTHON_LIBCONFIG_FIX_SETUP
|
||||
|
||||
$(eval $(python-package))
|
||||
Reference in New Issue
Block a user