Initial Commit
- initial default booting image
This commit is contained in:
10
package/python-cffi/Config.in
Normal file
10
package/python-cffi/Config.in
Normal file
@@ -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
|
||||
5
package/python-cffi/python-cffi.hash
Normal file
5
package/python-cffi/python-cffi.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/cffi/json
|
||||
md5 5e897f6251e614f6bd128a73e81801a4 cffi-2.0.0.tar.gz
|
||||
sha256 44d1b5909021139fe36001ae048dbdde8214afa20200eda0f64c068cac5d5529 cffi-2.0.0.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 5ba24ddc57067f9249add644c3afc41a5d6dc37e23433ef759d95df370b0af63 LICENSE
|
||||
27
package/python-cffi/python-cffi.mk
Normal file
27
package/python-cffi/python-cffi.mk
Normal file
@@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-cffi
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_CFFI_VERSION = 2.0.0
|
||||
PYTHON_CFFI_SOURCE = cffi-$(PYTHON_CFFI_VERSION).tar.gz
|
||||
PYTHON_CFFI_SITE = https://files.pythonhosted.org/packages/eb/56/b1ba7935a17738ae8453301356628e8147c79dbb825bcbc73dc7401f9846
|
||||
PYTHON_CFFI_SETUP_TYPE = setuptools
|
||||
PYTHON_CFFI_DEPENDENCIES = host-pkgconf libffi
|
||||
PYTHON_CFFI_LICENSE = MIT-0
|
||||
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