python-Pillow: Update to 4.1.1

This commit is contained in:
Alexey Pavlov
2017-06-17 20:18:04 +03:00
parent 608c4ac457
commit 14e3e33dfd
2 changed files with 5 additions and 5 deletions

View File

@@ -3,8 +3,8 @@
_realname=Pillow
pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python2-pillow" "${MINGW_PACKAGE_PREFIX}-python3-pillow")
pkgver=4.0.0
pkgrel=3
pkgver=4.1.1
pkgrel=1
arch=('any')
license=('custom')
url="https://github.com/python-pillow/Pillow/"
@@ -21,8 +21,8 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-python2-setuptools"
options=('staticlibs')
source=(${_realname}-${pkgver}.tar.gz::https://github.com/python-pillow/Pillow/archive/${pkgver}.tar.gz
freeze-support.patch)
sha256sums=('ece687f83a78db7ac608aaa9469fc4d5dbc22757c5bc814cee75f457382d26bc'
'81719ede14f64371ad2ed155424666049c137e4eef6dd7d1fc4af64405015eee')
sha256sums=('606eca4a0801461e34d3bb4eb94df28fab5b3f6702eac8d1840d2da6a6d5d970'
'af0a908e71feb05bf0b4998caaae461fabb4d779236731e4472f594a36366684')
prepare() {
cd ${srcdir}/${_realname}-${pkgver}

View File

@@ -12,7 +12,7 @@
@@ -72,8 +72,10 @@
try:
# bug, only enable if we can make a Pool. see issue #790 and
# http://stackoverflow.com/questions/6033599/oserror-38-errno-38-with-multiprocessing
# https://stackoverflow.com/questions/6033599/oserror-38-errno-38-with-multiprocessing
- pool = Pool(2)
- CCompiler.compile = _mp_compile
+ if __name__ == '__main__':