[arch-commits] Commit in python-hawkauthlib/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Wed Dec 1 14:49:07 UTC 2021
Date: Wednesday, December 1, 2021 @ 14:49:07
Author: felixonmars
Revision: 1059348
archrelease: copy trunk to community-staging-any
Added:
python-hawkauthlib/repos/community-staging-any/
python-hawkauthlib/repos/community-staging-any/PKGBUILD
(from rev 1059346, python-hawkauthlib/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-hawkauthlib/repos/community-staging-any/PKGBUILD (from rev 1059346, python-hawkauthlib/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-12-01 14:49:07 UTC (rev 1059348)
@@ -0,0 +1,31 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: twa022 <twa022 at gmail dot com>
+
+_pkgname=hawkauthlib
+pkgname=python-hawkauthlib
+pkgver=2.0.0
+pkgrel=9
+pkgdesc='Low-level python library for implementing MAC Access Authentication'
+arch=('any')
+url='https://github.com/mozilla-services/hawkauthlib'
+license=('MPL2')
+depends=('python-webob')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-requests')
+source=("https://github.com/mozilla-services/$_pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('5ad32548bffdf328284c4fb56770ed7a1a39309aa8639be95759df05aec7e6d1')
+
+build() {
+ cd $_pkgname-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd $_pkgname-$pkgver
+ pytest
+}
+
+package() {
+ cd $_pkgname-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
More information about the arch-commits
mailing list