Date: Friday, March 11, 2016 @ 05:42:11
  Author: fyan
Revision: 261315

upgpkg: python-mako 1.0.4-1

Modified:
  python-mako/trunk/PKGBUILD

----------+
 PKGBUILD |   43 ++++++++++++++++++++++---------------------
 1 file changed, 22 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2016-03-11 02:27:16 UTC (rev 261314)
+++ PKGBUILD    2016-03-11 04:42:11 UTC (rev 261315)
@@ -1,8 +1,9 @@
 # $Id$
 # Maintainer: Felix Yan <felixonm...@archlinux.org>
 
+pkgbase=python-mako
 pkgname=('python-mako' 'python2-mako')
-pkgver=1.0.3
+pkgver=1.0.4
 pkgrel=1
 pkgdesc="Hyperfast and lightweight templating for the Python2 platform"
 arch=('any')
@@ -10,48 +11,48 @@
 license=('MIT')
 makedepends=('python-setuptools' 'python2-setuptools' 'python-markupsafe' 
'python2-markupsafe'
              'python-beaker' 'python2-beaker')
-checkdepends=('python-nose' 'python2-nose' 'python-mock' 'python2-mock'
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-mock' 
'python2-mock'
               'python-babel' 'python2-babel' 'python-pygments' 
'python2-pygments'
               'python-dogpile.cache' 'python2-dogpile.cache')
 
source=(https://pypi.python.org/packages/source/M/Mako/Mako-$pkgver.tar.gz{,.asc})
-sha1sums=('d68636bc4b2d4c4030c936d88c4e05a8080b4463'
+sha1sums=('64f9cadffd5cc264ea91d81df6e24ce660a15836'
           'SKIP')
 validpgpkeys=('83AF7ACE251C13E6BB7DEFBD330239C1C4DAFEE1')  # Michael Bayer
 
 prepare() {
-    cp -a Mako-$pkgver{,-py2}
+  cp -a Mako-$pkgver{,-py2}
 }
 
 build() {
-    cd "$srcdir/Mako-$pkgver"
-    python setup.py build
+  cd "$srcdir"/Mako-$pkgver
+  python setup.py build
 
-    cd "$srcdir/Mako-$pkgver-py2"
-    python2 setup.py build
+  cd "$srcdir"/Mako-$pkgver-py2
+  python2 setup.py build
 }
 
 check() {
-    cd "$srcdir/Mako-$pkgver"
-    python setup.py test
+  cd "$srcdir"/Mako-$pkgver
+  python setup.py ptr
 
-    cd "$srcdir/Mako-$pkgver-py2"
-    python2 setup.py test
+  cd "$srcdir"/Mako-$pkgver-py2
+  python2 setup.py ptr
 }
 
 package_python-mako() {
-    depends=('python-markupsafe' 'python-beaker' 'python-setuptools')
+  depends=('python-markupsafe' 'python-beaker' 'python-setuptools')
 
-    cd Mako-$pkgver
-    python setup.py install --root="$pkgdir" --optimize=1
-    install -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+  cd Mako-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D LICENSE "$pkgdir"/usr/share/licenses/$pkgname/COPYING
 }
 
 package_python2-mako() {
-    depends=('python2-markupsafe' 'python2-beaker' 'python2-setuptools')
+  depends=('python2-markupsafe' 'python2-beaker' 'python2-setuptools')
 
-    cd Mako-$pkgver-py2
-    python2 setup.py install --root="$pkgdir" --optimize=1
-    install -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+  cd Mako-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D LICENSE "$pkgdir"/usr/share/licenses/$pkgname/COPYING
 
-    mv "$pkgdir/usr/bin/mako-render"{,2}
+  mv "$pkgdir"/usr/bin/mako-render{,2}
 }

Reply via email to