Date: Wed, 30 Mar 2022 22:23:54 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 5309cc485d72 - main - graphics/py-pillow: Update to 9.0.1 Message-ID: <202203302223.22UMNsnU064714@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=5309cc485d7269ca3dd373a23fe98839aec18040 commit 5309cc485d7269ca3dd373a23fe98839aec18040 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-03-30 22:04:53 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-03-30 22:21:14 +0000 graphics/py-pillow: Update to 9.0.1 - Update pkg-descr Changes: https://github.com/python-pillow/Pillow/releases --- graphics/py-pillow/Makefile | 38 ++++++++++++++------------------------ graphics/py-pillow/distinfo | 6 +++--- graphics/py-pillow/pkg-descr | 18 +++++++++++++++--- 3 files changed, 32 insertions(+), 30 deletions(-) diff --git a/graphics/py-pillow/Makefile b/graphics/py-pillow/Makefile index bd76f3d097a7..b18fe60af054 100644 --- a/graphics/py-pillow/Makefile +++ b/graphics/py-pillow/Makefile @@ -1,7 +1,7 @@ # Created by: Kubilay Kocak <koobs@FreeBSD.org> PORTNAME= pillow -PORTVERSION= 8.4.0 +PORTVERSION= 9.0.1 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -15,16 +15,15 @@ LICENSE_NAME= Standard PIL License LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0,1:devel/py-pytest@${PY_FLAVOR} -USES= cpe python:3.6+ +USES= cpe python:3.7+ USE_PYTHON= autoplist concurrent distutils CPE_VENDOR= python -OPTIONS_DEFINE= FREETYPE JPEG JPEG2000 LCMS OLE PNG RAQM TIFF TKINTER WEBP XCB -OPTIONS_DEFAULT= FREETYPE JPEG JPEG2000 LCMS OLE PNG RAQM TIFF TKINTER WEBP XCB - +OPTIONS_DEFINE= FREETYPE JPEG JPEG2000 LCMS OLE PNG RAQM TIFF TKINTER WEBP XCB +OPTIONS_DEFAULT=FREETYPE JPEG JPEG2000 LCMS OLE PNG RAQM TIFF TKINTER WEBP XCB LCMS_DESC= Little Color Management System OLE_DESC= Microsoft OLE2 file format support RAQM_DESC= Complex text layout support @@ -34,44 +33,35 @@ XCB_DESC= X11 screengrab support FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_VARS= PYDISTUTILS_BUILDARGS+=--enable-freetype FREETYPE_VARS_OFF= PYDISTUTILS_BUILDARGS+=--disable-freetype - 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 - -OLE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}olefile>0:devel/py-olefile@${PY_FLAVOR} - +OLE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}olefile>=0:devel/py-olefile@${PY_FLAVOR} PNG_VARS= PYDISTUTILS_BUILDARGS+=--enable-zlib PNG_VARS_OFF= PYDISTUTILS_BUILDARGS+=--disable-zlib - RAQM_LIB_DEPENDS= libraqm.so:print/libraqm RAQM_VARS= PYDISTUTILS_BUILDARGS+=--enable-raqm RAQM_VARS_OFF= PYDISTUTILS_BUILDARGS+=--disable-raqm - TIFF_LIB_DEPENDS= libtiff.so:graphics/tiff TIFF_VARS= PYDISTUTILS_BUILDARGS+=--enable-tiff TIFF_VARS_OFF= PYDISTUTILS_BUILDARGS+=--disable-tiff - +TKINTER_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>=0:x11-toolkits/py-tkinter@${PY_FLAVOR} +TKINTER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>=0:x11-toolkits/py-tkinter@${PY_FLAVOR} TKINTER_USES= tk -TKINTER_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR} -TKINTER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR} TKINTER_VARS= PYDISTUTILS_BUILDARGS+="--include-dirs=${TCL_INCLUDEDIR}:${TK_INCLUDEDIR}" - WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_VARS= PYDISTUTILS_BUILDARGS+="--enable-webp --enable-webpmux" WEBP_VARS_OFF= PYDISTUTILS_BUILDARGS+="--disable-webp --disable-webpmux" - +XCB_USE= XORG=xcb XCB_USES= xorg -XCB_VARS= PYDISTUTILS_BUILDARGS+="--enable-xcb" USE_XORG=xcb -XCB_VARS_OFF= PYDISTUTILS_BUILDARGS+="--disable-xcb" +XCB_VARS= PYDISTUTILS_BUILDARGS+=--enable-xcb +XCB_VARS_OFF= PYDISTUTILS_BUILDARGS+=--disable-xcb .include <bsd.port.pre.mk> @@ -79,9 +69,9 @@ PYDISTUTILS_BUILD_TARGET= build build_ext PYDISTUTILS_BUILDARGS+= saveopts post-install: - ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PIL/*.so + ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + -do-test: install - @cd ${WRKSRC} && ${PYTHON_CMD} selftest.py +do-test: + cd ${WRKSRC} && ${SETENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} ${PYTHON_CMD} selftest.py .include <bsd.port.post.mk> diff --git a/graphics/py-pillow/distinfo b/graphics/py-pillow/distinfo index f45d2448bfef..6ff8acda62dd 100644 --- a/graphics/py-pillow/distinfo +++ b/graphics/py-pillow/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1647264596 -SHA256 (Pillow-8.4.0.tar.gz) = b8e2f83c56e141920c39464b852de3719dfbfb6e3c99a2d8da0edf4fb33176ed -SIZE (Pillow-8.4.0.tar.gz) = 49368411 +TIMESTAMP = 1648248942 +SHA256 (Pillow-9.0.1.tar.gz) = 6c8bc8238a7dfdaf7a75f5ec5a663f4173f8c367e5a39f87e720495e1eed75fa +SIZE (Pillow-9.0.1.tar.gz) = 49514914 diff --git a/graphics/py-pillow/pkg-descr b/graphics/py-pillow/pkg-descr index 0249c5723e14..153b37e75097 100644 --- a/graphics/py-pillow/pkg-descr +++ b/graphics/py-pillow/pkg-descr @@ -1,5 +1,17 @@ -Pillow is the "friendly" PIL fork. PIL is the Python Imaging Library. Pillow -was started for and is currently maintained by the Plone community. But it is -used by many other folks in the Python web community. +Pillow is the friendly PIL fork by Alex Clark and Contributors. PIL is the +Python Imaging Library by Fredrik Lundh and Contributors. As of 2019, Pillow +development is supported by Tidelift. + +The Python Imaging Library adds image processing capabilities to your Python +interpreter. + +This library provides extensive file format support, an efficient internal +representation, and fairly powerful image processing capabilities. + +The core image library is designed for fast access to data stored in a few basic +pixel formats. It should provide a solid foundation for a general image +processing tool. + WWW: https://python-pillow.org/ +WWW: https://github.com/python-pillow/Pillow
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202203302223.22UMNsnU064714>