You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
58 lines
1.8 KiB
Tcl
58 lines
1.8 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
PortGroup python 1.0
|
|
|
|
name py-imagecodecs
|
|
epoch 1
|
|
version 2025.3.30
|
|
revision 0
|
|
|
|
categories-append graphics
|
|
license BSD
|
|
maintainers {mps @Schamschula} openmaintainer
|
|
|
|
description Image transformation, compression, and decompression codecs
|
|
long_description {*}${description}
|
|
|
|
homepage https://github.com/cgohlke/imagecodecs/
|
|
|
|
checksums rmd160 9692b8653b6856a301fd2acffec991b447e64a0b \
|
|
sha256 29256f44a7fcfb8f235a3e9b3bae72b06ea2112e63bcc892267a8c01b7097f90 \
|
|
size 9506573
|
|
|
|
python.versions 310 311 312 313
|
|
|
|
if {${name} ne ${subport}} {
|
|
platforms {darwin >= 17}
|
|
|
|
depends_build-append \
|
|
path:bin/cython-${python.branch}:py${python.version}-cython
|
|
|
|
depends_lib-append \
|
|
port:blosc \
|
|
port:brotli \
|
|
port:brunsli \
|
|
port:bzip2 \
|
|
port:cfitsio \
|
|
port:charls \
|
|
port:giflib5 \
|
|
port:libaec \
|
|
port:libjpeg-turbo \
|
|
port:libjxl \
|
|
port:openjpeg \
|
|
port:py${python.version}-numpy \
|
|
port:py${python.version}-pyobjc \
|
|
port:snappy \
|
|
port:tiff \
|
|
port:webp \
|
|
port:zopfli \
|
|
port:zstd
|
|
|
|
patchfiles patch-pyproject.toml.diff
|
|
|
|
post-patch {
|
|
reinplace "s|%PREFIX%|${prefix}|g" ${worksrcpath}/setup.py
|
|
}
|
|
}
|