summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorrvinaybharadwaj <vinayr@lanl.gov>2020-10-07 10:28:56 -0600
committerGitHub <noreply@github.com>2020-10-07 10:28:56 -0600
commit8956ee3bd89b12da20ebb1946d41c4133467ae79 (patch)
tree678302f786dda02ef23b24ad217ab14149c1da88 /var
parenta9de94bbd43191ee5ca207b352ddd17766958c71 (diff)
downloadspack-8956ee3bd89b12da20ebb1946d41c4133467ae79.tar.gz
spack-8956ee3bd89b12da20ebb1946d41c4133467ae79.tar.bz2
spack-8956ee3bd89b12da20ebb1946d41c4133467ae79.tar.xz
spack-8956ee3bd89b12da20ebb1946d41c4133467ae79.zip
Add py-pure-eval (#19180)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-pure-eval/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pure-eval/package.py b/var/spack/repos/builtin/packages/py-pure-eval/package.py
new file mode 100644
index 0000000000..9fcf6b0746
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pure-eval/package.py
@@ -0,0 +1,20 @@
+# 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)
+
+from spack import *
+
+
+class PyPureEval(PythonPackage):
+ """This is a Python package that lets you safely evaluate certain AST nodes
+ without triggering arbitrary code that may have unwanted side effects."""
+
+ homepage = "https://github.com/alexmojaki/pure_eval"
+ url = "https://github.com/alexmojaki/pure_eval/archive/master.zip"
+ git = "https://github.com/alexmojaki/pure_eval.git"
+
+ version('master', branch='master')
+
+ depends_on('python@3.5:3.9', type=('build', 'run'))
+ depends_on('py-setuptools@44:', type='build')