wok-next view python-elaphe/receipt @ rev 21268
updated frogatto (1.3.1 -> 1.3.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 06 17:30:20 2019 +0100 (2019-12-06) |
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 }