python3-pytest-mock: update to 3.10.0.
This commit is contained in:
parent
89c2ba9e35
commit
c177e647be
@ -1,28 +1,18 @@
|
||||
# Template file for 'python3-pytest-mock'
|
||||
pkgname=python3-pytest-mock
|
||||
version=3.9.0
|
||||
revision=2
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
version=3.10.0
|
||||
revision=1
|
||||
build_style=python3-pep517
|
||||
hostmakedepends="python3-setuptools_scm python3-wheel"
|
||||
depends="python3-pytest"
|
||||
checkdepends="$depends"
|
||||
short_desc="Thin-wrapper around mock for easier use with py.test (Python3)"
|
||||
checkdepends="python3-pytest-asyncio python3-mock"
|
||||
short_desc="Pytest plugin for mock"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/pytest-dev/pytest-mock/"
|
||||
changelog="https://raw.githubusercontent.com/pytest-dev/pytest-mock/main/CHANGELOG.rst"
|
||||
distfiles="${PYPI_SITE}/p/pytest-mock/pytest-mock-${version}.tar.gz"
|
||||
checksum=c899a0dcc8a5f22930acd020b500abd5f956911f326864a3b979e4866e14da82
|
||||
|
||||
# pytest-mock requires pytest-mock to be installed so it'll always fail during
|
||||
# packaging
|
||||
make_check=no
|
||||
|
||||
pre_build() {
|
||||
vsed -i setup.py \
|
||||
-e '/setup_requires=/d' \
|
||||
-e "s|use_scm_version=.*|version='${version}',|"
|
||||
}
|
||||
checksum=fbbdb085ef7c252a326fd8cdcac0aa3b1333d8811f131bdcc701002e1be7ed4f
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
|
Loading…
Reference in New Issue
Block a user