You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -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
|
|
version 2021.3.31
|
|
revision 0
|
|
|
|
categories-append graphics
|
|
platforms darwin
|
|
license BSD
|
|
maintainers {mps @Schamschula} openmaintainer
|
|
|
|
description Image transformation, compression, and decompression codecs
|
|
long_description {*}${description}
|
|
|
|
homepage https://www.lfd.uci.edu/~gohlke/
|
|
|
|
checksums rmd160 4bf34307dbebef6d48d8d5c1021f0909e4fba837 \
|
|
sha256 20de74033058105ef07218bf7ab2ec550c05a3e6bd5581d9daa6346e16d5f760 \
|
|
size 9581950
|
|
|
|
python.versions 37 38 39
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append \
|
|
port:py${python.version}-setuptools
|
|
|
|
depends_lib-append \
|
|
port:blosc \
|
|
port:brotli \
|
|
port:brunsli \
|
|
port:bzip2 \
|
|
port:charls \
|
|
port:giflib5 \
|
|
path:include/turbojpeg.h:libjpeg-turbo \
|
|
port:libaec \
|
|
port:openjpeg \
|
|
port:py${python.version}-cython \
|
|
port:py${python.version}-numpy \
|
|
port:py${python.version}-pyobjc \
|
|
port:snappy \
|
|
port:tiff \
|
|
port:webp \
|
|
port:zopfli \
|
|
port:zstd
|
|
|
|
patchfiles patch-setup.py.diff
|
|
|
|
post-patch {
|
|
reinplace "s|%PREFIX%|${prefix}|g" \
|
|
${worksrcpath}/setup.py
|
|
}
|
|
}
|