Thu Apr 21 08:13:50 2016 UTC ()
Update graphics/py-Pillow to 3.2.0

pkgsrc changes:
 o Simplify MASTER_SITES
 o Add LICENSE
 o Disable the tests for now (that were also broken for 3.1.2 version).
   All the modules are builded in build/lib.*/PIL/ while selftest.py just
   checks in PIL/. Manually cp(1)-ing all the build/lib.*/PIL/ files in PIL/
   work as a workaround (and all test are passed) although implementing a
   similar (distutils.cmd) logic will be easily buggy.

Changes:
3.2.0 (2016-04-01)
------------------
- Added install docs for Fedora 23 and FreeBSD #1729, #1739, #1792
  [koobs, zandermartin, wiredfool]
- Fixed TIFF multiframe load when the frames have different compression types #1782
  [radarhere, geka000]
- Added __copy__ method to Image #1772
  [radarhere]
- Updated dates in PIL license in OleFileIO README  #1787
  [radarhere]
- Corrected Tiff tag names #1786
  [radarhere]
- Fixed documented name of JPEG property #1783
  [radarhere]
- Fixed UnboundLocalErrorwhen loading a corrupt jpeg2k file #1780
  [wiredfool]
- Fixed integer overflow in path.c #1773
  [wiredfool, nedwill]
- Added debug to command line help text for pilprint #1766
  [radarhere]
- Expose many more fields in ICC Profiles #1756
  [lambdafu]
- Documentation changes, URL update, transpose, release checklist
  [radarhere]
- Fixed saving to nonexistant files specified by pathlib.Path objects, fixes #1747
  [radarhere]
- Round Image.crop arguments to the nearest integer, fixes #1744
  [hugovk]
- Fix uninitialized variable warning in _imaging.c:getink, fixes #486
  [wiredfool]
- Disable multiprocessing install on cygwin, fixes #1690
  [wiredfool]
- Fix the error reported when libz is not found #1764
  [wiredfool]
- More general error check to avoid Symbol not found: _PyUnicodeUCS2_AsLatin1String on OS X #1761
  [wiredfool]
- Added py35 to tox envlist #1724
  [radarhere]
- Fix EXIF tag name typos #1736
  [zarlant, radarhere]
- Updated freetype to 2.6.3, Tk/Tcl to 8.6.5 and 8.5.19
  [radarhere]
- Add a loader for the FTEX format from Independence War 2: Edge of Chaos #1688
  [jleclanche]
- Improved alpha_composite documentation #1698
  [radarhere]
- Extend ImageDraw.text method to pass on multiline_text method specific arguments #1647
  [radarhere]
- Allow ImageSequence to seek to zero #1686
  [radarhere]
- ImageSequence Iterator is now an iterator #1649
  [radarhere]
- Updated windows test builds to jpeg9b
  [radarhere]
- Fixed support for .gbr version 1 images, added support for version 2 in GbrImagePlugin #1653
  [wiredfool]
- Clarified which YCbCr format is used #1677
  [radarhere]
- Added TiffTags documentation, Moved windows build documentation to winbuild/ #1667
  [wiredfool]
- Add tests for OLE file based formats #1678
  [radarhere]
- Add TIFF IFD test #1671
  [radarhere]
- Add a basic DDS image plugin with more tests #1654
  [jleclanche, hugovk, wiredfool]
- Fix incorrect conditional in encode.c #1638
  [manisandro]


(leot)
diff -r1.24 -r1.25 pkgsrc/graphics/py-Pillow/Makefile
diff -r1.8 -r1.9 pkgsrc/graphics/py-Pillow/PLIST
diff -r1.18 -r1.19 pkgsrc/graphics/py-Pillow/distinfo
diff -r1.5 -r1.6 pkgsrc/graphics/py-Pillow/patches/patch-setup.py

cvs diff -r1.24 -r1.25 pkgsrc/graphics/py-Pillow/Makefile (expand / switch to unified diff)

