mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_PYTHON_CFFI
|
||||
bool "python-cffi"
|
||||
select BR2_PACKAGE_LIBFFI
|
||||
select BR2_PACKAGE_PYTHON_PYCPARSER # runtime
|
||||
help
|
||||
This is the Foreign Function Interface for Python calling C
|
||||
code. The aim of this project is to provide a convenient
|
||||
and reliable way of calling C code from Python.
|
||||
|
||||
https://pypi.python.org/pypi/cffi
|
||||
@@ -0,0 +1,4 @@
|
||||
# md5 from https://pypi.python.org/pypi/cffi/json, sha256 locally computed
|
||||
md5 35ad1f9e1003cac9404c1493eb10d7f5 cffi-1.12.3.tar.gz
|
||||
sha256 041c81822e9f84b1d9c401182e174996f0bae9991f33725d059b771744290774 cffi-1.12.3.tar.gz
|
||||
sha256 04b80f5b077bbed68808cfebadeb5e3523f2a8c9a96495c587bd96df1eac2a33 LICENSE
|
||||
@@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-cffi
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_CFFI_VERSION = 1.12.3
|
||||
PYTHON_CFFI_SOURCE = cffi-$(PYTHON_CFFI_VERSION).tar.gz
|
||||
PYTHON_CFFI_SITE = https://files.pythonhosted.org/packages/93/1a/ab8c62b5838722f29f3daffcc8d4bd61844aa9b5f437341cc890ceee483b
|
||||
PYTHON_CFFI_SETUP_TYPE = setuptools
|
||||
PYTHON_CFFI_DEPENDENCIES = host-pkgconf libffi
|
||||
PYTHON_CFFI_LICENSE = MIT
|
||||
PYTHON_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_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="/" \
|
||||
PKG_CONFIG_LIBDIR="$(HOST_DIR)/lib/pkgconfig:$(HOST_DIR)/share/pkgconfig"
|
||||
HOST_PYTHON_CFFI_DEPENDENCIES = host-pkgconf host-python-pycparser host-libffi
|
||||
|
||||
$(eval $(python-package))
|
||||
$(eval $(host-python-package))
|
||||
Reference in New Issue
Block a user