777b1f9135
- the last version bump of package/python-cffi (790c10d
) ignored
the comment 'Please keep in sync with package/python3-cffi/python3-cffi.mk',
so catch up now
Fixes:
ERROR: No hash found for cffi-1.14.2.tar.gz
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
30 lines
1.1 KiB
Makefile
30 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# python3-cffi
|
|
#
|
|
################################################################################
|
|
|
|
# Please keep in sync with package/python-cffi/python-cffi.mk
|
|
PYTHON3_CFFI_VERSION = 1.14.6
|
|
PYTHON3_CFFI_SOURCE = cffi-$(PYTHON3_CFFI_VERSION).tar.gz
|
|
PYTHON3_CFFI_SITE = https://files.pythonhosted.org/packages/2e/92/87bb61538d7e60da8a7ec247dc048f7671afe17016cd0008b3b710012804
|
|
PYTHON3_CFFI_SETUP_TYPE = setuptools
|
|
PYTHON3_CFFI_LICENSE = MIT
|
|
PYTHON3_CFFI_LICENSE_FILES = LICENSE
|
|
|
|
# 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_PYTHON3_CFFI_ENV = \
|
|
PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \
|
|
PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \
|
|
PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
|
|
PKG_CONFIG_SYSROOT_DIR="/" \
|
|
PKG_CONFIG_LIBDIR="$(HOST_DIR)/lib/pkgconfig:$(HOST_DIR)/share/pkgconfig"
|
|
HOST_PYTHON3_CFFI_DEPENDENCIES = host-pkgconf host-python3-pycparser host-libffi
|
|
|
|
HOST_PYTHON3_CFFI_DL_SUBDIR = python-cffi
|
|
HOST_PYTHON3_CFFI_NEEDS_HOST_PYTHON = python3
|
|
|
|
$(eval $(host-python-package))
|