Skip to content
Snippets Groups Projects
package.py 834 B
# 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 PySpinnakerPacman(PythonPackage):
    """This package provides utilities for partitioning, placing a routing on a
    SpiNNaker machine."""

    homepage = "https://github.com/SpiNNakerManchester/PACMAN"
    pypi = "SpiNNaker_PACMAN/SpiNNaker_PACMAN-1!7.0.0.tar.gz"

    version("7.0.0", sha256="d9e7e620d02fda88f57a8cf157cc9421b5606d453230847f3d35985eae4c074d")

    depends_on("python@3.7:", type=("build", "run"))
    depends_on("py-jsonschema", type=("build", "run"))
    depends_on("py-spinnutilities@7.0.0", type=("build", "run"))
    depends_on("py-spinnmachine@7.0.0", type=("build", "run"))