aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-chameleon/APKBUILD
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-09-28 16:11:24 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-30 06:54:35 +0000
commitd7a338009f50c1f98609b46977b5f1adecfe92e9 (patch)
tree14075365482b36954b8863941ab1970b10cea5e7 /testing/py-chameleon/APKBUILD
parent0473d596a36bad5fce5f5d4072d7b9816ab64527 (diff)
downloadaports-d7a338009f50c1f98609b46977b5f1adecfe92e9.tar.bz2
aports-d7a338009f50c1f98609b46977b5f1adecfe92e9.tar.xz
testing/py-chameleon: new aport
A Fast Python HTML/XML Template Compiler http://chameleon.repoze.org/
Diffstat (limited to 'testing/py-chameleon/APKBUILD')
-rw-r--r--testing/py-chameleon/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-chameleon/APKBUILD b/testing/py-chameleon/APKBUILD
new file mode 100644
index 0000000000..96cebdbc16
--- /dev/null
+++ b/testing/py-chameleon/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+pkgname=py-chameleon
+_pkgname=Chameleon
+pkgver=2.12
+pkgrel=0
+pkgdesc="A Fast Python HTML/XML Template Compiler"
+url="http://arthurdejong.org/python-stdnum/"
+arch="noarch"
+license="BSD"
+depends="python py-lxml py-zope-interface"
+depends_dev=""
+makedepends="python-dev py-setuptools"
+install=""
+subpackages=""
+source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$_pkgname-$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="c2947c7b615bf758fa4a710e759c658b Chameleon-2.12.tar.gz"
+sha256sums="8bb5c412b55cafc4e4ecc85ccdafb1858fdd2f2b9425a5eead8ce19d5183fa2a Chameleon-2.12.tar.gz"
+sha512sums="ee28fe2617d42e9e5b31d89ff6002d1d274bec5de61395abe3cd3c5e64c8297d67a56efeb75d21b3b506fe5f44c45a7584b22ee149ede70a1c9d2d2df8f8a14c Chameleon-2.12.tar.gz"