[arch-commits] Commit in python-pyu2f/repos (community-any community-any/PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Mon Aug 2 09:21:33 UTC 2021
Date: Monday, August 2, 2021 @ 09:21:32
Author: felixonmars
Revision: 992196
archrelease: copy trunk to community-any
Added:
python-pyu2f/repos/community-any/
python-pyu2f/repos/community-any/PKGBUILD
(from rev 992195, python-pyu2f/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-pyu2f/repos/community-any/PKGBUILD (from rev 992195, python-pyu2f/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2021-08-02 09:21:32 UTC (rev 992196)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pyu2f
+pkgver=0.1.5
+pkgrel=1
+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