--- pkgsrc/graphics/py-Pillow/Makefile 2016/04/12 16:31:36 1.24
+++ pkgsrc/graphics/py-Pillow/Makefile 2016/04/21 08:13:50 1.25
@@ -1,37 +1,42 @@ @@ -1,37 +1,42 @@
1# $NetBSD: Makefile,v 1.24 2016/04/12 16:31:36 adam Exp $ 1# $NetBSD: Makefile,v 1.25 2016/04/21 08:13:50 leot Exp $
2 2
3DISTNAME= Pillow-3.1.2 3DISTNAME= Pillow-3.2.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= graphics python 5CATEGORIES= graphics python
6MASTER_SITES= ${MASTER_SITE_PYPI:=P/Pillow/} 6MASTER_SITES= ${MASTER_SITE_PYPI}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://python-pillow.github.io/ 9HOMEPAGE= http://python-pillow.github.io/
10COMMENT= Python Imaging Library (Fork) 10COMMENT= Python Imaging Library (Fork)
 11LICENSE= hpnd
11 12
12CONFLICTS+= ${PYPKGPREFIX}-imaging-[0-9]* 13CONFLICTS+= ${PYPKGPREFIX}-imaging-[0-9]*
13 14
14SUBST_CLASSES+= fix-path 15SUBST_CLASSES+= fix-path
15SUBST_MESSAGE.fix-path= Fixing paths. 16SUBST_MESSAGE.fix-path= Fixing paths.
16SUBST_STAGE.fix-path= pre-configure 17SUBST_STAGE.fix-path= pre-configure
17SUBST_FILES.fix-path= setup.py 18SUBST_FILES.fix-path= setup.py
18SUBST_SED.fix-path= -e 's,/usr/pkg,${PREFIX},' 19SUBST_SED.fix-path= -e 's,/usr/pkg,${PREFIX},'
19SUBST_SED.fix-path+= -e 's,JPEG_ROOT = None,JPEG_ROOT = _lib_include("${BUILDLINK_PREFIX.jpeg}"),' 20SUBST_SED.fix-path+= -e 's,JPEG_ROOT = None,JPEG_ROOT = _lib_include("${BUILDLINK_PREFIX.jpeg}"),'
20SUBST_SED.fix-path+= -e 's,JPEG2K_ROOT = None,JPEG2K_ROOT = _lib_include("${BUILDLINK_PREFIX.openjpeg}"),' 21SUBST_SED.fix-path+= -e 's,JPEG2K_ROOT = None,JPEG2K_ROOT = _lib_include("${BUILDLINK_PREFIX.openjpeg}"),'
21SUBST_SED.fix-path+= -e 's,ZLIB_ROOT = None,ZLIB_ROOT = _lib_include("${BUILDLINK_PREFIX.zlib}"),' 22SUBST_SED.fix-path+= -e 's,ZLIB_ROOT = None,ZLIB_ROOT = _lib_include("${BUILDLINK_PREFIX.zlib}"),'
22SUBST_SED.fix-path+= -e 's,TIFF_ROOT = None,TIFF_ROOT = _lib_include("${BUILDLINK_PREFIX.tiff}"),' 23SUBST_SED.fix-path+= -e 's,TIFF_ROOT = None,TIFF_ROOT = _lib_include("${BUILDLINK_PREFIX.tiff}"),'
23SUBST_SED.fix-path+= -e 's,FREETYPE_ROOT = None,FREETYPE_ROOT = _lib_include("${BUILDLINK_PREFIX.freetype2}"),' 24SUBST_SED.fix-path+= -e 's,FREETYPE_ROOT = None,FREETYPE_ROOT = _lib_include("${BUILDLINK_PREFIX.freetype2}"),'
24SUBST_SED.fix-path+= -e 's,LCMS_ROOT = None,LCMS_ROOT = _lib_include("${BUILDLINK_PREFIX.lcms2}"),' 25SUBST_SED.fix-path+= -e 's,LCMS_ROOT = None,LCMS_ROOT = _lib_include("${BUILDLINK_PREFIX.lcms2}"),'
25 26
26do-test: 27# XXX: (automatically) testing Pillow fails because it is builded on a
27 ${RUN}cd ${WRKSRC};${PKGSRC_SETENV} ${TEST_ENV} ${PYTHONBIN} selftest.py 28# separate directory (build/lib.*/PIL/). Manually cp(1) all the files to PIL/
 29# fixes that (but implementing a similar distutils.cmd logic here can easily
 30# leads to a buggy one). Disable the test for now.
 31#do-test:
 32# ${RUN}cd ${WRKSRC};${PKGSRC_SETENV} ${TEST_ENV} ${PYTHONBIN} selftest.py
