24 lines
808 B
Python
24 lines
808 B
Python
# Copyright 2013-2024 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.package import *
|
|
|
|
|
|
class PySimpleeval(PythonPackage):
|
|
"""A quick single file library for easily adding evaluatable expressions into python
|
|
projects."""
|
|
|
|
homepage = "https://github.com/danthedeckie/simpleeval"
|
|
pypi = "simpleeval/simpleeval-0.9.12.tar.gz"
|
|
|
|
license("MIT")
|
|
|
|
version("0.9.13", sha256="4a30f9cc01825fe4c719c785e3762623e350c4840d5e6855c2a8496baaa65fac")
|
|
version("0.9.12", sha256="3e0be507486d4e21cf9d08847c7e57dd61a1603950399985f7c5a0be7fd33e36")
|
|
|
|
depends_on("py-setuptools@30.3.0:", type="build")
|
|
depends_on("py-build", type="build", when="@:0.9.12")
|