git » python-keyring.git » commit 5ea8da7

upgpkg: 6.1-1

author Felix Yan
2016-01-07 07:34:29 UTC
committer Felix Yan
2016-01-07 07:34:29 UTC
parent 0ba919ce78035bd6f7b857c5368c4b913347cfea

upgpkg: 6.1-1

PKGBUILD +13 -13

diff --git a/PKGBUILD b/PKGBUILD
index e66a8c8..4c167ed 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
 
 pkgbase=python-keyring
 pkgname=('python-keyring' 'python2-keyring')
-pkgver=6.0
+pkgver=6.1
 pkgrel=1
 pkgdesc="Store and access your passwords safely."
 arch=('any')
@@ -17,8 +17,8 @@ source=("http://pypi.python.org/packages/source/k/keyring/keyring-$pkgver.tar.gz
 makedepends=('python-setuptools_scm' 'python2-setuptools_scm')
 checkdepends=('python-pytest' 'python2-pytest' 'python-mock' 'python2-mock' 'python-crypto' 'python2-crypto'
               'python-secretstorage' 'python2-secretstorage' 'python-gobject' 'python2-gobject' 'libgnome-keyring'
-              'kdebindings-python' 'kdebindings-python2' 'python2-gdata' 'python-fs' 'python2-fs')
-md5sums=('112dacb8c5f20604efd79ad43c84aa89')
+              'python2-gdata' 'python-fs' 'python2-fs' 'xorg-server-xvfb' 'dbus-glib')
+md5sums=('9f564c9a6c406b33643f2cadd6f22a0c')
 
 prepare() {
   cp -a keyring-$pkgver{,-py2}
@@ -36,19 +36,19 @@ check() {
   # Not using ptr because we are not packaging keyczar
 
   cd "$srcdir/keyring-$pkgver"
-  py.test
+  xvfb-run py.test
 
   cd "$srcdir/keyring-$pkgver-py2"
-  py.test2
+  xvfb-run py.test2
 }
 
 package_python-keyring() {
   depends=('python-setuptools')
   optdepends=('libgnome-keyring: Gnome integration'
-            'python-gobject: Gnome integration'
-            'kdebindings-python: Kde integration'
-            'python-crypto: CLI keyring'
-            'python-secretstorage: SecretService DBus API (GNOME/KDE)')
+              'python-gobject: Gnome integration'
+              'kdebindings-python: Kde integration'
+              'python-crypto: CLI keyring'
+              'python-secretstorage: SecretService DBus API (GNOME/KDE)')
 
   cd "$srcdir/keyring-$pkgver"
   python setup.py install --root=$pkgdir --optimize=1
@@ -57,10 +57,10 @@ package_python-keyring() {
 package_python2-keyring() {
   depends=('python2-setuptools')
   optdepends=('libgnome-keyring: Gnome integration'
-            'python2-gobject: Gnome integration'
-            'kdebindings-python2: Kde integration'
-            'python2-crypto: CLI keyring'
-            'python2-secretstorage: SecretService DBus API (GNOME/KDE)')
+              'python2-gobject: Gnome integration'
+              'kdebindings-python2: Kde integration'
+              'python2-crypto: CLI keyring'
+              'python2-secretstorage: SecretService DBus API (GNOME/KDE)')
 
   cd "$srcdir/keyring-$pkgver-py2"
   python2 setup.py install --root=$pkgdir --optimize=1