[arch-commits] Commit in python-google-auth-oauthlib/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Nov 10 03:58:36 UTC 2020


    Date: Tuesday, November 10, 2020 @ 03:58:36
  Author: felixonmars
Revision: 748300

archrelease: copy trunk to community-staging-any

Added:
  python-google-auth-oauthlib/repos/community-staging-any/
  python-google-auth-oauthlib/repos/community-staging-any/PKGBUILD
    (from rev 748297, python-google-auth-oauthlib/trunk/PKGBUILD)

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

Copied: python-google-auth-oauthlib/repos/community-staging-any/PKGBUILD (from rev 748297, python-google-auth-oauthlib/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 03:58:36 UTC (rev 748300)
@@ -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=2
+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