2 # Copyright (C) 2015-2016, 2018-2021, 2023 Jeffery To
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
15 PKG_HASH
:=bcb3ef43e58665bbda2fb198698fcae6776483e0c4a631aa5647806c25e02cc0
18 PKG_LICENSE_FILES
:=LICENSE
19 PKG_MAINTAINER
:=Jeffery To
<jeffery.to@gmail.com
>
21 HOST_BUILD_DEPENDS
:= \
24 python-installer
/host \
29 include $(INCLUDE_DIR
)/package.mk
30 include $(INCLUDE_DIR
)/host-build.mk
31 include ..
/python3-package.mk
32 include ..
/python3-host-build.mk
34 define Package
/python3-cffi
38 TITLE
:=C Foreign Function Interface
39 URL
:=https
://cffi.readthedocs.org
/
47 define Package
/python3-cffi
/description
48 Foreign Function Interface for Python calling C code.
51 $(eval
$(call Py3Package
,python3-cffi
))
52 $(eval
$(call BuildPackage
,python3-cffi
))
53 $(eval
$(call BuildPackage
,python3-cffi-src
))
54 $(eval
$(call HostBuild
))