Date: Saturday, April 8, 2023 @ 05:51:33
  Author: felixonmars
Revision: 1441822

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 1441821, python-google-auth-oauthlib/trunk/PKGBUILD)

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

Copied: python-google-auth-oauthlib/repos/community-staging-any/PKGBUILD (from 
rev 1441821, python-google-auth-oauthlib/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-08 05:51:33 UTC (rev 1441822)
@@ -0,0 +1,28 @@
+# Maintainer: Sven-Hendrik Haase <[email protected]>
+# Contributor: Guillaume Horel <[email protected]>
+
+pkgname=python-google-auth-oauthlib
+_pkgname='google-auth-oauthlib'
+pkgver=1.0.0
+pkgrel=2
+pkgdesc="oauthlib integration for Google auth."
+url="http://google-auth-oauthlib.readthedocs.io/en/latest/";
+checkdepends=('python-click' 'python-pytest')
+makedepends=('python-setuptools')
+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=('e375064964820b47221a7e1b7ee1fd77051b6323c3f9e3e19785f78ab67ecfc5')
+
+# 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
+}

Reply via email to