wok-next annotate python-pycodestyle/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 | c9a7a7b42a86 |
rev | line source |
---|---|
al@20921 | 1 # SliTaz package receipt v2. |
al@20921 | 2 |
al@20921 | 3 PACKAGE="python-pycodestyle" |
al@20921 | 4 VERSION="latest" |
al@20921 | 5 CATEGORY="development" |
al@20921 | 6 SHORT_DESC="Python style guide checker" |
al@20921 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20921 | 8 LICENSE="MIT" |
al@20921 | 9 WEB_SITE="https://pypi.org/project/pycodestyle/" |
al@20921 | 10 HOST_ARCH="any" |
al@20921 | 11 REPOLOGY="python:pycodestyle" |
al@20921 | 12 |
al@20921 | 13 BUILD_DEPENDS="python" |
al@20921 | 14 |
al@20921 | 15 compile_rules() { |
al@20921 | 16 pip install --no-compile --root=$DESTDIR pycodestyle |
al@20921 | 17 } |
al@20921 | 18 |
al@20921 | 19 genpkg_rules() { |
al@20921 | 20 VERSION=$(sed -n '/^Successfully installed/ s|.*pycodestyle-||p' $LOGS/$PACKAGE.log) |
al@20921 | 21 copy @std |
al@20921 | 22 DEPENDS="python" |
al@20921 | 23 } |