You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
42 lines
1.4 KiB
Tcl
42 lines
1.4 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-imread
|
|
version 0.7.6
|
|
revision 0
|
|
categories-append graphics
|
|
license MIT
|
|
|
|
python.versions 310 311 312
|
|
|
|
maintainers {stromnov @stromnov} openmaintainer
|
|
|
|
description Reads images into numpy arrays
|
|
long_description ${description}
|
|
|
|
homepage http://luispedro.org/software/imread/
|
|
|
|
checksums rmd160 f3452c043da22052ba71d890f90fe191e441f900 \
|
|
sha256 50b3d7089c862504c22b256ef51fe45851b34616db14c0ebfc5536001c996015 \
|
|
size 170681
|
|
|
|
if {${name} ne ${subport}} {
|
|
compiler.cxx_standard 2011
|
|
configure.cxxflags-append -std=c++11
|
|
configure.cc {*}${configure.cxx} {*}${configure.cxxflags}
|
|
build.env "CPPFLAGS=${configure.cppflags}"
|
|
|
|
depends_build-append \
|
|
port:py${python.version}-setuptools
|
|
depends_lib-append port:py${python.version}-numpy \
|
|
port:libpng \
|
|
path:include/turbojpeg.h:libjpeg-turbo \
|
|
port:tiff \
|
|
port:webp
|
|
|
|
patchfiles patch-setup.py.diff \
|
|
patch-imread__imread.cpp.diff
|
|
}
|