pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/speedtest-cli speedtest-cli: Update to 2.1.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/73a5162e82ac
branches:  trunk
changeset: 398766:73a5162e82ac
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Jul 30 08:30:06 2019 +0000

description:
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

diffstat:

 net/speedtest-cli/Makefile |  12 ++++++------
 net/speedtest-cli/PLIST    |   8 ++++----
 net/speedtest-cli/distinfo |  10 +++++-----
 3 files changed, 15 insertions(+), 15 deletions(-)

diffs (68 lines):

diff -r ac2fc02a97d8 -r 73a5162e82ac net/speedtest-cli/Makefile
--- a/net/speedtest-cli/Makefile        Tue Jul 30 08:08:41 2019 +0000
+++ b/net/speedtest-cli/Makefile        Tue Jul 30 08:30:06 2019 +0000
@@ -1,13 +1,12 @@
-# $NetBSD: Makefile,v 1.5 2019/04/25 07:33:13 maya Exp $
+# $NetBSD: Makefile,v 1.6 2019/07/30 08:30:06 nia Exp $
 
-DISTNAME=      speedtest-cli-0.3.2
+DISTNAME=      speedtest-cli-2.1.1
+CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=sivel/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
-PKGREVISION=   1
-CATEGORIES=    net
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://github.com/sivel/speedtest-cli/
+HOMEPAGE=      https://github.com/sivel/speedtest-cli
 COMMENT=       Command line client for use with speedtest.net
 LICENSE=       apache-2.0
 
@@ -16,8 +15,9 @@
 
 REPLACE_PYTHON=        *.py
 
+INSTALLATION_DIRS+=    ${PKGMANDIR}/man1
+
 post-install:
-       ${INSTALL_MAN_DIR} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
        ${INSTALL_MAN} ${WRKSRC}/speedtest-cli.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
        ${INSTALL_MAN} ${WRKSRC}/speedtest-cli.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/speedtest.1
 
diff -r ac2fc02a97d8 -r 73a5162e82ac net/speedtest-cli/PLIST
--- a/net/speedtest-cli/PLIST   Tue Jul 30 08:08:41 2019 +0000
+++ b/net/speedtest-cli/PLIST   Tue Jul 30 08:30:06 2019 +0000
@@ -1,13 +1,13 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2016/06/09 01:55:21 jnemeth Exp $
+@comment $NetBSD: PLIST,v 1.2 2019/07/30 08:30:06 nia Exp $
 bin/speedtest
 bin/speedtest-cli
+${PYSITELIB}/speedtest.pyo
+${PYSITELIB}/speedtest.pyc
+${PYSITELIB}/speedtest.py
 ${PYSITELIB}/${EGG_FILE}/PKG-INFO
 ${PYSITELIB}/${EGG_FILE}/SOURCES.txt
 ${PYSITELIB}/${EGG_FILE}/dependency_links.txt
 ${PYSITELIB}/${EGG_FILE}/entry_points.txt
 ${PYSITELIB}/${EGG_FILE}/top_level.txt
-${PYSITELIB}/speedtest_cli.py
-${PYSITELIB}/speedtest_cli.pyc
-${PYSITELIB}/speedtest_cli.pyo
 man/man1/speedtest-cli.1
 man/man1/speedtest.1
diff -r ac2fc02a97d8 -r 73a5162e82ac net/speedtest-cli/distinfo
--- a/net/speedtest-cli/distinfo        Tue Jul 30 08:08:41 2019 +0000
+++ b/net/speedtest-cli/distinfo        Tue Jul 30 08:30:06 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2016/06/09 01:55:21 jnemeth Exp $
+$NetBSD: distinfo,v 1.2 2019/07/30 08:30:06 nia Exp $
 
-SHA1 (speedtest-cli-0.3.2.tar.gz) = 265717d2097a96a76a0e51ecac75bac56326cd24
-RMD160 (speedtest-cli-0.3.2.tar.gz) = eb3650fd097e366846b78959dac05563552205d2
-SHA512 (speedtest-cli-0.3.2.tar.gz) = c98a10772f81b4db503483eb675cbdeacac7803c02a6554ee6d075143e93cfed0834ebda2f6ead5f75a169a5840d0789537dc06e1a8829d52ae112d0fc7eba6c
-Size (speedtest-cli-0.3.2.tar.gz) = 14220 bytes
+SHA1 (speedtest-cli-2.1.1.tar.gz) = 609b01452b529c13a007707740224de6acfef937
+RMD160 (speedtest-cli-2.1.1.tar.gz) = 4944418153494750d89160a3bc20be24d4aeb47e
+SHA512 (speedtest-cli-2.1.1.tar.gz) = afc1fc0264d5124efe5afc9b0583b2b37ae50eac229e6971656a906b9a7a78d44158485d5c2e44c3430694fd7355926f578a54a196cc9b9baf6cfbc357a789d1
+Size (speedtest-cli-2.1.1.tar.gz) = 24380 bytes



Home | Main Index | Thread Index | Old Index