forked from CodyGirl/spack-exercise
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.py
43 lines (33 loc) · 1.63 KB
/
package.py
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
30
31
32
33
34
35
36
37
38
39
40
41
42
# 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)
# ----------------------------------------------------------------------------
# If you submit this package back to Spack as a pull request,
# please first remove this boilerplate and all FIXME comments.
#
# This is a template package file for Spack. We've put "FIXME"
# next to all the things you'll want to change. Once you've handled
# them, you can save this file and test your package like this:
#
# spack install example
#
# You can edit this file again by typing:
#
# spack edit example
#
# See the Spack documentation for more information on packaging.
# ----------------------------------------------------------------------------
from spack.package import *
class SpackExercise(CMakePackage):
"""Example spack exercise package."""
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"
git = "https://github.com/Simulation-Software-Engineering/spack-exercise.git"
maintainers = ["LitschiW"]
version("0.3.0", '53f926a12a5dfee9c6ae20f979a9da5b8b128178f150fc9ea4427ac06876588d')
version("0.2.0", 'c421df16911fd774aa072d7f6dd1746d0890918f7d0661202771382fbc9cf3db')
version("0.1.0", '7e9513c1ff32152a707d3004bc6be91e077002963f9945cd5b16c04fc010d8ba')
version('main', branch='main')
depends_on("[email protected]:", when="@0.2.0:")
depends_on("[email protected]:", when="@0.3.0")