MFH: r430992

graphics/py-pillow: Update to 3.4.2 (security fixes)

- Update to 3.4.2
- Add JPEG2000 option

Changes:	https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst

PR:		215615

Approved by:	ports-secteam (with hat)
This commit is contained in:
Mark Felder 2017-01-09 18:00:35 +00:00
parent f5873101f4
commit 6f109b7c2b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2017Q1/; revision=430993
2 changed files with 13 additions and 10 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= pillow
PORTVERSION= 3.1.1
PORTREVISION= 1
PORTVERSION= 3.4.2
CATEGORIES= graphics python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -15,8 +14,8 @@ LICENSE_NAME= Standard PIL License
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
OPTIONS_DEFINE= FREETYPE JPEG LCMS PNG TIFF TKINTER WEBP
OPTIONS_DEFAULT= FREETYPE JPEG PNG TKINTER WEBP
OPTIONS_DEFINE= FREETYPE JPEG JPEG2000 LCMS PNG TIFF TKINTER WEBP
OPTIONS_DEFAULT= FREETYPE JPEG JPEG2000 PNG TKINTER WEBP
LCMS_DESC= Little Color Management System
TKINTER_DESC= Tkinter (Tcl/Tk) BitmapImage & PhotoImage support
@ -29,6 +28,10 @@ JPEG_USES= jpeg
JPEG_VARS= PYDISTUTILS_BUILDARGS+=--enable-jpeg
JPEG_VARS_OFF= PYDISTUTILS_BUILDARGS+=--disable-jpeg
JPEG2000_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg
JPEG2000_VARS= PYDISTUTILS_BUILDARGS+=--enable-jpeg2000
JPEG2000_VARS_OFF= PYDISTUTILS_BUILDARGS+=--disable-jpeg2000
LCMS_LIB_DEPENDS= liblcms2.so:graphics/lcms2
LCMS_VARS= PYDISTUTILS_BUILDARGS+=--enable-lcms
LCMS_VARS_OFF= PYDISTUTILS_BUILDARGS+=--disable-lcms
@ -43,12 +46,11 @@ TIFF_VARS_OFF= PYDISTUTILS_BUILDARGS+=--disable-tiff
TKINTER_USES= tk
TKINTER_BUILD_DEPENDS?= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter
TKINTER_RUN_DEPENDS?= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter
TKINTER_VARS= PYDISTUTILS_BUILDARGS+="--enable-tcl --enable-tk --include-dirs=${TCL_INCLUDEDIR}:${TK_INCLUDEDIR}"
TKINTER_VARS_OFF= PYDISTUTILS_BUILDARGS+="--disable-tcl --disable-tk"
TKINTER_VARS= PYDISTUTILS_BUILDARGS+="--include-dirs=${TCL_INCLUDEDIR}:${TK_INCLUDEDIR}"
WEBP_LIB_DEPENDS= libwebp.so:graphics/webp
WEBP_VARS= PYDISTUTILS_BUILDARGS+=--enable-webp
WEBP_VARS_OFF= PYDISTUTILS_BUILDARGS+=--disable-webp
WEBP_VARS= PYDISTUTILS_BUILDARGS+=--enable-webp --enable-webpmux
WEBP_VARS_OFF= PYDISTUTILS_BUILDARGS+=--disable-webp --disable-webpmux
USES?= cpe python
USE_GITHUB= yes

View File

@ -1,2 +1,3 @@
SHA256 (python-pillow-Pillow-3.1.1_GH0.tar.gz) = a2ab64b39378031effdd86a6cd303de7b5b606445ab0338359e9ff9dc3f2e634
SIZE (python-pillow-Pillow-3.1.1_GH0.tar.gz) = 10051635
TIMESTAMP = 1482579087
SHA256 (python-pillow-Pillow-3.4.2_GH0.tar.gz) = 0ee762ab924e004b7e69643b44e82cf65e0fa1f16862e11bd821950dbbc5f3d3
SIZE (python-pillow-Pillow-3.4.2_GH0.tar.gz) = 10746584