2017-11-04 19:18:58 +11:00
|
|
|
# Description: Python Imaging Library (PIL) fork.
|
2020-01-27 17:44:50 +11:00
|
|
|
# URL: https://python-pillow.org/
|
2017-11-04 19:18:58 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2020-01-27 17:44:50 +11:00
|
|
|
# Depends on: lcms2 libraqm libwebp
|
|
|
|
# Optional: tk
|
2017-11-04 19:18:58 +11:00
|
|
|
|
|
|
|
name=python3-pillow
|
2020-01-27 17:44:50 +11:00
|
|
|
_name=Pillow
|
2021-08-22 16:35:13 +02:00
|
|
|
version=8.3.1
|
2017-11-04 19:18:58 +11:00
|
|
|
release=1
|
2021-03-06 19:53:15 +11:00
|
|
|
source=(https://github.com/python-pillow/Pillow/archive/$version/$_name-$version.tar.gz)
|
|
|
|
#https://files.pythonhosted.org/packages/source/${_name:0:1}/$_name/$_name-$version.tar.gz)
|
2017-11-04 19:18:58 +11:00
|
|
|
|
|
|
|
build() {
|
2020-01-27 17:44:50 +11:00
|
|
|
cd $_name-$version
|
2017-11-04 19:18:58 +11:00
|
|
|
/usr/bin/python3 setup.py build
|
2020-11-11 07:55:03 +00:00
|
|
|
/usr/bin/python3 setup.py install --root=$PKG --optimize=1 --skip-build
|
2017-11-04 19:18:58 +11:00
|
|
|
}
|