31 lines
825 B
Bash
31 lines
825 B
Bash
# Template file for 'python-pytest-mock'
|
|
pkgname=python-pytest-mock
|
|
version=1.6.3
|
|
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=920d1167af5c2c2ad3fa0717d0c6c52e97e97810160c15721ac895cac53abb1c
|
|
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
|
|
}
|
|
}
|