2014-05-20 03:53:00 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# python-cffi
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-11-02 12:05:00 +01:00
|
|
|
PYTHON_CFFI_VERSION = 1.11.2
|
2014-05-20 03:53:00 +02:00
|
|
|
PYTHON_CFFI_SOURCE = cffi-$(PYTHON_CFFI_VERSION).tar.gz
|
2017-11-02 12:05:00 +01:00
|
|
|
PYTHON_CFFI_SITE = https://pypi.python.org/packages/c9/70/89b68b6600d479034276fed316e14b9107d50a62f5627da37fafe083fde3
|
2014-05-20 03:53:00 +02:00
|
|
|
PYTHON_CFFI_SETUP_TYPE = setuptools
|
|
|
|
PYTHON_CFFI_DEPENDENCIES = host-pkgconf libffi
|
|
|
|
PYTHON_CFFI_LICENSE = MIT
|
|
|
|
PYTHON_CFFI_LICENSE_FILES = LICENSE
|
|
|
|
|
2016-01-05 08:17:24 +01:00
|
|
|
# This host package uses pkg-config to find libffi, so we have to
|
|
|
|
# provide the proper hints for pkg-config to behave properly for host
|
|
|
|
# packages.
|
|
|
|
HOST_PYTHON_CFFI_ENV = \
|
|
|
|
PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \
|
|
|
|
PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \
|
|
|
|
PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
|
|
|
|
PKG_CONFIG_SYSROOT_DIR="/" \
|
2017-07-05 13:14:23 +02:00
|
|
|
PKG_CONFIG_LIBDIR="$(HOST_DIR)/lib/pkgconfig:$(HOST_DIR)/share/pkgconfig"
|
2016-01-05 08:17:24 +01:00
|
|
|
HOST_PYTHON_CFFI_DEPENDENCIES = host-pkgconf host-python-pycparser host-libffi
|
|
|
|
|
2014-05-20 03:53:00 +02:00
|
|
|
$(eval $(python-package))
|
2016-01-05 08:17:24 +01:00
|
|
|
$(eval $(host-python-package))
|