git: 011549e36bbb - main - net/py-speedometer: New port: Chart network TX/RX and file download rates on the console
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 30 Apr 2023 18:43:05 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=011549e36bbb336f8af23ae217777d7e364dd1b2
commit 011549e36bbb336f8af23ae217777d7e364dd1b2
Author: Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>
AuthorDate: 2023-04-29 13:18:21 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-04-30 18:41:42 +0000
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
---
net/Makefile | 1 +
net/py-speedometer/Makefile | 20 ++++++++++++++++++++
net/py-speedometer/distinfo | 3 +++
net/py-speedometer/pkg-descr | 3 +++
4 files changed, 27 insertions(+)
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.