Merge pull request #20731 from pprindeville/isc-dhcp-update-4.4.3-P1
[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.15.1
12 PKG_RELEASE:=1
13
14 PYPI_NAME:=cffi
15 PKG_HASH:=d400bfb9a37b1351253cb402671cea7e89bdecc294e8016a707f6d1d8ac934f9
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-pycparser
44 endef
45
46 define Package/python3-cffi/description
47 Foreign Function Interface for Python calling C code.
48 endef
49
50 $(eval $(call Py3Package,python3-cffi))
51 $(eval $(call BuildPackage,python3-cffi))
52 $(eval $(call BuildPackage,python3-cffi-src))
53 $(eval $(call HostBuild))