1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-14 19:33:59 +02:00
openwrt-packages/lang/python-dns/Makefile
Alexandru Ardelean ee512fa36f python-dns: add python-setuptools/host as build dependency
After commit a4b0c0a9fb
python host does not install/have the built-in setuptools package.

So, for python-dns, we need to add it explicitly (since it's required).

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-11-09 09:35:19 +02:00

47 lines
1.2 KiB
Makefile

#
# Copyright (C) 2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=python-dns
PKG_RELEASE:=2
PKG_VERSION:=1.15.0
PKG_SOURCE_URL:=http://www.dnspython.org/kits/$(PKG_VERSION)
PKG_MD5SUM:=63a679089822fb86127867c315286dc5
PKG_SOURCE:=dnspython-$(PKG_VERSION).tar.gz
PKG_MAINTAINER:=Denis Shulyaka <Shulyaka@gmail.com>
PKG_LICENSE:=ISC
PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DIR:=$(BUILD_DIR)/dnspython-$(PKG_VERSION)
PKG_BUILD_DEPENDS:=python-setuptools/host
include $(INCLUDE_DIR)/package.mk
$(call include_mk, python-package.mk)
define Package/python-dns
SECTION:=language-python
CATEGORY:=Languages
SUBMENU:=Python
TITLE:=dnspython
URL:=http://www.dnspython.org/
DEPENDS:=+python
endef
define Package/python-dns/description
dnspython is a DNS toolkit for Python. It supports almost all record types. It can be used for queries, zone transfers, and dynamic updates. It supports TSIG authenticated messages and EDNS0.
endef
define Build/Compile
$(call Build/Compile/PyMod,,\
install --prefix=/usr --root="$(PKG_INSTALL_DIR)" \
)
endef
$(eval $(call PyPackage,python-dns))
$(eval $(call BuildPackage,python-dns))