From e9609b62c6da1b9dc44e4bb6726fcd5a5e84815a Mon Sep 17 00:00:00 2001 From: Mihael Hategan Date: Fri, 1 Oct 2021 07:05:49 -0700 Subject: [PATCH] Python Globus SDK (globus.org): add new package (#26395) --- .../builtin/packages/py-globus-sdk/package.py | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-globus-sdk/package.py diff --git a/var/spack/repos/builtin/packages/py-globus-sdk/package.py b/var/spack/repos/builtin/packages/py-globus-sdk/package.py new file mode 100644 index 0000000000..48edb292df --- /dev/null +++ b/var/spack/repos/builtin/packages/py-globus-sdk/package.py @@ -0,0 +1,22 @@ +# Copyright 2013-2020 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) + + +class PyGlobusSdk(PythonPackage): + """ + Globus SDK for Python + """ + + homepage = "https://github.com/globus/globus-sdk-python" + pypi = "globus-sdk/globus-sdk-3.0.2.tar.gz" + + maintainers = ['hategan'] + + version('3.0.2', sha256='765b577b37edac70c513179607f1c09de7b287baa855165c9dd68de076d67f16') + + depends_on('python@3.4:', type=('build', 'run')) + depends_on('py-requests@2.19.1:2.999.999', type=('run', 'test')) + depends_on('py-cryptography@2.0:3.3.999,3.4.1:3.6.999', type=('run', 'test')) + depends_on('py-pyjwt@2.0.0:2.999.999+crypto', type=('run', 'test'))