diff options
author | Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> | 2022-02-22 21:10:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-22 14:10:46 -0600 |
commit | d840c3a0697c1efe74753555f16180547f088d7c (patch) | |
tree | 87ab621c48f88ea5eadd89147fe354ab0fda7010 | |
parent | 6a259ecd854ba8192c6575583e7dc7b952098b39 (diff) | |
download | spack-d840c3a0697c1efe74753555f16180547f088d7c.tar.gz spack-d840c3a0697c1efe74753555f16180547f088d7c.tar.bz2 spack-d840c3a0697c1efe74753555f16180547f088d7c.tar.xz spack-d840c3a0697c1efe74753555f16180547f088d7c.zip |
py-pure-eval: add 0.2.2 and get sources from pypi (#29123)
-rw-r--r-- | var/spack/repos/builtin/packages/py-pure-eval/package.py | 11 |
1 files changed, 6 insertions, 5 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 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') |