common/build-style/python3-pep517.sh: extract wheels in hidden dirs

This prevents pytest from collecting tests multiple times when
they are bundled in the wheel itself alongside the source tree.

Closes: #43946 [via git-merge-pr]
This commit is contained in:
icp 2023-05-26 00:43:08 +05:30 committed by Andrew J. Hesford
parent 246a09a4b7
commit 71185be9d1

View file

@ -19,7 +19,7 @@ do_check() {
testjobs="-n $XBPS_MAKEJOBS"
fi
local testdir="${wrksrc}/tmp/$(date +%s)"
local testdir="${wrksrc}/.xbps-testdir/$(date +%s)"
python3 -m installer --destdir "${testdir}" \
${make_install_args} ${make_install_target:-dist/*.whl}