wok-next view python-elaphe/receipt @ rev 21469

updated tinc (1.0.25 -> 1.0.36)
author Hans-G?nter Theisgen
date Wed May 13 07:41:00 2020 +0100 (2020-05-13)
parents c9a7a7b42a86
children
line source
1 # SliTaz package receipt v2.
3 ORIGIN="elaphe"
4 PACKAGE="python-elaphe"
5 VERSION="0.6.0"
6 CATEGORY="python"
7 SHORT_DESC="Generates various barcodes using barcode.ps and PIL/Pillow"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="BSD"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 #HOST_ARCH="any"
12 REPOLOGY="python:elaphe"
14 COOKOPTS="force-arch" # arch-specific .so in python3-elaphe on x86_64
16 BUILD_DEPENDS="python python-pillow python3 python3-pillow"
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 DEPENDS="$py $py-pillow"
27 }