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

Balló György bgyorgy at archlinux.org
Sat Mar 9 18:18:55 UTC 2019


    Date: Saturday, March 9, 2019 @ 18:18:43
  Author: bgyorgy
Revision: 438617

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   68 +++++++++++++++++++++----------------------------------------
 1 file changed, 24 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-09 18:18:36 UTC (rev 438616)
+++ PKGBUILD	2019-03-09 18:18:43 UTC (rev 438617)
@@ -1,44 +0,0 @@
-# $Id$
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: twa022 <twa022 at gmail dot com>
-
-_pkgbase=hawkauthlib
-pkgbase=python-hawkauthlib
-pkgname=('python2-hawkauthlib' 'python-hawkauthlib')
-pkgver=2.0.0
-pkgrel=2
-pkgdesc="Low-level library for implementing MAC Access Authentication"
-arch=('any')
-url="https://github.com/mozilla-services/hawkauthlib"
-license=('MPL2')
-depends=('python-requests' 'python2-requests' 'python-webob' 'python2-webob')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/mozilla-services/$_pkgbase/archive/v$pkgver.tar.gz")
-sha256sums=('5ad32548bffdf328284c4fb56770ed7a1a39309aa8639be95759df05aec7e6d1')
-
-prepare() {
-  cp -a $_pkgbase-$pkgver{,-py2}
-}
-
-build() {
-  # Building Python2
-  cd $_pkgbase-$pkgver-py2
-  python2 setup.py build
-
-  # Building Python3
-  cd ../$_pkgbase-$pkgver
-  python3 setup.py build
-}
-
-package_python2-hawkauthlib() {
-  depends=('python2-requests' 'python2-webob')
-
-  cd $_pkgbase-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python-hawkauthlib() {
-  depends=('python-requests' 'python-webob')
-
-  cd $_pkgbase-$pkgver 
-  python3 setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-hawkauthlib/repos/community-any/PKGBUILD (from rev 438616, python-hawkauthlib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-09 18:18:43 UTC (rev 438617)
@@ -0,0 +1,24 @@
+# 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=3
+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
+}



More information about the arch-commits mailing list