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

Eli Schwartz eschwartz at archlinux.org
Wed Jul 25 04:34:29 UTC 2018


    Date: Wednesday, July 25, 2018 @ 04:34:28
  Author: eschwartz
Revision: 363340

upgpkg: python-genshi 0.7-6

python 3.7 rebuild
add testsuite...

Modified:
  python-genshi/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-25 04:33:00 UTC (rev 363339)
+++ PKGBUILD	2018-07-25 04:34:28 UTC (rev 363340)
@@ -4,7 +4,7 @@
 
 pkgname=(python-genshi python2-genshi)
 pkgver=0.7
-pkgrel=5
+pkgrel=6
 _commit=4f491e42a97395f64d968df756172ea0b12e5d85
 pkgdesc="Python toolkit for stream-based generation of output for the web."
 url="https://genshi.edgewall.org/"
@@ -27,6 +27,14 @@
     python2 setup.py build
 }
 
+check() {
+    cd "${srcdir}"/genshi-${_commit}
+    python setup.py test
+
+    cd "${srcdir}"/genshi-${_commit}-py2
+    python2 setup.py test
+}
+
 package_python-genshi() {
     depends=('python')
 



More information about the arch-commits mailing list