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

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 19:51:08 UTC 2020


    Date: Thursday, November 12, 2020 @ 19:51:08
  Author: foutrelis
Revision: 753651

archrelease: copy trunk to community-staging-any

Added:
  python-requests-hawk/repos/community-staging-any/
  python-requests-hawk/repos/community-staging-any/PKGBUILD
    (from rev 753650, python-requests-hawk/trunk/PKGBUILD)

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

Copied: python-requests-hawk/repos/community-staging-any/PKGBUILD (from rev 753650, python-requests-hawk/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 19:51:08 UTC (rev 753651)
@@ -0,0 +1,23 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+_pkgname=requests-hawk
+pkgname=python-requests-hawk
+pkgver=1.0.1
+pkgrel=2
+pkgdesc="Hawk authentication strategy for the requests python library"
+arch=('any')
+url="https://github.com/mozilla-services/requests-hawk"
+license=('Apache')
+depends=('python-mohawk' 'python-requests')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mozilla-services/$_pkgname/archive/$pkgver.tar.gz")
+sha256sums=('022ab238a42d62bfb594bfe7cb7535dd75e2bd189ec2e3a365cd2ee23df300ad')
+
+build() {
+  cd $_pkgname-$pkgver
+  python3 setup.py build
+}
+
+package() {
+  cd $_pkgname-$pkgver 
+  python3 setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list