From 04818925e3c9bd0f3c0ed3f365025f14f2fb1983 Mon Sep 17 00:00:00 2001 From: Takai97 Date: Thu, 28 Nov 2024 10:34:53 +0100 Subject: [PATCH] finished Exercise --- package.py | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 package.py diff --git a/package.py b/package.py new file mode 100644 index 0000000..117753f --- /dev/null +++ b/package.py @@ -0,0 +1,25 @@ +# Copyright 2013-2024 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 SpackExercise(CMakePackage): + """Thsi is a proper Description of this exercise and what we ar doing""" + + homepage = "https://simulation-software-engineering.github.io/homepage/" + url = "https://github.com/Simulation-Software-Engineering/spack-exercise/archive/refs/tags/v0.3.0.tar.gz" + + maintainers("Takai97") + + license("MIT", checked_by="Takai97") + + version("0.3.0", sha256="e54a4c037941d85a22fb3e6e73195df8448cf69a96aa44ef374ac518344812f0") + version("0.2.0", sha256="3dd6b4cc0f7aff179d8e290bc3879056237ae372738a4bd7222f6450fbcdfc77") + version("0.1.0", sha256="cac78e641cb703e3fe51956f91fe8347ac52f74ef037d8eadae5777c65a19a00") + + depends_on("cxx", type="build") + + depends_on("boost@1.65.1:", when="@0.2.0:") + depends_on("yaml-cpp@0.7.0:", when="@0.3.0:")