py-pure-eval: add 0.2.2 and get sources from pypi (#29123)

This commit is contained in:
Manuela Kuhn 2022-02-22 21:10:46 +01:00 committed by GitHub
parent 6a259ecd85
commit d840c3a069
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,14 +7,15 @@
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('python@3.5:', type=('build', 'run'))
depends_on('py-setuptools@44:', type='build')
depends_on('py-setuptools-scm+toml@3.4.3:', type='build')