graphics/py-pillow: Update to 2.5.1, Add TKINTER option

- Update to 2.5.1
- OPTIONS: Add Tkinter (Tcl/Tk) support
- OPTIONS: Add FreeType as an options default

Changes:

  https://github.com/python-pillow/Pillow/blob/2.5.1/CHANGES.rst
This commit is contained in:
Kubilay Kocak 2014-07-27 04:51:10 +00:00
parent 3159ed7af9
commit 7d06b9c209
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363009
2 changed files with 15 additions and 6 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= pillow
PORTVERSION= 2.4.0
PORTVERSION= 2.5.1
CATEGORIES= graphics python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME:C/p/P/}-${PORTVERSION}
@ -15,15 +15,17 @@ LICENSE_NAME= Standard PIL License
LICENSE_FILE= ${WRKSRC}/docs/LICENSE
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
OPTIONS_DEFINE= FREETYPE JPEG LCMS PNG TIFF WEBP
OPTIONS_DEFAULT= JPEG PNG
OPTIONS_DEFINE= FREETYPE JPEG LCMS PNG TIFF TKINTER WEBP
OPTIONS_DEFAULT= FREETYPE JPEG PNG
LCMS_DESC= Little Color Management System
TKINTER_DESC= Tkinter (Tcl/Tk) BitmapImage & PhotoImage support
FREETYPE_LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2
JPEG_LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg
LCMS_LIB_DEPENDS= liblcms2.so:${PORTSDIR}/graphics/lcms2
TIFF_LIB_DEPENDs= libtiff.so:${PORTSDIR}/graphics/tiff
TKINTER_USES= tk:build
WEBP_LIB_DEPENDS= libwebp.so:${PORTSDIR}/graphics/webp
USE_GITHUB= yes
@ -35,7 +37,7 @@ PYDISTUTILS_BUILD_TARGET= build_ext
GH_ACCOUNT= python-pillow
GH_PROJECT= ${PORTNAME:C/p/P/}
GH_COMMIT= 72de37c
GH_COMMIT= 1ab78b8
CONFLICTS_INSTALL= py*-imaging-*
@ -71,6 +73,13 @@ PYDISTUTILS_BUILDARGS+= --enable-tiff
PYDISTUTILS_BUILDARGS+= --disable-tiff
.endif
.if ${PORT_OPTIONS:MTKINTER}
PYDISTUTILS_BUILDARGS+= --enable-tcl --enable-tk \
--include-dirs=${TCL_INCLUDEDIR}:${TK_INCLUDEDIR}
.else
PYDISTUTILS_BUILDARGS+= --disable-tcl --disable-tk
.endif
.if ${PORT_OPTIONS:MWEBP}
PYDISTUTILS_BUILDARGS+= --enable-webp
.else

View file

@ -1,2 +1,2 @@
SHA256 (Pillow-2.4.0.tar.gz) = 5eef8463eab73d0efe0cd4f7a6833926862f86411994ef7801646d614fdce0c2
SIZE (Pillow-2.4.0.tar.gz) = 6201074
SHA256 (Pillow-2.5.1.tar.gz) = e7934f86705a7054e3c117ab1295d612b2aa34f4cfa4d61bd88e544e9a544a13
SIZE (Pillow-2.5.1.tar.gz) = 6528250