Skip to content

Commit bad578b

Browse files
committed
python-pytest-cov: update to 6.0.0
1 parent faec2c9 commit bad578b

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

mingw-w64-python-pytest-cov/PKGBUILD

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
_realname=pytest-cov
44
pkgbase=mingw-w64-python-${_realname}
55
pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}")
6-
pkgver=5.0.0
7-
pkgrel=2
6+
pkgver=6.0.0
7+
pkgrel=1
88
pkgdesc="py.test plugin for coverage reporting with support for both centralised and distributed testing, including subprocesses and multiprocessing (mingw-w64)"
99
arch=('any')
1010
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
11-
url='https://github.com/schlamar/pytest-cov'
11+
url='https://github.com/pytest-dev/pytest-cov'
1212
msys2_references=(
1313
'pypi: pytest-cov'
1414
)
@@ -25,16 +25,10 @@ checkdepends=("${MINGW_PACKAGE_PREFIX}-python-virtualenv"
2525
# "${MINGW_PACKAGE_PREFIX}-python-fields"
2626
)
2727
source=("https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname}-${pkgver}.tar.gz")
28-
sha256sums=('5837b58e9f6ebd335b0f8060eecce69b662415b16dc503883a02f45dfeb14857')
29-
30-
prepare() {
31-
cd "${srcdir}"
32-
rm -rf python-build-${MSYSTEM} | true
33-
cp -r "${_realname}-${pkgver}" "python-build-${MSYSTEM}"
34-
}
28+
sha256sums=('fde0b595ca248bb8e2d76f020b465f3b107c9632e6a1d1705f17834c89dcadc0')
3529

3630
build() {
37-
cd "${srcdir}/python-build-${MSYSTEM}"
31+
cp -r "${_realname}-${pkgver}" "python-build-${MSYSTEM}" && cd "python-build-${MSYSTEM}"
3832
${MINGW_PREFIX}/bin/python -m build --wheel --skip-dependency-check --no-isolation
3933
}
4034

0 commit comments

Comments
 (0)