pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/py-imageio Update py-imageio to 2.8.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/28502403407f
branches:  trunk
changeset: 428398:28502403407f
user:      prlw1 <prlw1%pkgsrc.org@localhost>
date:      Mon Apr 27 16:21:53 2020 +0000

description:
Update py-imageio to 2.8.0

Highlights:
- Add support for compressed FITS images
- Fix security vulnerability rlt dcmjpeg code path (#483)
- delete py2 compat code
- remove avbin support (#511)

diffstat:

 graphics/py-imageio/Makefile |  13 +++++++------
 graphics/py-imageio/PLIST    |   5 +----
 graphics/py-imageio/distinfo |  10 +++++-----
 3 files changed, 13 insertions(+), 15 deletions(-)

diffs (65 lines):

diff -r 9fc85e900180 -r 28502403407f graphics/py-imageio/Makefile
--- a/graphics/py-imageio/Makefile      Mon Apr 27 15:58:09 2020 +0000
+++ b/graphics/py-imageio/Makefile      Mon Apr 27 16:21:53 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2020/01/18 23:32:18 rillig Exp $
+# $NetBSD: Makefile,v 1.4 2020/04/27 16:21:53 prlw1 Exp $
 
-DISTNAME=      imageio-2.5.0
+DISTNAME=      imageio-2.8.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    graphics python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=i/imageio/}
@@ -14,13 +14,14 @@
 DEPENDS+=      ${PYPKGPREFIX}-numpy-[0-9]*:../../math/py-numpy
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
-.include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} == 27
-DEPENDS+=      ${PYPKGPREFIX}-futures-[0-9]*:../../devel/py-futures
-.endif
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 USE_LANGUAGES= # none
 
+post-extract:
+       cd ${WRKSRC}/imageio/resources && \
+       ${CHMOD} 644 shipped_resources_go_here images/*
+
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} imageio_download_bin imageio_download_bin-${PYVERSSUFFIX} && \
diff -r 9fc85e900180 -r 28502403407f graphics/py-imageio/PLIST
--- a/graphics/py-imageio/PLIST Mon Apr 27 15:58:09 2020 +0000
+++ b/graphics/py-imageio/PLIST Mon Apr 27 16:21:53 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2019/06/17 14:52:30 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2020/04/27 16:21:53 prlw1 Exp $
 bin/imageio_download_bin-${PYVERSSUFFIX}
 bin/imageio_remove_bin-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
@@ -55,9 +55,6 @@
 ${PYSITELIB}/imageio/plugins/_tifffile.py
 ${PYSITELIB}/imageio/plugins/_tifffile.pyc
 ${PYSITELIB}/imageio/plugins/_tifffile.pyo
-${PYSITELIB}/imageio/plugins/avbin.py
-${PYSITELIB}/imageio/plugins/avbin.pyc
-${PYSITELIB}/imageio/plugins/avbin.pyo
 ${PYSITELIB}/imageio/plugins/bsdf.py
 ${PYSITELIB}/imageio/plugins/bsdf.pyc
 ${PYSITELIB}/imageio/plugins/bsdf.pyo
diff -r 9fc85e900180 -r 28502403407f graphics/py-imageio/distinfo
--- a/graphics/py-imageio/distinfo      Mon Apr 27 15:58:09 2020 +0000
+++ b/graphics/py-imageio/distinfo      Mon Apr 27 16:21:53 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2019/06/17 14:52:30 adam Exp $
+$NetBSD: distinfo,v 1.3 2020/04/27 16:21:53 prlw1 Exp $
 
-SHA1 (imageio-2.5.0.tar.gz) = f428f669218f7fd0b17470f96d2ee291fc1e20c2
-RMD160 (imageio-2.5.0.tar.gz) = 80d65d195bdec0c506b08b1258bdf930c4460fb9
-SHA512 (imageio-2.5.0.tar.gz) = 382de0ad03966c8e8a8452eccde13d7471f29a271690b66046b5477467f54d2d2eb5196b0ae90f8484375042f3509468000b62f613ae666938e1257c53f6347c
-Size (imageio-2.5.0.tar.gz) = 3349024 bytes
+SHA1 (imageio-2.8.0.tar.gz) = 8d7e8024936eff77bf76048d54a214a7124ce497
+RMD160 (imageio-2.8.0.tar.gz) = 4cf60c4198cecc3cfa67a03994a2342c4cea9b91
+SHA512 (imageio-2.8.0.tar.gz) = e43c72cab8d3443c4511751b8bafd7d9aa5470d6a45f8f769fdb3ad9a0b0fc798169fd42a0aef96c2b86f81681bdb578dbf284bb7a2a39001b9020f6bcbaac8b
+Size (imageio-2.8.0.tar.gz) = 3340492 bytes



Home | Main Index | Thread Index | Old Index