pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/py-Pillow py-Pillow: updated to 5.2.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/84f78cd3bd32
branches: trunk
changeset: 382390:84f78cd3bd32
user: adam <adam%pkgsrc.org@localhost>
date: Tue Jul 03 07:44:00 2018 +0000
description:
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:
graphics/py-Pillow/Makefile | 6 ++--
graphics/py-Pillow/PLIST | 8 ++--
graphics/py-Pillow/distinfo | 13 ++++----
graphics/py-Pillow/patches/patch-setup.py | 10 +++---
graphics/py-Pillow/patches/patch-src_libImaging_ImagingUtils.h | 15 ----------
5 files changed, 18 insertions(+), 34 deletions(-)
diffs (109 lines):
diff -r 26186c4c6ad4 -r 84f78cd3bd32 graphics/py-Pillow/Makefile
--- a/graphics/py-Pillow/Makefile Tue Jul 03 07:16:52 2018 +0000
+++ b/graphics/py-Pillow/Makefile Tue Jul 03 07:44:00 2018 +0000
@@ -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 @@
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 -r 26186c4c6ad4 -r 84f78cd3bd32 graphics/py-Pillow/PLIST
--- a/graphics/py-Pillow/PLIST Tue Jul 03 07:16:52 2018 +0000
+++ b/graphics/py-Pillow/PLIST Tue Jul 03 07:44:00 2018 +0000
@@ -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/_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 -r 26186c4c6ad4 -r 84f78cd3bd32 graphics/py-Pillow/distinfo
--- a/graphics/py-Pillow/distinfo Tue Jul 03 07:16:52 2018 +0000
+++ b/graphics/py-Pillow/distinfo Tue Jul 03 07:44:00 2018 +0000
@@ -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 -r 26186c4c6ad4 -r 84f78cd3bd32 graphics/py-Pillow/patches/patch-setup.py
--- a/graphics/py-Pillow/patches/patch-setup.py Tue Jul 03 07:16:52 2018 +0000
+++ b/graphics/py-Pillow/patches/patch-setup.py Tue Jul 03 07:44:00 2018 +0000
@@ -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 $
+Disable mp_compile hack; it has problems with native parallel building.
Prevent to detect optional tkinter.
-Disable mp_compile hack; it has problems with native parallel building.
---- 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 @@
-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 -r 26186c4c6ad4 -r 84f78cd3bd32 graphics/py-Pillow/patches/patch-src_libImaging_ImagingUtils.h
--- a/graphics/py-Pillow/patches/patch-src_libImaging_ImagingUtils.h Tue Jul 03 07:16:52 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index