e5bf154592
Foreign Function Interface for Python calling C code. [Thomas: add dependency on host-pkgconf and libffi, enable on Python 3 since the module builds fine and loads fine with Python 3 as well.] Signed-off-by: oli vogt <oli.vogt.pub01@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
16 lines
504 B
Makefile
16 lines
504 B
Makefile
################################################################################
|
|
#
|
|
# python-cffi
|
|
#
|
|
################################################################################
|
|
|
|
PYTHON_CFFI_VERSION = 0.8.2
|
|
PYTHON_CFFI_SOURCE = cffi-$(PYTHON_CFFI_VERSION).tar.gz
|
|
PYTHON_CFFI_SITE = https://pypi.python.org/packages/source/c/cffi/
|
|
PYTHON_CFFI_SETUP_TYPE = setuptools
|
|
PYTHON_CFFI_DEPENDENCIES = host-pkgconf libffi
|
|
PYTHON_CFFI_LICENSE = MIT
|
|
PYTHON_CFFI_LICENSE_FILES = LICENSE
|
|
|
|
$(eval $(python-package))
|