git: 3456aa95b690 - main - graphics/py-neatnet: Add py-neatnet 0.1.6

Po-Chuan Hsieh <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3456aa95b690cba71a13ee0ff2422af15da002d4

commit 3456aa95b690cba71a13ee0ff2422af15da002d4
Author:     Po-Chuan Hsieh <[email protected]>
AuthorDate: 2026-08-19 12:24:30 +0000
Commit:     Po-Chuan Hsieh <[email protected]>
CommitDate: 2026-08-19 12:55:11 +0000

    graphics/py-neatnet: Add py-neatnet 0.1.6
    
    neatnet offers a set of tools pre-processing of street network geometry aimed at
    its simplification. This typically means removal of dual carrieageways,
    roundabouts and similar transportation-focused geometries and their replacement
    with a new geometry representing the street space via its centerline. The
    resulting geometry shall be closer to a morphological representation of space
    than the original source, that is typically drawn with transportation in mind
    (e.g. OpenStreetMap).
---
 graphics/Makefile             |  1 +
 graphics/py-neatnet/Makefile  | 34 ++++++++++++++++++++++++++++++++++
 graphics/py-neatnet/distinfo  |  3 +++
 graphics/py-neatnet/pkg-descr |  7 +++++++
 4 files changed, 45 insertions(+)

diff --git a/graphics/Makefile b/graphics/Makefile
index 07cea35f0761..5ad59a8b0832 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -987,6 +987,7 @@
     SUBDIR += py-mpl-scatter-density
     SUBDIR += py-napari-console
     SUBDIR += py-napari-plugin-engine
+    SUBDIR += py-neatnet
     SUBDIR += py-nwdiag
     SUBDIR += py-olmocr
     SUBDIR += py-opencolorio
diff --git a/graphics/py-neatnet/Makefile b/graphics/py-neatnet/Makefile
new file mode 100644
index 000000000000..09ca114c0008
--- /dev/null
+++ b/graphics/py-neatnet/Makefile
@@ -0,0 +1,34 @@
+PORTNAME=	neatnet
+PORTVERSION=	0.1.6
+CATEGORIES=	graphics python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	[email protected]
+COMMENT=	Street geometry processing toolkit
+WWW=		https://uscuni.org/neatnet/ \
+		https://github.com/uscuni/neatnet
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61.0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2:devel/py-setuptools-scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}esda>=2.6.0:science/py-esda@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}geopandas>=1.0.1:graphics/py-geopandas@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}libpysal>=4.12.1:science/py-libpysal@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}momepy>=0.9.0:graphics/py-momepy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}networkx>=3.3,2:math/py-networkx@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}numpy>=1.26,1:math/py-numpy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pandas>=2.2.3,1:math/py-pandas@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scikit-learn>=1.2.0:science/py-scikit-learn@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scipy>=1.14.1,1:science/py-scipy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}shapely>=2.0.6:devel/py-shapely@${PY_FLAVOR}
+
+USES=		python:3.11+
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/graphics/py-neatnet/distinfo b/graphics/py-neatnet/distinfo
new file mode 100644
index 000000000000..a97908b728ed
--- /dev/null
+++ b/graphics/py-neatnet/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1784005006
+SHA256 (neatnet-0.1.6.tar.gz) = a1f760e0875a7f42a778d86293c397b37ee61e71fba49769c2b3db30271a7fff
+SIZE (neatnet-0.1.6.tar.gz) = 25213051
diff --git a/graphics/py-neatnet/pkg-descr b/graphics/py-neatnet/pkg-descr
new file mode 100644
index 000000000000..46404e43a45d
--- /dev/null
+++ b/graphics/py-neatnet/pkg-descr
@@ -0,0 +1,7 @@
+neatnet offers a set of tools pre-processing of street network geometry aimed at
+its simplification. This typically means removal of dual carrieageways,
+roundabouts and similar transportation-focused geometries and their replacement
+with a new geometry representing the street space via its centerline. The
+resulting geometry shall be closer to a morphological representation of space
+than the original source, that is typically drawn with transportation in mind
+(e.g. OpenStreetMap).
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.