28 33
29.include "../../devel/zlib/buildlink3.mk" 34.include "../../devel/zlib/buildlink3.mk"
30.include "../../graphics/freetype2/buildlink3.mk" 35.include "../../graphics/freetype2/buildlink3.mk"
31.include "../../graphics/lcms2/buildlink3.mk" 36.include "../../graphics/lcms2/buildlink3.mk"
32.include "../../graphics/libwebp/buildlink3.mk" 37.include "../../graphics/libwebp/buildlink3.mk"
33.include "../../graphics/openjpeg/buildlink3.mk" 38.include "../../graphics/openjpeg/buildlink3.mk"
34.include "../../graphics/tiff/buildlink3.mk" 39.include "../../graphics/tiff/buildlink3.mk"
35.include "../../lang/python/egg.mk" 40.include "../../lang/python/egg.mk"
36.include "../../mk/jpeg.buildlink3.mk" 41.include "../../mk/jpeg.buildlink3.mk"
37.include "../../mk/bsd.pkg.mk" 42.include "../../mk/bsd.pkg.mk"

cvs diff -r1.8 -r1.9 pkgsrc/graphics/py-Pillow/PLIST (expand / switch to unified diff)

--- pkgsrc/graphics/py-Pillow/PLIST 2015/10/18 15:47:10 1.8
+++ pkgsrc/graphics/py-Pillow/PLIST 2016/04/21 08:13:50 1.9
@@ -1,55 +1,56 @@ @@ -1,55 +1,56 @@
1@comment $NetBSD: PLIST,v 1.8 2015/10/18 15:47:10 adam Exp $ 1@comment $NetBSD: PLIST,v 1.9 2016/04/21 08:13:50 leot Exp $
2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 
3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 
4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 
5${PYSITELIB}/${EGG_INFODIR}/top_level.txt 
6${PYSITELIB}/${EGG_INFODIR}/zip-safe 
7${PYSITELIB}/PIL/BdfFontFile.py 2${PYSITELIB}/PIL/BdfFontFile.py
8${PYSITELIB}/PIL/BdfFontFile.pyc 3${PYSITELIB}/PIL/BdfFontFile.pyc
9${PYSITELIB}/PIL/BdfFontFile.pyo 4${PYSITELIB}/PIL/BdfFontFile.pyo
10${PYSITELIB}/PIL/BmpImagePlugin.py 5${PYSITELIB}/PIL/BmpImagePlugin.py
11${PYSITELIB}/PIL/BmpImagePlugin.pyc 6${PYSITELIB}/PIL/BmpImagePlugin.pyc
12${PYSITELIB}/PIL/BmpImagePlugin.pyo 7${PYSITELIB}/PIL/BmpImagePlugin.pyo
13${PYSITELIB}/PIL/BufrStubImagePlugin.py 8${PYSITELIB}/PIL/BufrStubImagePlugin.py
14${PYSITELIB}/PIL/BufrStubImagePlugin.pyc 9${PYSITELIB}/PIL/BufrStubImagePlugin.pyc
15${PYSITELIB}/PIL/BufrStubImagePlugin.pyo 10${PYSITELIB}/PIL/BufrStubImagePlugin.pyo
16${PYSITELIB}/PIL/ContainerIO.py 11${PYSITELIB}/PIL/ContainerIO.py
17${PYSITELIB}/PIL/ContainerIO.pyc 12${PYSITELIB}/PIL/ContainerIO.pyc
18${PYSITELIB}/PIL/ContainerIO.pyo 13${PYSITELIB}/PIL/ContainerIO.pyo
19${PYSITELIB}/PIL/CurImagePlugin.py 14${PYSITELIB}/PIL/CurImagePlugin.py
20${PYSITELIB}/PIL/CurImagePlugin.pyc 15${PYSITELIB}/PIL/CurImagePlugin.pyc
21${PYSITELIB}/PIL/CurImagePlugin.pyo 16${PYSITELIB}/PIL/CurImagePlugin.pyo
22${PYSITELIB}/PIL/DcxImagePlugin.py 17${PYSITELIB}/PIL/DcxImagePlugin.py
23${PYSITELIB}/PIL/DcxImagePlugin.pyc 18${PYSITELIB}/PIL/DcxImagePlugin.pyc
24${PYSITELIB}/PIL/DcxImagePlugin.pyo 19${PYSITELIB}/PIL/DcxImagePlugin.pyo
 20${PYSITELIB}/PIL/DdsImagePlugin.py
 21${PYSITELIB}/PIL/DdsImagePlugin.pyc
 22${PYSITELIB}/PIL/DdsImagePlugin.pyo
