From 82b6826e9502982236f5f1e97601b19447e19949 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Sun, 4 Jun 2023 23:36:00 -0300 Subject: [PATCH] python3-mock: update to 5.0.2. --- srcpkgs/python3-mock/template | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/srcpkgs/python3-mock/template b/srcpkgs/python3-mock/template index b237c4789a2..314da43a174 100644 --- a/srcpkgs/python3-mock/template +++ b/srcpkgs/python3-mock/template @@ -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 " 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