blob: 01804a73099574e807b143f1d874c071996a8e63 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-nikola
_pkgname=Nikola
pkgver=6.2.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="bbf43c1927977edd29969e839463ec05 nikola-6.2.0.tar.gz"
sha256sums="feeb045963c86c4bcaae5740ac76573f9ea87daf6b77274f188e83a251ad342d nikola-6.2.0.tar.gz"
sha512sums="7a6fd82667fc550cdd09f1d47160a9d6301026dd0edb907440f5eb0d8794c2d76d24efde2e3d52e6cf966c587a18718ecec1940c18847229c11543f5d4c3316e nikola-6.2.0.tar.gz"
|