diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2023-12-13 11:38:41 -0800 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2023-12-13 15:19:21 -0500 |
commit | e991c4d45460c09e5eaee6cb1041edb95d1e990e (patch) | |
tree | 34e1d374aa99ecd5f4741396860b6463d60385e3 /test cases | |
parent | 1f82afe8999e9b30403c57f9ac86ef2fc7ec1267 (diff) | |
download | meson-e991c4d45460c09e5eaee6cb1041edb95d1e990e.zip meson-e991c4d45460c09e5eaee6cb1041edb95d1e990e.tar.gz meson-e991c4d45460c09e5eaee6cb1041edb95d1e990e.tar.bz2 |
Use SPDX-License-Identifier consistently
This replaces all of the Apache blurbs at the start of each file with an
`# SPDX-License-Identifier: Apache-2.0` string. It also fixes existing
uses to be consistent in capitalization, and to be placed above any
copyright notices.
This removes nearly 3000 lines of boilerplate from the project (only
python files), which no developer cares to look at.
SPDX is in common use, particularly in the Linux kernel, and is the
recommended format for Meson's own `project(license: )` field
Diffstat (limited to 'test cases')
-rw-r--r-- | test cases/common/152 index customtarget/gen_sources.py | 15 | ||||
-rw-r--r-- | test cases/rust/12 bindgen/src/gen_header.py | 4 |
2 files changed, 4 insertions, 15 deletions
diff --git a/test cases/common/152 index customtarget/gen_sources.py b/test cases/common/152 index customtarget/gen_sources.py index 0bdb529..3ea2940 100644 --- a/test cases/common/152 index customtarget/gen_sources.py +++ b/test cases/common/152 index customtarget/gen_sources.py @@ -1,16 +1,5 @@ -# Copyright © 2017 Intel Corporation -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# SPDX-License-Identifier: Apache-2.0 +# Copyright © 2017-2023 Intel Corporation import argparse import textwrap diff --git a/test cases/rust/12 bindgen/src/gen_header.py b/test cases/rust/12 bindgen/src/gen_header.py index 099e4ec..07b699b 100644 --- a/test cases/rust/12 bindgen/src/gen_header.py +++ b/test cases/rust/12 bindgen/src/gen_header.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -# SPDX-license-identifer: Apache-2.0 -# Copyright © 2021 Intel Corporation +# SPDX-license-Identifier: Apache-2.0 +# Copyright © 2021-2023 Intel Corporation import argparse import shutil |