wok-next view python-cssutils/receipt @ rev 20976

Follow recent changes in the Python renames
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Sep 25 17:35:51 2018 +0300 (2018-09-25)
parents 8b5b2a6d07b8
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 ORIGIN="cssutils"
4 PACKAGE="python-cssutils"
5 VERSION="1.0.2"
6 CATEGORY="python"
7 SHORT_DESC="A CSS Cascading Style Sheets library for Python"
8 MAINTAINER="monghitri@aruba.it"
9 LICENSE="GPL3"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 HOST_ARCH="any"
12 REPOLOGY="python:cssutils"
14 BUILD_DEPENDS="python python3"
15 SPLIT="${PACKAGE/python/python3}:3"
17 COOKOPTS="!gifz" # contains bad zero-size gifs
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"
27 }