From f829aa9c48a995bc577d172b554efc1cb2aaf187 Mon Sep 17 00:00:00 2001 From: ptrcnull Date: Sun, 16 Apr 2023 20:01:18 +0200 Subject: [PATCH] testing/py3-pytest-repeat: fix installed version currently the package has this: /usr/lib/python3.11/site-packages/pytest_repeat-0.0.0.dist-info/METADATA --- testing/py3-pytest-repeat/APKBUILD | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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