aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesús Daniel Colmenares Oviedo <DtxdF@disroot.org>2023-04-29 13:18:21 +0000
committerRobert Clausecker <fuz@FreeBSD.org>2023-04-30 18:41:42 +0000
commit011549e36bbb336f8af23ae217777d7e364dd1b2 (patch)
treecc47ea14e27bc62c7b9390d69076a3a789b3660e
parent3dca3a11afbac2a4fc92147366b4a17c5437bbf9 (diff)
downloadports-011549e36bbb336f8af23ae217777d7e364dd1b2.tar.gz
ports-011549e36bbb336f8af23ae217777d7e364dd1b2.zip
net/py-speedometer: New port: Chart network TX/RX and file download rates on the console
Speedometer is a minimalistic python script that provides a TUI interface to measure and display the speed of data across a network connection or data being stored in a file. WWW: https://excess.org/speedometer/ PR: 270045
-rw-r--r--net/Makefile1
-rw-r--r--net/py-speedometer/Makefile20
-rw-r--r--net/py-speedometer/distinfo3
-rw-r--r--net/py-speedometer/pkg-descr3
4 files changed, 27 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 5691f3ea1404..7e8140d7f268 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1142,6 +1142,7 @@
SUBDIR += py-socketio-client
SUBDIR += py-socksio
SUBDIR += py-softlayer
+ SUBDIR += py-speedometer
SUBDIR += py-speedtest-cli
SUBDIR += py-sshtunnel
SUBDIR += py-sshuttle
diff --git a/net/py-speedometer/Makefile b/net/py-speedometer/Makefile
new file mode 100644
index 000000000000..c8850221ad24
--- /dev/null
+++ b/net/py-speedometer/Makefile
@@ -0,0 +1,20 @@
+PORTNAME= Speedometer
+DISTVERSION= 2.9
+CATEGORIES= net python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= DtxdF@disroot.org
+COMMENT= Chart network TX/RX and file download rates on the console
+WWW= https://excess.org/speedometer/
+
+LICENSE= LGPL21
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}urwid>0:devel/py-urwid@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/net/py-speedometer/distinfo b/net/py-speedometer/distinfo
new file mode 100644
index 000000000000..b549b359adeb
--- /dev/null
+++ b/net/py-speedometer/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1678285767
+SHA256 (Speedometer-2.9.tar.gz) = cc59a982a264737df5c5b205121de9377b3dff856a2762c029de7d9a0a51c583
+SIZE (Speedometer-2.9.tar.gz) = 22100
diff --git a/net/py-speedometer/pkg-descr b/net/py-speedometer/pkg-descr
new file mode 100644
index 000000000000..4f49f3cd3fbe
--- /dev/null
+++ b/net/py-speedometer/pkg-descr
@@ -0,0 +1,3 @@
+Speedometer is a minimalistic python script that provides a TUI
+interface to measure and display the speed of data across a network
+connection or data being stored in a file.