parent
c2f9122f52
commit
69c11dd216
30
srcpkgs/python-pytest-mock/template
Normal file
30
srcpkgs/python-pytest-mock/template
Normal 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
1
srcpkgs/python3-pytest-mock
Symbolic link
@ -0,0 +1 @@
|
||||
python-pytest-mock
|
Loading…
x
Reference in New Issue
Block a user