From d840c3a0697c1efe74753555f16180547f088d7c Mon Sep 17 00:00:00 2001 From: Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> Date: Tue, 22 Feb 2022 21:10:46 +0100 Subject: py-pure-eval: add 0.2.2 and get sources from pypi (#29123) --- var/spack/repos/builtin/packages/py-pure-eval/package.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-pure-eval/package.py b/var/spack/repos/builtin/packages/py-pure-eval/package.py index 7c896bea91..5a5e4a27fd 100644 --- a/var/spack/repos/builtin/packages/py-pure-eval/package.py +++ b/var/spack/repos/builtin/packages/py-pure-eval/package.py @@ -7,14 +7,15 @@ 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.""" + """Safely evaluate AST nodes without 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" + pypi = "pure_eval/pure_eval-0.2.2.tar.gz" version('master', branch='master') + version('0.2.2', sha256='2b45320af6dfaa1750f543d714b6d1c520a1688dec6fd24d339063ce0aaa9ac3') - depends_on('python@3.5:3.9', type=('build', 'run')) - depends_on('py-setuptools@44:', type='build') + depends_on('python@3.5:', type=('build', 'run')) + depends_on('py-setuptools@44:', type='build') + depends_on('py-setuptools-scm+toml@3.4.3:', type='build') -- cgit v1.2.3-70-g09d2