wok-6.x annotate flake8/receipt @ rev 19985
Up zstd (1.2.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 01 15:39:55 2017 +0200 (2017-07-01) |
parents | 0a8635d4a41c |
children | 9e09019c3f53 |
rev | line source |
---|---|
pascal@17228 | 1 # SliTaz package receipt. |
pascal@17228 | 2 |
pascal@17228 | 3 PACKAGE="flake8" |
pascal@17228 | 4 VERSION="2.2.4" |
pascal@17228 | 5 CATEGORY="development" |
pascal@17228 | 6 SHORT_DESC="The modular source code checker for python." |
pascal@17228 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17228 | 8 LICENSE="MIT" |
pascal@17228 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@17228 | 10 WEB_SITE="https://pypi.python.org/pypi/flake8" |
pascal@17228 | 11 WGET_URL="https://pypi.python.org/packages/source/${PACKAGE:0:1}/$PACKAGE/$TARBALL" |
pascal@17228 | 12 |
pascal@17228 | 13 DEPENDS="python" |
pascal@17230 | 14 BUILD_DEPENDS="wget python setuptools" |
pascal@17228 | 15 |
pascal@17228 | 16 # Rules to configure and make the package. |
pascal@17228 | 17 compile_rules() |
pascal@17228 | 18 { |
pascal@17228 | 19 python setup.py build && |
pascal@17228 | 20 python setup.py install --root=$DESTDIR |
pascal@17228 | 21 } |
pascal@17228 | 22 |
pascal@17228 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17228 | 24 genpkg_rules() |
pascal@17228 | 25 { |
pascal@17228 | 26 cp -a $install/usr $fs/ |
pascal@17228 | 27 } |