void-packages/srcpkgs/python-pytest-mock/template

31 lines
825 B
Bash

# Template file for 'python-pytest-mock'
pkgname=python-pytest-mock
version=1.7.0
revision=1
wrksrc="${pkgname/python-//}-${version}"
build_style=python-module
pycompile_module="pytest_mock"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-pytest"
short_desc="Thin-wrapper around the mock package for easier use with py.test"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="MIT"
homepage="https://github.com/pytest-dev/pytest-mock/"
distfiles="${PYPI_SITE}/p/pytest-mock/pytest-mock-${version}.tar.gz"
checksum=8ed6c9ac6b7565b226b4da2da48876c9198d76401ec8d9c5e4c69b45423e33f8
noarch=yes
post_install() {
vlicense LICENSE
}
python3-pytest-mock_package() {
noarch=yes
pycompile_module="pytest_mock"
depends="python3-pytest"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}