wok annotate python-pyflakes/receipt @ rev 24921
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 10 17:48:38 2022 +0000 (2022-04-10) |
parents | 5ea0ce1cecc0 |
children | eec5fc514f23 |
rev | line source |
---|---|
paul@18819 | 1 # SliTaz package receipt. |
paul@18819 | 2 |
paul@18819 | 3 PACKAGE="python-pyflakes" |
Hans-G?nter@23538 | 4 VERSION="2.1.1" |
paul@18819 | 5 CATEGORY="development" |
paul@18819 | 6 SHORT_DESC="A simple program which checks Python source files for errors." |
paul@18819 | 7 MAINTAINER="paul@slitaz.org" |
Hans-G?nter@23538 | 8 LICENSE="MIT" |
Hans-G?nter@23538 | 9 WEB_SITE="https://github.com/pyflakes/pyflakes" |
Hans-G?nter@23538 | 10 |
Hans-G?nter@23538 | 11 SOURCE="pyflakes" |
paul@18819 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20024 | 13 WGET_URL="https://github.com/PyCQA/pyflakes/archive/$VERSION.tar.gz" |
paul@18819 | 14 |
paul@18819 | 15 DEPENDS="python" |
Hans-G?nter@23538 | 16 BUILD_DEPENDS="python python-dev python-setuptools" |
paul@18819 | 17 |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24299 | 20 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
paul@18819 | 24 # Rules to configure and make the package. |
paul@18819 | 25 compile_rules() |
paul@18819 | 26 { |
paul@18819 | 27 python setup.py install --root=$DESTDIR |
paul@18819 | 28 } |
paul@18819 | 29 |
paul@18819 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@18819 | 31 genpkg_rules() |
paul@18819 | 32 { |
Hans-G?nter@23538 | 33 cp -a $install/usr $fs |
paul@18819 | 34 } |