void-packages/srcpkgs/python-decorator/template

30 lines
859 B
Plaintext

# Template file for 'python-decorator'
pkgname=python-decorator
version=3.4.0
revision=1
noarch=yes
wrksrc="decorator-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-setuptools python3.4-setuptools"
makedepends="python-devel python3.4-devel"
depends="python"
pycompile_module="decorator.py"
short_desc="Python2 decorator module"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="https://pypi.python.org/pypi/decorator/"
license="BSD"
distfiles="https://pypi.python.org/packages/source/d/decorator/decorator-${version}.tar.gz"
checksum=c20b404cbb7ee5cebd506688e0114e3cd76f5ce233805a51f36e1a7988d9d783
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
}
}