wok-next view python-xlib/receipt @ rev 21196
updated scrollz again (2.2.3 -> 2.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Oct 03 16:09:40 2019 +0100 (2019-10-03) |
parents | 92698cd69f34 |
children |
line source
1 # SliTaz package receipt v2.
3 ORIGIN="xlib"
4 PACKAGE="python-xlib"
5 VERSION="0.23"
6 CATEGORY="python"
7 SHORT_DESC="Python X Library"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 HOST_ARCH="any"
12 REPOLOGY="python:xlib"
14 BUILD_DEPENDS="python python-six python3 python3-six"
15 SPLIT="${PACKAGE/python/python3}:3"
17 compile_rules() {
18 # latest version on pypi is 0.21, while 0.23 isn't pushed yet
19 # pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
21 pip$SET install --no-compile --root=$install \
22 https://github.com/python-xlib/python-xlib/releases/download/0.23/python_xlib-0.23-py2.py3-none-any.whl
23 }
25 genpkg_rules() {
26 copy @std
27 py=${PACKAGE%%-*} # python/python3
28 DEPENDS="$py $py-six"
29 }