Created attachment 223938 [details] 0001-net-speedtest-cli-Update-to-2.1.3.patch
Created attachment 223939 [details] 0001-net-py-speedtest-cli-Update-to-2.1.3.patch
Current 2.1.2 version has some error on executing: Retrieving speedtest.net configuration... Traceback (most recent call last): File "/usr/local/bin/speedtest", line 11, in <module> load_entry_point('speedtest-cli==2.1.2', 'console_scripts', 'speedtest')() File "/usr/local/lib/python3.7/site-packages/speedtest.py", line 1986, in main shell() File "/usr/local/lib/python3.7/site-packages/speedtest.py", line 1875, in shell secure=args.secure File "/usr/local/lib/python3.7/site-packages/speedtest.py", line 1091, in __init__ self.get_config() File "/usr/local/lib/python3.7/site-packages/speedtest.py", line 1174, in get_config map(int, server_config['ignoreids'].split(',')) ValueError: invalid literal for int() with base r10: ''
(In reply to Li-Wen Hsu from comment #1) Can confirm this patch works, thank you (tested on stable/13, both amd64 and arm64, very recent ports tree update)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=ee9e5cfd9328ecd7cc0aec2db0c0e8c086ade442 commit ee9e5cfd9328ecd7cc0aec2db0c0e8c086ade442 Author: Nicola Vitale <nivit@FreeBSD.org> AuthorDate: 2021-04-12 14:50:43 +0000 Commit: Nicola Vitale <nivit@FreeBSD.org> CommitDate: 2021-04-12 14:58:15 +0000 net/py-speedtest-cli: update to 2.1.3 Changes: https://github.com/sivel/speedtest-cli/releases/tag/v2.1.3 PR: 254906 Submitted by: lwhsu net/py-speedtest-cli/Makefile | 4 ++-- net/py-speedtest-cli/distinfo | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-)
Committed. Thank you for the PR!
(In reply to Nicola Vitale from comment #5) Please MFH this to 2021Q2.
A commit in branch 2021Q2 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=67b6c1736054d19c72974e203bc58ebe9ec758a2 commit 67b6c1736054d19c72974e203bc58ebe9ec758a2 Author: Nicola Vitale <nivit@FreeBSD.org> AuthorDate: 2021-04-12 14:50:43 +0000 Commit: Guangyuan Yang <ygy@FreeBSD.org> CommitDate: 2021-05-31 05:28:22 +0000 net/py-speedtest-cli: update to 2.1.3 v2.1.3 includes a runtime fix [1], without which the port is not usable, hence it needs to be MFH'ed. [1]: https://github.com/sivel/speedtest-cli/pull/769 Changes: https://github.com/sivel/speedtest-cli/releases/tag/v2.1.3 PR: 254906, 256181 MFH Approved by: lwhsu (mentor), portmgr (blanket, runtime fix) (cherry picked from commit ee9e5cfd9328ecd7cc0aec2db0c0e8c086ade442) net/py-speedtest-cli/Makefile | 4 ++-- net/py-speedtest-cli/distinfo | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-)
MFH'ed this into 2021Q2, since this version includes a runtime fix, without which the port is not usable.