aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-gitpython
diff options
context:
space:
mode:
authorKeith Maxwell <keith.maxwell@gmail.com>2020-04-12 09:35:49 +0100
committerKeith Maxwell <keith.maxwell@gmail.com>2020-04-12 09:38:03 +0100
commit70ad9ca62caa9cf7edf67300da0bebc4e8f356d0 (patch)
tree58f03c11be786f0c053bca634a11ac358e046f6e /testing/py3-gitpython
parent7a4e2e094d67afc8d31d86fe27cbe6ebfd0107ac (diff)
downloadaports-70ad9ca62caa9cf7edf67300da0bebc4e8f356d0.tar.bz2
aports-70ad9ca62caa9cf7edf67300da0bebc4e8f356d0.tar.xz
main/speedtest-cli: fix command line scripts
Before this change: $ dabuild sh $ sudo apk add speedtest-cli >/dev/null && speedtest-cli --version env: can't execute 'python': No such file or directory $ speedtest --version Traceback (most recent call last): File "/usr/bin/speedtest", line 6, in <module> from pkg_resources import load_entry_point ModuleNotFoundError: No module named 'pkg_resources' This change removes the specific install line for speedtest-cli, because it leaves a broken shebang first line. setup.py already installs a speedtest-cli script which a functional shebang line. This change adds py3-setuptools as a runtime dependency because pkg_resources is imported by a file installed into /usr/bin/: $ grep pkg_resources /usr/bin/speedtest from pkg_resources import load_entry_point pkg_resources is part of py3-setuptools: $ apk info -L py3-setuptools | grep pkg_resources/__init__.py usr/lib/python3.8/site-packages/pkg_resources/__init__.py After this change: $ dabuild sh $ sudo apk add speedtest-cli >/dev/null && speedtest-cli --version speedtest-cli 2.1.2 Python 3.8.2 (default, Apr 9 2020, 21:05:08) [GCC 9.3.0] $ speedtest --version speedtest-cli 2.1.2 Python 3.8.2 (default, Apr 9 2020, 21:05:08) [GCC 9.3.0]
Diffstat (limited to 'testing/py3-gitpython')
0 files changed, 0 insertions, 0 deletions