summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authortuftedocelot2017-03-16 18:30:10 -0500
committertuftedocelot2017-03-16 18:30:10 -0500
commitc7ff4ff5793b242f3eaa6676d649dedb56a4bf18 (patch)
tree8d463d8d37138eb330bf6bd3a69a0659a8dcf361 /PKGBUILD
parent318e4ffb0994663f130a6c66d1283d20f1c1c080 (diff)
downloadaur-c7ff4ff5793b242f3eaa6676d649dedb56a4bf18.tar.gz
Switch to Python 3 packaging
yubioath-desktop supported Python 3 starting with version 3
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index be47e82b433..f0ef635d46e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,12 @@
_pkgname=yubioath-desktop
pkgname=yubico-${_pkgname}
pkgver=3.1.0
-pkgrel=1
+pkgrel=2
pkgdesc="Crossplatform graphical user interface to generate one-time passwords."
arch=('i686' 'x86_64')
url="https://developers.yubico.com/yubioath-desktop/"
license=('GPL')
-depends=('python2' 'pcsclite' 'ccid' 'python2-pyside' 'python2-pyscard-svn' 'python2-pbkdf2' 'python2-setuptools' 'python2-crypto' 'yubikey-personalization' 'python2-click')
+depends=('pcsclite' 'ccid' 'python-pyside' 'python-pyscard' 'python-pbkdf2' 'python-setuptools' 'python-pyside-tools' 'python-crypto' 'yubikey-personalization' 'python-click')
source=("https://github.com/Yubico/yubioath-desktop/releases/download/$_pkgname-$pkgver/$_pkgname-$pkgver.tar.gz")
sha256sums=('7caae0fd3b14529476eda3a5660bc050584b298ddc3c8d1adfe221041fa5db49')
conflicts=('yubico-yubioath-desktop-git')
@@ -16,7 +16,7 @@ package() {
mkdir -p ${pkgdir}/usr/bin
cd "${srcdir}/$_pkgname-${pkgver}"
- python2 setup.py install --root=${pkgdir}
+ python setup.py install --root=${pkgdir}
mkdir -p ${pkgdir}/usr/share/applications/
install -D -m0644 ${srcdir}/$_pkgname-${pkgver}/resources/yubioath.desktop ${pkgdir}/usr/share/applications/