25${PYSITELIB}/PIL/EpsImagePlugin.py 23${PYSITELIB}/PIL/EpsImagePlugin.py
26${PYSITELIB}/PIL/EpsImagePlugin.pyc 24${PYSITELIB}/PIL/EpsImagePlugin.pyc
27${PYSITELIB}/PIL/EpsImagePlugin.pyo 25${PYSITELIB}/PIL/EpsImagePlugin.pyo
28${PYSITELIB}/PIL/ExifTags.py 26${PYSITELIB}/PIL/ExifTags.py
29${PYSITELIB}/PIL/ExifTags.pyc 27${PYSITELIB}/PIL/ExifTags.pyc
30${PYSITELIB}/PIL/ExifTags.pyo 28${PYSITELIB}/PIL/ExifTags.pyo
31${PYSITELIB}/PIL/FitsStubImagePlugin.py 29${PYSITELIB}/PIL/FitsStubImagePlugin.py
32${PYSITELIB}/PIL/FitsStubImagePlugin.pyc 30${PYSITELIB}/PIL/FitsStubImagePlugin.pyc
33${PYSITELIB}/PIL/FitsStubImagePlugin.pyo 31${PYSITELIB}/PIL/FitsStubImagePlugin.pyo
34${PYSITELIB}/PIL/FliImagePlugin.py 32${PYSITELIB}/PIL/FliImagePlugin.py
35${PYSITELIB}/PIL/FliImagePlugin.pyc 33${PYSITELIB}/PIL/FliImagePlugin.pyc
36${PYSITELIB}/PIL/FliImagePlugin.pyo 34${PYSITELIB}/PIL/FliImagePlugin.pyo
37${PYSITELIB}/PIL/FontFile.py 35${PYSITELIB}/PIL/FontFile.py
38${PYSITELIB}/PIL/FontFile.pyc 36${PYSITELIB}/PIL/FontFile.pyc
39${PYSITELIB}/PIL/FontFile.pyo 37${PYSITELIB}/PIL/FontFile.pyo
40${PYSITELIB}/PIL/FpxImagePlugin.py 38${PYSITELIB}/PIL/FpxImagePlugin.py
41${PYSITELIB}/PIL/FpxImagePlugin.pyc 39${PYSITELIB}/PIL/FpxImagePlugin.pyc
42${PYSITELIB}/PIL/FpxImagePlugin.pyo 40${PYSITELIB}/PIL/FpxImagePlugin.pyo
 41${PYSITELIB}/PIL/FtexImagePlugin.py
 42${PYSITELIB}/PIL/FtexImagePlugin.pyc
 43${PYSITELIB}/PIL/FtexImagePlugin.pyo
