diff --git a/.github/disclaimer.txt b/.github/disclaimer.txt index 82fbc5e61f..20395af2b5 100644 --- a/.github/disclaimer.txt +++ b/.github/disclaimer.txt @@ -1,2 +1,3 @@ -Copyright (C) 2014 Anaconda, Inc +SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +SPDX-FileCopyrightText: © 2017 Anaconda, Inc. SPDX-License-Identifier: BSD-3-Clause diff --git a/LICENSE.txt b/LICENSE.txt index 62482ed351..d686a95dc6 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,23 +1,25 @@ -Except where noted below, conda is released under the following terms: +BSD 3-Clause License -(c) 2012 Continuum Analytics, Inc. / http://continuum.io -All Rights Reserved +© 2012 Continuum Analytics, Inc. +© 2017 Anaconda, Inc. +All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - * Neither the name of Continuum Analytics, Inc. nor the - names of its contributors may be used to endorse or promote products + * Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL CONTINUUM ANALYTICS BE LIABLE FOR ANY +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND @@ -25,8 +27,8 @@ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +--- -Exceptions -========== +Exceptions: -versioneer.py is Public Domain +* versioneer, licensed as CC0-1.0 diff --git a/benchmarks/__init__.py b/benchmarks/__init__.py index 3f48e8b789..c1f4d069af 100644 --- a/benchmarks/__init__.py +++ b/benchmarks/__init__.py @@ -1,2 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause diff --git a/benchmarks/time_render.py b/benchmarks/time_render.py index 5fe76f6f45..6e372e51ae 100644 --- a/benchmarks/time_render.py +++ b/benchmarks/time_render.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import os diff --git a/conda_build/__init__.py b/conda_build/__init__.py index 481c819391..60632f5b46 100644 --- a/conda_build/__init__.py +++ b/conda_build/__init__.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause from . import _version __version__ = _version.get_versions()['version'] diff --git a/conda_build/_link.py b/conda_build/_link.py index 50c0da3641..0622add1f8 100644 --- a/conda_build/_link.py +++ b/conda_build/_link.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause """ This is code that is added to noarch Python packages. See diff --git a/conda_build/_load_setup_py_data.py b/conda_build/_load_setup_py_data.py index fd4bef91f1..327aa787ca 100644 --- a/conda_build/_load_setup_py_data.py +++ b/conda_build/_load_setup_py_data.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import os import sys diff --git a/conda_build/api.py b/conda_build/api.py index 3b05833245..1fcf70624c 100644 --- a/conda_build/api.py +++ b/conda_build/api.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause """ This file defines the public API for conda-build. Adding or removing functions, diff --git a/conda_build/bdist_conda.py b/conda_build/bdist_conda.py index d3b901e3a0..d61cae1c2b 100644 --- a/conda_build/bdist_conda.py +++ b/conda_build/bdist_conda.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause """ bdist_conda diff --git a/conda_build/build.py b/conda_build/build.py index f264a6b549..0786321837 100644 --- a/conda_build/build.py +++ b/conda_build/build.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause ''' Module that does most of the heavy lifting for the ``conda build`` command. diff --git a/conda_build/cli/__init__.py b/conda_build/cli/__init__.py index 3f48e8b789..c1f4d069af 100644 --- a/conda_build/cli/__init__.py +++ b/conda_build/cli/__init__.py @@ -1,2 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause diff --git a/conda_build/cli/actions.py b/conda_build/cli/actions.py index 0067f370de..9b5f25e541 100644 --- a/conda_build/cli/actions.py +++ b/conda_build/cli/actions.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import argparse diff --git a/conda_build/cli/main_build.py b/conda_build/cli/main_build.py index 316ff998b1..f910bb47a4 100644 --- a/conda_build/cli/main_build.py +++ b/conda_build/cli/main_build.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import argparse from glob2 import glob diff --git a/conda_build/cli/main_convert.py b/conda_build/cli/main_convert.py index e1ada47bf9..568ace145a 100644 --- a/conda_build/cli/main_convert.py +++ b/conda_build/cli/main_convert.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import logging from os.path import abspath, expanduser diff --git a/conda_build/cli/main_debug.py b/conda_build/cli/main_debug.py index 22cdf2cb73..b0aba54102 100644 --- a/conda_build/cli/main_debug.py +++ b/conda_build/cli/main_debug.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import logging import sys diff --git a/conda_build/cli/main_develop.py b/conda_build/cli/main_develop.py index 7fc473725c..b530d9ad4c 100644 --- a/conda_build/cli/main_develop.py +++ b/conda_build/cli/main_develop.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import logging import sys diff --git a/conda_build/cli/main_index.py b/conda_build/cli/main_index.py index 9d3f4009b9..e274cba251 100644 --- a/conda_build/cli/main_index.py +++ b/conda_build/cli/main_index.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import logging import os diff --git a/conda_build/cli/main_inspect.py b/conda_build/cli/main_inspect.py index 21c09a570b..336e1ed1fd 100644 --- a/conda_build/cli/main_inspect.py +++ b/conda_build/cli/main_inspect.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import logging from os.path import expanduser diff --git a/conda_build/cli/main_metapackage.py b/conda_build/cli/main_metapackage.py index 5a9613c273..499e63012c 100644 --- a/conda_build/cli/main_metapackage.py +++ b/conda_build/cli/main_metapackage.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import argparse import logging diff --git a/conda_build/cli/main_render.py b/conda_build/cli/main_render.py index b2280db449..93e483eef2 100644 --- a/conda_build/cli/main_render.py +++ b/conda_build/cli/main_render.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import argparse import logging diff --git a/conda_build/cli/main_skeleton.py b/conda_build/cli/main_skeleton.py index 993d3f3ee6..91ebe85b79 100644 --- a/conda_build/cli/main_skeleton.py +++ b/conda_build/cli/main_skeleton.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import importlib import logging diff --git a/conda_build/cli/validators.py b/conda_build/cli/validators.py index fdebdcba5b..f05e69c875 100644 --- a/conda_build/cli/validators.py +++ b/conda_build/cli/validators.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause from __future__ import annotations diff --git a/conda_build/conda_interface.py b/conda_build/conda_interface.py index 43b026e926..4ae603251a 100644 --- a/conda_build/conda_interface.py +++ b/conda_build/conda_interface.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause from functools import partial import os diff --git a/conda_build/config.py b/conda_build/config.py index db11b5d309..22ccd98cbc 100644 --- a/conda_build/config.py +++ b/conda_build/config.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause ''' Module to store conda build settings. diff --git a/conda_build/convert.py b/conda_build/convert.py index 9915ca799a..53bca8cf08 100644 --- a/conda_build/convert.py +++ b/conda_build/convert.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause """ Tools for converting conda packages diff --git a/conda_build/create_test.py b/conda_build/create_test.py index afd6bfbcb9..1af4c6a85e 100644 --- a/conda_build/create_test.py +++ b/conda_build/create_test.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause ''' Module to handle generating test files. diff --git a/conda_build/develop.py b/conda_build/develop.py index 6c34d63ec5..2fb201c626 100644 --- a/conda_build/develop.py +++ b/conda_build/develop.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause from os.path import join, isdir, abspath, expanduser, exists import shutil diff --git a/conda_build/environ.py b/conda_build/environ.py index 5a57359a4b..fcdfb71552 100644 --- a/conda_build/environ.py +++ b/conda_build/environ.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import contextlib import json diff --git a/conda_build/exceptions.py b/conda_build/exceptions.py index 72d62a377d..5389d2aff3 100644 --- a/conda_build/exceptions.py +++ b/conda_build/exceptions.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import textwrap SEPARATOR = "-" * 70 diff --git a/conda_build/features.py b/conda_build/features.py index 9fe1389e39..431058395f 100644 --- a/conda_build/features.py +++ b/conda_build/features.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import os import sys diff --git a/conda_build/index.py b/conda_build/index.py index 342c92ad16..8379d0a399 100644 --- a/conda_build/index.py +++ b/conda_build/index.py @@ -1,8 +1,6 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause -# Copyright (C) 2018 Anaconda, Inc -# SPDX-License-Identifier: Proprietary - import bz2 from collections import OrderedDict import copy diff --git a/conda_build/inspect_pkg.py b/conda_build/inspect_pkg.py index ea7be064f8..4cab9ebe5c 100644 --- a/conda_build/inspect_pkg.py +++ b/conda_build/inspect_pkg.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause from collections import defaultdict from itertools import groupby diff --git a/conda_build/jinja_context.py b/conda_build/jinja_context.py index 585aece94e..e5648df9f6 100644 --- a/conda_build/jinja_context.py +++ b/conda_build/jinja_context.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause from functools import partial from io import StringIO diff --git a/conda_build/license_family.py b/conda_build/license_family.py index 542166dd30..25f8dfd005 100644 --- a/conda_build/license_family.py +++ b/conda_build/license_family.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import re import string diff --git a/conda_build/metadata.py b/conda_build/metadata.py index 99f1b423d9..052e766173 100644 --- a/conda_build/metadata.py +++ b/conda_build/metadata.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause from collections import OrderedDict import contextlib diff --git a/conda_build/metapackage.py b/conda_build/metapackage.py index fd993c1236..4d6d781155 100644 --- a/conda_build/metapackage.py +++ b/conda_build/metapackage.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause from collections import defaultdict from conda_build.config import Config diff --git a/conda_build/noarch_python.py b/conda_build/noarch_python.py index 6823faeea6..24bc5fba6f 100644 --- a/conda_build/noarch_python.py +++ b/conda_build/noarch_python.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import json import locale diff --git a/conda_build/os_utils/__init__.py b/conda_build/os_utils/__init__.py index 3f48e8b789..c1f4d069af 100644 --- a/conda_build/os_utils/__init__.py +++ b/conda_build/os_utils/__init__.py @@ -1,2 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause diff --git a/conda_build/os_utils/elf.py b/conda_build/os_utils/elf.py index e8b2386f55..2daf3eaf53 100644 --- a/conda_build/os_utils/elf.py +++ b/conda_build/os_utils/elf.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import sys from os.path import islink, isfile diff --git a/conda_build/os_utils/external.py b/conda_build/os_utils/external.py index 3e5ea52994..37d888eee7 100644 --- a/conda_build/os_utils/external.py +++ b/conda_build/os_utils/external.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import os import stat diff --git a/conda_build/os_utils/ldd.py b/conda_build/os_utils/ldd.py index e094301e54..12155b781e 100644 --- a/conda_build/os_utils/ldd.py +++ b/conda_build/os_utils/ldd.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause from functools import lru_cache import sys diff --git a/conda_build/os_utils/liefldd.py b/conda_build/os_utils/liefldd.py index ba7df48b74..8b625b27d7 100644 --- a/conda_build/os_utils/liefldd.py +++ b/conda_build/os_utils/liefldd.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause try: from collections.abc import Hashable diff --git a/conda_build/os_utils/macho.py b/conda_build/os_utils/macho.py index 5e19303bf7..e0ad752796 100644 --- a/conda_build/os_utils/macho.py +++ b/conda_build/os_utils/macho.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import re import stat diff --git a/conda_build/os_utils/pyldd.py b/conda_build/os_utils/pyldd.py index efce517ce2..b10c896d1e 100644 --- a/conda_build/os_utils/pyldd.py +++ b/conda_build/os_utils/pyldd.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import argparse import glob diff --git a/conda_build/post.py b/conda_build/post.py index 6259b97ac6..e439715cc5 100644 --- a/conda_build/post.py +++ b/conda_build/post.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause from copy import copy from collections import defaultdict, OrderedDict diff --git a/conda_build/render.py b/conda_build/render.py index e89103e2a5..6df859db12 100644 --- a/conda_build/render.py +++ b/conda_build/render.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause from collections import OrderedDict, defaultdict from functools import lru_cache diff --git a/conda_build/skeletons/__init__.py b/conda_build/skeletons/__init__.py index 3f48e8b789..c1f4d069af 100644 --- a/conda_build/skeletons/__init__.py +++ b/conda_build/skeletons/__init__.py @@ -1,2 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause diff --git a/conda_build/skeletons/_example_skeleton.py b/conda_build/skeletons/_example_skeleton.py index 25ee72e23e..5099459862 100644 --- a/conda_build/skeletons/_example_skeleton.py +++ b/conda_build/skeletons/_example_skeleton.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause """This file is an example of the structure that any add-on module for a new language should have. diff --git a/conda_build/skeletons/cpan.py b/conda_build/skeletons/cpan.py index 94a1efa5c7..0bd4d93e31 100644 --- a/conda_build/skeletons/cpan.py +++ b/conda_build/skeletons/cpan.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause """ Tools for converting CPAN packages to conda recipes. diff --git a/conda_build/skeletons/cran.py b/conda_build/skeletons/cran.py index 9c9e0e2c72..6989fdddd4 100755 --- a/conda_build/skeletons/cran.py +++ b/conda_build/skeletons/cran.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause """ Tools for converting Cran packages to conda recipes. diff --git a/conda_build/skeletons/luarocks.py b/conda_build/skeletons/luarocks.py index e83e76fd65..c1a14590a9 100644 --- a/conda_build/skeletons/luarocks.py +++ b/conda_build/skeletons/luarocks.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause """ Tools for converting luarocks packages to conda recipes. diff --git a/conda_build/skeletons/pypi.py b/conda_build/skeletons/pypi.py index 61f5baafb0..d08693ac3a 100644 --- a/conda_build/skeletons/pypi.py +++ b/conda_build/skeletons/pypi.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause """ Tools for converting PyPI packages to conda recipes. diff --git a/conda_build/skeletons/rpm.py b/conda_build/skeletons/rpm.py index 04f73d7355..b8e54e3e47 100644 --- a/conda_build/skeletons/rpm.py +++ b/conda_build/skeletons/rpm.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import argparse from conda_build.source import download_to_cache diff --git a/conda_build/source.py b/conda_build/source.py index 5dbaa59d52..4fa026d899 100644 --- a/conda_build/source.py +++ b/conda_build/source.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import locale import os diff --git a/conda_build/tarcheck.py b/conda_build/tarcheck.py index ac8cebd769..1385c14cd0 100644 --- a/conda_build/tarcheck.py +++ b/conda_build/tarcheck.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import json from os.path import basename, normpath diff --git a/conda_build/utils.py b/conda_build/utils.py index c398b7fda6..45db44cdfc 100644 --- a/conda_build/utils.py +++ b/conda_build/utils.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause from collections import OrderedDict, defaultdict import contextlib diff --git a/conda_build/variants.py b/conda_build/variants.py index 19c1e87a5f..abaf1bfa9e 100644 --- a/conda_build/variants.py +++ b/conda_build/variants.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause """This file handles the parsing of feature specifications from files, ending up with a configuration matrix""" diff --git a/conda_build/windows.py b/conda_build/windows.py index c365cc60db..7ec6a21de9 100644 --- a/conda_build/windows.py +++ b/conda_build/windows.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import os import pprint diff --git a/docs/scrape_help.py b/docs/scrape_help.py index ac7ffe0e45..437290c542 100755 --- a/docs/scrape_help.py +++ b/docs/scrape_help.py @@ -1,5 +1,6 @@ #!/usr/bin/env python -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause from subprocess import check_output, PIPE, Popen, STDOUT from os.path import join, dirname, abspath, isdir diff --git a/docs/source/conf.py b/docs/source/conf.py index c654dff3e8..5cd6b50631 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause # # Configuration file for the Sphinx documentation builder. diff --git a/recipe/run_test.py b/recipe/run_test.py index 42a35beb73..deceb3dc3a 100644 --- a/recipe/run_test.py +++ b/recipe/run_test.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import conda_build diff --git a/recipe/test_bdist_conda_setup.py b/recipe/test_bdist_conda_setup.py index 3f26e18b06..df827a851d 100644 --- a/recipe/test_bdist_conda_setup.py +++ b/recipe/test_bdist_conda_setup.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause from setuptools import setup import conda_build.bdist_conda diff --git a/setup.py b/setup.py index 52802c523a..8e554d8709 100755 --- a/setup.py +++ b/setup.py @@ -1,5 +1,6 @@ #!/usr/bin/env python -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause from pathlib import Path from setuptools import setup diff --git a/tests/__init__.py b/tests/__init__.py index 622c492538..62a742b8bb 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause # This is just here so that tests is a package, so that dotted relative # imports work. diff --git a/tests/bdist-recipe/bin/test-script-setup.py b/tests/bdist-recipe/bin/test-script-setup.py index f125947783..c9b25d71b6 100644 --- a/tests/bdist-recipe/bin/test-script-setup.py +++ b/tests/bdist-recipe/bin/test-script-setup.py @@ -1,5 +1,6 @@ #!/usr/bin/env python -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import conda_build_test conda_build_test diff --git a/tests/bdist-recipe/conda_build_test/__init__.py b/tests/bdist-recipe/conda_build_test/__init__.py index 3574c4128a..558b3cf7b9 100644 --- a/tests/bdist-recipe/conda_build_test/__init__.py +++ b/tests/bdist-recipe/conda_build_test/__init__.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause """ conda build test package diff --git a/tests/bdist-recipe/conda_build_test/empty.py b/tests/bdist-recipe/conda_build_test/empty.py index 3f48e8b789..c1f4d069af 100644 --- a/tests/bdist-recipe/conda_build_test/empty.py +++ b/tests/bdist-recipe/conda_build_test/empty.py @@ -1,2 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause diff --git a/tests/bdist-recipe/conda_build_test/manual_entry.py b/tests/bdist-recipe/conda_build_test/manual_entry.py index fb15342cd3..1b61fe8c60 100644 --- a/tests/bdist-recipe/conda_build_test/manual_entry.py +++ b/tests/bdist-recipe/conda_build_test/manual_entry.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause def main(): import argparse diff --git a/tests/bdist-recipe/setup.py b/tests/bdist-recipe/setup.py index d9aac68996..581f9f0204 100644 --- a/tests/bdist-recipe/setup.py +++ b/tests/bdist-recipe/setup.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause from setuptools import setup import conda_build.bdist_conda diff --git a/tests/cli/__init__.py b/tests/cli/__init__.py index 3f48e8b789..c1f4d069af 100644 --- a/tests/cli/__init__.py +++ b/tests/cli/__init__.py @@ -1,2 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause diff --git a/tests/cli/test_main_debug.py b/tests/cli/test_main_debug.py index 991000279b..ce40f268ab 100644 --- a/tests/cli/test_main_debug.py +++ b/tests/cli/test_main_debug.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import io import os.path diff --git a/tests/cli/test_validators.py b/tests/cli/test_validators.py index 7de6c87d56..1e1f3e5a5c 100644 --- a/tests/cli/test_validators.py +++ b/tests/cli/test_validators.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import os from argparse import ArgumentError diff --git a/tests/conftest.py b/tests/conftest.py index 981a439e3a..2a2b004161 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import os import sys diff --git a/tests/gen_patch.py b/tests/gen_patch.py index e2a6fdecd3..8d453967e2 100644 --- a/tests/gen_patch.py +++ b/tests/gen_patch.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause # for tests only def _patch_repodata(repodata, subdir): diff --git a/tests/test_api_build.py b/tests/test_api_build.py index a74081667b..b72aec98c2 100644 --- a/tests/test_api_build.py +++ b/tests/test_api_build.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause """ This module tests the build API. These are high-level integration tests. diff --git a/tests/test_api_build_conda_v2.py b/tests/test_api_build_conda_v2.py index b7c38a96e8..dd6d29e86c 100644 --- a/tests/test_api_build_conda_v2.py +++ b/tests/test_api_build_conda_v2.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import os diff --git a/tests/test_api_build_dll_package.py b/tests/test_api_build_dll_package.py index 32adb88cc4..836b546439 100644 --- a/tests/test_api_build_dll_package.py +++ b/tests/test_api_build_dll_package.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import os import pytest diff --git a/tests/test_api_build_go_package.py b/tests/test_api_build_go_package.py index 16e7a27385..e91d29346c 100644 --- a/tests/test_api_build_go_package.py +++ b/tests/test_api_build_go_package.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import os import pytest diff --git a/tests/test_api_consistency.py b/tests/test_api_consistency.py index 7931b99b55..1a47f92967 100644 --- a/tests/test_api_consistency.py +++ b/tests/test_api_consistency.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause # This file makes sure that our API has not changed. Doing so can not be accidental. Whenever it # happens, we should bump our major build number, because we may have broken someone. diff --git a/tests/test_api_convert.py b/tests/test_api_convert.py index dc973467da..5d0c7dfd45 100644 --- a/tests/test_api_convert.py +++ b/tests/test_api_convert.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import csv import os diff --git a/tests/test_api_debug.py b/tests/test_api_debug.py index 10415c15d1..86a0394dcf 100644 --- a/tests/test_api_debug.py +++ b/tests/test_api_debug.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause """ This module tests the test API. These are high-level integration tests. Lower level unit tests diff --git a/tests/test_api_inspect.py b/tests/test_api_inspect.py index f3fc6411a2..f1a7c3ecc8 100644 --- a/tests/test_api_inspect.py +++ b/tests/test_api_inspect.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import os diff --git a/tests/test_api_render.py b/tests/test_api_render.py index 452a642e43..15a80d93da 100644 --- a/tests/test_api_render.py +++ b/tests/test_api_render.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause """ This module tests the test API. These are high-level integration tests. Lower level unit tests diff --git a/tests/test_api_skeleton.py b/tests/test_api_skeleton.py index 18cb57e6d9..7a8f83542e 100644 --- a/tests/test_api_skeleton.py +++ b/tests/test_api_skeleton.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import fnmatch import os diff --git a/tests/test_api_skeleton_cran.py b/tests/test_api_skeleton_cran.py index 52babe2098..b7f83b0c1d 100644 --- a/tests/test_api_skeleton_cran.py +++ b/tests/test_api_skeleton_cran.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause ''' Integrative tests of the CRAN skeleton that start from diff --git a/tests/test_api_test.py b/tests/test_api_test.py index 4bb70a220c..36004484b5 100644 --- a/tests/test_api_test.py +++ b/tests/test_api_test.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause """ This module tests the test API. These are high-level integration tests. diff --git a/tests/test_api_update_index.py b/tests/test_api_update_index.py index cf1f06c44d..10cf2819ee 100644 --- a/tests/test_api_update_index.py +++ b/tests/test_api_update_index.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import os diff --git a/tests/test_build.py b/tests/test_build.py index e7e086f8e6..8ab2b6e9d6 100644 --- a/tests/test_build.py +++ b/tests/test_build.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause """ This file tests the build.py module. It sits lower in the stack than the API tests, diff --git a/tests/test_check.py b/tests/test_check.py index 8e5109c771..b62e23961d 100644 --- a/tests/test_check.py +++ b/tests/test_check.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import os diff --git a/tests/test_cli.py b/tests/test_cli.py index 66d51fbbe3..db4d9989dc 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause # For the most part, all functionality should be tested with the api tests, # because they actually provide coverage. These tests are here to make diff --git a/tests/test_conda_interface.py b/tests/test_conda_interface.py index ea56b3062c..0063541cae 100644 --- a/tests/test_conda_interface.py +++ b/tests/test_conda_interface.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause from conda_build import conda_interface as ci diff --git a/tests/test_config.py b/tests/test_config.py index 4dce1e63a2..5c4ab3c3bb 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import os import sys diff --git a/tests/test_cran_skeleton.py b/tests/test_cran_skeleton.py index 2116fff0f7..a2a751320b 100644 --- a/tests/test_cran_skeleton.py +++ b/tests/test_cran_skeleton.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause ''' Unit tests of the CRAN skeleton utility functions diff --git a/tests/test_create_test.py b/tests/test_create_test.py index 69877a72e8..f1e4e376a7 100644 --- a/tests/test_create_test.py +++ b/tests/test_create_test.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import os diff --git a/tests/test_develop.py b/tests/test_develop.py index f10d19e9a1..52839a6d81 100644 --- a/tests/test_develop.py +++ b/tests/test_develop.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause ''' Simple tests for testing functions in develop module - lower level than going through API. diff --git a/tests/test_environ.py b/tests/test_environ.py index fed4cf0a17..c7cdf9fdfe 100644 --- a/tests/test_environ.py +++ b/tests/test_environ.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import os diff --git a/tests/test_index.py b/tests/test_index.py index 628717df77..9ea70a7942 100644 --- a/tests/test_index.py +++ b/tests/test_index.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause """ See also https://github.com/conda-incubator/conda-index diff --git a/tests/test_inspect.py b/tests/test_inspect.py index d2c4d812fd..ac569bbbd3 100644 --- a/tests/test_inspect.py +++ b/tests/test_inspect.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import re import sys diff --git a/tests/test_jinja_context.py b/tests/test_jinja_context.py index a6e6eedefa..207e0a7716 100644 --- a/tests/test_jinja_context.py +++ b/tests/test_jinja_context.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import pytest diff --git a/tests/test_license_family.py b/tests/test_license_family.py index 775e5898a8..c5b8442869 100644 --- a/tests/test_license_family.py +++ b/tests/test_license_family.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause from conda_build.license_family import guess_license_family, allowed_license_families, ensure_valid_license_family import pytest diff --git a/tests/test_metadata.py b/tests/test_metadata.py index 2bf9b0c045..6daa23ae00 100644 --- a/tests/test_metadata.py +++ b/tests/test_metadata.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import os import subprocess diff --git a/tests/test_misc.py b/tests/test_misc.py index fc9a415243..b6f661ab35 100644 --- a/tests/test_misc.py +++ b/tests/test_misc.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import json from os.path import join diff --git a/tests/test_os_utils_external.py b/tests/test_os_utils_external.py index caf8fd49bd..5586e6a8fe 100644 --- a/tests/test_os_utils_external.py +++ b/tests/test_os_utils_external.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import sys import os diff --git a/tests/test_patch.py b/tests/test_patch.py index 6ca2702f24..7b68fe8a33 100644 --- a/tests/test_patch.py +++ b/tests/test_patch.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import os from textwrap import dedent diff --git a/tests/test_post.py b/tests/test_post.py index 75c6bfc796..72205d4116 100644 --- a/tests/test_post.py +++ b/tests/test_post.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import os import shutil diff --git a/tests/test_published_examples.py b/tests/test_published_examples.py index 2d76a08e6c..8146d5a28e 100644 --- a/tests/test_published_examples.py +++ b/tests/test_published_examples.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import os diff --git a/tests/test_pypi_skeleton.py b/tests/test_pypi_skeleton.py index d86a81dbeb..a983d477a1 100644 --- a/tests/test_pypi_skeleton.py +++ b/tests/test_pypi_skeleton.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause from collections import OrderedDict diff --git a/tests/test_render.py b/tests/test_render.py index 140d75001f..a8acf2023f 100644 --- a/tests/test_render.py +++ b/tests/test_render.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import os diff --git a/tests/test_source.py b/tests/test_source.py index 6776a3815d..6e9827a268 100644 --- a/tests/test_source.py +++ b/tests/test_source.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import os import subprocess diff --git a/tests/test_subpackages.py b/tests/test_subpackages.py index e2b0b59855..3b3bd297bb 100644 --- a/tests/test_subpackages.py +++ b/tests/test_subpackages.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause from glob import glob import json diff --git a/tests/test_utils.py b/tests/test_utils.py index 5aa6469b72..42d8f9d870 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import contextlib import filelock diff --git a/tests/test_variants.py b/tests/test_variants.py index e8ace350a7..c41fd72e20 100644 --- a/tests/test_variants.py +++ b/tests/test_variants.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause from collections import OrderedDict import os diff --git a/tests/utils.py b/tests/utils.py index c3425f9cec..349351f3f7 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -1,4 +1,5 @@ -# Copyright (C) 2014 Anaconda, Inc +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. # SPDX-License-Identifier: BSD-3-Clause import contextlib import os