summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2019-08-10 11:51:56 -0500
committerGitHub <noreply@github.com>2019-08-10 11:51:56 -0500
commit706d57bd23df6d85996e4d5dee95610d79cf24db (patch)
treea9a787131c5829880a4ceabc37463acaed857a5a
parent09e0f1ad4ec3d110b675bc70fe8e4c64e56be05b (diff)
downloadspack-706d57bd23df6d85996e4d5dee95610d79cf24db.tar.gz
spack-706d57bd23df6d85996e4d5dee95610d79cf24db.tar.bz2
spack-706d57bd23df6d85996e4d5dee95610d79cf24db.tar.xz
spack-706d57bd23df6d85996e4d5dee95610d79cf24db.zip
Add py-google-api-core package (#12368)
-rw-r--r--var/spack/repos/builtin/packages/py-google-api-core/package.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-google-api-core/package.py b/var/spack/repos/builtin/packages/py-google-api-core/package.py
new file mode 100644
index 0000000000..c659c3b640
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-google-api-core/package.py
@@ -0,0 +1,25 @@
+# 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 PyGoogleApiCore(PythonPackage):
+ """Google API client core library."""
+
+ homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python"
+ url = "https://pypi.io/packages/source/g/google-api-core/google-api-core-1.14.2.tar.gz"
+
+ version('1.14.2', sha256='2c23fbc81c76b941ffb71301bb975ed66a610e9b03f918feacd1ed59cf43a6ec')
+
+ depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
+ depends_on('py-googleapis-common-protos@1.6:1.999', type=('build', 'run'))
+ depends_on('py-protobuf@3.4.0:', type=('build', 'run'))
+ depends_on('py-google-auth@0.4:1.999', type=('build', 'run'))
+ depends_on('py-requests@2.18:2.999', type=('build', 'run'))
+ depends_on('py-setuptools@34.0.0:', type=('build', 'run'))
+ depends_on('py-six@1.10.0:', type=('build', 'run'))
+ depends_on('py-pytz', type=('build', 'run'))
+ depends_on('py-futures@3.2.0:', type=('build', 'run'), when='^python@:3.1')