43${PYSITELIB}/PIL/GbrImagePlugin.py 44${PYSITELIB}/PIL/GbrImagePlugin.py
44${PYSITELIB}/PIL/GbrImagePlugin.pyc 45${PYSITELIB}/PIL/GbrImagePlugin.pyc
45${PYSITELIB}/PIL/GbrImagePlugin.pyo 46${PYSITELIB}/PIL/GbrImagePlugin.pyo
46${PYSITELIB}/PIL/GdImageFile.py 47${PYSITELIB}/PIL/GdImageFile.py
47${PYSITELIB}/PIL/GdImageFile.pyc 48${PYSITELIB}/PIL/GdImageFile.pyc
48${PYSITELIB}/PIL/GdImageFile.pyo 49${PYSITELIB}/PIL/GdImageFile.pyo
49${PYSITELIB}/PIL/GifImagePlugin.py 50${PYSITELIB}/PIL/GifImagePlugin.py
50${PYSITELIB}/PIL/GifImagePlugin.pyc 51${PYSITELIB}/PIL/GifImagePlugin.pyc
51${PYSITELIB}/PIL/GifImagePlugin.pyo 52${PYSITELIB}/PIL/GifImagePlugin.pyo
52${PYSITELIB}/PIL/GimpGradientFile.py 53${PYSITELIB}/PIL/GimpGradientFile.py
53${PYSITELIB}/PIL/GimpGradientFile.pyc 54${PYSITELIB}/PIL/GimpGradientFile.pyc
54${PYSITELIB}/PIL/GimpGradientFile.pyo 55${PYSITELIB}/PIL/GimpGradientFile.pyo
55${PYSITELIB}/PIL/GimpPaletteFile.py 56${PYSITELIB}/PIL/GimpPaletteFile.py
@@ -259,13 +260,18 @@ ${PYSITELIB}/PIL/_binary.pyc @@ -259,13 +260,18 @@ ${PYSITELIB}/PIL/_binary.pyc
259${PYSITELIB}/PIL/_binary.pyo 260${PYSITELIB}/PIL/_binary.pyo
260${PYSITELIB}/PIL/_imaging.so 261${PYSITELIB}/PIL/_imaging.so
261${PYSITELIB}/PIL/_imagingcms.so 262${PYSITELIB}/PIL/_imagingcms.so
262${PYSITELIB}/PIL/_imagingft.so 263${PYSITELIB}/PIL/_imagingft.so
263${PYSITELIB}/PIL/_imagingmath.so 264${PYSITELIB}/PIL/_imagingmath.so
264${PYSITELIB}/PIL/_imagingmorph.so 265${PYSITELIB}/PIL/_imagingmorph.so
265${PYSITELIB}/PIL/_util.py 266${PYSITELIB}/PIL/_util.py
266${PYSITELIB}/PIL/_util.pyc 267${PYSITELIB}/PIL/_util.pyc
267${PYSITELIB}/PIL/_util.pyo 268${PYSITELIB}/PIL/_util.pyo
268${PYSITELIB}/PIL/_webp.so 269${PYSITELIB}/PIL/_webp.so
269${PYSITELIB}/PIL/features.py 270${PYSITELIB}/PIL/features.py
270${PYSITELIB}/PIL/features.pyc 271${PYSITELIB}/PIL/features.pyc
271${PYSITELIB}/PIL/features.pyo 272${PYSITELIB}/PIL/features.pyo
 273${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 274${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 275${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 276${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 277${PYSITELIB}/${EGG_INFODIR}/zip-safe

cvs diff -r1.18 -r1.19 pkgsrc/graphics/py-Pillow/distinfo (expand / switch to unified diff)

--- pkgsrc/graphics/py-Pillow/distinfo 2016/04/12 16:31:36 1.18
+++ pkgsrc/graphics/py-Pillow/distinfo 2016/04/21 08:13:50 1.19
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
1$NetBSD: distinfo,v 1.18 2016/04/12 16:31:36 adam Exp $ 1$NetBSD: distinfo,v 1.19 2016/04/21 08:13:50 leot Exp $
2 2
3SHA1 (Pillow-3.1.2.tar.gz) = d7d00e04e79e08fe259995a662987e34dd5d11bb 3SHA1 (Pillow-3.2.0.tar.gz) = 5381cdd06dc00a86b0221110c768d7b49c27dc56
4RMD160 (Pillow-3.1.2.tar.gz) = 8e1c43c19af076fa75478d2c1de269ab701cfa26 4RMD160 (Pillow-3.2.0.tar.gz) = 939da559db631891347adbeb27c81b531b9dd602
5SHA512 (Pillow-3.1.2.tar.gz) = 82c14dacd49b041d7f2fed4acd9ab1d422d49bab8e6af78e90c5d8b1e987b833a19198ba74fe964ed0e4aa2bb0c2516c3b43fee443b388c0f467038396c187ce 5SHA512 (Pillow-3.2.0.tar.gz) = 3ce55370a63fa2edd8b471f81aa7696f39d02a4a171d5f1f44cc19a31eb670e311e7f7aee166604958ed8817a890115bf6c783099747cabc311cac8ac7e03f79
6Size (Pillow-3.1.2.tar.gz) = 10131238 bytes 6Size (Pillow-3.2.0.tar.gz) = 10306543 bytes
7SHA1 (patch-setup.py) = c4a3eae74db27f58a6d2c52114b3be13daf4207a 7SHA1 (patch-setup.py) = 00c18f45f50cd88e39aa57f2c5ec1db59fde1b15

cvs diff -r1.5 -r1.6 pkgsrc/graphics/py-Pillow/patches/patch-setup.py (expand / switch to unified diff)

--- pkgsrc/graphics/py-Pillow/patches/patch-setup.py 2015/10/18 15:47:10 1.5
+++ pkgsrc/graphics/py-Pillow/patches/patch-setup.py 2016/04/21 08:13:50 1.6
@@ -1,28 +1,29 @@ @@ -1,28 +1,29 @@
1$NetBSD: patch-setup.py,v 1.5 2015/10/18 15:47:10 adam Exp $ 1$NetBSD: patch-setup.py,v 1.6 2016/04/21 08:13:50 leot Exp $
2 2
3* Prevent to detect optional tkinter. 3* Prevent to detect optional tkinter.
4* Disable demo programs. 4* Disable demo programs.
5 5
6--- setup.py.orig 2015-10-01 15:27:21.000000000 +0000 6--- setup.py.orig 2016-04-01 13:10:57.000000000 +0000
7+++ setup.py 7+++ setup.py
8@@ -82,11 +82,7 @@ def _lib_include(root): 8@@ -80,12 +80,7 @@ def _lib_include(root):
9 def _read(file): 9 def _read(file):
10 return open(file, 'rb').read() 10 return open(file, 'rb').read()
11  11
 12-
12-try: 13-try:
13- import _tkinter 14- import _tkinter
14-except (ImportError, OSError): 15-except (ImportError, OSError):
15- # pypy emits an oserror 16- # pypy emits an oserror
16- _tkinter = None 17- _tkinter = None
17+_tkinter = None 18+_tkinter = None
18  19
19  
20 NAME = 'Pillow' 20 NAME = 'Pillow'
21@@ -760,7 +756,6 @@ setup( 21 PILLOW_VERSION = '3.2.0'
22 ext_modules=[Extension("PIL._imaging", ["_imaging.c"])], 22@@ -760,7 +755,6 @@ setup(name=NAME,
23 include_package_data=True, 23 ext_modules=[Extension("PIL._imaging", ["_imaging.c"])],
24 packages=find_packages(), 24 include_package_data=True,
25- scripts=glob.glob("Scripts/*.py"), 25 packages=find_packages(),
26 test_suite='nose.collector', 26- scripts=glob.glob("Scripts/*.py"),
27 keywords=["Imaging", ], 27 test_suite='nose.collector',
28 license='Standard PIL License', 28 keywords=["Imaging", ],
 29 license='Standard PIL License',