wok-next view python-imagesize/receipt @ rev 20969
Micro-updates + { new clang + assaultcube (still broken)} + {new python modules from SliTaz Cooking + their depends}
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Sep 14 01:56:52 2018 +0300 (2018-09-14) |
parents | 9b3461bf373c |
children | c9a7a7b42a86 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="python-imagesize"
4 VERSION="latest"
5 CATEGORY="python"
6 SHORT_DESC="Getting image size from png/jpeg/jpeg2000/gif file"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://pypi.org/project/imagesize/"
10 REPOLOGY="python:imagesize"
12 BUILD_DEPENDS="python"
14 compile_rules() {
15 pip install --no-compile --root=$DESTDIR imagesize
16 }
18 genpkg_rules() {
19 VERSION=$(sed -n '/^Successfully installed/ s|.*imagesize-||p' $LOGS/$PACKAGE.log)
20 copy @std
21 DEPENDS="python"
22 }