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
This commit is contained in:
ptrcnull 2023-04-16 20:01:18 +02:00 committed by alice
parent fcae9d0e96
commit f829aa9c48

View File

@ -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