[arch-commits] Commit in python-tempita/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Thu Feb 13 17:33:22 UTC 2020
Date: Thursday, February 13, 2020 @ 17:33:21
Author: jelle
Revision: 570661
remove python2 module
Modified:
python-tempita/trunk/PKGBUILD
----------+
PKGBUILD | 24 +++++++-----------------
1 file changed, 7 insertions(+), 17 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-13 17:30:36 UTC (rev 570660)
+++ PKGBUILD 2020-02-13 17:33:21 UTC (rev 570661)
@@ -3,31 +3,21 @@
# 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')
+pkgname=python-tempita
pkgver=0.5.3dev20170202
_commit=47414a7c6e46a9a9afe78f0bce2ea299fa84d10d
-pkgrel=4
+pkgrel=5
pkgdesc="A lightweight unicode templating language"
arch=('any')
url="http://pythonpaste.org/tempita/"
license=('custom:MIT')
-makedepends=('python-distribute' 'python2-distribute' 'git')
+depends=('python')
+makedepends=('python-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}")
+source=("$pkgname::git://github.com/gjhiggins/tempita.git#commit=${_commit}")
sha256sums=('SKIP')
-package_python-tempita() {
- depends=('python')
-
- cd "$srcdir"/$pkgbase
+package() {
+ cd "$pkgname"
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