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