New package: python-MiniMock-1.2.8.
This commit is contained in:
parent
b8829c0df4
commit
e24c5e1c1c
2 changed files with 32 additions and 0 deletions
31
srcpkgs/python-MiniMock/template
Normal file
31
srcpkgs/python-MiniMock/template
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Template file for 'python-MiniMock'
|
||||
pkgname=python-MiniMock
|
||||
version=1.2.8
|
||||
revision=1
|
||||
wrksrc="${pkgname/python-//}-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="minimock"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python"
|
||||
short_desc="The simplest possible mock library in Python2"
|
||||
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
||||
license="MIT"
|
||||
homepage="https://pypi.python.org/pypi/MiniMock"
|
||||
distfiles="${PYPI_SITE}/M/MiniMock/MiniMock-${version}.tar.gz"
|
||||
checksum=5fdfdfeadf0fc781d0592a1b90d2fcc11581f682ff7cba6201cfdb15c3ea5a4c
|
||||
noarch=yes
|
||||
|
||||
post_install() {
|
||||
vlicense docs/license.txt
|
||||
}
|
||||
|
||||
python3-MiniMock_package() {
|
||||
noarch=yes
|
||||
pycompile_module="minimock"
|
||||
depends="python3"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
vlicense docs/license.txt
|
||||
}
|
||||
}
|
1
srcpkgs/python3-MiniMock
Symbolic link
1
srcpkgs/python3-MiniMock
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-MiniMock
|
Loading…
Reference in a new issue