[arch-commits] Commit in python-hawkauthlib/repos/community-any (PKGBUILD PKGBUILD)

Balló György bgyorgy at archlinux.org
Thu Apr 15 21:46:15 UTC 2021


    Date: Thursday, April 15, 2021 @ 21:46:15
  Author: bgyorgy
Revision: 919230

archrelease: copy trunk to community-any

Added:
  python-hawkauthlib/repos/community-any/PKGBUILD
    (from rev 919229, python-hawkauthlib/trunk/PKGBUILD)
Deleted:
  python-hawkauthlib/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-15 21:46:09 UTC (rev 919229)
+++ PKGBUILD	2021-04-15 21:46:15 UTC (rev 919230)
@@ -1,24 +0,0 @@
-# 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=7
-pkgdesc="Low-level library for implementing MAC Access Authentication"
-arch=('any')
-url="https://github.com/mozilla-services/hawkauthlib"
-license=('MPL2')
-depends=('python-requests' 'python-webob')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/mozilla-services/$_pkgname/archive/v$pkgver.tar.gz")
-sha256sums=('5ad32548bffdf328284c4fb56770ed7a1a39309aa8639be95759df05aec7e6d1')
-
-build() {
-  cd $_pkgname-$pkgver
-  python3 setup.py build
-}
-
-package() {
-  cd $_pkgname-$pkgver 
-  python3 setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-hawkauthlib/repos/community-any/PKGBUILD (from rev 919229, python-hawkauthlib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-04-15 21:46:15 UTC (rev 919230)
@@ -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=8
+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