blob: f151dac090aed0ec44d84b8a4cf01ce92aaf969e (
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
24
25
26
27
28
29
|
# 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 PyCodepy(PythonPackage):
"""CodePy is a C metaprogramming toolkit for Python.
It handles two aspects of metaprogramming:
- Generating C source code.
- Compiling this source code and dynamically loading it into the Python interpreter.
"""
homepage = "https://documen.tician.de/codepy/"
pypi = "codepy/codepy-2019.1.tar.gz"
license("MIT")
version("2019.1", sha256="384f22c37fe987c0ca71951690c3c2fd14dacdeddbeb0fde4fd01cd84859c94e")
depends_on("py-setuptools", type="build")
depends_on("py-pytools@2015.1.2:", type=("build", "run"))
depends_on("py-numpy@1.6:", type=("build", "run"))
depends_on("py-appdirs@1.4.0:", type=("build", "run"))
depends_on("py-six", type=("build", "run"))
depends_on("py-cgen", type=("build", "run"))
|