2015-01-26 17:03:06 +11:00
|
|
|
# Description: Python Imaging Library (PIL) fork.
|
2020-01-27 17:49:30 +11:00
|
|
|
# URL: https://python-pillow.org/
|
2015-01-26 17:03:06 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2020-01-27 17:49:30 +11:00
|
|
|
# Depends on: lcms2 libraqm libwebp python-setuptools
|
|
|
|
# Optional: tk
|
2015-01-26 17:03:06 +11:00
|
|
|
|
2017-11-04 19:13:19 +11:00
|
|
|
name=python-pillow
|
2020-01-27 17:49:30 +11:00
|
|
|
_name=Pillow
|
|
|
|
version=6.2.2
|
2015-01-26 17:03:06 +11:00
|
|
|
release=1
|
2020-01-27 17:49:30 +11:00
|
|
|
source=(https://files.pythonhosted.org/packages/source/${_name:0:1}/$_name/$_name-$version.tar.gz)
|
2015-01-26 17:03:06 +11:00
|
|
|
|
|
|
|
build() {
|
2020-01-27 17:49:30 +11:00
|
|
|
cd $_name-$version
|
2015-04-08 23:12:38 +10:00
|
|
|
/usr/bin/python setup.py build
|
2020-01-27 17:49:30 +11:00
|
|
|
/usr/bin/python setup.py install --root=$PKG --optimize=1
|
2015-01-26 17:03:06 +11:00
|
|
|
}
|