[arch-commits] Commit in yubikey-manager/repos (2 files)

Felix Yan felixonmars at archlinux.org
Thu Nov 12 17:49:19 UTC 2020


    Date: Thursday, November 12, 2020 @ 17:49:19
  Author: felixonmars
Revision: 752827

archrelease: copy trunk to community-staging-any

Added:
  yubikey-manager/repos/community-staging-any/
  yubikey-manager/repos/community-staging-any/PKGBUILD
    (from rev 752826, yubikey-manager/trunk/PKGBUILD)

----------+
 PKGBUILD |   44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

Copied: yubikey-manager/repos/community-staging-any/PKGBUILD (from rev 752826, yubikey-manager/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 17:49:19 UTC (rev 752827)
@@ -0,0 +1,44 @@
+# Maintainer: Christian Hesse <mail at eworm.de>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Karol Babioch <karol at babioch.de>
+
+pkgname='yubikey-manager'
+pkgver=3.1.1
+pkgrel=3
+pkgdesc='Python library and command line tool for configuring a YubiKey'
+arch=('any')
+url='https://developers.yubico.com/yubikey-manager/'
+license=('BSD')
+depends=('python' 'python-click' 'python-cryptography' 'python-pyopenssl' 'python-pyscard'
+         'python-pyusb' 'python-six' 'python-fido2' 'ccid' '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=('68ef41ac3cd2e891019e755a492427ecdd63d8816525d05f2f32c37b8c440cfa'
+            'SKIP')
+
+build() {
+	cd "${pkgname}-${pkgver}"
+
+	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
+
+	install -D -m0644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+
+	install -d "${pkgdir}"/usr/share/{bash-completion/completions,zsh/site-functions}
+	PYTHONPATH="$PYTHONPATH:${pkgdir}/usr/" _YKMAN_COMPLETE=source "${pkgdir}"/usr/bin/ykman > "${pkgdir}"/usr/share/bash-completion/completions/ykman || true
+	PYTHONPATH="$PYTHONPATH:${pkgdir}/usr/" _YKMAN_COMPLETE=source_zsh "${pkgdir}"/usr/bin/ykman > "${pkgdir}"/usr/share/zsh/site-functions/_ykman || true
+}



More information about the arch-commits mailing list