Files
binary-repo/dev/python/py3-pillow/ympbuild
T
2023-11-25 18:57:47 +03:00

26 lines
674 B
Bash

#!/usr/bin/env bash
name='py3-pillow'
release='3'
version='10.1.0'
url='https://python-pillow.org/'
description='Python Imaging Library'
email='akarsu@protonmail.com'
maintainer='akarsu'
license=('BSD')
source=("https://github.com/python-pillow/Pillow/archive/refs/tags/${version}.tar.gz")
depends=(python freetype lcms2 libtiff libxcb)
makedepends=(git py3-build py3-installer py3-wheel py3-setuptools libwebp)
md5sums=('2044975777256471e2f9749ea808b5c9')
group=()
uses=()
arch=('x86_64')
cd "Pillow"-$version
build(){
python3 setup.py build
}
package(){
python3 setup.py install --root="${DESTDIR}" --install-lib=/usr/lib64/python3 --optimize=1 --skip-build
}