aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorKai Knoblich <kai@FreeBSD.org>2019-06-14 04:06:17 +0000
committerKai Knoblich <kai@FreeBSD.org>2019-06-14 04:06:17 +0000
commit03deb9737114d60d72a24e7e4e51f5f208fb1b45 (patch)
tree692003f92271fc3fdf3dee7cd37d99b951909a54 /graphics
parent1c40cc7f7805cde08931d70041a4a8f4ae4f6a84 (diff)
downloadports-03deb9737114d60d72a24e7e4e51f5f208fb1b45.tar.gz
ports-03deb9737114d60d72a24e7e4e51f5f208fb1b45.zip
graphics/py-pillow: Update to 6.0.0
* Introduce a new option OLE and add it to the default options to maintain compatibility for a while with existing installations/users that rely on the previously deprecated function PIL.OleFileIO which has been removed now. * Remove obsolete CONFLICTS_INSTALL entry because graphics/py-imaging no longer exists in the Ports tree since 2016. Release Notes: * https://pillow.readthedocs.io/en/latest/releasenotes/index.html Backward Incompatible Changes (6.0.0): * https://pillow.readthedocs.io/en/latest/releasenotes/6.0.0.html#backwards-incompatible-changes Detailed Changelog: * https://github.com/python-pillow/Pillow/blob/6.0.0/CHANGES.rst PR: 237426 Reviewed by: antoine, koobs, Charlie Li Approved by: koobs (maintainer)
Notes
Notes: svn path=/head/; revision=504155
Diffstat (limited to 'graphics')
-rw-r--r--graphics/py-pillow/Makefile13
-rw-r--r--graphics/py-pillow/distinfo6
2 files changed, 10 insertions, 9 deletions
diff --git a/graphics/py-pillow/Makefile b/graphics/py-pillow/Makefile
index dd53d9dcd5b4..179a0c6a49b0 100644
--- a/graphics/py-pillow/Makefile
+++ b/graphics/py-pillow/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= pillow
-PORTVERSION= 5.3.0
+PORTVERSION= 6.0.0
CATEGORIES= graphics python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -17,7 +17,7 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR}
-# Python 2.7,3.4+
+# Python 2.7,3.5+
USES= cpe python
USE_GITHUB= yes
USE_PYTHON= autoplist concurrent distutils
@@ -25,12 +25,11 @@ USE_PYTHON= autoplist concurrent distutils
GH_ACCOUNT= python-${PORTNAME}
GH_PROJECT= ${PORTNAME:C/p/P/}
-CONFLICTS_INSTALL= py*-imaging-*
-
-OPTIONS_DEFINE= FREETYPE JPEG JPEG2000 LCMS PNG TIFF TKINTER WEBP
-OPTIONS_DEFAULT= FREETYPE JPEG JPEG2000 PNG TKINTER WEBP
+OPTIONS_DEFINE= FREETYPE JPEG JPEG2000 LCMS OLE PNG TIFF TKINTER WEBP
+OPTIONS_DEFAULT= FREETYPE JPEG JPEG2000 OLE PNG TKINTER WEBP
LCMS_DESC= Little Color Management System
+OLE_DESC= Microsoft OLE2 file format support
TKINTER_DESC= Tkinter (Tcl/Tk) BitmapImage & PhotoImage support
FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2
@@ -52,6 +51,8 @@ LCMS_VARS_OFF= PYDISTUTILS_BUILDARGS+=--disable-lcms
PNG_VARS= PYDISTUTILS_BUILDARGS+=--enable-zlib
PNG_VARS_OFF= PYDISTUTILS_BUILDARGS+=--disable-zlib
+OLE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}olefile>0:devel/py-olefile@${PY_FLAVOR}
+
TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff
TIFF_VARS= PYDISTUTILS_BUILDARGS+=--enable-tiff
TIFF_VARS_OFF= PYDISTUTILS_BUILDARGS+=--disable-tiff
diff --git a/graphics/py-pillow/distinfo b/graphics/py-pillow/distinfo
index ee2a1a3ff92e..fcaef530f863 100644
--- a/graphics/py-pillow/distinfo
+++ b/graphics/py-pillow/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1542124566
-SHA256 (python-pillow-Pillow-5.3.0_GH0.tar.gz) = 9de4853d8b640c0185665735a1c3266b6d51636b3a3d8e3ea7876c485194b6e1
-SIZE (python-pillow-Pillow-5.3.0_GH0.tar.gz) = 15335960
+TIMESTAMP = 1555711743
+SHA256 (python-pillow-Pillow-6.0.0_GH0.tar.gz) = f0babf5d7072ea9923a3950cd7ea41b0008429b16584de7d95cc5550a2806cda
+SIZE (python-pillow-Pillow-6.0.0_GH0.tar.gz) = 29205509