git: 175a85b9b594 - main - net/py-pystun3: New port: Python STUN client for getting NAT type and external IP

From: Jesús Daniel Colmenares Oviedo <dtxdf_at_FreeBSD.org>
Date: Thu, 27 Nov 2025 17:47:11 UTC
The branch main has been updated by dtxdf:

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

commit 175a85b9b5948088b11e3b69f14fa421bf704db9
Author:     Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
AuthorDate: 2025-11-27 17:44:03 +0000
Commit:     Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
CommitDate: 2025-11-27 17:44:58 +0000

    net/py-pystun3: New port: Python STUN client for getting NAT type and external IP
    
    PyStun3 is a Python STUN client for getting NAT type and external
    IP with support for Python versions 2 and 3.
---
 net/Makefile             |  1 +
 net/py-pystun3/Makefile  | 17 +++++++++++++++++
 net/py-pystun3/distinfo  |  3 +++
 net/py-pystun3/pkg-descr |  2 ++
 4 files changed, 23 insertions(+)

diff --git a/net/Makefile b/net/Makefile
index bfd1955c6408..57ed50aad4f6 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1133,6 +1133,7 @@
     SUBDIR += py-pysmb
     SUBDIR += py-pysocks
     SUBDIR += py-pystun
+    SUBDIR += py-pystun3
     SUBDIR += py-python-barbicanclient
     SUBDIR += py-python-bitcoinrpc
     SUBDIR += py-python-cinderclient
diff --git a/net/py-pystun3/Makefile b/net/py-pystun3/Makefile
new file mode 100644
index 000000000000..50db9a9151e1
--- /dev/null
+++ b/net/py-pystun3/Makefile
@@ -0,0 +1,17 @@
+PORTNAME=	pystun3
+PORTVERSION=	1.0.0
+CATEGORIES=	net python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	dtxdf@FreeBSD.org
+COMMENT=	Python STUN client for getting NAT type and external IP
+WWW=		https://pypi.org/project/pystun3/
+
+LICENSE=	MIT
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/net/py-pystun3/distinfo b/net/py-pystun3/distinfo
new file mode 100644
index 000000000000..df59a907c24f
--- /dev/null
+++ b/net/py-pystun3/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1764264918
+SHA256 (pystun3-1.0.0.tar.gz) = abafa1d957741df4bcc4cd2298a423db5831fec2600a62719210ea115dddc8f9
+SIZE (pystun3-1.0.0.tar.gz) = 5966
diff --git a/net/py-pystun3/pkg-descr b/net/py-pystun3/pkg-descr
new file mode 100644
index 000000000000..bc4c6707f5b0
--- /dev/null
+++ b/net/py-pystun3/pkg-descr
@@ -0,0 +1,2 @@
+PyStun3 is a Python STUN client for getting NAT type and external
+IP with support for Python versions 2 and 3.