diff options
author | André Klitzing <aklitzing@gmail.com> | 2017-03-28 21:31:09 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-04-10 11:14:25 +0000 |
commit | 5b80e59bd368fd53ba46e2254d5a1d2d578e447c (patch) | |
tree | 5d79dc85a21cfd990000538346d6491fb19fcfe7 /main/py-mako | |
parent | cd5560ea6e2c0a9a6fc272e2de33402c685c11d9 (diff) | |
download | aports-5b80e59bd368fd53ba46e2254d5a1d2d578e447c.tar.bz2 aports-5b80e59bd368fd53ba46e2254d5a1d2d578e447c.tar.xz |
main/py-mako: upgrade to 1.0.6 and modernize abuild
Diffstat (limited to 'main/py-mako')
-rw-r--r-- | main/py-mako/APKBUILD | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/main/py-mako/APKBUILD b/main/py-mako/APKBUILD index ac016ba436..9a1f4f83e7 100644 --- a/main/py-mako/APKBUILD +++ b/main/py-mako/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=py-mako _pkgname=Mako -pkgver=1.0.3 +pkgver=1.0.6 pkgrel=0 pkgdesc="A Python fast templating language" url="http://www.makotemplates.org/" @@ -14,28 +14,16 @@ makedepends="python2-dev py-setuptools" install="" subpackages="" source="https://files.pythonhosted.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 -} +builddir="$srcdir"/$_pkgname-$pkgver build() { - cd "$_builddir" + cd "$builddir" python2 setup.py build || return 1 } package() { - cd "$_builddir" + cd "$builddir" python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 } -md5sums="a78f20f6366a8a0659ce5532f8614e53 Mako-1.0.3.tar.gz" -sha256sums="7644bc0ee35965d2e146dde31827b8982ed70a58281085fac42869a09764d38c Mako-1.0.3.tar.gz" -sha512sums="1652cb3f7ea6484975c16f914ce9c070e503ff532564f76a048dd316e5eb12ff2b2445f272be55147d4d62b45906d5e14b3799c9136622ed0867a00875a0e52d Mako-1.0.3.tar.gz" +sha512sums="15608f2487783ea3a48faf743ee1b8e811adc34281c613e56f1a4548f3c614d1d5dbc943911943a7f8f6d34a962a27387d8fc17862038c1abee2e6c3328a79cf Mako-1.0.6.tar.gz" |