Info2: << Package: pil-systempython%type_pkg[python] Type: python (2.7) Version: 1.1.7 Revision: 9 # no systempython27 on 12.3 Distribution: 10.9, 10.10, 10.11, 10.12, 10.13, 10.14, 10.14.5, 10.15, 11.0, 11.3 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-Checksum: SHA256(895bc7c2498c8e1f9b99938f1a40dc86b3f149741f105cf7c7bd2e0725405211) BuildDepends: << fink (>= 0.30), freetype219 (>= 2.6.3-1), lcms, libjpeg9, libpng16, system-tcltk-dev << Depends: << freetype219-shlibs (>= 2.6.3-1), lcms-shlibs, libjpeg9-shlibs, libpng16-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 DescPackaging: << Former maintainer: Martin Costabel << Maintainer: None <<