[arch-commits] Commit in python-fido2/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Oct 25 16:02:06 UTC 2019


    Date: Friday, October 25, 2019 @ 16:02:03
  Author: felixonmars
Revision: 519334

archrelease: copy trunk to community-staging-any

Added:
  python-fido2/repos/community-staging-any/
  python-fido2/repos/community-staging-any/PKGBUILD
    (from rev 519332, python-fido2/trunk/PKGBUILD)

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

Copied: python-fido2/repos/community-staging-any/PKGBUILD (from rev 519332, python-fido2/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-25 16:02:03 UTC (rev 519334)
@@ -0,0 +1,31 @@
+# Maintainer: Christian Hesse <mail at eworm.de>
+# Contributor: Emil Lundberg <emil at emlun.se> <emil at yubico.com>
+
+pkgname=python-fido2
+pkgver=0.7.1
+pkgrel=2
+pkgdesc='Library for FIDO 2.0, including communication with a device over USBA'
+url='https://github.com/Yubico/python-fido2'
+license=('custom:BSD-2-clause')
+arch=('any')
+depends=('python')
+makedepends=('git' 'python-setuptools')
+_tarball_basename="fido2-${pkgver}"
+validpgpkeys=('20EE325B86A81BCBD3E56798F04367096FBA95E8') # Dain Nilsson <dain at yubico.com>
+source=("git+https://github.com/Yubico/${pkgname}.git#tag=${pkgver}?signed")
+sha256sums=('SKIP')
+
+# Tests don't currently work in release tarballs
+# check() {
+#   cd "${srcdir}/${pkgname}"
+#   python setup.py test
+# }
+
+package() {
+  cd "${srcdir}/${pkgname}"
+
+  python setup.py install --root="${pkgdir}" --optimize=1
+
+  install -D -m0644 'COPYING' "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}
+



More information about the arch-commits mailing list