python-mock: fix hostmakedepends and depends
While I'm here, cleanup the template.
This commit is contained in:
parent
d1a353cf38
commit
c6339085f7
|
@ -1,22 +1,20 @@
|
||||||
# Template file for 'python-mock'
|
# Template file for 'python-mock'
|
||||||
pkgname=python-mock
|
pkgname=python-mock
|
||||||
version=2.0.0
|
version=2.0.0
|
||||||
revision=1
|
revision=2
|
||||||
_distname=mock
|
|
||||||
wrksrc="${_distname}-${version}"
|
|
||||||
build_style=python-module
|
|
||||||
pycompile_module="${_distname}"
|
|
||||||
python_versions="2.7"
|
|
||||||
pycompile_version="2.7"
|
|
||||||
noarch=yes
|
noarch=yes
|
||||||
hostmakedepends="python-setuptools"
|
wrksrc="${pkgname#*-}-${version}"
|
||||||
short_desc="Python2 rolling backport of unittest.mock"
|
build_style=python-module
|
||||||
|
pycompile_module="mock"
|
||||||
|
hostmakedepends="python-setuptools python-pbr"
|
||||||
|
depends="python-six python-pbr python-funcsigs"
|
||||||
|
short_desc="Rolling backport of unittest.mock for Python2"
|
||||||
maintainer="Toyam Cox <Vaelatern@gmail.com>"
|
maintainer="Toyam Cox <Vaelatern@gmail.com>"
|
||||||
license="BSD"
|
|
||||||
homepage="https://github.com/testing-cabal/mock"
|
homepage="https://github.com/testing-cabal/mock"
|
||||||
distfiles="${PYPI_SITE}/$(printf %.1s $_distname)/${_distname}/${_distname}-${version}.tar.gz"
|
license="2-clause-BSD"
|
||||||
|
distfiles="${PYPI_SITE}/m/mock/mock-${version}.tar.gz"
|
||||||
checksum=b158b6df76edd239b8208d481dc46b6afd45a846b7812ff0ce58971cf5bc8bba
|
checksum=b158b6df76edd239b8208d481dc46b6afd45a846b7812ff0ce58971cf5bc8bba
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE.txt
|
vlicense LICENSE.txt LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue