diff options
author | Paul Kilar <pkilar@gmail.com> | 2014-05-14 14:26:15 -0400 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-05-19 14:05:45 +0000 |
commit | 2d63e01e5c8bf15d0025705e537ff54362a9ee29 (patch) | |
tree | b363e276e821166d0c76478b85b856478a089e56 /testing | |
parent | 6015d0cc954143cf4962881b91e38ae6912d94ef (diff) | |
download | aports-2d63e01e5c8bf15d0025705e537ff54362a9ee29.tar.bz2 aports-2d63e01e5c8bf15d0025705e537ff54362a9ee29.tar.xz |
testing/py-pystache: new aport
https://pypi.python.org/pypi/pystache
Pystache is a Python implementation of Mustache.
Diffstat (limited to 'testing')
-rw-r--r-- | testing/py-pystache/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/py-pystache/APKBUILD b/testing/py-pystache/APKBUILD new file mode 100644 index 0000000000..8bfb424f7e --- /dev/null +++ b/testing/py-pystache/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Paul Kilar <pkilar@gmail.com> +# Maintainer: Paul Kilar <pkilar@gmail.com> +pkgname=py-pystache +_realname=pystache +pkgver='0.5.3' +pkgrel=0 +pkgdesc="Pystache is a Python implementation of Mustache." +url="https://pypi.python.org/pypi/pystache" +arch="noarch" +license="MIT" +depends="python" +depends_dev="" +makedepends="py-setuptools" +install="" +subpackages="" +source="https://pypi.python.org/packages/source/p/$_realname/$_realname-$pkgver.tar.gz" +_builddir="$srcdir"/$_realname-$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="32beedc4ee01cca737ae8f05e65fb53f pystache-0.5.3.tar.gz" +sha256sums="445c8663291abf11305693ecac7b9f3ff976555f5506ccc05a0353260a5a16dc pystache-0.5.3.tar.gz" +sha512sums="2b77f3e26cf37e663b7414e5ca95667f8332bb1005ae835775543c0d2c282f0c7bd8ded3f1e06da930247e39e5d206fb3f90d80e7c556b98cd69d4be74836843 pystache-0.5.3.tar.gz" |