[arch-commits] Commit in yubikey-manager/repos/community-any (PKGBUILD PKGBUILD)

Morten Linderud foxboron at archlinux.org
Sat May 15 20:22:18 UTC 2021


    Date: Saturday, May 15, 2021 @ 20:22:18
  Author: foxboron
Revision: 934762

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   89 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 43 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-15 20:22:09 UTC (rev 934761)
+++ PKGBUILD	2021-05-15 20:22:18 UTC (rev 934762)
@@ -1,46 +0,0 @@
-# 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.2
-pkgrel=1
-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')
-# https://developers.yubico.com/Software_Projects/Software_Signing.html
-validpgpkeys=('8D0B4EBA9345254BCEC0E843514F078FF4AB24C3'  # Dag Heyman <dag at yubico.com>
-              '57A9DEED4C6D962A923BB691816F3ED99921835E'  # Emil Lundberg (Software Developer) <emil at yubico.com>
-              '20EE325B86A81BCBD3E56798F04367096FBA95E8') #  Dain Nilsson <dain at yubico.com>
-source=("https://developers.yubico.com/$pkgname/Releases/yubikey-manager-$pkgver.tar.gz"{,.sig})
-sha256sums=('7709c83aebb443259197a452772430edd1ac019e31a57a71ea33a90a4a7879f1'
-            '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
-}

Copied: yubikey-manager/repos/community-any/PKGBUILD (from rev 934761, yubikey-manager/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-15 20:22:18 UTC (rev 934762)
@@ -0,0 +1,43 @@
+# 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=4.0.2
+pkgrel=1
+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-fido2' 'ccid' 'yubikey-personalization')
+makedepends=('python-setuptools')
+checkdepends=('python-mock' 'python-wheel')
+# https://developers.yubico.com/Software_Projects/Software_Signing.html
+validpgpkeys=('8D0B4EBA9345254BCEC0E843514F078FF4AB24C3'  # Dag Heyman <dag at yubico.com>
+              '57A9DEED4C6D962A923BB691816F3ED99921835E'  # Emil Lundberg (Software Developer) <emil at yubico.com>
+              '20EE325B86A81BCBD3E56798F04367096FBA95E8') #  Dain Nilsson <dain at yubico.com>
+source=("https://developers.yubico.com/$pkgname/Releases/yubikey-manager-$pkgver.tar.gz"{,.sig})
+sha256sums=('998f804a66695feeb3a48ba200320850243aa605d6d4edcb30bea4cc349aea21'
+            'SKIP')
+
+build() {
+	cd "${pkgname}-${pkgver}"
+	python setup.py build
+}
+
+check(){
+	cd "${pkgname}-${pkgver}"
+	python setup.py test || true
+}
+
+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