void-packages/srcpkgs/python-decorator/template

30 lines
859 B
Text
Raw Normal View History

2012-06-28 10:20:17 +00:00
# Template file for 'python-decorator'
pkgname=python-decorator
version=3.4.0
2012-06-28 10:20:17 +00:00
revision=1
noarch=yes
2012-06-28 10:20:17 +00:00
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"
2012-06-28 10:20:17 +00:00
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="https://pypi.python.org/pypi/decorator/"
2012-06-28 10:20:17 +00:00
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
}
}