[arch-commits] Commit in yubikey-manager/trunk (PKGBUILD)

Morten Linderud foxboron at archlinux.org
Mon Jun 24 22:19:18 UTC 2019


    Date: Monday, June 24, 2019 @ 22:19:17
  Author: foxboron
Revision: 483701

upgpkg: yubikey-manager 3.0.0-1

Modified:
  yubikey-manager/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-24 22:12:22 UTC (rev 483700)
+++ PKGBUILD	2019-06-24 22:19:17 UTC (rev 483701)
@@ -3,7 +3,7 @@
 # Contributor: Karol Babioch <karol at babioch.de>
 
 pkgname='yubikey-manager'
-pkgver=2.1.1
+pkgver=3.0.0
 pkgrel=1
 pkgdesc='Python library and command line tool for configuring a YubiKey'
 arch=('any')
@@ -13,10 +13,11 @@
          'python-pyusb' 'python-six' 'python-fido2' 'ccid' 'libu2f-host'
          'yubikey-personalization')
 makedepends=('python-setuptools')
+checkdepends=('python-mock')
 validpgpkeys=('8D0B4EBA9345254BCEC0E843514F078FF4AB24C3'  # Dag Heyman <dag at yubico.com>
               '57A9DEED4C6D962A923BB691816F3ED99921835E') # Emil Lundberg (Software Developer) <emil at yubico.com>
 source=("https://developers.yubico.com/$pkgname/Releases/yubikey-manager-$pkgver.tar.gz"{,.sig})
-sha256sums=('3adc107539dda43cf0d1d7f9c649e2fb6252e7d5b14782d79f091893cdfcacca'
+sha256sums=('815746ad93780884a0ceb8cb4569a902f2317511b3a41ceead8f9be0a9b1f220'
             'SKIP')
 
 build() {
@@ -24,6 +25,11 @@
 	python setup.py build
 }
 
+check(){
+	cd "${pkgname}-${pkgver}"
+	python setup.py test
+}
+
 package() {
 	cd "${pkgname}-${pkgver}"
 	python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build


More information about the arch-commits mailing list