From 907b7e5113e041a80de271f287aa1d8f656c95d1 Mon Sep 17 00:00:00 2001 From: Ken Odegard Date: Thu, 15 Dec 2022 16:48:16 -0600 Subject: [PATCH 1/3] Remove old disclaimers --- benchmarks/__init__.py | 2 -- benchmarks/time_render.py | 2 -- conda_build/__init__.py | 2 -- conda_build/_link.py | 2 -- conda_build/_load_setup_py_data.py | 2 -- conda_build/api.py | 2 -- conda_build/bdist_conda.py | 2 -- conda_build/build.py | 2 -- conda_build/cli/__init__.py | 2 -- conda_build/cli/actions.py | 2 -- conda_build/cli/main_build.py | 2 -- conda_build/cli/main_convert.py | 2 -- conda_build/cli/main_debug.py | 2 -- conda_build/cli/main_develop.py | 2 -- conda_build/cli/main_index.py | 2 -- conda_build/cli/main_inspect.py | 2 -- conda_build/cli/main_metapackage.py | 2 -- conda_build/cli/main_render.py | 2 -- conda_build/cli/main_skeleton.py | 2 -- conda_build/cli/validators.py | 2 -- conda_build/conda_interface.py | 2 -- conda_build/config.py | 2 -- conda_build/convert.py | 2 -- conda_build/create_test.py | 2 -- conda_build/develop.py | 2 -- conda_build/environ.py | 2 -- conda_build/exceptions.py | 2 -- conda_build/features.py | 2 -- conda_build/index.py | 5 ----- conda_build/inspect_pkg.py | 2 -- conda_build/jinja_context.py | 2 -- conda_build/license_family.py | 2 -- conda_build/metadata.py | 2 -- conda_build/metapackage.py | 2 -- conda_build/noarch_python.py | 2 -- conda_build/os_utils/__init__.py | 2 -- conda_build/os_utils/elf.py | 2 -- conda_build/os_utils/external.py | 2 -- conda_build/os_utils/ldd.py | 2 -- conda_build/os_utils/liefldd.py | 2 -- conda_build/os_utils/macho.py | 2 -- conda_build/os_utils/pyldd.py | 2 -- conda_build/post.py | 2 -- conda_build/render.py | 2 -- conda_build/skeletons/__init__.py | 2 -- conda_build/skeletons/_example_skeleton.py | 2 -- conda_build/skeletons/cpan.py | 2 -- conda_build/skeletons/cran.py | 2 -- conda_build/skeletons/luarocks.py | 2 -- conda_build/skeletons/pypi.py | 2 -- conda_build/skeletons/rpm.py | 2 -- conda_build/source.py | 2 -- conda_build/tarcheck.py | 2 -- conda_build/utils.py | 2 -- conda_build/variants.py | 2 -- conda_build/windows.py | 2 -- docs/scrape_help.py | 2 -- docs/source/conf.py | 2 -- recipe/run_test.py | 2 -- recipe/test_bdist_conda_setup.py | 2 -- setup.py | 2 -- tests/__init__.py | 2 -- tests/bdist-recipe/bin/test-script-setup.py | 2 -- tests/bdist-recipe/conda_build_test/__init__.py | 2 -- tests/bdist-recipe/conda_build_test/empty.py | 2 -- tests/bdist-recipe/conda_build_test/manual_entry.py | 2 -- tests/bdist-recipe/setup.py | 2 -- tests/cli/__init__.py | 2 -- tests/cli/test_main_debug.py | 2 -- tests/cli/test_validators.py | 2 -- tests/conftest.py | 2 -- tests/gen_patch.py | 2 -- tests/test_api_build.py | 2 -- tests/test_api_build_conda_v2.py | 2 -- tests/test_api_build_dll_package.py | 2 -- tests/test_api_build_go_package.py | 2 -- tests/test_api_consistency.py | 2 -- tests/test_api_convert.py | 2 -- tests/test_api_debug.py | 2 -- tests/test_api_inspect.py | 2 -- tests/test_api_render.py | 2 -- tests/test_api_skeleton.py | 2 -- tests/test_api_skeleton_cran.py | 2 -- tests/test_api_test.py | 2 -- tests/test_api_update_index.py | 2 -- tests/test_build.py | 2 -- tests/test_check.py | 2 -- tests/test_cli.py | 2 -- tests/test_conda_interface.py | 2 -- tests/test_config.py | 2 -- tests/test_cran_skeleton.py | 2 -- tests/test_create_test.py | 2 -- tests/test_develop.py | 2 -- tests/test_environ.py | 2 -- tests/test_index.py | 2 -- tests/test_inspect.py | 2 -- tests/test_jinja_context.py | 2 -- tests/test_license_family.py | 2 -- tests/test_metadata.py | 2 -- tests/test_misc.py | 2 -- tests/test_os_utils_external.py | 2 -- tests/test_patch.py | 2 -- tests/test_post.py | 2 -- tests/test_published_examples.py | 2 -- tests/test_pypi_skeleton.py | 2 -- tests/test_render.py | 2 -- tests/test_source.py | 2 -- tests/test_subpackages.py | 2 -- tests/test_utils.py | 2 -- tests/test_variants.py | 2 -- tests/utils.py | 2 -- 111 files changed, 225 deletions(-) diff --git a/benchmarks/__init__.py b/benchmarks/__init__.py index 3f48e8b789..e69de29bb2 100644 --- a/benchmarks/__init__.py +++ b/benchmarks/__init__.py @@ -1,2 +0,0 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause diff --git a/benchmarks/time_render.py b/benchmarks/time_render.py index 5fe76f6f45..8455aa98f9 100644 --- a/benchmarks/time_render.py +++ b/benchmarks/time_render.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import os from conda_build import api diff --git a/conda_build/__init__.py b/conda_build/__init__.py index 481c819391..9f97bfeef2 100644 --- a/conda_build/__init__.py +++ b/conda_build/__init__.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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..db0e5b1a0a 100644 --- a/conda_build/_link.py +++ b/conda_build/_link.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause """ This is code that is added to noarch Python packages. See conda_build/noarch_python.py. diff --git a/conda_build/_load_setup_py_data.py b/conda_build/_load_setup_py_data.py index fd4bef91f1..adabad7094 100644 --- a/conda_build/_load_setup_py_data.py +++ b/conda_build/_load_setup_py_data.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import os import sys import logging diff --git a/conda_build/api.py b/conda_build/api.py index 3b05833245..96caaf01ac 100644 --- a/conda_build/api.py +++ b/conda_build/api.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause """ This file defines the public API for conda-build. Adding or removing functions, or Changing arguments to anything in here should also mean changing the major diff --git a/conda_build/bdist_conda.py b/conda_build/bdist_conda.py index d3b901e3a0..1d002c3420 100644 --- a/conda_build/bdist_conda.py +++ b/conda_build/bdist_conda.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause """ bdist_conda diff --git a/conda_build/build.py b/conda_build/build.py index f264a6b549..525964b846 100644 --- a/conda_build/build.py +++ b/conda_build/build.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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..e69de29bb2 100644 --- a/conda_build/cli/__init__.py +++ b/conda_build/cli/__init__.py @@ -1,2 +0,0 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause diff --git a/conda_build/cli/actions.py b/conda_build/cli/actions.py index 0067f370de..11b200a699 100644 --- a/conda_build/cli/actions.py +++ b/conda_build/cli/actions.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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..1ad6164413 100644 --- a/conda_build/cli/main_build.py +++ b/conda_build/cli/main_build.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import argparse from glob2 import glob from itertools import chain diff --git a/conda_build/cli/main_convert.py b/conda_build/cli/main_convert.py index e1ada47bf9..c19275498b 100644 --- a/conda_build/cli/main_convert.py +++ b/conda_build/cli/main_convert.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import logging from os.path import abspath, expanduser import sys diff --git a/conda_build/cli/main_debug.py b/conda_build/cli/main_debug.py index 22cdf2cb73..14b6d461bf 100644 --- a/conda_build/cli/main_debug.py +++ b/conda_build/cli/main_debug.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import logging import sys from argparse import ArgumentParser diff --git a/conda_build/cli/main_develop.py b/conda_build/cli/main_develop.py index 7fc473725c..27129ecfee 100644 --- a/conda_build/cli/main_develop.py +++ b/conda_build/cli/main_develop.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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..c272fe2e5b 100644 --- a/conda_build/cli/main_index.py +++ b/conda_build/cli/main_index.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import logging import os import sys diff --git a/conda_build/cli/main_inspect.py b/conda_build/cli/main_inspect.py index 21c09a570b..7555c69801 100644 --- a/conda_build/cli/main_inspect.py +++ b/conda_build/cli/main_inspect.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import logging from os.path import expanduser from pprint import pprint diff --git a/conda_build/cli/main_metapackage.py b/conda_build/cli/main_metapackage.py index 5a9613c273..9eefc0506b 100644 --- a/conda_build/cli/main_metapackage.py +++ b/conda_build/cli/main_metapackage.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import argparse import logging import sys diff --git a/conda_build/cli/main_render.py b/conda_build/cli/main_render.py index b2280db449..44098c81c0 100644 --- a/conda_build/cli/main_render.py +++ b/conda_build/cli/main_render.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import argparse import logging import sys diff --git a/conda_build/cli/main_skeleton.py b/conda_build/cli/main_skeleton.py index 993d3f3ee6..570c7cf014 100644 --- a/conda_build/cli/main_skeleton.py +++ b/conda_build/cli/main_skeleton.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import importlib import logging import os diff --git a/conda_build/cli/validators.py b/conda_build/cli/validators.py index fdebdcba5b..1e533f22f4 100644 --- a/conda_build/cli/validators.py +++ b/conda_build/cli/validators.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause from __future__ import annotations import os diff --git a/conda_build/conda_interface.py b/conda_build/conda_interface.py index 43b026e926..7d70ec0dac 100644 --- a/conda_build/conda_interface.py +++ b/conda_build/conda_interface.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause from functools import partial import os from os import lstat diff --git a/conda_build/config.py b/conda_build/config.py index db11b5d309..3114290862 100644 --- a/conda_build/config.py +++ b/conda_build/config.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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..d2efc72f55 100644 --- a/conda_build/convert.py +++ b/conda_build/convert.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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..badd09f6c8 100644 --- a/conda_build/create_test.py +++ b/conda_build/create_test.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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..920d88bb10 100644 --- a/conda_build/develop.py +++ b/conda_build/develop.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause from os.path import join, isdir, abspath, expanduser, exists import shutil import sys diff --git a/conda_build/environ.py b/conda_build/environ.py index 5a57359a4b..becb51f740 100644 --- a/conda_build/environ.py +++ b/conda_build/environ.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import contextlib import json import logging diff --git a/conda_build/exceptions.py b/conda_build/exceptions.py index 72d62a377d..4e56e99f20 100644 --- a/conda_build/exceptions.py +++ b/conda_build/exceptions.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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..59016e92d9 100644 --- a/conda_build/features.py +++ b/conda_build/features.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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..a51b4b1416 100644 --- a/conda_build/index.py +++ b/conda_build/index.py @@ -1,8 +1,3 @@ -# Copyright (C) 2014 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..6237a38eeb 100644 --- a/conda_build/inspect_pkg.py +++ b/conda_build/inspect_pkg.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause from collections import defaultdict from itertools import groupby from functools import lru_cache diff --git a/conda_build/jinja_context.py b/conda_build/jinja_context.py index 585aece94e..bcade4a005 100644 --- a/conda_build/jinja_context.py +++ b/conda_build/jinja_context.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause from functools import partial from io import StringIO import json diff --git a/conda_build/license_family.py b/conda_build/license_family.py index 542166dd30..77fbfb1975 100644 --- a/conda_build/license_family.py +++ b/conda_build/license_family.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import re import string from conda_build import exceptions diff --git a/conda_build/metadata.py b/conda_build/metadata.py index 99f1b423d9..16786c9990 100644 --- a/conda_build/metadata.py +++ b/conda_build/metadata.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause from collections import OrderedDict import contextlib import copy diff --git a/conda_build/metapackage.py b/conda_build/metapackage.py index fd993c1236..f5f4021ff1 100644 --- a/conda_build/metapackage.py +++ b/conda_build/metapackage.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause from collections import defaultdict from conda_build.config import Config from conda_build.metadata import MetaData diff --git a/conda_build/noarch_python.py b/conda_build/noarch_python.py index 6823faeea6..4588a7e9f0 100644 --- a/conda_build/noarch_python.py +++ b/conda_build/noarch_python.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import json import locale import logging diff --git a/conda_build/os_utils/__init__.py b/conda_build/os_utils/__init__.py index 3f48e8b789..e69de29bb2 100644 --- a/conda_build/os_utils/__init__.py +++ b/conda_build/os_utils/__init__.py @@ -1,2 +0,0 @@ -# Copyright (C) 2014 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..b37d96ed8d 100644 --- a/conda_build/os_utils/elf.py +++ b/conda_build/os_utils/elf.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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..d050bd3308 100644 --- a/conda_build/os_utils/external.py +++ b/conda_build/os_utils/external.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import os import stat import sys diff --git a/conda_build/os_utils/ldd.py b/conda_build/os_utils/ldd.py index e094301e54..9e1e43e9ff 100644 --- a/conda_build/os_utils/ldd.py +++ b/conda_build/os_utils/ldd.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause from functools import lru_cache import sys import re diff --git a/conda_build/os_utils/liefldd.py b/conda_build/os_utils/liefldd.py index ba7df48b74..e5f94fc7d1 100644 --- a/conda_build/os_utils/liefldd.py +++ b/conda_build/os_utils/liefldd.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause try: from collections.abc import Hashable except ImportError: diff --git a/conda_build/os_utils/macho.py b/conda_build/os_utils/macho.py index 5e19303bf7..8e3b555703 100644 --- a/conda_build/os_utils/macho.py +++ b/conda_build/os_utils/macho.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import re import stat import sys diff --git a/conda_build/os_utils/pyldd.py b/conda_build/os_utils/pyldd.py index efce517ce2..7f17354265 100644 --- a/conda_build/os_utils/pyldd.py +++ b/conda_build/os_utils/pyldd.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import argparse import glob import os diff --git a/conda_build/post.py b/conda_build/post.py index 6259b97ac6..bd6efd6973 100644 --- a/conda_build/post.py +++ b/conda_build/post.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause from copy import copy from collections import defaultdict, OrderedDict from functools import partial diff --git a/conda_build/render.py b/conda_build/render.py index e89103e2a5..d9b3d25b7d 100644 --- a/conda_build/render.py +++ b/conda_build/render.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause from collections import OrderedDict, defaultdict from functools import lru_cache import json diff --git a/conda_build/skeletons/__init__.py b/conda_build/skeletons/__init__.py index 3f48e8b789..e69de29bb2 100644 --- a/conda_build/skeletons/__init__.py +++ b/conda_build/skeletons/__init__.py @@ -1,2 +0,0 @@ -# Copyright (C) 2014 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..cfbca180ed 100644 --- a/conda_build/skeletons/_example_skeleton.py +++ b/conda_build/skeletons/_example_skeleton.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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. You can have structure beyond this, but this is a minimum of what conda-build will look for.""" diff --git a/conda_build/skeletons/cpan.py b/conda_build/skeletons/cpan.py index 94a1efa5c7..291317ca1f 100644 --- a/conda_build/skeletons/cpan.py +++ b/conda_build/skeletons/cpan.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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..f32228e6d4 100755 --- a/conda_build/skeletons/cran.py +++ b/conda_build/skeletons/cran.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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..2de9fe9ced 100644 --- a/conda_build/skeletons/luarocks.py +++ b/conda_build/skeletons/luarocks.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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..7c8a9865a6 100644 --- a/conda_build/skeletons/pypi.py +++ b/conda_build/skeletons/pypi.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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..101707ddfa 100644 --- a/conda_build/skeletons/rpm.py +++ b/conda_build/skeletons/rpm.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import argparse from conda_build.source import download_to_cache from conda_build.license_family import guess_license_family diff --git a/conda_build/source.py b/conda_build/source.py index 5dbaa59d52..fdbcfd818f 100644 --- a/conda_build/source.py +++ b/conda_build/source.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import locale import os from os.path import join, isdir, isfile, abspath, basename, exists, normpath, expanduser diff --git a/conda_build/tarcheck.py b/conda_build/tarcheck.py index ac8cebd769..ac8ab53ce6 100644 --- a/conda_build/tarcheck.py +++ b/conda_build/tarcheck.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import json from os.path import basename, normpath import tarfile diff --git a/conda_build/utils.py b/conda_build/utils.py index c398b7fda6..205c8beab9 100644 --- a/conda_build/utils.py +++ b/conda_build/utils.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause from collections import OrderedDict, defaultdict import contextlib import fnmatch diff --git a/conda_build/variants.py b/conda_build/variants.py index 19c1e87a5f..83d929da26 100644 --- a/conda_build/variants.py +++ b/conda_build/variants.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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..93aeb5f15e 100644 --- a/conda_build/windows.py +++ b/conda_build/windows.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import os import pprint from os.path import isdir, join, dirname, isfile diff --git a/docs/scrape_help.py b/docs/scrape_help.py index ac7ffe0e45..6966140650 100755 --- a/docs/scrape_help.py +++ b/docs/scrape_help.py @@ -1,6 +1,4 @@ #!/usr/bin/env python -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause from subprocess import check_output, PIPE, Popen, STDOUT from os.path import join, dirname, abspath, isdir from os import makedirs, pathsep diff --git a/docs/source/conf.py b/docs/source/conf.py index c654dff3e8..fce8a04088 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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..62baa807eb 100644 --- a/recipe/run_test.py +++ b/recipe/run_test.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import conda_build print('conda_build.__version__: %s' % conda_build.__version__) diff --git a/recipe/test_bdist_conda_setup.py b/recipe/test_bdist_conda_setup.py index 3f26e18b06..ad03a5c4f4 100644 --- a/recipe/test_bdist_conda_setup.py +++ b/recipe/test_bdist_conda_setup.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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..e8f1f825e4 100755 --- a/setup.py +++ b/setup.py @@ -1,6 +1,4 @@ #!/usr/bin/env python -# Copyright (C) 2014 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..bbc39889bf 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,4 +1,2 @@ -# Copyright (C) 2014 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..d772bb7f7c 100644 --- a/tests/bdist-recipe/bin/test-script-setup.py +++ b/tests/bdist-recipe/bin/test-script-setup.py @@ -1,6 +1,4 @@ #!/usr/bin/env python -# Copyright (C) 2014 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..72f453f625 100644 --- a/tests/bdist-recipe/conda_build_test/__init__.py +++ b/tests/bdist-recipe/conda_build_test/__init__.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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..e69de29bb2 100644 --- a/tests/bdist-recipe/conda_build_test/empty.py +++ b/tests/bdist-recipe/conda_build_test/empty.py @@ -1,2 +0,0 @@ -# Copyright (C) 2014 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..94b3ef13f6 100644 --- a/tests/bdist-recipe/conda_build_test/manual_entry.py +++ b/tests/bdist-recipe/conda_build_test/manual_entry.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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..a7fe8ef631 100644 --- a/tests/bdist-recipe/setup.py +++ b/tests/bdist-recipe/setup.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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..e69de29bb2 100644 --- a/tests/cli/__init__.py +++ b/tests/cli/__init__.py @@ -1,2 +0,0 @@ -# Copyright (C) 2014 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..f4ea744104 100644 --- a/tests/cli/test_main_debug.py +++ b/tests/cli/test_main_debug.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import io import os.path import sys diff --git a/tests/cli/test_validators.py b/tests/cli/test_validators.py index 7de6c87d56..020258a760 100644 --- a/tests/cli/test_validators.py +++ b/tests/cli/test_validators.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import os from argparse import ArgumentError from typing import Union diff --git a/tests/conftest.py b/tests/conftest.py index 981a439e3a..eebe23fb2e 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import os import sys from collections import defaultdict diff --git a/tests/gen_patch.py b/tests/gen_patch.py index e2a6fdecd3..11cd4e172c 100644 --- a/tests/gen_patch.py +++ b/tests/gen_patch.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause # for tests only def _patch_repodata(repodata, subdir): instructions = { diff --git a/tests/test_api_build.py b/tests/test_api_build.py index a74081667b..743a2e52dd 100644 --- a/tests/test_api_build.py +++ b/tests/test_api_build.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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..a6f9694e02 100644 --- a/tests/test_api_build_conda_v2.py +++ b/tests/test_api_build_conda_v2.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import os import pytest diff --git a/tests/test_api_build_dll_package.py b/tests/test_api_build_dll_package.py index 32adb88cc4..bef56db574 100644 --- a/tests/test_api_build_dll_package.py +++ b/tests/test_api_build_dll_package.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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..6f0371f6ad 100644 --- a/tests/test_api_build_go_package.py +++ b/tests/test_api_build_go_package.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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..720924605e 100644 --- a/tests/test_api_consistency.py +++ b/tests/test_api_consistency.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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..e7adfd811d 100644 --- a/tests/test_api_convert.py +++ b/tests/test_api_convert.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import csv import os import json diff --git a/tests/test_api_debug.py b/tests/test_api_debug.py index 10415c15d1..eac0a60388 100644 --- a/tests/test_api_debug.py +++ b/tests/test_api_debug.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause """ This module tests the test API. These are high-level integration tests. Lower level unit tests should go in test_render.py diff --git a/tests/test_api_inspect.py b/tests/test_api_inspect.py index f3fc6411a2..7a775a7170 100644 --- a/tests/test_api_inspect.py +++ b/tests/test_api_inspect.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import os import pytest diff --git a/tests/test_api_render.py b/tests/test_api_render.py index 452a642e43..5a185574b9 100644 --- a/tests/test_api_render.py +++ b/tests/test_api_render.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause """ This module tests the test API. These are high-level integration tests. Lower level unit tests should go in test_render.py diff --git a/tests/test_api_skeleton.py b/tests/test_api_skeleton.py index 18cb57e6d9..2a762f98df 100644 --- a/tests/test_api_skeleton.py +++ b/tests/test_api_skeleton.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import fnmatch import os import subprocess diff --git a/tests/test_api_skeleton_cran.py b/tests/test_api_skeleton_cran.py index 52babe2098..1268ff6c78 100644 --- a/tests/test_api_skeleton_cran.py +++ b/tests/test_api_skeleton_cran.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause ''' Integrative tests of the CRAN skeleton that start from conda_build.api.skeletonize and check the output files diff --git a/tests/test_api_test.py b/tests/test_api_test.py index 4bb70a220c..22f7b789a4 100644 --- a/tests/test_api_test.py +++ b/tests/test_api_test.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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..4aa5214ca7 100644 --- a/tests/test_api_update_index.py +++ b/tests/test_api_update_index.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import os from conda_build import api diff --git a/tests/test_build.py b/tests/test_build.py index e7e086f8e6..42fae2fd10 100644 --- a/tests/test_build.py +++ b/tests/test_build.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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, and is more unit-test oriented. diff --git a/tests/test_check.py b/tests/test_check.py index 8e5109c771..10746a2cfb 100644 --- a/tests/test_check.py +++ b/tests/test_check.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import os from conda_build import api diff --git a/tests/test_cli.py b/tests/test_cli.py index 66d51fbbe3..72b99b7eb2 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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 # sure that the CLI still works. diff --git a/tests/test_conda_interface.py b/tests/test_conda_interface.py index ea56b3062c..f6d92cfe8a 100644 --- a/tests/test_conda_interface.py +++ b/tests/test_conda_interface.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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..35c7b4d1f6 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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..29317778ae 100644 --- a/tests/test_cran_skeleton.py +++ b/tests/test_cran_skeleton.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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..65e77b5e8e 100644 --- a/tests/test_create_test.py +++ b/tests/test_create_test.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import os from conda_build import create_test as ct diff --git a/tests/test_develop.py b/tests/test_develop.py index f10d19e9a1..41b5bd876e 100644 --- a/tests/test_develop.py +++ b/tests/test_develop.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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..6076efa6f1 100644 --- a/tests/test_environ.py +++ b/tests/test_environ.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import os from conda_build import environ diff --git a/tests/test_index.py b/tests/test_index.py index 628717df77..5af4268052 100644 --- a/tests/test_index.py +++ b/tests/test_index.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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..d8c61edfd0 100644 --- a/tests/test_inspect.py +++ b/tests/test_inspect.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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..9d2d8f4af9 100644 --- a/tests/test_jinja_context.py +++ b/tests/test_jinja_context.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import pytest from conda_build import jinja_context diff --git a/tests/test_license_family.py b/tests/test_license_family.py index 775e5898a8..7537fc82bc 100644 --- a/tests/test_license_family.py +++ b/tests/test_license_family.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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..00a0bb74d7 100644 --- a/tests/test_metadata.py +++ b/tests/test_metadata.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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..4a95758916 100644 --- a/tests/test_misc.py +++ b/tests/test_misc.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 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..488e1ece10 100644 --- a/tests/test_os_utils_external.py +++ b/tests/test_os_utils_external.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import sys import os import os.path diff --git a/tests/test_patch.py b/tests/test_patch.py index 6ca2702f24..a330265011 100644 --- a/tests/test_patch.py +++ b/tests/test_patch.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import os from textwrap import dedent from types import SimpleNamespace diff --git a/tests/test_post.py b/tests/test_post.py index 75c6bfc796..50d2e968a9 100644 --- a/tests/test_post.py +++ b/tests/test_post.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import os import shutil import sys diff --git a/tests/test_published_examples.py b/tests/test_published_examples.py index 2d76a08e6c..2a8d7c3918 100644 --- a/tests/test_published_examples.py +++ b/tests/test_published_examples.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import os import pytest diff --git a/tests/test_pypi_skeleton.py b/tests/test_pypi_skeleton.py index d86a81dbeb..0cb2046099 100644 --- a/tests/test_pypi_skeleton.py +++ b/tests/test_pypi_skeleton.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause from collections import OrderedDict from conda_build.skeletons import pypi diff --git a/tests/test_render.py b/tests/test_render.py index 140d75001f..31e13c7445 100644 --- a/tests/test_render.py +++ b/tests/test_render.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import os from conda_build import api diff --git a/tests/test_source.py b/tests/test_source.py index 6776a3815d..9e8db6f4aa 100644 --- a/tests/test_source.py +++ b/tests/test_source.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import os import subprocess import tarfile diff --git a/tests/test_subpackages.py b/tests/test_subpackages.py index e2b0b59855..84749a14d1 100644 --- a/tests/test_subpackages.py +++ b/tests/test_subpackages.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause from glob import glob import json import os diff --git a/tests/test_utils.py b/tests/test_utils.py index 5aa6469b72..dfced0aa56 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import contextlib import filelock import os diff --git a/tests/test_variants.py b/tests/test_variants.py index e8ace350a7..db1430ba88 100644 --- a/tests/test_variants.py +++ b/tests/test_variants.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause from collections import OrderedDict import os import json diff --git a/tests/utils.py b/tests/utils.py index c3425f9cec..722d27573e 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -1,5 +1,3 @@ -# Copyright (C) 2014 Anaconda, Inc -# SPDX-License-Identifier: BSD-3-Clause import contextlib import os import shlex From 5edd674edc1b6262d814263356545f8e9ad421e9 Mon Sep 17 00:00:00 2001 From: Ken Odegard Date: Thu, 15 Dec 2022 16:46:16 -0600 Subject: [PATCH 2/3] Standardize disclaimer and LICENSE.txt --- .github/disclaimer.txt | 3 ++- LICENSE.txt | 20 +++++++++++--------- 2 files changed, 13 insertions(+), 10 deletions(-) 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 From f4e3c77ffa2ee411e479dcca6f641b9fa8ed17e9 Mon Sep 17 00:00:00 2001 From: Ken Odegard Date: Thu, 15 Dec 2022 17:20:21 -0600 Subject: [PATCH 3/3] Updated disclaimers --- benchmarks/__init__.py | 3 +++ benchmarks/time_render.py | 3 +++ conda_build/__init__.py | 3 +++ conda_build/_link.py | 3 +++ conda_build/_load_setup_py_data.py | 3 +++ conda_build/api.py | 3 +++ conda_build/bdist_conda.py | 3 +++ conda_build/build.py | 3 +++ conda_build/cli/__init__.py | 3 +++ conda_build/cli/actions.py | 3 +++ conda_build/cli/main_build.py | 3 +++ conda_build/cli/main_convert.py | 3 +++ conda_build/cli/main_debug.py | 3 +++ conda_build/cli/main_develop.py | 3 +++ conda_build/cli/main_index.py | 3 +++ conda_build/cli/main_inspect.py | 3 +++ conda_build/cli/main_metapackage.py | 3 +++ conda_build/cli/main_render.py | 3 +++ conda_build/cli/main_skeleton.py | 3 +++ conda_build/cli/validators.py | 3 +++ conda_build/conda_interface.py | 3 +++ conda_build/config.py | 3 +++ conda_build/convert.py | 3 +++ conda_build/create_test.py | 3 +++ conda_build/develop.py | 3 +++ conda_build/environ.py | 3 +++ conda_build/exceptions.py | 3 +++ conda_build/features.py | 3 +++ conda_build/index.py | 3 +++ conda_build/inspect_pkg.py | 3 +++ conda_build/jinja_context.py | 3 +++ conda_build/license_family.py | 3 +++ conda_build/metadata.py | 3 +++ conda_build/metapackage.py | 3 +++ conda_build/noarch_python.py | 3 +++ conda_build/os_utils/__init__.py | 3 +++ conda_build/os_utils/elf.py | 3 +++ conda_build/os_utils/external.py | 3 +++ conda_build/os_utils/ldd.py | 3 +++ conda_build/os_utils/liefldd.py | 3 +++ conda_build/os_utils/macho.py | 3 +++ conda_build/os_utils/pyldd.py | 3 +++ conda_build/post.py | 3 +++ conda_build/render.py | 3 +++ conda_build/skeletons/__init__.py | 3 +++ conda_build/skeletons/_example_skeleton.py | 3 +++ conda_build/skeletons/cpan.py | 3 +++ conda_build/skeletons/cran.py | 3 +++ conda_build/skeletons/luarocks.py | 3 +++ conda_build/skeletons/pypi.py | 3 +++ conda_build/skeletons/rpm.py | 3 +++ conda_build/source.py | 3 +++ conda_build/tarcheck.py | 3 +++ conda_build/utils.py | 3 +++ conda_build/variants.py | 3 +++ conda_build/windows.py | 3 +++ docs/scrape_help.py | 3 +++ docs/source/conf.py | 3 +++ recipe/run_test.py | 3 +++ recipe/test_bdist_conda_setup.py | 3 +++ setup.py | 3 +++ tests/__init__.py | 3 +++ tests/bdist-recipe/bin/test-script-setup.py | 3 +++ tests/bdist-recipe/conda_build_test/__init__.py | 3 +++ tests/bdist-recipe/conda_build_test/empty.py | 3 +++ tests/bdist-recipe/conda_build_test/manual_entry.py | 3 +++ tests/bdist-recipe/setup.py | 3 +++ tests/cli/__init__.py | 3 +++ tests/cli/test_main_debug.py | 3 +++ tests/cli/test_validators.py | 3 +++ tests/conftest.py | 3 +++ tests/gen_patch.py | 3 +++ tests/test_api_build.py | 3 +++ tests/test_api_build_conda_v2.py | 3 +++ tests/test_api_build_dll_package.py | 3 +++ tests/test_api_build_go_package.py | 3 +++ tests/test_api_consistency.py | 3 +++ tests/test_api_convert.py | 3 +++ tests/test_api_debug.py | 3 +++ tests/test_api_inspect.py | 3 +++ tests/test_api_render.py | 3 +++ tests/test_api_skeleton.py | 3 +++ tests/test_api_skeleton_cran.py | 3 +++ tests/test_api_test.py | 3 +++ tests/test_api_update_index.py | 3 +++ tests/test_build.py | 3 +++ tests/test_check.py | 3 +++ tests/test_cli.py | 3 +++ tests/test_conda_interface.py | 3 +++ tests/test_config.py | 3 +++ tests/test_cran_skeleton.py | 3 +++ tests/test_create_test.py | 3 +++ tests/test_develop.py | 3 +++ tests/test_environ.py | 3 +++ tests/test_index.py | 3 +++ tests/test_inspect.py | 3 +++ tests/test_jinja_context.py | 3 +++ tests/test_license_family.py | 3 +++ tests/test_metadata.py | 3 +++ tests/test_misc.py | 3 +++ tests/test_os_utils_external.py | 3 +++ tests/test_patch.py | 3 +++ tests/test_post.py | 3 +++ tests/test_published_examples.py | 3 +++ tests/test_pypi_skeleton.py | 3 +++ tests/test_render.py | 3 +++ tests/test_source.py | 3 +++ tests/test_subpackages.py | 3 +++ tests/test_utils.py | 3 +++ tests/test_variants.py | 3 +++ tests/utils.py | 3 +++ 111 files changed, 333 insertions(+) diff --git a/benchmarks/__init__.py b/benchmarks/__init__.py index e69de29bb2..c1f4d069af 100644 --- a/benchmarks/__init__.py +++ b/benchmarks/__init__.py @@ -0,0 +1,3 @@ +# 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 8455aa98f9..6e372e51ae 100644 --- a/benchmarks/time_render.py +++ b/benchmarks/time_render.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import os from conda_build import api diff --git a/conda_build/__init__.py b/conda_build/__init__.py index 9f97bfeef2..60632f5b46 100644 --- a/conda_build/__init__.py +++ b/conda_build/__init__.py @@ -1,3 +1,6 @@ +# 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 db0e5b1a0a..0622add1f8 100644 --- a/conda_build/_link.py +++ b/conda_build/_link.py @@ -1,3 +1,6 @@ +# 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 conda_build/noarch_python.py. diff --git a/conda_build/_load_setup_py_data.py b/conda_build/_load_setup_py_data.py index adabad7094..327aa787ca 100644 --- a/conda_build/_load_setup_py_data.py +++ b/conda_build/_load_setup_py_data.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import os import sys import logging diff --git a/conda_build/api.py b/conda_build/api.py index 96caaf01ac..1fcf70624c 100644 --- a/conda_build/api.py +++ b/conda_build/api.py @@ -1,3 +1,6 @@ +# 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, or Changing arguments to anything in here should also mean changing the major diff --git a/conda_build/bdist_conda.py b/conda_build/bdist_conda.py index 1d002c3420..d61cae1c2b 100644 --- a/conda_build/bdist_conda.py +++ b/conda_build/bdist_conda.py @@ -1,3 +1,6 @@ +# 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 525964b846..0786321837 100644 --- a/conda_build/build.py +++ b/conda_build/build.py @@ -1,3 +1,6 @@ +# 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 e69de29bb2..c1f4d069af 100644 --- a/conda_build/cli/__init__.py +++ b/conda_build/cli/__init__.py @@ -0,0 +1,3 @@ +# 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 11b200a699..9b5f25e541 100644 --- a/conda_build/cli/actions.py +++ b/conda_build/cli/actions.py @@ -1,3 +1,6 @@ +# 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 1ad6164413..f910bb47a4 100644 --- a/conda_build/cli/main_build.py +++ b/conda_build/cli/main_build.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import argparse from glob2 import glob from itertools import chain diff --git a/conda_build/cli/main_convert.py b/conda_build/cli/main_convert.py index c19275498b..568ace145a 100644 --- a/conda_build/cli/main_convert.py +++ b/conda_build/cli/main_convert.py @@ -1,3 +1,6 @@ +# 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 import sys diff --git a/conda_build/cli/main_debug.py b/conda_build/cli/main_debug.py index 14b6d461bf..b0aba54102 100644 --- a/conda_build/cli/main_debug.py +++ b/conda_build/cli/main_debug.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import logging import sys from argparse import ArgumentParser diff --git a/conda_build/cli/main_develop.py b/conda_build/cli/main_develop.py index 27129ecfee..b530d9ad4c 100644 --- a/conda_build/cli/main_develop.py +++ b/conda_build/cli/main_develop.py @@ -1,3 +1,6 @@ +# 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 c272fe2e5b..e274cba251 100644 --- a/conda_build/cli/main_index.py +++ b/conda_build/cli/main_index.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import logging import os import sys diff --git a/conda_build/cli/main_inspect.py b/conda_build/cli/main_inspect.py index 7555c69801..336e1ed1fd 100644 --- a/conda_build/cli/main_inspect.py +++ b/conda_build/cli/main_inspect.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import logging from os.path import expanduser from pprint import pprint diff --git a/conda_build/cli/main_metapackage.py b/conda_build/cli/main_metapackage.py index 9eefc0506b..499e63012c 100644 --- a/conda_build/cli/main_metapackage.py +++ b/conda_build/cli/main_metapackage.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import argparse import logging import sys diff --git a/conda_build/cli/main_render.py b/conda_build/cli/main_render.py index 44098c81c0..93e483eef2 100644 --- a/conda_build/cli/main_render.py +++ b/conda_build/cli/main_render.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import argparse import logging import sys diff --git a/conda_build/cli/main_skeleton.py b/conda_build/cli/main_skeleton.py index 570c7cf014..91ebe85b79 100644 --- a/conda_build/cli/main_skeleton.py +++ b/conda_build/cli/main_skeleton.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import importlib import logging import os diff --git a/conda_build/cli/validators.py b/conda_build/cli/validators.py index 1e533f22f4..f05e69c875 100644 --- a/conda_build/cli/validators.py +++ b/conda_build/cli/validators.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause from __future__ import annotations import os diff --git a/conda_build/conda_interface.py b/conda_build/conda_interface.py index 7d70ec0dac..4ae603251a 100644 --- a/conda_build/conda_interface.py +++ b/conda_build/conda_interface.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause from functools import partial import os from os import lstat diff --git a/conda_build/config.py b/conda_build/config.py index 3114290862..22ccd98cbc 100644 --- a/conda_build/config.py +++ b/conda_build/config.py @@ -1,3 +1,6 @@ +# 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 d2efc72f55..53bca8cf08 100644 --- a/conda_build/convert.py +++ b/conda_build/convert.py @@ -1,3 +1,6 @@ +# 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 badd09f6c8..1af4c6a85e 100644 --- a/conda_build/create_test.py +++ b/conda_build/create_test.py @@ -1,3 +1,6 @@ +# 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 920d88bb10..2fb201c626 100644 --- a/conda_build/develop.py +++ b/conda_build/develop.py @@ -1,3 +1,6 @@ +# 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 import sys diff --git a/conda_build/environ.py b/conda_build/environ.py index becb51f740..fcdfb71552 100644 --- a/conda_build/environ.py +++ b/conda_build/environ.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import contextlib import json import logging diff --git a/conda_build/exceptions.py b/conda_build/exceptions.py index 4e56e99f20..5389d2aff3 100644 --- a/conda_build/exceptions.py +++ b/conda_build/exceptions.py @@ -1,3 +1,6 @@ +# 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 59016e92d9..431058395f 100644 --- a/conda_build/features.py +++ b/conda_build/features.py @@ -1,3 +1,6 @@ +# 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 a51b4b1416..8379d0a399 100644 --- a/conda_build/index.py +++ b/conda_build/index.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import bz2 from collections import OrderedDict import copy diff --git a/conda_build/inspect_pkg.py b/conda_build/inspect_pkg.py index 6237a38eeb..4cab9ebe5c 100644 --- a/conda_build/inspect_pkg.py +++ b/conda_build/inspect_pkg.py @@ -1,3 +1,6 @@ +# 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 from functools import lru_cache diff --git a/conda_build/jinja_context.py b/conda_build/jinja_context.py index bcade4a005..e5648df9f6 100644 --- a/conda_build/jinja_context.py +++ b/conda_build/jinja_context.py @@ -1,3 +1,6 @@ +# 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 import json diff --git a/conda_build/license_family.py b/conda_build/license_family.py index 77fbfb1975..25f8dfd005 100644 --- a/conda_build/license_family.py +++ b/conda_build/license_family.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import re import string from conda_build import exceptions diff --git a/conda_build/metadata.py b/conda_build/metadata.py index 16786c9990..052e766173 100644 --- a/conda_build/metadata.py +++ b/conda_build/metadata.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause from collections import OrderedDict import contextlib import copy diff --git a/conda_build/metapackage.py b/conda_build/metapackage.py index f5f4021ff1..4d6d781155 100644 --- a/conda_build/metapackage.py +++ b/conda_build/metapackage.py @@ -1,3 +1,6 @@ +# 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 from conda_build.metadata import MetaData diff --git a/conda_build/noarch_python.py b/conda_build/noarch_python.py index 4588a7e9f0..24bc5fba6f 100644 --- a/conda_build/noarch_python.py +++ b/conda_build/noarch_python.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import json import locale import logging diff --git a/conda_build/os_utils/__init__.py b/conda_build/os_utils/__init__.py index e69de29bb2..c1f4d069af 100644 --- a/conda_build/os_utils/__init__.py +++ b/conda_build/os_utils/__init__.py @@ -0,0 +1,3 @@ +# 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 b37d96ed8d..2daf3eaf53 100644 --- a/conda_build/os_utils/elf.py +++ b/conda_build/os_utils/elf.py @@ -1,3 +1,6 @@ +# 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 d050bd3308..37d888eee7 100644 --- a/conda_build/os_utils/external.py +++ b/conda_build/os_utils/external.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import os import stat import sys diff --git a/conda_build/os_utils/ldd.py b/conda_build/os_utils/ldd.py index 9e1e43e9ff..12155b781e 100644 --- a/conda_build/os_utils/ldd.py +++ b/conda_build/os_utils/ldd.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause from functools import lru_cache import sys import re diff --git a/conda_build/os_utils/liefldd.py b/conda_build/os_utils/liefldd.py index e5f94fc7d1..8b625b27d7 100644 --- a/conda_build/os_utils/liefldd.py +++ b/conda_build/os_utils/liefldd.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause try: from collections.abc import Hashable except ImportError: diff --git a/conda_build/os_utils/macho.py b/conda_build/os_utils/macho.py index 8e3b555703..e0ad752796 100644 --- a/conda_build/os_utils/macho.py +++ b/conda_build/os_utils/macho.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import re import stat import sys diff --git a/conda_build/os_utils/pyldd.py b/conda_build/os_utils/pyldd.py index 7f17354265..b10c896d1e 100644 --- a/conda_build/os_utils/pyldd.py +++ b/conda_build/os_utils/pyldd.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import argparse import glob import os diff --git a/conda_build/post.py b/conda_build/post.py index bd6efd6973..e439715cc5 100644 --- a/conda_build/post.py +++ b/conda_build/post.py @@ -1,3 +1,6 @@ +# 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 from functools import partial diff --git a/conda_build/render.py b/conda_build/render.py index d9b3d25b7d..6df859db12 100644 --- a/conda_build/render.py +++ b/conda_build/render.py @@ -1,3 +1,6 @@ +# 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 import json diff --git a/conda_build/skeletons/__init__.py b/conda_build/skeletons/__init__.py index e69de29bb2..c1f4d069af 100644 --- a/conda_build/skeletons/__init__.py +++ b/conda_build/skeletons/__init__.py @@ -0,0 +1,3 @@ +# 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 cfbca180ed..5099459862 100644 --- a/conda_build/skeletons/_example_skeleton.py +++ b/conda_build/skeletons/_example_skeleton.py @@ -1,3 +1,6 @@ +# 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. You can have structure beyond this, but this is a minimum of what conda-build will look for.""" diff --git a/conda_build/skeletons/cpan.py b/conda_build/skeletons/cpan.py index 291317ca1f..0bd4d93e31 100644 --- a/conda_build/skeletons/cpan.py +++ b/conda_build/skeletons/cpan.py @@ -1,3 +1,6 @@ +# 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 f32228e6d4..6989fdddd4 100755 --- a/conda_build/skeletons/cran.py +++ b/conda_build/skeletons/cran.py @@ -1,3 +1,6 @@ +# 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 2de9fe9ced..c1a14590a9 100644 --- a/conda_build/skeletons/luarocks.py +++ b/conda_build/skeletons/luarocks.py @@ -1,3 +1,6 @@ +# 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 7c8a9865a6..d08693ac3a 100644 --- a/conda_build/skeletons/pypi.py +++ b/conda_build/skeletons/pypi.py @@ -1,3 +1,6 @@ +# 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 101707ddfa..b8e54e3e47 100644 --- a/conda_build/skeletons/rpm.py +++ b/conda_build/skeletons/rpm.py @@ -1,3 +1,6 @@ +# 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 from conda_build.license_family import guess_license_family diff --git a/conda_build/source.py b/conda_build/source.py index fdbcfd818f..4fa026d899 100644 --- a/conda_build/source.py +++ b/conda_build/source.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import locale import os from os.path import join, isdir, isfile, abspath, basename, exists, normpath, expanduser diff --git a/conda_build/tarcheck.py b/conda_build/tarcheck.py index ac8ab53ce6..1385c14cd0 100644 --- a/conda_build/tarcheck.py +++ b/conda_build/tarcheck.py @@ -1,3 +1,6 @@ +# 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 import tarfile diff --git a/conda_build/utils.py b/conda_build/utils.py index 205c8beab9..45db44cdfc 100644 --- a/conda_build/utils.py +++ b/conda_build/utils.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause from collections import OrderedDict, defaultdict import contextlib import fnmatch diff --git a/conda_build/variants.py b/conda_build/variants.py index 83d929da26..abaf1bfa9e 100644 --- a/conda_build/variants.py +++ b/conda_build/variants.py @@ -1,3 +1,6 @@ +# 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 93aeb5f15e..7ec6a21de9 100644 --- a/conda_build/windows.py +++ b/conda_build/windows.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import os import pprint from os.path import isdir, join, dirname, isfile diff --git a/docs/scrape_help.py b/docs/scrape_help.py index 6966140650..437290c542 100755 --- a/docs/scrape_help.py +++ b/docs/scrape_help.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# 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 from os import makedirs, pathsep diff --git a/docs/source/conf.py b/docs/source/conf.py index fce8a04088..5cd6b50631 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -1,3 +1,6 @@ +# 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 62baa807eb..deceb3dc3a 100644 --- a/recipe/run_test.py +++ b/recipe/run_test.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import conda_build print('conda_build.__version__: %s' % conda_build.__version__) diff --git a/recipe/test_bdist_conda_setup.py b/recipe/test_bdist_conda_setup.py index ad03a5c4f4..df827a851d 100644 --- a/recipe/test_bdist_conda_setup.py +++ b/recipe/test_bdist_conda_setup.py @@ -1,3 +1,6 @@ +# 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 e8f1f825e4..8e554d8709 100755 --- a/setup.py +++ b/setup.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# 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 bbc39889bf..62a742b8bb 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,2 +1,5 @@ +# 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 d772bb7f7c..c9b25d71b6 100644 --- a/tests/bdist-recipe/bin/test-script-setup.py +++ b/tests/bdist-recipe/bin/test-script-setup.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# 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 72f453f625..558b3cf7b9 100644 --- a/tests/bdist-recipe/conda_build_test/__init__.py +++ b/tests/bdist-recipe/conda_build_test/__init__.py @@ -1,3 +1,6 @@ +# 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 e69de29bb2..c1f4d069af 100644 --- a/tests/bdist-recipe/conda_build_test/empty.py +++ b/tests/bdist-recipe/conda_build_test/empty.py @@ -0,0 +1,3 @@ +# 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 94b3ef13f6..1b61fe8c60 100644 --- a/tests/bdist-recipe/conda_build_test/manual_entry.py +++ b/tests/bdist-recipe/conda_build_test/manual_entry.py @@ -1,3 +1,6 @@ +# 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 a7fe8ef631..581f9f0204 100644 --- a/tests/bdist-recipe/setup.py +++ b/tests/bdist-recipe/setup.py @@ -1,3 +1,6 @@ +# 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 e69de29bb2..c1f4d069af 100644 --- a/tests/cli/__init__.py +++ b/tests/cli/__init__.py @@ -0,0 +1,3 @@ +# 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 f4ea744104..ce40f268ab 100644 --- a/tests/cli/test_main_debug.py +++ b/tests/cli/test_main_debug.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import io import os.path import sys diff --git a/tests/cli/test_validators.py b/tests/cli/test_validators.py index 020258a760..1e1f3e5a5c 100644 --- a/tests/cli/test_validators.py +++ b/tests/cli/test_validators.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import os from argparse import ArgumentError from typing import Union diff --git a/tests/conftest.py b/tests/conftest.py index eebe23fb2e..2a2b004161 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import os import sys from collections import defaultdict diff --git a/tests/gen_patch.py b/tests/gen_patch.py index 11cd4e172c..8d453967e2 100644 --- a/tests/gen_patch.py +++ b/tests/gen_patch.py @@ -1,3 +1,6 @@ +# 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): instructions = { diff --git a/tests/test_api_build.py b/tests/test_api_build.py index 743a2e52dd..b72aec98c2 100644 --- a/tests/test_api_build.py +++ b/tests/test_api_build.py @@ -1,3 +1,6 @@ +# 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 a6f9694e02..dd6d29e86c 100644 --- a/tests/test_api_build_conda_v2.py +++ b/tests/test_api_build_conda_v2.py @@ -1,3 +1,6 @@ +# 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_dll_package.py b/tests/test_api_build_dll_package.py index bef56db574..836b546439 100644 --- a/tests/test_api_build_dll_package.py +++ b/tests/test_api_build_dll_package.py @@ -1,3 +1,6 @@ +# 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 6f0371f6ad..e91d29346c 100644 --- a/tests/test_api_build_go_package.py +++ b/tests/test_api_build_go_package.py @@ -1,3 +1,6 @@ +# 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 720924605e..1a47f92967 100644 --- a/tests/test_api_consistency.py +++ b/tests/test_api_consistency.py @@ -1,3 +1,6 @@ +# 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 e7adfd811d..5d0c7dfd45 100644 --- a/tests/test_api_convert.py +++ b/tests/test_api_convert.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import csv import os import json diff --git a/tests/test_api_debug.py b/tests/test_api_debug.py index eac0a60388..86a0394dcf 100644 --- a/tests/test_api_debug.py +++ b/tests/test_api_debug.py @@ -1,3 +1,6 @@ +# 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 should go in test_render.py diff --git a/tests/test_api_inspect.py b/tests/test_api_inspect.py index 7a775a7170..f1a7c3ecc8 100644 --- a/tests/test_api_inspect.py +++ b/tests/test_api_inspect.py @@ -1,3 +1,6 @@ +# 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_render.py b/tests/test_api_render.py index 5a185574b9..15a80d93da 100644 --- a/tests/test_api_render.py +++ b/tests/test_api_render.py @@ -1,3 +1,6 @@ +# 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 should go in test_render.py diff --git a/tests/test_api_skeleton.py b/tests/test_api_skeleton.py index 2a762f98df..7a8f83542e 100644 --- a/tests/test_api_skeleton.py +++ b/tests/test_api_skeleton.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import fnmatch import os import subprocess diff --git a/tests/test_api_skeleton_cran.py b/tests/test_api_skeleton_cran.py index 1268ff6c78..b7f83b0c1d 100644 --- a/tests/test_api_skeleton_cran.py +++ b/tests/test_api_skeleton_cran.py @@ -1,3 +1,6 @@ +# 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 conda_build.api.skeletonize and check the output files diff --git a/tests/test_api_test.py b/tests/test_api_test.py index 22f7b789a4..36004484b5 100644 --- a/tests/test_api_test.py +++ b/tests/test_api_test.py @@ -1,3 +1,6 @@ +# 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 4aa5214ca7..10cf2819ee 100644 --- a/tests/test_api_update_index.py +++ b/tests/test_api_update_index.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import os from conda_build import api diff --git a/tests/test_build.py b/tests/test_build.py index 42fae2fd10..8ab2b6e9d6 100644 --- a/tests/test_build.py +++ b/tests/test_build.py @@ -1,3 +1,6 @@ +# 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, and is more unit-test oriented. diff --git a/tests/test_check.py b/tests/test_check.py index 10746a2cfb..b62e23961d 100644 --- a/tests/test_check.py +++ b/tests/test_check.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import os from conda_build import api diff --git a/tests/test_cli.py b/tests/test_cli.py index 72b99b7eb2..db4d9989dc 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -1,3 +1,6 @@ +# 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 # sure that the CLI still works. diff --git a/tests/test_conda_interface.py b/tests/test_conda_interface.py index f6d92cfe8a..0063541cae 100644 --- a/tests/test_conda_interface.py +++ b/tests/test_conda_interface.py @@ -1,3 +1,6 @@ +# 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 35c7b4d1f6..5c4ab3c3bb 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -1,3 +1,6 @@ +# 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 29317778ae..a2a751320b 100644 --- a/tests/test_cran_skeleton.py +++ b/tests/test_cran_skeleton.py @@ -1,3 +1,6 @@ +# 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 65e77b5e8e..f1e4e376a7 100644 --- a/tests/test_create_test.py +++ b/tests/test_create_test.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import os from conda_build import create_test as ct diff --git a/tests/test_develop.py b/tests/test_develop.py index 41b5bd876e..52839a6d81 100644 --- a/tests/test_develop.py +++ b/tests/test_develop.py @@ -1,3 +1,6 @@ +# 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 6076efa6f1..c7cdf9fdfe 100644 --- a/tests/test_environ.py +++ b/tests/test_environ.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import os from conda_build import environ diff --git a/tests/test_index.py b/tests/test_index.py index 5af4268052..9ea70a7942 100644 --- a/tests/test_index.py +++ b/tests/test_index.py @@ -1,3 +1,6 @@ +# 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 d8c61edfd0..ac569bbbd3 100644 --- a/tests/test_inspect.py +++ b/tests/test_inspect.py @@ -1,3 +1,6 @@ +# 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 9d2d8f4af9..207e0a7716 100644 --- a/tests/test_jinja_context.py +++ b/tests/test_jinja_context.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import pytest from conda_build import jinja_context diff --git a/tests/test_license_family.py b/tests/test_license_family.py index 7537fc82bc..c5b8442869 100644 --- a/tests/test_license_family.py +++ b/tests/test_license_family.py @@ -1,3 +1,6 @@ +# 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 00a0bb74d7..6daa23ae00 100644 --- a/tests/test_metadata.py +++ b/tests/test_metadata.py @@ -1,3 +1,6 @@ +# 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 4a95758916..b6f661ab35 100644 --- a/tests/test_misc.py +++ b/tests/test_misc.py @@ -1,3 +1,6 @@ +# 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 488e1ece10..5586e6a8fe 100644 --- a/tests/test_os_utils_external.py +++ b/tests/test_os_utils_external.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import sys import os import os.path diff --git a/tests/test_patch.py b/tests/test_patch.py index a330265011..7b68fe8a33 100644 --- a/tests/test_patch.py +++ b/tests/test_patch.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import os from textwrap import dedent from types import SimpleNamespace diff --git a/tests/test_post.py b/tests/test_post.py index 50d2e968a9..72205d4116 100644 --- a/tests/test_post.py +++ b/tests/test_post.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import os import shutil import sys diff --git a/tests/test_published_examples.py b/tests/test_published_examples.py index 2a8d7c3918..8146d5a28e 100644 --- a/tests/test_published_examples.py +++ b/tests/test_published_examples.py @@ -1,3 +1,6 @@ +# 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_pypi_skeleton.py b/tests/test_pypi_skeleton.py index 0cb2046099..a983d477a1 100644 --- a/tests/test_pypi_skeleton.py +++ b/tests/test_pypi_skeleton.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause from collections import OrderedDict from conda_build.skeletons import pypi diff --git a/tests/test_render.py b/tests/test_render.py index 31e13c7445..a8acf2023f 100644 --- a/tests/test_render.py +++ b/tests/test_render.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import os from conda_build import api diff --git a/tests/test_source.py b/tests/test_source.py index 9e8db6f4aa..6e9827a268 100644 --- a/tests/test_source.py +++ b/tests/test_source.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import os import subprocess import tarfile diff --git a/tests/test_subpackages.py b/tests/test_subpackages.py index 84749a14d1..3b3bd297bb 100644 --- a/tests/test_subpackages.py +++ b/tests/test_subpackages.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause from glob import glob import json import os diff --git a/tests/test_utils.py b/tests/test_utils.py index dfced0aa56..42d8f9d870 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import contextlib import filelock import os diff --git a/tests/test_variants.py b/tests/test_variants.py index db1430ba88..c41fd72e20 100644 --- a/tests/test_variants.py +++ b/tests/test_variants.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause from collections import OrderedDict import os import json diff --git a/tests/utils.py b/tests/utils.py index 722d27573e..349351f3f7 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: © 2012 Continuum Analytics, Inc. +# SPDX-FileCopyrightText: © 2017 Anaconda, Inc. +# SPDX-License-Identifier: BSD-3-Clause import contextlib import os import shlex