wok-next view python-pychart/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents 7506b35e1c6f
children
line source
1 # SliTaz package receipt v2.
3 # pypi.org didn't provide downloads for PyChart, but we can use Python-Chart
4 ORIGIN="Python-Chart"
5 PACKAGE="python-pychart"
6 VERSION="1.39"
7 CATEGORY="python"
8 SHORT_DESC="Python library for creating EPS, PDF, PNG or SVG"
9 MAINTAINER="pascal.bellard@slitaz.org"
10 LICENSE="GPL2"
11 WEB_SITE="https://pypi.org/project/$ORIGIN/"
12 HOST_ARCH="any"
13 REPOLOGY="python:pychart"
15 BUILD_DEPENDS="python python3"
16 SPLIT="${PACKAGE/python/python3}:3"
18 compile_rules() {
19 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
20 }
22 genpkg_rules() {
23 copy @std
24 py="${PACKAGE%%-*}" # python/python3
25 DEPENDS="$py"
26 }