speedtest-cli: Update to 2.1.1 Changes: * Fixes for UTF-8 encoding of CSV output * Ensure the UTC ISO8601 date includes a Z offset * Fix calculation of uploads to perform per size * Pre-allocate upload data, but allow to disable pre-allocation, for memory limited devices * Support using --csv-delimiter with --csv-header * Redesigned Python API * Add option to exclude servers, and allow --server and --exclude to be specified multiple times * Address Exception issues * Print errors to stderr * Remove deprecated speedtest_cli.py * Handle malformed XML responses * Ensure --share works with --csv * Fix SSL communication during latency tests on python 2.6 and older * Handle error where latitude and longitude from config are invalid * Ensure we are utilizing the context created by HTTPSConnection, or falling back to ssl. * Automatically resolve .best property * Pass Content-Length header with POST requests * Fix install instructions with git clone * Add functionality for single threaded testing * Add debug support to show if a URL request resulted in a redirect * Add the python version to the version output * Switch from platform.system to platform.platform when building the User-Agent header * Don't pass server_hostname to ssl.wrap_socket * ensure ERROR doesn't print an empty string * Fix SSL support on Python2.4 and Python2.5diff -r1.5 -r1.6 pkgsrc/net/speedtest-cli/Makefile
(nia)
@@ -1,26 +1,26 @@ | @@ -1,26 +1,26 @@ | |||
1 | # $NetBSD: Makefile,v 1.5 2019/04/25 07:33:13 maya Exp $ | 1 | # $NetBSD: Makefile,v 1.6 2019/07/30 08:30:06 nia Exp $ | |
2 | 2 | |||
3 | DISTNAME= speedtest-cli-0.3.2 | 3 | DISTNAME= speedtest-cli-2.1.1 | |
4 | CATEGORIES= net | |||
4 | MASTER_SITES= ${MASTER_SITE_GITHUB:=sivel/} | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=sivel/} | |
5 | GITHUB_TAG= v${PKGVERSION_NOREV} | 6 | GITHUB_TAG= v${PKGVERSION_NOREV} | |
6 | PKGREVISION= 1 | |||
7 | CATEGORIES= net | |||
8 | 7 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= https://github.com/sivel/speedtest-cli/ | 9 | HOMEPAGE= https://github.com/sivel/speedtest-cli | |
11 | COMMENT= Command line client for use with speedtest.net | 10 | COMMENT= Command line client for use with speedtest.net | |
12 | LICENSE= apache-2.0 | 11 | LICENSE= apache-2.0 | |
13 | 12 | |||
14 | DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat | 13 | DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat | |
15 | DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools | 14 | DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools | |
16 | 15 | |||
17 | REPLACE_PYTHON= *.py | 16 | REPLACE_PYTHON= *.py | |
18 | 17 | |||
18 | INSTALLATION_DIRS+= ${PKGMANDIR}/man1 | |||
19 | ||||
19 | post-install: | 20 | post-install: | |
20 | ${INSTALL_MAN_DIR} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 | |||
21 | ${INSTALL_MAN} ${WRKSRC}/speedtest-cli.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 | 21 | ${INSTALL_MAN} ${WRKSRC}/speedtest-cli.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 | |
22 | ${INSTALL_MAN} ${WRKSRC}/speedtest-cli.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/speedtest.1 | 22 | ${INSTALL_MAN} ${WRKSRC}/speedtest-cli.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/speedtest.1 | |
23 | 23 | |||
24 | .include "../../lang/python/distutils.mk" | 24 | .include "../../lang/python/distutils.mk" | |
25 | .include "../../lang/python/application.mk" | 25 | .include "../../lang/python/application.mk" | |
26 | .include "../../mk/bsd.pkg.mk" | 26 | .include "../../mk/bsd.pkg.mk" |
@@ -1,13 +1,13 @@ | @@ -1,13 +1,13 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1.1.1 2016/06/09 01:55:21 jnemeth Exp $ | 1 | @comment $NetBSD: PLIST,v 1.2 2019/07/30 08:30:06 nia Exp $ | |
2 | bin/speedtest | 2 | bin/speedtest | |
3 | bin/speedtest-cli | 3 | bin/speedtest-cli | |
4 | ${PYSITELIB}/speedtest.pyo | |||
5 | ${PYSITELIB}/speedtest.pyc | |||
6 | ${PYSITELIB}/speedtest.py | |||
4 | ${PYSITELIB}/${EGG_FILE}/PKG-INFO | 7 | ${PYSITELIB}/${EGG_FILE}/PKG-INFO | |
5 | ${PYSITELIB}/${EGG_FILE}/SOURCES.txt | 8 | ${PYSITELIB}/${EGG_FILE}/SOURCES.txt | |
6 | ${PYSITELIB}/${EGG_FILE}/dependency_links.txt | 9 | ${PYSITELIB}/${EGG_FILE}/dependency_links.txt | |
7 | ${PYSITELIB}/${EGG_FILE}/entry_points.txt | 10 | ${PYSITELIB}/${EGG_FILE}/entry_points.txt | |
8 | ${PYSITELIB}/${EGG_FILE}/top_level.txt | 11 | ${PYSITELIB}/${EGG_FILE}/top_level.txt | |
9 | ${PYSITELIB}/speedtest_cli.py | |||
10 | ${PYSITELIB}/speedtest_cli.pyc | |||
11 | ${PYSITELIB}/speedtest_cli.pyo | |||
12 | man/man1/speedtest-cli.1 | 12 | man/man1/speedtest-cli.1 | |
13 | man/man1/speedtest.1 | 13 | man/man1/speedtest.1 |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.1.1.1 2016/06/09 01:55:21 jnemeth Exp $ | 1 | $NetBSD: distinfo,v 1.2 2019/07/30 08:30:06 nia Exp $ | |
2 | 2 | |||
3 | SHA1 (speedtest-cli-0.3.2.tar.gz) = 265717d2097a96a76a0e51ecac75bac56326cd24 | 3 | SHA1 (speedtest-cli-2.1.1.tar.gz) = 609b01452b529c13a007707740224de6acfef937 | |
4 | RMD160 (speedtest-cli-0.3.2.tar.gz) = eb3650fd097e366846b78959dac05563552205d2 | 4 | RMD160 (speedtest-cli-2.1.1.tar.gz) = 4944418153494750d89160a3bc20be24d4aeb47e | |
5 | SHA512 (speedtest-cli-0.3.2.tar.gz) = c98a10772f81b4db503483eb675cbdeacac7803c02a6554ee6d075143e93cfed0834ebda2f6ead5f75a169a5840d0789537dc06e1a8829d52ae112d0fc7eba6c | 5 | SHA512 (speedtest-cli-2.1.1.tar.gz) = afc1fc0264d5124efe5afc9b0583b2b37ae50eac229e6971656a906b9a7a78d44158485d5c2e44c3430694fd7355926f578a54a196cc9b9baf6cfbc357a789d1 | |
6 | Size (speedtest-cli-0.3.2.tar.gz) = 14220 bytes | 6 | Size (speedtest-cli-2.1.1.tar.gz) = 24380 bytes |