wok-next view python-mccabe/receipt @ rev 21568

updated crosstool-ng (1.20.0 -> 1.24.0)
author Hans-G?nter Theisgen
date Mon Jun 22 16:28:58 2020 +0100 (2020-06-22)
parents d24f5052ae8c
children
line source
1 # SliTaz package receipt v2.
3 ORIGIN="mccabe"
4 PACKAGE="python-mccabe"
5 VERSION="0.6.1"
6 CATEGORY="python"
7 SHORT_DESC="McCabe checker, plugin for flake8"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="MIT"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 HOST_ARCH="any"
12 REPOLOGY="python:mccabe"
14 BUILD_DEPENDS="python python3"
15 SPLIT="${PACKAGE/python/python3}:3"
17 compile_rules() {
18 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
19 }
21 genpkg_rules() {
22 copy @std
23 py=${PACKAGE%%-*} # python/python3
24 DEPENDS="$py"
25 }