wok-current view python-dnspython/receipt @ rev 25383
updated units (2.19 -> 2.21)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 30 17:22:12 2022 +0100 (2022-07-30) |
parents | 2f230197370e |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-dnspython"
4 VERSION="1.16.0"
5 CATEGORY="development"
6 SHORT_DESC="A DNS toolkit for Python."
7 MAINTAINER="monghitri@aruba.it"
8 LICENSE="BSD"
9 WEB_SITE="https://github.com/rthalley/dnspython"
11 SOURCE="dnspython"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://www.dnspython.org/kits/$VERSION/$TARBALL"
15 DEPENDS="python"
16 BUILD_DEPENDS="python python-setuptools"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://pypi.org/project/dnspython/ 2>/dev/null | \
22 sed '/dnspython [0-9]/!d;s|.*dnspython ||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 python setup.py install --root=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/usr $fs
35 }