wok-next diff python-flake8/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 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-flake8/receipt Wed Aug 22 11:18:36 2018 +0300 1.3 @@ -0,0 +1,25 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="python-flake8" 1.7 +VERSION="latest" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="The modular source code checker for Python" 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="MIT" 1.12 +WEB_SITE="https://pypi.org/project/flake8/" 1.13 +HOST_ARCH="any" 1.14 +REPOLOGY="python:flake8" 1.15 + 1.16 +BUILD_DEPENDS="python python-enum34 python-configparser python-mccabe \ 1.17 +python-pyflakes16 python-pycodestyle23" 1.18 + 1.19 +compile_rules() { 1.20 + pip install --no-compile --root=$DESTDIR flake8 1.21 +} 1.22 + 1.23 +genpkg_rules() { 1.24 + VERSION=$(sed -n '/^Successfully installed/ s|.*flake8-||p' $LOGS/$PACKAGE.log) 1.25 + copy @std 1.26 + DEPENDS="python python-enum34 python-configparser python-mccabe \ 1.27 + python-pyflakes16 python-pycodestyle23" 1.28 +}