mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-16 20:13:52 +02:00
python3-pytest-mock: update to 3.10.0.
This commit is contained in:
parent
89c2ba9e35
commit
c177e647be
1 changed files with 7 additions and 17 deletions
|
@ -1,28 +1,18 @@
|
||||||
# Template file for 'python3-pytest-mock'
|
# Template file for 'python3-pytest-mock'
|
||||||
pkgname=python3-pytest-mock
|
pkgname=python3-pytest-mock
|
||||||
version=3.9.0
|
version=3.10.0
|
||||||
revision=2
|
revision=1
|
||||||
build_style=python3-module
|
build_style=python3-pep517
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools_scm python3-wheel"
|
||||||
depends="python3-pytest"
|
depends="python3-pytest"
|
||||||
checkdepends="$depends"
|
checkdepends="python3-pytest-asyncio python3-mock"
|
||||||
short_desc="Thin-wrapper around mock for easier use with py.test (Python3)"
|
short_desc="Pytest plugin for mock"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/pytest-dev/pytest-mock/"
|
homepage="https://github.com/pytest-dev/pytest-mock/"
|
||||||
changelog="https://raw.githubusercontent.com/pytest-dev/pytest-mock/main/CHANGELOG.rst"
|
changelog="https://raw.githubusercontent.com/pytest-dev/pytest-mock/main/CHANGELOG.rst"
|
||||||
distfiles="${PYPI_SITE}/p/pytest-mock/pytest-mock-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/p/pytest-mock/pytest-mock-${version}.tar.gz"
|
||||||
checksum=c899a0dcc8a5f22930acd020b500abd5f956911f326864a3b979e4866e14da82
|
checksum=fbbdb085ef7c252a326fd8cdcac0aa3b1333d8811f131bdcc701002e1be7ed4f
|
||||||
|
|
||||||
# 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}',|"
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
Loading…
Add table
Reference in a new issue