wok view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="flake8"
4 VERSION="3.7.7"
5 CATEGORY="development"
6 SHORT_DESC="The modular source code checker for python."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://pypi.python.org/pypi/flake8"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://pypi.python.org/packages/source/${PACKAGE:0:1}/$PACKAGE/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python python-setuptools"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py build &&
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $install/usr $fs/
28 }