wok annotate python-attrs/receipt @ rev 24521
updated ettercap (0.8.3 -> 0.8.3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 22 15:47:04 2022 +0100 (2022-02-22) |
parents | 414bd6f4a481 |
children | 73f36875e5a7 |
rev | line source |
---|---|
pascal@22461 | 1 # SliTaz package receipt. |
pascal@22461 | 2 |
pascal@22461 | 3 PACKAGE="python-attrs" |
pascal@22461 | 4 SOURCE="attrs" |
pascal@22461 | 5 VERSION="19.3.0" |
pascal@22461 | 6 CATEGORY="development" |
pascal@22461 | 7 SHORT_DESC="Classes Without Boilerplate" |
pascal@22461 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@22461 | 9 LICENSE="MIT" |
pascal@22461 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@22461 | 11 WEB_SITE="http://www.attrs.org/" |
pascal@22461 | 12 WGET_URL="https://files.pythonhosted.org/packages/98/c3/2c227e66b5e896e15ccdae2e00bbc69aa46e9a8ce8869cc5fa96310bf612/$TARBALL" |
pascal@22461 | 13 |
pascal@22461 | 14 DEPENDS="python" |
pascal@22461 | 15 BUILD_DEPENDS="python-setuptools" |
pascal@22461 | 16 |
pascal@24459 | 17 # What is the latest version available today? |
pascal@24459 | 18 current_version() |
pascal@24459 | 19 { |
pascal@24459 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24459 | 21 sed '/Release/!d;s|.*lease v||;s| .*||;q' |
pascal@24459 | 22 } |
pascal@24459 | 23 |
pascal@22461 | 24 # Rules to configure and make the package. |
pascal@22461 | 25 compile_rules() |
pascal@22461 | 26 { |
pascal@22461 | 27 python setup.py build && |
pascal@22461 | 28 python setup.py install --root=$DESTDIR |
pascal@22461 | 29 } |
pascal@22461 | 30 |
pascal@22461 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@22461 | 32 genpkg_rules() |
pascal@22461 | 33 { |
pascal@22461 | 34 mkdir -p $fs |
pascal@22461 | 35 cp -a $install/usr $fs |
pascal@22461 | 36 } |