aboutsummaryrefslogtreecommitdiff
path: root/common/build-style
diff options
context:
space:
mode:
authoricp <pangolin@vivaldi.net>2023-05-25 19:13:08 +0000
committerAndrew J. Hesford <ajh@sideband.org>2023-06-05 20:27:02 +0000
commit71185be9d188a815c066bacdd062e8f8ff29779c (patch)
treea931ebc3afd107f4d248ec2dc596edd0a39f6da8 /common/build-style
parent246a09a4b711d2e6d6aefbab321791e8dd44f540 (diff)
downloadvoid-packages-71185be9d188a815c066bacdd062e8f8ff29779c.tar
void-packages-71185be9d188a815c066bacdd062e8f8ff29779c.tar.gz
void-packages-71185be9d188a815c066bacdd062e8f8ff29779c.tar.bz2
void-packages-71185be9d188a815c066bacdd062e8f8ff29779c.tar.lz
void-packages-71185be9d188a815c066bacdd062e8f8ff29779c.tar.xz
void-packages-71185be9d188a815c066bacdd062e8f8ff29779c.tar.zst
void-packages-71185be9d188a815c066bacdd062e8f8ff29779c.zip
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]
Diffstat (limited to 'common/build-style')
-rw-r--r--common/build-style/python3-pep517.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/build-style/python3-pep517.sh b/common/build-style/python3-pep517.sh
index ffe52fccf3d..2d5ff7caf34 100644
--- a/common/build-style/python3-pep517.sh
+++ b/common/build-style/python3-pep517.sh
@@ -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}