Date: Thursday, April 6, 2023 @ 02:43:54
Author: felixonmars
Revision: 472700
archrelease: copy trunk to staging-any
Added:
python-mako/repos/staging-any/
python-mako/repos/staging-any/PKGBUILD
(from rev 472699, python-mako/trunk/PKGBUILD)
python-mako/repos/staging-any/keys/
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: python-mako/repos/staging-any/PKGBUILD (from rev 472699,
python-mako/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2023-04-06 02:43:54 UTC (rev 472700)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-mako
+pkgver=1.2.4
+pkgrel=2
+pkgdesc="A super-fast templating language that borrows the best ideas from the
existing templating languages"
+arch=('any')
+url="https://www.makotemplates.org/"
+license=('MIT')
+depends=('python-markupsafe')
+makedepends=('python-setuptools')
+# python-lingua isn't packaged
+checkdepends=('python-pytest' 'python-babel' 'python-beaker'
'python-dogpile.cache'
+ 'python-pygments')
+source=("https://pypi.io/packages/source/M/Mako/Mako-$pkgver.tar.gz"{,.asc})
+sha512sums=('9a90d245f2c8b5e5efa283d91f762a2fffa40b7f71e7a4b66de7f66f894ad5ba2fa5c04080200b6633bb61d4308db5b5e763b26ae7d93d18efe4aebb2178006a'
+ 'SKIP')
+validpgpkeys=('83AF7ACE251C13E6BB7DEFBD330239C1C4DAFEE1' # Michael Bayer
+ '2CA9B722133AF20453401FD1A33AC2044BFDF51E') # Mako Maintainer
+
+build() {
+ cd Mako-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd Mako-$pkgver
+ python -m pytest
+}
+
+package() {
+ cd Mako-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}