Kiwi is an efficient C++ implementation of the Cassowary constraint solving algorithm. 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. In addition to the C++ solver, Kiwi ships with hand-rolled Python bindings. OK daniel@
24 lines
446 B
Makefile
24 lines
446 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.2 2018/10/18 14:08:52 bket Exp $
|
|
|
|
COMMENT = fast implementation of the Cassowary constraint solver
|
|
|
|
MODPY_EGG_VERSION = 1.0.1
|
|
DISTNAME = kiwisolver-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-${DISTNAME}
|
|
|
|
CATEGORIES = devel
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB = ${COMPILER_LIBCXX} ${MODPY_WANTLIB} m
|
|
|
|
MODULES = lang/python
|
|
MODPY_PI = Yes
|
|
MODPY_SETUPTOOLS = Yes
|
|
|
|
FLAVORS = python3
|
|
FLAVOR ?=
|
|
|
|
.include <bsd.port.mk>
|