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

gtk-girepository: forgot to remove HOST_ARCH="any"
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jan 01 13:46:24 2019 +0200 (2019-01-01)
parents c9a7a7b42a86
children
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="devel@slitaz.org"
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 }