You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
62 lines
2.2 KiB
Tcl
62 lines
2.2 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-kiwisolver
|
|
version 1.5.0
|
|
revision 0
|
|
|
|
categories-append math
|
|
license BSD
|
|
maintainers {reneeotten @reneeotten} openmaintainer
|
|
|
|
description Kiwi is an efficient C++ implementation of the Cassowary constraint solving algorithm.
|
|
long_description Kiwi is an implementation of the algorithm based on the\
|
|
seminal Cassowary paper. It is not a refactoring of the\
|
|
original C++ solver. Kiwi has been designed from the ground\
|
|
up to be lightweight and fast. Kiwi ranges from 10x to 500x\
|
|
faster than the original Cassowary solver with typical use\
|
|
cases gaining a 40x improvement. Memory savings are\
|
|
consistently > 5x.
|
|
|
|
checksums rmd160 93f00392f5510cd9678fbd10c6f90c88db927b6b \
|
|
sha256 d4193f3d9dc3f6f79aaed0e5637f45d98850ebf01f7ca20e69457f3e8946b66a \
|
|
size 103482
|
|
|
|
homepage https://github.com/nucleic/kiwi
|
|
|
|
python.versions 27 310 311 312 313 314
|
|
|
|
if {${name} ne ${subport}} {
|
|
if {${python.version} == 27} {
|
|
version 1.1.0
|
|
revision 0
|
|
checksums rmd160 c048a5a4c5c843b4b6dd9a3a7aff361e6f5969be \
|
|
sha256 53eaed412477c836e1b9522c19858a8557d6e595077830146182225613b11a75 \
|
|
size 30847
|
|
|
|
depends_build-append \
|
|
port:py${python.version}-setuptools
|
|
} else {
|
|
compiler.cxx_standard 2011
|
|
|
|
depends_build-append \
|
|
port:py${python.version}-cppy \
|
|
port:py${python.version}-setuptools_scm
|
|
}
|
|
|
|
post-destroot {
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -d ${destroot}${docdir}
|
|
if {${python.version} == 27} {
|
|
xinstall -m 0644 -W ${worksrcpath} README.rst ${destroot}${docdir}
|
|
} else {
|
|
xinstall -m 0644 -W ${worksrcpath} LICENSE releasenotes.rst \
|
|
${destroot}${docdir}
|
|
}
|
|
}
|
|
|
|
test.run yes
|
|
}
|