#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com pkgname=pydecorator pkgver=3.1.2 zenver=64 pkgrel=1 arch=noarch source=("http://pypi.python.org/packages/source/d/decorator/decorator-$pkgver.tar.gz" "LICENSE.txt") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/l/$pkgname docs=("readme*" "documentation*" "changes*") url=http://pypi.python.org/pypi/decorator options=('noautodotnew') extradepends=("python") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "pydecorator (Python decorator module)" "Python decorators are an interesting example of why syntactic sugar" "matters. In principle, their introduction in Python 2.4 changed" "nothing, since they do not provide any new functionality which was" "not already present in the language. In practice, their introduction" "has significantly changed the way we structure our programs in Python." ) build() { cd $startdir/src/decorator-$pkgver python setup.py install --prefix=/usr --root=$startdir/pkg install -D -m0644 ../LICENSE.txt $startdir/pkg/usr/share/licenses/$pkgname/LICENSE.txt }