wok-next view python-flake8/receipt @ rev 21527
updated bootchart (0.9 -> 1.20)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 19 15:06:45 2020 +0100 (2020-06-19) |
parents | d24f5052ae8c |
children |
line source
1 # SliTaz package receipt v2.
3 ORIGIN="flake8"
4 PACKAGE="python-flake8"
5 VERSION="3.5.0"
6 CATEGORY="python"
7 SHORT_DESC="The modular source code checker for Python"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 HOST_ARCH="any"
12 REPOLOGY="python:flake8"
14 BUILD_DEPENDS="python python-configparser python-enum34 python-mccabe \
15 python-pycodestyle23 python-pyflakes16 \
16 python3 python3-mccabe python3-pycodestyle23 python3-pyflakes16"
17 SPLIT="${PACKAGE/python/python3}:3"
19 compile_rules() {
20 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
21 }
23 genpkg_rules() {
24 copy @std
25 py=${PACKAGE%%-*} # python/python3
26 case $PACKAGE in
27 python-*)
28 DEPENDS="$py $py-configparser $py-enum34 $py-mccabe \
29 $py-pycodestyle23 $py-pyflakes16"
30 ;;
31 python3-*)
32 DEPENDS="$py $py-mccabe $py-pycodestyle23 $py-pyflakes16"
33 ;;
34 esac
35 }