summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2018-10-07 21:45:29 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2018-10-17 14:42:06 -0700
commit7cb563851671a0d5338c7367849c99ceceb21de4 (patch)
tree73552dc8b72edc016e30dbbe20a6235dc0df530f
parenteea786f4e888b30cf70d1cddab4b5e6aa1c4cc28 (diff)
downloadspack-7cb563851671a0d5338c7367849c99ceceb21de4.tar.gz
spack-7cb563851671a0d5338c7367849c99ceceb21de4.tar.bz2
spack-7cb563851671a0d5338c7367849c99ceceb21de4.tar.xz
spack-7cb563851671a0d5338c7367849c99ceceb21de4.zip
relicense: add Apache2/MIT header to `spack create`
-rw-r--r--lib/spack/spack/cmd/create.py16
1 files changed, 12 insertions, 4 deletions
diff --git a/lib/spack/spack/cmd/create.py b/lib/spack/spack/cmd/create.py
index 3fc8703c0e..880bdb05a8 100644
--- a/lib/spack/spack/cmd/create.py
+++ b/lib/spack/spack/cmd/create.py
@@ -27,7 +27,16 @@ section = "packaging"
level = "short"
-package_template = '''\#
+package_template = '''\
+# Copyright 2013-2018 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:
@@ -39,9 +48,8 @@ package_template = '''\#
# spack edit {name}
#
# See the Spack documentation for more information on packaging.
-# If you submit this package back to Spack as a pull request,
-# please first remove this boilerplate and all FIXME comments.
-#
+# ----------------------------------------------------------------------------
+
from spack import *