Files
haikuports/dev-python/imaging/python_imaging-1.1.7.recipe
Jerome Duval 282a03c8e8 dev-python: merge most python2 and python3 recipes.
* adjust recipes depending on these, ie python_dateutil=>dateutil_python.
* switch architectures to any for relevant python recipes.
* bump versions for retext, argh, beautifulsoup, cssselect, dateutil,
docutils, fonttools, html2text, httplib2, lxml, mechanize, mock, paramiko,
pillow, pip, pygments, requests, twisted, urllib3, zope_interface.
2017-04-17 10:08:41 +02:00

52 lines
1.1 KiB
Bash

SUMMARY="Python Imaging Library"
DESCRIPTION="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."
HOMEPAGE="http://www.pythonware.com/products/pil/"
COPYRIGHT="1997-2011 by Secret Labs AB
1995-2011 by Fredrik Lundh"
LICENSE="MIT"
REVISION="3"
SOURCE_URI="http://effbot.org/downloads/Imaging-$portVersion.tar.gz"
CHECKSUM_SHA256="895bc7c2498c8e1f9b99938f1a40dc86b3f149741f105cf7c7bd2e0725405211"
SOURCE_DIR="Imaging-$portVersion"
PATCHES="python_imaging-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
python_imaging = $portVersion
cmd:pilconvert.py
cmd:pildriver.py
cmd:pilfile.py
cmd:pilfont.py
cmd:pilprint.py
"
REQUIRES="
haiku
lib:libjpeg
lib:libpython2.7
lib:libz
cmd:python2.7
"
BUILD_REQUIRES="
devel:libjpeg
devel:libz
"
BUILD_PREREQUIRES="
haiku_devel
cmd:gcc
cmd:python2.7
"
BUILD()
{
python2.7 setup.py build_ext -i
}
INSTALL()
{
python2.7 setup.py install --prefix=$prefix
}