[arch-commits] Commit in python2-secretstorage/trunk (PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Wed Aug 22 15:28:53 UTC 2018


    Date: Wednesday, August 22, 2018 @ 15:28:53
  Author: ffy00
Revision: 373268

revert split package

Modified:
  python2-secretstorage/trunk/PKGBUILD

----------+
 PKGBUILD |   14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-22 15:21:13 UTC (rev 373267)
+++ PKGBUILD	2018-08-22 15:28:53 UTC (rev 373268)
@@ -4,23 +4,29 @@
 pkgname=python2-secretstorage
 _pkgname=${pkgname#python2-}
 pkgver=2.3.1
-pkgrel=1
-pkgdesc="This module provides a way for securely storing passwords and other secrets."
+pkgrel=5
+pkgdesc="Securely store passwords and other private data using the SecretService DBus API"
 arch=('any')
 url="https://github.com/mitya57/secretstorage"
 license=('BSD')
 depends=('python2-dbus' 'python2-cryptography')
 makedepends=('python2-setuptools')
-provides=('python2-secretstorage')
-conflicts=('python2-secretstorage')
+checkdepends=('gnome-keyring' 'xorg-server-xvfb')
 source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
 sha512sums=('0a22937d5772ac43e3a5f5a0dc101911322386f23cb46036d1f0962b879a1896ba7a2852aed85ebb5cb6b0919a0da6517b3eb2f5dc7c69c7b5c4b7875145f66e')
 
 build() {
   cd $_pkgname-$pkgver
+
   python2 setup.py build
 }
 
+check() {
+  cd $_pkgname-$pkgver
+
+  dbus-launch xvfb-run -a python2 -m unittest discover -s tests || warning "Tests failed"
+}
+
 package() {
   cd $_pkgname-$pkgver
 



More information about the arch-commits mailing list