2014-11-16 21:32:37 +00:00
|
|
|
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."
|
2016-02-17 19:26:37 +00:00
|
|
|
HOMEPAGE="http://www.pythonware.com/products/pil/"
|
2016-03-05 19:19:01 +00:00
|
|
|
COPYRIGHT="1997-2011 by Secret Labs AB
|
|
|
|
1995-2011 by Fredrik Lundh"
|
2016-02-17 19:26:37 +00:00
|
|
|
LICENSE="MIT"
|
2020-04-13 23:11:38 +00:00
|
|
|
REVISION="4"
|
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-16 21:10:32 +00:00
|
|
|
SOURCE_URI="http://effbot.org/downloads/Imaging-$portVersion.tar.gz"
|
2014-11-16 21:32:37 +00:00
|
|
|
CHECKSUM_SHA256="895bc7c2498c8e1f9b99938f1a40dc86b3f149741f105cf7c7bd2e0725405211"
|
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-16 21:10:32 +00:00
|
|
|
SOURCE_DIR="Imaging-$portVersion"
|
2015-11-29 09:32:49 +00:00
|
|
|
PATCHES="python_imaging-$portVersion.patchset"
|
2014-11-16 21:32:37 +00:00
|
|
|
|
2021-09-15 19:40:18 +00:00
|
|
|
ARCHITECTURES="all"
|
2016-02-17 19:26:37 +00:00
|
|
|
|
2014-11-16 21:32:37 +00:00
|
|
|
PROVIDES="
|
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-16 21:10:32 +00:00
|
|
|
python_imaging = $portVersion
|
2014-11-16 21:32:37 +00:00
|
|
|
cmd:pilconvert.py
|
|
|
|
cmd:pildriver.py
|
|
|
|
cmd:pilfile.py
|
|
|
|
cmd:pilfont.py
|
|
|
|
cmd:pilprint.py
|
2016-02-26 15:33:51 +00:00
|
|
|
"
|
2015-11-29 09:32:49 +00:00
|
|
|
REQUIRES="
|
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-16 21:10:32 +00:00
|
|
|
haiku
|
2018-08-08 14:18:18 +00:00
|
|
|
cmd:python2.7
|
2015-11-29 09:32:49 +00:00
|
|
|
lib:libjpeg
|
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-16 21:10:32 +00:00
|
|
|
lib:libpython2.7
|
2015-11-29 09:32:49 +00:00
|
|
|
lib:libz
|
2016-02-26 15:33:51 +00:00
|
|
|
"
|
2015-11-29 09:32:49 +00:00
|
|
|
|
2014-11-16 21:32:37 +00:00
|
|
|
BUILD_REQUIRES="
|
|
|
|
devel:libjpeg
|
|
|
|
devel:libz
|
2016-02-29 01:17:42 +00:00
|
|
|
"
|
2014-11-16 21:32:37 +00:00
|
|
|
BUILD_PREREQUIRES="
|
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-16 21:10:32 +00:00
|
|
|
haiku_devel
|
2014-11-16 21:32:37 +00:00
|
|
|
cmd:gcc
|
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-16 21:10:32 +00:00
|
|
|
cmd:python2.7
|
2016-02-29 01:17:42 +00:00
|
|
|
"
|
2014-11-16 21:32:37 +00:00
|
|
|
|
|
|
|
BUILD()
|
|
|
|
{
|
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-16 21:10:32 +00:00
|
|
|
python2.7 setup.py build_ext -i
|
2014-11-16 21:32:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
INSTALL()
|
|
|
|
{
|
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-16 21:10:32 +00:00
|
|
|
python2.7 setup.py install --prefix=$prefix
|
2014-11-16 21:32:37 +00:00
|
|
|
}
|