New package: python-pytest-mock-1.6.3.

Closes #9309.
This commit is contained in:
maxice8 2017-11-18 13:12:14 -02:00 committed by Enno Boland
parent c2f9122f52
commit 69c11dd216
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,30 @@
# 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
}
}

1
srcpkgs/python3-pytest-mock Symbolic link
View File

@ -0,0 +1 @@
python-pytest-mock