wok-6.x annotate python-pyflakes/receipt @ rev 19989
Add knot
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 02 18:38:44 2017 +0200 (2017-07-02) |
parents | |
children | c8a5c613a8ce |
rev | line source |
---|---|
paul@18819 | 1 # SliTaz package receipt. |
paul@18819 | 2 |
paul@18819 | 3 PACKAGE="python-pyflakes" |
paul@18819 | 4 SOURCE="pyflakes" |
paul@18819 | 5 VERSION="1.0.0" |
paul@18819 | 6 CATEGORY="development" |
paul@18819 | 7 SHORT_DESC="A simple program which checks Python source files for errors." |
paul@18819 | 8 MAINTAINER="paul@slitaz.org" |
paul@18819 | 9 #LICENSE="MIT" |
paul@18819 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
paul@18819 | 11 WEB_SITE="https://github.com/pyflakes/pyflakes" |
paul@18819 | 12 WGET_URL="https://pypi.python.org/packages/source/p/$SOURCE/$TARBALL" |
paul@18819 | 13 |
paul@18819 | 14 DEPENDS="python" |
paul@18819 | 15 BUILD_DEPENDS="wget setuptools python-dev" |
paul@18819 | 16 |
paul@18819 | 17 # Rules to configure and make the package. |
paul@18819 | 18 compile_rules() |
paul@18819 | 19 { |
paul@18819 | 20 python setup.py install --root=$DESTDIR |
paul@18819 | 21 } |
paul@18819 | 22 |
paul@18819 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@18819 | 24 genpkg_rules() |
paul@18819 | 25 { |
paul@18819 | 26 cp -a $install/usr $fs |
paul@18819 | 27 } |
paul@18819 | 28 |