[arch-commits] Commit in (4 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Wed Dec 25 03:14:19 UTC 2019


    Date: Wednesday, December 25, 2019 @ 03:14:18
  Author: svenstaro
Revision: 540605

Move python-google-auth-oauthlib from AUR for tensorboard

Added:
  python-google-auth-oauthlib/
  python-google-auth-oauthlib/repos/
  python-google-auth-oauthlib/trunk/
  python-google-auth-oauthlib/trunk/PKGBUILD

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

Added: python-google-auth-oauthlib/trunk/PKGBUILD
===================================================================
--- python-google-auth-oauthlib/trunk/PKGBUILD	                        (rev 0)
+++ python-google-auth-oauthlib/trunk/PKGBUILD	2019-12-25 03:14:18 UTC (rev 540605)
@@ -0,0 +1,27 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Guillaume Horel <guillaume.horel at gmail.com>
+
+pkgname=python-google-auth-oauthlib
+_pkgname='google-auth-oauthlib'
+pkgver=0.4.1
+pkgrel=1
+pkgdesc="oauthlib integration for Google auth."
+url="http://google-auth-oauthlib.readthedocs.io/en/latest/"
+checkdepends=('python-click' 'python-pytest' 'python-mock')
+depends=('python' 'python-google-auth' 'python-requests-oauthlib')
+optdepends=('python-click')
+license=('Apache')
+arch=('any')
+source=("https://pypi.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
+sha256sums=('88d2cd115e3391eb85e1243ac6902e76e77c5fe438b7276b297fbe68015458dd')
+
+check() {
+    cd "${srcdir}/${_pkgname}-${pkgver}"
+    pytest
+}
+
+package() {
+    cd "${srcdir}/${_pkgname}-${pkgver}"
+    python setup.py install --root="${pkgdir}" --optimize=1
+    install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list