aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-nikola
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-09-24 20:51:30 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2013-09-29 14:07:37 +0000
commit324396e3fb697bee4f62ce2a0bb906b9fd0e2418 (patch)
tree5a4a19f40b3ce4474cd3d87f7fe04744e71b1287 /testing/py-nikola
parentc607e1ef6ebea939a8b0d0962967316b47fe8ae7 (diff)
downloadaports-324396e3fb697bee4f62ce2a0bb906b9fd0e2418.tar.bz2
aports-324396e3fb697bee4f62ce2a0bb906b9fd0e2418.tar.xz
testing/py-nikola: new aport
A modular, fast, simple, static python website generator http://getnikola.com/
Diffstat (limited to 'testing/py-nikola')
-rw-r--r--testing/py-nikola/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/py-nikola/APKBUILD b/testing/py-nikola/APKBUILD
new file mode 100644
index 0000000000..6b0b06ed78
--- /dev/null
+++ b/testing/py-nikola/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py-nikola
+_pkgname=Nikola
+pkgver=6.0.4
+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="3b1c0fc2bd60e5cd120bd5ebd1148982 nikola-6.0.4.tar.gz"
+sha256sums="c8abe3effaa101328ad25191fa81bacc11d8f62810eaaf19a6943bd5a0308840 nikola-6.0.4.tar.gz"
+sha512sums="b3e467f1eaac135c20d4ad6bbf884fdd372c0b88efd5da5a9eab1ae5279cd5a46a56438a44d60d4214feb9a8f9dc85038bb47c2dca8cc703d037bdf402706da2 nikola-6.0.4.tar.gz"