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

Thore Bödecker foxxx0 at archlinux.org
Tue Aug 11 12:46:23 UTC 2020


    Date: Tuesday, August 11, 2020 @ 12:46:22
  Author: foxxx0
Revision: 674515

upgpkg: python-pecan 1.4.0-1: switch to pytest for check(); update to upstream release 1.4.0

Modified:
  python-pecan/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-11 12:25:37 UTC (rev 674514)
+++ PKGBUILD	2020-08-11 12:46:22 UTC (rev 674515)
@@ -3,8 +3,8 @@
 pkgname="python-pecan"
 _pkgname="${pkgname#python-}"
 pkgdesc='A WSGI object-dispatching web framework, designed to be lean and fast with few dependencies.'
-pkgver=1.3.3
-pkgrel=3
+pkgver=1.4.0
+pkgrel=1
 arch=('any')
 url='https://github.com/pecan/pecan'
 license=('BSD')
@@ -13,9 +13,10 @@
 makedepends=('python' 'python-setuptools' 'python-sphinx' 'python-webob'
              'python-mako' 'python-webtest' 'python-six' 'python-logutils')
 checkdepends=('python-virtualenv' 'python-jinja' 'gunicorn' 'python-mock'
-              'python-sqlalchemy' 'python-genshi' 'python-nine')
+              'python-sqlalchemy' 'python-genshi' 'python-nine' 'uwsgi'
+              'python-pytest' 'python-kajiki')
 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${_pkgname}/${_pkgname}/archive/${pkgver}.tar.gz")
-sha512sums=('a1d2c865c2c5ec6b891449107920b3c7fcb9a656df7f39f39610669fb50b70756e28508c9108e006e757fbaac3832b8f2e52b343d83edd173ff802407c8fff56')
+sha512sums=('3f7e072b294a732af6ff65621b1e10254260b9d42abd2bc38c3bff8e141b2ae4592567075813faf40227e7f0a3f2893c27270926fcfad18d1cdd9dc8a85bd14e')
 
 prepare(){
   # fix manpage build
@@ -30,7 +31,8 @@
 
 check() {
   cd "${srcdir}/${_pkgname}-${pkgver}"
-  python setup.py test
+  # python setup.py test
+  py.test -vvv -s -ra --showlocals --noconftest pecan/tests/
 }
 
 package() {



More information about the arch-commits mailing list