diff --git a/testing/py3-pytest-repeat/APKBUILD b/testing/py3-pytest-repeat/APKBUILD index 51ac6654b73..c9733a06fb7 100644 --- a/testing/py3-pytest-repeat/APKBUILD +++ b/testing/py3-pytest-repeat/APKBUILD @@ -3,7 +3,7 @@ pkgname=py3-pytest-repeat _pyname=pytest-repeat pkgver=0.9.1 -pkgrel=0 +pkgrel=1 pkgdesc="pytest plugin for repeating tests" url="https://github.com/pytest-dev/pytest-repeat" arch="noarch" @@ -16,12 +16,14 @@ makedepends=" py3-gpep517 py3-wheel py3-setuptools + py3-setuptools_scm " checkdepends="py3-tox" source="$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-repeat/archive/refs/tags/v$pkgver.tar.gz" builddir="$srcdir/$_pyname-$pkgver" build() { + export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver gpep517 build-wheel \ --wheel-dir dist \ --output-fd 3 3>&1 >&2