wok annotate python-pyflakes/receipt @ rev 25783

Up verbiste (0.1.49)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 24 13:23:01 2024 +0000 (7 weeks ago)
parents eec5fc514f23
children
rev   line source
paul@18819 1 # SliTaz package receipt.
paul@18819 2
paul@18819 3 PACKAGE="python-pyflakes"
Hans-G?nter@25225 4 VERSION="2.4.0"
paul@18819 5 CATEGORY="development"
paul@18819 6 SHORT_DESC="A simple program which checks Python source files for errors."
paul@18819 7 MAINTAINER="paul@slitaz.org"
Hans-G?nter@23538 8 LICENSE="MIT"
Hans-G?nter@25225 9 WEB_SITE="https://pypi.org/project/pyflakes/"
Hans-G?nter@25225 10 REPOLOGY="python:pyflakes"
Hans-G?nter@23538 11
Hans-G?nter@23538 12 SOURCE="pyflakes"
paul@18819 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@25225 14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
paul@18819 15
paul@18819 16 DEPENDS="python"
Hans-G?nter@23538 17 BUILD_DEPENDS="python python-dev python-setuptools"
paul@18819 18
pascal@25601 19 # What is the latest version available today?
pascal@24055 20 current_version()
pascal@24055 21 {
pascal@25601 22 wget -O - https://github.com/PyCQA/pyflakes/tags 2>/dev/null | \
pascal@25601 23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 24 }
pascal@24055 25
paul@18819 26 # Rules to configure and make the package.
paul@18819 27 compile_rules()
paul@18819 28 {
paul@18819 29 python setup.py install --root=$DESTDIR
paul@18819 30 }
paul@18819 31
paul@18819 32 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@18819 33 genpkg_rules()
paul@18819 34 {
Hans-G?nter@23538 35 cp -a $install/usr $fs
paul@18819 36 }