From owner-svn-ports-all@freebsd.org Sat Mar 17 05:21:36 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7FDC7F4127C; Sat, 17 Mar 2018 05:21:36 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 34120876E2; Sat, 17 Mar 2018 05:21:36 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 14E04621E; Sat, 17 Mar 2018 05:21:36 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2H5LZX0093015; Sat, 17 Mar 2018 05:21:35 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2H5LZMT093013; Sat, 17 Mar 2018 05:21:35 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201803170521.w2H5LZMT093013@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Sat, 17 Mar 2018 05:21:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r464756 - head/graphics/py-pillow X-SVN-Group: ports-head X-SVN-Commit-Author: koobs X-SVN-Commit-Paths: head/graphics/py-pillow X-SVN-Commit-Revision: 464756 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Mar 2018 05:21:36 -0000 Author: koobs Date: Sat Mar 17 05:21:35 2018 New Revision: 464756 URL: https://svnweb.freebsd.org/changeset/ports/464756 Log: graphics/py-pillow: Update to 5.0.0 - Update to 5.0.0 - Add TEST_DEPENDS, which was missing in previous port versions where test target was defined. - Switch to using pytest, per upstream. - Add comment to track actual (precise) supported Python versions. Release Notes: * https://pillow.readthedocs.io/en/latest/releasenotes/index.html Backward Incompatible Changes (5.0.0): * https://pillow.readthedocs.io/en/latest/releasenotes/5.0.0.html#backwards-incompatible-changes Detailed Changelog: * https://github.com/python-pillow/Pillow/blob/5.0.0/CHANGES.rst PR: 226573 [1] Submitted by: Kevin Golding [1] Modified: head/graphics/py-pillow/Makefile head/graphics/py-pillow/distinfo Modified: head/graphics/py-pillow/Makefile ============================================================================== --- head/graphics/py-pillow/Makefile Sat Mar 17 05:04:48 2018 (r464755) +++ head/graphics/py-pillow/Makefile Sat Mar 17 05:21:35 2018 (r464756) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= pillow -PORTVERSION= 3.4.2 -PORTREVISION= 1 +PORTVERSION= 5.0.0 CATEGORIES= graphics python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -15,6 +14,9 @@ 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@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${FLAVOR} + OPTIONS_DEFINE= FREETYPE JPEG JPEG2000 LCMS PNG TIFF TKINTER WEBP OPTIONS_DEFAULT= FREETYPE JPEG JPEG2000 PNG TKINTER WEBP @@ -53,6 +55,7 @@ WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_VARS= PYDISTUTILS_BUILDARGS+="--enable-webp --enable-webpmux" WEBP_VARS_OFF= PYDISTUTILS_BUILDARGS+="--disable-webp --disable-webpmux" +# Python 2.7,3.4+ USES= cpe python USE_GITHUB= yes USE_PYTHON= autoplist concurrent distutils @@ -71,9 +74,6 @@ post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PIL/*.so do-test: - @cd ${WRKSRC} && \ - ${PYTHON_CMD} ${PYSETUP} build_ext -i && \ - ${PYTHON_CMD} selftest.py && \ - ${PYTHON_CMD} -m nose -vx Tests/test_*.py + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include Modified: head/graphics/py-pillow/distinfo ============================================================================== --- head/graphics/py-pillow/distinfo Sat Mar 17 05:04:48 2018 (r464755) +++ head/graphics/py-pillow/distinfo Sat Mar 17 05:21:35 2018 (r464756) @@ -1,3 +1,3 @@ -TIMESTAMP = 1482579087 -SHA256 (python-pillow-Pillow-3.4.2_GH0.tar.gz) = 0ee762ab924e004b7e69643b44e82cf65e0fa1f16862e11bd821950dbbc5f3d3 -SIZE (python-pillow-Pillow-3.4.2_GH0.tar.gz) = 10746584 +TIMESTAMP = 1521173377 +SHA256 (python-pillow-Pillow-5.0.0_GH0.tar.gz) = e85301adaa827b9f29ab518eff99d5719e572ca5f369866ebfe57a92e7135aec +SIZE (python-pillow-Pillow-5.0.0_GH0.tar.gz) = 14155901