mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
bfde2eb30f
gvRenderData()'s fourth argument changed from unsigned int * to size_t *, which makes llvm22 unhappy. Adjust prototype and use SWIG to generate the binding wrap.c. Based on upstream PR #523.
33 lines
559 B
Makefile
33 lines
559 B
Makefile
COMMENT = Python interface to the Graphviz visualization package
|
|
|
|
MODPY_DISTV = 1.14
|
|
DISTNAME = pygraphviz-${MODPY_DISTV}
|
|
PKGNAME = py-${DISTNAME}
|
|
CATEGORIES = math
|
|
REVISION = 1
|
|
|
|
HOMEPAGE = https://pygraphviz.github.io/
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += cdt cgraph gvc
|
|
|
|
MODULES = lang/python
|
|
|
|
MODPY_PI = Yes
|
|
MODPY_PYBUILD = setuptools
|
|
MODPY_TEST_LINK_SO = Yes
|
|
|
|
BUILD_DEPENDS += devel/swig
|
|
|
|
LIB_DEPENDS += math/graphviz
|
|
|
|
CFLAGS += -I${LOCALBASE}/include
|
|
LDFLAGS += -L${LOCALBASE}/lib
|
|
|
|
post-patch:
|
|
${SUBST_CMD} ${WRKSRC}/setup.py
|
|
|
|
.include <bsd.port.mk>
|