Skip to content

Commit dd34c5a

Browse files
committed
python-pytest-rerunfailures: update to 15.0
1 parent c7fe291 commit dd34c5a

File tree

1 file changed

+7
-11
lines changed
  • mingw-w64-python-pytest-rerunfailures

1 file changed

+7
-11
lines changed

mingw-w64-python-pytest-rerunfailures/PKGBUILD

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
_realname=pytest-rerunfailures
44
pkgbase=mingw-w64-python-${_realname}
55
pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}")
6-
pkgver=14.0
7-
pkgrel=2
6+
pkgver=15.0
7+
pkgrel=1
88
pkgdesc="a pytest plugin that re-runs failed tests up to -n times to eliminate flakey failures (mingw-w64)"
99
arch=('any')
1010
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
@@ -24,22 +24,18 @@ makedepends=(
2424
"${MINGW_PACKAGE_PREFIX}-python-setuptools"
2525
)
2626
source=("https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname}-${pkgver}.tar.gz")
27-
sha256sums=('4a400bcbcd3c7a4ad151ab8afac123d90eca3abe27f98725dc4d9702887d2e92')
28-
29-
prepare() {
30-
rm -rf build-${MSYSTEM} | true
31-
cp -r "${_realname}-${pkgver}" "build-${MSYSTEM}"
32-
}
27+
sha256sums=('2d9ac7baf59f4c13ac730b47f6fa80e755d1ba0581da45ce30b72fb3542b4474')
3328

3429
build() {
35-
cd "build-${MSYSTEM}"
30+
cp -r "${_realname}-${pkgver}" "python-build-${MSYSTEM}" && cd "python-build-${MSYSTEM}"
3631
${MINGW_PREFIX}/bin/python -m build --wheel --skip-dependency-check --no-isolation
3732
}
3833

3934
package() {
40-
cd "${srcdir}/build-${MSYSTEM}"
35+
cd "python-build-${MSYSTEM}"
36+
4137
MSYS2_ARG_CONV_EXCL="--prefix=" \
42-
${MINGW_PREFIX}/bin/python -m installer --prefix=${MINGW_PREFIX} \
38+
python -m installer --prefix=${MINGW_PREFIX} \
4339
--destdir="${pkgdir}" dist/*.whl
4440

4541
install -Dm644 LICENSE "${pkgdir}${MINGW_PREFIX}/share/licenses/python-${_realname}/LICENSE"

0 commit comments

Comments
 (0)