mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-08 02:02:08 +01:00
45 lines
1.3 KiB
Plaintext
45 lines
1.3 KiB
Plaintext
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py-nikola
|
|
_pkgname=Nikola
|
|
pkgver=7.3.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 py-blinker py-logbook py-natsort
|
|
py-markdown"
|
|
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
|
|
# python setup.py test || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
|
|
}
|
|
|
|
md5sums="639d4c6faacfe6f07142c593261fac9c nikola-7.3.0.tar.gz"
|
|
sha256sums="ff68972fc195814b6b22ff95d75f9eda59d10d573f77adafec947f0dfb676fe8 nikola-7.3.0.tar.gz"
|
|
sha512sums="781febede35dec9ea5506f04c2e1c89c01ff971dc474975813ea7eb2ab076664876c327adfd2dfcb5fb82f04188856100037f9f1c47409bab2e845458fcab18b nikola-7.3.0.tar.gz"
|