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

Felix Yan felixonmars at archlinux.org
Fri Oct 25 15:19:59 UTC 2019


    Date: Friday, October 25, 2019 @ 15:19:59
  Author: felixonmars
Revision: 518982

archrelease: copy trunk to community-staging-any

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

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

Copied: python-mohawk/repos/community-staging-any/PKGBUILD (from rev 518981, python-mohawk/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-25 15:19:59 UTC (rev 518982)
@@ -0,0 +1,25 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+_pkgname=mohawk
+pkgname=python-mohawk
+pkgver=1.0.0
+pkgrel=2
+pkgdesc="Python library for Hawk HTTP authorization"
+arch=('any')
+url="https://github.com/kumar303/mohawk"
+license=('BSD')
+depends=('python-six')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/kumar303/$_pkgname/archive/$pkgver.tar.gz")
+sha256sums=('1bc11c5d8e3a7faf03f551c1a4c682c7c83f0be5b2c28db7c88087e7c530db81')
+
+build() {
+  cd $_pkgname-$pkgver
+  python3 setup.py build
+}
+
+package() {
+  cd $_pkgname-$pkgver 
+  python3 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
+}



More information about the arch-commits mailing list