# -*- 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-scikit-image python.rootname scikit_image version 0.25.0 revision 0 categories-append science license BSD python.versions 39 310 311 312 313 python.pep517_backend meson maintainers {stromnov @stromnov} openmaintainer description Image processing algorithms for SciPy. long_description Image processing algorithms for SciPy, including IO, \ morphology, filtering, warping, color manipulation, \ object detection, etc. homepage https://scikit-image.org/ checksums md5 bdddc9565fd64fb6ac6984a5a31f51b8 \ rmd160 df0ea1ddf1dee7fe8bc79b00ccf5003686d26267 \ sha256 58d94fea11b6b3306b3770417dc1cbca7fa9bcbd6a13945d7910399c88c2018c \ size 22696477 if {${name} ne ${subport}} { compiler.openmp_version 2.5 if {${python.version} == 39} { version 0.24.0 revision 0 checksums md5 c91af89808e4aa0d485f62072c81670a \ rmd160 b02c21901ca7ad16a8c5504375120608e71a6868 \ sha256 5d16efe95da8edbeb363e0c4157b99becbd650a60b77f6e3af5768b66cf007ab \ size 22693928 patchfiles-append patch-pyproject.toml-0.24.0.diff } else { patchfiles-append patch-pyproject.toml.diff } depends_build-append \ path:bin/cython-${python.branch}:py${python.version}-cython \ port:py${python.version}-pythran depends_lib-append port:py${python.version}-lazy_loader \ port:py${python.version}-numpy \ port:py${python.version}-packaging \ port:py${python.version}-scipy depends_run-append port:py${python.version}-matplotlib \ port:py${python.version}-networkx \ port:py${python.version}-Pillow \ port:py${python.version}-imageio \ port:py${python.version}-pywavelets \ port:py${python.version}-tifffile post-patch { reinplace "s|#!/usr/bin/env python.*|#!${python.bin}|" \ {*}[glob -directory ${worksrcpath}/skimage/_build_utils {[a-z]*.py}] } build.env-append PATH=${python.prefix}/bin:$::env(PATH) livecheck.type none }