wok-next annotate python-coverage/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents c9a7a7b42a86
children
rev   line source
al@20948 1 # SliTaz package receipt v2.
al@20948 2
al@20972 3 ORIGIN="coverage"
al@20948 4 PACKAGE="python-coverage"
al@20972 5 VERSION="4.5.1"
al@20948 6 CATEGORY="python"
al@20948 7 SHORT_DESC="Code coverage measurement for Python"
al@20948 8 MAINTAINER="al.bobylev@gmail.com"
al@20948 9 LICENSE="Apache2"
al@20972 10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
al@21020 11 #HOST_ARCH
al@20948 12 REPOLOGY="python:coverage"
al@20948 13
al@20972 14 BUILD_DEPENDS="python python3"
al@20972 15 SPLIT="${PACKAGE/python/python3}:3"
al@20948 16
al@20948 17 compile_rules() {
al@20972 18 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
al@20972 19
al@20972 20 find $install -type f -name '*.png' -exec chmod a-x '{}' \;
al@20948 21 }
al@20948 22
al@20948 23 genpkg_rules() {
al@20948 24 copy @std
al@20972 25 py="${PACKAGE%%-*}" # python/python3
al@20972 26 DEPENDS="$py"
al@20948 27 }