2012-06-28 12:20:17 +02:00
|
|
|
# Template file for 'python-decorator'
|
|
|
|
pkgname=python-decorator
|
2015-03-27 10:40:55 +01:00
|
|
|
version=3.4.2
|
2012-06-28 12:20:17 +02:00
|
|
|
revision=1
|
2014-06-29 19:19:29 +02:00
|
|
|
noarch=yes
|
2012-06-28 12:20:17 +02:00
|
|
|
wrksrc="decorator-${version}"
|
|
|
|
build_style=python-module
|
2014-06-29 19:19:29 +02:00
|
|
|
python_versions="2.7 3.4"
|
|
|
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
2014-01-01 16:10:11 +01:00
|
|
|
depends="python"
|
|
|
|
pycompile_module="decorator.py"
|
2014-06-29 19:19:29 +02:00
|
|
|
short_desc="Python2 decorator module"
|
2012-06-28 12:20:17 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2015-03-27 10:40:55 +01:00
|
|
|
homepage="https://github.com/micheles/decorator"
|
2012-06-28 12:20:17 +02:00
|
|
|
license="BSD"
|
2015-03-27 10:40:55 +01:00
|
|
|
distfiles="${PYPI_SITE}/d/decorator/decorator-${version}.tar.gz"
|
|
|
|
checksum=7320002ce61dea6aa24adc945d9d7831b3669553158905cdd12f5d0027b54b44
|
2014-06-29 19:19:29 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|