python-Pillow: update to 3.1.2

This commit is contained in:
Alessio Sergi 2016-04-02 23:56:23 +02:00
parent 1a6e329ef0
commit d548b9436e

View file

@ -1,7 +1,7 @@
# Template file for 'python-Pillow'
pkgname=python-Pillow
version=3.1.1
revision=2
version=3.1.2
revision=1
wrksrc="Pillow-${version}"
build_style=python-module
python_versions="2.7 3.4"
@ -15,11 +15,8 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/python-pillow/Pillow"
license="PIL"
distfiles="${PYPI_SITE}/P/Pillow/Pillow-${version}.tar.gz"
checksum=486f4ccddee09429cb1c63ea56c02894aecf9d69acdcaf006c53835df2549fff
checksum=c593622445503ae1ee361d3a6bb40794e043b43d00c96fcb298ba43ecd375905
pre_build() {
sed -i '/^#!\//,1d' PIL/OleFileIO.py
}
post_install() {
rm -f ${DESTDIR}/usr/bin/*.py
# rename bins and remove .py suffix