[arch-commits] Commit in python-mako/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat Jan 23 21:37:33 UTC 2021


    Date: Saturday, January 23, 2021 @ 21:37:32
  Author: felixonmars
Revision: 406672

upgpkg: python-mako 1.1.4-1

Modified:
  python-mako/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-23 20:51:15 UTC (rev 406671)
+++ PKGBUILD	2021-01-23 21:37:32 UTC (rev 406672)
@@ -1,8 +1,8 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=python-mako
-pkgver=1.1.3
-pkgrel=3
+pkgver=1.1.4
+pkgrel=1
 pkgdesc="A super-fast templating language that borrows the best ideas from the existing templating languages"
 arch=('any')
 url="https://www.makotemplates.org/"
@@ -11,10 +11,17 @@
 checkdepends=('python-pytest' 'python-mock' 'python-babel' 'python-pygments'
               'python-dogpile.cache')
 source=("https://pypi.io/packages/source/M/Mako/Mako-$pkgver.tar.gz"{,.asc})
-sha512sums=('a9b94fa34a61e7794b6e4549fa0bada6ff84dfb0d9edb8d5c7f9b95d12184fa4499f42303cfee720b576a9f7e986a57d91ad3aeb26c9f93154dbc08fb2975952'
+sha512sums=('4844c1d6c8d0d474b4ca4e1b31d3557747fc7e30f70a1976163a26b46b1b45c4c96ca6101fbef252b4e3bb4a61635d2a2c6d1c2933fde5b82bb1a1306f31ff84'
             'SKIP')
 validpgpkeys=('83AF7ACE251C13E6BB7DEFBD330239C1C4DAFEE1')  # Michael Bayer
 
+prepare() {
+  cd Mako-$pkgver
+  sed -e '/\[tool:pytest\]/a filterwarnings =\n    error\n    ignore:Creating a LegacyVersion has been deprecated and will be removed in the next major release:DeprecationWarning' \
+      -e 's/-W error//' \
+      -i setup.cfg
+}
+
 build() {
   cd Mako-$pkgver
   python setup.py build



More information about the arch-commits mailing list