mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
python3-mock: update to 4.0.3.
This commit is contained in:
parent
b2c171f8af
commit
91c20c9ce7
1 changed files with 10 additions and 3 deletions
|
@ -1,16 +1,23 @@
|
||||||
# Template file for 'python3-mock'
|
# Template file for 'python3-mock'
|
||||||
pkgname=python3-mock
|
pkgname=python3-mock
|
||||||
version=4.0.2
|
version=4.0.3
|
||||||
revision=2
|
revision=1
|
||||||
wrksrc="mock-${version}"
|
wrksrc="mock-${version}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
|
checkdepends="python3-pytest"
|
||||||
short_desc="Python3 mock library"
|
short_desc="Python3 mock library"
|
||||||
maintainer="Alex Childs <misuchiru03+void@gmail.com>"
|
maintainer="Alex Childs <misuchiru03+void@gmail.com>"
|
||||||
license="BSD-2-Clause"
|
license="BSD-2-Clause"
|
||||||
homepage="http://mock.readthedocs.org/en/latest/"
|
homepage="http://mock.readthedocs.org/en/latest/"
|
||||||
|
changelog="https://mock.readthedocs.io/en/latest/changelog.html"
|
||||||
distfiles="${PYPI_SITE}/m/mock/mock-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/m/mock/mock-${version}.tar.gz"
|
||||||
checksum=dd33eb70232b6118298d516bbcecd26704689c386594f0f3c4f13867b2c56f72
|
checksum=7d3fbbde18228f4ff2f1f119a45cdffa458b4c0dee32eb4d2bb2f82554bac7bc
|
||||||
|
|
||||||
|
do_check() {
|
||||||
|
# The skipped test checks internal Python unittest behavior and fails
|
||||||
|
python3 -m pytest -k "not test_bool_not_called"
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE.txt
|
vlicense LICENSE.txt
|
||||||
|
|
Loading…
Add table
Reference in a new issue