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

Improve Python packages: update, also provide Python3 packages where available
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Sep 22 16:05:26 2018 +0300 (2018-09-22)
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 }