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
26 lines
840 B
Makefile
26 lines
840 B
Makefile
# $NetBSD: Makefile,v 1.6 2019/07/30 08:30:06 nia Exp $
|
|
|
|
DISTNAME= speedtest-cli-2.1.1
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=sivel/}
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/sivel/speedtest-cli
|
|
COMMENT= Command line client for use with speedtest.net
|
|
LICENSE= apache-2.0
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
|
|
DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
|
|
|
|
REPLACE_PYTHON= *.py
|
|
|
|
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/speedtest-cli.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
${INSTALL_MAN} ${WRKSRC}/speedtest-cli.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/speedtest.1
|
|
|
|
.include "../../lang/python/distutils.mk"
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|