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

Evangelos Foutras foutrelis at gemini.archlinux.org
Wed Dec 1 14:58:24 UTC 2021


    Date: Wednesday, December 1, 2021 @ 14:58:24
  Author: foutrelis
Revision: 1059628

archrelease: copy trunk to community-staging-any

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

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

Copied: python-pyu2f/repos/community-staging-any/PKGBUILD (from rev 1059627, python-pyu2f/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-01 14:58:24 UTC (rev 1059628)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pyu2f
+pkgver=0.1.5
+pkgrel=2
+pkgdesc="U2F host library for interacting with a U2F device over USB"
+url="https://github.com/google/pyu2f"
+license=('Apache')
+arch=('any')
+depends=('python-six')
+makedepends=('python-setuptools')
+checkdepends=('python-mock' 'python-pyfakefs' 'python-pytest')
+source=("https://github.com/google/pyu2f/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('ddb15bb1d917117a2b19ad169ac0f8b8c7667d7ef8ee4c266cc30326429bb3627d41d84dc390ce0036d0b0f110e1d2da47d06d4e4d03a8be98cedb5ea3112246')
+
+build() {
+  cd pyu2f-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd pyu2f-$pkgver
+  pytest
+}
+
+package() {
+  cd pyu2f-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list