From cc693618e1972bd62f646f7eb709a87d02f3c7ba Mon Sep 17 00:00:00 2001 From: Marius Schamschula Date: Mon, 30 Dec 2024 08:08:57 -0600 Subject: [PATCH] py-imagecodecs: update to 2024.12.30 --- python/py-imagecodecs/Portfile | 25 +++++-------------- .../py-imagecodecs/files/patch-setup.py.diff | 11 -------- 2 files changed, 6 insertions(+), 30 deletions(-) delete mode 100644 python/py-imagecodecs/files/patch-setup.py.diff diff --git a/python/py-imagecodecs/Portfile b/python/py-imagecodecs/Portfile index bf5674ffc717e..c8f7be5f52bb1 100644 --- a/python/py-imagecodecs/Portfile +++ b/python/py-imagecodecs/Portfile @@ -5,8 +5,8 @@ PortGroup python 1.0 name py-imagecodecs epoch 1 -version 2024.9.22 -revision 1 +version 2024.12.30 +revision 0 categories-append graphics license BSD @@ -17,9 +17,9 @@ long_description {*}${description} homepage https://github.com/cgohlke/imagecodecs/ -checksums rmd160 12beb6d8104470769bbd6d85c06d37571e848dcf \ - sha256 fea0801b4008d25e971918d991397a351bbe76276cfa98eed2de54cb87e894a3 \ - size 9483739 +checksums rmd160 d9cf49479dc60d09c543ff916fecec40073f3f27 \ + sha256 4c88f745719313cabea6dd5f1e69c9f93346de91c0f1e770eb969f2232247f21 \ + size 9502615 python.versions 39 310 311 312 313 @@ -29,7 +29,7 @@ if {${name} ne ${subport}} { depends_build-append \ path:bin/cython-${python.branch}:py${python.version}-cython - depends_lib-append \ + depends_lib-append \ port:blosc \ port:brotli \ port:brunsli \ @@ -48,17 +48,4 @@ if {${name} ne ${subport}} { port:webp \ port:zopfli \ port:zstd - - post-extract { - # DOS to UNIX line endings so we can patch. - reinplace -W ${worksrcpath} "s|\r||g" \ - setup.py - } - - patchfiles patch-setup.py.diff - - post-patch { - reinplace "s|%PREFIX%|${prefix}|g" \ - ${worksrcpath}/setup.py - } } diff --git a/python/py-imagecodecs/files/patch-setup.py.diff b/python/py-imagecodecs/files/patch-setup.py.diff deleted file mode 100644 index f4efa543ab90f..0000000000000 --- a/python/py-imagecodecs/files/patch-setup.py.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- setup.py.orig 2024-09-21 00:14:09 -+++ setup.py 2024-09-22 20:10:24 -@@ -594,7 +594,7 @@ - del EXTENSIONS['zlibng'] - - # uncomment if building with libjpeg-turbo 3 -- # EXTENSIONS['jpeg8']['sources'] = [] -+ EXTENSIONS['jpeg8']['sources'] = [] - - EXTENSIONS['szip']['library_dirs'] = ['%PREFIX%/lib/libaec/lib'] - EXTENSIONS['szip']['include_dirs'] = ['%PREFIX%/lib/libaec/include']