aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-templayer/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-12-16 10:36:53 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-12-16 10:45:34 +0000
commit5f3d3104b805379479a2b85f1892d6c58a29e0a2 (patch)
treedaa24a792f04be0618ea68f74ff0fe5bdc206741 /testing/py-templayer/APKBUILD
parent6a81c9ea02c9aac23a7cebc0c388d235786ffcf9 (diff)
downloadaports-5f3d3104b805379479a2b85f1892d6c58a29e0a2.tar.gz
aports-5f3d3104b805379479a2b85f1892d6c58a29e0a2.tar.bz2
aports-5f3d3104b805379479a2b85f1892d6c58a29e0a2.tar.xz
testing/py-{templayer,urwid}: renamed
Diffstat (limited to 'testing/py-templayer/APKBUILD')
-rw-r--r--testing/py-templayer/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-templayer/APKBUILD b/testing/py-templayer/APKBUILD
new file mode 100644
index 0000000000..776fdfbc2b
--- /dev/null
+++ b/testing/py-templayer/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Matt Smith <mcs@darkregion.net>
+# Maintainer: Matt Smith <mcs@darkregion.net>
+pkgname=py-templayer
+_name=templayer
+pkgver=1.5.1
+pkgrel=0
+pkgdesc="Templayer is a layered template library for Python and Django"
+url="http://excess.org/templayer/"
+arch="x86 x86_64"
+license="LGPL"
+depends="python"
+makedepends="python-dev"
+install=
+subpackages="$pkgname-doc"
+source="http://excess.org/$pkgname/$_name-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$_name-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ # apply patches here
+}
+
+build() {
+ return 0
+}
+
+package() {
+ cd "$_builddir"
+ python setup.py install --root "$pkgdir"
+}
+
+doc() {
+ mkdir -p "$subpkgdir"/usr/share/doc/$pkgname
+ cd "$_builddir"
+ install -Dm644 docs/reference.html "$subpkgdir"/usr/share/doc/$pkgname/reference.html
+ install -Dm644 docs/tutorial.html "$subpkgdir"/usr/share/doc/$pkgname/tutorial.html
+ install -Dm644 docs/tutorial_examples.tar.gz "$subpkgdir"/usr/share/doc/$pkgname/tutorial_examples.tar.gz
+}
+
+md5sums="9d1a3aa0cece34a2492792278aad406d templayer-1.5.1.tar.gz"