# HG changeset patch # User Hans-G?nter Theisgen # Date 1656666287 -3600 # Node ID d16df1a9c46d28c9af4473eff53584f373b9d35f # Parent fddcd67dd0e52346b8e825a420a8552430ada309 created recipe for py3k-pillow diff -r fddcd67dd0e5 -r d16df1a9c46d py3k-pillow/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/py3k-pillow/description.txt Fri Jul 01 10:04:47 2022 +0100 @@ -0,0 +1,10 @@ +The Python Imaging Library adds image processing capabilities to +the Python interpreter. + +This library provides extensive file format support, an efficient +internal representation, and fairly powerful image processing +capabilities. + +The core image library is designed for fast access to data stored +in a few basic pixel formats. It should provide a solid foundation +for a general image processing tool. diff -r fddcd67dd0e5 -r d16df1a9c46d py3k-pillow/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/py3k-pillow/receipt Fri Jul 01 10:04:47 2022 +0100 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="py3k-pillow" +VERSION="9.1.1" +CATEGORY="development" +SHORT_DESC="Python3 Imaging Library." +MAINTAINER="maintainer@slitaz.org" +LICENSE="MIT" +WEB_SITE="https://python-pillow.org/" + +SOURCE="Pillow" +TARBALL="$SOURCE-$VERSION.tar.gz" +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" + +DEPENDS="freetype jpeg py3k tk zlib" +BUILD_DEPENDS="jpeg-dev py3k-dev zlib-dev" + +# Rules to configure and make the package. +compile_rules() +{ + python3 setup.py build && + python3 setup.py install --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs + cp -a $install/usr $fs +}