Files
2026-04-13 13:39:48 -04:00

39 lines
1.1 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-wand
python.rootname Wand
version 0.7.0
revision 0
categories-append graphics
license MIT
supported_archs noarch
platforms {darwin any}
python.versions 310 311 312 313 314
maintainers {stromnov @stromnov} openmaintainer
description Ctypes-based simple MagickWand API binding for Python
long_description {*}${description}
homepage https://docs.wand-py.org/
distname wand-${version}
checksums rmd160 6b3e18ab755734784f5f26eb7e0651f6eaf138d4 \
sha256 e48f983cc248c23f752e5ba8a6aa1b09370c87d81425d2cc7474f4536c0740f9 \
size 11888946
if {${name} ne ${subport}} {
depends_lib-append port:ImageMagick
patchfiles-append patch-wand_api.py.diff
post-patch {
reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/wand/api.py
}
}