2014-10-25 22:38:03 +00:00
#
# Copyright (C) 2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
i n c l u d e $( TOPDIR ) / r u l e s . m k
2014-12-10 11:19:44 +00:00
PKG_NAME := python-dns
2016-11-09 07:30:37 +00:00
PKG_RELEASE := 2
2016-11-03 15:15:55 +00:00
PKG_VERSION := 1.15.0
2014-11-04 11:02:26 +00:00
PKG_SOURCE_URL := http://www.dnspython.org/kits/$( PKG_VERSION)
2017-08-28 04:28:09 +00:00
PKG_HASH := 11598ae5735746e63921f8eebdfdee4a2e7d0ba842ebd57ba02682d4aed8244b
2014-12-10 11:19:44 +00:00
PKG_SOURCE := dnspython-$( PKG_VERSION) .tar.gz
2014-10-25 22:38:03 +00:00
PKG_MAINTAINER := Denis Shulyaka <Shulyaka@gmail.com>
PKG_LICENSE := ISC
2014-11-25 07:42:42 +00:00
PKG_LICENSE_FILES := LICENSE
2014-12-10 11:19:44 +00:00
PKG_BUILD_DIR := $( BUILD_DIR) /dnspython-$( PKG_VERSION)
2014-10-25 22:38:03 +00:00
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
$( call include_mk , python -package .mk )
d e f i n e P a c k a g e / p y t h o n - d n s
SECTION:= language-python
CATEGORY:= Languages
SUBMENU:= Python
TITLE:= dnspython
URL:= http://www.dnspython.org/
2014-12-09 14:26:03 +00:00
DEPENDS:= +python
2014-10-25 22:38:03 +00:00
e n d e f
d e f i n e P a c k a g e / p y t h o n - d n s / d e s c r i p t i o n
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.
e n d e f
d e f i n e B u i l d / C o m p i l e
2014-12-10 11:11:17 +00:00
$( call Build/Compile/PyMod,,\
2016-11-09 07:28:31 +00:00
install --prefix= /usr --root= " $( PKG_INSTALL_DIR) " \
2014-12-10 11:11:17 +00:00
)
2014-10-25 22:38:03 +00:00
e n d e f
2014-12-10 11:26:56 +00:00
$( eval $ ( call PyPackage ,python -dns ) )
2014-10-25 22:38:03 +00:00
$( eval $ ( call BuildPackage ,python -dns ) )