wok view py3k-pillow/receipt @ rev 25682

Up libqcow (20240308)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 24 18:25:46 2024 +0000 (2 months 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 }