Add py-pure-eval (#19180)
This commit is contained in:
parent
a9de94bbd4
commit
8956ee3bd8
20
var/spack/repos/builtin/packages/py-pure-eval/package.py
Normal file
20
var/spack/repos/builtin/packages/py-pure-eval/package.py
Normal file
@ -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')
|
Loading…
Reference in New Issue
Block a user