wok-current rev 25161
created recipe for py3k-pillow
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 10:04:47 2022 +0100 (2022-07-01) |
parents | fddcd67dd0e5 |
children | 8e2c3858ed67 |
files | py3k-pillow/description.txt py3k-pillow/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/py3k-pillow/description.txt Fri Jul 01 10:04:47 2022 +0100 1.3 @@ -0,0 +1,10 @@ 1.4 +The Python Imaging Library adds image processing capabilities to 1.5 +the Python interpreter. 1.6 + 1.7 +This library provides extensive file format support, an efficient 1.8 +internal representation, and fairly powerful image processing 1.9 +capabilities. 1.10 + 1.11 +The core image library is designed for fast access to data stored 1.12 +in a few basic pixel formats. It should provide a solid foundation 1.13 +for a general image processing tool.
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/py3k-pillow/receipt Fri Jul 01 10:04:47 2022 +0100 2.3 @@ -0,0 +1,30 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="py3k-pillow" 2.7 +VERSION="9.1.1" 2.8 +CATEGORY="development" 2.9 +SHORT_DESC="Python3 Imaging Library." 2.10 +MAINTAINER="maintainer@slitaz.org" 2.11 +LICENSE="MIT" 2.12 +WEB_SITE="https://python-pillow.org/" 2.13 + 2.14 +SOURCE="Pillow" 2.15 +TARBALL="$SOURCE-$VERSION.tar.gz" 2.16 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" 2.17 + 2.18 +DEPENDS="freetype jpeg py3k tk zlib" 2.19 +BUILD_DEPENDS="jpeg-dev py3k-dev zlib-dev" 2.20 + 2.21 +# Rules to configure and make the package. 2.22 +compile_rules() 2.23 +{ 2.24 + python3 setup.py build && 2.25 + python3 setup.py install --root=$DESTDIR 2.26 +} 2.27 + 2.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.29 +genpkg_rules() 2.30 +{ 2.31 + mkdir -p $fs 2.32 + cp -a $install/usr $fs 2.33 +}