iputils: bump to 20240905
[feed/packages.git] / lang / python / python-cffi / Makefile
1 #
2 # Copyright (C) 2015-2016, 2018-2021, 2023 Jeffery To
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=python-cffi
11 PKG_VERSION:=1.16.0
12 PKG_RELEASE:=1
13
14 PYPI_NAME:=cffi
15 PKG_HASH:=bcb3ef43e58665bbda2fb198698fcae6776483e0c4a631aa5647806c25e02cc0
16
17 PKG_LICENSE:=MIT
18 PKG_LICENSE_FILES:=LICENSE
19 PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
20
21 HOST_BUILD_DEPENDS:= \
22 python3/host \
23 python-build/host \
24 python-installer/host \
25 python-wheel/host \
26 python-pycparser/host
27
28 include ../pypi.mk
29 include $(INCLUDE_DIR)/package.mk
30 include $(INCLUDE_DIR)/host-build.mk
31 include ../python3-package.mk
32 include ../python3-host-build.mk
33
34 define Package/python3-cffi
35 SECTION:=lang
36 CATEGORY:=Languages
37 SUBMENU:=Python
38 TITLE:=C Foreign Function Interface
39 URL:=https://cffi.readthedocs.org/
40 DEPENDS:= \
41 +libffi \
42 +python3-light \
43 +python3-ctypes \
44 +python3-pycparser
45 endef
46
47 define Package/python3-cffi/description
48 Foreign Function Interface for Python calling C code.
49 endef
50
51 $(eval $(call Py3Package,python3-cffi))
52 $(eval $(call BuildPackage,python3-cffi))
53 $(eval $(call BuildPackage,python3-cffi-src))
54 $(eval $(call HostBuild))