mirror of
https://github.com/outbackdingo/ports.git
synced 2026-02-08 18:30:28 +00:00
17 lines
468 B
Plaintext
17 lines
468 B
Plaintext
# description : Python Imaging Library (PIL) fork
|
|
# depends : python3 python3-setuptools freetype2 openjpeg2
|
|
|
|
name=python3-pillow
|
|
version=8.0.1
|
|
release=1
|
|
source="https://files.pythonhosted.org/packages/source/P/Pillow/Pillow-$version.tar.gz"
|
|
|
|
build() {
|
|
cd Pillow-$version
|
|
python3 setup.py build
|
|
python3 setup.py install --root="$PKG" --optimize=1
|
|
|
|
install -dm755 "$PKG/usr/include/python3.7m/"
|
|
install -m644 -t "$PKG/usr/include/python3.7m/" src/libImaging/*.h
|
|
}
|