wok-6.x annotate python-dnspython/receipt @ rev 24679
updated iso-codes (4.4 -> 4.9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 12 09:36:26 2022 +0100 (2022-03-12) |
parents | 3d9966aceee9 |
children | 870e1ce31226 |
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@23884 | 9 WEB_SITE="https://www.dnspython.org/" |
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 } |