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

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 05:13:04 UTC 2020


    Date: Tuesday, November 10, 2020 @ 05:13:04
  Author: foutrelis
Revision: 749363

archrelease: copy trunk to community-staging-any

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

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

Copied: python-mohawk/repos/community-staging-any/PKGBUILD (from rev 749362, python-mohawk/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 05:13:04 UTC (rev 749363)
@@ -0,0 +1,25 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+_pkgname=mohawk
+pkgname=python-mohawk
+pkgver=1.1.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=('995ecf009a92efb18a6503707e0c4d9887fe758102d824ca3e5a5625fee1b8bd')
+
+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