git: fbe2ea3d98fd - main - net/py-pyroute2: Update to 0.9.6

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 29 Sep 2026 19:30:50 UTC
The branch main has been updated by sunpoet:

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

commit fbe2ea3d98fdaab75405ee0d143a482c319cd11f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-09-29 19:00:23 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-09-29 19:25:04 +0000

    net/py-pyroute2: Update to 0.9.6
    
    - Add GitHub to MASTER_SITES
    
    Changes:        https://github.com/svinota/pyroute2/releases
---
 net/py-pyroute2/Makefile                   |  9 +++++----
 net/py-pyroute2/distinfo                   |  6 +++---
 net/py-pyroute2/files/patch-pyproject.toml | 12 ++++++++++++
 3 files changed, 20 insertions(+), 7 deletions(-)

diff --git a/net/py-pyroute2/Makefile b/net/py-pyroute2/Makefile
index 361bda05cb5b..1df2d58cb6c9 100644
--- a/net/py-pyroute2/Makefile
+++ b/net/py-pyroute2/Makefile
@@ -1,7 +1,8 @@
 PORTNAME=	pyroute2
-PORTVERSION=	0.7.12
+PORTVERSION=	0.9.6
 CATEGORIES=	net python
-MASTER_SITES=	PYPI
+MASTER_SITES=	PYPI \
+		https://github.com/svinota/pyroute2/releases/download/${PORTVERSION}/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	sunpoet@FreeBSD.org
@@ -23,8 +24,8 @@ USE_PYTHON=	autoplist concurrent pep517
 NO_ARCH=	yes
 
 OPTIONS_DEFINE=	SS2
-SS2_DESC=	Socket statistics
+SS2_DESC=	Socket statistics # pyroute2/netlink/diag/ss2.py
 
-SS2_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}psutil>=5.0<6:sysutils/py-psutil@${PY_FLAVOR}
+SS2_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}psutil>=5.0:sysutils/py-psutil@${PY_FLAVOR}
 
 .include <bsd.port.mk>
diff --git a/net/py-pyroute2/distinfo b/net/py-pyroute2/distinfo
index 71b141113112..9883ac74a9d8 100644
--- a/net/py-pyroute2/distinfo
+++ b/net/py-pyroute2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1708449418
-SHA256 (pyroute2-0.7.12.tar.gz) = 54d226fc3ff2732f49bac9b26853c50c9d05be05a4d9daf09c7cf6d77301eff3
-SIZE (pyroute2-0.7.12.tar.gz) = 423519
+TIMESTAMP = 1790435900
+SHA256 (pyroute2-0.9.6.tar.gz) = 6bc5e2ea9a372ded682b4ede4028ba00236bd6e35b42d833f39a96b219ef1db2
+SIZE (pyroute2-0.9.6.tar.gz) = 478486
diff --git a/net/py-pyroute2/files/patch-pyproject.toml b/net/py-pyroute2/files/patch-pyproject.toml
new file mode 100644
index 000000000000..403ba02eb661
--- /dev/null
+++ b/net/py-pyroute2/files/patch-pyproject.toml
@@ -0,0 +1,12 @@
+--- pyproject.toml.orig	2025-12-16 09:56:26 UTC
++++ pyproject.toml
+@@ -7,8 +7,7 @@ readme = "README.rst"
+ dynamic = ["version"]
+ description = "Python Netlink library"
+ readme = "README.rst"
+-license = "GPL-2.0-or-later OR Apache-2.0"
+-license-files = ["LICENSE*"]
++license = {text = "GPL-2.0-or-later OR Apache-2.0"}
+ authors = [
+     {name = "Peter Saveliev", email = "peter@svinota.eu"}
+ ]