aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/llvm4/llvm-fix-DynamicLibrary-to-build-with-musl-libc.patch
diff options
context:
space:
mode:
authorKeith Maxwell <keith.maxwell@gmail.com>2020-04-11 20:33:38 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-04-11 20:09:11 +0000
commit5476202af29c1cb76028aecf5d7ec9cd6afee687 (patch)
treebd37ae5c09ae7d8c90f37ba3e4800696c44c8d4c /unmaintained/llvm4/llvm-fix-DynamicLibrary-to-build-with-musl-libc.patch
parente00ba8b6f493c6e7d1434ec2a0682a5cb302e3bb (diff)
downloadaports-5476202af29c1cb76028aecf5d7ec9cd6afee687.tar.bz2
aports-5476202af29c1cb76028aecf5d7ec9cd6afee687.tar.xz
main/py3-chardet: add check() & missing dependency
Adds a patch so that the tests work with pytest>=4.0. Upstream have merged the patch but have not released a new version. Before this change: $ sudo apk add py3-chardet ✂ $ chardetect --version Traceback (most recent call last): File "/usr/bin/chardetect", line 6, in <module> from pkg_resources import load_entry_point ModuleNotFoundError: No module named 'pkg_resources' After this change: $ sudo apk add py3-chardet ✂ $ chardetect --version chardetect 3.0.4 The above commands were run inside docker-abuild with `dabuild sh`. The change is required because `/usr/bin/chardetect` includes the line: from pkg_resources import load_entry_point That means that py3-setuptools is required at runtime: $ python3 -c 'import pkg_resources; print(pkg_resources.__file__)' /usr/lib/python3.8/site-packages/pkg_resources/__init__.py $ apk info -q -W /usr/lib/python3.8/site-packages/pkg_resources/__init__.py py3-setuptools
Diffstat (limited to 'unmaintained/llvm4/llvm-fix-DynamicLibrary-to-build-with-musl-libc.patch')
0 files changed, 0 insertions, 0 deletions