Info2: << Package: pil-py%type_pkg[python] Type: python (2.6 2.7 3.1 3.2 3.3) Version: 2.1.0 Revision: 1 Description: Python Imaging Library DescDetail: << The Python Imaging Library (PIL) adds image processing capabilities to your Python interpreter. This library supports many file formats, and provides powerful image processing and graphics capabilities. << Source: https://codeload.github.com/python-imaging/Pillow/tar.gz/%v Source-MD5: d316f9b4452a1e7d4140133897a066ba SourceRename: Pillow-%v.tar.gz BuildDepends: << setuptools-tng-py%type_pkg[python], fink (>= 0.24.12-1), freetype219 (>= 2.3.7-7), lcms, libjpeg9, libtiff5, libwebp4, tcltk-dev (>= 8.4.1-1) << Depends: << freetype219-shlibs (>= 2.3.7-7), lcms-shlibs, libjpeg9-shlibs, libtiff5-shlibs, libwebp4-shlibs, python%type_pkg[python], tcltk (>= 8.4.1-1) << Replaces: pil Provides: pil PatchFile: %{ni}.patch PatchFile-MD5: 2b912beb4de317256bc01b83832035e3 PatchScript: sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1 NoSetCPPFLAGS: true CompileScript: << %p/bin/python%type_raw[python] setup.py build << InfoTest: << TestScript: << #!/bin/bash -ev export PYTHONPATH=`ls -d %b/build/lib*` %p/bin/python%type_raw[python] setup.py build_ext --inplace %p/bin/python%type_raw[python] selftest.py || exit 2 %p/bin/python%type_raw[python] Tests/run.py || exit 2 << << InstallScript: << #!/bin/sh -ev %p/bin/python%type_raw[python] setup.py install --root=%d mkdir -p %i/share/doc/%n cp -R docs/ %i/share/doc/%n/html cp -R Scripts %i/share/doc/%n mkdir -p %i/include/python%type_raw[python]/PIL cp -f libImaging/ImPlatform.h libImaging/Imaging.h %i/include/python%type_raw[python]/PIL cd %i/bin mv pilfont.py pilfont%type_raw[python].py mv pildriver.py pildriver%type_raw[python].py mv pilconvert.py pilconvert%type_raw[python].py mv pilprint.py pilprint%type_raw[python].py mv pilfile.py pilfile%type_raw[python].py << DocFiles: README.rst License: OSI-Approved Homepage: https://github.com/python-imaging/Pillow Maintainer: Daniel Johnson DescPackaging: << Uses the tcl that matches python's tkinter Avoid un-needed -I and -L paths python build system seems to put CPPFLAGS before custom include_dirs (python bug?): NoSetCPPFLAGS so that local -I takes precedence. Especially need to find libImaging/Zip.h rather than libzip1's zip.h on case-insensitive FS. This is the Pillow fork of PIL maintained by the plone community. Unlike PIL, it is under active development but is a otherwise a drop-in replacement. I've had reports of segfaults when pil is built with libjpeg9 and then used with pyqt4 (which through qt4 uses libjpeg8). Switching back to libjpeg8 seems to solve the problem. << # Info2 <<