summaryrefslogtreecommitdiffstats
path: root/lang/python/python-pycares/Makefile
blob: 19fa6df9f90946836f386e2aba72646909bd68ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36

include $(TOPDIR)/rules.mk

PKG_NAME:=python-pycares
PKG_VERSION:=4.10.0
PKG_RELEASE:=1

PYPI_NAME:=pycares
PKG_HASH:=9df70dce6e05afa5d477f48959170e569485e20dad1a089c4cf3b2d7ffbd8bf9

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))