spack/var/spack/repos/builtin/packages/py-cgen/package.py
Harmen Stoppels fce95e2efb
license year bump (#34921)
* license bump year
* fix black issues of modified files
* mypy
* fix 2021 -> 2023
2023-01-18 14:30:17 -08:00

22 lines
762 B
Python

# 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"
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")