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

Felix Yan felixonmars at archlinux.org
Fri May 11 11:42:12 UTC 2018


    Date: Friday, May 11, 2018 @ 11:42:12
  Author: felixonmars
Revision: 320720

upgpkg: python-secretstorage 3.0.1-1

Modified:
  python-secretstorage/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++++--------------------
 1 file changed, 6 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-11 11:36:00 UTC (rev 320719)
+++ PKGBUILD	2018-05-11 11:42:12 UTC (rev 320720)
@@ -3,18 +3,17 @@
 # Contributor: Patrice Peterson <runiq at archlinux dot us>
 # Contributor: JonnyJD <arch at JonnyJD.net>
 
-pkgbase=python-secretstorage
-pkgname=(python-secretstorage python2-secretstorage)
-pkgver=2.3.1
-pkgrel=3
+pkgname=python-secretstorage
+pkgver=3.0.1
+pkgrel=1
 pkgdesc="Securely store passwords and other private data using the SecretService DBus API"
 arch=('any')
 url="https://pypi.python.org/pypi/SecretStorage"
 license=('BSD')
-makedepends=('python-dbus' 'python2-dbus' 'dbus-glib' 'python-cryptography' 'python2-cryptography')
+depends=('python-cryptography' 'python-jeepney')
 checkdepends=('gnome-keyring' 'xorg-server-xvfb')
 source=("https://pypi.io/packages/source/S/SecretStorage/SecretStorage-${pkgver}.tar.gz")
-md5sums=('3b9465831b069e2622973afb7deb7bc2')
+sha512sums=('830f8de1a300d4a334ce7c2fa494ac1d8f1e36a8518f3df6df2b352ac3377bcdb84293b1c809b18bc774a61188b91f31fa30c15109b7aec180a2d1f522f2a165')
 
 prepare() {
   cp -a SecretStorage-$pkgver{,-py2}
@@ -23,23 +22,10 @@
 check() {
   cd SecretStorage-$pkgver
   dbus-launch xvfb-run -a python -m unittest discover -s tests || warning "Tests failed"
-
-  cd ../SecretStorage-$pkgver-py2
-  dbus-launch xvfb-run -a python2 -m unittest discover -s tests || warning "Tests failed"
 }
 
-package_python-secretstorage() {
-  depends=('python-dbus' 'dbus-glib' 'python-cryptography')
-
+package() {
   cd SecretStorage-$pkgver
   python setup.py install -O1 --root="$pkgdir"
   install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
-
-package_python2-secretstorage() {
-  depends=('python2-dbus' 'dbus-glib' 'python2-cryptography')
-
-  cd SecretStorage-$pkgver-py2
-  python2 setup.py install -O1 --root="$pkgdir"
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}



More information about the arch-commits mailing list