wok annotate python-pillow/receipt @ rev 24397
updated cc65 (2.18 -> 2.19)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 08 13:39:16 2022 +0100 (2022-02-08) |
parents | cb3fb1595d9e |
children |
rev | line source |
---|---|
pascal@15882 | 1 # SliTaz package receipt. |
pascal@15882 | 2 |
pascal@15883 | 3 PACKAGE="python-pillow" |
Hans-G?nter@23528 | 4 VERSION="6.2.2" |
pascal@15882 | 5 CATEGORY="development" |
pascal@15882 | 6 SHORT_DESC="Python Imaging Library (Fork)." |
pascal@15882 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15882 | 8 LICENSE="PSL" |
Hans-G?nter@23528 | 9 WEB_SITE="https://pypi.python.org/pypi/Pillow" |
Hans-G?nter@23528 | 10 |
pascal@15882 | 11 SOURCE="Pillow" |
Hans-G?nter@23530 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23528 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@15882 | 14 |
pascal@15882 | 15 DEPENDS="python" |
Hans-G?nter@23528 | 16 BUILD_DEPENDS="jpeg-dev python-dev python-setuptools tiff-dev" |
pascal@15882 | 17 |
pascal@24391 | 18 # What is the latest version available today? |
pascal@24391 | 19 current_version() |
pascal@24391 | 20 { |
pascal@24391 | 21 wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \ |
pascal@24391 | 22 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q" |
pascal@24391 | 23 } |
pascal@24391 | 24 |
pascal@15882 | 25 # Rules to configure and make the package. |
pascal@15882 | 26 compile_rules() |
pascal@15882 | 27 { |
pascal@15882 | 28 python setup.py install --root=$DESTDIR |
pascal@15882 | 29 } |
pascal@15882 | 30 |
pascal@15882 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15882 | 32 genpkg_rules() |
pascal@15882 | 33 { |
pascal@15882 | 34 cp -a $install/usr $fs |
pascal@15882 | 35 } |