summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-simpleeval/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-simpleeval/package.py b/var/spack/repos/builtin/packages/py-simpleeval/package.py
new file mode 100644
index 0000000000..6700b36809
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-simpleeval/package.py
@@ -0,0 +1,20 @@
+# Copyright 2013-2022 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"
+
+ version("0.9.12", sha256="3e0be507486d4e21cf9d08847c7e57dd61a1603950399985f7c5a0be7fd33e36")
+
+ depends_on("py-setuptools@30.3.0:", type="build")
+ depends_on("py-build", type="build")