From 40a11c6bf6f99eff333c7483c695bdb1aab523c9 Mon Sep 17 00:00:00 2001 From: wspear Date: Fri, 18 Oct 2019 09:29:26 -0700 Subject: [PATCH] =?UTF-8?q?Added=20package=20py-python-oauth2,=20a=20depen?= =?UTF-8?q?dency=20of=20py-jupyterhub@0.9.4.=20=E2=80=A6=20(#13140)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Added package py-python-oauth2, a dependency of py-jupyterhub@0.9.4. Depends on #13132, #13133 and #13134 * Remove optional dependencies --- .../packages/py-python-oauth2/package.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-python-oauth2/package.py diff --git a/var/spack/repos/builtin/packages/py-python-oauth2/package.py b/var/spack/repos/builtin/packages/py-python-oauth2/package.py new file mode 100644 index 0000000000..6c0c723183 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-python-oauth2/package.py @@ -0,0 +1,18 @@ +# 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 PyPythonOauth2(PythonPackage): + """python-oauth2 is a framework that aims at making it easy to + provide authentication via OAuth 2.0 within an application stack.""" + + homepage = "https://pypi.org/project/python-oauth2/" + url = "https://pypi.io/packages/source/p/python-oauth2/python-oauth2-1.1.1.tar.gz" + + version('1.1.1', sha256='d7a8544927ac18215ba5317edd8f640a5f1f0593921bcf3ce862178312c8c9a4') + + depends_on('py-setuptools', type='build')