File tree Expand file tree Collapse file tree 1 file changed +7
-11
lines changed
mingw-w64-python-pytest-rerunfailures Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change 33_realname=pytest-rerunfailures
44pkgbase=mingw-w64-python-${_realname}
55pkgname=(" ${MINGW_PACKAGE_PREFIX} -python-${_realname} " )
6- pkgver=14 .0
7- pkgrel=2
6+ pkgver=15 .0
7+ pkgrel=1
88pkgdesc=" a pytest plugin that re-runs failed tests up to -n times to eliminate flakey failures (mingw-w64)"
99arch=(' any' )
1010mingw_arch=(' mingw64' ' ucrt64' ' clang64' ' clangarm64' )
@@ -24,22 +24,18 @@ makedepends=(
2424 " ${MINGW_PACKAGE_PREFIX} -python-setuptools"
2525)
2626source=(" 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
3429build () {
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
3934package () {
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"
You can’t perform that action at this time.
0 commit comments