BSD Ports

math/py-triangle 20250106 FreeBSD

Python interface to triangle

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
2ba9528464
License
LGPL3
Categories
math, python
Package size
1160.7 KiB, 4199.1 KiB installed

Description

Triangle is a python wrapper around Jonathan Richard Shewchuk's two-dimensional quality mesh generator and delaunay triangulator library. This implementation utilizes Cython to wrap the C API as closely as possible.

In the other systems

SystemPortVersion
FreeBSDmath/py-triangle20250106
DragonFlymath/py-triangle20200424
MidnightBSDmath/py-triangle20230923_3

Install

Binary package:

pkg install py312-triangle

From the ports tree:

cd /usr/ports/math/py-triangle/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-triangle>0:math/py-triangle

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest20230923_120230923_12020042420230923_120230923_1
FreeBSD:14:quarterly20230923_120230923_1n/a20230923_120230923_1
FreeBSD:15:latest20230923_120230923_1n/a20230923_120230923_1
FreeBSD:15:quarterly20230923_120230923_1n/an/an/a
FreeBSD:16:latest20230923_120230923_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 23
Run dependencies 16

No port depends on this one.

Configuration

No options to configure.

USES
compiler:c++11-lang python
Service scripts
none

Files

distinfo 2
FileSizeSHA256
drufat-triangle-v20250106_GH0.tar.gz1.450918e+0679fd8d47da786aa97223140336662fd4ab8b387b742848e37163fc42c3ad182d
drufat-triangle-c-8b9e104_GH0.tar.gz153986e8f0c1523c016b017a4e47967360c6e6d97b8d6ac27290fd384bebc458e2e7bf
Master sites 1
  • PYPI

Commit history 1

DateCommitCreditsLog message
2ba9528464 Diane Bruce math/py-triangle: unbreak with Python 3.13
math/py-triangle 20230923 does not build with Python 3.13. In the Python 3.13 exp-run of 2026-07-13 it failed in the build phase: triangle/core.c:31640:67: error: too few arguments to function call, expected 6, have 5 31638 | ret = _PyLong_AsByteArray((PyLongObject *)v, 31639 | bytes, sizeof(val), 31640 | is_little, !is_unsigned); Log: https://pkg-status.freebsd.org/gohan06/data/150amd64-default-foo/2026-07-13_05h37m51s/logs/errors/py313-triangle-20230923_1.log The release ships a core.c generated by an older Cython, which calls _PyLong_AsByteArray() with the old argument list; Python 3.13 added a sixth argument. …