spack/lib/spack/docs
Harmen Stoppels 2929ea02a1
Move builders into builtin repo (#50452)
Builders and package classes refer to packages from the builtin package
repo and are often modified together with packages. That means that
these classes should move into `spack_repo.builtin`.

* move `spack.build_systems` -> `spack_repo.builtin.build_systems`

* Remove the following re-exports from the `spack.package` module:
  - `AspellDictPackage`                 - `LuaPackage`
  - `AutotoolsPackage`                  - `MakefilePackage`
  - `BundlePackage`                     - `MavenPackage`
  - `CachedCMakePackage`                - `MesonPackage`
  - `cmake_cache_filepath`              - `MSBuildPackage`
  - `cmake_cache_option`                - `NMakePackage`
  - `cmake_cache_path`                  - `OctavePackage`
  - `cmake_cache_string`                - `PerlPackage`
  - `CargoPackage`                      - `PythonExtension`
  - `CMakePackage`                      - `PythonPackage`
  - `generator`                         - `QMakePackage`
  - `CompilerPackage`                   - `RacketPackage`
  - `CudaPackage`                       - `RPackage`
  - `Package`                           - `ROCmPackage`
  - `GNUMirrorPackage`                  - `RubyPackage`
  - `GoPackage`                         - `SConsPackage`
  - `IntelPackage`                      - `SIPPackage`
  - `IntelOneApiLibraryPackageWithSdk`  - `SourceforgePackage`
  - `IntelOneApiLibraryPackage`         - `SourcewarePackage`
  - `IntelOneApiStaticLibraryList`      - `WafPackage`
  - `IntelOneApiPackage`                - `XorgPackage`
  - `INTEL_MATH_LIBRARIES`

* update mock packages to repo v2.0 and add copies of packages/build
  systems they use from builtin

* add missing imports to build systems in `package.py` from builtin
  and test repos

* update various tests

This PR is breaking because of removal of various names from
 `spack.package`, but breakage should be minimal thanks to #50496, which
 ensures the above names are always imported in repo v1 packages.

Specifically this PR breaks imports like the following in `package.py` files:

```python
from spack.package import Package
```

but if your repo is v1.0 (see `spack repo list`) and has the following
much more common pattern:

```python
from spack.package import *
```

nothing should break.
2025-05-18 20:31:20 -07:00
..
_gh_pages_redirect Use https for links (#19244) 2020-10-09 11:24:09 -05:00
_pygments Remove years from license headers (#48352) 2025-01-02 15:40:28 +01:00
_static
_templates docs: re-enable google analytics (#43974) 2024-05-02 21:56:19 -04:00
build_systems Move builders into builtin repo (#50452) 2025-05-18 20:31:20 -07:00
images Update release documentation (#46991) 2024-10-16 09:11:53 +02:00
tables build caches: collect files to relocate while tarballing w/o file (#48212) 2024-12-24 10:53:13 -07:00
.gitignore docs: Replace package list with packages.spack.io (#40251) 2023-10-01 05:36:22 +02:00
basic_usage.rst builtin: use api v2.0 and update dir structure (#49275) 2025-05-06 12:05:44 +02:00
binary_caches.rst binary_distribution: content addressable tarballs (#48713) 2025-05-06 12:32:15 -06:00
bootstrapping.rst Fix creating a bootstrap mirrors (#48252) 2025-01-27 22:37:29 +00:00
build_settings.rst Remove years from license headers (#48352) 2025-01-02 15:40:28 +01:00
build_systems.rst Move builders into builtin repo (#50452) 2025-05-18 20:31:20 -07:00
chain.rst Remove years from license headers (#48352) 2025-01-02 15:40:28 +01:00
command_index.in Rework command reference in docs, add spack commands command 2018-02-12 20:25:17 -08:00
conf.py Move builders into builtin repo (#50452) 2025-05-18 20:31:20 -07:00
config_yaml.rst config:url_fetch_method: allow curl args (#49712) 2025-04-01 15:23:28 -05:00
configuration.rst docs: editor support config files (#49935) 2025-04-07 15:35:21 +02:00
containers.rst Remove years from license headers (#48352) 2025-01-02 15:40:28 +01:00
contribution_guide.rst builtin: use api v2.0 and update dir structure (#49275) 2025-05-06 12:05:44 +02:00
developer_guide.rst package API v2.0: new repo layout (#49256) 2025-05-05 10:52:16 +02:00
env_vars_yaml.rst Env vars docs (#49346) 2025-04-21 18:59:01 -06:00
environments.rst Allow usage of config variables and env variables with include_concrete (#45871) 2025-05-08 14:23:02 -05:00
extensions.rst Remove years from license headers (#48352) 2025-01-02 15:40:28 +01:00
features.rst builtin: use api v2.0 and update dir structure (#49275) 2025-05-06 12:05:44 +02:00
frequently_asked_questions.rst docs: add strong preferences to faq (#49556) 2025-03-19 08:53:14 +01:00
getting_started.rst Update documentation after compiler as deps (#49715) 2025-03-27 11:19:35 +01:00
gpu_configuration.rst docs: remove leftover references to compiler: entries (#49824) 2025-04-02 09:33:23 +02:00
include_yaml.rst Documentation: remote URL inclusion updates (#49669) 2025-04-01 09:02:50 +02:00
index.rst Move builders into builtin repo (#50452) 2025-05-18 20:31:20 -07:00
Makefile API Docs: fix broken reference targets 2021-07-16 08:30:56 -07:00
mirrors.rst Remove years from license headers (#48352) 2025-01-02 15:40:28 +01:00
module_file_generation.svg SC17: reworked module file tutorial section (#5657) 2017-11-12 00:27:20 -08:00
module_file_support.rst Add type hints to all setup_*environment functions (#49985) 2025-04-23 15:41:22 +02:00
packages_yaml.rst docs: remove leftover references to compiler: entries (#49824) 2025-04-02 09:33:23 +02:00
packaging_guide.rst Move builders into builtin repo (#50452) 2025-05-18 20:31:20 -07:00
pipelines.rst Turn compilers into nodes (#45189) 2025-03-25 22:32:49 -06:00
replace_conda_homebrew.rst Remove years from license headers (#48352) 2025-01-02 15:40:28 +01:00
repositories.rst builtin: use api v2.0 and update dir structure (#49275) 2025-05-06 12:05:44 +02:00
requirements.txt build(deps): bump urllib3 from 2.3.0 to 2.4.0 in /lib/spack/docs (#50014) 2025-04-14 10:07:24 +02:00
signing.rst binary_distribution: content addressable tarballs (#48713) 2025-05-06 12:32:15 -06:00
spack.yaml Remove years from license headers (#48352) 2025-01-02 15:40:28 +01:00