2012-06-28 10:20:17 +00:00
|
|
|
# Template file for 'python-decorator'
|
|
|
|
pkgname=python-decorator
|
2014-06-29 17:19:29 +00:00
|
|
|
version=3.4.0
|
2012-06-28 10:20:17 +00:00
|
|
|
revision=1
|
2014-06-29 17:19:29 +00:00
|
|
|
noarch=yes
|
2012-06-28 10:20:17 +00:00
|
|
|
wrksrc="decorator-${version}"
|
|
|
|
build_style=python-module
|
2014-06-29 17:19:29 +00:00
|
|
|
python_versions="2.7 3.4"
|
|
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
|
|
makedepends="python-devel python3.4-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="python"
|
|
|
|
pycompile_module="decorator.py"
|
2014-06-29 17:19:29 +00:00
|
|
|
short_desc="Python2 decorator module"
|
2012-06-28 10:20:17 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2014-06-29 17:19:29 +00:00
|
|
|
homepage="https://pypi.python.org/pypi/decorator/"
|
2012-06-28 10:20:17 +00:00
|
|
|
license="BSD"
|
2014-06-29 17:19:29 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|