From e65a92a536388b01b437281461d9cc571dcf1320 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Tue, 4 Nov 2014 17:01:31 +0100 Subject: [PATCH] python-Pillow: update to 2.6.1 --- srcpkgs/python-Pillow/template | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/srcpkgs/python-Pillow/template b/srcpkgs/python-Pillow/template index 5efe22ec9e8..1808b3ed3df 100644 --- a/srcpkgs/python-Pillow/template +++ b/srcpkgs/python-Pillow/template @@ -1,8 +1,8 @@ # Template file for 'python-Pillow' pkgname=python-Pillow -version=2.5.3 +version=2.6.1 revision=1 -wrksrc="${pkgname#*-}-${version}" +wrksrc="Pillow-${version}" python_versions="2.7 3.4" hostmakedepends="unzip python-setuptools python3.4-setuptools" makedepends=" @@ -15,11 +15,11 @@ short_desc="Python Imaging Library (PIL) fork (Python2)" maintainer="Alessio Sergi " homepage="https://python-pillow.github.io/" license="PIL" -distfiles="https://pypi.python.org/packages/source/P/Pillow/Pillow-${version}.zip" -checksum=62ff6c6cb88d4a1d6e856315b1691186b06cb923f18fde86d6abac9eeb9096d1 +distfiles="${PYPI_SITE}/P/Pillow/Pillow-${version}.zip" +checksum=96bdd40714daf326d01c6286591b5dfe60336c23b7a6bf8e048bcc339513a414 post_extract() { - sed -i '/^#!\//, 1d' PIL/OleFileIO.py + sed -i '/^#!\//,1d' PIL/OleFileIO.py cp -a ${wrksrc} /tmp/python2.7-build cp -a ${wrksrc} /tmp/python3.4-build mv /tmp/python{2.7,3.4}-build ${wrksrc}