notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
py-triangle Python interface to triangle
20200424 math on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 20200424Version of this port present on the latest quarterly branch.
Maintainer: db@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2020-03-19 14:21:49
Last Update: 2021-04-07 08:09:01
Commit Hash: cf118cc
License: LGPL3
Description:
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}triangle>0:math/py-triangle@${PY_FLAVOR}
To install the port: cd /usr/ports/math/py-triangle/ && make install clean
To add the package, run one of these commands:
  • pkg install math/py-triangle
  • pkg install py37-triangle
NOTE: This is a Python port. Instead of py37-triangle listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py37-triangle
Package flavors (<flavor>: <package>)
  • py37: py37-triangle
distinfo:
Packages (timestamps in pop-ups are UTC):
py27-triangle
ABIlatestquarterly
FreeBSD:11:aarch64-20190115.3
FreeBSD:11:amd64--
FreeBSD:11:armv6-20190115.3
FreeBSD:11:i386--
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch64--
FreeBSD:12:amd64--
FreeBSD:12:armv6-20190115.3
FreeBSD:12:armv7-20190115.3
FreeBSD:12:i386--
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64--
FreeBSD:13:aarch64--
FreeBSD:13:amd64--
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i386--
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64--
FreeBSD:14:aarch64--
FreeBSD:14:amd64--
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i386--
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc64--
 
py37-triangle
ABIlatestquarterly
FreeBSD:11:aarch64-20190115.3
FreeBSD:11:amd64--
FreeBSD:11:armv6-20190115.3
FreeBSD:11:i386--
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch64--
FreeBSD:12:amd64--
FreeBSD:12:armv6-20190115.3
FreeBSD:12:armv7-20190115.3
FreeBSD:12:i386--
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64-20200424
FreeBSD:13:aarch6420200424-
FreeBSD:13:amd64--
FreeBSD:13:armv62020042420200424
FreeBSD:13:armv72020042420200424
FreeBSD:13:i386--
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc6420200424-
FreeBSD:14:aarch64--
FreeBSD:14:amd64--
FreeBSD:14:armv620200424-
FreeBSD:14:armv720200424-
FreeBSD:14:i386--
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc6420200424-
 
py38-triangle
ABIlatestquarterly
FreeBSD:11:aarch64--
FreeBSD:11:amd642020042420200424
FreeBSD:11:armv6--
FreeBSD:11:i3862020042420200424
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch64-20200424
FreeBSD:12:amd642020042420200424
FreeBSD:12:armv6--
FreeBSD:12:armv7--
FreeBSD:12:i3862020042420200424
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64--
FreeBSD:13:aarch64-20200424
FreeBSD:13:amd642020042420200424
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i3862020042420200424
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64-20200424
FreeBSD:14:aarch6420200424-
FreeBSD:14:amd6420200424-
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i38620200424-
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc64--
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. triangle>0 : math/triangle
  2. py37-setuptools>0 : devel/py-setuptools@py37
  3. python3.7 : lang/python37
Runtime dependencies:
  1. py37-setuptools>0 : devel/py-setuptools@py37
  2. python3.7 : lang/python37
This port is required by:
for Build
  1. devel/py-trimesh
for Run
  1. devel/py-trimesh

Configuration Options:
Options name:

USES:

Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/t/triangle/
  2. https://pypi.org/packages/source/t/triangle/
Collapse this list.

Number of commits found: 6

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
07 Apr 2021 08:09:01
 files touched by this commit commit hash:cf118ccf875508b9a1c570044c93cfcc82bd455c  20200424
mat search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  20200424
mat search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
28 Dec 2020 23:02:15
Original commit files touched by this commit Revision:559531  20200424
antoine search for other commits by this committer
Drop python 2.7 support from a few ports

With hat:	portmgr
24 Dec 2020 13:46:02
Original commit files touched by this commit Revision:559094  20200424
kai search for other commits by this committer
Relax hardcoded paths to fix build with Python 3.8.7

Since r558913 Python 3.8 incorporates BPO-42604 [1] which changed the
shared libs naming scheme.  This means "EXT_SUFFIX" is now derived from
SOABI and yields with Python 3.8 to ".cpython-38.so" instead of ".so".

The affected ports strip the libaries in the "post-install" target via
hardcoded path(s) and the build fails at the end because the new extension
is not expected at this place.

Remedy the issue by adding wildcards to these paths.  This should also
prepare the ports for future Python releases, which will use the new shared
libs naming scheme.

[1] https://bugs.python.org/issue42604

PR:		252057
Reported by:	John Kennedy
Reviewed by:	fluffy, koobs
Approved by:	koobs (python)
08 Dec 2020 23:45:22
Original commit files touched by this commit Revision:557315  20200424
db search for other commits by this committer
Update to 20200424 to fix python 3.9 compatibility

The current version fails to build with Python 3.9:
triangle/core.c:20740:77: error: no member named 'tp_print' in 'struct
_typeobject'
 
__pyx_type_8triangle_4core___pyx_scope_struct____pyx_f_8triangle_4core_ii.tp_print
= 0;
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
triangle/core.c:20746:78: error: no member named 'tp_print' in 'struct
_typeobject'
 
__pyx_type_8triangle_4core___pyx_scope_struct_1___pyx_f_8triangle_4core_dd.tp_print
= 0;
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^

etc.

The latest version has been regenerated with newer Cython which supports 3.9.

PR:		ports/251469
Reported by:	Greg V <greg@unrelenting.technology>
19 Mar 2020 14:21:40
Original commit files touched by this commit Revision:528725  20190115.3
db search for other commits by this committer
*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.

WWW: https://rufat.be/triangle

Number of commits found: 6