blob: a1a2c09720b356d32169bace08ea9592665522ab (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Copyright 2013-2023 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 PyCgen(PythonPackage):
"""cgen offers a simple abstract syntax tree for C and related languages
(C++/CUDA/OpenCL) to allow structured code generation from Python.
"""
homepage = "https://documen.tician.de/cgen/"
pypi = "cgen/cgen-2020.1.tar.gz"
license("MIT")
version("2020.1", sha256="4ec99d0c832d9f95f5e51dd18a629ad50df0b5464ce557ef42c6e0cd9478bfcf")
depends_on("py-pytools@2015.1.2:", type=("build", "run"))
depends_on("py-numpy@1.6:", type=("build", "run"))
depends_on("py-setuptools", type="build")
|