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

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


    Date: Saturday, March 9, 2019 @ 18:24:03
  Author: bgyorgy
Revision: 438619

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-09 18:23:56 UTC (rev 438618)
+++ PKGBUILD	2019-03-09 18:24:03 UTC (rev 438619)
@@ -1,44 +0,0 @@
-# $Id$
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: twa022 <twa022 at gmail dot com>
-
-_pkgbase=PyBrowserID
-pkgbase=python-browserid
-pkgname=('python2-browserid' 'python-browserid')
-pkgver=0.14.0
-pkgrel=2
-pkgdesc="Python client library for the BrowserID protocol"
-arch=('any')
-url="https://github.com/mozilla/PyBrowserID"
-license=('MPL2')
-depends=('python-requests' 'python2-requests')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/mozilla/$_pkgbase/archive/$pkgver.tar.gz")
-sha256sums=('2a59531db7a847fbc1cdd0449e601149e3bab33a8b5629f23bc40c5794b83932')
-
-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-browserid() {
-  depends=('python2-requests')
-
-  cd $_pkgbase-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python-browserid() {
-  depends=('python-requests')
-
-  cd $_pkgbase-$pkgver 
-  python3 setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-browserid/repos/community-any/PKGBUILD (from rev 438618, python-browserid/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-09 18:24:03 UTC (rev 438619)
@@ -0,0 +1,24 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: twa022 <twa022 at gmail dot com>
+
+_pkgname=PyBrowserID
+pkgname=python-browserid
+pkgver=0.14.0
+pkgrel=3
+pkgdesc="Python client library for the BrowserID protocol"
+arch=('any')
+url="https://github.com/mozilla/PyBrowserID"
+license=('MPL2')
+depends=('python-requests')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mozilla/$_pkgname/archive/$pkgver.tar.gz")
+sha256sums=('2a59531db7a847fbc1cdd0449e601149e3bab33a8b5629f23bc40c5794b83932')
+
+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