wok-next annotate python-pil/receipt @ rev 21268
updated frogatto (1.3.1 -> 1.3.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 06 17:30:20 2019 +0100 (2019-12-06) |
parents | 0c430fcaf2d9 |
children |
rev | line source |
---|---|
al@20972 | 1 # SliTaz package receipt v2. |
claudinei@3415 | 2 |
al@20972 | 3 ORIGIN="PIL" |
claudinei@3415 | 4 PACKAGE="python-pil" |
al@20972 | 5 VERSION="1.1.7" |
al@20972 | 6 CATEGORY="python" |
al@20972 | 7 SHORT_DESC="Python Imaging Library" |
claudinei@3415 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15379 | 9 LICENSE="MIT" |
al@21033 | 10 WEB_SITE="https://pypi.org/project/$ORIGIN/" |
al@20972 | 11 #HOST_ARCH |
al@20972 | 12 REPOLOGY="python:pil" |
al@20885 | 13 |
al@20972 | 14 # pypi.org didn't provide downloads for such old project (2006) and we can't |
al@20972 | 15 # use pip to install it. |
al@20972 | 16 # Get sources from the project's homepage (also, updated from 1.1.6 to 1.1.7) |
al@20972 | 17 TARBALL="Imaging-$VERSION.tar.gz" |
claudinei@3415 | 18 WGET_URL="http://effbot.org/downloads/$TARBALL" |
pascal@15379 | 19 |
al@20972 | 20 BUILD_DEPENDS="python-dev tcl-dev tk-dev libjpeg-turbo-dev zlib-dev \ |
al@20972 | 21 freetype-dev lcms-dev" |
claudinei@3415 | 22 |
al@20972 | 23 compile_rules() { |
al@20972 | 24 # Python3 based compilation produce error |
al@20972 | 25 python -B setup.py install --root=$install |
al@20972 | 26 |
al@20972 | 27 # *** Warning: zlib 1.2.11 may contain a security vulnerability. |
al@20972 | 28 # *** Consider upgrading to zlib 1.2.3 or newer. |
al@20972 | 29 # :-D |
claudinei@3415 | 30 } |
claudinei@3415 | 31 |
al@20972 | 32 genpkg_rules() { |
al@20972 | 33 copy @std |
al@21143 | 34 DEPENDS="python freetype liblcms libjpeg-turbo tcl tk zlib" |
claudinei@3415 | 35 } |