Tue Jul 30 08:30:06 2019 UTC ()
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.5


(nia)
diff -r1.5 -r1.6 pkgsrc/net/speedtest-cli/Makefile
diff -r1.1.1.1 -r1.2 pkgsrc/net/speedtest-cli/PLIST
diff -r1.1.1.1 -r1.2 pkgsrc/net/speedtest-cli/distinfo

cvs diff -r1.5 -r1.6 pkgsrc/net/speedtest-cli/Makefile (expand / switch to unified diff)

--- pkgsrc/net/speedtest-cli/Makefile 2019/04/25 07:33:13 1.5
+++ pkgsrc/net/speedtest-cli/Makefile 2019/07/30 08:30:06 1.6
@@ -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
3DISTNAME= speedtest-cli-0.3.2 3DISTNAME= speedtest-cli-2.1.1
 4CATEGORIES= net
4MASTER_SITES= ${MASTER_SITE_GITHUB:=sivel/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=sivel/}
5GITHUB_TAG= v${PKGVERSION_NOREV} 6GITHUB_TAG= v${PKGVERSION_NOREV}
6PKGREVISION= 1 
7CATEGORIES= net 
8 7
9MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://github.com/sivel/speedtest-cli/ 9HOMEPAGE= https://github.com/sivel/speedtest-cli
11COMMENT= Command line client for use with speedtest.net 10COMMENT= Command line client for use with speedtest.net
12LICENSE= apache-2.0 11LICENSE= apache-2.0
13 12
14DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat 13DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
15DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools 14DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
16 15
17REPLACE_PYTHON= *.py 16REPLACE_PYTHON= *.py
18 17
 18INSTALLATION_DIRS+= ${PKGMANDIR}/man1
 19
19post-install: 20post-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"

cvs diff -r1.1.1.1 -r1.2 pkgsrc/net/speedtest-cli/PLIST (expand / switch to unified diff)

--- pkgsrc/net/speedtest-cli/PLIST 2016/06/09 01:55:21 1.1.1.1
+++ pkgsrc/net/speedtest-cli/PLIST 2019/07/30 08:30:06 1.2
@@ -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 $
2bin/speedtest 2bin/speedtest
3bin/speedtest-cli 3bin/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 
12man/man1/speedtest-cli.1 12man/man1/speedtest-cli.1
13man/man1/speedtest.1 13man/man1/speedtest.1

cvs diff -r1.1.1.1 -r1.2 pkgsrc/net/speedtest-cli/distinfo (expand / switch to unified diff)

--- pkgsrc/net/speedtest-cli/distinfo 2016/06/09 01:55:21 1.1.1.1
+++ pkgsrc/net/speedtest-cli/distinfo 2019/07/30 08:30:06 1.2
@@ -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
3SHA1 (speedtest-cli-0.3.2.tar.gz) = 265717d2097a96a76a0e51ecac75bac56326cd24 3SHA1 (speedtest-cli-2.1.1.tar.gz) = 609b01452b529c13a007707740224de6acfef937
4RMD160 (speedtest-cli-0.3.2.tar.gz) = eb3650fd097e366846b78959dac05563552205d2 4RMD160 (speedtest-cli-2.1.1.tar.gz) = 4944418153494750d89160a3bc20be24d4aeb47e
5SHA512 (speedtest-cli-0.3.2.tar.gz) = c98a10772f81b4db503483eb675cbdeacac7803c02a6554ee6d075143e93cfed0834ebda2f6ead5f75a169a5840d0789537dc06e1a8829d52ae112d0fc7eba6c 5SHA512 (speedtest-cli-2.1.1.tar.gz) = afc1fc0264d5124efe5afc9b0583b2b37ae50eac229e6971656a906b9a7a78d44158485d5c2e44c3430694fd7355926f578a54a196cc9b9baf6cfbc357a789d1
6Size (speedtest-cli-0.3.2.tar.gz) = 14220 bytes 6Size (speedtest-cli-2.1.1.tar.gz) = 24380 bytes