wok-next annotate python-peak-rules/receipt @ rev 21013

Small updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Oct 14 05:29:23 2018 +0300 (2018-10-14)
parents 8b5b2a6d07b8
children 5ffe59e2de3a
rev   line source
al@20972 1 # SliTaz package receipt v2.
al@18956 2
al@20972 3 ORIGIN="PEAK-Rules"
al@18956 4 PACKAGE="python-peak-rules"
al@18956 5 VERSION="0.5a1.dev-r2713"
al@18956 6 CATEGORY="misc"
al@18956 7 SHORT_DESC="Generic functions and business rules support systems"
al@18956 8 MAINTAINER="al.bobylev@gmail.com"
al@18956 9 LICENSE="ZPL2.1"
al@20972 10 WEB_SITE="https://pypi.org/project/$ORIGIN"
al@20972 11 HOST_ARCH="any"
al@20885 12 REPOLOGY="python:peak-rules"
al@20885 13
al@18956 14 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20972 15 WGET_URL="http://peak.telecommunity.com/snapshots/$ORIGIN-$VERSION.tar.gz"
al@18956 16
al@20444 17 BUILD_DEPENDS="python"
al@18956 18
al@20972 19 compile_rules() {
al@20972 20 # Python3 based compilation produce error
al@20972 21 python -B setup.py install --root=$install
al@20972 22
al@20972 23 find $install -type f -exec chmod g-w '{}' \; # 664 -> 644
al@18956 24 }
al@18956 25
al@20972 26 genpkg_rules() {
al@20972 27 copy @std
al@20972 28 DEPENDS="python"
al@18956 29 }