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

2020-11-09 Thread Felix Yan via arch-commits
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 
+# Contributor: Guillaume Horel 
+
+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
+}


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

2019-12-24 Thread Sven-Hendrik Haase via arch-commits
Date: Wednesday, December 25, 2019 @ 03:17:59
  Author: svenstaro
Revision: 540607

archrelease: copy trunk to community-any

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

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

Copied: python-google-auth-oauthlib/repos/community-any/PKGBUILD (from rev 
540606, python-google-auth-oauthlib/trunk/PKGBUILD)
===
--- community-any/PKGBUILD  (rev 0)
+++ community-any/PKGBUILD  2019-12-25 03:17:59 UTC (rev 540607)
@@ -0,0 +1,27 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: Guillaume Horel 
+
+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
+}