aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-meld3
diff options
context:
space:
mode:
Diffstat (limited to 'main/py-meld3')
-rw-r--r--main/py-meld3/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/main/py-meld3/APKBUILD b/main/py-meld3/APKBUILD
new file mode 100644
index 0000000000..e8a59d61f1
--- /dev/null
+++ b/main/py-meld3/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Peter Bui <pnutzh4x0r@gmail.com>
+# Maintainer: Peter Bui <pnutzh4x0r@gmail.com>
+pkgname=py-meld3
+_pkgname=meld3
+pkgver=1.0.0
+pkgrel=0
+pkgdesc="An HTML/XML templating engine"
+url="http://www.plope.com/software/meld3/"
+arch="noarch"
+license="ZPL"
+depends="python"
+depends_dev="python-dev py-setuptools"
+makedepends="$depends_dev"
+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" --optimize=1 || return 1
+}
+
+md5sums="ca270506dd4ecb20ae26fa72fbd9b0be meld3-1.0.0.tar.gz"
+sha256sums="57b41eebbb5a82d4a928608962616442e239ec6d611fe6f46343e765e36f0b2b meld3-1.0.0.tar.gz"
+sha512sums="17d90620b34ddecebcf1d08698149a598f1ac74f3a9c8c5fadcc2ea70d3d94c19ac3d662904f29a5093b3326131a2875940f3fa63a05f288de8e703cfee6e243 meld3-1.0.0.tar.gz"