summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-python-oauth2/package.py18
1 files changed, 18 insertions, 0 deletions
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')