diff options
author | koobs <koobs@FreeBSD.org> | 2018-03-17 13:21:35 +0800 |
---|---|---|
committer | koobs <koobs@FreeBSD.org> | 2018-03-17 13:21:35 +0800 |
commit | e17437c4a89f20e8450c9b8bb75b59f1e97593e9 (patch) | |
tree | 3a77cba26ae56a911980be8d9ca648e52ba0c199 /graphics | |
parent | 4f766596c2fdb34eaae8c3dff3eb32c2d552161e (diff) | |
download | freebsd-ports-gnome-e17437c4a89f20e8450c9b8bb75b59f1e97593e9.tar.gz freebsd-ports-gnome-e17437c4a89f20e8450c9b8bb75b59f1e97593e9.tar.zst freebsd-ports-gnome-e17437c4a89f20e8450c9b8bb75b59f1e97593e9.zip |
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]
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/py-pillow/Makefile | 12 | ||||
-rw-r--r-- | graphics/py-pillow/distinfo | 6 |
2 files changed, 9 insertions, 9 deletions
diff --git a/graphics/py-pillow/Makefile b/graphics/py-pillow/Makefile index 13024ca0290a..15a68ead5b8f 100644 --- a/graphics/py-pillow/Makefile +++ b/graphics/py-pillow/Makefile @@ -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> diff --git a/graphics/py-pillow/distinfo b/graphics/py-pillow/distinfo index 059e5dc34ae6..f3b8f436e956 100644 --- a/graphics/py-pillow/distinfo +++ b/graphics/py-pillow/distinfo @@ -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 |