diff options
author | adam <adam@pkgsrc.org> | 2018-07-03 07:44:00 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2018-07-03 07:44:00 +0000 |
commit | 457e5c506f570f210d0e878bf40fba055afa79c3 (patch) | |
tree | 76a4f9520206b9e7d0429c7f378095fc6a20c08f /graphics/py-Pillow | |
parent | c91134e16bdac1b3dc9b29b87673a3de15d8978f (diff) | |
download | pkgsrc-457e5c506f570f210d0e878bf40fba055afa79c3.tar.gz |
py-Pillow: updated to 5.2.0
5.2.0:
Fixed saving a multiframe image as a single frame PDF
If a Qt version is already imported, attempt to use it first
Fix transform fill color for alpha images
TGA: Add support for writing RLE data
TGA: Read and write LA data
QuantOctree.c: Remove erroneous attempt to average over an empty range
Changed ICNS format tests to pass on OS X 10.11
Fixed bug in ImageDraw.multiline_textsize()
Added getsize_multiline support for PIL.ImageFont
Added ImageFile get_format_mimetype method
Changed mmap file pointer to use context manager
Changed ellipse point calculations to be more evenly distributed
Only extract first Exif segment
Tests: Test ImageDraw2, WalImageFile
Remove unnecessary '#if 0' code
Tests: Added GD tests
Fix collections ABCs DeprecationWarning in Python 3.7
unpack_from is faster than unpack of slice
Docs: Add coordinate system links and file handling links in documentation
Tests: TestFilePng: Fix test_save_l_transparency()
Docs: Correct argument name
Docs: Update CMake download URL
Docs: Improve Image.transform documentation
Fix transform fillcolor argument when image mode is RGBA or LA
Tests: More specific Exception testing
Add getrgb HSB/HSV color strings
Allow float values in getrgb HSL color string
AppVeyor: Upgrade to Python 2.7.15 and 3.4.4
AppVeyor: Upgrade to PyPy 6.0.0
Deprecate PILLOW_VERSION and VERSION
Support Python 3.7
Depends: Update freetype to 2.9.1, libjpeg to 9c, libwebp to 1.0.0
Build macOS wheels with Xcode 6.4, supporting older macOS versions
Fix _i2f compilation on some GCC versions
Changed encoderinfo to have priority over info when saving GIF images
Rename PIL.version to PIL._version and remove it from module
Enable background colour parameter on rotate
Remove unnecessary #if 1 directive
Remove unused Python class, Path
Fix dereferencing type-punned pointer will break strict-aliasing
Diffstat (limited to 'graphics/py-Pillow')
-rw-r--r-- | graphics/py-Pillow/Makefile | 6 | ||||
-rw-r--r-- | graphics/py-Pillow/PLIST | 8 | ||||
-rw-r--r-- | graphics/py-Pillow/distinfo | 13 | ||||
-rw-r--r-- | graphics/py-Pillow/patches/patch-setup.py | 10 | ||||
-rw-r--r-- | graphics/py-Pillow/patches/patch-src_libImaging_ImagingUtils.h | 15 |
5 files changed, 18 insertions, 34 deletions
diff --git a/graphics/py-Pillow/Makefile b/graphics/py-Pillow/Makefile index cbe106b1704..725d4dcfd24 100644 --- a/graphics/py-Pillow/Makefile +++ b/graphics/py-Pillow/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.39 2018/04/03 09:24:19 adam Exp $ +# $NetBSD: Makefile,v 1.40 2018/07/03 07:44:00 adam Exp $ -DISTNAME= Pillow-5.1.0 +DISTNAME= Pillow-5.2.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= graphics python MASTER_SITES= ${MASTER_SITE_PYPI:=P/Pillow/} @@ -15,8 +15,8 @@ USE_TOOLS+= pkg-config CONFLICTS+= ${PYPKGPREFIX}-imaging-[0-9]* DEPENDS+= ${PYPKGPREFIX}-olefile-[0-9]*:../../devel/py-olefile +BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test -TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner .include "../../devel/zlib/buildlink3.mk" .include "../../graphics/freetype2/buildlink3.mk" diff --git a/graphics/py-Pillow/PLIST b/graphics/py-Pillow/PLIST index c3b05106354..65145ca04af 100644 --- a/graphics/py-Pillow/PLIST +++ b/graphics/py-Pillow/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.14 2018/04/03 09:24:19 adam Exp $ +@comment $NetBSD: PLIST,v 1.15 2018/07/03 07:44:00 adam Exp $ ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt @@ -280,10 +280,10 @@ ${PYSITELIB}/PIL/_tkinter_finder.pyo ${PYSITELIB}/PIL/_util.py ${PYSITELIB}/PIL/_util.pyc ${PYSITELIB}/PIL/_util.pyo +${PYSITELIB}/PIL/_version.py +${PYSITELIB}/PIL/_version.pyc +${PYSITELIB}/PIL/_version.pyo ${PYSITELIB}/PIL/_webp.so ${PYSITELIB}/PIL/features.py ${PYSITELIB}/PIL/features.pyc ${PYSITELIB}/PIL/features.pyo -${PYSITELIB}/PIL/version.py -${PYSITELIB}/PIL/version.pyc -${PYSITELIB}/PIL/version.pyo diff --git a/graphics/py-Pillow/distinfo b/graphics/py-Pillow/distinfo index 452c0d1f8e4..d80d1ffcca6 100644 --- a/graphics/py-Pillow/distinfo +++ b/graphics/py-Pillow/distinfo @@ -1,8 +1,7 @@ -$NetBSD: distinfo,v 1.32 2018/04/03 09:24:19 adam Exp $ +$NetBSD: distinfo,v 1.33 2018/07/03 07:44:00 adam Exp $ -SHA1 (Pillow-5.1.0.tar.gz) = aaa04f180d05a4b5d8e4eda234d75ae904bab46f -RMD160 (Pillow-5.1.0.tar.gz) = 300e2626b33b803b7bb6a553a15c5beab82922ea -SHA512 (Pillow-5.1.0.tar.gz) = 1e1d5f12054e2f3befa8dafef2551eb75dfefc06944a528638a1686ebc480b52edfc3eaa9964d687816caf003314ad1fc4891d7379cd92e41fbf4b3cbddd1cb9 -Size (Pillow-5.1.0.tar.gz) = 14286366 bytes -SHA1 (patch-setup.py) = 14ab443eef8b53481d2610830533fbb988688bf6 -SHA1 (patch-src_libImaging_ImagingUtils.h) = 313a553db9e0774525c55281dfa4e784ab62b099 +SHA1 (Pillow-5.2.0.tar.gz) = 7d0f97e23425418f2e4c9ee51fc3bcb9ee71ec60 +RMD160 (Pillow-5.2.0.tar.gz) = e2cfed9c172ea3e345d369b1f4357920cd5c7cb2 +SHA512 (Pillow-5.2.0.tar.gz) = 2f19512d0573bd4696a5b4d54ff21473492f92705d33bd0994ccd085028d209bfb0031e2b95947c1e8fc9d0b0956cdf1f705c1fbaff39390791cac1708bff22c +Size (Pillow-5.2.0.tar.gz) = 14499068 bytes +SHA1 (patch-setup.py) = fd93f67faa06319e996d31f1f43edddf942cf773 diff --git a/graphics/py-Pillow/patches/patch-setup.py b/graphics/py-Pillow/patches/patch-setup.py index 58d6f180e37..0c382ce4a10 100644 --- a/graphics/py-Pillow/patches/patch-setup.py +++ b/graphics/py-Pillow/patches/patch-setup.py @@ -1,9 +1,9 @@ -$NetBSD: patch-setup.py,v 1.15 2018/03/31 16:22:11 adam Exp $ +$NetBSD: patch-setup.py,v 1.16 2018/07/03 07:44:00 adam Exp $ -Prevent to detect optional tkinter. Disable mp_compile hack; it has problems with native parallel building. +Prevent to detect optional tkinter. ---- setup.py.orig 2018-01-01 21:04:32.000000000 +0000 +--- setup.py.orig 2018-07-01 19:02:58.000000000 +0000 +++ setup.py @@ -23,7 +23,6 @@ from setuptools import Extension, setup @@ -12,8 +12,8 @@ Disable mp_compile hack; it has problems with native parallel building. -import mp_compile - if sys.platform == "win32" and sys.version_info >= (3, 7): -@@ -128,11 +128,7 @@ def get_version(): + if sys.platform == "win32" and sys.version_info >= (3, 8): +@@ -128,11 +127,7 @@ def get_version(): return locals()['__version__'] diff --git a/graphics/py-Pillow/patches/patch-src_libImaging_ImagingUtils.h b/graphics/py-Pillow/patches/patch-src_libImaging_ImagingUtils.h deleted file mode 100644 index 1d0f48ecf7d..00000000000 --- a/graphics/py-Pillow/patches/patch-src_libImaging_ImagingUtils.h +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-src_libImaging_ImagingUtils.h,v 1.2 2018/04/03 09:24:20 adam Exp $ - -Fix building with GCC 4.x; https://github.com/python-pillow/Pillow/issues/2956 - ---- src/libImaging/ImagingUtils.h.orig 2018-01-01 21:04:32.000000000 +0000 -+++ src/libImaging/ImagingUtils.h -@@ -37,7 +37,7 @@ - ! defined(__clang__) && defined(GCC_VERSION) && (GCC_VERSION < 40900) - static float __attribute__((always_inline)) inline _i2f(int v) { - float x; -- __asm__("xorps %0, %0; cvtsi2ss %1, %0" : "=X"(x) : "r"(v) ); -+ __asm__("xorps %0, %0; cvtsi2ss %1, %0" : "=x"(x) : "r"(v) ); - return x; - } - #else |