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

Johannes Löthberg demize at archlinux.org
Sat Oct 14 09:12:04 UTC 2017


    Date: Saturday, October 14, 2017 @ 09:12:03
  Author: demize
Revision: 262728

upgpkg: python-pysaml2 4.5.0-2

Modified:
  python-pysaml2/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-10-14 03:00:04 UTC (rev 262727)
+++ PKGBUILD	2017-10-14 09:12:03 UTC (rev 262728)
@@ -4,7 +4,7 @@
 pkgbase=python-pysaml2
 pkgname=(python-pysaml2 python2-pysaml2)
 pkgver=4.5.0
-pkgrel=1
+pkgrel=2
 
 pkgdesc='Python implementation of SAML Version 2'
 url='https://pypi.python.org/pypi/pysaml2'
@@ -30,6 +30,14 @@
 	python2 setup.py build
 }
 
+check() {
+	cd "$srcdir"/pysaml2-$pkgver
+	python setup.py test
+
+	cd "$srcdir"/pysaml2-$pkgver-python2
+	python setup.py test
+}
+
 package_python-pysaml2() {
 	depends=('python'
 	         'python-future'
@@ -39,7 +47,8 @@
 	         'python-pytz'
 	         'python-pyopenssl'
 	         'python-dateutil'
-	         'python-six')
+	         'python-six'
+	         'python-defusedxml')
 
 	cd pysaml2-$pkgver
 	python setup.py install --root="$pkgdir" --optimize=1 --skip-build
@@ -54,7 +63,8 @@
 	         'python2-pytz'
 	         'python2-pyopenssl'
 	         'python2-dateutil'
-	         'python2-six')
+	         'python2-six'
+	         'python2-defusedxml')
 
 	cd pysaml2-$pkgver-python2
 	python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build



More information about the arch-commits mailing list