From 216b70779ff1d8d4055d1cb74036256cff375f0c Mon Sep 17 00:00:00 2001 From: psykose Date: Wed, 7 Jun 2023 05:27:36 +0000 Subject: [PATCH] universe/py3-pyproject-hooks: update gpep517 build to use hidden dirs for dist/testenv [ commit 083eb89bb9af1e5570429a2580c0c2d5d136be4c ] this works around issues like https://github.com/pytest-dev/pytest/issues/3151 --- universe/py3-pyproject-hooks/APKBUILD | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/universe/py3-pyproject-hooks/APKBUILD b/universe/py3-pyproject-hooks/APKBUILD index 5fd39e96dd..649ad0cbbf 100644 --- a/universe/py3-pyproject-hooks/APKBUILD +++ b/universe/py3-pyproject-hooks/APKBUILD @@ -1,6 +1,6 @@ pkgname=py3-pyproject-hooks pkgver=1.0.0 -pkgrel=2 +pkgrel=3 pkgdesc="Low-level library for calling build-backends in 'pyproject.toml'-based project" url="https://pyproject-hooks.readthedocs.io/" arch="noarch" @@ -14,19 +14,19 @@ builddir="$srcdir/pyproject-hooks-$pkgver" build() { gpep517 build-wheel \ - --wheel-dir dist \ + --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m venv --clear --without-pip --system-site-packages test-env - test-env/bin/python3 -m installer dist/pyproject_hooks*.whl + test-env/bin/python3 -m installer .dist/pyproject_hooks*.whl test-env/bin/python3 -m pytest } package() { python3 -m installer -d "$pkgdir" \ - dist/pyproject_hooks*.whl + .dist/pyproject_hooks*.whl } sha512sums="