python3-mock: update to 5.0.2.

This commit is contained in:
Gonzalo Tornaría 2023-06-04 23:36:00 -03:00 committed by Andrew J. Hesford
parent 363b307b1f
commit 82b6826e95

View File

@ -1,23 +1,18 @@
# Template file for 'python3-mock'
pkgname=python3-mock
version=4.0.3
revision=4
build_style=python3-module
hostmakedepends="python3-setuptools"
version=5.0.2
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
checkdepends="python3-pytest"
short_desc="Python3 mock library"
short_desc="Python mock library"
maintainer="Alex Childs <misuchiru03+void@gmail.com>"
license="BSD-2-Clause"
homepage="http://mock.readthedocs.org/en/latest/"
changelog="https://mock.readthedocs.io/en/latest/changelog.html"
changelog="https://raw.githubusercontent.com/testing-cabal/mock/master/CHANGELOG.rst"
distfiles="${PYPI_SITE}/m/mock/mock-${version}.tar.gz"
checksum=7d3fbbde18228f4ff2f1f119a45cdffa458b4c0dee32eb4d2bb2f82554bac7bc
do_check() {
# The skipped test checks internal Python unittest behavior and fails
python3 -m pytest -k "not test_bool_not_called"
}
checksum=06f18d7d65b44428202b145a9a36e99c2ee00d1eb992df0caf881d4664377891
post_install() {
vlicense LICENSE.txt