wok-6.x annotate python-pyflakes/receipt @ rev 25541
w3m: fix version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 10 17:54:21 2023 +0000 (18 months ago) |
parents | ac8ca9758df1 |
children |
rev | line source |
---|---|
paul@18819 | 1 # SliTaz package receipt. |
paul@18819 | 2 |
paul@18819 | 3 PACKAGE="python-pyflakes" |
Hans-G?nter@25225 | 4 VERSION="2.4.0" |
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@25225 | 9 WEB_SITE="https://pypi.org/project/pyflakes/" |
Hans-G?nter@25225 | 10 REPOLOGY="python:pyflakes" |
Hans-G?nter@23538 | 11 |
Hans-G?nter@23538 | 12 SOURCE="pyflakes" |
paul@18819 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@25225 | 14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
paul@18819 | 15 |
paul@18819 | 16 DEPENDS="python" |
Hans-G?nter@23538 | 17 BUILD_DEPENDS="python python-dev python-setuptools" |
paul@18819 | 18 |
pascal@24055 | 19 current_version() |
pascal@24055 | 20 { |
pascal@24299 | 21 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 22 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 23 } |
pascal@24055 | 24 |
paul@18819 | 25 # Rules to configure and make the package. |
paul@18819 | 26 compile_rules() |
paul@18819 | 27 { |
paul@18819 | 28 python setup.py install --root=$DESTDIR |
paul@18819 | 29 } |
paul@18819 | 30 |
paul@18819 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@18819 | 32 genpkg_rules() |
paul@18819 | 33 { |
Hans-G?nter@23538 | 34 cp -a $install/usr $fs |
paul@18819 | 35 } |