wok-6.x view flake8/receipt @ rev 25321

updated sqlobject (3.8.0 -> 3.9.1)
author Hans-G?nter Theisgen
date Fri Jul 22 07:45:13 2022 +0100 (2022-07-22)
parents 6b90c9e88ffc
children
line source
1 # SliTaz package receipt.
3 PACKAGE="flake8"
4 VERSION="3.7.9"
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://pypi.org/project/$PACKAGE/ 2>/dev/null | \
21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||;q"
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py build &&
28 python setup.py install --root=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/usr $fs
35 }