diff --git a/lib/spack/spack/__init__.py b/lib/spack/spack/__init__.py index 4f481ce93794a25290cbad0b19872b9215db9096..aab20cb26059bde6bb25379710e18a7ec47feb0a 100644 --- a/lib/spack/spack/__init__.py +++ b/lib/spack/spack/__init__.py @@ -43,7 +43,7 @@ hooks_path = join_path(module_path, "hooks") var_path = join_path(spack_root, "var", "spack") stage_path = join_path(var_path, "stage") -packages_path = join_path(var_path, "packages") +repos_path = join_path(var_path, "repos") share_path = join_path(spack_root, "share", "spack") prefix = spack_root @@ -58,8 +58,12 @@ _repo_paths = spack.config.get_repos_config() if not _repo_paths: tty.die("Spack configuration contains no package repositories.") -repo = spack.repository.RepoPath(*_repo_paths) -sys.meta_path.append(repo) + +try: + repo = spack.repository.RepoPath(*_repo_paths) + sys.meta_path.append(repo) +except spack.repository.BadRepoError, e: + tty.die('Bad repository. %s' % e.message) # # Set up the installed packages database @@ -68,9 +72,10 @@ installed_db = Database(install_path) # -# Paths to mock files for testing. +# Paths to built-in Spack repositories. # -mock_packages_path = join_path(var_path, "mock_packages") +packages_path = join_path(repos_path, "builtin") +mock_packages_path = join_path(repos_path, "builtin.mock") mock_config_path = join_path(var_path, "mock_configs") mock_site_config = join_path(mock_config_path, "site_spackconfig") diff --git a/lib/spack/spack/cmd/repo.py b/lib/spack/spack/cmd/repo.py index 85cc83730c4a949f0fec3d65b4d9271f082b51a2..395aa90bedf8d35e7f63a7bbc1b3278dbd82902b 100644 --- a/lib/spack/spack/cmd/repo.py +++ b/lib/spack/spack/cmd/repo.py @@ -32,7 +32,7 @@ import spack.spec import spack.config from spack.util.environment import get_path -from spack.repository import repo_config_filename +from spack.repository import repo_config_name import os import exceptions diff --git a/lib/spack/spack/repository.py b/lib/spack/spack/repository.py index c1545b365473569615ef891c6d6ad3f6fce58eaf..a2c0bbe147867dc0b174f618f7fc246947d77b23 100644 --- a/lib/spack/spack/repository.py +++ b/lib/spack/spack/repository.py @@ -26,28 +26,32 @@ import exceptions import sys import inspect -import glob import imp import re -import itertools import traceback from bisect import bisect_left from external import yaml import llnl.util.tty as tty from llnl.util.filesystem import join_path -from llnl.util.lang import * import spack.error import spack.spec from spack.virtual import ProviderIndex from spack.util.naming import * -# Filename for package repo names -repo_config_filename = '_repo.yaml' +# +# Super-namespace for all packages. +# Package modules are imported as spack.pkg.<namespace>.<pkg-name>. +# +repo_namespace = 'spack.pkg' -# Filename for packages in repos. -package_file_name = 'package.py' +# +# These names describe how repos should be laid out in the filesystem. +# +repo_config_name = 'repo.yaml' # Top-level filename for repo config. +packages_dir_name = 'packages' # Top-level repo directory containing pkgs. +package_file_name = 'package.py' # Filename for packages in a repository. def _autospec(function): """Decorator that automatically converts the argument of a single-arg @@ -74,7 +78,10 @@ class RepoPath(object): combined results of the Repos in its list instead of on a single package repository. """ - def __init__(self, *repo_dirs): + def __init__(self, *repo_dirs, **kwargs): + # super-namespace for all packages in the RepoPath + self.super_namespace = kwargs.get('namespace', repo_namespace) + self.repos = [] self.by_namespace = NamespaceTrie() self.by_path = {} @@ -82,11 +89,9 @@ def __init__(self, *repo_dirs): self._all_package_names = [] self._provider_index = None + # Add each repo to this path. for root in repo_dirs: - # Try to make it a repo if it's not one. - if not isinstance(root, Repo): - repo = Repo(root) - # Add the repo to the path. + repo = Repo(root, self.super_namespace) self.put_last(repo) @@ -120,11 +125,11 @@ def _add(self, repo): repo, self.by_path[repo.root]) if repo.namespace in self.by_namespace: - raise DuplicateRepoError("Package repos cannot have the same name", + raise DuplicateRepoError("Package repos cannot provide the same namespace", repo, self.by_namespace[repo.namespace]) # Add repo to the pkg indexes - self.by_namespace[repo.namespace] = repo + self.by_namespace[repo.full_namespace] = repo self.by_path[repo.root] = repo # add names to the cached name list @@ -185,10 +190,10 @@ def find_module(self, fullname, path=None): # If it's a module in some repo, or if it is the repo's # namespace, let the repo handle it. for repo in self.repos: - if namespace == repo.namespace: + if namespace == repo.full_namespace: if repo.real_name(module_name): return repo - elif fullname == repo.namespace: + elif fullname == repo.full_namespace: return repo # No repo provides the namespace, but it is a valid prefix of @@ -200,13 +205,14 @@ def find_module(self, fullname, path=None): def load_module(self, fullname): - """Loads containing namespaces when necessary. + """Handles loading container namespaces when necessary. See ``Repo`` for how actual package modules are loaded. """ if fullname in sys.modules: return sys.modules[fullname] + # partition fullname into prefix and module name. namespace, dot, module_name = fullname.rpartition('.') @@ -252,41 +258,67 @@ class Repo(object): """Class representing a package repository in the filesystem. Each package repository must have a top-level configuration file - called `_repo.yaml`. + called `repo.yaml`. - Currently, `_repo.yaml` this must define: + Currently, `repo.yaml` this must define: `namespace`: A Python namespace where the repository's packages should live. """ - def __init__(self, root): - """Instantiate a package repository from a filesystem path.""" + def __init__(self, root, namespace=repo_namespace): + """Instantiate a package repository from a filesystem path. + + Arguments: + root The root directory of the repository. + + namespace A super-namespace that will contain the repo-defined + namespace (this is generally jsut `spack.pkg`). The + super-namespace is Spack's way of separating repositories + from other python namespaces. + + """ # Root directory, containing _repo.yaml and package dirs self.root = root - # Config file in <self.root>/_repo.yaml - self.config_file = os.path.join(self.root, repo_config_filename) + # super-namespace for all packages in the Repo + self.super_namespace = namespace - # Read configuration from _repo.yaml + # check and raise BadRepoError on fail. + def check(condition, msg): + if not condition: raise BadRepoError(msg) + + # Validate repository layout. + self.config_file = join_path(self.root, repo_config_name) + check(os.path.isfile(self.config_file), + "No %s found in '%s'" % (repo_config_name, root)) + self.packages_path = join_path(self.root, packages_dir_name) + check(os.path.isdir(self.packages_path), + "No directory '%s' found in '%s'" % (repo_config_name, root)) + + # Read configuration and validate namespace config = self._read_config() - if not 'namespace' in config: - tty.die('Package repo in %s must define a namespace in %s.' - % (self.root, repo_config_filename)) + check('namespace' in config, '%s must define a namespace.' + % join_path(self.root, repo_config_name)) - # Check namespace in the repository configuration. self.namespace = config['namespace'] - if not re.match(r'[a-zA-Z][a-zA-Z0-9_.]+', self.namespace): - tty.die(("Invalid namespace '%s' in '%s'. Namespaces must be " - "valid python identifiers separated by '.'") - % (self.namespace, self.root)) - self._names = self.namespace.split('.') + check(re.match(r'[a-zA-Z][a-zA-Z0-9_.]+', self.namespace), + ("Invalid namespace '%s' in repo '%s'. " % (self.namespace, self.root)) + + "Namespaces must be valid python identifiers separated by '.'") + + # Set up 'full_namespace' to include the super-namespace + if self.super_namespace: + self.full_namespace = "%s.%s" % (self.super_namespace, self.namespace) + else: + self.full_namespace = self.namespace + + # Keep name components around for checking prefixes. + self._names = self.full_namespace.split('.') # These are internal cache variables. self._modules = {} self._classes = {} self._instances = {} - self._provider_index = None self._all_package_names = None @@ -301,11 +333,27 @@ def _create_namespace(self): we don't get runtime warnings from Python's module system. """ + parent = None for l in range(1, len(self._names)+1): ns = '.'.join(self._names[:l]) if not ns in sys.modules: - sys.modules[ns] = _make_namespace_module(ns) - sys.modules[ns].__loader__ = self + module = _make_namespace_module(ns) + module.__loader__ = self + sys.modules[ns] = module + + # Ensure the namespace is an atrribute of its parent, + # if it has not been set by something else already. + # + # This ensures that we can do things like: + # import spack.pkg.builtin.mpich as mpich + if parent: + modname = self._names[l-1] + if not hasattr(parent, modname): + setattr(parent, modname, module) + else: + # no need to set up a module, but keep track of the parent. + module = sys.modules[ns] + parent = module def real_name(self, import_name): @@ -349,7 +397,7 @@ def find_module(self, fullname, path=None): return self namespace, dot, module_name = fullname.rpartition('.') - if namespace == self.namespace: + if namespace == self.full_namespace: if self.real_name(module_name): return self @@ -369,14 +417,14 @@ def load_module(self, fullname): if self.is_prefix(fullname): module = _make_namespace_module(fullname) - elif namespace == self.namespace: + elif namespace == self.full_namespace: real_name = self.real_name(module_name) if not real_name: - raise ImportError("No module %s in repo %s" % (module_name, namespace)) + raise ImportError("No module %s in %s" % (module_name, self)) module = self._get_pkg_module(real_name) else: - raise ImportError("No module %s in repo %s" % (fullname, self.namespace)) + raise ImportError("No module %s in %s" % (fullname, self)) module.__loader__ = self sys.modules[fullname] = module @@ -392,7 +440,7 @@ def _read_config(self): if (not yaml_data or 'repo' not in yaml_data or not isinstance(yaml_data['repo'], dict)): tty.die("Invalid %s in repository %s" - % (repo_config_filename, self.root)) + % (repo_config_name, self.root)) return yaml_data['repo'] @@ -446,7 +494,7 @@ def extensions_for(self, extendee_spec): def dirname_for_package_name(self, pkg_name): """Get the directory name for a particular package. This is the directory that contains its package.py file.""" - return join_path(self.root, pkg_name) + return join_path(self.packages_path, pkg_name) def filename_for_package_name(self, pkg_name): @@ -460,7 +508,6 @@ def filename_for_package_name(self, pkg_name): """ validate_module_name(pkg_name) pkg_dir = self.dirname_for_package_name(pkg_name) - return join_path(pkg_dir, package_file_name) @@ -469,12 +516,25 @@ def all_package_names(self): if self._all_package_names is None: self._all_package_names = [] - for pkg_name in os.listdir(self.root): - pkg_dir = join_path(self.root, pkg_name) - pkg_file = join_path(pkg_dir, package_file_name) - if os.path.isfile(pkg_file): - self._all_package_names.append(pkg_name) - + for pkg_name in os.listdir(self.packages_path): + # Skip non-directories in the package root. + pkg_dir = join_path(self.packages_path, pkg_name) + if not os.path.isdir(pkg_dir): + continue + + # Skip directories without a package.py in them. + pkg_file = join_path(self.packages_path, pkg_name, package_file_name) + if not os.path.isfile(pkg_file): + continue + + # Warn about invalid names that look like packages. + if not valid_module_name(pkg_name): + tty.warn("Skipping package at %s. '%s' is not a valid Spack module name." + % (pkg_dir, pkg_name)) + continue + + # All checks passed. Add it to the list. + self._all_package_names.append(pkg_name) self._all_package_names.sort() return self._all_package_names @@ -489,7 +549,8 @@ def exists(self, pkg_name): """Whether a package with the supplied name exists.""" # This does a binary search in the sorted list. idx = bisect_left(self.all_package_names(), pkg_name) - return self._all_package_names[idx] == pkg_name + return (idx < len(self._all_package_names) and + self._all_package_names[idx] == pkg_name) def _get_pkg_module(self, pkg_name): @@ -505,7 +566,7 @@ def _get_pkg_module(self, pkg_name): file_path = self.filename_for_package_name(pkg_name) if not os.path.exists(file_path): - raise UnknownPackageError(pkg_name, self.namespace) + raise UnknownPackageError(pkg_name, self) if not os.path.isfile(file_path): tty.die("Something's wrong. '%s' is not a file!" % file_path) @@ -513,10 +574,11 @@ def _get_pkg_module(self, pkg_name): if not os.access(file_path, os.R_OK): tty.die("Cannot read '%s'!" % file_path) - fullname = "%s.%s" % (self.namespace, pkg_name) + # e.g., spack.pkg.builtin.mpich + fullname = "%s.%s" % (self.full_namespace, pkg_name) module = imp.load_source(fullname, file_path) - module.__package__ = self.namespace + module.__package__ = self.full_namespace module.__loader__ = self self._modules[pkg_name] = module @@ -541,7 +603,7 @@ def _get_pkg_class(self, pkg_name): def __str__(self): - return "<Repo '%s' from '%s'>" % (self.namespace, self.root) + return "[Repo '%s' at '%s']" % (self.namespace, self.root) def __repr__(self): @@ -597,12 +659,18 @@ def installed_known_package_specs(self): yield spec +class BadRepoError(spack.error.SpackError): + """Raised when repo layout is invalid.""" + def __init__(self, msg): + super(BadRepoError, self).__init__(msg) + + class UnknownPackageError(spack.error.SpackError): """Raised when we encounter a package spack doesn't have.""" def __init__(self, name, repo=None): msg = None if repo: - msg = "Package %s not found in packagerepo %s." % (name, repo) + msg = "Package %s not found in repository %s." % (name, repo) else: msg = "Package %s not found." % name super(UnknownPackageError, self).__init__(msg) diff --git a/var/spack/mock_packages/_repo.yaml b/var/spack/mock_packages/_repo.yaml deleted file mode 100644 index b97b978de3a55edbcc440a5f7b28554cfecbac6e..0000000000000000000000000000000000000000 --- a/var/spack/mock_packages/_repo.yaml +++ /dev/null @@ -1,2 +0,0 @@ -repo: - namespace: gov.llnl.spack.mock diff --git a/var/spack/packages/_repo.yaml b/var/spack/packages/_repo.yaml deleted file mode 100644 index 4a371e1cad40ce88f8a7a78e042c16caa3a9193c..0000000000000000000000000000000000000000 --- a/var/spack/packages/_repo.yaml +++ /dev/null @@ -1,2 +0,0 @@ -repo: - namespace: gov.llnl.spack diff --git a/var/spack/mock_packages/a/package.py b/var/spack/repos/builtin.mock/packages/a/package.py similarity index 100% rename from var/spack/mock_packages/a/package.py rename to var/spack/repos/builtin.mock/packages/a/package.py diff --git a/var/spack/mock_packages/b/package.py b/var/spack/repos/builtin.mock/packages/b/package.py similarity index 100% rename from var/spack/mock_packages/b/package.py rename to var/spack/repos/builtin.mock/packages/b/package.py diff --git a/var/spack/mock_packages/c/package.py b/var/spack/repos/builtin.mock/packages/c/package.py similarity index 100% rename from var/spack/mock_packages/c/package.py rename to var/spack/repos/builtin.mock/packages/c/package.py diff --git a/var/spack/mock_packages/callpath/package.py b/var/spack/repos/builtin.mock/packages/callpath/package.py similarity index 100% rename from var/spack/mock_packages/callpath/package.py rename to var/spack/repos/builtin.mock/packages/callpath/package.py diff --git a/var/spack/mock_packages/direct_mpich/package.py b/var/spack/repos/builtin.mock/packages/direct_mpich/package.py similarity index 100% rename from var/spack/mock_packages/direct_mpich/package.py rename to var/spack/repos/builtin.mock/packages/direct_mpich/package.py diff --git a/var/spack/mock_packages/dyninst/package.py b/var/spack/repos/builtin.mock/packages/dyninst/package.py similarity index 100% rename from var/spack/mock_packages/dyninst/package.py rename to var/spack/repos/builtin.mock/packages/dyninst/package.py diff --git a/var/spack/mock_packages/e/package.py b/var/spack/repos/builtin.mock/packages/e/package.py similarity index 100% rename from var/spack/mock_packages/e/package.py rename to var/spack/repos/builtin.mock/packages/e/package.py diff --git a/var/spack/mock_packages/fake/package.py b/var/spack/repos/builtin.mock/packages/fake/package.py similarity index 100% rename from var/spack/mock_packages/fake/package.py rename to var/spack/repos/builtin.mock/packages/fake/package.py diff --git a/var/spack/mock_packages/git-test/package.py b/var/spack/repos/builtin.mock/packages/git-test/package.py similarity index 100% rename from var/spack/mock_packages/git-test/package.py rename to var/spack/repos/builtin.mock/packages/git-test/package.py diff --git a/var/spack/mock_packages/hg-test/package.py b/var/spack/repos/builtin.mock/packages/hg-test/package.py similarity index 100% rename from var/spack/mock_packages/hg-test/package.py rename to var/spack/repos/builtin.mock/packages/hg-test/package.py diff --git a/var/spack/mock_packages/indirect_mpich/package.py b/var/spack/repos/builtin.mock/packages/indirect_mpich/package.py similarity index 100% rename from var/spack/mock_packages/indirect_mpich/package.py rename to var/spack/repos/builtin.mock/packages/indirect_mpich/package.py diff --git a/var/spack/mock_packages/libdwarf/package.py b/var/spack/repos/builtin.mock/packages/libdwarf/package.py similarity index 100% rename from var/spack/mock_packages/libdwarf/package.py rename to var/spack/repos/builtin.mock/packages/libdwarf/package.py diff --git a/var/spack/mock_packages/libelf/package.py b/var/spack/repos/builtin.mock/packages/libelf/package.py similarity index 100% rename from var/spack/mock_packages/libelf/package.py rename to var/spack/repos/builtin.mock/packages/libelf/package.py diff --git a/var/spack/mock_packages/mpich/package.py b/var/spack/repos/builtin.mock/packages/mpich/package.py similarity index 100% rename from var/spack/mock_packages/mpich/package.py rename to var/spack/repos/builtin.mock/packages/mpich/package.py diff --git a/var/spack/mock_packages/mpich2/package.py b/var/spack/repos/builtin.mock/packages/mpich2/package.py similarity index 100% rename from var/spack/mock_packages/mpich2/package.py rename to var/spack/repos/builtin.mock/packages/mpich2/package.py diff --git a/var/spack/mock_packages/mpileaks/package.py b/var/spack/repos/builtin.mock/packages/mpileaks/package.py similarity index 100% rename from var/spack/mock_packages/mpileaks/package.py rename to var/spack/repos/builtin.mock/packages/mpileaks/package.py diff --git a/var/spack/mock_packages/multimethod/package.py b/var/spack/repos/builtin.mock/packages/multimethod/package.py similarity index 100% rename from var/spack/mock_packages/multimethod/package.py rename to var/spack/repos/builtin.mock/packages/multimethod/package.py diff --git a/var/spack/mock_packages/optional-dep-test-2/package.py b/var/spack/repos/builtin.mock/packages/optional-dep-test-2/package.py similarity index 100% rename from var/spack/mock_packages/optional-dep-test-2/package.py rename to var/spack/repos/builtin.mock/packages/optional-dep-test-2/package.py diff --git a/var/spack/mock_packages/optional-dep-test-3/package.py b/var/spack/repos/builtin.mock/packages/optional-dep-test-3/package.py similarity index 100% rename from var/spack/mock_packages/optional-dep-test-3/package.py rename to var/spack/repos/builtin.mock/packages/optional-dep-test-3/package.py diff --git a/var/spack/mock_packages/optional-dep-test/package.py b/var/spack/repos/builtin.mock/packages/optional-dep-test/package.py similarity index 100% rename from var/spack/mock_packages/optional-dep-test/package.py rename to var/spack/repos/builtin.mock/packages/optional-dep-test/package.py diff --git a/var/spack/mock_packages/svn-test/package.py b/var/spack/repos/builtin.mock/packages/svn-test/package.py similarity index 100% rename from var/spack/mock_packages/svn-test/package.py rename to var/spack/repos/builtin.mock/packages/svn-test/package.py diff --git a/var/spack/mock_packages/trivial_install_test_package/package.py b/var/spack/repos/builtin.mock/packages/trivial_install_test_package/package.py similarity index 100% rename from var/spack/mock_packages/trivial_install_test_package/package.py rename to var/spack/repos/builtin.mock/packages/trivial_install_test_package/package.py diff --git a/var/spack/mock_packages/zmpi/package.py b/var/spack/repos/builtin.mock/packages/zmpi/package.py similarity index 100% rename from var/spack/mock_packages/zmpi/package.py rename to var/spack/repos/builtin.mock/packages/zmpi/package.py diff --git a/var/spack/repos/builtin.mock/repo.yaml b/var/spack/repos/builtin.mock/repo.yaml new file mode 100644 index 0000000000000000000000000000000000000000..30b068da13d7f2bdb315300139cd5172868b199e --- /dev/null +++ b/var/spack/repos/builtin.mock/repo.yaml @@ -0,0 +1,2 @@ +repo: + namespace: builtin.mock diff --git a/var/spack/packages/ImageMagick/package.py b/var/spack/repos/builtin/packages/ImageMagick/package.py similarity index 100% rename from var/spack/packages/ImageMagick/package.py rename to var/spack/repos/builtin/packages/ImageMagick/package.py diff --git a/var/spack/packages/Mitos/package.py b/var/spack/repos/builtin/packages/Mitos/package.py similarity index 100% rename from var/spack/packages/Mitos/package.py rename to var/spack/repos/builtin/packages/Mitos/package.py diff --git a/var/spack/packages/R/package.py b/var/spack/repos/builtin/packages/R/package.py similarity index 100% rename from var/spack/packages/R/package.py rename to var/spack/repos/builtin/packages/R/package.py diff --git a/var/spack/packages/SAMRAI/no-tool-build.patch b/var/spack/repos/builtin/packages/SAMRAI/no-tool-build.patch similarity index 100% rename from var/spack/packages/SAMRAI/no-tool-build.patch rename to var/spack/repos/builtin/packages/SAMRAI/no-tool-build.patch diff --git a/var/spack/packages/SAMRAI/package.py b/var/spack/repos/builtin/packages/SAMRAI/package.py similarity index 100% rename from var/spack/packages/SAMRAI/package.py rename to var/spack/repos/builtin/packages/SAMRAI/package.py diff --git a/var/spack/packages/activeharmony/package.py b/var/spack/repos/builtin/packages/activeharmony/package.py similarity index 100% rename from var/spack/packages/activeharmony/package.py rename to var/spack/repos/builtin/packages/activeharmony/package.py diff --git a/var/spack/packages/adept-utils/package.py b/var/spack/repos/builtin/packages/adept-utils/package.py similarity index 100% rename from var/spack/packages/adept-utils/package.py rename to var/spack/repos/builtin/packages/adept-utils/package.py diff --git a/var/spack/packages/apex/package.py b/var/spack/repos/builtin/packages/apex/package.py similarity index 100% rename from var/spack/packages/apex/package.py rename to var/spack/repos/builtin/packages/apex/package.py diff --git a/var/spack/packages/arpack/package.py b/var/spack/repos/builtin/packages/arpack/package.py similarity index 100% rename from var/spack/packages/arpack/package.py rename to var/spack/repos/builtin/packages/arpack/package.py diff --git a/var/spack/packages/asciidoc/package.py b/var/spack/repos/builtin/packages/asciidoc/package.py similarity index 100% rename from var/spack/packages/asciidoc/package.py rename to var/spack/repos/builtin/packages/asciidoc/package.py diff --git a/var/spack/packages/atk/package.py b/var/spack/repos/builtin/packages/atk/package.py similarity index 100% rename from var/spack/packages/atk/package.py rename to var/spack/repos/builtin/packages/atk/package.py diff --git a/var/spack/packages/atlas/package.py b/var/spack/repos/builtin/packages/atlas/package.py similarity index 100% rename from var/spack/packages/atlas/package.py rename to var/spack/repos/builtin/packages/atlas/package.py diff --git a/var/spack/packages/autoconf/package.py b/var/spack/repos/builtin/packages/autoconf/package.py similarity index 100% rename from var/spack/packages/autoconf/package.py rename to var/spack/repos/builtin/packages/autoconf/package.py diff --git a/var/spack/packages/automaded/package.py b/var/spack/repos/builtin/packages/automaded/package.py similarity index 100% rename from var/spack/packages/automaded/package.py rename to var/spack/repos/builtin/packages/automaded/package.py diff --git a/var/spack/packages/automake/package.py b/var/spack/repos/builtin/packages/automake/package.py similarity index 100% rename from var/spack/packages/automake/package.py rename to var/spack/repos/builtin/packages/automake/package.py diff --git a/var/spack/packages/bear/package.py b/var/spack/repos/builtin/packages/bear/package.py similarity index 100% rename from var/spack/packages/bear/package.py rename to var/spack/repos/builtin/packages/bear/package.py diff --git a/var/spack/packages/bib2xhtml/package.py b/var/spack/repos/builtin/packages/bib2xhtml/package.py similarity index 100% rename from var/spack/packages/bib2xhtml/package.py rename to var/spack/repos/builtin/packages/bib2xhtml/package.py diff --git a/var/spack/packages/binutils/package.py b/var/spack/repos/builtin/packages/binutils/package.py similarity index 100% rename from var/spack/packages/binutils/package.py rename to var/spack/repos/builtin/packages/binutils/package.py diff --git a/var/spack/packages/bison/package.py b/var/spack/repos/builtin/packages/bison/package.py similarity index 100% rename from var/spack/packages/bison/package.py rename to var/spack/repos/builtin/packages/bison/package.py diff --git a/var/spack/packages/boost/package.py b/var/spack/repos/builtin/packages/boost/package.py similarity index 100% rename from var/spack/packages/boost/package.py rename to var/spack/repos/builtin/packages/boost/package.py diff --git a/var/spack/packages/bowtie2/bowtie2-2.5.patch b/var/spack/repos/builtin/packages/bowtie2/bowtie2-2.5.patch similarity index 100% rename from var/spack/packages/bowtie2/bowtie2-2.5.patch rename to var/spack/repos/builtin/packages/bowtie2/bowtie2-2.5.patch diff --git a/var/spack/packages/bowtie2/package.py b/var/spack/repos/builtin/packages/bowtie2/package.py similarity index 100% rename from var/spack/packages/bowtie2/package.py rename to var/spack/repos/builtin/packages/bowtie2/package.py diff --git a/var/spack/packages/boxlib/package.py b/var/spack/repos/builtin/packages/boxlib/package.py similarity index 100% rename from var/spack/packages/boxlib/package.py rename to var/spack/repos/builtin/packages/boxlib/package.py diff --git a/var/spack/packages/bzip2/package.py b/var/spack/repos/builtin/packages/bzip2/package.py similarity index 100% rename from var/spack/packages/bzip2/package.py rename to var/spack/repos/builtin/packages/bzip2/package.py diff --git a/var/spack/packages/cairo/package.py b/var/spack/repos/builtin/packages/cairo/package.py similarity index 100% rename from var/spack/packages/cairo/package.py rename to var/spack/repos/builtin/packages/cairo/package.py diff --git a/var/spack/packages/callpath/package.py b/var/spack/repos/builtin/packages/callpath/package.py similarity index 100% rename from var/spack/packages/callpath/package.py rename to var/spack/repos/builtin/packages/callpath/package.py diff --git a/var/spack/packages/cblas/package.py b/var/spack/repos/builtin/packages/cblas/package.py similarity index 100% rename from var/spack/packages/cblas/package.py rename to var/spack/repos/builtin/packages/cblas/package.py diff --git a/var/spack/packages/cgm/package.py b/var/spack/repos/builtin/packages/cgm/package.py similarity index 100% rename from var/spack/packages/cgm/package.py rename to var/spack/repos/builtin/packages/cgm/package.py diff --git a/var/spack/packages/clang/package.py b/var/spack/repos/builtin/packages/clang/package.py similarity index 100% rename from var/spack/packages/clang/package.py rename to var/spack/repos/builtin/packages/clang/package.py diff --git a/var/spack/packages/cloog/package.py b/var/spack/repos/builtin/packages/cloog/package.py similarity index 100% rename from var/spack/packages/cloog/package.py rename to var/spack/repos/builtin/packages/cloog/package.py diff --git a/var/spack/packages/cmake/package.py b/var/spack/repos/builtin/packages/cmake/package.py similarity index 100% rename from var/spack/packages/cmake/package.py rename to var/spack/repos/builtin/packages/cmake/package.py diff --git a/var/spack/packages/coreutils/package.py b/var/spack/repos/builtin/packages/coreutils/package.py similarity index 100% rename from var/spack/packages/coreutils/package.py rename to var/spack/repos/builtin/packages/coreutils/package.py diff --git a/var/spack/packages/cppcheck/package.py b/var/spack/repos/builtin/packages/cppcheck/package.py similarity index 100% rename from var/spack/packages/cppcheck/package.py rename to var/spack/repos/builtin/packages/cppcheck/package.py diff --git a/var/spack/packages/cram/package.py b/var/spack/repos/builtin/packages/cram/package.py similarity index 100% rename from var/spack/packages/cram/package.py rename to var/spack/repos/builtin/packages/cram/package.py diff --git a/var/spack/packages/cscope/package.py b/var/spack/repos/builtin/packages/cscope/package.py similarity index 100% rename from var/spack/packages/cscope/package.py rename to var/spack/repos/builtin/packages/cscope/package.py diff --git a/var/spack/packages/cube/package.py b/var/spack/repos/builtin/packages/cube/package.py similarity index 100% rename from var/spack/packages/cube/package.py rename to var/spack/repos/builtin/packages/cube/package.py diff --git a/var/spack/packages/czmq/package.py b/var/spack/repos/builtin/packages/czmq/package.py similarity index 100% rename from var/spack/packages/czmq/package.py rename to var/spack/repos/builtin/packages/czmq/package.py diff --git a/var/spack/packages/dbus/package.py b/var/spack/repos/builtin/packages/dbus/package.py similarity index 100% rename from var/spack/packages/dbus/package.py rename to var/spack/repos/builtin/packages/dbus/package.py diff --git a/var/spack/packages/docbook-xml/package.py b/var/spack/repos/builtin/packages/docbook-xml/package.py similarity index 100% rename from var/spack/packages/docbook-xml/package.py rename to var/spack/repos/builtin/packages/docbook-xml/package.py diff --git a/var/spack/packages/doxygen/package.py b/var/spack/repos/builtin/packages/doxygen/package.py similarity index 100% rename from var/spack/packages/doxygen/package.py rename to var/spack/repos/builtin/packages/doxygen/package.py diff --git a/var/spack/packages/dri2proto/package.py b/var/spack/repos/builtin/packages/dri2proto/package.py similarity index 100% rename from var/spack/packages/dri2proto/package.py rename to var/spack/repos/builtin/packages/dri2proto/package.py diff --git a/var/spack/packages/dtcmp/package.py b/var/spack/repos/builtin/packages/dtcmp/package.py similarity index 100% rename from var/spack/packages/dtcmp/package.py rename to var/spack/repos/builtin/packages/dtcmp/package.py diff --git a/var/spack/packages/dyninst/package.py b/var/spack/repos/builtin/packages/dyninst/package.py similarity index 100% rename from var/spack/packages/dyninst/package.py rename to var/spack/repos/builtin/packages/dyninst/package.py diff --git a/var/spack/packages/elfutils/package.py b/var/spack/repos/builtin/packages/elfutils/package.py similarity index 100% rename from var/spack/packages/elfutils/package.py rename to var/spack/repos/builtin/packages/elfutils/package.py diff --git a/var/spack/packages/extrae/package.py b/var/spack/repos/builtin/packages/extrae/package.py similarity index 100% rename from var/spack/packages/extrae/package.py rename to var/spack/repos/builtin/packages/extrae/package.py diff --git a/var/spack/packages/exuberant-ctags/package.py b/var/spack/repos/builtin/packages/exuberant-ctags/package.py similarity index 100% rename from var/spack/packages/exuberant-ctags/package.py rename to var/spack/repos/builtin/packages/exuberant-ctags/package.py diff --git a/var/spack/packages/fish/package.py b/var/spack/repos/builtin/packages/fish/package.py similarity index 100% rename from var/spack/packages/fish/package.py rename to var/spack/repos/builtin/packages/fish/package.py diff --git a/var/spack/packages/flex/package.py b/var/spack/repos/builtin/packages/flex/package.py similarity index 100% rename from var/spack/packages/flex/package.py rename to var/spack/repos/builtin/packages/flex/package.py diff --git a/var/spack/packages/flux/package.py b/var/spack/repos/builtin/packages/flux/package.py similarity index 100% rename from var/spack/packages/flux/package.py rename to var/spack/repos/builtin/packages/flux/package.py diff --git a/var/spack/packages/fontconfig/package.py b/var/spack/repos/builtin/packages/fontconfig/package.py similarity index 100% rename from var/spack/packages/fontconfig/package.py rename to var/spack/repos/builtin/packages/fontconfig/package.py diff --git a/var/spack/packages/freetype/package.py b/var/spack/repos/builtin/packages/freetype/package.py similarity index 100% rename from var/spack/packages/freetype/package.py rename to var/spack/repos/builtin/packages/freetype/package.py diff --git a/var/spack/packages/gasnet/package.py b/var/spack/repos/builtin/packages/gasnet/package.py similarity index 100% rename from var/spack/packages/gasnet/package.py rename to var/spack/repos/builtin/packages/gasnet/package.py diff --git a/var/spack/packages/gcc/package.py b/var/spack/repos/builtin/packages/gcc/package.py similarity index 100% rename from var/spack/packages/gcc/package.py rename to var/spack/repos/builtin/packages/gcc/package.py diff --git a/var/spack/packages/gdk-pixbuf/package.py b/var/spack/repos/builtin/packages/gdk-pixbuf/package.py similarity index 100% rename from var/spack/packages/gdk-pixbuf/package.py rename to var/spack/repos/builtin/packages/gdk-pixbuf/package.py diff --git a/var/spack/packages/geos/package.py b/var/spack/repos/builtin/packages/geos/package.py similarity index 100% rename from var/spack/packages/geos/package.py rename to var/spack/repos/builtin/packages/geos/package.py diff --git a/var/spack/packages/gflags/package.py b/var/spack/repos/builtin/packages/gflags/package.py similarity index 100% rename from var/spack/packages/gflags/package.py rename to var/spack/repos/builtin/packages/gflags/package.py diff --git a/var/spack/packages/ghostscript/package.py b/var/spack/repos/builtin/packages/ghostscript/package.py similarity index 100% rename from var/spack/packages/ghostscript/package.py rename to var/spack/repos/builtin/packages/ghostscript/package.py diff --git a/var/spack/packages/git/package.py b/var/spack/repos/builtin/packages/git/package.py similarity index 100% rename from var/spack/packages/git/package.py rename to var/spack/repos/builtin/packages/git/package.py diff --git a/var/spack/packages/glib/package.py b/var/spack/repos/builtin/packages/glib/package.py similarity index 100% rename from var/spack/packages/glib/package.py rename to var/spack/repos/builtin/packages/glib/package.py diff --git a/var/spack/packages/glm/package.py b/var/spack/repos/builtin/packages/glm/package.py similarity index 100% rename from var/spack/packages/glm/package.py rename to var/spack/repos/builtin/packages/glm/package.py diff --git a/var/spack/packages/global/package.py b/var/spack/repos/builtin/packages/global/package.py similarity index 100% rename from var/spack/packages/global/package.py rename to var/spack/repos/builtin/packages/global/package.py diff --git a/var/spack/packages/glog/package.py b/var/spack/repos/builtin/packages/glog/package.py similarity index 100% rename from var/spack/packages/glog/package.py rename to var/spack/repos/builtin/packages/glog/package.py diff --git a/var/spack/packages/gmp/package.py b/var/spack/repos/builtin/packages/gmp/package.py similarity index 100% rename from var/spack/packages/gmp/package.py rename to var/spack/repos/builtin/packages/gmp/package.py diff --git a/var/spack/packages/gnutls/package.py b/var/spack/repos/builtin/packages/gnutls/package.py similarity index 100% rename from var/spack/packages/gnutls/package.py rename to var/spack/repos/builtin/packages/gnutls/package.py diff --git a/var/spack/packages/gperf/package.py b/var/spack/repos/builtin/packages/gperf/package.py similarity index 100% rename from var/spack/packages/gperf/package.py rename to var/spack/repos/builtin/packages/gperf/package.py diff --git a/var/spack/packages/gperftools/package.py b/var/spack/repos/builtin/packages/gperftools/package.py similarity index 100% rename from var/spack/packages/gperftools/package.py rename to var/spack/repos/builtin/packages/gperftools/package.py diff --git a/var/spack/packages/graphlib/package.py b/var/spack/repos/builtin/packages/graphlib/package.py similarity index 100% rename from var/spack/packages/graphlib/package.py rename to var/spack/repos/builtin/packages/graphlib/package.py diff --git a/var/spack/packages/graphviz/package.py b/var/spack/repos/builtin/packages/graphviz/package.py similarity index 100% rename from var/spack/packages/graphviz/package.py rename to var/spack/repos/builtin/packages/graphviz/package.py diff --git a/var/spack/packages/gtkplus/package.py b/var/spack/repos/builtin/packages/gtkplus/package.py similarity index 100% rename from var/spack/packages/gtkplus/package.py rename to var/spack/repos/builtin/packages/gtkplus/package.py diff --git a/var/spack/packages/harfbuzz/package.py b/var/spack/repos/builtin/packages/harfbuzz/package.py similarity index 100% rename from var/spack/packages/harfbuzz/package.py rename to var/spack/repos/builtin/packages/harfbuzz/package.py diff --git a/var/spack/packages/hdf5/package.py b/var/spack/repos/builtin/packages/hdf5/package.py similarity index 100% rename from var/spack/packages/hdf5/package.py rename to var/spack/repos/builtin/packages/hdf5/package.py diff --git a/var/spack/packages/hwloc/package.py b/var/spack/repos/builtin/packages/hwloc/package.py similarity index 100% rename from var/spack/packages/hwloc/package.py rename to var/spack/repos/builtin/packages/hwloc/package.py diff --git a/var/spack/packages/hypre/package.py b/var/spack/repos/builtin/packages/hypre/package.py similarity index 100% rename from var/spack/packages/hypre/package.py rename to var/spack/repos/builtin/packages/hypre/package.py diff --git a/var/spack/packages/icu/package.py b/var/spack/repos/builtin/packages/icu/package.py similarity index 100% rename from var/spack/packages/icu/package.py rename to var/spack/repos/builtin/packages/icu/package.py diff --git a/var/spack/packages/icu4c/package.py b/var/spack/repos/builtin/packages/icu4c/package.py similarity index 100% rename from var/spack/packages/icu4c/package.py rename to var/spack/repos/builtin/packages/icu4c/package.py diff --git a/var/spack/packages/isl/package.py b/var/spack/repos/builtin/packages/isl/package.py similarity index 100% rename from var/spack/packages/isl/package.py rename to var/spack/repos/builtin/packages/isl/package.py diff --git a/var/spack/packages/jdk/package.py b/var/spack/repos/builtin/packages/jdk/package.py similarity index 100% rename from var/spack/packages/jdk/package.py rename to var/spack/repos/builtin/packages/jdk/package.py diff --git a/var/spack/packages/jpeg/package.py b/var/spack/repos/builtin/packages/jpeg/package.py similarity index 100% rename from var/spack/packages/jpeg/package.py rename to var/spack/repos/builtin/packages/jpeg/package.py diff --git a/var/spack/packages/launchmon/package.py b/var/spack/repos/builtin/packages/launchmon/package.py similarity index 100% rename from var/spack/packages/launchmon/package.py rename to var/spack/repos/builtin/packages/launchmon/package.py diff --git a/var/spack/packages/launchmon/patch.lmon_install_dir b/var/spack/repos/builtin/packages/launchmon/patch.lmon_install_dir similarity index 100% rename from var/spack/packages/launchmon/patch.lmon_install_dir rename to var/spack/repos/builtin/packages/launchmon/patch.lmon_install_dir diff --git a/var/spack/packages/lcms/package.py b/var/spack/repos/builtin/packages/lcms/package.py similarity index 100% rename from var/spack/packages/lcms/package.py rename to var/spack/repos/builtin/packages/lcms/package.py diff --git a/var/spack/packages/leveldb/package.py b/var/spack/repos/builtin/packages/leveldb/package.py similarity index 100% rename from var/spack/packages/leveldb/package.py rename to var/spack/repos/builtin/packages/leveldb/package.py diff --git a/var/spack/packages/libNBC/package.py b/var/spack/repos/builtin/packages/libNBC/package.py similarity index 100% rename from var/spack/packages/libNBC/package.py rename to var/spack/repos/builtin/packages/libNBC/package.py diff --git a/var/spack/packages/libarchive/package.py b/var/spack/repos/builtin/packages/libarchive/package.py similarity index 100% rename from var/spack/packages/libarchive/package.py rename to var/spack/repos/builtin/packages/libarchive/package.py diff --git a/var/spack/packages/libcircle/package.py b/var/spack/repos/builtin/packages/libcircle/package.py similarity index 100% rename from var/spack/packages/libcircle/package.py rename to var/spack/repos/builtin/packages/libcircle/package.py diff --git a/var/spack/packages/libdrm/package.py b/var/spack/repos/builtin/packages/libdrm/package.py similarity index 100% rename from var/spack/packages/libdrm/package.py rename to var/spack/repos/builtin/packages/libdrm/package.py diff --git a/var/spack/packages/libdwarf/package.py b/var/spack/repos/builtin/packages/libdwarf/package.py similarity index 100% rename from var/spack/packages/libdwarf/package.py rename to var/spack/repos/builtin/packages/libdwarf/package.py diff --git a/var/spack/packages/libelf/package.py b/var/spack/repos/builtin/packages/libelf/package.py similarity index 100% rename from var/spack/packages/libelf/package.py rename to var/spack/repos/builtin/packages/libelf/package.py diff --git a/var/spack/packages/libevent/package.py b/var/spack/repos/builtin/packages/libevent/package.py similarity index 100% rename from var/spack/packages/libevent/package.py rename to var/spack/repos/builtin/packages/libevent/package.py diff --git a/var/spack/packages/libffi/package.py b/var/spack/repos/builtin/packages/libffi/package.py similarity index 100% rename from var/spack/packages/libffi/package.py rename to var/spack/repos/builtin/packages/libffi/package.py diff --git a/var/spack/packages/libgcrypt/package.py b/var/spack/repos/builtin/packages/libgcrypt/package.py similarity index 100% rename from var/spack/packages/libgcrypt/package.py rename to var/spack/repos/builtin/packages/libgcrypt/package.py diff --git a/var/spack/packages/libgpg-error/package.py b/var/spack/repos/builtin/packages/libgpg-error/package.py similarity index 100% rename from var/spack/packages/libgpg-error/package.py rename to var/spack/repos/builtin/packages/libgpg-error/package.py diff --git a/var/spack/packages/libjpeg-turbo/package.py b/var/spack/repos/builtin/packages/libjpeg-turbo/package.py similarity index 100% rename from var/spack/packages/libjpeg-turbo/package.py rename to var/spack/repos/builtin/packages/libjpeg-turbo/package.py diff --git a/var/spack/packages/libjson-c/package.py b/var/spack/repos/builtin/packages/libjson-c/package.py similarity index 100% rename from var/spack/packages/libjson-c/package.py rename to var/spack/repos/builtin/packages/libjson-c/package.py diff --git a/var/spack/packages/libmng/package.py b/var/spack/repos/builtin/packages/libmng/package.py similarity index 100% rename from var/spack/packages/libmng/package.py rename to var/spack/repos/builtin/packages/libmng/package.py diff --git a/var/spack/packages/libmonitor/package.py b/var/spack/repos/builtin/packages/libmonitor/package.py similarity index 100% rename from var/spack/packages/libmonitor/package.py rename to var/spack/repos/builtin/packages/libmonitor/package.py diff --git a/var/spack/packages/libpciaccess/package.py b/var/spack/repos/builtin/packages/libpciaccess/package.py similarity index 100% rename from var/spack/packages/libpciaccess/package.py rename to var/spack/repos/builtin/packages/libpciaccess/package.py diff --git a/var/spack/packages/libpng/package.py b/var/spack/repos/builtin/packages/libpng/package.py similarity index 100% rename from var/spack/packages/libpng/package.py rename to var/spack/repos/builtin/packages/libpng/package.py diff --git a/var/spack/packages/libsodium/package.py b/var/spack/repos/builtin/packages/libsodium/package.py similarity index 100% rename from var/spack/packages/libsodium/package.py rename to var/spack/repos/builtin/packages/libsodium/package.py diff --git a/var/spack/packages/libtiff/package.py b/var/spack/repos/builtin/packages/libtiff/package.py similarity index 100% rename from var/spack/packages/libtiff/package.py rename to var/spack/repos/builtin/packages/libtiff/package.py diff --git a/var/spack/packages/libtool/package.py b/var/spack/repos/builtin/packages/libtool/package.py similarity index 100% rename from var/spack/packages/libtool/package.py rename to var/spack/repos/builtin/packages/libtool/package.py diff --git a/var/spack/packages/libunwind/package.py b/var/spack/repos/builtin/packages/libunwind/package.py similarity index 100% rename from var/spack/packages/libunwind/package.py rename to var/spack/repos/builtin/packages/libunwind/package.py diff --git a/var/spack/packages/libuuid/package.py b/var/spack/repos/builtin/packages/libuuid/package.py similarity index 100% rename from var/spack/packages/libuuid/package.py rename to var/spack/repos/builtin/packages/libuuid/package.py diff --git a/var/spack/packages/libxcb/package.py b/var/spack/repos/builtin/packages/libxcb/package.py similarity index 100% rename from var/spack/packages/libxcb/package.py rename to var/spack/repos/builtin/packages/libxcb/package.py diff --git a/var/spack/packages/libxml2/package.py b/var/spack/repos/builtin/packages/libxml2/package.py similarity index 100% rename from var/spack/packages/libxml2/package.py rename to var/spack/repos/builtin/packages/libxml2/package.py diff --git a/var/spack/packages/libxshmfence/package.py b/var/spack/repos/builtin/packages/libxshmfence/package.py similarity index 100% rename from var/spack/packages/libxshmfence/package.py rename to var/spack/repos/builtin/packages/libxshmfence/package.py diff --git a/var/spack/packages/libxslt/package.py b/var/spack/repos/builtin/packages/libxslt/package.py similarity index 100% rename from var/spack/packages/libxslt/package.py rename to var/spack/repos/builtin/packages/libxslt/package.py diff --git a/var/spack/packages/llvm-lld/package.py b/var/spack/repos/builtin/packages/llvm-lld/package.py similarity index 100% rename from var/spack/packages/llvm-lld/package.py rename to var/spack/repos/builtin/packages/llvm-lld/package.py diff --git a/var/spack/packages/llvm/package.py b/var/spack/repos/builtin/packages/llvm/package.py similarity index 100% rename from var/spack/packages/llvm/package.py rename to var/spack/repos/builtin/packages/llvm/package.py diff --git a/var/spack/packages/lmdb/package.py b/var/spack/repos/builtin/packages/lmdb/package.py similarity index 100% rename from var/spack/packages/lmdb/package.py rename to var/spack/repos/builtin/packages/lmdb/package.py diff --git a/var/spack/packages/lua/package.py b/var/spack/repos/builtin/packages/lua/package.py similarity index 100% rename from var/spack/packages/lua/package.py rename to var/spack/repos/builtin/packages/lua/package.py diff --git a/var/spack/packages/lwgrp/package.py b/var/spack/repos/builtin/packages/lwgrp/package.py similarity index 100% rename from var/spack/packages/lwgrp/package.py rename to var/spack/repos/builtin/packages/lwgrp/package.py diff --git a/var/spack/packages/lwm2/package.py b/var/spack/repos/builtin/packages/lwm2/package.py similarity index 100% rename from var/spack/packages/lwm2/package.py rename to var/spack/repos/builtin/packages/lwm2/package.py diff --git a/var/spack/packages/matio/package.py b/var/spack/repos/builtin/packages/matio/package.py similarity index 100% rename from var/spack/packages/matio/package.py rename to var/spack/repos/builtin/packages/matio/package.py diff --git a/var/spack/packages/memaxes/package.py b/var/spack/repos/builtin/packages/memaxes/package.py similarity index 100% rename from var/spack/packages/memaxes/package.py rename to var/spack/repos/builtin/packages/memaxes/package.py diff --git a/var/spack/packages/mesa/package.py b/var/spack/repos/builtin/packages/mesa/package.py similarity index 100% rename from var/spack/packages/mesa/package.py rename to var/spack/repos/builtin/packages/mesa/package.py diff --git a/var/spack/packages/metis/package.py b/var/spack/repos/builtin/packages/metis/package.py similarity index 100% rename from var/spack/packages/metis/package.py rename to var/spack/repos/builtin/packages/metis/package.py diff --git a/var/spack/packages/mpc/package.py b/var/spack/repos/builtin/packages/mpc/package.py similarity index 100% rename from var/spack/packages/mpc/package.py rename to var/spack/repos/builtin/packages/mpc/package.py diff --git a/var/spack/packages/mpe2/mpe2.patch b/var/spack/repos/builtin/packages/mpe2/mpe2.patch similarity index 100% rename from var/spack/packages/mpe2/mpe2.patch rename to var/spack/repos/builtin/packages/mpe2/mpe2.patch diff --git a/var/spack/packages/mpe2/package.py b/var/spack/repos/builtin/packages/mpe2/package.py similarity index 100% rename from var/spack/packages/mpe2/package.py rename to var/spack/repos/builtin/packages/mpe2/package.py diff --git a/var/spack/packages/mpfr/package.py b/var/spack/repos/builtin/packages/mpfr/package.py similarity index 100% rename from var/spack/packages/mpfr/package.py rename to var/spack/repos/builtin/packages/mpfr/package.py diff --git a/var/spack/packages/mpibash/mpibash-4.3.patch b/var/spack/repos/builtin/packages/mpibash/mpibash-4.3.patch similarity index 100% rename from var/spack/packages/mpibash/mpibash-4.3.patch rename to var/spack/repos/builtin/packages/mpibash/mpibash-4.3.patch diff --git a/var/spack/packages/mpibash/package.py b/var/spack/repos/builtin/packages/mpibash/package.py similarity index 100% rename from var/spack/packages/mpibash/package.py rename to var/spack/repos/builtin/packages/mpibash/package.py diff --git a/var/spack/packages/mpich/package.py b/var/spack/repos/builtin/packages/mpich/package.py similarity index 100% rename from var/spack/packages/mpich/package.py rename to var/spack/repos/builtin/packages/mpich/package.py diff --git a/var/spack/packages/mpileaks/package.py b/var/spack/repos/builtin/packages/mpileaks/package.py similarity index 100% rename from var/spack/packages/mpileaks/package.py rename to var/spack/repos/builtin/packages/mpileaks/package.py diff --git a/var/spack/packages/mrnet/package.py b/var/spack/repos/builtin/packages/mrnet/package.py similarity index 100% rename from var/spack/packages/mrnet/package.py rename to var/spack/repos/builtin/packages/mrnet/package.py diff --git a/var/spack/packages/munge/package.py b/var/spack/repos/builtin/packages/munge/package.py similarity index 100% rename from var/spack/packages/munge/package.py rename to var/spack/repos/builtin/packages/munge/package.py diff --git a/var/spack/packages/muster/package.py b/var/spack/repos/builtin/packages/muster/package.py similarity index 100% rename from var/spack/packages/muster/package.py rename to var/spack/repos/builtin/packages/muster/package.py diff --git a/var/spack/packages/mvapich2/ad_lustre_rwcontig_open_source.patch b/var/spack/repos/builtin/packages/mvapich2/ad_lustre_rwcontig_open_source.patch similarity index 100% rename from var/spack/packages/mvapich2/ad_lustre_rwcontig_open_source.patch rename to var/spack/repos/builtin/packages/mvapich2/ad_lustre_rwcontig_open_source.patch diff --git a/var/spack/packages/mvapich2/package.py b/var/spack/repos/builtin/packages/mvapich2/package.py similarity index 100% rename from var/spack/packages/mvapich2/package.py rename to var/spack/repos/builtin/packages/mvapich2/package.py diff --git a/var/spack/packages/nasm/package.py b/var/spack/repos/builtin/packages/nasm/package.py similarity index 100% rename from var/spack/packages/nasm/package.py rename to var/spack/repos/builtin/packages/nasm/package.py diff --git a/var/spack/packages/ncdu/package.py b/var/spack/repos/builtin/packages/ncdu/package.py similarity index 100% rename from var/spack/packages/ncdu/package.py rename to var/spack/repos/builtin/packages/ncdu/package.py diff --git a/var/spack/packages/ncurses/package.py b/var/spack/repos/builtin/packages/ncurses/package.py similarity index 100% rename from var/spack/packages/ncurses/package.py rename to var/spack/repos/builtin/packages/ncurses/package.py diff --git a/var/spack/packages/netcdf/netcdf-4.3.3-mpi.patch b/var/spack/repos/builtin/packages/netcdf/netcdf-4.3.3-mpi.patch similarity index 100% rename from var/spack/packages/netcdf/netcdf-4.3.3-mpi.patch rename to var/spack/repos/builtin/packages/netcdf/netcdf-4.3.3-mpi.patch diff --git a/var/spack/packages/netcdf/package.py b/var/spack/repos/builtin/packages/netcdf/package.py similarity index 100% rename from var/spack/packages/netcdf/package.py rename to var/spack/repos/builtin/packages/netcdf/package.py diff --git a/var/spack/packages/netgauge/package.py b/var/spack/repos/builtin/packages/netgauge/package.py similarity index 100% rename from var/spack/packages/netgauge/package.py rename to var/spack/repos/builtin/packages/netgauge/package.py diff --git a/var/spack/packages/netlib-blas/package.py b/var/spack/repos/builtin/packages/netlib-blas/package.py similarity index 100% rename from var/spack/packages/netlib-blas/package.py rename to var/spack/repos/builtin/packages/netlib-blas/package.py diff --git a/var/spack/packages/netlib-lapack/package.py b/var/spack/repos/builtin/packages/netlib-lapack/package.py similarity index 100% rename from var/spack/packages/netlib-lapack/package.py rename to var/spack/repos/builtin/packages/netlib-lapack/package.py diff --git a/var/spack/packages/nettle/package.py b/var/spack/repos/builtin/packages/nettle/package.py similarity index 100% rename from var/spack/packages/nettle/package.py rename to var/spack/repos/builtin/packages/nettle/package.py diff --git a/var/spack/packages/ompss/package.py b/var/spack/repos/builtin/packages/ompss/package.py similarity index 100% rename from var/spack/packages/ompss/package.py rename to var/spack/repos/builtin/packages/ompss/package.py diff --git a/var/spack/packages/ompt-openmp/package.py b/var/spack/repos/builtin/packages/ompt-openmp/package.py similarity index 100% rename from var/spack/packages/ompt-openmp/package.py rename to var/spack/repos/builtin/packages/ompt-openmp/package.py diff --git a/var/spack/packages/opari2/package.py b/var/spack/repos/builtin/packages/opari2/package.py similarity index 100% rename from var/spack/packages/opari2/package.py rename to var/spack/repos/builtin/packages/opari2/package.py diff --git a/var/spack/packages/openmpi/ad_lustre_rwcontig_open_source.patch b/var/spack/repos/builtin/packages/openmpi/ad_lustre_rwcontig_open_source.patch similarity index 100% rename from var/spack/packages/openmpi/ad_lustre_rwcontig_open_source.patch rename to var/spack/repos/builtin/packages/openmpi/ad_lustre_rwcontig_open_source.patch diff --git a/var/spack/packages/openmpi/llnl-platforms.patch b/var/spack/repos/builtin/packages/openmpi/llnl-platforms.patch similarity index 100% rename from var/spack/packages/openmpi/llnl-platforms.patch rename to var/spack/repos/builtin/packages/openmpi/llnl-platforms.patch diff --git a/var/spack/packages/openmpi/package.py b/var/spack/repos/builtin/packages/openmpi/package.py similarity index 100% rename from var/spack/packages/openmpi/package.py rename to var/spack/repos/builtin/packages/openmpi/package.py diff --git a/var/spack/packages/openssl/package.py b/var/spack/repos/builtin/packages/openssl/package.py similarity index 100% rename from var/spack/packages/openssl/package.py rename to var/spack/repos/builtin/packages/openssl/package.py diff --git a/var/spack/packages/otf/package.py b/var/spack/repos/builtin/packages/otf/package.py similarity index 100% rename from var/spack/packages/otf/package.py rename to var/spack/repos/builtin/packages/otf/package.py diff --git a/var/spack/packages/otf2/package.py b/var/spack/repos/builtin/packages/otf2/package.py similarity index 100% rename from var/spack/packages/otf2/package.py rename to var/spack/repos/builtin/packages/otf2/package.py diff --git a/var/spack/packages/pango/package.py b/var/spack/repos/builtin/packages/pango/package.py similarity index 100% rename from var/spack/packages/pango/package.py rename to var/spack/repos/builtin/packages/pango/package.py diff --git a/var/spack/packages/papi/package.py b/var/spack/repos/builtin/packages/papi/package.py similarity index 100% rename from var/spack/packages/papi/package.py rename to var/spack/repos/builtin/packages/papi/package.py diff --git a/var/spack/packages/paraver/package.py b/var/spack/repos/builtin/packages/paraver/package.py similarity index 100% rename from var/spack/packages/paraver/package.py rename to var/spack/repos/builtin/packages/paraver/package.py diff --git a/var/spack/packages/paraview/package.py b/var/spack/repos/builtin/packages/paraview/package.py similarity index 100% rename from var/spack/packages/paraview/package.py rename to var/spack/repos/builtin/packages/paraview/package.py diff --git a/var/spack/packages/parmetis/package.py b/var/spack/repos/builtin/packages/parmetis/package.py similarity index 100% rename from var/spack/packages/parmetis/package.py rename to var/spack/repos/builtin/packages/parmetis/package.py diff --git a/var/spack/packages/parpack/package.py b/var/spack/repos/builtin/packages/parpack/package.py similarity index 100% rename from var/spack/packages/parpack/package.py rename to var/spack/repos/builtin/packages/parpack/package.py diff --git a/var/spack/packages/pcre/package.py b/var/spack/repos/builtin/packages/pcre/package.py similarity index 100% rename from var/spack/packages/pcre/package.py rename to var/spack/repos/builtin/packages/pcre/package.py diff --git a/var/spack/packages/petsc/package.py b/var/spack/repos/builtin/packages/petsc/package.py similarity index 100% rename from var/spack/packages/petsc/package.py rename to var/spack/repos/builtin/packages/petsc/package.py diff --git a/var/spack/packages/pidx/package.py b/var/spack/repos/builtin/packages/pidx/package.py similarity index 100% rename from var/spack/packages/pidx/package.py rename to var/spack/repos/builtin/packages/pidx/package.py diff --git a/var/spack/packages/pixman/package.py b/var/spack/repos/builtin/packages/pixman/package.py similarity index 100% rename from var/spack/packages/pixman/package.py rename to var/spack/repos/builtin/packages/pixman/package.py diff --git a/var/spack/packages/pkg-config/package.py b/var/spack/repos/builtin/packages/pkg-config/package.py similarity index 100% rename from var/spack/packages/pkg-config/package.py rename to var/spack/repos/builtin/packages/pkg-config/package.py diff --git a/var/spack/packages/pmgr_collective/package.py b/var/spack/repos/builtin/packages/pmgr_collective/package.py similarity index 100% rename from var/spack/packages/pmgr_collective/package.py rename to var/spack/repos/builtin/packages/pmgr_collective/package.py diff --git a/var/spack/packages/postgresql/package.py b/var/spack/repos/builtin/packages/postgresql/package.py similarity index 100% rename from var/spack/packages/postgresql/package.py rename to var/spack/repos/builtin/packages/postgresql/package.py diff --git a/var/spack/packages/ppl/package.py b/var/spack/repos/builtin/packages/ppl/package.py similarity index 100% rename from var/spack/packages/ppl/package.py rename to var/spack/repos/builtin/packages/ppl/package.py diff --git a/var/spack/packages/protobuf/package.py b/var/spack/repos/builtin/packages/protobuf/package.py similarity index 100% rename from var/spack/packages/protobuf/package.py rename to var/spack/repos/builtin/packages/protobuf/package.py diff --git a/var/spack/packages/py-basemap/package.py b/var/spack/repos/builtin/packages/py-basemap/package.py similarity index 100% rename from var/spack/packages/py-basemap/package.py rename to var/spack/repos/builtin/packages/py-basemap/package.py diff --git a/var/spack/packages/py-biopython/package.py b/var/spack/repos/builtin/packages/py-biopython/package.py similarity index 100% rename from var/spack/packages/py-biopython/package.py rename to var/spack/repos/builtin/packages/py-biopython/package.py diff --git a/var/spack/packages/py-cffi/package.py b/var/spack/repos/builtin/packages/py-cffi/package.py similarity index 100% rename from var/spack/packages/py-cffi/package.py rename to var/spack/repos/builtin/packages/py-cffi/package.py diff --git a/var/spack/packages/py-cython/package.py b/var/spack/repos/builtin/packages/py-cython/package.py similarity index 100% rename from var/spack/packages/py-cython/package.py rename to var/spack/repos/builtin/packages/py-cython/package.py diff --git a/var/spack/packages/py-dateutil/package.py b/var/spack/repos/builtin/packages/py-dateutil/package.py similarity index 100% rename from var/spack/packages/py-dateutil/package.py rename to var/spack/repos/builtin/packages/py-dateutil/package.py diff --git a/var/spack/packages/py-epydoc/package.py b/var/spack/repos/builtin/packages/py-epydoc/package.py similarity index 100% rename from var/spack/packages/py-epydoc/package.py rename to var/spack/repos/builtin/packages/py-epydoc/package.py diff --git a/var/spack/packages/py-genders/package.py b/var/spack/repos/builtin/packages/py-genders/package.py similarity index 100% rename from var/spack/packages/py-genders/package.py rename to var/spack/repos/builtin/packages/py-genders/package.py diff --git a/var/spack/packages/py-gnuplot/package.py b/var/spack/repos/builtin/packages/py-gnuplot/package.py similarity index 100% rename from var/spack/packages/py-gnuplot/package.py rename to var/spack/repos/builtin/packages/py-gnuplot/package.py diff --git a/var/spack/packages/py-h5py/package.py b/var/spack/repos/builtin/packages/py-h5py/package.py similarity index 100% rename from var/spack/packages/py-h5py/package.py rename to var/spack/repos/builtin/packages/py-h5py/package.py diff --git a/var/spack/packages/py-ipython/package.py b/var/spack/repos/builtin/packages/py-ipython/package.py similarity index 100% rename from var/spack/packages/py-ipython/package.py rename to var/spack/repos/builtin/packages/py-ipython/package.py diff --git a/var/spack/packages/py-libxml2/package.py b/var/spack/repos/builtin/packages/py-libxml2/package.py similarity index 100% rename from var/spack/packages/py-libxml2/package.py rename to var/spack/repos/builtin/packages/py-libxml2/package.py diff --git a/var/spack/packages/py-lockfile/package.py b/var/spack/repos/builtin/packages/py-lockfile/package.py similarity index 100% rename from var/spack/packages/py-lockfile/package.py rename to var/spack/repos/builtin/packages/py-lockfile/package.py diff --git a/var/spack/packages/py-mako/package.py b/var/spack/repos/builtin/packages/py-mako/package.py similarity index 100% rename from var/spack/packages/py-mako/package.py rename to var/spack/repos/builtin/packages/py-mako/package.py diff --git a/var/spack/packages/py-matplotlib/package.py b/var/spack/repos/builtin/packages/py-matplotlib/package.py similarity index 100% rename from var/spack/packages/py-matplotlib/package.py rename to var/spack/repos/builtin/packages/py-matplotlib/package.py diff --git a/var/spack/packages/py-mock/package.py b/var/spack/repos/builtin/packages/py-mock/package.py similarity index 100% rename from var/spack/packages/py-mock/package.py rename to var/spack/repos/builtin/packages/py-mock/package.py diff --git a/var/spack/packages/py-mpi4py/package.py b/var/spack/repos/builtin/packages/py-mpi4py/package.py similarity index 100% rename from var/spack/packages/py-mpi4py/package.py rename to var/spack/repos/builtin/packages/py-mpi4py/package.py diff --git a/var/spack/packages/py-mx/package.py b/var/spack/repos/builtin/packages/py-mx/package.py similarity index 100% rename from var/spack/packages/py-mx/package.py rename to var/spack/repos/builtin/packages/py-mx/package.py diff --git a/var/spack/packages/py-nose/package.py b/var/spack/repos/builtin/packages/py-nose/package.py similarity index 100% rename from var/spack/packages/py-nose/package.py rename to var/spack/repos/builtin/packages/py-nose/package.py diff --git a/var/spack/packages/py-numpy/package.py b/var/spack/repos/builtin/packages/py-numpy/package.py similarity index 100% rename from var/spack/packages/py-numpy/package.py rename to var/spack/repos/builtin/packages/py-numpy/package.py diff --git a/var/spack/packages/py-pandas/package.py b/var/spack/repos/builtin/packages/py-pandas/package.py similarity index 100% rename from var/spack/packages/py-pandas/package.py rename to var/spack/repos/builtin/packages/py-pandas/package.py diff --git a/var/spack/packages/py-pexpect/package.py b/var/spack/repos/builtin/packages/py-pexpect/package.py similarity index 100% rename from var/spack/packages/py-pexpect/package.py rename to var/spack/repos/builtin/packages/py-pexpect/package.py diff --git a/var/spack/packages/py-pil/package.py b/var/spack/repos/builtin/packages/py-pil/package.py similarity index 100% rename from var/spack/packages/py-pil/package.py rename to var/spack/repos/builtin/packages/py-pil/package.py diff --git a/var/spack/packages/py-pmw/package.py b/var/spack/repos/builtin/packages/py-pmw/package.py similarity index 100% rename from var/spack/packages/py-pmw/package.py rename to var/spack/repos/builtin/packages/py-pmw/package.py diff --git a/var/spack/packages/py-pychecker/package.py b/var/spack/repos/builtin/packages/py-pychecker/package.py similarity index 100% rename from var/spack/packages/py-pychecker/package.py rename to var/spack/repos/builtin/packages/py-pychecker/package.py diff --git a/var/spack/packages/py-pycparser/package.py b/var/spack/repos/builtin/packages/py-pycparser/package.py similarity index 100% rename from var/spack/packages/py-pycparser/package.py rename to var/spack/repos/builtin/packages/py-pycparser/package.py diff --git a/var/spack/packages/py-pyelftools/package.py b/var/spack/repos/builtin/packages/py-pyelftools/package.py similarity index 100% rename from var/spack/packages/py-pyelftools/package.py rename to var/spack/repos/builtin/packages/py-pyelftools/package.py diff --git a/var/spack/packages/py-pygments/package.py b/var/spack/repos/builtin/packages/py-pygments/package.py similarity index 100% rename from var/spack/packages/py-pygments/package.py rename to var/spack/repos/builtin/packages/py-pygments/package.py diff --git a/var/spack/packages/py-pylint/package.py b/var/spack/repos/builtin/packages/py-pylint/package.py similarity index 100% rename from var/spack/packages/py-pylint/package.py rename to var/spack/repos/builtin/packages/py-pylint/package.py diff --git a/var/spack/packages/py-pypar/package.py b/var/spack/repos/builtin/packages/py-pypar/package.py similarity index 100% rename from var/spack/packages/py-pypar/package.py rename to var/spack/repos/builtin/packages/py-pypar/package.py diff --git a/var/spack/packages/py-pyparsing/package.py b/var/spack/repos/builtin/packages/py-pyparsing/package.py similarity index 100% rename from var/spack/packages/py-pyparsing/package.py rename to var/spack/repos/builtin/packages/py-pyparsing/package.py diff --git a/var/spack/packages/py-pyqt/package.py b/var/spack/repos/builtin/packages/py-pyqt/package.py similarity index 100% rename from var/spack/packages/py-pyqt/package.py rename to var/spack/repos/builtin/packages/py-pyqt/package.py diff --git a/var/spack/packages/py-pyside/package.py b/var/spack/repos/builtin/packages/py-pyside/package.py similarity index 100% rename from var/spack/packages/py-pyside/package.py rename to var/spack/repos/builtin/packages/py-pyside/package.py diff --git a/var/spack/packages/py-python-daemon/package.py b/var/spack/repos/builtin/packages/py-python-daemon/package.py similarity index 100% rename from var/spack/packages/py-python-daemon/package.py rename to var/spack/repos/builtin/packages/py-python-daemon/package.py diff --git a/var/spack/packages/py-pytz/package.py b/var/spack/repos/builtin/packages/py-pytz/package.py similarity index 100% rename from var/spack/packages/py-pytz/package.py rename to var/spack/repos/builtin/packages/py-pytz/package.py diff --git a/var/spack/packages/py-rpy2/package.py b/var/spack/repos/builtin/packages/py-rpy2/package.py similarity index 100% rename from var/spack/packages/py-rpy2/package.py rename to var/spack/repos/builtin/packages/py-rpy2/package.py diff --git a/var/spack/packages/py-scientificpython/package.py b/var/spack/repos/builtin/packages/py-scientificpython/package.py similarity index 100% rename from var/spack/packages/py-scientificpython/package.py rename to var/spack/repos/builtin/packages/py-scientificpython/package.py diff --git a/var/spack/packages/py-scikit-learn/package.py b/var/spack/repos/builtin/packages/py-scikit-learn/package.py similarity index 100% rename from var/spack/packages/py-scikit-learn/package.py rename to var/spack/repos/builtin/packages/py-scikit-learn/package.py diff --git a/var/spack/packages/py-scipy/package.py b/var/spack/repos/builtin/packages/py-scipy/package.py similarity index 100% rename from var/spack/packages/py-scipy/package.py rename to var/spack/repos/builtin/packages/py-scipy/package.py diff --git a/var/spack/packages/py-setuptools/package.py b/var/spack/repos/builtin/packages/py-setuptools/package.py similarity index 100% rename from var/spack/packages/py-setuptools/package.py rename to var/spack/repos/builtin/packages/py-setuptools/package.py diff --git a/var/spack/packages/py-shiboken/package.py b/var/spack/repos/builtin/packages/py-shiboken/package.py similarity index 100% rename from var/spack/packages/py-shiboken/package.py rename to var/spack/repos/builtin/packages/py-shiboken/package.py diff --git a/var/spack/packages/py-sip/package.py b/var/spack/repos/builtin/packages/py-sip/package.py similarity index 100% rename from var/spack/packages/py-sip/package.py rename to var/spack/repos/builtin/packages/py-sip/package.py diff --git a/var/spack/packages/py-six/package.py b/var/spack/repos/builtin/packages/py-six/package.py similarity index 100% rename from var/spack/packages/py-six/package.py rename to var/spack/repos/builtin/packages/py-six/package.py diff --git a/var/spack/packages/py-sphinx/package.py b/var/spack/repos/builtin/packages/py-sphinx/package.py similarity index 100% rename from var/spack/packages/py-sphinx/package.py rename to var/spack/repos/builtin/packages/py-sphinx/package.py diff --git a/var/spack/packages/py-sympy/package.py b/var/spack/repos/builtin/packages/py-sympy/package.py similarity index 100% rename from var/spack/packages/py-sympy/package.py rename to var/spack/repos/builtin/packages/py-sympy/package.py diff --git a/var/spack/packages/py-virtualenv/package.py b/var/spack/repos/builtin/packages/py-virtualenv/package.py similarity index 100% rename from var/spack/packages/py-virtualenv/package.py rename to var/spack/repos/builtin/packages/py-virtualenv/package.py diff --git a/var/spack/packages/py-yapf/package.py b/var/spack/repos/builtin/packages/py-yapf/package.py similarity index 100% rename from var/spack/packages/py-yapf/package.py rename to var/spack/repos/builtin/packages/py-yapf/package.py diff --git a/var/spack/packages/python/package.py b/var/spack/repos/builtin/packages/python/package.py similarity index 100% rename from var/spack/packages/python/package.py rename to var/spack/repos/builtin/packages/python/package.py diff --git a/var/spack/packages/qhull/package.py b/var/spack/repos/builtin/packages/qhull/package.py similarity index 100% rename from var/spack/packages/qhull/package.py rename to var/spack/repos/builtin/packages/qhull/package.py diff --git a/var/spack/packages/qt/package.py b/var/spack/repos/builtin/packages/qt/package.py similarity index 100% rename from var/spack/packages/qt/package.py rename to var/spack/repos/builtin/packages/qt/package.py diff --git a/var/spack/packages/qthreads/package.py b/var/spack/repos/builtin/packages/qthreads/package.py similarity index 100% rename from var/spack/packages/qthreads/package.py rename to var/spack/repos/builtin/packages/qthreads/package.py diff --git a/var/spack/packages/ravel/package.py b/var/spack/repos/builtin/packages/ravel/package.py similarity index 100% rename from var/spack/packages/ravel/package.py rename to var/spack/repos/builtin/packages/ravel/package.py diff --git a/var/spack/packages/readline/package.py b/var/spack/repos/builtin/packages/readline/package.py similarity index 100% rename from var/spack/packages/readline/package.py rename to var/spack/repos/builtin/packages/readline/package.py diff --git a/var/spack/packages/rose/add_spack_compiler_recognition.patch b/var/spack/repos/builtin/packages/rose/add_spack_compiler_recognition.patch similarity index 100% rename from var/spack/packages/rose/add_spack_compiler_recognition.patch rename to var/spack/repos/builtin/packages/rose/add_spack_compiler_recognition.patch diff --git a/var/spack/packages/rose/package.py b/var/spack/repos/builtin/packages/rose/package.py similarity index 100% rename from var/spack/packages/rose/package.py rename to var/spack/repos/builtin/packages/rose/package.py diff --git a/var/spack/packages/ruby/package.py b/var/spack/repos/builtin/packages/ruby/package.py similarity index 100% rename from var/spack/packages/ruby/package.py rename to var/spack/repos/builtin/packages/ruby/package.py diff --git a/var/spack/packages/samtools/package.py b/var/spack/repos/builtin/packages/samtools/package.py similarity index 100% rename from var/spack/packages/samtools/package.py rename to var/spack/repos/builtin/packages/samtools/package.py diff --git a/var/spack/packages/samtools/samtools1.2.patch b/var/spack/repos/builtin/packages/samtools/samtools1.2.patch similarity index 100% rename from var/spack/packages/samtools/samtools1.2.patch rename to var/spack/repos/builtin/packages/samtools/samtools1.2.patch diff --git a/var/spack/packages/scalasca/package.py b/var/spack/repos/builtin/packages/scalasca/package.py similarity index 100% rename from var/spack/packages/scalasca/package.py rename to var/spack/repos/builtin/packages/scalasca/package.py diff --git a/var/spack/packages/scorep/package.py b/var/spack/repos/builtin/packages/scorep/package.py similarity index 100% rename from var/spack/packages/scorep/package.py rename to var/spack/repos/builtin/packages/scorep/package.py diff --git a/var/spack/packages/scotch/package.py b/var/spack/repos/builtin/packages/scotch/package.py similarity index 100% rename from var/spack/packages/scotch/package.py rename to var/spack/repos/builtin/packages/scotch/package.py diff --git a/var/spack/packages/scr/package.py b/var/spack/repos/builtin/packages/scr/package.py similarity index 100% rename from var/spack/packages/scr/package.py rename to var/spack/repos/builtin/packages/scr/package.py diff --git a/var/spack/packages/silo/package.py b/var/spack/repos/builtin/packages/silo/package.py similarity index 100% rename from var/spack/packages/silo/package.py rename to var/spack/repos/builtin/packages/silo/package.py diff --git a/var/spack/packages/snappy/package.py b/var/spack/repos/builtin/packages/snappy/package.py similarity index 100% rename from var/spack/packages/snappy/package.py rename to var/spack/repos/builtin/packages/snappy/package.py diff --git a/var/spack/packages/spindle/package.py b/var/spack/repos/builtin/packages/spindle/package.py similarity index 100% rename from var/spack/packages/spindle/package.py rename to var/spack/repos/builtin/packages/spindle/package.py diff --git a/var/spack/packages/sqlite/package.py b/var/spack/repos/builtin/packages/sqlite/package.py similarity index 100% rename from var/spack/packages/sqlite/package.py rename to var/spack/repos/builtin/packages/sqlite/package.py diff --git a/var/spack/packages/stat/configure_mpicxx.patch b/var/spack/repos/builtin/packages/stat/configure_mpicxx.patch similarity index 100% rename from var/spack/packages/stat/configure_mpicxx.patch rename to var/spack/repos/builtin/packages/stat/configure_mpicxx.patch diff --git a/var/spack/packages/stat/package.py b/var/spack/repos/builtin/packages/stat/package.py similarity index 100% rename from var/spack/packages/stat/package.py rename to var/spack/repos/builtin/packages/stat/package.py diff --git a/var/spack/packages/sundials/package.py b/var/spack/repos/builtin/packages/sundials/package.py similarity index 100% rename from var/spack/packages/sundials/package.py rename to var/spack/repos/builtin/packages/sundials/package.py diff --git a/var/spack/packages/swig/package.py b/var/spack/repos/builtin/packages/swig/package.py similarity index 100% rename from var/spack/packages/swig/package.py rename to var/spack/repos/builtin/packages/swig/package.py diff --git a/var/spack/packages/task/package.py b/var/spack/repos/builtin/packages/task/package.py similarity index 100% rename from var/spack/packages/task/package.py rename to var/spack/repos/builtin/packages/task/package.py diff --git a/var/spack/packages/taskd/package.py b/var/spack/repos/builtin/packages/taskd/package.py similarity index 100% rename from var/spack/packages/taskd/package.py rename to var/spack/repos/builtin/packages/taskd/package.py diff --git a/var/spack/packages/tau/package.py b/var/spack/repos/builtin/packages/tau/package.py similarity index 100% rename from var/spack/packages/tau/package.py rename to var/spack/repos/builtin/packages/tau/package.py diff --git a/var/spack/packages/tcl/package.py b/var/spack/repos/builtin/packages/tcl/package.py similarity index 100% rename from var/spack/packages/tcl/package.py rename to var/spack/repos/builtin/packages/tcl/package.py diff --git a/var/spack/packages/the_silver_searcher/package.py b/var/spack/repos/builtin/packages/the_silver_searcher/package.py similarity index 100% rename from var/spack/packages/the_silver_searcher/package.py rename to var/spack/repos/builtin/packages/the_silver_searcher/package.py diff --git a/var/spack/packages/thrift/package.py b/var/spack/repos/builtin/packages/thrift/package.py similarity index 100% rename from var/spack/packages/thrift/package.py rename to var/spack/repos/builtin/packages/thrift/package.py diff --git a/var/spack/packages/tk/package.py b/var/spack/repos/builtin/packages/tk/package.py similarity index 100% rename from var/spack/packages/tk/package.py rename to var/spack/repos/builtin/packages/tk/package.py diff --git a/var/spack/packages/tmux/package.py b/var/spack/repos/builtin/packages/tmux/package.py similarity index 100% rename from var/spack/packages/tmux/package.py rename to var/spack/repos/builtin/packages/tmux/package.py diff --git a/var/spack/packages/tmuxinator/package.py b/var/spack/repos/builtin/packages/tmuxinator/package.py similarity index 100% rename from var/spack/packages/tmuxinator/package.py rename to var/spack/repos/builtin/packages/tmuxinator/package.py diff --git a/var/spack/packages/trilinos/package.py b/var/spack/repos/builtin/packages/trilinos/package.py similarity index 100% rename from var/spack/packages/trilinos/package.py rename to var/spack/repos/builtin/packages/trilinos/package.py diff --git a/var/spack/packages/uncrustify/package.py b/var/spack/repos/builtin/packages/uncrustify/package.py similarity index 100% rename from var/spack/packages/uncrustify/package.py rename to var/spack/repos/builtin/packages/uncrustify/package.py diff --git a/var/spack/packages/util-linux/package.py b/var/spack/repos/builtin/packages/util-linux/package.py similarity index 100% rename from var/spack/packages/util-linux/package.py rename to var/spack/repos/builtin/packages/util-linux/package.py diff --git a/var/spack/packages/vim/package.py b/var/spack/repos/builtin/packages/vim/package.py similarity index 100% rename from var/spack/packages/vim/package.py rename to var/spack/repos/builtin/packages/vim/package.py diff --git a/var/spack/packages/vtk/package.py b/var/spack/repos/builtin/packages/vtk/package.py similarity index 100% rename from var/spack/packages/vtk/package.py rename to var/spack/repos/builtin/packages/vtk/package.py diff --git a/var/spack/packages/wget/package.py b/var/spack/repos/builtin/packages/wget/package.py similarity index 100% rename from var/spack/packages/wget/package.py rename to var/spack/repos/builtin/packages/wget/package.py diff --git a/var/spack/packages/wx/package.py b/var/spack/repos/builtin/packages/wx/package.py similarity index 100% rename from var/spack/packages/wx/package.py rename to var/spack/repos/builtin/packages/wx/package.py diff --git a/var/spack/packages/wxpropgrid/package.py b/var/spack/repos/builtin/packages/wxpropgrid/package.py similarity index 100% rename from var/spack/packages/wxpropgrid/package.py rename to var/spack/repos/builtin/packages/wxpropgrid/package.py diff --git a/var/spack/packages/xcb-proto/package.py b/var/spack/repos/builtin/packages/xcb-proto/package.py similarity index 100% rename from var/spack/packages/xcb-proto/package.py rename to var/spack/repos/builtin/packages/xcb-proto/package.py diff --git a/var/spack/packages/xz/package.py b/var/spack/repos/builtin/packages/xz/package.py similarity index 100% rename from var/spack/packages/xz/package.py rename to var/spack/repos/builtin/packages/xz/package.py diff --git a/var/spack/packages/yasm/package.py b/var/spack/repos/builtin/packages/yasm/package.py similarity index 100% rename from var/spack/packages/yasm/package.py rename to var/spack/repos/builtin/packages/yasm/package.py diff --git a/var/spack/packages/zeromq/package.py b/var/spack/repos/builtin/packages/zeromq/package.py similarity index 100% rename from var/spack/packages/zeromq/package.py rename to var/spack/repos/builtin/packages/zeromq/package.py diff --git a/var/spack/packages/zlib/package.py b/var/spack/repos/builtin/packages/zlib/package.py similarity index 100% rename from var/spack/packages/zlib/package.py rename to var/spack/repos/builtin/packages/zlib/package.py diff --git a/var/spack/packages/zsh/package.py b/var/spack/repos/builtin/packages/zsh/package.py similarity index 100% rename from var/spack/packages/zsh/package.py rename to var/spack/repos/builtin/packages/zsh/package.py diff --git a/var/spack/repos/builtin/repo.yaml b/var/spack/repos/builtin/repo.yaml new file mode 100644 index 0000000000000000000000000000000000000000..54b282db6bedfaa0bd2958a96124625f3dfe1778 --- /dev/null +++ b/var/spack/repos/builtin/repo.yaml @@ -0,0 +1,2 @@ +repo: + namespace: builtin