You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
72 lines
2.6 KiB
Tcl
72 lines
2.6 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-scikit-image
|
|
python.rootname scikit_image
|
|
version 0.25.2
|
|
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 1f79075e17fc1ca27cfd2ad5be03474f \
|
|
rmd160 797db556c4de8ec4345ef8d3422df63994d5dee5 \
|
|
sha256 e5a37e6cd4d0c018a7a55b9d601357e3382826d3888c10d0213fc63bff977dde \
|
|
size 22693594
|
|
|
|
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
|
|
}
|