mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-27 18:20:07 +00:00
17 lines
484 B
Plaintext
17 lines
484 B
Plaintext
# description : Python Imaging Library (PIL) fork
|
|
# depends : python3-setuptools freetype2 openjpeg2
|
|
|
|
name=python3-pillow
|
|
version=10.1.0
|
|
release=1
|
|
source="$name-$version.tar.gz::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.9m/"
|
|
install -m644 -t "$PKG/usr/include/python3.9m/" src/libImaging/*.h
|
|
}
|