packages/lang/python/python-pycares/Makefile
Jeffery To aabe27a379
python-cffi: Update to 1.15.1, add host build
The host build replaces the use of the host pip requirements file. This
also updates the dependants of cffi to depend on the host build.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:06:34 +08:00

36 lines
862 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=python-pycares
PKG_VERSION:=4.3.0
PKG_RELEASE:=2
PYPI_NAME:=pycares
PKG_HASH:=c542696f6dac978e9d99192384745a65f80a7d9450501151e4a7563e06010d45
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
PKG_MAINTAINER:=Fabian Lipken <dynasticorpheus@gmail.com>
PKG_BUILD_DEPENDS:=libffi/host python-cffi/host # cffi>=1.5.0
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk
define Package/python3-pycares
SECTION:=lang
CATEGORY:=Languages
SUBMENU:=Python
TITLE:=Python interface for c-ares
URL:=https://github.com/saghul/pycares
DEPENDS:=+python3-light +python3-cffi
endef
define Package/python3-pycares/description
Python interface for c-ares
endef
$(eval $(call Py3Package,python3-pycares))
$(eval $(call BuildPackage,python3-pycares))
$(eval $(call BuildPackage,python3-pycares-src))