[arch-commits] Commit in (4 files)

Christian Hesse eworm at archlinux.org
Mon Apr 23 17:54:31 UTC 2018


    Date: Monday, April 23, 2018 @ 17:54:31
  Author: eworm
Revision: 317405

initial commit, move from AUR

Added:
  python-fido2/
  python-fido2/repos/
  python-fido2/trunk/
  python-fido2/trunk/PKGBUILD

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

Added: python-fido2/trunk/PKGBUILD
===================================================================
--- python-fido2/trunk/PKGBUILD	                        (rev 0)
+++ python-fido2/trunk/PKGBUILD	2018-04-23 17:54:31 UTC (rev 317405)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Christian Hesse <mail at eworm.de>
+# Contributor: Emil Lundberg <emil at emlun.se> <emil at yubico.com>
+
+pkgname=python-fido2
+pkgver=0.3.0
+pkgrel=7
+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=('python-setuptools')
+_tarball_basename="fido2-${pkgver}"
+validpgpkeys=('20EE325B86A81BCBD3E56798F04367096FBA95E8') # Dain Nilsson <dain at yubico.com>
+source=("https://github.com/Yubico/${pkgname}/releases/download/${pkgver}/${_tarball_basename}.tar.gz"{,.sig})
+sha256sums=('32c0db375458853d68cbbeb04861c412a05c22c873236a0c4f71296dc983ab35'
+            'SKIP')
+
+# Tests don't currently work in release tarballs
+# check() {
+#   cd "${srcdir}/${_tarball_basename}"
+#   python setup.py test
+# }
+
+package() {
+  cd "${srcdir}/${_tarball_basename}"
+
+  python setup.py install --root="${pkgdir}" --optimize=1
+
+  install -D -m0644 "${srcdir}/${_tarball_basename}/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}
+


Property changes on: python-fido2/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list