wok-next annotate python-mccabe/receipt @ rev 21264

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