You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
48 lines
1.6 KiB
Tcl
48 lines
1.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-svgelements
|
|
version 1.9.6
|
|
revision 0
|
|
|
|
license MIT
|
|
maintainers @abey79 openmaintainer
|
|
supported_archs noarch
|
|
platforms {darwin any}
|
|
|
|
description SVG Parsing for Elements, Paths, and other SVG Objects.
|
|
long_description svgelements does high fidelity SVG parsing and geometric rendering. \
|
|
The goal is to successfully and correctly process SVG for use with \
|
|
any scripts that may need or want to use SVG files as geometric data.
|
|
|
|
homepage https://github.com/meerk40t/svgelements
|
|
|
|
checksums rmd160 a58080a4efac91094c7b12605b09ccd2a2787745 \
|
|
sha256 7c02ad6404cd3d1771fd50e40fbfc0550b0893933466f86a6eb815f3ba3f37f7 \
|
|
size 162145
|
|
|
|
python.versions 310 311 312 313 314
|
|
|
|
if {${name} ne ${subport}} {
|
|
pre-patch {
|
|
# Fix CRLF newlines before patching.
|
|
reinplace "s/\r$//" \
|
|
test/test_cubic_bezier.py \
|
|
test/test_write.py
|
|
}
|
|
patchfiles-append \
|
|
0001-Fix-tests-by-fixing-typos.patch
|
|
|
|
depends_build-append \
|
|
port:py${python.version}-setuptools
|
|
|
|
depends_test-append \
|
|
port:py${python.version}-Pillow \
|
|
port:py${python.version}-numpy \
|
|
port:py${python.version}-scipy
|
|
|
|
test.run yes
|
|
}
|