Date: Monday, June 9, 2014 @ 02:33:16 Author: fyan Revision: 214397 upgpkg: python-mako 1.0.0-1
- new upstream release - mako-render is now in the python3 version, and mako-render2 is provided by python2-mako instead. Modified: python-mako/trunk/PKGBUILD ----------+ PKGBUILD | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-06-09 00:23:27 UTC (rev 214396) +++ PKGBUILD 2014-06-09 00:33:16 UTC (rev 214397) @@ -1,24 +1,22 @@ # $Id$ -# Maintainer : +# Maintainer: Felix Yan <felixonm...@gmail.com> pkgname=('python-mako' 'python2-mako') -pkgver=0.9.1 -pkgrel=2 +pkgver=1.0.0 +pkgrel=1 pkgdesc="Hyperfast and lightweight templating for the Python2 platform" arch=('any') url="http://www.makotemplates.org/" license=('MIT') -makedepends=('python-setuptools' 'python2-setuptools') -checkdepends=('python-nose' 'python2-nose') +makedepends=('python-setuptools' 'python2-setuptools' 'python-markupsafe' 'python2-markupsafe' + 'python-beaker' 'python2-beaker') +checkdepends=('python-nose' 'python2-nose' 'python-mock' 'python2-mock') source=(https://pypi.python.org/packages/source/M/Mako/Mako-$pkgver.tar.gz{,.asc}) -sha1sums=('aa01bafca5a835eb92a9048be92414fa83da102b' +sha1sums=('580b3a8043833e3c3340d4b661a33f6ccc6a35d5' 'SKIP') prepare() { cp -r Mako-$pkgver python2-Mako-$pkgver - mv Mako-$pkgver/scripts/mako-render Mako-$pkgver/scripts/python3-mako-render - 2to3 -nw Mako-$pkgver/scripts/python3-mako-render - sed -i 's/mako-render/python3-mako-render/' Mako-$pkgver/setup.py } build() { @@ -51,4 +49,6 @@ cd python2-Mako-$pkgver python2 setup.py install --root="$pkgdir" --optimize=1 install -D LICENSE "$pkgdir/usr/share/licenses/python2-mako/COPYING" + + mv "$pkgdir/usr/bin/mako-render" "$pkgdir/usr/bin/mako-render2" }