Date: Monday, April 10, 2023 @ 18:33:19
Author: felixonmars
Revision: 1444575
archrelease: copy trunk to community-staging-any
Added:
python-tempita/repos/community-staging-any/
python-tempita/repos/community-staging-any/PKGBUILD
(from rev 1444574, python-tempita/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: python-tempita/repos/community-staging-any/PKGBUILD (from rev 1444574,
python-tempita/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-10 18:33:19 UTC (rev 1444575)
@@ -0,0 +1,33 @@
+# Maintainer: Sergej Pupykin <[email protected]>
+# Maintainer: David Campbell <[email protected]>
+# Contributor: Cilyan Olowen <[email protected]>
+# Contributor: Frederik M.J.V. <freqmod VED iskrembilen Dott kom>
+
+pkgname=python-tempita
+pkgver=0.5.2
+pkgrel=6
+epoch=1
+pkgdesc="A lightweight unicode templating language"
+arch=('any')
+url="http://pythonpaste.org/tempita/"
+license=('custom:MIT')
+depends=('python')
+makedepends=('python-setuptools')
+source=(https://pypi.python.org/packages/source/T/Tempita/Tempita-${pkgver}.tar.gz)
+sha256sums=('cacecf0baa674d356641f1d406b8bff1d756d739c46b869a54de515d08e6fc9c')
+
+prepare() {
+ cd Tempita-${pkgver}
+ sed -i '/use_2to3/d' setup.py
+}
+
+build() {
+ cd Tempita-${pkgver}
+ 2to3 -wn tempita
+ python setup.py build
+}
+
+package() {
+ cd Tempita-${pkgver}
+ python setup.py install --root="$pkgdir" --optimize=1
+}