[arch-commits] Commit in python-mako/repos (3 files)
Ionut Biru
ibiru at archlinux.org
Thu Dec 22 18:14:08 UTC 2011
Date: Thursday, December 22, 2011 @ 13:14:08
Author: ibiru
Revision: 145458
db-move: moved python-mako from [staging] to [extra] (any)
Added:
python-mako/repos/extra-any/PKGBUILD
(from rev 145457, python-mako/repos/staging-any/PKGBUILD)
Deleted:
python-mako/repos/extra-any/PKGBUILD
python-mako/repos/staging-any/
----------+
PKGBUILD | 67 +++++++++++++++++++++++++++++++++++++------------------------
1 file changed, 41 insertions(+), 26 deletions(-)
Deleted: extra-any/PKGBUILD
===================================================================
--- extra-any/PKGBUILD 2011-12-22 17:55:49 UTC (rev 145457)
+++ extra-any/PKGBUILD 2011-12-22 18:14:08 UTC (rev 145458)
@@ -1,26 +0,0 @@
-# $Id$
-# Maintainer : Ionut Biru <ibiru at archlinux.org>
-# Contributor: Roberto Alsina <ralsina at kde.org>
-
-pkgname=python-mako
-pkgver=0.5.0
-pkgrel=1
-pkgdesc="Hyperfast and lightweight templating for the Python2 platform."
-arch=('any')
-url="http://www.makotemplates.org/"
-license=('custom')
-depends=('python2' 'python-markupsafe' 'python-beaker')
-makedepends=('python2-distribute')
-source=(http://www.makotemplates.org/downloads/Mako-$pkgver.tar.gz)
-md5sums=('532d7aa7ffbfd2873c1461a30431366a')
-
-build() {
- cd "$srcdir/Mako-$pkgver"
- python2 setup.py build
-}
-
-build() {
- cd "$srcdir/Mako-$pkgver"
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -D LICENSE "$pkgdir/usr/share/licenses/python-mako/COPYING"
-}
Copied: python-mako/repos/extra-any/PKGBUILD (from rev 145457, python-mako/repos/staging-any/PKGBUILD)
===================================================================
--- extra-any/PKGBUILD (rev 0)
+++ extra-any/PKGBUILD 2011-12-22 18:14:08 UTC (rev 145458)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer : Ionut Biru <ibiru at archlinux.org>
+# Contributor: Roberto Alsina <ralsina at kde.org>
+
+pkgname=('python-mako' 'python2-mako')
+pkgver=0.5.0
+pkgrel=2
+pkgdesc="Hyperfast and lightweight templating for the Python2 platform."
+arch=('any')
+url="http://www.makotemplates.org/"
+license=('custom')
+makedepends=('python-distribute' 'python2-distribute')
+source=("http://www.makotemplates.org/downloads/Mako-$pkgver.tar.gz")
+md5sums=('532d7aa7ffbfd2873c1461a30431366a')
+
+build() {
+ cp -r Mako-$pkgver python2-Mako-$pkgver
+
+ cd "$srcdir/Mako-$pkgver"
+ python setup.py build
+
+ cd "$srcdir/python2-Mako-$pkgver"
+ python2 setup.py build
+}
+
+package_python-mako() {
+ depends=('python-markupsafe' 'python-beaker')
+
+ cd "$srcdir/Mako-$pkgver"
+ python 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"
+}
More information about the arch-commits
mailing list