wok view py3k-pillow/receipt @ rev 25695

sc-im: replaced released version by development version
author Hans-G?nter Theisgen
date Fri Apr 26 08:13:41 2024 +0100 (6 weeks ago)
parents d16df1a9c46d
children
line source
1 # SliTaz package receipt.
3 PACKAGE="py3k-pillow"
4 VERSION="9.1.1"
5 CATEGORY="development"
6 SHORT_DESC="Python3 Imaging Library."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://python-pillow.org/"
11 SOURCE="Pillow"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
15 DEPENDS="freetype jpeg py3k tk zlib"
16 BUILD_DEPENDS="jpeg-dev py3k-dev zlib-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/python-pillow/Pillow/releases 2>/dev/null | \
22 sed '/Pillow\/tree/!d;s|.*tree/||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 python3 setup.py build &&
29 python3 setup.py install --root=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs
36 cp -a $install/usr $fs
37 }