[arch-commits] Commit in python-mako/repos/extra-any (PKGBUILD PKGBUILD)

Eric Bélanger eric at nymeria.archlinux.org
Sat Jan 11 02:29:53 UTC 2014


    Date: Saturday, January 11, 2014 @ 03:29:53
  Author: eric
Revision: 203460

archrelease: copy trunk to extra-any

Added:
  python-mako/repos/extra-any/PKGBUILD
    (from rev 203459, python-mako/trunk/PKGBUILD)
Deleted:
  python-mako/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |  107 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 54 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2014-01-11 02:29:26 UTC (rev 203459)
+++ PKGBUILD	2014-01-11 02:29:53 UTC (rev 203460)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer : 
-
-pkgname=('python-mako' 'python2-mako')
-pkgver=0.9.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')
-source=("http://www.makotemplates.org/downloads/Mako-$pkgver.tar.gz")
-md5sums=('e2627ba5c65f83dfe39d9a0892ae517d')
-
-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() {
-    cd Mako-$pkgver
-    python3 setup.py build
-
-    cd ../python2-Mako-$pkgver
-    python2 setup.py build
-}
-
-check() {
-    cd Mako-$pkgver
-    python3 setup.py test
-
-    cd ../python2-Mako-$pkgver
-    python2 setup.py test
-}
-
-package_python-mako() {
-    depends=('python-markupsafe' 'python-beaker')
-
-    cd Mako-$pkgver
-    python3 setup.py install --root="$pkgdir" --optimize=1
-    install -D LICENSE "$pkgdir/usr/share/licenses/python-mako/COPYING"
-}
-
-package_python2-mako() {
-    depends=('python2-markupsafe' 'python2-beaker')
-
-    cd python2-Mako-$pkgver
-    python2 setup.py install --root="$pkgdir" --optimize=1
-    install -D LICENSE "$pkgdir/usr/share/licenses/python2-mako/COPYING"
-}

Copied: python-mako/repos/extra-any/PKGBUILD (from rev 203459, python-mako/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-01-11 02:29:53 UTC (rev 203460)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer : 
+
+pkgname=('python-mako' 'python2-mako')
+pkgver=0.9.1
+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')
+source=(https://pypi.python.org/packages/source/M/Mako/Mako-$pkgver.tar.gz{,.asc})
+sha1sums=('aa01bafca5a835eb92a9048be92414fa83da102b'
+          '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() {
+    cd Mako-$pkgver
+    python3 setup.py build
+
+    cd ../python2-Mako-$pkgver
+    python2 setup.py build
+}
+
+check() {
+    cd Mako-$pkgver
+    python3 setup.py test
+
+    cd ../python2-Mako-$pkgver
+    python2 setup.py test
+}
+
+package_python-mako() {
+    depends=('python-markupsafe' 'python-beaker')
+
+    cd Mako-$pkgver
+    python3 setup.py install --root="$pkgdir" --optimize=1
+    install -D LICENSE "$pkgdir/usr/share/licenses/python-mako/COPYING"
+}
+
+package_python2-mako() {
+    depends=('python2-markupsafe' 'python2-beaker')
+
+    cd python2-Mako-$pkgver
+    python2 setup.py install --root="$pkgdir" --optimize=1
+    install -D LICENSE "$pkgdir/usr/share/licenses/python2-mako/COPYING"
+}




More information about the arch-commits mailing list