Skip to content

Commit e0db334

Browse files
classabbyampahesford
authored andcommitted
common/hooks/post-install/04-create-xbps-metadata-scripts: handle ...
python bootstrap several bootstrap python3 modules put packages in ${py3_sitelib}-bootstrap to prevent conflicts and keep them out of the normal PYTHONPATH. this allows the pycompile_module hook to work for those modules
1 parent 189bd5b commit e0db334

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/hooks/post-install/04-create-xbps-metadata-scripts.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ _EOF
274274
if [ -d ${PKGDESTDIR}/usr/lib/python* ]; then
275275
pycompile_version="$(find ${PKGDESTDIR}/usr/lib/python* -prune -type d | grep -o '[[:digit:]]\.[[:digit:]]\+$')"
276276
if [ -z "${pycompile_module}" ]; then
277-
pycompile_module="$(find ${PKGDESTDIR}/usr/lib/python*/site-packages -mindepth 1 -maxdepth 1 '!' -name '*.egg-info' '!' -name '*.dist-info' '!' -name '*.so' '!' -name '*.pth' -printf '%f ')"
277+
pycompile_module="$(find ${PKGDESTDIR}/usr/lib/python*/site-packages* -mindepth 1 -maxdepth 1 '!' -name '*.egg-info' '!' -name '*.dist-info' '!' -name '*.so' '!' -name '*.pth' -printf '%f ')"
278278
fi
279279
fi
280280

0 commit comments

Comments
 (0)