[arch-commits] Commit in python-tempita/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Fri Oct 25 16:32:56 UTC 2019
Date: Friday, October 25, 2019 @ 16:32:55
Author: foutrelis
Revision: 519460
archrelease: copy trunk to community-staging-any
Added:
python-tempita/repos/community-staging-any/
python-tempita/repos/community-staging-any/PKGBUILD
(from rev 519459, python-tempita/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: python-tempita/repos/community-staging-any/PKGBUILD (from rev 519459, python-tempita/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-25 16:32:55 UTC (rev 519460)
@@ -0,0 +1,33 @@
+# 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.3dev20170202
+_commit=47414a7c6e46a9a9afe78f0bce2ea299fa84d10d
+pkgrel=3
+pkgdesc="A lightweight unicode templating language"
+arch=('any')
+url="http://pythonpaste.org/tempita/"
+license=('custom:MIT')
+makedepends=('python-distribute' 'python2-distribute' 'git')
+#source=(https://pypi.python.org/packages/source/T/Tempita/Tempita-${pkgver}.tar.gz)
+source=("$pkgbase::git://github.com/gjhiggins/tempita.git#commit=${_commit}")
+sha256sums=('SKIP')
+
+package_python-tempita() {
+ depends=('python')
+
+ cd "$srcdir"/$pkgbase
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-tempita() {
+ depends=('python2')
+
+ cd "$srcdir"/$pkgbase
+ sed -e 's|from urllib.parse|from urllib|' -i tempita/__init__.py
+ python2 setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list