diff options
| author | Keith Maxwell <keith.maxwell@gmail.com> | 2020-04-12 14:56:36 +0100 |
|---|---|---|
| committer | Leo <thinkabit.ukim@gmail.com> | 2020-04-12 14:14:39 +0000 |
| commit | d4ceb5f4ea7abe5d55bbf3969eac3f683ddaf705 (patch) | |
| tree | d5e51253219e7a0f7065c74aca1f72233caa3b38 /testing/ruby-ttytest/gemspec.patch | |
| parent | 0431fe40fcf635c590847c7158e4b1c758cfb1a7 (diff) | |
| download | aports-d4ceb5f4ea7abe5d55bbf3969eac3f683ddaf705.tar.bz2 aports-d4ceb5f4ea7abe5d55bbf3969eac3f683ddaf705.tar.xz | |
main/py3-pbr: add missing dependency
Before this change:
$ dabuild sh
$ sudo apk add py3-pbr >/dev/null && pbr --version
Traceback (most recent call last):
File "/usr/bin/pbr", line 6, in <module>
from pbr.cmd.main import main
File "/usr/lib/python3.8/site-packages/pbr/cmd/main.py", line 20, in <module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
This change adds py3-setuptools as a runtime dependency because
pkg_resources is imported by a file imported by /usr/bin/pbr:
$ grep 'import pkg_resources' /usr/lib/python3.8/site-packages/pbr/cmd/main.py
import pkg_resources
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-pbr >/dev/null && pbr --version
5.4.5
Diffstat (limited to 'testing/ruby-ttytest/gemspec.patch')
0 files changed, 0 insertions, 0 deletions
