void-packages/srcpkgs/python-decorator/template
2015-08-05 07:45:07 +00:00

28 lines
790 B
Bash

# Template file for 'python-decorator'
pkgname=python-decorator
version=4.0.2
revision=1
noarch=yes
wrksrc="decorator-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
depends="python"
pycompile_module="decorator.py"
short_desc="Python2 decorator module"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://github.com/micheles/decorator"
license="BSD"
distfiles="${PYPI_SITE}/d/decorator/decorator-${version}.tar.gz"
checksum=1a089279d5de2471c47624d4463f2e5b3fc6a2cf65045c39bf714fc461a25206
python3.4-decorator_package() {
noarch=yes
depends="python3.4"
pycompile_version="3.4"
pycompile_module="decorator.py"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}