Info2: << Package: pil-systempython%type_pkg[python] Type: python (2.5 2.6 2.7) Distribution: (%type_pkg[python] = 26) 10.6, (%type_pkg[python] = 26) 10.7, (%type_pkg[python] = 27) 10.7 Version: 1.1.7 Revision: 5 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: http://effbot.org/downloads/Imaging-%v.tar.gz Source-MD5: fc14a54e1ce02a0225be8854bfba478e BuildDepends: lcms, libpng15, libjpeg8, freetype219, fink (>=0.30) Depends: lcms-shlibs, libpng15-shlibs, libjpeg8-shlibs, freetype219-shlibs NoSetCPPFLAGS: true NoSetLDFLAGS: true Replaces: pil, pil-systempython25, pil-systempython26, pil-systempython27 Provides: pil PatchFile: %{ni}.patch PatchFile-MD5: d4940dfb66a0168b61eb0c33dea352e5 PatchScript: << sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1 << CompileScript: << ARCHFLAGS=" " /usr/bin/python%type_raw[python] setup.py build << InstallScript: << #!/bin/sh -ev /usr/bin/python%type_raw[python] setup.py install --prefix=%p --root=%d --install-purelib=%p/Library/Python/%type_raw[python]/site-packages --install-platlib=%p/Library/Python/%type_raw[python]/site-packages mkdir -p %i/share/doc/%n cp -R Docs/ %i/share/doc/%n/html cp -R Scripts %i/share/doc/%n mkdir -p %i/Library/Python/%type_raw[python]/include/python%type_raw[python]/PIL cp -f libImaging/ImPlatform.h libImaging/Imaging.h %i/Library/Python/%type_raw[python]/include/python%type_raw[python]/PIL << InfoTest: << TestScript: << #!/bin/bash -ev export PYTHONPATH=`ls -d %b/build/lib*` /usr/bin/python selftest.py || exit 2 << << DocFiles: CHANGES BUILDME CONTENTS README DescUsage: << If you want to load PIL modules with commands like from PIL import Image you have to set the environment variable PYTHONPATH (or from inside python, the variable sys.path[1]) to %p/Library/Python/%type_raw[python]/site-packages If, however, you want to run a script that uses only import Image then you need to set PYTHONPATH to %p/Library/Python/%type_raw[python]/site-packages/PIL:$PYTHONPATH << License: OSI-Approved Homepage: http://www.pythonware.com/products/pil Maintainer: Martin Costabel <<