wok annotate flake8/receipt @ rev 21580

Use python-setuptools as bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 19 19:07:20 2019 +0200 (2019-05-19)
parents 9e09019c3f53
children 6b90c9e88ffc
rev   line source
pascal@17228 1 # SliTaz package receipt.
pascal@17228 2
pascal@17228 3 PACKAGE="flake8"
Hans-G?nter@20920 4 VERSION="3.7.7"
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 {
pascal@17228 27 cp -a $install/usr $fs/
pascal@17228 28 }