[arch-commits] Commit in python-mako/repos/extra-any (PKGBUILD PKGBUILD)
Stéphane Gaudreault
stephane at archlinux.org
Sat Dec 15 23:50:44 UTC 2012
Date: Saturday, December 15, 2012 @ 18:50:44
Author: stephane
Revision: 173241
archrelease: copy trunk to extra-any
Added:
python-mako/repos/extra-any/PKGBUILD
(from rev 173240, python-mako/trunk/PKGBUILD)
Deleted:
python-mako/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 83 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2012-12-15 23:50:32 UTC (rev 173240)
+++ PKGBUILD 2012-12-15 23:50:44 UTC (rev 173241)
@@ -1,41 +0,0 @@
-# $Id$
-# Maintainer : Ionut Biru <ibiru at archlinux.org>
-# Contributor: Roberto Alsina <ralsina at kde.org>
-
-pkgname=('python-mako' 'python2-mako')
-pkgver=0.7.2
-pkgrel=2
-pkgdesc="Hyperfast and lightweight templating for the Python2 platform."
-arch=('any')
-url="http://www.makotemplates.org/"
-license=('MIT')
-makedepends=('python-distribute' 'python2-distribute')
-source=("http://www.makotemplates.org/downloads/Mako-$pkgver.tar.gz")
-md5sums=('e3c0a677aa4216da9e89ef8fa76cbafb')
-
-build() {
- cp -r Mako-$pkgver python2-Mako-$pkgver
-
- cd "$srcdir/Mako-$pkgver"
- python3 setup.py build
-
- cd "$srcdir/python2-Mako-$pkgver"
- python2 setup.py build
-}
-
-package_python-mako() {
- depends=('python-markupsafe' 'python-beaker')
-
- cd "$srcdir/Mako-$pkgver"
- python3 setup.py install --root="$pkgdir" --optimize=1
- mv "$pkgdir"/usr/bin/mako-render "$pkgdir"/usr/bin/python3-mako-render
- install -D LICENSE "$pkgdir/usr/share/licenses/python-mako/COPYING"
-}
-
-package_python2-mako() {
- depends=('python2-markupsafe' 'python2-beaker')
-
- cd "$srcdir/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 173240, python-mako/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2012-12-15 23:50:44 UTC (rev 173241)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer : Ionut Biru <ibiru at archlinux.org>
+# Contributor: Roberto Alsina <ralsina at kde.org>
+
+pkgname=('python-mako' 'python2-mako')
+pkgver=0.7.3
+pkgrel=1
+pkgdesc="Hyperfast and lightweight templating for the Python2 platform."
+arch=('any')
+url="http://www.makotemplates.org/"
+license=('MIT')
+makedepends=('python-distribute' 'python2-distribute')
+source=("http://www.makotemplates.org/downloads/Mako-$pkgver.tar.gz")
+md5sums=('d41a87c0c1f2943940cb370cf895e2be')
+
+build() {
+ cp -r Mako-$pkgver python2-Mako-$pkgver
+
+ cd "$srcdir/Mako-$pkgver"
+ python3 setup.py build
+
+ cd "$srcdir/python2-Mako-$pkgver"
+ python2 setup.py build
+}
+
+package_python-mako() {
+ depends=('python-markupsafe' 'python-beaker')
+
+ cd "$srcdir/Mako-$pkgver"
+ python3 setup.py install --root="$pkgdir" --optimize=1
+ mv "$pkgdir"/usr/bin/mako-render "$pkgdir"/usr/bin/python3-mako-render
+ 2to3 -nw "$pkgdir"/usr/bin/python3-mako-render # FS#33023
+ install -D LICENSE "$pkgdir/usr/share/licenses/python-mako/COPYING"
+}
+
+package_python2-mako() {
+ depends=('python2-markupsafe' 'python2-beaker')
+
+ cd "$srcdir/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