summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>2025-11-27 13:44:03 -0400
committerJesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>2025-11-27 13:44:58 -0400
commit175a85b9b5948088b11e3b69f14fa421bf704db9 (patch)
tree865784d2cb9dc6f28bf15873ccdfc9df1e20d737
parentlang/spidermonkey115: mark DEPRECATED, without expiration date for now (diff)
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.
-rw-r--r--net/Makefile1
-rw-r--r--net/py-pystun3/Makefile17
-rw-r--r--net/py-pystun3/distinfo3
-rw-r--r--net/py-pystun3/pkg-descr2
4 files changed, 23 insertions, 0 deletions
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.