wok annotate flake8/receipt @ rev 24837

updated libtdb and libtdb-dev (1.4.3 -> 1.4.5)
author Hans-G?nter Theisgen
date Fri Mar 25 07:38:22 2022 +0100 (2022-03-25)
parents 6b90c9e88ffc
children
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@24391 17 # What is the latest version available today?
pascal@24391 18 current_version()
pascal@24391 19 {
pascal@24391 20 wget -O - https://pypi.org/project/$PACKAGE/ 2>/dev/null | \
pascal@24391 21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||;q"
pascal@24391 22 }
pascal@24391 23
pascal@17228 24 # Rules to configure and make the package.
pascal@17228 25 compile_rules()
pascal@17228 26 {
pascal@17228 27 python setup.py build &&
pascal@17228 28 python setup.py install --root=$DESTDIR
pascal@17228 29 }
pascal@17228 30
pascal@17228 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17228 32 genpkg_rules()
pascal@17228 33 {
Hans-G?nter@22729 34 cp -a $install/usr $fs
pascal@17228 35 }