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

Felix Yan felixonmars at archlinux.org
Sun May 10 09:52:50 UTC 2020


    Date: Sunday, May 10, 2020 @ 09:52:49
  Author: felixonmars
Revision: 383087

upgpkg: python-mako 1.1.2-2: disable python2 tests

Modified:
  python-mako/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-10 08:32:31 UTC (rev 383086)
+++ PKGBUILD	2020-05-10 09:52:49 UTC (rev 383087)
@@ -3,7 +3,7 @@
 pkgbase=python-mako
 pkgname=('python-mako' 'python2-mako')
 pkgver=1.1.2
-pkgrel=1
+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/"
@@ -10,9 +10,8 @@
 license=('MIT')
 makedepends=('python-setuptools' 'python2-setuptools' 'python-markupsafe' 'python2-markupsafe'
              'python-beaker' 'python2-beaker')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-mock' 'python2-mock'
-              'python-babel' 'python2-babel' 'python-pygments' 'python2-pygments'
-              'python-dogpile.cache' 'python2-dogpile.cache')
+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=('73b7a32ceb6e39dc2491734546c83a752bf0c8bc7546bb236801c02a5bccc5b59f2440333a328ff747eee936612dd12279f08d27d76f065fd589081d232692a8'
             'SKIP')
@@ -31,11 +30,8 @@
 }
 
 check() {
-  cd "$srcdir"/Mako-$pkgver
-  python setup.py ptr
-
-  cd "$srcdir"/Mako-$pkgver-py2
-  python2 setup.py ptr
+  cd Mako-$pkgver
+  python -m pytest
 }
 
 package_python-mako() {



More information about the arch-commits mailing list