wok-6.x annotate flake8/receipt @ rev 22797
Add xsane-locales
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 27 10:28:49 2020 +0100 (2020-01-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 } |