wok-next view python-pil/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents 0c430fcaf2d9
children
line source
1 # SliTaz package receipt v2.
3 ORIGIN="PIL"
4 PACKAGE="python-pil"
5 VERSION="1.1.7"
6 CATEGORY="python"
7 SHORT_DESC="Python Imaging Library"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 #HOST_ARCH
12 REPOLOGY="python:pil"
14 # pypi.org didn't provide downloads for such old project (2006) and we can't
15 # use pip to install it.
16 # Get sources from the project's homepage (also, updated from 1.1.6 to 1.1.7)
17 TARBALL="Imaging-$VERSION.tar.gz"
18 WGET_URL="http://effbot.org/downloads/$TARBALL"
20 BUILD_DEPENDS="python-dev tcl-dev tk-dev libjpeg-turbo-dev zlib-dev \
21 freetype-dev lcms-dev"
23 compile_rules() {
24 # Python3 based compilation produce error
25 python -B setup.py install --root=$install
27 # *** Warning: zlib 1.2.11 may contain a security vulnerability.
28 # *** Consider upgrading to zlib 1.2.3 or newer.
29 # :-D
30 }
32 genpkg_rules() {
33 copy @std
34 DEPENDS="python freetype liblcms libjpeg-turbo tcl tk zlib"
35 }