# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py-nikola _pkgname=Nikola pkgver=6.1.0 pkgrel=0 pkgdesc="A modular, fast, simple, static python website generator" url="http://getnikola.com/" arch="noarch" license="MIT" depends="python py-doit py-pygments py-pillow py-docutils py-mako py-unidecode py-lxml py-yapsy py-pyrss2gen py-tz" depends_dev="" makedepends="python-dev py-setuptools" install="" subpackages="" source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/nikola-$pkgver.tar.gz" _builddir="$srcdir"/nikola-$pkgver prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" python setup.py build || return 1 } package() { cd "$_builddir" python setup.py install --prefix=/usr --root="$pkgdir" || return 1 } md5sums="5251cb5753eba297ec2fb247db13dccd nikola-6.1.0.tar.gz" sha256sums="5aa175f1cd01a45c31775160e3c23b51e5356dc3bff9252eda91bd8c48a4c7b8 nikola-6.1.0.tar.gz" sha512sums="1f9cf14105fb9a7fdebdba563388ce9d429ba109cf8eea566bba6ea9951ff8493d9c9e1abec8402dfa6790595cef13df313872cb79cd4d54160a9a1bb07663a7 nikola-6.1.0.tar.gz"