8d73a7adde
Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
24 lines
736 B
Makefile
24 lines
736 B
Makefile
################################################################################
|
|
#
|
|
# 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))
|