wok annotate python-dnspython/receipt @ rev 25502

Up memtest-efi* (6.01)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 15 09:58:15 2023 +0000 (22 months ago)
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 }