mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-02-20 09:35:26 +00:00
First commit of Shredos v2021.08.2_19_x86-64_0.32.014
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 5c118a18ea897df164dbff67a32876fc cffi-1.14.6.tar.gz
|
||||
sha256 c9a875ce9d7fe32887784274dd533c57909b7b1dcadcc128a2ac21331a9765dd cffi-1.14.6.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 04b80f5b077bbed68808cfebadeb5e3523f2a8c9a96495c587bd96df1eac2a33 LICENSE
|
||||
28
package/python-cffi/python-cffi.mk
Normal file
28
package/python-cffi/python-cffi.mk
Normal file
@@ -0,0 +1,28 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-cffi
|
||||
#
|
||||
################################################################################
|
||||
|
||||
# Please keep in sync with package/python3-cffi/python3-cffi.mk
|
||||
PYTHON_CFFI_VERSION = 1.14.6
|
||||
PYTHON_CFFI_SOURCE = cffi-$(PYTHON_CFFI_VERSION).tar.gz
|
||||
PYTHON_CFFI_SITE = https://files.pythonhosted.org/packages/2e/92/87bb61538d7e60da8a7ec247dc048f7671afe17016cd0008b3b710012804
|
||||
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