1 # Template file for 'python-decorator'
2 pkgname=python-decorator
6 wrksrc="decorator-${version}"
7 build_style=python-module
8 hostmakedepends="python-setuptools python3-setuptools"
10 pycompile_module="decorator.py"
11 short_desc="Python2 decorator module"
12 maintainer="Juan RP <xtraeme@voidlinux.eu>"
13 homepage="https://github.com/micheles/decorator"
14 license="BSD-2-Clause"
15 distfiles="${PYPI_SITE}/d/decorator/decorator-${version}.tar.gz"
16 checksum=c39efa13fbdeb4506c476c9b3babf6a718da943dab7811c206005a4a956c080c
19 vlicense LICENSE.txt LICENSE
22 python3-decorator_package() {
25 pycompile_module="decorator.py"
26 short_desc="${short_desc/Python2/Python3}"
28 vmove usr/lib/python3*
29 vlicense LICENSE.txt LICENSE