diff options
| author | Keith Maxwell <keith.maxwell@gmail.com> | 2020-04-13 09:17:06 +0100 |
|---|---|---|
| committer | Leo <thinkabit.ukim@gmail.com> | 2020-04-13 09:44:45 +0000 |
| commit | 9ae5e19195a00f4a674e6895a28a512be865d7ed (patch) | |
| tree | f02decb8971bd872cc77c822df115dbbf3e6fc59 /testing/kdevelop-python/APKBUILD | |
| parent | c8078df9846f1e96572c5b8f01bf286eadca404a (diff) | |
| download | aports-9ae5e19195a00f4a674e6895a28a512be865d7ed.tar.bz2 aports-9ae5e19195a00f4a674e6895a28a512be865d7ed.tar.xz | |
main/py3-mako: add missing dependency
Before this change:
$ dabuild sh
$ sudo apk add py3-mako >/dev/null && mako-render --help | head -n 1
Traceback (most recent call last):
File "/usr/bin/virtualenv", line 6, in <module>
from pkg_resources import load_entry_point
ModuleNotFoundError: No module named 'pkg_resources'
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/mako-render
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 py3-mako >/dev/null && mako-render --help | head -n 1
usage: mako-render [-h] [--var VAR] [--template-dir TEMPLATE_DIR]
Diffstat (limited to 'testing/kdevelop-python/APKBUILD')
0 files changed, 0 insertions, 0 deletions
