You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-03-31 14:42:53 -07:00
56 lines
1.7 KiB
Tcl
56 lines
1.7 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 2026.3.6
|
|
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 f0eb45e8fba6b7901cac87d54db0a8464e0ab43a \
|
|
sha256 471b8a4d1b3843cbf7179b45f7d7261f0c0b28809efc1ca6c47822477b143b85 \
|
|
size 9565259
|
|
|
|
python.versions 310 311 312 313 314
|
|
|
|
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
|
|
|
|
post-patch {
|
|
reinplace "s|%PREFIX%|${prefix}|g" ${worksrcpath}/setup.py
|
|
}
|
|
}
|