wok annotate flake8/receipt @ rev 24093
Up squashfs (4.5)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 27 16:57:54 2021 +0000 (2021-07-27) |
parents | 240fb3120638 |
children | 104a2a2e5484 |
rev | line source |
---|---|
pascal@17228 | 1 # SliTaz package receipt. |
pascal@17228 | 2 |
pascal@17228 | 3 PACKAGE="flake8" |
Hans-G?nter@22729 | 4 VERSION="3.7.9" |
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" |
Hans-G?nter@20920 | 9 WEB_SITE="https://pypi.python.org/pypi/flake8" |
Hans-G?nter@20920 | 10 |
pascal@17228 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@17228 | 12 WGET_URL="https://pypi.python.org/packages/source/${PACKAGE:0:1}/$PACKAGE/$TARBALL" |
pascal@17228 | 13 |
pascal@17228 | 14 DEPENDS="python" |
pascal@21580 | 15 BUILD_DEPENDS="python python-setuptools" |
pascal@17228 | 16 |
pascal@17228 | 17 # Rules to configure and make the package. |
pascal@17228 | 18 compile_rules() |
pascal@17228 | 19 { |
pascal@17228 | 20 python setup.py build && |
pascal@17228 | 21 python setup.py install --root=$DESTDIR |
pascal@17228 | 22 } |
pascal@17228 | 23 |
pascal@17228 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17228 | 25 genpkg_rules() |
pascal@17228 | 26 { |
Hans-G?nter@22729 | 27 cp -a $install/usr $fs |
pascal@17228 | 28 } |