wok-next annotate python-pyflakes16/receipt @ rev 20921
flake8 -> python-flake8
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Aug 22 11:18:36 2018 +0300 (2018-08-22) |
parents | |
children |
rev | line source |
---|---|
al@20921 | 1 # SliTaz package receipt v2. |
al@20921 | 2 |
al@20921 | 3 PACKAGE="python-pyflakes16" |
al@20921 | 4 VERSION="latest1.6" |
al@20921 | 5 CATEGORY="development" |
al@20921 | 6 SHORT_DESC="Passive checker of Python programs (for python-flake8)" |
al@20921 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20921 | 8 LICENSE="MIT" |
al@20921 | 9 WEB_SITE="https://pypi.org/project/pyflakes/" |
al@20921 | 10 HOST_ARCH="any" |
al@20921 | 11 REPOLOGY="python:pyflakes" |
al@20921 | 12 |
al@20921 | 13 BUILD_DEPENDS="python-dev" |
al@20921 | 14 |
al@20921 | 15 LEGACY_OF="python-pyflakes" # python-flake8 requres 'pyflakes<1.7.0,>=1.5.0' while latest is 2.0.0 |
al@20921 | 16 |
al@20921 | 17 compile_rules() { |
al@20921 | 18 pip install --no-compile --root=$DESTDIR 'pyflakes<1.7.0,>=1.5.0' |
al@20921 | 19 } |
al@20921 | 20 |
al@20921 | 21 genpkg_rules() { |
al@20921 | 22 VERSION=$(sed -n '/^Successfully installed/ s|.*pyflakes-||p' $LOGS/$PACKAGE.log) |
al@20921 | 23 copy @std |
al@20921 | 24 DEPENDS="python" |
al@20921 | 25 } |