svn commit: r464756 - head/graphics/py-pillow
Kubilay Kocak
koobs at FreeBSD.org
Sat Mar 17 05:21:36 UTC 2018
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 <ports caomhin org> [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 <bsd.port.post.mk>
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
More information about the svn-ports-all
mailing list