summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2019-08-10 11:50:43 -0500
committerGitHub <noreply@github.com>2019-08-10 11:50:43 -0500
commitfbf386328c5a8fb78b261139324ea50a683c0e32 (patch)
tree10e9eb96aa12f53828716898dad8bec85e02a6cc
parent1d0f61816aaf61f5c89e8f5622c8db22632d2603 (diff)
downloadspack-fbf386328c5a8fb78b261139324ea50a683c0e32.tar.gz
spack-fbf386328c5a8fb78b261139324ea50a683c0e32.tar.bz2
spack-fbf386328c5a8fb78b261139324ea50a683c0e32.tar.xz
spack-fbf386328c5a8fb78b261139324ea50a683c0e32.zip
Add py-oauth2client package (#12373)
-rw-r--r--var/spack/repos/builtin/packages/py-oauth2client/package.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-oauth2client/package.py b/var/spack/repos/builtin/packages/py-oauth2client/package.py
new file mode 100644
index 0000000000..901605c411
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-oauth2client/package.py
@@ -0,0 +1,27 @@
+# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyOauth2client(PythonPackage):
+ """OAuth 2.0 client library.
+
+ Note: oauth2client is now deprecated. No more features will be added to
+ the libraries and the core team is turning down support. We recommend you
+ use google-auth and oauthlib."""
+
+ homepage = "http://github.com/google/oauth2client/"
+ url = "https://pypi.io/packages/source/o/oauth2client/oauth2client-4.1.3.tar.gz"
+
+ version('4.1.3', sha256='d486741e451287f69568a4d26d70d9acd73a2bbfa275746c535b4209891cccc6')
+
+ depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-httplib2@0.9.1:', type=('build', 'run'))
+ depends_on('py-pyasn1@0.1.7:', type=('build', 'run'))
+ depends_on('py-pyasn1-modules@0.0.5:', type=('build', 'run'))
+ depends_on('py-rsa@3.1.4:', type=('build', 'run'))
+ depends_on('py-six@1.6.1:', type=('build', 'run'))