[arch-commits] Commit in python-tempita/repos/community-any (PKGBUILD PKGBUILD)
Sergej Pupykin
spupykin at archlinux.org
Mon Jan 11 15:26:15 UTC 2016
Date: Monday, January 11, 2016 @ 16:26:15
Author: spupykin
Revision: 156007
archrelease: copy trunk to community-any
Added:
python-tempita/repos/community-any/PKGBUILD
(from rev 156006, python-tempita/trunk/PKGBUILD)
Deleted:
python-tempita/repos/community-any/PKGBUILD
----------+
PKGBUILD | 71 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 36 insertions(+), 35 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-01-11 15:26:06 UTC (rev 156006)
+++ PKGBUILD 2016-01-11 15:26:15 UTC (rev 156007)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Maintainer: David Campbell <davekong at archlinux.us>
-# Contributor: Cilyan Olowen <gaknar at gmail.com>
-# Contributor: Frederik M.J.V. <freqmod VED iskrembilen Dott kom>
-
-pkgbase=python-tempita
-pkgname=('python-tempita' 'python2-tempita')
-pkgver=0.5.2
-pkgrel=2
-pkgdesc="A lightweight unicode templating language"
-arch=('any')
-url="http://pythonpaste.org/tempita/"
-license=('custom:MIT')
-makedepends=('python-distribute' 'python2-distribute')
-source=(http://pypi.python.org/packages/source/T/Tempita/Tempita-${pkgver}.tar.gz
- $pkgbase-license.txt::http://pythonpaste.org/tempita/_sources/license.txt)
-md5sums=('4c2f17bb9d481821c41b6fbee904cea1'
- 'c66b85ddcd09296abff87601467724fd')
-
-package_python-tempita() {
- depends=('python')
-
- cd $srcdir/Tempita-${pkgver}
- python setup.py install --root=$pkgdir --optimize=1
- install -Dm644 $srcdir/$pkgbase-license.txt $pkgdir/usr/share/licenses/$pkgname/license.txt
-}
-
-package_python2-tempita() {
- depends=('python2')
-
- cd $srcdir/Tempita-${pkgver}
- python2 setup.py install --root=$pkgdir --optimize=1
- install -Dm644 $srcdir/$pkgbase-license.txt $pkgdir/usr/share/licenses/$pkgname/license.txt
-}
Copied: python-tempita/repos/community-any/PKGBUILD (from rev 156006, python-tempita/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-01-11 15:26:15 UTC (rev 156007)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: David Campbell <davekong at archlinux.us>
+# Contributor: Cilyan Olowen <gaknar at gmail.com>
+# Contributor: Frederik M.J.V. <freqmod VED iskrembilen Dott kom>
+
+pkgbase=python-tempita
+pkgname=('python-tempita' 'python2-tempita')
+pkgver=0.5.2
+pkgrel=3
+pkgdesc="A lightweight unicode templating language"
+arch=('any')
+url="http://pythonpaste.org/tempita/"
+license=('custom:MIT')
+makedepends=('python-distribute' 'python2-distribute')
+source=(http://pypi.python.org/packages/source/T/Tempita/Tempita-${pkgver}.tar.gz
+ $pkgbase-license.txt::http://pythonpaste.org/tempita/_sources/license.txt)
+md5sums=('4c2f17bb9d481821c41b6fbee904cea1'
+ 'c66b85ddcd09296abff87601467724fd')
+
+package_python-tempita() {
+ depends=('python')
+
+ cd $srcdir/Tempita-${pkgver}
+ python setup.py install --root=$pkgdir --optimize=1
+ install -Dm644 $srcdir/$pkgbase-license.txt $pkgdir/usr/share/licenses/$pkgname/license.txt
+}
+
+package_python2-tempita() {
+ depends=('python2')
+
+ cd $srcdir/Tempita-${pkgver}
+ sed -e 's|from urllib.parse|from urllib|' -i tempita/__init__.py
+ python2 setup.py install --root=$pkgdir --optimize=1
+ install -Dm644 $srcdir/$pkgbase-license.txt $pkgdir/usr/share/licenses/$pkgname/license.txt
+}
More information about the arch-commits
mailing list