"Fossies" - the Fresh Open Source Software Archive

Member "buildroot-2021.05/package/python-cffi/python-cffi.mk" (6 Jun 2021, 1129 Bytes) of package /linux/privat/buildroot-2021.05.tar.bz2:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Make source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes reports for "python-cffi.mk": 2021.05-rc3_vs_2021.05 or 2021.02.2_vs_2021.05.

    1 ################################################################################
    2 #
    3 # python-cffi
    4 #
    5 ################################################################################
    6 
    7 # Please keep in sync with package/python3-cffi/python3-cffi.mk
    8 PYTHON_CFFI_VERSION = 1.14.2
    9 PYTHON_CFFI_SOURCE = cffi-$(PYTHON_CFFI_VERSION).tar.gz
   10 PYTHON_CFFI_SITE = https://files.pythonhosted.org/packages/f7/09/88bbe20b76ca76be052c366fe77aa5e3cd6e5f932766e5597fecdd95b2a8
   11 PYTHON_CFFI_SETUP_TYPE = setuptools
   12 PYTHON_CFFI_DEPENDENCIES = host-pkgconf libffi
   13 PYTHON_CFFI_LICENSE = MIT
   14 PYTHON_CFFI_LICENSE_FILES = LICENSE
   15 
   16 # This host package uses pkg-config to find libffi, so we have to
   17 # provide the proper hints for pkg-config to behave properly for host
   18 # packages.
   19 HOST_PYTHON_CFFI_ENV = \
   20     PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \
   21     PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \
   22     PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
   23     PKG_CONFIG_SYSROOT_DIR="/" \
   24     PKG_CONFIG_LIBDIR="$(HOST_DIR)/lib/pkgconfig:$(HOST_DIR)/share/pkgconfig"
   25 HOST_PYTHON_CFFI_DEPENDENCIES = host-pkgconf host-python-pycparser host-libffi
   26 
   27 $(eval $(python-package))
   28 $(eval $(host-python-package))