diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/py3-pillow/APKBUILD | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/user/py3-pillow/APKBUILD b/user/py3-pillow/APKBUILD index 24583fbc7..48d9a22dd 100644 --- a/user/py3-pillow/APKBUILD +++ b/user/py3-pillow/APKBUILD @@ -4,7 +4,7 @@ pkgname=py3-pillow _pkgname=Pillow _p="${_pkgname#?}" _p="${_pkgname%"$_p"}" -pkgver=5.3.0 +pkgver=6.1.0 pkgrel=0 pkgdesc="A Python Imaging Library" url="https://pypi.org/project/Pillow" @@ -15,9 +15,9 @@ depends="py3-olefile python3" makedepends="python3-dev freetype-dev libjpeg-turbo-dev libwebp-dev tiff-dev libpng-dev lcms2-dev openjpeg-dev zlib-dev" subpackages="$pkgname-doc" -_scripts_rev="f578e2c" +_scripts_rev="b24479c" source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/P/$_pkgname/$_pkgname-$pkgver.tar.gz - $pkgname-scripts-$_scripts_rev.tar.gz::https://github.com/python-pillow/pillow-scripts/archive/$_scripts_rev.tar.gz" + https://dev.sick.bike/dist/$pkgname-scripts-$_scripts_rev.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" unpack() { @@ -26,19 +26,16 @@ unpack() { } build() { - cd "$builddir" # zlib resides in lib export CFLAGS="$CFLAGS -L/lib" python3 setup.py build } check() { - cd "$builddir" PYTHONPATH="$(find 'build' -name 'lib.*')" python3 selftest.py } package() { - cd "$builddir" python3 setup.py install --prefix=/usr --root="$pkgdir" } @@ -53,5 +50,5 @@ doc() { install -Dm644 LICENSE "$subpkgdir/usr/share/licenses/$pkgname/LICENSE" } -sha512sums="0596207069a87a645f7694b19ea5100d753dbb7553148fa5982b073e4e1163b5bd83ddf8b1c783a90a0b718576f08d3f15352f2742d46a425cf639de2409c4ab py3-pillow-5.3.0.tar.gz -1a2e6dc45127b3f0b706d5be4fdc8ddeb09a9e046a182eb48239572e1bdc62d1b1f1a1f11ef1f1f23766aaac1b498556cc9a9cf11d3b943c9f2834c9b41612e0 py3-pillow-scripts-f578e2c.tar.gz" +sha512sums="6e9404eaa6a7d01642b9201a0733eb208422070993aa214691f549e261350e0baad6eb2bcde6d5edfa47c232d89457b9185de24e55e9536dde7790124ea34a0f py3-pillow-6.1.0.tar.gz +c01e83a7cef6653a33f60acbcbc737f0d40ff0dbc792ce0b2ce52f21092d3071845830fa0f64b27a1c5e679c53df57e0ec2e89867ee717f938d4e6f19db77790 py3-pillow-scripts-b24479c.tar.gz" |