summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.flake845
-rw-r--r--.flake8_packages24
-rw-r--r--.gitattributes2
-rwxr-xr-x.github/actions/add-maintainers-as-reviewers/entrypoint.py2
-rw-r--r--.github/dependabot.yml7
-rw-r--r--.github/workflows/linux_build_tests.yaml2
-rw-r--r--.github/workflows/linux_unit_tests.yaml27
-rw-r--r--.github/workflows/macos_unit_tests.yaml2
-rw-r--r--.github/workflows/style_and_docs.yaml12
-rw-r--r--.gitignore519
-rw-r--r--.mypy.ini35
-rwxr-xr-xbin/spack13
-rwxr-xr-xbin/spack-python2
-rw-r--r--etc/spack/defaults/config.yaml7
-rw-r--r--etc/spack/defaults/darwin/packages.yaml9
-rw-r--r--etc/spack/defaults/packages.yaml3
-rw-r--r--lib/spack/docs/basic_usage.rst9
-rw-r--r--lib/spack/docs/binary_caches.rst2
-rw-r--r--lib/spack/docs/build_settings.rst2
-rw-r--r--lib/spack/docs/build_systems.rst3
-rw-r--r--lib/spack/docs/build_systems/autotoolspackage.rst2
-rw-r--r--lib/spack/docs/build_systems/bundlepackage.rst2
-rw-r--r--lib/spack/docs/build_systems/cmakepackage.rst2
-rw-r--r--lib/spack/docs/build_systems/cudapackage.rst119
-rw-r--r--lib/spack/docs/build_systems/custompackage.rst2
-rw-r--r--lib/spack/docs/build_systems/intelpackage.rst2
-rw-r--r--lib/spack/docs/build_systems/makefilepackage.rst2
-rw-r--r--lib/spack/docs/build_systems/mavenpackage.rst2
-rw-r--r--lib/spack/docs/build_systems/mesonpackage.rst2
-rw-r--r--lib/spack/docs/build_systems/octavepackage.rst2
-rw-r--r--lib/spack/docs/build_systems/perlpackage.rst4
-rw-r--r--lib/spack/docs/build_systems/pythonpackage.rst186
-rw-r--r--lib/spack/docs/build_systems/qmakepackage.rst15
-rw-r--r--lib/spack/docs/build_systems/rocmpackage.rst122
-rw-r--r--lib/spack/docs/build_systems/rpackage.rst7
-rw-r--r--lib/spack/docs/build_systems/rubypackage.rst3
-rw-r--r--lib/spack/docs/build_systems/sconspackage.rst2
-rw-r--r--lib/spack/docs/build_systems/sippackage.rst33
-rw-r--r--lib/spack/docs/build_systems/wafpackage.rst2
-rw-r--r--lib/spack/docs/chain.rst2
-rw-r--r--lib/spack/docs/conf.py4
-rw-r--r--lib/spack/docs/config_yaml.rst2
-rw-r--r--lib/spack/docs/configuration.rst2
-rw-r--r--lib/spack/docs/containers.rst2
-rw-r--r--lib/spack/docs/contribution_guide.rst24
-rw-r--r--lib/spack/docs/developer_guide.rst30
-rw-r--r--lib/spack/docs/environments.rst6
-rw-r--r--lib/spack/docs/extensions.rst2
-rw-r--r--lib/spack/docs/features.rst2
-rw-r--r--lib/spack/docs/getting_started.rst10
-rw-r--r--lib/spack/docs/index.rst2
-rw-r--r--lib/spack/docs/known_issues.rst2
-rw-r--r--lib/spack/docs/mirrors.rst2
-rw-r--r--lib/spack/docs/module_file_support.rst2
-rw-r--r--lib/spack/docs/package_list.rst2
-rw-r--r--lib/spack/docs/packaging_guide.rst317
-rw-r--r--lib/spack/docs/pipelines.rst110
-rw-r--r--lib/spack/docs/repositories.rst4
-rw-r--r--lib/spack/docs/spack.yaml2
-rw-r--r--lib/spack/docs/workflows.rst2
-rwxr-xr-xlib/spack/env/cc26
-rw-r--r--lib/spack/external/__init__.py4
-rw-r--r--lib/spack/external/_pytest/assertion/util.py7
-rw-r--r--lib/spack/external/_pytest/main.py7
-rw-r--r--lib/spack/external/_pytest/python_api.py5
-rw-r--r--lib/spack/external/archspec/__init__.py2
-rw-r--r--lib/spack/external/archspec/json/cpu/microarchitectures.json145
-rw-r--r--lib/spack/external/jinja2/runtime.py8
-rw-r--r--lib/spack/external/jinja2/sandbox.py12
-rw-r--r--lib/spack/external/jinja2/tests.py7
-rw-r--r--lib/spack/external/jinja2/utils.py8
-rw-r--r--lib/spack/external/markupsafe/__init__.py7
-rw-r--r--lib/spack/external/ordereddict_backport.py2
-rw-r--r--lib/spack/external/py2/typing.py84
-rw-r--r--lib/spack/external/ruamel/yaml/comments.py7
-rw-r--r--lib/spack/external/ruamel/yaml/compat.py7
-rw-r--r--lib/spack/external/ruamel/yaml/constructor.py19
-rw-r--r--lib/spack/llnl/__init__.py2
-rw-r--r--lib/spack/llnl/util/__init__.py2
-rw-r--r--lib/spack/llnl/util/argparsewriter.py2
-rw-r--r--lib/spack/llnl/util/filesystem.py42
-rw-r--r--lib/spack/llnl/util/lang.py13
-rw-r--r--lib/spack/llnl/util/link_tree.py2
-rw-r--r--lib/spack/llnl/util/lock.py2
-rw-r--r--lib/spack/llnl/util/multiproc.py2
-rw-r--r--lib/spack/llnl/util/tty/__init__.py2
-rw-r--r--lib/spack/llnl/util/tty/colify.py2
-rw-r--r--lib/spack/llnl/util/tty/color.py2
-rw-r--r--lib/spack/llnl/util/tty/log.py11
-rw-r--r--lib/spack/llnl/util/tty/pty.py2
-rw-r--r--lib/spack/spack/abi.py2
-rw-r--r--lib/spack/spack/architecture.py75
-rw-r--r--lib/spack/spack/binary_distribution.py45
-rw-r--r--lib/spack/spack/build_environment.py14
-rw-r--r--lib/spack/spack/build_systems/__init__.py2
-rw-r--r--lib/spack/spack/build_systems/aspell_dict.py2
-rw-r--r--lib/spack/spack/build_systems/autotools.py7
-rw-r--r--lib/spack/spack/build_systems/cmake.py5
-rw-r--r--lib/spack/spack/build_systems/cuda.py2
-rw-r--r--lib/spack/spack/build_systems/gnu.py2
-rw-r--r--lib/spack/spack/build_systems/intel.py3
-rw-r--r--lib/spack/spack/build_systems/makefile.py5
-rw-r--r--lib/spack/spack/build_systems/maven.py2
-rw-r--r--lib/spack/spack/build_systems/meson.py5
-rw-r--r--lib/spack/spack/build_systems/octave.py5
-rw-r--r--lib/spack/spack/build_systems/oneapi.py2
-rw-r--r--lib/spack/spack/build_systems/perl.py6
-rw-r--r--lib/spack/spack/build_systems/python.py241
-rw-r--r--lib/spack/spack/build_systems/qmake.py24
-rw-r--r--lib/spack/spack/build_systems/r.py8
-rw-r--r--lib/spack/spack/build_systems/rocm.py11
-rw-r--r--lib/spack/spack/build_systems/ruby.py6
-rw-r--r--lib/spack/spack/build_systems/scons.py2
-rw-r--r--lib/spack/spack/build_systems/sip.py65
-rw-r--r--lib/spack/spack/build_systems/sourceforge.py2
-rw-r--r--lib/spack/spack/build_systems/sourceware.py2
-rw-r--r--lib/spack/spack/build_systems/waf.py2
-rw-r--r--lib/spack/spack/build_systems/xorg.py2
-rw-r--r--lib/spack/spack/caches.py2
-rw-r--r--lib/spack/spack/ci.py387
-rw-r--r--lib/spack/spack/ci_needs_workaround.py2
-rw-r--r--lib/spack/spack/ci_optimization.py2
-rw-r--r--lib/spack/spack/cmd/__init__.py2
-rw-r--r--lib/spack/spack/cmd/activate.py2
-rw-r--r--lib/spack/spack/cmd/add.py2
-rw-r--r--lib/spack/spack/cmd/arch.py2
-rw-r--r--lib/spack/spack/cmd/blame.py2
-rw-r--r--lib/spack/spack/cmd/build_env.py2
-rw-r--r--lib/spack/spack/cmd/buildcache.py22
-rw-r--r--lib/spack/spack/cmd/cd.py2
-rw-r--r--lib/spack/spack/cmd/checksum.py2
-rw-r--r--lib/spack/spack/cmd/ci.py123
-rw-r--r--lib/spack/spack/cmd/clean.py2
-rw-r--r--lib/spack/spack/cmd/clone.py2
-rw-r--r--lib/spack/spack/cmd/commands.py15
-rw-r--r--lib/spack/spack/cmd/common/__init__.py2
-rw-r--r--lib/spack/spack/cmd/common/arguments.py13
-rw-r--r--lib/spack/spack/cmd/common/env_utility.py2
-rw-r--r--lib/spack/spack/cmd/compiler.py2
-rw-r--r--lib/spack/spack/cmd/compilers.py2
-rw-r--r--lib/spack/spack/cmd/concretize.py2
-rw-r--r--lib/spack/spack/cmd/config.py2
-rw-r--r--lib/spack/spack/cmd/containerize.py2
-rw-r--r--lib/spack/spack/cmd/create.py48
-rw-r--r--lib/spack/spack/cmd/deactivate.py2
-rw-r--r--lib/spack/spack/cmd/debug.py4
-rw-r--r--lib/spack/spack/cmd/dependencies.py2
-rw-r--r--lib/spack/spack/cmd/dependents.py2
-rw-r--r--lib/spack/spack/cmd/deprecate.py2
-rw-r--r--lib/spack/spack/cmd/dev_build.py7
-rw-r--r--lib/spack/spack/cmd/develop.py2
-rw-r--r--lib/spack/spack/cmd/docs.py2
-rw-r--r--lib/spack/spack/cmd/edit.py2
-rw-r--r--lib/spack/spack/cmd/env.py2
-rw-r--r--lib/spack/spack/cmd/extensions.py2
-rw-r--r--lib/spack/spack/cmd/external.py25
-rw-r--r--lib/spack/spack/cmd/fetch.py7
-rw-r--r--lib/spack/spack/cmd/find.py2
-rw-r--r--lib/spack/spack/cmd/flake8.py317
-rw-r--r--lib/spack/spack/cmd/gc.py2
-rw-r--r--lib/spack/spack/cmd/gpg.py2
-rw-r--r--lib/spack/spack/cmd/graph.py2
-rw-r--r--lib/spack/spack/cmd/help.py2
-rw-r--r--lib/spack/spack/cmd/info.py13
-rw-r--r--lib/spack/spack/cmd/install.py13
-rw-r--r--lib/spack/spack/cmd/license.py51
-rw-r--r--lib/spack/spack/cmd/list.py2
-rw-r--r--lib/spack/spack/cmd/load.py4
-rw-r--r--lib/spack/spack/cmd/location.py2
-rw-r--r--lib/spack/spack/cmd/log_parse.py2
-rw-r--r--lib/spack/spack/cmd/maintainers.py2
-rw-r--r--lib/spack/spack/cmd/mark.py2
-rw-r--r--lib/spack/spack/cmd/mirror.py34
-rw-r--r--lib/spack/spack/cmd/module.py5
-rw-r--r--lib/spack/spack/cmd/modules/__init__.py2
-rw-r--r--lib/spack/spack/cmd/modules/lmod.py2
-rw-r--r--lib/spack/spack/cmd/modules/tcl.py2
-rw-r--r--lib/spack/spack/cmd/patch.py8
-rw-r--r--lib/spack/spack/cmd/pkg.py2
-rw-r--r--lib/spack/spack/cmd/providers.py2
-rw-r--r--lib/spack/spack/cmd/pydoc.py2
-rw-r--r--lib/spack/spack/cmd/python.py62
-rw-r--r--lib/spack/spack/cmd/reindex.py2
-rw-r--r--lib/spack/spack/cmd/remove.py2
-rw-r--r--lib/spack/spack/cmd/repo.py2
-rw-r--r--lib/spack/spack/cmd/resource.py2
-rw-r--r--lib/spack/spack/cmd/restage.py2
-rw-r--r--lib/spack/spack/cmd/setup.py163
-rw-r--r--lib/spack/spack/cmd/solve.py2
-rw-r--r--lib/spack/spack/cmd/spec.py2
-rw-r--r--lib/spack/spack/cmd/stage.py8
-rw-r--r--lib/spack/spack/cmd/style.py320
-rw-r--r--lib/spack/spack/cmd/test.py2
-rw-r--r--lib/spack/spack/cmd/test_env.py2
-rw-r--r--lib/spack/spack/cmd/tutorial.py2
-rw-r--r--lib/spack/spack/cmd/undevelop.py2
-rw-r--r--lib/spack/spack/cmd/uninstall.py2
-rw-r--r--lib/spack/spack/cmd/unit_test.py4
-rw-r--r--lib/spack/spack/cmd/unload.py2
-rw-r--r--lib/spack/spack/cmd/url.py2
-rw-r--r--lib/spack/spack/cmd/verify.py2
-rw-r--r--lib/spack/spack/cmd/versions.py54
-rw-r--r--lib/spack/spack/cmd/view.py2
-rw-r--r--lib/spack/spack/compiler.py19
-rw-r--r--lib/spack/spack/compilers/__init__.py6
-rw-r--r--lib/spack/spack/compilers/aocc.py6
-rw-r--r--lib/spack/spack/compilers/apple_clang.py2
-rw-r--r--lib/spack/spack/compilers/arm.py2
-rw-r--r--lib/spack/spack/compilers/cce.py2
-rw-r--r--lib/spack/spack/compilers/clang.py8
-rw-r--r--lib/spack/spack/compilers/fj.py12
-rw-r--r--lib/spack/spack/compilers/gcc.py2
-rw-r--r--lib/spack/spack/compilers/intel.py2
-rw-r--r--lib/spack/spack/compilers/nag.py18
-rw-r--r--lib/spack/spack/compilers/nvhpc.py2
-rw-r--r--lib/spack/spack/compilers/oneapi.py5
-rw-r--r--lib/spack/spack/compilers/pgi.py2
-rw-r--r--lib/spack/spack/compilers/xl.py2
-rw-r--r--lib/spack/spack/compilers/xl_r.py2
-rw-r--r--lib/spack/spack/concretize.py21
-rw-r--r--lib/spack/spack/config.py72
-rw-r--r--lib/spack/spack/container/__init__.py2
-rw-r--r--lib/spack/spack/container/images.py2
-rw-r--r--lib/spack/spack/container/writers/__init__.py2
-rw-r--r--lib/spack/spack/container/writers/docker.py2
-rw-r--r--lib/spack/spack/container/writers/singularity.py2
-rw-r--r--lib/spack/spack/database.py27
-rw-r--r--lib/spack/spack/dependency.py2
-rw-r--r--lib/spack/spack/directives.py28
-rw-r--r--lib/spack/spack/directory_layout.py22
-rw-r--r--lib/spack/spack/environment.py22
-rw-r--r--lib/spack/spack/error.py2
-rw-r--r--lib/spack/spack/extensions.py2
-rw-r--r--lib/spack/spack/fetch_strategy.py18
-rw-r--r--lib/spack/spack/filesystem_view.py2
-rw-r--r--lib/spack/spack/graph.py2
-rw-r--r--lib/spack/spack/hash_types.py6
-rw-r--r--lib/spack/spack/hooks/__init__.py2
-rw-r--r--lib/spack/spack/hooks/extensions.py2
-rw-r--r--lib/spack/spack/hooks/licensing.py2
-rw-r--r--lib/spack/spack/hooks/module_file_generation.py2
-rw-r--r--lib/spack/spack/hooks/permissions_setters.py2
-rw-r--r--lib/spack/spack/hooks/sbang.py2
-rw-r--r--lib/spack/spack/hooks/write_install_manifest.py2
-rw-r--r--lib/spack/spack/install_test.py2
-rw-r--r--lib/spack/spack/installer.py21
-rw-r--r--lib/spack/spack/main.py2
-rw-r--r--lib/spack/spack/mirror.py6
-rw-r--r--lib/spack/spack/mixins.py18
-rw-r--r--lib/spack/spack/modules/__init__.py2
-rw-r--r--lib/spack/spack/modules/common.py5
-rw-r--r--lib/spack/spack/modules/lmod.py5
-rw-r--r--lib/spack/spack/modules/tcl.py5
-rw-r--r--lib/spack/spack/multimethod.py2
-rw-r--r--lib/spack/spack/operating_systems/__init__.py2
-rw-r--r--lib/spack/spack/operating_systems/cray_backend.py2
-rw-r--r--lib/spack/spack/operating_systems/cray_frontend.py2
-rw-r--r--lib/spack/spack/operating_systems/linux_distro.py2
-rw-r--r--lib/spack/spack/operating_systems/mac_os.py2
-rw-r--r--lib/spack/spack/package.py93
-rw-r--r--lib/spack/spack/package_prefs.py2
-rw-r--r--lib/spack/spack/package_test.py2
-rw-r--r--lib/spack/spack/parse.py2
-rw-r--r--lib/spack/spack/patch.py2
-rw-r--r--lib/spack/spack/paths.py2
-rw-r--r--lib/spack/spack/pkgkit.py2
-rw-r--r--lib/spack/spack/platforms/__init__.py2
-rw-r--r--lib/spack/spack/platforms/cray.py2
-rw-r--r--lib/spack/spack/platforms/darwin.py2
-rw-r--r--lib/spack/spack/platforms/linux.py2
-rw-r--r--lib/spack/spack/platforms/test.py2
-rw-r--r--lib/spack/spack/projections.py2
-rw-r--r--lib/spack/spack/provider_index.py2
-rw-r--r--lib/spack/spack/relocate.py2
-rw-r--r--lib/spack/spack/repo.py69
-rw-r--r--lib/spack/spack/report.py2
-rw-r--r--lib/spack/spack/reporter.py2
-rw-r--r--lib/spack/spack/reporters/__init__.py2
-rw-r--r--lib/spack/spack/reporters/cdash.py2
-rw-r--r--lib/spack/spack/reporters/junit.py2
-rw-r--r--lib/spack/spack/resource.py2
-rw-r--r--lib/spack/spack/s3_handler.py2
-rw-r--r--lib/spack/spack/schema/__init__.py2
-rw-r--r--lib/spack/spack/schema/buildcache_spec.py2
-rw-r--r--lib/spack/spack/schema/cdash.py2
-rw-r--r--lib/spack/spack/schema/compilers.py2
-rw-r--r--lib/spack/spack/schema/config.py3
-rw-r--r--lib/spack/spack/schema/container.py2
-rw-r--r--lib/spack/spack/schema/database_index.py2
-rw-r--r--lib/spack/spack/schema/env.py2
-rw-r--r--lib/spack/spack/schema/environment.py9
-rw-r--r--lib/spack/spack/schema/gitlab_ci.py207
-rw-r--r--lib/spack/spack/schema/merged.py2
-rw-r--r--lib/spack/spack/schema/mirrors.py2
-rw-r--r--lib/spack/spack/schema/modules.py2
-rw-r--r--lib/spack/spack/schema/packages.py2
-rw-r--r--lib/spack/spack/schema/projections.py2
-rw-r--r--lib/spack/spack/schema/repos.py2
-rw-r--r--lib/spack/spack/schema/spec.py2
-rw-r--r--lib/spack/spack/schema/upstreams.py2
-rw-r--r--lib/spack/spack/solver/__init__.py2
-rw-r--r--lib/spack/spack/solver/asp.py41
-rw-r--r--lib/spack/spack/solver/concretize.lp26
-rw-r--r--lib/spack/spack/solver/display.lp5
-rw-r--r--lib/spack/spack/spec.py29
-rw-r--r--lib/spack/spack/spec_list.py2
-rw-r--r--lib/spack/spack/stage.py11
-rw-r--r--lib/spack/spack/store.py57
-rw-r--r--lib/spack/spack/subprocess_context.py19
-rw-r--r--lib/spack/spack/tengine.py5
-rw-r--r--lib/spack/spack/test/__init__.py2
-rw-r--r--lib/spack/spack/test/abi.py2
-rw-r--r--lib/spack/spack/test/architecture.py37
-rw-r--r--lib/spack/spack/test/bindist.py554
-rw-r--r--lib/spack/spack/test/build_distribution.py2
-rw-r--r--lib/spack/spack/test/build_environment.py2
-rw-r--r--lib/spack/spack/test/build_system_guess.py2
-rw-r--r--lib/spack/spack/test/build_systems.py2
-rw-r--r--lib/spack/spack/test/buildrequest.py2
-rw-r--r--lib/spack/spack/test/buildtask.py2
-rw-r--r--lib/spack/spack/test/cache_fetch.py2
-rw-r--r--lib/spack/spack/test/cc.py33
-rw-r--r--lib/spack/spack/test/ci.py2
-rw-r--r--lib/spack/spack/test/cmd/__init__.py2
-rw-r--r--lib/spack/spack/test/cmd/activate.py2
-rw-r--r--lib/spack/spack/test/cmd/arch.py2
-rw-r--r--lib/spack/spack/test/cmd/blame.py2
-rw-r--r--lib/spack/spack/test/cmd/build_env.py2
-rw-r--r--lib/spack/spack/test/cmd/buildcache.py2
-rw-r--r--lib/spack/spack/test/cmd/cd.py2
-rw-r--r--lib/spack/spack/test/cmd/ci.py520
-rw-r--r--lib/spack/spack/test/cmd/clean.py2
-rw-r--r--lib/spack/spack/test/cmd/commands.py30
-rw-r--r--lib/spack/spack/test/cmd/common/__init__.py2
-rw-r--r--lib/spack/spack/test/cmd/common/arguments.py2
-rw-r--r--lib/spack/spack/test/cmd/compiler.py2
-rw-r--r--lib/spack/spack/test/cmd/config.py2
-rw-r--r--lib/spack/spack/test/cmd/create.py2
-rw-r--r--lib/spack/spack/test/cmd/debug.py4
-rw-r--r--lib/spack/spack/test/cmd/dependencies.py16
-rw-r--r--lib/spack/spack/test/cmd/dependents.py2
-rw-r--r--lib/spack/spack/test/cmd/deprecate.py2
-rw-r--r--lib/spack/spack/test/cmd/dev_build.py2
-rw-r--r--lib/spack/spack/test/cmd/develop.py2
-rw-r--r--lib/spack/spack/test/cmd/env.py14
-rw-r--r--lib/spack/spack/test/cmd/extensions.py4
-rw-r--r--lib/spack/spack/test/cmd/external.py27
-rw-r--r--lib/spack/spack/test/cmd/find.py8
-rw-r--r--lib/spack/spack/test/cmd/flake8.py28
-rw-r--r--lib/spack/spack/test/cmd/gc.py2
-rw-r--r--lib/spack/spack/test/cmd/gpg.py2
-rw-r--r--lib/spack/spack/test/cmd/graph.py2
-rw-r--r--lib/spack/spack/test/cmd/help.py2
-rw-r--r--lib/spack/spack/test/cmd/info.py2
-rw-r--r--lib/spack/spack/test/cmd/init_py_functions.py2
-rw-r--r--lib/spack/spack/test/cmd/install.py2
-rw-r--r--lib/spack/spack/test/cmd/is_git_repo.py2
-rw-r--r--lib/spack/spack/test/cmd/license.py34
-rw-r--r--lib/spack/spack/test/cmd/list.py8
-rw-r--r--lib/spack/spack/test/cmd/load.py2
-rw-r--r--lib/spack/spack/test/cmd/location.py2
-rw-r--r--lib/spack/spack/test/cmd/maintainers.py2
-rw-r--r--lib/spack/spack/test/cmd/mark.py2
-rw-r--r--lib/spack/spack/test/cmd/mirror.py41
-rw-r--r--lib/spack/spack/test/cmd/module.py14
-rw-r--r--lib/spack/spack/test/cmd/pkg.py4
-rw-r--r--lib/spack/spack/test/cmd/print_shell_vars.py2
-rw-r--r--lib/spack/spack/test/cmd/providers.py2
-rw-r--r--lib/spack/spack/test/cmd/python.py2
-rw-r--r--lib/spack/spack/test/cmd/reindex.py2
-rw-r--r--lib/spack/spack/test/cmd/repo.py2
-rw-r--r--lib/spack/spack/test/cmd/resource.py2
-rw-r--r--lib/spack/spack/test/cmd/spec.py2
-rw-r--r--lib/spack/spack/test/cmd/test.py2
-rw-r--r--lib/spack/spack/test/cmd/undevelop.py6
-rw-r--r--lib/spack/spack/test/cmd/uninstall.py2
-rw-r--r--lib/spack/spack/test/cmd/unit_test.py2
-rw-r--r--lib/spack/spack/test/cmd/url.py2
-rw-r--r--lib/spack/spack/test/cmd/verify.py2
-rw-r--r--lib/spack/spack/test/cmd/versions.py27
-rw-r--r--lib/spack/spack/test/cmd/view.py2
-rw-r--r--lib/spack/spack/test/cmd_extensions.py2
-rw-r--r--lib/spack/spack/test/compilers/__init__.py2
-rw-r--r--lib/spack/spack/test/compilers/basics.py8
-rw-r--r--lib/spack/spack/test/compilers/detection.py13
-rw-r--r--lib/spack/spack/test/concretize.py15
-rw-r--r--lib/spack/spack/test/concretize_preferences.py2
-rw-r--r--lib/spack/spack/test/config.py2
-rw-r--r--lib/spack/spack/test/config_values.py62
-rw-r--r--lib/spack/spack/test/conftest.py200
-rw-r--r--lib/spack/spack/test/container/cli.py2
-rw-r--r--lib/spack/spack/test/container/conftest.py2
-rw-r--r--lib/spack/spack/test/container/docker.py2
-rw-r--r--lib/spack/spack/test/container/images.py2
-rw-r--r--lib/spack/spack/test/container/schema.py2
-rw-r--r--lib/spack/spack/test/container/singularity.py2
-rw-r--r--lib/spack/spack/test/data/sourceme_first.sh2
-rw-r--r--lib/spack/spack/test/data/sourceme_lmod.sh2
-rw-r--r--lib/spack/spack/test/data/sourceme_parameters.sh2
-rw-r--r--lib/spack/spack/test/data/sourceme_second.sh2
-rw-r--r--lib/spack/spack/test/data/sourceme_unicode.sh2
-rw-r--r--lib/spack/spack/test/data/sourceme_unset.sh2
-rw-r--r--lib/spack/spack/test/database.py32
-rw-r--r--lib/spack/spack/test/directives.py2
-rw-r--r--lib/spack/spack/test/directory_layout.py29
-rw-r--r--lib/spack/spack/test/environment_modifications.py2
-rw-r--r--lib/spack/spack/test/fetch_strategy.py2
-rw-r--r--lib/spack/spack/test/flag_handlers.py2
-rw-r--r--lib/spack/spack/test/git_fetch.py2
-rw-r--r--lib/spack/spack/test/graph.py2
-rw-r--r--lib/spack/spack/test/hg_fetch.py2
-rw-r--r--lib/spack/spack/test/install.py98
-rw-r--r--lib/spack/spack/test/installer.py8
-rw-r--r--lib/spack/spack/test/link_paths.py2
-rw-r--r--lib/spack/spack/test/llnl/util/__init__.py2
-rw-r--r--lib/spack/spack/test/llnl/util/argparsewriter.py2
-rw-r--r--lib/spack/spack/test/llnl/util/file_list.py2
-rw-r--r--lib/spack/spack/test/llnl/util/filesystem.py23
-rw-r--r--lib/spack/spack/test/llnl/util/lang.py2
-rw-r--r--lib/spack/spack/test/llnl/util/link_tree.py2
-rw-r--r--lib/spack/spack/test/llnl/util/lock.py2
-rw-r--r--lib/spack/spack/test/llnl/util/tty/__init__.py2
-rw-r--r--lib/spack/spack/test/llnl/util/tty/log.py33
-rw-r--r--lib/spack/spack/test/llnl/util/tty/tty.py2
-rw-r--r--lib/spack/spack/test/main.py2
-rw-r--r--lib/spack/spack/test/make_executable.py2
-rw-r--r--lib/spack/spack/test/mirror.py2
-rw-r--r--lib/spack/spack/test/module_parsing.py2
-rw-r--r--lib/spack/spack/test/modules/__init__.py2
-rw-r--r--lib/spack/spack/test/modules/common.py2
-rw-r--r--lib/spack/spack/test/modules/conftest.py2
-rw-r--r--lib/spack/spack/test/modules/lmod.py2
-rw-r--r--lib/spack/spack/test/modules/tcl.py2
-rw-r--r--lib/spack/spack/test/multimethod.py2
-rw-r--r--lib/spack/spack/test/namespace_trie.py2
-rw-r--r--lib/spack/spack/test/operating_system.py2
-rw-r--r--lib/spack/spack/test/optional_deps.py2
-rw-r--r--lib/spack/spack/test/package_class.py2
-rw-r--r--lib/spack/spack/test/package_hash.py2
-rw-r--r--lib/spack/spack/test/package_sanity.py8
-rw-r--r--lib/spack/spack/test/packages.py2
-rw-r--r--lib/spack/spack/test/packaging.py2
-rw-r--r--lib/spack/spack/test/patch.py2
-rw-r--r--lib/spack/spack/test/pattern.py2
-rw-r--r--lib/spack/spack/test/permissions.py2
-rw-r--r--lib/spack/spack/test/provider_index.py2
-rw-r--r--lib/spack/spack/test/relocate.py2
-rw-r--r--lib/spack/spack/test/repo.py14
-rw-r--r--lib/spack/spack/test/s3_fetch.py2
-rw-r--r--lib/spack/spack/test/sbang.py4
-rw-r--r--lib/spack/spack/test/schema.py2
-rw-r--r--lib/spack/spack/test/spack_yaml.py2
-rw-r--r--lib/spack/spack/test/spec_dag.py10
-rw-r--r--lib/spack/spack/test/spec_list.py2
-rw-r--r--lib/spack/spack/test/spec_semantics.py2
-rw-r--r--lib/spack/spack/test/spec_syntax.py2
-rw-r--r--lib/spack/spack/test/spec_yaml.py56
-rw-r--r--lib/spack/spack/test/stage.py2
-rw-r--r--lib/spack/spack/test/svn_fetch.py2
-rw-r--r--lib/spack/spack/test/tengine.py2
-rw-r--r--lib/spack/spack/test/test_activations.py4
-rw-r--r--lib/spack/spack/test/test_suite.py2
-rw-r--r--lib/spack/spack/test/url_fetch.py2
-rw-r--r--lib/spack/spack/test/url_parse.py2
-rw-r--r--lib/spack/spack/test/url_substitution.py2
-rw-r--r--lib/spack/spack/test/util/__init__.py2
-rw-r--r--lib/spack/spack/test/util/editor.py2
-rw-r--r--lib/spack/spack/test/util/environment.py2
-rw-r--r--lib/spack/spack/test/util/executable.py2
-rw-r--r--lib/spack/spack/test/util/file_cache.py2
-rw-r--r--lib/spack/spack/test/util/log_parser.py2
-rw-r--r--lib/spack/spack/test/util/mock_package.py4
-rw-r--r--lib/spack/spack/test/util/prefix.py2
-rw-r--r--lib/spack/spack/test/util/spack_lock_wrapper.py2
-rw-r--r--lib/spack/spack/test/util/spack_yaml.py2
-rw-r--r--lib/spack/spack/test/util/util_gpg.py2
-rw-r--r--lib/spack/spack/test/util/util_string.py2
-rw-r--r--lib/spack/spack/test/util/util_url.py2
-rw-r--r--lib/spack/spack/test/variant.py2
-rw-r--r--lib/spack/spack/test/verification.py2
-rw-r--r--lib/spack/spack/test/versions.py2
-rw-r--r--lib/spack/spack/test/views.py2
-rw-r--r--lib/spack/spack/test/web.py61
-rw-r--r--lib/spack/spack/url.py16
-rw-r--r--lib/spack/spack/user_environment.py2
-rw-r--r--lib/spack/spack/util/__init__.py2
-rw-r--r--lib/spack/spack/util/compression.py2
-rw-r--r--lib/spack/spack/util/crypto.py6
-rw-r--r--lib/spack/spack/util/debug.py2
-rw-r--r--lib/spack/spack/util/editor.py2
-rw-r--r--lib/spack/spack/util/environment.py2
-rw-r--r--lib/spack/spack/util/executable.py2
-rw-r--r--lib/spack/spack/util/file_cache.py2
-rw-r--r--lib/spack/spack/util/file_permissions.py2
-rw-r--r--lib/spack/spack/util/gpg.py8
-rw-r--r--lib/spack/spack/util/imp/__init__.py2
-rw-r--r--lib/spack/spack/util/imp/imp_importer.py2
-rw-r--r--lib/spack/spack/util/imp/importlib_importer.py2
-rw-r--r--lib/spack/spack/util/lock.py4
-rw-r--r--lib/spack/spack/util/log_parse.py6
-rw-r--r--lib/spack/spack/util/mock_package.py9
-rw-r--r--lib/spack/spack/util/module_cmd.py2
-rw-r--r--lib/spack/spack/util/naming.py2
-rw-r--r--lib/spack/spack/util/package_hash.py2
-rw-r--r--lib/spack/spack/util/path.py2
-rw-r--r--lib/spack/spack/util/pattern.py12
-rw-r--r--lib/spack/spack/util/prefix.py2
-rw-r--r--lib/spack/spack/util/s3.py2
-rw-r--r--lib/spack/spack/util/spack_json.py12
-rw-r--r--lib/spack/spack/util/spack_yaml.py16
-rw-r--r--lib/spack/spack/util/string.py2
-rw-r--r--lib/spack/spack/util/url.py2
-rw-r--r--lib/spack/spack/util/web.py57
-rw-r--r--lib/spack/spack/variant.py13
-rw-r--r--lib/spack/spack/verify.py2
-rw-r--r--lib/spack/spack/version.py17
-rwxr-xr-xshare/spack/bash/spack-completion.in17
-rw-r--r--share/spack/csh/pathadd.csh2
-rw-r--r--share/spack/csh/spack.csh2
-rw-r--r--share/spack/docker/amazonlinux-2.dockerfile70
-rwxr-xr-xshare/spack/docker/entrypoint.bash2
-rw-r--r--share/spack/docker/leap-15.dockerfile61
-rwxr-xr-xshare/spack/docker/package-index/split.sh2
-rw-r--r--share/spack/docs/docker/module-file-tutorial/spack.sh2
-rw-r--r--share/spack/gitlab/cloud_e4s_pipelines.yml24
-rw-r--r--share/spack/gitlab/cloud_e4s_pipelines/.gitlab-ci.yml61
-rw-r--r--share/spack/gitlab/cloud_e4s_pipelines/stacks/e4s/spack.yaml151
-rw-r--r--share/spack/gitlab/nersc_pipeline.yml (renamed from share/spack/gitlab/ascent_pipeline.yml)2
-rwxr-xr-xshare/spack/qa/completion-test.sh78
-rw-r--r--share/spack/qa/flake8_formatter.py147
-rwxr-xr-xshare/spack/qa/run-build-tests2
-rwxr-xr-xshare/spack/qa/run-doc-tests2
-rwxr-xr-xshare/spack/qa/run-shell-tests3
-rwxr-xr-xshare/spack/qa/run-style-tests (renamed from share/spack/qa/run-flake8-tests)6
-rwxr-xr-xshare/spack/qa/run-unit-tests2
-rwxr-xr-xshare/spack/qa/setup-env-test.csh2
-rwxr-xr-xshare/spack/qa/setup-env-test.fish2
-rwxr-xr-xshare/spack/qa/setup-env-test.sh2
-rwxr-xr-xshare/spack/qa/setup.sh6
-rwxr-xr-xshare/spack/qa/test-framework.sh2
-rwxr-xr-xshare/spack/setup-env.csh14
-rwxr-xr-xshare/spack/setup-env.fish17
-rwxr-xr-xshare/spack/setup-env.sh12
-rwxr-xr-xshare/spack/setup-tutorial-env.sh2
-rwxr-xr-xshare/spack/spack-completion.bash83
-rw-r--r--share/spack/templates/misc/coconcretization.pyt2
-rw-r--r--var/spack/repos/builtin.mock/packages/a/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/archive-files/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/b/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/boost/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/bowtie/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/brillig/package.py17
-rw-r--r--var/spack/repos/builtin.mock/packages/build-error/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/build-warnings/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/c/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/callpath/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/canfail/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/cmake-client/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/cmake/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/conditional-constrained-dependencies/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/conditional-provider/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/conditional-virtual-dependency/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/conditionally-patch-dependency/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/conflict-parent/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/conflict/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/conflicting-dependent/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/corge/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/cumulative-vrange-bottom/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/cumulative-vrange-middle/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/cumulative-vrange-root/package.py4
-rw-r--r--var/spack/repos/builtin.mock/packages/dep-diamond-patch-mid1/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/dep-diamond-patch-mid2/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/dep-diamond-patch-top/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/dep-with-variants-if-develop-root/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/dep-with-variants-if-develop/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/dep-with-variants/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/depb/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/dependency-install/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/dependent-install/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/dependent-of-dev-build/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/dev-build-test-dependent/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/dev-build-test-install/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/develop-test/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/develop-test2/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/direct-mpich/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/dt-diamond-bottom/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/dt-diamond-left/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/dt-diamond-right/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/dt-diamond/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/dtbuild1/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/dtbuild2/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/dtbuild3/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/dtlink1/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/dtlink2/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/dtlink3/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/dtlink4/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/dtlink5/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/dtrun1/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/dtrun2/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/dtrun3/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/dttop/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/dtuse/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/dyninst/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/e/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/ecp-viz-sdk/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/extendee/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/extension1/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/extension2/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/external-buildable-with-variant/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/externalmodule/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/externalprereq/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/externaltest/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/externaltool/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/externalvirtual/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/failing-build/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/fake/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/fetch-options/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/fftw/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/find-externals1/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/flake8/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/flatten-deps/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/garply/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/gcc/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/git-svn-top-level/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/git-test/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/git-top-level/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/git-url-svn-top-level/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/git-url-top-level/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/hash-test1/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/hash-test2/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/hash-test3/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/hash-test4/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/hdf5/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/hg-test/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/hg-top-level/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/hypre/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/impossible-concretization/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/indirect-mpich/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/libdwarf/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/libelf/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/libtool-deletion/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/maintainers-1/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/maintainers-2/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/mirror-gnu-broken/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/mirror-gnu/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/mirror-sourceforge-broken/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/mirror-sourceforge/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/mirror-sourceware-broken/mirror-gnu-broken/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/mirror-sourceware-broken/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/mirror-sourceware/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/mirror-xorg-broken/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/mirror-xorg/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/missing-dependency/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/mixedversions/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/module-path-separator/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/mpich/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/mpich2/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/mpileaks/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/multi-provider-mpi/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/multimethod-base/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/multimethod-diamond-parent/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/multimethod-diamond/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/multimethod-inheritor/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/multimethod/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/multimodule-inheritance/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/multivalue-variant/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/needs-relocation/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/netlib-blas/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/netlib-lapack/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/nosource-install/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/nosource/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/noversion-bundle/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/noversion/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/old-sbang/package.py9
-rw-r--r--var/spack/repos/builtin.mock/packages/openblas-with-lapack/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/openblas/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/optional-dep-test-2/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/optional-dep-test-3/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/optional-dep-test/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/othervirtual/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/override-context-templates/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/override-module-templates/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/patch-a-dependency/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/patch-inheritance/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/patch-several-dependencies/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/patch/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/patchelf/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/perl-extension/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/perl/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/preferred-test/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/printing-package/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/py-extension1/package.py5
-rw-r--r--var/spack/repos/builtin.mock/packages/py-extension2/package.py5
-rw-r--r--var/spack/repos/builtin.mock/packages/py-extension3/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/python/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/quantum-espresso/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/quux/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/raiser/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/requires-virtual/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/simple-inheritance/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/singlevalue-variant-dependent-type/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/singlevalue-variant-dependent/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/singlevalue-variant/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/svn-test/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/svn-top-level/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/test-dependency/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/test-error/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/test-fail/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/transitive-conditional-virtual-dependency/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/trivial-install-test-package/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/trivial-pkg-with-valid-hash/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/url-list-test/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/url-only-override-with-gaps/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/url-only-override/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/url-test/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/url_override/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/v1-provider/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/variant-on-dependency-condition-a/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/variant-on-dependency-condition-b/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/variant-on-dependency-condition-root/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/vdefault-or-external-root/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/vdefault-or-external/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/when-directives-false/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/when-directives-true/package.py2
-rw-r--r--var/spack/repos/builtin.mock/packages/zmpi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/3dtk/homebrew.patch18
-rw-r--r--var/spack/repos/builtin/packages/3dtk/package.py92
-rw-r--r--var/spack/repos/builtin/packages/3proxy/package.py2
-rw-r--r--var/spack/repos/builtin/packages/abduco/package.py2
-rw-r--r--var/spack/repos/builtin/packages/abi-compliance-checker/package.py2
-rw-r--r--var/spack/repos/builtin/packages/abi-dumper/package.py2
-rw-r--r--var/spack/repos/builtin/packages/abinit/fix_for_fujitsu.patch215
-rw-r--r--var/spack/repos/builtin/packages/abinit/package.py21
-rw-r--r--var/spack/repos/builtin/packages/abinit/rm_march_settings.patch74
-rw-r--r--var/spack/repos/builtin/packages/abseil-cpp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/abyss/package.py2
-rw-r--r--var/spack/repos/builtin/packages/accfft/package.py2
-rw-r--r--var/spack/repos/builtin/packages/acct/package.py2
-rw-r--r--var/spack/repos/builtin/packages/accumulo/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ace/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ack/package.py2
-rw-r--r--var/spack/repos/builtin/packages/acl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/acpica-tools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/acpid/package.py2
-rw-r--r--var/spack/repos/builtin/packages/activeharmony/package.py2
-rw-r--r--var/spack/repos/builtin/packages/activemq/package.py2
-rw-r--r--var/spack/repos/builtin/packages/acts/package.py27
-rw-r--r--var/spack/repos/builtin/packages/addrwatch/package.py2
-rw-r--r--var/spack/repos/builtin/packages/adept-utils/package.py2
-rw-r--r--var/spack/repos/builtin/packages/adf/package.py4
-rw-r--r--var/spack/repos/builtin/packages/adiak/package.py2
-rw-r--r--var/spack/repos/builtin/packages/adios/package.py2
-rw-r--r--var/spack/repos/builtin/packages/adios2/2.7-fix-python-test-deps.patch175
-rw-r--r--var/spack/repos/builtin/packages/adios2/package.py60
-rw-r--r--var/spack/repos/builtin/packages/adlbx/package.py2
-rw-r--r--var/spack/repos/builtin/packages/admixtools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/adol-c/package.py2
-rw-r--r--var/spack/repos/builtin/packages/advancecomp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/adwaita-icon-theme/package.py27
-rw-r--r--var/spack/repos/builtin/packages/aegean/package.py2
-rw-r--r--var/spack/repos/builtin/packages/aeskeyfind/package.py2
-rw-r--r--var/spack/repos/builtin/packages/aespipe/package.py2
-rw-r--r--var/spack/repos/builtin/packages/agrep/package.py2
-rw-r--r--var/spack/repos/builtin/packages/aida/package.py4
-rw-r--r--var/spack/repos/builtin/packages/akantu/package.py2
-rw-r--r--var/spack/repos/builtin/packages/alan/package.py2
-rw-r--r--var/spack/repos/builtin/packages/albany/package.py2
-rw-r--r--var/spack/repos/builtin/packages/albert/package.py3
-rw-r--r--var/spack/repos/builtin/packages/alglib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/allpaths-lg/package.py2
-rw-r--r--var/spack/repos/builtin/packages/alluxio/package.py2
-rw-r--r--var/spack/repos/builtin/packages/alps/alps_climit.patch11
-rw-r--r--var/spack/repos/builtin/packages/alps/alps_cmake_time.patch11
-rw-r--r--var/spack/repos/builtin/packages/alps/alps_newgcc.patch59
-rw-r--r--var/spack/repos/builtin/packages/alps/package.py12
-rw-r--r--var/spack/repos/builtin/packages/alquimia/package.py2
-rw-r--r--var/spack/repos/builtin/packages/alsa-lib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/aluminum/package.py33
-rw-r--r--var/spack/repos/builtin/packages/ambari/package.py2
-rw-r--r--var/spack/repos/builtin/packages/amber/package.py4
-rw-r--r--var/spack/repos/builtin/packages/amdblis/package.py2
-rw-r--r--var/spack/repos/builtin/packages/amdfftw/package.py2
-rw-r--r--var/spack/repos/builtin/packages/amdlibflame/package.py2
-rwxr-xr-xvar/spack/repos/builtin/packages/amdlibm/0001-libm-ose-Scripts-cleanup-pyc-files.patch601
-rwxr-xr-xvar/spack/repos/builtin/packages/amdlibm/0002-libm-ose-prevent-log-v3.c-from-building.patch25
-rw-r--r--var/spack/repos/builtin/packages/amdlibm/package.py72
-rw-r--r--var/spack/repos/builtin/packages/amdscalapack/package.py2
-rw-r--r--var/spack/repos/builtin/packages/amg/package.py2
-rw-r--r--var/spack/repos/builtin/packages/amg2013/package.py2
-rw-r--r--var/spack/repos/builtin/packages/amgx/package.py2
-rw-r--r--var/spack/repos/builtin/packages/aml/package.py2
-rw-r--r--var/spack/repos/builtin/packages/amp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ampliconnoise/package.py2
-rw-r--r--var/spack/repos/builtin/packages/amrex/package.py62
-rw-r--r--var/spack/repos/builtin/packages/amrvis/package.py2
-rw-r--r--var/spack/repos/builtin/packages/anaconda2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/anaconda3/package.py2
-rw-r--r--var/spack/repos/builtin/packages/andi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/angsd/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ant/package.py2
-rw-r--r--var/spack/repos/builtin/packages/antimony/package.py2
-rw-r--r--var/spack/repos/builtin/packages/antlr/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ants/package.py2
-rwxr-xr-xvar/spack/repos/builtin/packages/aocc/package.py9
-rw-r--r--var/spack/repos/builtin/packages/aoflagger/package.py2
-rw-r--r--var/spack/repos/builtin/packages/aom/package.py2
-rw-r--r--var/spack/repos/builtin/packages/aomp/0001-Add-cmake-option-for-copying-source-for-debugging.patch28
-rw-r--r--var/spack/repos/builtin/packages/aomp/package.py470
-rw-r--r--var/spack/repos/builtin/packages/apachetop/package.py2
-rw-r--r--var/spack/repos/builtin/packages/apcomp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ape/package.py2
-rw-r--r--var/spack/repos/builtin/packages/aperture-photometry/package.py2
-rw-r--r--var/spack/repos/builtin/packages/apex/package.py2
-rw-r--r--var/spack/repos/builtin/packages/apfel/package.py37
-rw-r--r--var/spack/repos/builtin/packages/apple-libunwind/package.py2
-rw-r--r--var/spack/repos/builtin/packages/apple-libuuid/package.py45
-rw-r--r--var/spack/repos/builtin/packages/applewmproto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/appres/package.py4
-rw-r--r--var/spack/repos/builtin/packages/apr-util/package.py2
-rw-r--r--var/spack/repos/builtin/packages/apr/package.py4
-rw-r--r--var/spack/repos/builtin/packages/aragorn/package.py2
-rw-r--r--var/spack/repos/builtin/packages/arbor/package.py99
-rw-r--r--var/spack/repos/builtin/packages/arborx/package.py2
-rw-r--r--var/spack/repos/builtin/packages/archer/package.py2
-rw-r--r--var/spack/repos/builtin/packages/argobots/package.py2
-rw-r--r--var/spack/repos/builtin/packages/argon2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/argp-standalone/package.py2
-rw-r--r--var/spack/repos/builtin/packages/argtable/package.py2
-rw-r--r--var/spack/repos/builtin/packages/aria2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/arm-forge/package.py2
-rw-r--r--var/spack/repos/builtin/packages/arm/package.py86
-rw-r--r--var/spack/repos/builtin/packages/armadillo/package.py2
-rw-r--r--var/spack/repos/builtin/packages/arpack-ng/package.py5
-rw-r--r--var/spack/repos/builtin/packages/arrayfire/package.py27
-rw-r--r--var/spack/repos/builtin/packages/arrow/package.py2
-rw-r--r--var/spack/repos/builtin/packages/asagi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ascent/package.py5
-rw-r--r--var/spack/repos/builtin/packages/asciidoc-py3/package.py2
-rw-r--r--var/spack/repos/builtin/packages/asciidoc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/asdcplib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/asdf-cxx/package.py6
-rw-r--r--var/spack/repos/builtin/packages/aspa/package.py2
-rw-r--r--var/spack/repos/builtin/packages/aspcud/package.py5
-rw-r--r--var/spack/repos/builtin/packages/aspect/package.py2
-rw-r--r--var/spack/repos/builtin/packages/aspell/package.py2
-rw-r--r--var/spack/repos/builtin/packages/aspell6-de/package.py2
-rw-r--r--var/spack/repos/builtin/packages/aspell6-en/package.py2
-rw-r--r--var/spack/repos/builtin/packages/aspell6-es/package.py2
-rw-r--r--var/spack/repos/builtin/packages/aspera-cli/package.py2
-rw-r--r--var/spack/repos/builtin/packages/assimp/package.py5
-rw-r--r--var/spack/repos/builtin/packages/astra/package.py2
-rw-r--r--var/spack/repos/builtin/packages/astral/package.py2
-rw-r--r--var/spack/repos/builtin/packages/astyle/package.py9
-rw-r--r--var/spack/repos/builtin/packages/at-spi2-atk/package.py2
-rw-r--r--var/spack/repos/builtin/packages/at-spi2-core/package.py2
-rw-r--r--var/spack/repos/builtin/packages/atf/package.py2
-rw-r--r--var/spack/repos/builtin/packages/athena/package.py2
-rw-r--r--var/spack/repos/builtin/packages/atk/package.py6
-rw-r--r--var/spack/repos/builtin/packages/atlas/package.py2
-rw-r--r--var/spack/repos/builtin/packages/atmi/package.py8
-rw-r--r--var/spack/repos/builtin/packages/atom-dft/package.py2
-rw-r--r--var/spack/repos/builtin/packages/atompaw/package.py2
-rw-r--r--var/spack/repos/builtin/packages/atop/package.py2
-rw-r--r--var/spack/repos/builtin/packages/attr/package.py2
-rw-r--r--var/spack/repos/builtin/packages/audacious/package.py2
-rw-r--r--var/spack/repos/builtin/packages/audacity/package.py2
-rw-r--r--var/spack/repos/builtin/packages/audit-userspace/package.py2
-rw-r--r--var/spack/repos/builtin/packages/augustus/package.py2
-rw-r--r--var/spack/repos/builtin/packages/authd/package.py2
-rw-r--r--var/spack/repos/builtin/packages/authselect/package.py2
-rw-r--r--var/spack/repos/builtin/packages/autoconf-archive/package.py2
-rw-r--r--var/spack/repos/builtin/packages/autoconf/package.py24
-rw-r--r--var/spack/repos/builtin/packages/autodock-gpu/package.py2
-rw-r--r--var/spack/repos/builtin/packages/autodock-vina/package.py2
-rw-r--r--var/spack/repos/builtin/packages/autofact/package.py2
-rw-r--r--var/spack/repos/builtin/packages/autogen/package.py2
-rw-r--r--var/spack/repos/builtin/packages/automaded/package.py2
-rw-r--r--var/spack/repos/builtin/packages/automake/package.py12
-rw-r--r--var/spack/repos/builtin/packages/avizo/package.py4
-rw-r--r--var/spack/repos/builtin/packages/aws-parallelcluster/package.py24
-rw-r--r--var/spack/repos/builtin/packages/awscli/package.py5
-rw-r--r--var/spack/repos/builtin/packages/axel/package.py2
-rw-r--r--var/spack/repos/builtin/packages/axl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/axom/package.py2
-rw-r--r--var/spack/repos/builtin/packages/babelflow/package.py3
-rw-r--r--var/spack/repos/builtin/packages/babeltrace/package.py4
-rw-r--r--var/spack/repos/builtin/packages/backupninja/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bam-readcount/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bamaddrg/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bamdst/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bamtools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bamutil/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bannergrab/package.py2
-rw-r--r--var/spack/repos/builtin/packages/barrnap/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bart/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bash-completion/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bash/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bashtop/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bat/package.py2
-rw-r--r--var/spack/repos/builtin/packages/batctl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bats/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bazel/linux_ppc-0.29.1.patch61
-rw-r--r--var/spack/repos/builtin/packages/bazel/package.py17
-rw-r--r--var/spack/repos/builtin/packages/bbcp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bbmap/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bcache/package.py3
-rw-r--r--var/spack/repos/builtin/packages/bcftools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bcl2fastq2/package.py4
-rw-r--r--var/spack/repos/builtin/packages/bdftopcf/package.py6
-rw-r--r--var/spack/repos/builtin/packages/bdii/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bdw-gc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/beagle/package.py2
-rw-r--r--var/spack/repos/builtin/packages/beakerlib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bear/package.py2
-rw-r--r--var/spack/repos/builtin/packages/beast-tracer/package.py2
-rw-r--r--var/spack/repos/builtin/packages/beast1/package.py2
-rw-r--r--var/spack/repos/builtin/packages/beast2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bedops/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bedtools2/package.py3
-rw-r--r--var/spack/repos/builtin/packages/beforelight/package.py2
-rw-r--r--var/spack/repos/builtin/packages/benchmark/package.py2
-rw-r--r--var/spack/repos/builtin/packages/berkeley-db/package.py12
-rw-r--r--var/spack/repos/builtin/packages/bertini/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bgpdump/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bib2xhtml/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bigreqsproto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bind9/package.py2
-rw-r--r--var/spack/repos/builtin/packages/binutils/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bioawk/package.py2
-rw-r--r--var/spack/repos/builtin/packages/biobambam2/package.py46
-rw-r--r--var/spack/repos/builtin/packages/biobloom/package.py2
-rw-r--r--var/spack/repos/builtin/packages/biopieces/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bird/package.py4
-rw-r--r--var/spack/repos/builtin/packages/bismark/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bison/package.py7
-rw-r--r--var/spack/repos/builtin/packages/bitlbee/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bitmap/package.py6
-rw-r--r--var/spack/repos/builtin/packages/bitsery/package.py2
-rw-r--r--var/spack/repos/builtin/packages/blaspp/package.py9
-rw-r--r--var/spack/repos/builtin/packages/blasr-libcpp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/blasr/package.py2
-rw-r--r--var/spack/repos/builtin/packages/blast-legacy/package.py4
-rw-r--r--var/spack/repos/builtin/packages/blast-plus/package.py5
-rw-r--r--var/spack/repos/builtin/packages/blast2go/package.py7
-rw-r--r--var/spack/repos/builtin/packages/blat/package.py2
-rw-r--r--var/spack/repos/builtin/packages/blaze/package.py2
-rw-r--r--var/spack/repos/builtin/packages/blis/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bliss/package.py2
-rw-r--r--var/spack/repos/builtin/packages/blitz/package.py8
-rw-r--r--var/spack/repos/builtin/packages/blktrace/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bloaty/package.py18
-rw-r--r--var/spack/repos/builtin/packages/blogbench/package.py2
-rw-r--r--var/spack/repos/builtin/packages/blt/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bmake/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bmi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bml/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bohrium/package.py2
-rw-r--r--var/spack/repos/builtin/packages/boinc-client/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bolt/package.py4
-rw-r--r--var/spack/repos/builtin/packages/bonniepp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bookleaf-cpp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/boost/boost_218.patch10
-rw-r--r--var/spack/repos/builtin/packages/boost/package.py9
-rw-r--r--var/spack/repos/builtin/packages/boostmplcartesianproduct/package.py2
-rw-r--r--var/spack/repos/builtin/packages/botan/package.py5
-rw-r--r--var/spack/repos/builtin/packages/bowtie/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bowtie2/package.py65
-rw-r--r--var/spack/repos/builtin/packages/boxlib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bpp-core/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bpp-phyl-omics/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bpp-phyl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bpp-seq-omics/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bpp-seq/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bpp-suite/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bracken/package.py2
-rw-r--r--var/spack/repos/builtin/packages/braker/package.py2
-rw-r--r--var/spack/repos/builtin/packages/branson/package.py4
-rw-r--r--var/spack/repos/builtin/packages/breakdancer/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bref3/package.py4
-rw-r--r--var/spack/repos/builtin/packages/breseq/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bridger/package.py2
-rw-r--r--var/spack/repos/builtin/packages/brigand/package.py2
-rw-r--r--var/spack/repos/builtin/packages/brltty/package.py2
-rw-r--r--var/spack/repos/builtin/packages/brotli/package.py2
-rw-r--r--var/spack/repos/builtin/packages/brpc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bsseeker2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bubblewrap/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bucky/package.py2
-rw-r--r--var/spack/repos/builtin/packages/buddy/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bumpversion/package.py5
-rw-r--r--var/spack/repos/builtin/packages/busco/package.py2
-rw-r--r--var/spack/repos/builtin/packages/busybox/package.py2
-rw-r--r--var/spack/repos/builtin/packages/butter/package.py2
-rw-r--r--var/spack/repos/builtin/packages/butterflypack/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bwa/bwa_for_aarch64.patch2
-rw-r--r--var/spack/repos/builtin/packages/bwa/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bwtool/package.py2
-rw-r--r--var/spack/repos/builtin/packages/byacc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/byobu/package.py2
-rw-r--r--var/spack/repos/builtin/packages/byte-unixbench/package.py2
-rw-r--r--var/spack/repos/builtin/packages/byteman/package.py2
-rw-r--r--var/spack/repos/builtin/packages/bzip2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/c-ares/package.py2
-rw-r--r--var/spack/repos/builtin/packages/c-blosc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/c-blosc2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/c-lime/package.py2
-rw-r--r--var/spack/repos/builtin/packages/c/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cabana/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cachefilesd/package.py2
-rw-r--r--var/spack/repos/builtin/packages/caffe/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cairo/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cairomm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/caliper/package.py8
-rw-r--r--var/spack/repos/builtin/packages/callflow/package.py43
-rw-r--r--var/spack/repos/builtin/packages/callpath/package.py2
-rw-r--r--var/spack/repos/builtin/packages/camellia/package.py2
-rw-r--r--var/spack/repos/builtin/packages/camp/package.py12
-rw-r--r--var/spack/repos/builtin/packages/camx/package.py2
-rw-r--r--var/spack/repos/builtin/packages/canal/package.py2
-rw-r--r--var/spack/repos/builtin/packages/candle-benchmarks/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cantera/package.py2
-rw-r--r--var/spack/repos/builtin/packages/canu/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cap3/package.py2
-rw-r--r--var/spack/repos/builtin/packages/capnproto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/capstone/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cardioid/package.py2
-rw-r--r--var/spack/repos/builtin/packages/care/package.py138
-rw-r--r--var/spack/repos/builtin/packages/casacore/package.py4
-rw-r--r--var/spack/repos/builtin/packages/cask/package.py2
-rw-r--r--var/spack/repos/builtin/packages/casper/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cassandra/package.py2
-rw-r--r--var/spack/repos/builtin/packages/catalyst/package.py4
-rw-r--r--var/spack/repos/builtin/packages/catch2/package.py10
-rw-r--r--var/spack/repos/builtin/packages/cbc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cbench/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cbflib/cbf_f16.patch17
-rw-r--r--var/spack/repos/builtin/packages/cbflib/cbf_int.patch11
-rw-r--r--var/spack/repos/builtin/packages/cbflib/checkint.c4
-rw-r--r--var/spack/repos/builtin/packages/cbflib/package.py43
-rw-r--r--var/spack/repos/builtin/packages/cblas/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cbtf-argonavis-gui/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cbtf-argonavis/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cbtf-krell/package.py4
-rw-r--r--var/spack/repos/builtin/packages/cbtf-lanl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cbtf/package.py4
-rw-r--r--var/spack/repos/builtin/packages/cc65/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ccache/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ccfits/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ccls/package.py25
-rw-r--r--var/spack/repos/builtin/packages/ccs-qcd/package.py4
-rw-r--r--var/spack/repos/builtin/packages/cctools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cdbfasta/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cdd/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cddlib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cdecimal/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cdhit/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cdo/package.py14
-rw-r--r--var/spack/repos/builtin/packages/ceed/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cereal/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ceres-solver/package.py3
-rw-r--r--var/spack/repos/builtin/packages/cfitsio/package.py20
-rw-r--r--var/spack/repos/builtin/packages/cgal/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cgdb/package.py5
-rw-r--r--var/spack/repos/builtin/packages/cgdcbxd/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cget/package.py4
-rw-r--r--var/spack/repos/builtin/packages/cgl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cgm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cgns/package.py4
-rw-r--r--var/spack/repos/builtin/packages/chai/package.py25
-rw-r--r--var/spack/repos/builtin/packages/changa/package.py2
-rw-r--r--var/spack/repos/builtin/packages/channelflow/package.py2
-rw-r--r--var/spack/repos/builtin/packages/chapel/package.py2
-rw-r--r--var/spack/repos/builtin/packages/charliecloud/package.py4
-rw-r--r--var/spack/repos/builtin/packages/charmpp/charm_6.7.1_aocc.patch188
-rw-r--r--var/spack/repos/builtin/packages/charmpp/charm_6.8.2_aocc.patch165
-rw-r--r--var/spack/repos/builtin/packages/charmpp/package.py56
-rw-r--r--var/spack/repos/builtin/packages/chatterbug/package.py2
-rw-r--r--var/spack/repos/builtin/packages/check/package.py2
-rw-r--r--var/spack/repos/builtin/packages/chgcentre/package.py2
-rw-r--r--var/spack/repos/builtin/packages/chill/package.py2
-rw-r--r--var/spack/repos/builtin/packages/chlorop/package.py3
-rw-r--r--var/spack/repos/builtin/packages/chombo/package.py2
-rw-r--r--var/spack/repos/builtin/packages/chrony/package.py3
-rw-r--r--var/spack/repos/builtin/packages/chrpath/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cinch/package.py2
-rw-r--r--var/spack/repos/builtin/packages/circos/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cistem/package.py2
-rw-r--r--var/spack/repos/builtin/packages/citcoms/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cityhash/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ck/package.py2
-rw-r--r--var/spack/repos/builtin/packages/clamav/package.py2
-rw-r--r--var/spack/repos/builtin/packages/clamr/package.py4
-rw-r--r--var/spack/repos/builtin/packages/clapack/package.py2
-rw-r--r--var/spack/repos/builtin/packages/clara/package.py2
-rw-r--r--var/spack/repos/builtin/packages/claw/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cleaveland4/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cleverleaf/package.py2
-rw-r--r--var/spack/repos/builtin/packages/clfft/package.py2
-rw-r--r--var/spack/repos/builtin/packages/clhep/package.py5
-rw-r--r--var/spack/repos/builtin/packages/cli11/package.py26
-rw-r--r--var/spack/repos/builtin/packages/clinfo/package.py2
-rw-r--r--var/spack/repos/builtin/packages/clingo-bootstrap/package.py51
-rw-r--r--var/spack/repos/builtin/packages/clingo/package.py22
-rw-r--r--var/spack/repos/builtin/packages/cln/package.py3
-rw-r--r--var/spack/repos/builtin/packages/cloc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cloog/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cloverleaf/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cloverleaf3d/package.py2
-rw-r--r--var/spack/repos/builtin/packages/clp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/clustal-omega/package.py2
-rw-r--r--var/spack/repos/builtin/packages/clustalw/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cmake/package.py16
-rw-r--r--var/spack/repos/builtin/packages/cmaq/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cmark/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cminpack/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cmocka/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cmockery/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cmor/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cnmem/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cnpy/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cntk/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cntk1bitsgd/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cnvnator/package.py4
-rw-r--r--var/spack/repos/builtin/packages/codar-cheetah/package.py2
-rw-r--r--var/spack/repos/builtin/packages/code-server/package.py2
-rw-r--r--var/spack/repos/builtin/packages/codec2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/codes/package.py4
-rw-r--r--var/spack/repos/builtin/packages/coevp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cohmm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/coin3d/package.py8
-rw-r--r--var/spack/repos/builtin/packages/coinhsl/package.py3
-rw-r--r--var/spack/repos/builtin/packages/coinutils/package.py2
-rw-r--r--var/spack/repos/builtin/packages/collectd/package.py3
-rw-r--r--var/spack/repos/builtin/packages/collier/package.py4
-rw-r--r--var/spack/repos/builtin/packages/colm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/colordiff/package.py2
-rw-r--r--var/spack/repos/builtin/packages/comd/package.py2
-rw-r--r--var/spack/repos/builtin/packages/comgr/hip-tests.patch11
-rw-r--r--var/spack/repos/builtin/packages/comgr/package.py19
-rw-r--r--var/spack/repos/builtin/packages/commons-lang/package.py2
-rw-r--r--var/spack/repos/builtin/packages/commons-lang3/package.py2
-rw-r--r--var/spack/repos/builtin/packages/commons-logging/package.py2
-rw-r--r--var/spack/repos/builtin/packages/compiz/package.py2
-rw-r--r--var/spack/repos/builtin/packages/compositeproto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/conda4aarch64/package.py2
-rw-r--r--var/spack/repos/builtin/packages/conduit/package.py10
-rw-r--r--var/spack/repos/builtin/packages/connect-proxy/package.py2
-rw-r--r--var/spack/repos/builtin/packages/conserver/package.py2
-rw-r--r--var/spack/repos/builtin/packages/console-bridge/package.py2
-rw-r--r--var/spack/repos/builtin/packages/constype/package.py2
-rw-r--r--var/spack/repos/builtin/packages/consul/package.py2
-rw-r--r--var/spack/repos/builtin/packages/converge/package.py2
-rw-r--r--var/spack/repos/builtin/packages/corenlp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/coreutils/package.py2
-rw-r--r--var/spack/repos/builtin/packages/corset/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cosbench/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cosma/package.py3
-rw-r--r--var/spack/repos/builtin/packages/cosmoflow-benchmark/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cosmomc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cosp2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cotter/package.py2
-rw-r--r--var/spack/repos/builtin/packages/couchdb/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cowsay/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cp2k/package.py119
-rw-r--r--var/spack/repos/builtin/packages/cpio/package.py4
-rw-r--r--var/spack/repos/builtin/packages/cpmd/package.py101
-rw-r--r--var/spack/repos/builtin/packages/cpmd/test/1-h2o-pbc-geoopt.inp51
-rw-r--r--var/spack/repos/builtin/packages/cpmd/test/H_CVB_BLYP.psp28
-rw-r--r--var/spack/repos/builtin/packages/cpmd/test/O_MT_BLYP.psp1301
-rw-r--r--var/spack/repos/builtin/packages/cpp-httplib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cppad/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cppcheck/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cppgsl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cpprestsdk/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cppunit/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cppzmq/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cpu-features/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cpuinfo/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cqrlib/cqr.patch20
-rw-r--r--var/spack/repos/builtin/packages/cqrlib/package.py28
-rw-r--r--var/spack/repos/builtin/packages/cquery/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cracklib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cradl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cram/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cray-fftw/package.py34
-rwxr-xr-xvar/spack/repos/builtin/packages/cray-libsci/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cray-mpich/package.py60
-rw-r--r--var/spack/repos/builtin/packages/cromwell-womtool/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cromwell/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cronie/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cryptopp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cryptsetup/package.py6
-rw-r--r--var/spack/repos/builtin/packages/csa-c/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cscope/package.py2
-rw-r--r--var/spack/repos/builtin/packages/csdp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ctffind/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ctpl/package.py3
-rw-r--r--var/spack/repos/builtin/packages/ctre/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cub/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cube/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cubelib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cubew/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cubist/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cuda-memtest/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cuda/package.py36
-rw-r--r--var/spack/repos/builtin/packages/cudnn/package.py333
-rw-r--r--var/spack/repos/builtin/packages/cufflinks/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cunit/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cups/package.py2
-rw-r--r--var/spack/repos/builtin/packages/curl/package.py9
-rw-r--r--var/spack/repos/builtin/packages/cusz/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cvector/package.py25
-rw-r--r--var/spack/repos/builtin/packages/cvs/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cxx/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cxxopts/package.py2
-rw-r--r--var/spack/repos/builtin/packages/cxxtest/package.py18
-rw-r--r--var/spack/repos/builtin/packages/cyrus-sasl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/czmq/package.py4
-rw-r--r--var/spack/repos/builtin/packages/dakota/package.py3
-rw-r--r--var/spack/repos/builtin/packages/daligner/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dalton/package.py46
-rw-r--r--var/spack/repos/builtin/packages/damageproto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/damaris/package.py2
-rw-r--r--var/spack/repos/builtin/packages/damselfly/package.py2
-rw-r--r--var/spack/repos/builtin/packages/darshan-runtime/package.py2
-rw-r--r--var/spack/repos/builtin/packages/darshan-util/package.py6
-rw-r--r--var/spack/repos/builtin/packages/dash/package.py2
-rw-r--r--var/spack/repos/builtin/packages/datamash/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dataspaces/package.py2
-rw-r--r--var/spack/repos/builtin/packages/datatransferkit/package.py2
-rw-r--r--var/spack/repos/builtin/packages/date/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dateutils/package.py2
-rw-r--r--var/spack/repos/builtin/packages/davix/package.py11
-rw-r--r--var/spack/repos/builtin/packages/dbcsr/package.py94
-rw-r--r--var/spack/repos/builtin/packages/dbow2/package.py21
-rw-r--r--var/spack/repos/builtin/packages/dbus-glib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dbus/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dbxtool/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dcap/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dcmtk/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dd4hep/package.py64
-rw-r--r--var/spack/repos/builtin/packages/ddd/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dealii-parameter-gui/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dealii/package.py60
-rw-r--r--var/spack/repos/builtin/packages/debbuild/package.py2
-rw-r--r--var/spack/repos/builtin/packages/decentralized-internet/package.py2
-rw-r--r--var/spack/repos/builtin/packages/deconseq-standalone/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dejagnu/package.py2
-rw-r--r--var/spack/repos/builtin/packages/delly2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/delphes/package.py8
-rw-r--r--var/spack/repos/builtin/packages/delta/package.py2
-rw-r--r--var/spack/repos/builtin/packages/denovogear/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dftbplus/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dftd3-lib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dftfe/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dhpmm-f/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dhtest/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dia/package.py4
-rw-r--r--var/spack/repos/builtin/packages/dialign-tx/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dialign/package.py2
-rw-r--r--var/spack/repos/builtin/packages/diamond/package.py2
-rw-r--r--var/spack/repos/builtin/packages/diffmark/package.py2
-rw-r--r--var/spack/repos/builtin/packages/diffsplice/package.py2
-rw-r--r--var/spack/repos/builtin/packages/diffutils/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dihydrogen/package.py45
-rw-r--r--var/spack/repos/builtin/packages/dimemas/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ding-libs/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dire/package.py4
-rw-r--r--var/spack/repos/builtin/packages/direnv/package.py2
-rw-r--r--var/spack/repos/builtin/packages/discovar/package.py2
-rw-r--r--var/spack/repos/builtin/packages/discovardenovo/package.py2
-rw-r--r--var/spack/repos/builtin/packages/disktype/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dislin/package.py2
-rw-r--r--var/spack/repos/builtin/packages/distcc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/diy/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dlib/package.py21
-rw-r--r--var/spack/repos/builtin/packages/dlpack/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dmd/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dmidecode/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dmlc-core/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dmtcp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dmxproto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dnsmap/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dnsmasq/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dnstop/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dnstracer/package.py2
-rw-r--r--var/spack/repos/builtin/packages/docbook-xml/package.py2
-rw-r--r--var/spack/repos/builtin/packages/docbook-xsl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dock/package.py3
-rw-r--r--var/spack/repos/builtin/packages/dos2unix/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dosfstools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dotconf/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dotnet-core-sdk/package.py2
-rw-r--r--var/spack/repos/builtin/packages/double-conversion/package.py2
-rw-r--r--var/spack/repos/builtin/packages/doxygen/gcc-partial-inlining-bug.patch14
-rw-r--r--var/spack/repos/builtin/packages/doxygen/package.py29
-rw-r--r--var/spack/repos/builtin/packages/dpdk/package.py12
-rw-r--r--var/spack/repos/builtin/packages/draco/package.py10
-rw-r--r--var/spack/repos/builtin/packages/dracut/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dramsim2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dray/package.py43
-rw-r--r--var/spack/repos/builtin/packages/dri2proto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dri3proto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/drill/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dropwatch/package.py2
-rw-r--r--var/spack/repos/builtin/packages/druid/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ds/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dsdp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dsqss/ctest.patch24
-rw-r--r--var/spack/repos/builtin/packages/dsqss/package.py47
-rw-r--r--var/spack/repos/builtin/packages/dsrc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dssp/package.py20
-rw-r--r--var/spack/repos/builtin/packages/dtcmp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/duperemove/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dyninst/package.py2
-rw-r--r--var/spack/repos/builtin/packages/dysco/package.py2
-rw-r--r--var/spack/repos/builtin/packages/e2fsprogs/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ea-utils/package.py2
-rw-r--r--var/spack/repos/builtin/packages/eagle/package.py2
-rw-r--r--var/spack/repos/builtin/packages/earlyoom/package.py2
-rw-r--r--var/spack/repos/builtin/packages/easybuild/package.py4
-rw-r--r--var/spack/repos/builtin/packages/ebms/package.py2
-rw-r--r--var/spack/repos/builtin/packages/eccodes/package.py6
-rw-r--r--var/spack/repos/builtin/packages/ecdsautils/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ecflow/package.py2
-rw-r--r--var/spack/repos/builtin/packages/eclipse-gcj-parser/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ecos/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ecp-data-vis-sdk/package.py115
-rw-r--r--var/spack/repos/builtin/packages/ecp-io-sdk/package.py34
-rw-r--r--var/spack/repos/builtin/packages/ecp-proxy-apps/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ecp-viz-sdk/package.py39
-rw-r--r--var/spack/repos/builtin/packages/ed/package.py2
-rw-r--r--var/spack/repos/builtin/packages/editline/package.py2
-rw-r--r--var/spack/repos/builtin/packages/editres/package.py2
-rw-r--r--var/spack/repos/builtin/packages/edm4hep/package.py72
-rw-r--r--var/spack/repos/builtin/packages/eem/package.py2
-rw-r--r--var/spack/repos/builtin/packages/efivar/package.py2
-rw-r--r--var/spack/repos/builtin/packages/eigen/package.py2
-rw-r--r--var/spack/repos/builtin/packages/eigenexa/fj_compiler.patch64
-rw-r--r--var/spack/repos/builtin/packages/eigenexa/gcc_compiler.patch29
-rw-r--r--var/spack/repos/builtin/packages/eigenexa/package.py69
-rw-r--r--var/spack/repos/builtin/packages/eigenexa/test/result-check.sh36
-rw-r--r--var/spack/repos/builtin/packages/eigenexa/test/run-test.sh4
-rw-r--r--var/spack/repos/builtin/packages/elasticsearch/package.py2
-rw-r--r--var/spack/repos/builtin/packages/elemental/package.py2
-rw-r--r--var/spack/repos/builtin/packages/elfutils/package.py2
-rw-r--r--var/spack/repos/builtin/packages/elk/package.py2
-rw-r--r--var/spack/repos/builtin/packages/elmerfem/package.py2
-rw-r--r--var/spack/repos/builtin/packages/elpa/package.py24
-rw-r--r--var/spack/repos/builtin/packages/elsd/package.py2
-rw-r--r--var/spack/repos/builtin/packages/elsdc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/elsi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/emacs/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ember/package.py2
-rw-r--r--var/spack/repos/builtin/packages/emboss/package.py2
-rw-r--r--var/spack/repos/builtin/packages/embree/package.py2
-rw-r--r--var/spack/repos/builtin/packages/enca/package.py2
-rw-r--r--var/spack/repos/builtin/packages/enchant/package.py2
-rw-r--r--var/spack/repos/builtin/packages/energyplus/package.py2
-rw-r--r--var/spack/repos/builtin/packages/entrezdirect/package.py2
-rw-r--r--var/spack/repos/builtin/packages/entt/package.py2
-rw-r--r--var/spack/repos/builtin/packages/environment-modules/package.py5
-rw-r--r--var/spack/repos/builtin/packages/enzo/for_aarch64.patch11
-rw-r--r--var/spack/repos/builtin/packages/enzo/package.py67
-rw-r--r--var/spack/repos/builtin/packages/eospac/package.py13
-rw-r--r--var/spack/repos/builtin/packages/eq-r/package.py2
-rw-r--r--var/spack/repos/builtin/packages/er/package.py2
-rw-r--r--var/spack/repos/builtin/packages/erfa/package.py2
-rw-r--r--var/spack/repos/builtin/packages/erlang/package.py4
-rw-r--r--var/spack/repos/builtin/packages/ermod/package.py2
-rw-r--r--var/spack/repos/builtin/packages/erne/package.py2
-rw-r--r--var/spack/repos/builtin/packages/es-shell/package.py3
-rw-r--r--var/spack/repos/builtin/packages/esmf/package.py11
-rw-r--r--var/spack/repos/builtin/packages/espanso/package.py2
-rw-r--r--var/spack/repos/builtin/packages/essl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/etcd/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ethminer/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ethtool/package.py2
-rw-r--r--var/spack/repos/builtin/packages/etsf-io/package.py2
-rw-r--r--var/spack/repos/builtin/packages/evemu/package.py2
-rw-r--r--var/spack/repos/builtin/packages/everytrace-example/package.py2
-rw-r--r--var/spack/repos/builtin/packages/everytrace/package.py2
-rw-r--r--var/spack/repos/builtin/packages/evieext/package.py2
-rw-r--r--var/spack/repos/builtin/packages/evtgen/package.py4
-rw-r--r--var/spack/repos/builtin/packages/exa/package.py2
-rw-r--r--var/spack/repos/builtin/packages/exabayes/package.py2
-rw-r--r--var/spack/repos/builtin/packages/examinimd/package.py4
-rw-r--r--var/spack/repos/builtin/packages/examl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/exampm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/exasp2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/exciting/dfgather.patch27
-rw-r--r--var/spack/repos/builtin/packages/exciting/for_aarch64.patch12
-rw-r--r--var/spack/repos/builtin/packages/exciting/package.py120
-rw-r--r--var/spack/repos/builtin/packages/exiv2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/exmcutils/package.py2
-rw-r--r--var/spack/repos/builtin/packages/exodusii/package.py2
-rw-r--r--var/spack/repos/builtin/packages/exonerate-gff3/package.py2
-rw-r--r--var/spack/repos/builtin/packages/exonerate/package.py2
-rw-r--r--var/spack/repos/builtin/packages/expat/package.py6
-rw-r--r--var/spack/repos/builtin/packages/expect/package.py14
-rw-r--r--var/spack/repos/builtin/packages/expect/xcode_12.patch282
-rw-r--r--var/spack/repos/builtin/packages/express/package.py2
-rw-r--r--var/spack/repos/builtin/packages/extrae/package.py2
-rw-r--r--var/spack/repos/builtin/packages/exuberant-ctags/package.py2
-rw-r--r--var/spack/repos/builtin/packages/eztrace/package.py2
-rw-r--r--var/spack/repos/builtin/packages/f2c/package.py2
-rw-r--r--var/spack/repos/builtin/packages/f77-zmq/package.py2
-rw-r--r--var/spack/repos/builtin/packages/f90cache/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fabtests/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fairlogger/package.py2
-rw-r--r--var/spack/repos/builtin/packages/faiss/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fakechroot/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fakexrandr/package.py46
-rw-r--r--var/spack/repos/builtin/packages/falcon/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fann/package.py2
-rw-r--r--var/spack/repos/builtin/packages/faodel/package.py3
-rw-r--r--var/spack/repos/builtin/packages/fast-global-file-status/package.py8
-rw-r--r--var/spack/repos/builtin/packages/fasta/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fastdb/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fastdfs/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fastjar/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fastjet/atlas.patch22
-rw-r--r--var/spack/repos/builtin/packages/fastjet/package.py7
-rw-r--r--var/spack/repos/builtin/packages/fastjson/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fastmath/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fastme/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fastp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fastphase/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fastq-screen/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fastqc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fastqvalidator/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fasttext/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fasttransforms/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fasttree/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fastx-toolkit/package.py2
-rw-r--r--var/spack/repos/builtin/packages/faust/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fca/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fcgi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fd-find/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fdupes/package.py3
-rw-r--r--var/spack/repos/builtin/packages/feh/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fenics-dolfinx/package.py5
-rw-r--r--var/spack/repos/builtin/packages/fenics/package.py2
-rw-r--r--var/spack/repos/builtin/packages/feq-parse/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fermi/ksw_for_aarch64.patch2
-rw-r--r--var/spack/repos/builtin/packages/fermi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fermikit/ksw_for_aarch64.patch8
-rw-r--r--var/spack/repos/builtin/packages/fermikit/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fermisciencetools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ferret/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ffb/package.py14
-rw-r--r--var/spack/repos/builtin/packages/ffmpeg/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ffr/package.py3
-rw-r--r--var/spack/repos/builtin/packages/ffsb/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fftw/package.py14
-rw-r--r--var/spack/repos/builtin/packages/fgsl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/figlet/package.py2
-rw-r--r--var/spack/repos/builtin/packages/figtree/package.py2
-rw-r--r--var/spack/repos/builtin/packages/file/package.py2
-rw-r--r--var/spack/repos/builtin/packages/filebench/package.py2
-rw-r--r--var/spack/repos/builtin/packages/filo/package.py2
-rw-r--r--var/spack/repos/builtin/packages/filtlong/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fimpute/package.py2
-rw-r--r--var/spack/repos/builtin/packages/find-circ/package.py2
-rw-r--r--var/spack/repos/builtin/packages/findbugs/package.py2
-rw-r--r--var/spack/repos/builtin/packages/findutils/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fio/package.py5
-rw-r--r--var/spack/repos/builtin/packages/fipscheck/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fish/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fixesproto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fj/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fjcontrib/package.py4
-rw-r--r--var/spack/repos/builtin/packages/fl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/flac/package.py2
-rw-r--r--var/spack/repos/builtin/packages/flann/package.py2
-rw-r--r--var/spack/repos/builtin/packages/flash/package.py2
-rw-r--r--var/spack/repos/builtin/packages/flatbuffers/package.py16
-rw-r--r--var/spack/repos/builtin/packages/flatcc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/flcl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/flecsale/package.py2
-rw-r--r--var/spack/repos/builtin/packages/flecsi/package.py34
-rw-r--r--var/spack/repos/builtin/packages/flecsph/package.py2
-rw-r--r--var/spack/repos/builtin/packages/flex/package.py4
-rw-r--r--var/spack/repos/builtin/packages/flexi/package.py41
-rw-r--r--var/spack/repos/builtin/packages/flexiblas/package.py2
-rw-r--r--var/spack/repos/builtin/packages/flibcpp/package.py9
-rw-r--r--var/spack/repos/builtin/packages/flink/package.py2
-rw-r--r--var/spack/repos/builtin/packages/flint/package.py2
-rw-r--r--var/spack/repos/builtin/packages/flit/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fltk/package.py2
-rw-r--r--var/spack/repos/builtin/packages/flume/package.py2
-rw-r--r--var/spack/repos/builtin/packages/flux-core/package.py62
-rw-r--r--var/spack/repos/builtin/packages/flux-sched/package.py29
-rw-r--r--var/spack/repos/builtin/packages/fluxbox/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fmt/package.py7
-rw-r--r--var/spack/repos/builtin/packages/foam-extend/package.py2
-rw-r--r--var/spack/repos/builtin/packages/folly/package.py2
-rw-r--r--var/spack/repos/builtin/packages/font-util/package.py12
-rw-r--r--var/spack/repos/builtin/packages/fontcacheproto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fontconfig/package.py4
-rw-r--r--var/spack/repos/builtin/packages/fontsproto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fonttosfnt/package.py4
-rw-r--r--var/spack/repos/builtin/packages/form/package.py3
-rw-r--r--var/spack/repos/builtin/packages/fortran/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fortrilinos/package.py24
-rw-r--r--var/spack/repos/builtin/packages/foundationdb/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fox/package.py3
-rw-r--r--var/spack/repos/builtin/packages/fp16/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fpc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fping/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fplll/package.py33
-rw-r--r--var/spack/repos/builtin/packages/fpocket/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fqtrim/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fr-hit/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fraggenescan/package.py2
-rw-r--r--var/spack/repos/builtin/packages/freebayes/package.py2
-rw-r--r--var/spack/repos/builtin/packages/freeglut/package.py20
-rw-r--r--var/spack/repos/builtin/packages/freeimage/package.py2
-rw-r--r--var/spack/repos/builtin/packages/freeipmi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/freetype/package.py2
-rw-r--r--var/spack/repos/builtin/packages/freexl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fribidi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/frontier-client/frontier-client.patch13
-rw-r--r--var/spack/repos/builtin/packages/frontier-client/package.py38
-rw-r--r--var/spack/repos/builtin/packages/frontistr/package.py5
-rw-r--r--var/spack/repos/builtin/packages/fseq/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fsl/build_log.patch11
-rw-r--r--var/spack/repos/builtin/packages/fsl/eddy_Makefile.patch11
-rw-r--r--var/spack/repos/builtin/packages/fsl/fsl_sub_v5.patch66
-rw-r--r--var/spack/repos/builtin/packages/fsl/fsl_sub_v6.patch86
-rw-r--r--var/spack/repos/builtin/packages/fsl/fslpython_install_v5.patch18
-rw-r--r--var/spack/repos/builtin/packages/fsl/fslpython_install_v6.patch39
-rw-r--r--var/spack/repos/builtin/packages/fsl/iconv.patch28
-rw-r--r--var/spack/repos/builtin/packages/fsl/package.py186
-rw-r--r--var/spack/repos/builtin/packages/fslsfonts/package.py4
-rw-r--r--var/spack/repos/builtin/packages/fstobdf/package.py4
-rw-r--r--var/spack/repos/builtin/packages/fstrack/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ftgl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ftk/package.py62
-rw-r--r--var/spack/repos/builtin/packages/fujitsu-fftw/package.py113
-rw-r--r--var/spack/repos/builtin/packages/fujitsu-mpi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fujitsu-ssl2/package.py6
-rw-r--r--var/spack/repos/builtin/packages/funhpc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fuse-overlayfs/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fyba/package.py2
-rw-r--r--var/spack/repos/builtin/packages/fzf/package.py2
-rw-r--r--var/spack/repos/builtin/packages/g2o/package.py44
-rw-r--r--var/spack/repos/builtin/packages/g4abla/package.py4
-rw-r--r--var/spack/repos/builtin/packages/g4emlow/package.py5
-rw-r--r--var/spack/repos/builtin/packages/g4ensdfstate/package.py5
-rw-r--r--var/spack/repos/builtin/packages/g4incl/package.py6
-rw-r--r--var/spack/repos/builtin/packages/g4ndl/package.py4
-rw-r--r--var/spack/repos/builtin/packages/g4neutronxs/package.py4
-rw-r--r--var/spack/repos/builtin/packages/g4particlexs/package.py7
-rw-r--r--var/spack/repos/builtin/packages/g4photonevaporation/package.py5
-rw-r--r--var/spack/repos/builtin/packages/g4pii/package.py4
-rw-r--r--var/spack/repos/builtin/packages/g4radioactivedecay/package.py5
-rw-r--r--var/spack/repos/builtin/packages/g4realsurface/package.py5
-rw-r--r--var/spack/repos/builtin/packages/g4saiddata/package.py4
-rw-r--r--var/spack/repos/builtin/packages/g4tendl/package.py4
-rw-r--r--var/spack/repos/builtin/packages/gamess-ri-mp2-miniapp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gams/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ganglia/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gapbs/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gapcloser/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gapfiller/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gasnet/package.py4
-rw-r--r--var/spack/repos/builtin/packages/gate/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gatepet2stir/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gatk/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gaudi/package.py9
-rw-r--r--var/spack/repos/builtin/packages/gaussian-src/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gaussian-view/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gaussian/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gawk/package.py3
-rw-r--r--var/spack/repos/builtin/packages/gblocks/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gcc/package.py16
-rw-r--r--var/spack/repos/builtin/packages/gccmakedep/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gccxml/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gchp/package.py54
-rw-r--r--var/spack/repos/builtin/packages/gconf/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gcta/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gdal/package.py37
-rw-r--r--var/spack/repos/builtin/packages/gdb/package.py50
-rw-r--r--var/spack/repos/builtin/packages/gdbm/package.py5
-rw-r--r--var/spack/repos/builtin/packages/gdk-pixbuf/package.py4
-rw-r--r--var/spack/repos/builtin/packages/gdl/package.py4
-rw-r--r--var/spack/repos/builtin/packages/gdrcopy/package.py2
-rw-r--r--var/spack/repos/builtin/packages/geant4-data/package.py19
-rw-r--r--var/spack/repos/builtin/packages/geant4-vmc/package.py11
-rw-r--r--var/spack/repos/builtin/packages/geant4/package.py25
-rw-r--r--var/spack/repos/builtin/packages/gearshifft/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gemmlowp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/genemark-et/package.py3
-rw-r--r--var/spack/repos/builtin/packages/genesis/fj_compiler.patch342
-rw-r--r--var/spack/repos/builtin/packages/genesis/fj_compiler_1.5.1.patch286
-rw-r--r--var/spack/repos/builtin/packages/genesis/package.py112
-rw-r--r--var/spack/repos/builtin/packages/genfit/package.py35
-rw-r--r--var/spack/repos/builtin/packages/gengetopt/package.py4
-rw-r--r--var/spack/repos/builtin/packages/genomefinisher/package.py2
-rw-r--r--var/spack/repos/builtin/packages/genometools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/genomeworks/package.py2
-rw-r--r--var/spack/repos/builtin/packages/genrich/package.py2
-rw-r--r--var/spack/repos/builtin/packages/geode/package.py2
-rw-r--r--var/spack/repos/builtin/packages/geoip-api-c/package.py2
-rw-r--r--var/spack/repos/builtin/packages/geoip/package.py2
-rw-r--r--var/spack/repos/builtin/packages/geopm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/geos/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gettext/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gflags/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ghost/package.py4
-rw-r--r--var/spack/repos/builtin/packages/ghostscript-fonts/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ghostscript/package.py4
-rw-r--r--var/spack/repos/builtin/packages/giflib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ginac/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ginkgo/package.py2
-rw-r--r--var/spack/repos/builtin/packages/giraph/package.py2
-rw-r--r--var/spack/repos/builtin/packages/git-fat-git/package.py2
-rw-r--r--var/spack/repos/builtin/packages/git-imerge/package.py2
-rw-r--r--var/spack/repos/builtin/packages/git-lfs/package.py2
-rw-r--r--var/spack/repos/builtin/packages/git/package.py21
-rw-r--r--var/spack/repos/builtin/packages/gitconddb/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gl2ps/package.py2
-rw-r--r--var/spack/repos/builtin/packages/glew/package.py2
-rw-r--r--var/spack/repos/builtin/packages/glfmultiples/package.py2
-rw-r--r--var/spack/repos/builtin/packages/glfw/package.py2
-rw-r--r--var/spack/repos/builtin/packages/glib-networking/package.py2
-rw-r--r--var/spack/repos/builtin/packages/glib/package.py29
-rw-r--r--var/spack/repos/builtin/packages/glibmm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/glimmer/package.py2
-rw-r--r--var/spack/repos/builtin/packages/glm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/global/package.py2
-rw-r--r--var/spack/repos/builtin/packages/globalarrays/package.py59
-rw-r--r--var/spack/repos/builtin/packages/glog/package.py8
-rw-r--r--var/spack/repos/builtin/packages/gloo/package.py2
-rw-r--r--var/spack/repos/builtin/packages/glpk/package.py2
-rw-r--r--var/spack/repos/builtin/packages/glproto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/glusterfs/package.py4
-rw-r--r--var/spack/repos/builtin/packages/glvis/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gmake/package.py4
-rw-r--r--var/spack/repos/builtin/packages/gmap-gsnap/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gmime/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gmodel/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gmp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gmsh/package.py7
-rw-r--r--var/spack/repos/builtin/packages/gmt/package.py4
-rw-r--r--var/spack/repos/builtin/packages/gmtsar/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gnat/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gnome-common/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gnupg/package.py8
-rw-r--r--var/spack/repos/builtin/packages/gnuplot/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gnuradio/package.py28
-rw-r--r--var/spack/repos/builtin/packages/gnutls/package.py2
-rw-r--r--var/spack/repos/builtin/packages/go-bootstrap/package.py2
-rw-r--r--var/spack/repos/builtin/packages/go-md2man/package.py2
-rw-r--r--var/spack/repos/builtin/packages/go/package.py21
-rw-r--r--var/spack/repos/builtin/packages/gobject-introspection/package.py4
-rw-r--r--var/spack/repos/builtin/packages/goblin-hmc-sim/package.py2
-rw-r--r--var/spack/repos/builtin/packages/googletest/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gosam-contrib/package.py4
-rw-r--r--var/spack/repos/builtin/packages/gotcha/package.py4
-rw-r--r--var/spack/repos/builtin/packages/gource/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gpdb/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gperf/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gperftools/package.py3
-rw-r--r--var/spack/repos/builtin/packages/gpgme/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gpi-2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gplates/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gprolog/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gpu-burn/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gqrx/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gr-osmosdr/package.py2
-rw-r--r--var/spack/repos/builtin/packages/grabix/package.py30
-rw-r--r--var/spack/repos/builtin/packages/grackle/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gradle/package.py41
-rw-r--r--var/spack/repos/builtin/packages/grads/package.py2
-rw-r--r--var/spack/repos/builtin/packages/grafana/package.py2
-rw-r--r--var/spack/repos/builtin/packages/grandr/package.py2
-rw-r--r--var/spack/repos/builtin/packages/graph500/package.py2
-rw-r--r--var/spack/repos/builtin/packages/graphblast/package.py2
-rw-r--r--var/spack/repos/builtin/packages/graphicsmagick/package.py2
-rw-r--r--var/spack/repos/builtin/packages/graphite2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/graphlib/package.py3
-rw-r--r--var/spack/repos/builtin/packages/graphmap/package.py2
-rw-r--r--var/spack/repos/builtin/packages/graphviz/package.py46
-rw-r--r--var/spack/repos/builtin/packages/grass/package.py2
-rw-r--r--var/spack/repos/builtin/packages/graylog2-server/package.py2
-rw-r--r--var/spack/repos/builtin/packages/grep/package.py2
-rw-r--r--var/spack/repos/builtin/packages/grib-api/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gridlab-d/package.py2
-rw-r--r--var/spack/repos/builtin/packages/grnboost/package.py2
-rw-r--r--var/spack/repos/builtin/packages/groff/BuildFoundries.patch11
-rw-r--r--var/spack/repos/builtin/packages/groff/package.py16
-rw-r--r--var/spack/repos/builtin/packages/groff/pdfmom.patch11
-rw-r--r--var/spack/repos/builtin/packages/gromacs/package.py143
-rw-r--r--var/spack/repos/builtin/packages/grpc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gsettings-desktop-schemas/package.py14
-rw-r--r--var/spack/repos/builtin/packages/gsl/package.py3
-rw-r--r--var/spack/repos/builtin/packages/gslib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gtk-doc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gtkmm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gtkorvo-atl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gtkorvo-cercs-env/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gtkorvo-dill/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gtkorvo-enet/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gtkplus/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gtksourceview/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gts/package.py2
-rw-r--r--var/spack/repos/builtin/packages/guacamole-client/package.py2
-rw-r--r--var/spack/repos/builtin/packages/guacamole-server/package.py2
-rw-r--r--var/spack/repos/builtin/packages/guidance/package.py2
-rw-r--r--var/spack/repos/builtin/packages/guile/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gunrock/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gurobi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/gzip/package.py2
-rw-r--r--var/spack/repos/builtin/packages/h2database/package.py2
-rw-r--r--var/spack/repos/builtin/packages/h5cpp/package.py12
-rw-r--r--var/spack/repos/builtin/packages/h5hut/package.py2
-rw-r--r--var/spack/repos/builtin/packages/h5part/package.py2
-rw-r--r--var/spack/repos/builtin/packages/h5utils/package.py2
-rw-r--r--var/spack/repos/builtin/packages/h5z-zfp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hacckernels/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hackrf-host/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hadoop/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hal/package.py2
-rw-r--r--var/spack/repos/builtin/packages/halc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/half/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hama/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hapcut2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hapdip/package.py2
-rw-r--r--var/spack/repos/builtin/packages/haploview/package.py2
-rw-r--r--var/spack/repos/builtin/packages/haproxy/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hardlink/package.py2
-rw-r--r--var/spack/repos/builtin/packages/harfbuzz/package.py13
-rw-r--r--var/spack/repos/builtin/packages/harminv/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hashcat/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hazelcast/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hbase/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hbm-dramsim2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hcol/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hcoll/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hdf-eos2/hdf-eos2.nondarwin-no-single_module.patch27
-rw-r--r--var/spack/repos/builtin/packages/hdf-eos2/package.py99
-rw-r--r--var/spack/repos/builtin/packages/hdf-eos5/hdf-eos5.nondarwin-no-single_module.patch28
-rw-r--r--var/spack/repos/builtin/packages/hdf-eos5/package.py99
-rw-r--r--var/spack/repos/builtin/packages/hdf/package.py10
-rw-r--r--var/spack/repos/builtin/packages/hdf5-blosc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hdf5/package.py11
-rw-r--r--var/spack/repos/builtin/packages/hdfview/package.py2
-rw-r--r--var/spack/repos/builtin/packages/healpix-cxx/package.py2
-rw-r--r--var/spack/repos/builtin/packages/heaptrack/package.py4
-rw-r--r--var/spack/repos/builtin/packages/heffte/package.py2
-rw-r--r--var/spack/repos/builtin/packages/helics/package.py2
-rw-r--r--var/spack/repos/builtin/packages/help2man/package.py3
-rw-r--r--var/spack/repos/builtin/packages/henson/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hepmc/package.py11
-rw-r--r--var/spack/repos/builtin/packages/hepmc3/package.py4
-rw-r--r--var/spack/repos/builtin/packages/hepmcanalysis/package.py4
-rw-r--r--var/spack/repos/builtin/packages/heppdt/package.py4
-rw-r--r--var/spack/repos/builtin/packages/heputils/package.py4
-rw-r--r--var/spack/repos/builtin/packages/hercules/package.py2
-rw-r--r--var/spack/repos/builtin/packages/herwig3/package.py4
-rw-r--r--var/spack/repos/builtin/packages/herwigpp/package.py4
-rw-r--r--var/spack/repos/builtin/packages/hevea/package.py29
-rw-r--r--var/spack/repos/builtin/packages/hibench/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hic-pro/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hicolor-icon-theme/package.py26
-rw-r--r--var/spack/repos/builtin/packages/highfive/package.py2
-rw-r--r--var/spack/repos/builtin/packages/highwayhash/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hiop/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hip-rocclr/package.py27
-rw-r--r--var/spack/repos/builtin/packages/hip/0003-Improve-compilation-without-git-repo.3.10.0.patch56
-rw-r--r--var/spack/repos/builtin/packages/hip/0003-Improve-compilation-without-git-repo.3.9.0.patch56
-rw-r--r--var/spack/repos/builtin/packages/hip/0004-Drop-clang-rt-builtins-linking-on-hip-host.3.10.0.patch32
-rw-r--r--var/spack/repos/builtin/packages/hip/0004-Drop-clang-rt-builtins-linking-on-hip-host.3.9.0.patch35
-rw-r--r--var/spack/repos/builtin/packages/hip/package.py53
-rw-r--r--var/spack/repos/builtin/packages/hipblas/package.py19
-rw-r--r--var/spack/repos/builtin/packages/hipcub/package.py9
-rw-r--r--var/spack/repos/builtin/packages/hipfort/package.py9
-rw-r--r--var/spack/repos/builtin/packages/hipify-clang/package.py8
-rw-r--r--var/spack/repos/builtin/packages/hipsparse/package.py11
-rw-r--r--var/spack/repos/builtin/packages/hipsycl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hiredis/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hisat2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hisea/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hive/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hmmer/package.py2
-rw-r--r--var/spack/repos/builtin/packages/homer/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hoomd-blue/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hotspot/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hpcc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hpccg/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hpcg/package.py8
-rw-r--r--var/spack/repos/builtin/packages/hpctoolkit/package.py47
-rw-r--r--var/spack/repos/builtin/packages/hpcviewer/package.py42
-rw-r--r--var/spack/repos/builtin/packages/hpgmg/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hping/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hpl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hpx/package.py7
-rw-r--r--var/spack/repos/builtin/packages/hpx5/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hsa-rocr-dev/package.py10
-rw-r--r--var/spack/repos/builtin/packages/hsakmt-roct/package.py6
-rw-r--r--var/spack/repos/builtin/packages/hsakmt/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hsf-cmaketools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hssp/package.py22
-rw-r--r--var/spack/repos/builtin/packages/hstr/package.py2
-rw-r--r--var/spack/repos/builtin/packages/htop/package.py2
-rw-r--r--var/spack/repos/builtin/packages/htslib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/http-get/package.py10
-rw-r--r--var/spack/repos/builtin/packages/http-load/package.py10
-rw-r--r--var/spack/repos/builtin/packages/http-parser/package.py2
-rw-r--r--var/spack/repos/builtin/packages/http-ping/package.py10
-rw-r--r--var/spack/repos/builtin/packages/http-post/package.py10
-rw-r--r--var/spack/repos/builtin/packages/httpd/package.py2
-rw-r--r--var/spack/repos/builtin/packages/httperf/package.py2
-rw-r--r--var/spack/repos/builtin/packages/httpie/package.py4
-rw-r--r--var/spack/repos/builtin/packages/httping/package.py2
-rw-r--r--var/spack/repos/builtin/packages/httpress/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hub/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hudi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hugo/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hunspell/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hwloc/package.py6
-rw-r--r--var/spack/repos/builtin/packages/hybpiper/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hybrid-lambda/package.py39
-rw-r--r--var/spack/repos/builtin/packages/hybridsim/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hydra/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hydrogen/package.py45
-rw-r--r--var/spack/repos/builtin/packages/hyperscan/package.py2
-rw-r--r--var/spack/repos/builtin/packages/hyphy/package.py4
-rw-r--r--var/spack/repos/builtin/packages/hypre/package.py25
-rw-r--r--var/spack/repos/builtin/packages/i3/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ibm-databroker/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ibm-java/package.py4
-rw-r--r--var/spack/repos/builtin/packages/ibmisc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/icarus/package.py2
-rw-r--r--var/spack/repos/builtin/packages/iceauth/package.py4
-rw-r--r--var/spack/repos/builtin/packages/icedtea/package.py2
-rw-r--r--var/spack/repos/builtin/packages/icet/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ico/package.py4
-rw-r--r--var/spack/repos/builtin/packages/icu4c/package.py2
-rw-r--r--var/spack/repos/builtin/packages/id3lib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/idba/package.py2
-rw-r--r--var/spack/repos/builtin/packages/idl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/iegenlib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ignite/package.py2
-rw-r--r--var/spack/repos/builtin/packages/igraph/package.py2
-rw-r--r--var/spack/repos/builtin/packages/igv/package.py2
-rw-r--r--var/spack/repos/builtin/packages/igvtools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ilmbase/package.py2
-rw-r--r--var/spack/repos/builtin/packages/imagemagick/package.py3
-rw-r--r--var/spack/repos/builtin/packages/imake/package.py11
-rw-r--r--var/spack/repos/builtin/packages/imlib2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/imp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/impute2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/infernal/package.py2
-rw-r--r--var/spack/repos/builtin/packages/influxdb/package.py2
-rw-r--r--var/spack/repos/builtin/packages/iniparser/package.py2
-rw-r--r--var/spack/repos/builtin/packages/inputproto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/intel-daal/package.py2
-rw-r--r--var/spack/repos/builtin/packages/intel-gpu-tools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/intel-ipp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/intel-llvm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/intel-mkl/package.py4
-rw-r--r--var/spack/repos/builtin/packages/intel-mpi-benchmarks/package.py2
-rw-r--r--var/spack/repos/builtin/packages/intel-mpi/package.py4
-rw-r--r--var/spack/repos/builtin/packages/intel-oneapi-ccl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py6
-rw-r--r--var/spack/repos/builtin/packages/intel-oneapi-dal/package.py2
-rw-r--r--var/spack/repos/builtin/packages/intel-oneapi-dnn/package.py2
-rw-r--r--var/spack/repos/builtin/packages/intel-oneapi-ipp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/intel-oneapi-ippcp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/intel-oneapi-mkl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/intel-oneapi-mpi/package.py8
-rw-r--r--var/spack/repos/builtin/packages/intel-oneapi-tbb/package.py2
-rw-r--r--var/spack/repos/builtin/packages/intel-oneapi-vpl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/intel-parallel-studio/package.py2
-rw-r--r--var/spack/repos/builtin/packages/intel-pin/package.py2
-rw-r--r--var/spack/repos/builtin/packages/intel-tbb/macos-arm64.patch32
-rw-r--r--var/spack/repos/builtin/packages/intel-tbb/package.py12
-rw-r--r--var/spack/repos/builtin/packages/intel-xed/1201-segv.patch18
-rw-r--r--var/spack/repos/builtin/packages/intel-xed/package.py72
-rw-r--r--var/spack/repos/builtin/packages/intel/package.py2
-rw-r--r--var/spack/repos/builtin/packages/interproscan/package.py2
-rw-r--r--var/spack/repos/builtin/packages/intltool/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ioapi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ior/package.py5
-rw-r--r--var/spack/repos/builtin/packages/iozone/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ipcalc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/iperf2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/iperf3/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ipopt/package.py2
-rw-r--r--var/spack/repos/builtin/packages/iproute2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/iq-tree/package.py6
-rw-r--r--var/spack/repos/builtin/packages/isaac-server/package.py7
-rw-r--r--var/spack/repos/builtin/packages/isaac/package.py4
-rw-r--r--var/spack/repos/builtin/packages/isc-dhcp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/isescan/package.py2
-rw-r--r--var/spack/repos/builtin/packages/isl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/iso-codes/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ispc/package.py15
-rw-r--r--var/spack/repos/builtin/packages/istio/package.py2
-rw-r--r--var/spack/repos/builtin/packages/itensor/package.py132
-rw-r--r--var/spack/repos/builtin/packages/itk/package.py2
-rw-r--r--var/spack/repos/builtin/packages/itstool/package.py2
-rw-r--r--var/spack/repos/builtin/packages/itsx/package.py2
-rw-r--r--var/spack/repos/builtin/packages/iwyu/package.py2
-rw-r--r--var/spack/repos/builtin/packages/jackcess/package.py2
-rw-r--r--var/spack/repos/builtin/packages/jafka/package.py2
-rw-r--r--var/spack/repos/builtin/packages/jags/package.py2
-rw-r--r--var/spack/repos/builtin/packages/jali/package.py2
-rw-r--r--var/spack/repos/builtin/packages/jansi-native/package.py2
-rw-r--r--var/spack/repos/builtin/packages/jansi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/jansson/package.py2
-rw-r--r--var/spack/repos/builtin/packages/jasper/package.py2
-rw-r--r--var/spack/repos/builtin/packages/jbigkit/package.py2
-rw-r--r--var/spack/repos/builtin/packages/jblob/package.py2
-rw-r--r--var/spack/repos/builtin/packages/jchronoss/package.py2
-rw-r--r--var/spack/repos/builtin/packages/jdk/package.py2
-rw-r--r--var/spack/repos/builtin/packages/jellyfish/package.py2
-rw-r--r--var/spack/repos/builtin/packages/jemalloc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/jetty-project/package.py2
-rw-r--r--var/spack/repos/builtin/packages/jhpcn-df/package.py2
-rw-r--r--var/spack/repos/builtin/packages/jimtcl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/jline3/package.py2
-rw-r--r--var/spack/repos/builtin/packages/jmol/package.py2
-rw-r--r--var/spack/repos/builtin/packages/jose/package.py2
-rw-r--r--var/spack/repos/builtin/packages/jpegoptim/package.py2
-rw-r--r--var/spack/repos/builtin/packages/jq/package.py2
-rw-r--r--var/spack/repos/builtin/packages/json-c/package.py2
-rw-r--r--var/spack/repos/builtin/packages/json-cwx/package.py2
-rw-r--r--var/spack/repos/builtin/packages/json-fortran/package.py2
-rw-r--r--var/spack/repos/builtin/packages/json-glib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/jsoncpp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/jstorm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/jube/package.py2
-rw-r--r--var/spack/repos/builtin/packages/judy/package.py2
-rw-r--r--var/spack/repos/builtin/packages/julea/package.py2
-rw-r--r--var/spack/repos/builtin/packages/julia/package.py2
-rw-r--r--var/spack/repos/builtin/packages/junit4/package.py2
-rw-r--r--var/spack/repos/builtin/packages/k8/package.py2
-rw-r--r--var/spack/repos/builtin/packages/kafka/package.py2
-rw-r--r--var/spack/repos/builtin/packages/kahip/package.py2
-rw-r--r--var/spack/repos/builtin/packages/kaiju/package.py2
-rw-r--r--var/spack/repos/builtin/packages/kaks-calculator/package.py2
-rw-r--r--var/spack/repos/builtin/packages/kaldi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/kallisto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/karma/package.py2
-rw-r--r--var/spack/repos/builtin/packages/kassiopeia/package.py4
-rw-r--r--var/spack/repos/builtin/packages/kbd/package.py2
-rw-r--r--var/spack/repos/builtin/packages/kbproto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/kcov/package.py2
-rw-r--r--var/spack/repos/builtin/packages/kdiff3/package.py2
-rw-r--r--var/spack/repos/builtin/packages/kea/package.py2
-rw-r--r--var/spack/repos/builtin/packages/kealib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/keepalived/package.py2
-rw-r--r--var/spack/repos/builtin/packages/kentutils/package.py2
-rw-r--r--var/spack/repos/builtin/packages/keyutils/package.py2
-rw-r--r--var/spack/repos/builtin/packages/kibana/package.py2
-rw-r--r--var/spack/repos/builtin/packages/kicad/package.py78
-rw-r--r--var/spack/repos/builtin/packages/kim-api/package.py5
-rw-r--r--var/spack/repos/builtin/packages/kinesis/package.py2
-rw-r--r--var/spack/repos/builtin/packages/kitty/package.py2
-rw-r--r--var/spack/repos/builtin/packages/kmergenie/package.py2
-rw-r--r--var/spack/repos/builtin/packages/kmod/package.py2
-rw-r--r--var/spack/repos/builtin/packages/knem/package.py6
-rw-r--r--var/spack/repos/builtin/packages/kokkos-kernels-legacy/package.py8
-rw-r--r--var/spack/repos/builtin/packages/kokkos-kernels/package.py2
-rw-r--r--var/spack/repos/builtin/packages/kokkos-legacy/package.py28
-rw-r--r--var/spack/repos/builtin/packages/kokkos-nvcc-wrapper/package.py4
-rw-r--r--var/spack/repos/builtin/packages/kokkos/package.py65
-rw-r--r--var/spack/repos/builtin/packages/kraken/package.py2
-rw-r--r--var/spack/repos/builtin/packages/kraken2/package.py5
-rw-r--r--var/spack/repos/builtin/packages/krb5/mit-krb5-1.17-static-libs.patch15
-rw-r--r--var/spack/repos/builtin/packages/krb5/package.py18
-rw-r--r--var/spack/repos/builtin/packages/krims/package.py2
-rw-r--r--var/spack/repos/builtin/packages/kripke/package.py2
-rw-r--r--var/spack/repos/builtin/packages/kubernetes/package.py2
-rw-r--r--var/spack/repos/builtin/packages/kvasir-mpl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/kvtree/package.py2
-rw-r--r--var/spack/repos/builtin/packages/kylin/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ladot/package.py2
-rw-r--r--var/spack/repos/builtin/packages/laghos/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lame/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lammps/package.py65
-rw-r--r--var/spack/repos/builtin/packages/lapackpp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/last/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lastz/package.py2
-rw-r--r--var/spack/repos/builtin/packages/laszip/package.py2
-rw-r--r--var/spack/repos/builtin/packages/latte/package.py2
-rw-r--r--var/spack/repos/builtin/packages/launchmon/package.py3
-rw-r--r--var/spack/repos/builtin/packages/lazyten/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lbann/package.py167
-rw-r--r--var/spack/repos/builtin/packages/lbxproxy/package.py8
-rw-r--r--var/spack/repos/builtin/packages/lbzip2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lcals/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lcio/package.py9
-rw-r--r--var/spack/repos/builtin/packages/lcms/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lcov/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ldak/package.py22
-rw-r--r--var/spack/repos/builtin/packages/ldc-bootstrap/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ldc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/legion/package.py4
-rw-r--r--var/spack/repos/builtin/packages/lemon/package.py2
-rw-r--r--var/spack/repos/builtin/packages/leptonica/package.py2
-rw-r--r--var/spack/repos/builtin/packages/less/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lesstif/package.py2
-rw-r--r--var/spack/repos/builtin/packages/leveldb/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lftp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lhapdf/package.py12
-rw-r--r--var/spack/repos/builtin/packages/lhapdf5/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libaec/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libaio/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libapplewm/package.py6
-rw-r--r--var/spack/repos/builtin/packages/libarchive/package.py3
-rw-r--r--var/spack/repos/builtin/packages/libassuan/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libatasmart/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libatomic-ops/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libbacktrace/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libbeagle/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libbeato/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libbinio/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libblastrampoline/package.py21
-rw-r--r--var/spack/repos/builtin/packages/libbsd/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libbson/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libbytesize/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libc/package.py8
-rw-r--r--var/spack/repos/builtin/packages/libcanberra/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libcap-ng/package.py25
-rw-r--r--var/spack/repos/builtin/packages/libcap/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libceed/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libcerf/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libcgroup/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libcint/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libcircle/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libconfig/package.py3
-rw-r--r--var/spack/repos/builtin/packages/libconfuse/package.py8
-rw-r--r--var/spack/repos/builtin/packages/libcroco/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libctl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libcudf/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libcuml/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libcumlprims/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libcyaml/package.py24
-rw-r--r--var/spack/repos/builtin/packages/libdaemon/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libdap4/package.py4
-rw-r--r--var/spack/repos/builtin/packages/libdatrie/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libdivsufsort/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libdmx/package.py6
-rw-r--r--var/spack/repos/builtin/packages/libdrm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libdwarf/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libeatmydata/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libecpint/package.py31
-rw-r--r--var/spack/repos/builtin/packages/libedit/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libelf/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libemos/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libepoxy/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libestr/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libev/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libevdev/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libevent/package.py17
-rw-r--r--var/spack/repos/builtin/packages/libevpath/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libexif/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libfabric/package.py4
-rw-r--r--var/spack/repos/builtin/packages/libfastcommon/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libfastjson/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libffi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libffs/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libfive/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libflame/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libfontenc/package.py4
-rw-r--r--var/spack/repos/builtin/packages/libfs/package.py8
-rw-r--r--var/spack/repos/builtin/packages/libfuse/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libfyaml/package.py18
-rw-r--r--var/spack/repos/builtin/packages/libgcrypt/package.py5
-rw-r--r--var/spack/repos/builtin/packages/libgd/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libgeotiff/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libgff/package.py19
-rw-r--r--var/spack/repos/builtin/packages/libgit2/package.py3
-rw-r--r--var/spack/repos/builtin/packages/libgpg-error/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libgpuarray/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libgridxc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libgssglue/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libgtextutils/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libharu/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libhbaapi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libhio/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libhugetlbfs/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libiberty/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libibumad/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libical/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libice/package.py6
-rw-r--r--var/spack/repos/builtin/packages/libiconv/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libid3tag/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libidl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libidn2/package.py7
-rw-r--r--var/spack/repos/builtin/packages/libimagequant/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libimobiledevice/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libint/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libisal/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libiscsi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libjpeg-turbo/package.py10
-rw-r--r--var/spack/repos/builtin/packages/libjpeg/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libjson/package.py5
-rw-r--r--var/spack/repos/builtin/packages/libjwt/package.py4
-rw-r--r--var/spack/repos/builtin/packages/libkcapi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libkml/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libksba/package.py2
-rw-r--r--var/spack/repos/builtin/packages/liblas/package.py2
-rw-r--r--var/spack/repos/builtin/packages/liblbxutil/package.py6
-rw-r--r--var/spack/repos/builtin/packages/liblockfile/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libluv/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libmad/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libmatheval/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libmaus2/package.py27
-rw-r--r--var/spack/repos/builtin/packages/libmaxminddb/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libmesh/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libmetalink/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libmicrohttpd/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libmmtf-cpp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libmng/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libmnl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libmo-unpack/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libmodbus/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libmonitor/package.py11
-rw-r--r--var/spack/repos/builtin/packages/libnbc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libnet/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libnetfilter-conntrack/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libnetworkit/package.py3
-rw-r--r--var/spack/repos/builtin/packages/libnfnetlink/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libnftnl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libnl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libnotify/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libnova/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libnrm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libnsl/package.py7
-rw-r--r--var/spack/repos/builtin/packages/libogg/package.py2
-rw-r--r--var/spack/repos/builtin/packages/liboldx/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libopts/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libp11/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libpam/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libpaper/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libpcap/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libpciaccess/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libpeas/package.py6
-rw-r--r--var/spack/repos/builtin/packages/libpfm4/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libpipeline/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libplist/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libpmemobj-cpp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libpng/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libproxy/package.py10
-rw-r--r--var/spack/repos/builtin/packages/libpsl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libpthread-stubs/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libpulsar/package.py32
-rw-r--r--var/spack/repos/builtin/packages/libqglviewer/package.py37
-rw-r--r--var/spack/repos/builtin/packages/libqrencode/package.py44
-rw-r--r--var/spack/repos/builtin/packages/libquo/package.py13
-rw-r--r--var/spack/repos/builtin/packages/librdkafka/package.py2
-rw-r--r--var/spack/repos/builtin/packages/librelp/package.py3
-rw-r--r--var/spack/repos/builtin/packages/librmm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/librom/package.py2
-rw-r--r--var/spack/repos/builtin/packages/librsb/package.py2
-rw-r--r--var/spack/repos/builtin/packages/librsvg/package.py3
-rw-r--r--var/spack/repos/builtin/packages/librtlsdr/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libsamplerate/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libseccomp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libsecret/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libsharp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libshm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libsigcpp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libsigsegv/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libsm/package.py9
-rw-r--r--var/spack/repos/builtin/packages/libsndfile/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libsodium/package.py19
-rw-r--r--var/spack/repos/builtin/packages/libspatialindex/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libspatialite/package.py11
-rw-r--r--var/spack/repos/builtin/packages/libspiro/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libsplash/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libssh/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libssh2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libsvm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libszip/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libtar/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libtasn1/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libtermkey/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libthai/package.py23
-rw-r--r--var/spack/repos/builtin/packages/libtheora/exit-prior-to-running-configure.patch23
-rw-r--r--var/spack/repos/builtin/packages/libtheora/fix_encoding.patch12
-rw-r--r--var/spack/repos/builtin/packages/libtheora/package.py8
-rw-r--r--var/spack/repos/builtin/packages/libtiff/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libtirpc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libtlx/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libtomlc99/package.py3
-rw-r--r--var/spack/repos/builtin/packages/libtommath/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libtool/package.py4
-rw-r--r--var/spack/repos/builtin/packages/libtree/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libuecc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libunistring/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libunwind/package.py16
-rw-r--r--var/spack/repos/builtin/packages/libusb/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libusbmuxd/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libuser/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libuuid/package.py4
-rw-r--r--var/spack/repos/builtin/packages/libuv/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libvdwxc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libverto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libvips/package.py7
-rw-r--r--var/spack/repos/builtin/packages/libvorbis/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libvori/package.py19
-rw-r--r--var/spack/repos/builtin/packages/libvterm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libwebp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libwebsockets/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libwindowswm/package.py6
-rw-r--r--var/spack/repos/builtin/packages/libx11/package.py14
-rw-r--r--var/spack/repos/builtin/packages/libxau/package.py4
-rw-r--r--var/spack/repos/builtin/packages/libxaw/package.py6
-rw-r--r--var/spack/repos/builtin/packages/libxaw3d/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libxc/package.py3
-rw-r--r--var/spack/repos/builtin/packages/libxcb/package.py22
-rw-r--r--var/spack/repos/builtin/packages/libxcomposite/package.py6
-rw-r--r--var/spack/repos/builtin/packages/libxcrypt/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libxcursor/package.py4
-rw-r--r--var/spack/repos/builtin/packages/libxdamage/package.py8
-rw-r--r--var/spack/repos/builtin/packages/libxdmcp/package.py4
-rw-r--r--var/spack/repos/builtin/packages/libxevie/package.py8
-rw-r--r--var/spack/repos/builtin/packages/libxext/package.py6
-rw-r--r--var/spack/repos/builtin/packages/libxfixes/package.py8
-rw-r--r--var/spack/repos/builtin/packages/libxfont/package.py8
-rw-r--r--var/spack/repos/builtin/packages/libxfont2/package.py8
-rw-r--r--var/spack/repos/builtin/packages/libxfontcache/package.py6
-rw-r--r--var/spack/repos/builtin/packages/libxft/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libxi/package.py18
-rw-r--r--var/spack/repos/builtin/packages/libxinerama/package.py6
-rw-r--r--var/spack/repos/builtin/packages/libxkbcommon/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libxkbfile/package.py4
-rw-r--r--var/spack/repos/builtin/packages/libxkbui/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libxml2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libxmu/package.py4
-rw-r--r--var/spack/repos/builtin/packages/libxp/package.py6
-rw-r--r--var/spack/repos/builtin/packages/libxpm/package.py4
-rw-r--r--var/spack/repos/builtin/packages/libxpresent/package.py12
-rw-r--r--var/spack/repos/builtin/packages/libxprintapputil/package.py4
-rw-r--r--var/spack/repos/builtin/packages/libxprintutil/package.py4
-rw-r--r--var/spack/repos/builtin/packages/libxrandr/package.py13
-rw-r--r--var/spack/repos/builtin/packages/libxrender/package.py4
-rw-r--r--var/spack/repos/builtin/packages/libxres/package.py6
-rw-r--r--var/spack/repos/builtin/packages/libxscrnsaver/package.py4
-rw-r--r--var/spack/repos/builtin/packages/libxshmfence/package.py4
-rw-r--r--var/spack/repos/builtin/packages/libxslt/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libxsmm/package.py6
-rw-r--r--var/spack/repos/builtin/packages/libxstream/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libxt/package.py6
-rw-r--r--var/spack/repos/builtin/packages/libxtrap/package.py6
-rw-r--r--var/spack/repos/builtin/packages/libxtst/package.py10
-rw-r--r--var/spack/repos/builtin/packages/libxv/package.py4
-rw-r--r--var/spack/repos/builtin/packages/libxvmc/package.py6
-rw-r--r--var/spack/repos/builtin/packages/libxxf86dga/package.py8
-rw-r--r--var/spack/repos/builtin/packages/libxxf86misc/package.py8
-rw-r--r--var/spack/repos/builtin/packages/libxxf86vm/package.py13
-rw-r--r--var/spack/repos/builtin/packages/libyaml/package.py3
-rw-r--r--var/spack/repos/builtin/packages/libyogrt/package.py41
-rw-r--r--var/spack/repos/builtin/packages/libzip/package.py2
-rw-r--r--var/spack/repos/builtin/packages/libzmq/package.py14
-rw-r--r--var/spack/repos/builtin/packages/liggghts/package.py4
-rw-r--r--var/spack/repos/builtin/packages/lighttpd/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ligra/package.py2
-rw-r--r--var/spack/repos/builtin/packages/likwid/package.py43
-rw-r--r--var/spack/repos/builtin/packages/linkphase3/package.py2
-rw-r--r--var/spack/repos/builtin/packages/linktest/package.py36
-rw-r--r--var/spack/repos/builtin/packages/linsys-v/package.py2
-rw-r--r--var/spack/repos/builtin/packages/linux-headers/package.py2
-rw-r--r--var/spack/repos/builtin/packages/linux-pam/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lis/package.py37
-rw-r--r--var/spack/repos/builtin/packages/listres/package.py4
-rw-r--r--var/spack/repos/builtin/packages/lizard/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lksctp-tools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/llvm-amdgpu/fix-ncurses-3.9.0.patch25
-rw-r--r--var/spack/repos/builtin/packages/llvm-amdgpu/package.py41
-rw-r--r--var/spack/repos/builtin/packages/llvm-doe/constexpr_longdouble_9.0.patch12
-rw-r--r--var/spack/repos/builtin/packages/llvm-doe/lldb_external_ncurses-10.patch31
-rw-r--r--var/spack/repos/builtin/packages/llvm-doe/llvm_python_path.patch14
-rw-r--r--var/spack/repos/builtin/packages/llvm-doe/package.py561
-rw-r--r--var/spack/repos/builtin/packages/llvm-openmp-ompt/package.py2
-rwxr-xr-xvar/spack/repos/builtin/packages/llvm-openmp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/llvm/llvm_python_path.patch14
-rw-r--r--var/spack/repos/builtin/packages/llvm/package.py90
-rw-r--r--var/spack/repos/builtin/packages/lm-sensors/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lmbench/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lmdb/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lmod/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lndir/package.py4
-rw-r--r--var/spack/repos/builtin/packages/log4c/package.py2
-rw-r--r--var/spack/repos/builtin/packages/log4cplus/package.py2
-rw-r--r--var/spack/repos/builtin/packages/log4cpp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/log4cxx/package.py2
-rw-r--r--var/spack/repos/builtin/packages/logrotate/package.py2
-rw-r--r--var/spack/repos/builtin/packages/logstash/package.py2
-rw-r--r--var/spack/repos/builtin/packages/loki/package.py2
-rw-r--r--var/spack/repos/builtin/packages/looptools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lordec/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lrslib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lrzip/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lsf/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lshw/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lsof/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lsscsi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ltp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ltr-retriever/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ltrace/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lua-bitlib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lua-lpeg/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lua-luafilesystem/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lua-luajit/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lua-luaposix/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lua-mpack/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lua/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lucene/package.py2
-rw-r--r--var/spack/repos/builtin/packages/luit/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lulesh/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lumpy-sv/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lustre/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lvarray/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lvm2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lwgrp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lwm2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lxc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lynx/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lz4/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lzma/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lzo/package.py2
-rw-r--r--var/spack/repos/builtin/packages/lzop/package.py2
-rw-r--r--var/spack/repos/builtin/packages/m4/oneapi.patch18
-rw-r--r--var/spack/repos/builtin/packages/m4/package.py5
-rw-r--r--var/spack/repos/builtin/packages/macsio/package.py4
-rw-r--r--var/spack/repos/builtin/packages/mad-numdiff/package.py2
-rw-r--r--var/spack/repos/builtin/packages/madgraph5amc/package.py6
-rw-r--r--var/spack/repos/builtin/packages/mafft/package.py6
-rw-r--r--var/spack/repos/builtin/packages/magics/package.py2
-rw-r--r--var/spack/repos/builtin/packages/magma/cmake-W.patch12
-rw-r--r--var/spack/repos/builtin/packages/magma/package.py3
-rw-r--r--var/spack/repos/builtin/packages/mahout/package.py2
-rw-r--r--var/spack/repos/builtin/packages/makedepend/package.py4
-rw-r--r--var/spack/repos/builtin/packages/maker/package.py3
-rw-r--r--var/spack/repos/builtin/packages/mallocmc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/maloc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/man-db/package.py2
-rw-r--r--var/spack/repos/builtin/packages/manta/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mapnik/package.py4
-rw-r--r--var/spack/repos/builtin/packages/mapserver/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mapsplice2/Makefile.patch53
-rw-r--r--var/spack/repos/builtin/packages/mapsplice2/mapsplice_ebwt.patch20
-rw-r--r--var/spack/repos/builtin/packages/mapsplice2/package.py54
-rw-r--r--var/spack/repos/builtin/packages/maq/package.py2
-rw-r--r--var/spack/repos/builtin/packages/margo/package.py78
-rw-r--r--var/spack/repos/builtin/packages/mariadb-c-client/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mariadb/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mark/package.py3
-rw-r--r--var/spack/repos/builtin/packages/masa/package.py2
-rw-r--r--var/spack/repos/builtin/packages/masurca/package.py10
-rw-r--r--var/spack/repos/builtin/packages/mathematica/package.py3
-rw-r--r--var/spack/repos/builtin/packages/matio/package.py2
-rw-r--r--var/spack/repos/builtin/packages/matlab/package.py2
-rw-r--r--var/spack/repos/builtin/packages/maven/package.py2
-rw-r--r--var/spack/repos/builtin/packages/maverick/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mawk/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mbdyn/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mbedtls/package.py3
-rw-r--r--var/spack/repos/builtin/packages/mc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mcl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mcpp/package.py4
-rw-r--r--var/spack/repos/builtin/packages/mcutils/package.py39
-rw-r--r--var/spack/repos/builtin/packages/mdtest/package.py2
-rw-r--r--var/spack/repos/builtin/packages/med/package.py2
-rw-r--r--var/spack/repos/builtin/packages/meep/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mefit/package.py2
-rw-r--r--var/spack/repos/builtin/packages/megadock/package.py2
-rw-r--r--var/spack/repos/builtin/packages/megahit/package.py2
-rw-r--r--var/spack/repos/builtin/packages/memaxes/package.py2
-rw-r--r--var/spack/repos/builtin/packages/memcached/package.py2
-rw-r--r--var/spack/repos/builtin/packages/meme/package.py4
-rw-r--r--var/spack/repos/builtin/packages/memkind/package.py6
-rw-r--r--var/spack/repos/builtin/packages/memsurfer/package.py2
-rw-r--r--var/spack/repos/builtin/packages/memtester/package.py2
-rw-r--r--var/spack/repos/builtin/packages/meraculous/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mercurial/package.py9
-rw-r--r--var/spack/repos/builtin/packages/mercury/package.py6
-rw-r--r--var/spack/repos/builtin/packages/mesa-demos/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mesa-glu/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mesa/package.py30
-rw-r--r--var/spack/repos/builtin/packages/mesa18/package.py60
-rw-r--r--var/spack/repos/builtin/packages/meshkit/package.py2
-rw-r--r--var/spack/repos/builtin/packages/meson/package.py5
-rw-r--r--var/spack/repos/builtin/packages/mesquite/package.py2
-rw-r--r--var/spack/repos/builtin/packages/metabat/package.py2
-rw-r--r--var/spack/repos/builtin/packages/metall/package.py4
-rw-r--r--var/spack/repos/builtin/packages/metaphysicl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/metis/package.py17
-rw-r--r--var/spack/repos/builtin/packages/mfem/package.py71
-rw-r--r--var/spack/repos/builtin/packages/mg/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mgis/package.py10
-rw-r--r--var/spack/repos/builtin/packages/microbiomeutil/package.py2
-rw-r--r--var/spack/repos/builtin/packages/migraphx/0001-Adding-nlohmann-json-include-directory.patch13
-rw-r--r--var/spack/repos/builtin/packages/migraphx/package.py34
-rw-r--r--var/spack/repos/builtin/packages/migrate/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mii/package.py2
-rw-r--r--var/spack/repos/builtin/packages/minced/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mindthegap/package.py2
-rw-r--r--var/spack/repos/builtin/packages/miniaero/package.py2
-rw-r--r--var/spack/repos/builtin/packages/miniamr/package.py16
-rw-r--r--var/spack/repos/builtin/packages/miniasm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/miniconda2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/miniconda3/package.py42
-rw-r--r--var/spack/repos/builtin/packages/minife/package.py2
-rw-r--r--var/spack/repos/builtin/packages/miniforge3/package.py2
-rw-r--r--var/spack/repos/builtin/packages/minigan/package.py2
-rw-r--r--var/spack/repos/builtin/packages/minighost/package.py2
-rw-r--r--var/spack/repos/builtin/packages/minigmg/package.py2
-rw-r--r--var/spack/repos/builtin/packages/minimap2/package.py4
-rw-r--r--var/spack/repos/builtin/packages/minimd/package.py2
-rw-r--r--var/spack/repos/builtin/packages/minio/package.py2
-rw-r--r--var/spack/repos/builtin/packages/miniqmc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/minisign/package.py2
-rw-r--r--var/spack/repos/builtin/packages/minismac2d/package.py2
-rw-r--r--var/spack/repos/builtin/packages/minitri/package.py2
-rw-r--r--var/spack/repos/builtin/packages/minivite/package.py2
-rw-r--r--var/spack/repos/builtin/packages/minixyce/package.py2
-rw-r--r--var/spack/repos/builtin/packages/minizip/implicit.patch10
-rw-r--r--var/spack/repos/builtin/packages/minizip/package.py9
-rw-r--r--var/spack/repos/builtin/packages/minizip/static.patch26
-rw-r--r--var/spack/repos/builtin/packages/minuit/package.py2
-rw-r--r--var/spack/repos/builtin/packages/miopen-hip/0001-Add-rocm-path-and-rocm-device-lib-path-flags.patch14
-rw-r--r--var/spack/repos/builtin/packages/miopen-hip/package.py27
-rw-r--r--var/spack/repos/builtin/packages/miopen-opencl/package.py13
-rw-r--r--var/spack/repos/builtin/packages/miopengemm/package.py9
-rw-r--r--var/spack/repos/builtin/packages/mira/package.py2
-rw-r--r--var/spack/repos/builtin/packages/miranda/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mirdeep2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mitofates/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mitos/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mivisionx/package.py10
-rw-r--r--var/spack/repos/builtin/packages/mixcr/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mkfontdir/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mkfontscale/package.py4
-rw-r--r--var/spack/repos/builtin/packages/mlhka/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mlocate/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mlperf-deepcam/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mmg/package.py2
-rw-r--r--var/spack/repos/builtin/packages/moab/package.py9
-rw-r--r--var/spack/repos/builtin/packages/mochi-margo/package.py55
-rw-r--r--var/spack/repos/builtin/packages/modern-wheel/package.py2
-rw-r--r--var/spack/repos/builtin/packages/modylas/package.py3
-rw-r--r--var/spack/repos/builtin/packages/mofem-cephas/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mofem-fracture-module/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mofem-minimal-surface-equation/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mofem-users-modules/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mokutil/package.py2
-rw-r--r--var/spack/repos/builtin/packages/molcas/package.py2
-rw-r--r--var/spack/repos/builtin/packages/molden/for_aarch64.patch8
-rw-r--r--var/spack/repos/builtin/packages/molden/package.py9
-rw-r--r--var/spack/repos/builtin/packages/mongo-c-driver/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mongo-cxx-driver/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mongodb-async-driver/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mono/package.py2
-rw-r--r--var/spack/repos/builtin/packages/montage/package.py2
-rw-r--r--var/spack/repos/builtin/packages/moosefs/package.py2
-rw-r--r--var/spack/repos/builtin/packages/moreutils/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mosh/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mothur/package.py2
-rw-r--r--var/spack/repos/builtin/packages/motif/package.py2
-rw-r--r--var/spack/repos/builtin/packages/motioncor2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mount-point-attributes/package.py5
-rw-r--r--var/spack/repos/builtin/packages/mozjs/package.py4
-rw-r--r--var/spack/repos/builtin/packages/mpark-variant/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mpas-model/makefile.patch13
-rw-r--r--var/spack/repos/builtin/packages/mpas-model/package.py94
-rw-r--r--var/spack/repos/builtin/packages/mpc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mpdecimal/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mpe2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mpest/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mpfi/package.py31
-rw-r--r--var/spack/repos/builtin/packages/mpfr/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mpi-bash/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mpi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mpich/package.py31
-rw-r--r--var/spack/repos/builtin/packages/mpifileutils/package.py13
-rw-r--r--var/spack/repos/builtin/packages/mpilander/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mpileaks/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mpip/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mpir/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mpix-launch-swift/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mpt/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mptensor/package.py55
-rw-r--r--var/spack/repos/builtin/packages/mrbayes/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mrbench/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mrchem/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mrcpp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mrnet/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mrtrix3/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mscgen/package.py2
-rw-r--r--var/spack/repos/builtin/packages/msgpack-c/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mshadow/package.py2
-rw-r--r--var/spack/repos/builtin/packages/msmc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/msmc2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mstk/package.py5
-rw-r--r--var/spack/repos/builtin/packages/mt-metis/package.py2
-rw-r--r--var/spack/repos/builtin/packages/multitail/package.py2
-rw-r--r--var/spack/repos/builtin/packages/multitime/package.py2
-rw-r--r--var/spack/repos/builtin/packages/multiverso/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mumax/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mummer/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mummer4/package.py3
-rw-r--r--var/spack/repos/builtin/packages/mumps/mumps.src-makefile.5.2.patch29
-rw-r--r--var/spack/repos/builtin/packages/mumps/mumps.src-makefile.5.3.patch24
-rw-r--r--var/spack/repos/builtin/packages/mumps/package.py36
-rw-r--r--var/spack/repos/builtin/packages/munge/package.py2
-rw-r--r--var/spack/repos/builtin/packages/muparser/package.py2
-rw-r--r--var/spack/repos/builtin/packages/muscle/package.py2
-rw-r--r--var/spack/repos/builtin/packages/muse/package.py2
-rw-r--r--var/spack/repos/builtin/packages/musl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/muster/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mutationpp/package.py2
-rwxr-xr-xvar/spack/repos/builtin/packages/mvapich2-gdr/package.py43
-rw-r--r--var/spack/repos/builtin/packages/mvapich2/package.py14
-rwxr-xr-xvar/spack/repos/builtin/packages/mvapich2x/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mxm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mxml/package.py2
-rw-r--r--var/spack/repos/builtin/packages/mxnet/cmake_cuda_flags.patch14
-rw-r--r--var/spack/repos/builtin/packages/mxnet/makefile.opencv.patch35
-rw-r--r--var/spack/repos/builtin/packages/mxnet/makefile.patch81
-rw-r--r--var/spack/repos/builtin/packages/mxnet/openblas-1.6.0.patch14
-rw-r--r--var/spack/repos/builtin/packages/mxnet/openblas-1.7.0.patch16
-rw-r--r--var/spack/repos/builtin/packages/mxnet/package.py215
-rw-r--r--var/spack/repos/builtin/packages/mysql/package.py5
-rw-r--r--var/spack/repos/builtin/packages/nacos/package.py2
-rw-r--r--var/spack/repos/builtin/packages/nag/package.py2
-rw-r--r--var/spack/repos/builtin/packages/nalu-wind/package.py12
-rw-r--r--var/spack/repos/builtin/packages/nalu/package.py2
-rw-r--r--var/spack/repos/builtin/packages/namd/package.py36
-rw-r--r--var/spack/repos/builtin/packages/nano/package.py2
-rw-r--r--var/spack/repos/builtin/packages/nanoflann/package.py2
-rw-r--r--var/spack/repos/builtin/packages/nanomsg/package.py2
-rw-r--r--var/spack/repos/builtin/packages/nanopb/package.py2
-rw-r--r--var/spack/repos/builtin/packages/nasm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/nauty/package.py2
-rw-r--r--var/spack/repos/builtin/packages/nbdkit/package.py6
-rw-r--r--var/spack/repos/builtin/packages/ncbi-magicblast/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ncbi-rmblastn/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ncbi-toolkit/package.py2
-rw-r--r--var/spack/repos/builtin/packages/nccl-tests/package.py2
-rw-r--r--var/spack/repos/builtin/packages/nccl/package.py3
-rw-r--r--var/spack/repos/builtin/packages/nccmp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ncdu/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ncftp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ncl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/nco/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ncompress/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ncurses/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ncview/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ndiff/package.py2
-rw-r--r--var/spack/repos/builtin/packages/neartree/package.py27
-rw-r--r--var/spack/repos/builtin/packages/nek5000/package.py7
-rw-r--r--var/spack/repos/builtin/packages/nekbone/package.py2
-rw-r--r--var/spack/repos/builtin/packages/nekcem/package.py2
-rw-r--r--var/spack/repos/builtin/packages/nektar/package.py2
-rw-r--r--var/spack/repos/builtin/packages/nektools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/neo4j/package.py2
-rw-r--r--var/spack/repos/builtin/packages/neovim/package.py2
-rw-r--r--var/spack/repos/builtin/packages/nest/package.py3
-rw-r--r--var/spack/repos/builtin/packages/netcdf-c/package.py2
-rw-r--r--var/spack/repos/builtin/packages/netcdf-cxx/package.py2
-rw-r--r--var/spack/repos/builtin/packages/netcdf-cxx4/package.py2
-rw-r--r--var/spack/repos/builtin/packages/netcdf-fortran/package.py11
-rw-r--r--var/spack/repos/builtin/packages/netdata/package.py4
-rw-r--r--var/spack/repos/builtin/packages/netgauge/package.py2
-rw-r--r--var/spack/repos/builtin/packages/netgen/package.py2
-rw-r--r--var/spack/repos/builtin/packages/netkit-ftp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/netlib-lapack/package.py2
-rw-r--r--var/spack/repos/builtin/packages/netlib-scalapack/package.py2
-rw-r--r--var/spack/repos/builtin/packages/netlib-xblas/package.py2
-rw-r--r--var/spack/repos/builtin/packages/netperf/package.py2
-rw-r--r--var/spack/repos/builtin/packages/nettle/package.py2
-rw-r--r--var/spack/repos/builtin/packages/neuron/package.py276
-rw-r--r--var/spack/repos/builtin/packages/neuron/patch-v782-git-cmake-avx512.patch139
-rw-r--r--var/spack/repos/builtin/packages/newt/package.py2
-rw-r--r--var/spack/repos/builtin/packages/nextflow/package.py3
-rw-r--r--var/spack/repos/builtin/packages/nfft/package.py2
-rw-r--r--var/spack/repos/builtin/packages/nfs-ganesha/package.py2
-rw-r--r--var/spack/repos/builtin/packages/nfs-utils/package.py3
-rw-r--r--var/spack/repos/builtin/packages/nghttp2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/nginx/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ngmerge/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ngmlr/for_aarch64.patch6
-rw-r--r--var/spack/repos/builtin/packages/ngmlr/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ngspice/package.py21
-rw-r--r--var/spack/repos/builtin/packages/nicstat/package.py2
-rw-r--r--var/spack/repos/builtin/packages/nim/package.py10
-rw-r--r--var/spack/repos/builtin/packages/ninja-fortran/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ninja/package.py3
-rw-r--r--var/spack/repos/builtin/packages/nix/package.py2
-rw-r--r--var/spack/repos/builtin/packages/njet/njet-2.0.0.patch17
-rw-r--r--var/spack/repos/builtin/packages/njet/package.py7
-rw-r--r--var/spack/repos/builtin/packages/nlcglib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/nlohmann-json-schema-validator/package.py2
-rw-r--r--var/spack/repos/builtin/packages/nlohmann-json/package.py2
-rw-r--r--var/spack/repos/builtin/packages/nlopt/package.py2
-rw-r--r--var/spack/repos/builtin/packages/nmap/package.py2
-rw-r--r--var/spack/repos/builtin/packages/nn-c/package.py2
-rw-r--r--var/spack/repos/builtin/packages/nnvm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/node-js/package.py6
-rw-r--r--var/spack/repos/builtin/packages/notmuch/package.py2
-rw-r--r--var/spack/repos/builtin/packages/npb/package.py2
-rw-r--r--var/spack/repos/builtin/packages/npm/package.py3
-rw-r--r--var/spack/repos/builtin/packages/npth/package.py2
-rw-r--r--var/spack/repos/builtin/packages/nrm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ns-3-dev/package.py2
-rw-r--r--var/spack/repos/builtin/packages/nseg/package.py2
-rw-r--r--var/spack/repos/builtin/packages/nsimd/package.py63
-rw-r--r--var/spack/repos/builtin/packages/nspr/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ntirpc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ntpoly/package.py2
-rw-r--r--var/spack/repos/builtin/packages/numactl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/numamma/package.py2
-rw-r--r--var/spack/repos/builtin/packages/numap/package.py2
-rw-r--r--var/spack/repos/builtin/packages/numdiff/package.py2
-rw-r--r--var/spack/repos/builtin/packages/nut/package.py4
-rw-r--r--var/spack/repos/builtin/packages/nvdimmsim/package.py2
-rw-r--r--var/spack/repos/builtin/packages/nvhpc/package.py14
-rw-r--r--var/spack/repos/builtin/packages/nvptx-tools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/nvshmem/package.py54
-rw-r--r--var/spack/repos/builtin/packages/nvtop/package.py22
-rw-r--r--var/spack/repos/builtin/packages/nwchem/package.py2
-rw-r--r--var/spack/repos/builtin/packages/nyancat/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ocaml/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ocamlbuild/package.py41
-rw-r--r--var/spack/repos/builtin/packages/occa/package.py2
-rw-r--r--var/spack/repos/builtin/packages/oce/package.py2
-rw-r--r--var/spack/repos/builtin/packages/oci-systemd-hook/package.py3
-rw-r--r--var/spack/repos/builtin/packages/ocl-icd/package.py8
-rw-r--r--var/spack/repos/builtin/packages/oclgrind/package.py2
-rw-r--r--var/spack/repos/builtin/packages/oclint/package.py2
-rw-r--r--var/spack/repos/builtin/packages/oclock/package.py2
-rw-r--r--var/spack/repos/builtin/packages/octave-control/package.py18
-rw-r--r--var/spack/repos/builtin/packages/octave-gsl/package.py21
-rw-r--r--var/spack/repos/builtin/packages/octave-io/package.py22
-rw-r--r--var/spack/repos/builtin/packages/octave-optim/package.py2
-rw-r--r--var/spack/repos/builtin/packages/octave-quaternion/package.py20
-rw-r--r--var/spack/repos/builtin/packages/octave-splines/package.py2
-rw-r--r--var/spack/repos/builtin/packages/octave-struct/package.py2
-rw-r--r--var/spack/repos/builtin/packages/octave-symbolic/package.py21
-rw-r--r--var/spack/repos/builtin/packages/octave/package.py4
-rw-r--r--var/spack/repos/builtin/packages/octopus/package.py2
-rw-r--r--var/spack/repos/builtin/packages/of-catalyst/package.py2
-rw-r--r--var/spack/repos/builtin/packages/of-precice/package.py2
-rw-r--r--var/spack/repos/builtin/packages/omega-h/package.py4
-rw-r--r--var/spack/repos/builtin/packages/ompss/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ompt-openmp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/onednn/package.py8
-rw-r--r--var/spack/repos/builtin/packages/oniguruma/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ont-albacore/package.py2
-rw-r--r--var/spack/repos/builtin/packages/opa-psm2/opa-psm2-install-prefix.patch78
-rw-r--r--var/spack/repos/builtin/packages/opa-psm2/package.py19
-rw-r--r--var/spack/repos/builtin/packages/opam/package.py2
-rw-r--r--var/spack/repos/builtin/packages/opari2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/open-iscsi/package.py3
-rw-r--r--var/spack/repos/builtin/packages/open-isns/package.py2
-rw-r--r--var/spack/repos/builtin/packages/openbabel/package.py2
-rw-r--r--var/spack/repos/builtin/packages/openblas/package.py24
-rw-r--r--var/spack/repos/builtin/packages/opencascade/package.py2
-rw-r--r--var/spack/repos/builtin/packages/opencl-c-headers/package.py3
-rw-r--r--var/spack/repos/builtin/packages/opencl-clhpp/package.py3
-rw-r--r--var/spack/repos/builtin/packages/opencl-headers/package.py9
-rw-r--r--var/spack/repos/builtin/packages/opencoarrays/package.py2
-rw-r--r--var/spack/repos/builtin/packages/opencv/package.py122
-rw-r--r--var/spack/repos/builtin/packages/opendx/package.py2
-rw-r--r--var/spack/repos/builtin/packages/openexr/package.py16
-rw-r--r--var/spack/repos/builtin/packages/openfast/package.py2
-rw-r--r--var/spack/repos/builtin/packages/openfdtd/package.py6
-rw-r--r--var/spack/repos/builtin/packages/openfoam-org/package.py2
-rw-r--r--var/spack/repos/builtin/packages/openfoam/package.py32
-rw-r--r--var/spack/repos/builtin/packages/openfst/package.py4
-rw-r--r--var/spack/repos/builtin/packages/opengl/package.py9
-rw-r--r--var/spack/repos/builtin/packages/openglu/package.py9
-rw-r--r--var/spack/repos/builtin/packages/openimageio/package.py2
-rw-r--r--var/spack/repos/builtin/packages/openipmi/package.py15
-rw-r--r--var/spack/repos/builtin/packages/openipmi/readline.patch11
-rw-r--r--var/spack/repos/builtin/packages/openjdk/package.py11
-rw-r--r--var/spack/repos/builtin/packages/openjpeg/package.py2
-rw-r--r--var/spack/repos/builtin/packages/openkim-models/package.py16
-rw-r--r--var/spack/repos/builtin/packages/openldap/package.py6
-rw-r--r--var/spack/repos/builtin/packages/openloops/package.py10
-rw-r--r--var/spack/repos/builtin/packages/openmc/package.py33
-rw-r--r--var/spack/repos/builtin/packages/openmm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/openmolcas/package.py2
-rw-r--r--var/spack/repos/builtin/packages/openmpi/package.py46
-rw-r--r--var/spack/repos/builtin/packages/openmx/for_aarch64.patch11
-rw-r--r--var/spack/repos/builtin/packages/openmx/package.py5
-rw-r--r--var/spack/repos/builtin/packages/opennurbs/package.py2
-rw-r--r--var/spack/repos/builtin/packages/openpa/package.py2
-rw-r--r--var/spack/repos/builtin/packages/openpbs/package.py2
-rw-r--r--var/spack/repos/builtin/packages/openpmd-api/package.py32
-rw-r--r--var/spack/repos/builtin/packages/openrasmol/package.py68
-rw-r--r--var/spack/repos/builtin/packages/openrasmol/rasmol_help.patch22
-rw-r--r--var/spack/repos/builtin/packages/openrasmol/rasmol_noqa.patch26
-rw-r--r--var/spack/repos/builtin/packages/openrasmol/test/test.rsc3
-rw-r--r--var/spack/repos/builtin/packages/openresty/package.py2
-rw-r--r--var/spack/repos/builtin/packages/openscenegraph/package.py4
-rw-r--r--var/spack/repos/builtin/packages/openslide/package.py2
-rw-r--r--var/spack/repos/builtin/packages/openslp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/openspeedshop-utils/package.py2
-rw-r--r--var/spack/repos/builtin/packages/openspeedshop/package.py2
-rw-r--r--var/spack/repos/builtin/packages/openssh/package.py2
-rw-r--r--var/spack/repos/builtin/packages/openssl/package.py70
-rw-r--r--var/spack/repos/builtin/packages/openstf/package.py6
-rw-r--r--var/spack/repos/builtin/packages/opensubdiv/package.py2
-rw-r--r--var/spack/repos/builtin/packages/opentsdb/package.py2
-rw-r--r--var/spack/repos/builtin/packages/openvslam/package.py33
-rw-r--r--var/spack/repos/builtin/packages/openwsman/package.py68
-rw-r--r--var/spack/repos/builtin/packages/opium/package.py2
-rw-r--r--var/spack/repos/builtin/packages/optional-lite/package.py2
-rw-r--r--var/spack/repos/builtin/packages/optipng/package.py2
-rw-r--r--var/spack/repos/builtin/packages/opus/package.py2
-rw-r--r--var/spack/repos/builtin/packages/orbit2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/orc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/orca/package.py3
-rw-r--r--var/spack/repos/builtin/packages/orfm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/orientdb/package.py2
-rw-r--r--var/spack/repos/builtin/packages/orthofiller/package.py2
-rw-r--r--var/spack/repos/builtin/packages/orthofinder/package.py2
-rw-r--r--var/spack/repos/builtin/packages/orthomcl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/osi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/osmctools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/osqp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ossp-uuid/package.py (renamed from var/spack/repos/builtin/packages/uuid/package.py)14
-rw-r--r--var/spack/repos/builtin/packages/osu-micro-benchmarks/package.py3
-rw-r--r--var/spack/repos/builtin/packages/otf/package.py2
-rw-r--r--var/spack/repos/builtin/packages/otf2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/p11-kit/package.py2
-rw-r--r--var/spack/repos/builtin/packages/p3dfft3/package.py2
-rw-r--r--var/spack/repos/builtin/packages/p4est/package.py2
-rw-r--r--var/spack/repos/builtin/packages/p7zip/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pacbio-daligner/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pacbio-damasker/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pacbio-dazz-db/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pacbio-dextractor/package.py2
-rw-r--r--var/spack/repos/builtin/packages/packmol/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pacparser/package.py32
-rw-r--r--var/spack/repos/builtin/packages/pacvim/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pagit/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pagmo/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pal/package.py2
-rw-r--r--var/spack/repos/builtin/packages/paml/package.py2
-rw-r--r--var/spack/repos/builtin/packages/panda/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pandaseq/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pandoc/package.py4
-rw-r--r--var/spack/repos/builtin/packages/pango/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pangolin/package.py23
-rw-r--r--var/spack/repos/builtin/packages/pangomm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/papi/crayftn-fixes.patch57
-rw-r--r--var/spack/repos/builtin/packages/papi/package.py3
-rw-r--r--var/spack/repos/builtin/packages/papyrus/package.py2
-rw-r--r--var/spack/repos/builtin/packages/paradiseo/package.py2
-rw-r--r--var/spack/repos/builtin/packages/parallel-netcdf/package.py34
-rw-r--r--var/spack/repos/builtin/packages/parallel/package.py2
-rw-r--r--var/spack/repos/builtin/packages/parallelio/package.py52
-rw-r--r--var/spack/repos/builtin/packages/parallelmergetree/package.py2
-rw-r--r--var/spack/repos/builtin/packages/paraver/package.py2
-rw-r--r--var/spack/repos/builtin/packages/paraview/package.py24
-rw-r--r--var/spack/repos/builtin/packages/parmetis/package.py2
-rw-r--r--var/spack/repos/builtin/packages/parmgridgen/package.py2
-rw-r--r--var/spack/repos/builtin/packages/parquet-cpp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/parquet-format/package.py2
-rw-r--r--var/spack/repos/builtin/packages/parsec/package.py55
-rw-r--r--var/spack/repos/builtin/packages/parsimonator/package.py2
-rw-r--r--var/spack/repos/builtin/packages/parsplice/package.py2
-rw-r--r--var/spack/repos/builtin/packages/partitionfinder/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pasta/package.py2
-rw-r--r--var/spack/repos/builtin/packages/patch/package.py2
-rw-r--r--var/spack/repos/builtin/packages/patchelf/package.py2
-rw-r--r--var/spack/repos/builtin/packages/patchutils/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pathfinder/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pax-utils/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pbbam/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pbmpi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pbsuite/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pciutils/package.py12
-rw-r--r--var/spack/repos/builtin/packages/pcl/package.py21
-rw-r--r--var/spack/repos/builtin/packages/pcma/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pcre/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pcre2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pdf2svg/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pdftk/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pdsh/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pdt/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pegtl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pennant/package.py2
-rw-r--r--var/spack/repos/builtin/packages/percept/package.py2
-rw-r--r--var/spack/repos/builtin/packages/percona-server/package.py4
-rw-r--r--var/spack/repos/builtin/packages/perfstubs/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-acme-damn/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-algorithm-diff/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-alien-build/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-alien-libxml2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-alien-svn/package.py42
-rw-r--r--var/spack/repos/builtin/packages/perl-app-cmd/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-array-utils/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-b-hooks-endofscope/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-bio-searchio-hmmer/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-bioperl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-bit-vector/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-cairo/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-capture-tiny/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-carp-clan/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-cgi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-class-data-inheritable/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-class-inspector/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-class-load-xs/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-class-load/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-clone-choose/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-clone/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-compress-raw-bzip2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-compress-raw-zlib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-config-general/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-contextual-return/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-cpan-meta-check/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-data-dumper/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-data-optlist/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-data-stag/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-date-manip/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-db-file/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-dbd-mysql/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-dbd-pg/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-dbd-sqlite/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-dbi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-devel-cycle/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-devel-globaldestruction/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-devel-overloadinfo/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-devel-stacktrace/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-devel-symdump/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-digest-md5/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-dist-checkconflicts/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-encode-locale/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-error/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-eval-closure/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-exception-class/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-exporter-tiny/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-extutils-config/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-extutils-depends/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-extutils-helpers/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-extutils-installpaths/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-extutils-makemaker/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-extutils-pkgconfig/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-ffi-checklib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-file-chdir/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-file-copy-recursive/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-file-homedir/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-file-listing/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-file-pushd/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-file-sharedir-install/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-file-slurp-tiny/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-file-slurp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-file-slurper/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-file-which/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-font-ttf/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-forks/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-gd/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-gdgraph-histogram/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-gdgraph/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-gdtextutil/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-graph-readwrite/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-graph/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-hash-merge/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-html-parser/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-html-tagset/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-http-cookies/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-http-daemon/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-http-date/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-http-message/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-http-negotiate/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-inline-c/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-inline/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-io-all/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-io-compress/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-io-html/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-io-prompt/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-io-sessiondata/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-io-socket-ssl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-io-string/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-io-stringy/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-io-tty/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-ipc-run/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-json/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-libwww-perl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-libxml-perl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-list-moreutils-xs/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-list-moreutils/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-log-log4perl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-logger-simple/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-lwp-mediatypes/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-lwp-protocol-https/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-mailtools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-math-bezier/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-math-cdf/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-math-cephes/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-math-matrixreal/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-math-round/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-math-vecstat/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-module-build-tiny/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-module-build/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-module-implementation/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-module-runtime-conflicts/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-module-runtime/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-moose/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-mozilla-ca/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-mro-compat/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-namespace-clean/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-net-http/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-net-scp-expect/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-net-ssleay/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-number-format/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-object-insideout/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-package-deprecationmanager/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-package-stash-xs/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-package-stash/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-padwalker/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-parallel-forkmanager/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-params-util/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-params-validate/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-parse-recdescent/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-path-tiny/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-pdf-api2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-pegex/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-perl-unsafe-signals/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-perl-version/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-perl4-corelibs/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-perl6-slurp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-perlio-gzip/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-perlio-utf8-strict/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-readonly/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-regexp-common/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-scalar-list-utils/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-scalar-util-numeric/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-set-intervaltree/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-set-intspan/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-set-scalar/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-soap-lite/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-star-fusion/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-statistics-basic/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-statistics-descriptive/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-statistics-pca/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-sub-exporter-progressive/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-sub-exporter/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-sub-identify/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-sub-install/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-sub-name/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-sub-uplevel/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-svg/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-swissknife/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-sys-sigaction/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-task-weaken/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-term-readline-gnu/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-termreadkey/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-test-cleannamespaces/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-test-deep/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-test-differences/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-test-exception/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-test-fatal/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-test-memory-cycle/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-test-most/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-test-needs/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-test-requires/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-test-requiresinternet/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-test-warn/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-test-warnings/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-text-csv/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-text-diff/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-text-format/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-text-simpletable/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-text-soundex/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-text-unidecode/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-time-hires/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-time-piece/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-timedate/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-try-tiny/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-uri/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-want/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-www-robotrules/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-xml-dom-xpath/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-xml-dom/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-xml-filter-buffertext/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-xml-libxml/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-xml-libxslt/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-xml-namespacesupport/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-xml-parser-lite/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-xml-parser/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-xml-quote/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-xml-regexp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-xml-sax-base/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-xml-sax-writer/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-xml-sax/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-xml-simple/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-xml-twig/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-xml-writer/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-xml-xpathengine/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-yaml-libyaml/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl-yaml/package.py2
-rw-r--r--var/spack/repos/builtin/packages/perl/nvhpc-5.30.patch (renamed from var/spack/repos/builtin/packages/perl/nvhpc.patch)0
-rw-r--r--var/spack/repos/builtin/packages/perl/package.py16
-rw-r--r--var/spack/repos/builtin/packages/pestpp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/petsc/package.py42
-rw-r--r--var/spack/repos/builtin/packages/pexsi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pfapack/package.py66
-rw-r--r--var/spack/repos/builtin/packages/pfft/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pflask/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pflotran/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pfunit/package.py5
-rw-r--r--var/spack/repos/builtin/packages/pgdspider/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pgi/package.py3
-rw-r--r--var/spack/repos/builtin/packages/phantompeakqualtools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/phast/package.py2
-rw-r--r--var/spack/repos/builtin/packages/phasta/package.py2
-rw-r--r--var/spack/repos/builtin/packages/phist/package.py8
-rw-r--r--var/spack/repos/builtin/packages/phist/sbang.patch8
-rw-r--r--var/spack/repos/builtin/packages/phoenix/package.py2
-rw-r--r--var/spack/repos/builtin/packages/photos/package.py16
-rw-r--r--var/spack/repos/builtin/packages/php/package.py2
-rw-r--r--var/spack/repos/builtin/packages/phrap-crossmatch-swat/package.py3
-rw-r--r--var/spack/repos/builtin/packages/phred/package.py3
-rw-r--r--var/spack/repos/builtin/packages/phylip/package.py2
-rw-r--r--var/spack/repos/builtin/packages/phylobayesmpi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/phyluce/package.py2
-rw-r--r--var/spack/repos/builtin/packages/picard/package.py3
-rw-r--r--var/spack/repos/builtin/packages/picsar/package.py2
-rw-r--r--var/spack/repos/builtin/packages/picsarlite/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pidx/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pig/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pigz/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pilon/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pindel/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pinentry/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pinfo/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pipework/package.py2
-rw-r--r--var/spack/repos/builtin/packages/piranha/package.py6
-rw-r--r--var/spack/repos/builtin/packages/pism/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pixman/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pixz/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pkg-config/package.py5
-rw-r--r--var/spack/repos/builtin/packages/pkgconf/package.py4
-rw-r--r--var/spack/repos/builtin/packages/pktools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/planck-likelihood/package.py2
-rw-r--r--var/spack/repos/builtin/packages/plasma/package.py2
-rw-r--r--var/spack/repos/builtin/packages/platypus/package.py2
-rw-r--r--var/spack/repos/builtin/packages/plink-ng/package.py2
-rw-r--r--var/spack/repos/builtin/packages/plink/package.py2
-rw-r--r--var/spack/repos/builtin/packages/plplot/package.py2
-rw-r--r--var/spack/repos/builtin/packages/plumed/package.py43
-rw-r--r--var/spack/repos/builtin/packages/ply/package.py26
-rw-r--r--var/spack/repos/builtin/packages/pmdk/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pmerge/package.py29
-rw-r--r--var/spack/repos/builtin/packages/pmgr-collective/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pmix/package.py12
-rw-r--r--var/spack/repos/builtin/packages/pmlib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pnfft/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pngquant/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pngwriter/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pnmpi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/poamsa/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pocl/package.py9
-rw-r--r--var/spack/repos/builtin/packages/podio/package.py62
-rw-r--r--var/spack/repos/builtin/packages/polymake/package.py2
-rw-r--r--var/spack/repos/builtin/packages/poplddecay/package.py2
-rw-r--r--var/spack/repos/builtin/packages/poppler-data/package.py2
-rw-r--r--var/spack/repos/builtin/packages/poppler/package.py2
-rw-r--r--var/spack/repos/builtin/packages/popt/package.py4
-rw-r--r--var/spack/repos/builtin/packages/porta/package.py2
-rw-r--r--var/spack/repos/builtin/packages/portage/package.py110
-rw-r--r--var/spack/repos/builtin/packages/portcullis/package.py2
-rw-r--r--var/spack/repos/builtin/packages/postgis/package.py2
-rw-r--r--var/spack/repos/builtin/packages/postgresql/package.py7
-rw-r--r--var/spack/repos/builtin/packages/povray/fix_prebuild.sh.patch15
-rw-r--r--var/spack/repos/builtin/packages/povray/package.py157
-rw-r--r--var/spack/repos/builtin/packages/powerapi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/powertop/package.py3
-rw-r--r--var/spack/repos/builtin/packages/ppl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pplacer/package.py2
-rwxr-xr-xvar/spack/repos/builtin/packages/ppopen-appl-amr-fdm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ppopen-appl-bem-at/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ppopen-appl-bem/package.py2
-rwxr-xr-xvar/spack/repos/builtin/packages/ppopen-appl-dem-util/package.py2
-rwxr-xr-xvar/spack/repos/builtin/packages/ppopen-appl-fdm-at/package.py2
-rwxr-xr-xvar/spack/repos/builtin/packages/ppopen-appl-fdm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ppopen-appl-fem/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ppopen-appl-fvm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ppopen-at/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ppopen-math-mp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ppopen-math-vis/package.py2
-rw-r--r--var/spack/repos/builtin/packages/prank/package.py2
-rw-r--r--var/spack/repos/builtin/packages/precice/package.py13
-rw-r--r--var/spack/repos/builtin/packages/predixy/package.py2
-rw-r--r--var/spack/repos/builtin/packages/premake-core/package.py2
-rw-r--r--var/spack/repos/builtin/packages/presentproto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/preseq/package.py2
-rw-r--r--var/spack/repos/builtin/packages/presto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/price/package.py2
-rw-r--r--var/spack/repos/builtin/packages/primer3/package.py2
-rw-r--r--var/spack/repos/builtin/packages/prinseq-lite/package.py2
-rw-r--r--var/spack/repos/builtin/packages/printproto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/prism/package.py2
-rw-r--r--var/spack/repos/builtin/packages/prmon/package.py3
-rw-r--r--var/spack/repos/builtin/packages/prng/package.py2
-rw-r--r--var/spack/repos/builtin/packages/probconsrna/package.py2
-rw-r--r--var/spack/repos/builtin/packages/procenv/7cafed1316ddb16fe0689d54ba10c05dd2edd347.patch34
-rw-r--r--var/spack/repos/builtin/packages/procenv/package.py29
-rw-r--r--var/spack/repos/builtin/packages/process-in-process/package.py178
-rw-r--r--var/spack/repos/builtin/packages/procps-ng/package.py2
-rw-r--r--var/spack/repos/builtin/packages/procps/package.py2
-rw-r--r--var/spack/repos/builtin/packages/prodigal/package.py2
-rw-r--r--var/spack/repos/builtin/packages/profugusmc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/proj/package.py22
-rw-r--r--var/spack/repos/builtin/packages/prokka/package.py2
-rw-r--r--var/spack/repos/builtin/packages/prometheus/package.py2
-rw-r--r--var/spack/repos/builtin/packages/protobuf-c/package.py2
-rw-r--r--var/spack/repos/builtin/packages/protobuf/package.py4
-rw-r--r--var/spack/repos/builtin/packages/proxymngr/package.py6
-rw-r--r--var/spack/repos/builtin/packages/prrte/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pruners-ninja/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ps-lite/package.py2
-rw-r--r--var/spack/repos/builtin/packages/psi4/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pslib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/psm/package.py4
-rw-r--r--var/spack/repos/builtin/packages/psmc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pstreams/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pugixml/package.py23
-rw-r--r--var/spack/repos/builtin/packages/pulseaudio/package.py4
-rw-r--r--var/spack/repos/builtin/packages/pumi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pv/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pvm/package.py15
-rw-r--r--var/spack/repos/builtin/packages/pxz/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-3to2/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-4suite-xml/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-abipy/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-absl-py/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-accimage/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-acme-tiny/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-adal/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-adb-enhanced/package.py3
-rw-r--r--var/spack/repos/builtin/packages/py-addict/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-adios/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-advancedhtmlparser/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-aenum/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-affine/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-agate-dbf/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-agate-excel/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-agate-sql/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-agate/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-aiofiles/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-aiohttp-cors/package.py19
-rw-r--r--var/spack/repos/builtin/packages/py-aiohttp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-aioredis/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-alabaster/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-alembic/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-altgraph/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-amqp/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-angel/package.py23
-rw-r--r--var/spack/repos/builtin/packages/py-ansible/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-antlr4-python3-runtime/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-anuga/package.py32
-rw-r--r--var/spack/repos/builtin/packages/py-apache-beam/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-apache-libcloud/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-apex/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-apipkg/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-appdirs/package.py14
-rw-r--r--var/spack/repos/builtin/packages/py-applicationinsights/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-appnope/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-apptools/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-apscheduler/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-archspec/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-argcomplete/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-argon2-cffi/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-argparse/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-args/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-arrow/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-arviz/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-asciitree/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-asdf/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-ase/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-asgiref/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-asn1crypto/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-aspy-yaml/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-asserts/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-asteval/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-astor/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-astpretty/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-astroid/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-astropy-healpix/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-astropy-helpers/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-astropy/package.py8
-rw-r--r--var/spack/repos/builtin/packages/py-astunparse/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-async-generator/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-async-timeout/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-asyncio/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-atomicwrites/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-atpublic/package.py22
-rw-r--r--var/spack/repos/builtin/packages/py-atropos/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-attrs/package.py14
-rw-r--r--var/spack/repos/builtin/packages/py-audioread/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-autograd-gamma/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-autograd/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-autopep8/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-auxlib/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-avro-json-serializer/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-avro-python3/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-avro/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-awesome-slugify/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-awkward1/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azote/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-azure-batch/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-cli-command-modules-nspkg/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-cli-core/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-azure-cli-nspkg/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-cli-telemetry/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-azure-cli/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-azure-common/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-core/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-cosmos/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-datalake-store/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-functions-devops-build/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-graphrbac/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-identity/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-keyvault-certificates/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-keyvault-keys/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-keyvault-nspkg/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-keyvault-secrets/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-keyvault/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-loganalytics/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-advisor/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-apimanagement/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-appconfiguration/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-applicationinsights/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-authorization/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-batch/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-batchai/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-billing/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-botservice/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-cdn/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-cognitiveservices/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-compute/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-consumption/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-containerinstance/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-containerregistry/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-containerservice/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-core/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-cosmosdb/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-datalake-analytics/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-datalake-store/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-datamigration/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-deploymentmanager/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-devtestlabs/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-dns/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-eventgrid/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-eventhub/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-hdinsight/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-imagebuilder/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-iotcentral/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-iothub/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-iothubprovisioningservices/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-keyvault/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-kusto/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-loganalytics/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-managedservices/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-managementgroups/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-maps/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-marketplaceordering/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-media/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-monitor/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-msi/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-netapp/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-network/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-nspkg/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-policyinsights/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-privatedns/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-rdbms/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-recoveryservices/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-recoveryservicesbackup/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-redhatopenshift/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-redis/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-relay/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-reservations/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-resource/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-search/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-security/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-servicebus/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-servicefabric/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-signalr/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-sql/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-sqlvirtualmachine/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-storage/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-trafficmanager/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-mgmt-web/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-multiapi-storage/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-nspkg/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-storage-common/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azure-storage-nspkg/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-azureml-automl-core/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-azureml-core/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-azureml-dataprep-native/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-azureml-dataprep/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-azureml-dataset-runtime/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-azureml-pipeline-core/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-azureml-pipeline-steps/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-azureml-pipeline/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-azureml-sdk/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-azureml-telemetry/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-azureml-train-automl-client/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-azureml-train-core/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-azureml-train-restclients-hyperdrive/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-azureml-train/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-babel/package.py8
-rw-r--r--var/spack/repos/builtin/packages/py-backcall/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-backports-abc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-backports-functools-lru-cache/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-backports-lzma/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-backports-shutil-get-terminal-size/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-backports-ssl-match-hostname/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-backports-tempfile/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-backports-weakref/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-basemap/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-bash-kernel/package.py18
-rw-r--r--var/spack/repos/builtin/packages/py-basis-set-exchange/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-bayesian-optimization/package.py21
-rw-r--r--var/spack/repos/builtin/packages/py-bcbio-gff/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-bcolz/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-bcrypt/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-beancount/package.py31
-rw-r--r--var/spack/repos/builtin/packages/py-beautifulsoup4/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-bigfloat/package.py21
-rw-r--r--var/spack/repos/builtin/packages/py-billiard/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-binaryornot/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-bintrees/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-binwalk/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-biom-format/package.py26
-rw-r--r--var/spack/repos/builtin/packages/py-biomine/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-biopandas/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-biopython/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-bitarray/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-bitstring/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-black/package.py28
-rw-r--r--var/spack/repos/builtin/packages/py-bleach/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-blessed/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-blessings/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-blinker/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-blis/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-blosc/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-bmap-tools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-bokeh/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-boltons/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-boom-boot-manager/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-boto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-boto3/package.py9
-rw-r--r--var/spack/repos/builtin/packages/py-botocore/package.py8
-rw-r--r--var/spack/repos/builtin/packages/py-bottle/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-bottleneck/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-breakseq2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-breathe/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-brian/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-brian2/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-brotlipy/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-bsddb3/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-bx-python/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-bz2file/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-cached-property/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-cachetools/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-cairocffi/package.py9
-rw-r--r--var/spack/repos/builtin/packages/py-cantoolz/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-cartopy/package.py35
-rw-r--r--var/spack/repos/builtin/packages/py-catalogue/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-catkin-pkg/package.py19
-rw-r--r--var/spack/repos/builtin/packages/py-cclib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-cdat-lite/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-cdo/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-cdsapi/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-cekit/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-celery/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-certifi/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-certipy/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-cf-units/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-cffi/package.py8
-rw-r--r--var/spack/repos/builtin/packages/py-cfgv/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-cftime/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-chai/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-chainer/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-chainmap/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-chalice/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-chardet/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-charm4py/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-checkm-genome/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-cheetah/package.py10
-rw-r--r--var/spack/repos/builtin/packages/py-cheetah3/package.py17
-rw-r--r--var/spack/repos/builtin/packages/py-cheroot/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-cherrypy/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-chronyk/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-cinema-lib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-cinemasci/package.py27
-rw-r--r--var/spack/repos/builtin/packages/py-click-didyoumean/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-click-plugins/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-click-repl/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-click/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-cligj/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-clint/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-clipboard/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-cloudpickle/package.py12
-rw-r--r--var/spack/repos/builtin/packages/py-clustershell/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-cmake-format/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-cmake/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-cmocean/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-cnvkit/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-coapthon3/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-codecov/package.py8
-rw-r--r--var/spack/repos/builtin/packages/py-cogent/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-coilmq/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-colorama/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-colored-traceback/package.py19
-rw-r--r--var/spack/repos/builtin/packages/py-coloredlogs/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-colorful/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-colorlog/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-colormath/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-colorpy/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-colorspacious/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-commonmark/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-configargparse/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-configobj/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-configparser/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-contextily/package.py27
-rw-r--r--var/spack/repos/builtin/packages/py-contextlib2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-contextvars/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-convertdate/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-cookiecutter/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-counter/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-cov-core/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-coverage/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-cppheaderparser/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-crcmod/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-crispresso/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-crossmap/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-cryptography/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-cssselect/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-csvkit/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-cudf/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-cuml/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-cupy/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-current/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-cutadapt/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-cvxopt/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-cvxpy/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-cycler/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-cymem/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-cyordereddict/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-cython/package.py16
-rw-r--r--var/spack/repos/builtin/packages/py-cyvcf2/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-d2to1/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-dadi/package.py27
-rw-r--r--var/spack/repos/builtin/packages/py-dask-glm/package.py24
-rw-r--r--var/spack/repos/builtin/packages/py-dask-ml/package.py65
-rw-r--r--var/spack/repos/builtin/packages/py-dask-ml/xgboost_dependency.patch23
-rw-r--r--var/spack/repos/builtin/packages/py-dask-sphinx-theme/package.py18
-rw-r--r--var/spack/repos/builtin/packages/py-dask-xgboost/package.py25
-rw-r--r--var/spack/repos/builtin/packages/py-dask/package.py13
-rw-r--r--var/spack/repos/builtin/packages/py-dataclasses/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-dateparser/package.py9
-rw-r--r--var/spack/repos/builtin/packages/py-dbf/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-dbfread/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-deap/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-decorator/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-deeptools/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-deeptoolsintervals/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-defusedxml/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-dendropy/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-deprecated/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-deprecation/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-descartes/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-devlib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-dgl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-dictdiffer/package.py20
-rw-r--r--var/spack/repos/builtin/packages/py-dill/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-discover/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-diskcache/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-distributed/package.py22
-rw-r--r--var/spack/repos/builtin/packages/py-distro/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-django/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-dlcpar/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-dnaio/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-docker/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-dockerpy-creds/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-docopt/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-docutils-stubs/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-docutils/package.py15
-rw-r--r--var/spack/repos/builtin/packages/py-dominate/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-dotnetcore2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-doxypy/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-doxypypy/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-dp-gp-cluster/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-dpath/package.py19
-rw-r--r--var/spack/repos/builtin/packages/py-drmaa/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-dryscrape/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-dulwich/package.py24
-rw-r--r--var/spack/repos/builtin/packages/py-dvc/package.py61
-rw-r--r--var/spack/repos/builtin/packages/py-dxchange/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-dxfile/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-earthengine-api/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-easybuild-easyblocks/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-easybuild-easyconfigs/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-easybuild-framework/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-ecdsa/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-ecos/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-edffile/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-editdistance/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-eg/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-elasticsearch/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-elephant/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-emcee/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-empy/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-entrypoints/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-enum34/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-envisage/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-ephem/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-epydoc/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-espresso/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-espressopp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-et-xmlfile/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-eventlet/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-execnet/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-exodus-bundler/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-extension-helpers/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-extras/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-ez-setup/package.py18
-rw-r--r--var/spack/repos/builtin/packages/py-f90wrap/package.py22
-rw-r--r--var/spack/repos/builtin/packages/py-fabric/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-falcon/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-fallocate/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-fastaindex/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-fastavro/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-fastcache/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-fastcluster/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-fastdtw/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-fasteners/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-fastrlock/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-faststructure/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-fava/package.py44
-rw-r--r--var/spack/repos/builtin/packages/py-fenics-basix/package.py26
-rw-r--r--var/spack/repos/builtin/packages/py-fenics-dijitso/package.py13
-rw-r--r--var/spack/repos/builtin/packages/py-fenics-dolfinx/package.py3
-rw-r--r--var/spack/repos/builtin/packages/py-fenics-ffc/package.py39
-rw-r--r--var/spack/repos/builtin/packages/py-fenics-ffcx/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-fenics-fiat/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-fenics-instant/package.py28
-rw-r--r--var/spack/repos/builtin/packages/py-fenics-ufl/package.py3
-rw-r--r--var/spack/repos/builtin/packages/py-filelock/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-filemagic/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-filterpy/package.py22
-rw-r--r--var/spack/repos/builtin/packages/py-fiona/package.py28
-rw-r--r--var/spack/repos/builtin/packages/py-fiscalyear/package.py21
-rw-r--r--var/spack/repos/builtin/packages/py-fisher/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-fits-tools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-fixtures/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-flake8-import-order/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-flake8-polyfill/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-flake8/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-flask-babel/package.py22
-rw-r--r--var/spack/repos/builtin/packages/py-flask-compress/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-flask-cors/package.py21
-rw-r--r--var/spack/repos/builtin/packages/py-flask-socketio/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-flask/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-flatten-dict/package.py22
-rw-r--r--var/spack/repos/builtin/packages/py-flexx/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-flufl-lock/package.py24
-rw-r--r--var/spack/repos/builtin/packages/py-flye/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-fn-py/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-fortran-language-server/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-fortranformat/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-fparser/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-fprettify/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-freezegun/package.py8
-rw-r--r--var/spack/repos/builtin/packages/py-fsspec/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-ftfy/package.py20
-rw-r--r--var/spack/repos/builtin/packages/py-funcsigs/package.py8
-rw-r--r--var/spack/repos/builtin/packages/py-functools32/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-funcy/package.py19
-rw-r--r--var/spack/repos/builtin/packages/py-fusepy/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-future/package.py30
-rw-r--r--var/spack/repos/builtin/packages/py-futures/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-fypp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-gast/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-gcovr/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-gdbgui/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-gdc-client/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-gee-asset-manager/package.py3
-rw-r--r--var/spack/repos/builtin/packages/py-geeadd/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-geeup/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-gemini/package.py58
-rw-r--r--var/spack/repos/builtin/packages/py-genders/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-geneimpacts/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-genshi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-gensim/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-geoalchemy2/package.py10
-rw-r--r--var/spack/repos/builtin/packages/py-geographiclib/package.py19
-rw-r--r--var/spack/repos/builtin/packages/py-geopandas/package.py24
-rw-r--r--var/spack/repos/builtin/packages/py-geoplot/package.py31
-rw-r--r--var/spack/repos/builtin/packages/py-geopy/package.py21
-rw-r--r--var/spack/repos/builtin/packages/py-gevent/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-gf256/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-git-review/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-gitdb/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-gitpython/package.py28
-rw-r--r--var/spack/repos/builtin/packages/py-gluoncv/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-gnuplot/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-goatools/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-google-api-core/package.py8
-rw-r--r--var/spack/repos/builtin/packages/py-google-api-python-client/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-google-auth-httplib2/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-google-auth-oauthlib/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-google-auth/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-google-cloud-core/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-google-cloud-storage/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-google-pasta/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-google-resumable-media/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-google/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-googleapis-common-protos/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-googledrivedownloader/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-gosam/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-gpaw/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-gpustat/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-gputil/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-gpy/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-gpytorch/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-gql/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-grandalf/package.py22
-rw-r--r--var/spack/repos/builtin/packages/py-graphql-core/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-graphviz/package.py10
-rw-r--r--var/spack/repos/builtin/packages/py-greenlet/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-grequests/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-griddataformats/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-grpcio/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-gsd/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-gsi/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-guidata/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-guiqwt/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-h11/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-h2/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-h5glance/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-h5py/package.py33
-rw-r--r--var/spack/repos/builtin/packages/py-h5sh/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-hacking/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-hatchet/package.py14
-rw-r--r--var/spack/repos/builtin/packages/py-hdbscan/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-hdfs/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-healpy/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-heapdict/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-hepdata-validator/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-hepunits/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-hieroglyph/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-hiredis/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-holland-backup/package.py23
-rw-r--r--var/spack/repos/builtin/packages/py-horovod/package.py73
-rw-r--r--var/spack/repos/builtin/packages/py-hpack/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-hpcbench/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-hpccm/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-hstspreload/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-html2text/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-html5lib/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-htmlgen/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-htseq/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-httpbin/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-httpcore/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-httplib2/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-httptools/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-httpx/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-humanfriendly/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-humanize/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-hvac/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-hyperframe/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-hyperopt/package.py35
-rw-r--r--var/spack/repos/builtin/packages/py-hypothesis/package.py12
-rw-r--r--var/spack/repos/builtin/packages/py-ics/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-identify/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-idna-ssl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-idna/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-illumina-utils/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-imageio-ffmpeg/package.py25
-rw-r--r--var/spack/repos/builtin/packages/py-imageio/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-imagesize/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-iminuit/package.py15
-rw-r--r--var/spack/repos/builtin/packages/py-immutables/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-importlib-metadata/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-importlib-resources/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-importlib/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-inference-schema/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-inheritance/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-iniconfig/package.py18
-rw-r--r--var/spack/repos/builtin/packages/py-iniparse/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-intel-openmp/package.py36
-rw-r--r--var/spack/repos/builtin/packages/py-intervaltree/package.py3
-rw-r--r--var/spack/repos/builtin/packages/py-invoke/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-ipaddress/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-ipdb/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-ipykernel/package.py9
-rw-r--r--var/spack/repos/builtin/packages/py-ipyparallel/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-ipython-cluster-helper/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-ipython-genutils/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-ipython/package.py22
-rw-r--r--var/spack/repos/builtin/packages/py-ipywidgets/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-irpf90/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-isodate/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-isort/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-itsdangerous/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-jaraco-functools/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-javaproperties/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-jdatetime/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-jdcal/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-jedi/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-jeepney/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-jellyfish/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-jinja2-time/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-jinja2/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-jmespath/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-joblib/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-jplephem/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-jprops/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-jpype1/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-jsmin/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-json-get/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-json5/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-jsondiff/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-jsonpatch/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-jsonpath-ng/package.py23
-rw-r--r--var/spack/repos/builtin/packages/py-jsonpickle/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-jsonpointer/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-jsonref/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-jsonschema/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-junit-xml/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-jupyter-client/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-jupyter-console/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-jupyter-core/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-jupyter/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-jupyterhub/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-jupyterlab-pygments/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-jupyterlab-server/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-jupyterlab/package.py9
-rw-r--r--var/spack/repos/builtin/packages/py-keras-applications/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-keras-preprocessing/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-keras/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-kerberos/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-kitchen/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-kiwisolver/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-kmodes/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-knack/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-kombu/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-labours/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-lark-parser/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-latexcodec/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-lazy-object-proxy/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-lazy-property/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-lazy/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-lazyarray/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-leather/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-libconf/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-libensemble/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-librosa/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-lifelines/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-lightgbm/package.py36
-rw-r--r--var/spack/repos/builtin/packages/py-ligo-segments/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-line-profiler/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-linecache2/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-lit/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-llvmlite/package.py29
-rw-r--r--var/spack/repos/builtin/packages/py-lmfit/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-lmodule/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-localcider/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-locket/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-lockfile/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-logilab-common/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-louie/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-lru-dict/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-lscsoft-glue/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-luigi/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-lxml/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-lz4/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-lzstring/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-m2r/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-macholib/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-machotools/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-macs2/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-maestrowf/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-magic/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-mailchecker/package.py19
-rw-r--r--var/spack/repos/builtin/packages/py-mako/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-mapclassify/package.py24
-rw-r--r--var/spack/repos/builtin/packages/py-markdown/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-markdown2/package.py18
-rw-r--r--var/spack/repos/builtin/packages/py-markovify/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-markupsafe/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-matplotlib/package.py34
-rw-r--r--var/spack/repos/builtin/packages/py-mayavi/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-mccabe/package.py3
-rw-r--r--var/spack/repos/builtin/packages/py-mdanalysis/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-mechanize/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-memory-profiler/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-memprof/package.py21
-rw-r--r--var/spack/repos/builtin/packages/py-mercantile/package.py20
-rw-r--r--var/spack/repos/builtin/packages/py-merlin/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-metasv/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-methylcode/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-mg-rast-tools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-mido/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-mikado/package.py41
-rw-r--r--var/spack/repos/builtin/packages/py-minrpc/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-misopy/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-mistune/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-mixedhtseq/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-mlperf-logging/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-mlxtend/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-mmcv/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-mmtf-python/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-mo-pack/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-mock/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-modred/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-moltemplate/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-monotonic/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-monty/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-more-itertools/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-moviepy/package.py31
-rw-r--r--var/spack/repos/builtin/packages/py-mpi4py/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-mpld3/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-mpmath/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-msal-extensions/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-msal/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-msgpack-numpy/package.py23
-rw-r--r--var/spack/repos/builtin/packages/py-msgpack/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-msrest/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-msrestazure/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-multi-key-dict/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-multidict/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-multipledispatch/package.py18
-rw-r--r--var/spack/repos/builtin/packages/py-multiprocess/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-multiqc/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-munch/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-murmurhash/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-mx/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-myhdl/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-mypy-extensions/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-mypy/package.py12
-rw-r--r--var/spack/repos/builtin/packages/py-mysql-connector-python/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-mysqlclient/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-mysqldb1/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-nanotime/package.py21
-rw-r--r--var/spack/repos/builtin/packages/py-natsort/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-nbclient/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-nbconvert/package.py13
-rw-r--r--var/spack/repos/builtin/packages/py-nbformat/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-nbsphinx/package.py31
-rw-r--r--var/spack/repos/builtin/packages/py-nc-time-axis/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-ndg-httpsclient/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-neo/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-neobolt/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-neotime/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-nest-asyncio/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-nestle/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-netcdf4/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-netifaces/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-netket/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-networkit/package.py9
-rw-r--r--var/spack/repos/builtin/packages/py-networkx/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-nltk/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-nodeenv/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-nose-cov/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-nose/package.py9
-rw-r--r--var/spack/repos/builtin/packages/py-nose2/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-nosexcover/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-notebook/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-numba/package.py14
-rw-r--r--var/spack/repos/builtin/packages/py-numcodecs/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-numexpr/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-numexpr3/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-numpy/add_fj_compiler.patch20
-rw-r--r--var/spack/repos/builtin/packages/py-numpy/add_fj_compiler2.patch20
-rw-r--r--var/spack/repos/builtin/packages/py-numpy/add_fj_compiler3.patch20
-rw-r--r--var/spack/repos/builtin/packages/py-numpy/add_fj_compiler4.patch20
-rw-r--r--var/spack/repos/builtin/packages/py-numpy/check_executables.patch16
-rw-r--r--var/spack/repos/builtin/packages/py-numpy/check_executables2.patch16
-rw-r--r--var/spack/repos/builtin/packages/py-numpy/check_executables3.patch16
-rw-r--r--var/spack/repos/builtin/packages/py-numpy/check_executables4.patch16
-rw-r--r--var/spack/repos/builtin/packages/py-numpy/check_executables5.patch16
-rw-r--r--var/spack/repos/builtin/packages/py-numpy/package.py52
-rw-r--r--var/spack/repos/builtin/packages/py-numpydoc/package.py12
-rw-r--r--var/spack/repos/builtin/packages/py-nvidia-ml-py/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-nvidia-ml-py3/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-oauth2client/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-oauthlib/package.py13
-rw-r--r--var/spack/repos/builtin/packages/py-olefile/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-onnx/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-ont-fast5-api/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-opencensus-context/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-opencensus/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-openmc/package.py56
-rw-r--r--var/spack/repos/builtin/packages/py-openpmd-validator/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-openpyxl/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-openslide-python/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-opentuner/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-opppy/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-opt-einsum/package.py8
-rw-r--r--var/spack/repos/builtin/packages/py-or-tools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-ordereddict/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-oset/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-osqp/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-overpy/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-owslib/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-packaging/package.py14
-rw-r--r--var/spack/repos/builtin/packages/py-palettable/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pamela/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-pandas/package.py41
-rw-r--r--var/spack/repos/builtin/packages/py-pandocfilters/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-parameterized/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-paramiko/package.py9
-rw-r--r--var/spack/repos/builtin/packages/py-paramz/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-parse/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-parsedatetime/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-parso/package.py13
-rw-r--r--var/spack/repos/builtin/packages/py-partd/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-particle/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-path-py/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pathlib/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pathlib2/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-pathos/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pathspec/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-patsy/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-pauvre/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-pbr/package.py21
-rw-r--r--var/spack/repos/builtin/packages/py-pem/package.py29
-rw-r--r--var/spack/repos/builtin/packages/py-pep8-naming/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pep8/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-performance/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-periodictable/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-petastorm/package.py10
-rw-r--r--var/spack/repos/builtin/packages/py-petsc4py/ldshared-dev.patch13
-rw-r--r--var/spack/repos/builtin/packages/py-petsc4py/ldshared.patch13
-rw-r--r--var/spack/repos/builtin/packages/py-petsc4py/package.py21
-rw-r--r--var/spack/repos/builtin/packages/py-pexpect/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-phonenumbers/package.py22
-rw-r--r--var/spack/repos/builtin/packages/py-phonopy/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-pickleshare/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-picrust/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-picrust2/package.py26
-rw-r--r--var/spack/repos/builtin/packages/py-pid/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pil/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-pillow-simd/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pillow/package.py10
-rw-r--r--var/spack/repos/builtin/packages/py-pint/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-pip/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pipits/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-pispino/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-pkgconfig/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-pkginfo/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-plac/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-planar/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-planet/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-plotly/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pluggy/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-ply/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-pmw/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-pomegranate/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-portalocker/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-portend/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-poster/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pox/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-poyo/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-ppft/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pre-commit/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-preshed/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-prettytable/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-profilehooks/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-proglog/package.py21
-rw-r--r--var/spack/repos/builtin/packages/py-progress/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-progressbar2/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-projectq/package.py8
-rw-r--r--var/spack/repos/builtin/packages/py-prometheus-client/package.py17
-rw-r--r--var/spack/repos/builtin/packages/py-prompt-toolkit/package.py11
-rw-r--r--var/spack/repos/builtin/packages/py-protobuf/package.py9
-rw-r--r--var/spack/repos/builtin/packages/py-psutil/package.py8
-rw-r--r--var/spack/repos/builtin/packages/py-psyclone/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-psycopg2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-ptyprocess/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-pudb/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pure-eval/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-pure-sasl/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-py-cpuinfo/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-py-spy/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-py/package.py15
-rw-r--r--var/spack/repos/builtin/packages/py-py2bit/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-py2cairo/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-py2neo/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-py4j/package.py8
-rw-r--r--var/spack/repos/builtin/packages/py-py6s/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pyamg/package.py25
-rw-r--r--var/spack/repos/builtin/packages/py-pyani/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pyarrow/for_aarch64.patch14
-rw-r--r--var/spack/repos/builtin/packages/py-pyarrow/package.py11
-rw-r--r--var/spack/repos/builtin/packages/py-pyasn1-modules/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pyasn1/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pybedtools/package.py24
-rw-r--r--var/spack/repos/builtin/packages/py-pybigwig/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-pybind11/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-pybtex-docutils/package.py9
-rw-r--r--var/spack/repos/builtin/packages/py-pybtex/package.py16
-rw-r--r--var/spack/repos/builtin/packages/py-pycairo/package.py11
-rw-r--r--var/spack/repos/builtin/packages/py-pycares/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-pycbc/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pychecker/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-pycifrw/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pycmd/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-pycodestyle/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-pycosat/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pycparser/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-pycrypto/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pycuda/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-pycurl/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pydatalog/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-pydeps/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-pydispatcher/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pydmd/isuue-133.patch31
-rw-r--r--var/spack/repos/builtin/packages/py-pydmd/package.py49
-rw-r--r--var/spack/repos/builtin/packages/py-pydot/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pydot2/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-pydotplus/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-pydv/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-pyeda/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pyelftools/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-pyepsg/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pyface/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pyfaidx/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-pyfasta/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-pyfftw/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pyfiglet/package.py22
-rw-r--r--var/spack/repos/builtin/packages/py-pyfits/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-pyflakes/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-pygdal/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pygdbmi/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pygelf/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-pygeos/package.py28
-rw-r--r--var/spack/repos/builtin/packages/py-pygit2/package.py21
-rw-r--r--var/spack/repos/builtin/packages/py-pyglet/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pygments-pytest/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pygments/package.py13
-rw-r--r--var/spack/repos/builtin/packages/py-pygobject/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-pygps/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pygpu/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-pygresql/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-pygtk/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-pygtrie/package.py17
-rw-r--r--var/spack/repos/builtin/packages/py-pyheadtail/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pyinstrument-cext/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-pyinstrument/package.py3
-rw-r--r--var/spack/repos/builtin/packages/py-pyjnius/package.py20
-rw-r--r--var/spack/repos/builtin/packages/py-pyjwt/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-pyke/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-pykml/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-pykwalify/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pyliblzma/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pylikwid/package.py31
-rw-r--r--var/spack/repos/builtin/packages/py-pylint/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-pylops/package.py37
-rw-r--r--var/spack/repos/builtin/packages/py-pymatgen/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pymc3/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pymeeus/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pyminifier/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pymol/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-pymongo/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-pymorph/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pympler/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pymysql/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pynacl/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-pynio/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-pynn/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-pynvml/package.py19
-rw-r--r--var/spack/repos/builtin/packages/py-pyodbc/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pyomo/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-pyopencl/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pyopenssl/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pypar/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-pyparsing/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-pypeflow/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-pypeg2/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pyperclip/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pyperf/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pyprecice/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-pyprof2html/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-pyproj/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-pyqi/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pyqt4/package.py9
-rw-r--r--var/spack/repos/builtin/packages/py-pyqt5/package.py10
-rw-r--r--var/spack/repos/builtin/packages/py-pyquaternion/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pyrad/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-pyrosar/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-pyrsistent/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pysam/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-pyscaf/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-pyscf/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-pyserial/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pyshp/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pyside/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-pyside2/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-pysmartdl/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-pysocks/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-pysolar/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pyspark/package.py11
-rw-r--r--var/spack/repos/builtin/packages/py-pysqlite/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pytailf/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pytest-arraydiff/package.py21
-rw-r--r--var/spack/repos/builtin/packages/py-pytest-benchmark/package.py21
-rw-r--r--var/spack/repos/builtin/packages/py-pytest-cache/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pytest-check-links/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pytest-cov/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pytest-cpp/package.py22
-rw-r--r--var/spack/repos/builtin/packages/py-pytest-doctestplus/package.py21
-rw-r--r--var/spack/repos/builtin/packages/py-pytest-flake8/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pytest-flakes/package.py22
-rw-r--r--var/spack/repos/builtin/packages/py-pytest-forked/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pytest-httpbin/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-pytest-isort/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-pytest-mock/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pytest-mypy/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pytest-openfiles/package.py24
-rw-r--r--var/spack/repos/builtin/packages/py-pytest-pep8/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-pytest-runner/package.py8
-rw-r--r--var/spack/repos/builtin/packages/py-pytest-timeout/package.py21
-rw-r--r--var/spack/repos/builtin/packages/py-pytest-xdist/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pytest/package.py28
-rw-r--r--var/spack/repos/builtin/packages/py-python-benedict/package.py31
-rw-r--r--var/spack/repos/builtin/packages/py-python-daemon/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-python-dateutil/package.py18
-rw-r--r--var/spack/repos/builtin/packages/py-python-docs-theme/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-python-editor/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-python-engineio/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-python-fmask/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-python-fsutil/package.py19
-rw-r--r--var/spack/repos/builtin/packages/py-python-gitlab/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-python-igraph/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-python-jenkins/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-python-json-logger/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-python-ldap/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-python-levenshtein/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-python-logstash/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-python-lzo/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-python-magic/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-python-mapnik/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-python-meep/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-python-memcached/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-python-oauth2/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-python-rapidjson/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-python-slugify/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-python-socketio/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-python-subunit/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-python-swiftclient/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-python-utils/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-pythonqwt/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pythonsollya/package.py25
-rw-r--r--var/spack/repos/builtin/packages/py-pytimeparse/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pytools/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-pytorch-gradual-warmup-lr/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-pytz/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-pyudev/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pyugrid/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-pyutilib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-pyvcf/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-pywavelets/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-pywcs/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-pyyaml/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-pyzmq/package.py28
-rw-r--r--var/spack/repos/builtin/packages/py-qsymm/package.py30
-rw-r--r--var/spack/repos/builtin/packages/py-qtawesome/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-qtconsole/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-qtpy/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-quantities/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-quast/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-queryablelist/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-questionary/package.py20
-rw-r--r--var/spack/repos/builtin/packages/py-radical-utils/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-ranger-fm/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-rasterio/package.py23
-rw-r--r--var/spack/repos/builtin/packages/py-ratelim/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-raven/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-ray/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-rbtools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-rdflib/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-readme-renderer/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-recommonmark/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-redis/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-regex/package.py10
-rw-r--r--var/spack/repos/builtin/packages/py-reportlab/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-repoze-lru/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-reproject/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-requests-futures/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-requests-mock/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-requests-oauthlib/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-requests-toolbelt/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-requests/package.py22
-rw-r--r--var/spack/repos/builtin/packages/py-resampy/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-restview/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-resultsfile/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-retrying/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-rfc3986/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-rich/package.py35
-rw-r--r--var/spack/repos/builtin/packages/py-rios/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-rise/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-rmm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-rnacocktail/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-robotframework/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-rope/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-rosdep/package.py19
-rw-r--r--var/spack/repos/builtin/packages/py-rosdistro/package.py19
-rw-r--r--var/spack/repos/builtin/packages/py-rosinstall-generator/package.py19
-rw-r--r--var/spack/repos/builtin/packages/py-rosinstall/package.py20
-rw-r--r--var/spack/repos/builtin/packages/py-rospkg/package.py19
-rw-r--r--var/spack/repos/builtin/packages/py-rpy2/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-rq/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-rsa/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-rseqc/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-rtree/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-ruamel-ordereddict/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-ruamel-yaml-clib/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-ruamel-yaml/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-s3cmd/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-s3transfer/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-sacremoses/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-saga-python/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-sanic/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-scandir/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-scientificpython/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-scikit-build/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-scikit-fmm/package.py22
-rw-r--r--var/spack/repos/builtin/packages/py-scikit-image/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-scikit-learn/package.py31
-rw-r--r--var/spack/repos/builtin/packages/py-scikit-optimize/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-scipy/package.py49
-rw-r--r--var/spack/repos/builtin/packages/py-scoop/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-scp/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-scs/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-seaborn/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-secretstorage/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-selenium/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-semantic-version/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-semver/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-send2trash/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-sentencepiece/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-sentry-sdk/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-seriate/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-setproctitle/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-setuptools-git/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-setuptools-rust/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-setuptools-scm-git-archive/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-setuptools-scm/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-setuptools/package.py29
-rw-r--r--var/spack/repos/builtin/packages/py-sfepy/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-sgp4/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-sh/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-shapely/package.py18
-rw-r--r--var/spack/repos/builtin/packages/py-shiboken/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-shortuuid/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-shroud/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-shtab/package.py21
-rw-r--r--var/spack/repos/builtin/packages/py-simplegeneric/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-simplejson/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-simplekml/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-singledispatch/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-sip/package.py20
-rw-r--r--var/spack/repos/builtin/packages/py-six/package.py17
-rw-r--r--var/spack/repos/builtin/packages/py-slepc4py/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-slurm-pipeline/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-smart-open/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-smmap/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-snappy/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-sncosmo/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-sniffio/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-snowballstemmer/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-snuggs/package.py3
-rw-r--r--var/spack/repos/builtin/packages/py-sonlib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-sortedcollections/package.py19
-rw-r--r--var/spack/repos/builtin/packages/py-sortedcontainers/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-soundfile/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-soupsieve/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-spacy-models-en-core-web-sm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-spacy-models-en-vectors-web-lg/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-spacy/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-sparse/package.py21
-rw-r--r--var/spack/repos/builtin/packages/py-spatialist/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-spatialite/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-spdlog/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-spectra/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-spefile/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-spgl1/package.py30
-rw-r--r--var/spack/repos/builtin/packages/py-spglib/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-sphinx-bootstrap-theme/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-sphinx-copybutton/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-sphinx-gallery/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-sphinx-rtd-theme/package.py22
-rw-r--r--var/spack/repos/builtin/packages/py-sphinx/package.py22
-rw-r--r--var/spack/repos/builtin/packages/py-sphinxautomodapi/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-sphinxcontrib-applehelp/package.py12
-rw-r--r--var/spack/repos/builtin/packages/py-sphinxcontrib-bibtex/package.py22
-rw-r--r--var/spack/repos/builtin/packages/py-sphinxcontrib-devhelp/package.py12
-rw-r--r--var/spack/repos/builtin/packages/py-sphinxcontrib-htmlhelp/package.py12
-rw-r--r--var/spack/repos/builtin/packages/py-sphinxcontrib-issuetracker/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-sphinxcontrib-jsmath/package.py12
-rw-r--r--var/spack/repos/builtin/packages/py-sphinxcontrib-mermaid/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-sphinxcontrib-programoutput/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-sphinxcontrib-qthelp/package.py12
-rw-r--r--var/spack/repos/builtin/packages/py-sphinxcontrib-serializinghtml/package.py12
-rw-r--r--var/spack/repos/builtin/packages/py-sphinxcontrib-trio/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-sphinxcontrib-websupport/package.py14
-rw-r--r--var/spack/repos/builtin/packages/py-spyder/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-spykeutils/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-sqlalchemy-utils/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-sqlalchemy/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-sqlparse/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-srsly/package.py9
-rw-r--r--var/spack/repos/builtin/packages/py-sshtunnel/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-statsmodels/package.py14
-rw-r--r--var/spack/repos/builtin/packages/py-stdlib-list/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-stestr/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-stevedore/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-stopit/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-storm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-stratify/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-stsci-distutils/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-subprocess32/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-subrosa/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-svgpathtools/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-svgwrite/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-symengine/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-symfit/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-sympy/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-syned/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-systemd-python/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-tables/package.py9
-rw-r--r--var/spack/repos/builtin/packages/py-tabulate/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-tap-py/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-tatsu/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-tblib/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-tempora/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-tensorboard-plugin-wit/package.py27
-rw-r--r--var/spack/repos/builtin/packages/py-tensorboard/package.py42
-rw-r--r--var/spack/repos/builtin/packages/py-tensorboardx/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-tensorflow-estimator/package.py33
-rw-r--r--var/spack/repos/builtin/packages/py-tensorflow/package.py136
-rw-r--r--var/spack/repos/builtin/packages/py-termcolor/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-terminado/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-testfixtures/package.py18
-rw-r--r--var/spack/repos/builtin/packages/py-testinfra/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-testpath/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-testrepository/package.py12
-rw-r--r--var/spack/repos/builtin/packages/py-testresources/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-testscenarios/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-testtools/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-tetoolkit/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-text-unidecode/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-textblob/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-texttable/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-tfdlpack/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-theano/package.py8
-rw-r--r--var/spack/repos/builtin/packages/py-thinc/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-thirdorder/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-threadpoolctl/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-tifffile/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-tinyarray/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-tokenizers/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-toml/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-tomlkit/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-tomopy/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-toolz/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-torch-cluster/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-torch-geometric/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-torch-nvidia-apex/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-torch-scatter/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-torch-sparse/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-torch-spline-conv/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-torch/package.py50
-rw-r--r--var/spack/repos/builtin/packages/py-torchaudio/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-torchfile/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-torchsummary/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-torchtext/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-torchvision/package.py15
-rw-r--r--var/spack/repos/builtin/packages/py-tornado/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-tox/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-tpot/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-tqdm/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-traceback2/package.py10
-rw-r--r--var/spack/repos/builtin/packages/py-traitlets/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-traits/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-traitsui/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-transformers/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-treehash/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-tuiview/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-twine/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-twisted/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-typed-ast/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-typesentry/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-typing-extensions/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-typing/package.py13
-rw-r--r--var/spack/repos/builtin/packages/py-tzlocal/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-ucx-py/package.py25
-rw-r--r--var/spack/repos/builtin/packages/py-ujson/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-umalqurra/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-umi-tools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-uncertainties/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-unicycler/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-unidecode/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-unittest2/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-unittest2py3k/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-unshare/package.py17
-rw-r--r--var/spack/repos/builtin/packages/py-update-checker/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-uproot4/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-uritemplate/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-urllib3/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-urwid/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-us/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-usgs/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-utils/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-uvloop/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-uvw/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-uwsgi/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-vcf-kit/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-vcstool/package.py19
-rw-r--r--var/spack/repos/builtin/packages/py-vcstools/package.py17
-rw-r--r--var/spack/repos/builtin/packages/py-vcversioner/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-vermin/package.py10
-rw-r--r--var/spack/repos/builtin/packages/py-versioneer/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-vine/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-virtualenv-clone/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-virtualenv/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-virtualenvwrapper/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-visdom/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-voluptuous/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-vsc-base/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-vsc-install/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-vsts-cd-manager/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-vsts/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-walinuxagent/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-wand/package.py8
-rw-r--r--var/spack/repos/builtin/packages/py-wandb/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-warlock/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-wasabi/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-watchdog/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-wcsaxes/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-wcwidth/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-weave/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-webencodings/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-webkit-server/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-weblogo/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-websocket-client/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-websockets/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-werkzeug/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-whatshap/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-wheel/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-whichcraft/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-widgetsnbextension/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-workload-automation/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-wradlib/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-wrapt/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-wstool/package.py18
-rw-r--r--var/spack/repos/builtin/packages/py-wub/package.py10
-rw-r--r--var/spack/repos/builtin/packages/py-wxmplot/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-wxpython/package.py16
-rw-r--r--var/spack/repos/builtin/packages/py-xarray/package.py21
-rw-r--r--var/spack/repos/builtin/packages/py-xattr/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-xdot/package.py7
-rw-r--r--var/spack/repos/builtin/packages/py-xenv/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-xgboost/package.py39
-rw-r--r--var/spack/repos/builtin/packages/py-xlrd/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-xlsxwriter/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-xlwt/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-xmlrunner/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-xmltodict/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-xopen/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-xpyb/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-xvfbwrapper/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-yahmm/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-yajl/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-yamlreader/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-yapf/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-yarl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-yolk3k/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-youtube-dl/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-yt/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-ytopt/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-zarr/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-zc-buildout/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-zc-lockfile/package.py5
-rw-r--r--var/spack/repos/builtin/packages/py-zict/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-zipp/package.py4
-rw-r--r--var/spack/repos/builtin/packages/py-zope-event/package.py8
-rw-r--r--var/spack/repos/builtin/packages/py-zope-interface/package.py11
-rw-r--r--var/spack/repos/builtin/packages/py-zxcvbn/package.py2
-rw-r--r--var/spack/repos/builtin/packages/pythia6/package.py4
-rw-r--r--var/spack/repos/builtin/packages/pythia8/package.py4
-rw-r--r--var/spack/repos/builtin/packages/python/package.py204
-rw-r--r--var/spack/repos/builtin/packages/q-e-sirius/package.py2
-rw-r--r--var/spack/repos/builtin/packages/qbank/package.py2
-rw-r--r--var/spack/repos/builtin/packages/qbox/package.py2
-rw-r--r--var/spack/repos/builtin/packages/qca/package.py2
-rw-r--r--var/spack/repos/builtin/packages/qcachegrind/package.py3
-rw-r--r--var/spack/repos/builtin/packages/qd/package.py4
-rw-r--r--var/spack/repos/builtin/packages/qemu/package.py2
-rw-r--r--var/spack/repos/builtin/packages/qgis/package.py2
-rw-r--r--var/spack/repos/builtin/packages/qgraf/package.py4
-rw-r--r--var/spack/repos/builtin/packages/qhull/package.py2
-rw-r--r--var/spack/repos/builtin/packages/qjson/package.py2
-rw-r--r--var/spack/repos/builtin/packages/qmcpack/package.py50
-rw-r--r--var/spack/repos/builtin/packages/qmd-progress/package.py2
-rw-r--r--var/spack/repos/builtin/packages/qnnpack/package.py2
-rw-r--r--var/spack/repos/builtin/packages/qorts/package.py2
-rw-r--r--var/spack/repos/builtin/packages/qperf/package.py2
-rw-r--r--var/spack/repos/builtin/packages/qrupdate/package.py24
-rw-r--r--var/spack/repos/builtin/packages/qscintilla/package.py2
-rw-r--r--var/spack/repos/builtin/packages/qt-creator/package.py2
-rw-r--r--var/spack/repos/builtin/packages/qt/package.py222
-rw-r--r--var/spack/repos/builtin/packages/qt/qt5-15-gcc-10.patch39
-rw-r--r--var/spack/repos/builtin/packages/qt/qt514.patch9
-rw-r--r--var/spack/repos/builtin/packages/qtgraph/package.py2
-rw-r--r--var/spack/repos/builtin/packages/qthreads/package.py60
-rw-r--r--var/spack/repos/builtin/packages/qtkeychain/package.py2
-rw-r--r--var/spack/repos/builtin/packages/quantum-espresso/fj-fox.patch10
-rw-r--r--var/spack/repos/builtin/packages/quantum-espresso/fj-intent.6.4.1.patch11
-rw-r--r--var/spack/repos/builtin/packages/quantum-espresso/fj.6.5.patch23
-rw-r--r--var/spack/repos/builtin/packages/quantum-espresso/fj.6.6.patch23
-rw-r--r--var/spack/repos/builtin/packages/quantum-espresso/package.py73
-rw-r--r--var/spack/repos/builtin/packages/quartz/package.py2
-rw-r--r--var/spack/repos/builtin/packages/quicksilver/package.py2
-rw-r--r--var/spack/repos/builtin/packages/quinoa/package.py2
-rw-r--r--var/spack/repos/builtin/packages/quota/package.py2
-rw-r--r--var/spack/repos/builtin/packages/qwt/package.py4
-rw-r--r--var/spack/repos/builtin/packages/qwtpolar/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-a4/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-a4base/package.py14
-rw-r--r--var/spack/repos/builtin/packages/r-a4classif/package.py12
-rw-r--r--var/spack/repos/builtin/packages/r-a4core/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-a4preproc/package.py12
-rw-r--r--var/spack/repos/builtin/packages/r-a4reporting/package.py10
-rw-r--r--var/spack/repos/builtin/packages/r-abadata/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-abaenrichment/package.py10
-rw-r--r--var/spack/repos/builtin/packages/r-abind/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-absseq/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-acde/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-acepack/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-acgh/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-acme/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-ada/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-adabag/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-ade4/package.py15
-rw-r--r--var/spack/repos/builtin/packages/r-adegenet/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-adegraphics/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-adephylo/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-adespatial/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-adgoftest/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-adsplit/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-aer/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-affxparser/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-affy/package.py10
-rw-r--r--var/spack/repos/builtin/packages/r-affycomp/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-affycompatible/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-affycontam/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-affycoretools/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-affydata/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-affyexpress/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-affyilm/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-affyio/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-affypdnn/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-affyplm/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-affyqcreport/package.py6
-rw-r--r--var/spack/repos/builtin/packages/r-affyrnadegradation/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-agdex/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-agilp/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-agimicrorna/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-aims/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-aldex2/package.py13
-rw-r--r--var/spack/repos/builtin/packages/r-allelicimbalance/package.py28
-rw-r--r--var/spack/repos/builtin/packages/r-alpine/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-als/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-alsace/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-altcdfenvs/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-amap/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-ampliqueso/package.py3
-rw-r--r--var/spack/repos/builtin/packages/r-analysispageserver/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-anaquin/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-aneufinder/package.py14
-rw-r--r--var/spack/repos/builtin/packages/r-aneufinderdata/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-animation/package.py3
-rw-r--r--var/spack/repos/builtin/packages/r-annaffy/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-annotate/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-annotationdbi/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-annotationfilter/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-annotationforge/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-annotationhub/package.py19
-rw-r--r--var/spack/repos/builtin/packages/r-aod/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-ape/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-argparse/package.py12
-rw-r--r--var/spack/repos/builtin/packages/r-aroma-light/package.py10
-rw-r--r--var/spack/repos/builtin/packages/r-askpass/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-assertthat/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-backports/package.py18
-rw-r--r--var/spack/repos/builtin/packages/r-bamsignals/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-base64/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-base64enc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-bayesm/package.py25
-rw-r--r--var/spack/repos/builtin/packages/r-bbmisc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-beachmat/package.py25
-rw-r--r--var/spack/repos/builtin/packages/r-beanplot/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-beeswarm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-bfast/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-bfastspatial/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-bglr/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-bh/package.py3
-rw-r--r--var/spack/repos/builtin/packages/r-biasedurn/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-bibtex/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-bigalgebra/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-bigmemory-sri/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-bigmemory/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-bindr/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-bindrcpp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-bio3d/package.py18
-rw-r--r--var/spack/repos/builtin/packages/r-biobase/package.py6
-rw-r--r--var/spack/repos/builtin/packages/r-biocfilecache/package.py10
-rw-r--r--var/spack/repos/builtin/packages/r-biocgenerics/package.py6
-rw-r--r--var/spack/repos/builtin/packages/r-biocinstaller/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-biocmanager/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-biocneighbors/package.py13
-rw-r--r--var/spack/repos/builtin/packages/r-biocparallel/package.py6
-rw-r--r--var/spack/repos/builtin/packages/r-biocsingular/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-biocstyle/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-biocversion/package.py20
-rw-r--r--var/spack/repos/builtin/packages/r-biom-utils/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-biomart/package.py12
-rw-r--r--var/spack/repos/builtin/packages/r-biomartr/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-biomformat/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-biostrings/package.py24
-rw-r--r--var/spack/repos/builtin/packages/r-biovizbase/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-bit/package.py10
-rw-r--r--var/spack/repos/builtin/packages/r-bit64/package.py31
-rw-r--r--var/spack/repos/builtin/packages/r-bitops/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-blob/package.py10
-rw-r--r--var/spack/repos/builtin/packages/r-blockmodeling/package.py16
-rw-r--r--var/spack/repos/builtin/packages/r-bmp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-bookdown/package.py19
-rw-r--r--var/spack/repos/builtin/packages/r-boot/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-boruta/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-brew/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-brio/package.py20
-rw-r--r--var/spack/repos/builtin/packages/r-broom/package.py41
-rw-r--r--var/spack/repos/builtin/packages/r-bsgenome-hsapiens-ucsc-hg19/package.py17
-rw-r--r--var/spack/repos/builtin/packages/r-bsgenome/package.py30
-rw-r--r--var/spack/repos/builtin/packages/r-bsseq/package.py23
-rw-r--r--var/spack/repos/builtin/packages/r-bumphunter/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-c50/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-cairo/package.py19
-rw-r--r--var/spack/repos/builtin/packages/r-callr/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-car/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-caracas/package.py12
-rw-r--r--var/spack/repos/builtin/packages/r-cardata/package.py10
-rw-r--r--var/spack/repos/builtin/packages/r-caret/package.py16
-rw-r--r--var/spack/repos/builtin/packages/r-caroline/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-category/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-catools/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-cdcfluview/package.py13
-rw-r--r--var/spack/repos/builtin/packages/r-cellranger/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-checkmate/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-checkpoint/package.py24
-rw-r--r--var/spack/repos/builtin/packages/r-chemometrics/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-chipseq/package.py25
-rw-r--r--var/spack/repos/builtin/packages/r-chron/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-circlize/package.py29
-rw-r--r--var/spack/repos/builtin/packages/r-class/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-classint/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-cli/package.py14
-rw-r--r--var/spack/repos/builtin/packages/r-clipr/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-clisymbols/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-clue/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-cluster/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-clustergeneration/package.py15
-rw-r--r--var/spack/repos/builtin/packages/r-clusterprofiler/package.py26
-rw-r--r--var/spack/repos/builtin/packages/r-cner/package.py12
-rw-r--r--var/spack/repos/builtin/packages/r-coda/package.py12
-rw-r--r--var/spack/repos/builtin/packages/r-codetools/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-codex/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-coin/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-colorspace/package.py24
-rw-r--r--var/spack/repos/builtin/packages/r-combinat/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-commonmark/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-complexheatmap/package.py21
-rw-r--r--var/spack/repos/builtin/packages/r-compositions/package.py12
-rw-r--r--var/spack/repos/builtin/packages/r-condop/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-conquer/package.py27
-rw-r--r--var/spack/repos/builtin/packages/r-construct/package.py26
-rw-r--r--var/spack/repos/builtin/packages/r-convevol/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-copula/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-corhmm/package.py18
-rw-r--r--var/spack/repos/builtin/packages/r-corpcor/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-corrplot/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-countrycode/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-covr/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-cowplot/package.py26
-rw-r--r--var/spack/repos/builtin/packages/r-cpp11/package.py21
-rw-r--r--var/spack/repos/builtin/packages/r-crayon/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-credentials/package.py31
-rw-r--r--var/spack/repos/builtin/packages/r-crosstalk/package.py15
-rw-r--r--var/spack/repos/builtin/packages/r-crul/package.py16
-rw-r--r--var/spack/repos/builtin/packages/r-ctc/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-cubature/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-cubist/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-curl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-dada2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-data-table/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-dbi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-dbplyr/package.py18
-rw-r--r--var/spack/repos/builtin/packages/r-debugme/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-decipher/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-delayedarray/package.py26
-rw-r--r--var/spack/repos/builtin/packages/r-delayedmatrixstats/package.py25
-rw-r--r--var/spack/repos/builtin/packages/r-deldir/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-dendextend/package.py13
-rw-r--r--var/spack/repos/builtin/packages/r-deoptim/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-deoptimr/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-desc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-deseq/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-deseq2/package.py6
-rw-r--r--var/spack/repos/builtin/packages/r-desolve/package.py21
-rw-r--r--var/spack/repos/builtin/packages/r-devtools/package.py35
-rw-r--r--var/spack/repos/builtin/packages/r-diagrammer/package.py39
-rw-r--r--var/spack/repos/builtin/packages/r-dicekriging/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-dichromat/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-diffobj/package.py22
-rw-r--r--var/spack/repos/builtin/packages/r-diffusionmap/package.py15
-rw-r--r--var/spack/repos/builtin/packages/r-digest/package.py10
-rw-r--r--var/spack/repos/builtin/packages/r-diptest/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-dirichletmultinomial/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-dismo/package.py12
-rw-r--r--var/spack/repos/builtin/packages/r-diversitree/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-dnacopy/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-do-db/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-domc/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-doparallel/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-dorng/package.py22
-rw-r--r--var/spack/repos/builtin/packages/r-dose/package.py14
-rw-r--r--var/spack/repos/builtin/packages/r-dosnow/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-dotcall64/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-downloader/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-dplyr/package.py30
-rw-r--r--var/spack/repos/builtin/packages/r-dqrng/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-dss/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-dt/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-dtw/package.py15
-rw-r--r--var/spack/repos/builtin/packages/r-dygraphs/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-dynamictreecut/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-e1071/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-earth/package.py6
-rw-r--r--var/spack/repos/builtin/packages/r-ecp/package.py14
-rw-r--r--var/spack/repos/builtin/packages/r-edger/package.py12
-rw-r--r--var/spack/repos/builtin/packages/r-ellipse/package.py13
-rw-r--r--var/spack/repos/builtin/packages/r-ellipsis/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-emmli/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-energy/package.py15
-rw-r--r--var/spack/repos/builtin/packages/r-enrichplot/package.py30
-rw-r--r--var/spack/repos/builtin/packages/r-ensembldb/package.py25
-rw-r--r--var/spack/repos/builtin/packages/r-envstats/package.py20
-rw-r--r--var/spack/repos/builtin/packages/r-ergm/package.py17
-rw-r--r--var/spack/repos/builtin/packages/r-europepmc/package.py25
-rw-r--r--var/spack/repos/builtin/packages/r-evaluate/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-evd/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-exactextractr/package.py17
-rw-r--r--var/spack/repos/builtin/packages/r-exomecopy/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-exomedepth/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-expint/package.py13
-rw-r--r--var/spack/repos/builtin/packages/r-expm/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-factoextra/package.py15
-rw-r--r--var/spack/repos/builtin/packages/r-factominer/package.py18
-rw-r--r--var/spack/repos/builtin/packages/r-fansi/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-farver/package.py15
-rw-r--r--var/spack/repos/builtin/packages/r-fastcluster/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-fastmap/package.py23
-rw-r--r--var/spack/repos/builtin/packages/r-fastmatch/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-fastmatrix/package.py21
-rw-r--r--var/spack/repos/builtin/packages/r-fdb-infiniummethylation-hg18/package.py6
-rw-r--r--var/spack/repos/builtin/packages/r-fdb-infiniummethylation-hg19/package.py6
-rw-r--r--var/spack/repos/builtin/packages/r-ff/package.py49
-rw-r--r--var/spack/repos/builtin/packages/r-fftwtools/package.py20
-rw-r--r--var/spack/repos/builtin/packages/r-fgsea/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-fields/package.py32
-rw-r--r--var/spack/repos/builtin/packages/r-filehash/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-findpython/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-fit-models/package.py15
-rw-r--r--var/spack/repos/builtin/packages/r-fitdistrplus/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-flashclust/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-flexclust/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-flexmix/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-fnn/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-forcats/package.py18
-rw-r--r--var/spack/repos/builtin/packages/r-foreach/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-forecast/package.py19
-rw-r--r--var/spack/repos/builtin/packages/r-foreign/package.py13
-rw-r--r--var/spack/repos/builtin/packages/r-formatr/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-formula/package.py10
-rw-r--r--var/spack/repos/builtin/packages/r-fpc/package.py24
-rw-r--r--var/spack/repos/builtin/packages/r-fpcompare/package.py29
-rw-r--r--var/spack/repos/builtin/packages/r-fracdiff/package.py12
-rw-r--r--var/spack/repos/builtin/packages/r-fs/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-futile-logger/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-futile-options/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-future-apply/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-future/package.py10
-rw-r--r--var/spack/repos/builtin/packages/r-gamlss-data/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-gamlss-dist/package.py16
-rw-r--r--var/spack/repos/builtin/packages/r-gamlss/package.py14
-rw-r--r--var/spack/repos/builtin/packages/r-gbm/package.py17
-rw-r--r--var/spack/repos/builtin/packages/r-gbrd/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-gcrma/package.py10
-rw-r--r--var/spack/repos/builtin/packages/r-gdalutils/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-gdata/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-gdsfmt/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-geiger/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-genefilter/package.py12
-rw-r--r--var/spack/repos/builtin/packages/r-genelendatabase/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-genemeta/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-geneplotter/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-generics/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-genetics/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-genie3/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-genomeinfodb/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-genomeinfodbdata/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-genomicalignments/package.py34
-rw-r--r--var/spack/repos/builtin/packages/r-genomicfeatures/package.py30
-rw-r--r--var/spack/repos/builtin/packages/r-genomicranges/package.py28
-rw-r--r--var/spack/repos/builtin/packages/r-gensa/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-geomorph/package.py19
-rw-r--r--var/spack/repos/builtin/packages/r-geonames/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-geoquery/package.py13
-rw-r--r--var/spack/repos/builtin/packages/r-geor/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-geosphere/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-gert/package.py31
-rw-r--r--var/spack/repos/builtin/packages/r-getopt/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-getoptlong/package.py14
-rw-r--r--var/spack/repos/builtin/packages/r-ggally/package.py23
-rw-r--r--var/spack/repos/builtin/packages/r-ggbeeswarm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-ggbio/package.py18
-rw-r--r--var/spack/repos/builtin/packages/r-ggdendro/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-ggforce/package.py23
-rw-r--r--var/spack/repos/builtin/packages/r-ggjoy/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-ggmap/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-ggplot2/package.py30
-rw-r--r--var/spack/repos/builtin/packages/r-ggplotify/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-ggpubr/package.py19
-rw-r--r--var/spack/repos/builtin/packages/r-ggraph/package.py15
-rw-r--r--var/spack/repos/builtin/packages/r-ggrepel/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-ggridges/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-ggsci/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-ggsignif/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-ggvis/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-gh/package.py15
-rw-r--r--var/spack/repos/builtin/packages/r-gistr/package.py23
-rw-r--r--var/spack/repos/builtin/packages/r-git2r/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-gitcreds/package.py23
-rw-r--r--var/spack/repos/builtin/packages/r-glimma/package.py17
-rw-r--r--var/spack/repos/builtin/packages/r-glmnet/package.py10
-rw-r--r--var/spack/repos/builtin/packages/r-globaloptions/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-globals/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-glue/package.py16
-rw-r--r--var/spack/repos/builtin/packages/r-gmodels/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-gmp/package.py12
-rw-r--r--var/spack/repos/builtin/packages/r-go-db/package.py20
-rw-r--r--var/spack/repos/builtin/packages/r-goftest/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-gofuncr/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-googlevis/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-goplot/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-gosemsim/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-goseq/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-gostats/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-gower/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-gplots/package.py23
-rw-r--r--var/spack/repos/builtin/packages/r-graph/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-graphlayouts/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-grbase/package.py27
-rw-r--r--var/spack/repos/builtin/packages/r-gridbase/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-gridextra/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-gridgraphics/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-gsa/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-gsalib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-gseabase/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-gsl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-gsodr/package.py23
-rw-r--r--var/spack/repos/builtin/packages/r-gss/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-gstat/package.py16
-rw-r--r--var/spack/repos/builtin/packages/r-gsubfn/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-gtable/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-gtools/package.py62
-rw-r--r--var/spack/repos/builtin/packages/r-gtrellis/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-gviz/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-gwmodel/package.py26
-rw-r--r--var/spack/repos/builtin/packages/r-haven/package.py16
-rw-r--r--var/spack/repos/builtin/packages/r-hdf5array/package.py27
-rw-r--r--var/spack/repos/builtin/packages/r-hdf5r/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-hexbin/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-hh/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-highr/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-hmisc/package.py21
-rw-r--r--var/spack/repos/builtin/packages/r-hms/package.py12
-rw-r--r--var/spack/repos/builtin/packages/r-hoardr/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-htmltable/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-htmltools/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-htmlwidgets/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-httpcode/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-httpuv/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-httr/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-hwriter/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-hypergraph/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-ica/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-igraph/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-illuminahumanmethylation450kanno-ilmn12-hg19/package.py6
-rw-r--r--var/spack/repos/builtin/packages/r-illuminaio/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-imager/package.py12
-rw-r--r--var/spack/repos/builtin/packages/r-impute/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-influencer/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-ini/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-inline/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-interactivedisplaybase/package.py6
-rw-r--r--var/spack/repos/builtin/packages/r-intervals/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-inum/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-ipred/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-iranges/package.py17
-rw-r--r--var/spack/repos/builtin/packages/r-irdisplay/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-irkernel/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-irlba/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-isdparser/package.py16
-rw-r--r--var/spack/repos/builtin/packages/r-iso/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-isoband/package.py22
-rw-r--r--var/spack/repos/builtin/packages/r-iterators/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-janitor/package.py36
-rw-r--r--var/spack/repos/builtin/packages/r-jaspar2018/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-jomo/package.py10
-rw-r--r--var/spack/repos/builtin/packages/r-jpeg/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-jsonlite/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-kegg-db/package.py19
-rw-r--r--var/spack/repos/builtin/packages/r-kegggraph/package.py6
-rw-r--r--var/spack/repos/builtin/packages/r-keggrest/package.py6
-rw-r--r--var/spack/repos/builtin/packages/r-kernlab/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-kernsmooth/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-kknn/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-knitr/package.py14
-rw-r--r--var/spack/repos/builtin/packages/r-ks/package.py16
-rw-r--r--var/spack/repos/builtin/packages/r-labeling/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-lambda-r/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-laplacesdemon/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-lars/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-later/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-lattice/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-latticeextra/package.py10
-rw-r--r--var/spack/repos/builtin/packages/r-lava/package.py15
-rw-r--r--var/spack/repos/builtin/packages/r-lazyeval/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-ldheatmap/package.py18
-rw-r--r--var/spack/repos/builtin/packages/r-leaflet-providers/package.py23
-rw-r--r--var/spack/repos/builtin/packages/r-leaflet/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-leaps/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-learnbayes/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-leiden/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-lfe/package.py18
-rw-r--r--var/spack/repos/builtin/packages/r-lhs/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-libcoin/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-lifecycle/package.py29
-rw-r--r--var/spack/repos/builtin/packages/r-limma/package.py6
-rw-r--r--var/spack/repos/builtin/packages/r-limsolve/package.py28
-rw-r--r--var/spack/repos/builtin/packages/r-listenv/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-lme4/package.py10
-rw-r--r--var/spack/repos/builtin/packages/r-lmtest/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-locfit/package.py10
-rw-r--r--var/spack/repos/builtin/packages/r-log4r/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-loo/package.py19
-rw-r--r--var/spack/repos/builtin/packages/r-lpsolve/package.py16
-rw-r--r--var/spack/repos/builtin/packages/r-lsei/package.py18
-rw-r--r--var/spack/repos/builtin/packages/r-lubridate/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-lumi/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-magic/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-magick/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-magrittr/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-makecdfenv/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-maldiquant/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-manipulatewidget/package.py22
-rw-r--r--var/spack/repos/builtin/packages/r-mapplots/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-mapproj/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-maps/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-maptools/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-markdown/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-mass/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-mathjaxr/package.py19
-rw-r--r--var/spack/repos/builtin/packages/r-matlab/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-matr/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-matrix/package.py14
-rw-r--r--var/spack/repos/builtin/packages/r-matrixgenerics/package.py24
-rw-r--r--var/spack/repos/builtin/packages/r-matrixmodels/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-matrixstats/package.py17
-rw-r--r--var/spack/repos/builtin/packages/r-mclust/package.py12
-rw-r--r--var/spack/repos/builtin/packages/r-mcmcglmm/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-mco/package.py10
-rw-r--r--var/spack/repos/builtin/packages/r-mda/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-memoise/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-mergemaid/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-metap/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-methylumi/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-mgcv/package.py16
-rw-r--r--var/spack/repos/builtin/packages/r-mgraster/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-mice/package.py41
-rw-r--r--var/spack/repos/builtin/packages/r-mime/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-minfi/package.py21
-rw-r--r--var/spack/repos/builtin/packages/r-miniui/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-minqa/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-misc3d/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-mitml/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-mitools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-mixtools/package.py20
-rw-r--r--var/spack/repos/builtin/packages/r-mlbench/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-mlinterfaces/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-mlr/package.py37
-rw-r--r--var/spack/repos/builtin/packages/r-mlrmbo/package.py31
-rw-r--r--var/spack/repos/builtin/packages/r-mmwrweek/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-mnormt/package.py17
-rw-r--r--var/spack/repos/builtin/packages/r-modelmetrics/package.py10
-rw-r--r--var/spack/repos/builtin/packages/r-modelr/package.py19
-rw-r--r--var/spack/repos/builtin/packages/r-modeltools/package.py12
-rw-r--r--var/spack/repos/builtin/packages/r-mpm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-msnbase/package.py33
-rw-r--r--var/spack/repos/builtin/packages/r-multcomp/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-multicool/package.py21
-rw-r--r--var/spack/repos/builtin/packages/r-multitaper/package.py14
-rw-r--r--var/spack/repos/builtin/packages/r-multtest/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-munsell/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-mutoss/package.py26
-rw-r--r--var/spack/repos/builtin/packages/r-mvtnorm/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-mzid/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-mzr/package.py13
-rw-r--r--var/spack/repos/builtin/packages/r-nada/package.py22
-rw-r--r--var/spack/repos/builtin/packages/r-nanotime/package.py14
-rw-r--r--var/spack/repos/builtin/packages/r-ncbit/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-ncdf4/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-network/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-networkd3/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-nimble/package.py28
-rw-r--r--var/spack/repos/builtin/packages/r-nleqslv/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-nlme/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-nloptr/package.py24
-rw-r--r--var/spack/repos/builtin/packages/r-nmf/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-nmof/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-nnet/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-nnls/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-nor1mix/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-nortest/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-np/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-npsurv/package.py13
-rw-r--r--var/spack/repos/builtin/packages/r-numderiv/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-oligoclasses/package.py15
-rw-r--r--var/spack/repos/builtin/packages/r-openssl/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-openxlsx/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-optparse/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-ordinal/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-org-hs-eg-db/package.py24
-rw-r--r--var/spack/repos/builtin/packages/r-organismdbi/package.py14
-rw-r--r--var/spack/repos/builtin/packages/r-packrat/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-pacman/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-paleotree/package.py10
-rw-r--r--var/spack/repos/builtin/packages/r-pamr/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-pan/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-parallelly/package.py27
-rw-r--r--var/spack/repos/builtin/packages/r-parallelmap/package.py17
-rw-r--r--var/spack/repos/builtin/packages/r-paramhelpers/package.py17
-rw-r--r--var/spack/repos/builtin/packages/r-party/package.py22
-rw-r--r--var/spack/repos/builtin/packages/r-partykit/package.py16
-rw-r--r--var/spack/repos/builtin/packages/r-patchwork/package.py26
-rw-r--r--var/spack/repos/builtin/packages/r-pathview/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-pbapply/package.py12
-rw-r--r--var/spack/repos/builtin/packages/r-pbdzmq/package.py10
-rw-r--r--var/spack/repos/builtin/packages/r-pbkrtest/package.py30
-rw-r--r--var/spack/repos/builtin/packages/r-pcamethods/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-pcapp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-pegas/package.py30
-rw-r--r--var/spack/repos/builtin/packages/r-permute/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-pfam-db/package.py19
-rw-r--r--var/spack/repos/builtin/packages/r-phangorn/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-phantompeakqualtools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-philentropy/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-phylobase/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-phyloseq/package.py21
-rw-r--r--var/spack/repos/builtin/packages/r-phylostratr/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-phytools/package.py31
-rw-r--r--var/spack/repos/builtin/packages/r-picante/package.py16
-rw-r--r--var/spack/repos/builtin/packages/r-pillar/package.py12
-rw-r--r--var/spack/repos/builtin/packages/r-pixmap/package.py19
-rw-r--r--var/spack/repos/builtin/packages/r-pkgbuild/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-pkgconfig/package.py10
-rw-r--r--var/spack/repos/builtin/packages/r-pkgload/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-pkgmaker/package.py14
-rw-r--r--var/spack/repos/builtin/packages/r-plogr/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-plot3d/package.py12
-rw-r--r--var/spack/repos/builtin/packages/r-plotly/package.py36
-rw-r--r--var/spack/repos/builtin/packages/r-plotmo/package.py6
-rw-r--r--var/spack/repos/builtin/packages/r-plotrix/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-pls/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-plyr/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-pmcmr/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-png/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-polspline/package.py12
-rw-r--r--var/spack/repos/builtin/packages/r-polyclip/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-polynom/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-popgenome/package.py15
-rw-r--r--var/spack/repos/builtin/packages/r-popvar/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-powerlaw/package.py16
-rw-r--r--var/spack/repos/builtin/packages/r-prabclus/package.py12
-rw-r--r--var/spack/repos/builtin/packages/r-pracma/package.py23
-rw-r--r--var/spack/repos/builtin/packages/r-praise/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-preprocesscore/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-prettyunits/package.py15
-rw-r--r--var/spack/repos/builtin/packages/r-proc/package.py25
-rw-r--r--var/spack/repos/builtin/packages/r-processx/package.py16
-rw-r--r--var/spack/repos/builtin/packages/r-prodlim/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-progress/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-proj/package.py18
-rw-r--r--var/spack/repos/builtin/packages/r-proj4/package.py10
-rw-r--r--var/spack/repos/builtin/packages/r-promises/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-protgenerics/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-proto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-proxy/package.py12
-rw-r--r--var/spack/repos/builtin/packages/r-pryr/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-ps/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-pscbs/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-pspline/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-psych/package.py39
-rw-r--r--var/spack/repos/builtin/packages/r-ptw/package.py26
-rw-r--r--var/spack/repos/builtin/packages/r-purrr/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-qtl/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-quadprog/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-quantmod/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-quantreg/package.py17
-rw-r--r--var/spack/repos/builtin/packages/r-quantro/package.py6
-rw-r--r--var/spack/repos/builtin/packages/r-quickplot/package.py36
-rw-r--r--var/spack/repos/builtin/packages/r-qvalue/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-r-cache/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-r-methodss3/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-r-oo/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-r-utils/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-r6/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-randomfields/package.py17
-rw-r--r--var/spack/repos/builtin/packages/r-randomfieldsutils/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-randomforest/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-randomglm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-ranger/package.py15
-rw-r--r--var/spack/repos/builtin/packages/r-rann/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-rappdirs/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-raster/package.py14
-rw-r--r--var/spack/repos/builtin/packages/r-rbgl/package.py6
-rw-r--r--var/spack/repos/builtin/packages/r-rbibutils/package.py23
-rw-r--r--var/spack/repos/builtin/packages/r-rbokeh/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-rcmdcheck/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-rcolorbrewer/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-rcpp/package.py25
-rw-r--r--var/spack/repos/builtin/packages/r-rcppannoy/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-rcpparmadillo/package.py18
-rw-r--r--var/spack/repos/builtin/packages/r-rcppblaze/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-rcppcctz/package.py15
-rw-r--r--var/spack/repos/builtin/packages/r-rcppcnpy/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-rcppdate/package.py24
-rw-r--r--var/spack/repos/builtin/packages/r-rcppeigen/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-rcpphnsw/package.py12
-rw-r--r--var/spack/repos/builtin/packages/r-rcppparallel/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-rcppprogress/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-rcurl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-rda/package.py6
-rw-r--r--var/spack/repos/builtin/packages/r-rdpack/package.py10
-rw-r--r--var/spack/repos/builtin/packages/r-readbitmap/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-readr/package.py26
-rw-r--r--var/spack/repos/builtin/packages/r-readxl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-recipes/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-registry/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-rematch/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-rematch2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-remotes/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-reordercluster/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-reportingtools/package.py6
-rw-r--r--var/spack/repos/builtin/packages/r-repr/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-reprex/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-reproducible/package.py45
-rw-r--r--var/spack/repos/builtin/packages/r-require/package.py29
-rw-r--r--var/spack/repos/builtin/packages/r-reshape/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-reshape2/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-reticulate/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-rex/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-rferns/package.py10
-rw-r--r--var/spack/repos/builtin/packages/r-rgdal/package.py27
-rw-r--r--var/spack/repos/builtin/packages/r-rgenoud/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-rgeos/package.py28
-rw-r--r--var/spack/repos/builtin/packages/r-rgexf/package.py10
-rw-r--r--var/spack/repos/builtin/packages/r-rgl/package.py16
-rw-r--r--var/spack/repos/builtin/packages/r-rgooglemaps/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-rgraphviz/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-rhdf5/package.py14
-rw-r--r--var/spack/repos/builtin/packages/r-rhdf5filters/package.py20
-rw-r--r--var/spack/repos/builtin/packages/r-rhdf5lib/package.py6
-rw-r--r--var/spack/repos/builtin/packages/r-rhmmer/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-rhtslib/package.py6
-rw-r--r--var/spack/repos/builtin/packages/r-rinside/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-rio/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-rjags/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-rjava/package.py16
-rw-r--r--var/spack/repos/builtin/packages/r-rjson/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-rjsonio/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-rlang/package.py10
-rw-r--r--var/spack/repos/builtin/packages/r-rle/package.py21
-rw-r--r--var/spack/repos/builtin/packages/r-rmariadb/configure_add_rpath.patch13
-rw-r--r--var/spack/repos/builtin/packages/r-rmariadb/package.py19
-rw-r--r--var/spack/repos/builtin/packages/r-rmarkdown/package.py20
-rw-r--r--var/spack/repos/builtin/packages/r-rminer/package.py21
-rw-r--r--var/spack/repos/builtin/packages/r-rmpfr/package.py21
-rw-r--r--var/spack/repos/builtin/packages/r-rmpi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-rms/package.py45
-rw-r--r--var/spack/repos/builtin/packages/r-rmutil/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-rmysql/package.py14
-rw-r--r--var/spack/repos/builtin/packages/r-rnaseqmap/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-rncl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-rnexml/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-rngtools/package.py16
-rw-r--r--var/spack/repos/builtin/packages/r-rnoaa/package.py34
-rw-r--r--var/spack/repos/builtin/packages/r-robust/package.py10
-rw-r--r--var/spack/repos/builtin/packages/r-robustbase/package.py15
-rw-r--r--var/spack/repos/builtin/packages/r-roc/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-rocr/package.py10
-rw-r--r--var/spack/repos/builtin/packages/r-rodbc/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-rook/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-rots/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-roxygen2/package.py17
-rw-r--r--var/spack/repos/builtin/packages/r-rpart-plot/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-rpart/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-rpostgresql/package.py10
-rw-r--r--var/spack/repos/builtin/packages/r-rprojroot/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-rrblup/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-rrcov/package.py17
-rw-r--r--var/spack/repos/builtin/packages/r-rrpp/package.py32
-rw-r--r--var/spack/repos/builtin/packages/r-rsamtools/package.py23
-rw-r--r--var/spack/repos/builtin/packages/r-rsnns/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-rsolnp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-rspectra/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-rsqlite/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-rstan/package.py17
-rw-r--r--var/spack/repos/builtin/packages/r-rstantools/package.py15
-rw-r--r--var/spack/repos/builtin/packages/r-rstatix/package.py44
-rw-r--r--var/spack/repos/builtin/packages/r-rstudioapi/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-rsvd/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-rtracklayer/package.py30
-rw-r--r--var/spack/repos/builtin/packages/r-rtsne/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-runit/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-rvcheck/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-rversions/package.py12
-rw-r--r--var/spack/repos/builtin/packages/r-rvest/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-rzmq/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-s4vectors/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-samr/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-sandwich/package.py21
-rw-r--r--var/spack/repos/builtin/packages/r-scales/package.py22
-rw-r--r--var/spack/repos/builtin/packages/r-scater/package.py50
-rw-r--r--var/spack/repos/builtin/packages/r-scattermore/package.py22
-rw-r--r--var/spack/repos/builtin/packages/r-scatterpie/package.py25
-rw-r--r--var/spack/repos/builtin/packages/r-scatterplot3d/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-scrime/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-sctransform/package.py14
-rw-r--r--var/spack/repos/builtin/packages/r-scuttle/package.py32
-rw-r--r--var/spack/repos/builtin/packages/r-sdmtools/package.py13
-rw-r--r--var/spack/repos/builtin/packages/r-segmented/package.py16
-rw-r--r--var/spack/repos/builtin/packages/r-selectr/package.py16
-rw-r--r--var/spack/repos/builtin/packages/r-seqinr/package.py12
-rw-r--r--var/spack/repos/builtin/packages/r-seqlogo/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-servr/package.py26
-rw-r--r--var/spack/repos/builtin/packages/r-sessioninfo/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-seurat/package.py101
-rw-r--r--var/spack/repos/builtin/packages/r-sf/package.py26
-rw-r--r--var/spack/repos/builtin/packages/r-sfsmisc/package.py17
-rw-r--r--var/spack/repos/builtin/packages/r-shadowtext/package.py23
-rw-r--r--var/spack/repos/builtin/packages/r-shape/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-shiny/package.py16
-rw-r--r--var/spack/repos/builtin/packages/r-shinydashboard/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-shinyfiles/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-shortread/package.py24
-rw-r--r--var/spack/repos/builtin/packages/r-siggenes/package.py6
-rw-r--r--var/spack/repos/builtin/packages/r-simpleaffy/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-singlecellexperiment/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-sitmo/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-sm/package.py3
-rw-r--r--var/spack/repos/builtin/packages/r-smoof/package.py18
-rw-r--r--var/spack/repos/builtin/packages/r-sn/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-snakecase/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-snow/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-snowfall/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-snprelate/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-snpstats/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-som/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-somaticsignatures/package.py6
-rw-r--r--var/spack/repos/builtin/packages/r-sourcetools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-sp/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-spacetime/package.py16
-rw-r--r--var/spack/repos/builtin/packages/r-spam/package.py13
-rw-r--r--var/spack/repos/builtin/packages/r-sparsem/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-sparsematrixstats/package.py26
-rw-r--r--var/spack/repos/builtin/packages/r-spatial/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-spatialeco/package.py43
-rw-r--r--var/spack/repos/builtin/packages/r-spatialpack/package.py15
-rw-r--r--var/spack/repos/builtin/packages/r-spatialreg/package.py42
-rw-r--r--var/spack/repos/builtin/packages/r-spatstat-data/package.py10
-rw-r--r--var/spack/repos/builtin/packages/r-spatstat-utils/package.py10
-rw-r--r--var/spack/repos/builtin/packages/r-spatstat/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-spdata/package.py16
-rw-r--r--var/spack/repos/builtin/packages/r-spdep/package.py42
-rw-r--r--var/spack/repos/builtin/packages/r-speedglm/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-spem/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-splancs/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-splitstackshape/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-sqldf/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-squarem/package.py12
-rw-r--r--var/spack/repos/builtin/packages/r-squash/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-sseq/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-stabledist/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-stanheaders/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-stargazer/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-statmod/package.py20
-rw-r--r--var/spack/repos/builtin/packages/r-statnet-common/package.py10
-rw-r--r--var/spack/repos/builtin/packages/r-stringi/package.py23
-rw-r--r--var/spack/repos/builtin/packages/r-stringr/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-strucchange/package.py16
-rw-r--r--var/spack/repos/builtin/packages/r-subplex/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-summarizedexperiment/package.py29
-rw-r--r--var/spack/repos/builtin/packages/r-suppdists/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-survey/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-survival/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-sva/package.py6
-rw-r--r--var/spack/repos/builtin/packages/r-sys/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-tarifx/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-taxizedb/package.py17
-rw-r--r--var/spack/repos/builtin/packages/r-tclust/package.py10
-rw-r--r--var/spack/repos/builtin/packages/r-teachingdemos/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-tensor/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-tensora/package.py12
-rw-r--r--var/spack/repos/builtin/packages/r-testit/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-testthat/package.py30
-rw-r--r--var/spack/repos/builtin/packages/r-tfbstools/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-tfisher/package.py30
-rw-r--r--var/spack/repos/builtin/packages/r-tfmpvalue/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-th-data/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-threejs/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-tibble/package.py35
-rw-r--r--var/spack/repos/builtin/packages/r-tidycensus/package.py18
-rw-r--r--var/spack/repos/builtin/packages/r-tidygraph/package.py6
-rw-r--r--var/spack/repos/builtin/packages/r-tidyr/package.py32
-rw-r--r--var/spack/repos/builtin/packages/r-tidyselect/package.py18
-rw-r--r--var/spack/repos/builtin/packages/r-tidyverse/package.py42
-rw-r--r--var/spack/repos/builtin/packages/r-tiff/package.py13
-rw-r--r--var/spack/repos/builtin/packages/r-tigris/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-timedate/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-tinytex/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-tmixclust/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-tmvnsim/package.py26
-rw-r--r--var/spack/repos/builtin/packages/r-topgo/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-triebeard/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-trimcluster/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-truncdist/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-truncnorm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-trust/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-tseries/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-tsne/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-ttr/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-tweenr/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-txdb-hsapiens-ucsc-hg18-knowngene/package.py6
-rw-r--r--var/spack/repos/builtin/packages/r-txdb-hsapiens-ucsc-hg19-knowngene/package.py6
-rw-r--r--var/spack/repos/builtin/packages/r-tximport/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-tximportdata/package.py18
-rw-r--r--var/spack/repos/builtin/packages/r-ucminf/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-udunits2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-units/package.py21
-rw-r--r--var/spack/repos/builtin/packages/r-upsetr/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-urca/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-urltools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-usethis/package.py21
-rw-r--r--var/spack/repos/builtin/packages/r-utf8/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-uuid/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-uwot/package.py12
-rw-r--r--var/spack/repos/builtin/packages/r-v8/package.py20
-rw-r--r--var/spack/repos/builtin/packages/r-variantannotation/package.py42
-rw-r--r--var/spack/repos/builtin/packages/r-varselrf/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-vcd/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-vctrs/package.py15
-rw-r--r--var/spack/repos/builtin/packages/r-vegan/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-vfs/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-vgam/package.py26
-rw-r--r--var/spack/repos/builtin/packages/r-vioplot/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-vipor/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-viridis/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-viridislite/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-visnetwork/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-vsn/package.py10
-rw-r--r--var/spack/repos/builtin/packages/r-waldo/package.py28
-rw-r--r--var/spack/repos/builtin/packages/r-watermelon/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-webshot/package.py12
-rw-r--r--var/spack/repos/builtin/packages/r-wgcna/package.py16
-rw-r--r--var/spack/repos/builtin/packages/r-whisker/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-withr/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-xde/package.py11
-rw-r--r--var/spack/repos/builtin/packages/r-xfun/package.py3
-rw-r--r--var/spack/repos/builtin/packages/r-xgboost/package.py12
-rw-r--r--var/spack/repos/builtin/packages/r-xlconnect/package.py13
-rw-r--r--var/spack/repos/builtin/packages/r-xlconnectjars/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-xlsx/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-xlsxjars/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-xmapbridge/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-xml/package.py8
-rw-r--r--var/spack/repos/builtin/packages/r-xml2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-xnomial/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-xopen/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-xtable/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-xts/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-xvector/package.py20
-rw-r--r--var/spack/repos/builtin/packages/r-yaimpute/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-yaml/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r-yapsa/package.py16
-rw-r--r--var/spack/repos/builtin/packages/r-yaqcaffy/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-yarn/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-zcompositions/package.py26
-rw-r--r--var/spack/repos/builtin/packages/r-zeallot/package.py2
-rw-r--r--var/spack/repos/builtin/packages/r-zip/package.py7
-rw-r--r--var/spack/repos/builtin/packages/r-zlibbioc/package.py5
-rw-r--r--var/spack/repos/builtin/packages/r-zoo/package.py9
-rw-r--r--var/spack/repos/builtin/packages/r/package.py70
-rw-r--r--var/spack/repos/builtin/packages/r3d/package.py2
-rw-r--r--var/spack/repos/builtin/packages/rabbitmq/package.py2
-rw-r--r--var/spack/repos/builtin/packages/racon/aarch64.patch2791
-rw-r--r--var/spack/repos/builtin/packages/racon/package.py3
-rw-r--r--var/spack/repos/builtin/packages/raft/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ragel/package.py2
-rw-r--r--var/spack/repos/builtin/packages/raja/package.py27
-rw-r--r--var/spack/repos/builtin/packages/ramulator/package.py2
-rw-r--r--var/spack/repos/builtin/packages/randfold/package.py2
-rw-r--r--var/spack/repos/builtin/packages/random123/package.py2
-rw-r--r--var/spack/repos/builtin/packages/randrproto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/range-v3/package.py4
-rw-r--r--var/spack/repos/builtin/packages/rankstr/package.py2
-rw-r--r--var/spack/repos/builtin/packages/rapidjson/package.py2
-rw-r--r--var/spack/repos/builtin/packages/raptor2/package.py17
-rw-r--r--var/spack/repos/builtin/packages/rasdaemon/package.py2
-rw-r--r--var/spack/repos/builtin/packages/rasqal/package.py22
-rw-r--r--var/spack/repos/builtin/packages/ravel/package.py2
-rw-r--r--var/spack/repos/builtin/packages/raxml-ng/package.py34
-rw-r--r--var/spack/repos/builtin/packages/raxml/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ray/package.py2
-rw-r--r--var/spack/repos/builtin/packages/rccl/package.py10
-rw-r--r--var/spack/repos/builtin/packages/rclone/package.py2
-rw-r--r--var/spack/repos/builtin/packages/rdc/package.py16
-rw-r--r--var/spack/repos/builtin/packages/rdma-core/package.py3
-rw-r--r--var/spack/repos/builtin/packages/rdp-classifier/package.py2
-rw-r--r--var/spack/repos/builtin/packages/rdptools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/re2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/re2c/package.py2
-rw-r--r--var/spack/repos/builtin/packages/readfq/package.py2
-rw-r--r--var/spack/repos/builtin/packages/readline/package.py2
-rw-r--r--var/spack/repos/builtin/packages/recon/package.py2
-rw-r--r--var/spack/repos/builtin/packages/recorder/package.py2
-rw-r--r--var/spack/repos/builtin/packages/recordproto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/redis/package.py2
-rw-r--r--var/spack/repos/builtin/packages/reditools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/redland/package.py21
-rw-r--r--var/spack/repos/builtin/packages/redset/package.py2
-rw-r--r--var/spack/repos/builtin/packages/redundans/package.py2
-rw-r--r--var/spack/repos/builtin/packages/reframe/package.py65
-rw-r--r--var/spack/repos/builtin/packages/regcm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/relax/package.py4
-rw-r--r--var/spack/repos/builtin/packages/relion/0002-Simple-patch-to-fix-intel-mkl-linking.patch31
-rw-r--r--var/spack/repos/builtin/packages/relion/package.py24
-rw-r--r--var/spack/repos/builtin/packages/remhos/package.py2
-rw-r--r--var/spack/repos/builtin/packages/rempi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/rename/package.py2
-rw-r--r--var/spack/repos/builtin/packages/rendercheck/package.py4
-rw-r--r--var/spack/repos/builtin/packages/renderproto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/repeatmasker/package.py2
-rw-r--r--var/spack/repos/builtin/packages/repeatmodeler/package.py2
-rw-r--r--var/spack/repos/builtin/packages/repeatscout/package.py2
-rw-r--r--var/spack/repos/builtin/packages/resourceproto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/revbayes/package.py2
-rw-r--r--var/spack/repos/builtin/packages/revocap-coupler/package.py4
-rw-r--r--var/spack/repos/builtin/packages/revocap-refiner/package.py2
-rw-r--r--var/spack/repos/builtin/packages/rgb/package.py4
-rw-r--r--var/spack/repos/builtin/packages/rhash/package.py2
-rw-r--r--var/spack/repos/builtin/packages/rinetd/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ripgrep/package.py2
-rw-r--r--var/spack/repos/builtin/packages/rivet/package.py4
-rw-r--r--var/spack/repos/builtin/packages/rlwrap/package.py2
-rw-r--r--var/spack/repos/builtin/packages/rmats/package.py2
-rw-r--r--var/spack/repos/builtin/packages/rmlab/package.py2
-rw-r--r--var/spack/repos/builtin/packages/rna-seqc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/rnaz/package.py2
-rw-r--r--var/spack/repos/builtin/packages/rng-tools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/rngstreams/package.py2
-rw-r--r--var/spack/repos/builtin/packages/rocalution/package.py21
-rw-r--r--var/spack/repos/builtin/packages/rocblas/package.py18
-rw-r--r--var/spack/repos/builtin/packages/rocfft/package.py8
-rw-r--r--var/spack/repos/builtin/packages/rocketmq/package.py2
-rw-r--r--var/spack/repos/builtin/packages/rocksdb/package.py2
-rw-r--r--var/spack/repos/builtin/packages/rockstar/package.py2
-rw-r--r--var/spack/repos/builtin/packages/rocm-bandwidth-test/package.py8
-rw-r--r--var/spack/repos/builtin/packages/rocm-clang-ocl/package.py11
-rw-r--r--var/spack/repos/builtin/packages/rocm-cmake/package.py6
-rw-r--r--var/spack/repos/builtin/packages/rocm-dbgapi/package.py8
-rw-r--r--var/spack/repos/builtin/packages/rocm-debug-agent/package.py10
-rw-r--r--var/spack/repos/builtin/packages/rocm-device-libs/package.py8
-rw-r--r--var/spack/repos/builtin/packages/rocm-gdb/package.py12
-rw-r--r--var/spack/repos/builtin/packages/rocm-opencl/package.py10
-rw-r--r--var/spack/repos/builtin/packages/rocm-openmp-extras/package.py357
-rw-r--r--var/spack/repos/builtin/packages/rocm-smi-lib/package.py6
-rw-r--r--var/spack/repos/builtin/packages/rocm-smi/package.py6
-rw-r--r--var/spack/repos/builtin/packages/rocm-tensile/0002-require-openmp-when-tensile-use-openmp-is-on.patch90
-rw-r--r--var/spack/repos/builtin/packages/rocm-tensile/package.py38
-rw-r--r--var/spack/repos/builtin/packages/rocm-validation-suite/package.py8
-rw-r--r--var/spack/repos/builtin/packages/rocminfo/package.py8
-rw-r--r--var/spack/repos/builtin/packages/rocprim/package.py9
-rw-r--r--var/spack/repos/builtin/packages/rocprofiler-dev/package.py24
-rw-r--r--var/spack/repos/builtin/packages/rocrand/package.py9
-rw-r--r--var/spack/repos/builtin/packages/rocsolver/package.py10
-rw-r--r--var/spack/repos/builtin/packages/rocsparse/package.py8
-rw-r--r--var/spack/repos/builtin/packages/rocthrust/package.py11
-rw-r--r--var/spack/repos/builtin/packages/roctracer-dev/package.py9
-rw-r--r--var/spack/repos/builtin/packages/rodinia/package.py2
-rw-r--r--var/spack/repos/builtin/packages/root/package.py19
-rw-r--r--var/spack/repos/builtin/packages/rose/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ross/package.py2
-rw-r--r--var/spack/repos/builtin/packages/routino/package.py2
-rw-r--r--var/spack/repos/builtin/packages/rpcsvc-proto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/rr/package.py2
-rw-r--r--var/spack/repos/builtin/packages/rrdtool/package.py2
-rw-r--r--var/spack/repos/builtin/packages/rsbench/package.py2
-rw-r--r--var/spack/repos/builtin/packages/rsem/package.py2
-rw-r--r--var/spack/repos/builtin/packages/rstart/package.py4
-rw-r--r--var/spack/repos/builtin/packages/rsync/package.py11
-rw-r--r--var/spack/repos/builtin/packages/rsyslog/package.py4
-rw-r--r--var/spack/repos/builtin/packages/rt-tests/package.py2
-rw-r--r--var/spack/repos/builtin/packages/rtags/package.py2
-rw-r--r--var/spack/repos/builtin/packages/rtax/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ruby-asciidoctor/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ruby-erubis/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ruby-gnuplot/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ruby-hpricot/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ruby-mustache/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ruby-narray/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ruby-rake/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ruby-rdiscount/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ruby-ronn/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ruby-rubyinline/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ruby-svn2git/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ruby-terminal-table/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ruby-thor/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ruby-tmuxinator/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ruby-unicode-display-width/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ruby-xdg/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ruby-zentest/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ruby/package.py13
-rw-r--r--var/spack/repos/builtin/packages/rust-bindgen/package.py2
-rw-r--r--var/spack/repos/builtin/packages/rust/package.py17
-rw-r--r--var/spack/repos/builtin/packages/sabre/package.py2
-rw-r--r--var/spack/repos/builtin/packages/saga-gis/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sailfish/package.py2
-rwxr-xr-xvar/spack/repos/builtin/packages/salmon-tddft/cmakefix.patch108
-rwxr-xr-xvar/spack/repos/builtin/packages/salmon-tddft/fjmpi.patch67
-rwxr-xr-xvar/spack/repos/builtin/packages/salmon-tddft/package.py98
-rwxr-xr-xvar/spack/repos/builtin/packages/salmon-tddft/v2.0.libxc-5.0.patch312
-rw-r--r--var/spack/repos/builtin/packages/salmon/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sambamba/package.py2
-rw-r--r--var/spack/repos/builtin/packages/samblaster/package.py2
-rw-r--r--var/spack/repos/builtin/packages/samrai/package.py2
-rw-r--r--var/spack/repos/builtin/packages/samtools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sandbox/package.py2
-rw-r--r--var/spack/repos/builtin/packages/satsuma2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/savanna/package.py2
-rw-r--r--var/spack/repos/builtin/packages/saws/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sblim-sfcc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sbml/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sbt/package.py2
-rw-r--r--var/spack/repos/builtin/packages/scala/package.py2
-rw-r--r--var/spack/repos/builtin/packages/scalasca/package.py4
-rw-r--r--var/spack/repos/builtin/packages/scallop/package.py2
-rw-r--r--var/spack/repos/builtin/packages/scalpel/package.py2
-rw-r--r--var/spack/repos/builtin/packages/scan-for-matches/package.py2
-rw-r--r--var/spack/repos/builtin/packages/scantailor/package.py2
-rw-r--r--var/spack/repos/builtin/packages/scipoptsuite/package.py2
-rw-r--r--var/spack/repos/builtin/packages/scons/package.py4
-rw-r--r--var/spack/repos/builtin/packages/scorec-core/package.py2
-rw-r--r--var/spack/repos/builtin/packages/scorep/package.py2
-rw-r--r--var/spack/repos/builtin/packages/scotch/package.py8
-rw-r--r--var/spack/repos/builtin/packages/scr/package.py4
-rw-r--r--var/spack/repos/builtin/packages/screen/package.py2
-rw-r--r--var/spack/repos/builtin/packages/scripts/package.py2
-rw-r--r--var/spack/repos/builtin/packages/scrnsaverproto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/scs/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sctk/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sdl2-image/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sdl2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sdsl-lite/package.py2
-rw-r--r--var/spack/repos/builtin/packages/seacas/package.py6
-rw-r--r--var/spack/repos/builtin/packages/sed/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sensei/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sentencepiece/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sentieon-genomics/package.py3
-rw-r--r--var/spack/repos/builtin/packages/seqan/package.py2
-rw-r--r--var/spack/repos/builtin/packages/seqkit/package.py2
-rw-r--r--var/spack/repos/builtin/packages/seqprep/package.py2
-rw-r--r--var/spack/repos/builtin/packages/seqtk/package.py2
-rw-r--r--var/spack/repos/builtin/packages/serf/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sessreg/package.py4
-rw-r--r--var/spack/repos/builtin/packages/setserial/package.py2
-rw-r--r--var/spack/repos/builtin/packages/setxkbmap/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sfcgal/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sga/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sgpp/package.py34
-rw-r--r--var/spack/repos/builtin/packages/shadow/package.py2
-rw-r--r--var/spack/repos/builtin/packages/shapeit/package.py2
-rw-r--r--var/spack/repos/builtin/packages/shapeit4/package.py2
-rw-r--r--var/spack/repos/builtin/packages/shapelib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/shared-mime-info/package.py2
-rw-r--r--var/spack/repos/builtin/packages/shark/package.py2
-rw-r--r--var/spack/repos/builtin/packages/shc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/shengbte/package.py2
-rw-r--r--var/spack/repos/builtin/packages/shiny-server/package.py4
-rw-r--r--var/spack/repos/builtin/packages/shiro/package.py2
-rw-r--r--var/spack/repos/builtin/packages/shocklibs/package.py2
-rw-r--r--var/spack/repos/builtin/packages/shoremap/package.py2
-rw-r--r--var/spack/repos/builtin/packages/shortbred/package.py2
-rw-r--r--var/spack/repos/builtin/packages/shortstack/package.py2
-rw-r--r--var/spack/repos/builtin/packages/showfont/package.py2
-rw-r--r--var/spack/repos/builtin/packages/shtools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/shuffile/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sickle/package.py2
-rw-r--r--var/spack/repos/builtin/packages/siesta/package.py4
-rw-r--r--var/spack/repos/builtin/packages/signalp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/signify/package.py2
-rw-r--r--var/spack/repos/builtin/packages/silo/H5FD_class_t-terminate.patch12
-rw-r--r--var/spack/repos/builtin/packages/silo/package.py3
-rw-r--r--var/spack/repos/builtin/packages/simde/package.py25
-rw-r--r--var/spack/repos/builtin/packages/simde/sve-gcc.patch18
-rw-r--r--var/spack/repos/builtin/packages/simgrid/package.py2
-rw-r--r--var/spack/repos/builtin/packages/simmetrix-simmodsuite/package.py147
-rw-r--r--var/spack/repos/builtin/packages/simplemoc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/simul/package.py2
-rw-r--r--var/spack/repos/builtin/packages/simulationio/package.py2
-rw-r--r--var/spack/repos/builtin/packages/singularity-legacy/package.py10
-rw-r--r--var/spack/repos/builtin/packages/singularity/package.py5
-rw-r--r--var/spack/repos/builtin/packages/sio/package.py21
-rw-r--r--var/spack/repos/builtin/packages/sionlib/for_aarch64.patch11
-rw-r--r--var/spack/repos/builtin/packages/sionlib/package.py31
-rw-r--r--var/spack/repos/builtin/packages/sirius/package.py2
-rw-r--r--var/spack/repos/builtin/packages/skilion-onedrive/package.py2
-rw-r--r--var/spack/repos/builtin/packages/skopeo/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/slang/package.py2
-rw-r--r--var/spack/repos/builtin/packages/slate/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sleef/package.py2
-rw-r--r--var/spack/repos/builtin/packages/slepc/package.py12
-rw-r--r--var/spack/repos/builtin/packages/slf4j/package.py2
-rw-r--r--var/spack/repos/builtin/packages/slider/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sloccount/package.py2
-rw-r--r--var/spack/repos/builtin/packages/slurm/package.py3
-rw-r--r--var/spack/repos/builtin/packages/smalt/package.py2
-rw-r--r--var/spack/repos/builtin/packages/smartdenovo/aarch64.patch2
-rw-r--r--var/spack/repos/builtin/packages/smartdenovo/package.py2
-rw-r--r--var/spack/repos/builtin/packages/smartmontools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/smof/package.py2
-rw-r--r--var/spack/repos/builtin/packages/smproxy/package.py2
-rw-r--r--var/spack/repos/builtin/packages/snakemake/package.py4
-rw-r--r--var/spack/repos/builtin/packages/snap-berkeley/package.py2
-rw-r--r--var/spack/repos/builtin/packages/snap-korf/package.py2
-rw-r--r--var/spack/repos/builtin/packages/snap/package.py2
-rw-r--r--var/spack/repos/builtin/packages/snappy/package.py2
-rw-r--r--var/spack/repos/builtin/packages/snbone/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sniffles/package.py2
-rw-r--r--var/spack/repos/builtin/packages/snpeff/package.py2
-rw-r--r--var/spack/repos/builtin/packages/snphylo/package.py2
-rw-r--r--var/spack/repos/builtin/packages/snptest/package.py2
-rw-r--r--var/spack/repos/builtin/packages/soapdenovo-trans/package.py2
-rw-r--r--var/spack/repos/builtin/packages/soapdenovo2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/soci/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sofa-c/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sollve/package.py7
-rw-r--r--var/spack/repos/builtin/packages/sollya/package.py33
-rw-r--r--var/spack/repos/builtin/packages/solr/package.py4
-rw-r--r--var/spack/repos/builtin/packages/somatic-sniper/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sonlib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sortmerna/for_aarch64.patch22
-rw-r--r--var/spack/repos/builtin/packages/sortmerna/package.py9
-rw-r--r--var/spack/repos/builtin/packages/sosflow/package.py2
-rw-r--r--var/spack/repos/builtin/packages/source-highlight/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sowing/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sox/package.py2
-rw-r--r--var/spack/repos/builtin/packages/spades/package.py5
-rw-r--r--var/spack/repos/builtin/packages/span-lite/package.py2
-rw-r--r--var/spack/repos/builtin/packages/spark/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sparse/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sparsehash/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sparta/package.py2
-rw-r--r--var/spack/repos/builtin/packages/spath/package.py2
-rw-r--r--var/spack/repos/builtin/packages/spdlog/package.py7
-rw-r--r--var/spack/repos/builtin/packages/specfem3d-globe/gcc_rm_werror.patch11
-rw-r--r--var/spack/repos/builtin/packages/specfem3d-globe/package.py63
-rw-r--r--var/spack/repos/builtin/packages/spectrum-mpi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/speex/package.py2
-rw-r--r--var/spack/repos/builtin/packages/speexdsp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/spfft/package.py35
-rw-r--r--var/spack/repos/builtin/packages/spglib/package.py24
-rw-r--r--var/spack/repos/builtin/packages/sph2pipe/package.py2
-rw-r--r--var/spack/repos/builtin/packages/spherepack/package.py2
-rw-r--r--var/spack/repos/builtin/packages/spindle/package.py2
-rw-r--r--var/spack/repos/builtin/packages/spiral/package.py2
-rw-r--r--var/spack/repos/builtin/packages/spla/package.py17
-rw-r--r--var/spack/repos/builtin/packages/spm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/spot/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sprng/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sqlcipher/package.py33
-rw-r--r--var/spack/repos/builtin/packages/sqlite-jdbc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sqlite/package.py4
-rw-r--r--var/spack/repos/builtin/packages/sqlitebrowser/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sqoop/package.py2
-rw-r--r--var/spack/repos/builtin/packages/squashfs/gcc-10.patch13
-rw-r--r--var/spack/repos/builtin/packages/squashfs/package.py9
-rw-r--r--var/spack/repos/builtin/packages/squid/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sratoolkit/package.py5
-rw-r--r--var/spack/repos/builtin/packages/sse2neon/package.py10
-rw-r--r--var/spack/repos/builtin/packages/sshpass/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ssht/package.py37
-rw-r--r--var/spack/repos/builtin/packages/ssmtp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sspace-longread/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sspace-standard/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sst-core/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sst-dumpi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sst-elements/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sst-macro/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sst-transports/package.py2
-rw-r--r--var/spack/repos/builtin/packages/stacks/package.py2
-rw-r--r--var/spack/repos/builtin/packages/staden-io-lib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/star-ccm-plus/package.py2
-rw-r--r--var/spack/repos/builtin/packages/star/package.py2
-rw-r--r--var/spack/repos/builtin/packages/startup-notification/package.py2
-rw-r--r--var/spack/repos/builtin/packages/stat/package.py11
-rw-r--r--var/spack/repos/builtin/packages/stata/package.py3
-rw-r--r--var/spack/repos/builtin/packages/static-analysis-suite/package.py2
-rw-r--r--var/spack/repos/builtin/packages/stc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/steps/package.py2
-rw-r--r--var/spack/repos/builtin/packages/stinger/package.py2
-rw-r--r--var/spack/repos/builtin/packages/storm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/stow/package.py2
-rw-r--r--var/spack/repos/builtin/packages/strace/package.py2
-rw-r--r--var/spack/repos/builtin/packages/stream/package.py2
-rw-r--r--var/spack/repos/builtin/packages/strelka/package.py4
-rw-r--r--var/spack/repos/builtin/packages/stress/package.py2
-rw-r--r--var/spack/repos/builtin/packages/string-view-lite/package.py2
-rw-r--r--var/spack/repos/builtin/packages/stringtie/package.py2
-rw-r--r--var/spack/repos/builtin/packages/structure/package.py2
-rw-r--r--var/spack/repos/builtin/packages/strumpack/package.py112
-rw-r--r--var/spack/repos/builtin/packages/su2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sublime-text/package.py2
-rw-r--r--var/spack/repos/builtin/packages/subread/package.py2
-rw-r--r--var/spack/repos/builtin/packages/subversion/package.py2
-rw-r--r--var/spack/repos/builtin/packages/suite-sparse/package.py6
-rw-r--r--var/spack/repos/builtin/packages/sumaclust/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sumo/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sundials/package.py15
-rw-r--r--var/spack/repos/builtin/packages/superchic/package.py51
-rw-r--r--var/spack/repos/builtin/packages/superlu-dist/package.py2
-rw-r--r--var/spack/repos/builtin/packages/superlu-mt/package.py2
-rw-r--r--var/spack/repos/builtin/packages/superlu/package.py82
-rw-r--r--var/spack/repos/builtin/packages/supernova/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sw4lite/package.py2
-rw-r--r--var/spack/repos/builtin/packages/swap-assembler/package.py2
-rw-r--r--var/spack/repos/builtin/packages/swarm/package.py5
-rw-r--r--var/spack/repos/builtin/packages/swfft/package.py2
-rw-r--r--var/spack/repos/builtin/packages/swftools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/swiftsim/package.py2
-rw-r--r--var/spack/repos/builtin/packages/swig/package.py2
-rw-r--r--var/spack/repos/builtin/packages/swipl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/symengine/package.py2
-rw-r--r--var/spack/repos/builtin/packages/symlinks/package.py9
-rw-r--r--var/spack/repos/builtin/packages/sympol/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sysbench/package.py2
-rw-r--r--var/spack/repos/builtin/packages/syscalc/package.py4
-rw-r--r--var/spack/repos/builtin/packages/sysfsutils/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sysget/package.py2
-rw-r--r--var/spack/repos/builtin/packages/sysstat/package.py2
-rw-r--r--var/spack/repos/builtin/packages/systemtap/package.py7
-rw-r--r--var/spack/repos/builtin/packages/sz/package.py3
-rw-r--r--var/spack/repos/builtin/packages/tabix/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tajo/package.py2
-rw-r--r--var/spack/repos/builtin/packages/talass/package.py9
-rw-r--r--var/spack/repos/builtin/packages/talloc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tangram/package.py6
-rw-r--r--var/spack/repos/builtin/packages/tantan/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tar/package.py2
-rw-r--r--var/spack/repos/builtin/packages/targetp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/task/package.py4
-rw-r--r--var/spack/repos/builtin/packages/taskd/package.py4
-rw-r--r--var/spack/repos/builtin/packages/taskflow/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tasmanian/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tassel/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tau/package.py3
-rw-r--r--var/spack/repos/builtin/packages/tauola/package.py34
-rw-r--r--var/spack/repos/builtin/packages/tbl2asn/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tcl-itcl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tcl-tcllib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tcl-tclxml/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tcl/package.py5
-rw-r--r--var/spack/repos/builtin/packages/tclap/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tcoffee/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tcpdump/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tcptrace/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tcsh/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tdengine/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tealeaf/package.py2
-rw-r--r--var/spack/repos/builtin/packages/teckit/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tecplot/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tempestremap/package.py45
-rw-r--r--var/spack/repos/builtin/packages/templight-tools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/templight/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tengine/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tensorflow-serving-client/package.py2
-rw-r--r--var/spack/repos/builtin/packages/termcap/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tesseract/package.py2
-rw-r--r--var/spack/repos/builtin/packages/testdfsio/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tetgen/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tethex/package.py2
-rw-r--r--var/spack/repos/builtin/packages/texinfo/package.py2
-rw-r--r--var/spack/repos/builtin/packages/texlive/package.py2
-rw-r--r--var/spack/repos/builtin/packages/texstudio/package.py2
-rw-r--r--var/spack/repos/builtin/packages/textparser/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tfel/package.py10
-rw-r--r--var/spack/repos/builtin/packages/the-platinum-searcher/package.py4
-rw-r--r--var/spack/repos/builtin/packages/the-silver-searcher/package.py2
-rw-r--r--var/spack/repos/builtin/packages/thepeg/package.py4
-rw-r--r--var/spack/repos/builtin/packages/thornado-mini/package.py2
-rw-r--r--var/spack/repos/builtin/packages/thrift/package.py2
-rw-r--r--var/spack/repos/builtin/packages/thrust/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tig/package.py2
-rw-r--r--var/spack/repos/builtin/packages/time/package.py2
-rw-r--r--var/spack/repos/builtin/packages/timedatex/package.py2
-rw-r--r--var/spack/repos/builtin/packages/timemory/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tinker/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tinyxml/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tinyxml2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tioga/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tippecanoe/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tiptop/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tix/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tixi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tk/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tldd/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tmalign/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tmhmm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tmux/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tomcat/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tophat/package.py2
-rw-r--r--var/spack/repos/builtin/packages/totalview/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tpm2-tss/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tppred/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tracer/package.py2
-rw-r--r--var/spack/repos/builtin/packages/transabyss/package.py2
-rw-r--r--var/spack/repos/builtin/packages/transdecoder/package.py2
-rw-r--r--var/spack/repos/builtin/packages/transposome/package.py2
-rw-r--r--var/spack/repos/builtin/packages/transrate/package.py2
-rw-r--r--var/spack/repos/builtin/packages/transset/package.py4
-rw-r--r--var/spack/repos/builtin/packages/trapproto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tree/package.py2
-rw-r--r--var/spack/repos/builtin/packages/treelite/package.py2
-rw-r--r--var/spack/repos/builtin/packages/treesub/package.py2
-rw-r--r--var/spack/repos/builtin/packages/trf/package.py2
-rw-r--r--var/spack/repos/builtin/packages/triangle/package.py2
-rw-r--r--var/spack/repos/builtin/packages/trident/package.py2
-rw-r--r--var/spack/repos/builtin/packages/trilinos-catalyst-ioss-adapter/package.py2
-rw-r--r--var/spack/repos/builtin/packages/trilinos/package.py13
-rw-r--r--var/spack/repos/builtin/packages/trimal/package.py2
-rw-r--r--var/spack/repos/builtin/packages/trimgalore/package.py2
-rw-r--r--var/spack/repos/builtin/packages/trimmomatic/package.py2
-rw-r--r--var/spack/repos/builtin/packages/trinity/package.py2
-rw-r--r--var/spack/repos/builtin/packages/trinotate/package.py2
-rw-r--r--var/spack/repos/builtin/packages/trnascan-se/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tskit/package.py4
-rw-r--r--var/spack/repos/builtin/packages/tulip/package.py2
-rw-r--r--var/spack/repos/builtin/packages/turbine/package.py2
-rw-r--r--var/spack/repos/builtin/packages/turbomole/package.py2
-rw-r--r--var/spack/repos/builtin/packages/turnserver/package.py2
-rw-r--r--var/spack/repos/builtin/packages/tut/package.py2
-rw-r--r--var/spack/repos/builtin/packages/twm/package.py4
-rw-r--r--var/spack/repos/builtin/packages/tycho2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/typhon/package.py2
-rw-r--r--var/spack/repos/builtin/packages/typhonio/package.py6
-rw-r--r--var/spack/repos/builtin/packages/uchardet/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ucx/package.py2
-rw-r--r--var/spack/repos/builtin/packages/udunits/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ufo-core/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ufo-filters/package.py2
-rw-r--r--var/spack/repos/builtin/packages/umap/package.py2
-rw-r--r--var/spack/repos/builtin/packages/umesimd/package.py25
-rw-r--r--var/spack/repos/builtin/packages/umoci/package.py2
-rw-r--r--var/spack/repos/builtin/packages/umpire/package.py7
-rw-r--r--var/spack/repos/builtin/packages/unblur/package.py2
-rw-r--r--var/spack/repos/builtin/packages/uncrustify/package.py2
-rw-r--r--var/spack/repos/builtin/packages/unibilium/package.py2
-rw-r--r--var/spack/repos/builtin/packages/unifdef/package.py2
-rw-r--r--var/spack/repos/builtin/packages/unifyfs/package.py20
-rw-r--r--var/spack/repos/builtin/packages/unigen/package.py33
-rw-r--r--var/spack/repos/builtin/packages/unigen/unigen-2.3.patch127
-rw-r--r--var/spack/repos/builtin/packages/unison/package.py2
-rw-r--r--var/spack/repos/builtin/packages/units/package.py2
-rw-r--r--var/spack/repos/builtin/packages/unittest-cpp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/universal-ctags/package.py3
-rw-r--r--var/spack/repos/builtin/packages/unixodbc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/unqlite/package.py2
-rw-r--r--var/spack/repos/builtin/packages/unrar/package.py2
-rw-r--r--var/spack/repos/builtin/packages/unuran/package.py2
-rw-r--r--var/spack/repos/builtin/packages/unzip/package.py2
-rw-r--r--var/spack/repos/builtin/packages/upcxx/package.py6
-rw-r--r--var/spack/repos/builtin/packages/uqtk/package.py2
-rw-r--r--var/spack/repos/builtin/packages/uriparser/package.py2
-rw-r--r--var/spack/repos/builtin/packages/usbutils/package.py2
-rw-r--r--var/spack/repos/builtin/packages/usearch/package.py2
-rw-r--r--var/spack/repos/builtin/packages/userspace-rcu/package.py2
-rw-r--r--var/spack/repos/builtin/packages/utf8proc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/util-linux-uuid/package.py45
-rw-r--r--var/spack/repos/builtin/packages/util-linux/package.py13
-rw-r--r--var/spack/repos/builtin/packages/util-macros/package.py2
-rw-r--r--var/spack/repos/builtin/packages/uvw/package.py2
-rw-r--r--var/spack/repos/builtin/packages/valgrind/package.py3
-rw-r--r--var/spack/repos/builtin/packages/vampirtrace/package.py2
-rw-r--r--var/spack/repos/builtin/packages/vardictjava/package.py2
-rw-r--r--var/spack/repos/builtin/packages/variorum/package.py2
-rw-r--r--var/spack/repos/builtin/packages/varnish-cache/package.py2
-rw-r--r--var/spack/repos/builtin/packages/varscan/package.py2
-rw-r--r--var/spack/repos/builtin/packages/vasp/package.py18
-rw-r--r--var/spack/repos/builtin/packages/vbfnlo/package.py4
-rw-r--r--var/spack/repos/builtin/packages/vc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/vcftools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/vcsh/package.py3
-rw-r--r--var/spack/repos/builtin/packages/vdt/package.py2
-rw-r--r--var/spack/repos/builtin/packages/veccore/package.py2
-rw-r--r--var/spack/repos/builtin/packages/vecgeom/package.py6
-rw-r--r--var/spack/repos/builtin/packages/veclibfort/package.py2
-rw-r--r--var/spack/repos/builtin/packages/vegas2/package.py2
-rw-r--r--var/spack/repos/builtin/packages/veloc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/velvet/package.py2
-rw-r--r--var/spack/repos/builtin/packages/velvetoptimiser/package.py2
-rw-r--r--var/spack/repos/builtin/packages/verilator/package.py2
-rw-r--r--var/spack/repos/builtin/packages/verrou/package.py2
-rw-r--r--var/spack/repos/builtin/packages/vesta/package.py2
-rw-r--r--var/spack/repos/builtin/packages/vgm/package.py4
-rw-r--r--var/spack/repos/builtin/packages/videoproto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/viennarna/package.py2
-rw-r--r--var/spack/repos/builtin/packages/viewres/package.py2
-rw-r--r--var/spack/repos/builtin/packages/vifi/package.py2
-rw-r--r--var/spack/repos/builtin/packages/vigra/package.py2
-rw-r--r--var/spack/repos/builtin/packages/vim/package.py2
-rw-r--r--var/spack/repos/builtin/packages/virtualgl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/visit/package.py6
-rw-r--r--var/spack/repos/builtin/packages/vizglow/package.py2
-rw-r--r--var/spack/repos/builtin/packages/vmatch/package.py2
-rw-r--r--var/spack/repos/builtin/packages/vmc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/vmd/package.py3
-rw-r--r--var/spack/repos/builtin/packages/volk/package.py2
-rw-r--r--var/spack/repos/builtin/packages/voropp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/votca-csg-tutorials/package.py6
-rw-r--r--var/spack/repos/builtin/packages/votca-csg/package.py6
-rw-r--r--var/spack/repos/builtin/packages/votca-csgapps/package.py8
-rw-r--r--var/spack/repos/builtin/packages/votca-ctp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/votca-tools/package.py6
-rw-r--r--var/spack/repos/builtin/packages/votca-xtp/package.py6
-rw-r--r--var/spack/repos/builtin/packages/vpfft/package.py2
-rw-r--r--var/spack/repos/builtin/packages/vpic/package.py2
-rw-r--r--var/spack/repos/builtin/packages/vsearch/package.py2
-rw-r--r--var/spack/repos/builtin/packages/vsftpd/package.py2
-rw-r--r--var/spack/repos/builtin/packages/vt/package.py2
-rw-r--r--var/spack/repos/builtin/packages/vtable-dumper/package.py2
-rw-r--r--var/spack/repos/builtin/packages/vtk-h/package.py3
-rw-r--r--var/spack/repos/builtin/packages/vtk-m/package.py185
-rw-r--r--var/spack/repos/builtin/packages/vtk/package.py21
-rwxr-xr-xvar/spack/repos/builtin/packages/vvtest/package.py2
-rw-r--r--var/spack/repos/builtin/packages/wannier90/package.py2
-rw-r--r--var/spack/repos/builtin/packages/warpx/package.py10
-rw-r--r--var/spack/repos/builtin/packages/watch/package.py2
-rw-r--r--var/spack/repos/builtin/packages/wayland/package.py2
-rw-r--r--var/spack/repos/builtin/packages/wcs/package.py2
-rw-r--r--var/spack/repos/builtin/packages/wcslib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/webbench/package.py2
-rw-r--r--var/spack/repos/builtin/packages/weechat/package.py2
-rw-r--r--var/spack/repos/builtin/packages/weighttp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/wget/package.py2
-rw-r--r--var/spack/repos/builtin/packages/wgsim/package.py2
-rw-r--r--var/spack/repos/builtin/packages/which/package.py2
-rw-r--r--var/spack/repos/builtin/packages/whizard/package.py4
-rw-r--r--var/spack/repos/builtin/packages/windowswmproto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/wireshark/package.py2
-rw-r--r--var/spack/repos/builtin/packages/wonton/package.py6
-rw-r--r--var/spack/repos/builtin/packages/wordnet/package.py2
-rw-r--r--var/spack/repos/builtin/packages/workrave/package.py2
-rw-r--r--var/spack/repos/builtin/packages/wps/for_aarch64.patch11
-rw-r--r--var/spack/repos/builtin/packages/wps/package.py4
-rw-r--r--var/spack/repos/builtin/packages/wrf/package.py60
-rw-r--r--var/spack/repos/builtin/packages/wrf/patches/3.9/aocc_lmvec.patch130
-rw-r--r--var/spack/repos/builtin/packages/wrf/patches/3.9/configure_aocc.patch55
-rw-r--r--var/spack/repos/builtin/packages/wrf/patches/4.2/configure4.2_aocc.patch54
-rw-r--r--var/spack/repos/builtin/packages/wrf/patches/4.2/derf_fix.patch11
-rw-r--r--var/spack/repos/builtin/packages/wrk/package.py2
-rw-r--r--var/spack/repos/builtin/packages/wsmancli/package.py2
-rw-r--r--var/spack/repos/builtin/packages/wt/package.py2
-rw-r--r--var/spack/repos/builtin/packages/wtdbg2/for_aarch64.patch23
-rw-r--r--var/spack/repos/builtin/packages/wtdbg2/package.py10
-rw-r--r--var/spack/repos/builtin/packages/wxpropgrid/package.py2
-rw-r--r--var/spack/repos/builtin/packages/wxwidgets/package.py2
-rw-r--r--var/spack/repos/builtin/packages/x11perf/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xabclib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xapian-core/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xauth/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xbacklight/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xbiff/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xbitmaps/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xbraid/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xcalc/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xcb-demo/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xcb-proto/package.py14
-rw-r--r--var/spack/repos/builtin/packages/xcb-util-cursor/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xcb-util-errors/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xcb-util-image/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xcb-util-keysyms/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xcb-util-renderutil/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xcb-util-wm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xcb-util-xrm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xcb-util/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xcfun/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xclip/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xclipboard/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xclock/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xcmiscproto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xcmsdb/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xcompmgr/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xconsole/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xcursor-themes/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xcursorgen/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xdbedizzy/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xdelta/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xditview/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xdm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xdmf3/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xdotool/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xdpyinfo/package.py10
-rw-r--r--var/spack/repos/builtin/packages/xdriinfo/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xedit/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xerces-c/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xeus/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xev/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xextproto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xeyes/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xf86bigfontproto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xf86dga/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xf86dgaproto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xf86driproto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xf86miscproto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xf86rushproto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xf86vidmodeproto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xfd/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xfindproxy/package.py6
-rw-r--r--var/spack/repos/builtin/packages/xfontsel/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xforms/package.py26
-rw-r--r--var/spack/repos/builtin/packages/xfs/package.py8
-rw-r--r--var/spack/repos/builtin/packages/xfsdump/package.py45
-rw-r--r--var/spack/repos/builtin/packages/xfsinfo/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xfsprogs/package.py3
-rw-r--r--var/spack/repos/builtin/packages/xfwp/package.py6
-rw-r--r--var/spack/repos/builtin/packages/xgamma/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xgboost/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xgc/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xhmm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xhost/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xineramaproto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xinit/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xinput/package.py10
-rw-r--r--var/spack/repos/builtin/packages/xios/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xkbcomp/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xkbdata/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xkbevd/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xkbprint/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xkbutils/package.py6
-rw-r--r--var/spack/repos/builtin/packages/xkeyboard-config/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xkill/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xlc/package.py81
-rw-r--r--var/spack/repos/builtin/packages/xlf/package.py69
-rw-r--r--var/spack/repos/builtin/packages/xload/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xlogo/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xlsatoms/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xlsclients/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xlsfonts/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xmag/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xman/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xmessage/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xmh/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xmlf90/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xmlrpc-c/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xmlto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xmodmap/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xmore/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xorg-cf-files/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xorg-docs/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xorg-gtest/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xorg-server/package.py8
-rw-r--r--var/spack/repos/builtin/packages/xorg-sgml-doctools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xphelloworld/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xplor-nih/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xplsprinters/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xpmem/package.py7
-rw-r--r--var/spack/repos/builtin/packages/xpmem/xpmem_v2.6.5-36.patch15
-rw-r--r--var/spack/repos/builtin/packages/xpr/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xprehashprinterlist/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xprop/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xproto/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xproxymanagementprotocol/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xqilla/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xrandr/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xrdb/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xrefresh/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xrootd/package.py8
-rw-r--r--var/spack/repos/builtin/packages/xrx/package.py6
-rw-r--r--var/spack/repos/builtin/packages/xsbench/package.py6
-rw-r--r--var/spack/repos/builtin/packages/xscope/package.py6
-rw-r--r--var/spack/repos/builtin/packages/xsd/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xsdk-examples/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xsdk/package.py46
-rw-r--r--var/spack/repos/builtin/packages/xsdktrilinos/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xset/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xsetmode/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xsetpointer/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xsetroot/package.py6
-rw-r--r--var/spack/repos/builtin/packages/xsimd/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xsm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xstdcmap/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xtensor-python/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xtensor/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xterm/package.py3
-rw-r--r--var/spack/repos/builtin/packages/xtl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xtrans/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xtrap/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xts/package.py10
-rw-r--r--var/spack/repos/builtin/packages/xvidtune/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xvinfo/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xwd/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xwininfo/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xwud/package.py4
-rw-r--r--var/spack/repos/builtin/packages/xxhash/package.py2
-rw-r--r--var/spack/repos/builtin/packages/xz/package.py2
-rw-r--r--var/spack/repos/builtin/packages/yajl/package.py2
-rw-r--r--var/spack/repos/builtin/packages/yambo/package.py2
-rw-r--r--var/spack/repos/builtin/packages/yaml-cpp/package.py2
-rw-r--r--var/spack/repos/builtin/packages/yara/package.py2
-rw-r--r--var/spack/repos/builtin/packages/yarn/package.py2
-rw-r--r--var/spack/repos/builtin/packages/yasm/package.py2
-rw-r--r--var/spack/repos/builtin/packages/ycsb/package.py2
-rw-r--r--var/spack/repos/builtin/packages/yoda/package.py11
-rw-r--r--var/spack/repos/builtin/packages/yorick/package.py2
-rw-r--r--var/spack/repos/builtin/packages/z-checker/package.py2
-rw-r--r--var/spack/repos/builtin/packages/z3/package.py4
-rw-r--r--var/spack/repos/builtin/packages/zabbix/package.py2
-rw-r--r--var/spack/repos/builtin/packages/zfp/package.py105
-rw-r--r--var/spack/repos/builtin/packages/zfs/package.py4
-rw-r--r--var/spack/repos/builtin/packages/zip/package.py2
-rw-r--r--var/spack/repos/builtin/packages/zipkin/package.py2
-rw-r--r--var/spack/repos/builtin/packages/zlib/package.py2
-rw-r--r--var/spack/repos/builtin/packages/zoltan/package.py17
-rw-r--r--var/spack/repos/builtin/packages/zookeeper-benchmark/package.py2
-rw-r--r--var/spack/repos/builtin/packages/zookeeper/package.py2
-rw-r--r--var/spack/repos/builtin/packages/zsh/package.py2
-rw-r--r--var/spack/repos/builtin/packages/zstd/package.py2
-rw-r--r--var/spack/repos/builtin/packages/zziplib/package.py2
-rw-r--r--var/spack/repos/tutorial/packages/armadillo/package.py2
-rw-r--r--var/spack/repos/tutorial/packages/elpa/package.py2
-rw-r--r--var/spack/repos/tutorial/packages/hdf5/package.py2
-rw-r--r--var/spack/repos/tutorial/packages/mpich/package.py2
-rw-r--r--var/spack/repos/tutorial/packages/netlib-lapack/package.py2
6188 files changed, 41437 insertions, 18678 deletions
diff --git a/.flake8 b/.flake8
index 195c783726..a4c8aa2fbc 100644
--- a/.flake8
+++ b/.flake8
@@ -27,6 +27,47 @@
# - N813: camelcase imported as lowercase
# - N814: camelcase imported as constant
#
+# F4: pyflakes import checks, these are now checked by mypy more precisely
+# - F403: from module import *
+# - F405: undefined name or from *
+#
+# Black ignores, these are incompatible with black style and do not follow PEP-8
+# - E203: white space around slice operators can be required, ignore : warn
+# - W503: see above, already ignored for line-breaks
+#
[flake8]
-ignore = E129,E221,E241,E272,E731,W503,W504,F999,N801,N813,N814
-max-line-length = 79
+ignore = E129,E221,E241,E272,E731,W503,W504,F999,N801,N813,N814,F403,F405
+max-line-length = 88
+
+# F4: Import
+# - F405: `name` may be undefined, or undefined from star imports: `module`
+#
+# F8: Name
+# - F821: undefined name `name`
+#
+per-file-ignores =
+ var/spack/repos/*/package.py:F405,F821
+
+# exclude things we usually do not want linting for.
+# These still get linted when passed explicitly, as when spack flake8 passes
+# them on the command line.
+exclude =
+ .git
+ etc/
+ opt/
+ share/
+ var/spack/cache/
+ var/spack/gpg*/
+ var/spack/junit-report/
+ var/spack/mock-configs/
+ lib/spack/external
+ __pycache__
+ var
+
+format = spack
+
+[flake8:local-plugins]
+report =
+ spack = flake8_formatter:SpackFormatter
+paths =
+ ./share/spack/qa/
diff --git a/.flake8_packages b/.flake8_packages
deleted file mode 100644
index fc2dbf98af..0000000000
--- a/.flake8_packages
+++ /dev/null
@@ -1,24 +0,0 @@
-# -*- conf -*-
-# flake8 settings for Spack package files.
-#
-# This should include all the same exceptions that we use for core files.
-#
-# In Spack packages, we also allow the single `from spack import *`
-# wildcard import and dependencies can set globals for their
-# dependents. So we add exceptions for checks related to undefined names.
-#
-# Note that we also add *per-line* exemptions for certain patterns in the
-# `spack flake8` command. This is where F403 for `from spack import *`
-# is added (because we *only* allow that wildcard).
-#
-# See .flake8 for regular exceptions.
-#
-# F4: Import
-# - F405: `name` may be undefined, or undefined from star imports: `module`
-#
-# F8: Name
-# - F821: undefined name `name`
-#
-[flake8]
-ignore = E129,E221,E241,E272,E731,W503,W504,F405,F821,F999,N801,N813,N814
-max-line-length = 79
diff --git a/.gitattributes b/.gitattributes
index 95105a3731..5299044761 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1 +1,3 @@
*.py diff=python
+*.lp linguist-language=Prolog
+lib/spack/external/* linguist-vendored
diff --git a/.github/actions/add-maintainers-as-reviewers/entrypoint.py b/.github/actions/add-maintainers-as-reviewers/entrypoint.py
index aa89fcd468..c5cb147230 100755
--- a/.github/actions/add-maintainers-as-reviewers/entrypoint.py
+++ b/.github/actions/add-maintainers-as-reviewers/entrypoint.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
#
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 0000000000..2c7d170839
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,7 @@
+version: 2
+updates:
+ # Maintain dependencies for GitHub Actions
+ - package-ecosystem: "github-actions"
+ directory: "/"
+ schedule:
+ interval: "daily"
diff --git a/.github/workflows/linux_build_tests.yaml b/.github/workflows/linux_build_tests.yaml
index 0a2946f63f..6850ab097e 100644
--- a/.github/workflows/linux_build_tests.yaml
+++ b/.github/workflows/linux_build_tests.yaml
@@ -37,7 +37,7 @@ jobs:
- ruby-rake # RubyPackage
steps:
- uses: actions/checkout@v2
- - uses: actions/cache@v2
+ - uses: actions/cache@v2.1.4
with:
path: ~/.ccache
key: ccache-build-${{ matrix.package }}
diff --git a/.github/workflows/linux_unit_tests.yaml b/.github/workflows/linux_unit_tests.yaml
index c87ea6e07a..47adfb3e8f 100644
--- a/.github/workflows/linux_unit_tests.yaml
+++ b/.github/workflows/linux_unit_tests.yaml
@@ -103,6 +103,7 @@ jobs:
- uses: codecov/codecov-action@v1
with:
flags: shelltests,linux
+
centos6:
# Test for Python2.6 run on Centos 6
runs-on: ubuntu-latest
@@ -117,6 +118,32 @@ jobs:
git fetch origin ${{ github.ref }}:test-branch
git checkout test-branch
share/spack/qa/run-unit-tests
+
+ rhel8-platform-python:
+ runs-on: ubuntu-latest
+ container: registry.access.redhat.com/ubi8/ubi
+ steps:
+ - name: Install dependencies
+ run: |
+ dnf install -y \
+ bzip2 curl file gcc-c++ gcc gcc-gfortran git gnupg2 gzip \
+ make patch tcl unzip which xz
+ - uses: actions/checkout@v2
+ - name: Setup repo and non-root user
+ run: |
+ git --version
+ git fetch --unshallow
+ . .github/workflows/setup_git.sh
+ useradd spack-test
+ chown -R spack-test .
+ - name: Run unit tests
+ env:
+ SPACK_PYTHON: /usr/libexec/platform-python
+ shell: runuser -u spack-test -- bash {0}
+ run: |
+ source share/spack/setup-env.sh
+ spack unit-test -k 'not svn and not hg' -x --verbose
+
clingo:
# Test for the clingo based solver
runs-on: ubuntu-latest
diff --git a/.github/workflows/macos_unit_tests.yaml b/.github/workflows/macos_unit_tests.yaml
index 29caaa2e08..e5918968d2 100644
--- a/.github/workflows/macos_unit_tests.yaml
+++ b/.github/workflows/macos_unit_tests.yaml
@@ -26,7 +26,7 @@ jobs:
run: |
pip install --upgrade pip six setuptools
pip install --upgrade codecov coverage
- pip install --upgrade flake8 pep8-naming
+ pip install --upgrade flake8 pep8-naming mypy
- name: Setup Homebrew packages
run: |
brew install dash fish gcc gnupg2 kcov
diff --git a/.github/workflows/style_and_docs.yaml b/.github/workflows/style_and_docs.yaml
index 5abedab784..0f84e1e885 100644
--- a/.github/workflows/style_and_docs.yaml
+++ b/.github/workflows/style_and_docs.yaml
@@ -22,10 +22,10 @@ jobs:
pip install --upgrade pip
pip install --upgrade vermin
- name: Minimum Version (Spack's Core)
- run: vermin --backport argparse -t=2.6- -t=3.5- -v lib/spack/spack/ lib/spack/llnl/ bin/
+ run: vermin --backport argparse --backport typing -t=2.6- -t=3.5- -v lib/spack/spack/ lib/spack/llnl/ bin/
- name: Minimum Version (Repositories)
- run: vermin --backport argparse -t=2.6- -t=3.5- -v var/spack/repos
- flake8:
+ run: vermin --backport argparse --backport typing -t=2.6- -t=3.5- -v var/spack/repos
+ style:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@@ -36,15 +36,15 @@ jobs:
python-version: 3.9
- name: Install Python packages
run: |
- pip install --upgrade pip six setuptools flake8
+ pip install --upgrade pip six setuptools flake8 mypy>=0.800 black
- name: Setup git configuration
run: |
# Need this for the git tests to succeed.
git --version
. .github/workflows/setup_git.sh
- - name: Run flake8 tests
+ - name: Run style tests
run: |
- share/spack/qa/run-flake8-tests
+ share/spack/qa/run-style-tests
documentation:
runs-on: ubuntu-latest
steps:
diff --git a/.gitignore b/.gitignore
index e2f485ab92..dc85872f42 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,40 +1,511 @@
-/db
+##########################
+# Spack-specific ignores #
+##########################
+
/var/spack/stage
/var/spack/cache
/var/spack/environments
/var/spack/repos/*/index.yaml
/var/spack/repos/*/lock
-__pycache__/
-*.pyc
/opt
-*~
-.DS_Store
-.idea
# Ignore everything in /etc/spack except /etc/spack/defaults
/etc/spack/*
!/etc/spack/defaults
-/etc/spackconfig
-/share/spack/dotkit
/share/spack/modules
/share/spack/lmod
-/TAGS
-*.swp
-/htmlcov
-.coverage
-\#*
-.#*
-.cache
-lib/spack/spack/test/.cache
-/bin/spackc
+# Debug logs
+spack-db.*
*.in.log
*.out.log
-*.orig
-# Eclipse files
-.project
+###########################
+# Python-specific ignores #
+###########################
+
+# Byte-compiled / optimized / DLL files
+__pycache__/
+*.py[cod]
+*$py.class
+
+# C extensions
+*.so
+
+# Distribution / packaging
+.Python
+build/
+develop-eggs/
+dist/
+downloads/
+eggs/
+.eggs/
+#lib/
+#lib64/
+parts/
+sdist/
+#var/
+wheels/
+share/python-wheels/
+*.egg-info/
+.installed.cfg
+*.egg
+MANIFEST
+
+# PyInstaller
+# Usually these files are written by a python script from a template
+# before PyInstaller builds the exe, so as to inject date/other infos into it.
+*.manifest
+*.spec
+
+# Installer logs
+pip-log.txt
+pip-delete-this-directory.txt
+
+# Unit test / coverage reports
+htmlcov/
+.tox/
+.nox/
+.coverage
+.coverage.*
+.cache
+nosetests.xml
+coverage.xml
+*.cover
+*.py,cover
+.hypothesis/
+.pytest_cache/
+cover/
+
+# Translations
+*.mo
+*.pot
+
+# Django stuff:
+*.log
+local_settings.py
+db.sqlite3
+db.sqlite3-journal
+
+# Flask stuff:
+instance/
+.webassets-cache
+
+# Scrapy stuff:
+.scrapy
+
+# Sphinx documentation
+docs/_build/
+
+# PyBuilder
+.pybuilder/
+target/
+
+# Jupyter Notebook
+.ipynb_checkpoints
+
+# IPython
+profile_default/
+ipython_config.py
+
+# pyenv
+# For a library or package, you might want to ignore these files since the code is
+# intended to run in multiple environments; otherwise, check them in:
+# .python-version
+
+# pipenv
+# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
+# However, in case of collaboration, if having platform-specific dependencies or dependencies
+# having no cross-platform support, pipenv may install dependencies that don't work, or not
+# install all needed dependencies.
+#Pipfile.lock
+
+# PEP 582; used by e.g. github.com/David-OConnor/pyflow
+__pypackages__/
+
+# Celery stuff
+celerybeat-schedule
+celerybeat.pid
+
+# SageMath parsed files
+*.sage.py
+
+# Environments
+.env
+.venv
+env/
+venv/
+ENV/
+env.bak/
+venv.bak/
+
+# Spyder project settings
+.spyderproject
+.spyproject
+
+# Rope project settings
+.ropeproject
+
+# mkdocs documentation
+/site
+
+# mypy
+.mypy_cache/
+.dmypy.json
+dmypy.json
+
+# Pyre type checker
+.pyre/
+
+# pytype static type analyzer
+.pytype/
+
+# Cython debug symbols
+cython_debug/
+
+########################
+# Vim-specific ignores #
+########################
+
+# Swap
+[._]*.s[a-v][a-z]
+!*.svg # comment out if you don't need vector files
+[._]*.sw[a-p]
+[._]s[a-rt-v][a-z]
+[._]ss[a-gi-z]
+[._]sw[a-p]
+
+# Session
+Session.vim
+Sessionx.vim
+
+# Temporary
+.netrwhist
+*~
+# Auto-generated tag files
+tags
+# Persistent undo
+[._]*.un~
+
+##########################
+# Emacs-specific ignores #
+##########################
+
+*~
+\#*\#
+/.emacs.desktop
+/.emacs.desktop.lock
+*.elc
+auto-save-list
+tramp
+.\#*
+
+# Org-mode
+.org-id-locations
+*_archive
+
+# flymake-mode
+*_flymake.*
+
+# eshell files
+/eshell/history
+/eshell/lastdir
+
+# elpa packages
+/elpa/
+
+# reftex files
+*.rel
+
+# AUCTeX auto folder
+/auto/
+
+# cask packages
+.cask/
+dist/
+
+# Flycheck
+flycheck_*.el
+
+# server auth directory
+/server/
+
+# projectiles files
+.projectile
+
+# directory configuration
+.dir-locals.el
+
+# network security
+/network-security.data
+
+############################
+# Eclipse-specific ignores #
+############################
+
+.metadata
+#bin/
+tmp/
+*.tmp
+*.bak
+*.swp
+*~.nib
+local.properties
+.settings/
+.loadpath
+.recommenders
+
+# External tool builders
+.externalToolBuilders/
+
+# Locally stored "Eclipse launch configurations"
+*.launch
+
+# PyDev specific (Python IDE for Eclipse)
+*.pydevproject
+
+# CDT-specific (C/C++ Development Tooling)
.cproject
-.pydevproject
-# VSCode files
-.vscode
-.devcontainer
+# CDT- autotools
+.autotools
+
+# Java annotation processor (APT)
+.factorypath
+
+# PDT-specific (PHP Development Tools)
+.buildpath
+
+# sbteclipse plugin
+.target
+
+# Tern plugin
+.tern-project
+
+# TeXlipse plugin
+.texlipse
+
+# STS (Spring Tool Suite)
+.springBeans
+
+# Code Recommenders
+.recommenders/
+
+# Annotation Processing
+.apt_generated/
+.apt_generated_test/
+
+# Scala IDE specific (Scala & Java development for Eclipse)
+.cache-main
+.scala_dependencies
+.worksheet
+
+# Uncomment this line if you wish to ignore the project description file.
+# Typically, this file would be tracked if it contains build/dependency configurations:
+#.project
+
+##################################
+# Visual Studio-specific ignores #
+##################################
+
+.vscode/*
+!.vscode/settings.json
+!.vscode/tasks.json
+!.vscode/launch.json
+!.vscode/extensions.json
+*.code-workspace
+
+# Local History for Visual Studio Code
+.history/
+
+#################################
+# Sublime Text-specific ignores #
+#################################
+
+# Cache files for Sublime Text
+*.tmlanguage.cache
+*.tmPreferences.cache
+*.stTheme.cache
+
+# Workspace files are user-specific
+*.sublime-workspace
+
+# Project files should be checked into the repository, unless a significant
+# proportion of contributors will probably not be using Sublime Text
+# *.sublime-project
+
+# SFTP configuration file
+sftp-config.json
+sftp-config-alt*.json
+
+# Package control specific files
+Package Control.last-run
+Package Control.ca-list
+Package Control.ca-bundle
+Package Control.system-ca-bundle
+Package Control.cache/
+Package Control.ca-certs/
+Package Control.merged-ca-bundle
+Package Control.user-ca-bundle
+oscrypto-ca-bundle.crt
+bh_unicode_properties.cache
+
+# Sublime-github package stores a github token in this file
+# https://packagecontrol.io/packages/sublime-github
+GitHub.sublime-settings
+
+##############################
+# JetBrains-specific ignores #
+##############################
+
+# Ignore the entire folder since it may conatin more files than
+# just the ones listed below
+.idea/
+
+# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
+# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
+
+# User-specific stuff
+.idea/**/workspace.xml
+.idea/**/tasks.xml
+.idea/**/usage.statistics.xml
+.idea/**/dictionaries
+.idea/**/shelf
+
+# Generated files
+.idea/**/contentModel.xml
+
+# Sensitive or high-churn files
+.idea/**/dataSources/
+.idea/**/dataSources.ids
+.idea/**/dataSources.local.xml
+.idea/**/sqlDataSources.xml
+.idea/**/dynamic.xml
+.idea/**/uiDesigner.xml
+.idea/**/dbnavigator.xml
+
+# Gradle
+.idea/**/gradle.xml
+.idea/**/libraries
+
+# Gradle and Maven with auto-import
+# When using Gradle or Maven with auto-import, you should exclude module files,
+# since they will be recreated, and may cause churn. Uncomment if using
+# auto-import.
+# .idea/artifacts
+# .idea/compiler.xml
+# .idea/jarRepositories.xml
+# .idea/modules.xml
+# .idea/*.iml
+# .idea/modules
+# *.iml
+# *.ipr
+
+# CMake
+cmake-build-*/
+
+# Mongo Explorer plugin
+.idea/**/mongoSettings.xml
+
+# File-based project format
+*.iws
+
+# IntelliJ
+out/
+
+# mpeltonen/sbt-idea plugin
+.idea_modules/
+
+# JIRA plugin
+atlassian-ide-plugin.xml
+
+# Cursive Clojure plugin
+.idea/replstate.xml
+
+# Crashlytics plugin (for Android Studio and IntelliJ)
+com_crashlytics_export_strings.xml
+crashlytics.properties
+crashlytics-build.properties
+fabric.properties
+
+# Editor-based Rest Client
+.idea/httpRequests
+
+# Android studio 3.1+ serialized cache file
+.idea/caches/build_file_checksums.ser
+
+##########################
+# macOS-specific ignores #
+##########################
+
+# General
+.DS_Store
+.AppleDouble
+.LSOverride
+
+# Icon must end with two \r
+Icon
+
+# Thumbnails
+._*
+
+# Files that might appear in the root of a volume
+.DocumentRevisions-V100
+.fseventsd
+.Spotlight-V100
+.TemporaryItems
+.Trashes
+.VolumeIcon.icns
+.com.apple.timemachine.donotpresent
+
+# Directories potentially created on remote AFP share
+.AppleDB
+.AppleDesktop
+Network Trash Folder
+Temporary Items
+.apdisk
+
+##########################
+# Linux-specific ignores #
+##########################
+
+*~
+
+# temporary files which can be created if a process still has a handle open of a deleted file
+.fuse_hidden*
+
+# KDE directory preferences
+.directory
+
+# Linux trash folder which might appear on any partition or disk
+.Trash-*
+
+# .nfs files are created when an open file is removed but is still being accessed
+.nfs*
+
+############################
+# Windows-specific ignores #
+############################
+
+# Windows thumbnail cache files
+Thumbs.db
+Thumbs.db:encryptable
+ehthumbs.db
+ehthumbs_vista.db
+
+# Dump file
+*.stackdump
+
+# Folder config file
+[Dd]esktop.ini
+
+# Recycle Bin used on file shares
+$RECYCLE.BIN/
+
+# Windows Installer files
+*.cab
+*.msi
+*.msix
+*.msm
+*.msp
+
+# Windows shortcuts
+*.lnk
diff --git a/.mypy.ini b/.mypy.ini
new file mode 100644
index 0000000000..4257b1bd3f
--- /dev/null
+++ b/.mypy.ini
@@ -0,0 +1,35 @@
+[mypy]
+python_version = 3.7
+files=lib/spack/llnl/**/*.py,lib/spack/spack/**/*.py
+mypy_path=bin,lib/spack,lib/spack/external,var/spack/repos/builtin
+# This and a generated import file allows supporting packages
+namespace_packages=True
+# To avoid re-factoring all the externals, ignore errors and missing imports
+# globally, then turn back on in spack and spack submodules
+ignore_errors=True
+ignore_missing_imports=True
+
+[mypy-spack.*]
+ignore_errors=False
+ignore_missing_imports=False
+
+[mypy-packages.*]
+ignore_errors=False
+ignore_missing_imports=False
+
+[mypy-llnl.*]
+ignore_errors=False
+ignore_missing_imports=False
+
+[mypy-spack.test.packages]
+ignore_errors=True
+
+# ignore errors in fake import path for packages
+[mypy-spack.pkg.*]
+ignore_errors=True
+ignore_missing_imports=True
+
+# jinja has syntax in it that requires python3 and causes a parse error
+# skip importing it
+[mypy-jinja2]
+follow_imports=skip
diff --git a/bin/spack b/bin/spack
index 7e2e7e06de..24db0be9b1 100755
--- a/bin/spack
+++ b/bin/spack
@@ -1,7 +1,7 @@
#!/bin/sh
# -*- python -*-
#
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,9 +10,12 @@
# Following line is a shell no-op, and starts a multi-line Python comment.
# See https://stackoverflow.com/a/47886254
""":"
-# prefer python3, then python, then python2
-for cmd in python3 python python2; do
- command -v > /dev/null $cmd && exec $cmd $0 "$@"
+# prefer SPACK_PYTHON environment variable, python3, python, then python2
+for cmd in "${SPACK_PYTHON:-}" python3 python python2; do
+ if command -v > /dev/null "$cmd"; then
+ export SPACK_PYTHON="$(command -v "$cmd")"
+ exec "${SPACK_PYTHON}" "$0" "$@"
+ fi
done
echo "==> Error: spack could not find a python interpreter!" >&2
@@ -42,6 +45,8 @@ sys.path.insert(0, spack_lib_path)
# Add external libs
spack_external_libs = os.path.join(spack_lib_path, "external")
+if sys.version_info[:2] <= (2, 7):
+ sys.path.insert(0, os.path.join(spack_external_libs, 'py2'))
if sys.version_info[:2] == (2, 6):
sys.path.insert(0, os.path.join(spack_external_libs, 'py26'))
diff --git a/bin/spack-python b/bin/spack-python
index 22141b46d6..923f7380ba 100755
--- a/bin/spack-python
+++ b/bin/spack-python
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/etc/spack/defaults/config.yaml b/etc/spack/defaults/config.yaml
index d1a7f35a6d..7f0b9276ba 100644
--- a/etc/spack/defaults/config.yaml
+++ b/etc/spack/defaults/config.yaml
@@ -107,7 +107,7 @@ config:
# If set to true, Spack will attempt to build any compiler on the spec
# that is not already available. If set to False, Spack will only use
# compilers already configured in compilers.yaml
- install_missing_compilers: False
+ install_missing_compilers: false
# If set to true, Spack will always check checksums after downloading
@@ -115,6 +115,11 @@ config:
checksum: true
+ # If set to true, Spack will fetch deprecated versions without warning.
+ # If false, Spack will raise an error when trying to install a deprecated version.
+ deprecated: false
+
+
# If set to true, `spack install` and friends will NOT clean
# potentially harmful variables from the build environment. Use wisely.
dirty: false
diff --git a/etc/spack/defaults/darwin/packages.yaml b/etc/spack/defaults/darwin/packages.yaml
index 948e90ea5a..8ce443a9fd 100644
--- a/etc/spack/defaults/darwin/packages.yaml
+++ b/etc/spack/defaults/darwin/packages.yaml
@@ -25,6 +25,8 @@ packages:
- libelf
unwind:
- apple-libunwind
+ uuid:
+ - apple-libuuid
apple-libunwind:
buildable: false
externals:
@@ -32,3 +34,10 @@ packages:
# although the version number used here isn't critical
- spec: apple-libunwind@35.3
prefix: /usr
+ apple-libuuid:
+ buildable: false
+ externals:
+ # Apple bundles libuuid in libsystem_c version 1353.100.2,
+ # although the version number used here isn't critical
+ - spec: apple-libuuid@1353.100.2
+ prefix: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
diff --git a/etc/spack/defaults/packages.yaml b/etc/spack/defaults/packages.yaml
index 06aa41b2d8..bf9148315b 100644
--- a/etc/spack/defaults/packages.yaml
+++ b/etc/spack/defaults/packages.yaml
@@ -23,7 +23,7 @@ packages:
daal: [intel-daal]
elf: [elfutils]
fftw-api: [fftw, amdfftw]
- gl: [mesa+opengl, mesa18+opengl, opengl]
+ gl: [mesa+opengl, mesa18, opengl]
glx: [mesa+glx, mesa18+glx, opengl]
glu: [mesa-glu, openglu]
golang: [gcc]
@@ -49,6 +49,7 @@ packages:
unwind: [libunwind]
yacc: [bison, byacc]
flame: [libflame, amdlibflame]
+ uuid: [util-linux-uuid, libuuid]
permissions:
read: world
write: user
diff --git a/lib/spack/docs/basic_usage.rst b/lib/spack/docs/basic_usage.rst
index f7def9d439..738b4c579b 100644
--- a/lib/spack/docs/basic_usage.rst
+++ b/lib/spack/docs/basic_usage.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -133,8 +133,7 @@ dependencies first. It then fetches the ``mpileaks`` tarball, expands
it, verifies that it was downloaded without errors, builds it, and
installs it in its own directory under ``$SPACK_ROOT/opt``. You'll see
a number of messages from Spack, a lot of build output, and a message
-that the package is installed. Add one or more debug options (``-d``)
-to get increasingly detailed output.
+that the package is installed.
.. code-block:: console
@@ -151,8 +150,8 @@ to get increasingly detailed output.
The last line, with the ``[+]``, indicates where the package is
installed.
-Add the debug option -- ``spack install -d mpileaks`` -- to get additional
-output.
+Add the Spack debug option (one or more times) -- ``spack -d install
+mpileaks`` -- to get additional (and even more verbose) output.
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Building a specific version
diff --git a/lib/spack/docs/binary_caches.rst b/lib/spack/docs/binary_caches.rst
index 6e8c91c943..17617b1491 100644
--- a/lib/spack/docs/binary_caches.rst
+++ b/lib/spack/docs/binary_caches.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/docs/build_settings.rst b/lib/spack/docs/build_settings.rst
index 3e7a21c3e8..a0d4445d3f 100644
--- a/lib/spack/docs/build_settings.rst
+++ b/lib/spack/docs/build_settings.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/docs/build_systems.rst b/lib/spack/docs/build_systems.rst
index 84c608077f..784730ce40 100644
--- a/lib/spack/docs/build_systems.rst
+++ b/lib/spack/docs/build_systems.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -60,6 +60,7 @@ on these ideas for each distinct build system that Spack supports:
build_systems/bundlepackage
build_systems/cudapackage
build_systems/intelpackage
+ build_systems/rocmpackage
build_systems/custompackage
For reference, the :py:mod:`Build System API docs <spack.build_systems>`
diff --git a/lib/spack/docs/build_systems/autotoolspackage.rst b/lib/spack/docs/build_systems/autotoolspackage.rst
index a4c15e5155..be9833b70e 100644
--- a/lib/spack/docs/build_systems/autotoolspackage.rst
+++ b/lib/spack/docs/build_systems/autotoolspackage.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/docs/build_systems/bundlepackage.rst b/lib/spack/docs/build_systems/bundlepackage.rst
index e22e4b26be..d6429c2519 100644
--- a/lib/spack/docs/build_systems/bundlepackage.rst
+++ b/lib/spack/docs/build_systems/bundlepackage.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/docs/build_systems/cmakepackage.rst b/lib/spack/docs/build_systems/cmakepackage.rst
index 76e89c80b1..a3282514e8 100644
--- a/lib/spack/docs/build_systems/cmakepackage.rst
+++ b/lib/spack/docs/build_systems/cmakepackage.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/docs/build_systems/cudapackage.rst b/lib/spack/docs/build_systems/cudapackage.rst
index 15150599d3..2d148d0483 100644
--- a/lib/spack/docs/build_systems/cudapackage.rst
+++ b/lib/spack/docs/build_systems/cudapackage.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,35 +9,120 @@
CudaPackage
-----------
-Different from other packages, ``CudaPackage`` does not represent a build
-system. Instead its goal is to simplify and unify usage of ``CUDA`` in other
-packages.
+Different from other packages, ``CudaPackage`` does not represent a build system.
+Instead its goal is to simplify and unify usage of ``CUDA`` in other packages by providing a ` mixin-class <https://en.wikipedia.org/wiki/Mixin>`__.
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-Provided variants and dependencies
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+You can find source for the package at
+`<https://github.com/spack/spack/blob/develop/lib/spack/spack/build_systems/cuda.py>`__.
-``CudaPackage`` provides ``cuda`` variant (default to ``off``) to enable/disable
-``CUDA``, and ``cuda_arch`` variant to optionally specify the architecture.
-It also declares dependencies on the ``CUDA`` package ``depends_on('cuda@...')``
-based on the architecture as well as specifies conflicts for certain compiler versions.
+^^^^^^^^
+Variants
+^^^^^^^^
+
+This package provides the following variants:
+
+* **cuda**
+
+ This variant is used to enable/disable building with ``CUDA``. The default
+ is disabled (or ``False``).
+
+* **cuda_arch**
+
+ This variant supports the optional specification of the architecture.
+ Valid values are maintained in the ``cuda_arch_values`` property and
+ are the numeric character equivalent of the compute capability version
+ (e.g., '10' for version 1.0). Each provided value affects associated
+ ``CUDA`` dependencies and compiler conflicts.
+
+ GPUs and their compute capability versions are listed at
+ https://developer.nvidia.com/cuda-gpus .
+
+^^^^^^^^^
+Conflicts
+^^^^^^^^^
+
+Conflicts are used to prevent builds with known bugs or issues. While
+base ``CUDA`` conflicts have been included with this package, you may
+want to add more for your software.
+
+For example, if your package requires ``cuda_arch`` to be specified when
+``cuda`` is enabled, you can add the following conflict to your package
+to terminate such build attempts with a suitable message:
+
+.. code-block:: python
+
+ conflicts('cuda_arch=none', when='+cuda',
+ msg='CUDA architecture is required')
+
+Similarly, if your software does not support all versions of the property,
+you could add ``conflicts`` to your package for those versions. For example,
+suppose your software does not work with CUDA compute capability versions
+prior to SM 5.0 (``50``). You can add the following code to display a
+custom message should a user attempt such a build:
+
+.. code-block:: python
+
+ unsupported_cuda_archs = [
+ '10', '11', '12', '13',
+ '20', '21',
+ '30', '32', '35', '37'
+ ]
+ for value in unsupported_cuda_archs:
+ conflicts('cuda_arch={0}'.format(value), when='+cuda',
+ msg='CUDA architecture {0} is not supported'.format(value))
+
+^^^^^^^
+Methods
+^^^^^^^
+
+This package provides one custom helper method, which is used to build
+standard CUDA compiler flags.
+
+**cuda_flags**
+
+ This built-in static method returns a list of command line flags
+ for the chosen ``cuda_arch`` value(s). The flags are intended to
+ be passed to the CUDA compiler driver (i.e., ``nvcc``).
+
+ This method must be explicitly called when you are creating the
+ arguments for your build in order to use the values.
^^^^^
Usage
^^^^^
-In order to use it, just add another base class to your package, for example:
+This helper package can be added to your package by adding it as a base
+class of your package. For example, you can add it to your
+:ref:`CMakePackage <cmakepackage>`-based package as follows:
.. code-block:: python
+ :emphasize-lines: 1,7-16
- class MyPackage(CMakePackage, CudaPackage):
+ class MyCudaPackage(CMakePackage, CudaPackage):
...
def cmake_args(self):
spec = self.spec
+ args = []
+ ...
if '+cuda' in spec:
- options.append('-DWITH_CUDA=ON')
- cuda_arch = spec.variants['cuda_arch'].value
+ # Set up the cuda macros needed by the build
+ args.append('-DWITH_CUDA=ON')
+ cuda_arch_list = spec.variants['cuda_arch'].value
+ cuda_arch = cuda_arch_list[0]
if cuda_arch != 'none':
- options.append('-DCUDA_FLAGS=-arch=sm_{0}'.format(cuda_arch[0]))
+ args.append('-DCUDA_FLAGS=-arch=sm_{0}'.format(cuda_arch))
else:
- options.append('-DWITH_CUDA=OFF')
+ # Ensure build with cuda is disabled
+ args.append('-DWITH_CUDA=OFF')
+ ...
+ return args
+
+assuming only the ``WITH_CUDA`` and ``CUDA_FLAGS`` flags are required.
+You will need to customize options as needed for your build.
+
+This example also illustrates how to check for the ``cuda`` variant using
+``self.spec`` and how to retrieve the ``cuda_arch`` variant's value, which
+is a list, using ``self.spec.variants['cuda_arch'].value``.
+
+With over 70 packages using ``CudaPackage`` as of January 2021 there are
+lots of examples to choose from to get more ideas for using this package.
diff --git a/lib/spack/docs/build_systems/custompackage.rst b/lib/spack/docs/build_systems/custompackage.rst
index 8a20dada92..b513e3963a 100644
--- a/lib/spack/docs/build_systems/custompackage.rst
+++ b/lib/spack/docs/build_systems/custompackage.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/docs/build_systems/intelpackage.rst b/lib/spack/docs/build_systems/intelpackage.rst
index 8594c8d425..2c1723bbbc 100644
--- a/lib/spack/docs/build_systems/intelpackage.rst
+++ b/lib/spack/docs/build_systems/intelpackage.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/docs/build_systems/makefilepackage.rst b/lib/spack/docs/build_systems/makefilepackage.rst
index 406ec8ce89..f425855b69 100644
--- a/lib/spack/docs/build_systems/makefilepackage.rst
+++ b/lib/spack/docs/build_systems/makefilepackage.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/docs/build_systems/mavenpackage.rst b/lib/spack/docs/build_systems/mavenpackage.rst
index 6f833e8bec..7c8c0e3741 100644
--- a/lib/spack/docs/build_systems/mavenpackage.rst
+++ b/lib/spack/docs/build_systems/mavenpackage.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/docs/build_systems/mesonpackage.rst b/lib/spack/docs/build_systems/mesonpackage.rst
index 75b0e1caae..652a10db92 100644
--- a/lib/spack/docs/build_systems/mesonpackage.rst
+++ b/lib/spack/docs/build_systems/mesonpackage.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/docs/build_systems/octavepackage.rst b/lib/spack/docs/build_systems/octavepackage.rst
index 90e582e36c..baccd0c0e7 100644
--- a/lib/spack/docs/build_systems/octavepackage.rst
+++ b/lib/spack/docs/build_systems/octavepackage.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/docs/build_systems/perlpackage.rst b/lib/spack/docs/build_systems/perlpackage.rst
index 11968e1560..9fc57f6337 100644
--- a/lib/spack/docs/build_systems/perlpackage.rst
+++ b/lib/spack/docs/build_systems/perlpackage.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -120,8 +120,6 @@ so ``PerlPackage`` contains:
extends('perl')
- depends_on('perl', type=('build', 'run'))
-
If your package requires a specific version of Perl, you should
specify this.
diff --git a/lib/spack/docs/build_systems/pythonpackage.rst b/lib/spack/docs/build_systems/pythonpackage.rst
index ef06725e01..f1c85d92cb 100644
--- a/lib/spack/docs/build_systems/pythonpackage.rst
+++ b/lib/spack/docs/build_systems/pythonpackage.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -23,20 +23,11 @@ can be overridden:
* ``build_ext``
* ``build_clib``
* ``build_scripts``
-* ``clean``
* ``install``
* ``install_lib``
* ``install_headers``
* ``install_scripts``
* ``install_data``
-* ``sdist``
-* ``register``
-* ``bdist``
-* ``bdist_dumb``
-* ``bdist_rpm``
-* ``bdist_wininst``
-* ``upload``
-* ``check``
These are all standard ``setup.py`` commands and can be found by running:
@@ -55,7 +46,7 @@ If for whatever reason you need to run more phases, simply modify your
.. code-block:: python
- phases = ['build_ext', 'install', 'bdist']
+ phases = ['build_ext', 'install']
Each phase provides a function ``<phase>`` that runs:
@@ -90,7 +81,7 @@ Instead of using the ``PythonPackage`` base class, you should extend
the ``Package`` base class and implement the following custom installation
procedure:
-.. code-block::
+.. code-block:: python
def install(self, spec, prefix):
pip = which('pip')
@@ -134,9 +125,9 @@ The zip file will not contain a ``setup.py``, but it will contain a
``METADATA`` file which contains all the information you need to
write a ``package.py`` build recipe.
-^^^^^^^^^^^^^^^^^^^^^^^
-Finding Python packages
-^^^^^^^^^^^^^^^^^^^^^^^
+^^^^
+PyPI
+^^^^
The vast majority of Python packages are hosted on PyPI - The Python
Package Index. ``pip`` only supports packages hosted on PyPI, making
@@ -148,6 +139,26 @@ if a newer version is available. The download page is usually at::
https://pypi.org/project/<package-name>
+
+Since PyPI is so common, the ``PythonPackage`` base class has a
+``pypi`` attribute that can be set. Once set, ``pypi`` will be used
+to define the ``homepage``, ``url``, and ``list_url``. For example,
+the following:
+
+.. code-block:: python
+
+ homepage = 'https://pypi.org/project/setuptools/'
+ url = 'https://pypi.org/packages/source/s/setuptools/setuptools-49.2.0.zip'
+ list_url = 'https://pypi.org/simple/setuptools/'
+
+
+is equivalent to:
+
+.. code-block:: python
+
+ pypi = 'setuptools/setuptools-49.2.0.zip'
+
+
^^^^^^^^^^^
Description
^^^^^^^^^^^
@@ -184,50 +195,11 @@ also get the homepage on the command-line by running:
URL
^^^
-You may have noticed that Spack allows you to add multiple versions of
-the same package without adding multiple versions of the download URL.
-It does this by guessing what the version string in the URL is and
-replacing this with the requested version. Obviously, if Spack cannot
-guess the version correctly, or if non-version-related things change
-in the URL, Spack cannot substitute the version properly.
-
-Once upon a time, PyPI offered nice, simple download URLs like::
-
- https://pypi.python.org/packages/source/n/numpy/numpy-1.13.1.zip
-
-
-As you can see, the version is 1.13.1. It probably isn't hard to guess
-what URL to use to download version 1.12.0, and Spack was perfectly
-capable of performing this calculation.
-
-However, PyPI switched to a new download URL format::
-
- https://pypi.python.org/packages/c0/3a/40967d9f5675fbb097ffec170f59c2ba19fc96373e73ad47c2cae9a30aed/numpy-1.13.1.zip#md5=2c3c0f4edf720c3a7b525dacc825b9ae
-
-
-and more recently::
-
- https://files.pythonhosted.org/packages/b0/2b/497c2bb7c660b2606d4a96e2035e92554429e139c6c71cdff67af66b58d2/numpy-1.14.3.zip
-
-
-As you can imagine, it is impossible for Spack to guess what URL to
-use to download version 1.12.0 given this URL. There is a solution,
-however. PyPI offers a new hidden interface for downloading
-Python packages that does not include a hash in the URL::
-
- https://pypi.io/packages/source/n/numpy/numpy-1.13.1.zip
-
-
-This URL redirects to the https://files.pythonhosted.org URL. The general
-syntax for this https://pypi.io URL is::
-
- https://pypi.io/packages/<type>/<first-letter-of-name>/<name>/<name>-<version>.<extension>
-
-
-Please use the https://pypi.io URL instead of the https://pypi.python.org
-URL. If both ``.tar.gz`` and ``.zip`` versions are available, ``.tar.gz``
-is preferred. If some releases offer both ``.tar.gz`` and ``.zip`` versions,
-but some only offer ``.zip`` versions, use ``.zip``.
+If ``pypi`` is set as mentioned above, ``url`` and ``list_url`` will
+be automatically set for you. If both ``.tar.gz`` and ``.zip`` versions
+are available, ``.tar.gz`` is preferred. If some releases offer both
+``.tar.gz`` and ``.zip`` versions, but some only offer ``.zip`` versions,
+use ``.zip``.
Some Python packages are closed-source and do not ship ``.tar.gz`` or ``.zip``
files on either PyPI or GitHub. If this is the case, you can still download
@@ -237,10 +209,9 @@ and can be downloaded from::
https://pypi.io/packages/py3/a/azureml_sdk/azureml_sdk-1.11.0-py3-none-any.whl
-Note that instead of ``<type>`` being ``source``, it is now ``py3`` since this
-wheel will work for any generic version of Python 3. You may see Python-specific
-or OS-specific URLs. Note that when you add a ``.whl`` URL, you should add
-``expand=False`` to ensure that Spack doesn't try to extract the wheel:
+You may see Python-specific or OS-specific URLs. Note that when you add a
+``.whl`` URL, you should add ``expand=False`` to ensure that Spack doesn't
+try to extract the wheel:
.. code-block:: python
@@ -255,7 +226,7 @@ Many packages are hosted on PyPI, but are developed on GitHub or another
version control systems. The tarball can be downloaded from either
location, but PyPI is preferred for the following reasons:
-#. PyPI contains the bare minimum of files to install the package.
+#. PyPI contains the bare minimum number of files needed to install the package.
You may notice that the tarball you download from PyPI does not
have the same checksum as the tarball you download from GitHub.
@@ -292,19 +263,6 @@ location, but PyPI is preferred for the following reasons:
PyPI is nice because it makes it physically impossible to
re-release the same version of a package with a different checksum.
-There are some reasons to prefer downloading from GitHub:
-
-#. The GitHub tarball may contain unit tests.
-
- As previously mentioned, the PyPI tarball contains the bare minimum
- of files to install the package. Unless explicitly specified by the
- developers, it will not contain development files like unit tests.
- If you desire to run the unit tests during installation, you should
- use the GitHub tarball instead.
-
-If you really want to run these unit tests, no one will stop you from
-submitting a PR for a new package that downloads from GitHub.
-
^^^^^^^^^^^^^^^^^^^^^^^^^
Build system dependencies
^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -569,7 +527,8 @@ If the package uses ``setuptools``, check for the following clues:
These are packages that are required to run the unit tests for the
package. These dependencies can be specified using the
- ``type='test'`` dependency type.
+ ``type='test'`` dependency type. However, the PyPI tarballs rarely
+ contain unit tests, so there is usually no reason to add these.
In the root directory of the package, you may notice a
``requirements.txt`` file. It may look like this file contains a list
@@ -625,7 +584,8 @@ add run-time dependencies if they aren't needed, so you need to
determine whether or not setuptools is needed. Grep the installation
directory for any files containing a reference to ``setuptools`` or
``pkg_resources``. Both modules come from ``py-setuptools``.
-``pkg_resources`` is particularly common in scripts in ``prefix/bin``.
+``pkg_resources`` is particularly common in scripts found in
+``prefix/bin``.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Passing arguments to setup.py
@@ -699,48 +659,64 @@ a "package" is a directory containing files like:
foo/baz.py
-whereas a "module" is a single Python file. Since ``find_packages``
-only returns packages, you'll have to determine the correct module
-names yourself. You can now add these packages and modules to the
-package like so:
+whereas a "module" is a single Python file.
+
+The ``PythonPackage`` base class automatically detects these module
+names for you. If, for whatever reason, the module names detected
+are wrong, you can provide the names yourself by overriding
+``import_modules`` like so:
.. code-block:: python
import_modules = ['six']
-When you run ``spack install --test=root py-six``, Spack will attempt
-to import the ``six`` module after installation.
+Sometimes the list of module names to import depends on how the
+package was built. For example, the ``py-pyyaml`` package has a
+``+libyaml`` variant that enables the build of a faster optimized
+version of the library. If the user chooses ``~libyaml``, only the
+``yaml`` library will be importable. If the user chooses ``+libyaml``,
+both the ``yaml`` and ``yaml.cyaml`` libraries will be available.
+This can be expressed like so:
+
+.. code-block:: python
+
+ @property
+ def import_modules(self):
+ modules = ['yaml']
+
+ if '+libyaml' in self.spec:
+ modules.append('yaml.cyaml')
+
+ return modules
-These tests most often catch missing dependencies and non-RPATHed
+
+These tests often catch missing dependencies and non-RPATHed
libraries. Make sure not to add modules/packages containing the word
-"test", as these likely won't end up in installation directory.
+"test", as these likely won't end up in the installation directory,
+or may require test dependencies like pytest to be installed.
+
+These tests can be triggered by running ``spack install --test=root``
+or by running ``spack test run`` after the installation has finished.
""""""""""
Unit tests
""""""""""
The package you want to install may come with additional unit tests.
-By default, Spack runs:
-
-.. code-block:: console
-
- $ python setup.py test
-
-
-if it detects that the ``setup.py`` file supports a ``test`` phase.
-You can add additional build-time or install-time tests by overriding
-``test`` or adding a custom install-time test function. For example,
-``py-numpy`` adds:
+You can add additional build-time or install-time tests by adding
+additional testing functions. For example, ``py-numpy`` adds:
.. code-block:: python
- install_time_test_callbacks = ['install_test', 'import_module_test']
-
+ @run_after('install')
+ @on_package_attributes(run_tests=True)
def install_test(self):
- with working_dir('..'):
- python('-c', 'import numpy; numpy.test("full", verbose=2)')
+ with working_dir('spack-test', create=True):
+ python('-c', 'import numpy; numpy.test("full", verbose=2)')
+
+These tests can be triggered by running ``spack install --test=root``.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Setup file in a sub-directory
@@ -781,7 +757,7 @@ PythonPackage vs. packages that use Python
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
There are many packages that make use of Python, but packages that depend
-on Python are not necessarily ``PythonPackages``.
+on Python are not necessarily ``PythonPackage``'s.
"""""""""""""""""""""""
Choosing a build system
@@ -878,8 +854,8 @@ and ``pip`` may be a perfectly valid alternative to using Spack. The
main advantage of Spack over ``pip`` is its ability to compile
non-Python dependencies. It can also build cythonized versions of a
package or link to an optimized BLAS/LAPACK library like MKL,
-resulting in calculations that run orders of magnitude faster.
-Spack does not offer a significant advantage to other python-management
+resulting in calculations that run orders of magnitudes faster.
+Spack does not offer a significant advantage over other python-management
systems for installing and using tools like flake8 and sphinx.
But if you need packages with non-Python dependencies like
numpy and scipy, Spack will be very valuable to you.
diff --git a/lib/spack/docs/build_systems/qmakepackage.rst b/lib/spack/docs/build_systems/qmakepackage.rst
index 81d0f7f798..6e85d2bbcd 100644
--- a/lib/spack/docs/build_systems/qmakepackage.rst
+++ b/lib/spack/docs/build_systems/qmakepackage.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -108,6 +108,19 @@ override the ``qmake_args`` method like so:
This method can be used to pass flags as well as variables.
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+``*.pro`` file in a sub-directory
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+If the ``*.pro`` file used to tell QMake how to build the package is
+found in a sub-directory, you can tell Spack to run all phases in this
+sub-directory by adding the following to the package:
+
+.. code-block:: python
+
+ build_directory = 'src'
+
+
^^^^^^^^^^^^^^^^^^^^^^
External documentation
^^^^^^^^^^^^^^^^^^^^^^
diff --git a/lib/spack/docs/build_systems/rocmpackage.rst b/lib/spack/docs/build_systems/rocmpackage.rst
new file mode 100644
index 0000000000..e322194adf
--- /dev/null
+++ b/lib/spack/docs/build_systems/rocmpackage.rst
@@ -0,0 +1,122 @@
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+ Spack Project Developers. See the top-level COPYRIGHT file for details.
+
+ SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+.. _rocmpackage:
+
+-----------
+ROCmPackage
+-----------
+
+The ``ROCmPackage`` is not a build system but a helper package. Like ``CudaPackage``,
+it provides standard variants, dependencies, and conflicts to facilitate building
+packages using GPUs though for AMD in this case.
+
+You can find the source for this package (and suggestions for setting up your
+``compilers.yaml`` and ``packages.yaml`` files) at
+`<https://github.com/spack/spack/blob/develop/lib/spack/spack/build_systems/rocm.py>`__.
+
+^^^^^^^^
+Variants
+^^^^^^^^
+
+This package provides the following variants:
+
+* **rocm**
+
+ This variant is used to enable/disable building with ``rocm``.
+ The default is disabled (or ``False``).
+
+* **amdgpu_target**
+
+ This variant supports the optional specification of the AMD GPU architecture.
+ Valid values are the names of the GPUs (e.g., ``gfx701``), which are maintained
+ in the ``amdgpu_targets`` property.
+
+^^^^^^^^^^^^
+Dependencies
+^^^^^^^^^^^^
+
+This package defines basic ``rocm`` dependencies, including ``llvm`` and ``hip``.
+
+^^^^^^^^^
+Conflicts
+^^^^^^^^^
+
+Conflicts are used to prevent builds with known bugs or issues. This package
+already requires that the ``amdgpu_target`` always be specified for ``rocm``
+builds. It also defines a conflict that prevents builds with an ``amdgpu_target``
+when ``rocm`` is disabled.
+
+Refer to `Conflicts <https://spack.readthedocs.io/en/latest/packaging_guide.html?highlight=conflicts#conflicts>`__
+for more information on package conflicts.
+
+^^^^^^^
+Methods
+^^^^^^^
+
+This package provides one custom helper method, which is used to build
+standard AMD hip compiler flags.
+
+**hip_flags**
+
+ This built-in static method returns the appropriately formatted
+ ``--amdgpu-target`` build option for ``hipcc``.
+
+ This method must be explicitly called when you are creating the
+ arguments for your build in order to use the values.
+
+^^^^^
+Usage
+^^^^^
+
+This helper package can be added to your package by adding it as a base
+class of your package. For example, you can add it to your
+:ref:`CMakePackage <cmakepackage>`-based package as follows:
+
+.. code-block:: python
+ :emphasize-lines: 1,3-7,14-25
+
+ class MyRocmPackage(CMakePackage, ROCmPackage):
+ ...
+ # Ensure +rocm and amdgpu_targets are passed to dependencies
+ depends_on('mydeppackage', when='+rocm')
+ for val in ROCmPackage.amdgpu_targets:
+ depends_on('mydeppackage amdgpu_target={0}'.format(val),
+ when='amdgpu_target={0}'.format(val))
+ ...
+
+ def cmake_args(self):
+ spec = self.spec
+ args = []
+ ...
+ if '+rocm' in spec:
+ # Set up the hip macros needed by the build
+ args.extend([
+ '-DENABLE_HIP=ON',
+ '-DHIP_ROOT_DIR={0}'.format(spec['hip'].prefix])
+ rocm_archs = spec.variants['amdgpu_target'].value
+ if 'none' not in rocm_archs:
+ args.append('-DHIP_HIPCC_FLAGS=--amdgpu-target={0}'
+ .format(",".join(rocm_archs)))
+ else:
+ # Ensure build with hip is disabled
+ args.append('-DENABLE_HIP=OFF')
+ ...
+ return args
+ ...
+
+assuming only on the ``ENABLE_HIP``, ``HIP_ROOT_DIR``, and ``HIP_HIPCC_FLAGS``
+macros are required to be set and the only dependency needing rocm options
+is ``mydeppackage``. You will need to customize the flags as needed for your
+build.
+
+This example also illustrates how to check for the ``rocm`` variant using
+``self.spec`` and how to retrieve the ``amdgpu_target`` variant's value
+using ``self.spec.variants['amdgpu_target'].value``.
+
+All five packages using ``ROCmPackage`` as of January 2021 also use the
+:ref:`CudaPackage <cudapackage>`. So it is worth looking at those packages
+to get ideas for creating a package that can support both ``cuda`` and
+``rocm``.
diff --git a/lib/spack/docs/build_systems/rpackage.rst b/lib/spack/docs/build_systems/rpackage.rst
index 60c76816c5..486fd95b69 100644
--- a/lib/spack/docs/build_systems/rpackage.rst
+++ b/lib/spack/docs/build_systems/rpackage.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -138,7 +138,6 @@ every R package needs this, the ``RPackage`` base class contains:
.. code-block:: python
extends('r')
- depends_on('r', type=('build', 'run'))
Take a close look at the homepage for ``caret``. If you look at the
@@ -298,8 +297,8 @@ like so:
.. code-block:: python
- def configure_args(self, spec, prefix):
- mpi_name = spec['mpi'].name
+ def configure_args(self):
+ mpi_name = self.spec['mpi'].name
# The type of MPI. Supported values are:
# OPENMPI, LAM, MPICH, MPICH2, or CRAY
diff --git a/lib/spack/docs/build_systems/rubypackage.rst b/lib/spack/docs/build_systems/rubypackage.rst
index d1deaf6fa7..226d0bc4a2 100644
--- a/lib/spack/docs/build_systems/rubypackage.rst
+++ b/lib/spack/docs/build_systems/rubypackage.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -113,7 +113,6 @@ the base class contains:
.. code-block:: python
extends('ruby')
- depends_on('ruby', type=('build', 'run'))
The ``*.gemspec`` file may contain something like:
diff --git a/lib/spack/docs/build_systems/sconspackage.rst b/lib/spack/docs/build_systems/sconspackage.rst
index f29d6c5f45..f1f67b76b4 100644
--- a/lib/spack/docs/build_systems/sconspackage.rst
+++ b/lib/spack/docs/build_systems/sconspackage.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/docs/build_systems/sippackage.rst b/lib/spack/docs/build_systems/sippackage.rst
index ddf9a26ab9..f72d83ca30 100644
--- a/lib/spack/docs/build_systems/sippackage.rst
+++ b/lib/spack/docs/build_systems/sippackage.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -93,10 +93,17 @@ in the site-packages directory:
$ python
>>> import setuptools
>>> setuptools.find_packages()
- ['QtPy5']
+ [
+ 'PyQt5', 'PyQt5.QtCore', 'PyQt5.QtGui', 'PyQt5.QtHelp',
+ 'PyQt5.QtMultimedia', 'PyQt5.QtMultimediaWidgets', 'PyQt5.QtNetwork',
+ 'PyQt5.QtOpenGL', 'PyQt5.QtPrintSupport', 'PyQt5.QtQml',
+ 'PyQt5.QtQuick', 'PyQt5.QtSvg', 'PyQt5.QtTest', 'PyQt5.QtWebChannel',
+ 'PyQt5.QtWebSockets', 'PyQt5.QtWidgets', 'PyQt5.QtXml',
+ 'PyQt5.QtXmlPatterns'
+ ]
-Large, complex packages like ``QtPy5`` will return a long list of
+Large, complex packages like ``py-pyqt5`` will return a long list of
packages, while other packages may return an empty list. These packages
only install a single ``foo.py`` file. In Python packaging lingo,
a "package" is a directory containing files like:
@@ -108,21 +115,25 @@ a "package" is a directory containing files like:
foo/baz.py
-whereas a "module" is a single Python file. Since ``find_packages``
-only returns packages, you'll have to determine the correct module
-names yourself. You can now add these packages and modules to the
-package like so:
+whereas a "module" is a single Python file.
+
+The ``SIPPackage`` base class automatically detects these module
+names for you. If, for whatever reason, the module names detected
+are wrong, you can provide the names yourself by overriding
+``import_modules`` like so:
.. code-block:: python
import_modules = ['PyQt5']
-When you run ``spack install --test=root py-pyqt5``, Spack will attempt
-to import the ``PyQt5`` module after installation.
+These tests often catch missing dependencies and non-RPATHed
+libraries. Make sure not to add modules/packages containing the word
+"test", as these likely won't end up in the installation directory,
+or may require test dependencies like pytest to be installed.
-These tests most often catch missing dependencies and non-RPATHed
-libraries.
+These tests can be triggered by running ``spack install --test=root``
+or by running ``spack test run`` after the installation has finished.
^^^^^^^^^^^^^^^^^^^^^^
External documentation
diff --git a/lib/spack/docs/build_systems/wafpackage.rst b/lib/spack/docs/build_systems/wafpackage.rst
index 36fc21a772..1bb879e4f2 100644
--- a/lib/spack/docs/build_systems/wafpackage.rst
+++ b/lib/spack/docs/build_systems/wafpackage.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/docs/chain.rst b/lib/spack/docs/chain.rst
index d84db87ff3..ddebbbeec3 100644
--- a/lib/spack/docs/chain.rst
+++ b/lib/spack/docs/chain.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/docs/conf.py b/lib/spack/docs/conf.py
index e19dd05511..2de12a5a99 100644
--- a/lib/spack/docs/conf.py
+++ b/lib/spack/docs/conf.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -128,7 +128,7 @@ master_doc = 'index'
# General information about the project.
project = u'Spack'
-copyright = u'2013-2019, Lawrence Livermore National Laboratory.'
+copyright = u'2013-2021, Lawrence Livermore National Laboratory.'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
diff --git a/lib/spack/docs/config_yaml.rst b/lib/spack/docs/config_yaml.rst
index bcb41527a9..66df916193 100644
--- a/lib/spack/docs/config_yaml.rst
+++ b/lib/spack/docs/config_yaml.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/docs/configuration.rst b/lib/spack/docs/configuration.rst
index 41c9de79f9..0671beb080 100644
--- a/lib/spack/docs/configuration.rst
+++ b/lib/spack/docs/configuration.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/docs/containers.rst b/lib/spack/docs/containers.rst
index f5bd5602bc..d06f538e99 100644
--- a/lib/spack/docs/containers.rst
+++ b/lib/spack/docs/containers.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/docs/contribution_guide.rst b/lib/spack/docs/contribution_guide.rst
index 8df8ad65ba..f4527355c4 100644
--- a/lib/spack/docs/contribution_guide.rst
+++ b/lib/spack/docs/contribution_guide.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -179,24 +179,26 @@ how to write tests!
run the unit tests yourself, we suggest you use ``spack unit-test``.
^^^^^^^^^^^^
-Flake8 Tests
+Style Tests
^^^^^^^^^^^^
Spack uses `Flake8 <http://flake8.pycqa.org/en/latest/>`_ to test for
-`PEP 8 <https://www.python.org/dev/peps/pep-0008/>`_ conformance. PEP 8 is
+`PEP 8 <https://www.python.org/dev/peps/pep-0008/>`_ conformance and
+`mypy <https://mypy.readthedocs.io/en/stable/>` for type checking. PEP 8 is
a series of style guides for Python that provide suggestions for everything
from variable naming to indentation. In order to limit the number of PRs that
were mostly style changes, we decided to enforce PEP 8 conformance. Your PR
-needs to comply with PEP 8 in order to be accepted.
+needs to comply with PEP 8 in order to be accepted, and if it modifies the
+spack library it needs to successfully type-check with mypy as well.
-Testing for PEP 8 compliance is easy. Simply run the ``spack flake8``
+Testing for compliance with spack's style is easy. Simply run the ``spack style``
command:
.. code-block:: console
- $ spack flake8
+ $ spack style
-``spack flake8`` has a couple advantages over running ``flake8`` by hand:
+``spack style`` has a couple advantages over running the tools by hand:
#. It only tests files that you have modified since branching off of
``develop``.
@@ -207,7 +209,9 @@ command:
checks. For example, URLs are often longer than 80 characters, so we
exempt them from line length checks. We also exempt lines that start
with "homepage", "url", "version", "variant", "depends_on", and
- "extends" in ``package.py`` files.
+ "extends" in ``package.py`` files. This is now also possible when directly
+ running flake8 if you can use the ``spack`` formatter plugin included with
+ spack.
More approved flake8 exemptions can be found
`here <https://github.com/spack/spack/blob/develop/.flake8>`_.
@@ -240,13 +244,13 @@ However, if you aren't compliant with PEP 8, flake8 will complain:
Most of the error messages are straightforward, but if you don't understand what
they mean, just ask questions about them when you submit your PR. The line numbers
-will change if you add or delete lines, so simply run ``spack flake8`` again
+will change if you add or delete lines, so simply run ``spack style`` again
to update them.
.. tip::
Try fixing flake8 errors in reverse order. This eliminates the need for
- multiple runs of ``spack flake8`` just to re-compute line numbers and
+ multiple runs of ``spack style`` just to re-compute line numbers and
makes it much easier to fix errors directly off of the CI output.
.. warning::
diff --git a/lib/spack/docs/developer_guide.rst b/lib/spack/docs/developer_guide.rst
index b4b8b5d321..9964bb6e51 100644
--- a/lib/spack/docs/developer_guide.rst
+++ b/lib/spack/docs/developer_guide.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -396,20 +396,42 @@ other Spack modules:
True
>>>
-You can also run a single command:
+If you prefer using an IPython interpreter, given that IPython is installed
+you can specify the interpreter with ``-i``:
+
+.. code-block:: console
+
+ $ spack python -i ipython
+ Python 3.8.3 (default, May 19 2020, 18:47:26)
+ Type 'copyright', 'credits' or 'license' for more information
+ IPython 7.17.0 -- An enhanced Interactive Python. Type '?' for help.
+
+
+ Spack version 0.16.0
+ Python 3.8.3, Linux x86_64
+
+ In [1]:
+
+
+With either interpreter you can run a single command:
.. code-block:: console
$ spack python -c 'import distro; distro.linux_distribution()'
- ('Fedora', '25', 'Workstation Edition')
+ ('Ubuntu', '18.04', 'Bionic Beaver')
+
+ $ spack python -i ipython -c 'import distro; distro.linux_distribution()'
+ Out[1]: ('Ubuntu', '18.04', 'Bionic Beaver')
or a file:
.. code-block:: console
$ spack python ~/test_fetching.py
+ $ spack python -i ipython ~/test_fetching.py
+
+just like you would with the normal ``python`` command.
-just like you would with the normal ``python`` command.
.. _cmd-spack-url:
diff --git a/lib/spack/docs/environments.rst b/lib/spack/docs/environments.rst
index 1710ec6b5a..064cfad336 100644
--- a/lib/spack/docs/environments.rst
+++ b/lib/spack/docs/environments.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -441,8 +441,8 @@ Environments can include files with either relative or absolute
paths. Inline configurations take precedence over included
configurations, so you don't have to change shared configuration files
to make small changes to an individual Environment. Included configs
-listed later will have higher precedence, as the included configs are
-applied in order.
+listed earlier will have higher precedence, as the included configs are
+applied in reverse order.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Manually Editing the Specs List
diff --git a/lib/spack/docs/extensions.rst b/lib/spack/docs/extensions.rst
index 15c59c76ef..b0cb38d00b 100644
--- a/lib/spack/docs/extensions.rst
+++ b/lib/spack/docs/extensions.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/docs/features.rst b/lib/spack/docs/features.rst
index df212c11fc..7edfba01cc 100644
--- a/lib/spack/docs/features.rst
+++ b/lib/spack/docs/features.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/docs/getting_started.rst b/lib/spack/docs/getting_started.rst
index f1df0343bd..6f3340b18b 100644
--- a/lib/spack/docs/getting_started.rst
+++ b/lib/spack/docs/getting_started.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -75,6 +75,14 @@ shell integration for :ref:`certain commands <packaging-shell-support>`,
If you do not want to use Spack's shell support, you can always just run
the ``spack`` command directly from ``spack/bin/spack``.
+When the ``spack`` command is executed it searches for an appropriate
+Python interpreter to use, which can be explicitly overridden by setting
+the ``SPACK_PYTHON`` environment variable. When sourcing the appropriate shell
+setup script, ``SPACK_PYTHON`` will be set to the interpreter found at
+sourcing time, ensuring future invocations of the ``spack`` command will
+continue to use the same consistent python version regardless of changes in
+the environment.
+
^^^^^^^^^^^^^^^^^^
Check Installation
diff --git a/lib/spack/docs/index.rst b/lib/spack/docs/index.rst
index 39fee81387..7a9ac09ec2 100644
--- a/lib/spack/docs/index.rst
+++ b/lib/spack/docs/index.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/docs/known_issues.rst b/lib/spack/docs/known_issues.rst
index accec2422b..b9c4dd088f 100644
--- a/lib/spack/docs/known_issues.rst
+++ b/lib/spack/docs/known_issues.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/docs/mirrors.rst b/lib/spack/docs/mirrors.rst
index 5268c87067..8ed8c375a9 100644
--- a/lib/spack/docs/mirrors.rst
+++ b/lib/spack/docs/mirrors.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/docs/module_file_support.rst b/lib/spack/docs/module_file_support.rst
index 721b18d5fc..773f347ed6 100644
--- a/lib/spack/docs/module_file_support.rst
+++ b/lib/spack/docs/module_file_support.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/docs/package_list.rst b/lib/spack/docs/package_list.rst
index 67f78e202d..b0607edb86 100644
--- a/lib/spack/docs/package_list.rst
+++ b/lib/spack/docs/package_list.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/docs/packaging_guide.rst b/lib/spack/docs/packaging_guide.rst
index ec83679a47..fa85097021 100644
--- a/lib/spack/docs/packaging_guide.rst
+++ b/lib/spack/docs/packaging_guide.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -612,6 +612,62 @@ it executable, then runs it with some arguments.
installer = Executable(self.stage.archive_file)
installer('--prefix=%s' % prefix, 'arg1', 'arg2', 'etc.')
+
+^^^^^^^^^^^^^^^^^^^^^^^^
+Deprecating old versions
+^^^^^^^^^^^^^^^^^^^^^^^^
+
+There are many reasons to remove old versions of software:
+
+#. Security vulnerabilities (most serious reason)
+#. Changing build systems that increase package complexity
+#. Changing dependencies/patches/resources/flags that increase package complexity
+#. Maintainer/developer inability/unwillingness to support old versions
+#. No longer available for download (right to be forgotten)
+#. Package or version rename
+
+At the same time, there are many reasons to keep old versions of software:
+
+#. Reproducibility
+#. Requirements for older packages (e.g. some packages still rely on Qt 3)
+
+In general, you should not remove old versions from a ``package.py``. Instead,
+you should first deprecate them using the following syntax:
+
+.. code-block:: python
+
+ version('1.2.3', sha256='...', deprecated=True)
+
+
+This has two effects. First, ``spack info`` will no longer advertise that
+version. Second, commands like ``spack install`` that fetch the package will
+require user approval:
+
+.. code-block:: console
+
+ $ spack install openssl@1.0.1e
+ ==> Warning: openssl@1.0.1e is deprecated and may be removed in a future Spack release.
+ ==> Fetch anyway? [y/N]
+
+
+If you use ``spack install --deprecated``, this check can be skipped.
+
+This also applies to package recipes that are renamed or removed. You should
+first deprecate all versions before removing a package. If you need to rename
+it, you can deprecate the old package and create a new package at the same
+time.
+
+Version deprecations should always last at least one Spack minor release cycle
+before the version is completely removed. For example, if a version is
+deprecated in Spack 0.16.0, it should not be removed until Spack 0.17.0. No
+version should be removed without such a deprecation process. This gives users
+a chance to complain about the deprecation in case the old version is needed
+for some application. If you require a deprecated version of a package, simply
+submit a PR to remove ``deprecated=True`` from the package. However, you may be
+asked to help maintain this version of the package if the current maintainers
+are unwilling to support this older version.
+
+
^^^^^^^^^^^^^^^^
Download caching
^^^^^^^^^^^^^^^^
@@ -1864,14 +1920,21 @@ of ``mpich`` using the following command:
$ srun -N 2 -n 8 spack install -j 4 mpich@3.3.2
-This will create eight concurrent four-job installation on two different
+This will create eight concurrent, four-job installs on two different
nodes.
+Alternatively, you could run the same installs on one node by entering
+the following at the command line of a bash shell:
+
+.. code-block:: console
+
+ $ for i in {1..12}; do nohup spack install -j 4 mpich@3.3.2 >> mpich_install.txt 2>&1 &; done
+
.. note::
- The effective parallelism will be based on the maximum number of
- packages that can be installed at the same time, which will limited
- by the number of packages with no (remaining) uninstalled dependencies.
+ The effective parallelism is based on the maximum number of packages
+ that can be installed at the same time, which is limited by the
+ number of packages with no (remaining) uninstalled dependencies.
.. _dependencies:
@@ -2737,12 +2800,14 @@ The classes that are currently provided by Spack are:
| | built using CMake |
+-------------------------------+----------------------------------+
| :py:class:`.CudaPackage` | A helper class for packages that |
- | | use CUDA. It is intended to be |
- | | used in combination with others |
+ | | use CUDA |
+-------------------------------+----------------------------------+
| :py:class:`.QMakePackage` | Specialized class for packages |
| | build using QMake |
+-------------------------------+----------------------------------+
+ | :py:class:`.ROCmPackage` | A helper class for packages that |
+ | | use ROCm |
+ +-------------------------------+----------------------------------+
| :py:class:`.SConsPackage` | Specialized class for packages |
| | built using SCons |
+-------------------------------+----------------------------------+
@@ -3946,7 +4011,7 @@ using the ``run_before`` decorator.
The API for adding tests is not yet considered stable and may change drastically in future releases.
-.. _file-manipulation:
+.. _cmd-spack-test:
^^^^^^^^^^^^^
Install Tests
@@ -3956,109 +4021,205 @@ Install Tests
The API for adding and running install tests is not yet considered
stable and may change drastically in future releases. Packages with
- upstreamed tests will be refactored to match changes to the API.
+ install tests will be refactored to match changes to the API.
-While build-tests are integrated with the build system, install tests
-may be added to Spack packages to be run independently of the install
-method.
+While build tests are integrated with the build system, install tests
+are for testing package installations independent of the build process.
-Install tests may be added by defining a ``test`` method with the following signature:
+Install tests are executed in a test stage directory that defaults to
+``~/.spack/test``. You can change the location in the high-level ``config``
+by adding the ``test_stage`` path as follows:
+
+.. code-block:: yaml
+
+ config:
+ test_stage: /path/to/stage
+
+""""""""""""""""""""
+Adding install tests
+""""""""""""""""""""
+
+Install tests are added to a package by defining a ``test`` method
+with the following signature:
.. code-block:: python
def test(self):
-These tests will be run in an environment set up to provide access to
-this package and all of its dependencies, including ``test``-type
-dependencies. Inside the ``test`` method, standard python ``assert``
-statements and other error reporting mechanisms can be used. Spack
-will report any errors as a test failure.
+These tests run in an environment that provides access to the
+package and all of its dependencies, including ``test``-type
+dependencies.
+
+Standard python ``assert`` statements and other error reporting
+mechanisms can be used in the ``test`` method. Spack will report
+such errors as test failures.
-Inside the test method, individual tests can be run separately (and
-continue transparently after a test failure) using the ``run_test``
-method. The signature for the ``run_test`` method is:
+You can implement multiple tests (or test parts) within the ``test``
+method, where each is run separately and testing continues after
+failures by using the ``run_test`` method. The signature for the
+method is:
.. code-block:: python
def run_test(self, exe, options=[], expected=[], status=0, installed=False,
purpose='', skip_missing=False, work_dir=None):
-This method will operate in ``work_dir`` if one is specified. It will
-search for an executable in the ``PATH`` variable named ``exe``, and
-if ``installed=True`` it will fail if that executable does not come
-from the prefix of the package being tested. If the executable is not
-found, it will fail the test unless ``skip_missing`` is set to
-``True``. The executable will be run with the options specified, and
-the return code will be checked against the ``status`` argument, which
-can be an integer or list of integers. Spack will also check that
-every string in ``expected`` is a regex matching part of the output of
-the executable. The ``purpose`` argument is recorded in the test log
-for debugging purposes.
-
-""""""""""""""""""""""""""""""""""""""
-Install tests that require compilation
-""""""""""""""""""""""""""""""""""""""
+The test fails if there is no executable named ``exe`` found in the
+paths of the ``PATH`` variable **unless** ``skip_missing`` is ``True``.
+The test also fails if the resulting path is not within the prefix of
+the package being tested when ``installed`` is ``True``.
+
+The executable runs in ``work_dir``, when specified, using the provided
+``options``. The return code is checked against the ``status`` argument,
+which can be an integer or list of integers representing status codes
+corresponding to successful execution (e.g. ``status=[0,3,7]``).
+Spack also checks that every string in ``expected`` is a regex matching
+part of the output from the test run (e.g.
+``expected=['completed successfully', 'converged in']``). Default behavior
+is to behave as though ``status=[0]`` and ``expected=[]`` are specified.
+
+Output from the test is written to its log file. The ``purpose`` argument
+serves as the heading in text logs to highlight the start of each test part.
+
+"""""""""""""""""""""""""
+Enabling test compilation
+"""""""""""""""""""""""""
Some tests may require access to the compiler with which the package
-was built, especially to test library-only packages. To ensure the
-compiler is configured as part of the test environment, set the
-attribute ``tests_require_compiler = True`` on the package. The
-compiler will be available through the canonical environment variables
-(``CC``, ``CXX``, ``FC``, ``F77``) in the test environment.
+was built, especially to test library-only packages. You must enable
+loading the package's compiler configuration by setting the attribute
+``test_requires_compiler`` to ``True``. Doing so makes the compiler
+available in the test environment through the canonical environment
+variables (``CC``, ``CXX``, ``FC``, ``F77``).
+
+"""""""""""""""""""""""
+Adding build-time files
+"""""""""""""""""""""""
+
+.. note::
+
+ We highly recommend the re-use of build-time tests and input files
+ for testing installed software. These files are easier to keep
+ synchronized with the software than creating custom install tests.
-""""""""""""""""""""""""""""""""""""""""""""""""
-Install tests that require build-time components
-""""""""""""""""""""""""""""""""""""""""""""""""
+You can use the ``cache_extra_test_sources`` method copy directories
+and or files from the build stage directory to the package's installation
+directory.
-Some packages cannot be easily tested without components from the
-build-time test suite. For those packages, the
-``cache_extra_test_sources`` method can be used.
+For example, a package method for copying everything in the ``tests``
+subdirectory plus the ``foo.c`` and ``bar.c`` files from ``examples``
+can be implemented as follows:
.. code-block:: python
@run_after('install')
def cache_test_sources(self):
- srcs = ['./tests/foo.c', './tests/bar.c']
+ srcs = ['tests', 'examples/foo.c', 'examples/bar.c']
self.cache_extra_test_sources(srcs)
-This method will copy the listed methods into the metadata directory
-of the package at the end of the install phase of the build. They will
-be available to the test method in the directory
-``self._extra_tests_path``.
+The use of the ``run_after`` directive ensures the associated files
+are copied **after** the package is installed during the build process.
-While source files are generally recommended, for many packages
-binaries may also technically be cached in this way for later testing.
+The method copies files to the package's metadata directory under
+the ``self.install_test_root``. All files in the package source's
+``tests`` directory for the example above will be copied to the
+``join_path(self.install_test_root, 'tests')`` directory. The two
+files listed under the staged ``examples`` directory will be copied
+to the ``join_path(self.install_test_root, 'examples')`` directory.
-"""""""""""""""""""""
-Running install tests
-"""""""""""""""""""""
+.. note::
-Install tests can be run using the ``spack test run`` command. The
-``spack test run`` command will create a ``test suite`` out of the
-specs provided to it, or if no specs are provided it will test all
-specs in the active environment, or all specs installed in Spack if no
-environment is active. Test suites can be named using the ``--alias``
-option; test suites not aliased will use the content hash of their
-specs as their name.
+ While source and input files are generally recommended, binaries
+ may also be cached by the build process for install testing.
-Packages to install test can be queried using the ``spack test list``
-command, which outputs all installed packages with defined ``test``
-methods.
+"""""""""""""""""""
+Adding custom files
+"""""""""""""""""""
-Test suites can be found using the ``spack test find`` command. It
-will list all test suites that have been run and have not been removed
-using the ``spack test remove`` command. The ``spack test remove``
-command will remove tests to declutter the test stage. The ``spack
-test results`` command will show results for completed test suites.
+Some tests may require additional files not available from the build.
+Examples include:
-The test stage is the working directory for all install tests run with
-Spack. By default, Spack uses ``~/.spack/test`` as the test stage. The
-test stage can be set in the high-level config:
+- test source files
+- test input files
+- test build scripts
+- expected test output
-.. code-block:: yaml
+These extra files should be added to the ``test`` subdirectory of the
+package in the repository. Spack will automaticaly copy any files in
+that directory to the test staging directory during install testing.
+The ``test`` method can access those files from the
+``self.test_suite.current_test_data_dir`` directory.
- config:
- test_stage: /path/to/stage
+.. _cmd-spack-test-list:
+
+"""""""""""""""""""
+``spack test list``
+"""""""""""""""""""
+
+Packages available for install testing can be found using the
+``spack test list`` command. The command outputs all installed
+packages that have defined ``test`` methods.
+
+.. _cmd-spack-test-run:
+
+""""""""""""""""""
+``spack test run``
+""""""""""""""""""
+
+Install tests can be run for one or more installed packages using
+the ``spack test run`` command. A ``test suite`` is created from
+the provided specs. If no specs are provided it will test all specs
+in the active environment or all specs installed in Spack if no
+environment is active.
+
+Test suites can be named using the ``--alias`` option. Unaliased
+Test suites will use the content hash of their specs as their name.
+
+Some of the more commonly used debugging options are:
+
+- ``--fail-fast`` stops testing each package after the first failure
+- ``--fail-first`` stops testing packages after the first failure
+
+Test output is written to a text log file by default but ``junit``
+and ``cdash`` are outputs are available through the ``--log-format``
+option.
+
+.. _cmd-spack-test-results:
+
+""""""""""""""""""""""
+``spack test results``
+""""""""""""""""""""""
+
+The ``spack test results`` command shows results for all completed
+test suites. Providing the alias or content hash limits reporting
+to the corresponding test suite.
+
+The ``--logs`` option includes the output generated by the associated
+test(s) to facilitate debugging.
+
+The ``--failed`` option limits results shown to that of the failed
+tests, if any, of matching packages.
+
+.. _cmd-spack-test-find:
+
+"""""""""""""""""""
+``spack test find``
+"""""""""""""""""""
+
+The ``spack test find`` command lists the aliases or content hashes
+of all test suites whose results are available.
+
+.. _cmd-spack-test-remove:
+
+"""""""""""""""""""""
+``spack test remove``
+"""""""""""""""""""""
+
+The ``spack test remove`` command removes test suites to declutter
+the test results directory. You are prompted to confirm the removal
+of each test suite **unless** you use the ``--yes-to-all`` option.
+
+.. _file-manipulation:
---------------------------
File manipulation functions
diff --git a/lib/spack/docs/pipelines.rst b/lib/spack/docs/pipelines.rst
index d0cb6fa670..c3c86e75c9 100644
--- a/lib/spack/docs/pipelines.rst
+++ b/lib/spack/docs/pipelines.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -122,9 +122,26 @@ pipeline jobs.
Concretizes the specs in the active environment, stages them (as described in
:ref:`staging_algorithm`), and writes the resulting ``.gitlab-ci.yml`` to disk.
-This sub-command takes two arguments, but the most useful is ``--output-file``,
-which should be an absolute path (including file name) to the generated
-pipeline, if the default (``./.gitlab-ci.yml``) is not desired.
+Using ``--prune-dag`` or ``--no-prune-dag`` configures whether or not jobs are
+generated for specs that are already up to date on the mirror. If enabling
+DAG pruning using ``--prune-dag``, more information may be required in your
+``spack.yaml`` file, see the :ref:`noop_jobs` section below regarding
+``service-job-attributes``.
+
+The ``--optimize`` argument is experimental and runs the generated pipeline
+document through a series of optimization passes designed to reduce the size
+of the generated file.
+
+The ``--dependencies`` is also experimental and disables what in Gitlab is
+referred to as DAG scheduling, internally using the ``dependencies`` keyword
+rather than ``needs`` to list dependency jobs. The drawback of using this option
+is that before any job can begin, all jobs in previous stages must first
+complete. The benefit is that Gitlab allows more dependencies to be listed
+when using ``dependencies`` instead of ``needs``.
+
+The optional ``--output-file`` argument should be an absolute path (including
+file name) to the generated pipeline, and if not given, the default is
+``./.gitlab-ci.yml``.
.. _cmd-spack-ci-rebuild:
@@ -223,21 +240,6 @@ takes a boolean and determines whether the pipeline uses artifacts to store and
pass along the buildcaches from one stage to the next (the default if you don't
provide this option is ``False``).
-The
-``final-stage-rebuild-index`` section controls whether an extra job is added to the
-end of your pipeline (in a stage by itself) which will regenerate the mirror's
-buildcache index. Under normal operation, each pipeline job that rebuilds a package
-will re-generate the mirror's buildcache index after the buildcache entry for that
-job has been created and pushed to the mirror. Since jobs in the same stage can run in
-parallel, there is the possibility that at the end of some stage, the index may not
-reflect all the binaries in the buildcache. Adding the ``final-stage-rebuild-index``
-section ensures that at the end of the pipeline, the index will be in sync with the
-binaries on the mirror. If the mirror lives in an S3 bucket, this job will need to
-run on a machine with the Python ``boto3`` module installed, and consequently the
-``final-stage-rebuild-index`` needs to specify a list of ``tags`` to pick a runner
-satisfying that condition. It can also take an ``image`` key so Docker executor type
-runners can pick the right image for the index regeneration job.
-
The optional ``cdash`` section provides information that will be used by the
``spack ci generate`` command (invoked by ``spack ci start``) for reporting
to CDash. All the jobs generated from this environment will belong to a
@@ -251,6 +253,76 @@ Take a look at the
for the gitlab-ci section of the spack environment file, to see precisely what
syntax is allowed there.
+.. _rebuild_index:
+
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Note about rebuilding buildcache index
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+By default, while a pipeline job may rebuild a package, create a buildcache
+entry, and push it to the mirror, it does not automatically re-generate the
+mirror's buildcache index afterward. Because the index is not needed by the
+default rebuild jobs in the pipeline, not updating the index at the end of
+each job avoids possible race conditions between simultaneous jobs, and it
+avoids the computational expense of regenerating the index. This potentially
+saves minutes per job, depending on the number of binary packages in the
+mirror. As a result, the default is that the mirror's buildcache index may
+not correctly reflect the mirror's contents at the end of a pipeline.
+
+To make sure the buildcache index is up to date at the end of your pipeline,
+spack generates a job to update the buildcache index of the target mirror
+at the end of each pipeline by default. You can disable this behavior by
+adding ``rebuild-index: False`` inside the ``gitlab-ci`` section of your
+spack environment. Spack will assign the job any runner attributes found
+on the ``service-job-attributes``, if you have provided that in your
+``spack.yaml``.
+
+.. _noop_jobs:
+
+^^^^^^^^^^^^^^^^^^^^^^^
+Note about "no-op" jobs
+^^^^^^^^^^^^^^^^^^^^^^^
+
+If no specs in an environment need to be rebuilt during a given pipeline run
+(meaning all are already up to date on the mirror), a single succesful job
+(a NO-OP) is still generated to avoid an empty pipeline (which GitLab
+considers to be an error). An optional ``service-job-attributes`` section
+can be added to your ``spack.yaml`` where you can provide ``tags`` and
+``image`` or ``variables`` for the generated NO-OP job. This section also
+supports providing ``before_script``, ``script``, and ``after_script``, in
+case you want to take some custom actions in the case of any empty pipeline.
+
+Following is an example of this section added to a ``spack.yaml``:
+
+.. code-block:: yaml
+
+ spack:
+ specs:
+ - openmpi
+ mirrors:
+ cloud_gitlab: https://mirror.spack.io
+ gitlab-ci:
+ mappings:
+ - match:
+ - os=centos8
+ runner-attributes:
+ tags:
+ - custom
+ - tag
+ image: spack/centos7
+ service-job-attributes:
+ tags: ['custom', 'tag']
+ image:
+ name: 'some.image.registry/custom-image:latest'
+ entrypoint: ['/bin/bash']
+ script:
+ - echo "Custom message in a custom script"
+
+The example above illustrates how you can provide the attributes used to run
+the NO-OP job in the case of an empty pipeline. The only field for the NO-OP
+job that might be generated for you is ``script``, but that will only happen
+if you do not provide one yourself.
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Assignment of specs to runners
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
diff --git a/lib/spack/docs/repositories.rst b/lib/spack/docs/repositories.rst
index 4a2c163886..3368c26a28 100644
--- a/lib/spack/docs/repositories.rst
+++ b/lib/spack/docs/repositories.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@
Package Repositories
=============================
-Spack comes with over 1,000 built-in package recipes in
+Spack comes with thousands of built-in package recipes in
``var/spack/repos/builtin/``. This is a **package repository** -- a
directory that Spack searches when it needs to find a package by name.
You may need to maintain packages for restricted, proprietary or
diff --git a/lib/spack/docs/spack.yaml b/lib/spack/docs/spack.yaml
index 3c8cd14d10..69d0e301fd 100644
--- a/lib/spack/docs/spack.yaml
+++ b/lib/spack/docs/spack.yaml
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/docs/workflows.rst b/lib/spack/docs/workflows.rst
index 4d3a97012c..c327c137ac 100644
--- a/lib/spack/docs/workflows.rst
+++ b/lib/spack/docs/workflows.rst
@@ -1,4 +1,4 @@
-.. Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+.. Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
Spack Project Developers. See the top-level COPYRIGHT file for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/env/cc b/lib/spack/env/cc
index 5efe015c9e..99e164dbc7 100755
--- a/lib/spack/env/cc
+++ b/lib/spack/env/cc
@@ -1,6 +1,6 @@
#!/bin/bash
#
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -125,7 +125,7 @@ case "$command" in
comp="FC"
lang_flags=F
;;
- f77|xlf|xlf_r|pgf77|frt|flang)
+ f77|xlf|xlf_r|pgf77)
command="$SPACK_F77"
language="Fortran 77"
comp="F77"
@@ -320,9 +320,13 @@ while [ -n "$1" ]; do
if [ -z "$arg" ]; then shift; arg="$1"; fi
if [[ "$arg" = -rpath=* ]]; then
rp="${arg#-rpath=}"
+ elif [[ "$arg" = --rpath=* ]]; then
+ rp="${arg#--rpath=}"
elif [[ "$arg" = -rpath,* ]]; then
rp="${arg#-rpath,}"
- elif [[ "$arg" = -rpath ]]; then
+ elif [[ "$arg" = --rpath,* ]]; then
+ rp="${arg#--rpath,}"
+ elif [[ "$arg" =~ ^-?-rpath$ ]]; then
shift; arg="$1"
if [[ "$arg" != -Wl,* ]]; then
die "-Wl,-rpath was not followed by -Wl,*"
@@ -339,7 +343,9 @@ while [ -n "$1" ]; do
if [ -z "$arg" ]; then shift; arg="$1"; fi
if [[ "$arg" = -rpath=* ]]; then
rp="${arg#-rpath=}"
- elif [[ "$arg" = -rpath ]]; then
+ elif [[ "$arg" = --rpath=* ]]; then
+ rp="${arg#--rpath=}"
+ elif [[ "$arg" = -rpath ]] || [[ "$arg" = --rpath ]]; then
shift; arg="$1"
if [[ "$arg" != -Xlinker,* ]]; then
die "-Xlinker,-rpath was not followed by -Xlinker,*"
@@ -434,7 +440,7 @@ then
ld)
flags=("${flags[@]}" -headerpad_max_install_names) ;;
ccld)
- flags=("${flags[@]}" -Wl,-headerpad_max_install_names) ;;
+ flags=("${flags[@]}" "-Wl,-headerpad_max_install_names") ;;
esac
fi
@@ -491,19 +497,19 @@ args+=("${flags[@]}")
# Insert include directories just prior to any system include directories
for dir in "${includes[@]}"; do args+=("-I$dir"); done
-for dir in "${isystem_includes[@]}"; do args+=("-isystem$dir"); done
+for dir in "${isystem_includes[@]}"; do args+=("-isystem" "$dir"); done
IFS=':' read -ra spack_include_dirs <<< "$SPACK_INCLUDE_DIRS"
if [[ $mode == cpp || $mode == cc || $mode == as || $mode == ccld ]]; then
if [[ "$isystem_was_used" == "true" ]] ; then
- for dir in "${spack_include_dirs[@]}"; do args+=("-isystem$dir"); done
+ for dir in "${spack_include_dirs[@]}"; do args+=("-isystem" "$dir"); done
else
for dir in "${spack_include_dirs[@]}"; do args+=("-I$dir"); done
fi
fi
for dir in "${system_includes[@]}"; do args+=("-I$dir"); done
-for dir in "${isystem_system_includes[@]}"; do args+=("-isystem$dir"); done
+for dir in "${isystem_system_includes[@]}"; do args+=("-isystem" "$dir"); done
# Library search paths
for dir in "${libdirs[@]}"; do args+=("-L$dir"); done
@@ -512,12 +518,12 @@ for dir in "${system_libdirs[@]}"; do args+=("-L$dir"); done
# RPATHs arguments
case "$mode" in
ccld)
- if [ ! -z "$dtags_to_add" ] ; then args+=("$linker_arg$dtags_to_add") ; fi
+ if [ -n "$dtags_to_add" ] ; then args+=("$linker_arg$dtags_to_add") ; fi
for dir in "${rpaths[@]}"; do args+=("$rpath$dir"); done
for dir in "${system_rpaths[@]}"; do args+=("$rpath$dir"); done
;;
ld)
- if [ ! -z "$dtags_to_add" ] ; then args+=("$dtags_to_add") ; fi
+ if [ -n "$dtags_to_add" ] ; then args+=("$dtags_to_add") ; fi
for dir in "${rpaths[@]}"; do args+=("-rpath" "$dir"); done
for dir in "${system_rpaths[@]}"; do args+=("-rpath" "$dir"); done
;;
diff --git a/lib/spack/external/__init__.py b/lib/spack/external/__init__.py
index 1c98852eb6..82c425846b 100644
--- a/lib/spack/external/__init__.py
+++ b/lib/spack/external/__init__.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ archspec
* Homepage: https://pypi.python.org/pypi/archspec
* Usage: Labeling, comparison and detection of microarchitectures
-* Version: 0.1.2 (commit 2846749dc5b12ae2b30ff1d3f0270a4a5954710d)
+* Version: 0.1.2 (commit 068b0ebd641211971acf10f39aa876703a34bae4)
argparse
--------
diff --git a/lib/spack/external/_pytest/assertion/util.py b/lib/spack/external/_pytest/assertion/util.py
index 9f00929073..c09eff06b0 100644
--- a/lib/spack/external/_pytest/assertion/util.py
+++ b/lib/spack/external/_pytest/assertion/util.py
@@ -5,9 +5,12 @@ import pprint
import _pytest._code
import py
try:
- from collections import Sequence
+ from collections.abc import Sequence
except ImportError:
- Sequence = list
+ try:
+ from collections import Sequence
+ except ImportError:
+ Sequence = list
u = py.builtin._totext
diff --git a/lib/spack/external/_pytest/main.py b/lib/spack/external/_pytest/main.py
index eacae8dab1..98aa28eb34 100644
--- a/lib/spack/external/_pytest/main.py
+++ b/lib/spack/external/_pytest/main.py
@@ -10,9 +10,12 @@ from _pytest import nodes
import _pytest._code
import py
try:
- from collections import MutableMapping as MappingMixin
+ from collections.abc import MutableMapping as MappingMixin
except ImportError:
- from UserDict import DictMixin as MappingMixin
+ try:
+ from collections import MutableMapping as MappingMixin
+ except ImportError:
+ from UserDict import DictMixin as MappingMixin
from _pytest.config import directory_arg, UsageError, hookimpl
from _pytest.outcomes import exit
diff --git a/lib/spack/external/_pytest/python_api.py b/lib/spack/external/_pytest/python_api.py
index cfc01193b0..a931b4d2c7 100644
--- a/lib/spack/external/_pytest/python_api.py
+++ b/lib/spack/external/_pytest/python_api.py
@@ -398,7 +398,10 @@ def approx(expected, rel=None, abs=None, nan_ok=False):
__ https://docs.python.org/3/reference/datamodel.html#object.__ge__
"""
- from collections import Mapping, Sequence
+ if sys.version_info >= (3, 3):
+ from collections.abc import Mapping, Sequence
+ else:
+ from collections import Mapping, Sequence
from _pytest.compat import STRING_TYPES as String
# Delegate the comparison to a class that knows how to deal with the type
diff --git a/lib/spack/external/archspec/__init__.py b/lib/spack/external/archspec/__init__.py
index 1349425634..1188c6cecc 100644
--- a/lib/spack/external/archspec/__init__.py
+++ b/lib/spack/external/archspec/__init__.py
@@ -1,2 +1,2 @@
"""Init file to avoid namespace packages"""
-__version__ = "0.1.1"
+__version__ = "0.1.2"
diff --git a/lib/spack/external/archspec/json/cpu/microarchitectures.json b/lib/spack/external/archspec/json/cpu/microarchitectures.json
index 889848c8ec..7fed4d7a52 100644
--- a/lib/spack/external/archspec/json/cpu/microarchitectures.json
+++ b/lib/spack/external/archspec/json/cpu/microarchitectures.json
@@ -75,6 +75,13 @@
"flags": "-march={name} -mtune=generic"
}
],
+ "aocc": [
+ {
+ "versions": "2.2:",
+ "name": "x86-64",
+ "flags": "-march={name} -mtune=generic"
+ }
+ ],
"intel": [
{
"versions": ":",
@@ -106,6 +113,12 @@
"flags": "-march={name} -mtune={name}"
}
],
+ "aocc": [
+ {
+ "versions": "2.2:",
+ "flags": "-march={name} -mtune=generic"
+ }
+ ],
"apple-clang": [
{
"versions": "8.0:",
@@ -143,6 +156,12 @@
"flags": "-march={name} -mtune={name}"
}
],
+ "aocc": [
+ {
+ "versions": "2.2:",
+ "flags": "-march={name} -mtune=generic"
+ }
+ ],
"apple-clang": [
{
"versions": "8.0:",
@@ -152,7 +171,7 @@
"intel": [
{
"versions": "16.0:",
- "flags": "-march={name} -mtune={name}}"
+ "flags": "-march={name} -mtune={name}"
}
]
}
@@ -187,6 +206,12 @@
"flags": "-march={name} -mtune={name}"
}
],
+ "aocc": [
+ {
+ "versions": "2.2:",
+ "flags": "-march={name} -mtune=generic"
+ }
+ ],
"apple-clang": [
{
"versions": "8.0:",
@@ -229,6 +254,12 @@
"flags": "-march={name} -mtune={name}"
}
],
+ "aocc": [
+ {
+ "versions": "2.2:",
+ "flags": "-march={name} -mtune=generic"
+ }
+ ],
"apple-clang": [
{
"versions": "8.0:",
@@ -277,6 +308,12 @@
"flags": "-march={name} -mtune={name}"
}
],
+ "aocc": [
+ {
+ "versions": "2.2:",
+ "flags": "-march={name} -mtune={name}"
+ }
+ ],
"apple-clang": [
{
"versions": "8.0:",
@@ -331,6 +368,12 @@
"flags": "-march={name} -mtune={name}"
}
],
+ "aocc": [
+ {
+ "versions": "2.2:",
+ "flags": "-march={name} -mtune={name}"
+ }
+ ],
"apple-clang": [
{
"versions": "8.0:",
@@ -390,6 +433,12 @@
"flags": "-march={name} -mtune={name}"
}
],
+ "aocc": [
+ {
+ "versions": "2.2:",
+ "flags": "-march={name} -mtune={name}"
+ }
+ ],
"apple-clang": [
{
"versions": "8.0:",
@@ -446,6 +495,12 @@
"flags": "-march={name} -mtune={name}"
}
],
+ "aocc": [
+ {
+ "versions": "2.2:",
+ "flags": "-march={name} -mtune={name}"
+ }
+ ],
"apple-clang": [
{
"versions": "8.0:",
@@ -500,6 +555,12 @@
"flags": "-march={name} -mtune={name}"
}
],
+ "aocc": [
+ {
+ "versions": "2.2:",
+ "flags": "-march={name} -mtune={name}"
+ }
+ ],
"apple-clang": [
{
"versions": "8.0:",
@@ -558,6 +619,13 @@
"flags": "-march={name} -mtune={name}"
}
],
+ "aocc": [
+ {
+ "versions": "2.2:",
+ "name": "knl",
+ "flags": "-march={name} -mtune=generic"
+ }
+ ],
"apple-clang": [
{
"versions": "8.0:",
@@ -621,6 +689,13 @@
"flags": "-march={name} -mtune={name}"
}
],
+ "aocc": [
+ {
+ "versions": "2.2:",
+ "name": "skylake-avx512",
+ "flags": "-march={name} -mtune=generic"
+ }
+ ],
"apple-clang": [
{
"versions": "8.0:",
@@ -685,6 +760,12 @@
"flags": "-march={name} -mtune={name}"
}
],
+ "aocc": [
+ {
+ "versions": "2.2:",
+ "flags": "-march={name} -mtune={name}"
+ }
+ ],
"apple-clang": [
{
"versions": "8.0:",
@@ -746,6 +827,12 @@
"flags": "-march={name} -mtune={name}"
}
],
+ "aocc": [
+ {
+ "versions": "2.2:",
+ "flags": "-march={name} -mtune={name}"
+ }
+ ],
"apple-clang": [
{
"versions": "11.0:",
@@ -827,6 +914,13 @@
"flags": "-march={name} -mtune={name}"
}
],
+ "aocc": [
+ {
+ "versions": "2.2:",
+ "name": "icelake-client",
+ "flags": "-march={name} -mtune={name}"
+ }
+ ],
"apple-clang": [
{
"versions": "10.0.1:",
@@ -875,6 +969,13 @@
"flags": "-march={name} -mtune={name}"
}
],
+ "aocc": [
+ {
+ "versions": "2.2:",
+ "name": "amdfam10",
+ "flags": "-march={name} -mtune={name}"
+ }
+ ],
"intel": [
{
"versions": "16.0:",
@@ -918,6 +1019,13 @@
"flags": "-march={name} -mtune={name}"
}
],
+ "aocc": [
+ {
+ "versions": "2.2:",
+ "name": "bdver1",
+ "flags": "-march={name} -mtune={name}"
+ }
+ ],
"intel": [
{
"versions": "16.0:",
@@ -965,6 +1073,13 @@
"flags": "-march={name} -mtune={name}"
}
],
+ "aocc": [
+ {
+ "versions": "2.2:",
+ "name": "bdver2",
+ "flags": "-march={name} -mtune={name}"
+ }
+ ],
"intel": [
{
"versions": "16.0:",
@@ -1013,6 +1128,13 @@
"flags": "-march={name} -mtune={name}"
}
],
+ "aocc": [
+ {
+ "versions": "2.2:",
+ "name": "bdver3",
+ "flags": "-march={name} -mtune={name}"
+ }
+ ],
"intel": [
{
"versions": "16.0:",
@@ -1064,6 +1186,13 @@
"flags": "-march={name} -mtune={name}"
}
],
+ "aocc": [
+ {
+ "versions": "2.2:",
+ "name": "bdver4",
+ "flags": "-march={name} -mtune={name}"
+ }
+ ],
"intel": [
{
"versions": "16.0:",
@@ -1119,6 +1248,13 @@
"flags": "-march={name} -mtune={name}"
}
],
+ "aocc": [
+ {
+ "versions": "2.2:",
+ "name": "znver1",
+ "flags": "-march={name} -mtune={name}"
+ }
+ ],
"intel": [
{
"versions": "16.0:",
@@ -1175,6 +1311,13 @@
"flags": "-march={name} -mtune={name}"
}
],
+ "aocc": [
+ {
+ "versions": "2.2:",
+ "name": "znver2",
+ "flags": "-march={name} -mtune={name}"
+ }
+ ],
"intel": [
{
"versions": "16.0:",
diff --git a/lib/spack/external/jinja2/runtime.py b/lib/spack/external/jinja2/runtime.py
index f9d7a6806c..52dfeaebd6 100644
--- a/lib/spack/external/jinja2/runtime.py
+++ b/lib/spack/external/jinja2/runtime.py
@@ -315,10 +315,14 @@ class Context(with_metaclass(ContextMeta)):
# register the context as mapping if possible
try:
- from collections import Mapping
+ from collections.abc import Mapping
Mapping.register(Context)
except ImportError:
- pass
+ try:
+ from collections import Mapping
+ Mapping.register(Context)
+ except ImportError:
+ pass
class BlockReference(object):
diff --git a/lib/spack/external/jinja2/sandbox.py b/lib/spack/external/jinja2/sandbox.py
index 93fb9d45f3..b9e5ec495a 100644
--- a/lib/spack/external/jinja2/sandbox.py
+++ b/lib/spack/external/jinja2/sandbox.py
@@ -14,7 +14,7 @@
"""
import types
import operator
-from collections import Mapping
+import sys
from jinja2.environment import Environment
from jinja2.exceptions import SecurityError
from jinja2._compat import string_types, PY2
@@ -23,6 +23,11 @@ from jinja2.utils import Markup
from markupsafe import EscapeFormatter
from string import Formatter
+if sys.version_info >= (3, 3):
+ from collections.abc import Mapping
+else:
+ from collections import Mapping
+
#: maximum number of items a range may produce
MAX_RANGE = 100000
@@ -79,7 +84,10 @@ except ImportError:
pass
#: register Python 2.6 abstract base classes
-from collections import MutableSet, MutableMapping, MutableSequence
+if sys.version_info >= (3, 3):
+ from collections.abc import MutableSet, MutableMapping, MutableSequence
+else:
+ from collections import MutableSet, MutableMapping, MutableSequence
_mutable_set_types += (MutableSet,)
_mutable_mapping_types += (MutableMapping,)
_mutable_sequence_types += (MutableSequence,)
diff --git a/lib/spack/external/jinja2/tests.py b/lib/spack/external/jinja2/tests.py
index 0adc3d4dbc..d5d6b5b33f 100644
--- a/lib/spack/external/jinja2/tests.py
+++ b/lib/spack/external/jinja2/tests.py
@@ -10,11 +10,16 @@
"""
import operator
import re
-from collections import Mapping
+import sys
from jinja2.runtime import Undefined
from jinja2._compat import text_type, string_types, integer_types
import decimal
+if sys.version_info >= (3, 3):
+ from collections.abc import Mapping
+else:
+ from collections import Mapping
+
number_re = re.compile(r'^-?\d+(\.\d+)?$')
regex_type = type(number_re)
diff --git a/lib/spack/external/jinja2/utils.py b/lib/spack/external/jinja2/utils.py
index 502a311c08..cff4e783a8 100644
--- a/lib/spack/external/jinja2/utils.py
+++ b/lib/spack/external/jinja2/utils.py
@@ -482,10 +482,14 @@ class LRUCache(object):
# register the LRU cache as mutable mapping if possible
try:
- from collections import MutableMapping
+ from collections.abc import MutableMapping
MutableMapping.register(LRUCache)
except ImportError:
- pass
+ try:
+ from collections import MutableMapping
+ MutableMapping.register(LRUCache)
+ except ImportError:
+ pass
def select_autoescape(enabled_extensions=('html', 'htm', 'xml'),
diff --git a/lib/spack/external/markupsafe/__init__.py b/lib/spack/external/markupsafe/__init__.py
index 68dc85f612..506326f450 100644
--- a/lib/spack/external/markupsafe/__init__.py
+++ b/lib/spack/external/markupsafe/__init__.py
@@ -10,10 +10,15 @@
"""
import re
import string
-from collections import Mapping
+import sys
from markupsafe._compat import text_type, string_types, int_types, \
unichr, iteritems, PY2
+if sys.version_info >= (3, 3):
+ from collections.abc import Mapping
+else:
+ from collections import Mapping
+
__version__ = "1.0"
__all__ = ['Markup', 'soft_unicode', 'escape', 'escape_silent']
diff --git a/lib/spack/external/ordereddict_backport.py b/lib/spack/external/ordereddict_backport.py
index 5ec8493cc9..3c7f012e9e 100644
--- a/lib/spack/external/ordereddict_backport.py
+++ b/lib/spack/external/ordereddict_backport.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/external/py2/typing.py b/lib/spack/external/py2/typing.py
new file mode 100644
index 0000000000..2b06797660
--- /dev/null
+++ b/lib/spack/external/py2/typing.py
@@ -0,0 +1,84 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+"""
+This is a fake set of symbols to allow spack to import typing in python
+versions where we do not support type checking (<3)
+"""
+Annotated = None
+Any = None
+Callable = None
+ForwardRef = None
+Generic = None
+Literal = None
+Optional = None
+Tuple = None
+TypeVar = None
+Union = None
+AbstractSet = None
+ByteString = None
+Container = None
+Hashable = None
+ItemsView = None
+Iterable = None
+Iterator = None
+KeysView = None
+Mapping = None
+MappingView = None
+MutableMapping = None
+MutableSequence = None
+MutableSet = None
+Sequence = None
+Sized = None
+ValuesView = None
+Awaitable = None
+AsyncIterator = None
+AsyncIterable = None
+Coroutine = None
+Collection = None
+AsyncGenerator = None
+AsyncContextManager = None
+Reversible = None
+SupportsAbs = None
+SupportsBytes = None
+SupportsComplex = None
+SupportsFloat = None
+SupportsInt = None
+SupportsRound = None
+ChainMap = None
+Dict = None
+List = None
+OrderedDict = None
+Set = None
+FrozenSet = None
+NamedTuple = None
+Generator = None
+AnyStr = None
+cast = None
+get_args = None
+get_origin = None
+get_type_hints = None
+no_type_check = None
+no_type_check_decorator = None
+NoReturn = None
+
+# these are the typing extension symbols
+ClassVar = None
+Final = None
+Protocol = None
+Type = None
+TypedDict = None
+ContextManager = None
+Counter = None
+Deque = None
+DefaultDict = None
+SupportsIndex = None
+final = None
+IntVar = None
+Literal = None
+NewType = None
+overload = None
+runtime_checkable = None
+Text = None
+TYPE_CHECKING = None
diff --git a/lib/spack/external/ruamel/yaml/comments.py b/lib/spack/external/ruamel/yaml/comments.py
index b8a5010ad8..a517072087 100644
--- a/lib/spack/external/ruamel/yaml/comments.py
+++ b/lib/spack/external/ruamel/yaml/comments.py
@@ -9,7 +9,12 @@ these are not really related, formatting could be factored out as
a separate base
"""
-from collections import MutableSet
+import sys
+
+if sys.version_info >= (3, 3):
+ from collections.abc import MutableSet
+else:
+ from collections import MutableSet
__all__ = ["CommentedSeq", "CommentedMap", "CommentedOrderedMap",
"CommentedSet", 'comment_attrib', 'merge_attrib']
diff --git a/lib/spack/external/ruamel/yaml/compat.py b/lib/spack/external/ruamel/yaml/compat.py
index a1778bef28..28a981dc43 100644
--- a/lib/spack/external/ruamel/yaml/compat.py
+++ b/lib/spack/external/ruamel/yaml/compat.py
@@ -12,9 +12,12 @@ try:
from ruamel.ordereddict import ordereddict
except:
try:
- from collections import OrderedDict
+ from collections.abc import OrderedDict
except ImportError:
- from ordereddict import OrderedDict
+ try:
+ from collections import OrderedDict
+ except ImportError:
+ from ordereddict import OrderedDict
# to get the right name import ... as ordereddict doesn't do that
class ordereddict(OrderedDict):
diff --git a/lib/spack/external/ruamel/yaml/constructor.py b/lib/spack/external/ruamel/yaml/constructor.py
index f809df4bf9..69ad0a74ac 100644
--- a/lib/spack/external/ruamel/yaml/constructor.py
+++ b/lib/spack/external/ruamel/yaml/constructor.py
@@ -3,7 +3,6 @@
from __future__ import absolute_import
from __future__ import print_function
-import collections
import datetime
import base64
import binascii
@@ -26,6 +25,12 @@ except (ImportError, ValueError): # for Jython
from ruamel.yaml.scalarstring import * # NOQA
+if sys.version_info >= (3, 3):
+ from collections.abc import Hashable
+else:
+ from collections import Hashable
+
+
__all__ = ['BaseConstructor', 'SafeConstructor', 'Constructor',
'ConstructorError', 'RoundTripConstructor']
@@ -163,7 +168,7 @@ class BaseConstructor(object):
# keys can be list -> deep
key = self.construct_object(key_node, deep=True)
# lists are not hashable, but tuples are
- if not isinstance(key, collections.Hashable):
+ if not isinstance(key, Hashable):
if isinstance(key, list):
key = tuple(key)
if PY2:
@@ -175,7 +180,7 @@ class BaseConstructor(object):
"found unacceptable key (%s)" %
exc, key_node.start_mark)
else:
- if not isinstance(key, collections.Hashable):
+ if not isinstance(key, Hashable):
raise ConstructorError(
"while constructing a mapping", node.start_mark,
"found unhashable key", key_node.start_mark)
@@ -959,7 +964,7 @@ class RoundTripConstructor(SafeConstructor):
# keys can be list -> deep
key = self.construct_object(key_node, deep=True)
# lists are not hashable, but tuples are
- if not isinstance(key, collections.Hashable):
+ if not isinstance(key, Hashable):
if isinstance(key, list):
key = tuple(key)
if PY2:
@@ -971,7 +976,7 @@ class RoundTripConstructor(SafeConstructor):
"found unacceptable key (%s)" %
exc, key_node.start_mark)
else:
- if not isinstance(key, collections.Hashable):
+ if not isinstance(key, Hashable):
raise ConstructorError(
"while constructing a mapping", node.start_mark,
"found unhashable key", key_node.start_mark)
@@ -1003,7 +1008,7 @@ class RoundTripConstructor(SafeConstructor):
# keys can be list -> deep
key = self.construct_object(key_node, deep=True)
# lists are not hashable, but tuples are
- if not isinstance(key, collections.Hashable):
+ if not isinstance(key, Hashable):
if isinstance(key, list):
key = tuple(key)
if PY2:
@@ -1015,7 +1020,7 @@ class RoundTripConstructor(SafeConstructor):
"found unacceptable key (%s)" %
exc, key_node.start_mark)
else:
- if not isinstance(key, collections.Hashable):
+ if not isinstance(key, Hashable):
raise ConstructorError(
"while constructing a mapping", node.start_mark,
"found unhashable key", key_node.start_mark)
diff --git a/lib/spack/llnl/__init__.py b/lib/spack/llnl/__init__.py
index 9f87532b85..103eae6134 100644
--- a/lib/spack/llnl/__init__.py
+++ b/lib/spack/llnl/__init__.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/llnl/util/__init__.py b/lib/spack/llnl/util/__init__.py
index 9f87532b85..103eae6134 100644
--- a/lib/spack/llnl/util/__init__.py
+++ b/lib/spack/llnl/util/__init__.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/llnl/util/argparsewriter.py b/lib/spack/llnl/util/argparsewriter.py
index 8ecf6acc88..9b90096460 100644
--- a/lib/spack/llnl/util/argparsewriter.py
+++ b/lib/spack/llnl/util/argparsewriter.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/llnl/util/filesystem.py b/lib/spack/llnl/util/filesystem.py
index d6579555ad..c7ecf09af2 100644
--- a/lib/spack/llnl/util/filesystem.py
+++ b/lib/spack/llnl/util/filesystem.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -23,6 +23,12 @@ from llnl.util import tty
from llnl.util.lang import dedupe, memoized
from spack.util.executable import Executable
+
+if sys.version_info >= (3, 3):
+ from collections.abc import Sequence # novm
+else:
+ from collections import Sequence
+
__all__ = [
'FileFilter',
'FileList',
@@ -63,7 +69,8 @@ __all__ = [
'touchp',
'traverse_tree',
'unset_executable_mode',
- 'working_dir'
+ 'working_dir',
+ 'keep_modification_time'
]
@@ -1105,7 +1112,7 @@ def find(root, files, recursive=True):
Parameters:
root (str): The root directory to start searching from
- files (str or collections.Sequence): Library name(s) to search for
+ files (str or Sequence): Library name(s) to search for
recurse (bool, optional): if False search only root folder,
if True descends top-down from the root. Defaults to True.
@@ -1168,7 +1175,7 @@ def _find_non_recursive(root, search_files):
# Utilities for libraries and headers
-class FileList(collections.Sequence):
+class FileList(Sequence):
"""Sequence of absolute paths to files.
Provides a few convenience methods to manipulate file paths.
@@ -1411,7 +1418,7 @@ def find_headers(headers, root, recursive=False):
"""
if isinstance(headers, six.string_types):
headers = [headers]
- elif not isinstance(headers, collections.Sequence):
+ elif not isinstance(headers, Sequence):
message = '{0} expects a string or sequence of strings as the '
message += 'first argument [got {1} instead]'
message = message.format(find_headers.__name__, type(headers))
@@ -1566,7 +1573,7 @@ def find_system_libraries(libraries, shared=True):
"""
if isinstance(libraries, six.string_types):
libraries = [libraries]
- elif not isinstance(libraries, collections.Sequence):
+ elif not isinstance(libraries, Sequence):
message = '{0} expects a string or sequence of strings as the '
message += 'first argument [got {1} instead]'
message = message.format(find_system_libraries.__name__,
@@ -1620,7 +1627,7 @@ def find_libraries(libraries, root, shared=True, recursive=False):
"""
if isinstance(libraries, six.string_types):
libraries = [libraries]
- elif not isinstance(libraries, collections.Sequence):
+ elif not isinstance(libraries, Sequence):
message = '{0} expects a string or sequence of strings as the '
message += 'first argument [got {1} instead]'
message = message.format(find_libraries.__name__, type(libraries))
@@ -1819,3 +1826,24 @@ def remove_directory_contents(dir):
os.unlink(entry)
else:
shutil.rmtree(entry)
+
+
+@contextmanager
+def keep_modification_time(*filenames):
+ """
+ Context manager to keep the modification timestamps of the input files.
+ Tolerates and has no effect on non-existent files and files that are
+ deleted by the nested code.
+
+ Parameters:
+ *filenames: one or more files that must have their modification
+ timestamps unchanged
+ """
+ mtimes = {}
+ for f in filenames:
+ if os.path.exists(f):
+ mtimes[f] = os.path.getmtime(f)
+ yield
+ for f, mtime in mtimes.items():
+ if os.path.exists(f):
+ os.utime(f, (os.path.getatime(f), mtime))
diff --git a/lib/spack/llnl/util/lang.py b/lib/spack/llnl/util/lang.py
index 8d7d5e0767..17c1fe8427 100644
--- a/lib/spack/llnl/util/lang.py
+++ b/lib/spack/llnl/util/lang.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,13 +9,18 @@ import multiprocessing
import os
import re
import functools
-import collections
import inspect
from datetime import datetime, timedelta
from six import string_types
import sys
+if sys.version_info >= (3, 3):
+ from collections.abc import Hashable, MutableMapping # novm
+else:
+ from collections import Hashable, MutableMapping
+
+
# Ignore emacs backups when listing modules
ignore_modules = [r'^\.#', '~$']
@@ -189,7 +194,7 @@ def memoized(func):
@functools.wraps(func)
def _memoized_function(*args):
- if not isinstance(args, collections.Hashable):
+ if not isinstance(args, Hashable):
# Not hashable, so just call the function.
return func(*args)
@@ -264,7 +269,7 @@ def key_ordering(cls):
@key_ordering
-class HashableMap(collections.MutableMapping):
+class HashableMap(MutableMapping):
"""This is a hashable, comparable dictionary. Hash is performed on
a tuple of the values in the dictionary."""
diff --git a/lib/spack/llnl/util/link_tree.py b/lib/spack/llnl/util/link_tree.py
index d29b1289e3..c286671401 100644
--- a/lib/spack/llnl/util/link_tree.py
+++ b/lib/spack/llnl/util/link_tree.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/llnl/util/lock.py b/lib/spack/llnl/util/lock.py
index 5fd7163e2e..968e07dbb6 100644
--- a/lib/spack/llnl/util/lock.py
+++ b/lib/spack/llnl/util/lock.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/llnl/util/multiproc.py b/lib/spack/llnl/util/multiproc.py
index f87b32c307..c73ebaed20 100644
--- a/lib/spack/llnl/util/multiproc.py
+++ b/lib/spack/llnl/util/multiproc.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/llnl/util/tty/__init__.py b/lib/spack/llnl/util/tty/__init__.py
index 79ca5a9929..cf70834e8d 100644
--- a/lib/spack/llnl/util/tty/__init__.py
+++ b/lib/spack/llnl/util/tty/__init__.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/llnl/util/tty/colify.py b/lib/spack/llnl/util/tty/colify.py
index e0b4a5fa05..56baeb5bfb 100644
--- a/lib/spack/llnl/util/tty/colify.py
+++ b/lib/spack/llnl/util/tty/colify.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/llnl/util/tty/color.py b/lib/spack/llnl/util/tty/color.py
index b6f5ec782f..ffd1b8c497 100644
--- a/lib/spack/llnl/util/tty/color.py
+++ b/lib/spack/llnl/util/tty/color.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/llnl/util/tty/log.py b/lib/spack/llnl/util/tty/log.py
index 658de5c596..ef14baeacf 100644
--- a/lib/spack/llnl/util/tty/log.py
+++ b/lib/spack/llnl/util/tty/log.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -20,12 +20,17 @@ from contextlib import contextmanager
from six import string_types
from six import StringIO
+from typing import Optional # novm
+from types import ModuleType # novm
+
import llnl.util.tty as tty
+termios = None # type: Optional[ModuleType]
try:
- import termios
+ import termios as term_mod
+ termios = term_mod
except ImportError:
- termios = None
+ pass
# Use this to strip escape sequences
diff --git a/lib/spack/llnl/util/tty/pty.py b/lib/spack/llnl/util/tty/pty.py
index 84c272a6e2..2a5fb7afa4 100644
--- a/lib/spack/llnl/util/tty/pty.py
+++ b/lib/spack/llnl/util/tty/pty.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/abi.py b/lib/spack/spack/abi.py
index 986583d270..da796e2100 100644
--- a/lib/spack/spack/abi.py
+++ b/lib/spack/spack/abi.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/architecture.py b/lib/spack/spack/architecture.py
index c0930fe2d0..6341df857d 100644
--- a/lib/spack/spack/architecture.py
+++ b/lib/spack/spack/architecture.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -56,6 +56,7 @@ set. The user can set the front-end and back-end operating setting by the class
attributes front_os and back_os. The operating system as described earlier,
will be responsible for compiler detection.
"""
+import contextlib
import functools
import inspect
import warnings
@@ -67,6 +68,8 @@ import llnl.util.tty as tty
from llnl.util.lang import memoized, list_modules, key_ordering
import spack.compiler
+import spack.compilers
+import spack.config
import spack.paths
import spack.error as serr
import spack.util.executable
@@ -235,18 +238,19 @@ class Platform(object):
Will return a instance of it once it is returned.
"""
- priority = None # Subclass sets number. Controls detection order
+ # Subclass sets number. Controls detection order
+ priority = None # type: int
#: binary formats used on this platform; used by relocation logic
binary_formats = ['elf']
- front_end = None
- back_end = None
- default = None # The default back end target.
+ front_end = None # type: str
+ back_end = None # type: str
+ default = None # type: str # The default back end target.
- front_os = None
- back_os = None
- default_os = None
+ front_os = None # type: str
+ back_os = None # type: str
+ default_os = None # type: str
reserved_targets = ['default_target', 'frontend', 'fe', 'backend', 'be']
reserved_oss = ['default_os', 'frontend', 'fe', 'backend', 'be']
@@ -491,7 +495,7 @@ def arch_for_spec(arch_spec):
@memoized
-def all_platforms():
+def _all_platforms():
classes = []
mod_path = spack.paths.platform_path
parent_module = "spack.platforms"
@@ -512,7 +516,7 @@ def all_platforms():
@memoized
-def platform():
+def _platform():
"""Detects the platform for this machine.
Gather a list of all available subclasses of platforms.
@@ -521,7 +525,7 @@ def platform():
a file path (/opt/cray...)
"""
# Try to create a Platform object using the config file FIRST
- platform_list = all_platforms()
+ platform_list = _all_platforms()
platform_list.sort(key=lambda a: a.priority)
for platform_cls in platform_list:
@@ -529,6 +533,19 @@ def platform():
return platform_cls()
+#: The "real" platform of the host running Spack. This should not be changed
+#: by any method and is here as a convenient way to refer to the host platform.
+real_platform = _platform
+
+#: The current platform used by Spack. May be swapped by the use_platform
+#: context manager.
+platform = _platform
+
+#: The list of all platform classes. May be swapped by the use_platform
+#: context manager.
+all_platforms = _all_platforms
+
+
@memoized
def default_arch():
"""Default ``Arch`` object for this machine.
@@ -563,3 +580,39 @@ def compatible_sys_types():
arch = Arch(platform(), 'default_os', target)
compatible_archs.append(str(arch))
return compatible_archs
+
+
+class _PickleableCallable(object):
+ """Class used to pickle a callable that may substitute either
+ _platform or _all_platforms. Lambda or nested functions are
+ not pickleable.
+ """
+ def __init__(self, return_value):
+ self.return_value = return_value
+
+ def __call__(self):
+ return self.return_value
+
+
+@contextlib.contextmanager
+def use_platform(new_platform):
+ global platform, all_platforms
+
+ msg = '"{0}" must be an instance of Platform'
+ assert isinstance(new_platform, Platform), msg.format(new_platform)
+
+ original_platform_fn, original_all_platforms_fn = platform, all_platforms
+ platform = _PickleableCallable(new_platform)
+ all_platforms = _PickleableCallable([type(new_platform)])
+
+ # Clear configuration and compiler caches
+ spack.config.config.clear_caches()
+ spack.compilers._cache_config_files = []
+
+ yield new_platform
+
+ platform, all_platforms = original_platform_fn, original_all_platforms_fn
+
+ # Clear configuration and compiler caches
+ spack.config.config.clear_caches()
+ spack.compilers._cache_config_files = []
diff --git a/lib/spack/spack/binary_distribution.py b/lib/spack/spack/binary_distribution.py
index 00fffdfe51..99dfcd9292 100644
--- a/lib/spack/spack/binary_distribution.py
+++ b/lib/spack/spack/binary_distribution.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -763,6 +763,10 @@ def generate_package_index(cache_prefix):
url_util.join(cache_prefix, 'index.json.hash'),
keep_original=False,
extra_args={'ContentType': 'text/plain'})
+ except Exception as err:
+ msg = 'Encountered problem pushing package index to {0}: {1}'.format(
+ cache_prefix, err)
+ tty.warn(msg)
finally:
shutil.rmtree(tmpdir)
@@ -823,6 +827,10 @@ def generate_key_index(key_prefix, tmpdir=None):
url_util.join(key_prefix, 'index.json'),
keep_original=False,
extra_args={'ContentType': 'application/json'})
+ except Exception as err:
+ msg = 'Encountered problem pushing key index to {0}: {1}'.format(
+ key_prefix, err)
+ tty.warn(msg)
finally:
if remove_tmpdir:
shutil.rmtree(tmpdir)
@@ -1081,6 +1089,8 @@ def relocate_package(spec, allow_root):
"""
Relocate the given package
"""
+ import spack.hooks.sbang as sbang
+
workdir = str(spec.prefix)
buildinfo = read_buildinfo_file(workdir)
new_layout_root = str(spack.store.layout.root)
@@ -1119,9 +1129,7 @@ def relocate_package(spec, allow_root):
prefix_to_prefix_bin = OrderedDict({})
if old_sbang_install_path:
- import spack.hooks.sbang as sbang
- prefix_to_prefix_text[old_sbang_install_path] = \
- sbang.sbang_install_path()
+ prefix_to_prefix_text[old_sbang_install_path] = sbang.sbang_install_path()
prefix_to_prefix_text[old_prefix] = new_prefix
prefix_to_prefix_bin[old_prefix] = new_prefix
@@ -1134,7 +1142,6 @@ def relocate_package(spec, allow_root):
# sbang was a bash script, and it lived in the spack prefix. It is
# now a POSIX script that lives in the install prefix. Old packages
# will have the old sbang location in their shebangs.
- import spack.hooks.sbang as sbang
orig_sbang = '#!/bin/bash {0}/bin/sbang'.format(old_spack_prefix)
new_sbang = sbang.sbang_shebang_line()
prefix_to_prefix_text[orig_sbang] = new_sbang
@@ -1153,7 +1160,7 @@ def relocate_package(spec, allow_root):
if not is_backup_file(text_name):
text_names.append(text_name)
-# If we are not installing back to the same install tree do the relocation
+ # If we are not installing back to the same install tree do the relocation
if old_layout_root != new_layout_root:
files_to_relocate = [os.path.join(workdir, filename)
for filename in buildinfo.get('relocate_binaries')
@@ -1323,7 +1330,7 @@ def extract_tarball(spec, filename, allow_root=False, unsigned=False,
os.remove(filename)
-def try_direct_fetch(spec, force=False, full_hash_match=False, mirrors=None):
+def try_direct_fetch(spec, full_hash_match=False, mirrors=None):
"""
Try to find the spec directly on the configured mirrors
"""
@@ -1361,11 +1368,26 @@ def try_direct_fetch(spec, force=False, full_hash_match=False, mirrors=None):
return found_specs
-def get_mirrors_for_spec(spec=None, force=False, full_hash_match=False,
- mirrors_to_check=None):
+def get_mirrors_for_spec(spec=None, full_hash_match=False,
+ mirrors_to_check=None, index_only=False):
"""
Check if concrete spec exists on mirrors and return a list
indicating the mirrors on which it can be found
+
+ Args:
+ spec (Spec): The spec to look for in binary mirrors
+ full_hash_match (bool): If True, only includes mirrors where the spec
+ full hash matches the locally computed full hash of the ``spec``
+ argument. If False, any mirror which has a matching DAG hash
+ is included in the results.
+ mirrors_to_check (dict): Optionally override the configured mirrors
+ with the mirrors in this dictionary.
+ index_only (bool): Do not attempt direct fetching of ``spec.yaml``
+ files from remote mirrors, only consider the indices.
+
+ Return:
+ A list of objects, each containing a ``mirror_url`` and ``spec`` key
+ indicating all mirrors where the spec can be found.
"""
if spec is None:
return []
@@ -1391,10 +1413,9 @@ def get_mirrors_for_spec(spec=None, force=False, full_hash_match=False,
results = filter_candidates(candidates)
# Maybe we just didn't have the latest information from the mirror, so
- # try to fetch directly.
- if not results:
+ # try to fetch directly, unless we are only considering the indices.
+ if not results and not index_only:
results = try_direct_fetch(spec,
- force=force,
full_hash_match=full_hash_match,
mirrors=mirrors_to_check)
diff --git a/lib/spack/spack/build_environment.py b/lib/spack/spack/build_environment.py
index 48ce594a4b..f7fd76d82a 100644
--- a/lib/spack/spack/build_environment.py
+++ b/lib/spack/spack/build_environment.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -149,12 +149,17 @@ def clean_environment():
# can affect how some packages find libraries. We want to make
# sure that builds never pull in unintended external dependencies.
env.unset('LD_LIBRARY_PATH')
- env.unset('LIBRARY_PATH')
- env.unset('CPATH')
env.unset('LD_RUN_PATH')
env.unset('DYLD_LIBRARY_PATH')
env.unset('DYLD_FALLBACK_LIBRARY_PATH')
+ # These vars affect how the compiler finds libraries and include dirs.
+ env.unset('LIBRARY_PATH')
+ env.unset('CPATH')
+ env.unset('C_INCLUDE_PATH')
+ env.unset('CPLUS_INCLUDE_PATH')
+ env.unset('OBJC_INCLUDE_PATH')
+
# On Cray "cluster" systems, unset CRAY_LD_LIBRARY_PATH to avoid
# interference with Spack dependencies.
# CNL requires these variables to be set (or at least some of them,
@@ -412,8 +417,7 @@ def set_build_environment_variables(pkg, env, dirty):
# directory. Add that to the path too.
env_paths = []
compiler_specific = os.path.join(
- spack.paths.build_env_path,
- os.path.dirname(pkg.compiler.link_paths['cc']))
+ spack.paths.build_env_path, os.path.dirname(pkg.compiler.link_paths['cc']))
for item in [spack.paths.build_env_path, compiler_specific]:
env_paths.append(item)
ci = os.path.join(item, 'case-insensitive')
diff --git a/lib/spack/spack/build_systems/__init__.py b/lib/spack/spack/build_systems/__init__.py
index 9f87532b85..103eae6134 100644
--- a/lib/spack/spack/build_systems/__init__.py
+++ b/lib/spack/spack/build_systems/__init__.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/build_systems/aspell_dict.py b/lib/spack/spack/build_systems/aspell_dict.py
index 7da4d2f10c..55ea78145a 100644
--- a/lib/spack/spack/build_systems/aspell_dict.py
+++ b/lib/spack/spack/build_systems/aspell_dict.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/build_systems/autotools.py b/lib/spack/spack/build_systems/autotools.py
index ee9fb6884e..6b47e3edea 100644
--- a/lib/spack/spack/build_systems/autotools.py
+++ b/lib/spack/spack/build_systems/autotools.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,6 +8,7 @@ import os
import os.path
from subprocess import PIPE
from subprocess import check_call
+from typing import List # novm
import llnl.util.tty as tty
import llnl.util.filesystem as fs
@@ -61,7 +62,7 @@ class AutotoolsPackage(PackageBase):
#: Targets for ``make`` during the :py:meth:`~.AutotoolsPackage.build`
#: phase
- build_targets = []
+ build_targets = [] # type: List[str]
#: Targets for ``make`` during the :py:meth:`~.AutotoolsPackage.install`
#: phase
install_targets = ['install']
@@ -75,7 +76,7 @@ class AutotoolsPackage(PackageBase):
#: Set to true to force the autoreconf step even if configure is present
force_autoreconf = False
#: Options to be passed to autoreconf when using the default implementation
- autoreconf_extra_args = []
+ autoreconf_extra_args = [] # type: List[str]
#: If False deletes all the .la files in the prefix folder
#: after the installation. If True instead it installs them.
diff --git a/lib/spack/spack/build_systems/cmake.py b/lib/spack/spack/build_systems/cmake.py
index 1336069846..61b3a3cb57 100644
--- a/lib/spack/spack/build_systems/cmake.py
+++ b/lib/spack/spack/build_systems/cmake.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,6 +8,7 @@ import inspect
import os
import platform
import re
+from typing import List # novm
import spack.build_environment
from llnl.util.filesystem import working_dir
@@ -74,7 +75,7 @@ class CMakePackage(PackageBase):
#: system base class
build_system_class = 'CMakePackage'
- build_targets = []
+ build_targets = [] # type: List[str]
install_targets = ['install']
build_time_test_callbacks = ['check']
diff --git a/lib/spack/spack/build_systems/cuda.py b/lib/spack/spack/build_systems/cuda.py
index 61007431a4..25b5381900 100644
--- a/lib/spack/spack/build_systems/cuda.py
+++ b/lib/spack/spack/build_systems/cuda.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/build_systems/gnu.py b/lib/spack/spack/build_systems/gnu.py
index c5b5e74bb9..6f5771214e 100644
--- a/lib/spack/spack/build_systems/gnu.py
+++ b/lib/spack/spack/build_systems/gnu.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/build_systems/intel.py b/lib/spack/spack/build_systems/intel.py
index 0e0bb9378b..18628b8910 100644
--- a/lib/spack/spack/build_systems/intel.py
+++ b/lib/spack/spack/build_systems/intel.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -815,6 +815,7 @@ class IntelPackage(PackageBase):
# Was supported only up to 2015.
blacs_lib = 'libmkl_blacs'
elif ('^mpich@2:' in spec_root or
+ '^cray-mpich' in spec_root or
'^mvapich2' in spec_root or
'^intel-mpi' in spec_root or
'^intel-parallel-studio' in spec_root):
diff --git a/lib/spack/spack/build_systems/makefile.py b/lib/spack/spack/build_systems/makefile.py
index 6cd05c7ad9..fbc415e0ed 100644
--- a/lib/spack/spack/build_systems/makefile.py
+++ b/lib/spack/spack/build_systems/makefile.py
@@ -1,10 +1,11 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
import inspect
+from typing import List # novm
import llnl.util.tty as tty
from llnl.util.filesystem import working_dir
@@ -48,7 +49,7 @@ class MakefilePackage(PackageBase):
#: Targets for ``make`` during the :py:meth:`~.MakefilePackage.build`
#: phase
- build_targets = []
+ build_targets = [] # type: List[str]
#: Targets for ``make`` during the :py:meth:`~.MakefilePackage.install`
#: phase
install_targets = ['install']
diff --git a/lib/spack/spack/build_systems/maven.py b/lib/spack/spack/build_systems/maven.py
index e9df34e791..7a5caabd29 100644
--- a/lib/spack/spack/build_systems/maven.py
+++ b/lib/spack/spack/build_systems/maven.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/build_systems/meson.py b/lib/spack/spack/build_systems/meson.py
index 825b4c98c3..33ed756786 100644
--- a/lib/spack/spack/build_systems/meson.py
+++ b/lib/spack/spack/build_systems/meson.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -6,6 +6,7 @@
import inspect
import os
+from typing import List # novm
from llnl.util.filesystem import working_dir
from spack.directives import depends_on, variant
@@ -46,7 +47,7 @@ class MesonPackage(PackageBase):
#: system base class
build_system_class = 'MesonPackage'
- build_targets = []
+ build_targets = [] # type: List[str]
install_targets = ['install']
build_time_test_callbacks = ['check']
diff --git a/lib/spack/spack/build_systems/octave.py b/lib/spack/spack/build_systems/octave.py
index 16d6a0a1b8..bedf717811 100644
--- a/lib/spack/spack/build_systems/octave.py
+++ b/lib/spack/spack/build_systems/octave.py
@@ -1,11 +1,11 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
import inspect
-from spack.directives import depends_on, extends
+from spack.directives import extends
from spack.package import PackageBase, run_after
@@ -27,7 +27,6 @@ class OctavePackage(PackageBase):
build_system_class = 'OctavePackage'
extends('octave')
- depends_on('octave', type=('build', 'run'))
def setup_build_environment(self, env):
# octave does not like those environment variables to be set:
diff --git a/lib/spack/spack/build_systems/oneapi.py b/lib/spack/spack/build_systems/oneapi.py
index ec8732bbd6..5babdc5a75 100644
--- a/lib/spack/spack/build_systems/oneapi.py
+++ b/lib/spack/spack/build_systems/oneapi.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/build_systems/perl.py b/lib/spack/spack/build_systems/perl.py
index d134dc06f2..a805c51176 100644
--- a/lib/spack/spack/build_systems/perl.py
+++ b/lib/spack/spack/build_systems/perl.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@
import inspect
import os
-from spack.directives import depends_on, extends
+from spack.directives import extends
from spack.package import PackageBase, run_after
from spack.util.executable import Executable
from llnl.util.filesystem import filter_file
@@ -45,8 +45,6 @@ class PerlPackage(PackageBase):
extends('perl')
- depends_on('perl', type=('build', 'run'))
-
def configure_args(self):
"""Produces a list containing the arguments that must be passed to
:py:meth:`~.PerlPackage.configure`. Arguments should not include
diff --git a/lib/spack/spack/build_systems/python.py b/lib/spack/spack/build_systems/python.py
index 76159d88a1..c3ad02bb2f 100644
--- a/lib/spack/spack/build_systems/python.py
+++ b/lib/spack/spack/build_systems/python.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -6,12 +6,13 @@ import inspect
import os
import shutil
-from spack.directives import depends_on, extends
+from spack.directives import extends
from spack.package import PackageBase, run_after
from llnl.util.filesystem import (working_dir, get_filetype, filter_file,
- path_contains_subdirectory, same_path)
+ path_contains_subdirectory, same_path, find)
from llnl.util.lang import match_predicate
+import llnl.util.tty as tty
class PythonPackage(PackageBase):
@@ -25,20 +26,11 @@ class PythonPackage(PackageBase):
* build_ext
* build_clib
* build_scripts
- * clean
* install
* install_lib
* install_headers
* install_scripts
* install_data
- * sdist
- * register
- * bdist
- * bdist_dumb
- * bdist_rpm
- * bdist_wininst
- * upload
- * check
These are all standard setup.py commands and can be found by running:
@@ -71,35 +63,84 @@ class PythonPackage(PackageBase):
def configure(self, spec, prefix):
self.setup_py('configure')
"""
+ #: Package name, version, and extension on PyPI
+ pypi = None
+
+ maintainers = ['adamjstewart']
+
# Default phases
phases = ['build', 'install']
- # Name of modules that the Python package provides
- # This is used to test whether or not the installation succeeded
- # These names generally come from running:
- #
- # >>> import setuptools
- # >>> setuptools.find_packages()
- #
- # in the source tarball directory
- import_modules = []
-
# To be used in UI queries that require to know which
# build-system class we are using
build_system_class = 'PythonPackage'
- #: Callback names for build-time test
- build_time_test_callbacks = ['build_test']
-
#: Callback names for install-time test
- install_time_test_callbacks = ['import_module_test']
+ install_time_test_callbacks = ['test']
extends('python')
- depends_on('python', type=('build', 'run'))
-
py_namespace = None
+ @property
+ def homepage(self):
+ if self.pypi:
+ name = self.pypi.split('/')[0]
+ return 'https://pypi.org/project/' + name + '/'
+
+ @property
+ def url(self):
+ if self.pypi:
+ return (
+ 'https://files.pythonhosted.org/packages/source/'
+ + self.pypi[0] + '/' + self.pypi
+ )
+
+ @property
+ def list_url(self):
+ if self.pypi:
+ name = self.pypi.split('/')[0]
+ return 'https://pypi.org/simple/' + name + '/'
+
+ @property
+ def import_modules(self):
+ """Names of modules that the Python package provides.
+
+ These are used to test whether or not the installation succeeded.
+ These names generally come from running:
+
+ .. code-block:: python
+
+ >> import setuptools
+ >> setuptools.find_packages()
+
+ in the source tarball directory. If the module names are incorrectly
+ detected, this property can be overridden by the package.
+
+ Returns:
+ list: list of strings of module names
+ """
+ modules = []
+
+ # Python libraries may be installed in lib or lib64
+ # See issues #18520 and #17126
+ for lib in ['lib', 'lib64']:
+ root = os.path.join(self.prefix, lib, 'python{0}'.format(
+ self.spec['python'].version.up_to(2)), 'site-packages')
+ # Some Python libraries are packages: collections of modules
+ # distributed in directories containing __init__.py files
+ for path in find(root, '__init__.py', recursive=True):
+ modules.append(path.replace(root + os.sep, '', 1).replace(
+ os.sep + '__init__.py', '').replace('/', '.'))
+ # Some Python libraries are modules: individual *.py files
+ # found in the site-packages directory
+ for path in find(root, '*.py', recursive=False):
+ modules.append(path.replace(root + os.sep, '', 1).replace(
+ '.py', '').replace('/', '.'))
+
+ tty.debug('Detected the following modules: {0}'.format(modules))
+ return modules
+
def setup_file(self):
"""Returns the name of the setup file to use."""
return 'setup.py'
@@ -118,27 +159,6 @@ class PythonPackage(PackageBase):
with working_dir(self.build_directory):
self.python('-s', setup, '--no-user-cfg', *args, **kwargs)
- def _setup_command_available(self, command):
- """Determines whether or not a setup.py command exists.
-
- Args:
- command (str): The command to look for
-
- Returns:
- bool: True if the command is found, else False
- """
- kwargs = {
- 'output': os.devnull,
- 'error': os.devnull,
- 'fail_on_error': False
- }
-
- python = inspect.getmodule(self).python
- setup = self.setup_file()
-
- python('-s', setup, '--no-user-cfg', command, '--help', **kwargs)
- return python.returncode == 0
-
# The following phases and their descriptions come from:
# $ python setup.py --help-commands
@@ -194,16 +214,6 @@ class PythonPackage(PackageBase):
"""Arguments to pass to build_scripts."""
return []
- def clean(self, spec, prefix):
- """Clean up temporary files from 'build' command."""
- args = self.clean_args(spec, prefix)
-
- self.setup_py('clean', *args)
-
- def clean_args(self, spec, prefix):
- """Arguments to pass to clean."""
- return []
-
def install(self, spec, prefix):
"""Install everything from build directory."""
args = self.install_args(spec, prefix)
@@ -277,115 +287,18 @@ class PythonPackage(PackageBase):
"""Arguments to pass to install_data."""
return []
- def sdist(self, spec, prefix):
- """Create a source distribution (tarball, zip file, etc.)."""
- args = self.sdist_args(spec, prefix)
-
- self.setup_py('sdist', *args)
-
- def sdist_args(self, spec, prefix):
- """Arguments to pass to sdist."""
- return []
-
- def register(self, spec, prefix):
- """Register the distribution with the Python package index."""
- args = self.register_args(spec, prefix)
-
- self.setup_py('register', *args)
-
- def register_args(self, spec, prefix):
- """Arguments to pass to register."""
- return []
-
- def bdist(self, spec, prefix):
- """Create a built (binary) distribution."""
- args = self.bdist_args(spec, prefix)
-
- self.setup_py('bdist', *args)
-
- def bdist_args(self, spec, prefix):
- """Arguments to pass to bdist."""
- return []
-
- def bdist_dumb(self, spec, prefix):
- '''Create a "dumb" built distribution.'''
- args = self.bdist_dumb_args(spec, prefix)
-
- self.setup_py('bdist_dumb', *args)
-
- def bdist_dumb_args(self, spec, prefix):
- """Arguments to pass to bdist_dumb."""
- return []
-
- def bdist_rpm(self, spec, prefix):
- """Create an RPM distribution."""
- args = self.bdist_rpm(spec, prefix)
-
- self.setup_py('bdist_rpm', *args)
-
- def bdist_rpm_args(self, spec, prefix):
- """Arguments to pass to bdist_rpm."""
- return []
-
- def bdist_wininst(self, spec, prefix):
- """Create an executable installer for MS Windows."""
- args = self.bdist_wininst_args(spec, prefix)
-
- self.setup_py('bdist_wininst', *args)
-
- def bdist_wininst_args(self, spec, prefix):
- """Arguments to pass to bdist_wininst."""
- return []
-
- def upload(self, spec, prefix):
- """Upload binary package to PyPI."""
- args = self.upload_args(spec, prefix)
-
- self.setup_py('upload', *args)
-
- def upload_args(self, spec, prefix):
- """Arguments to pass to upload."""
- return []
-
- def check(self, spec, prefix):
- """Perform some checks on the package."""
- args = self.check_args(spec, prefix)
-
- self.setup_py('check', *args)
-
- def check_args(self, spec, prefix):
- """Arguments to pass to check."""
- return []
-
# Testing
- def build_test(self):
- """Run unit tests after in-place build.
-
- These tests are only run if the package actually has a 'test' command.
- """
- if self._setup_command_available('test'):
- args = self.test_args(self.spec, self.prefix)
-
- self.setup_py('test', *args)
-
- def test_args(self, spec, prefix):
- """Arguments to pass to test."""
- return []
-
- run_after('build')(PackageBase._run_default_build_time_test_callbacks)
-
- def import_module_test(self):
- """Attempts to import the module that was just installed.
-
- This test is only run if the package overrides
- :py:attr:`import_modules` with a list of module names."""
+ def test(self):
+ """Attempts to import modules of the installed package."""
# Make sure we are importing the installed modules,
- # not the ones in the current directory
- with working_dir('spack-test', create=True):
- for module in self.import_modules:
- self.python('-c', 'import {0}'.format(module))
+ # not the ones in the source directory
+ for module in self.import_modules:
+ self.run_test(inspect.getmodule(self).python.path,
+ ['-c', 'import {0}'.format(module)],
+ purpose='checking import of {0}'.format(module),
+ work_dir='spack-test')
run_after('install')(PackageBase._run_default_install_time_test_callbacks)
diff --git a/lib/spack/spack/build_systems/qmake.py b/lib/spack/spack/build_systems/qmake.py
index 22914d4d3a..5ddb8d7fa3 100644
--- a/lib/spack/spack/build_systems/qmake.py
+++ b/lib/spack/spack/build_systems/qmake.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -6,6 +6,7 @@
import inspect
+from llnl.util.filesystem import working_dir
from spack.directives import depends_on
from spack.package import PackageBase, run_after
@@ -37,6 +38,11 @@ class QMakePackage(PackageBase):
depends_on('qt', type='build')
+ @property
+ def build_directory(self):
+ """The directory containing the ``*.pro`` file."""
+ return self.stage.source_path
+
def qmake_args(self):
"""Produces a list containing all the arguments that must be passed to
qmake
@@ -45,22 +51,30 @@ class QMakePackage(PackageBase):
def qmake(self, spec, prefix):
"""Run ``qmake`` to configure the project and generate a Makefile."""
- inspect.getmodule(self).qmake(*self.qmake_args())
+
+ with working_dir(self.build_directory):
+ inspect.getmodule(self).qmake(*self.qmake_args())
def build(self, spec, prefix):
"""Make the build targets"""
- inspect.getmodule(self).make()
+
+ with working_dir(self.build_directory):
+ inspect.getmodule(self).make()
def install(self, spec, prefix):
"""Make the install targets"""
- inspect.getmodule(self).make('install')
+
+ with working_dir(self.build_directory):
+ inspect.getmodule(self).make('install')
# Tests
def check(self):
"""Searches the Makefile for a ``check:`` target and runs it if found.
"""
- self._if_make_target_execute('check')
+
+ with working_dir(self.build_directory):
+ self._if_make_target_execute('check')
run_after('build')(PackageBase._run_default_build_time_test_callbacks)
diff --git a/lib/spack/spack/build_systems/r.py b/lib/spack/spack/build_systems/r.py
index 6ee2668833..f713706882 100644
--- a/lib/spack/spack/build_systems/r.py
+++ b/lib/spack/spack/build_systems/r.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -6,7 +6,7 @@
import inspect
-from spack.directives import depends_on, extends
+from spack.directives import extends
from spack.package import PackageBase, run_after
@@ -25,14 +25,14 @@ class RPackage(PackageBase):
"""
phases = ['install']
+ maintainers = ['glennpj']
+
#: This attribute is used in UI queries that need to know the build
#: system base class
build_system_class = 'RPackage'
extends('r')
- depends_on('r', type=('build', 'run'))
-
def configure_args(self):
"""Arguments to pass to install via ``--configure-args``."""
return []
diff --git a/lib/spack/spack/build_systems/rocm.py b/lib/spack/spack/build_systems/rocm.py
index 0107c6376b..21a200e159 100644
--- a/lib/spack/spack/build_systems/rocm.py
+++ b/lib/spack/spack/build_systems/rocm.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -30,6 +30,8 @@
# environment: {}
# extra_rpaths: []
#
+# It is advisable to replace /rocm/ in the paths above with /rocm-version/
+# and introduce spec version numbers to ensure reproducible results.
#
# 2. hip and its dependencies are currently NOT picked up by spack
# automatically, and should therefore be added to packages.yaml by hand:
@@ -37,7 +39,7 @@
# in packages.yaml:
# hip:
# externals:
-# - spec: hip@3.8.20371-d1886b0b
+# - spec: hip
# prefix: /opt/rocm/hip
# extra_attributes:
# compilers:
@@ -64,6 +66,9 @@
# cxx: /opt/rocm/llvm/bin/clang++
# buildable: false
#
+# It is advisable to replace /rocm/ in the paths above with /rocm-version/
+# and introduce spec version numbers to ensure reproducible results.
+#
# 3. In part 2, DO NOT list the path to hsa as /opt/rocm/hsa ! You want spack
# to find hsa in /opt/rocm/include/hsa/hsa.h . The directory of
# /opt/rocm/hsa also has an hsa.h file, but it won't be found because spack
@@ -102,6 +107,8 @@ class ROCmPackage(PackageBase):
depends_on('hsa-rocr-dev', when='+rocm')
depends_on('hip', when='+rocm')
+ conflicts('^blt@:0.3.6', when='+rocm')
+
# need amd gpu type for rocm builds
conflicts('amdgpu_target=none', when='+rocm')
diff --git a/lib/spack/spack/build_systems/ruby.py b/lib/spack/spack/build_systems/ruby.py
index 32d6633164..5736d0913a 100644
--- a/lib/spack/spack/build_systems/ruby.py
+++ b/lib/spack/spack/build_systems/ruby.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -6,7 +6,7 @@
import glob
import inspect
-from spack.directives import depends_on, extends
+from spack.directives import extends
from spack.package import PackageBase, run_after
@@ -27,8 +27,6 @@ class RubyPackage(PackageBase):
extends('ruby')
- depends_on('ruby', type=('build', 'run'))
-
def build(self, spec, prefix):
"""Build a Ruby gem."""
diff --git a/lib/spack/spack/build_systems/scons.py b/lib/spack/spack/build_systems/scons.py
index 5e17666b71..56ee08a113 100644
--- a/lib/spack/spack/build_systems/scons.py
+++ b/lib/spack/spack/build_systems/scons.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/build_systems/sip.py b/lib/spack/spack/build_systems/sip.py
index f814ef1837..47713a100a 100644
--- a/lib/spack/spack/build_systems/sip.py
+++ b/lib/spack/spack/build_systems/sip.py
@@ -1,14 +1,15 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
import inspect
+import os
-from llnl.util.filesystem import working_dir, join_path
+from llnl.util.filesystem import find, working_dir, join_path
from spack.directives import depends_on, extends
from spack.package import PackageBase, run_after
-import os
+import llnl.util.tty as tty
class SIPPackage(PackageBase):
@@ -36,13 +37,52 @@ class SIPPackage(PackageBase):
sip_module = 'sip'
#: Callback names for install-time test
- install_time_test_callbacks = ['import_module_test']
+ install_time_test_callbacks = ['test']
extends('python')
depends_on('qt')
depends_on('py-sip')
+ @property
+ def import_modules(self):
+ """Names of modules that the Python package provides.
+
+ These are used to test whether or not the installation succeeded.
+ These names generally come from running:
+
+ .. code-block:: python
+
+ >> import setuptools
+ >> setuptools.find_packages()
+
+ in the source tarball directory. If the module names are incorrectly
+ detected, this property can be overridden by the package.
+
+ Returns:
+ list: list of strings of module names
+ """
+ modules = []
+
+ # Python libraries may be installed in lib or lib64
+ # See issues #18520 and #17126
+ for lib in ['lib', 'lib64']:
+ root = os.path.join(self.prefix, lib, 'python{0}'.format(
+ self.spec['python'].version.up_to(2)), 'site-packages')
+ # Some Python libraries are packages: collections of modules
+ # distributed in directories containing __init__.py files
+ for path in find(root, '__init__.py', recursive=True):
+ modules.append(path.replace(root + os.sep, '', 1).replace(
+ os.sep + '__init__.py', '').replace('/', '.'))
+ # Some Python libraries are modules: individual *.py files
+ # found in the site-packages directory
+ for path in find(root, '*.py', recursive=False):
+ modules.append(path.replace(root + os.sep, '', 1).replace(
+ '.py', '').replace('/', '.'))
+
+ tty.debug('Detected the following modules: {0}'.format(modules))
+ return modules
+
def python(self, *args, **kwargs):
"""The python ``Executable``."""
inspect.getmodule(self).python(*args, **kwargs)
@@ -98,17 +138,16 @@ class SIPPackage(PackageBase):
# Testing
- def import_module_test(self):
- """Attempts to import the module that was just installed.
-
- This test is only run if the package overrides
- :py:attr:`import_modules` with a list of module names."""
+ def test(self):
+ """Attempts to import modules of the installed package."""
# Make sure we are importing the installed modules,
- # not the ones in the current directory
- with working_dir('spack-test', create=True):
- for module in self.import_modules:
- self.python('-c', 'import {0}'.format(module))
+ # not the ones in the source directory
+ for module in self.import_modules:
+ self.run_test(inspect.getmodule(self).python.path,
+ ['-c', 'import {0}'.format(module)],
+ purpose='checking import of {0}'.format(module),
+ work_dir='spack-test')
run_after('install')(PackageBase._run_default_install_time_test_callbacks)
diff --git a/lib/spack/spack/build_systems/sourceforge.py b/lib/spack/spack/build_systems/sourceforge.py
index 602a099c17..cfea664f51 100644
--- a/lib/spack/spack/build_systems/sourceforge.py
+++ b/lib/spack/spack/build_systems/sourceforge.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/build_systems/sourceware.py b/lib/spack/spack/build_systems/sourceware.py
index b779b530dc..89a157c22c 100644
--- a/lib/spack/spack/build_systems/sourceware.py
+++ b/lib/spack/spack/build_systems/sourceware.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/build_systems/waf.py b/lib/spack/spack/build_systems/waf.py
index a6dbbbdb35..99679ba64a 100644
--- a/lib/spack/spack/build_systems/waf.py
+++ b/lib/spack/spack/build_systems/waf.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/build_systems/xorg.py b/lib/spack/spack/build_systems/xorg.py
index ae28b30929..801ad37eeb 100644
--- a/lib/spack/spack/build_systems/xorg.py
+++ b/lib/spack/spack/build_systems/xorg.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/caches.py b/lib/spack/spack/caches.py
index 49624c06b2..d06ce05525 100644
--- a/lib/spack/spack/caches.py
+++ b/lib/spack/spack/caches.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/ci.py b/lib/spack/spack/ci.py
index f38ab95d96..e853dc9f98 100644
--- a/lib/spack/spack/ci.py
+++ b/lib/spack/spack/ci.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -22,7 +22,7 @@ import llnl.util.tty as tty
import spack
import spack.binary_distribution as bindist
-import spack.cmd.buildcache as buildcache
+import spack.cmd
import spack.compilers as compilers
import spack.config as cfg
import spack.environment as ev
@@ -41,7 +41,8 @@ JOB_RETRY_CONDITIONS = [
'always',
]
-SPACK_PR_MIRRORS_ROOT_URL = 's3://spack-pr-mirrors'
+SPACK_PR_MIRRORS_ROOT_URL = 's3://spack-binaries-prs'
+TEMP_STORAGE_MIRROR_NAME = 'ci_temporary_mirror'
spack_gpg = spack.main.SpackCommand('gpg')
spack_compiler = spack.main.SpackCommand('compiler')
@@ -202,8 +203,8 @@ def format_root_spec(spec, main_phase, strip_compiler):
# spec.name, spec.version, spec.compiler, spec.architecture)
-def spec_deps_key_label(s):
- return s.dag_hash(), "%s/%s" % (s.name, s.dag_hash(7))
+def spec_deps_key(s):
+ return '{0}/{1}'.format(s.name, s.dag_hash(7))
def _add_dependency(spec_label, dep_label, deps):
@@ -214,8 +215,8 @@ def _add_dependency(spec_label, dep_label, deps):
deps[spec_label].add(dep_label)
-def get_spec_dependencies(specs, deps, spec_labels):
- spec_deps_obj = compute_spec_deps(specs)
+def get_spec_dependencies(specs, deps, spec_labels, check_index_only=False):
+ spec_deps_obj = compute_spec_deps(specs, check_index_only=check_index_only)
if spec_deps_obj:
dependencies = spec_deps_obj['dependencies']
@@ -225,19 +226,25 @@ def get_spec_dependencies(specs, deps, spec_labels):
spec_labels[entry['label']] = {
'spec': Spec(entry['spec']),
'rootSpec': entry['root_spec'],
+ 'needs_rebuild': entry['needs_rebuild'],
}
for entry in dependencies:
_add_dependency(entry['spec'], entry['depends'], deps)
-def stage_spec_jobs(specs):
+def stage_spec_jobs(specs, check_index_only=False):
"""Take a set of release specs and generate a list of "stages", where the
jobs in any stage are dependent only on jobs in previous stages. This
allows us to maximize build parallelism within the gitlab-ci framework.
Arguments:
specs (Iterable): Specs to build
+ check_index_only (bool): Regardless of whether DAG pruning is enabled,
+ all configured mirrors are searched to see if binaries for specs
+ are up to date on those mirrors. This flag limits that search to
+ the binary cache indices on those mirrors to speed the process up,
+ even though there is no garantee the index is up to date.
Returns: A tuple of information objects describing the specs, dependencies
and stages:
@@ -274,7 +281,8 @@ def stage_spec_jobs(specs):
deps = {}
spec_labels = {}
- get_spec_dependencies(specs, deps, spec_labels)
+ get_spec_dependencies(
+ specs, deps, spec_labels, check_index_only=check_index_only)
# Save the original deps, as we need to return them at the end of the
# function. In the while loop below, the "dependencies" variable is
@@ -311,12 +319,15 @@ def print_staging_summary(spec_labels, dependencies, stages):
for job in sorted(stage):
s = spec_labels[job]['spec']
- tty.msg(' {0} -> {1}'.format(job, get_spec_string(s)))
+ tty.msg(' [{1}] {0} -> {2}'.format(
+ job,
+ 'x' if spec_labels[job]['needs_rebuild'] else ' ',
+ get_spec_string(s)))
stage_index += 1
-def compute_spec_deps(spec_list):
+def compute_spec_deps(spec_list, check_index_only=False):
"""
Computes all the dependencies for the spec(s) and generates a JSON
object which provides both a list of unique spec names as well as a
@@ -386,33 +397,35 @@ def compute_spec_deps(spec_list):
# root_spec = get_spec_string(spec)
root_spec = spec
- rkey, rlabel = spec_deps_key_label(spec)
-
for s in spec.traverse(deptype=all):
if s.external:
tty.msg('Will not stage external pkg: {0}'.format(s))
continue
- skey, slabel = spec_deps_key_label(s)
- spec_labels[slabel] = {
+ up_to_date_mirrors = bindist.get_mirrors_for_spec(
+ spec=s, full_hash_match=True, index_only=check_index_only)
+
+ skey = spec_deps_key(s)
+ spec_labels[skey] = {
'spec': get_spec_string(s),
'root': root_spec,
+ 'needs_rebuild': not up_to_date_mirrors,
}
- append_dep(rlabel, slabel)
for d in s.dependencies(deptype=all):
- dkey, dlabel = spec_deps_key_label(d)
+ dkey = spec_deps_key(d)
if d.external:
tty.msg('Will not stage external dep: {0}'.format(d))
continue
- append_dep(slabel, dlabel)
+ append_dep(skey, dkey)
for spec_label, spec_holder in spec_labels.items():
specs.append({
'label': spec_label,
'spec': spec_holder['spec'],
'root_spec': spec_holder['root'],
+ 'needs_rebuild': spec_holder['needs_rebuild'],
})
deps_json_obj = {
@@ -481,22 +494,43 @@ def pkg_name_from_spec_label(spec_label):
def format_job_needs(phase_name, strip_compilers, dep_jobs,
- osname, build_group, enable_artifacts_buildcache):
+ osname, build_group, prune_dag, stage_spec_dict,
+ enable_artifacts_buildcache):
needs_list = []
for dep_job in dep_jobs:
- needs_list.append({
- 'job': get_job_name(phase_name,
- strip_compilers,
- dep_job,
- osname,
- build_group),
- 'artifacts': enable_artifacts_buildcache,
- })
+ dep_spec_key = spec_deps_key(dep_job)
+ dep_spec_info = stage_spec_dict[dep_spec_key]
+
+ if not prune_dag or dep_spec_info['needs_rebuild']:
+ needs_list.append({
+ 'job': get_job_name(phase_name,
+ strip_compilers,
+ dep_job,
+ osname,
+ build_group),
+ 'artifacts': enable_artifacts_buildcache,
+ })
return needs_list
-def generate_gitlab_ci_yaml(env, print_summary, output_file,
- run_optimizer=False, use_dependencies=False):
+def add_pr_mirror(url):
+ cfg_scope = cfg.default_modify_scope()
+ mirrors = cfg.get('mirrors', scope=cfg_scope)
+ items = [(n, u) for n, u in mirrors.items()]
+ items.insert(0, ('ci_pr_mirror', url))
+ cfg.set('mirrors', syaml.syaml_dict(items), scope=cfg_scope)
+
+
+def remove_pr_mirror():
+ cfg_scope = cfg.default_modify_scope()
+ mirrors = cfg.get('mirrors', scope=cfg_scope)
+ mirrors.pop('ci_pr_mirror')
+ cfg.set('mirrors', mirrors, scope=cfg_scope)
+
+
+def generate_gitlab_ci_yaml(env, print_summary, output_file, prune_dag=False,
+ check_index_only=False, run_optimizer=False,
+ use_dependencies=False):
# FIXME: What's the difference between one that opens with 'spack'
# and one that opens with 'env'? This will only handle the former.
with spack.concretize.disable_compiler_existence_check():
@@ -509,10 +543,6 @@ def generate_gitlab_ci_yaml(env, print_summary, output_file,
gitlab_ci = yaml_root['gitlab-ci']
- final_job_config = None
- if 'final-stage-rebuild-index' in gitlab_ci:
- final_job_config = gitlab_ci['final-stage-rebuild-index']
-
build_group = None
enable_cdash_reporting = False
cdash_auth_token = None
@@ -539,6 +569,9 @@ def generate_gitlab_ci_yaml(env, print_summary, output_file,
pr_mirror_url = url_util.join(SPACK_PR_MIRRORS_ROOT_URL,
spack_pr_branch)
+ if 'mirrors' not in yaml_root or len(yaml_root['mirrors'].values()) < 1:
+ tty.die('spack ci generate requires an env containing a mirror')
+
ci_mirrors = yaml_root['mirrors']
mirror_urls = [url for url in ci_mirrors.values()]
@@ -546,6 +579,14 @@ def generate_gitlab_ci_yaml(env, print_summary, output_file,
if 'enable-artifacts-buildcache' in gitlab_ci:
enable_artifacts_buildcache = gitlab_ci['enable-artifacts-buildcache']
+ rebuild_index_enabled = True
+ if 'rebuild-index' in gitlab_ci and gitlab_ci['rebuild-index'] is False:
+ rebuild_index_enabled = False
+
+ temp_storage_url_prefix = None
+ if 'temporary-storage-url-prefix' in gitlab_ci:
+ temp_storage_url_prefix = gitlab_ci['temporary-storage-url-prefix']
+
bootstrap_specs = []
phases = []
if 'bootstrap' in gitlab_ci:
@@ -573,19 +614,27 @@ def generate_gitlab_ci_yaml(env, print_summary, output_file,
'strip-compilers': False,
})
- staged_phases = {}
- for phase in phases:
- phase_name = phase['name']
- with spack.concretize.disable_compiler_existence_check():
- staged_phases[phase_name] = stage_spec_jobs(
- env.spec_lists[phase_name])
+ # Add this mirror if it's enabled, as some specs might be up to date
+ # here and thus not need to be rebuilt.
+ if pr_mirror_url:
+ add_pr_mirror(pr_mirror_url)
- if print_summary:
+ # Speed up staging by first fetching binary indices from all mirrors
+ # (including the per-PR mirror we may have just added above).
+ bindist.binary_index.update()
+
+ staged_phases = {}
+ try:
for phase in phases:
phase_name = phase['name']
- tty.msg('Stages for phase "{0}"'.format(phase_name))
- phase_stages = staged_phases[phase_name]
- print_staging_summary(*phase_stages)
+ with spack.concretize.disable_compiler_existence_check():
+ staged_phases[phase_name] = stage_spec_jobs(
+ env.spec_lists[phase_name],
+ check_index_only=check_index_only)
+ finally:
+ # Clean up PR mirror if enabled
+ if pr_mirror_url:
+ remove_pr_mirror()
all_job_names = []
output_object = {}
@@ -611,7 +660,8 @@ def generate_gitlab_ci_yaml(env, print_summary, output_file,
stage_id += 1
for spec_label in stage_jobs:
- root_spec = spec_labels[spec_label]['rootSpec']
+ spec_record = spec_labels[spec_label]
+ root_spec = spec_record['rootSpec']
pkg_name = pkg_name_from_spec_label(spec_label)
release_spec = root_spec[pkg_name]
@@ -678,11 +728,15 @@ def generate_gitlab_ci_yaml(env, print_summary, output_file,
job_dependencies = []
if spec_label in dependencies:
if enable_artifacts_buildcache:
+ # Get dependencies transitively, so they're all
+ # available in the artifacts buildcache.
dep_jobs = [
d for d in release_spec.traverse(deptype=all,
root=False)
]
else:
+ # In this case, "needs" is only used for scheduling
+ # purposes, so we only get the direct dependencies.
dep_jobs = []
for dep_label in dependencies[spec_label]:
dep_pkg = pkg_name_from_spec_label(dep_label)
@@ -690,10 +744,13 @@ def generate_gitlab_ci_yaml(env, print_summary, output_file,
dep_jobs.append(dep_root[dep_pkg])
job_dependencies.extend(
- format_job_needs(phase_name, strip_compilers, dep_jobs,
- osname, build_group,
+ format_job_needs(phase_name, strip_compilers,
+ dep_jobs, osname, build_group,
+ prune_dag, spec_labels,
enable_artifacts_buildcache))
+ rebuild_spec = spec_record['needs_rebuild']
+
# This next section helps gitlab make sure the right
# bootstrapped compiler exists in the artifacts buildcache by
# creating an artificial dependency between this spec and its
@@ -709,11 +766,12 @@ def generate_gitlab_ci_yaml(env, print_summary, output_file,
compiler_pkg_spec = compilers.pkg_spec_for_compiler(
release_spec.compiler)
for bs in bootstrap_specs:
- bs_arch = bs['spec'].architecture
+ c_spec = bs['spec']
+ bs_arch = c_spec.architecture
bs_arch_family = (bs_arch.target
.microarchitecture
.family)
- if (bs['spec'].satisfies(compiler_pkg_spec) and
+ if (c_spec.satisfies(compiler_pkg_spec) and
bs_arch_family == spec_arch_family):
# We found the bootstrap compiler this release spec
# should be built with, so for DAG scheduling
@@ -721,10 +779,24 @@ def generate_gitlab_ci_yaml(env, print_summary, output_file,
# to the jobs "needs". But if artifact buildcache
# is enabled, we'll have to add all transtive deps
# of the compiler as well.
- dep_jobs = [bs['spec']]
+
+ # Here we check whether the bootstrapped compiler
+ # needs to be rebuilt. Until compilers are proper
+ # dependencies, we artificially force the spec to
+ # be rebuilt if the compiler targeted to build it
+ # needs to be rebuilt.
+ bs_specs, _, _ = staged_phases[bs['phase-name']]
+ c_spec_key = spec_deps_key(c_spec)
+ rbld_comp = bs_specs[c_spec_key]['needs_rebuild']
+ rebuild_spec = rebuild_spec or rbld_comp
+ # Also update record so dependents do not fail to
+ # add this spec to their "needs"
+ spec_record['needs_rebuild'] = rebuild_spec
+
+ dep_jobs = [c_spec]
if enable_artifacts_buildcache:
dep_jobs = [
- d for d in bs['spec'].traverse(deptype=all)
+ d for d in c_spec.traverse(deptype=all)
]
job_dependencies.extend(
@@ -733,6 +805,8 @@ def generate_gitlab_ci_yaml(env, print_summary, output_file,
dep_jobs,
str(bs_arch),
build_group,
+ prune_dag,
+ bs_specs,
enable_artifacts_buildcache))
else:
debug_msg = ''.join([
@@ -741,9 +815,14 @@ def generate_gitlab_ci_yaml(env, print_summary, output_file,
'not the compiler required by the spec, or ',
'because the target arch families of the ',
'spec and the compiler did not match'
- ]).format(bs['spec'], release_spec)
+ ]).format(c_spec, release_spec)
tty.debug(debug_msg)
+ if prune_dag and not rebuild_spec:
+ continue
+
+ job_vars['SPACK_SPEC_NEEDS_REBUILD'] = str(rebuild_spec)
+
if enable_cdash_reporting:
cdash_build_name = get_cdash_build_name(
release_spec, build_group)
@@ -812,11 +891,19 @@ def generate_gitlab_ci_yaml(env, print_summary, output_file,
output_object[job_name] = job_object
job_id += 1
+ if print_summary:
+ for phase in phases:
+ phase_name = phase['name']
+ tty.msg('Stages for phase "{0}"'.format(phase_name))
+ phase_stages = staged_phases[phase_name]
+ print_staging_summary(*phase_stages)
+
tty.debug('{0} build jobs generated in {1} stages'.format(
job_id, stage_id))
- tty.debug('The max_needs_job is {0}, with {1} needs'.format(
- max_needs_job, max_length_needs))
+ if job_id > 0:
+ tty.debug('The max_needs_job is {0}, with {1} needs'.format(
+ max_needs_job, max_length_needs))
# Use "all_job_names" to populate the build group for this set
if enable_cdash_reporting and cdash_auth_token:
@@ -828,63 +915,118 @@ def generate_gitlab_ci_yaml(env, print_summary, output_file,
else:
tty.warn('Unable to populate buildgroup without CDash credentials')
- if final_job_config and not is_pr_pipeline:
- # Add an extra, final job to regenerate the index
- final_stage = 'stage-rebuild-index'
- final_job = {
- 'stage': final_stage,
- 'script': 'spack buildcache update-index --keys -d {0}'.format(
- mirror_urls[0]),
- 'tags': final_job_config['tags'],
- 'when': 'always'
- }
- if 'image' in final_job_config:
- final_job['image'] = final_job_config['image']
- if before_script:
- final_job['before_script'] = before_script
- if after_script:
- final_job['after_script'] = after_script
- output_object['rebuild-index'] = final_job
- stage_names.append(final_stage)
-
- output_object['stages'] = stage_names
-
- # Capture the version of spack used to generate the pipeline, transform it
- # into a value that can be passed to "git checkout", and save it in a
- # global yaml variable
- spack_version = spack.main.get_version()
- version_to_clone = None
- v_match = re.match(r"^\d+\.\d+\.\d+$", spack_version)
- if v_match:
- version_to_clone = 'v{0}'.format(v_match.group(0))
- else:
- v_match = re.match(r"^[^-]+-[^-]+-([a-f\d]+)$", spack_version)
+ service_job_config = None
+ if 'service-job-attributes' in gitlab_ci:
+ service_job_config = gitlab_ci['service-job-attributes']
+
+ default_attrs = [
+ 'image',
+ 'tags',
+ 'variables',
+ 'before_script',
+ # 'script',
+ 'after_script',
+ ]
+
+ if job_id > 0:
+ if temp_storage_url_prefix:
+ # There were some rebuild jobs scheduled, so we will need to
+ # schedule a job to clean up the temporary storage location
+ # associated with this pipeline.
+ stage_names.append('cleanup-temp-storage')
+ cleanup_job = {}
+
+ if service_job_config:
+ copy_attributes(default_attrs,
+ service_job_config,
+ cleanup_job)
+
+ cleanup_job['stage'] = 'cleanup-temp-storage'
+ cleanup_job['script'] = [
+ 'spack -d mirror destroy --mirror-url {0}/$CI_PIPELINE_ID'.format(
+ temp_storage_url_prefix)
+ ]
+ cleanup_job['when'] = 'always'
+
+ output_object['cleanup'] = cleanup_job
+
+ if rebuild_index_enabled:
+ # Add a final job to regenerate the index
+ stage_names.append('stage-rebuild-index')
+ final_job = {}
+
+ if service_job_config:
+ copy_attributes(default_attrs,
+ service_job_config,
+ final_job)
+
+ index_target_mirror = mirror_urls[0]
+ if is_pr_pipeline:
+ index_target_mirror = pr_mirror_url
+
+ final_job['stage'] = 'stage-rebuild-index'
+ final_job['script'] = [
+ 'spack buildcache update-index --keys -d {0}'.format(
+ index_target_mirror)
+ ]
+ final_job['when'] = 'always'
+
+ output_object['rebuild-index'] = final_job
+
+ output_object['stages'] = stage_names
+
+ # Capture the version of spack used to generate the pipeline, transform it
+ # into a value that can be passed to "git checkout", and save it in a
+ # global yaml variable
+ spack_version = spack.main.get_version()
+ version_to_clone = None
+ v_match = re.match(r"^\d+\.\d+\.\d+$", spack_version)
if v_match:
- version_to_clone = v_match.group(1)
+ version_to_clone = 'v{0}'.format(v_match.group(0))
else:
- version_to_clone = spack_version
+ v_match = re.match(r"^[^-]+-[^-]+-([a-f\d]+)$", spack_version)
+ if v_match:
+ version_to_clone = v_match.group(1)
+ else:
+ version_to_clone = spack_version
- output_object['variables'] = {
- 'SPACK_VERSION': spack_version,
- 'SPACK_CHECKOUT_VERSION': version_to_clone,
- }
+ output_object['variables'] = {
+ 'SPACK_VERSION': spack_version,
+ 'SPACK_CHECKOUT_VERSION': version_to_clone,
+ }
- if pr_mirror_url:
- output_object['variables']['SPACK_PR_MIRROR_URL'] = pr_mirror_url
+ if pr_mirror_url:
+ output_object['variables']['SPACK_PR_MIRROR_URL'] = pr_mirror_url
+
+ sorted_output = {}
+ for output_key, output_value in sorted(output_object.items()):
+ sorted_output[output_key] = output_value
+
+ # TODO(opadron): remove this or refactor
+ if run_optimizer:
+ import spack.ci_optimization as ci_opt
+ sorted_output = ci_opt.optimizer(sorted_output)
- sorted_output = {}
- for output_key, output_value in sorted(output_object.items()):
- sorted_output[output_key] = output_value
+ # TODO(opadron): remove this or refactor
+ if use_dependencies:
+ import spack.ci_needs_workaround as cinw
+ sorted_output = cinw.needs_to_dependencies(sorted_output)
+ else:
+ # No jobs were generated
+ tty.debug('No specs to rebuild, generating no-op job')
+ noop_job = {}
+
+ if service_job_config:
+ copy_attributes(default_attrs,
+ service_job_config,
+ noop_job)
- # TODO(opadron): remove this or refactor
- if run_optimizer:
- import spack.ci_optimization as ci_opt
- sorted_output = ci_opt.optimizer(sorted_output)
+ if 'script' not in noop_job:
+ noop_job['script'] = [
+ 'echo "All specs already up to date, nothing to rebuild."',
+ ]
- # TODO(opadron): remove this or refactor
- if use_dependencies:
- import spack.ci_needs_workaround as cinw
- sorted_output = cinw.needs_to_dependencies(sorted_output)
+ sorted_output = {'no-specs-to-rebuild': noop_job}
with open(output_file, 'w') as outf:
outf.write(syaml.dump_config(sorted_output, default_flow_style=True))
@@ -1120,16 +1262,35 @@ def read_cdashid_from_mirror(spec, mirror_url):
def push_mirror_contents(env, spec, yaml_path, mirror_url, build_id,
sign_binaries):
if mirror_url:
- unsigned = not sign_binaries
- tty.debug('Creating buildcache ({0})'.format(
- 'unsigned' if unsigned else 'signed'))
- buildcache._createtarball(env, spec_yaml=yaml_path, add_deps=False,
- output_location=mirror_url, force=True,
- allow_root=True, unsigned=unsigned)
- if build_id:
- tty.debug('Writing cdashid ({0}) to remote mirror: {1}'.format(
- build_id, mirror_url))
- write_cdashid_to_mirror(build_id, spec, mirror_url)
+ try:
+ unsigned = not sign_binaries
+ tty.debug('Creating buildcache ({0})'.format(
+ 'unsigned' if unsigned else 'signed'))
+ spack.cmd.buildcache._createtarball(
+ env, spec_yaml=yaml_path, add_deps=False,
+ output_location=mirror_url, force=True, allow_root=True,
+ unsigned=unsigned)
+ if build_id:
+ tty.debug('Writing cdashid ({0}) to remote mirror: {1}'.format(
+ build_id, mirror_url))
+ write_cdashid_to_mirror(build_id, spec, mirror_url)
+ except Exception as inst:
+ # If the mirror we're pushing to is on S3 and there's some
+ # permissions problem, for example, we can't just target
+ # that exception type here, since users of the
+ # `spack ci rebuild' may not need or want any dependency
+ # on boto3. So we use the first non-boto exception type
+ # in the heirarchy:
+ # boto3.exceptions.S3UploadFailedError
+ # boto3.exceptions.Boto3Error
+ # Exception
+ # BaseException
+ # object
+ err_msg = 'Error msg: {0}'.format(inst)
+ if 'Access Denied' in err_msg:
+ tty.msg('Permission problem writing to {0}'.format(
+ mirror_url))
+ tty.msg(err_msg)
def copy_stage_logs_to_artifacts(job_spec, job_log_dir):
diff --git a/lib/spack/spack/ci_needs_workaround.py b/lib/spack/spack/ci_needs_workaround.py
index ba9f7c62af..ff3c621f97 100644
--- a/lib/spack/spack/ci_needs_workaround.py
+++ b/lib/spack/spack/ci_needs_workaround.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/ci_optimization.py b/lib/spack/spack/ci_optimization.py
index c5e69c649c..94528c856a 100644
--- a/lib/spack/spack/ci_optimization.py
+++ b/lib/spack/spack/ci_optimization.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/__init__.py b/lib/spack/spack/cmd/__init__.py
index 130abea4cc..4295ffe6a2 100644
--- a/lib/spack/spack/cmd/__init__.py
+++ b/lib/spack/spack/cmd/__init__.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/activate.py b/lib/spack/spack/cmd/activate.py
index bfca9f5604..a6c27b2f1d 100644
--- a/lib/spack/spack/cmd/activate.py
+++ b/lib/spack/spack/cmd/activate.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/add.py b/lib/spack/spack/cmd/add.py
index 94c8620dbb..ae1a9c9b7e 100644
--- a/lib/spack/spack/cmd/add.py
+++ b/lib/spack/spack/cmd/add.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/arch.py b/lib/spack/spack/cmd/arch.py
index 9751599b10..7435fb1246 100644
--- a/lib/spack/spack/cmd/arch.py
+++ b/lib/spack/spack/cmd/arch.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/blame.py b/lib/spack/spack/cmd/blame.py
index b806058aec..f61ed03b4a 100644
--- a/lib/spack/spack/cmd/blame.py
+++ b/lib/spack/spack/cmd/blame.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/build_env.py b/lib/spack/spack/cmd/build_env.py
index ef8b1f6e6b..fc9f95f5ba 100644
--- a/lib/spack/spack/cmd/build_env.py
+++ b/lib/spack/spack/cmd/build_env.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/buildcache.py b/lib/spack/spack/cmd/buildcache.py
index 025de653c5..f5cb94e7c7 100644
--- a/lib/spack/spack/cmd/buildcache.py
+++ b/lib/spack/spack/cmd/buildcache.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -769,19 +769,14 @@ def buildcache_copy(args):
shutil.copyfile(cdashid_src_path, cdashid_dest_path)
-def buildcache_update_index(args):
- """Update a buildcache index."""
- outdir = '.'
- if args.mirror_url:
- outdir = args.mirror_url
-
- mirror = spack.mirror.MirrorCollection().lookup(outdir)
+def update_index(mirror_url, update_keys=False):
+ mirror = spack.mirror.MirrorCollection().lookup(mirror_url)
outdir = url_util.format(mirror.push_url)
bindist.generate_package_index(
url_util.join(outdir, bindist.build_cache_relative_path()))
- if args.keys:
+ if update_keys:
keys_url = url_util.join(outdir,
bindist.build_cache_relative_path(),
bindist.build_cache_keys_relative_path())
@@ -789,6 +784,15 @@ def buildcache_update_index(args):
bindist.generate_key_index(keys_url)
+def buildcache_update_index(args):
+ """Update a buildcache index."""
+ outdir = '.'
+ if args.mirror_url:
+ outdir = args.mirror_url
+
+ update_index(outdir, update_keys=args.keys)
+
+
def buildcache(parser, args):
if args.func:
args.func(args)
diff --git a/lib/spack/spack/cmd/cd.py b/lib/spack/spack/cmd/cd.py
index cbbe9db04d..f0f3ba9eb3 100644
--- a/lib/spack/spack/cmd/cd.py
+++ b/lib/spack/spack/cmd/cd.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/checksum.py b/lib/spack/spack/cmd/checksum.py
index 188deb1149..937b054c27 100644
--- a/lib/spack/spack/cmd/checksum.py
+++ b/lib/spack/spack/cmd/checksum.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/ci.py b/lib/spack/spack/cmd/ci.py
index 3dd97e53b0..bd42e10238 100644
--- a/lib/spack/spack/cmd/ci.py
+++ b/lib/spack/spack/cmd/ci.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,6 +17,7 @@ import spack.cmd.buildcache as buildcache
import spack.environment as ev
import spack.hash_types as ht
import spack.util.executable as exe
+import spack.util.url as url_util
description = "manage continuous integration pipelines"
@@ -54,6 +55,26 @@ def setup_parser(subparser):
'--dependencies', action='store_true', default=False,
help="(Experimental) disable DAG scheduling; use "
' "plain" dependencies.')
+ prune_group = generate.add_mutually_exclusive_group()
+ prune_group.add_argument(
+ '--prune-dag', action='store_true', dest='prune_dag',
+ default=True, help="""Do not generate jobs for specs already up to
+date on the mirror""")
+ prune_group.add_argument(
+ '--no-prune-dag', action='store_false', dest='prune_dag',
+ default=True, help="""Generate jobs for specs already up to date
+on the mirror""")
+ generate.add_argument(
+ '--check-index-only', action='store_true', dest='index_only',
+ default=False, help="""Spack always check specs against configured
+binary mirrors when generating the pipeline, regardless of whether or not
+DAG pruning is enabled. This flag controls whether it might attempt to
+fetch remote spec.yaml files directly (ensuring no spec is rebuilt if it is
+present on the mirror), or whether it should reduce pipeline generation time
+by assuming all remote buildcache indices are up to date and only use those
+to determine whether a given spec is up to date on mirrors. In the latter
+case, specs might be needlessly rebuilt if remote buildcache indices are out
+of date.""")
generate.set_defaults(func=ci_generate)
# Check a spec against mirror. Rebuild, create buildcache and push to
@@ -61,6 +82,11 @@ def setup_parser(subparser):
rebuild = subparsers.add_parser('rebuild', help=ci_rebuild.__doc__)
rebuild.set_defaults(func=ci_rebuild)
+ # Rebuild the buildcache index associated with the mirror in the
+ # active, gitlab-enabled environment.
+ index = subparsers.add_parser('rebuild-index', help=ci_reindex.__doc__)
+ index.set_defaults(func=ci_reindex)
+
def ci_generate(args):
"""Generate jobs file from a spack environment file containing CI info.
@@ -75,6 +101,8 @@ def ci_generate(args):
copy_yaml_to = args.copy_to
run_optimizer = args.optimize
use_dependencies = args.dependencies
+ prune_dag = args.prune_dag
+ index_only = args.index_only
if not output_file:
output_file = os.path.abspath(".gitlab-ci.yml")
@@ -86,7 +114,8 @@ def ci_generate(args):
# Generate the jobs
spack_ci.generate_gitlab_ci_yaml(
- env, True, output_file, run_optimizer=run_optimizer,
+ env, True, output_file, prune_dag=prune_dag,
+ check_index_only=index_only, run_optimizer=run_optimizer,
use_dependencies=use_dependencies)
if copy_yaml_to:
@@ -131,6 +160,7 @@ def ci_rebuild(args):
# SPACK_SIGNING_KEY
ci_artifact_dir = get_env_var('CI_PROJECT_DIR')
+ ci_pipeline_id = get_env_var('CI_PIPELINE_ID')
signing_key = get_env_var('SPACK_SIGNING_KEY')
root_spec = get_env_var('SPACK_ROOT_SPEC')
job_spec_pkg_name = get_env_var('SPACK_JOB_SPEC_PKG_NAME')
@@ -191,19 +221,28 @@ def ci_rebuild(args):
spack_is_pr_pipeline = True if pr_env_var == 'True' else False
+ pipeline_mirror_url = None
+ temp_storage_url_prefix = None
+ if 'temporary-storage-url-prefix' in gitlab_ci:
+ temp_storage_url_prefix = gitlab_ci['temporary-storage-url-prefix']
+ pipeline_mirror_url = url_util.join(
+ temp_storage_url_prefix, ci_pipeline_id)
+
enable_artifacts_mirror = False
- artifact_mirror_url = None
if 'enable-artifacts-buildcache' in gitlab_ci:
enable_artifacts_mirror = gitlab_ci['enable-artifacts-buildcache']
- if enable_artifacts_mirror or spack_is_pr_pipeline:
- # If this is a PR pipeline, we will override the setting to
- # make sure that artifacts buildcache is enabled. Otherwise
- # jobs will not have binary deps available since we do not
- # allow pushing binaries to remote mirror during PR pipelines
+ if (enable_artifacts_mirror or (spack_is_pr_pipeline and
+ not enable_artifacts_mirror and not temp_storage_url_prefix)):
+ # If you explicitly enabled the artifacts buildcache feature, or
+ # if this is a PR pipeline but you did not enable either of the
+ # per-pipeline temporary storage features, we force the use of
+ # artifacts buildcache. Otherwise jobs will not have binary
+ # dependencies from previous stages available since we do not
+ # allow pushing binaries to the remote mirror during PR pipelines.
enable_artifacts_mirror = True
- artifact_mirror_url = 'file://' + local_mirror_dir
+ pipeline_mirror_url = 'file://' + local_mirror_dir
mirror_msg = 'artifact buildcache enabled, mirror url: {0}'.format(
- artifact_mirror_url)
+ pipeline_mirror_url)
tty.debug(mirror_msg)
# Clean out scratch directory from last stage
@@ -297,8 +336,8 @@ def ci_rebuild(args):
if pr_mirror_url:
add_mirror('ci_pr_mirror', pr_mirror_url)
- if enable_artifacts_mirror:
- add_mirror('ci_artifact_mirror', artifact_mirror_url)
+ if pipeline_mirror_url:
+ add_mirror(spack_ci.TEMP_STORAGE_MIRROR_NAME, pipeline_mirror_url)
tty.debug('listing spack mirrors:')
spack_cmd('mirror', 'list')
@@ -306,8 +345,8 @@ def ci_rebuild(args):
# Checks all mirrors for a built spec with a matching full hash
matches = bindist.get_mirrors_for_spec(
- job_spec, force=False, full_hash_match=True,
- mirrors_to_check=mirrors_to_check)
+ job_spec, full_hash_match=True, mirrors_to_check=mirrors_to_check,
+ index_only=False)
if matches:
# Got at full hash match on at least one configured mirror. All
@@ -374,38 +413,40 @@ def ci_rebuild(args):
else:
buildcache_mirror_url = remote_mirror_url
- try:
- spack_ci.push_mirror_contents(
- env, job_spec, job_spec_yaml_path, buildcache_mirror_url,
- cdash_build_id, sign_binaries)
- except Exception as inst:
- # If the mirror we're pushing to is on S3 and there's some
- # permissions problem, for example, we can't just target
- # that exception type here, since users of the
- # `spack ci rebuild' may not need or want any dependency
- # on boto3. So we use the first non-boto exception type
- # in the heirarchy:
- # boto3.exceptions.S3UploadFailedError
- # boto3.exceptions.Boto3Error
- # Exception
- # BaseException
- # object
- err_msg = 'Error msg: {0}'.format(inst)
- if 'Access Denied' in err_msg:
- tty.msg('Permission problem writing to mirror')
- tty.msg(err_msg)
-
- # Create another copy of that buildcache on "local artifact
- # mirror" (only done if artifacts buildcache is enabled)
- spack_ci.push_mirror_contents(env, job_spec, job_spec_yaml_path,
- artifact_mirror_url, cdash_build_id,
- sign_binaries)
+ # Create buildcache in either the main remote mirror, or in the
+ # per-PR mirror, if this is a PR pipeline
+ spack_ci.push_mirror_contents(
+ env, job_spec, job_spec_yaml_path, buildcache_mirror_url,
+ cdash_build_id, sign_binaries)
+
+ # Create another copy of that buildcache in the per-pipeline
+ # temporary storage mirror (this is only done if either artifacts
+ # buildcache is enabled or a temporary storage url prefix is set)
+ spack_ci.push_mirror_contents(
+ env, job_spec, job_spec_yaml_path, pipeline_mirror_url,
+ cdash_build_id, sign_binaries)
# Relate this build to its dependencies on CDash (if enabled)
if enable_cdash:
spack_ci.relate_cdash_builds(
spec_map, cdash_base_url, cdash_build_id, cdash_project,
- artifact_mirror_url or pr_mirror_url or remote_mirror_url)
+ pipeline_mirror_url or pr_mirror_url or remote_mirror_url)
+
+
+def ci_reindex(args):
+ """Rebuild the buildcache index associated with the mirror in the
+ active, gitlab-enabled environment. """
+ env = ev.get_env(args, 'ci rebuild-index', required=True)
+ yaml_root = ev.config_dict(env.yaml)
+
+ if 'mirrors' not in yaml_root or len(yaml_root['mirrors'].values()) < 1:
+ tty.die('spack ci rebuild-index requires an env containing a mirror')
+
+ ci_mirrors = yaml_root['mirrors']
+ mirror_urls = [url for url in ci_mirrors.values()]
+ remote_mirror_url = mirror_urls[0]
+
+ buildcache.update_index(remote_mirror_url, update_keys=True)
def ci(parser, args):
diff --git a/lib/spack/spack/cmd/clean.py b/lib/spack/spack/cmd/clean.py
index f69b959293..5c7e02c685 100644
--- a/lib/spack/spack/cmd/clean.py
+++ b/lib/spack/spack/cmd/clean.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/clone.py b/lib/spack/spack/cmd/clone.py
index ecf5855dab..0ea9cf7ef1 100644
--- a/lib/spack/spack/cmd/clone.py
+++ b/lib/spack/spack/cmd/clone.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/commands.py b/lib/spack/spack/cmd/commands.py
index be934e0048..e63e162c3f 100644
--- a/lib/spack/spack/cmd/commands.py
+++ b/lib/spack/spack/cmd/commands.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -262,20 +262,7 @@ def _commands(parser, args):
if args.header and not os.path.exists(args.header):
tty.die("No such file: '%s'" % args.header)
- # if we're updating an existing file, only write output if a command
- # or the header is newer than the file.
if args.update:
- if os.path.exists(args.update):
- files = [
- spack.cmd.get_module(command).__file__.rstrip('c') # pyc -> py
- for command in spack.cmd.all_commands()]
- if args.header:
- files.append(args.header)
- last_update = os.path.getmtime(args.update)
- if not any(os.path.getmtime(f) > last_update for f in files):
- tty.msg('File is up to date: %s' % args.update)
- return
-
tty.msg('Updating file: %s' % args.update)
with open(args.update, 'w') as f:
prepend_header(args, f)
diff --git a/lib/spack/spack/cmd/common/__init__.py b/lib/spack/spack/cmd/common/__init__.py
index 35b802db48..7cd8c313e0 100644
--- a/lib/spack/spack/cmd/common/__init__.py
+++ b/lib/spack/spack/cmd/common/__init__.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/common/arguments.py b/lib/spack/spack/cmd/common/arguments.py
index e5c4c0dde8..e6a0edd599 100644
--- a/lib/spack/spack/cmd/common/arguments.py
+++ b/lib/spack/spack/cmd/common/arguments.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -250,8 +250,8 @@ def very_long():
@arg
def tags():
return Args(
- '-t', '--tags', action='append',
- help='filter a package query by tags')
+ '-t', '--tag', action='append', dest='tags', metavar='TAG',
+ help='filter a package query by tag (multiple use allowed)')
@arg
@@ -277,6 +277,13 @@ def no_checksum():
help="do not use checksums to verify downloaded files (unsafe)")
+@arg
+def deprecated():
+ return Args(
+ '--deprecated', action='store_true', default=False,
+ help='fetch deprecated versions without warning')
+
+
def add_cdash_args(subparser, add_help):
cdash_help = {}
if add_help:
diff --git a/lib/spack/spack/cmd/common/env_utility.py b/lib/spack/spack/cmd/common/env_utility.py
index e3f32737b4..6a706b1b87 100644
--- a/lib/spack/spack/cmd/common/env_utility.py
+++ b/lib/spack/spack/cmd/common/env_utility.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/compiler.py b/lib/spack/spack/cmd/compiler.py
index fb9e24ea76..08232022da 100644
--- a/lib/spack/spack/cmd/compiler.py
+++ b/lib/spack/spack/cmd/compiler.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/compilers.py b/lib/spack/spack/cmd/compilers.py
index c29e2257b7..b30b27233f 100644
--- a/lib/spack/spack/cmd/compilers.py
+++ b/lib/spack/spack/cmd/compilers.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/concretize.py b/lib/spack/spack/cmd/concretize.py
index d28f7b4a5d..b94511569b 100644
--- a/lib/spack/spack/cmd/concretize.py
+++ b/lib/spack/spack/cmd/concretize.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/config.py b/lib/spack/spack/cmd/config.py
index 2cd914ef89..81136d7859 100644
--- a/lib/spack/spack/cmd/config.py
+++ b/lib/spack/spack/cmd/config.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/containerize.py b/lib/spack/spack/cmd/containerize.py
index cc2c001560..27ef988f69 100644
--- a/lib/spack/spack/cmd/containerize.py
+++ b/lib/spack/spack/cmd/containerize.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/create.py b/lib/spack/spack/cmd/create.py
index a31b9537b6..71d34a7ebb 100644
--- a/lib/spack/spack/cmd/create.py
+++ b/lib/spack/spack/cmd/create.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -28,7 +28,7 @@ level = "short"
package_template = '''\
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -117,7 +117,7 @@ class PackageTemplate(BundlePackageTemplate):
make()
make('install')"""
- url_line = """ url = \"{url}\""""
+ url_line = ' url = "{url}"'
def __init__(self, name, url, versions):
super(PackageTemplate, self).__init__(name, versions)
@@ -270,14 +270,47 @@ class PythonPackageTemplate(PackageTemplate):
args = []
return args"""
- def __init__(self, name, *args, **kwargs):
+ def __init__(self, name, url, *args, **kwargs):
# If the user provided `--name py-numpy`, don't rename it py-py-numpy
if not name.startswith('py-'):
# Make it more obvious that we are renaming the package
tty.msg("Changing package name from {0} to py-{0}".format(name))
name = 'py-{0}'.format(name)
- super(PythonPackageTemplate, self).__init__(name, *args, **kwargs)
+ # Simple PyPI URLs:
+ # https://<hostname>/packages/<type>/<first character of project>/<project>/<download file>
+ # e.g. https://pypi.io/packages/source/n/numpy/numpy-1.19.4.zip
+ # e.g. https://www.pypi.io/packages/source/n/numpy/numpy-1.19.4.zip
+ # e.g. https://pypi.org/packages/source/n/numpy/numpy-1.19.4.zip
+ # e.g. https://pypi.python.org/packages/source/n/numpy/numpy-1.19.4.zip
+ # e.g. https://files.pythonhosted.org/packages/source/n/numpy/numpy-1.19.4.zip
+
+ # PyPI URLs containing hash:
+ # https://<hostname>/packages/<two character hash>/<two character hash>/<longer hash>/<download file>
+ # e.g. https://pypi.io/packages/c5/63/a48648ebc57711348420670bb074998f79828291f68aebfff1642be212ec/numpy-1.19.4.zip
+ # e.g. https://files.pythonhosted.org/packages/c5/63/a48648ebc57711348420670bb074998f79828291f68aebfff1642be212ec/numpy-1.19.4.zip
+ # e.g. https://files.pythonhosted.org/packages/c5/63/a48648ebc57711348420670bb074998f79828291f68aebfff1642be212ec/numpy-1.19.4.zip#sha256=141ec3a3300ab89c7f2b0775289954d193cc8edb621ea05f99db9cb181530512
+
+ # PyPI URLs for wheels are too complicated, ignore them for now
+
+ match = re.search(
+ r'(?:pypi|pythonhosted)[^/]+/packages' + '/([^/#]+)' * 4,
+ url
+ )
+ if match:
+ if len(match.group(2)) == 1:
+ # Simple PyPI URL
+ url = '/'.join(match.group(3, 4))
+ else:
+ # PyPI URL containing hash
+ # Project name doesn't necessarily match download name, but it
+ # usually does, so this is the best we can do
+ project = parse_name(url)
+ url = '/'.join([project, match.group(4)])
+
+ self.url_line = ' pypi = "{url}"'
+
+ super(PythonPackageTemplate, self).__init__(name, url, *args, **kwargs)
class RPackageTemplate(PackageTemplate):
@@ -289,7 +322,7 @@ class RPackageTemplate(PackageTemplate):
# depends_on('r-foo', type=('build', 'run'))"""
body_def = """\
- def configure_args(self, spec, prefix):
+ def configure_args(self):
# FIXME: Add arguments to pass to install via --configure-args
# FIXME: If not needed delete this function
args = []
@@ -545,7 +578,8 @@ class BuildSystemGuesser:
]
# Peek inside the compressed file.
- if stage.archive_file.endswith('.zip'):
+ if (stage.archive_file.endswith('.zip') or
+ '.zip#' in stage.archive_file):
try:
unzip = which('unzip')
output = unzip('-lq', stage.archive_file, output=str)
diff --git a/lib/spack/spack/cmd/deactivate.py b/lib/spack/spack/cmd/deactivate.py
index 3c72531a9c..0afa4af82b 100644
--- a/lib/spack/spack/cmd/deactivate.py
+++ b/lib/spack/spack/cmd/deactivate.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/debug.py b/lib/spack/spack/cmd/debug.py
index 074e95209a..8580416cba 100644
--- a/lib/spack/spack/cmd/debug.py
+++ b/lib/spack/spack/cmd/debug.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,6 +15,7 @@ import llnl.util.tty as tty
from llnl.util.filesystem import working_dir
import spack.architecture as architecture
+import spack.config
import spack.paths
from spack.main import get_version
from spack.util.executable import which
@@ -89,6 +90,7 @@ def report(args):
print('* **Python:**', platform.python_version())
print('* **Platform:**', architecture.Arch(
architecture.platform(), 'frontend', 'frontend'))
+ print('* **Concretizer:**', spack.config.get('config:concretizer'))
def debug(parser, args):
diff --git a/lib/spack/spack/cmd/dependencies.py b/lib/spack/spack/cmd/dependencies.py
index bbccbe23ee..2f923fece0 100644
--- a/lib/spack/spack/cmd/dependencies.py
+++ b/lib/spack/spack/cmd/dependencies.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/dependents.py b/lib/spack/spack/cmd/dependents.py
index 5563701801..242a07da36 100644
--- a/lib/spack/spack/cmd/dependents.py
+++ b/lib/spack/spack/cmd/dependents.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/deprecate.py b/lib/spack/spack/cmd/deprecate.py
index 6172033fa7..2928a5b264 100644
--- a/lib/spack/spack/cmd/deprecate.py
+++ b/lib/spack/spack/cmd/deprecate.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/dev_build.py b/lib/spack/spack/cmd/dev_build.py
index 429ba07246..2e7c51da42 100644
--- a/lib/spack/spack/cmd/dev_build.py
+++ b/lib/spack/spack/cmd/dev_build.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -26,7 +26,7 @@ def setup_parser(subparser):
subparser.add_argument(
'-i', '--ignore-dependencies', action='store_true', dest='ignore_deps',
help="don't try to install dependencies of requested packages")
- arguments.add_common_arguments(subparser, ['no_checksum'])
+ arguments.add_common_arguments(subparser, ['no_checksum', 'deprecated'])
subparser.add_argument(
'--keep-prefix', action='store_true',
help="do not remove the install prefix if installation fails")
@@ -98,6 +98,9 @@ def dev_build(self, args):
if args.no_checksum:
spack.config.set('config:checksum', False, scope='command_line')
+ if args.deprecated:
+ spack.config.set('config:deprecated', True, scope='command_line')
+
tests = False
if args.test == 'all':
tests = True
diff --git a/lib/spack/spack/cmd/develop.py b/lib/spack/spack/cmd/develop.py
index 957060536d..d2dd8d0049 100644
--- a/lib/spack/spack/cmd/develop.py
+++ b/lib/spack/spack/cmd/develop.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/docs.py b/lib/spack/spack/cmd/docs.py
index a7f2a641ee..ac3a91721e 100644
--- a/lib/spack/spack/cmd/docs.py
+++ b/lib/spack/spack/cmd/docs.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/edit.py b/lib/spack/spack/cmd/edit.py
index e01d50dd03..a277ed519e 100644
--- a/lib/spack/spack/cmd/edit.py
+++ b/lib/spack/spack/cmd/edit.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/env.py b/lib/spack/spack/cmd/env.py
index 4699efd26b..224b74bdeb 100644
--- a/lib/spack/spack/cmd/env.py
+++ b/lib/spack/spack/cmd/env.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/extensions.py b/lib/spack/spack/cmd/extensions.py
index b4fb7faa1f..a57aa031ff 100644
--- a/lib/spack/spack/cmd/extensions.py
+++ b/lib/spack/spack/cmd/extensions.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/external.py b/lib/spack/spack/cmd/external.py
index 52af72ed8f..c7d045e66d 100644
--- a/lib/spack/spack/cmd/external.py
+++ b/lib/spack/spack/cmd/external.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,6 +16,7 @@ import llnl.util.tty.colify as colify
import six
import spack
import spack.cmd
+import spack.cmd.common.arguments
import spack.error
import spack.util.environment
import spack.util.spack_yaml as syaml
@@ -42,6 +43,7 @@ def setup_parser(subparser):
'--scope', choices=scopes, metavar=scopes_metavar,
default=spack.config.default_modify_scope('packages'),
help="configuration scope to modify")
+ spack.cmd.common.arguments.add_common_arguments(find_parser, ['tags'])
find_parser.add_argument('packages', nargs=argparse.REMAINDER)
sp.add_parser(
@@ -148,9 +150,28 @@ def _spec_is_valid(spec):
def external_find(args):
+ # Construct the list of possible packages to be detected
+ packages_to_check = []
+
+ # Add the packages that have been required explicitly
if args.packages:
packages_to_check = list(spack.repo.get(pkg) for pkg in args.packages)
- else:
+ if args.tags:
+ allowed = set(spack.repo.path.packages_with_tags(*args.tags))
+ packages_to_check = [x for x in packages_to_check if x in allowed]
+
+ if args.tags and not packages_to_check:
+ # If we arrived here we didn't have any explicit package passed
+ # as argument, which means to search all packages.
+ # Since tags are cached it's much faster to construct what we need
+ # to search directly, rather than filtering after the fact
+ packages_to_check = [
+ spack.repo.get(pkg) for pkg in
+ spack.repo.path.packages_with_tags(*args.tags)
+ ]
+
+ # If the list of packages is empty, search for every possible package
+ if not args.tags and not packages_to_check:
packages_to_check = spack.repo.path.all_packages()
pkg_to_entries = _get_external_packages(packages_to_check)
diff --git a/lib/spack/spack/cmd/fetch.py b/lib/spack/spack/cmd/fetch.py
index b91eb52ab8..962bcefce6 100644
--- a/lib/spack/spack/cmd/fetch.py
+++ b/lib/spack/spack/cmd/fetch.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,7 +16,7 @@ level = "long"
def setup_parser(subparser):
- arguments.add_common_arguments(subparser, ['no_checksum'])
+ arguments.add_common_arguments(subparser, ['no_checksum', 'deprecated'])
subparser.add_argument(
'-m', '--missing', action='store_true',
help="fetch only missing (not yet installed) dependencies")
@@ -33,6 +33,9 @@ def fetch(parser, args):
if args.no_checksum:
spack.config.set('config:checksum', False, scope='command_line')
+ if args.deprecated:
+ spack.config.set('config:deprecated', True, scope='command_line')
+
specs = spack.cmd.parse_specs(args.specs, concretize=True)
for spec in specs:
if args.missing or args.dependencies:
diff --git a/lib/spack/spack/cmd/find.py b/lib/spack/spack/cmd/find.py
index d9d51b853c..9ed889f928 100644
--- a/lib/spack/spack/cmd/find.py
+++ b/lib/spack/spack/cmd/find.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/flake8.py b/lib/spack/spack/cmd/flake8.py
index cdfce2cab2..7da059ba69 100644
--- a/lib/spack/spack/cmd/flake8.py
+++ b/lib/spack/spack/cmd/flake8.py
@@ -1,321 +1,26 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from __future__ import print_function
-import re
-import os
-import sys
-import shutil
-import tempfile
-import argparse
+import llnl.util.tty as tty
-from llnl.util.filesystem import working_dir, mkdirp
+import spack.cmd.style
-import spack.paths
-from spack.util.executable import which
-
-description = "runs source code style checks on Spack. requires flake8"
-section = "developer"
-level = "long"
-
-
-def is_package(f):
- """Whether flake8 should consider a file as a core file or a package.
-
- We run flake8 with different exceptions for the core and for
- packages, since we allow `from spack import *` and poking globals
- into packages.
- """
- return f.startswith('var/spack/repos/') or 'docs/tutorial/examples' in f
-
-
-#: List of directories to exclude from checks.
-exclude_directories = [spack.paths.external_path]
-
-#: max line length we're enforcing (note: this duplicates what's in .flake8)
-max_line_length = 79
-
-#: This is a dict that maps:
-#: filename pattern ->
-#: flake8 exemption code ->
-#: list of patterns, for which matching lines should have codes applied.
-#:
-#: For each file, if the filename pattern matches, we'll add per-line
-#: exemptions if any patterns in the sub-dict match.
-pattern_exemptions = {
- # exemptions applied only to package.py files.
- r'package.py$': {
- # Allow 'from spack import *' in packages, but no other wildcards
- 'F403': [
- r'^from spack import \*$'
- ],
- # Exempt lines with urls and descriptions from overlong line errors.
- 'E501': [
- r'^\s*homepage\s*=',
- r'^\s*url\s*=',
- r'^\s*git\s*=',
- r'^\s*svn\s*=',
- r'^\s*hg\s*=',
- r'^\s*list_url\s*=',
- r'^\s*version\(',
- r'^\s*variant\(',
- r'^\s*provides\(',
- r'^\s*extends\(',
- r'^\s*depends_on\(',
- r'^\s*conflicts\(',
- r'^\s*resource\(',
- r'^\s*patch\(',
- ],
- # Exempt '@when' decorated functions from redefinition errors.
- 'F811': [
- r'^\s*@when\(.*\)',
- ],
- },
-
- # exemptions applied to all files.
- r'.py$': {
- 'E501': [
- r'(https?|ftp|file)\:', # URLs
- r'([\'"])[0-9a-fA-F]{32,}\1', # long hex checksums
- ]
- },
-}
-
-# compile all regular expressions.
-pattern_exemptions = dict(
- (re.compile(file_pattern),
- dict((code, [re.compile(p) for p in patterns])
- for code, patterns in error_dict.items()))
- for file_pattern, error_dict in pattern_exemptions.items())
-
-
-def changed_files(base=None, untracked=True, all_files=False):
- """Get list of changed files in the Spack repository."""
-
- git = which('git', required=True)
-
- if base is None:
- base = os.environ.get('TRAVIS_BRANCH', 'develop')
-
- range = "{0}...".format(base)
-
- git_args = [
- # Add changed files committed since branching off of develop
- ['diff', '--name-only', '--diff-filter=ACMR', range],
- # Add changed files that have been staged but not yet committed
- ['diff', '--name-only', '--diff-filter=ACMR', '--cached'],
- # Add changed files that are unstaged
- ['diff', '--name-only', '--diff-filter=ACMR'],
- ]
-
- # Add new files that are untracked
- if untracked:
- git_args.append(['ls-files', '--exclude-standard', '--other'])
-
- # add everything if the user asked for it
- if all_files:
- git_args.append(['ls-files', '--exclude-standard'])
-
- excludes = [os.path.realpath(f) for f in exclude_directories]
- changed = set()
-
- for arg_list in git_args:
- files = git(*arg_list, output=str).split('\n')
-
- for f in files:
- # Ignore non-Python files
- if not (f.endswith('.py') or f == 'bin/spack'):
- continue
-
- # Ignore files in the exclude locations
- if any(os.path.realpath(f).startswith(e) for e in excludes):
- continue
-
- changed.add(f)
-
- return sorted(changed)
-
-
-def add_pattern_exemptions(line, codes):
- """Add a flake8 exemption to a line."""
- if line.startswith('#'):
- return line
-
- line = line.rstrip('\n')
-
- # Line is already ignored
- if line.endswith('# noqa'):
- return line + '\n'
-
- orig_len = len(line)
- codes = set(codes)
-
- # don't add E501 unless the line is actually too long, as it can mask
- # other errors like trailing whitespace
- if orig_len <= max_line_length and "E501" in codes:
- codes.remove("E501")
- if not codes:
- return line + "\n"
-
- exemptions = ','.join(sorted(codes))
-
- # append exemption to line
- if '# noqa: ' in line:
- line += ',{0}'.format(exemptions)
- elif line: # ignore noqa on empty lines
- line += ' # noqa: {0}'.format(exemptions)
-
- # if THIS made the line too long, add an exemption for that
- if len(line) > max_line_length and orig_len <= max_line_length:
- line += ',E501'
-
- return line + '\n'
-
-
-def filter_file(source, dest, output=False):
- """Filter a single file through all the patterns in pattern_exemptions."""
-
- # Prior to Python 3.8, `noqa: F811` needed to be placed on the `@when` line
- # Starting with Python 3.8, it must be placed on the `def` line
- # https://gitlab.com/pycqa/flake8/issues/583
- ignore_f811_on_previous_line = False
-
- with open(source) as infile:
- parent = os.path.dirname(dest)
- mkdirp(parent)
-
- with open(dest, 'w') as outfile:
- for line in infile:
- line_errors = []
-
- # pattern exemptions
- for file_pattern, errors in pattern_exemptions.items():
- if not file_pattern.search(source):
- continue
-
- for code, patterns in errors.items():
- for pattern in patterns:
- if pattern.search(line):
- line_errors.append(code)
- break
-
- if 'F811' in line_errors:
- ignore_f811_on_previous_line = True
- elif ignore_f811_on_previous_line:
- line_errors.append('F811')
- ignore_f811_on_previous_line = False
-
- if line_errors:
- line = add_pattern_exemptions(line, line_errors)
-
- outfile.write(line)
- if output:
- sys.stdout.write(line)
+description = "alias for spack style (deprecated)"
+section = spack.cmd.style.section
+level = spack.cmd.style.level
def setup_parser(subparser):
- subparser.add_argument(
- '-b', '--base', action='store', default=None,
- help="select base branch for collecting list of modified files")
- subparser.add_argument(
- '-k', '--keep-temp', action='store_true',
- help="do not delete temporary directory where flake8 runs. "
- "use for debugging, to see filtered files")
- subparser.add_argument(
- '-a', '--all', action='store_true',
- help="check all files, not just changed files")
- subparser.add_argument(
- '-o', '--output', action='store_true',
- help="send filtered files to stdout as well as temp files")
- subparser.add_argument(
- '-r', '--root-relative', action='store_true', default=False,
- help="print root-relative paths (default: cwd-relative)")
- subparser.add_argument(
- '-U', '--no-untracked', dest='untracked', action='store_false',
- default=True, help="exclude untracked files from checks")
- subparser.add_argument(
- 'files', nargs=argparse.REMAINDER, help="specific files to check")
+ spack.cmd.style.setup_parser(subparser)
def flake8(parser, args):
- flake8 = which('flake8', required=True)
-
- temp = tempfile.mkdtemp()
- try:
- file_list = args.files
- if file_list:
- def prefix_relative(path):
- return os.path.relpath(
- os.path.abspath(os.path.realpath(path)),
- spack.paths.prefix)
-
- file_list = [prefix_relative(p) for p in file_list]
-
- with working_dir(spack.paths.prefix):
- if not file_list:
- file_list = changed_files(args.base, args.untracked, args.all)
-
- print('=======================================================')
- print('flake8: running flake8 code checks on spack.')
- print()
- print('Modified files:')
- for filename in file_list:
- print(' {0}'.format(filename.strip()))
- print('=======================================================')
-
- # filter files into a temporary directory with exemptions added.
- for filename in file_list:
- src_path = os.path.join(spack.paths.prefix, filename)
- dest_path = os.path.join(temp, filename)
- filter_file(src_path, dest_path, args.output)
-
- # run flake8 on the temporary tree, once for core, once for pkgs
- package_file_list = [f for f in file_list if is_package(f)]
- file_list = [f for f in file_list if not is_package(f)]
-
- returncode = 0
- with working_dir(temp):
- output = ''
- if file_list:
- output += flake8(
- '--format', 'pylint',
- '--config=%s' % os.path.join(spack.paths.prefix,
- '.flake8'),
- *file_list, fail_on_error=False, output=str)
- returncode |= flake8.returncode
- if package_file_list:
- output += flake8(
- '--format', 'pylint',
- '--config=%s' % os.path.join(spack.paths.prefix,
- '.flake8_packages'),
- *package_file_list, fail_on_error=False, output=str)
- returncode |= flake8.returncode
-
- if args.root_relative:
- # print results relative to repo root.
- print(output)
- else:
- # print results relative to current working directory
- def cwd_relative(path):
- return '{0}: ['.format(os.path.relpath(
- os.path.join(
- spack.paths.prefix, path.group(1)), os.getcwd()))
-
- for line in output.split('\n'):
- print(re.sub(r'^(.*): \[', cwd_relative, line))
-
- if returncode != 0:
- print('Flake8 found errors.')
- sys.exit(1)
- else:
- print('Flake8 checks were clean.')
-
- finally:
- if args.keep_temp:
- print('Temporary files are in: ', temp)
- else:
- shutil.rmtree(temp, ignore_errors=True)
+ tty.warn(
+ "spack flake8 is deprecated", "please use `spack style` to run style checks"
+ )
+ return spack.cmd.style.style(parser, args)
diff --git a/lib/spack/spack/cmd/gc.py b/lib/spack/spack/cmd/gc.py
index ca9d88169a..f85f27bfca 100644
--- a/lib/spack/spack/cmd/gc.py
+++ b/lib/spack/spack/cmd/gc.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/gpg.py b/lib/spack/spack/cmd/gpg.py
index 59fba4a4df..e34c2c4c84 100644
--- a/lib/spack/spack/cmd/gpg.py
+++ b/lib/spack/spack/cmd/gpg.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/graph.py b/lib/spack/spack/cmd/graph.py
index d0fbf8e6c6..3d962a52f8 100644
--- a/lib/spack/spack/cmd/graph.py
+++ b/lib/spack/spack/cmd/graph.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/help.py b/lib/spack/spack/cmd/help.py
index d730d4f0fe..bc289c0363 100644
--- a/lib/spack/spack/cmd/help.py
+++ b/lib/spack/spack/cmd/help.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/info.py b/lib/spack/spack/cmd/info.py
index fa674317ab..6b316f3cc4 100644
--- a/lib/spack/spack/cmd/info.py
+++ b/lib/spack/spack/cmd/info.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -111,7 +111,7 @@ class VariantFormatter(object):
yield ' None'
else:
yield ' ' + self.fmt % self.headers
- underline = tuple([l * "=" for l in self.column_widths])
+ underline = tuple([w * "=" for w in self.column_widths])
yield ' ' + self.fmt % underline
yield ''
for k, v in sorted(self.variants.items()):
@@ -189,10 +189,11 @@ def print_text_info(pkg):
color.cprint(section_title('Safe versions: '))
for v in reversed(sorted(pkg.versions)):
- if pkg.has_code:
- url = fs.for_package_version(pkg, v)
- line = version(' {0}'.format(pad(v))) + color.cescape(url)
- color.cprint(line)
+ if not pkg.versions[v].get('deprecated', False):
+ if pkg.has_code:
+ url = fs.for_package_version(pkg, v)
+ line = version(' {0}'.format(pad(v))) + color.cescape(url)
+ color.cprint(line)
color.cprint('')
color.cprint(section_title('Variants:'))
diff --git a/lib/spack/spack/cmd/install.py b/lib/spack/spack/cmd/install.py
index 8f3902d71c..5e572f82f6 100644
--- a/lib/spack/spack/cmd/install.py
+++ b/lib/spack/spack/cmd/install.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -43,6 +43,7 @@ def update_kwargs_from_args(args, kwargs):
'dirty': args.dirty,
'use_cache': args.use_cache,
'cache_only': args.cache_only,
+ 'include_build_deps': args.include_build_deps,
'explicit': True, # Always true for install command
'stop_at': args.until,
'unsigned': args.unsigned,
@@ -106,6 +107,11 @@ the dependencies"""
help="only install package from binary mirrors")
subparser.add_argument(
+ '--include-build-deps', action='store_true', dest='include_build_deps',
+ default=False, help="""include build deps when installing from cache,
+which is useful for CI pipeline troubleshooting""")
+
+ subparser.add_argument(
'--no-check-signature', action='store_true',
dest='unsigned', default=False,
help="do not check signatures of binary packages")
@@ -120,7 +126,7 @@ remote spec matches that of the local spec""")
subparser.add_argument(
'--source', action='store_true', dest='install_source',
help="install source files in prefix")
- arguments.add_common_arguments(subparser, ['no_checksum'])
+ arguments.add_common_arguments(subparser, ['no_checksum', 'deprecated'])
subparser.add_argument(
'-v', '--verbose', action='store_true',
help="display verbose build output while installing")
@@ -282,6 +288,9 @@ environment variables:
if args.no_checksum:
spack.config.set('config:checksum', False, scope='command_line')
+ if args.deprecated:
+ spack.config.set('config:deprecated', True, scope='command_line')
+
# Parse cli arguments and construct a dictionary
# that will be passed to the package installer
update_kwargs_from_args(args, kwargs)
diff --git a/lib/spack/spack/cmd/license.py b/lib/spack/spack/cmd/license.py
index 84a4a02282..8af0f4fa26 100644
--- a/lib/spack/spack/cmd/license.py
+++ b/lib/spack/spack/cmd/license.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,6 +9,7 @@ import os
import re
from collections import defaultdict
+import llnl.util.filesystem as fs
import llnl.util.tty as tty
import spack.paths
@@ -36,12 +37,14 @@ licensed_files = [
# all of spack core
r'^lib/spack/spack/.*\.py$',
r'^lib/spack/spack/.*\.sh$',
+ r'^lib/spack/spack/.*\.lp$',
r'^lib/spack/llnl/.*\.py$',
r'^lib/spack/env/cc$',
# rst files in documentation
r'^lib/spack/docs/(?!command_index|spack|llnl).*\.rst$',
r'^lib/spack/docs/.*\.py$',
+ r'^lib/spack/docs/spack.yaml$',
# 2 files in external
r'^lib/spack/external/__init__.py$',
@@ -51,7 +54,13 @@ licensed_files = [
r'^share/spack/.*\.sh$',
r'^share/spack/.*\.bash$',
r'^share/spack/.*\.csh$',
+ r'^share/spack/.*\.fish$',
r'^share/spack/qa/run-[^/]*$',
+ r'^share/spack/bash/spack-completion.in$',
+ r'^share/spack/templates/misc/coconcretization.pyt$',
+
+ # action workflows
+ r'^.github/actions/.*\.py$',
# all packages
r'^var/spack/repos/.*/package.py$'
@@ -77,15 +86,15 @@ def _all_spack_files(root=spack.paths.prefix):
visited.add(path)
-def _licensed_files(root=spack.paths.prefix):
- for relpath in _all_spack_files(root):
+def _licensed_files(args):
+ for relpath in _all_spack_files(args.root):
if any(regex.match(relpath) for regex in licensed_files):
yield relpath
def list_files(args):
"""list files in spack that should have license headers"""
- for relpath in sorted(_licensed_files()):
+ for relpath in sorted(_licensed_files(args)):
print(os.path.join(spack.paths.spack_root, relpath))
@@ -93,6 +102,8 @@ def list_files(args):
# bool(value) evaluates to True
OLD_LICENSE, SPDX_MISMATCH, GENERAL_MISMATCH = range(1, 4)
+strict_date = r'Copyright 2013-2021'
+
class LicenseError(object):
def __init__(self):
@@ -118,17 +129,15 @@ class LicenseError(object):
def _check_license(lines, path):
license_lines = [
- r'Copyright 2013-(?:201[789]|202\d) Lawrence Livermore National Security, LLC and other', # noqa: E501
+ r'Copyright 2013-(?:202[01]) Lawrence Livermore National Security, LLC and other', # noqa: E501
r'Spack Project Developers\. See the top-level COPYRIGHT file for details.', # noqa: E501
r'SPDX-License-Identifier: \(Apache-2\.0 OR MIT\)'
]
- strict_date = r'Copyright 2013-2020'
-
found = []
for line in lines:
- line = re.sub(r'^[\s#\.]*', '', line)
+ line = re.sub(r'^[\s#\%\.]*', '', line)
line = line.rstrip()
for i, license_line in enumerate(license_lines):
if re.match(license_line, line):
@@ -175,7 +184,7 @@ def verify(args):
license_errors = LicenseError()
- for relpath in _licensed_files(args.root):
+ for relpath in _licensed_files(args):
path = os.path.join(args.root, relpath)
with open(path) as f:
lines = [line for line in f][:license_lines]
@@ -190,15 +199,28 @@ def verify(args):
tty.msg('No license issues found.')
-def setup_parser(subparser):
- sp = subparser.add_subparsers(metavar='SUBCOMMAND', dest='license_command')
- sp.add_parser('list-files', help=list_files.__doc__)
+def update_copyright_year(args):
+ """update copyright for the current year in all licensed files"""
- verify_parser = sp.add_parser('verify', help=verify.__doc__)
- verify_parser.add_argument(
+ llns_and_other = ' Lawrence Livermore National Security, LLC and other'
+ for filename in _licensed_files(args):
+ fs.filter_file(
+ r'Copyright \d{4}-\d{4}' + llns_and_other,
+ strict_date + llns_and_other,
+ os.path.join(args.root, filename)
+ )
+
+
+def setup_parser(subparser):
+ subparser.add_argument(
'--root', action='store', default=spack.paths.prefix,
help='scan a different prefix for license issues')
+ sp = subparser.add_subparsers(metavar='SUBCOMMAND', dest='license_command')
+ sp.add_parser('list-files', help=list_files.__doc__)
+ sp.add_parser('verify', help=verify.__doc__)
+ sp.add_parser('update-copyright-year', help=update_copyright_year.__doc__)
+
def license(parser, args):
if not git:
@@ -209,5 +231,6 @@ def license(parser, args):
commands = {
'list-files': list_files,
'verify': verify,
+ 'update-copyright-year': update_copyright_year,
}
return commands[args.license_command](args)
diff --git a/lib/spack/spack/cmd/list.py b/lib/spack/spack/cmd/list.py
index a7d4cb0ac3..c00e7a903d 100644
--- a/lib/spack/spack/cmd/list.py
+++ b/lib/spack/spack/cmd/list.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/load.py b/lib/spack/spack/cmd/load.py
index a8f59fef2f..df0d56c444 100644
--- a/lib/spack/spack/cmd/load.py
+++ b/lib/spack/spack/cmd/load.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -63,7 +63,7 @@ def load(parser, args):
specs_str = ' '.join(args.specs) or "SPECS"
spack.cmd.common.shell_init_instructions(
"spack load",
- " eval `spack load {sh_arg}` %s" % specs_str,
+ " eval `spack load {sh_arg} %s`" % specs_str,
)
return 1
diff --git a/lib/spack/spack/cmd/location.py b/lib/spack/spack/cmd/location.py
index 60978fe404..a1f35423ff 100644
--- a/lib/spack/spack/cmd/location.py
+++ b/lib/spack/spack/cmd/location.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/log_parse.py b/lib/spack/spack/cmd/log_parse.py
index faa44a4ef0..4f7fd119c0 100644
--- a/lib/spack/spack/cmd/log_parse.py
+++ b/lib/spack/spack/cmd/log_parse.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/maintainers.py b/lib/spack/spack/cmd/maintainers.py
index a1cf477146..9813103704 100644
--- a/lib/spack/spack/cmd/maintainers.py
+++ b/lib/spack/spack/cmd/maintainers.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/mark.py b/lib/spack/spack/cmd/mark.py
index 85a22b9741..96c041ba72 100644
--- a/lib/spack/spack/cmd/mark.py
+++ b/lib/spack/spack/cmd/mark.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/mirror.py b/lib/spack/spack/cmd/mirror.py
index 2d338204d3..45aba2441a 100644
--- a/lib/spack/spack/cmd/mirror.py
+++ b/lib/spack/spack/cmd/mirror.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -28,7 +28,7 @@ level = "long"
def setup_parser(subparser):
- arguments.add_common_arguments(subparser, ['no_checksum'])
+ arguments.add_common_arguments(subparser, ['no_checksum', 'deprecated'])
sp = subparser.add_subparsers(
metavar='SUBCOMMAND', dest='mirror_command')
@@ -67,6 +67,19 @@ def setup_parser(subparser):
" retrieve all versions of each package")
arguments.add_common_arguments(create_parser, ['specs'])
+ # Destroy
+ destroy_parser = sp.add_parser('destroy', help=mirror_destroy.__doc__)
+
+ destroy_target = destroy_parser.add_mutually_exclusive_group(required=True)
+ destroy_target.add_argument('-m', '--mirror-name',
+ metavar='mirror_name',
+ type=str,
+ help="find mirror to destroy by name")
+ destroy_target.add_argument('--mirror-url',
+ metavar='mirror_url',
+ type=str,
+ help="find mirror to destroy by url")
+
# used to construct scope arguments below
scopes = spack.config.scopes()
scopes_metavar = spack.config.scopes_metavar
@@ -360,8 +373,22 @@ def mirror_create(args):
sys.exit(1)
+def mirror_destroy(args):
+ """Given a url, recursively delete everything under it."""
+ mirror_url = None
+
+ if args.mirror_name:
+ result = spack.mirror.MirrorCollection().lookup(args.mirror_name)
+ mirror_url = result.push_url
+ elif args.mirror_url:
+ mirror_url = args.mirror_url
+
+ web_util.remove_url(mirror_url, recursive=True)
+
+
def mirror(parser, args):
action = {'create': mirror_create,
+ 'destroy': mirror_destroy,
'add': mirror_add,
'remove': mirror_remove,
'rm': mirror_remove,
@@ -371,4 +398,7 @@ def mirror(parser, args):
if args.no_checksum:
spack.config.set('config:checksum', False, scope='command_line')
+ if args.deprecated:
+ spack.config.set('config:deprecated', True, scope='command_line')
+
action[args.mirror_command](args)
diff --git a/lib/spack/spack/cmd/module.py b/lib/spack/spack/cmd/module.py
index f86f3e5f25..c05d31ac40 100644
--- a/lib/spack/spack/cmd/module.py
+++ b/lib/spack/spack/cmd/module.py
@@ -1,9 +1,10 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
import argparse
+from typing import Dict, Callable # novm
import llnl.util.tty as tty
@@ -15,7 +16,7 @@ section = "user environment"
level = "short"
-_subcommands = {}
+_subcommands = {} # type: Dict[str, Callable]
_deprecated_commands = ('refresh', 'find', 'rm', 'loads')
diff --git a/lib/spack/spack/cmd/modules/__init__.py b/lib/spack/spack/cmd/modules/__init__.py
index 7f3dd29ef1..7fbce3bb9d 100644
--- a/lib/spack/spack/cmd/modules/__init__.py
+++ b/lib/spack/spack/cmd/modules/__init__.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/modules/lmod.py b/lib/spack/spack/cmd/modules/lmod.py
index d3610bf333..61f2fc28d8 100644
--- a/lib/spack/spack/cmd/modules/lmod.py
+++ b/lib/spack/spack/cmd/modules/lmod.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/modules/tcl.py b/lib/spack/spack/cmd/modules/tcl.py
index cdde21e821..a9486b9de4 100644
--- a/lib/spack/spack/cmd/modules/tcl.py
+++ b/lib/spack/spack/cmd/modules/tcl.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/patch.py b/lib/spack/spack/cmd/patch.py
index 8f91edb8f1..14739b8d7d 100644
--- a/lib/spack/spack/cmd/patch.py
+++ b/lib/spack/spack/cmd/patch.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,7 +16,8 @@ level = "long"
def setup_parser(subparser):
- arguments.add_common_arguments(subparser, ['no_checksum', 'specs'])
+ arguments.add_common_arguments(
+ subparser, ['no_checksum', 'deprecated', 'specs'])
def patch(parser, args):
@@ -26,6 +27,9 @@ def patch(parser, args):
if args.no_checksum:
spack.config.set('config:checksum', False, scope='command_line')
+ if args.deprecated:
+ spack.config.set('config:deprecated', True, scope='command_line')
+
specs = spack.cmd.parse_specs(args.specs, concretize=True)
for spec in specs:
package = spack.repo.get(spec)
diff --git a/lib/spack/spack/cmd/pkg.py b/lib/spack/spack/cmd/pkg.py
index b988d6a848..f7e3523ff4 100644
--- a/lib/spack/spack/cmd/pkg.py
+++ b/lib/spack/spack/cmd/pkg.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/providers.py b/lib/spack/spack/cmd/providers.py
index 8ca34542eb..5effdacf8c 100644
--- a/lib/spack/spack/cmd/providers.py
+++ b/lib/spack/spack/cmd/providers.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/pydoc.py b/lib/spack/spack/cmd/pydoc.py
index 1f81718e38..6e834932d0 100644
--- a/lib/spack/spack/cmd/pydoc.py
+++ b/lib/spack/spack/cmd/pydoc.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/python.py b/lib/spack/spack/cmd/python.py
index 019e0cf27e..588ddce853 100644
--- a/lib/spack/spack/cmd/python.py
+++ b/lib/spack/spack/cmd/python.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -28,6 +28,9 @@ def setup_parser(subparser):
subparser.add_argument(
'-c', dest='python_command', help='command to execute')
subparser.add_argument(
+ '-i', dest='python_interpreter', help='python interpreter',
+ choices=['python', 'ipython'], default='python')
+ subparser.add_argument(
'-m', dest='module', action='store',
help='run library module as a script')
subparser.add_argument(
@@ -48,24 +51,63 @@ def python(parser, args, unknown_args):
if unknown_args:
tty.die("Unknown arguments:", " ".join(unknown_args))
+ # Unexpected behavior from supplying both
+ if args.python_command and args.python_args:
+ tty.die("You can only specify a command OR script, but not both.")
+
+ # Run user choice of interpreter
+ if args.python_interpreter == "ipython":
+ return spack.cmd.python.ipython_interpreter(args)
+ return spack.cmd.python.python_interpreter(args)
+
+
+def ipython_interpreter(args):
+ """An ipython interpreter is intended to be interactive, so it doesn't
+ support running a script or arguments
+ """
+ try:
+ import IPython
+ except ImportError:
+ tty.die("ipython is not installed, install and try again.")
+
+ if "PYTHONSTARTUP" in os.environ:
+ startup_file = os.environ["PYTHONSTARTUP"]
+ if os.path.isfile(startup_file):
+ with open(startup_file) as startup:
+ exec(startup.read())
+
+ # IPython can also support running a script OR command, not both
+ if args.python_args:
+ IPython.start_ipython(argv=args.python_args)
+ elif args.python_command:
+ IPython.start_ipython(argv=['-c', args.python_command])
+ else:
+ header = ("Spack version %s\nPython %s, %s %s"
+ % (spack.spack_version, platform.python_version(),
+ platform.system(), platform.machine()))
+
+ __name__ = "__main__" # noqa
+ IPython.embed(module="__main__", header=header)
+
+
+def python_interpreter(args):
+ """A python interpreter is the default interpreter
+ """
# Fake a main python shell by setting __name__ to __main__.
console = code.InteractiveConsole({'__name__': '__main__',
'spack': spack})
-
if "PYTHONSTARTUP" in os.environ:
startup_file = os.environ["PYTHONSTARTUP"]
if os.path.isfile(startup_file):
with open(startup_file) as startup:
console.runsource(startup.read(), startup_file, 'exec')
- python_args = args.python_args
- python_command = args.python_command
- if python_command:
- console.runsource(python_command)
- elif python_args:
- sys.argv = python_args
- with open(python_args[0]) as file:
- console.runsource(file.read(), python_args[0], 'exec')
+ if args.python_command:
+ console.runsource(args.python_command)
+ elif args.python_args:
+ sys.argv = args.python_args
+ with open(args.python_args[0]) as file:
+ console.runsource(file.read(), args.python_args[0], 'exec')
else:
# Provides readline support, allowing user to use arrow keys
console.push('import readline')
diff --git a/lib/spack/spack/cmd/reindex.py b/lib/spack/spack/cmd/reindex.py
index b9f3a2ac3b..1ff5488f5b 100644
--- a/lib/spack/spack/cmd/reindex.py
+++ b/lib/spack/spack/cmd/reindex.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/remove.py b/lib/spack/spack/cmd/remove.py
index ef01052c29..376d73b687 100644
--- a/lib/spack/spack/cmd/remove.py
+++ b/lib/spack/spack/cmd/remove.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/repo.py b/lib/spack/spack/cmd/repo.py
index f271790994..3930a03d0f 100644
--- a/lib/spack/spack/cmd/repo.py
+++ b/lib/spack/spack/cmd/repo.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/resource.py b/lib/spack/spack/cmd/resource.py
index 0d26c39ab8..ed9e7982fa 100644
--- a/lib/spack/spack/cmd/resource.py
+++ b/lib/spack/spack/cmd/resource.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/restage.py b/lib/spack/spack/cmd/restage.py
index 0f55884bfe..b0582498d6 100644
--- a/lib/spack/spack/cmd/restage.py
+++ b/lib/spack/spack/cmd/restage.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/setup.py b/lib/spack/spack/cmd/setup.py
deleted file mode 100644
index 45919893cc..0000000000
--- a/lib/spack/spack/cmd/setup.py
+++ /dev/null
@@ -1,163 +0,0 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
-# Spack Project Developers. See the top-level COPYRIGHT file for details.
-#
-# SPDX-License-Identifier: (Apache-2.0 OR MIT)
-
-import argparse
-import copy
-import os
-import sys
-
-import llnl.util.tty as tty
-from llnl.util.filesystem import set_executable
-
-import spack.repo
-import spack.store
-import spack.build_systems.cmake
-import spack.cmd
-import spack.cmd.install as install
-import spack.cmd.common.arguments as arguments
-from spack.util.executable import which
-
-from spack.stage import DIYStage
-
-description = "create a configuration script and module, but don't build"
-section = "build"
-level = "long"
-
-
-def setup_parser(subparser):
- subparser.add_argument(
- '-i', '--ignore-dependencies', action='store_true', dest='ignore_deps',
- help="do not try to install dependencies of requested packages")
- arguments.add_common_arguments(subparser, ['no_checksum', 'spec'])
- subparser.add_argument(
- '-v', '--verbose', action='store_true', dest='verbose',
- help="display verbose build output while installing")
-
- cd_group = subparser.add_mutually_exclusive_group()
- arguments.add_common_arguments(cd_group, ['clean', 'dirty'])
- subparser.epilog = 'DEPRECATED: use `spack dev-build` instead'
-
-
-def write_spconfig(package, dirty):
- # Set-up the environment
- spack.build_environment.setup_package(package, dirty)
-
- cmd = [str(which('cmake'))] + package.std_cmake_args + package.cmake_args()
-
- env = dict()
-
- paths = os.environ['PATH'].split(':')
- paths = [item for item in paths if 'spack/env' not in item]
- env['PATH'] = ':'.join(paths)
- env['CMAKE_PREFIX_PATH'] = os.environ['CMAKE_PREFIX_PATH']
- env['SPACK_INCLUDE_DIRS'] = os.environ['SPACK_INCLUDE_DIRS']
- env['CC'] = os.environ['SPACK_CC']
- env['CXX'] = os.environ['SPACK_CXX']
- env['FC'] = os.environ['SPACK_FC']
-
- setup_fname = 'spconfig.py'
- with open(setup_fname, 'w') as fout:
- fout.write(
- r"""#!%s
-#
-
-import sys
-import os
-import subprocess
-
-def cmdlist(str):
- return list(x.strip().replace("'",'') for x in str.split('\n') if x)
-env = dict(os.environ)
-""" % sys.executable)
-
- env_vars = sorted(list(env.keys()))
- for name in env_vars:
- val = env[name]
- if name.find('PATH') < 0:
- fout.write('env[%s] = %s\n' % (repr(name), repr(val)))
- else:
- if name == 'SPACK_INCLUDE_DIRS':
- sep = ';'
- else:
- sep = ':'
-
- fout.write(
- 'env[%s] = "%s".join(cmdlist("""\n' % (repr(name), sep))
- for part in val.split(sep):
- fout.write(' %s\n' % part)
- fout.write('"""))\n')
-
- fout.write('\ncmd = cmdlist("""\n')
- fout.write('%s\n' % cmd[0])
- for arg in cmd[1:]:
- fout.write(' %s\n' % arg)
- fout.write('""") + sys.argv[1:]\n')
- fout.write('\nproc = subprocess.Popen(cmd, env=env)\nproc.wait()\n')
- set_executable(setup_fname)
-
-
-def setup(self, args):
- tty.warn('DEPRECATED: use `spack dev-build` instead')
-
- if not args.spec:
- tty.die("spack setup requires a package spec argument.")
-
- specs = spack.cmd.parse_specs(args.spec)
- if len(specs) > 1:
- tty.die("spack setup only takes one spec.")
-
- # Take a write lock before checking for existence.
- with spack.store.db.write_transaction():
- spec = specs[0]
- if not spack.repo.path.exists(spec.name):
- tty.die("No package for '{0}' was found.".format(spec.name),
- " Use `spack create` to create a new package")
- if not spec.versions.concrete:
- tty.die(
- "spack setup spec must have a single, concrete version. "
- "Did you forget a package version number?")
-
- spec.concretize()
- package = spack.repo.get(spec)
- if not isinstance(package, spack.build_systems.cmake.CMakePackage):
- tty.die(
- 'Support for {0} derived packages not yet implemented'.format(
- package.build_system_class))
-
- # It's OK if the package is already installed.
-
- # Forces the build to run out of the current directory.
- package.stage = DIYStage(os.getcwd())
-
- # disable checksumming if requested
- if args.no_checksum:
- spack.config.set('config:checksum', False, scope='command_line')
-
- # Install dependencies if requested to do so
- if not args.ignore_deps:
- parser = argparse.ArgumentParser()
- install.setup_parser(parser)
- inst_args = copy.deepcopy(args)
- inst_args = parser.parse_args(
- ['--only=dependencies'] + args.spec,
- namespace=inst_args
- )
- install.install(parser, inst_args)
-
- # Generate spconfig.py
- tty.msg(
- 'Generating spconfig.py [{0}]'.format(package.spec.cshort_spec)
- )
- dirty = args.dirty
- write_spconfig(package, dirty)
-
- # Install this package to register it in the DB and permit
- # module file regeneration
- inst_args = copy.deepcopy(args)
- inst_args = parser.parse_args(
- ['--only=package', '--fake'] + args.spec,
- namespace=inst_args
- )
- install.install(parser, inst_args)
diff --git a/lib/spack/spack/cmd/solve.py b/lib/spack/spack/cmd/solve.py
index ff6ab4e676..64219b300f 100644
--- a/lib/spack/spack/cmd/solve.py
+++ b/lib/spack/spack/cmd/solve.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/spec.py b/lib/spack/spack/cmd/spec.py
index cbfd58ec1a..8b4e9e5276 100644
--- a/lib/spack/spack/cmd/spec.py
+++ b/lib/spack/spack/cmd/spec.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/stage.py b/lib/spack/spack/cmd/stage.py
index 1acefb723c..62073f10bd 100644
--- a/lib/spack/spack/cmd/stage.py
+++ b/lib/spack/spack/cmd/stage.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,7 +16,8 @@ level = "long"
def setup_parser(subparser):
- arguments.add_common_arguments(subparser, ['no_checksum', 'specs'])
+ arguments.add_common_arguments(
+ subparser, ['no_checksum', 'deprecated', 'specs'])
subparser.add_argument(
'-p', '--path', dest='path',
help="path to stage package, does not add to spack tree")
@@ -37,6 +38,9 @@ def stage(parser, args):
if args.no_checksum:
spack.config.set('config:checksum', False, scope='command_line')
+ if args.deprecated:
+ spack.config.set('config:deprecated', True, scope='command_line')
+
specs = spack.cmd.parse_specs(args.specs, concretize=True)
for spec in specs:
package = spack.repo.get(spec)
diff --git a/lib/spack/spack/cmd/style.py b/lib/spack/spack/cmd/style.py
new file mode 100644
index 0000000000..c35c07a8f2
--- /dev/null
+++ b/lib/spack/spack/cmd/style.py
@@ -0,0 +1,320 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from __future__ import print_function
+
+import re
+import os
+import sys
+import argparse
+
+from llnl.util.filesystem import working_dir
+import llnl.util.tty as tty
+
+import spack.paths
+from spack.util.executable import which
+
+if sys.version_info < (3, 0):
+ from itertools import izip_longest # novm
+
+ zip_longest = izip_longest
+else:
+ from itertools import zip_longest # novm
+
+
+description = (
+ "runs source code style checks on Spack. Requires flake8, mypy, black for "
+ + "their respective checks"
+)
+section = "developer"
+level = "long"
+
+
+def grouper(iterable, n, fillvalue=None):
+ "Collect data into fixed-length chunks or blocks"
+ # grouper('ABCDEFG', 3, 'x') --> ABC DEF Gxx"
+ args = [iter(iterable)] * n
+ return zip_longest(*args, fillvalue=fillvalue)
+
+
+#: List of directories to exclude from checks.
+exclude_directories = [spack.paths.external_path]
+
+#: max line length we're enforcing (note: this duplicates what's in .flake8)
+max_line_length = 79
+
+
+def is_package(f):
+ """Whether flake8 should consider a file as a core file or a package.
+
+ We run flake8 with different exceptions for the core and for
+ packages, since we allow `from spack import *` and poking globals
+ into packages.
+ """
+ return f.startswith("var/spack/repos/") or "docs/tutorial/examples" in f
+
+
+def changed_files(base=None, untracked=True, all_files=False):
+ """Get list of changed files in the Spack repository."""
+
+ git = which("git", required=True)
+
+ if base is None:
+ base = os.environ.get("TRAVIS_BRANCH", "develop")
+
+ range = "{0}...".format(base)
+
+ git_args = [
+ # Add changed files committed since branching off of develop
+ ["diff", "--name-only", "--diff-filter=ACMR", range],
+ # Add changed files that have been staged but not yet committed
+ ["diff", "--name-only", "--diff-filter=ACMR", "--cached"],
+ # Add changed files that are unstaged
+ ["diff", "--name-only", "--diff-filter=ACMR"],
+ ]
+
+ # Add new files that are untracked
+ if untracked:
+ git_args.append(["ls-files", "--exclude-standard", "--other"])
+
+ # add everything if the user asked for it
+ if all_files:
+ git_args.append(["ls-files", "--exclude-standard"])
+
+ excludes = [os.path.realpath(f) for f in exclude_directories]
+ changed = set()
+
+ for arg_list in git_args:
+ files = git(*arg_list, output=str).split("\n")
+
+ for f in files:
+ # Ignore non-Python files
+ if not (f.endswith(".py") or f == "bin/spack"):
+ continue
+
+ # Ignore files in the exclude locations
+ if any(os.path.realpath(f).startswith(e) for e in excludes):
+ continue
+
+ changed.add(f)
+
+ return sorted(changed)
+
+
+def setup_parser(subparser):
+ subparser.add_argument(
+ "-b",
+ "--base",
+ action="store",
+ default=None,
+ help="select base branch for collecting list of modified files",
+ )
+ subparser.add_argument(
+ "-a",
+ "--all",
+ action="store_true",
+ help="check all files, not just changed files",
+ )
+ subparser.add_argument(
+ "-o",
+ "--output",
+ action="store_true",
+ help="send filtered files to stdout as well as temp files",
+ )
+ subparser.add_argument(
+ "-r",
+ "--root-relative",
+ action="store_true",
+ default=False,
+ help="print root-relative paths (default: cwd-relative)",
+ )
+ subparser.add_argument(
+ "-U",
+ "--no-untracked",
+ dest="untracked",
+ action="store_false",
+ default=True,
+ help="exclude untracked files from checks",
+ )
+ subparser.add_argument(
+ "--no-flake8",
+ dest="flake8",
+ action="store_false",
+ help="Do not run flake8, default is run flake8",
+ )
+ subparser.add_argument(
+ "--no-mypy",
+ dest="mypy",
+ action="store_false",
+ help="Do not run mypy, default is run mypy if available",
+ )
+ subparser.add_argument(
+ "--black",
+ dest="black",
+ action="store_true",
+ help="Run black checks, default is skip",
+ )
+ subparser.add_argument(
+ "files", nargs=argparse.REMAINDER, help="specific files to check"
+ )
+
+
+def rewrite_and_print_output(
+ output, args, re_obj=re.compile(r"^(.+):([0-9]+):"), replacement=r"{0}:{1}:"
+):
+ """rewrite ouput with <file>:<line>: format to respect path args"""
+ if args.root_relative or re_obj is None:
+ # print results relative to repo root.
+ print(output)
+ else:
+ # print results relative to current working directory
+ def cwd_relative(path):
+ return replacement.format(
+ os.path.relpath(
+ os.path.join(spack.paths.prefix, path.group(1)), os.getcwd()
+ ),
+ *list(path.groups()[1:])
+ )
+
+ for line in output.split("\n"):
+ if not line:
+ continue
+ print(re_obj.sub(cwd_relative, line))
+
+
+def print_style_header(file_list, args):
+ tty.msg("style: running code checks on spack.")
+ tools = []
+ if args.flake8:
+ tools.append("flake8")
+ if args.mypy:
+ tools.append("mypy")
+ if args.black:
+ tools.append("black")
+ tty.msg("style: tools selected: " + ", ".join(tools))
+ tty.msg("Modified files:", *[filename.strip() for filename in file_list])
+ sys.stdout.flush()
+
+
+def print_tool_header(tool):
+ sys.stdout.flush()
+ tty.msg("style: running %s checks on spack." % tool)
+ sys.stdout.flush()
+
+
+def run_flake8(file_list, args):
+ returncode = 0
+ print_tool_header("flake8")
+ flake8_cmd = which("flake8", required=True)
+
+ output = ""
+ # run in chunks of 100 at a time to avoid line length limit
+ # filename parameter in config *does not work* for this reliably
+ for chunk in grouper(file_list, 100):
+ chunk = filter(lambda e: e is not None, chunk)
+
+ output = flake8_cmd(
+ # use .flake8 implicitly to work around bug in flake8 upstream
+ # append-config is ignored if `--config` is explicitly listed
+ # see: https://gitlab.com/pycqa/flake8/-/issues/455
+ # "--config=.flake8",
+ *chunk,
+ fail_on_error=False,
+ output=str
+ )
+ returncode |= flake8_cmd.returncode
+
+ rewrite_and_print_output(output, args)
+
+ if returncode == 0:
+ tty.msg("Flake8 style checks were clean")
+ else:
+ tty.error("Flake8 style checks found errors")
+ return returncode
+
+
+def run_mypy(file_list, args):
+ mypy_cmd = which("mypy")
+ if mypy_cmd is None:
+ tty.error("style: mypy is not available in path, skipping")
+ return 1
+
+ print_tool_header("mypy")
+ mpy_args = ["--package", "spack", "--package", "llnl"]
+ # not yet, need other updates to enable this
+ # if any([is_package(f) for f in file_list]):
+ # mpy_args.extend(["--package", "packages"])
+
+ output = mypy_cmd(*mpy_args, fail_on_error=False, output=str)
+ returncode = mypy_cmd.returncode
+
+ rewrite_and_print_output(output, args)
+
+ if returncode == 0:
+ tty.msg("mypy checks were clean")
+ else:
+ tty.error("mypy checks found errors")
+ return returncode
+
+
+def run_black(file_list, args):
+ black_cmd = which("black")
+ if black_cmd is None:
+ tty.error("style: black is not available in path, skipping")
+ return 1
+
+ print_tool_header("black")
+
+ pat = re.compile("would reformat +(.*)")
+ replacement = "would reformat {0}"
+ returncode = 0
+ output = ""
+ # run in chunks of 100 at a time to avoid line length limit
+ # filename parameter in config *does not work* for this reliably
+ for chunk in grouper(file_list, 100):
+ chunk = filter(lambda e: e is not None, chunk)
+
+ output = black_cmd(
+ "--check", "--diff", *chunk, fail_on_error=False, output=str, error=str
+ )
+ returncode |= black_cmd.returncode
+
+ rewrite_and_print_output(output, args, pat, replacement)
+
+ if returncode == 0:
+ tty.msg("black style checks were clean")
+ else:
+ tty.error("black checks found errors")
+ return returncode
+
+
+def style(parser, args):
+ file_list = args.files
+ if file_list:
+
+ def prefix_relative(path):
+ return os.path.relpath(
+ os.path.abspath(os.path.realpath(path)), spack.paths.prefix
+ )
+
+ file_list = [prefix_relative(p) for p in file_list]
+
+ returncode = 0
+ with working_dir(spack.paths.prefix):
+ if not file_list:
+ file_list = changed_files(args.base, args.untracked, args.all)
+ print_style_header(file_list, args)
+ if args.flake8:
+ returncode = run_flake8(file_list, args)
+ if args.mypy:
+ returncode |= run_mypy(file_list, args)
+ if args.black:
+ returncode |= run_black(file_list, args)
+
+ if returncode != 0:
+ print("spack style found errors.")
+ sys.exit(1)
+ else:
+ print("spack style checks were clean.")
diff --git a/lib/spack/spack/cmd/test.py b/lib/spack/spack/cmd/test.py
index d164e26334..e1aedabb81 100644
--- a/lib/spack/spack/cmd/test.py
+++ b/lib/spack/spack/cmd/test.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/test_env.py b/lib/spack/spack/cmd/test_env.py
index a0f54d482f..3d3827a7da 100644
--- a/lib/spack/spack/cmd/test_env.py
+++ b/lib/spack/spack/cmd/test_env.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/tutorial.py b/lib/spack/spack/cmd/tutorial.py
index 2a32242c2d..fb51e27036 100644
--- a/lib/spack/spack/cmd/tutorial.py
+++ b/lib/spack/spack/cmd/tutorial.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/undevelop.py b/lib/spack/spack/cmd/undevelop.py
index 6319b88e06..09fe558d56 100644
--- a/lib/spack/spack/cmd/undevelop.py
+++ b/lib/spack/spack/cmd/undevelop.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/uninstall.py b/lib/spack/spack/cmd/uninstall.py
index e541eaf91b..2a9e6b00b7 100644
--- a/lib/spack/spack/cmd/uninstall.py
+++ b/lib/spack/spack/cmd/uninstall.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/unit_test.py b/lib/spack/spack/cmd/unit_test.py
index 509211de04..c290bc8572 100644
--- a/lib/spack/spack/cmd/unit_test.py
+++ b/lib/spack/spack/cmd/unit_test.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -146,7 +146,7 @@ def add_back_pytest_args(args, unknown_args):
def unit_test(parser, args, unknown_args):
if args.pytest_help:
# make the pytest.main help output more accurate
- sys.argv[0] = 'spack test'
+ sys.argv[0] = 'spack unit-test'
return pytest.main(['-h'])
# add back any parsed pytest args we need to pass to pytest
diff --git a/lib/spack/spack/cmd/unload.py b/lib/spack/spack/cmd/unload.py
index 8494453489..c854466e05 100644
--- a/lib/spack/spack/cmd/unload.py
+++ b/lib/spack/spack/cmd/unload.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/url.py b/lib/spack/spack/cmd/url.py
index db8f358887..e5dde5e9c7 100644
--- a/lib/spack/spack/cmd/url.py
+++ b/lib/spack/spack/cmd/url.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/verify.py b/lib/spack/spack/cmd/verify.py
index b20d795ce5..6e7ff0f3bd 100644
--- a/lib/spack/spack/cmd/verify.py
+++ b/lib/spack/spack/cmd/verify.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/cmd/versions.py b/lib/spack/spack/cmd/versions.py
index 366307f0b2..c124ed37bc 100644
--- a/lib/spack/spack/cmd/versions.py
+++ b/lib/spack/spack/cmd/versions.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,6 +12,7 @@ import llnl.util.tty as tty
import spack.cmd.common.arguments as arguments
import spack.repo
+from spack.version import VersionList, ver
description = "list available versions of a package"
section = "packaging"
@@ -19,8 +20,17 @@ level = "long"
def setup_parser(subparser):
- subparser.add_argument('-s', '--safe-only', action='store_true',
- help='only list safe versions of the package')
+ output = subparser.add_mutually_exclusive_group()
+ output.add_argument('-s', '--safe', action='store_true',
+ help='only list safe versions of the package')
+ output.add_argument('--safe-only', action='store_true',
+ help='[deprecated] only list safe versions '
+ 'of the package')
+ output.add_argument('-r', '--remote', action='store_true',
+ help='only list remote versions of the package')
+ output.add_argument('-n', '--new', action='store_true',
+ help='only list remote versions newer than '
+ 'the latest checksummed version')
subparser.add_argument(
'-c', '--concurrency', default=32, type=int,
help='number of concurrent requests'
@@ -31,26 +41,38 @@ def setup_parser(subparser):
def versions(parser, args):
pkg = spack.repo.get(args.package)
- if sys.stdout.isatty():
- tty.msg('Safe versions (already checksummed):')
-
safe_versions = pkg.versions
- if not safe_versions:
+ if args.safe_only:
+ tty.warn('"--safe-only" is deprecated. Use "--safe" instead.')
+ args.safe = args.safe_only
+
+ if not (args.remote or args.new):
if sys.stdout.isatty():
- tty.warn('Found no versions for {0}'.format(pkg.name))
- tty.debug('Manually add versions to the package.')
- else:
- colify(sorted(safe_versions, reverse=True), indent=2)
+ tty.msg('Safe versions (already checksummed):')
- if args.safe_only:
- return
+ if not safe_versions:
+ if sys.stdout.isatty():
+ tty.warn('Found no versions for {0}'.format(pkg.name))
+ tty.debug('Manually add versions to the package.')
+ else:
+ colify(sorted(safe_versions, reverse=True), indent=2)
- if sys.stdout.isatty():
- tty.msg('Remote versions (not yet checksummed):')
+ if args.safe:
+ return
fetched_versions = pkg.fetch_remote_versions(args.concurrency)
- remote_versions = set(fetched_versions).difference(safe_versions)
+
+ if args.new:
+ if sys.stdout.isatty():
+ tty.msg('New remote versions (not yet checksummed):')
+ highest_safe_version = VersionList(safe_versions).highest_numeric()
+ remote_versions = set([ver(v) for v in set(fetched_versions)
+ if v > highest_safe_version])
+ else:
+ if sys.stdout.isatty():
+ tty.msg('Remote versions (not yet checksummed):')
+ remote_versions = set(fetched_versions).difference(safe_versions)
if not remote_versions:
if sys.stdout.isatty():
diff --git a/lib/spack/spack/cmd/view.py b/lib/spack/spack/cmd/view.py
index 151f6c1564..ec8003bbf7 100644
--- a/lib/spack/spack/cmd/view.py
+++ b/lib/spack/spack/cmd/view.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/compiler.py b/lib/spack/spack/compiler.py
index d498803633..f6c7e98ff0 100644
--- a/lib/spack/spack/compiler.py
+++ b/lib/spack/spack/compiler.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,6 +10,7 @@ import re
import itertools
import shutil
import tempfile
+from typing import Sequence, List # novm
import llnl.util.lang
from llnl.util.filesystem import (
@@ -190,20 +191,20 @@ class Compiler(object):
and how to identify the particular type of compiler."""
# Subclasses use possible names of C compiler
- cc_names = []
+ cc_names = [] # type: List[str]
# Subclasses use possible names of C++ compiler
- cxx_names = []
+ cxx_names = [] # type: List[str]
# Subclasses use possible names of Fortran 77 compiler
- f77_names = []
+ f77_names = [] # type: List[str]
# Subclasses use possible names of Fortran 90 compiler
- fc_names = []
+ fc_names = [] # type: List[str]
# Optional prefix regexes for searching for this type of compiler.
# Prefixes are sometimes used for toolchains
- prefixes = []
+ prefixes = [] # type: List[str]
# Optional suffix regexes for searching for this type of compiler.
# Suffixes are used by some frameworks, e.g. macports uses an '-mp-X.Y'
@@ -214,7 +215,7 @@ class Compiler(object):
version_argument = '-dumpversion'
#: Return values to ignore when invoking the compiler to get its version
- ignore_version_errors = ()
+ ignore_version_errors = () # type: Sequence[int]
#: Regex used to extract version from compiler's output
version_regex = '(.*)'
@@ -266,9 +267,9 @@ class Compiler(object):
return ['-O', '-O0', '-O1', '-O2', '-O3']
# Cray PrgEnv name that can be used to load this compiler
- PrgEnv = None
+ PrgEnv = None # type: str
# Name of module used to switch versions of this compiler
- PrgEnv_compiler = None
+ PrgEnv_compiler = None # type: str
def __init__(self, cspec, operating_system, target,
paths, modules=None, alias=None, environment=None,
diff --git a/lib/spack/spack/compilers/__init__.py b/lib/spack/spack/compilers/__init__.py
index 3c1f9ffa44..83503f09ed 100644
--- a/lib/spack/spack/compilers/__init__.py
+++ b/lib/spack/spack/compilers/__init__.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,6 +11,7 @@ import itertools
import multiprocessing.pool
import os
import six
+from typing import Dict # novm
import llnl.util.lang
import llnl.util.filesystem as fs
@@ -21,6 +22,7 @@ import spack.paths
import spack.error
import spack.spec
import spack.config
+import spack.compiler
import spack.architecture
import spack.util.imp as simp
from spack.util.environment import get_path
@@ -36,7 +38,7 @@ _cache_config_file = []
# TODO: Caches at module level make it difficult to mock configurations in
# TODO: unit tests. It might be worth reworking their implementation.
#: cache of compilers constructed from config data, keyed by config entry id.
-_compiler_cache = {}
+_compiler_cache = {} # type: Dict[str, spack.compiler.Compiler]
_compiler_to_pkg = {
'clang': 'llvm+clang',
diff --git a/lib/spack/spack/compilers/aocc.py b/lib/spack/spack/compilers/aocc.py
index 5c9e885490..725767b212 100644
--- a/lib/spack/spack/compilers/aocc.py
+++ b/lib/spack/spack/compilers/aocc.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -114,3 +114,7 @@ class Aocc(Compiler):
@classmethod
def f77_version(cls, f77):
return cls.fc_version(f77)
+
+ @property
+ def stdcxx_libs(self):
+ return ('-lstdc++', )
diff --git a/lib/spack/spack/compilers/apple_clang.py b/lib/spack/spack/compilers/apple_clang.py
index e03117ae05..372a677a47 100644
--- a/lib/spack/spack/compilers/apple_clang.py
+++ b/lib/spack/spack/compilers/apple_clang.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/compilers/arm.py b/lib/spack/spack/compilers/arm.py
index 59eb1714b8..4c59d89210 100644
--- a/lib/spack/spack/compilers/arm.py
+++ b/lib/spack/spack/compilers/arm.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/compilers/cce.py b/lib/spack/spack/compilers/cce.py
index a325bf3a45..9c90690808 100644
--- a/lib/spack/spack/compilers/cce.py
+++ b/lib/spack/spack/compilers/cce.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/compilers/clang.py b/lib/spack/spack/compilers/clang.py
index 5eb08cbf0a..d2dc3db192 100644
--- a/lib/spack/spack/compilers/clang.py
+++ b/lib/spack/spack/compilers/clang.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -159,11 +159,11 @@ class Clang(Compiler):
match = re.search(
# Normal clang compiler versions are left as-is
- r'clang version ([^ )]+)-svn[~.\w\d-]*|'
+ r'clang version ([^ )\n]+)-svn[~.\w\d-]*|'
# Don't include hyphenated patch numbers in the version
# (see https://github.com/spack/spack/pull/14365 for details)
- r'clang version ([^ )]+?)-[~.\w\d-]*|'
- r'clang version ([^ )]+)',
+ r'clang version ([^ )\n]+?)-[~.\w\d-]*|'
+ r'clang version ([^ )\n]+)',
output
)
if match:
diff --git a/lib/spack/spack/compilers/fj.py b/lib/spack/spack/compilers/fj.py
index c2cc66e110..d53fa02fba 100644
--- a/lib/spack/spack/compilers/fj.py
+++ b/lib/spack/spack/compilers/fj.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -35,8 +35,12 @@ class Fj(spack.compiler.Compiler):
return "-v"
@property
+ def debug_flags(self):
+ return "-g"
+
+ @property
def opt_flags(self):
- return ['-O', '-O0', '-O1', '-O2', '-O3', '-O4']
+ return ['-O0', '-O1', '-O2', '-O3', '-Ofast']
@property
def openmp_flag(self):
@@ -55,6 +59,10 @@ class Fj(spack.compiler.Compiler):
return "-std=c++14"
@property
+ def cxx17_flag(self):
+ return "-std=c++17"
+
+ @property
def c99_flag(self):
return "-std=c99"
diff --git a/lib/spack/spack/compilers/gcc.py b/lib/spack/spack/compilers/gcc.py
index 02ee3e5db9..ff8675324e 100644
--- a/lib/spack/spack/compilers/gcc.py
+++ b/lib/spack/spack/compilers/gcc.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/compilers/intel.py b/lib/spack/spack/compilers/intel.py
index 5e64a1439e..a05b992a10 100644
--- a/lib/spack/spack/compilers/intel.py
+++ b/lib/spack/spack/compilers/intel.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/compilers/nag.py b/lib/spack/spack/compilers/nag.py
index 503a31e404..c72a980327 100644
--- a/lib/spack/spack/compilers/nag.py
+++ b/lib/spack/spack/compilers/nag.py
@@ -1,17 +1,19 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+from typing import List # novm
+
import spack.compiler
class Nag(spack.compiler.Compiler):
# Subclasses use possible names of C compiler
- cc_names = []
+ cc_names = [] # type: List[str]
# Subclasses use possible names of C++ compiler
- cxx_names = []
+ cxx_names = [] # type: List[str]
# Subclasses use possible names of Fortran 77 compiler
f77_names = ['nagfor']
@@ -100,3 +102,13 @@ class Nag(spack.compiler.Compiler):
@property
def linker_arg(self):
return '-Wl,-Wl,,'
+
+ @property
+ def disable_new_dtags(self):
+ # Disable RPATH/RUNPATH forcing for NAG/GCC mixed toolchains:
+ return ''
+
+ @property
+ def enable_new_dtags(self):
+ # Disable RPATH/RUNPATH forcing for NAG/GCC mixed toolchains:
+ return ''
diff --git a/lib/spack/spack/compilers/nvhpc.py b/lib/spack/spack/compilers/nvhpc.py
index c102320132..1929d50613 100644
--- a/lib/spack/spack/compilers/nvhpc.py
+++ b/lib/spack/spack/compilers/nvhpc.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/compilers/oneapi.py b/lib/spack/spack/compilers/oneapi.py
index 1b029699b5..5b3a81b454 100644
--- a/lib/spack/spack/compilers/oneapi.py
+++ b/lib/spack/spack/compilers/oneapi.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -36,7 +36,8 @@ class Oneapi(Compiler):
return "-v"
required_libs = ['libirc', 'libifcore', 'libifcoremt', 'libirng',
- 'libsvml', 'libintlc', 'libimf']
+ 'libsvml', 'libintlc', 'libimf', 'libsycl',
+ 'libOpenCL']
@property
def debug_flags(self):
diff --git a/lib/spack/spack/compilers/pgi.py b/lib/spack/spack/compilers/pgi.py
index 383281a9f4..c1cd8e3a7f 100644
--- a/lib/spack/spack/compilers/pgi.py
+++ b/lib/spack/spack/compilers/pgi.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/compilers/xl.py b/lib/spack/spack/compilers/xl.py
index 66009646e3..7e39d1c530 100644
--- a/lib/spack/spack/compilers/xl.py
+++ b/lib/spack/spack/compilers/xl.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/compilers/xl_r.py b/lib/spack/spack/compilers/xl_r.py
index c9a785d5d8..81100e782a 100644
--- a/lib/spack/spack/compilers/xl_r.py
+++ b/lib/spack/spack/compilers/xl_r.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/concretize.py b/lib/spack/spack/concretize.py
index 3c3801bf5b..f5c33e5974 100644
--- a/lib/spack/spack/concretize.py
+++ b/lib/spack/spack/concretize.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -578,10 +578,14 @@ class Concretizer(object):
True if spec was modified, False otherwise
"""
# To minimize the impact on performance this function will attempt
- # to adjust the target only at the very first call. It will just
- # return False on subsequent calls. The way this is achieved is by
- # initializing a generator and making this function return the next
- # answer.
+ # to adjust the target only at the very first call once necessary
+ # information is set. It will just return False on subsequent calls.
+ # The way this is achieved is by initializing a generator and making
+ # this function return the next answer.
+ if not (spec.architecture and spec.architecture.concrete):
+ # Not ready, but keep going because we have work to do later
+ return True
+
def _make_only_one_call(spec):
yield self._adjust_target(spec)
while True:
@@ -619,9 +623,10 @@ class Concretizer(object):
if PackagePrefs.has_preferred_targets(spec.name):
default_target = self.target_from_package_preferences(spec)
- if current_target != default_target or \
- (self.abstract_spec.architecture is not None and
- self.abstract_spec.architecture.target is not None):
+ if current_target != default_target or (
+ self.abstract_spec and
+ self.abstract_spec.architecture and
+ self.abstract_spec.architecture.concrete):
return False
try:
diff --git a/lib/spack/spack/config.py b/lib/spack/spack/config.py
index 84d8e8ca3f..73d5d06e1c 100644
--- a/lib/spack/spack/config.py
+++ b/lib/spack/spack/config.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -29,6 +29,7 @@ schemas are in submodules of :py:mod:`spack.schema`.
"""
import collections
+import contextlib
import copy
import functools
import os
@@ -38,6 +39,7 @@ import multiprocessing
from contextlib import contextmanager
from six import iteritems
from ordereddict_backport import OrderedDict
+from typing import List # novm
import ruamel.yaml as yaml
from ruamel.yaml.error import MarkedYAMLError
@@ -48,6 +50,7 @@ from llnl.util.filesystem import mkdirp
import spack.paths
import spack.architecture
+import spack.compilers
import spack.schema
import spack.schema.compilers
import spack.schema.mirrors
@@ -735,7 +738,7 @@ def override(path_or_scope, value=None):
#: configuration scopes added on the command line
#: set by ``spack.main.main()``.
-command_line_scopes = []
+command_line_scopes = [] # type: List[str]
def _add_platform_scope(cfg, scope_type, name, path):
@@ -803,22 +806,6 @@ def _config():
config = llnl.util.lang.Singleton(_config)
-def replace_config(configuration):
- """Replace the current global configuration with the instance passed as
- argument.
-
- Args:
- configuration (Configuration): the new configuration to be used.
-
- Returns:
- The old configuration that has been removed
- """
- global config
- config.clear_caches(), configuration.clear_caches()
- old_config, config = config, configuration
- return old_config
-
-
def get(path, default=None, scope=None):
"""Module-level wrapper for ``Configuration.get()``."""
return config.get(path, default, scope)
@@ -1133,6 +1120,55 @@ def ensure_latest_format_fn(section):
return update_fn
+@contextlib.contextmanager
+def use_configuration(*scopes_or_paths):
+ """Use the configuration scopes passed as arguments within the
+ context manager.
+
+ Args:
+ *scopes_or_paths: scope objects or paths to be used
+
+ Returns:
+ Configuration object associated with the scopes passed as arguments
+ """
+ global config
+
+ # Normalize input and construct a Configuration object
+ configuration = _config_from(scopes_or_paths)
+ config.clear_caches(), configuration.clear_caches()
+
+ # Save and clear the current compiler cache
+ saved_compiler_cache = spack.compilers._cache_config_file
+ spack.compilers._cache_config_file = []
+
+ saved_config, config = config, configuration
+
+ yield configuration
+
+ # Restore previous config files
+ spack.compilers._cache_config_file = saved_compiler_cache
+ config = saved_config
+
+
+@llnl.util.lang.memoized
+def _config_from(scopes_or_paths):
+ scopes = []
+ for scope_or_path in scopes_or_paths:
+ # If we have a config scope we are already done
+ if isinstance(scope_or_path, ConfigScope):
+ scopes.append(scope_or_path)
+ continue
+
+ # Otherwise we need to construct it
+ path = os.path.normpath(scope_or_path)
+ assert os.path.isdir(path), '"{0}" must be a directory'.format(path)
+ name = os.path.basename(path)
+ scopes.append(ConfigScope(name, path))
+
+ configuration = Configuration(*scopes)
+ return configuration
+
+
class ConfigError(SpackError):
"""Superclass for all Spack config related errors."""
diff --git a/lib/spack/spack/container/__init__.py b/lib/spack/spack/container/__init__.py
index 8206efef01..7211f94ff1 100644
--- a/lib/spack/spack/container/__init__.py
+++ b/lib/spack/spack/container/__init__.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/container/images.py b/lib/spack/spack/container/images.py
index 32fcff2770..9d2e15f195 100644
--- a/lib/spack/spack/container/images.py
+++ b/lib/spack/spack/container/images.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/container/writers/__init__.py b/lib/spack/spack/container/writers/__init__.py
index 176dd7a50c..b1c82a7bdf 100644
--- a/lib/spack/spack/container/writers/__init__.py
+++ b/lib/spack/spack/container/writers/__init__.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/container/writers/docker.py b/lib/spack/spack/container/writers/docker.py
index 557d22c803..7c9372fb86 100644
--- a/lib/spack/spack/container/writers/docker.py
+++ b/lib/spack/spack/container/writers/docker.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/container/writers/singularity.py b/lib/spack/spack/container/writers/singularity.py
index 32f29eb83d..e3eaaea008 100644
--- a/lib/spack/spack/container/writers/singularity.py
+++ b/lib/spack/spack/container/writers/singularity.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/database.py b/lib/spack/spack/database.py
index db1e6a636b..650ab48492 100644
--- a/lib/spack/spack/database.py
+++ b/lib/spack/spack/database.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -27,6 +27,8 @@ import six
import socket
import sys
import time
+from typing import Dict # novm
+
try:
import uuid
_use_uuid = True
@@ -289,10 +291,10 @@ _query_docstring = """
class Database(object):
"""Per-process lock objects for each install prefix."""
- _prefix_locks = {}
+ _prefix_locks = {} # type: Dict[str, lk.Lock]
"""Per-process failure (lock) objects for each install prefix."""
- _prefix_failures = {}
+ _prefix_failures = {} # type: Dict[str, lk.Lock]
def __init__(self, root, db_dir=None, upstream_dbs=None,
is_upstream=False, enable_transaction_locking=True,
@@ -793,7 +795,7 @@ class Database(object):
# do it *while* we're constructing specs,it causes hashes to be
# cached prematurely.
for hash_key, rec in data.items():
- rec.spec._mark_concrete()
+ rec.spec._mark_root_concrete()
self._data = data
@@ -1452,11 +1454,12 @@ class Database(object):
rec.spec.name) != known:
continue
- inst_date = datetime.datetime.fromtimestamp(
- rec.installation_time
- )
- if not (start_date < inst_date < end_date):
- continue
+ if start_date or end_date:
+ inst_date = datetime.datetime.fromtimestamp(
+ rec.installation_time
+ )
+ if not (start_date < inst_date < end_date):
+ continue
if (query_spec is any or
rec.spec.satisfies(query_spec, strict=True)):
@@ -1464,6 +1467,8 @@ class Database(object):
return results
+ if _query.__doc__ is None:
+ _query.__doc__ = ""
_query.__doc__ += _query_docstring
def query_local(self, *args, **kwargs):
@@ -1471,6 +1476,8 @@ class Database(object):
with self.read_transaction():
return sorted(self._query(*args, **kwargs))
+ if query_local.__doc__ is None:
+ query_local.__doc__ = ""
query_local.__doc__ += _query_docstring
def query(self, *args, **kwargs):
@@ -1489,6 +1496,8 @@ class Database(object):
return sorted(results)
+ if query.__doc__ is None:
+ query.__doc__ = ""
query.__doc__ += _query_docstring
def query_one(self, query_spec, known=any, installed=True):
diff --git a/lib/spack/spack/dependency.py b/lib/spack/spack/dependency.py
index fe7d6b5983..0773ce0763 100644
--- a/lib/spack/spack/dependency.py
+++ b/lib/spack/spack/dependency.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/directives.py b/lib/spack/spack/directives.py
index 41276b5b48..30a45f1b06 100644
--- a/lib/spack/spack/directives.py
+++ b/lib/spack/spack/directives.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -28,11 +28,13 @@ The available directives are:
"""
-import collections
import functools
import os.path
import re
+import sys
+
from six import string_types
+from typing import Set, List # novm
import llnl.util.lang
import llnl.util.tty.color
@@ -47,6 +49,13 @@ from spack.fetch_strategy import from_kwargs
from spack.resource import Resource
from spack.version import Version, VersionChecksumError
+
+if sys.version_info >= (3, 3):
+ from collections.abc import Sequence # novm
+else:
+ from collections import Sequence
+
+
__all__ = []
#: These are variant names used by Spack internally; packages can't use them
@@ -103,8 +112,8 @@ class DirectiveMeta(type):
"""
# Set of all known directives
- _directive_names = set()
- _directives_to_be_executed = []
+ _directive_names = set() # type: Set[str]
+ _directives_to_be_executed = [] # type: List[str]
def __new__(cls, name, bases, attr_dict):
# Initialize the attribute containing the list of directives
@@ -202,7 +211,7 @@ class DirectiveMeta(type):
if isinstance(dicts, string_types):
dicts = (dicts, )
- if not isinstance(dicts, collections.Sequence):
+ if not isinstance(dicts, Sequence):
message = "dicts arg must be list, tuple, or string. Found {0}"
raise TypeError(message.format(type(dicts)))
# Add the dictionary names if not already there
@@ -243,7 +252,7 @@ class DirectiveMeta(type):
# ...so if it is not a sequence make it so
values = result
- if not isinstance(values, collections.Sequence):
+ if not isinstance(values, Sequence):
values = (values, )
DirectiveMeta._directives_to_be_executed.extend(values)
@@ -269,6 +278,9 @@ def version(ver, checksum=None, **kwargs):
The ``dict`` of arguments is turned into a valid fetch strategy for
code packages later. See ``spack.fetch_strategy.for_package_version()``.
+
+ Keyword Arguments:
+ deprecated (bool): whether or not this version is deprecated
"""
def _execute_version(pkg):
if checksum is not None:
@@ -392,7 +404,7 @@ def depends_on(spec, when=None, type=default_deptype, patches=None):
@directive(('extendees', 'dependencies'))
-def extends(spec, **kwargs):
+def extends(spec, type=('build', 'run'), **kwargs):
"""Same as depends_on, but allows symlinking into dependency's
prefix tree.
@@ -413,7 +425,7 @@ def extends(spec, **kwargs):
if not when_spec:
return
- _depends_on(pkg, spec, when=when)
+ _depends_on(pkg, spec, when=when, type=type)
pkg.extendees[spec] = (spack.spec.Spec(spec), kwargs)
return _execute_extends
diff --git a/lib/spack/spack/directory_layout.py b/lib/spack/spack/directory_layout.py
index 06a652f450..cbaa9b47fd 100644
--- a/lib/spack/spack/directory_layout.py
+++ b/lib/spack/spack/directory_layout.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,6 +7,7 @@ import os
import shutil
import glob
import tempfile
+import errno
from contextlib import contextmanager
import ruamel.yaml as yaml
@@ -14,6 +15,7 @@ import ruamel.yaml as yaml
from llnl.util.filesystem import mkdirp
import spack.config
+import spack.hash_types as ht
import spack.spec
from spack.error import SpackError
@@ -119,9 +121,17 @@ class DirectoryLayout(object):
path = os.path.dirname(path)
while path != self.root:
if os.path.isdir(path):
- if os.listdir(path):
- return
- os.rmdir(path)
+ try:
+ os.rmdir(path)
+ except OSError as e:
+ if e.errno == errno.ENOENT:
+ # already deleted, continue with parent
+ pass
+ elif e.errno == errno.ENOTEMPTY:
+ # directory wasn't empty, done
+ return
+ else:
+ raise e
path = os.path.dirname(path)
@@ -233,7 +243,9 @@ class YamlDirectoryLayout(DirectoryLayout):
"""Write a spec out to a file."""
_check_concrete(spec)
with open(path, 'w') as f:
- spec.to_yaml(f)
+ # The hash the the projection is the DAG hash but we write out the
+ # full provenance by full hash so it's availabe if we want it later
+ spec.to_yaml(f, hash=ht.full_hash)
def read_spec(self, path):
"""Read the contents of a file and parse them as a spec"""
diff --git a/lib/spack/spack/environment.py b/lib/spack/spack/environment.py
index 38c2c4cdb7..4518cb25a9 100644
--- a/lib/spack/spack/environment.py
+++ b/lib/spack/spack/environment.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -40,6 +40,7 @@ from spack.variant import UnknownVariantError
import spack.util.lock as lk
from spack.util.path import substitute_path_variables
from spack.installer import PackageInstaller
+import spack.util.path
#: environment variable used to indicate the active environment
spack_env_var = 'SPACK_ENV'
@@ -468,7 +469,7 @@ class ViewDescriptor(object):
def __init__(self, base_path, root, projections={}, select=[], exclude=[],
link=default_view_link):
self.base = base_path
- self.root = root
+ self.root = spack.util.path.canonicalize_path(root)
self.projections = projections
self.select = select
self.select_fn = lambda x: any(x.satisfies(s) for s in self.select)
@@ -555,11 +556,20 @@ class ViewDescriptor(object):
# that cannot be resolved or have repos that have been removed
# we always regenerate the view from scratch. We must first make
# sure the root directory exists for the very first time though.
- root = self.root
- if not os.path.isabs(root):
- root = os.path.normpath(os.path.join(self.base, self.root))
+ root = os.path.normpath(
+ self.root if os.path.isabs(self.root) else os.path.join(
+ self.base, self.root)
+ )
fs.mkdirp(root)
- with fs.replace_directory_transaction(root):
+
+ # The tempdir for the directory transaction must be in the same
+ # filesystem mount as the view for symlinks to work. Provide
+ # dirname(root) as the tempdir for the
+ # replace_directory_transaction because it must be on the same
+ # filesystem mount as the view itself. Otherwise it may be
+ # impossible to construct the view in the tempdir even when it can
+ # be constructed in-place.
+ with fs.replace_directory_transaction(root, os.path.dirname(root)):
view = self.view()
view.clean()
diff --git a/lib/spack/spack/error.py b/lib/spack/spack/error.py
index f79744f6a5..fa66a35b0e 100644
--- a/lib/spack/spack/error.py
+++ b/lib/spack/spack/error.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/extensions.py b/lib/spack/spack/extensions.py
index 4358dcd52f..9ea7373b8c 100644
--- a/lib/spack/spack/extensions.py
+++ b/lib/spack/spack/extensions.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/fetch_strategy.py b/lib/spack/spack/fetch_strategy.py
index f075b893ae..ff41c759ea 100644
--- a/lib/spack/spack/fetch_strategy.py
+++ b/lib/spack/spack/fetch_strategy.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -29,6 +29,7 @@ import os.path
import re
import shutil
import sys
+from typing import Optional, List # novm
import llnl.util.tty as tty
import six
@@ -92,11 +93,12 @@ class FetchStrategy(object):
#: The URL attribute must be specified either at the package class
#: level, or as a keyword argument to ``version()``. It is used to
#: distinguish fetchers for different versions in the package DSL.
- url_attr = None
+ url_attr = None # type: Optional[str]
#: Optional attributes can be used to distinguish fetchers when :
#: classes have multiple ``url_attrs`` at the top-level.
- optional_attrs = [] # optional attributes in version() args.
+ # optional attributes in version() args.
+ optional_attrs = [] # type: List[str]
def __init__(self, **kwargs):
# The stage is initialized late, so that fetch strategies can be
@@ -324,6 +326,8 @@ class URLFetchStrategy(FetchStrategy):
# Telling curl to fetch the first byte (-r 0-0) is supposed to be
# portable.
curl_args = ['--stderr', '-', '-s', '-f', '-r', '0-0', url]
+ if not spack.config.get('config:verify_ssl'):
+ curl_args.append('-k')
_ = curl(*curl_args, fail_on_error=False, output=os.devnull)
return curl.returncode == 0
@@ -420,7 +424,7 @@ class URLFetchStrategy(FetchStrategy):
warn_content_type_mismatch(self.archive_file or "the archive")
return partial_file, save_file
- @property
+ @property # type: ignore # decorated properties unsupported in mypy
@_needs_stage
def archive_file(self):
"""Path to the source archive within this stage directory."""
@@ -774,6 +778,12 @@ class GitFetchStrategy(VCSFetchStrategy):
if not self._git:
self._git = which('git', required=True)
+ # Disable advice for a quieter fetch
+ # https://github.com/git/git/blob/master/Documentation/RelNotes/1.7.2.txt
+ if self.git_version >= Version('1.7.2'):
+ self._git.add_default_arg('-c')
+ self._git.add_default_arg('advice.detachedHead=false')
+
# If the user asked for insecure fetching, make that work
# with git as well.
if not spack.config.get('config:verify_ssl'):
diff --git a/lib/spack/spack/filesystem_view.py b/lib/spack/spack/filesystem_view.py
index b6501064b9..232223b69f 100644
--- a/lib/spack/spack/filesystem_view.py
+++ b/lib/spack/spack/filesystem_view.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/graph.py b/lib/spack/spack/graph.py
index b41c923a16..2ddc10ac7a 100644
--- a/lib/spack/spack/graph.py
+++ b/lib/spack/spack/graph.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/hash_types.py b/lib/spack/spack/hash_types.py
index 9404076e81..0ad321dec6 100644
--- a/lib/spack/spack/hash_types.py
+++ b/lib/spack/spack/hash_types.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -35,5 +35,5 @@ build_hash = SpecHashDescriptor(
#: Full hash used in build pipelines to determine when to rebuild packages.
-full_hash = SpecHashDescriptor(deptype=('link', 'run'), package_hash=True,
- attr='_full_hash')
+full_hash = SpecHashDescriptor(
+ deptype=('build', 'link', 'run'), package_hash=True, attr='_full_hash')
diff --git a/lib/spack/spack/hooks/__init__.py b/lib/spack/spack/hooks/__init__.py
index 5a39f242fd..681fec0feb 100644
--- a/lib/spack/spack/hooks/__init__.py
+++ b/lib/spack/spack/hooks/__init__.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/hooks/extensions.py b/lib/spack/spack/hooks/extensions.py
index 05fce302ac..a639df6181 100644
--- a/lib/spack/spack/hooks/extensions.py
+++ b/lib/spack/spack/hooks/extensions.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/hooks/licensing.py b/lib/spack/spack/hooks/licensing.py
index d4e5376cda..8e789d9635 100644
--- a/lib/spack/spack/hooks/licensing.py
+++ b/lib/spack/spack/hooks/licensing.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/hooks/module_file_generation.py b/lib/spack/spack/hooks/module_file_generation.py
index ba30561d86..363654efc4 100644
--- a/lib/spack/spack/hooks/module_file_generation.py
+++ b/lib/spack/spack/hooks/module_file_generation.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/hooks/permissions_setters.py b/lib/spack/spack/hooks/permissions_setters.py
index 0a3c2acf21..d640018515 100644
--- a/lib/spack/spack/hooks/permissions_setters.py
+++ b/lib/spack/spack/hooks/permissions_setters.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/hooks/sbang.py b/lib/spack/spack/hooks/sbang.py
index 687cf651f4..7dc00165d5 100644
--- a/lib/spack/spack/hooks/sbang.py
+++ b/lib/spack/spack/hooks/sbang.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/hooks/write_install_manifest.py b/lib/spack/spack/hooks/write_install_manifest.py
index 5b678fed88..0fb6acdf35 100644
--- a/lib/spack/spack/hooks/write_install_manifest.py
+++ b/lib/spack/spack/hooks/write_install_manifest.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/install_test.py b/lib/spack/spack/install_test.py
index 6c2c095a2e..ae50a49215 100644
--- a/lib/spack/spack/install_test.py
+++ b/lib/spack/spack/install_test.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/installer.py b/lib/spack/spack/installer.py
index 15bc23738b..a9c0d7e85c 100644
--- a/lib/spack/spack/installer.py
+++ b/lib/spack/spack/installer.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -392,7 +392,7 @@ def _try_install_from_binary_cache(pkg, explicit, unsigned=False,
pkg_id = package_id(pkg)
tty.debug('Searching for binary cache of {0}'.format(pkg_id))
matches = binary_distribution.get_mirrors_for_spec(
- pkg.spec, force=False, full_hash_match=full_hash_match)
+ pkg.spec, full_hash_match=full_hash_match)
if not matches:
return False
@@ -1405,7 +1405,6 @@ class PackageInstaller(object):
pkg, pkg_id, spec = task.pkg, task.pkg_id, task.pkg.spec
tty.verbose('Processing {0}: task={1}'.format(pkg_id, task))
-
# Ensure that the current spec has NO uninstalled dependencies,
# which is assumed to be reflected directly in its priority.
#
@@ -1543,7 +1542,7 @@ class PackageInstaller(object):
(stop_before_phase is None and last_phase is None)
except spack.directory_layout.InstallDirectoryAlreadyExistsError \
- as err:
+ as exc:
tty.debug('Install prefix for {0} exists, keeping {1} in '
'place.'.format(pkg.name, pkg.prefix))
self._update_installed(task)
@@ -1554,7 +1553,7 @@ class PackageInstaller(object):
raise
if task.explicit:
- exists_errors.append((pkg_id, str(err)))
+ exists_errors.append((pkg_id, str(exc)))
except KeyboardInterrupt as exc:
# The build has been terminated with a Ctrl-C so terminate
@@ -1721,11 +1720,10 @@ def build_process(pkg, kwargs):
pkg._total_time = time.time() - start_time
build_time = pkg._total_time - pkg._fetch_time
- tty.debug('{0} Successfully installed {1}'
- .format(pre, pkg_id),
- 'Fetch: {0}. Build: {1}. Total: {2}.'
- .format(_hms(pkg._fetch_time), _hms(build_time),
- _hms(pkg._total_time)))
+ tty.msg('{0} Successfully installed {1}'.format(pre, pkg_id),
+ 'Fetch: {0}. Build: {1}. Total: {2}.'
+ .format(_hms(pkg._fetch_time), _hms(build_time),
+ _hms(pkg._total_time)))
_print_installed_pkg(pkg.prefix)
# preserve verbosity across runs
@@ -2013,7 +2011,8 @@ class BuildRequest(object):
(tuple) required dependency type(s) for the package
"""
deptypes = ['link', 'run']
- if not self.install_args.get('cache_only'):
+ include_build_deps = self.install_args.get('include_build_deps')
+ if not self.install_args.get('cache_only') or include_build_deps:
deptypes.append('build')
if self.run_tests(pkg):
deptypes.append('test')
diff --git a/lib/spack/spack/main.py b/lib/spack/spack/main.py
index f4265a5d68..6b323f8eb3 100644
--- a/lib/spack/spack/main.py
+++ b/lib/spack/spack/main.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/mirror.py b/lib/spack/spack/mirror.py
index 045ca5ffec..cdebc7fd4e 100644
--- a/lib/spack/spack/mirror.py
+++ b/lib/spack/spack/mirror.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -23,9 +23,9 @@ import ruamel.yaml.error as yaml_error
from ordereddict_backport import OrderedDict
-try:
+if sys.version_info >= (3, 5):
from collections.abc import Mapping # novm
-except ImportError:
+else:
from collections import Mapping
import llnl.util.tty as tty
diff --git a/lib/spack/spack/mixins.py b/lib/spack/spack/mixins.py
index 6da12e4dce..be13e3ea3a 100644
--- a/lib/spack/spack/mixins.py
+++ b/lib/spack/spack/mixins.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,6 +8,12 @@ package.
"""
import collections
import os
+import sys
+from typing import Callable, DefaultDict, Dict, List # novm
+if sys.version_info >= (3, 5):
+ CallbackDict = DefaultDict[str, List[Callable]]
+else:
+ CallbackDict = None
import llnl.util.filesystem
@@ -26,12 +32,12 @@ class PackageMixinsMeta(type):
gets implicitly attached to the package class by calling the mixin.
"""
- _methods_to_be_added = {}
- _add_method_before = collections.defaultdict(list)
- _add_method_after = collections.defaultdict(list)
+ _methods_to_be_added = {} # type: Dict[str, Callable]
+ _add_method_before = collections.defaultdict(list) # type: CallbackDict
+ _add_method_after = collections.defaultdict(list) # type: CallbackDict
@staticmethod
- def register_method_before(fn, phase):
+ def register_method_before(fn, phase): # type: (Callable, str) -> None
"""Registers a method to be run before a certain phase.
Args:
@@ -42,7 +48,7 @@ class PackageMixinsMeta(type):
PackageMixinsMeta._add_method_before[phase].append(fn)
@staticmethod
- def register_method_after(fn, phase):
+ def register_method_after(fn, phase): # type: (Callable, str) -> None
"""Registers a method to be run after a certain phase.
Args:
diff --git a/lib/spack/spack/modules/__init__.py b/lib/spack/spack/modules/__init__.py
index 2fb4d94b05..b65260277f 100644
--- a/lib/spack/spack/modules/__init__.py
+++ b/lib/spack/spack/modules/__init__.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/modules/common.py b/lib/spack/spack/modules/common.py
index cbc064520c..ed843e03af 100644
--- a/lib/spack/spack/modules/common.py
+++ b/lib/spack/spack/modules/common.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -34,6 +34,7 @@ import datetime
import inspect
import os.path
import re
+from typing import Optional # novm
import llnl.util.filesystem
from llnl.util.lang import dedupe
@@ -540,7 +541,7 @@ class BaseFileLayout(object):
"""
#: This needs to be redefined
- extension = None
+ extension = None # type: Optional[str]
def __init__(self, configuration):
self.conf = configuration
diff --git a/lib/spack/spack/modules/lmod.py b/lib/spack/spack/modules/lmod.py
index 80f6933063..bb4476a7b0 100644
--- a/lib/spack/spack/modules/lmod.py
+++ b/lib/spack/spack/modules/lmod.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,6 +8,7 @@ import os.path
import llnl.util.lang as lang
import itertools
import collections
+from typing import Dict, Any # novm
import spack.config
import spack.compilers
@@ -26,7 +27,7 @@ def configuration():
#: Caches the configuration {spec_hash: configuration}
-configuration_registry = {}
+configuration_registry = {} # type: Dict[str, Any]
def make_configuration(spec):
diff --git a/lib/spack/spack/modules/tcl.py b/lib/spack/spack/modules/tcl.py
index 0efc6332fe..e1d2ac7fe3 100644
--- a/lib/spack/spack/modules/tcl.py
+++ b/lib/spack/spack/modules/tcl.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,6 +8,7 @@ non-hierarchical modules.
"""
import os.path
import string
+from typing import Dict, Any # novm
import llnl.util.tty as tty
@@ -24,7 +25,7 @@ def configuration():
#: Caches the configuration {spec_hash: configuration}
-configuration_registry = {}
+configuration_registry = {} # type: Dict[str, Any]
def make_configuration(spec):
diff --git a/lib/spack/spack/multimethod.py b/lib/spack/spack/multimethod.py
index 73cf342b5b..d9fe6882b9 100644
--- a/lib/spack/spack/multimethod.py
+++ b/lib/spack/spack/multimethod.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/operating_systems/__init__.py b/lib/spack/spack/operating_systems/__init__.py
index 9f87532b85..103eae6134 100644
--- a/lib/spack/spack/operating_systems/__init__.py
+++ b/lib/spack/spack/operating_systems/__init__.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/operating_systems/cray_backend.py b/lib/spack/spack/operating_systems/cray_backend.py
index 5f113eba0b..0e59361d70 100644
--- a/lib/spack/spack/operating_systems/cray_backend.py
+++ b/lib/spack/spack/operating_systems/cray_backend.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/operating_systems/cray_frontend.py b/lib/spack/spack/operating_systems/cray_frontend.py
index d06920af43..820db506cb 100644
--- a/lib/spack/spack/operating_systems/cray_frontend.py
+++ b/lib/spack/spack/operating_systems/cray_frontend.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/operating_systems/linux_distro.py b/lib/spack/spack/operating_systems/linux_distro.py
index a6608e6d3b..b1901fc41c 100644
--- a/lib/spack/spack/operating_systems/linux_distro.py
+++ b/lib/spack/spack/operating_systems/linux_distro.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/operating_systems/mac_os.py b/lib/spack/spack/operating_systems/mac_os.py
index 0efc298338..de9bcf659d 100644
--- a/lib/spack/spack/operating_systems/mac_os.py
+++ b/lib/spack/spack/operating_systems/mac_os.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/package.py b/lib/spack/spack/package.py
index de394e2d45..9dfd8bf01f 100644
--- a/lib/spack/spack/package.py
+++ b/lib/spack/spack/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -26,6 +26,7 @@ import time
import traceback
import six
import types
+from typing import Optional, List, Dict, Any, Callable # novm
import llnl.util.filesystem as fsys
import llnl.util.tty as tty
@@ -253,8 +254,9 @@ class PackageMeta(
"""
phase_fmt = '_InstallPhase_{0}'
- _InstallPhase_run_before = {}
- _InstallPhase_run_after = {}
+ # These are accessed only through getattr, by name
+ _InstallPhase_run_before = {} # type: Dict[str, List[Callable]]
+ _InstallPhase_run_after = {} # type: Dict[str, List[Callable]]
def __new__(cls, name, bases, attr_dict):
"""
@@ -555,7 +557,7 @@ class PackageBase(six.with_metaclass(PackageMeta, PackageViewMixin, object)):
#: A list or set of build time test functions to be called when tests
#: are executed or 'None' if there are no such test functions.
- build_time_test_callbacks = None
+ build_time_test_callbacks = None # type: Optional[List[str]]
#: By default, packages are not virtual
#: Virtual packages override this attribute
@@ -567,7 +569,7 @@ class PackageBase(six.with_metaclass(PackageMeta, PackageViewMixin, object)):
#: A list or set of install time test functions to be called when tests
#: are executed or 'None' if there are no such test functions.
- install_time_test_callbacks = None
+ install_time_test_callbacks = None # type: Optional[List[str]]
#: By default we build in parallel. Subclasses can override this.
parallel = True
@@ -589,19 +591,19 @@ class PackageBase(six.with_metaclass(PackageMeta, PackageViewMixin, object)):
#: List of prefix-relative file paths (or a single path). If these do
#: not exist after install, or if they exist but are not files,
#: sanity checks fail.
- sanity_check_is_file = []
+ sanity_check_is_file = [] # type: List[str]
#: List of prefix-relative directory paths (or a single path). If
#: these do not exist after install, or if they exist but are not
#: directories, sanity checks will fail.
- sanity_check_is_dir = []
+ sanity_check_is_dir = [] # type: List[str]
#: List of glob expressions. Each expression must either be
#: absolute or relative to the package source path.
#: Matching artifacts found at the end of the build process will be
#: copied in the same directory tree as _spack_build_logfile and
#: _spack_build_envfile.
- archive_files = []
+ archive_files = [] # type: List[str]
#: Boolean. Set to ``True`` for packages that require a manual download.
#: This is currently used by package sanity tests and generation of a
@@ -609,7 +611,7 @@ class PackageBase(six.with_metaclass(PackageMeta, PackageViewMixin, object)):
manual_download = False
#: Set of additional options used when fetching package versions.
- fetch_options = {}
+ fetch_options = {} # type: Dict[str, Any]
#
# Set default licensing information
@@ -627,12 +629,12 @@ class PackageBase(six.with_metaclass(PackageMeta, PackageViewMixin, object)):
#: looking for a license. All file paths must be relative to the
#: installation directory. More complex packages like Intel may require
#: multiple licenses for individual components. Defaults to the empty list.
- license_files = []
+ license_files = [] # type: List[str]
#: List of strings. Environment variables that can be set to tell the
#: software where to look for a license if it is not in the usual location.
#: Defaults to the empty list.
- license_vars = []
+ license_vars = [] # type: List[str]
#: String. A URL pointing to license setup instructions for the software.
#: Defaults to the empty string.
@@ -644,9 +646,18 @@ class PackageBase(six.with_metaclass(PackageMeta, PackageViewMixin, object)):
#: index of patches by sha256 sum, built lazily
_patches_by_hash = None
+ #: Package homepage where users can find more information about the package
+ homepage = None # type: str
+
+ #: Default list URL (place to find available versions)
+ list_url = None # type: str
+
+ #: Link depth to which list_url should be searched for new versions
+ list_depth = 0
+
#: List of strings which contains GitHub usernames of package maintainers.
#: Do not include @ here in order not to unnecessarily ping the users.
- maintainers = []
+ maintainers = [] # type: List[str]
#: List of attributes to be excluded from a package's hash.
metadata_attrs = ['homepage', 'url', 'urls', 'list_url', 'extendable',
@@ -681,13 +692,6 @@ class PackageBase(six.with_metaclass(PackageMeta, PackageViewMixin, object)):
msg += " [package '{0.name}' defines both]"
raise ValueError(msg.format(self))
- # Set a default list URL (place to find available versions)
- if not hasattr(self, 'list_url'):
- self.list_url = None
-
- if not hasattr(self, 'list_depth'):
- self.list_depth = 0
-
# init internal variables
self._stage = None
self._fetcher = None
@@ -1305,7 +1309,6 @@ class PackageBase(six.with_metaclass(PackageMeta, PackageViewMixin, object)):
tty.debug('No fetch required for {0}: package has no code.'
.format(self.name))
- start_time = time.time()
checksum = spack.config.get('config:checksum')
fetch = self.stage.managed_by_spack
if checksum and fetch and self.version not in self.versions:
@@ -1327,8 +1330,34 @@ class PackageBase(six.with_metaclass(PackageMeta, PackageViewMixin, object)):
raise FetchError("Will not fetch %s" %
self.spec.format('{name}{@version}'), ck_msg)
+ deprecated = spack.config.get('config:deprecated')
+ if not deprecated and self.versions.get(
+ self.version, {}).get('deprecated', False):
+ tty.warn("{0} is deprecated and may be removed in a future Spack "
+ "release.".format(
+ self.spec.format('{name}{@version}')))
+
+ # Ask the user whether to install deprecated version if we're
+ # interactive, but just fail if non-interactive.
+ dp_msg = ("If you are willing to be a maintainer for this version "
+ "of the package, submit a PR to remove `deprecated=False"
+ "`, or use `--deprecated` to skip this check.")
+ ignore_deprecation = False
+ if sys.stdout.isatty():
+ ignore_deprecation = tty.get_yes_or_no(" Fetch anyway?",
+ default=False)
+
+ if ignore_deprecation:
+ tty.debug("Fetching deprecated version. {0}".format(
+ dp_msg))
+
+ if not ignore_deprecation:
+ raise FetchError("Will not fetch {0}".format(
+ self.spec.format('{name}{@version}')), dp_msg)
+
self.stage.create()
err_msg = None if not self.manual_download else self.download_instr
+ start_time = time.time()
self.stage.fetch(mirror_only, err_msg=err_msg)
self._fetch_time = time.time() - start_time
@@ -1375,7 +1404,7 @@ class PackageBase(six.with_metaclass(PackageMeta, PackageViewMixin, object)):
# If there are no patches, note it.
if not patches and not has_patch_fun:
- tty.debug('No patches needed for {0}'.format(self.name))
+ tty.msg('No patches needed for {0}'.format(self.name))
return
# Construct paths to special files in the archive dir used to
@@ -1393,10 +1422,10 @@ class PackageBase(six.with_metaclass(PackageMeta, PackageViewMixin, object)):
# If this file exists, then we already applied all the patches.
if os.path.isfile(good_file):
- tty.debug('Already patched {0}'.format(self.name))
+ tty.msg('Already patched {0}'.format(self.name))
return
elif os.path.isfile(no_patches_file):
- tty.debug('No patches needed for {0}'.format(self.name))
+ tty.msg('No patches needed for {0}'.format(self.name))
return
# Apply all the patches for specs that match this one
@@ -1405,7 +1434,7 @@ class PackageBase(six.with_metaclass(PackageMeta, PackageViewMixin, object)):
try:
with fsys.working_dir(self.stage.source_path):
patch.apply(self.stage)
- tty.debug('Applied patch {0}'.format(patch.path_or_url))
+ tty.msg('Applied patch {0}'.format(patch.path_or_url))
patched = True
except spack.error.SpackError as e:
tty.debug(e)
@@ -1419,7 +1448,7 @@ class PackageBase(six.with_metaclass(PackageMeta, PackageViewMixin, object)):
try:
with fsys.working_dir(self.stage.source_path):
self.patch()
- tty.debug('Ran patch() for {0}'.format(self.name))
+ tty.msg('Ran patch() for {0}'.format(self.name))
patched = True
except spack.multimethod.NoSuchMethodError:
# We are running a multimethod without a default case.
@@ -1429,7 +1458,7 @@ class PackageBase(six.with_metaclass(PackageMeta, PackageViewMixin, object)):
# directive, AND the patch function didn't apply, say
# no patches are needed. Otherwise, we already
# printed a message for each patch.
- tty.debug('No patches needed for {0}'.format(self.name))
+ tty.msg('No patches needed for {0}'.format(self.name))
except spack.error.SpackError as e:
tty.debug(e)
@@ -1497,10 +1526,16 @@ class PackageBase(six.with_metaclass(PackageMeta, PackageViewMixin, object)):
hash_content.extend(':'.join((p.sha256, str(p.level))).encode('utf-8')
for p in self.spec.patches)
hash_content.append(package_hash(self.spec, content))
- return base64.b32encode(
+ b32_hash = base64.b32encode(
hashlib.sha256(bytes().join(
sorted(hash_content))).digest()).lower()
+ # convert from bytes if running python 3
+ if sys.version_info[0] >= 3:
+ b32_hash = b32_hash.decode('utf-8')
+
+ return b32_hash
+
def _has_make_target(self, target):
"""Checks to see if 'target' is a valid target in a Makefile.
@@ -1761,7 +1796,7 @@ class PackageBase(six.with_metaclass(PackageMeta, PackageViewMixin, object)):
work_dir (str or None): path to the smoke test directory
"""
wdir = '.' if work_dir is None else work_dir
- with fsys.working_dir(wdir):
+ with fsys.working_dir(wdir, create=True):
try:
runner = which(exe)
if runner is None and skip_missing:
@@ -2591,7 +2626,7 @@ class BundlePackage(PackageBase):
"""General purpose bundle, or no-code, package class."""
#: There are no phases by default but the property is required to support
#: post-install hooks (e.g., for module generation).
- phases = []
+ phases = [] # type: List[str]
#: This attribute is used in UI queries that require to know which
#: build-system class we are using
build_system_class = 'BundlePackage'
diff --git a/lib/spack/spack/package_prefs.py b/lib/spack/spack/package_prefs.py
index 149e10ea26..cf74c7ee52 100644
--- a/lib/spack/spack/package_prefs.py
+++ b/lib/spack/spack/package_prefs.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/package_test.py b/lib/spack/spack/package_test.py
index 6e9da9a985..6a4df096fc 100644
--- a/lib/spack/spack/package_test.py
+++ b/lib/spack/spack/package_test.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/parse.py b/lib/spack/spack/parse.py
index 12bbcee588..1fc853bee4 100644
--- a/lib/spack/spack/parse.py
+++ b/lib/spack/spack/parse.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/patch.py b/lib/spack/spack/patch.py
index 3a839c5b0f..d38b2ef767 100644
--- a/lib/spack/spack/patch.py
+++ b/lib/spack/spack/patch.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/paths.py b/lib/spack/spack/paths.py
index 9c803cba7e..47574196eb 100644
--- a/lib/spack/spack/paths.py
+++ b/lib/spack/spack/paths.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/pkgkit.py b/lib/spack/spack/pkgkit.py
index 423c0fb05f..133a581e20 100644
--- a/lib/spack/spack/pkgkit.py
+++ b/lib/spack/spack/pkgkit.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/platforms/__init__.py b/lib/spack/spack/platforms/__init__.py
index 9f87532b85..103eae6134 100644
--- a/lib/spack/spack/platforms/__init__.py
+++ b/lib/spack/spack/platforms/__init__.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/platforms/cray.py b/lib/spack/spack/platforms/cray.py
index 091f8d3ffb..a949042133 100644
--- a/lib/spack/spack/platforms/cray.py
+++ b/lib/spack/spack/platforms/cray.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/platforms/darwin.py b/lib/spack/spack/platforms/darwin.py
index e36722723b..3969cc9ec8 100644
--- a/lib/spack/spack/platforms/darwin.py
+++ b/lib/spack/spack/platforms/darwin.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/platforms/linux.py b/lib/spack/spack/platforms/linux.py
index c7e1def2d9..46906229ba 100644
--- a/lib/spack/spack/platforms/linux.py
+++ b/lib/spack/spack/platforms/linux.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/platforms/test.py b/lib/spack/spack/platforms/test.py
index f938eb749d..80d9431879 100644
--- a/lib/spack/spack/platforms/test.py
+++ b/lib/spack/spack/platforms/test.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/projections.py b/lib/spack/spack/projections.py
index b91d321436..9f78e24409 100644
--- a/lib/spack/spack/projections.py
+++ b/lib/spack/spack/projections.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/provider_index.py b/lib/spack/spack/provider_index.py
index 326f6aa8f1..6a84d8f40a 100644
--- a/lib/spack/spack/provider_index.py
+++ b/lib/spack/spack/provider_index.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/relocate.py b/lib/spack/spack/relocate.py
index e1726b060e..e167472b75 100644
--- a/lib/spack/spack/relocate.py
+++ b/lib/spack/spack/relocate.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/repo.py b/lib/spack/spack/repo.py
index 4af7b382f0..b103ac1caf 100644
--- a/lib/spack/spack/repo.py
+++ b/lib/spack/spack/repo.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,18 +13,18 @@ import itertools
import os
import re
import shutil
+import six
import stat
import sys
import traceback
import types
+from typing import Dict # novm
-try:
+if sys.version_info >= (3, 5):
from collections.abc import Mapping # novm
-except ImportError:
+else:
from collections import Mapping
-import six
-
import ruamel.yaml as yaml
import llnl.util.lang
@@ -118,7 +118,11 @@ class SpackNamespace(types.ModuleType):
def __getattr__(self, name):
"""Getattr lazily loads modules if they're not already loaded."""
submodule = self.__package__ + '.' + name
- setattr(self, name, __import__(submodule))
+ try:
+ setattr(self, name, __import__(submodule))
+ except ImportError:
+ msg = "'{0}' object has no attribute {1}"
+ raise AttributeError(msg.format(type(self), name))
return getattr(self, name)
@@ -131,7 +135,7 @@ class FastPackageChecker(Mapping):
during instance initialization.
"""
#: Global cache, reused by every instance
- _paths_cache = {}
+ _paths_cache = {} # type: Dict[str, Dict[str, os.stat_result]]
def __init__(self, packages_path):
# The path of the repository managed by this instance
@@ -149,7 +153,7 @@ class FastPackageChecker(Mapping):
self._paths_cache[self.packages_path] = self._create_new_cache()
self._packages_to_stats = self._paths_cache[self.packages_path]
- def _create_new_cache(self):
+ def _create_new_cache(self): # type: () -> Dict[str, os.stat_result]
"""Create a new cache for packages in a repo.
The implementation here should try to minimize filesystem
@@ -159,7 +163,7 @@ class FastPackageChecker(Mapping):
"""
# Create a dictionary that will store the mapping between a
# package name and its stat info
- cache = {}
+ cache = {} # type: Dict[str, os.stat_result]
for pkg_name in os.listdir(self.packages_path):
# Skip non-directories in the package root.
pkg_dir = os.path.join(self.packages_path, pkg_name)
@@ -341,7 +345,7 @@ class PatchIndexer(Indexer):
def _create(self):
return spack.patch.PatchCache()
- def needs_update():
+ def needs_update(self):
# TODO: patches can change under a package and we should handle
# TODO: it, but we currently punt. This should be refactored to
# TODO: check whether patches changed each time a package loads,
@@ -1256,23 +1260,6 @@ def set_path(repo):
@contextlib.contextmanager
-def swap(repo_path):
- """Temporarily use another RepoPath."""
- global path
-
- # swap out _path for repo_path
- saved = path
- remove_from_meta = set_path(repo_path)
-
- yield
-
- # restore _path and sys.meta_path
- if remove_from_meta:
- sys.meta_path.remove(repo_path)
- path = saved
-
-
-@contextlib.contextmanager
def additional_repository(repository):
"""Adds temporarily a repository to the default one.
@@ -1284,6 +1271,34 @@ def additional_repository(repository):
path.remove(repository)
+@contextlib.contextmanager
+def use_repositories(*paths_and_repos):
+ """Use the repositories passed as arguments within the context manager.
+
+ Args:
+ *paths_and_repos: paths to the repositories to be used, or
+ already constructed Repo objects
+
+ Returns:
+ Corresponding RepoPath object
+ """
+ global path
+
+ # Construct a temporary RepoPath object from
+ temporary_repositories = RepoPath(*paths_and_repos)
+
+ # Swap the current repository out
+ saved = path
+ remove_from_meta = set_path(temporary_repositories)
+
+ yield temporary_repositories
+
+ # Restore _path and sys.meta_path
+ if remove_from_meta:
+ sys.meta_path.remove(temporary_repositories)
+ path = saved
+
+
class RepoError(spack.error.SpackError):
"""Superclass for repository-related errors."""
diff --git a/lib/spack/spack/report.py b/lib/spack/spack/report.py
index ebae2d0adc..8e97d036c0 100644
--- a/lib/spack/spack/report.py
+++ b/lib/spack/spack/report.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/reporter.py b/lib/spack/spack/reporter.py
index 6314054139..629051e223 100644
--- a/lib/spack/spack/reporter.py
+++ b/lib/spack/spack/reporter.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/reporters/__init__.py b/lib/spack/spack/reporters/__init__.py
index 9f87532b85..103eae6134 100644
--- a/lib/spack/spack/reporters/__init__.py
+++ b/lib/spack/spack/reporters/__init__.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/reporters/cdash.py b/lib/spack/spack/reporters/cdash.py
index c1a220963e..44d3f7b78d 100644
--- a/lib/spack/spack/reporters/cdash.py
+++ b/lib/spack/spack/reporters/cdash.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/reporters/junit.py b/lib/spack/spack/reporters/junit.py
index 598b308934..9120850c4c 100644
--- a/lib/spack/spack/reporters/junit.py
+++ b/lib/spack/spack/reporters/junit.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/resource.py b/lib/spack/spack/resource.py
index 5cec54f6de..488c6a846d 100644
--- a/lib/spack/spack/resource.py
+++ b/lib/spack/spack/resource.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/s3_handler.py b/lib/spack/spack/s3_handler.py
index 24f0a46221..d906577bed 100644
--- a/lib/spack/spack/s3_handler.py
+++ b/lib/spack/spack/s3_handler.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/schema/__init__.py b/lib/spack/spack/schema/__init__.py
index 1ddca90cc6..804b7c989d 100644
--- a/lib/spack/spack/schema/__init__.py
+++ b/lib/spack/spack/schema/__init__.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/schema/buildcache_spec.py b/lib/spack/spack/schema/buildcache_spec.py
index 5ba07a27f1..f1c515852c 100644
--- a/lib/spack/spack/schema/buildcache_spec.py
+++ b/lib/spack/spack/schema/buildcache_spec.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/schema/cdash.py b/lib/spack/spack/schema/cdash.py
index 2df2ea3f32..41c0146b1d 100644
--- a/lib/spack/spack/schema/cdash.py
+++ b/lib/spack/spack/schema/cdash.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/schema/compilers.py b/lib/spack/spack/schema/compilers.py
index c994bef819..91ace05f4e 100644
--- a/lib/spack/spack/schema/compilers.py
+++ b/lib/spack/spack/schema/compilers.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/schema/config.py b/lib/spack/spack/schema/config.py
index 0f83eb86f4..f0669600e1 100644
--- a/lib/spack/spack/schema/config.py
+++ b/lib/spack/spack/schema/config.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -78,6 +78,7 @@ properties = {
'install_missing_compilers': {'type': 'boolean'},
'debug': {'type': 'boolean'},
'checksum': {'type': 'boolean'},
+ 'deprecated': {'type': 'boolean'},
'locks': {'type': 'boolean'},
'dirty': {'type': 'boolean'},
'build_language': {'type': 'string'},
diff --git a/lib/spack/spack/schema/container.py b/lib/spack/spack/schema/container.py
index 7e14efd75c..5223efa041 100644
--- a/lib/spack/spack/schema/container.py
+++ b/lib/spack/spack/schema/container.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/schema/database_index.py b/lib/spack/spack/schema/database_index.py
index eec3d4ce02..105f6ad6a3 100644
--- a/lib/spack/spack/schema/database_index.py
+++ b/lib/spack/spack/schema/database_index.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/schema/env.py b/lib/spack/spack/schema/env.py
index a7e3dc608f..82971505e4 100644
--- a/lib/spack/spack/schema/env.py
+++ b/lib/spack/spack/schema/env.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/schema/environment.py b/lib/spack/spack/schema/environment.py
index d251aeba96..6431916c56 100644
--- a/lib/spack/spack/schema/environment.py
+++ b/lib/spack/spack/schema/environment.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -38,11 +38,12 @@ def parse(config_obj):
config_obj: a configuration dictionary conforming to the
schema definition for environment modifications
"""
+ import sys
import spack.util.environment as ev
- try:
- from collections import Sequence # novm
- except ImportError:
+ if sys.version_info >= (3, 5):
from collections.abc import Sequence # novm
+ else:
+ from collections import Sequence # novm
env = ev.EnvironmentModifications()
for command, variable in config_obj.items():
diff --git a/lib/spack/spack/schema/gitlab_ci.py b/lib/spack/spack/schema/gitlab_ci.py
index 79ffee2074..bfc8ca2647 100644
--- a/lib/spack/spack/schema/gitlab_ci.py
+++ b/lib/spack/spack/schema/gitlab_ci.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,6 +9,8 @@
:lines: 13-
"""
+from llnl.util.lang import union_dicts
+
image_schema = {
'oneOf': [
{
@@ -28,130 +30,125 @@ image_schema = {
],
}
-#: Properties for inclusion in other schemas
-properties = {
- 'gitlab-ci': {
+runner_attributes_schema_items = {
+ 'image': image_schema,
+ 'tags': {
+ 'type': 'array',
+ 'items': {'type': 'string'}
+ },
+ 'variables': {
'type': 'object',
- 'additionalProperties': False,
- 'required': ['mappings'],
'patternProperties': {
- 'bootstrap': {
- 'type': 'array',
- 'items': {
- 'anyOf': [
- {
- 'type': 'string',
- }, {
- 'type': 'object',
- 'additionalProperties': False,
- 'required': ['name'],
- 'properties': {
- 'name': {
- 'type': 'string',
- },
- 'compiler-agnostic': {
- 'type': 'boolean',
- 'default': False,
- },
- },
- },
- ],
- },
+ r'[\w\d\-_\.]+': {
+ 'type': 'string',
},
- 'mappings': {
- 'type': 'array',
- 'items': {
- 'type': 'object',
- 'additionalProperties': False,
- 'required': ['match'],
- 'properties': {
- 'match': {
- 'type': 'array',
- 'items': {
+ },
+ },
+ 'before_script': {
+ 'type': 'array',
+ 'items': {'type': 'string'}
+ },
+ 'script': {
+ 'type': 'array',
+ 'items': {'type': 'string'}
+ },
+ 'after_script': {
+ 'type': 'array',
+ 'items': {'type': 'string'}
+ },
+}
+
+runner_selector_schema = {
+ 'type': 'object',
+ 'additionalProperties': False,
+ 'required': ['tags'],
+ 'properties': runner_attributes_schema_items,
+}
+
+
+core_shared_properties = union_dicts(
+ runner_attributes_schema_items,
+ {
+ 'bootstrap': {
+ 'type': 'array',
+ 'items': {
+ 'anyOf': [
+ {
+ 'type': 'string',
+ }, {
+ 'type': 'object',
+ 'additionalProperties': False,
+ 'required': ['name'],
+ 'properties': {
+ 'name': {
'type': 'string',
},
- },
- 'runner-attributes': {
- 'type': 'object',
- 'additionalProperties': True,
- 'required': ['tags'],
- 'properties': {
- 'image': image_schema,
- 'tags': {
- 'type': 'array',
- 'items': {'type': 'string'}
- },
- 'variables': {
- 'type': 'object',
- 'patternProperties': {
- r'[\w\d\-_\.]+': {
- 'type': 'string',
- },
- },
- },
- 'before_script': {
- 'type': 'array',
- 'items': {'type': 'string'}
- },
- 'script': {
- 'type': 'array',
- 'items': {'type': 'string'}
- },
- 'after_script': {
- 'type': 'array',
- 'items': {'type': 'string'}
- },
+ 'compiler-agnostic': {
+ 'type': 'boolean',
+ 'default': False,
},
},
},
- },
+ ],
},
- 'image': image_schema,
- 'tags': {
- 'type': 'array',
- 'items': {'type': 'string'}
- },
- 'variables': {
- 'type': 'object',
- 'patternProperties': {
- r'[\w\d\-_\.]+': {
- 'type': 'string',
- },
- },
- },
- 'before_script': {
- 'type': 'array',
- 'items': {'type': 'string'}
- },
- 'script': {
- 'type': 'array',
- 'items': {'type': 'string'}
- },
- 'after_script': {
- 'type': 'array',
- 'items': {'type': 'string'}
- },
- 'enable-artifacts-buildcache': {
- 'type': 'boolean',
- 'default': False,
- },
- 'final-stage-rebuild-index': {
+ },
+ 'mappings': {
+ 'type': 'array',
+ 'items': {
'type': 'object',
'additionalProperties': False,
- 'required': ['tags'],
+ 'required': ['match'],
'properties': {
- 'image': image_schema,
- 'tags': {
+ 'match': {
'type': 'array',
- 'default': [],
- 'items': {'type': 'string'}
+ 'items': {
+ 'type': 'string',
+ },
},
+ 'runner-attributes': runner_selector_schema,
},
},
},
+ 'service-job-attributes': runner_selector_schema,
+ 'rebuild-index': {'type': 'boolean'},
},
+)
+
+gitlab_ci_properties = {
+ 'anyOf': [
+ {
+ 'type': 'object',
+ 'additionalProperties': False,
+ 'required': ['mappings'],
+ 'properties': union_dicts(
+ core_shared_properties,
+ {
+ 'enable-artifacts-buildcache': {
+ 'type': 'boolean',
+ },
+ },
+ ),
+ },
+ {
+ 'type': 'object',
+ 'additionalProperties': False,
+ 'required': ['mappings'],
+ 'properties': union_dicts(
+ core_shared_properties,
+ {
+ 'temporary-storage-url-prefix': {
+ 'type': 'string',
+ },
+ },
+ ),
+ },
+ ]
}
+#: Properties for inclusion in other schemas
+properties = {
+ 'gitlab-ci': gitlab_ci_properties,
+}
#: Full schema with metadata
schema = {
diff --git a/lib/spack/spack/schema/merged.py b/lib/spack/spack/schema/merged.py
index e118acf286..a58f47cb16 100644
--- a/lib/spack/spack/schema/merged.py
+++ b/lib/spack/spack/schema/merged.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/schema/mirrors.py b/lib/spack/spack/schema/mirrors.py
index 5bb641df05..6dec5aac97 100644
--- a/lib/spack/spack/schema/mirrors.py
+++ b/lib/spack/spack/schema/mirrors.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/schema/modules.py b/lib/spack/spack/schema/modules.py
index f44ba7d97d..39db0bf9a7 100644
--- a/lib/spack/spack/schema/modules.py
+++ b/lib/spack/spack/schema/modules.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/schema/packages.py b/lib/spack/spack/schema/packages.py
index f2626c83be..e24f610c74 100644
--- a/lib/spack/spack/schema/packages.py
+++ b/lib/spack/spack/schema/packages.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/schema/projections.py b/lib/spack/spack/schema/projections.py
index bd0693f30e..cab512fe3b 100644
--- a/lib/spack/spack/schema/projections.py
+++ b/lib/spack/spack/schema/projections.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/schema/repos.py b/lib/spack/spack/schema/repos.py
index 6aa9bcf57e..44cf688a48 100644
--- a/lib/spack/spack/schema/repos.py
+++ b/lib/spack/spack/schema/repos.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/schema/spec.py b/lib/spack/spack/schema/spec.py
index e2c8efad4c..fecfcb2af4 100644
--- a/lib/spack/spack/schema/spec.py
+++ b/lib/spack/spack/schema/spec.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/schema/upstreams.py b/lib/spack/spack/schema/upstreams.py
index f5192aa096..7d721332eb 100644
--- a/lib/spack/spack/schema/upstreams.py
+++ b/lib/spack/spack/schema/upstreams.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/solver/__init__.py b/lib/spack/spack/solver/__init__.py
index 94f8ac4d9e..103eae6134 100644
--- a/lib/spack/spack/solver/__init__.py
+++ b/lib/spack/spack/solver/__init__.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/solver/asp.py b/lib/spack/spack/solver/asp.py
index 18e08b3199..4d7b019ea6 100644
--- a/lib/spack/spack/solver/asp.py
+++ b/lib/spack/spack/solver/asp.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,7 +19,7 @@ import archspec.cpu
try:
import clingo
except ImportError:
- clingo = None
+ clingo = None # type: ignore
import llnl.util.lang
import llnl.util.tty as tty
@@ -40,6 +40,12 @@ import spack.variant
import spack.version
+if sys.version_info >= (3, 3):
+ from collections.abc import Sequence # novm
+else:
+ from collections import Sequence
+
+
class Timer(object):
"""Simple timer for timing phases of a solve"""
def __init__(self):
@@ -64,7 +70,7 @@ class Timer(object):
def issequence(obj):
if isinstance(obj, string_types):
return False
- return isinstance(obj, (collections.Sequence, types.GeneratorType))
+ return isinstance(obj, (Sequence, types.GeneratorType))
def listify(args):
@@ -204,19 +210,6 @@ class Result(object):
*sorted(str(symbol) for symbol in core))
-def _normalize(body):
- """Accept an AspAnd object or a single Symbol and return a list of
- symbols.
- """
- if isinstance(body, clingo.Symbol):
- args = [body]
- elif hasattr(body, 'symbol'):
- args = [body.symbol()]
- else:
- raise TypeError("Invalid typee: ", type(body))
- return args
-
-
def _normalize_packages_yaml(packages_yaml):
normalized_yaml = copy.copy(packages_yaml)
for pkg_name in packages_yaml:
@@ -274,19 +267,14 @@ class PyclingoDriver(object):
def fact(self, head):
"""ASP fact (a rule without a body)."""
- symbols = _normalize(head)
- self.out.write("%s.\n" % ','.join(str(a) for a in symbols))
+ symbol = head.symbol() if hasattr(head, 'symbol') else head
- atoms = {}
- for s in symbols:
- atoms[s] = self.backend.add_atom(s)
+ self.out.write("%s.\n" % str(symbol))
- self.backend.add_rule(
- [atoms[s] for s in symbols], [], choice=self.cores
- )
+ atom = self.backend.add_atom(symbol)
+ self.backend.add_rule([atom], [], choice=self.cores)
if self.cores:
- for s in symbols:
- self.assumptions.append(atoms[s])
+ self.assumptions.append(atom)
def solve(
self, solver_setup, specs, dump=None, nmodels=0,
@@ -1091,7 +1079,6 @@ class SpackSolverSetup(object):
if not spec.architecture or not spec.architecture.target:
continue
- print("TTYPE:", type(platform.target(spec.target.name)))
target = archspec.cpu.TARGETS.get(spec.target.name)
if not target:
self.target_ranges(spec, None)
diff --git a/lib/spack/spack/solver/concretize.lp b/lib/spack/spack/solver/concretize.lp
index d0174ca2e0..22ba77142a 100644
--- a/lib/spack/spack/solver/concretize.lp
+++ b/lib/spack/spack/solver/concretize.lp
@@ -1,3 +1,8 @@
+% Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+% Spack Project Developers. See the top-level COPYRIGHT file for details.
+%
+% SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
%=============================================================================
% This logic program implements Spack's concretizer
%=============================================================================
@@ -222,6 +227,7 @@ provider_weight(Package, 100)
provider(Package, Virtual),
not default_provider_preference(Virtual, Package, _).
+#defined possible_provider/2.
#defined provider_condition/3.
#defined required_provider_condition/3.
#defined required_provider_condition/4.
@@ -686,26 +692,6 @@ no_flags(Package, FlagType)
%-----------------------------------------------------------------------------
% How to optimize the spec (high to low priority)
%-----------------------------------------------------------------------------
-% weight root preferences higher
-%
-% TODO: how best to deal with this issue? It's not clear how best to
-% weight all the constraints. Without this root preference, `spack solve
-% hdf5` will pick mpich instead of openmpi, even if openmpi is the
-% preferred provider, because openmpi has a version constraint on hwloc.
-% It ends up choosing between settling for an old version of hwloc, or
-% picking the second-best provider. This workaround weights root
-% preferences higher so that hdf5's prefs are more important, but it's
-% not clear this is a general solution. It would be nice to weight by
-% distance to root, but that seems to slow down the solve a lot.
-%
-% One option is to make preferences hard constraints. Or maybe we need
-% to look more closely at where a constraint came from and factor that
-% into our weights. e.g., a non-default variant resulting from a version
-% constraint counts like a version constraint. Needs more thought later.
-%
-
-root(Package, 2) :- root(Package), node(Package).
-root(Dependency, 1) :- not root(Dependency), node(Dependency).
% The highest priority is to minimize the:
% 1. Version weight
diff --git a/lib/spack/spack/solver/display.lp b/lib/spack/spack/solver/display.lp
index 4b862a26e2..ad4cfdd2ec 100644
--- a/lib/spack/spack/solver/display.lp
+++ b/lib/spack/spack/solver/display.lp
@@ -1,3 +1,8 @@
+% Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+% Spack Project Developers. See the top-level COPYRIGHT file for details.
+%
+% SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
%=============================================================================-
% Display Results
%
diff --git a/lib/spack/spack/spec.py b/lib/spack/spack/spec.py
index f0ae6a1431..5986cf8e18 100644
--- a/lib/spack/spack/spec.py
+++ b/lib/spack/spack/spec.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -116,6 +116,13 @@ import spack.util.string
import spack.variant as vt
import spack.version as vn
+
+if sys.version_info >= (3, 3):
+ from collections.abc import Mapping # novm
+else:
+ from collections import Mapping
+
+
__all__ = [
'Spec',
'parse',
@@ -1779,10 +1786,12 @@ class Spec(object):
name = next(iter(node))
node = node[name]
- spec = Spec(name, full_hash=node.get('full_hash', None))
+ spec = Spec()
+ spec.name = name
spec.namespace = node.get('namespace', None)
spec._hash = node.get('hash', None)
spec._build_hash = node.get('build_hash', None)
+ spec._full_hash = node.get('full_hash', None)
if 'version' in node or 'versions' in node:
spec.versions = vn.VersionList.from_dict(node)
@@ -2120,7 +2129,7 @@ class Spec(object):
# which likely means the spec was created with Spec.from_detection
msg = ('cannot validate "{0}" since it was not created '
'using Spec.from_detection'.format(self))
- assert isinstance(self.extra_attributes, collections.Mapping), msg
+ assert isinstance(self.extra_attributes, Mapping), msg
# Validate the spec calling a package specific method
validate_fn = getattr(
@@ -2529,6 +2538,13 @@ class Spec(object):
else:
self._old_concretize(tests)
+ def _mark_root_concrete(self, value=True):
+ """Mark just this spec (not dependencies) concrete."""
+ if (not value) and self.concrete and self.package.installed:
+ return
+ self._normal = value
+ self._concrete = value
+
def _mark_concrete(self, value=True):
"""Mark this spec and its dependencies as concrete.
@@ -2536,10 +2552,7 @@ class Spec(object):
unless there is a need to force a spec to be concrete.
"""
for s in self.traverse():
- if (not value) and s.concrete and s.package.installed:
- continue
- s._normal = value
- s._concrete = value
+ s._mark_root_concrete(value)
def concretized(self, tests=False):
"""This is a non-destructive version of concretize().
@@ -3269,7 +3282,7 @@ class Spec(object):
"""Return list of any virtual deps in this spec."""
return [spec for spec in self.traverse() if spec.virtual]
- @property
+ @property # type: ignore[misc] # decorated prop not supported in mypy
@lang.memoized
def patches(self):
"""Return patch objects for any patch sha256 sums on this Spec.
diff --git a/lib/spack/spack/spec_list.py b/lib/spack/spack/spec_list.py
index 1aa0ab870e..4f7ae79ed9 100644
--- a/lib/spack/spack/spec_list.py
+++ b/lib/spack/spack/spec_list.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/stage.py b/lib/spack/spack/stage.py
index 719d408d84..c39b4d2f33 100644
--- a/lib/spack/spack/stage.py
+++ b/lib/spack/spack/stage.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,6 +16,7 @@ import sys
import tempfile
from six import string_types
from six import iteritems
+from typing import Dict # novm
import llnl.util.tty as tty
from llnl.util.filesystem import mkdirp, can_access, install, install_tree
@@ -221,7 +222,7 @@ class Stage(object):
"""
"""Shared dict of all stage locks."""
- stage_locks = {}
+ stage_locks = {} # type: Dict[str, spack.util.lock.Lock]
"""Most staging is managed by Spack. DIYStage is one exception."""
managed_by_spack = True
@@ -602,12 +603,12 @@ class Stage(object):
"""
Ensures the top-level (config:build_stage) directory exists.
"""
- # Emulate file permissions for tempfile.mkdtemp.
+ # User has full permissions and group has only read permissions
if not os.path.exists(self.path):
- mkdirp(self.path, mode=stat.S_IRWXU)
+ mkdirp(self.path, mode=stat.S_IRWXU | stat.S_IRGRP | stat.S_IXGRP)
elif not os.path.isdir(self.path):
os.remove(self.path)
- mkdirp(self.path, mode=stat.S_IRWXU)
+ mkdirp(self.path, mode=stat.S_IRWXU | stat.S_IRGRP | stat.S_IXGRP)
# Make sure we can actually do something with the stage we made.
ensure_access(self.path)
diff --git a/lib/spack/spack/store.py b/lib/spack/spack/store.py
index 779a5531a4..80a7ae0831 100644
--- a/lib/spack/spack/store.py
+++ b/lib/spack/spack/store.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -23,6 +23,7 @@ install trees to define their own layouts with some per-tree
configuration.
"""
+import contextlib
import os
import re
import six
@@ -157,6 +158,8 @@ class Store(object):
):
self.root = root
self.unpadded_root = unpadded_root or root
+ self.projections = projections
+ self.hash_length = hash_length
self.db = spack.database.Database(
root, upstream_dbs=retrieve_upstream_dbs())
self.layout = spack.directory_layout.YamlDirectoryLayout(
@@ -166,6 +169,27 @@ class Store(object):
"""Convenience function to reindex the store DB with its own layout."""
return self.db.reindex(self.layout)
+ def serialize(self):
+ """Return a pickle-able object that can be used to reconstruct
+ a store.
+ """
+ return (
+ self.root, self.unpadded_root, self.projections, self.hash_length
+ )
+
+ @staticmethod
+ def deserialize(token):
+ """Return a store reconstructed from a token created by
+ the serialize method.
+
+ Args:
+ token: return value of the serialize method
+
+ Returns:
+ Store object reconstructed from the token
+ """
+ return Store(*token)
+
def _store():
"""Get the singleton store instance."""
@@ -227,3 +251,34 @@ def _construct_upstream_dbs_from_install_roots(
accumulated_upstream_dbs.insert(0, next_db)
return accumulated_upstream_dbs
+
+
+@contextlib.contextmanager
+def use_store(store_or_path):
+ """Use the store passed as argument within the context manager.
+
+ Args:
+ store_or_path: either a Store object ot a path to where the store resides
+
+ Returns:
+ Store object associated with the context manager's store
+ """
+ global store, db, layout, root, unpadded_root
+
+ # Normalize input arguments
+ temporary_store = store_or_path
+ if not isinstance(store_or_path, Store):
+ temporary_store = Store(store_or_path)
+
+ # Swap the store with the one just constructed and return it
+ _ = store.db
+ original_store, store = store, temporary_store
+ db, layout = store.db, store.layout
+ root, unpadded_root = store.root, store.unpadded_root
+
+ yield temporary_store
+
+ # Restore the original store
+ store = original_store
+ db, layout = original_store.db, original_store.layout
+ root, unpadded_root = original_store.root, original_store.unpadded_root
diff --git a/lib/spack/spack/subprocess_context.py b/lib/spack/spack/subprocess_context.py
index b8e157740f..3eee2125d2 100644
--- a/lib/spack/spack/subprocess_context.py
+++ b/lib/spack/spack/subprocess_context.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -69,10 +69,12 @@ class PackageInstallContext(object):
self.serialized_pkg = serialize(pkg)
else:
self.pkg = pkg
+ self.spack_working_dir = spack.main.spack_working_dir
self.test_state = TestState()
def restore(self):
self.test_state.restore()
+ spack.main.spack_working_dir = self.spack_working_dir
if _serialize:
return pickle.load(self.serialized_pkg)
else:
@@ -91,18 +93,21 @@ class TestState(object):
self.config = spack.config.config
self.platform = spack.architecture.platform
self.test_patches = store_patches()
-
- # TODO: transfer spack.store.store? note that you should not
- # transfer spack.store.store and spack.store.db: 'db' is a
- # shortcut that accesses the store (so transferring both can
- # create an inconsistency). Some tests set 'db' directly, and
- # others set 'store'
+ self.store_token = spack.store.store.serialize()
def restore(self):
if _serialize:
spack.repo.path = spack.repo._path(self.repo_dirs)
spack.config.config = self.config
spack.architecture.platform = self.platform
+
+ new_store = spack.store.Store.deserialize(self.store_token)
+ spack.store.store = new_store
+ spack.store.root = new_store.root
+ spack.store.unpadded_root = new_store.unpadded_root
+ spack.store.db = new_store.db
+ spack.store.layout = new_store.layout
+
self.test_patches.restore()
diff --git a/lib/spack/spack/tengine.py b/lib/spack/spack/tengine.py
index 15268e682d..fc2f19f57f 100644
--- a/lib/spack/spack/tengine.py
+++ b/lib/spack/spack/tengine.py
@@ -1,9 +1,10 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
import itertools
import textwrap
+from typing import List # novm
import llnl.util.lang
import six
@@ -18,7 +19,7 @@ class ContextMeta(type):
"""
#: Keeps track of the context properties that have been added
#: by the class that is being defined
- _new_context_properties = []
+ _new_context_properties = [] # type: List[str]
def __new__(cls, name, bases, attr_dict):
# Merge all the context properties that are coming from base classes
diff --git a/lib/spack/spack/test/__init__.py b/lib/spack/spack/test/__init__.py
index 9f87532b85..103eae6134 100644
--- a/lib/spack/spack/test/__init__.py
+++ b/lib/spack/spack/test/__init__.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/abi.py b/lib/spack/spack/test/abi.py
index dd41228941..ee2aa1f3e6 100644
--- a/lib/spack/spack/test/abi.py
+++ b/lib/spack/spack/test/abi.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/architecture.py b/lib/spack/spack/test/architecture.py
index 66c87240a1..e37818f10c 100644
--- a/lib/spack/spack/test/architecture.py
+++ b/lib/spack/spack/test/architecture.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -6,6 +6,7 @@
""" Test checks if the architecture class is created correctly and also that
the functions are looking for the correct architecture name
"""
+import itertools
import os
import platform as py_platform
@@ -116,20 +117,26 @@ def test_user_defaults(config):
assert default_target == default_spec.architecture.target
-@pytest.mark.parametrize('operating_system', [
- x for x in spack.architecture.platform().operating_sys
-] + ["fe", "be", "frontend", "backend"])
-@pytest.mark.parametrize('target', [
- x for x in spack.architecture.platform().targets
-] + ["fe", "be", "frontend", "backend"])
-def test_user_input_combination(config, operating_system, target):
- platform = spack.architecture.platform()
- spec = Spec("libelf os=%s target=%s" % (operating_system, target))
- spec.concretize()
- assert spec.architecture.os == str(
- platform.operating_system(operating_system)
- )
- assert spec.architecture.target == platform.target(target)
+def test_user_input_combination(config):
+ valid_keywords = ["fe", "be", "frontend", "backend"]
+
+ possible_targets = ([x for x in spack.architecture.platform().targets]
+ + valid_keywords)
+
+ possible_os = ([x for x in spack.architecture.platform().operating_sys]
+ + valid_keywords)
+
+ for target, operating_system in itertools.product(
+ possible_targets, possible_os
+ ):
+ platform = spack.architecture.platform()
+ spec_str = "libelf os={0} target={1}".format(operating_system, target)
+ spec = Spec(spec_str)
+ spec.concretize()
+ assert spec.architecture.os == str(
+ platform.operating_system(operating_system)
+ )
+ assert spec.architecture.target == platform.target(target)
def test_operating_system_conversion_to_dict():
diff --git a/lib/spack/spack/test/bindist.py b/lib/spack/spack/test/bindist.py
index 05cfda5019..1868d74ccc 100644
--- a/lib/spack/spack/test/bindist.py
+++ b/lib/spack/spack/test/bindist.py
@@ -1,96 +1,62 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
-
-"""
-This test checks creating and install buildcaches
-"""
import os
import sys
+import platform
+
import py
import pytest
-import argparse
-import platform
-import spack.repo
-import spack.store
+
import spack.binary_distribution as bindist
-import spack.cmd.buildcache as buildcache
-import spack.cmd.install as install
-import spack.cmd.uninstall as uninstall
-import spack.cmd.mirror as mirror
+import spack.config
import spack.hooks.sbang as sbang
-from spack.main import SpackCommand
+import spack.main
import spack.mirror
+import spack.repo
+import spack.store
import spack.util.gpg
import spack.util.web as web_util
+
from spack.directory_layout import YamlDirectoryLayout
from spack.spec import Spec
-
-def_install_path_scheme = '${ARCHITECTURE}/${COMPILERNAME}-${COMPILERVER}/${PACKAGE}-${VERSION}-${HASH}' # noqa: E501
-ndef_install_path_scheme = '${PACKAGE}/${VERSION}/${ARCHITECTURE}-${COMPILERNAME}-${COMPILERVER}-${HASH}' # noqa: E501
-
-mirror_path_def = None
-mirror_path_rel = None
-
-mirror_cmd = SpackCommand('mirror')
-install_cmd = SpackCommand('install')
-uninstall_cmd = SpackCommand('uninstall')
-buildcache_cmd = SpackCommand('buildcache')
+mirror_cmd = spack.main.SpackCommand('mirror')
+install_cmd = spack.main.SpackCommand('install')
+uninstall_cmd = spack.main.SpackCommand('uninstall')
+buildcache_cmd = spack.main.SpackCommand('buildcache')
@pytest.fixture(scope='function')
def cache_directory(tmpdir):
- old_cache_path = spack.caches.fetch_cache
- tmpdir.ensure('fetch_cache', dir=True)
- fsc = spack.fetch_strategy.FsCache(str(tmpdir.join('fetch_cache')))
- spack.config.caches = fsc
- yield spack.config.caches
- tmpdir.join('fetch_cache').remove()
- spack.config.caches = old_cache_path
-
-
-@pytest.fixture(scope='session')
-def session_mirror_def(tmpdir_factory):
- dir = tmpdir_factory.mktemp('mirror')
- global mirror_path_rel
- mirror_path_rel = dir
- dir.ensure('build_cache', dir=True)
- yield dir
- dir.join('build_cache').remove()
+ fetch_cache_dir = tmpdir.ensure('fetch_cache', dir=True)
+ fsc = spack.fetch_strategy.FsCache(str(fetch_cache_dir))
+ spack.config.caches, old_cache_path = fsc, spack.caches.fetch_cache
+ yield spack.config.caches
-@pytest.fixture(scope='function')
-def mirror_directory_def(session_mirror_def):
- yield str(session_mirror_def)
+ fetch_cache_dir.remove()
+ spack.config.caches = old_cache_path
-@pytest.fixture(scope='session')
-def session_mirror_rel(tmpdir_factory):
+@pytest.fixture(scope='module')
+def mirror_dir(tmpdir_factory):
dir = tmpdir_factory.mktemp('mirror')
- global mirror_path_rel
- mirror_path_rel = dir
dir.ensure('build_cache', dir=True)
- yield dir
+ yield str(dir)
dir.join('build_cache').remove()
@pytest.fixture(scope='function')
-def mirror_directory_rel(session_mirror_rel):
- yield(session_mirror_rel)
-
-
-@pytest.fixture(scope='function')
-def function_mirror(tmpdir):
- mirror_dir = str(tmpdir.join('mirror'))
- mirror_cmd('add', '--scope', 'site', 'test-mirror-func',
- 'file://%s' % mirror_dir)
+def test_mirror(mirror_dir):
+ mirror_url = 'file://%s' % mirror_dir
+ mirror_cmd('add', '--scope', 'site', 'test-mirror-func', mirror_url)
yield mirror_dir
mirror_cmd('rm', '--scope=site', 'test-mirror-func')
-@pytest.fixture(scope='session')
+@pytest.fixture(scope='module')
def config_directory(tmpdir_factory):
tmpdir = tmpdir_factory.mktemp('test_configs')
# restore some sane defaults for packages and config
@@ -116,8 +82,14 @@ def config_directory(tmpdir_factory):
@pytest.fixture(scope='function')
-def default_config(tmpdir_factory, config_directory, monkeypatch):
-
+def default_config(
+ tmpdir_factory, config_directory, monkeypatch,
+ install_mockery_mutable_config
+):
+ # This fixture depends on install_mockery_mutable_config to ensure
+ # there is a clear order of initialization. The substitution of the
+ # config scopes here is done on top of the substitution that comes with
+ # install_mockery_mutable_config
mutable_dir = tmpdir_factory.mktemp('mutable_config').join('tmp')
config_directory.copy(mutable_dir)
@@ -126,7 +98,7 @@ def default_config(tmpdir_factory, config_directory, monkeypatch):
for name in ['site/%s' % platform.system().lower(),
'site', 'user']])
- monkeypatch.setattr(spack.config, 'config', cfg)
+ spack.config.config, old_config = cfg, spack.config.config
# This is essential, otherwise the cache will create weird side effects
# that will compromise subsequent tests if compilers.yaml is modified
@@ -148,18 +120,25 @@ def default_config(tmpdir_factory, config_directory, monkeypatch):
timeout = spack.config.get('config:connect_timeout')
if not timeout:
spack.config.set('config:connect_timeout', 10, scope='user')
+
yield spack.config.config
+
+ spack.config.config = old_config
mutable_dir.remove()
@pytest.fixture(scope='function')
def install_dir_default_layout(tmpdir):
"""Hooks a fake install directory with a default layout"""
- real_store = spack.store.store
- real_layout = spack.store.layout
- spack.store.store = spack.store.Store(str(tmpdir.join('opt')))
- spack.store.layout = YamlDirectoryLayout(str(tmpdir.join('opt')),
- path_scheme=def_install_path_scheme) # noqa: E501
+ scheme = os.path.join(
+ '${architecture}',
+ '${compiler.name}-${compiler.version}',
+ '${name}-${version}-${hash}'
+ )
+ real_store, real_layout = spack.store.store, spack.store.layout
+ opt_dir = tmpdir.join('opt')
+ spack.store.store = spack.store.Store(str(opt_dir))
+ spack.store.layout = YamlDirectoryLayout(str(opt_dir), path_scheme=scheme)
try:
yield spack.store
finally:
@@ -170,11 +149,14 @@ def install_dir_default_layout(tmpdir):
@pytest.fixture(scope='function')
def install_dir_non_default_layout(tmpdir):
"""Hooks a fake install directory with a non-default layout"""
- real_store = spack.store.store
- real_layout = spack.store.layout
- spack.store.store = spack.store.Store(str(tmpdir.join('opt')))
- spack.store.layout = YamlDirectoryLayout(str(tmpdir.join('opt')),
- path_scheme=ndef_install_path_scheme) # noqa: E501
+ scheme = os.path.join(
+ '${name}', '${version}',
+ '${architecture}-${compiler.name}-${compiler.version}-${hash}'
+ )
+ real_store, real_layout = spack.store.store, spack.store.layout
+ opt_dir = tmpdir.join('opt')
+ spack.store.store = spack.store.Store(str(opt_dir))
+ spack.store.layout = YamlDirectoryLayout(str(opt_dir), path_scheme=scheme)
try:
yield spack.store
finally:
@@ -190,308 +172,149 @@ else:
@pytest.mark.requires_executables(*args)
-@pytest.mark.disable_clean_stage_check
@pytest.mark.maybeslow
-@pytest.mark.usefixtures('default_config', 'cache_directory',
- 'install_dir_default_layout')
-def test_default_rpaths_create_install_default_layout(tmpdir,
- mirror_directory_def,
- install_mockery):
+@pytest.mark.usefixtures(
+ 'default_config', 'cache_directory', 'install_dir_default_layout',
+ 'test_mirror'
+)
+def test_default_rpaths_create_install_default_layout(mirror_dir):
"""
Test the creation and installation of buildcaches with default rpaths
into the default directory layout scheme.
"""
+ gspec, cspec = Spec('garply').concretized(), Spec('corge').concretized()
- gspec = Spec('garply')
- gspec.concretize()
- cspec = Spec('corge')
- cspec.concretize()
-
- iparser = argparse.ArgumentParser()
- install.setup_parser(iparser)
- # Install some packages with dependent packages
- iargs = iparser.parse_args(['--no-cache', cspec.name])
- install.install(iparser, iargs)
-
- global mirror_path_def
- mirror_path_def = mirror_directory_def
- mparser = argparse.ArgumentParser()
- mirror.setup_parser(mparser)
- margs = mparser.parse_args(
- ['add', '--scope', 'site', 'test-mirror-def', 'file://%s' % mirror_path_def])
- mirror.mirror(mparser, margs)
- margs = mparser.parse_args(['list'])
- mirror.mirror(mparser, margs)
-
- # setup argument parser
- parser = argparse.ArgumentParser()
- buildcache.setup_parser(parser)
-
- # Set default buildcache args
- create_args = ['create', '-a', '-u', '-d', str(mirror_path_def),
- cspec.name]
- install_args = ['install', '-a', '-u', cspec.name]
+ # Install 'corge' without using a cache
+ install_cmd('--no-cache', cspec.name)
# Create a buildache
- args = parser.parse_args(create_args)
- buildcache.buildcache(parser, args)
- # Test force overwrite create buildcache
- create_args.insert(create_args.index('-a'), '-f')
- args = parser.parse_args(create_args)
- buildcache.buildcache(parser, args)
- # create mirror index
- args = parser.parse_args(['update-index', '-d', 'file://%s' % str(mirror_path_def)])
- buildcache.buildcache(parser, args)
- # list the buildcaches in the mirror
- args = parser.parse_args(['list', '-a', '-l', '-v'])
- buildcache.buildcache(parser, args)
+ buildcache_cmd('create', '-au', '-d', mirror_dir, cspec.name)
+ # Test force overwrite create buildcache (-f option)
+ buildcache_cmd('create', '-auf', '-d', mirror_dir, cspec.name)
+
+ # Create mirror index
+ mirror_url = 'file://{0}'.format(mirror_dir)
+ buildcache_cmd('update-index', '-d', mirror_url)
+ # List the buildcaches in the mirror
+ buildcache_cmd('list', '-alv')
# Uninstall the package and deps
- uparser = argparse.ArgumentParser()
- uninstall.setup_parser(uparser)
- uargs = uparser.parse_args(['-y', '--dependents', gspec.name])
- uninstall.uninstall(uparser, uargs)
+ uninstall_cmd('-y', '--dependents', gspec.name)
- # test install
- args = parser.parse_args(install_args)
- buildcache.buildcache(parser, args)
+ # Test installing from build caches
+ buildcache_cmd('install', '-au', cspec.name)
# This gives warning that spec is already installed
- buildcache.buildcache(parser, args)
-
- # test overwrite install
- install_args.insert(install_args.index('-a'), '-f')
- args = parser.parse_args(install_args)
- buildcache.buildcache(parser, args)
+ buildcache_cmd('install', '-au', cspec.name)
- args = parser.parse_args(['keys', '-f'])
- buildcache.buildcache(parser, args)
+ # Test overwrite install
+ buildcache_cmd('install', '-afu', cspec.name)
- args = parser.parse_args(['list'])
- buildcache.buildcache(parser, args)
+ buildcache_cmd('keys', '-f')
+ buildcache_cmd('list')
- args = parser.parse_args(['list', '-a'])
- buildcache.buildcache(parser, args)
-
- args = parser.parse_args(['list', '-l', '-v'])
- buildcache.buildcache(parser, args)
- bindist.clear_spec_cache()
- spack.stage.purge()
- margs = mparser.parse_args(
- ['rm', '--scope', 'site', 'test-mirror-def'])
- mirror.mirror(mparser, margs)
+ buildcache_cmd('list', '-a')
+ buildcache_cmd('list', '-l', '-v')
@pytest.mark.requires_executables(*args)
-@pytest.mark.disable_clean_stage_check
@pytest.mark.maybeslow
@pytest.mark.nomockstage
-@pytest.mark.usefixtures('default_config', 'cache_directory',
- 'install_dir_non_default_layout')
-def test_default_rpaths_install_nondefault_layout(tmpdir,
- install_mockery):
+@pytest.mark.usefixtures(
+ 'default_config', 'cache_directory', 'install_dir_non_default_layout',
+ 'test_mirror'
+)
+def test_default_rpaths_install_nondefault_layout(mirror_dir):
"""
Test the creation and installation of buildcaches with default rpaths
into the non-default directory layout scheme.
"""
-
- gspec = Spec('garply')
- gspec.concretize()
- cspec = Spec('corge')
- cspec.concretize()
-
- global mirror_path_def
- mparser = argparse.ArgumentParser()
- mirror.setup_parser(mparser)
- margs = mparser.parse_args(
- ['add', '--scope', 'site', 'test-mirror-def', 'file://%s' % mirror_path_def])
- mirror.mirror(mparser, margs)
-
- # setup argument parser
- parser = argparse.ArgumentParser()
- buildcache.setup_parser(parser)
-
- # Set default buildcache args
- install_args = ['install', '-a', '-u', '%s' % cspec.name]
+ cspec = Spec('corge').concretized()
# Install some packages with dependent packages
# test install in non-default install path scheme
- args = parser.parse_args(install_args)
- buildcache.buildcache(parser, args)
- # test force install in non-default install path scheme
- install_args.insert(install_args.index('-a'), '-f')
- args = parser.parse_args(install_args)
- buildcache.buildcache(parser, args)
+ buildcache_cmd('install', '-au', cspec.name)
- bindist.clear_spec_cache()
- spack.stage.purge()
- margs = mparser.parse_args(
- ['rm', '--scope', 'site', 'test-mirror-def'])
- mirror.mirror(mparser, margs)
+ # Test force install in non-default install path scheme
+ buildcache_cmd('install', '-auf', cspec.name)
@pytest.mark.requires_executables(*args)
-@pytest.mark.disable_clean_stage_check
@pytest.mark.maybeslow
@pytest.mark.nomockstage
-@pytest.mark.usefixtures('default_config', 'cache_directory',
- 'install_dir_default_layout')
-def test_relative_rpaths_create_default_layout(tmpdir,
- mirror_directory_rel,
- install_mockery):
+@pytest.mark.usefixtures(
+ 'default_config', 'cache_directory', 'install_dir_default_layout'
+)
+def test_relative_rpaths_create_default_layout(mirror_dir):
"""
Test the creation and installation of buildcaches with relative
rpaths into the default directory layout scheme.
"""
- gspec = Spec('garply')
- gspec.concretize()
- cspec = Spec('corge')
- cspec.concretize()
+ gspec, cspec = Spec('garply').concretized(), Spec('corge').concretized()
- global mirror_path_rel
- mirror_path_rel = mirror_directory_rel
- # Install patchelf needed for relocate in linux test environment
- iparser = argparse.ArgumentParser()
- install.setup_parser(iparser)
- # Install some packages with dependent packages
- iargs = iparser.parse_args(['--no-cache', cspec.name])
- install.install(iparser, iargs)
-
- # setup argument parser
- parser = argparse.ArgumentParser()
- buildcache.setup_parser(parser)
-
- # set default buildcache args
- create_args = ['create', '-a', '-u', '-r', '-d',
- str(mirror_path_rel),
- cspec.name]
-
- # create build cache with relatived rpaths
- args = parser.parse_args(create_args)
- buildcache.buildcache(parser, args)
- # create mirror index
- args = parser.parse_args(['update-index', '-d', 'file://%s' % str(mirror_path_rel)])
- buildcache.buildcache(parser, args)
- # Uninstall the package and deps
- uparser = argparse.ArgumentParser()
- uninstall.setup_parser(uparser)
- uargs = uparser.parse_args(['-y', '--dependents', gspec.name])
- uninstall.uninstall(uparser, uargs)
+ # Install 'corge' without using a cache
+ install_cmd('--no-cache', cspec.name)
- bindist.clear_spec_cache()
- spack.stage.purge()
+ # Create build cache with relative rpaths
+ buildcache_cmd(
+ 'create', '-aur', '-d', mirror_dir, cspec.name
+ )
+
+ # Create mirror index
+ mirror_url = 'file://%s' % mirror_dir
+ buildcache_cmd('update-index', '-d', mirror_url)
+
+ # Uninstall the package and deps
+ uninstall_cmd('-y', '--dependents', gspec.name)
@pytest.mark.requires_executables(*args)
-@pytest.mark.disable_clean_stage_check
@pytest.mark.maybeslow
@pytest.mark.nomockstage
-@pytest.mark.usefixtures('default_config', 'cache_directory',
- 'install_dir_default_layout')
-def test_relative_rpaths_install_default_layout(tmpdir,
- install_mockery):
+@pytest.mark.usefixtures(
+ 'default_config', 'cache_directory', 'install_dir_default_layout',
+ 'test_mirror'
+)
+def test_relative_rpaths_install_default_layout(mirror_dir):
"""
Test the creation and installation of buildcaches with relative
rpaths into the default directory layout scheme.
"""
+ gspec, cspec = Spec('garply').concretized(), Spec('corge').concretized()
- gspec = Spec('garply')
- gspec.concretize()
- cspec = Spec('corge')
- cspec.concretize()
-
- global mirror_path_rel
- mparser = argparse.ArgumentParser()
- mirror.setup_parser(mparser)
- margs = mparser.parse_args(
- ['add', '--scope', 'site', 'test-mirror-rel', 'file://%s' % mirror_path_rel])
- mirror.mirror(mparser, margs)
-
- iparser = argparse.ArgumentParser()
- install.setup_parser(iparser)
-
- # setup argument parser
- parser = argparse.ArgumentParser()
- buildcache.setup_parser(parser)
-
- # set default buildcache args
- install_args = ['install', '-a', '-u', '-f',
- cspec.name]
-
- # install buildcache created with relativized rpaths
- args = parser.parse_args(install_args)
- buildcache.buildcache(parser, args)
+ # Install buildcache created with relativized rpaths
+ buildcache_cmd('install', '-auf', cspec.name)
# This gives warning that spec is already installed
- buildcache.buildcache(parser, args)
+ buildcache_cmd('install', '-auf', cspec.name)
# Uninstall the package and deps
- uparser = argparse.ArgumentParser()
- uninstall.setup_parser(uparser)
- uargs = uparser.parse_args(['-y', '--dependents', gspec.name])
- uninstall.uninstall(uparser, uargs)
-
- # install build cache
- buildcache.buildcache(parser, args)
+ uninstall_cmd('-y', '--dependents', gspec.name)
- # test overwrite install
- install_args.insert(install_args.index('-a'), '-f')
- args = parser.parse_args(install_args)
- buildcache.buildcache(parser, args)
+ # Install build cache
+ buildcache_cmd('install', '-auf', cspec.name)
- bindist.clear_spec_cache()
- spack.stage.purge()
- margs = mparser.parse_args(
- ['rm', '--scope', 'site', 'test-mirror-rel'])
- mirror.mirror(mparser, margs)
+ # Test overwrite install
+ buildcache_cmd('install', '-auf', cspec.name)
@pytest.mark.requires_executables(*args)
-@pytest.mark.disable_clean_stage_check
@pytest.mark.maybeslow
@pytest.mark.nomockstage
-@pytest.mark.usefixtures('default_config', 'cache_directory',
- 'install_dir_non_default_layout')
-def test_relative_rpaths_install_nondefault(tmpdir,
- install_mockery):
+@pytest.mark.usefixtures(
+ 'default_config', 'cache_directory', 'install_dir_non_default_layout',
+ 'test_mirror'
+)
+def test_relative_rpaths_install_nondefault(mirror_dir):
"""
Test the installation of buildcaches with relativized rpaths
into the non-default directory layout scheme.
"""
+ cspec = Spec('corge').concretized()
- gspec = Spec('garply')
- gspec.concretize()
- cspec = Spec('corge')
- cspec.concretize()
-
- global mirror_path_rel
-
- mparser = argparse.ArgumentParser()
- mirror.setup_parser(mparser)
- margs = mparser.parse_args(
- ['add', '--scope', 'site', 'test-mirror-rel', 'file://%s' % mirror_path_rel])
- mirror.mirror(mparser, margs)
-
- iparser = argparse.ArgumentParser()
- install.setup_parser(iparser)
-
- # setup argument parser
- parser = argparse.ArgumentParser()
- buildcache.setup_parser(parser)
-
- # Set default buildcache args
- install_args = ['install', '-a', '-u', '-f', '%s' % cspec.name]
-
- # test install in non-default install path scheme and relative path
- args = parser.parse_args(install_args)
- buildcache.buildcache(parser, args)
-
- bindist.clear_spec_cache()
- spack.stage.purge()
- margs = mparser.parse_args(
- ['rm', '--scope', 'site', 'test-mirror-rel'])
- mirror.mirror(mparser, margs)
+ # Test install in non-default install path scheme and relative path
+ buildcache_cmd('install', '-auf', cspec.name)
@pytest.mark.skipif(not spack.util.gpg.has_gpg(),
@@ -534,38 +357,20 @@ def test_push_and_fetch_keys(mock_gnupghome):
@pytest.mark.requires_executables(*args)
-@pytest.mark.disable_clean_stage_check
@pytest.mark.maybeslow
@pytest.mark.nomockstage
-@pytest.mark.usefixtures('default_config', 'cache_directory',
- 'install_dir_non_default_layout')
-def test_built_spec_cache(tmpdir,
- install_mockery):
+@pytest.mark.usefixtures(
+ 'default_config', 'cache_directory', 'install_dir_non_default_layout',
+ 'test_mirror'
+)
+def test_built_spec_cache(mirror_dir):
""" Because the buildcache list command fetches the buildcache index
and uses it to populate the binary_distribution built spec cache, when
this test calls get_mirrors_for_spec, it is testing the popluation of
that cache from a buildcache index. """
- global mirror_path_rel
-
- mparser = argparse.ArgumentParser()
- mirror.setup_parser(mparser)
- margs = mparser.parse_args(
- ['add', '--scope', 'site', 'test-mirror-rel', 'file://%s' % mirror_path_rel])
- mirror.mirror(mparser, margs)
-
- # setup argument parser
- parser = argparse.ArgumentParser()
- buildcache.setup_parser(parser)
-
- list_args = ['list', '-a', '-l']
- args = parser.parse_args(list_args)
- buildcache.buildcache(parser, args)
-
- gspec = Spec('garply')
- gspec.concretize()
+ buildcache_cmd('list', '-a', '-l')
- cspec = Spec('corge')
- cspec.concretize()
+ gspec, cspec = Spec('garply').concretized(), Spec('corge').concretized()
full_hash_map = {
'garply': gspec.full_hash(),
@@ -590,12 +395,6 @@ def test_built_spec_cache(tmpdir,
assert(result['mirror_url'] not in cspec_mirrors)
cspec_mirrors[result['mirror_url']] = True
- bindist.clear_spec_cache()
-
- margs = mparser.parse_args(
- ['rm', '--scope', 'site', 'test-mirror-rel'])
- mirror.mirror(mparser, margs)
-
def fake_full_hash(spec):
# Generate an arbitrary hash that is intended to be different than
@@ -604,8 +403,11 @@ def fake_full_hash(spec):
return 'tal4c7h4z0gqmixb1eqa92mjoybxn5l6'
-def test_spec_needs_rebuild(install_mockery_mutable_config, mock_packages,
- mock_fetch, monkeypatch, tmpdir):
+@pytest.mark.usefixtures(
+ 'install_mockery_mutable_config', 'mock_packages', 'mock_fetch',
+ 'test_mirror'
+)
+def test_spec_needs_rebuild(monkeypatch, tmpdir):
"""Make sure needs_rebuild properly compares remote full_hash
against locally computed one, avoiding unnecessary rebuilds"""
@@ -613,8 +415,6 @@ def test_spec_needs_rebuild(install_mockery_mutable_config, mock_packages,
mirror_dir = tmpdir.join('mirror_dir')
mirror_url = 'file://{0}'.format(mirror_dir.strpath)
- mirror_cmd('add', 'test-mirror', mirror_url)
-
s = Spec('libdwarf').concretized()
# Install a package
@@ -683,47 +483,49 @@ def test_generate_indices_exception(monkeypatch, capfd):
assert expect in err
-@pytest.mark.usefixtures('mock_fetch')
-def test_update_sbang(tmpdir, install_mockery, function_mirror):
- """
- Test the creation and installation of buildcaches with default rpaths
+@pytest.mark.usefixtures('mock_fetch', 'install_mockery')
+def test_update_sbang(tmpdir, test_mirror):
+ """Test the creation and installation of buildcaches with default rpaths
into the non-default directory layout scheme, triggering an update of the
sbang.
"""
-
- # Save the original store and layout before we touch ANYTHING.
- real_store = spack.store.store
- real_layout = spack.store.layout
-
+ scheme = os.path.join(
+ '${name}', '${version}',
+ '${architecture}-${compiler.name}-${compiler.version}-${hash}'
+ )
+ spec_str = 'old-sbang'
# Concretize a package with some old-fashioned sbang lines.
- sspec = Spec('old-sbang')
- sspec.concretize()
+ old_spec = Spec(spec_str).concretized()
+ old_spec_hash_str = '/{0}'.format(old_spec.dag_hash())
# Need a fake mirror with *function* scope.
- mirror_dir = function_mirror
+ mirror_dir = test_mirror
+ mirror_url = 'file://{0}'.format(mirror_dir)
- # Assumes all commands will concretize sspec the same way.
- install_cmd('--no-cache', sspec.name)
+ # Assume all commands will concretize old_spec the same way.
+ install_cmd('--no-cache', old_spec.name)
# Create a buildcache with the installed spec.
- buildcache_cmd('create', '-u', '-a', '-d', mirror_dir,
- '/%s' % sspec.dag_hash())
+ buildcache_cmd('create', '-u', '-a', '-d', mirror_dir, old_spec_hash_str)
# Need to force an update of the buildcache index
- buildcache_cmd('update-index', '-d', 'file://%s' % mirror_dir)
+ buildcache_cmd('update-index', '-d', mirror_url)
# Uninstall the original package.
- uninstall_cmd('-y', '/%s' % sspec.dag_hash())
+ uninstall_cmd('-y', old_spec_hash_str)
- try:
- # New install tree locations...
- # Too fine-grained to do be done in a fixture
- spack.store.store = spack.store.Store(str(tmpdir.join('newtree')))
- spack.store.layout = YamlDirectoryLayout(str(tmpdir.join('newtree')),
- path_scheme=ndef_install_path_scheme) # noqa: E501
+ # Switch the store to the new install tree locations
+ newtree_dir = tmpdir.join('newtree')
+ s = spack.store.Store(str(newtree_dir))
+ s.layout = YamlDirectoryLayout(str(newtree_dir), path_scheme=scheme)
+
+ with spack.store.use_store(s):
+ new_spec = Spec('old-sbang')
+ new_spec.concretize()
+ assert new_spec.dag_hash() == old_spec.dag_hash()
# Install package from buildcache
- buildcache_cmd('install', '-a', '-u', '-f', sspec.name)
+ buildcache_cmd('install', '-a', '-u', '-f', new_spec.name)
# Continue blowing away caches
bindist.clear_spec_cache()
@@ -734,25 +536,19 @@ def test_update_sbang(tmpdir, install_mockery, function_mirror):
#!/usr/bin/env python
{1}
- '''.format(sbang.sbang_shebang_line(), sspec.prefix.bin)
+'''.format(sbang.sbang_shebang_line(), new_spec.prefix.bin)
sbang_style_2_expected = '''{0}
#!/usr/bin/env python
{1}
- '''.format(sbang.sbang_shebang_line(), sspec.prefix.bin)
+'''.format(sbang.sbang_shebang_line(), new_spec.prefix.bin)
- installed_script_style_1_path = \
- sspec.prefix.bin.join('sbang-style-1.sh')
+ installed_script_style_1_path = new_spec.prefix.bin.join('sbang-style-1.sh')
assert sbang_style_1_expected == \
open(str(installed_script_style_1_path)).read()
- installed_script_style_2_path = \
- sspec.prefix.bin.join('sbang-style-2.sh')
+ installed_script_style_2_path = new_spec.prefix.bin.join('sbang-style-2.sh')
assert sbang_style_2_expected == \
open(str(installed_script_style_2_path)).read()
- uninstall_cmd('-y', '/%s' % sspec.dag_hash())
-
- finally:
- spack.store.store = real_store
- spack.store.layout = real_layout
+ uninstall_cmd('-y', '/%s' % new_spec.dag_hash())
diff --git a/lib/spack/spack/test/build_distribution.py b/lib/spack/spack/test/build_distribution.py
index 2d567aee14..873a57a0e9 100644
--- a/lib/spack/spack/test/build_distribution.py
+++ b/lib/spack/spack/test/build_distribution.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/build_environment.py b/lib/spack/spack/test/build_environment.py
index a7a55af0ca..28f6aefcb8 100644
--- a/lib/spack/spack/test/build_environment.py
+++ b/lib/spack/spack/test/build_environment.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/build_system_guess.py b/lib/spack/spack/test/build_system_guess.py
index 6c2e3c6be5..ab9735fd48 100644
--- a/lib/spack/spack/test/build_system_guess.py
+++ b/lib/spack/spack/test/build_system_guess.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/build_systems.py b/lib/spack/spack/test/build_systems.py
index 1606ba8ebd..b02da380a8 100644
--- a/lib/spack/spack/test/build_systems.py
+++ b/lib/spack/spack/test/build_systems.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/buildrequest.py b/lib/spack/spack/test/buildrequest.py
index 5918838edc..22d7b5fff1 100644
--- a/lib/spack/spack/test/buildrequest.py
+++ b/lib/spack/spack/test/buildrequest.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/buildtask.py b/lib/spack/spack/test/buildtask.py
index f82ff6861a..44faf6244d 100644
--- a/lib/spack/spack/test/buildtask.py
+++ b/lib/spack/spack/test/buildtask.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cache_fetch.py b/lib/spack/spack/test/cache_fetch.py
index 3b4c3cb887..8771769307 100644
--- a/lib/spack/spack/test/cache_fetch.py
+++ b/lib/spack/spack/test/cache_fetch.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cc.py b/lib/spack/spack/test/cc.py
index 7b8d34fbde..59b2f8e4cb 100644
--- a/lib/spack/spack/test/cc.py
+++ b/lib/spack/spack/test/cc.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -28,6 +28,7 @@ test_args = [
'-Wl,--end-group',
'-Xlinker', '-rpath', '-Xlinker', '/third/rpath',
'-Xlinker', '-rpath', '-Xlinker', '/fourth/rpath',
+ '-Wl,--rpath,/fifth/rpath', '-Wl,--rpath', '-Wl,/sixth/rpath',
'-llib3', '-llib4',
'arg5', 'arg6']
@@ -45,11 +46,13 @@ test_library_paths = [
test_wl_rpaths = [
'-Wl,-rpath,/first/rpath', '-Wl,-rpath,/second/rpath',
- '-Wl,-rpath,/third/rpath', '-Wl,-rpath,/fourth/rpath']
+ '-Wl,-rpath,/third/rpath', '-Wl,-rpath,/fourth/rpath',
+ '-Wl,-rpath,/fifth/rpath', '-Wl,-rpath,/sixth/rpath']
test_rpaths = [
'-rpath', '/first/rpath', '-rpath', '/second/rpath',
- '-rpath', '/third/rpath', '-rpath', '/fourth/rpath']
+ '-rpath', '/third/rpath', '-rpath', '/fourth/rpath',
+ '-rpath', '/fifth/rpath', '-rpath', '/sixth/rpath']
test_args_without_paths = [
'arg1',
@@ -347,15 +350,15 @@ def test_ccld_deps_isystem():
with set_env(SPACK_INCLUDE_DIRS='xinc:yinc:zinc',
SPACK_RPATH_DIRS='xlib:ylib:zlib',
SPACK_LINK_DIRS='xlib:ylib:zlib'):
- mytest_args = test_args + ['-isystemfooinc']
+ mytest_args = test_args + ['-isystem', 'fooinc']
check_args(
cc, mytest_args,
[real_cc] +
test_include_paths +
- ['-isystemfooinc',
- '-isystemxinc',
- '-isystemyinc',
- '-isystemzinc'] +
+ ['-isystem', 'fooinc',
+ '-isystem', 'xinc',
+ '-isystem', 'yinc',
+ '-isystem', 'zinc'] +
test_library_paths +
['-Lxlib',
'-Lylib',
@@ -429,20 +432,20 @@ def test_ccld_with_system_dirs_isystem():
SPACK_RPATH_DIRS='xlib:ylib:zlib',
SPACK_LINK_DIRS='xlib:ylib:zlib'):
- sys_path_args = ['-isystem/usr/include',
+ sys_path_args = ['-isystem', '/usr/include',
'-L/usr/local/lib',
'-Wl,-rpath,/usr/lib64',
- '-isystem/usr/local/include',
+ '-isystem', '/usr/local/include',
'-L/lib64/']
check_args(
cc, sys_path_args + test_args,
[real_cc] +
test_include_paths +
- ['-isystemxinc',
- '-isystemyinc',
- '-isystemzinc'] +
- ['-isystem/usr/include',
- '-isystem/usr/local/include'] +
+ ['-isystem', 'xinc',
+ '-isystem', 'yinc',
+ '-isystem', 'zinc'] +
+ ['-isystem', '/usr/include',
+ '-isystem', '/usr/local/include'] +
test_library_paths +
['-Lxlib',
'-Lylib',
diff --git a/lib/spack/spack/test/ci.py b/lib/spack/spack/test/ci.py
index f1986b34d0..33488a2d8a 100644
--- a/lib/spack/spack/test/ci.py
+++ b/lib/spack/spack/test/ci.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/__init__.py b/lib/spack/spack/test/cmd/__init__.py
index 9f87532b85..103eae6134 100644
--- a/lib/spack/spack/test/cmd/__init__.py
+++ b/lib/spack/spack/test/cmd/__init__.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/activate.py b/lib/spack/spack/test/cmd/activate.py
index a3546230f1..48806c5833 100644
--- a/lib/spack/spack/test/cmd/activate.py
+++ b/lib/spack/spack/test/cmd/activate.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/arch.py b/lib/spack/spack/test/cmd/arch.py
index ec3c92a3d0..cf4969ce28 100644
--- a/lib/spack/spack/test/cmd/arch.py
+++ b/lib/spack/spack/test/cmd/arch.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/blame.py b/lib/spack/spack/test/cmd/blame.py
index 61bdf41084..5ca69bb7b4 100644
--- a/lib/spack/spack/test/cmd/blame.py
+++ b/lib/spack/spack/test/cmd/blame.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/build_env.py b/lib/spack/spack/test/cmd/build_env.py
index b7de759a2e..4c0f337aac 100644
--- a/lib/spack/spack/test/cmd/build_env.py
+++ b/lib/spack/spack/test/cmd/build_env.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/buildcache.py b/lib/spack/spack/test/cmd/buildcache.py
index dcd9b822c0..27ef4fca8f 100644
--- a/lib/spack/spack/test/cmd/buildcache.py
+++ b/lib/spack/spack/test/cmd/buildcache.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/cd.py b/lib/spack/spack/test/cmd/cd.py
index eda6994aec..c8766503b4 100644
--- a/lib/spack/spack/test/cmd/cd.py
+++ b/lib/spack/spack/test/cmd/cd.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/ci.py b/lib/spack/spack/test/cmd/ci.py
index 4d8468c66c..24992d78c2 100644
--- a/lib/spack/spack/test/cmd/ci.py
+++ b/lib/spack/spack/test/cmd/ci.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,10 +7,11 @@ import filecmp
import json
import os
import pytest
-from jsonschema import validate
+from jsonschema import validate, ValidationError
import spack
import spack.ci as ci
+import spack.compilers as compilers
import spack.config
import spack.environment as ev
import spack.hash_types as ht
@@ -19,7 +20,8 @@ import spack.paths as spack_paths
import spack.repo as repo
from spack.schema.buildcache_spec import schema as spec_yaml_schema
from spack.schema.database_index import schema as db_idx_schema
-from spack.spec import Spec
+from spack.schema.gitlab_ci import schema as gitlab_ci_schema
+from spack.spec import Spec, CompilerSpec
from spack.util.mock_package import MockPackageMultiRepo
import spack.util.executable as exe
import spack.util.spack_yaml as syaml
@@ -31,6 +33,7 @@ env_cmd = spack.main.SpackCommand('env')
mirror_cmd = spack.main.SpackCommand('mirror')
gpg_cmd = spack.main.SpackCommand('gpg')
install_cmd = spack.main.SpackCommand('install')
+uninstall_cmd = spack.main.SpackCommand('uninstall')
buildcache_cmd = spack.main.SpackCommand('buildcache')
git = exe.which('git', required=True)
@@ -73,17 +76,17 @@ and then 'd', 'b', and 'a' to be put in the next three stages, respectively.
b = mock_repo.add_package('b', [d, e], [default, default])
mock_repo.add_package('a', [b, c], [default, default])
- with repo.swap(mock_repo):
+ with repo.use_repositories(mock_repo):
spec_a = Spec('a')
spec_a.concretize()
- spec_a_label = ci.spec_deps_key_label(spec_a)[1]
- spec_b_label = ci.spec_deps_key_label(spec_a['b'])[1]
- spec_c_label = ci.spec_deps_key_label(spec_a['c'])[1]
- spec_d_label = ci.spec_deps_key_label(spec_a['d'])[1]
- spec_e_label = ci.spec_deps_key_label(spec_a['e'])[1]
- spec_f_label = ci.spec_deps_key_label(spec_a['f'])[1]
- spec_g_label = ci.spec_deps_key_label(spec_a['g'])[1]
+ spec_a_label = ci.spec_deps_key(spec_a)
+ spec_b_label = ci.spec_deps_key(spec_a['b'])
+ spec_c_label = ci.spec_deps_key(spec_a['c'])
+ spec_d_label = ci.spec_deps_key(spec_a['d'])
+ spec_e_label = ci.spec_deps_key(spec_a['e'])
+ spec_f_label = ci.spec_deps_key(spec_a['f'])
+ spec_g_label = ci.spec_deps_key(spec_a['g'])
spec_labels, dependencies, stages = ci.stage_spec_jobs([spec_a])
@@ -109,6 +112,7 @@ def test_ci_generate_with_env(tmpdir, mutable_mock_env_path, env_deactivate,
install_mockery, mock_packages):
"""Make sure we can get a .gitlab-ci.yml from an environment file
which has the gitlab-ci, cdash, and mirrors sections."""
+ mirror_url = 'https://my.fake.mirror'
filename = str(tmpdir.join('spack.yaml'))
with open(filename, 'w') as f:
f.write("""\
@@ -128,7 +132,7 @@ spack:
- matrix:
- [$old-gcc-pkgs]
mirrors:
- some-mirror: https://my.fake.mirror
+ some-mirror: {0}
gitlab-ci:
bootstrap:
- name: bootstrap
@@ -140,7 +144,7 @@ spack:
tags:
- donotcare
image: donotcare
- final-stage-rebuild-index:
+ service-job-attributes:
image: donotcare
tags: [donotcare]
cdash:
@@ -148,7 +152,7 @@ spack:
url: https://my.fake.cdash
project: Not used
site: Nothing
-""")
+""".format(mirror_url))
with tmpdir.as_cwd():
env_cmd('create', 'test', './spack.yaml')
outputfile = str(tmpdir.join('.gitlab-ci.yml'))
@@ -170,16 +174,30 @@ spack:
assert(yaml_contents['stages'][0] == 'stage-0')
assert(yaml_contents['stages'][5] == 'stage-rebuild-index')
+ assert('rebuild-index' in yaml_contents)
+ rebuild_job = yaml_contents['rebuild-index']
+ expected = 'spack buildcache update-index --keys -d {0}'.format(
+ mirror_url)
+ assert(rebuild_job['script'][0] == expected)
+
def _validate_needs_graph(yaml_contents, needs_graph, artifacts):
for job_name, job_def in yaml_contents.items():
for needs_def_name, needs_list in needs_graph.items():
if job_name.startswith(needs_def_name):
# check job needs against the expected needs definition
+ j_needs = job_def['needs']
+ print('job {0} needs:'.format(needs_def_name))
+ print([j['job'] for j in j_needs])
+ print('expected:')
+ print([nl for nl in needs_list])
assert all([job_needs['job'][:job_needs['job'].index('/')]
- in needs_list for job_needs in job_def['needs']])
+ in needs_list for job_needs in j_needs])
+ assert(all([nl in
+ [n['job'][:n['job'].index('/')] for n in j_needs]
+ for nl in needs_list]))
assert all([job_needs['artifacts'] == artifacts
- for job_needs in job_def['needs']])
+ for job_needs in j_needs])
break
@@ -369,7 +387,10 @@ spack:
fake_token = 'notreallyatokenbutshouldnotmatter'
os.environ['SPACK_CDASH_AUTH_TOKEN'] = fake_token
copy_to_file = str(tmpdir.join('backup-ci.yml'))
- output = ci_cmd('generate', '--copy-to', copy_to_file, output=str)
+ try:
+ output = ci_cmd('generate', '--copy-to', copy_to_file, output=str)
+ finally:
+ del os.environ['SPACK_CDASH_AUTH_TOKEN']
# That fake token should still have resulted in being unable to
# register build group with cdash, but the workload should
# still have been generated.
@@ -533,7 +554,7 @@ spack:
def test_ci_generate_for_pr_pipeline(tmpdir, mutable_mock_env_path,
env_deactivate, install_mockery,
- mock_packages):
+ mock_packages, monkeypatch):
"""Test that PR pipelines do not include a final stage job for
rebuilding the mirror index, even if that job is specifically
configured"""
@@ -558,9 +579,10 @@ spack:
runner-attributes:
tags:
- donotcare
- final-stage-rebuild-index:
+ service-job-attributes:
image: donotcare
tags: [donotcare]
+ rebuild-index: False
""")
with tmpdir.as_cwd():
@@ -569,7 +591,14 @@ spack:
with ev.read('test'):
os.environ['SPACK_IS_PR_PIPELINE'] = 'True'
- ci_cmd('generate', '--output-file', outputfile)
+ os.environ['SPACK_PR_BRANCH'] = 'fake-test-branch'
+ monkeypatch.setattr(
+ ci, 'SPACK_PR_MIRRORS_ROOT_URL', r"file:///fake/mirror")
+ try:
+ ci_cmd('generate', '--output-file', outputfile)
+ finally:
+ del os.environ['SPACK_IS_PR_PIPELINE']
+ del os.environ['SPACK_PR_BRANCH']
with open(outputfile) as f:
contents = f.read()
@@ -579,10 +608,17 @@ spack:
assert('rebuild-index' not in yaml_contents)
+ for ci_key in yaml_contents.keys():
+ if ci_key.startswith('(specs) '):
+ job_object = yaml_contents[ci_key]
+ job_vars = job_object['variables']
+ assert('SPACK_IS_PR_PIPELINE' in job_vars)
+ assert(job_vars['SPACK_IS_PR_PIPELINE'] == 'True')
+
def test_ci_generate_with_external_pkg(tmpdir, mutable_mock_env_path,
env_deactivate, install_mockery,
- mock_packages):
+ mock_packages, monkeypatch):
"""Make sure we do not generate jobs for external pkgs"""
filename = str(tmpdir.join('spack.yaml'))
with open(filename, 'w') as f:
@@ -609,6 +645,8 @@ spack:
outputfile = str(tmpdir.join('.gitlab-ci.yml'))
with ev.read('test'):
+ monkeypatch.setattr(
+ ci, 'SPACK_PR_MIRRORS_ROOT_URL', r"file:///fake/mirror")
ci_cmd('generate', '--output-file', outputfile)
with open(outputfile) as f:
@@ -712,6 +750,19 @@ spack:
- $packages
mirrors:
test-mirror: {0}
+ gitlab-ci:
+ enable-artifacts-buildcache: True
+ mappings:
+ - match:
+ - patchelf
+ runner-attributes:
+ tags:
+ - donotcare
+ image: donotcare
+ service-job-attributes:
+ tags:
+ - nonbuildtag
+ image: basicimage
""".format(mirror_url)
print('spack.yaml:\n{0}\n'.format(spack_yaml_contents))
@@ -739,6 +790,48 @@ spack:
buildcache_path = os.path.join(mirror_dir.strpath, 'build_cache')
+ # Now test the --prune-dag (default) option of spack ci generate
+ mirror_cmd('add', 'test-ci', mirror_url)
+
+ outputfile_pruned = str(tmpdir.join('pruned_pipeline.yml'))
+ ci_cmd('generate', '--output-file', outputfile_pruned)
+
+ with open(outputfile_pruned) as f:
+ contents = f.read()
+ yaml_contents = syaml.load(contents)
+ assert('no-specs-to-rebuild' in yaml_contents)
+ # Make sure there are no other spec jobs or rebuild-index
+ assert(len(yaml_contents.keys()) == 1)
+ the_elt = yaml_contents['no-specs-to-rebuild']
+ assert('tags' in the_elt)
+ assert('nonbuildtag' in the_elt['tags'])
+ assert('image' in the_elt)
+ assert(the_elt['image'] == 'basicimage')
+
+ outputfile_not_pruned = str(tmpdir.join('unpruned_pipeline.yml'))
+ ci_cmd('generate', '--no-prune-dag', '--output-file',
+ outputfile_not_pruned)
+
+ # Test the --no-prune-dag option of spack ci generate
+ with open(outputfile_not_pruned) as f:
+ contents = f.read()
+ yaml_contents = syaml.load(contents)
+
+ found_spec_job = False
+
+ for ci_key in yaml_contents.keys():
+ if '(specs) patchelf' in ci_key:
+ the_elt = yaml_contents[ci_key]
+ assert('variables' in the_elt)
+ job_vars = the_elt['variables']
+ assert('SPACK_SPEC_NEEDS_REBUILD' in job_vars)
+ assert(job_vars['SPACK_SPEC_NEEDS_REBUILD'] == 'False')
+ found_spec_job = True
+
+ assert(found_spec_job)
+
+ mirror_cmd('rm', 'test-ci')
+
# Test generating buildcache index while we have bin mirror
buildcache_cmd('update-index', '--mirror-url', mirror_url)
index_path = os.path.join(buildcache_path, 'index.json')
@@ -785,6 +878,26 @@ spack:
assert(len(dl_dir_list) == 3)
+def test_push_mirror_contents_exceptions(monkeypatch, capsys):
+ def faked(env, spec_yaml=None, packages=None, add_spec=True,
+ add_deps=True, output_location=os.getcwd(),
+ signing_key=None, force=False, make_relative=False,
+ unsigned=False, allow_root=False, rebuild_index=False):
+ raise Exception('Error: Access Denied')
+
+ import spack.cmd.buildcache as buildcache
+ monkeypatch.setattr(buildcache, '_createtarball', faked)
+
+ url = 'fakejunk'
+ ci.push_mirror_contents(None, None, None, url, None, None)
+
+ captured = capsys.readouterr()
+ std_out = captured[0]
+ expect_msg = 'Permission problem writing to {0}'.format(url)
+
+ assert(expect_msg in std_out)
+
+
def test_ci_generate_override_runner_attrs(tmpdir, mutable_mock_env_path,
env_deactivate, install_mockery,
mock_packages, monkeypatch):
@@ -839,7 +952,7 @@ spack:
- custom main step
after_script:
- custom post step one
- final-stage-rebuild-index:
+ service-job-attributes:
image: donotcare
tags: [donotcare]
""")
@@ -851,6 +964,8 @@ spack:
with ev.read('test'):
monkeypatch.setattr(
spack.main, 'get_version', lambda: '0.15.3-416-12ad69eb1')
+ monkeypatch.setattr(
+ ci, 'SPACK_PR_MIRRORS_ROOT_URL', r"file:///fake/mirror")
ci_cmd('generate', '--output-file', outputfile)
with open(outputfile) as f:
@@ -925,3 +1040,364 @@ spack:
assert(the_elt['script'][0] == 'main step')
assert(len(the_elt['after_script']) == 1)
assert(the_elt['after_script'][0] == 'post step one')
+
+
+def test_ci_generate_with_workarounds(tmpdir, mutable_mock_env_path,
+ env_deactivate, install_mockery,
+ mock_packages, monkeypatch):
+ """Make sure the post-processing cli workarounds do what they should"""
+ filename = str(tmpdir.join('spack.yaml'))
+ with open(filename, 'w') as f:
+ f.write("""\
+spack:
+ specs:
+ - callpath%gcc@3.0
+ mirrors:
+ some-mirror: https://my.fake.mirror
+ gitlab-ci:
+ mappings:
+ - match: ['%gcc@3.0']
+ runner-attributes:
+ tags:
+ - donotcare
+ image: donotcare
+ enable-artifacts-buildcache: true
+""")
+
+ with tmpdir.as_cwd():
+ env_cmd('create', 'test', './spack.yaml')
+ outputfile = str(tmpdir.join('.gitlab-ci.yml'))
+
+ with ev.read('test'):
+ monkeypatch.setattr(
+ ci, 'SPACK_PR_MIRRORS_ROOT_URL', r"file:///fake/mirror")
+ ci_cmd('generate', '--output-file', outputfile, '--dependencies')
+
+ with open(outputfile) as f:
+ contents = f.read()
+ yaml_contents = syaml.load(contents)
+
+ found_one = False
+
+ for ci_key in yaml_contents.keys():
+ if ci_key.startswith('(specs) '):
+ found_one = True
+ job_obj = yaml_contents[ci_key]
+ assert('needs' not in job_obj)
+ assert('dependencies' in job_obj)
+
+ assert(found_one is True)
+
+
+@pytest.mark.disable_clean_stage_check
+def test_ci_rebuild_index(tmpdir, mutable_mock_env_path, env_deactivate,
+ install_mockery, mock_packages, mock_fetch,
+ mock_stage):
+ working_dir = tmpdir.join('working_dir')
+
+ mirror_dir = working_dir.join('mirror')
+ mirror_url = 'file://{0}'.format(mirror_dir.strpath)
+
+ spack_yaml_contents = """
+spack:
+ specs:
+ - callpath
+ mirrors:
+ test-mirror: {0}
+ gitlab-ci:
+ mappings:
+ - match:
+ - patchelf
+ runner-attributes:
+ tags:
+ - donotcare
+ image: donotcare
+""".format(mirror_url)
+
+ filename = str(tmpdir.join('spack.yaml'))
+ with open(filename, 'w') as f:
+ f.write(spack_yaml_contents)
+
+ with tmpdir.as_cwd():
+ env_cmd('create', 'test', './spack.yaml')
+ with ev.read('test'):
+ spec_map = ci.get_concrete_specs(
+ 'callpath', 'callpath', '', 'FIND_ANY')
+ concrete_spec = spec_map['callpath']
+ spec_yaml = concrete_spec.to_yaml(hash=ht.build_hash)
+ yaml_path = str(tmpdir.join('spec.yaml'))
+ with open(yaml_path, 'w') as ypfd:
+ ypfd.write(spec_yaml)
+
+ install_cmd('--keep-stage', '-f', yaml_path)
+ buildcache_cmd('create', '-u', '-a', '-f', '--mirror-url',
+ mirror_url, 'callpath')
+ ci_cmd('rebuild-index')
+
+ buildcache_path = os.path.join(mirror_dir.strpath, 'build_cache')
+ index_path = os.path.join(buildcache_path, 'index.json')
+ with open(index_path) as idx_fd:
+ index_object = json.load(idx_fd)
+ validate(index_object, db_idx_schema)
+
+
+def test_ci_generate_bootstrap_prune_dag(
+ install_mockery_mutable_config, mock_packages, mock_fetch,
+ mock_archive, mutable_config, monkeypatch, tmpdir,
+ mutable_mock_env_path, env_deactivate):
+ """Test compiler bootstrapping with DAG pruning. Specifically, make
+ sure that if we detect the bootstrapped compiler needs to be rebuilt,
+ we ensure the spec we want to build with that compiler is scheduled
+ for rebuild as well."""
+
+ # Create a temp mirror directory for buildcache usage
+ mirror_dir = tmpdir.join('mirror_dir')
+ mirror_url = 'file://{0}'.format(mirror_dir.strpath)
+
+ # Install a compiler, because we want to put it in a buildcache
+ install_cmd('gcc@10.1.0%gcc@4.5.0')
+
+ # Put installed compiler in the buildcache
+ buildcache_cmd('create', '-u', '-a', '-f', '-d', mirror_dir.strpath,
+ 'gcc@10.1.0%gcc@4.5.0')
+
+ # Now uninstall the compiler
+ uninstall_cmd('-y', 'gcc@10.1.0%gcc@4.5.0')
+
+ monkeypatch.setattr(spack.concretize.Concretizer,
+ 'check_for_compiler_existence', False)
+ spack.config.set('config:install_missing_compilers', True)
+ assert CompilerSpec('gcc@10.1.0') not in compilers.all_compiler_specs()
+
+ # Configure the mirror where we put that buildcache w/ the compiler
+ mirror_cmd('add', 'test-mirror', mirror_url)
+
+ install_cmd('--no-check-signature', 'a%gcc@10.1.0')
+
+ # Put spec built with installed compiler in the buildcache
+ buildcache_cmd('create', '-u', '-a', '-f', '-d', mirror_dir.strpath,
+ 'a%gcc@10.1.0')
+
+ # Now uninstall the spec
+ uninstall_cmd('-y', 'a%gcc@10.1.0')
+
+ filename = str(tmpdir.join('spack.yaml'))
+ with open(filename, 'w') as f:
+ f.write("""\
+spack:
+ definitions:
+ - bootstrap:
+ - gcc@10.1.0%gcc@4.5.0
+ specs:
+ - a%gcc@10.1.0
+ mirrors:
+ atestm: {0}
+ gitlab-ci:
+ bootstrap:
+ - name: bootstrap
+ compiler-agnostic: true
+ mappings:
+ - match:
+ - arch=test-debian6-x86_64
+ runner-attributes:
+ tags:
+ - donotcare
+ - match:
+ - arch=test-debian6-core2
+ runner-attributes:
+ tags:
+ - meh
+""".format(mirror_url))
+
+ # Without this monkeypatch, pipeline generation process would think that
+ # nothing in the environment needs rebuilding. With the monkeypatch, the
+ # process sees the compiler as needing a rebuild, which should then result
+ # in the specs built with that compiler needing a rebuild too.
+ def fake_get_mirrors_for_spec(spec=None, full_hash_match=False,
+ mirrors_to_check=None, index_only=False):
+ if spec.name == 'gcc':
+ return []
+ else:
+ return [{
+ 'spec': spec,
+ 'mirror_url': mirror_url,
+ }]
+
+ with tmpdir.as_cwd():
+ env_cmd('create', 'test', './spack.yaml')
+ outputfile = str(tmpdir.join('.gitlab-ci.yml'))
+
+ with ev.read('test'):
+ monkeypatch.setattr(
+ ci, 'SPACK_PR_MIRRORS_ROOT_URL', r"file:///fake/mirror")
+
+ ci_cmd('generate', '--output-file', outputfile)
+
+ with open(outputfile) as of:
+ yaml_contents = of.read()
+ original_yaml_contents = syaml.load(yaml_contents)
+
+ # without the monkeypatch, everything appears up to date and no
+ # rebuild jobs are generated.
+ assert(original_yaml_contents)
+ assert('no-specs-to-rebuild' in original_yaml_contents)
+
+ monkeypatch.setattr(spack.binary_distribution,
+ 'get_mirrors_for_spec',
+ fake_get_mirrors_for_spec)
+
+ ci_cmd('generate', '--output-file', outputfile)
+
+ with open(outputfile) as of:
+ yaml_contents = of.read()
+ new_yaml_contents = syaml.load(yaml_contents)
+
+ assert(new_yaml_contents)
+
+ # This 'needs' graph reflects that even though specs 'a' and 'b' do
+ # not otherwise need to be rebuilt (thanks to DAG pruning), they
+ # both end up in the generated pipeline because the compiler they
+ # depend on is bootstrapped, and *does* need to be rebuilt.
+ needs_graph = {
+ '(bootstrap) gcc': [],
+ '(specs) b': [
+ '(bootstrap) gcc',
+ ],
+ '(specs) a': [
+ '(bootstrap) gcc',
+ '(specs) b',
+ ],
+ }
+
+ _validate_needs_graph(new_yaml_contents, needs_graph, False)
+
+
+def test_ci_subcommands_without_mirror(tmpdir, mutable_mock_env_path,
+ env_deactivate, mock_packages,
+ install_mockery):
+ """Make sure we catch if there is not a mirror and report an error"""
+ filename = str(tmpdir.join('spack.yaml'))
+ with open(filename, 'w') as f:
+ f.write("""\
+spack:
+ specs:
+ - archive-files
+ gitlab-ci:
+ mappings:
+ - match:
+ - archive-files
+ runner-attributes:
+ tags:
+ - donotcare
+ image: donotcare
+""")
+
+ with tmpdir.as_cwd():
+ env_cmd('create', 'test', './spack.yaml')
+ outputfile = str(tmpdir.join('.gitlab-ci.yml'))
+
+ with ev.read('test'):
+ # Check the 'generate' subcommand
+ output = ci_cmd('generate', '--output-file', outputfile,
+ output=str, fail_on_error=False)
+ ex = 'spack ci generate requires an env containing a mirror'
+ assert(ex in output)
+
+ # Also check the 'rebuild-index' subcommand
+ output = ci_cmd('rebuild-index', output=str, fail_on_error=False)
+ ex = 'spack ci rebuild-index requires an env containing a mirror'
+ assert(ex in output)
+
+
+def test_ensure_only_one_temporary_storage():
+ """Make sure 'gitlab-ci' section of env does not allow specification of
+ both 'enable-artifacts-buildcache' and 'temporary-storage-url-prefix'."""
+ gitlab_ci_template = """
+ gitlab-ci:
+ {0}
+ mappings:
+ - match:
+ - notcheckedhere
+ runner-attributes:
+ tags:
+ - donotcare
+"""
+
+ enable_artifacts = 'enable-artifacts-buildcache: True'
+ temp_storage = 'temporary-storage-url-prefix: file:///temp/mirror'
+ specify_both = """{0}
+ {1}
+""".format(enable_artifacts, temp_storage)
+ specify_neither = ''
+
+ # User can specify "enable-artifacts-buildcache" (boolean)
+ yaml_obj = syaml.load(gitlab_ci_template.format(enable_artifacts))
+ validate(yaml_obj, gitlab_ci_schema)
+
+ # User can also specify "temporary-storage-url-prefix" (string)
+ yaml_obj = syaml.load(gitlab_ci_template.format(temp_storage))
+ validate(yaml_obj, gitlab_ci_schema)
+
+ # However, specifying both should fail to validate
+ yaml_obj = syaml.load(gitlab_ci_template.format(specify_both))
+ with pytest.raises(ValidationError):
+ validate(yaml_obj, gitlab_ci_schema)
+
+ # Specifying neither should be fine too, as neither of these properties
+ # should be required
+ yaml_obj = syaml.load(gitlab_ci_template.format(specify_neither))
+ validate(yaml_obj, gitlab_ci_schema)
+
+
+def test_ci_generate_temp_storage_url(tmpdir, mutable_mock_env_path,
+ env_deactivate, install_mockery,
+ mock_packages, monkeypatch):
+ """Verify correct behavior when using temporary-storage-url-prefix"""
+ filename = str(tmpdir.join('spack.yaml'))
+ with open(filename, 'w') as f:
+ f.write("""\
+spack:
+ specs:
+ - archive-files
+ mirrors:
+ some-mirror: https://my.fake.mirror
+ gitlab-ci:
+ temporary-storage-url-prefix: file:///work/temp/mirror
+ mappings:
+ - match:
+ - archive-files
+ runner-attributes:
+ tags:
+ - donotcare
+ image: donotcare
+""")
+
+ with tmpdir.as_cwd():
+ env_cmd('create', 'test', './spack.yaml')
+ outputfile = str(tmpdir.join('.gitlab-ci.yml'))
+
+ monkeypatch.setattr(
+ ci, 'SPACK_PR_MIRRORS_ROOT_URL', r"file:///fake/mirror")
+
+ with ev.read('test'):
+ ci_cmd('generate', '--output-file', outputfile)
+
+ with open(outputfile) as of:
+ pipeline_doc = syaml.load(of.read())
+
+ print(pipeline_doc)
+
+ assert('cleanup' in pipeline_doc)
+ cleanup_job = pipeline_doc['cleanup']
+
+ assert('script' in cleanup_job)
+ cleanup_task = cleanup_job['script'][0]
+
+ assert(cleanup_task.startswith('spack -d mirror destroy'))
+
+ assert('stages' in pipeline_doc)
+ stages = pipeline_doc['stages']
+
+ # Cleanup job should be 2nd to last, just before rebuild-index
+ assert('stage' in cleanup_job)
+ assert(cleanup_job['stage'] == stages[-2])
diff --git a/lib/spack/spack/test/cmd/clean.py b/lib/spack/spack/test/cmd/clean.py
index dcaf0c916c..daf561eea4 100644
--- a/lib/spack/spack/test/cmd/clean.py
+++ b/lib/spack/spack/test/cmd/clean.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/commands.py b/lib/spack/spack/test/cmd/commands.py
index 409dea7c51..2427511538 100644
--- a/lib/spack/spack/test/cmd/commands.py
+++ b/lib/spack/spack/test/cmd/commands.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -118,48 +118,21 @@ def test_rst_with_header(tmpdir):
def test_rst_update(tmpdir):
update_file = tmpdir.join('output')
- # not yet created when commands is run
commands('--update', str(update_file))
assert update_file.exists()
- with update_file.open() as f:
- assert f.read()
-
- # created but older than commands
- with update_file.open('w') as f:
- f.write('empty\n')
- update_file.setmtime(0)
- commands('--update', str(update_file))
- assert update_file.exists()
- with update_file.open() as f:
- assert f.read() != 'empty\n'
-
- # newer than commands
- with update_file.open('w') as f:
- f.write('empty\n')
- commands('--update', str(update_file))
- assert update_file.exists()
- with update_file.open() as f:
- assert f.read() == 'empty\n'
def test_update_with_header(tmpdir):
update_file = tmpdir.join('output')
- # not yet created when commands is run
commands('--update', str(update_file))
assert update_file.exists()
- with update_file.open() as f:
- assert f.read()
fake_header = 'this is a header!\n\n'
filename = tmpdir.join('header.txt')
with filename.open('w') as f:
f.write(fake_header)
- # created, newer than commands, but older than header
- commands('--update', str(update_file), '--header', str(filename))
-
- # newer than commands and header
commands('--update', str(update_file), '--header', str(filename))
@@ -229,7 +202,6 @@ def test_update_completion_arg(tmpdir, monkeypatch):
old_file = old.read()
with open(mock_args['bash']['update'], 'w') as mock:
mock.write(old_file.replace("--update-completion", ""))
- mock_bashfile.setmtime(0) # ensure mtime triggers update
monkeypatch.setattr(
spack.cmd.commands, 'update_completion_args', mock_args)
diff --git a/lib/spack/spack/test/cmd/common/__init__.py b/lib/spack/spack/test/cmd/common/__init__.py
index 9f87532b85..103eae6134 100644
--- a/lib/spack/spack/test/cmd/common/__init__.py
+++ b/lib/spack/spack/test/cmd/common/__init__.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/common/arguments.py b/lib/spack/spack/test/cmd/common/arguments.py
index 76e39bcad0..dd92ec92ea 100644
--- a/lib/spack/spack/test/cmd/common/arguments.py
+++ b/lib/spack/spack/test/cmd/common/arguments.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/compiler.py b/lib/spack/spack/test/cmd/compiler.py
index c5c354221e..109695edd8 100644
--- a/lib/spack/spack/test/cmd/compiler.py
+++ b/lib/spack/spack/test/cmd/compiler.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/config.py b/lib/spack/spack/test/cmd/config.py
index 7830f1c4e2..d80932a0f7 100644
--- a/lib/spack/spack/test/cmd/config.py
+++ b/lib/spack/spack/test/cmd/config.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/create.py b/lib/spack/spack/test/cmd/create.py
index 4262744317..39b076df08 100644
--- a/lib/spack/spack/test/cmd/create.py
+++ b/lib/spack/spack/test/cmd/create.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/debug.py b/lib/spack/spack/test/cmd/debug.py
index 2898ad670e..72190431de 100644
--- a/lib/spack/spack/test/cmd/debug.py
+++ b/lib/spack/spack/test/cmd/debug.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,6 +11,7 @@ import os
import os.path
import spack.architecture as architecture
+import spack.config
from spack.main import SpackCommand, get_version
from spack.util.executable import which
@@ -53,3 +54,4 @@ def test_report():
assert get_version() in out
assert platform.python_version() in out
assert str(arch) in out
+ assert spack.config.get('config:concretizer') in out
diff --git a/lib/spack/spack/test/cmd/dependencies.py b/lib/spack/spack/test/cmd/dependencies.py
index 05d0556936..4c0de355ef 100644
--- a/lib/spack/spack/test/cmd/dependencies.py
+++ b/lib/spack/spack/test/cmd/dependencies.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -51,8 +51,11 @@ def test_direct_installed_dependencies(mock_packages, database):
with color_when(False):
out = dependencies('--installed', 'mpileaks^mpich')
- lines = [l for l in out.strip().split('\n') if not l.startswith('--')]
- hashes = set([re.split(r'\s+', l)[0] for l in lines])
+ lines = [
+ line for line in out.strip().split('\n')
+ if not line.startswith('--')
+ ]
+ hashes = set([re.split(r'\s+', line)[0] for line in lines])
expected = set([spack.store.db.query_one(s).dag_hash(7)
for s in ['mpich', 'callpath^mpich']])
@@ -65,8 +68,11 @@ def test_transitive_installed_dependencies(mock_packages, database):
with color_when(False):
out = dependencies('--installed', '--transitive', 'mpileaks^zmpi')
- lines = [l for l in out.strip().split('\n') if not l.startswith('--')]
- hashes = set([re.split(r'\s+', l)[0] for l in lines])
+ lines = [
+ line for line in out.strip().split('\n')
+ if not line.startswith('--')
+ ]
+ hashes = set([re.split(r'\s+', line)[0] for line in lines])
expected = set([spack.store.db.query_one(s).dag_hash(7)
for s in ['zmpi', 'callpath^zmpi', 'fake',
diff --git a/lib/spack/spack/test/cmd/dependents.py b/lib/spack/spack/test/cmd/dependents.py
index bd87f92a65..376332cf88 100644
--- a/lib/spack/spack/test/cmd/dependents.py
+++ b/lib/spack/spack/test/cmd/dependents.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/deprecate.py b/lib/spack/spack/test/cmd/deprecate.py
index 7b38c177f5..370d267753 100644
--- a/lib/spack/spack/test/cmd/deprecate.py
+++ b/lib/spack/spack/test/cmd/deprecate.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/dev_build.py b/lib/spack/spack/test/cmd/dev_build.py
index 3067f5a0dd..273b311e9c 100644
--- a/lib/spack/spack/test/cmd/dev_build.py
+++ b/lib/spack/spack/test/cmd/dev_build.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/develop.py b/lib/spack/spack/test/cmd/develop.py
index c539cd91c0..b6d8b11105 100644
--- a/lib/spack/spack/test/cmd/develop.py
+++ b/lib/spack/spack/test/cmd/develop.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/env.py b/lib/spack/spack/test/cmd/env.py
index c2d75d9d1f..f83fcc12dd 100644
--- a/lib/spack/spack/test/cmd/env.py
+++ b/lib/spack/spack/test/cmd/env.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -330,7 +330,7 @@ def test_env_status_broken_view(
# switch to a new repo that doesn't include the installed package
# test that Spack detects the missing package and warns the user
new_repo = MockPackageMultiRepo()
- with spack.repo.swap(new_repo):
+ with spack.repo.use_repositories(new_repo):
output = env('status')
assert 'In environment test' in output
assert 'Environment test includes out of date' in output
@@ -351,7 +351,7 @@ def test_env_activate_broken_view(
# switch to a new repo that doesn't include the installed package
# test that Spack detects the missing package and fails gracefully
new_repo = MockPackageMultiRepo()
- with spack.repo.swap(new_repo):
+ with spack.repo.use_repositories(new_repo):
with pytest.raises(SpackCommandError):
env('activate', '--sh', 'test')
@@ -929,7 +929,7 @@ def test_read_old_lock_and_write_new(tmpdir):
y = mock_repo.add_package('y', [], [])
mock_repo.add_package('x', [y], [build_only])
- with spack.repo.swap(mock_repo):
+ with spack.repo.use_repositories(mock_repo):
x = Spec('x')
x.concretize()
@@ -960,7 +960,7 @@ def test_read_old_lock_creates_backup(tmpdir):
mock_repo = MockPackageMultiRepo()
y = mock_repo.add_package('y', [], [])
- with spack.repo.swap(mock_repo):
+ with spack.repo.use_repositories(mock_repo):
y = Spec('y')
y.concretize()
@@ -997,7 +997,7 @@ def test_indirect_build_dep():
pass
setattr(mock_repo, 'dump_provenance', noop)
- with spack.repo.swap(mock_repo):
+ with spack.repo.use_repositories(mock_repo):
x_spec = Spec('x')
x_concretized = x_spec.concretized()
@@ -1038,7 +1038,7 @@ def test_store_different_build_deps():
pass
setattr(mock_repo, 'dump_provenance', noop)
- with spack.repo.swap(mock_repo):
+ with spack.repo.use_repositories(mock_repo):
y_spec = Spec('y ^z@3')
y_concretized = y_spec.concretized()
diff --git a/lib/spack/spack/test/cmd/extensions.py b/lib/spack/spack/test/cmd/extensions.py
index 7fc56593eb..d2093fa887 100644
--- a/lib/spack/spack/test/cmd/extensions.py
+++ b/lib/spack/spack/test/cmd/extensions.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -27,7 +27,7 @@ def python_database(mock_packages, mutable_database):
@pytest.mark.db
-def test_extensions(mock_packages, python_database, capsys):
+def test_extensions(mock_packages, python_database, config, capsys):
ext2 = Spec("py-extension2").concretized()
def check_output(ni, na):
diff --git a/lib/spack/spack/test/cmd/external.py b/lib/spack/spack/test/cmd/external.py
index 53e1f9eaf2..3249a92894 100644
--- a/lib/spack/spack/test/cmd/external.py
+++ b/lib/spack/spack/test/cmd/external.py
@@ -1,7 +1,9 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+import pytest
+
import os
import os.path
@@ -242,3 +244,26 @@ def test_new_entries_are_reported_correctly(
# has been found
output = external('find', 'gcc')
assert 'No new external packages detected' in output
+
+
+@pytest.mark.parametrize('command_args', [
+ ('-t', 'build-tools'),
+ ('-t', 'build-tools', 'cmake'),
+])
+def test_use_tags_for_detection(
+ command_args, mock_executable, mutable_config, monkeypatch
+):
+ # Prepare an environment to detect a fake cmake
+ cmake_exe = mock_executable('cmake', output="echo cmake version 3.19.1")
+ prefix = os.path.dirname(cmake_exe)
+ monkeypatch.setenv('PATH', prefix)
+
+ openssl_exe = mock_executable('openssl', output="OpenSSL 2.8.3")
+ prefix = os.path.dirname(openssl_exe)
+ monkeypatch.setenv('PATH', prefix)
+
+ # Test that we detect specs
+ output = external('find', *command_args)
+ assert 'The following specs have been' in output
+ assert 'cmake' in output
+ assert 'openssl' not in output
diff --git a/lib/spack/spack/test/cmd/find.py b/lib/spack/spack/test/cmd/find.py
index 9d2203aaaf..762578a028 100644
--- a/lib/spack/spack/test/cmd/find.py
+++ b/lib/spack/spack/test/cmd/find.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -89,7 +89,7 @@ def test_query_arguments():
@pytest.mark.usefixtures('database', 'mock_display')
def test_tag1(parser, specs):
- args = parser.parse_args(['--tags', 'tag1'])
+ args = parser.parse_args(['--tag', 'tag1'])
spack.cmd.find.find(parser, args)
assert len(specs) == 2
@@ -100,7 +100,7 @@ def test_tag1(parser, specs):
@pytest.mark.db
@pytest.mark.usefixtures('database', 'mock_display')
def test_tag2(parser, specs):
- args = parser.parse_args(['--tags', 'tag2'])
+ args = parser.parse_args(['--tag', 'tag2'])
spack.cmd.find.find(parser, args)
assert len(specs) == 1
@@ -110,7 +110,7 @@ def test_tag2(parser, specs):
@pytest.mark.db
@pytest.mark.usefixtures('database', 'mock_display')
def test_tag2_tag3(parser, specs):
- args = parser.parse_args(['--tags', 'tag2', '--tags', 'tag3'])
+ args = parser.parse_args(['--tag', 'tag2', '--tag', 'tag3'])
spack.cmd.find.find(parser, args)
assert len(specs) == 0
diff --git a/lib/spack/spack/test/cmd/flake8.py b/lib/spack/spack/test/cmd/flake8.py
index d4bfc5618d..c1de26a278 100644
--- a/lib/spack/spack/test/cmd/flake8.py
+++ b/lib/spack/spack/test/cmd/flake8.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,12 +11,12 @@ import sys
from llnl.util.filesystem import FileFilter
import spack.paths
-from spack.cmd.flake8 import flake8, setup_parser, changed_files
+from spack.cmd.style import style, setup_parser, changed_files
from spack.repo import Repo
from spack.util.executable import which
-@pytest.fixture(scope='module')
+@pytest.fixture(scope="module")
def parser():
"""Returns the parser for the ``flake8`` command"""
parser = argparse.ArgumentParser()
@@ -24,7 +24,7 @@ def parser():
return parser
-@pytest.fixture(scope='module')
+@pytest.fixture(scope="module")
def flake8_package():
"""Flake8 only checks files that have been modified.
This fixture makes a small change to the ``flake8``
@@ -32,7 +32,7 @@ def flake8_package():
change on cleanup.
"""
repo = Repo(spack.paths.mock_packages_path)
- filename = repo.filename_for_package_name('flake8')
+ filename = repo.filename_for_package_name("flake8")
package = FileFilter(filename)
# Make the change
@@ -60,16 +60,18 @@ def test_changed_files(parser, flake8_package):
# As of flake8 3.0.0, Python 2.6 and 3.3 are no longer supported
# http://flake8.pycqa.org/en/latest/release-notes/3.0.0.html
@pytest.mark.skipif(
- sys.version_info[:2] <= (2, 6) or
- (3, 0) <= sys.version_info[:2] <= (3, 3),
- reason='flake8 no longer supports Python 2.6 or 3.3 and older')
-@pytest.mark.skipif(not which('flake8'), reason='flake8 is not installed.')
+ sys.version_info[:2] <= (2, 6) or (3, 0) <= sys.version_info[:2] <= (3, 3),
+ reason="flake8 no longer supports Python 2.6 or 3.3 and older",
+)
+@pytest.mark.skipif(not which("flake8"), reason="flake8 is not installed.")
def test_flake8(parser, flake8_package):
# Only test the flake8_package that we modified
# Otherwise, the unit tests would fail every time
# the flake8 tests fail
- args = parser.parse_args([flake8_package])
- flake8(parser, args)
+ args = parser.parse_args(["--no-mypy", flake8_package])
+ style(parser, args)
# Get even more coverage
- args = parser.parse_args(['--output', '--root-relative', flake8_package])
- flake8(parser, args)
+ args = parser.parse_args(
+ ["--no-mypy", "--output", "--root-relative", flake8_package]
+ )
+ style(parser, args)
diff --git a/lib/spack/spack/test/cmd/gc.py b/lib/spack/spack/test/cmd/gc.py
index 22c85a1d78..70df8af687 100644
--- a/lib/spack/spack/test/cmd/gc.py
+++ b/lib/spack/spack/test/cmd/gc.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/gpg.py b/lib/spack/spack/test/cmd/gpg.py
index 751790182b..099d53e039 100644
--- a/lib/spack/spack/test/cmd/gpg.py
+++ b/lib/spack/spack/test/cmd/gpg.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/graph.py b/lib/spack/spack/test/cmd/graph.py
index c402f35a9f..8d6da1049f 100644
--- a/lib/spack/spack/test/cmd/graph.py
+++ b/lib/spack/spack/test/cmd/graph.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/help.py b/lib/spack/spack/test/cmd/help.py
index 00edfa187a..8e0f6d02c9 100644
--- a/lib/spack/spack/test/cmd/help.py
+++ b/lib/spack/spack/test/cmd/help.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/info.py b/lib/spack/spack/test/cmd/info.py
index b57ef3257b..0ff6857617 100644
--- a/lib/spack/spack/test/cmd/info.py
+++ b/lib/spack/spack/test/cmd/info.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/init_py_functions.py b/lib/spack/spack/test/cmd/init_py_functions.py
index 2e63106283..56b0ef7171 100644
--- a/lib/spack/spack/test/cmd/init_py_functions.py
+++ b/lib/spack/spack/test/cmd/init_py_functions.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/install.py b/lib/spack/spack/test/cmd/install.py
index 8e87f97c98..dfc48ece07 100644
--- a/lib/spack/spack/test/cmd/install.py
+++ b/lib/spack/spack/test/cmd/install.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/is_git_repo.py b/lib/spack/spack/test/cmd/is_git_repo.py
index 724925e5e4..109f5030c7 100644
--- a/lib/spack/spack/test/cmd/is_git_repo.py
+++ b/lib/spack/spack/test/cmd/is_git_repo.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/license.py b/lib/spack/spack/test/cmd/license.py
index 614d093c5f..6063a8d9a8 100644
--- a/lib/spack/spack/test/cmd/license.py
+++ b/lib/spack/spack/test/cmd/license.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,6 +8,7 @@ import re
from llnl.util.filesystem import touch, mkdirp
+import spack.cmd.license
import spack.paths
from spack.main import SpackCommand
@@ -31,7 +32,7 @@ def test_verify(tmpdir):
lgpl_header = source_dir.join('lgpl_header.py')
with lgpl_header.open('w') as f:
f.write("""\
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: LGPL-2.1-only
@@ -48,13 +49,13 @@ def test_verify(tmpdir):
correct_header = source_dir.join('correct_header.py')
with correct_header.open('w') as f:
f.write("""\
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
""")
- out = license('verify', '--root', str(tmpdir), fail_on_error=False)
+ out = license('--root', str(tmpdir), 'verify', fail_on_error=False)
assert str(no_header) in out
assert str(lgpl_header) in out
@@ -66,3 +67,28 @@ def test_verify(tmpdir):
assert re.search(r'files with old license header:\s*1', out)
assert license.returncode == 1
+
+
+def test_update_copyright_year(tmpdir):
+ source_dir = tmpdir.join('lib', 'spack', 'spack')
+ mkdirp(str(source_dir))
+
+ years = list(range(2018, 2021))
+
+ for year in years:
+ outdated = source_dir.join('header_%d.py' % year)
+ with outdated.open('w') as f:
+ f.write("""\
+# Copyright 2013-%d Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+""" % year)
+
+ license('--root', str(tmpdir), 'update-copyright-year')
+
+ for year in years:
+ outdated = source_dir.join('header_%d.py' % year)
+ first_line = outdated.open().read().split("\n")[0]
+ assert str(year) not in first_line
+ assert spack.cmd.license.strict_date in first_line
diff --git a/lib/spack/spack/test/cmd/list.py b/lib/spack/spack/test/cmd/list.py
index 17f5a1b493..f99b7420a4 100644
--- a/lib/spack/spack/test/cmd/list.py
+++ b/lib/spack/spack/test/cmd/list.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -33,15 +33,15 @@ def test_list_search_description():
def test_list_tags():
- output = list('--tags', 'proxy-app')
+ output = list('--tag', 'proxy-app')
assert 'cloverleaf3d' in output
assert 'hdf5' not in output
- output = list('--tags', 'hpc')
+ output = list('--tag', 'hpc')
assert 'nek5000' in output
assert 'mfem' in output
- output = list('--tags', 'HPC')
+ output = list('--tag', 'HPC')
assert 'nek5000' in output
assert 'mfem' in output
diff --git a/lib/spack/spack/test/cmd/load.py b/lib/spack/spack/test/cmd/load.py
index b1697bbfc4..620280e016 100644
--- a/lib/spack/spack/test/cmd/load.py
+++ b/lib/spack/spack/test/cmd/load.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/location.py b/lib/spack/spack/test/cmd/location.py
index 3977cba3e5..4141c4fbbe 100644
--- a/lib/spack/spack/test/cmd/location.py
+++ b/lib/spack/spack/test/cmd/location.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/maintainers.py b/lib/spack/spack/test/cmd/maintainers.py
index 4c566c7513..f6520b4a1b 100644
--- a/lib/spack/spack/test/cmd/maintainers.py
+++ b/lib/spack/spack/test/cmd/maintainers.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/mark.py b/lib/spack/spack/test/cmd/mark.py
index 5b488bbf3e..450bc1f30e 100644
--- a/lib/spack/spack/test/cmd/mark.py
+++ b/lib/spack/spack/test/cmd/mark.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/mirror.py b/lib/spack/spack/test/cmd/mirror.py
index 0957624cba..b72487e5ab 100644
--- a/lib/spack/spack/test/cmd/mirror.py
+++ b/lib/spack/spack/test/cmd/mirror.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,6 +14,9 @@ mirror = SpackCommand('mirror')
env = SpackCommand('env')
add = SpackCommand('add')
concretize = SpackCommand('concretize')
+install = SpackCommand('install')
+buildcache = SpackCommand('buildcache')
+uninstall = SpackCommand('uninstall')
@pytest.fixture
@@ -183,3 +186,39 @@ def test_mirror_name_collision(tmp_scope):
with pytest.raises(SpackCommandError):
mirror('add', '--scope', tmp_scope, 'first', '1')
+
+
+def test_mirror_destroy(install_mockery_mutable_config,
+ mock_packages, mock_fetch, mock_archive,
+ mutable_config, monkeypatch, tmpdir):
+ # Create a temp mirror directory for buildcache usage
+ mirror_dir = tmpdir.join('mirror_dir')
+ mirror_url = 'file://{0}'.format(mirror_dir.strpath)
+ mirror('add', 'atest', mirror_url)
+
+ spec_name = 'libdwarf'
+
+ # Put a binary package in a buildcache
+ install('--no-cache', spec_name)
+ buildcache('create', '-u', '-a', '-f', '-d', mirror_dir.strpath, spec_name)
+
+ contents = os.listdir(mirror_dir.strpath)
+ assert('build_cache' in contents)
+
+ # Destroy mirror by name
+ mirror('destroy', '-m', 'atest')
+
+ assert(not os.path.exists(mirror_dir.strpath))
+
+ buildcache('create', '-u', '-a', '-f', '-d', mirror_dir.strpath, spec_name)
+
+ contents = os.listdir(mirror_dir.strpath)
+ assert('build_cache' in contents)
+
+ # Destroy mirror by url
+ mirror('destroy', '--mirror-url', mirror_url)
+
+ assert(not os.path.exists(mirror_dir.strpath))
+
+ uninstall('-y', spec_name)
+ mirror('remove', 'atest')
diff --git a/lib/spack/spack/test/cmd/module.py b/lib/spack/spack/test/cmd/module.py
index c3fe279306..9acb21fdef 100644
--- a/lib/spack/spack/test/cmd/module.py
+++ b/lib/spack/spack/test/cmd/module.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,9 +8,10 @@ import re
import pytest
+import spack.config
import spack.main
import spack.modules
-from spack.test.conftest import use_store, use_configuration, use_repo
+import spack.store
module = spack.main.SpackCommand('module')
@@ -18,12 +19,13 @@ module = spack.main.SpackCommand('module')
#: make sure module files are generated for all the tests here
@pytest.fixture(scope='module', autouse=True)
def ensure_module_files_are_there(
- mock_repo_path, mock_store, mock_configuration):
+ mock_repo_path, mock_store, mock_configuration_scopes
+):
"""Generate module files for module tests."""
module = spack.main.SpackCommand('module')
- with use_store(mock_store):
- with use_configuration(mock_configuration):
- with use_repo(mock_repo_path):
+ with spack.store.use_store(str(mock_store)):
+ with spack.config.use_configuration(*mock_configuration_scopes):
+ with spack.repo.use_repositories(mock_repo_path):
module('tcl', 'refresh', '-y')
diff --git a/lib/spack/spack/test/cmd/pkg.py b/lib/spack/spack/test/cmd/pkg.py
index ca9e3a1a3e..4f4293d004 100644
--- a/lib/spack/spack/test/cmd/pkg.py
+++ b/lib/spack/spack/test/cmd/pkg.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -82,7 +82,7 @@ def mock_pkg_git_repo(tmpdir_factory):
git('-c', 'commit.gpgsign=false', 'commit',
'-m', 'change pkg-b, remove pkg-c, add pkg-d')
- with spack.repo.swap(mock_repo):
+ with spack.repo.use_repositories(mock_repo):
yield mock_repo_packages
diff --git a/lib/spack/spack/test/cmd/print_shell_vars.py b/lib/spack/spack/test/cmd/print_shell_vars.py
index 5f4f8164eb..3c56ee6e49 100644
--- a/lib/spack/spack/test/cmd/print_shell_vars.py
+++ b/lib/spack/spack/test/cmd/print_shell_vars.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/providers.py b/lib/spack/spack/test/cmd/providers.py
index dd0c8a9eb7..daab694032 100644
--- a/lib/spack/spack/test/cmd/providers.py
+++ b/lib/spack/spack/test/cmd/providers.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/python.py b/lib/spack/spack/test/cmd/python.py
index b1c9d3db00..360d947a07 100644
--- a/lib/spack/spack/test/cmd/python.py
+++ b/lib/spack/spack/test/cmd/python.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/reindex.py b/lib/spack/spack/test/cmd/reindex.py
index feb5545ae6..77c672251e 100644
--- a/lib/spack/spack/test/cmd/reindex.py
+++ b/lib/spack/spack/test/cmd/reindex.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/repo.py b/lib/spack/spack/test/cmd/repo.py
index 82fe872710..541ffeddf0 100644
--- a/lib/spack/spack/test/cmd/repo.py
+++ b/lib/spack/spack/test/cmd/repo.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/resource.py b/lib/spack/spack/test/cmd/resource.py
index 4fc5fd5c50..ba1bf48daf 100644
--- a/lib/spack/spack/test/cmd/resource.py
+++ b/lib/spack/spack/test/cmd/resource.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/spec.py b/lib/spack/spack/test/cmd/spec.py
index 3c50a66ce7..7d5cf12e75 100644
--- a/lib/spack/spack/test/cmd/spec.py
+++ b/lib/spack/spack/test/cmd/spec.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/test.py b/lib/spack/spack/test/cmd/test.py
index 4163853274..8b1a2d053f 100644
--- a/lib/spack/spack/test/cmd/test.py
+++ b/lib/spack/spack/test/cmd/test.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/undevelop.py b/lib/spack/spack/test/cmd/undevelop.py
index d44330fe76..0c8f2df978 100644
--- a/lib/spack/spack/test/cmd/undevelop.py
+++ b/lib/spack/spack/test/cmd/undevelop.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ env = SpackCommand('env')
concretize = SpackCommand('concretize')
-def test_undevelop(tmpdir, mock_packages, mutable_mock_env_path):
+def test_undevelop(tmpdir, config, mock_packages, mutable_mock_env_path):
# setup environment
envdir = tmpdir.mkdir('env')
with envdir.as_cwd():
@@ -39,7 +39,7 @@ env:
assert not after.satisfies('dev_path=*')
-def test_undevelop_nonexistent(tmpdir, mock_packages, mutable_mock_env_path):
+def test_undevelop_nonexistent(tmpdir, config, mock_packages, mutable_mock_env_path):
# setup environment
envdir = tmpdir.mkdir('env')
with envdir.as_cwd():
diff --git a/lib/spack/spack/test/cmd/uninstall.py b/lib/spack/spack/test/cmd/uninstall.py
index a5adcdc74b..9a5d1587f0 100644
--- a/lib/spack/spack/test/cmd/uninstall.py
+++ b/lib/spack/spack/test/cmd/uninstall.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/unit_test.py b/lib/spack/spack/test/cmd/unit_test.py
index c5b8eb765e..1a273ff244 100644
--- a/lib/spack/spack/test/cmd/unit_test.py
+++ b/lib/spack/spack/test/cmd/unit_test.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/url.py b/lib/spack/spack/test/cmd/url.py
index 2350fc5fdb..f2466dcdf2 100644
--- a/lib/spack/spack/test/cmd/url.py
+++ b/lib/spack/spack/test/cmd/url.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/verify.py b/lib/spack/spack/test/cmd/verify.py
index dda992fe49..de7544d9f1 100644
--- a/lib/spack/spack/test/cmd/verify.py
+++ b/lib/spack/spack/test/cmd/verify.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd/versions.py b/lib/spack/spack/test/cmd/versions.py
index 1e2bcbedb3..e4bf711a8a 100644
--- a/lib/spack/spack/test/cmd/versions.py
+++ b/lib/spack/spack/test/cmd/versions.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,10 +10,18 @@ from spack.main import SpackCommand
versions = SpackCommand('versions')
+def test_safe_only_versions():
+ """Only test the safe versions of a package.
+ (Using the deprecated command line argument)
+ """
+
+ versions('--safe-only', 'zlib')
+
+
def test_safe_versions():
"""Only test the safe versions of a package."""
- versions('--safe-only', 'zlib')
+ versions('--safe', 'zlib')
@pytest.mark.network
@@ -24,6 +32,21 @@ def test_remote_versions():
@pytest.mark.network
+def test_remote_versions_only():
+ """Test a package for which remote versions should be available."""
+
+ versions('--remote', 'zlib')
+
+
+@pytest.mark.network
+@pytest.mark.usefixtures('mock_packages')
+def test_new_versions_only():
+ """Test a package for which new versions should be available."""
+
+ versions('--new', 'brillig')
+
+
+@pytest.mark.network
def test_no_versions():
"""Test a package for which no remote versions are available."""
diff --git a/lib/spack/spack/test/cmd/view.py b/lib/spack/spack/test/cmd/view.py
index 4ff1592035..b5a503d278 100644
--- a/lib/spack/spack/test/cmd/view.py
+++ b/lib/spack/spack/test/cmd/view.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/cmd_extensions.py b/lib/spack/spack/test/cmd_extensions.py
index cb16609278..f611bd5c8f 100644
--- a/lib/spack/spack/test/cmd_extensions.py
+++ b/lib/spack/spack/test/cmd_extensions.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/compilers/__init__.py b/lib/spack/spack/test/compilers/__init__.py
index 9f87532b85..103eae6134 100644
--- a/lib/spack/spack/test/compilers/__init__.py
+++ b/lib/spack/spack/test/compilers/__init__.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/compilers/basics.py b/lib/spack/spack/test/compilers/basics.py
index 78d8484b3b..005000fdcb 100644
--- a/lib/spack/spack/test/compilers/basics.py
+++ b/lib/spack/spack/test/compilers/basics.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -453,6 +453,8 @@ def test_aocc_flags():
'-Os', '-Oz', '-Og',
'-O', '-O4'],
'aocc@2.2.0')
+
+ supported_flag_test("stdcxx_libs", ("-lstdc++",), "aocc@2.2.0")
supported_flag_test("openmp_flag", "-fopenmp", "aocc@2.2.0")
supported_flag_test("cxx11_flag", "-std=c++11", "aocc@2.2.0")
supported_flag_test("cxx14_flag", "-std=c++14", "aocc@2.2.0")
@@ -471,14 +473,16 @@ def test_fj_flags():
supported_flag_test("cxx98_flag", "-std=c++98", "fj@4.0.0")
supported_flag_test("cxx11_flag", "-std=c++11", "fj@4.0.0")
supported_flag_test("cxx14_flag", "-std=c++14", "fj@4.0.0")
+ supported_flag_test("cxx17_flag", "-std=c++17", "fj@4.0.0")
supported_flag_test("c99_flag", "-std=c99", "fj@4.0.0")
supported_flag_test("c11_flag", "-std=c11", "fj@4.0.0")
supported_flag_test("cc_pic_flag", "-KPIC", "fj@4.0.0")
supported_flag_test("cxx_pic_flag", "-KPIC", "fj@4.0.0")
supported_flag_test("f77_pic_flag", "-KPIC", "fj@4.0.0")
supported_flag_test("fc_pic_flag", "-KPIC", "fj@4.0.0")
- supported_flag_test("opt_flags", ['-O', '-O0', '-O1', '-O2', '-O3', '-O4'],
+ supported_flag_test("opt_flags", ['-O0', '-O1', '-O2', '-O3', '-Ofast'],
'fj@4.0.0')
+ supported_flag_test("debug_flags", "-g", "fj@4.0.0")
def test_gcc_flags():
diff --git a/lib/spack/spack/test/compilers/detection.py b/lib/spack/spack/test/compilers/detection.py
index 47e078f242..e68c54c6ff 100644
--- a/lib/spack/spack/test/compilers/detection.py
+++ b/lib/spack/spack/test/compilers/detection.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -96,7 +96,11 @@ def test_apple_clang_version_detection(
('clang version 8.0.0-3 (tags/RELEASE_800/final)\n'
'Target: aarch64-unknown-linux-gnu\n'
'Thread model: posix\n'
- 'InstalledDir: /usr/bin\n', '8.0.0')
+ 'InstalledDir: /usr/bin\n', '8.0.0'),
+ ('clang version 11.0.0\n'
+ 'Target: aarch64-unknown-linux-gnu\n'
+ 'Thread model: posix\n'
+ 'InstalledDir: /usr/bin\n', '11.0.0')
])
def test_clang_version_detection(version_str, expected_version):
version = spack.compilers.clang.Clang.extract_version_from_output(
@@ -317,6 +321,11 @@ def test_cray_frontend_compiler_detection(
@pytest.mark.parametrize('version_str,expected_version', [
# This applies to C,C++ and FORTRAN compiler
+ ('AMD clang version 11.0.0 (CLANG: AOCC_2.3.0-Build#85 2020_11_10)'
+ '(based on LLVM Mirror.Version.11.0.0)\n'
+ 'Target: x86_64-unknown-linux-gnu\n'
+ 'Thread model: posix\n', '2.3.0'
+ ),
('AMD clang version 10.0.0 (CLANG: AOCC_2.2.0-Build#93 2020_06_25)'
'(based on LLVM Mirror.Version.10.0.0)\n'
'Target: x86_64-unknown-linux-gnu\n'
diff --git a/lib/spack/spack/test/concretize.py b/lib/spack/spack/test/concretize.py
index dae162a12f..283b9052cc 100644
--- a/lib/spack/spack/test/concretize.py
+++ b/lib/spack/spack/test/concretize.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -304,7 +304,7 @@ class TestConcretize(object):
barpkg = mock_repo.add_package('barpkg', [bazpkg], [default_dep])
mock_repo.add_package('foopkg', [barpkg], [default_dep])
- with spack.repo.swap(mock_repo):
+ with spack.repo.use_repositories(mock_repo):
spec = Spec('foopkg %gcc@4.5.0 os=CNL target=nocona' +
' ^barpkg os=SuSE11 ^bazpkg os=be')
spec.concretize()
@@ -688,13 +688,14 @@ class TestConcretize(object):
with pytest.raises(spack.error.SpackError):
Spec(spec).concretized()
+ # Include targets to prevent regression on 20537
@pytest.mark.parametrize('spec, best_achievable', [
- ('mpileaks%gcc@4.4.7', 'core2'),
- ('mpileaks%gcc@4.8', 'haswell'),
- ('mpileaks%gcc@5.3.0', 'broadwell'),
- ('mpileaks%apple-clang@5.1.0', 'x86_64')
+ ('mpileaks%gcc@4.4.7 target=x86_64:', 'core2'),
+ ('mpileaks%gcc@4.8 target=x86_64:', 'haswell'),
+ ('mpileaks%gcc@5.3.0 target=x86_64:', 'broadwell'),
+ ('mpileaks%apple-clang@5.1.0 target=x86_64:', 'x86_64')
])
- @pytest.mark.regression('13361')
+ @pytest.mark.regression('13361', '20537')
def test_adjusting_default_target_based_on_compiler(
self, spec, best_achievable, current_host, mock_targets
):
diff --git a/lib/spack/spack/test/concretize_preferences.py b/lib/spack/spack/test/concretize_preferences.py
index 9abac7221d..7abbaa6e92 100644
--- a/lib/spack/spack/test/concretize_preferences.py
+++ b/lib/spack/spack/test/concretize_preferences.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/config.py b/lib/spack/spack/test/config.py
index f1081be737..b5c3dd657b 100644
--- a/lib/spack/spack/test/config.py
+++ b/lib/spack/spack/test/config.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/config_values.py b/lib/spack/spack/test/config_values.py
index a0bf7e52f8..367138f098 100644
--- a/lib/spack/spack/test/config_values.py
+++ b/lib/spack/spack/test/config_values.py
@@ -1,37 +1,31 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+import pytest
import spack.spec
+import spack.store
-def test_set_install_hash_length(mock_packages, mutable_config, monkeypatch,
- tmpdir):
- # spack.store.layout caches initial config values, so we monkeypatch
- mutable_config.set('config:install_hash_length', 5)
+@pytest.mark.parametrize('hash_length', [1, 2, 3, 4, 5, 9])
+@pytest.mark.use_fixtures('mock_packages')
+def test_set_install_hash_length(hash_length, mutable_config, tmpdir):
+ mutable_config.set('config:install_hash_length', hash_length)
mutable_config.set('config:install_tree', {'root': str(tmpdir)})
- monkeypatch.setattr(spack.store, 'store', spack.store._store())
-
- spec = spack.spec.Spec('libelf').concretized()
- prefix = spec.prefix
- hash = prefix.rsplit('-')[-1]
-
- assert len(hash) == 5
-
- mutable_config.set('config:install_hash_length', 9)
- monkeypatch.setattr(spack.store, 'store', spack.store._store())
-
- spec = spack.spec.Spec('libelf').concretized()
- prefix = spec.prefix
- hash = prefix.rsplit('-')[-1]
-
- assert len(hash) == 9
-
-
-def test_set_install_hash_length_upper_case(mock_packages, mutable_config,
- monkeypatch, tmpdir):
- # spack.store.layout caches initial config values, so we monkeypatch
+ # The call below is to reinitialize the directory layout associated
+ # with the store according to the configuration changes above (i.e.
+ # with the shortened hash)
+ store = spack.store._store()
+ with spack.store.use_store(store):
+ spec = spack.spec.Spec('libelf').concretized()
+ prefix = spec.prefix
+ hash_str = prefix.rsplit('-')[-1]
+ assert len(hash_str) == hash_length
+
+
+@pytest.mark.use_fixtures('mock_packages')
+def test_set_install_hash_length_upper_case(mutable_config, tmpdir):
mutable_config.set('config:install_hash_length', 5)
mutable_config.set(
'config:install_tree',
@@ -42,10 +36,12 @@ def test_set_install_hash_length_upper_case(mock_packages, mutable_config,
}
}
)
- monkeypatch.setattr(spack.store, 'store', spack.store._store())
-
- spec = spack.spec.Spec('libelf').concretized()
- prefix = spec.prefix
- hash = prefix.rsplit('-')[-1]
-
- assert len(hash) == 5
+ # The call below is to reinitialize the directory layout associated
+ # with the store according to the configuration changes above (i.e.
+ # with the shortened hash and projection)
+ store = spack.store._store()
+ with spack.store.use_store(store):
+ spec = spack.spec.Spec('libelf').concretized()
+ prefix = spec.prefix
+ hash_str = prefix.rsplit('-')[-1]
+ assert len(hash_str) == 5
diff --git a/lib/spack/spack/test/conftest.py b/lib/spack/spack/test/conftest.py
index d4f38f2c1b..6cc3ad16db 100644
--- a/lib/spack/spack/test/conftest.py
+++ b/lib/spack/spack/test/conftest.py
@@ -1,10 +1,9 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
import collections
-import contextlib
import errno
import inspect
import itertools
@@ -35,6 +34,7 @@ import spack.paths
import spack.platforms.test
import spack.repo
import spack.stage
+import spack.store
import spack.util.executable
import spack.util.gpg
import spack.subprocess_context
@@ -315,27 +315,21 @@ def _skip_if_missing_executables(request):
pytest.skip(msg.format(', '.join(missing_execs)))
-# FIXME: The lines below should better be added to a fixture with
-# FIXME: session-scope. Anyhow doing it is not easy, as it seems
-# FIXME: there's some weird interaction with compilers during concretization.
-spack.architecture.real_platform = spack.architecture.platform
-
-
+@pytest.fixture(scope='session')
def test_platform():
return spack.platforms.test.Test()
-spack.architecture.platform = test_platform
-
-
-# FIXME: Since we change the architecture above, we have to (re)initialize
-# FIXME: the config singleton. If it gets initialized too early with the
-# FIXME: actual architecture, tests will fail.
-spack.config.config = spack.config._config()
-
+@pytest.fixture(autouse=True, scope='session')
+def _use_test_platform(test_platform):
+ # This is the only context manager used at session scope (see note
+ # below for more insight) since we want to use the test platform as
+ # a default during tests.
+ with spack.architecture.use_platform(test_platform):
+ yield
#
-# Context managers used by fixtures
+# Note on context managers used by fixtures
#
# Because these context managers modify global state, they should really
# ONLY be used persistently (i.e., around yield statements) in
@@ -356,45 +350,13 @@ spack.config.config = spack.config._config()
# *USE*, or things can get really confusing.
#
-@contextlib.contextmanager
-def use_configuration(config):
- """Context manager to swap out the global Spack configuration."""
- saved = spack.config.replace_config(config)
-
- # Avoid using real spack configuration that has been cached by other
- # tests, and avoid polluting the cache with spack test configuration
- # (including modified configuration)
- saved_compiler_cache = spack.compilers._cache_config_file
- spack.compilers._cache_config_file = []
-
- yield
-
- spack.config.replace_config(saved)
- spack.compilers._cache_config_file = saved_compiler_cache
-
-
-@contextlib.contextmanager
-def use_store(store):
- """Context manager to swap out the global Spack store."""
- saved = spack.store.store
- spack.store.store = store
- yield
- spack.store.store = saved
-
-
-@contextlib.contextmanager
-def use_repo(repo):
- """Context manager to swap out the global Spack repo path."""
- with spack.repo.swap(repo):
- yield
-
#
# Test-specific fixtures
#
@pytest.fixture(scope='session')
def mock_repo_path():
- yield spack.repo.RepoPath(spack.paths.mock_packages_path)
+ yield spack.repo.Repo(spack.paths.mock_packages_path)
def _pkg_install_fn(pkg, spec, prefix):
@@ -411,15 +373,15 @@ def mock_pkg_install(monkeypatch):
@pytest.fixture(scope='function')
def mock_packages(mock_repo_path, mock_pkg_install):
"""Use the 'builtin.mock' repository instead of 'builtin'"""
- with use_repo(mock_repo_path):
- yield mock_repo_path
+ with spack.repo.use_repositories(mock_repo_path) as mock_repo:
+ yield mock_repo
@pytest.fixture(scope='function')
def mutable_mock_repo(mock_repo_path):
"""Function-scoped mock packages, for tests that need to modify them."""
- mock_repo_path = spack.repo.RepoPath(spack.paths.mock_packages_path)
- with use_repo(mock_repo_path):
+ mock_repo = spack.repo.Repo(spack.paths.mock_packages_path)
+ with spack.repo.use_repositories(mock_repo) as mock_repo_path:
yield mock_repo_path
@@ -445,9 +407,7 @@ def default_config():
This ensures we can test the real default configuration without having
tests fail when the user overrides the defaults that we test against."""
defaults_path = os.path.join(spack.paths.etc_path, 'spack', 'defaults')
- defaults_scope = spack.config.ConfigScope('defaults', defaults_path)
- defaults_config = spack.config.Configuration(defaults_scope)
- with use_configuration(defaults_config):
+ with spack.config.use_configuration(defaults_path) as defaults_config:
yield defaults_config
@@ -469,9 +429,8 @@ def mock_uarch_configuration(mock_uarch_json):
with open(mock_uarch_json) as f:
return json.load(f)
- targets_json = archspec.cpu.schema.LazyDictionary(load_json)
- targets = archspec.cpu.microarchitecture.LazyDictionary(
- archspec.cpu.microarchitecture._known_microarchitectures)
+ targets_json = load_json()
+ targets = archspec.cpu.microarchitecture._known_microarchitectures()
yield targets_json, targets
@@ -523,7 +482,7 @@ def configuration_dir(tmpdir_factory, linux_os):
@pytest.fixture(scope='session')
-def mock_configuration(configuration_dir):
+def mock_configuration_scopes(configuration_dir):
"""Create a persistent Configuration object from the configuration_dir."""
defaults = spack.config.InternalConfigScope(
'_builtin', spack.config.config_defaults
@@ -534,14 +493,14 @@ def mock_configuration(configuration_dir):
for name in ['site', 'system', 'user']]
test_scopes.append(spack.config.InternalConfigScope('command_line'))
- yield spack.config.Configuration(*test_scopes)
+ yield test_scopes
@pytest.fixture(scope='function')
-def config(mock_configuration):
+def config(mock_configuration_scopes):
"""This fixture activates/deactivates the mock configuration."""
- with use_configuration(mock_configuration):
- yield mock_configuration
+ with spack.config.use_configuration(*mock_configuration_scopes) as config:
+ yield config
@pytest.fixture(scope='function')
@@ -550,11 +509,10 @@ def mutable_config(tmpdir_factory, configuration_dir):
mutable_dir = tmpdir_factory.mktemp('mutable_config').join('tmp')
configuration_dir.copy(mutable_dir)
- cfg = spack.config.Configuration(
- *[spack.config.ConfigScope(name, str(mutable_dir.join(name)))
- for name in ['site', 'system', 'user']])
+ scopes = [spack.config.ConfigScope(name, str(mutable_dir.join(name)))
+ for name in ['site', 'system', 'user']]
- with use_configuration(cfg):
+ with spack.config.use_configuration(*scopes) as cfg:
yield cfg
@@ -562,23 +520,20 @@ def mutable_config(tmpdir_factory, configuration_dir):
def mutable_empty_config(tmpdir_factory, configuration_dir):
"""Empty configuration that can be modified by the tests."""
mutable_dir = tmpdir_factory.mktemp('mutable_config').join('tmp')
+ scopes = [spack.config.ConfigScope(name, str(mutable_dir.join(name)))
+ for name in ['site', 'system', 'user']]
- cfg = spack.config.Configuration(
- *[spack.config.ConfigScope(name, str(mutable_dir.join(name)))
- for name in ['site', 'system', 'user']])
-
- with use_configuration(cfg):
+ with spack.config.use_configuration(*scopes) as cfg:
yield cfg
@pytest.fixture()
def mock_low_high_config(tmpdir):
"""Mocks two configuration scopes: 'low' and 'high'."""
- config = spack.config.Configuration(
- *[spack.config.ConfigScope(name, str(tmpdir.join(name)))
- for name in ['low', 'high']])
+ scopes = [spack.config.ConfigScope(name, str(tmpdir.join(name)))
+ for name in ['low', 'high']]
- with use_configuration(config):
+ with spack.config.use_configuration(*scopes) as config:
yield config
@@ -608,12 +563,10 @@ def _populate(mock_db):
pkg = spack.repo.get(s)
pkg.do_install(fake=True, explicit=True)
- # Transaction used to avoid repeated writes.
- with mock_db.write_transaction():
- _install('mpileaks ^mpich')
- _install('mpileaks ^mpich2')
- _install('mpileaks ^zmpi')
- _install('externaltest')
+ _install('mpileaks ^mpich')
+ _install('mpileaks ^mpich2')
+ _install('mpileaks ^zmpi')
+ _install('externaltest')
@pytest.fixture(scope='session')
@@ -627,7 +580,7 @@ def _store_dir_and_cache(tmpdir_factory):
@pytest.fixture(scope='session')
-def mock_store(tmpdir_factory, mock_repo_path, mock_configuration,
+def mock_store(tmpdir_factory, mock_repo_path, mock_configuration_scopes,
_store_dir_and_cache):
"""Creates a read-only mock database with some packages installed note
that the ref count for dyninst here will be 3, as it's recycled
@@ -638,50 +591,19 @@ def mock_store(tmpdir_factory, mock_repo_path, mock_configuration,
"""
store_path, store_cache = _store_dir_and_cache
- store = spack.store.Store(str(store_path))
# If the cache does not exist populate the store and create it
if not os.path.exists(str(store_cache.join('.spack-db'))):
- with use_configuration(mock_configuration):
- with use_store(store):
- with use_repo(mock_repo_path):
+ with spack.config.use_configuration(*mock_configuration_scopes):
+ with spack.store.use_store(str(store_path)) as store:
+ with spack.repo.use_repositories(mock_repo_path):
_populate(store.db)
store_path.copy(store_cache, mode=True, stat=True)
# Make the DB filesystem read-only to ensure we can't modify entries
store_path.join('.spack-db').chmod(mode=0o555, rec=1)
- yield store
-
- store_path.join('.spack-db').chmod(mode=0o755, rec=1)
-
-
-@pytest.fixture(scope='function')
-def mutable_mock_store(tmpdir_factory, mock_repo_path, mock_configuration,
- _store_dir_and_cache):
- """Creates a read-only mock database with some packages installed note
- that the ref count for dyninst here will be 3, as it's recycled
- across each install.
-
- This does not actually activate the store for use by Spack -- see the
- ``database`` fixture for that.
-
- """
- store_path, store_cache = _store_dir_and_cache
- store = spack.store.Store(str(store_path))
-
- # If the cache does not exist populate the store and create it
- if not os.path.exists(str(store_cache.join('.spack-db'))):
- with use_configuration(mock_configuration):
- with use_store(store):
- with use_repo(mock_repo_path):
- _populate(store.db)
- store_path.copy(store_cache, mode=True, stat=True)
-
- # Make the DB filesystem read-only to ensure we can't modify entries
- store_path.join('.spack-db').chmod(mode=0o555, rec=1)
-
- yield store
+ yield store_path
store_path.join('.spack-db').chmod(mode=0o755, rec=1)
@@ -689,10 +611,9 @@ def mutable_mock_store(tmpdir_factory, mock_repo_path, mock_configuration,
@pytest.fixture(scope='function')
def database(mock_store, mock_packages, config, monkeypatch):
"""This activates the mock store, packages, AND config."""
- monkeypatch.setattr(spack.store, 'store', mock_store)
- yield mock_store.db
- # Force reading the database again between tests
- mock_store.db.last_seen_verifier = ''
+ with spack.store.use_store(str(mock_store)) as store:
+ yield store.db
+ store.db.last_seen_verifier = ''
@pytest.fixture(scope='function')
@@ -763,20 +684,15 @@ def disable_compiler_execution(monkeypatch, request):
@pytest.fixture(scope='function')
-def install_mockery(tmpdir, config, mock_packages, monkeypatch):
+def install_mockery(temporary_store, config, mock_packages):
"""Hooks a fake install directory, DB, and stage directory into Spack."""
- monkeypatch.setattr(
- spack.store, 'store', spack.store.Store(str(tmpdir.join('opt'))))
-
# We use a fake package, so temporarily disable checksumming
with spack.config.override('config:checksum', False):
yield
- tmpdir.join('opt').remove()
-
# Also wipe out any cached prefix failure locks (associated with
# the session-scoped mock archive).
- for pkg_id in list(spack.store.db._prefix_failures.keys()):
+ for pkg_id in list(temporary_store.db._prefix_failures.keys()):
lock = spack.store.db._prefix_failures.pop(pkg_id, None)
if lock:
try:
@@ -786,23 +702,28 @@ def install_mockery(tmpdir, config, mock_packages, monkeypatch):
@pytest.fixture(scope='function')
+def temporary_store(tmpdir):
+ """Hooks a temporary empty store for the test function."""
+ temporary_store_path = tmpdir.join('opt')
+ with spack.store.use_store(str(temporary_store_path)) as s:
+ yield s
+ temporary_store_path.remove()
+
+
+@pytest.fixture(scope='function')
def install_mockery_mutable_config(
- tmpdir, mutable_config, mock_packages, monkeypatch):
+ temporary_store, mutable_config, mock_packages
+):
"""Hooks a fake install directory, DB, and stage directory into Spack.
This is specifically for tests which want to use 'install_mockery' but
also need to modify configuration (and hence would want to use
'mutable config'): 'install_mockery' does not support this.
"""
- monkeypatch.setattr(
- spack.store, 'store', spack.store.Store(str(tmpdir.join('opt'))))
-
# We use a fake package, so temporarily disable checksumming
with spack.config.override('config:checksum', False):
yield
- tmpdir.join('opt').remove()
-
@pytest.fixture()
def mock_fetch(mock_archive, monkeypatch):
@@ -1250,8 +1171,7 @@ repo:
namespace: mock_test_repo
""")
- repo = spack.repo.RepoPath(str(repodir))
- with spack.repo.swap(repo):
+ with spack.repo.use_repositories(str(repodir)) as repo:
yield repo, repodir
shutil.rmtree(str(repodir))
@@ -1268,7 +1188,7 @@ repo:
class MockBundle(object):
has_code = False
name = 'mock-bundle'
- versions = {}
+ versions = {} # type: ignore
@pytest.fixture
diff --git a/lib/spack/spack/test/container/cli.py b/lib/spack/spack/test/container/cli.py
index f9b3b43f83..26ae9f0c68 100644
--- a/lib/spack/spack/test/container/cli.py
+++ b/lib/spack/spack/test/container/cli.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/container/conftest.py b/lib/spack/spack/test/container/conftest.py
index 70a1ae2547..43e16cd180 100644
--- a/lib/spack/spack/test/container/conftest.py
+++ b/lib/spack/spack/test/container/conftest.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/container/docker.py b/lib/spack/spack/test/container/docker.py
index 6392f97db2..43a32b0720 100644
--- a/lib/spack/spack/test/container/docker.py
+++ b/lib/spack/spack/test/container/docker.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/container/images.py b/lib/spack/spack/test/container/images.py
index 6cec1cc592..d04bf60b08 100644
--- a/lib/spack/spack/test/container/images.py
+++ b/lib/spack/spack/test/container/images.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/container/schema.py b/lib/spack/spack/test/container/schema.py
index e86f9d3fe8..4bb0d574a9 100644
--- a/lib/spack/spack/test/container/schema.py
+++ b/lib/spack/spack/test/container/schema.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/container/singularity.py b/lib/spack/spack/test/container/singularity.py
index ab342cacec..12245e935e 100644
--- a/lib/spack/spack/test/container/singularity.py
+++ b/lib/spack/spack/test/container/singularity.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/data/sourceme_first.sh b/lib/spack/spack/test/data/sourceme_first.sh
index 8fa1774b17..6d473ea6d3 100644
--- a/lib/spack/spack/test/data/sourceme_first.sh
+++ b/lib/spack/spack/test/data/sourceme_first.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
#
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/data/sourceme_lmod.sh b/lib/spack/spack/test/data/sourceme_lmod.sh
index b71e338ec9..0ce370d09e 100644
--- a/lib/spack/spack/test/data/sourceme_lmod.sh
+++ b/lib/spack/spack/test/data/sourceme_lmod.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
#
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/data/sourceme_parameters.sh b/lib/spack/spack/test/data/sourceme_parameters.sh
index d11590d224..205a7006df 100644
--- a/lib/spack/spack/test/data/sourceme_parameters.sh
+++ b/lib/spack/spack/test/data/sourceme_parameters.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
#
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/data/sourceme_second.sh b/lib/spack/spack/test/data/sourceme_second.sh
index 3f16153627..79af1aea36 100644
--- a/lib/spack/spack/test/data/sourceme_second.sh
+++ b/lib/spack/spack/test/data/sourceme_second.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
#
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/data/sourceme_unicode.sh b/lib/spack/spack/test/data/sourceme_unicode.sh
index d819126bb6..b396dc43d7 100644
--- a/lib/spack/spack/test/data/sourceme_unicode.sh
+++ b/lib/spack/spack/test/data/sourceme_unicode.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
#
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/data/sourceme_unset.sh b/lib/spack/spack/test/data/sourceme_unset.sh
index 0366833838..2f1658529a 100644
--- a/lib/spack/spack/test/data/sourceme_unset.sh
+++ b/lib/spack/spack/test/data/sourceme_unset.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
#
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/database.py b/lib/spack/spack/test/database.py
index 4682c9850d..8d1a204ba9 100644
--- a/lib/spack/spack/test/database.py
+++ b/lib/spack/spack/test/database.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -38,16 +38,6 @@ pytestmark = pytest.mark.db
@pytest.fixture()
-def test_store(tmpdir):
- real_store = spack.store.store
- spack.store.store = spack.store.Store(str(tmpdir.join('test_store')))
-
- yield
-
- spack.store.store = real_store
-
-
-@pytest.fixture()
def upstream_and_downstream_db(tmpdir_factory, gen_mock_layout):
mock_db_root = str(tmpdir_factory.mktemp('mock_db_root'))
upstream_write_db = spack.database.Database(mock_db_root)
@@ -81,7 +71,7 @@ def test_installed_upstream(upstream_and_downstream_db):
y = mock_repo.add_package('y', [z], [default])
mock_repo.add_package('w', [x, y], [default, default])
- with spack.repo.swap(mock_repo):
+ with spack.repo.use_repositories(mock_repo):
spec = spack.spec.Spec('w')
spec.concretize()
@@ -122,7 +112,7 @@ def test_removed_upstream_dep(upstream_and_downstream_db):
z = mock_repo.add_package('z', [], [])
mock_repo.add_package('y', [z], [default])
- with spack.repo.swap(mock_repo):
+ with spack.repo.use_repositories(mock_repo):
spec = spack.spec.Spec('y')
spec.concretize()
@@ -155,7 +145,7 @@ def test_add_to_upstream_after_downstream(upstream_and_downstream_db):
mock_repo = MockPackageMultiRepo()
mock_repo.add_package('x', [], [])
- with spack.repo.swap(mock_repo):
+ with spack.repo.use_repositories(mock_repo):
spec = spack.spec.Spec('x')
spec.concretize()
@@ -180,8 +170,8 @@ def test_add_to_upstream_after_downstream(upstream_and_downstream_db):
spack.store.db = orig_db
-@pytest.mark.usefixtures('config')
-def test_cannot_write_upstream(tmpdir_factory, test_store, gen_mock_layout):
+@pytest.mark.usefixtures('config', 'temporary_store')
+def test_cannot_write_upstream(tmpdir_factory, gen_mock_layout):
roots = [str(tmpdir_factory.mktemp(x)) for x in ['a', 'b']]
layouts = [gen_mock_layout(x) for x in ['/ra/', '/rb/']]
@@ -197,7 +187,7 @@ def test_cannot_write_upstream(tmpdir_factory, test_store, gen_mock_layout):
upstream_dbs = spack.store._construct_upstream_dbs_from_install_roots(
[roots[1]], _test=True)
- with spack.repo.swap(mock_repo):
+ with spack.repo.use_repositories(mock_repo):
spec = spack.spec.Spec('x')
spec.concretize()
@@ -205,8 +195,8 @@ def test_cannot_write_upstream(tmpdir_factory, test_store, gen_mock_layout):
upstream_dbs[0].add(spec, layouts[1])
-@pytest.mark.usefixtures('config')
-def test_recursive_upstream_dbs(tmpdir_factory, test_store, gen_mock_layout):
+@pytest.mark.usefixtures('config', 'temporary_store')
+def test_recursive_upstream_dbs(tmpdir_factory, gen_mock_layout):
roots = [str(tmpdir_factory.mktemp(x)) for x in ['a', 'b', 'c']]
layouts = [gen_mock_layout(x) for x in ['/ra/', '/rb/', '/rc/']]
@@ -216,7 +206,7 @@ def test_recursive_upstream_dbs(tmpdir_factory, test_store, gen_mock_layout):
y = mock_repo.add_package('y', [z], [default])
mock_repo.add_package('x', [y], [default])
- with spack.repo.swap(mock_repo):
+ with spack.repo.use_repositories(mock_repo):
spec = spack.spec.Spec('x')
spec.concretize()
db_c = spack.database.Database(roots[2])
@@ -694,7 +684,7 @@ def test_115_reindex_with_packages_not_in_repo(mutable_database):
# Dont add any package definitions to this repository, the idea is that
# packages should not have to be defined in the repository once they
# are installed
- with spack.repo.swap(MockPackageMultiRepo()):
+ with spack.repo.use_repositories(MockPackageMultiRepo()):
spack.store.store.reindex()
_check_db_sanity(mutable_database)
diff --git a/lib/spack/spack/test/directives.py b/lib/spack/spack/test/directives.py
index ae1b6b7e2a..55ec46d01d 100644
--- a/lib/spack/spack/test/directives.py
+++ b/lib/spack/spack/test/directives.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/directory_layout.py b/lib/spack/spack/test/directory_layout.py
index 3a144621eb..04e42549d6 100644
--- a/lib/spack/spack/test/directory_layout.py
+++ b/lib/spack/spack/test/directory_layout.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,6 +7,7 @@
This test verifies that the Spack directory layout works properly.
"""
import os
+import os.path
import pytest
import spack.paths
@@ -19,16 +20,6 @@ from spack.spec import Spec
max_packages = 10
-@pytest.fixture()
-def layout_and_dir(tmpdir):
- """Returns a directory layout and the corresponding directory."""
- layout = YamlDirectoryLayout(str(tmpdir))
- old_layout = spack.store.layout
- spack.store.layout = layout
- yield layout, str(tmpdir)
- spack.store.layout = old_layout
-
-
def test_yaml_directory_layout_parameters(tmpdir, config):
"""This tests the various parameters that can be used to configure
the install location """
@@ -84,14 +75,14 @@ def test_yaml_directory_layout_parameters(tmpdir, config):
projections=projections_package7)
-def test_read_and_write_spec(layout_and_dir, config, mock_packages):
+def test_read_and_write_spec(temporary_store, config, mock_packages):
"""This goes through each package in spack and creates a directory for
it. It then ensures that the spec for the directory's
installed package can be read back in consistently, and
finally that the directory can be removed by the directory
layout.
"""
- layout, tmpdir = layout_and_dir
+ layout = temporary_store.layout
packages = list(spack.repo.path.all_packages())[:max_packages]
for pkg in packages:
@@ -114,7 +105,7 @@ def test_read_and_write_spec(layout_and_dir, config, mock_packages):
# Ensure directory has been created in right place.
assert os.path.isdir(install_dir)
- assert install_dir.startswith(str(tmpdir))
+ assert install_dir.startswith(temporary_store.root)
# Ensure spec file exists when directory is created
assert os.path.isfile(spec_path)
@@ -160,7 +151,7 @@ def test_read_and_write_spec(layout_and_dir, config, mock_packages):
assert not os.path.exists(install_dir)
-def test_handle_unknown_package(layout_and_dir, config, mock_packages):
+def test_handle_unknown_package(temporary_store, config, mock_packages):
"""This test ensures that spack can at least do *some*
operations with packages that are installed but that it
does not know about. This is actually not such an uncommon
@@ -171,7 +162,7 @@ def test_handle_unknown_package(layout_and_dir, config, mock_packages):
information about installed packages' specs to uninstall
or query them again if the package goes away.
"""
- layout, _ = layout_and_dir
+ layout = temporary_store.layout
mock_db = spack.repo.RepoPath(spack.paths.mock_packages_path)
not_in_mock = set.difference(
@@ -194,7 +185,7 @@ def test_handle_unknown_package(layout_and_dir, config, mock_packages):
layout.create_install_directory(spec)
installed_specs[spec] = layout.path_for_spec(spec)
- with spack.repo.swap(mock_db):
+ with spack.repo.use_repositories(mock_db):
# Now check that even without the package files, we know
# enough to read a spec from the spec file.
for spec, path in installed_specs.items():
@@ -209,9 +200,9 @@ def test_handle_unknown_package(layout_and_dir, config, mock_packages):
assert spec.dag_hash() == spec_from_file.dag_hash()
-def test_find(layout_and_dir, config, mock_packages):
+def test_find(temporary_store, config, mock_packages):
"""Test that finding specs within an install layout works."""
- layout, _ = layout_and_dir
+ layout = temporary_store.layout
packages = list(spack.repo.path.all_packages())[:max_packages]
# Create install prefixes for all packages in the list
diff --git a/lib/spack/spack/test/environment_modifications.py b/lib/spack/spack/test/environment_modifications.py
index d1f5a4b791..014bf340bf 100644
--- a/lib/spack/spack/test/environment_modifications.py
+++ b/lib/spack/spack/test/environment_modifications.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/fetch_strategy.py b/lib/spack/spack/test/fetch_strategy.py
index 5470d88c13..d7f770eac3 100644
--- a/lib/spack/spack/test/fetch_strategy.py
+++ b/lib/spack/spack/test/fetch_strategy.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/flag_handlers.py b/lib/spack/spack/test/flag_handlers.py
index 6c7651ad19..8fac5a898c 100644
--- a/lib/spack/spack/test/flag_handlers.py
+++ b/lib/spack/spack/test/flag_handlers.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/git_fetch.py b/lib/spack/spack/test/git_fetch.py
index 8dc57da793..ad010e3ca5 100644
--- a/lib/spack/spack/test/git_fetch.py
+++ b/lib/spack/spack/test/git_fetch.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/graph.py b/lib/spack/spack/test/graph.py
index 7ad1a75a90..9242cd2717 100644
--- a/lib/spack/spack/test/graph.py
+++ b/lib/spack/spack/test/graph.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/hg_fetch.py b/lib/spack/spack/test/hg_fetch.py
index 2cdeace3e4..d0f7629cf8 100644
--- a/lib/spack/spack/test/hg_fetch.py
+++ b/lib/spack/spack/test/hg_fetch.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/install.py b/lib/spack/spack/test/install.py
index c2a8d0b100..77810ff0e3 100644
--- a/lib/spack/spack/test/install.py
+++ b/lib/spack/spack/test/install.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -183,70 +183,70 @@ def test_flatten_deps(
assert os.path.isdir(dependency_dir)
-def test_installed_upstream_external(
- tmpdir_factory, install_mockery, mock_fetch, gen_mock_layout,
- monkeypatch):
- """Check that when a dependency package is recorded as installed in
- an upstream database that it is not reinstalled.
+@pytest.fixture()
+def install_upstream(tmpdir_factory, gen_mock_layout, install_mockery):
+ """Provides a function that installs a specified set of specs to an
+ upstream database. The function returns a store which points to the
+ upstream, as well as the upstream layout (for verifying that dependent
+ installs are using the upstream installs).
"""
mock_db_root = str(tmpdir_factory.mktemp('mock_db_root'))
prepared_db = spack.database.Database(mock_db_root)
-
upstream_layout = gen_mock_layout('/a/')
- dependency = spack.spec.Spec('externaltool')
- dependency.concretize()
- prepared_db.add(dependency, upstream_layout)
-
- downstream_db_root = str(
- tmpdir_factory.mktemp('mock_downstream_db_root'))
- db_for_test = spack.database.Database(
- downstream_db_root, upstream_dbs=[prepared_db])
- monkeypatch.setattr(spack.store, 'db', db_for_test)
- dependent = spack.spec.Spec('externaltest')
- dependent.concretize()
-
- new_dependency = dependent['externaltool']
- assert new_dependency.external
- assert new_dependency.prefix == '/path/to/external_tool'
+ def _install_upstream(*specs):
+ for spec_str in specs:
+ s = spack.spec.Spec(spec_str).concretized()
+ prepared_db.add(s, upstream_layout)
- dependent.package.do_install()
+ downstream_root = str(tmpdir_factory.mktemp('mock_downstream_db_root'))
+ db_for_test = spack.database.Database(
+ downstream_root, upstream_dbs=[prepared_db]
+ )
+ store = spack.store.Store(downstream_root)
+ store.db = db_for_test
+ return store, upstream_layout
- assert not os.path.exists(new_dependency.prefix)
- assert os.path.exists(dependent.prefix)
+ return _install_upstream
-def test_installed_upstream(tmpdir_factory, install_mockery, mock_fetch,
- gen_mock_layout, monkeypatch):
+def test_installed_upstream_external(install_upstream, mock_fetch):
"""Check that when a dependency package is recorded as installed in
- an upstream database that it is not reinstalled.
+ an upstream database that it is not reinstalled.
"""
- mock_db_root = str(tmpdir_factory.mktemp('mock_db_root'))
- prepared_db = spack.database.Database(mock_db_root)
+ s, _ = install_upstream('externaltool')
+ with spack.store.use_store(s):
+ dependent = spack.spec.Spec('externaltest')
+ dependent.concretize()
- upstream_layout = gen_mock_layout('/a/')
+ new_dependency = dependent['externaltool']
+ assert new_dependency.external
+ assert new_dependency.prefix == '/path/to/external_tool'
- dependency = spack.spec.Spec('dependency-install')
- dependency.concretize()
- prepared_db.add(dependency, upstream_layout)
-
- downstream_db_root = str(
- tmpdir_factory.mktemp('mock_downstream_db_root'))
- db_for_test = spack.database.Database(
- downstream_db_root, upstream_dbs=[prepared_db])
- monkeypatch.setattr(spack.store, 'db', db_for_test)
- dependent = spack.spec.Spec('dependent-install')
- dependent.concretize()
+ dependent.package.do_install()
+
+ assert not os.path.exists(new_dependency.prefix)
+ assert os.path.exists(dependent.prefix)
+
+
+def test_installed_upstream(install_upstream, mock_fetch):
+ """Check that when a dependency package is recorded as installed in
+ an upstream database that it is not reinstalled.
+ """
+ s, upstream_layout = install_upstream('dependency-install')
+ with spack.store.use_store(s):
+ dependency = spack.spec.Spec('dependency-install').concretized()
+ dependent = spack.spec.Spec('dependent-install').concretized()
- new_dependency = dependent['dependency-install']
- assert new_dependency.package.installed_upstream
- assert (new_dependency.prefix ==
- upstream_layout.path_for_spec(dependency))
+ new_dependency = dependent['dependency-install']
+ assert new_dependency.package.installed_upstream
+ assert (new_dependency.prefix ==
+ upstream_layout.path_for_spec(dependency))
- dependent.package.do_install()
+ dependent.package.do_install()
- assert not os.path.exists(new_dependency.prefix)
- assert os.path.exists(dependent.prefix)
+ assert not os.path.exists(new_dependency.prefix)
+ assert os.path.exists(dependent.prefix)
@pytest.mark.disable_clean_stage_check
diff --git a/lib/spack/spack/test/installer.py b/lib/spack/spack/test/installer.py
index 3bf818544e..fb00081931 100644
--- a/lib/spack/spack/test/installer.py
+++ b/lib/spack/spack/test/installer.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -231,7 +231,7 @@ def test_process_binary_cache_tarball_tar(install_mockery, monkeypatch, capfd):
def test_try_install_from_binary_cache(install_mockery, mock_packages,
monkeypatch, capsys):
"""Tests SystemExit path for_try_install_from_binary_cache."""
- def _mirrors_for_spec(spec, force, full_hash_match=False):
+ def _mirrors_for_spec(spec, full_hash_match=False):
spec = spack.spec.Spec('mpi').concretized()
return [{
'mirror_url': 'notused',
@@ -474,14 +474,14 @@ def test_packages_needed_to_bootstrap_compiler_packages(install_mockery,
assert packages
-def test_dump_packages_deps_ok(install_mockery, tmpdir, mock_repo_path):
+def test_dump_packages_deps_ok(install_mockery, tmpdir, mock_packages):
"""Test happy path for dump_packages with dependencies."""
spec_name = 'simple-inheritance'
spec = spack.spec.Spec(spec_name).concretized()
inst.dump_packages(spec, str(tmpdir))
- repo = mock_repo_path.repos[0]
+ repo = mock_packages.repos[0]
dest_pkg = repo.filename_for_package_name(spec_name)
assert os.path.isfile(dest_pkg)
diff --git a/lib/spack/spack/test/link_paths.py b/lib/spack/spack/test/link_paths.py
index 79a69942aa..4485bf3ae8 100644
--- a/lib/spack/spack/test/link_paths.py
+++ b/lib/spack/spack/test/link_paths.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/llnl/util/__init__.py b/lib/spack/spack/test/llnl/util/__init__.py
index 9f87532b85..103eae6134 100644
--- a/lib/spack/spack/test/llnl/util/__init__.py
+++ b/lib/spack/spack/test/llnl/util/__init__.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/llnl/util/argparsewriter.py b/lib/spack/spack/test/llnl/util/argparsewriter.py
index 127149bbaa..708110558e 100644
--- a/lib/spack/spack/test/llnl/util/argparsewriter.py
+++ b/lib/spack/spack/test/llnl/util/argparsewriter.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/llnl/util/file_list.py b/lib/spack/spack/test/llnl/util/file_list.py
index e4036fe492..4efec18067 100644
--- a/lib/spack/spack/test/llnl/util/file_list.py
+++ b/lib/spack/spack/test/llnl/util/file_list.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/llnl/util/filesystem.py b/lib/spack/spack/test/llnl/util/filesystem.py
index 501c07a1f6..5733be6b59 100644
--- a/lib/spack/spack/test/llnl/util/filesystem.py
+++ b/lib/spack/spack/test/llnl/util/filesystem.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -588,3 +588,24 @@ def test_content_of_files_with_same_name(tmpdir):
# and have not been mixed
assert file1.read().strip() == 'file1'
assert file2.read().strip() == 'file2'
+
+
+def test_keep_modification_time(tmpdir):
+ file1 = tmpdir.ensure('file1')
+ file2 = tmpdir.ensure('file2')
+
+ # Shift the modification time of the file 10 seconds back:
+ mtime1 = file1.mtime() - 10
+ file1.setmtime(mtime1)
+
+ with fs.keep_modification_time(file1.strpath,
+ file2.strpath,
+ 'non-existing-file'):
+ file1.write('file1')
+ file2.remove()
+
+ # Assert that the modifications took place the modification time has not
+ # changed;
+ assert file1.read().strip() == 'file1'
+ assert not file2.exists()
+ assert int(mtime1) == int(file1.mtime())
diff --git a/lib/spack/spack/test/llnl/util/lang.py b/lib/spack/spack/test/llnl/util/lang.py
index 83342dd6ed..6555a81825 100644
--- a/lib/spack/spack/test/llnl/util/lang.py
+++ b/lib/spack/spack/test/llnl/util/lang.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/llnl/util/link_tree.py b/lib/spack/spack/test/llnl/util/link_tree.py
index bebb3da805..af7012692f 100644
--- a/lib/spack/spack/test/llnl/util/link_tree.py
+++ b/lib/spack/spack/test/llnl/util/link_tree.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/llnl/util/lock.py b/lib/spack/spack/test/llnl/util/lock.py
index d4b61929c2..ff30cedf6d 100644
--- a/lib/spack/spack/test/llnl/util/lock.py
+++ b/lib/spack/spack/test/llnl/util/lock.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/llnl/util/tty/__init__.py b/lib/spack/spack/test/llnl/util/tty/__init__.py
index 9f87532b85..103eae6134 100644
--- a/lib/spack/spack/test/llnl/util/tty/__init__.py
+++ b/lib/spack/spack/test/llnl/util/tty/__init__.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/llnl/util/tty/log.py b/lib/spack/spack/test/llnl/util/tty/log.py
index 811b6c6642..080a6e1339 100644
--- a/lib/spack/spack/test/llnl/util/tty/log.py
+++ b/lib/spack/spack/test/llnl/util/tty/log.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,10 +11,8 @@ import signal
import sys
import time
-try:
- import termios
-except ImportError:
- termios = None
+from typing import Optional # novm
+from types import ModuleType # novm
import pytest
@@ -25,6 +23,13 @@ from llnl.util.tty.pty import PseudoShell
from spack.util.executable import which
+termios = None # type: Optional[ModuleType]
+try:
+ import termios as term_mod
+ termios = term_mod
+except ImportError:
+ pass
+
@contextlib.contextmanager
def nullcontext():
@@ -432,20 +437,14 @@ def test_foreground_background_output(
with open(log_path) as log:
log = log.read().strip().split("\n")
- # Controller and minion process coordinate with locks such that the minion
- # writes "off" when echo is off, and "on" when echo is on. The
- # output should contain mostly "on" lines, but may contain an "off"
- # or two. This is because the controller toggles echo by sending "v" on
- # stdin to the minion, but this is not synchronized with our locks.
- # It's good enough for a test, though. We allow at most 4 "off"'s in
- # the output to account for the race.
- #
- # Originally we only allowed 2, but GitHub's macOS runners seem to be
- # very slow, and frequently we get 3 "off"'s. Increased limit to 4 to
- # account for this. Real errors should still be caught with this limit.
+ # Controller and minion process coordinate with locks such that the
+ # minion writes "off" when echo is off, and "on" when echo is on. The
+ # output should contain mostly "on" lines, but may contain "off"
+ # lines if the controller is slow. The important thing to observe
+ # here is that we started seeing 'on' in the end.
assert (
['forced output', 'on'] == uniq(output) or
- output.count("off") <= 4 # if controller_fd is a bit slow
+ ['forced output', 'off', 'on'] == uniq(output)
)
# log should be off for a while, then on, then off
diff --git a/lib/spack/spack/test/llnl/util/tty/tty.py b/lib/spack/spack/test/llnl/util/tty/tty.py
index b8366a9738..bc68543ec3 100644
--- a/lib/spack/spack/test/llnl/util/tty/tty.py
+++ b/lib/spack/spack/test/llnl/util/tty/tty.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/main.py b/lib/spack/spack/test/main.py
index c35a6e195b..068dce0bef 100644
--- a/lib/spack/spack/test/main.py
+++ b/lib/spack/spack/test/main.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/make_executable.py b/lib/spack/spack/test/make_executable.py
index f554fd038c..510487002a 100644
--- a/lib/spack/spack/test/make_executable.py
+++ b/lib/spack/spack/test/make_executable.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/mirror.py b/lib/spack/spack/test/mirror.py
index 8d3ec2d07b..2eef86e4f4 100644
--- a/lib/spack/spack/test/mirror.py
+++ b/lib/spack/spack/test/mirror.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/module_parsing.py b/lib/spack/spack/test/module_parsing.py
index 8dc06b058b..8779deb0ac 100644
--- a/lib/spack/spack/test/module_parsing.py
+++ b/lib/spack/spack/test/module_parsing.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/modules/__init__.py b/lib/spack/spack/test/modules/__init__.py
index 9f87532b85..103eae6134 100644
--- a/lib/spack/spack/test/modules/__init__.py
+++ b/lib/spack/spack/test/modules/__init__.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/modules/common.py b/lib/spack/spack/test/modules/common.py
index f2cb60e1db..0918cf2dfd 100644
--- a/lib/spack/spack/test/modules/common.py
+++ b/lib/spack/spack/test/modules/common.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/modules/conftest.py b/lib/spack/spack/test/modules/conftest.py
index 4ab129a5dd..dbfac6b0bc 100644
--- a/lib/spack/spack/test/modules/conftest.py
+++ b/lib/spack/spack/test/modules/conftest.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/modules/lmod.py b/lib/spack/spack/test/modules/lmod.py
index 474277f239..7239c487aa 100644
--- a/lib/spack/spack/test/modules/lmod.py
+++ b/lib/spack/spack/test/modules/lmod.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/modules/tcl.py b/lib/spack/spack/test/modules/tcl.py
index 70e3fc6c56..e5f2797e39 100644
--- a/lib/spack/spack/test/modules/tcl.py
+++ b/lib/spack/spack/test/modules/tcl.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/multimethod.py b/lib/spack/spack/test/multimethod.py
index 0e5bd5dad5..beb92bbb6d 100644
--- a/lib/spack/spack/test/multimethod.py
+++ b/lib/spack/spack/test/multimethod.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/namespace_trie.py b/lib/spack/spack/test/namespace_trie.py
index 2bf83c59f2..afe3af7386 100644
--- a/lib/spack/spack/test/namespace_trie.py
+++ b/lib/spack/spack/test/namespace_trie.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/operating_system.py b/lib/spack/spack/test/operating_system.py
index 97def3feda..c2fa52fa3e 100644
--- a/lib/spack/spack/test/operating_system.py
+++ b/lib/spack/spack/test/operating_system.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/optional_deps.py b/lib/spack/spack/test/optional_deps.py
index d9268e7e14..fe73a0ae8a 100644
--- a/lib/spack/spack/test/optional_deps.py
+++ b/lib/spack/spack/test/optional_deps.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/package_class.py b/lib/spack/spack/test/package_class.py
index 33e5eb1c0a..686c956186 100644
--- a/lib/spack/spack/test/package_class.py
+++ b/lib/spack/spack/test/package_class.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/package_hash.py b/lib/spack/spack/test/package_hash.py
index a8a160d96e..bcb1f6b804 100644
--- a/lib/spack/spack/test/package_hash.py
+++ b/lib/spack/spack/test/package_hash.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/package_sanity.py b/lib/spack/spack/test/package_sanity.py
index d50169a1a4..308706a5a7 100644
--- a/lib/spack/spack/test/package_sanity.py
+++ b/lib/spack/spack/test/package_sanity.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,7 +16,7 @@ import spack.util.executable as executable
import spack.variant
# A few functions from this module are used to
# do sanity checks only on packagess modified by a PR
-import spack.cmd.flake8 as flake8
+import spack.cmd.style as style
import spack.util.crypto as crypto
import pickle
@@ -73,7 +73,7 @@ def test_repo_getpkg_names_and_classes():
def test_get_all_mock_packages():
"""Get the mock packages once each too."""
db = spack.repo.RepoPath(spack.paths.mock_packages_path)
- with spack.repo.swap(db):
+ with spack.repo.use_repositories(db):
check_repo()
@@ -207,7 +207,7 @@ def test_prs_update_old_api():
deprecated calls to any method.
"""
changed_package_files = [
- x for x in flake8.changed_files() if flake8.is_package(x)
+ x for x in style.changed_files() if style.is_package(x)
]
failing = []
for file in changed_package_files:
diff --git a/lib/spack/spack/test/packages.py b/lib/spack/spack/test/packages.py
index ffaad396c1..c821d5b5c7 100644
--- a/lib/spack/spack/test/packages.py
+++ b/lib/spack/spack/test/packages.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/packaging.py b/lib/spack/spack/test/packaging.py
index 31ad3f1a7a..57446b6e2d 100644
--- a/lib/spack/spack/test/packaging.py
+++ b/lib/spack/spack/test/packaging.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/patch.py b/lib/spack/spack/test/patch.py
index 2dc781538a..84954874d9 100644
--- a/lib/spack/spack/test/patch.py
+++ b/lib/spack/spack/test/patch.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/pattern.py b/lib/spack/spack/test/pattern.py
index 582ece3d51..94f4e6d5f0 100644
--- a/lib/spack/spack/test/pattern.py
+++ b/lib/spack/spack/test/pattern.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/permissions.py b/lib/spack/spack/test/permissions.py
index 26974c8096..320ff2fdba 100644
--- a/lib/spack/spack/test/permissions.py
+++ b/lib/spack/spack/test/permissions.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/provider_index.py b/lib/spack/spack/test/provider_index.py
index 0855ac50ec..1f9f0a74e0 100644
--- a/lib/spack/spack/test/provider_index.py
+++ b/lib/spack/spack/test/provider_index.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/relocate.py b/lib/spack/spack/test/relocate.py
index afeb2162db..fb1ed4eb60 100644
--- a/lib/spack/spack/test/relocate.py
+++ b/lib/spack/spack/test/relocate.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/repo.py b/lib/spack/spack/test/repo.py
index d10349e6ec..df3015500d 100644
--- a/lib/spack/spack/test/repo.py
+++ b/lib/spack/spack/test/repo.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -67,3 +67,15 @@ def test_repo_invisibles(mutable_mock_repo, extra_repo):
with open(os.path.join(extra_repo.root, 'packages', '.invisible'), 'w'):
pass
extra_repo.all_package_names()
+
+
+@pytest.mark.parametrize('attr_name,exists', [
+ ('cmake', True),
+ ('__sphinx_mock__', False)
+])
+@pytest.mark.regression('20661')
+def test_namespace_hasattr(attr_name, exists, mutable_mock_repo):
+ # Check that we don't fail on 'hasattr' checks because
+ # of a custom __getattr__ implementation
+ nms = spack.repo.SpackNamespace('spack.pkg.builtin.mock')
+ assert hasattr(nms, attr_name) == exists
diff --git a/lib/spack/spack/test/s3_fetch.py b/lib/spack/spack/test/s3_fetch.py
index 70efad19ce..e339a1c173 100644
--- a/lib/spack/spack/test/s3_fetch.py
+++ b/lib/spack/spack/test/s3_fetch.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/sbang.py b/lib/spack/spack/test/sbang.py
index 9307d2bc4b..422ec3cdc0 100644
--- a/lib/spack/spack/test/sbang.py
+++ b/lib/spack/spack/test/sbang.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -44,7 +44,7 @@ sbang_line = '#!/bin/sh %s/bin/sbang\n' % spack.store.store.unpadded_root
last_line = "last!\n"
-@pytest.fixture
+@pytest.fixture # type: ignore[no-redef]
def sbang_line():
yield '#!/bin/sh %s/bin/sbang\n' % spack.store.layout.root
diff --git a/lib/spack/spack/test/schema.py b/lib/spack/spack/test/schema.py
index 14c9014d61..1b9694a8e8 100644
--- a/lib/spack/spack/test/schema.py
+++ b/lib/spack/spack/test/schema.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/spack_yaml.py b/lib/spack/spack/test/spack_yaml.py
index fb4abbf1d8..8e4fe3c9f4 100644
--- a/lib/spack/spack/test/spack_yaml.py
+++ b/lib/spack/spack/test/spack_yaml.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/spec_dag.py b/lib/spack/spack/test/spec_dag.py
index 2ac5bec4d9..efee120ae5 100644
--- a/lib/spack/spack/test/spec_dag.py
+++ b/lib/spack/spack/test/spec_dag.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -75,7 +75,7 @@ w->y deptypes are (link, build), w->x and y->z deptypes are (test)
y = mock_repo.add_package('y', [z], [test_only])
w = mock_repo.add_package('w', [x, y], [test_only, default])
- with spack.repo.swap(mock_repo):
+ with spack.repo.use_repositories(mock_repo):
spec = Spec('w')
spec.concretize(tests=(w.name,))
@@ -114,7 +114,7 @@ def test_installed_deps():
b = mock_repo.add_package('b', [d, e], [default, default])
mock_repo.add_package('a', [b, c], [default, default])
- with spack.repo.swap(mock_repo):
+ with spack.repo.use_repositories(mock_repo):
c_spec = Spec('c')
c_spec.concretize()
assert c_spec['d'].version == spack.version.Version('2')
@@ -143,7 +143,7 @@ def test_specify_preinstalled_dep():
b = mock_repo.add_package('b', [c], [default])
mock_repo.add_package('a', [b], [default])
- with spack.repo.swap(mock_repo):
+ with spack.repo.use_repositories(mock_repo):
b_spec = Spec('b')
b_spec.concretize()
for spec in b_spec.traverse():
@@ -186,7 +186,7 @@ def test_conditional_dep_with_user_constraints(spec_str, expr_str, expected):
}
mock_repo.add_package('x', [y], [default], conditions=x_on_y_conditions)
- with spack.repo.swap(mock_repo):
+ with spack.repo.use_repositories(mock_repo):
spec = Spec(spec_str)
spec.concretize()
diff --git a/lib/spack/spack/test/spec_list.py b/lib/spack/spack/test/spec_list.py
index 27567b4080..48796d0ad9 100644
--- a/lib/spack/spack/test/spec_list.py
+++ b/lib/spack/spack/test/spec_list.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/spec_semantics.py b/lib/spack/spack/test/spec_semantics.py
index b2161d4a0e..6aa3068da0 100644
--- a/lib/spack/spack/test/spec_semantics.py
+++ b/lib/spack/spack/test/spec_semantics.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/spec_syntax.py b/lib/spack/spack/test/spec_syntax.py
index b59828206f..a523dffca8 100644
--- a/lib/spack/spack/test/spec_syntax.py
+++ b/lib/spack/spack/test/spec_syntax.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/spec_yaml.py b/lib/spack/spack/test/spec_yaml.py
index 98fb1e68fe..74ebf0a541 100644
--- a/lib/spack/spack/test/spec_yaml.py
+++ b/lib/spack/spack/test/spec_yaml.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,8 +11,7 @@ YAML format preserves DAG information in the spec.
import ast
import inspect
import os
-
-from collections import Iterable, Mapping
+import sys
import pytest
@@ -29,6 +28,12 @@ from spack.util.spack_yaml import syaml_dict
from spack.util.mock_package import MockPackageMultiRepo
+if sys.version_info >= (3, 3):
+ from collections.abc import Iterable, Mapping # novm
+else:
+ from collections import Iterable, Mapping
+
+
def check_yaml_round_trip(spec):
yaml_text = spec.to_yaml()
spec_from_yaml = Spec.from_yaml(yaml_text)
@@ -125,8 +130,13 @@ def test_to_record_dict(mock_packages, config):
assert record[key] == value
+@pytest.mark.parametrize("hash_type", [
+ ht.dag_hash,
+ ht.build_hash,
+ ht.full_hash
+])
def test_ordered_read_not_required_for_consistent_dag_hash(
- config, mock_packages
+ hash_type, config, mock_packages
):
"""Make sure ordered serialization isn't required to preserve hashes.
@@ -143,15 +153,15 @@ def test_ordered_read_not_required_for_consistent_dag_hash(
#
# Dict & corresponding YAML & JSON from the original spec.
#
- spec_dict = spec.to_dict()
- spec_yaml = spec.to_yaml()
- spec_json = spec.to_json()
+ spec_dict = spec.to_dict(hash=hash_type)
+ spec_yaml = spec.to_yaml(hash=hash_type)
+ spec_json = spec.to_json(hash=hash_type)
#
# Make a spec with reversed OrderedDicts for every
# OrderedDict in the original.
#
- reversed_spec_dict = reverse_all_dicts(spec.to_dict())
+ reversed_spec_dict = reverse_all_dicts(spec.to_dict(hash=hash_type))
#
# Dump to YAML and JSON
@@ -185,11 +195,13 @@ def test_ordered_read_not_required_for_consistent_dag_hash(
reversed_json_string
)
- # TODO: remove this when build deps are in provenance.
- spec = spec.copy(deps=('link', 'run'))
+ # Strip spec if we stripped the yaml
+ spec = spec.copy(deps=hash_type.deptype)
+
# specs are equal to the original
assert spec == round_trip_yaml_spec
assert spec == round_trip_json_spec
+
assert spec == round_trip_reversed_yaml_spec
assert spec == round_trip_reversed_json_spec
assert round_trip_yaml_spec == round_trip_reversed_yaml_spec
@@ -199,16 +211,18 @@ def test_ordered_read_not_required_for_consistent_dag_hash(
assert spec.dag_hash() == round_trip_json_spec.dag_hash()
assert spec.dag_hash() == round_trip_reversed_yaml_spec.dag_hash()
assert spec.dag_hash() == round_trip_reversed_json_spec.dag_hash()
- # full_hashes are equal
- spec.concretize()
- round_trip_yaml_spec.concretize()
- round_trip_json_spec.concretize()
- round_trip_reversed_yaml_spec.concretize()
- round_trip_reversed_json_spec.concretize()
- assert spec.full_hash() == round_trip_yaml_spec.full_hash()
- assert spec.full_hash() == round_trip_json_spec.full_hash()
- assert spec.full_hash() == round_trip_reversed_yaml_spec.full_hash()
- assert spec.full_hash() == round_trip_reversed_json_spec.full_hash()
+
+ # full_hashes are equal if we round-tripped by build_hash or full_hash
+ if hash_type in (ht.build_hash, ht.full_hash):
+ spec.concretize()
+ round_trip_yaml_spec.concretize()
+ round_trip_json_spec.concretize()
+ round_trip_reversed_yaml_spec.concretize()
+ round_trip_reversed_json_spec.concretize()
+ assert spec.full_hash() == round_trip_yaml_spec.full_hash()
+ assert spec.full_hash() == round_trip_json_spec.full_hash()
+ assert spec.full_hash() == round_trip_reversed_yaml_spec.full_hash()
+ assert spec.full_hash() == round_trip_reversed_json_spec.full_hash()
@pytest.mark.parametrize("module", [
@@ -310,7 +324,7 @@ def test_save_dependency_spec_yamls_subset(tmpdir, config):
b = mock_repo.add_package('b', [d, e], [default, default])
mock_repo.add_package('a', [b, c], [default, default])
- with repo.swap(mock_repo):
+ with repo.use_repositories(mock_repo):
spec_a = Spec('a')
spec_a.concretize()
b_spec = spec_a['b']
diff --git a/lib/spack/spack/test/stage.py b/lib/spack/spack/test/stage.py
index 9dea091730..3e3ceeaaa0 100644
--- a/lib/spack/spack/test/stage.py
+++ b/lib/spack/spack/test/stage.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/svn_fetch.py b/lib/spack/spack/test/svn_fetch.py
index f435b07db2..87e9779ca9 100644
--- a/lib/spack/spack/test/svn_fetch.py
+++ b/lib/spack/spack/test/svn_fetch.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/tengine.py b/lib/spack/spack/test/tengine.py
index 01f2d65780..00216a7fdc 100644
--- a/lib/spack/spack/test/tengine.py
+++ b/lib/spack/spack/test/tengine.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/test_activations.py b/lib/spack/spack/test/test_activations.py
index d1780b8963..a05032d5a2 100644
--- a/lib/spack/spack/test/test_activations.py
+++ b/lib/spack/spack/test/test_activations.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -54,7 +54,7 @@ def builtin_and_mock_packages():
repo_dirs = [spack.paths.packages_path, spack.paths.mock_packages_path]
path = RepoPath(*repo_dirs)
- with spack.repo.swap(path):
+ with spack.repo.use_repositories(path):
yield
diff --git a/lib/spack/spack/test/test_suite.py b/lib/spack/spack/test/test_suite.py
index 1ec5106182..50c5989a3d 100644
--- a/lib/spack/spack/test/test_suite.py
+++ b/lib/spack/spack/test/test_suite.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/url_fetch.py b/lib/spack/spack/test/url_fetch.py
index 28b6c87385..9804e4eb72 100644
--- a/lib/spack/spack/test/url_fetch.py
+++ b/lib/spack/spack/test/url_fetch.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/url_parse.py b/lib/spack/spack/test/url_parse.py
index 846e24d242..332c988fca 100644
--- a/lib/spack/spack/test/url_parse.py
+++ b/lib/spack/spack/test/url_parse.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/url_substitution.py b/lib/spack/spack/test/url_substitution.py
index 08a3b99a4a..8fbfd48714 100644
--- a/lib/spack/spack/test/url_substitution.py
+++ b/lib/spack/spack/test/url_substitution.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/util/__init__.py b/lib/spack/spack/test/util/__init__.py
index 9f87532b85..103eae6134 100644
--- a/lib/spack/spack/test/util/__init__.py
+++ b/lib/spack/spack/test/util/__init__.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/util/editor.py b/lib/spack/spack/test/util/editor.py
index e1495a70cc..aa85323212 100644
--- a/lib/spack/spack/test/util/editor.py
+++ b/lib/spack/spack/test/util/editor.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/util/environment.py b/lib/spack/spack/test/util/environment.py
index a555c35c9c..b7b6a0edea 100644
--- a/lib/spack/spack/test/util/environment.py
+++ b/lib/spack/spack/test/util/environment.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/util/executable.py b/lib/spack/spack/test/util/executable.py
index ae2859ea4b..9bfa9a408a 100644
--- a/lib/spack/spack/test/util/executable.py
+++ b/lib/spack/spack/test/util/executable.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/util/file_cache.py b/lib/spack/spack/test/util/file_cache.py
index 0fec1a5dc9..c033ca49d9 100644
--- a/lib/spack/spack/test/util/file_cache.py
+++ b/lib/spack/spack/test/util/file_cache.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/util/log_parser.py b/lib/spack/spack/test/util/log_parser.py
index 0f829082b6..911226f381 100644
--- a/lib/spack/spack/test/util/log_parser.py
+++ b/lib/spack/spack/test/util/log_parser.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/util/mock_package.py b/lib/spack/spack/test/util/mock_package.py
index 376ac581bd..2609d849db 100644
--- a/lib/spack/spack/test/util/mock_package.py
+++ b/lib/spack/spack/test/util/mock_package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,7 +15,7 @@ def test_mock_package_possible_dependencies():
b = mock_repo.add_package('b', [d])
a = mock_repo.add_package('a', [b, c])
- with spack.repo.swap(mock_repo):
+ with spack.repo.use_repositories(mock_repo):
assert set(a.possible_dependencies()) == set(['a', 'b', 'c', 'd', 'e'])
assert set(b.possible_dependencies()) == set(['b', 'd', 'e'])
assert set(c.possible_dependencies()) == set(['c', 'd', 'e'])
diff --git a/lib/spack/spack/test/util/prefix.py b/lib/spack/spack/test/util/prefix.py
index cee3ad028b..d7724f616e 100644
--- a/lib/spack/spack/test/util/prefix.py
+++ b/lib/spack/spack/test/util/prefix.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/util/spack_lock_wrapper.py b/lib/spack/spack/test/util/spack_lock_wrapper.py
index d7819c84cb..73a2e41eb0 100644
--- a/lib/spack/spack/test/util/spack_lock_wrapper.py
+++ b/lib/spack/spack/test/util/spack_lock_wrapper.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/util/spack_yaml.py b/lib/spack/spack/test/util/spack_yaml.py
index 23e02d7be6..530226ad8d 100644
--- a/lib/spack/spack/test/util/spack_yaml.py
+++ b/lib/spack/spack/test/util/spack_yaml.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/util/util_gpg.py b/lib/spack/spack/test/util/util_gpg.py
index 83fad508f9..b8adbc537d 100644
--- a/lib/spack/spack/test/util/util_gpg.py
+++ b/lib/spack/spack/test/util/util_gpg.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/util/util_string.py b/lib/spack/spack/test/util/util_string.py
index bcaa7d6211..7c68895be2 100644
--- a/lib/spack/spack/test/util/util_string.py
+++ b/lib/spack/spack/test/util/util_string.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/util/util_url.py b/lib/spack/spack/test/util/util_url.py
index 5d0d9fa4eb..07a055c572 100644
--- a/lib/spack/spack/test/util/util_url.py
+++ b/lib/spack/spack/test/util/util_url.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/variant.py b/lib/spack/spack/test/variant.py
index 10e8ea7e7f..501d897321 100644
--- a/lib/spack/spack/test/variant.py
+++ b/lib/spack/spack/test/variant.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/verification.py b/lib/spack/spack/test/verification.py
index 009f407186..cbeba8f635 100644
--- a/lib/spack/spack/test/verification.py
+++ b/lib/spack/spack/test/verification.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/versions.py b/lib/spack/spack/test/versions.py
index 315788f7f3..ce222c5ea2 100644
--- a/lib/spack/spack/test/versions.py
+++ b/lib/spack/spack/test/versions.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/views.py b/lib/spack/spack/test/views.py
index e1dcec4c5c..18fd88b093 100644
--- a/lib/spack/spack/test/views.py
+++ b/lib/spack/spack/test/views.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/test/web.py b/lib/spack/spack/test/web.py
index 472ab0dab7..4d80507c52 100644
--- a/lib/spack/spack/test/web.py
+++ b/lib/spack/spack/test/web.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -6,10 +6,14 @@ import os
import ordereddict_backport
import pytest
+import spack.config
import spack.paths
import spack.util.web
+import spack.util.s3
from spack.version import ver
+import llnl.util.tty as tty
+
def _create_url(relative_url):
web_data_path = os.path.join(spack.paths.test_path, 'data', 'web')
@@ -195,3 +199,58 @@ def test_list_url(tmpdir):
'file-0.txt',
'file-1.txt',
'file-2.txt']
+
+
+class MockPages(object):
+ def search(self, *args, **kwargs):
+ return [
+ {'Key': 'keyone'},
+ {'Key': 'keytwo'},
+ {'Key': 'keythree'},
+ ]
+
+
+class MockPaginator(object):
+ def paginate(self, *args, **kwargs):
+ return MockPages()
+
+
+class MockS3Client(object):
+ def get_paginator(self, *args, **kwargs):
+ return MockPaginator()
+
+ def delete_objects(self, *args, **kwargs):
+ return {
+ 'Errors': [
+ {'Key': 'keyone', 'Message': 'Access Denied'}
+ ],
+ 'Deleted': [
+ {'Key': 'keytwo'},
+ {'Key': 'keythree'}
+ ],
+ }
+
+ def delete_object(self, *args, **kwargs):
+ pass
+
+
+def test_remove_s3_url(monkeypatch, capfd):
+ fake_s3_url = 's3://my-bucket/subdirectory/mirror'
+
+ def mock_create_s3_session(url):
+ return MockS3Client()
+
+ monkeypatch.setattr(
+ spack.util.s3, 'create_s3_session', mock_create_s3_session)
+
+ current_debug_level = tty.debug_level()
+ tty.set_debug(1)
+
+ spack.util.web.remove_url(fake_s3_url, recursive=True)
+ err = capfd.readouterr()[1]
+
+ tty.set_debug(current_debug_level)
+
+ assert('Failed to delete keyone (Access Denied)' in err)
+ assert('Deleted keythree' in err)
+ assert('Deleted keytwo' in err)
diff --git a/lib/spack/spack/url.py b/lib/spack/spack/url.py
index aa40524ae8..1fc0f2f522 100644
--- a/lib/spack/spack/url.py
+++ b/lib/spack/spack/url.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -56,8 +56,12 @@ def find_list_urls(url):
GitLab https://gitlab.\*/<repo>/<name>/tags
BitBucket https://bitbucket.org/<repo>/<name>/downloads/?tab=tags
CRAN https://\*.r-project.org/src/contrib/Archive/<name>
+ PyPI https://pypi.org/simple/<name>/
========= =======================================================
+ Note: this function is called by `spack versions`, `spack checksum`,
+ and `spack create`, but not by `spack fetch` or `spack install`.
+
Parameters:
url (str): The download URL for the package
@@ -91,6 +95,16 @@ def find_list_urls(url):
# e.g. https://cloud.r-project.org/src/contrib/rgl_0.98.1.tar.gz
(r'(.*\.r-project\.org/src/contrib)/([^_]+)',
lambda m: m.group(1) + '/Archive/' + m.group(2)),
+
+ # PyPI
+ # e.g. https://pypi.io/packages/source/n/numpy/numpy-1.19.4.zip
+ # e.g. https://www.pypi.io/packages/source/n/numpy/numpy-1.19.4.zip
+ # e.g. https://pypi.org/packages/source/n/numpy/numpy-1.19.4.zip
+ # e.g. https://pypi.python.org/packages/source/n/numpy/numpy-1.19.4.zip
+ # e.g. https://files.pythonhosted.org/packages/source/n/numpy/numpy-1.19.4.zip
+ # e.g. https://pypi.io/packages/py2.py3/o/opencensus-context/opencensus_context-0.1.1-py2.py3-none-any.whl
+ (r'(?:pypi|pythonhosted)[^/]+/packages/[^/]+/./([^/]+)',
+ lambda m: 'https://pypi.org/simple/' + m.group(1) + '/'),
]
list_urls = set([os.path.dirname(url)])
diff --git a/lib/spack/spack/user_environment.py b/lib/spack/spack/user_environment.py
index f08f21e0ec..f111aaedc3 100644
--- a/lib/spack/spack/user_environment.py
+++ b/lib/spack/spack/user_environment.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/util/__init__.py b/lib/spack/spack/util/__init__.py
index 9f87532b85..103eae6134 100644
--- a/lib/spack/spack/util/__init__.py
+++ b/lib/spack/spack/util/__init__.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/util/compression.py b/lib/spack/spack/util/compression.py
index ebbe0519d0..2f190e94e1 100644
--- a/lib/spack/spack/util/compression.py
+++ b/lib/spack/spack/util/compression.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/util/crypto.py b/lib/spack/spack/util/crypto.py
index 7e264ff0c7..809b36ffea 100644
--- a/lib/spack/spack/util/crypto.py
+++ b/lib/spack/spack/util/crypto.py
@@ -1,14 +1,14 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
import sys
import hashlib
+from typing import Dict, Callable, Any # novm
import llnl.util.tty as tty
-
#: Set of hash algorithms that Spack can use, mapped to digest size in bytes
hashes = {
'md5': 16,
@@ -30,7 +30,7 @@ _deprecated_hash_algorithms = ['md5']
#: cache of hash functions generated
-_hash_functions = {}
+_hash_functions = {} # type: Dict[str, Callable[[], Any]]
class DeprecatedHash(object):
diff --git a/lib/spack/spack/util/debug.py b/lib/spack/spack/util/debug.py
index 1ff74f24cf..290ad832f8 100644
--- a/lib/spack/spack/util/debug.py
+++ b/lib/spack/spack/util/debug.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/util/editor.py b/lib/spack/spack/util/editor.py
index 00a095252e..9b0081b19a 100644
--- a/lib/spack/spack/util/editor.py
+++ b/lib/spack/spack/util/editor.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/util/environment.py b/lib/spack/spack/util/environment.py
index b370053c3c..a9b3529869 100644
--- a/lib/spack/spack/util/environment.py
+++ b/lib/spack/spack/util/environment.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/util/executable.py b/lib/spack/spack/util/executable.py
index 614bc1725a..d536f91612 100644
--- a/lib/spack/spack/util/executable.py
+++ b/lib/spack/spack/util/executable.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/util/file_cache.py b/lib/spack/spack/util/file_cache.py
index 9342f9772b..670b2ed698 100644
--- a/lib/spack/spack/util/file_cache.py
+++ b/lib/spack/spack/util/file_cache.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/util/file_permissions.py b/lib/spack/spack/util/file_permissions.py
index b133d2569e..7ed974816e 100644
--- a/lib/spack/spack/util/file_permissions.py
+++ b/lib/spack/spack/util/file_permissions.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/util/gpg.py b/lib/spack/spack/util/gpg.py
index eaa199e417..aa376bc041 100644
--- a/lib/spack/spack/util/gpg.py
+++ b/lib/spack/spack/util/gpg.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -115,7 +115,7 @@ if not cached_property:
return result
-class GpgConstants(object):
+class _GpgConstants(object):
@cached_property
def target_version(self):
return spack.version.Version('2')
@@ -244,7 +244,7 @@ class GpgConstants(object):
pass
-GpgConstants = GpgConstants()
+GpgConstants = _GpgConstants()
def ensure_gpg(reevaluate=False):
@@ -382,7 +382,7 @@ def gpg(*args, **kwargs):
return get_global_gpg_instance()(*args, **kwargs)
-gpg.name = 'gpg'
+gpg.name = 'gpg' # type: ignore[attr-defined]
@functools.wraps(Gpg.create)
diff --git a/lib/spack/spack/util/imp/__init__.py b/lib/spack/spack/util/imp/__init__.py
index 27e2b00f9f..975b9a49a7 100644
--- a/lib/spack/spack/util/imp/__init__.py
+++ b/lib/spack/spack/util/imp/__init__.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/util/imp/imp_importer.py b/lib/spack/spack/util/imp/imp_importer.py
index 810e1d01a3..a9b5cd641a 100644
--- a/lib/spack/spack/util/imp/imp_importer.py
+++ b/lib/spack/spack/util/imp/imp_importer.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/util/imp/importlib_importer.py b/lib/spack/spack/util/imp/importlib_importer.py
index c230f4c50a..4c8a2673e5 100644
--- a/lib/spack/spack/util/imp/importlib_importer.py
+++ b/lib/spack/spack/util/imp/importlib_importer.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/util/lock.py b/lib/spack/spack/util/lock.py
index b748aa056a..2f465f590a 100644
--- a/lib/spack/spack/util/lock.py
+++ b/lib/spack/spack/util/lock.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,7 +15,7 @@ import spack.error
import spack.paths
-class Lock(llnl.util.lock.Lock):
+class Lock(llnl.util.lock.Lock): # type: ignore[no-redef]
"""Lock that can be disabled.
This overrides the ``_lock()`` and ``_unlock()`` methods from
diff --git a/lib/spack/spack/util/log_parse.py b/lib/spack/spack/util/log_parse.py
index 4b01c18c91..7973bfd6b0 100644
--- a/lib/spack/spack/util/log_parse.py
+++ b/lib/spack/spack/util/log_parse.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -43,7 +43,7 @@ def parse_log_events(stream, context=6, jobs=None, profile=False):
#: lazily constructed CTest log parser
-parse_log_events.ctest_parser = None
+parse_log_events.ctest_parser = None # type: ignore[attr-defined]
def _wrap(text, width):
@@ -107,7 +107,7 @@ def make_log_context(log_events, width=None):
for i in range(start, event.end):
# wrap to width
lines = _wrap(event[i], wrap_width)
- lines[1:] = [indent + l for l in lines[1:]]
+ lines[1:] = [indent + ln for ln in lines[1:]]
wrapped_line = line_fmt % (i, '\n'.join(lines))
if i in error_lines:
diff --git a/lib/spack/spack/util/mock_package.py b/lib/spack/spack/util/mock_package.py
index 5286b50464..0b5e681f26 100644
--- a/lib/spack/spack/util/mock_package.py
+++ b/lib/spack/spack/util/mock_package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,6 +8,7 @@
import ordereddict_backport
import spack.util.naming
+import spack.provider_index
from spack.dependency import Dependency
from spack.spec import Spec
from spack.version import Version
@@ -80,6 +81,8 @@ class MockPackageMultiRepo(object):
def __init__(self):
self.spec_to_pkg = {}
+ self.namespace = ''
+ self.full_namespace = 'spack.pkg.mock'
def get(self, spec):
if not isinstance(spec, spack.spec.Spec):
@@ -171,3 +174,7 @@ class MockPackageMultiRepo(object):
self.spec_to_pkg["mockrepo." + name] = mock_package
return mock_package
+
+ @property
+ def provider_index(self):
+ return spack.provider_index.ProviderIndex()
diff --git a/lib/spack/spack/util/module_cmd.py b/lib/spack/spack/util/module_cmd.py
index bc994fd4b4..babac6543a 100644
--- a/lib/spack/spack/util/module_cmd.py
+++ b/lib/spack/spack/util/module_cmd.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/util/naming.py b/lib/spack/spack/util/naming.py
index 1cc6d6109f..db5d1d4907 100644
--- a/lib/spack/spack/util/naming.py
+++ b/lib/spack/spack/util/naming.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/util/package_hash.py b/lib/spack/spack/util/package_hash.py
index adea1a498b..462f43d223 100644
--- a/lib/spack/spack/util/package_hash.py
+++ b/lib/spack/spack/util/package_hash.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/util/path.py b/lib/spack/spack/util/path.py
index 182f93c585..5e717cbb93 100644
--- a/lib/spack/spack/util/path.py
+++ b/lib/spack/spack/util/path.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/util/pattern.py b/lib/spack/spack/util/pattern.py
index fcbb4e6baa..fc4b324b17 100644
--- a/lib/spack/spack/util/pattern.py
+++ b/lib/spack/spack/util/pattern.py
@@ -1,11 +1,17 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
import inspect
-import collections
import functools
+import sys
+
+
+if sys.version_info >= (3, 3):
+ from collections.abc import MutableSequence # novm
+else:
+ from collections import MutableSequence
class Delegate(object):
@@ -52,7 +58,7 @@ def composite(interface=None, method_list=None, container=list):
# exception if it doesn't. The patched class returned by the decorator will
# inherit from the container class to expose the interface needed to manage
# objects composition
- if not issubclass(container, collections.MutableSequence):
+ if not issubclass(container, MutableSequence):
raise TypeError("Container must fulfill the MutableSequence contract")
# Check if at least one of the 'interface' or the 'method_list' arguments
diff --git a/lib/spack/spack/util/prefix.py b/lib/spack/spack/util/prefix.py
index 10ec50d30c..b4542c7eb0 100644
--- a/lib/spack/spack/util/prefix.py
+++ b/lib/spack/spack/util/prefix.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/util/s3.py b/lib/spack/spack/util/s3.py
index c9ed22f72c..a82aca10c1 100644
--- a/lib/spack/spack/util/s3.py
+++ b/lib/spack/spack/util/s3.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/util/spack_json.py b/lib/spack/spack/util/spack_json.py
index 01f773058b..62fd9ca824 100644
--- a/lib/spack/spack/util/spack_json.py
+++ b/lib/spack/spack/util/spack_json.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -38,10 +38,14 @@ def dump(data, stream=None):
def _strify(data, ignore_dicts=False):
+ """Converts python 2 unicodes to str in JSON data."""
+ # this is a no-op in python 3
+ if sys.version_info[0] >= 3:
+ return data
+
# if this is a unicode string in python 2, return its string representation
- if sys.version_info[0] < 3:
- if isinstance(data, string_types):
- return data.encode('utf-8')
+ if isinstance(data, string_types):
+ return data.encode('utf-8')
# if this is a list of values, return list of byteified values
if isinstance(data, list):
diff --git a/lib/spack/spack/util/spack_yaml.py b/lib/spack/spack/util/spack_yaml.py
index 40e66ee62c..e27c48860b 100644
--- a/lib/spack/spack/util/spack_yaml.py
+++ b/lib/spack/spack/util/spack_yaml.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,8 @@
"""
import ctypes
-import collections
+import sys
+from typing import List # novm
from ordereddict_backport import OrderedDict
from six import string_types, StringIO
@@ -25,6 +26,13 @@ from llnl.util.tty.color import colorize, clen, cextra
import spack.error
+
+if sys.version_info >= (3, 3):
+ from collections.abc import Mapping # novm
+else:
+ from collections import Mapping
+
+
# Only export load and dump
__all__ = ['load', 'dump', 'SpackYAMLError']
@@ -219,7 +227,7 @@ def file_line(mark):
#: This is nasty but YAML doesn't give us many ways to pass arguments --
#: yaml.dump() takes a class (not an instance) and instantiates the dumper
#: itself, so we can't just pass an instance
-_annotations = []
+_annotations = [] # type: List[str]
class LineAnnotationDumper(OrderedLineDumper):
@@ -343,7 +351,7 @@ def sorted_dict(dict_like):
"""
result = syaml_dict(sorted(dict_like.items()))
for key, value in result.items():
- if isinstance(value, collections.Mapping):
+ if isinstance(value, Mapping):
result[key] = sorted_dict(value)
return result
diff --git a/lib/spack/spack/util/string.py b/lib/spack/spack/util/string.py
index 7284cef2d3..6137c32d5a 100644
--- a/lib/spack/spack/util/string.py
+++ b/lib/spack/spack/util/string.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/util/url.py b/lib/spack/spack/util/url.py
index ab5503229f..f8abf4fa96 100644
--- a/lib/spack/spack/util/url.py
+++ b/lib/spack/spack/util/url.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/util/web.py b/lib/spack/spack/util/web.py
index 1b415f5de2..1dac12faca 100644
--- a/lib/spack/spack/util/web.py
+++ b/lib/spack/spack/util/web.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -20,10 +20,10 @@ import six
from six.moves.urllib.error import URLError
from six.moves.urllib.request import urlopen, Request
-try:
+if sys.version_info < (3, 0):
# Python 2 had these in the HTMLParser package.
from HTMLParser import HTMLParser, HTMLParseError # novm
-except ImportError:
+else:
# In Python 3, things moved to html.parser
from html.parser import HTMLParser
@@ -229,17 +229,57 @@ def url_exists(url):
return False
-def remove_url(url):
+def _debug_print_delete_results(result):
+ if 'Deleted' in result:
+ for d in result['Deleted']:
+ tty.debug('Deleted {0}'.format(d['Key']))
+ if 'Errors' in result:
+ for e in result['Errors']:
+ tty.debug('Failed to delete {0} ({1})'.format(
+ e['Key'], e['Message']))
+
+
+def remove_url(url, recursive=False):
url = url_util.parse(url)
local_path = url_util.local_file_path(url)
if local_path:
- os.remove(local_path)
+ if recursive:
+ shutil.rmtree(local_path)
+ else:
+ os.remove(local_path)
return
if url.scheme == 's3':
s3 = s3_util.create_s3_session(url)
- s3.delete_object(Bucket=url.netloc, Key=url.path)
+ bucket = url.netloc
+ if recursive:
+ # Because list_objects_v2 can only return up to 1000 items
+ # at a time, we have to paginate to make sure we get it all
+ prefix = url.path.strip('/')
+ paginator = s3.get_paginator('list_objects_v2')
+ pages = paginator.paginate(Bucket=bucket, Prefix=prefix)
+
+ delete_request = {'Objects': []}
+ for item in pages.search('Contents'):
+ if not item:
+ continue
+
+ delete_request['Objects'].append({'Key': item['Key']})
+
+ # Make sure we do not try to hit S3 with a list of more
+ # than 1000 items
+ if len(delete_request['Objects']) >= 1000:
+ r = s3.delete_objects(Bucket=bucket, Delete=delete_request)
+ _debug_print_delete_results(r)
+ delete_request = {'Objects': []}
+
+ # Delete any items that remain
+ if len(delete_request['Objects']):
+ r = s3.delete_objects(Bucket=bucket, Delete=delete_request)
+ _debug_print_delete_results(r)
+ else:
+ s3.delete_object(Bucket=bucket, Key=url.path)
return
# Don't even try for other URL schemes.
@@ -549,7 +589,10 @@ def find_versions_of_archive(
# .sha256
# .sig
# However, SourceForge downloads still need to end in '/download'.
- url_regex += r'(\/download)?$'
+ url_regex += r'(\/download)?'
+ # PyPI adds #sha256=... to the end of the URL
+ url_regex += '(#sha256=.*)?'
+ url_regex += '$'
regexes.append(url_regex)
diff --git a/lib/spack/spack/variant.py b/lib/spack/spack/variant.py
index 8fa52f9738..51918af737 100644
--- a/lib/spack/spack/variant.py
+++ b/lib/spack/spack/variant.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,6 +12,12 @@ import inspect
import itertools
import re
from six import StringIO
+import sys
+
+if sys.version_info >= (3, 5):
+ from collections.abc import Sequence # novm
+else:
+ from collections import Sequence
import llnl.util.tty.color
import llnl.util.lang as lang
@@ -20,11 +26,6 @@ from spack.util.string import comma_or
import spack.directives
import spack.error as error
-try:
- from collections.abc import Sequence # novm
-except ImportError:
- from collections import Sequence
-
special_variant_values = [None, 'none', '*']
diff --git a/lib/spack/spack/verify.py b/lib/spack/spack/verify.py
index 528fa7903b..b8d76e03e2 100644
--- a/lib/spack/spack/verify.py
+++ b/lib/spack/spack/verify.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/lib/spack/spack/version.py b/lib/spack/spack/version.py
index 44e03edb5c..321a03efc7 100644
--- a/lib/spack/spack/version.py
+++ b/lib/spack/spack/version.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -37,7 +37,10 @@ from spack.util.spack_yaml import syaml_dict
__all__ = ['Version', 'VersionRange', 'VersionList', 'ver']
# Valid version characters
-VALID_VERSION = r'[A-Za-z0-9_.-]'
+VALID_VERSION = re.compile(r'[A-Za-z0-9_.-]')
+
+# regex for version segments
+SEGMENT_REGEX = re.compile(r'[a-zA-Z]+|[0-9]+')
# Infinity-like versions. The order in the list implies the comparison rules
infinity_versions = ['develop', 'main', 'master', 'head', 'trunk']
@@ -97,9 +100,10 @@ class Version(object):
"""Class to represent versions"""
def __init__(self, string):
- string = str(string)
+ if not isinstance(string, str):
+ string = str(string)
- if not re.match(VALID_VERSION, string):
+ if not VALID_VERSION.match(string):
raise ValueError("Bad characters in version string: %s" % string)
# preserve the original string, but trimmed.
@@ -107,12 +111,11 @@ class Version(object):
self.string = string
# Split version into alphabetical and numeric segments
- segment_regex = r'[a-zA-Z]+|[0-9]+'
- segments = re.findall(segment_regex, string)
+ segments = SEGMENT_REGEX.findall(string)
self.version = tuple(int_if_int(seg) for seg in segments)
# Store the separators from the original version string as well.
- self.separators = tuple(re.split(segment_regex, string)[1:])
+ self.separators = tuple(SEGMENT_REGEX.split(string)[1:])
@property
def dotted(self):
diff --git a/share/spack/bash/spack-completion.in b/share/spack/bash/spack-completion.in
index 80ba94ed87..bda2731ed5 100755
--- a/share/spack/bash/spack-completion.in
+++ b/share/spack/bash/spack-completion.in
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -37,6 +37,17 @@
#
# See `man bash` for more details.
+if test -n "${ZSH_VERSION:-}" ; then
+ if [[ "$(emulate)" = zsh ]] ; then
+ # ensure base completion support is enabled, ignore insecure directories
+ autoload -U +X compinit && compinit -i
+ # ensure bash compatible completion support is enabled
+ autoload -U +X bashcompinit && bashcompinit
+ emulate sh -c "source '$0:A'"
+ return # stop interpreting file
+ fi
+fi
+
# Bash programmable completion for Spack
_bash_completion_spack() {
# In all following examples, let the cursor be denoted by brackets, i.e. []
@@ -117,7 +128,9 @@ _bash_completion_spack() {
#_test_vars >> temp
# Make sure function exists before calling it
- if [[ "$(type -t $subfunction)" == "function" ]]
+ local rgx #this dance is necessary to cover bash and zsh regex
+ rgx="$subfunction.*function.* "
+ if [[ "$(type $subfunction 2>&1)" =~ $rgx ]]
then
$subfunction
COMPREPLY=($(compgen -W "$SPACK_COMPREPLY" -- "$cur"))
diff --git a/share/spack/csh/pathadd.csh b/share/spack/csh/pathadd.csh
index 0f8a04ba62..ec394e8990 100644
--- a/share/spack/csh/pathadd.csh
+++ b/share/spack/csh/pathadd.csh
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/share/spack/csh/spack.csh b/share/spack/csh/spack.csh
index ce3308067e..7b6bcbf929 100644
--- a/share/spack/csh/spack.csh
+++ b/share/spack/csh/spack.csh
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/share/spack/docker/amazonlinux-2.dockerfile b/share/spack/docker/amazonlinux-2.dockerfile
new file mode 100644
index 0000000000..70a99388a2
--- /dev/null
+++ b/share/spack/docker/amazonlinux-2.dockerfile
@@ -0,0 +1,70 @@
+FROM public.ecr.aws/amazonlinux/amazonlinux:2.0.20201111.0
+MAINTAINER Spack Maintainers <maintainers@spack.io>
+
+ENV DOCKERFILE_BASE=centos \
+ DOCKERFILE_DISTRO=centos \
+ DOCKERFILE_DISTRO_VERSION=7 \
+ SPACK_ROOT=/opt/spack \
+ DEBIAN_FRONTEND=noninteractive \
+ CURRENTLY_BUILDING_DOCKER_IMAGE=1 \
+ container=docker
+
+RUN yum update -y \
+ && yum groupinstall -y "Development Tools" \
+ && yum install -y \
+ curl \
+ findutils \
+ gcc-c++ \
+ gcc \
+ gcc-gfortran \
+ git \
+ gnupg2 \
+ hostname \
+ iproute \
+ Lmod \
+ make \
+ patch \
+ python \
+ python-pip \
+ python-setuptools \
+ tcl \
+ unzip \
+ which \
+ && pip install boto3 \
+ && rm -rf /var/cache/yum \
+ && yum clean all
+
+COPY bin $SPACK_ROOT/bin
+COPY etc $SPACK_ROOT/etc
+COPY lib $SPACK_ROOT/lib
+COPY share $SPACK_ROOT/share
+COPY var $SPACK_ROOT/var
+RUN mkdir -p $SPACK_ROOT/opt/spack
+
+RUN ln -s $SPACK_ROOT/share/spack/docker/entrypoint.bash \
+ /usr/local/bin/docker-shell \
+ && ln -s $SPACK_ROOT/share/spack/docker/entrypoint.bash \
+ /usr/local/bin/interactive-shell \
+ && ln -s $SPACK_ROOT/share/spack/docker/entrypoint.bash \
+ /usr/local/bin/spack-env
+
+RUN mkdir -p /root/.spack \
+ && cp $SPACK_ROOT/share/spack/docker/modules.yaml \
+ /root/.spack/modules.yaml \
+ && rm -rf /root/*.* /run/nologin $SPACK_ROOT/.git
+
+# [WORKAROUND]
+# https://superuser.com/questions/1241548/
+# xubuntu-16-04-ttyname-failed-inappropriate-ioctl-for-device#1253889
+RUN [ -f ~/.profile ] \
+ && sed -i 's/mesg n/( tty -s \\&\\& mesg n || true )/g' ~/.profile \
+ || true
+
+WORKDIR /root
+SHELL ["docker-shell"]
+
+# TODO: add a command to Spack that (re)creates the package cache
+RUN spack spec hdf5+mpi
+
+ENTRYPOINT ["/bin/bash", "/opt/spack/share/spack/docker/entrypoint.bash"]
+CMD ["interactive-shell"]
diff --git a/share/spack/docker/entrypoint.bash b/share/spack/docker/entrypoint.bash
index fbd7baf2bc..bc240cd57a 100755
--- a/share/spack/docker/entrypoint.bash
+++ b/share/spack/docker/entrypoint.bash
@@ -1,6 +1,6 @@
#! /usr/bin/env bash
#
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/share/spack/docker/leap-15.dockerfile b/share/spack/docker/leap-15.dockerfile
new file mode 100644
index 0000000000..1da72615ad
--- /dev/null
+++ b/share/spack/docker/leap-15.dockerfile
@@ -0,0 +1,61 @@
+FROM opensuse/leap:15.2
+MAINTAINER Christian Goll <cgoll@suse.com>
+
+ENV DOCKERFILE_BASE=opensuse \
+ DOCKERFILE_DISTRO=opensuse_leap \
+ DOCKERFILE_DISTRO_VERSION=15.2 \
+ SPACK_ROOT=/opt/spack \
+ DEBIAN_FRONTEND=noninteractive \
+ CURRENTLY_BUILDING_DOCKER_IMAGE=1 \
+ container=docker
+
+RUN zypper ref && \
+ zypper up -y && \
+ zypper in -y python3-base python3-boto3\
+ xz gzip tar bzip2 curl patch \
+ gcc-c++ gcc-fortran make cmake automake &&\
+ zypper clean
+
+# clean up manpages
+RUN rm -rf /var/cache/zypp/* \
+ rm -rf /usr/share/doc/packages/* \
+ rm -rf /usr/share/doc/manual/*
+
+# copy spack into container
+COPY bin $SPACK_ROOT/bin
+COPY etc $SPACK_ROOT/etc
+COPY lib $SPACK_ROOT/lib
+COPY share $SPACK_ROOT/share
+COPY var $SPACK_ROOT/var
+RUN mkdir -p $SPACK_ROOT/opt/spack
+
+RUN ln -s $SPACK_ROOT/share/spack/docker/entrypoint.bash \
+ /usr/local/bin/docker-shell \
+ && ln -s $SPACK_ROOT/share/spack/docker/entrypoint.bash \
+ /usr/local/bin/interactive-shell \
+ && ln -s $SPACK_ROOT/share/spack/docker/entrypoint.bash \
+ /usr/local/bin/spack-env
+
+RUN mkdir -p /root/.spack \
+ && cp $SPACK_ROOT/share/spack/docker/modules.yaml \
+ /root/.spack/modules.yaml \
+ && rm -rf /root/*.* /run/nologin $SPACK_ROOT/.git
+
+# [WORKAROUND]
+# https://superuser.com/questions/1241548/
+# xubuntu-16-04-ttyname-failed-inappropriate-ioctl-for-device#1253889
+RUN [ -f ~/.profile ] \
+ && sed -i 's/mesg n/( tty -s \\&\\& mesg n || true )/g' ~/.profile \
+ || true
+
+WORKDIR /root
+SHELL ["docker-shell"]
+
+# Find tools which are in distro
+RUN ${SPACK_ROOT}/bin/spack external find --scope system
+
+# TODO: add a command to Spack that (re)creates the package cache
+RUN ${SPACK_ROOT}/bin/spack spec hdf5+mpi
+
+ENTRYPOINT ["/bin/bash", "/opt/spack/share/spack/docker/entrypoint.bash"]
+CMD ["interactive-shell"]
diff --git a/share/spack/docker/package-index/split.sh b/share/spack/docker/package-index/split.sh
index c82d8045f6..a44b96dbc5 100755
--- a/share/spack/docker/package-index/split.sh
+++ b/share/spack/docker/package-index/split.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
#
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/share/spack/docs/docker/module-file-tutorial/spack.sh b/share/spack/docs/docker/module-file-tutorial/spack.sh
index b025bda979..65920826b7 100644
--- a/share/spack/docs/docker/module-file-tutorial/spack.sh
+++ b/share/spack/docs/docker/module-file-tutorial/spack.sh
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/share/spack/gitlab/cloud_e4s_pipelines.yml b/share/spack/gitlab/cloud_e4s_pipelines.yml
deleted file mode 100644
index 67a74cf971..0000000000
--- a/share/spack/gitlab/cloud_e4s_pipelines.yml
+++ /dev/null
@@ -1,24 +0,0 @@
-pr_pipeline:
- only:
- - /^github\/pr[\d]+_.*$/
- variables:
- SPACK_REF: ${CI_COMMIT_SHA}
- SPACK_PR_BRANCH: ${CI_COMMIT_REF_NAME}
- SPACK_IS_PR_PIPELINE: "True"
- AWS_ACCESS_KEY_ID: ${PR_MIRRORS_AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY: ${PR_MIRRORS_AWS_SECRET_ACCESS_KEY}
- trigger:
- project: spack/e4s
- strategy: depend
-
-develop_pipeline:
- only:
- - /^github\/develop$/
- variables:
- SPACK_REF: ${CI_COMMIT_SHA}
- AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY}
- SPACK_SIGNING_KEY: ${SPACK_SIGNING_KEY}
- trigger:
- project: spack/e4s
- strategy: depend
diff --git a/share/spack/gitlab/cloud_e4s_pipelines/.gitlab-ci.yml b/share/spack/gitlab/cloud_e4s_pipelines/.gitlab-ci.yml
new file mode 100644
index 0000000000..6f26eaf574
--- /dev/null
+++ b/share/spack/gitlab/cloud_e4s_pipelines/.gitlab-ci.yml
@@ -0,0 +1,61 @@
+stages: [generate, build]
+
+.generate:
+ stage: generate
+ script:
+ - . "./share/spack/setup-env.sh"
+ - spack --version
+ - cd share/spack/gitlab/cloud_e4s_pipelines/stacks/e4s
+ - spack env activate --without-view .
+ - spack -d ci generate --check-index-only
+ --output-file "${CI_PROJECT_DIR}/jobs_scratch_dir/e4s_pipeline.yml"
+ artifacts:
+ paths:
+ - "${CI_PROJECT_DIR}/jobs_scratch_dir/e4s_pipeline.yml"
+ tags: ["spack", "public", "medium"]
+
+e4s-pr-generate:
+ only:
+ - /^github\/pr[\d]+_.*$/
+ - move-pr-stack-into-spack
+ extends: .generate
+ before_script:
+ - export SPACK_PR_BRANCH=${CI_COMMIT_REF_NAME}
+ - export SPACK_IS_PR_PIPELINE="True"
+ image: { "name": "ghcr.io/scottwittenburg/ecpe4s-ubuntu18.04-runner-x86_64:2020-09-01", "entrypoint": [""] }
+
+e4s-develop-generate:
+ only:
+ - /^github\/develop$/
+ extends: .generate
+ image: { "name": "ghcr.io/scottwittenburg/ecpe4s-ubuntu18.04-runner-x86_64:2020-09-01", "entrypoint": [""] }
+
+e4s-pr-build:
+ only:
+ - /^github\/pr[\d]+_.*$/
+ - move-pr-stack-into-spack
+ stage: build
+ trigger:
+ include:
+ - artifact: "jobs_scratch_dir/e4s_pipeline.yml"
+ job: e4s-pr-generate
+ strategy: depend
+ variables:
+ AWS_ACCESS_KEY_ID: ${PR_MIRRORS_AWS_ACCESS_KEY_ID}
+ AWS_SECRET_ACCESS_KEY: ${PR_MIRRORS_AWS_SECRET_ACCESS_KEY}
+ SPACK_PR_BRANCH: ${CI_COMMIT_REF_NAME}
+ SPACK_IS_PR_PIPELINE: "True"
+
+e4s-develop-build:
+ only:
+ - /^github\/develop$/
+ stage: build
+ trigger:
+ include:
+ - artifact: "jobs_scratch_dir/e4s_pipeline.yml"
+ job: e4s-develop-generate
+ strategy: depend
+ variables:
+ AWS_ACCESS_KEY_ID: ${MIRRORS_AWS_ACCESS_KEY_ID}
+ AWS_SECRET_ACCESS_KEY: ${MIRRORS_AWS_SECRET_ACCESS_KEY}
+ SPACK_SIGNING_KEY: ${PACKAGE_SIGNING_KEY}
diff --git a/share/spack/gitlab/cloud_e4s_pipelines/stacks/e4s/spack.yaml b/share/spack/gitlab/cloud_e4s_pipelines/stacks/e4s/spack.yaml
new file mode 100644
index 0000000000..fc5dad423b
--- /dev/null
+++ b/share/spack/gitlab/cloud_e4s_pipelines/stacks/e4s/spack.yaml
@@ -0,0 +1,151 @@
+spack:
+ view: false
+ concretization: separately
+
+ config:
+ install_tree:
+ root: /home/software/spack
+ padded_length: 512
+ projections:
+ all: '{architecture}/{compiler.name}-{compiler.version}/{name}-{version}-{hash}'
+
+ packages:
+ all:
+ target: [x86_64]
+ providers:
+ blas:
+ - openblas
+ mpi:
+ - mpich
+ variants: +mpi
+ binutils:
+ variants: +gold+headers+libiberty~nls
+ version:
+ - 2.33.1
+ cmake:
+ version: [3.18.4]
+ hdf5:
+ variants: +fortran
+ mpich:
+ variants: ~wrapperrpath
+ openblas:
+ version: [0.3.10]
+ slepc:
+ version: [3.14.0]
+
+ definitions:
+ - e4s:
+ - adios
+ - adios2
+ - aml
+ - amrex
+ - arborx
+ - argobots
+ - ascent
+ - axom
+ - bolt
+ - caliper
+ - darshan-runtime
+ - darshan-util
+ - dyninst
+ - faodel
+ - flecsi+cinch
+ - flit
+ - gasnet
+ - ginkgo
+ - globalarrays
+ - gotcha
+ - hdf5
+ - hpctoolkit
+ - hpx
+ - hypre
+ - kokkos-kernels+openmp
+ - kokkos+openmp
+ - legion
+ - libnrm
+ - libquo
+ - magma cuda_arch=70 ^cuda@10.2.89
+ - mercury
+ - mfem
+ - mpifileutils@develop~xattr
+ - ninja
+ - omega-h
+ - openmpi
+ - openpmd-api
+ - papi
+ - papyrus@1.0.1
+ - parallel-netcdf
+ - pdt
+ - petsc
+ - phist
+ - plasma
+ - precice
+ - pumi
+ - py-jupyterhub
+ - py-libensemble
+ - py-petsc4py
+ - qthreads scheduler=distrib
+ - raja
+ - rempi
+ - scr
+ - slate ^openblas@0.3.5 threads=openmp ^cuda@10.2.89
+ - slepc
+ - stc
+ - strumpack ~slate
+ - sundials
+ - superlu
+ - superlu-dist
+ - swig
+ - sz
+ - tasmanian
+ - tau
+ - trilinos
+ - turbine
+ - umap
+ - umpire
+ - unifyfs
+ - upcxx
+ - veloc
+ - zfp
+ - arch:
+ - '%gcc@7.5.0 arch=linux-ubuntu18.04-x86_64'
+
+ specs:
+ - matrix:
+ - - $e4s
+ - - $arch
+
+ mirrors: { "mirror": "s3://spack-binaries-develop/e4s-new-cluster" }
+
+ gitlab-ci:
+ script:
+ - . "./share/spack/setup-env.sh"
+ - spack --version
+ - cd share/spack/gitlab/cloud_e4s_pipelines/stacks/e4s
+ - spack env activate --without-view .
+ - spack -d ci rebuild
+ mappings:
+ - match: [cuda, dyninst, hpx, precice, strumpack, sundials, trilinos, vtk-h, vtk-m]
+ runner-attributes:
+ image: { "name": "ghcr.io/scottwittenburg/ecpe4s-ubuntu18.04-runner-x86_64:2020-09-01", "entrypoint": [""] }
+ tags: ["spack", "public", "xlarge"]
+ - match: ['os=ubuntu18.04']
+ runner-attributes:
+ image: { "name": "ghcr.io/scottwittenburg/ecpe4s-ubuntu18.04-runner-x86_64:2020-09-01", "entrypoint": [""] }
+ tags: ["spack", "public", "large"]
+ temporary-storage-url-prefix: "s3://spack-binaries-prs/pipeline-storage"
+ service-job-attributes:
+ before_script:
+ - . "./share/spack/setup-env.sh"
+ - spack --version
+ - cd share/spack/gitlab/cloud_e4s_pipelines/stacks/e4s
+ - spack env activate --without-view .
+ image: { "name": "ghcr.io/scottwittenburg/ecpe4s-ubuntu18.04-runner-x86_64:2020-09-01", "entrypoint": [""] }
+ tags: ["spack", "public", "medium"]
+
+ cdash:
+ build-group: New PR testing workflow
+ url: https://cdash.spack.io
+ project: Spack Testing
+ site: Cloud Gitlab Infrastructure
+
diff --git a/share/spack/gitlab/ascent_pipeline.yml b/share/spack/gitlab/nersc_pipeline.yml
index 4b00ec19e2..5edcb70c78 100644
--- a/share/spack/gitlab/ascent_pipeline.yml
+++ b/share/spack/gitlab/nersc_pipeline.yml
@@ -5,5 +5,5 @@ merge_pipeline:
SPACK_REPO: ${CI_PROJECT_URL}
SPACK_REF: ${CI_COMMIT_SHA}
trigger:
- project: ecpcitest/e4s
+ project: ecp/e4s/e4s
strategy: depend
diff --git a/share/spack/qa/completion-test.sh b/share/spack/qa/completion-test.sh
index 59a5181b98..0777002f0a 100755
--- a/share/spack/qa/completion-test.sh
+++ b/share/spack/qa/completion-test.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -31,13 +31,18 @@ title "Testing spack-completion.$_sp_shell with $_sp_shell"
succeeds which spack
title 'Testing all subcommands'
-while IFS= read -r line
+# read line into an array portably
+READ="read -ra line"
+if [ -n "${ZSH_VERSION:-}" ]; then
+ READ=(read -rA line)
+fi
+while IFS=' ' $READ
do
# Test that completion with no args works
- succeeds _spack_completions ${line[*]} ''
+ succeeds _spack_completions "${line[@]}" ''
# Test that completion with flags works
- contains '-h --help' _spack_completions ${line[*]} -
+ contains '-h --help' _spack_completions "${line[@]}" -
done <<- EOF
$(spack commands --aliases --format=subcommands)
EOF
@@ -58,32 +63,39 @@ contains 'hdf5' _spack_completions spack install -v ''
# XFAIL: Fails for Python 2.6 because pkg_resources not found?
#contains 'compilers.py' _spack_completions spack unit-test ''
-title 'Testing debugging functions'
-
-# This is a particularly tricky case that involves the following situation:
-# `spack -d [] install `
-# Here, [] represents the cursor, which is in the middle of the line.
-# We should tab-complete optional flags for `spack`, not optional flags for
-# `spack install` or package names.
-COMP_LINE='spack -d install '
-COMP_POINT=9
-COMP_WORDS=(spack -d install)
-COMP_CWORD=2
-COMP_KEY=9
-COMP_TYPE=64
-
-_bash_completion_spack
-contains "--all-help" echo "${COMPREPLY[@]}"
-
-contains "['spack', '-d', 'install', '']" _pretty_print COMP_WORDS[@]
-
-# Set the rest of the intermediate variables manually
-COMP_WORDS_NO_FLAGS=(spack install)
-COMP_CWORD_NO_FLAGS=1
-subfunction=_spack
-cur=
-
-list_options=true
-contains "'True'" _test_vars
-list_options=false
-contains "'False'" _test_vars
+_test_debug_functions() {
+ title 'Testing debugging functions'
+
+ if [ -n "${ZSH_VERSION:-}" ]; then
+ emulate -L sh
+ fi
+
+ # This is a particularly tricky case that involves the following situation:
+ # `spack -d [] install `
+ # Here, [] represents the cursor, which is in the middle of the line.
+ # We should tab-complete optional flags for `spack`, not optional flags for
+ # `spack install` or package names.
+ COMP_LINE='spack -d install '
+ COMP_POINT=9
+ COMP_WORDS=(spack -d install)
+ COMP_CWORD=2
+ COMP_KEY=9
+ COMP_TYPE=64
+
+ _bash_completion_spack
+ contains "--all-help" echo "${COMPREPLY[@]}"
+
+ contains "['spack', '-d', 'install', '']" _pretty_print COMP_WORDS[@]
+
+ # Set the rest of the intermediate variables manually
+ COMP_WORDS_NO_FLAGS=(spack install)
+ COMP_CWORD_NO_FLAGS=1
+ subfunction=_spack
+ cur=
+
+ list_options=true
+ contains "'True'" _test_vars
+ list_options=false
+ contains "'False'" _test_vars
+}
+_test_debug_functions
diff --git a/share/spack/qa/flake8_formatter.py b/share/spack/qa/flake8_formatter.py
new file mode 100644
index 0000000000..73aa986af2
--- /dev/null
+++ b/share/spack/qa/flake8_formatter.py
@@ -0,0 +1,147 @@
+import re
+import sys
+import pycodestyle
+from collections import defaultdict
+from flake8.formatting.default import Pylint
+from flake8.style_guide import Violation
+
+#: This is a dict that maps:
+#: filename pattern ->
+#: flake8 exemption code ->
+#: list of patterns, for which matching lines should have codes applied.
+#:
+#: For each file, if the filename pattern matches, we'll add per-line
+#: exemptions if any patterns in the sub-dict match.
+pattern_exemptions = {
+ # exemptions applied only to package.py files.
+ r"package.py$": {
+ # Allow 'from spack import *' in packages, but no other wildcards
+ "F403": [
+ r"^from spack import \*$",
+ r"^from spack.pkgkit import \*$",
+ ],
+ # Exempt lines with urls and descriptions from overlong line errors.
+ "E501": [
+ r"^\s*homepage\s*=",
+ r"^\s*url\s*=",
+ r"^\s*git\s*=",
+ r"^\s*svn\s*=",
+ r"^\s*hg\s*=",
+ r"^\s*pypi\s*=",
+ r"^\s*list_url\s*=",
+ r"^\s*version\(",
+ r"^\s*variant\(",
+ r"^\s*provides\(",
+ r"^\s*extends\(",
+ r"^\s*depends_on\(",
+ r"^\s*conflicts\(",
+ r"^\s*resource\(",
+ r"^\s*patch\(",
+ ],
+ # Exempt '@when' decorated functions from redefinition errors.
+ "F811": [
+ r"^\s*@when\(.*\)",
+ ],
+ },
+ # exemptions applied to all files.
+ r".py$": {
+ "E501": [
+ r"(https?|ftp|file)\:", # URLs
+ r'([\'"])[0-9a-fA-F]{32,}\1', # long hex checksums
+ ]
+ },
+}
+
+
+# compile all regular expressions.
+pattern_exemptions = dict(
+ (
+ re.compile(file_pattern),
+ dict(
+ (code, [re.compile(p) for p in patterns])
+ for code, patterns in error_dict.items()
+ ),
+ )
+ for file_pattern, error_dict in pattern_exemptions.items()
+)
+
+
+class SpackFormatter(Pylint):
+ def __init__(self, options):
+ self.spack_errors = {}
+ self.error_seen = False
+ super().__init__(options)
+
+ def after_init(self): # type: () -> None
+ """Overriding to keep format string from being unset in Default"""
+ pass
+
+ def beginning(self, filename):
+ self.filename = filename
+ self.file_lines = None
+ self.spack_errors = defaultdict(list)
+ for file_pattern, errors in pattern_exemptions.items():
+ if file_pattern.search(filename):
+ for code, pat_arr in errors.items():
+ self.spack_errors[code].extend(pat_arr)
+
+ def handle(self, error): # type: (Violation) -> None
+ """Handle an error reported by Flake8.
+
+ This defaults to calling :meth:`format`, :meth:`show_source`, and
+ then :meth:`write`. This version implements the pattern-based ignore
+ behavior from `spack flake8` as a native flake8 plugin.
+
+ :param error:
+ This will be an instance of
+ :class:`~flake8.style_guide.Violation`.
+ :type error:
+ flake8.style_guide.Violation
+ """
+
+ # print(error.code)
+ # print(error.physical_line)
+ # get list of patterns for this error code
+ pats = self.spack_errors.get(error.code, None)
+ # if any pattern matches, skip line
+ if pats is not None and any(
+ (pat.search(error.physical_line) for pat in pats)
+ ):
+ return
+
+ # Special F811 handling
+ # Prior to Python 3.8, `noqa: F811` needed to be placed on the `@when`
+ # line
+ # Starting with Python 3.8, it must be placed on the `def` line
+ # https://gitlab.com/pycqa/flake8/issues/583
+ # we can only determine if F811 should be ignored given the previous
+ # line, so get the previous line and check it
+ if (
+ self.spack_errors.get("F811", False)
+ and error.code == "F811"
+ and error.line_number > 1
+ ):
+ if self.file_lines is None:
+ if self.filename in {"stdin", "-", "(none)", None}:
+ self.file_lines = pycodestyle.stdin_get_value().splitlines(
+ True
+ )
+ else:
+ self.file_lines = pycodestyle.readlines(self.filename)
+ for pat in self.spack_errors["F811"]:
+ if pat.search(self.file_lines[error.line_number - 2]):
+ return
+
+ self.error_seen = True
+ line = self.format(error)
+ source = self.show_source(error)
+ self.write(line, source)
+
+ def stop(self):
+ """Override stop to check whether any errors we consider to be errors
+ were reported.
+
+ This is a hack, but it makes flake8 behave the desired way.
+ """
+ if not self.error_seen:
+ sys.exit(0)
diff --git a/share/spack/qa/run-build-tests b/share/spack/qa/run-build-tests
index c714c59440..d64aa061fa 100755
--- a/share/spack/qa/run-build-tests
+++ b/share/spack/qa/run-build-tests
@@ -1,6 +1,6 @@
#!/bin/bash -e
#
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/share/spack/qa/run-doc-tests b/share/spack/qa/run-doc-tests
index eeba12d8d6..61d18288d0 100755
--- a/share/spack/qa/run-doc-tests
+++ b/share/spack/qa/run-doc-tests
@@ -1,6 +1,6 @@
#!/bin/bash -e
#
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/share/spack/qa/run-shell-tests b/share/spack/qa/run-shell-tests
index 9c5302ec89..8890b67d42 100755
--- a/share/spack/qa/run-shell-tests
+++ b/share/spack/qa/run-shell-tests
@@ -1,6 +1,6 @@
#!/bin/bash -e
#
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -43,6 +43,7 @@ fi
# Run the test scripts for their output (these will print nicely)
zsh "$QA_DIR/setup-env-test.sh"
+zsh "$QA_DIR/completion-test.sh"
dash "$QA_DIR/setup-env-test.sh"
# Run fish tests
diff --git a/share/spack/qa/run-flake8-tests b/share/spack/qa/run-style-tests
index d6077fceb8..23d756a3bc 100755
--- a/share/spack/qa/run-flake8-tests
+++ b/share/spack/qa/run-style-tests
@@ -1,6 +1,6 @@
#!/bin/bash -e
#
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,10 +15,10 @@
# run-flake8-tests
#
. "$(dirname $0)/setup.sh"
-check_dependencies flake8
+check_dependencies flake8 mypy
# verify that the code style is correct
-spack flake8
+spack style
# verify that the license headers are present
spack license verify
diff --git a/share/spack/qa/run-unit-tests b/share/spack/qa/run-unit-tests
index ec8aaf76b9..81d9abe247 100755
--- a/share/spack/qa/run-unit-tests
+++ b/share/spack/qa/run-unit-tests
@@ -1,6 +1,6 @@
#!/bin/bash -e
#
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/share/spack/qa/setup-env-test.csh b/share/spack/qa/setup-env-test.csh
index 02dda30bca..b49f531942 100755
--- a/share/spack/qa/setup-env-test.csh
+++ b/share/spack/qa/setup-env-test.csh
@@ -1,6 +1,6 @@
#!/bin/csh
#
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/share/spack/qa/setup-env-test.fish b/share/spack/qa/setup-env-test.fish
index 964d876fe9..c0738515d1 100755
--- a/share/spack/qa/setup-env-test.fish
+++ b/share/spack/qa/setup-env-test.fish
@@ -1,6 +1,6 @@
#!/usr/bin/env fish
#
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/share/spack/qa/setup-env-test.sh b/share/spack/qa/setup-env-test.sh
index da4fb9657d..b22b109520 100755
--- a/share/spack/qa/setup-env-test.sh
+++ b/share/spack/qa/setup-env-test.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/share/spack/qa/setup.sh b/share/spack/qa/setup.sh
index e614bae909..b15d3a4021 100755
--- a/share/spack/qa/setup.sh
+++ b/share/spack/qa/setup.sh
@@ -1,6 +1,6 @@
#!/bin/bash -e
#
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -66,6 +66,10 @@ check_dependencies() {
spack_package=py-flake8
pip_package=flake8
;;
+ mypy)
+ spack_package=py-mypy
+ pip_package=mypy
+ ;;
dot)
spack_package=graphviz
;;
diff --git a/share/spack/qa/test-framework.sh b/share/spack/qa/test-framework.sh
index 14b58bbecf..4df37cd906 100755
--- a/share/spack/qa/test-framework.sh
+++ b/share/spack/qa/test-framework.sh
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/share/spack/setup-env.csh b/share/spack/setup-env.csh
index b70036456d..4ac0503947 100755
--- a/share/spack/setup-env.csh
+++ b/share/spack/setup-env.csh
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -58,6 +58,18 @@ alias spack 'set _sp_args = (\!*); source $_spack_share_dir/csh/spack.c
alias spacktivate 'spack env activate'
alias _spack_pathadd 'set _pa_args = (\!*) && source $_spack_share_dir/csh/pathadd.csh'
+# Identify and lock the python interpreter
+if (! $?SPACK_PYTHON) then
+ setenv SPACK_PYTHON ""
+endif
+foreach cmd ("$SPACK_PYTHON" python3 python python2)
+ command -v "$cmd" >& /dev/null
+ if ($status == 0) then
+ setenv SPACK_PYTHON `command -v "$cmd"`
+ break
+ endif
+end
+
# Set variables needed by this script
_spack_pathadd PATH "$SPACK_ROOT/bin"
eval `spack --print-shell-vars csh`
diff --git a/share/spack/setup-env.fish b/share/spack/setup-env.fish
index b74eae34d6..7bbc8f8485 100755
--- a/share/spack/setup-env.fish
+++ b/share/spack/setup-env.fish
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -253,7 +253,7 @@ function match_flag -d "checks all combinations of flags ocurring inside of a st
set -l _a (string sub -s 2 (string trim "x$argv[1]"))
set -l _b (string sub -s 2 (string trim "x$argv[2]"))
- if test -z "$_a" || test -z "$_b"
+ if test -z "$_a"; or test -z "$_b"
return 0
end
@@ -668,6 +668,19 @@ set -l sp_source_file (status -f) # name of current file
#
+# Identify and lock the python interpreter
+#
+for cmd in "$SPACK_PYTHON" python3 python python2
+ set -l _sp_python (command -v "$cmd")
+ if test $status -eq 0
+ set -x SPACK_PYTHON $_sp_python
+ break
+ end
+end
+
+
+
+#
# Find root directory and add bin to path.
#
set -l sp_share_dir (realpath (dirname $sp_source_file))
diff --git a/share/spack/setup-env.sh b/share/spack/setup-env.sh
index 5761d16362..cbee4428d0 100755
--- a/share/spack/setup-env.sh
+++ b/share/spack/setup-env.sh
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -326,6 +326,14 @@ if [ "$_sp_shell" = bash ]; then
export -f _spack_shell_wrapper
fi
+# Identify and lock the python interpreter
+for cmd in "${SPACK_PYTHON:-}" python3 python python2; do
+ if command -v > /dev/null "$cmd"; then
+ export SPACK_PYTHON="$(command -v "$cmd")"
+ break
+ fi
+done
+
#
# make available environment-modules
#
@@ -371,7 +379,7 @@ _sp_multi_pathadd MODULEPATH "$_sp_tcl_roots"
# Add programmable tab completion for Bash
#
-if [ "$_sp_shell" = bash ]; then
+if test "$_sp_shell" = bash || test -n "${ZSH_VERSION:-}"; then
source $_sp_share_dir/spack-completion.bash
fi
diff --git a/share/spack/setup-tutorial-env.sh b/share/spack/setup-tutorial-env.sh
index 1f46f15c2d..102d2b1c48 100755
--- a/share/spack/setup-tutorial-env.sh
+++ b/share/spack/setup-tutorial-env.sh
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash
index bf44039ad9..62829d474a 100755
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -37,6 +37,17 @@
#
# See `man bash` for more details.
+if test -n "${ZSH_VERSION:-}" ; then
+ if [[ "$(emulate)" = zsh ]] ; then
+ # ensure base completion support is enabled, ignore insecure directories
+ autoload -U +X compinit && compinit -i
+ # ensure bash compatible completion support is enabled
+ autoload -U +X bashcompinit && bashcompinit
+ emulate sh -c "source '$0:A'"
+ return # stop interpreting file
+ fi
+fi
+
# Bash programmable completion for Spack
_bash_completion_spack() {
# In all following examples, let the cursor be denoted by brackets, i.e. []
@@ -117,7 +128,9 @@ _bash_completion_spack() {
#_test_vars >> temp
# Make sure function exists before calling it
- if [[ "$(type -t $subfunction)" == "function" ]]
+ local rgx #this dance is necessary to cover bash and zsh regex
+ rgx="$subfunction.*function.* "
+ if [[ "$(type $subfunction 2>&1)" =~ $rgx ]]
then
$subfunction
COMPREPLY=($(compgen -W "$SPACK_COMPREPLY" -- "$cur"))
@@ -320,7 +333,7 @@ _spack() {
then
SPACK_COMPREPLY="-h --help -H --all-help --color -C --config-scope -d --debug --timestamp --pdb -e --env -D --env-dir -E --no-env --use-env-repo -k --insecure -l --enable-locks -L --disable-locks -m --mock -p --profile --sorted-profile --lines -v --verbose --stacktrace -V --version --print-shell-vars"
else
- SPACK_COMPREPLY="activate add arch blame build-env buildcache cd checksum ci clean clone commands compiler compilers concretize config containerize create deactivate debug dependencies dependents deprecate dev-build develop docs edit env extensions external fetch find flake8 gc gpg graph help info install license list load location log-parse maintainers mark mirror module patch pkg providers pydoc python reindex remove rm repo resource restage setup solve spec stage test test-env tutorial undevelop uninstall unit-test unload url verify versions view"
+ SPACK_COMPREPLY="activate add arch blame build-env buildcache cd checksum ci clean clone commands compiler compilers concretize config containerize create deactivate debug dependencies dependents deprecate dev-build develop docs edit env extensions external fetch find flake8 gc gpg graph help info install license list load location log-parse maintainers mark mirror module patch pkg providers pydoc python reindex remove rm repo resource restage solve spec stage style test test-env tutorial undevelop uninstall unit-test unload url verify versions view"
fi
}
@@ -460,18 +473,22 @@ _spack_ci() {
then
SPACK_COMPREPLY="-h --help"
else
- SPACK_COMPREPLY="generate rebuild"
+ SPACK_COMPREPLY="generate rebuild rebuild-index"
fi
}
_spack_ci_generate() {
- SPACK_COMPREPLY="-h --help --output-file --copy-to --optimize --dependencies"
+ SPACK_COMPREPLY="-h --help --output-file --copy-to --optimize --dependencies --prune-dag --no-prune-dag --check-index-only"
}
_spack_ci_rebuild() {
SPACK_COMPREPLY="-h --help"
}
+_spack_ci_rebuild_index() {
+ SPACK_COMPREPLY="-h --help"
+}
+
_spack_clean() {
if $list_options
then
@@ -719,7 +736,7 @@ _spack_deprecate() {
_spack_dev_build() {
if $list_options
then
- SPACK_COMPREPLY="-h --help -j --jobs -d --source-path -i --ignore-dependencies -n --no-checksum --keep-prefix --skip-patch -q --quiet --drop-in --test -b --before -u --until --clean --dirty"
+ SPACK_COMPREPLY="-h --help -j --jobs -d --source-path -i --ignore-dependencies -n --no-checksum --deprecated --keep-prefix --skip-patch -q --quiet --drop-in --test -b --before -u --until --clean --dirty"
else
_all_packages
fi
@@ -869,7 +886,7 @@ _spack_external() {
_spack_external_find() {
if $list_options
then
- SPACK_COMPREPLY="-h --help --not-buildable --scope"
+ SPACK_COMPREPLY="-h --help --not-buildable --scope -t --tag"
else
_all_packages
fi
@@ -882,7 +899,7 @@ _spack_external_list() {
_spack_fetch() {
if $list_options
then
- SPACK_COMPREPLY="-h --help -n --no-checksum -m --missing -D --dependencies"
+ SPACK_COMPREPLY="-h --help -n --no-checksum --deprecated -m --missing -D --dependencies"
else
_all_packages
fi
@@ -891,7 +908,7 @@ _spack_fetch() {
_spack_find() {
if $list_options
then
- SPACK_COMPREPLY="-h --help --format --json -d --deps -p --paths --groups --no-groups -l --long -L --very-long -t --tags -c --show-concretized -f --show-flags --show-full-compiler -x --explicit -X --implicit -u --unknown -m --missing -v --variants --loaded -M --only-missing --deprecated --only-deprecated -N --namespace --start-date --end-date"
+ SPACK_COMPREPLY="-h --help --format --json -d --deps -p --paths --groups --no-groups -l --long -L --very-long -t --tag -c --show-concretized -f --show-flags --show-full-compiler -x --explicit -X --implicit -u --unknown -m --missing -v --variants --loaded -M --only-missing --deprecated --only-deprecated -N --namespace --start-date --end-date"
else
_installed_packages
fi
@@ -900,7 +917,7 @@ _spack_find() {
_spack_flake8() {
if $list_options
then
- SPACK_COMPREPLY="-h --help -b --base -k --keep-temp -a --all -o --output -r --root-relative -U --no-untracked"
+ SPACK_COMPREPLY="-h --help -b --base -a --all -o --output -r --root-relative -U --no-untracked --no-flake8 --no-mypy --black"
else
SPACK_COMPREPLY=""
fi
@@ -1020,7 +1037,7 @@ _spack_info() {
_spack_install() {
if $list_options
then
- SPACK_COMPREPLY="-h --help --only -u --until -j --jobs --overwrite --fail-fast --keep-prefix --keep-stage --dont-restage --use-cache --no-cache --cache-only --no-check-signature --require-full-hash-match --show-log-on-error --source -n --no-checksum -v --verbose --fake --only-concrete -f --file --clean --dirty --test --run-tests --log-format --log-file --help-cdash --cdash-upload-url --cdash-build --cdash-site --cdash-track --cdash-buildstamp -y --yes-to-all"
+ SPACK_COMPREPLY="-h --help --only -u --until -j --jobs --overwrite --fail-fast --keep-prefix --keep-stage --dont-restage --use-cache --no-cache --cache-only --include-build-deps --no-check-signature --require-full-hash-match --show-log-on-error --source -n --no-checksum --deprecated -v --verbose --fake --only-concrete -f --file --clean --dirty --test --run-tests --log-format --log-file --help-cdash --cdash-upload-url --cdash-build --cdash-site --cdash-track --cdash-buildstamp -y --yes-to-all"
else
_all_packages
fi
@@ -1029,9 +1046,9 @@ _spack_install() {
_spack_license() {
if $list_options
then
- SPACK_COMPREPLY="-h --help"
+ SPACK_COMPREPLY="-h --help --root"
else
- SPACK_COMPREPLY="list-files verify"
+ SPACK_COMPREPLY="list-files verify update-copyright-year"
fi
}
@@ -1040,13 +1057,17 @@ _spack_license_list_files() {
}
_spack_license_verify() {
- SPACK_COMPREPLY="-h --help --root"
+ SPACK_COMPREPLY="-h --help"
+}
+
+_spack_license_update_copyright_year() {
+ SPACK_COMPREPLY="-h --help"
}
_spack_list() {
if $list_options
then
- SPACK_COMPREPLY="-h --help -d --search-description --format --update -v --virtuals -t --tags"
+ SPACK_COMPREPLY="-h --help -d --search-description --format --update -v --virtuals -t --tag"
else
_all_packages
fi
@@ -1100,9 +1121,9 @@ _spack_mark() {
_spack_mirror() {
if $list_options
then
- SPACK_COMPREPLY="-h --help -n --no-checksum"
+ SPACK_COMPREPLY="-h --help -n --no-checksum --deprecated"
else
- SPACK_COMPREPLY="create add remove rm set-url list"
+ SPACK_COMPREPLY="create destroy add remove rm set-url list"
fi
}
@@ -1115,6 +1136,10 @@ _spack_mirror_create() {
fi
}
+_spack_mirror_destroy() {
+ SPACK_COMPREPLY="-h --help -m --mirror-name --mirror-url"
+}
+
_spack_mirror_add() {
if $list_options
then
@@ -1266,7 +1291,7 @@ _spack_module_tcl_loads() {
_spack_patch() {
if $list_options
then
- SPACK_COMPREPLY="-h --help -n --no-checksum"
+ SPACK_COMPREPLY="-h --help -n --no-checksum --deprecated"
else
_all_packages
fi
@@ -1356,7 +1381,7 @@ _spack_pydoc() {
_spack_python() {
if $list_options
then
- SPACK_COMPREPLY="-h --help -V --version -c -m"
+ SPACK_COMPREPLY="-h --help -V --version -c -i -m"
else
SPACK_COMPREPLY=""
fi
@@ -1464,39 +1489,39 @@ _spack_restage() {
fi
}
-_spack_setup() {
+_spack_solve() {
if $list_options
then
- SPACK_COMPREPLY="-h --help -i --ignore-dependencies -n --no-checksum -v --verbose --clean --dirty"
+ SPACK_COMPREPLY="-h --help --show --models -l --long -L --very-long -I --install-status -y --yaml -j --json -c --cover -N --namespaces -t --types --timers --stats"
else
_all_packages
fi
}
-_spack_solve() {
+_spack_spec() {
if $list_options
then
- SPACK_COMPREPLY="-h --help --show --models -l --long -L --very-long -I --install-status -y --yaml -j --json -c --cover -N --namespaces -t --types --timers --stats"
+ SPACK_COMPREPLY="-h --help -l --long -L --very-long -I --install-status -y --yaml -j --json -c --cover -N --namespaces -t --types"
else
_all_packages
fi
}
-_spack_spec() {
+_spack_stage() {
if $list_options
then
- SPACK_COMPREPLY="-h --help -l --long -L --very-long -I --install-status -y --yaml -j --json -c --cover -N --namespaces -t --types"
+ SPACK_COMPREPLY="-h --help -n --no-checksum --deprecated -p --path"
else
_all_packages
fi
}
-_spack_stage() {
+_spack_style() {
if $list_options
then
- SPACK_COMPREPLY="-h --help -n --no-checksum -p --path"
+ SPACK_COMPREPLY="-h --help -b --base -a --all -o --output -r --root-relative -U --no-untracked --no-flake8 --no-mypy --black"
else
- _all_packages
+ SPACK_COMPREPLY=""
fi
}
@@ -1649,7 +1674,7 @@ _spack_verify() {
_spack_versions() {
if $list_options
then
- SPACK_COMPREPLY="-h --help -s --safe-only -c --concurrency"
+ SPACK_COMPREPLY="-h --help -s --safe --safe-only -r --remote -n --new -c --concurrency"
else
_all_packages
fi
diff --git a/share/spack/templates/misc/coconcretization.pyt b/share/spack/templates/misc/coconcretization.pyt
index 56f671cb73..fc0ec94cea 100644
--- a/share/spack/templates/misc/coconcretization.pyt
+++ b/share/spack/templates/misc/coconcretization.pyt
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/a/package.py b/var/spack/repos/builtin.mock/packages/a/package.py
index a603940b8b..37570ebf7a 100644
--- a/var/spack/repos/builtin.mock/packages/a/package.py
+++ b/var/spack/repos/builtin.mock/packages/a/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/archive-files/package.py b/var/spack/repos/builtin.mock/packages/archive-files/package.py
index a2c008efb4..12d11e514c 100644
--- a/var/spack/repos/builtin.mock/packages/archive-files/package.py
+++ b/var/spack/repos/builtin.mock/packages/archive-files/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/b/package.py b/var/spack/repos/builtin.mock/packages/b/package.py
index 8cf5674219..2ddc30f69b 100644
--- a/var/spack/repos/builtin.mock/packages/b/package.py
+++ b/var/spack/repos/builtin.mock/packages/b/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/boost/package.py b/var/spack/repos/builtin.mock/packages/boost/package.py
index 6d2cea3da9..b13380831f 100644
--- a/var/spack/repos/builtin.mock/packages/boost/package.py
+++ b/var/spack/repos/builtin.mock/packages/boost/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/bowtie/package.py b/var/spack/repos/builtin.mock/packages/bowtie/package.py
index 3f8363c2a8..b817ee4914 100644
--- a/var/spack/repos/builtin.mock/packages/bowtie/package.py
+++ b/var/spack/repos/builtin.mock/packages/bowtie/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/brillig/package.py b/var/spack/repos/builtin.mock/packages/brillig/package.py
new file mode 100644
index 0000000000..fc475c7117
--- /dev/null
+++ b/var/spack/repos/builtin.mock/packages/brillig/package.py
@@ -0,0 +1,17 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+from spack import *
+
+
+class Brillig(Package):
+ """ Mock package to test the spack versions command."""
+
+ homepage = "https://www.example.com"
+ url = "https://github.com/vvolkl/brillig/archive/v2.0.0.tar.gz"
+
+ version('2.0.0', sha256='d4bb8f1737d5a7c0321e1675cceccb59dbcb66a94f3a9dd66a37f58bc6df7f15')
+ version('1.0.0', sha256='fcef53f45e82b881af9a6f0530b2732cdaf8c5c60e49b27671594ea658bfe315')
diff --git a/var/spack/repos/builtin.mock/packages/build-error/package.py b/var/spack/repos/builtin.mock/packages/build-error/package.py
index 04e1b147c6..5f0c937786 100644
--- a/var/spack/repos/builtin.mock/packages/build-error/package.py
+++ b/var/spack/repos/builtin.mock/packages/build-error/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/build-warnings/package.py b/var/spack/repos/builtin.mock/packages/build-warnings/package.py
index 02254ef801..f46452061f 100644
--- a/var/spack/repos/builtin.mock/packages/build-warnings/package.py
+++ b/var/spack/repos/builtin.mock/packages/build-warnings/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/c/package.py b/var/spack/repos/builtin.mock/packages/c/package.py
index 835f9d408e..c1904db11e 100644
--- a/var/spack/repos/builtin.mock/packages/c/package.py
+++ b/var/spack/repos/builtin.mock/packages/c/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/callpath/package.py b/var/spack/repos/builtin.mock/packages/callpath/package.py
index 42bf277786..cf29e38dd9 100644
--- a/var/spack/repos/builtin.mock/packages/callpath/package.py
+++ b/var/spack/repos/builtin.mock/packages/callpath/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/canfail/package.py b/var/spack/repos/builtin.mock/packages/canfail/package.py
index 79ded75a55..5234d47be1 100644
--- a/var/spack/repos/builtin.mock/packages/canfail/package.py
+++ b/var/spack/repos/builtin.mock/packages/canfail/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/cmake-client/package.py b/var/spack/repos/builtin.mock/packages/cmake-client/package.py
index 2350259b22..a22779f3fb 100644
--- a/var/spack/repos/builtin.mock/packages/cmake-client/package.py
+++ b/var/spack/repos/builtin.mock/packages/cmake-client/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/cmake/package.py b/var/spack/repos/builtin.mock/packages/cmake/package.py
index 4815032e66..1c7fd6014f 100644
--- a/var/spack/repos/builtin.mock/packages/cmake/package.py
+++ b/var/spack/repos/builtin.mock/packages/cmake/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/conditional-constrained-dependencies/package.py b/var/spack/repos/builtin.mock/packages/conditional-constrained-dependencies/package.py
index 68fee3e9c7..b540c93885 100644
--- a/var/spack/repos/builtin.mock/packages/conditional-constrained-dependencies/package.py
+++ b/var/spack/repos/builtin.mock/packages/conditional-constrained-dependencies/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/conditional-provider/package.py b/var/spack/repos/builtin.mock/packages/conditional-provider/package.py
index e95f2ad54c..98c69edbfa 100644
--- a/var/spack/repos/builtin.mock/packages/conditional-provider/package.py
+++ b/var/spack/repos/builtin.mock/packages/conditional-provider/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/conditional-virtual-dependency/package.py b/var/spack/repos/builtin.mock/packages/conditional-virtual-dependency/package.py
index 8cfbfa0c1a..2970cb48f3 100644
--- a/var/spack/repos/builtin.mock/packages/conditional-virtual-dependency/package.py
+++ b/var/spack/repos/builtin.mock/packages/conditional-virtual-dependency/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/conditionally-patch-dependency/package.py b/var/spack/repos/builtin.mock/packages/conditionally-patch-dependency/package.py
index 7321d5bbd4..bda6afd463 100644
--- a/var/spack/repos/builtin.mock/packages/conditionally-patch-dependency/package.py
+++ b/var/spack/repos/builtin.mock/packages/conditionally-patch-dependency/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/conflict-parent/package.py b/var/spack/repos/builtin.mock/packages/conflict-parent/package.py
index 8e8e148b88..0961f8df1b 100644
--- a/var/spack/repos/builtin.mock/packages/conflict-parent/package.py
+++ b/var/spack/repos/builtin.mock/packages/conflict-parent/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/conflict/package.py b/var/spack/repos/builtin.mock/packages/conflict/package.py
index d7598aa84d..a4c81bc4d7 100644
--- a/var/spack/repos/builtin.mock/packages/conflict/package.py
+++ b/var/spack/repos/builtin.mock/packages/conflict/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/conflicting-dependent/package.py b/var/spack/repos/builtin.mock/packages/conflicting-dependent/package.py
index 3c0f120085..4b33d8b3fd 100644
--- a/var/spack/repos/builtin.mock/packages/conflicting-dependent/package.py
+++ b/var/spack/repos/builtin.mock/packages/conflicting-dependent/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/corge/package.py b/var/spack/repos/builtin.mock/packages/corge/package.py
index 3bd8b34e47..dd62c103ee 100644
--- a/var/spack/repos/builtin.mock/packages/corge/package.py
+++ b/var/spack/repos/builtin.mock/packages/corge/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/cumulative-vrange-bottom/package.py b/var/spack/repos/builtin.mock/packages/cumulative-vrange-bottom/package.py
index dbbec45497..b8390b4e41 100644
--- a/var/spack/repos/builtin.mock/packages/cumulative-vrange-bottom/package.py
+++ b/var/spack/repos/builtin.mock/packages/cumulative-vrange-bottom/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/cumulative-vrange-middle/package.py b/var/spack/repos/builtin.mock/packages/cumulative-vrange-middle/package.py
index 7a6d6d4315..1458259442 100644
--- a/var/spack/repos/builtin.mock/packages/cumulative-vrange-middle/package.py
+++ b/var/spack/repos/builtin.mock/packages/cumulative-vrange-middle/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/cumulative-vrange-root/package.py b/var/spack/repos/builtin.mock/packages/cumulative-vrange-root/package.py
index 8215ceb517..7aaa6f39a3 100644
--- a/var/spack/repos/builtin.mock/packages/cumulative-vrange-root/package.py
+++ b/var/spack/repos/builtin.mock/packages/cumulative-vrange-root/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,4 +13,4 @@ class CumulativeVrangeRoot(Package):
version('1.0', '4cb3ff35b2472aae70f542116d616e63')
depends_on('cumulative-vrange-middle')
- depends_on('cumulative-vrange-bottom@:2') \ No newline at end of file
+ depends_on('cumulative-vrange-bottom@:2')
diff --git a/var/spack/repos/builtin.mock/packages/dep-diamond-patch-mid1/package.py b/var/spack/repos/builtin.mock/packages/dep-diamond-patch-mid1/package.py
index 2246bf0fce..df0f644c17 100644
--- a/var/spack/repos/builtin.mock/packages/dep-diamond-patch-mid1/package.py
+++ b/var/spack/repos/builtin.mock/packages/dep-diamond-patch-mid1/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/dep-diamond-patch-mid2/package.py b/var/spack/repos/builtin.mock/packages/dep-diamond-patch-mid2/package.py
index 9638872a11..15768302fb 100644
--- a/var/spack/repos/builtin.mock/packages/dep-diamond-patch-mid2/package.py
+++ b/var/spack/repos/builtin.mock/packages/dep-diamond-patch-mid2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/dep-diamond-patch-top/package.py b/var/spack/repos/builtin.mock/packages/dep-diamond-patch-top/package.py
index fb86fa3ad3..4ded7dcf7c 100644
--- a/var/spack/repos/builtin.mock/packages/dep-diamond-patch-top/package.py
+++ b/var/spack/repos/builtin.mock/packages/dep-diamond-patch-top/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/dep-with-variants-if-develop-root/package.py b/var/spack/repos/builtin.mock/packages/dep-with-variants-if-develop-root/package.py
index 00162ee200..7680738d48 100644
--- a/var/spack/repos/builtin.mock/packages/dep-with-variants-if-develop-root/package.py
+++ b/var/spack/repos/builtin.mock/packages/dep-with-variants-if-develop-root/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/dep-with-variants-if-develop/package.py b/var/spack/repos/builtin.mock/packages/dep-with-variants-if-develop/package.py
index ecb11224b3..a35ad4d3fb 100644
--- a/var/spack/repos/builtin.mock/packages/dep-with-variants-if-develop/package.py
+++ b/var/spack/repos/builtin.mock/packages/dep-with-variants-if-develop/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/dep-with-variants/package.py b/var/spack/repos/builtin.mock/packages/dep-with-variants/package.py
index d1b08cd5df..ae8b809079 100644
--- a/var/spack/repos/builtin.mock/packages/dep-with-variants/package.py
+++ b/var/spack/repos/builtin.mock/packages/dep-with-variants/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/depb/package.py b/var/spack/repos/builtin.mock/packages/depb/package.py
index 4af71848d3..d17a3b8a75 100644
--- a/var/spack/repos/builtin.mock/packages/depb/package.py
+++ b/var/spack/repos/builtin.mock/packages/depb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/dependency-install/package.py b/var/spack/repos/builtin.mock/packages/dependency-install/package.py
index 37cb3edd61..35f627c92f 100644
--- a/var/spack/repos/builtin.mock/packages/dependency-install/package.py
+++ b/var/spack/repos/builtin.mock/packages/dependency-install/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/dependent-install/package.py b/var/spack/repos/builtin.mock/packages/dependent-install/package.py
index 84b6331e78..c1859b5314 100644
--- a/var/spack/repos/builtin.mock/packages/dependent-install/package.py
+++ b/var/spack/repos/builtin.mock/packages/dependent-install/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/dependent-of-dev-build/package.py b/var/spack/repos/builtin.mock/packages/dependent-of-dev-build/package.py
index 9079fa766a..9b86790a78 100644
--- a/var/spack/repos/builtin.mock/packages/dependent-of-dev-build/package.py
+++ b/var/spack/repos/builtin.mock/packages/dependent-of-dev-build/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/dev-build-test-dependent/package.py b/var/spack/repos/builtin.mock/packages/dev-build-test-dependent/package.py
index e6a5b8351f..973bc22153 100644
--- a/var/spack/repos/builtin.mock/packages/dev-build-test-dependent/package.py
+++ b/var/spack/repos/builtin.mock/packages/dev-build-test-dependent/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/dev-build-test-install/package.py b/var/spack/repos/builtin.mock/packages/dev-build-test-install/package.py
index a2c979691f..b72b090855 100644
--- a/var/spack/repos/builtin.mock/packages/dev-build-test-install/package.py
+++ b/var/spack/repos/builtin.mock/packages/dev-build-test-install/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/develop-test/package.py b/var/spack/repos/builtin.mock/packages/develop-test/package.py
index 5c8820756d..10472baadd 100644
--- a/var/spack/repos/builtin.mock/packages/develop-test/package.py
+++ b/var/spack/repos/builtin.mock/packages/develop-test/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/develop-test2/package.py b/var/spack/repos/builtin.mock/packages/develop-test2/package.py
index b3a808206d..b555662ccb 100644
--- a/var/spack/repos/builtin.mock/packages/develop-test2/package.py
+++ b/var/spack/repos/builtin.mock/packages/develop-test2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/direct-mpich/package.py b/var/spack/repos/builtin.mock/packages/direct-mpich/package.py
index 940ecde224..658b2d03f2 100644
--- a/var/spack/repos/builtin.mock/packages/direct-mpich/package.py
+++ b/var/spack/repos/builtin.mock/packages/direct-mpich/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/dt-diamond-bottom/package.py b/var/spack/repos/builtin.mock/packages/dt-diamond-bottom/package.py
index 4ad109a272..23f4cda0ad 100644
--- a/var/spack/repos/builtin.mock/packages/dt-diamond-bottom/package.py
+++ b/var/spack/repos/builtin.mock/packages/dt-diamond-bottom/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/dt-diamond-left/package.py b/var/spack/repos/builtin.mock/packages/dt-diamond-left/package.py
index 9e3710c210..7e2d7cfa00 100644
--- a/var/spack/repos/builtin.mock/packages/dt-diamond-left/package.py
+++ b/var/spack/repos/builtin.mock/packages/dt-diamond-left/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/dt-diamond-right/package.py b/var/spack/repos/builtin.mock/packages/dt-diamond-right/package.py
index 4fd5fa733c..c1265700b9 100644
--- a/var/spack/repos/builtin.mock/packages/dt-diamond-right/package.py
+++ b/var/spack/repos/builtin.mock/packages/dt-diamond-right/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/dt-diamond/package.py b/var/spack/repos/builtin.mock/packages/dt-diamond/package.py
index 90afdd2400..3cafc7f447 100644
--- a/var/spack/repos/builtin.mock/packages/dt-diamond/package.py
+++ b/var/spack/repos/builtin.mock/packages/dt-diamond/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/dtbuild1/package.py b/var/spack/repos/builtin.mock/packages/dtbuild1/package.py
index f1921ad43f..3f4cffc917 100644
--- a/var/spack/repos/builtin.mock/packages/dtbuild1/package.py
+++ b/var/spack/repos/builtin.mock/packages/dtbuild1/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/dtbuild2/package.py b/var/spack/repos/builtin.mock/packages/dtbuild2/package.py
index cf783ccd9b..5d3ce11d38 100644
--- a/var/spack/repos/builtin.mock/packages/dtbuild2/package.py
+++ b/var/spack/repos/builtin.mock/packages/dtbuild2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/dtbuild3/package.py b/var/spack/repos/builtin.mock/packages/dtbuild3/package.py
index 1b8f89a2da..c56d26e4b0 100644
--- a/var/spack/repos/builtin.mock/packages/dtbuild3/package.py
+++ b/var/spack/repos/builtin.mock/packages/dtbuild3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/dtlink1/package.py b/var/spack/repos/builtin.mock/packages/dtlink1/package.py
index 725d3b2061..30a73bdbad 100644
--- a/var/spack/repos/builtin.mock/packages/dtlink1/package.py
+++ b/var/spack/repos/builtin.mock/packages/dtlink1/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/dtlink2/package.py b/var/spack/repos/builtin.mock/packages/dtlink2/package.py
index b4d871a841..a97be80d83 100644
--- a/var/spack/repos/builtin.mock/packages/dtlink2/package.py
+++ b/var/spack/repos/builtin.mock/packages/dtlink2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/dtlink3/package.py b/var/spack/repos/builtin.mock/packages/dtlink3/package.py
index 732b68f867..9b6cdf5cdb 100644
--- a/var/spack/repos/builtin.mock/packages/dtlink3/package.py
+++ b/var/spack/repos/builtin.mock/packages/dtlink3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/dtlink4/package.py b/var/spack/repos/builtin.mock/packages/dtlink4/package.py
index d7ac8115ad..ac3ea6ec35 100644
--- a/var/spack/repos/builtin.mock/packages/dtlink4/package.py
+++ b/var/spack/repos/builtin.mock/packages/dtlink4/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/dtlink5/package.py b/var/spack/repos/builtin.mock/packages/dtlink5/package.py
index faf429bfc1..491de82fab 100644
--- a/var/spack/repos/builtin.mock/packages/dtlink5/package.py
+++ b/var/spack/repos/builtin.mock/packages/dtlink5/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/dtrun1/package.py b/var/spack/repos/builtin.mock/packages/dtrun1/package.py
index 617d9f3b8a..d4bd5e1056 100644
--- a/var/spack/repos/builtin.mock/packages/dtrun1/package.py
+++ b/var/spack/repos/builtin.mock/packages/dtrun1/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/dtrun2/package.py b/var/spack/repos/builtin.mock/packages/dtrun2/package.py
index 1ba63a2822..4f383ecef1 100644
--- a/var/spack/repos/builtin.mock/packages/dtrun2/package.py
+++ b/var/spack/repos/builtin.mock/packages/dtrun2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/dtrun3/package.py b/var/spack/repos/builtin.mock/packages/dtrun3/package.py
index c1caea1dde..da26455360 100644
--- a/var/spack/repos/builtin.mock/packages/dtrun3/package.py
+++ b/var/spack/repos/builtin.mock/packages/dtrun3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/dttop/package.py b/var/spack/repos/builtin.mock/packages/dttop/package.py
index 120e70e40c..22458206f1 100644
--- a/var/spack/repos/builtin.mock/packages/dttop/package.py
+++ b/var/spack/repos/builtin.mock/packages/dttop/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/dtuse/package.py b/var/spack/repos/builtin.mock/packages/dtuse/package.py
index 0a5836d0f8..223abf412d 100644
--- a/var/spack/repos/builtin.mock/packages/dtuse/package.py
+++ b/var/spack/repos/builtin.mock/packages/dtuse/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/dyninst/package.py b/var/spack/repos/builtin.mock/packages/dyninst/package.py
index 2cf84f94ab..ebaa2afe81 100644
--- a/var/spack/repos/builtin.mock/packages/dyninst/package.py
+++ b/var/spack/repos/builtin.mock/packages/dyninst/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/e/package.py b/var/spack/repos/builtin.mock/packages/e/package.py
index d52db11abe..15aa8fcf83 100644
--- a/var/spack/repos/builtin.mock/packages/e/package.py
+++ b/var/spack/repos/builtin.mock/packages/e/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/ecp-viz-sdk/package.py b/var/spack/repos/builtin.mock/packages/ecp-viz-sdk/package.py
index 76e2718c6f..88d3e8a2a7 100644
--- a/var/spack/repos/builtin.mock/packages/ecp-viz-sdk/package.py
+++ b/var/spack/repos/builtin.mock/packages/ecp-viz-sdk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/extendee/package.py b/var/spack/repos/builtin.mock/packages/extendee/package.py
index 0a17848806..edb2c8dd77 100644
--- a/var/spack/repos/builtin.mock/packages/extendee/package.py
+++ b/var/spack/repos/builtin.mock/packages/extendee/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/extension1/package.py b/var/spack/repos/builtin.mock/packages/extension1/package.py
index 73847753cc..5910fa6c22 100644
--- a/var/spack/repos/builtin.mock/packages/extension1/package.py
+++ b/var/spack/repos/builtin.mock/packages/extension1/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/extension2/package.py b/var/spack/repos/builtin.mock/packages/extension2/package.py
index 29f3c9423e..95998523b1 100644
--- a/var/spack/repos/builtin.mock/packages/extension2/package.py
+++ b/var/spack/repos/builtin.mock/packages/extension2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/external-buildable-with-variant/package.py b/var/spack/repos/builtin.mock/packages/external-buildable-with-variant/package.py
index 06245d6f69..b62fb062bf 100644
--- a/var/spack/repos/builtin.mock/packages/external-buildable-with-variant/package.py
+++ b/var/spack/repos/builtin.mock/packages/external-buildable-with-variant/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/externalmodule/package.py b/var/spack/repos/builtin.mock/packages/externalmodule/package.py
index 675edbc23d..be20d00097 100644
--- a/var/spack/repos/builtin.mock/packages/externalmodule/package.py
+++ b/var/spack/repos/builtin.mock/packages/externalmodule/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/externalprereq/package.py b/var/spack/repos/builtin.mock/packages/externalprereq/package.py
index 595bc8b3b7..07fb361c0c 100644
--- a/var/spack/repos/builtin.mock/packages/externalprereq/package.py
+++ b/var/spack/repos/builtin.mock/packages/externalprereq/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/externaltest/package.py b/var/spack/repos/builtin.mock/packages/externaltest/package.py
index f76863a37b..2c3a3131ac 100644
--- a/var/spack/repos/builtin.mock/packages/externaltest/package.py
+++ b/var/spack/repos/builtin.mock/packages/externaltest/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/externaltool/package.py b/var/spack/repos/builtin.mock/packages/externaltool/package.py
index 114ae2d4a9..26b7e6473c 100644
--- a/var/spack/repos/builtin.mock/packages/externaltool/package.py
+++ b/var/spack/repos/builtin.mock/packages/externaltool/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/externalvirtual/package.py b/var/spack/repos/builtin.mock/packages/externalvirtual/package.py
index aace40767d..6194c42e58 100644
--- a/var/spack/repos/builtin.mock/packages/externalvirtual/package.py
+++ b/var/spack/repos/builtin.mock/packages/externalvirtual/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/failing-build/package.py b/var/spack/repos/builtin.mock/packages/failing-build/package.py
index e95795dcf0..c8ffbf6610 100644
--- a/var/spack/repos/builtin.mock/packages/failing-build/package.py
+++ b/var/spack/repos/builtin.mock/packages/failing-build/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/fake/package.py b/var/spack/repos/builtin.mock/packages/fake/package.py
index 16ff3c6dd6..83ce64e3e5 100644
--- a/var/spack/repos/builtin.mock/packages/fake/package.py
+++ b/var/spack/repos/builtin.mock/packages/fake/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/fetch-options/package.py b/var/spack/repos/builtin.mock/packages/fetch-options/package.py
index 1a31a535e1..3c327010a3 100644
--- a/var/spack/repos/builtin.mock/packages/fetch-options/package.py
+++ b/var/spack/repos/builtin.mock/packages/fetch-options/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/fftw/package.py b/var/spack/repos/builtin.mock/packages/fftw/package.py
index 9adcf1ea0a..e77f8412b3 100644
--- a/var/spack/repos/builtin.mock/packages/fftw/package.py
+++ b/var/spack/repos/builtin.mock/packages/fftw/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/find-externals1/package.py b/var/spack/repos/builtin.mock/packages/find-externals1/package.py
index 9f5f94aaab..21294adf4d 100644
--- a/var/spack/repos/builtin.mock/packages/find-externals1/package.py
+++ b/var/spack/repos/builtin.mock/packages/find-externals1/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/flake8/package.py b/var/spack/repos/builtin.mock/packages/flake8/package.py
index c548ca69b2..3132feaee5 100644
--- a/var/spack/repos/builtin.mock/packages/flake8/package.py
+++ b/var/spack/repos/builtin.mock/packages/flake8/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/flatten-deps/package.py b/var/spack/repos/builtin.mock/packages/flatten-deps/package.py
index a272dfc53c..117a91680b 100644
--- a/var/spack/repos/builtin.mock/packages/flatten-deps/package.py
+++ b/var/spack/repos/builtin.mock/packages/flatten-deps/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/garply/package.py b/var/spack/repos/builtin.mock/packages/garply/package.py
index 289e172c91..9fa13262a7 100644
--- a/var/spack/repos/builtin.mock/packages/garply/package.py
+++ b/var/spack/repos/builtin.mock/packages/garply/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/gcc/package.py b/var/spack/repos/builtin.mock/packages/gcc/package.py
index 7826e1b5cb..a76967c993 100644
--- a/var/spack/repos/builtin.mock/packages/gcc/package.py
+++ b/var/spack/repos/builtin.mock/packages/gcc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/git-svn-top-level/package.py b/var/spack/repos/builtin.mock/packages/git-svn-top-level/package.py
index e9acff3c6d..d249352fe0 100644
--- a/var/spack/repos/builtin.mock/packages/git-svn-top-level/package.py
+++ b/var/spack/repos/builtin.mock/packages/git-svn-top-level/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/git-test/package.py b/var/spack/repos/builtin.mock/packages/git-test/package.py
index 8430966282..da05c42442 100644
--- a/var/spack/repos/builtin.mock/packages/git-test/package.py
+++ b/var/spack/repos/builtin.mock/packages/git-test/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/git-top-level/package.py b/var/spack/repos/builtin.mock/packages/git-top-level/package.py
index ba80263224..e971c1bb93 100644
--- a/var/spack/repos/builtin.mock/packages/git-top-level/package.py
+++ b/var/spack/repos/builtin.mock/packages/git-top-level/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/git-url-svn-top-level/package.py b/var/spack/repos/builtin.mock/packages/git-url-svn-top-level/package.py
index b998c0f014..3e39389a34 100644
--- a/var/spack/repos/builtin.mock/packages/git-url-svn-top-level/package.py
+++ b/var/spack/repos/builtin.mock/packages/git-url-svn-top-level/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/git-url-top-level/package.py b/var/spack/repos/builtin.mock/packages/git-url-top-level/package.py
index d93ead7bee..e51cbe5160 100644
--- a/var/spack/repos/builtin.mock/packages/git-url-top-level/package.py
+++ b/var/spack/repos/builtin.mock/packages/git-url-top-level/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/hash-test1/package.py b/var/spack/repos/builtin.mock/packages/hash-test1/package.py
index c46f2339ba..cf289101a1 100644
--- a/var/spack/repos/builtin.mock/packages/hash-test1/package.py
+++ b/var/spack/repos/builtin.mock/packages/hash-test1/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/hash-test2/package.py b/var/spack/repos/builtin.mock/packages/hash-test2/package.py
index 2358cd66e2..86c2e8bfa0 100644
--- a/var/spack/repos/builtin.mock/packages/hash-test2/package.py
+++ b/var/spack/repos/builtin.mock/packages/hash-test2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/hash-test3/package.py b/var/spack/repos/builtin.mock/packages/hash-test3/package.py
index e943bd46c7..b20778098f 100644
--- a/var/spack/repos/builtin.mock/packages/hash-test3/package.py
+++ b/var/spack/repos/builtin.mock/packages/hash-test3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/hash-test4/package.py b/var/spack/repos/builtin.mock/packages/hash-test4/package.py
index 4b7f4d40c0..9dbc95f746 100644
--- a/var/spack/repos/builtin.mock/packages/hash-test4/package.py
+++ b/var/spack/repos/builtin.mock/packages/hash-test4/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/hdf5/package.py b/var/spack/repos/builtin.mock/packages/hdf5/package.py
index 765a2993b8..6f4d2d1528 100644
--- a/var/spack/repos/builtin.mock/packages/hdf5/package.py
+++ b/var/spack/repos/builtin.mock/packages/hdf5/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/hg-test/package.py b/var/spack/repos/builtin.mock/packages/hg-test/package.py
index 67970d4272..21219d9ce6 100644
--- a/var/spack/repos/builtin.mock/packages/hg-test/package.py
+++ b/var/spack/repos/builtin.mock/packages/hg-test/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/hg-top-level/package.py b/var/spack/repos/builtin.mock/packages/hg-top-level/package.py
index 0f23972592..66d9db91e7 100644
--- a/var/spack/repos/builtin.mock/packages/hg-top-level/package.py
+++ b/var/spack/repos/builtin.mock/packages/hg-top-level/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/hypre/package.py b/var/spack/repos/builtin.mock/packages/hypre/package.py
index bf48afd971..0780fabc97 100644
--- a/var/spack/repos/builtin.mock/packages/hypre/package.py
+++ b/var/spack/repos/builtin.mock/packages/hypre/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/impossible-concretization/package.py b/var/spack/repos/builtin.mock/packages/impossible-concretization/package.py
index bb8ad02b49..bf665087f2 100644
--- a/var/spack/repos/builtin.mock/packages/impossible-concretization/package.py
+++ b/var/spack/repos/builtin.mock/packages/impossible-concretization/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/indirect-mpich/package.py b/var/spack/repos/builtin.mock/packages/indirect-mpich/package.py
index 34bf4c64a0..32f6d79a37 100644
--- a/var/spack/repos/builtin.mock/packages/indirect-mpich/package.py
+++ b/var/spack/repos/builtin.mock/packages/indirect-mpich/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/libdwarf/package.py b/var/spack/repos/builtin.mock/packages/libdwarf/package.py
index 737635a1a5..8714b141b6 100644
--- a/var/spack/repos/builtin.mock/packages/libdwarf/package.py
+++ b/var/spack/repos/builtin.mock/packages/libdwarf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/libelf/package.py b/var/spack/repos/builtin.mock/packages/libelf/package.py
index 6605628965..8625991e5a 100644
--- a/var/spack/repos/builtin.mock/packages/libelf/package.py
+++ b/var/spack/repos/builtin.mock/packages/libelf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/libtool-deletion/package.py b/var/spack/repos/builtin.mock/packages/libtool-deletion/package.py
index 6ca8ce03d8..e70daa7daf 100644
--- a/var/spack/repos/builtin.mock/packages/libtool-deletion/package.py
+++ b/var/spack/repos/builtin.mock/packages/libtool-deletion/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/maintainers-1/package.py b/var/spack/repos/builtin.mock/packages/maintainers-1/package.py
index 4c223548dd..51ee91de21 100644
--- a/var/spack/repos/builtin.mock/packages/maintainers-1/package.py
+++ b/var/spack/repos/builtin.mock/packages/maintainers-1/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/maintainers-2/package.py b/var/spack/repos/builtin.mock/packages/maintainers-2/package.py
index 8121461858..bd94d8df68 100644
--- a/var/spack/repos/builtin.mock/packages/maintainers-2/package.py
+++ b/var/spack/repos/builtin.mock/packages/maintainers-2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/mirror-gnu-broken/package.py b/var/spack/repos/builtin.mock/packages/mirror-gnu-broken/package.py
index d55f57f114..b3a5db11a5 100644
--- a/var/spack/repos/builtin.mock/packages/mirror-gnu-broken/package.py
+++ b/var/spack/repos/builtin.mock/packages/mirror-gnu-broken/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/mirror-gnu/package.py b/var/spack/repos/builtin.mock/packages/mirror-gnu/package.py
index fe94998e8c..0d391aab9b 100644
--- a/var/spack/repos/builtin.mock/packages/mirror-gnu/package.py
+++ b/var/spack/repos/builtin.mock/packages/mirror-gnu/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/mirror-sourceforge-broken/package.py b/var/spack/repos/builtin.mock/packages/mirror-sourceforge-broken/package.py
index be5d6aac16..4a4093539d 100644
--- a/var/spack/repos/builtin.mock/packages/mirror-sourceforge-broken/package.py
+++ b/var/spack/repos/builtin.mock/packages/mirror-sourceforge-broken/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/mirror-sourceforge/package.py b/var/spack/repos/builtin.mock/packages/mirror-sourceforge/package.py
index 6740292576..0997f525ef 100644
--- a/var/spack/repos/builtin.mock/packages/mirror-sourceforge/package.py
+++ b/var/spack/repos/builtin.mock/packages/mirror-sourceforge/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/mirror-sourceware-broken/mirror-gnu-broken/package.py b/var/spack/repos/builtin.mock/packages/mirror-sourceware-broken/mirror-gnu-broken/package.py
index d55f57f114..b3a5db11a5 100644
--- a/var/spack/repos/builtin.mock/packages/mirror-sourceware-broken/mirror-gnu-broken/package.py
+++ b/var/spack/repos/builtin.mock/packages/mirror-sourceware-broken/mirror-gnu-broken/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/mirror-sourceware-broken/package.py b/var/spack/repos/builtin.mock/packages/mirror-sourceware-broken/package.py
index 82c3d99819..2353ce998f 100644
--- a/var/spack/repos/builtin.mock/packages/mirror-sourceware-broken/package.py
+++ b/var/spack/repos/builtin.mock/packages/mirror-sourceware-broken/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/mirror-sourceware/package.py b/var/spack/repos/builtin.mock/packages/mirror-sourceware/package.py
index 31c4ad2ed7..9c6d34b80b 100644
--- a/var/spack/repos/builtin.mock/packages/mirror-sourceware/package.py
+++ b/var/spack/repos/builtin.mock/packages/mirror-sourceware/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/mirror-xorg-broken/package.py b/var/spack/repos/builtin.mock/packages/mirror-xorg-broken/package.py
index 42e9a2be2a..b4f993b232 100644
--- a/var/spack/repos/builtin.mock/packages/mirror-xorg-broken/package.py
+++ b/var/spack/repos/builtin.mock/packages/mirror-xorg-broken/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/mirror-xorg/package.py b/var/spack/repos/builtin.mock/packages/mirror-xorg/package.py
index 513eb90780..bc44e234fd 100644
--- a/var/spack/repos/builtin.mock/packages/mirror-xorg/package.py
+++ b/var/spack/repos/builtin.mock/packages/mirror-xorg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/missing-dependency/package.py b/var/spack/repos/builtin.mock/packages/missing-dependency/package.py
index edad3f0b86..131e15b911 100644
--- a/var/spack/repos/builtin.mock/packages/missing-dependency/package.py
+++ b/var/spack/repos/builtin.mock/packages/missing-dependency/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/mixedversions/package.py b/var/spack/repos/builtin.mock/packages/mixedversions/package.py
index e0c61ed089..0198731c53 100644
--- a/var/spack/repos/builtin.mock/packages/mixedversions/package.py
+++ b/var/spack/repos/builtin.mock/packages/mixedversions/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/module-path-separator/package.py b/var/spack/repos/builtin.mock/packages/module-path-separator/package.py
index 3b4e2ca9d0..c20499754c 100644
--- a/var/spack/repos/builtin.mock/packages/module-path-separator/package.py
+++ b/var/spack/repos/builtin.mock/packages/module-path-separator/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/mpich/package.py b/var/spack/repos/builtin.mock/packages/mpich/package.py
index c84a2cd30d..bcf70d7014 100644
--- a/var/spack/repos/builtin.mock/packages/mpich/package.py
+++ b/var/spack/repos/builtin.mock/packages/mpich/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/mpich2/package.py b/var/spack/repos/builtin.mock/packages/mpich2/package.py
index 8094c64acb..4a4081e002 100644
--- a/var/spack/repos/builtin.mock/packages/mpich2/package.py
+++ b/var/spack/repos/builtin.mock/packages/mpich2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/mpileaks/package.py b/var/spack/repos/builtin.mock/packages/mpileaks/package.py
index 2e2e92d585..db148b3c1f 100644
--- a/var/spack/repos/builtin.mock/packages/mpileaks/package.py
+++ b/var/spack/repos/builtin.mock/packages/mpileaks/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/multi-provider-mpi/package.py b/var/spack/repos/builtin.mock/packages/multi-provider-mpi/package.py
index 69995b7520..41c7df5578 100644
--- a/var/spack/repos/builtin.mock/packages/multi-provider-mpi/package.py
+++ b/var/spack/repos/builtin.mock/packages/multi-provider-mpi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/multimethod-base/package.py b/var/spack/repos/builtin.mock/packages/multimethod-base/package.py
index 142741f2d2..0887774970 100644
--- a/var/spack/repos/builtin.mock/packages/multimethod-base/package.py
+++ b/var/spack/repos/builtin.mock/packages/multimethod-base/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/multimethod-diamond-parent/package.py b/var/spack/repos/builtin.mock/packages/multimethod-diamond-parent/package.py
index cdde98165d..4246dec98d 100644
--- a/var/spack/repos/builtin.mock/packages/multimethod-diamond-parent/package.py
+++ b/var/spack/repos/builtin.mock/packages/multimethod-diamond-parent/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/multimethod-diamond/package.py b/var/spack/repos/builtin.mock/packages/multimethod-diamond/package.py
index 7f29e28411..dc52eb5b19 100644
--- a/var/spack/repos/builtin.mock/packages/multimethod-diamond/package.py
+++ b/var/spack/repos/builtin.mock/packages/multimethod-diamond/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/multimethod-inheritor/package.py b/var/spack/repos/builtin.mock/packages/multimethod-inheritor/package.py
index 563e19dcb7..41807a2710 100644
--- a/var/spack/repos/builtin.mock/packages/multimethod-inheritor/package.py
+++ b/var/spack/repos/builtin.mock/packages/multimethod-inheritor/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/multimethod/package.py b/var/spack/repos/builtin.mock/packages/multimethod/package.py
index 2f0f869de0..1611a79874 100644
--- a/var/spack/repos/builtin.mock/packages/multimethod/package.py
+++ b/var/spack/repos/builtin.mock/packages/multimethod/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/multimodule-inheritance/package.py b/var/spack/repos/builtin.mock/packages/multimodule-inheritance/package.py
index 4343b03fe5..aff94a366e 100644
--- a/var/spack/repos/builtin.mock/packages/multimodule-inheritance/package.py
+++ b/var/spack/repos/builtin.mock/packages/multimodule-inheritance/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/multivalue-variant/package.py b/var/spack/repos/builtin.mock/packages/multivalue-variant/package.py
index 22d0ea1d97..935df71a21 100644
--- a/var/spack/repos/builtin.mock/packages/multivalue-variant/package.py
+++ b/var/spack/repos/builtin.mock/packages/multivalue-variant/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/needs-relocation/package.py b/var/spack/repos/builtin.mock/packages/needs-relocation/package.py
index 681a8a53ed..3382178c48 100644
--- a/var/spack/repos/builtin.mock/packages/needs-relocation/package.py
+++ b/var/spack/repos/builtin.mock/packages/needs-relocation/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/netlib-blas/package.py b/var/spack/repos/builtin.mock/packages/netlib-blas/package.py
index 4a759b6145..a7706740ca 100644
--- a/var/spack/repos/builtin.mock/packages/netlib-blas/package.py
+++ b/var/spack/repos/builtin.mock/packages/netlib-blas/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/netlib-lapack/package.py b/var/spack/repos/builtin.mock/packages/netlib-lapack/package.py
index b9c69bf66c..d10ddfbe8c 100644
--- a/var/spack/repos/builtin.mock/packages/netlib-lapack/package.py
+++ b/var/spack/repos/builtin.mock/packages/netlib-lapack/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/nosource-install/package.py b/var/spack/repos/builtin.mock/packages/nosource-install/package.py
index dc4e2755db..ad2d98f1a0 100644
--- a/var/spack/repos/builtin.mock/packages/nosource-install/package.py
+++ b/var/spack/repos/builtin.mock/packages/nosource-install/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/nosource/package.py b/var/spack/repos/builtin.mock/packages/nosource/package.py
index cfc38fd5ff..f7cd3e5839 100644
--- a/var/spack/repos/builtin.mock/packages/nosource/package.py
+++ b/var/spack/repos/builtin.mock/packages/nosource/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/noversion-bundle/package.py b/var/spack/repos/builtin.mock/packages/noversion-bundle/package.py
index 57c26e1f25..70a73b312c 100644
--- a/var/spack/repos/builtin.mock/packages/noversion-bundle/package.py
+++ b/var/spack/repos/builtin.mock/packages/noversion-bundle/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/noversion/package.py b/var/spack/repos/builtin.mock/packages/noversion/package.py
index e22519fcdf..bda52c5ce2 100644
--- a/var/spack/repos/builtin.mock/packages/noversion/package.py
+++ b/var/spack/repos/builtin.mock/packages/noversion/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/old-sbang/package.py b/var/spack/repos/builtin.mock/packages/old-sbang/package.py
index 3308f91611..305f693c5a 100644
--- a/var/spack/repos/builtin.mock/packages/old-sbang/package.py
+++ b/var/spack/repos/builtin.mock/packages/old-sbang/package.py
@@ -2,10 +2,11 @@
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
-
-
from spack import *
+import spack.paths
+import spack.store
+
class OldSbang(Package):
"""Toy package for testing the old sbang replacement problem"""
@@ -22,12 +23,12 @@ class OldSbang(Package):
#!/usr/bin/env python
{1}
- '''.format(spack.paths.prefix, prefix.bin)
+'''.format(spack.paths.prefix, prefix.bin)
sbang_style_2 = '''#!/bin/sh {0}/bin/sbang
#!/usr/bin/env python
{1}
- '''.format(spack.store.unpadded_root, prefix.bin)
+'''.format(spack.store.unpadded_root, prefix.bin)
with open('%s/sbang-style-1.sh' % self.prefix.bin, 'w') as f:
f.write(sbang_style_1)
diff --git a/var/spack/repos/builtin.mock/packages/openblas-with-lapack/package.py b/var/spack/repos/builtin.mock/packages/openblas-with-lapack/package.py
index 997049af56..9b3e2f0e1f 100644
--- a/var/spack/repos/builtin.mock/packages/openblas-with-lapack/package.py
+++ b/var/spack/repos/builtin.mock/packages/openblas-with-lapack/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/openblas/package.py b/var/spack/repos/builtin.mock/packages/openblas/package.py
index d97e4091a2..8db616e61d 100644
--- a/var/spack/repos/builtin.mock/packages/openblas/package.py
+++ b/var/spack/repos/builtin.mock/packages/openblas/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/optional-dep-test-2/package.py b/var/spack/repos/builtin.mock/packages/optional-dep-test-2/package.py
index 64437ae337..26c0c21635 100644
--- a/var/spack/repos/builtin.mock/packages/optional-dep-test-2/package.py
+++ b/var/spack/repos/builtin.mock/packages/optional-dep-test-2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/optional-dep-test-3/package.py b/var/spack/repos/builtin.mock/packages/optional-dep-test-3/package.py
index 1261a117a9..75b76685c5 100644
--- a/var/spack/repos/builtin.mock/packages/optional-dep-test-3/package.py
+++ b/var/spack/repos/builtin.mock/packages/optional-dep-test-3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/optional-dep-test/package.py b/var/spack/repos/builtin.mock/packages/optional-dep-test/package.py
index 9a39e1a624..1d45139c55 100644
--- a/var/spack/repos/builtin.mock/packages/optional-dep-test/package.py
+++ b/var/spack/repos/builtin.mock/packages/optional-dep-test/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/othervirtual/package.py b/var/spack/repos/builtin.mock/packages/othervirtual/package.py
index c2c091af5c..6ff6822848 100644
--- a/var/spack/repos/builtin.mock/packages/othervirtual/package.py
+++ b/var/spack/repos/builtin.mock/packages/othervirtual/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/override-context-templates/package.py b/var/spack/repos/builtin.mock/packages/override-context-templates/package.py
index 08f4d08828..9d8e0bbbc4 100644
--- a/var/spack/repos/builtin.mock/packages/override-context-templates/package.py
+++ b/var/spack/repos/builtin.mock/packages/override-context-templates/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/override-module-templates/package.py b/var/spack/repos/builtin.mock/packages/override-module-templates/package.py
index 2ed7d0e1e0..3f552a7cb6 100644
--- a/var/spack/repos/builtin.mock/packages/override-module-templates/package.py
+++ b/var/spack/repos/builtin.mock/packages/override-module-templates/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/patch-a-dependency/package.py b/var/spack/repos/builtin.mock/packages/patch-a-dependency/package.py
index cd5c54ad5f..737565e5db 100644
--- a/var/spack/repos/builtin.mock/packages/patch-a-dependency/package.py
+++ b/var/spack/repos/builtin.mock/packages/patch-a-dependency/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/patch-inheritance/package.py b/var/spack/repos/builtin.mock/packages/patch-inheritance/package.py
index 3f7486b878..8cddcf9be1 100644
--- a/var/spack/repos/builtin.mock/packages/patch-inheritance/package.py
+++ b/var/spack/repos/builtin.mock/packages/patch-inheritance/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/patch-several-dependencies/package.py b/var/spack/repos/builtin.mock/packages/patch-several-dependencies/package.py
index 1495910fb9..193a5ed84c 100644
--- a/var/spack/repos/builtin.mock/packages/patch-several-dependencies/package.py
+++ b/var/spack/repos/builtin.mock/packages/patch-several-dependencies/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/patch/package.py b/var/spack/repos/builtin.mock/packages/patch/package.py
index d0283cc33c..06357e28f8 100644
--- a/var/spack/repos/builtin.mock/packages/patch/package.py
+++ b/var/spack/repos/builtin.mock/packages/patch/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/patchelf/package.py b/var/spack/repos/builtin.mock/packages/patchelf/package.py
index 80221e10e8..7fd84d49db 100644
--- a/var/spack/repos/builtin.mock/packages/patchelf/package.py
+++ b/var/spack/repos/builtin.mock/packages/patchelf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/perl-extension/package.py b/var/spack/repos/builtin.mock/packages/perl-extension/package.py
index af60caefd4..48789632bf 100644
--- a/var/spack/repos/builtin.mock/packages/perl-extension/package.py
+++ b/var/spack/repos/builtin.mock/packages/perl-extension/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/perl/package.py b/var/spack/repos/builtin.mock/packages/perl/package.py
index 2f495c1a97..376ea976e2 100644
--- a/var/spack/repos/builtin.mock/packages/perl/package.py
+++ b/var/spack/repos/builtin.mock/packages/perl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/preferred-test/package.py b/var/spack/repos/builtin.mock/packages/preferred-test/package.py
index 55121c76a6..41ee58aeb6 100644
--- a/var/spack/repos/builtin.mock/packages/preferred-test/package.py
+++ b/var/spack/repos/builtin.mock/packages/preferred-test/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/printing-package/package.py b/var/spack/repos/builtin.mock/packages/printing-package/package.py
index 096a49d211..f221123668 100644
--- a/var/spack/repos/builtin.mock/packages/printing-package/package.py
+++ b/var/spack/repos/builtin.mock/packages/printing-package/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/py-extension1/package.py b/var/spack/repos/builtin.mock/packages/py-extension1/package.py
index d596440b78..dce9187505 100644
--- a/var/spack/repos/builtin.mock/packages/py-extension1/package.py
+++ b/var/spack/repos/builtin.mock/packages/py-extension1/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,6 +12,9 @@ class PyExtension1(PythonPackage):
homepage = "http://www.example.com"
url = "http://www.example.com/extension1-1.0.tar.gz"
+ # Override settings in base class
+ maintainers = []
+
version('1.0', 'hash-extension1-1.0')
version('2.0', 'hash-extension1-2.0')
diff --git a/var/spack/repos/builtin.mock/packages/py-extension2/package.py b/var/spack/repos/builtin.mock/packages/py-extension2/package.py
index 08e5d07f37..ddf2036ba6 100644
--- a/var/spack/repos/builtin.mock/packages/py-extension2/package.py
+++ b/var/spack/repos/builtin.mock/packages/py-extension2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,6 +13,9 @@ class PyExtension2(PythonPackage):
homepage = "http://www.example.com"
url = "http://www.example.com/extension2-1.0.tar.gz"
+ # Override settings in base class
+ maintainers = []
+
extends("python")
depends_on('py-extension1', type=('build', 'run'))
diff --git a/var/spack/repos/builtin.mock/packages/py-extension3/package.py b/var/spack/repos/builtin.mock/packages/py-extension3/package.py
index 164aa00339..1c3da0fa2d 100644
--- a/var/spack/repos/builtin.mock/packages/py-extension3/package.py
+++ b/var/spack/repos/builtin.mock/packages/py-extension3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/python/package.py b/var/spack/repos/builtin.mock/packages/python/package.py
index e846572121..9bfaa79d46 100644
--- a/var/spack/repos/builtin.mock/packages/python/package.py
+++ b/var/spack/repos/builtin.mock/packages/python/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/quantum-espresso/package.py b/var/spack/repos/builtin.mock/packages/quantum-espresso/package.py
index 61287ab7c8..c61e1d1842 100644
--- a/var/spack/repos/builtin.mock/packages/quantum-espresso/package.py
+++ b/var/spack/repos/builtin.mock/packages/quantum-espresso/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/quux/package.py b/var/spack/repos/builtin.mock/packages/quux/package.py
index 80508d3b55..7d122328cb 100644
--- a/var/spack/repos/builtin.mock/packages/quux/package.py
+++ b/var/spack/repos/builtin.mock/packages/quux/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/raiser/package.py b/var/spack/repos/builtin.mock/packages/raiser/package.py
index 5337d8b127..9fd15341bf 100644
--- a/var/spack/repos/builtin.mock/packages/raiser/package.py
+++ b/var/spack/repos/builtin.mock/packages/raiser/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/requires-virtual/package.py b/var/spack/repos/builtin.mock/packages/requires-virtual/package.py
index 7c7428b258..00398c4caf 100644
--- a/var/spack/repos/builtin.mock/packages/requires-virtual/package.py
+++ b/var/spack/repos/builtin.mock/packages/requires-virtual/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/simple-inheritance/package.py b/var/spack/repos/builtin.mock/packages/simple-inheritance/package.py
index 8d65570899..68499245e2 100644
--- a/var/spack/repos/builtin.mock/packages/simple-inheritance/package.py
+++ b/var/spack/repos/builtin.mock/packages/simple-inheritance/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/singlevalue-variant-dependent-type/package.py b/var/spack/repos/builtin.mock/packages/singlevalue-variant-dependent-type/package.py
index 8b42a82b8d..8cb60c8d8e 100644
--- a/var/spack/repos/builtin.mock/packages/singlevalue-variant-dependent-type/package.py
+++ b/var/spack/repos/builtin.mock/packages/singlevalue-variant-dependent-type/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/singlevalue-variant-dependent/package.py b/var/spack/repos/builtin.mock/packages/singlevalue-variant-dependent/package.py
index de14faa51f..dcdfb47d60 100644
--- a/var/spack/repos/builtin.mock/packages/singlevalue-variant-dependent/package.py
+++ b/var/spack/repos/builtin.mock/packages/singlevalue-variant-dependent/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/singlevalue-variant/package.py b/var/spack/repos/builtin.mock/packages/singlevalue-variant/package.py
index fa6eca1527..26d05ac296 100644
--- a/var/spack/repos/builtin.mock/packages/singlevalue-variant/package.py
+++ b/var/spack/repos/builtin.mock/packages/singlevalue-variant/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/svn-test/package.py b/var/spack/repos/builtin.mock/packages/svn-test/package.py
index dec6d4a413..92fdf109c9 100644
--- a/var/spack/repos/builtin.mock/packages/svn-test/package.py
+++ b/var/spack/repos/builtin.mock/packages/svn-test/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/svn-top-level/package.py b/var/spack/repos/builtin.mock/packages/svn-top-level/package.py
index 0da7f9656d..204beff171 100644
--- a/var/spack/repos/builtin.mock/packages/svn-top-level/package.py
+++ b/var/spack/repos/builtin.mock/packages/svn-top-level/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/test-dependency/package.py b/var/spack/repos/builtin.mock/packages/test-dependency/package.py
index 70302debd8..513c13aa41 100644
--- a/var/spack/repos/builtin.mock/packages/test-dependency/package.py
+++ b/var/spack/repos/builtin.mock/packages/test-dependency/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/test-error/package.py b/var/spack/repos/builtin.mock/packages/test-error/package.py
index ce36ee7ca3..b50dd1f43f 100644
--- a/var/spack/repos/builtin.mock/packages/test-error/package.py
+++ b/var/spack/repos/builtin.mock/packages/test-error/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/test-fail/package.py b/var/spack/repos/builtin.mock/packages/test-fail/package.py
index 6587ef2bb9..13e5b0608d 100644
--- a/var/spack/repos/builtin.mock/packages/test-fail/package.py
+++ b/var/spack/repos/builtin.mock/packages/test-fail/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/transitive-conditional-virtual-dependency/package.py b/var/spack/repos/builtin.mock/packages/transitive-conditional-virtual-dependency/package.py
index 9b1b66df7f..4710ffc1bb 100644
--- a/var/spack/repos/builtin.mock/packages/transitive-conditional-virtual-dependency/package.py
+++ b/var/spack/repos/builtin.mock/packages/transitive-conditional-virtual-dependency/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/trivial-install-test-package/package.py b/var/spack/repos/builtin.mock/packages/trivial-install-test-package/package.py
index 180eddcd94..995a752b5b 100644
--- a/var/spack/repos/builtin.mock/packages/trivial-install-test-package/package.py
+++ b/var/spack/repos/builtin.mock/packages/trivial-install-test-package/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/trivial-pkg-with-valid-hash/package.py b/var/spack/repos/builtin.mock/packages/trivial-pkg-with-valid-hash/package.py
index 52fd3d99a6..bc02ff6d73 100644
--- a/var/spack/repos/builtin.mock/packages/trivial-pkg-with-valid-hash/package.py
+++ b/var/spack/repos/builtin.mock/packages/trivial-pkg-with-valid-hash/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/url-list-test/package.py b/var/spack/repos/builtin.mock/packages/url-list-test/package.py
index 02e1f4747f..f7c54a3c65 100644
--- a/var/spack/repos/builtin.mock/packages/url-list-test/package.py
+++ b/var/spack/repos/builtin.mock/packages/url-list-test/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/url-only-override-with-gaps/package.py b/var/spack/repos/builtin.mock/packages/url-only-override-with-gaps/package.py
index 5ceaabdfd9..1b797ca3cd 100644
--- a/var/spack/repos/builtin.mock/packages/url-only-override-with-gaps/package.py
+++ b/var/spack/repos/builtin.mock/packages/url-only-override-with-gaps/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/url-only-override/package.py b/var/spack/repos/builtin.mock/packages/url-only-override/package.py
index fdc1584116..9a3d01036f 100644
--- a/var/spack/repos/builtin.mock/packages/url-only-override/package.py
+++ b/var/spack/repos/builtin.mock/packages/url-only-override/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/url-test/package.py b/var/spack/repos/builtin.mock/packages/url-test/package.py
index 1deee5515d..53578d69dc 100644
--- a/var/spack/repos/builtin.mock/packages/url-test/package.py
+++ b/var/spack/repos/builtin.mock/packages/url-test/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/url_override/package.py b/var/spack/repos/builtin.mock/packages/url_override/package.py
index 52eaf47d48..c68fd0edd0 100644
--- a/var/spack/repos/builtin.mock/packages/url_override/package.py
+++ b/var/spack/repos/builtin.mock/packages/url_override/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/v1-provider/package.py b/var/spack/repos/builtin.mock/packages/v1-provider/package.py
index 46b7a99ac9..e4d2fae88e 100644
--- a/var/spack/repos/builtin.mock/packages/v1-provider/package.py
+++ b/var/spack/repos/builtin.mock/packages/v1-provider/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/variant-on-dependency-condition-a/package.py b/var/spack/repos/builtin.mock/packages/variant-on-dependency-condition-a/package.py
index f2687d6043..4b0bb90e99 100644
--- a/var/spack/repos/builtin.mock/packages/variant-on-dependency-condition-a/package.py
+++ b/var/spack/repos/builtin.mock/packages/variant-on-dependency-condition-a/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/variant-on-dependency-condition-b/package.py b/var/spack/repos/builtin.mock/packages/variant-on-dependency-condition-b/package.py
index 7660a42a8e..4c0fceae18 100644
--- a/var/spack/repos/builtin.mock/packages/variant-on-dependency-condition-b/package.py
+++ b/var/spack/repos/builtin.mock/packages/variant-on-dependency-condition-b/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/variant-on-dependency-condition-root/package.py b/var/spack/repos/builtin.mock/packages/variant-on-dependency-condition-root/package.py
index c6ea84b8b2..f7d12261ba 100644
--- a/var/spack/repos/builtin.mock/packages/variant-on-dependency-condition-root/package.py
+++ b/var/spack/repos/builtin.mock/packages/variant-on-dependency-condition-root/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/vdefault-or-external-root/package.py b/var/spack/repos/builtin.mock/packages/vdefault-or-external-root/package.py
index 49011fc458..4413f74e60 100644
--- a/var/spack/repos/builtin.mock/packages/vdefault-or-external-root/package.py
+++ b/var/spack/repos/builtin.mock/packages/vdefault-or-external-root/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/vdefault-or-external/package.py b/var/spack/repos/builtin.mock/packages/vdefault-or-external/package.py
index 80c674917e..975bfd9d22 100644
--- a/var/spack/repos/builtin.mock/packages/vdefault-or-external/package.py
+++ b/var/spack/repos/builtin.mock/packages/vdefault-or-external/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/when-directives-false/package.py b/var/spack/repos/builtin.mock/packages/when-directives-false/package.py
index f701e753de..eec625997b 100644
--- a/var/spack/repos/builtin.mock/packages/when-directives-false/package.py
+++ b/var/spack/repos/builtin.mock/packages/when-directives-false/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/when-directives-true/package.py b/var/spack/repos/builtin.mock/packages/when-directives-true/package.py
index 6f8f7ed7c1..0003f7ed03 100644
--- a/var/spack/repos/builtin.mock/packages/when-directives-true/package.py
+++ b/var/spack/repos/builtin.mock/packages/when-directives-true/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin.mock/packages/zmpi/package.py b/var/spack/repos/builtin.mock/packages/zmpi/package.py
index c9caa9a20f..af3bee6ef3 100644
--- a/var/spack/repos/builtin.mock/packages/zmpi/package.py
+++ b/var/spack/repos/builtin.mock/packages/zmpi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/3dtk/homebrew.patch b/var/spack/repos/builtin/packages/3dtk/homebrew.patch
new file mode 100644
index 0000000000..8a30009da0
--- /dev/null
+++ b/var/spack/repos/builtin/packages/3dtk/homebrew.patch
@@ -0,0 +1,18 @@
+--- a/src/show/CMakeLists.txt 2021-01-14 16:08:27.000000000 -0600
++++ b/src/show/CMakeLists.txt 2021-01-14 20:42:24.000000000 -0600
+@@ -9,13 +9,8 @@
+ find_package(OpenGL REQUIRED)
+ find_package(GLUT REQUIRED)
+ add_definitions(-DWITH_OPENGL)
+- if(APPLE)
+- include_directories(/usr/local/Cellar/glui/2.37/)
+- set(SHOW_LIBS ${SHOW_LIBS} ${GLUT_LIBRARIES} ${OPENGL_LIBRARIES} /usr/local/Cellar/glui/2.37/lib/libglui.a CACHE INTERNAL "")
+- else()
+- include_directories(${PROJECT_SOURCE_DIR}/3rdparty/glui-2.36/include/)
+- set(SHOW_LIBS ${SHOW_LIBS} ${GLUT_LIBRARIES} ${OPENGL_LIBRARIES} glui CACHE INTERNAL "")
+- endif()
++ include_directories(${PROJECT_SOURCE_DIR}/3rdparty/glui-2.36/include/)
++ set(SHOW_LIBS ${SHOW_LIBS} ${GLUT_LIBRARIES} ${OPENGL_LIBRARIES} glui CACHE INTERNAL "")
+ if(WITH_GLEE)
+ message(STATUS "Using opengl extensions")
+ set(SHOW_LIBS ${SHOW_LIBS} glee CACHE INTERNAL "")
diff --git a/var/spack/repos/builtin/packages/3dtk/package.py b/var/spack/repos/builtin/packages/3dtk/package.py
new file mode 100644
index 0000000000..a205bde42c
--- /dev/null
+++ b/var/spack/repos/builtin/packages/3dtk/package.py
@@ -0,0 +1,92 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class _3dtk(CMakePackage):
+ """The 3D Toolkit provides algorithms and methods to process 3D point
+ clouds.
+
+ It includes automatic high-accurate registration (6D simultaneous
+ localization and mapping, 6D SLAM) and other tools, e.g., a fast 3D viewer,
+ plane extraction software, etc. Several file formats for the point clouds
+ are natively supported, new formats can be implemented easily."""
+
+ homepage = "http://slam6d.sourceforge.net/"
+ # Repo seems to be in the process of switching to git:
+ # https://github.com/3DTK/3DTK
+
+ version('trunk', svn='https://svn.code.sf.net/p/slam6d/code/trunk', preferred=True)
+ version('1.2', svn='https://svn.code.sf.net/p/slam6d/code/branches/3dtk-release-1.2')
+
+ variant('cgal', default=False, description='Compile with CGAL support')
+ variant('opengl', default=True, description='Compile with OpenGL support')
+ variant('opencv', default=True, description='Compile with OpenCV support')
+ variant('compact_octree', default=False, description='Whether to use the compact octree display')
+ variant('cuda', default=False, description='Whether to build CUDA accelerated collision detection tools')
+ variant('openmp', default=False, description='Whether to use parallel processing capabilities of OPENMP')
+
+ conflicts('~opencv', when='platform=darwin')
+ conflicts('+compact_octree', when='~opengl')
+
+ generator = 'Ninja'
+
+ depends_on('cmake@3.5:', when='@trunk', type='build')
+ depends_on('cmake@2.6.1:2.999', when='@1.2', type='build')
+ depends_on('ninja', type='build')
+ depends_on('boost+serialization+graph+regex+filesystem+system+thread+date_time+program_options')
+ depends_on('suite-sparse')
+ depends_on('zlib')
+ depends_on('libpng')
+ depends_on('eigen')
+ depends_on('cgal', when='+cgal')
+ depends_on('gl', when='+opengl')
+ depends_on('glew', when='+opengl')
+ depends_on('freeglut', when='+opengl')
+ depends_on('opencv+calib3d+contrib+core+features2d+highgui+imgcodecs+imgproc+ml+videoio', when='+opencv')
+ # Because concretizer is broken
+ depends_on('opencv+flann', when='+opencv')
+ depends_on('cuda', when='+cuda')
+
+ # TODO: add Spack packages for these instead of using vendored copies
+ # depends_on('ann')
+ # depends_on('newmat')
+
+ patch('homebrew.patch', when='platform=darwin')
+
+ def setup_build_environment(self, env):
+ env.prepend_path('CPATH', self.spec['eigen'].prefix.include)
+
+ def cmake_args(self):
+ return [
+ self.define_from_variant('WITH_CGAL', 'cgal'),
+ self.define('WITH_GMP', False),
+ self.define('WITH_LIBZIP', False),
+ self.define_from_variant('WITH_OPENGL', 'opengl'),
+ self.define_from_variant('WITH_OPENCV', 'opencv'),
+ self.define('WITH_QT', False),
+ self.define('WITH_GLFW', False),
+ self.define('WITH_FTGL', False),
+ self.define('WITH_XMLRPC', False),
+ self.define('WITH_LIBCONFIG', False),
+ self.define('WITH_ROS', False),
+ self.define('WITH_PYTHON', False),
+ self.define('WITH_WXWIDGETS', False),
+ self.define_from_variant('WITH_COMPACT_OCTREE', 'compact_octree'),
+ self.define('WITH_GLEE', False),
+ self.define('WITH_LASLIB', False),
+ self.define('WITH_E57', False),
+ self.define('WITH_3DMOUSE', False),
+ self.define_from_variant('WITH_CUDA', 'cuda'),
+ self.define('WITH_RIVLIB', False),
+ self.define('WITH_MICROEPSILONLIB', False),
+ self.define_from_variant('WITH_OPENMP', 'openmp'),
+ self.define('WITH_METRICS', False),
+ self.define('WITH_ADDONS', False),
+ ]
+
+ def install(self, spec, prefix):
+ install_tree('bin', prefix.bin)
diff --git a/var/spack/repos/builtin/packages/3proxy/package.py b/var/spack/repos/builtin/packages/3proxy/package.py
index abad7756c1..41eadd5e18 100644
--- a/var/spack/repos/builtin/packages/3proxy/package.py
+++ b/var/spack/repos/builtin/packages/3proxy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/abduco/package.py b/var/spack/repos/builtin/packages/abduco/package.py
index 0c75a1a0d5..cf548b7afc 100644
--- a/var/spack/repos/builtin/packages/abduco/package.py
+++ b/var/spack/repos/builtin/packages/abduco/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/abi-compliance-checker/package.py b/var/spack/repos/builtin/packages/abi-compliance-checker/package.py
index 6e6b919bb3..61daa12782 100644
--- a/var/spack/repos/builtin/packages/abi-compliance-checker/package.py
+++ b/var/spack/repos/builtin/packages/abi-compliance-checker/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/abi-dumper/package.py b/var/spack/repos/builtin/packages/abi-dumper/package.py
index 73fbba2aa3..23d43e4062 100644
--- a/var/spack/repos/builtin/packages/abi-dumper/package.py
+++ b/var/spack/repos/builtin/packages/abi-dumper/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/abinit/fix_for_fujitsu.patch b/var/spack/repos/builtin/packages/abinit/fix_for_fujitsu.patch
new file mode 100644
index 0000000000..df9e6b4e17
--- /dev/null
+++ b/var/spack/repos/builtin/packages/abinit/fix_for_fujitsu.patch
@@ -0,0 +1,215 @@
+diff -uprN src/43_wvl_wrappers/m_abi2big.F90 src/43_wvl_wrappers/m_abi2big.F90
+--- src/43_wvl_wrappers/m_abi2big.F90 2019-01-17 20:49:35.000000000 +0900
++++ src/43_wvl_wrappers/m_abi2big.F90 2019-05-21 15:05:23.000000000 +0900
+@@ -1333,10 +1333,10 @@ subroutine wvl_setngfft(me_wvl, mgfft, n
+
+ !Arguments ------------------------------------
+ !scalars
+- integer, intent(out) :: mgfft, nfft
++ integer, intent(inout) :: mgfft, nfft
+ integer, intent(in) :: n1i, n2i, n3i,n3d, nproc_wvl, me_wvl
+ !arrays
+- integer, intent(out) :: ngfft(18)
++ integer, intent(inout) :: ngfft(18)
+
+ !Local variables-------------------------------
+ !scalars
+diff -uprN src/43_wvl_wrappers/m_wvl_denspot.F90 src/43_wvl_wrappers/m_wvl_denspot.F90
+--- src/43_wvl_wrappers/m_wvl_denspot.F90 2019-01-17 20:49:32.000000000 +0900
++++ src/43_wvl_wrappers/m_wvl_denspot.F90 2019-05-21 15:06:21.000000000 +0900
+@@ -96,7 +96,7 @@ subroutine wvl_denspot_set(den,gth_param
+ real(dp), intent(in) :: rprimd(3, 3)
+ real(dp), intent(in) :: wvl_frmult,wvl_crmult
+ real(dp), intent(inout) :: xred(3,natom)
+- type(wvl_denspot_type), intent(out) :: den
++ type(wvl_denspot_type), intent(inout) :: den
+ type(wvl_internal_type),intent(in) :: wvl
+ type(pseudopotential_gth_type),intent(in)::gth_params
+
+diff -uprN src/43_wvl_wrappers/m_wvl_wfs.F90 src/43_wvl_wrappers/m_wvl_wfs.F90
+--- src/43_wvl_wrappers/m_wvl_wfs.F90 2019-01-17 20:49:33.000000000 +0900
++++ src/43_wvl_wrappers/m_wvl_wfs.F90 2019-05-21 15:07:08.000000000 +0900
+@@ -103,7 +103,7 @@ subroutine wvl_wfs_set(alphadiis, spinma
+ integer, intent(in) :: natom, nkpt, nsppol, nspinor, nband, nwfshist,me,nproc
+ real(dp), intent(in) :: spinmagntarget, wvl_crmult, wvl_frmult, alphadiis
+ type(pseudopotential_type),intent(in) :: psps
+- type(wvl_wf_type),intent(out) :: wfs
++ type(wvl_wf_type),intent(inout) :: wfs
+ type(wvl_internal_type), intent(in) :: wvl
+ !arrays
+ real(dp), intent(in) :: kpt(3,nkpt)
+diff -uprN src/52_fft_mpi_noabirule/m_fftw3.F90 src/52_fft_mpi_noabirule/m_fftw3.F90
+--- src/52_fft_mpi_noabirule/m_fftw3.F90 2019-01-17 20:49:35.000000000 +0900
++++ src/52_fft_mpi_noabirule/m_fftw3.F90 2019-05-21 15:14:52.000000000 +0900
+@@ -4588,7 +4588,7 @@ subroutine fftw3_mpiback_wf(cplexwf,ndat
+ integer,intent(in) :: cplexwf,ndat,n1,n2,n3,nd1,nd2,nd3proc
+ integer,intent(in) :: max1,max2,max3,m1,m2,m3,md1,md2proc,md3,comm_fft
+ real(dp),intent(in) :: zf(2,md1,md3,md2proc,ndat)
+- real(dp),intent(out) :: zr(2,nd1,nd2,nd3proc,ndat)
++ real(dp),intent(inout) :: zr(2,nd1,nd2,nd3proc,ndat)
+
+ #ifdef HAVE_FFT_FFTW3
+ !Local variables-------------------------------
+@@ -4954,7 +4954,7 @@ subroutine fftw3_mpiforw_wf(cplexwf,ndat
+ integer,intent(in) :: max1,max2,max3,m1,m2,m3,md1,md2proc,md3,comm_fft
+ !arrays
+ real(dp),intent(inout) :: zr(2,nd1,nd2,nd3proc,ndat)
+- real(dp),intent(out) :: zf(2,md1,md3,md2proc,ndat)
++ real(dp),intent(inout) :: zf(2,md1,md3,md2proc,ndat)
+
+ !Local variables-------------------------------
+ !scalars
+@@ -5311,7 +5311,7 @@ subroutine fftw3_mpiback(cplex,ndat,n1,n
+ ! real space input
+ integer,intent(in) :: cplex,ndat,n1,n2,n3,nd1,nd2,nd3,nd1eff,nd2proc,nd3proc,option,comm_fft
+ real(dp),intent(in) :: zf(2,nd1,nd3,nd2proc,ndat)
+- real(dp),intent(out) :: zr(2,nd1eff,nd2,nd3proc,ndat)
++ real(dp),intent(inout) :: zr(2,nd1eff,nd2,nd3proc,ndat)
+
+ !Local variables-------------------------------
+ !scalaras
+@@ -5621,7 +5621,7 @@ subroutine fftw3_mpiforw(cplex,ndat,n1,n
+ integer,intent(in) :: ndat,n1,n2,n3,nd1,nd2,nd3,nd1eff,nd2proc,nd3proc,option
+ !arrays
+ real(dp),intent(in) :: zr(2,nd1eff,nd2,nd3proc,ndat)
+- real(dp),intent(out) :: zf(2,nd1,nd3,nd2proc,ndat)
++ real(dp),intent(inout) :: zf(2,nd1,nd3,nd2proc,ndat)
+
+ !Local variables-------------------------------
+ !scalars
+@@ -6839,7 +6839,7 @@ subroutine fftw3_mpiback_manywf(cplexwf,
+ integer,intent(in) :: cplexwf,ndat,n1,n2,n3,nd1,nd2,nd3proc
+ integer,intent(in) :: max1,max2,max3,m1,m2,m3,md1,md2proc,md3,comm_fft
+ real(dp),intent(in) :: zf(2,md1,md3,md2proc,ndat)
+- real(dp),intent(out) :: zr(2,nd1,nd2,nd3proc,ndat)
++ real(dp),intent(inout) :: zr(2,nd1,nd2,nd3proc,ndat)
+
+ #ifdef HAVE_FFT_FFTW3
+ !Local variables-------------------------------
+@@ -7202,7 +7202,7 @@ subroutine fftw3_mpiforw_manywf(cplexwf,
+ integer,intent(in) :: max1,max2,max3,m1,m2,m3,md1,md2proc,md3,comm_fft
+ !arrays
+ real(dp),intent(inout) :: zr(2,nd1,nd2,nd3proc,ndat)
+- real(dp),intent(out) :: zf(2,md1,md3,md2proc,ndat)
++ real(dp),intent(inout) :: zf(2,md1,md3,md2proc,ndat)
+
+ !Local variables-------------------------------
+ !scalars
+diff -uprN src/62_poisson/m_psolver.F90 src/62_poisson/m_psolver.F90
+--- src/62_poisson/m_psolver.F90 2019-01-17 20:49:26.000000000 +0900
++++ src/62_poisson/m_psolver.F90 2019-05-21 15:09:11.000000000 +0900
+@@ -118,7 +118,7 @@ subroutine psolver_rhohxc(enhartr, enxc,
+ integer,intent(in) :: usexcnhat,usepaw,xclevel
+ real(dp),intent(in) :: rprimd(3,3)
+ real(dp), intent(in) :: xc_denpos
+- real(dp), intent(out) :: enxc, envxc, enhartr, vxcavg
++ real(dp), intent(inout) :: enxc, envxc, enhartr, vxcavg
+ type(mpi_type), intent(in) :: mpi_enreg
+ type(wvl_internal_type), intent(in) :: wvl
+ type(wvl_denspot_type), intent(inout) :: wvl_den
+@@ -128,8 +128,8 @@ subroutine psolver_rhohxc(enhartr, enxc,
+ real(dp),intent(in) :: xccc3d(n3xccc)
+ real(dp),intent(in) :: nhat(nfft,nspden*nhatdim)
+ real(dp),intent(inout) :: rhor(nfft, nspden)
+- real(dp),intent(out) :: vhartr(nfft)
+- real(dp),intent(out) :: vxc(nfft, nspden)
++ real(dp),intent(inout) :: vhartr(nfft)
++ real(dp),intent(inout) :: vxc(nfft, nspden)
+
+ !Local variables-------------------------------
+ #if defined HAVE_BIGDFT
+@@ -577,12 +577,12 @@ subroutine psolver_hartree(enhartr, hgri
+ !Arguments ------------------------------------
+ !scalars
+ integer, intent(in) :: nfft, nspden, icoulomb, usewvl, mpi_comm, me, nproc, nscforder
+- real(dp), intent(out) :: enhartr
++ real(dp), intent(inout) :: enhartr
+ !arrays
+ integer, intent(in) :: ngfft(3)
+ real(dp),intent(in) :: hgrid(3)
+ real(dp),intent(in) :: rhor(nfft,nspden)
+- real(dp),intent(out) :: vhartr(nfft)
++ real(dp),intent(inout) :: vhartr(nfft)
+
+ !Local variables-------------------------------
+ #if defined HAVE_BIGDFT
+diff -uprN src/62_wvl_wfs/m_wvl_psi.F90 src/62_wvl_wfs/m_wvl_psi.F90
+--- src/62_wvl_wfs/m_wvl_psi.F90 2019-01-17 20:49:14.000000000 +0900
++++ src/62_wvl_wfs/m_wvl_psi.F90 2019-05-21 15:10:51.000000000 +0900
+@@ -248,16 +248,16 @@ subroutine wvl_psitohpsi(alphamix,eexctX
+ !scalars
+ integer, intent(in) :: me, nproc, itrp, iter, iscf, natom, nfft, nspden
+ real(dp), intent(in) :: alphamix
+- real(dp), intent(out) :: rpnrm
++ real(dp), intent(inout) :: rpnrm
+ logical, intent(in) :: scf
+ logical, intent(in) :: wvlbigdft
+ type(wvl_data), intent(inout) :: wvl
+ real(dp), intent(inout) :: eexctX,eSIC_DC,ehart,eexcu,vexcu, ekin_sum, epot_sum, eproj_sum
+- real(dp), dimension(6), intent(out) :: xcstr
++ real(dp), dimension(6), intent(inout) :: xcstr
+ real(dp), intent(inout) :: xcart(3, natom)
+ !arrays
+- real(dp),intent(out), optional :: vxc(nfft,nspden)
+- real(dp),intent(out), optional :: vtrial(nfft,nspden)
++ real(dp),intent(inout), optional :: vxc(nfft,nspden)
++ real(dp),intent(inout), optional :: vtrial(nfft,nspden)
+
+ !Local variables-------------------------------
+ !scalars
+@@ -482,7 +482,7 @@ subroutine wvl_tail_corrections(dtset, e
+
+ !Arguments ------------------------------------
+ !scalars
+- real(dp),intent(out) :: etotal
++ real(dp),intent(inout) :: etotal
+ type(MPI_type),intent(in) :: mpi_enreg
+ type(dataset_type),intent(in) :: dtset
+ type(energies_type),intent(inout) :: energies
+diff -uprN src/67_common/m_mklocl_realspace.F90 src/67_common/m_mklocl_realspace.F90
+--- src/67_common/m_mklocl_realspace.F90 2019-01-17 20:49:35.000000000 +0900
++++ src/67_common/m_mklocl_realspace.F90 2019-05-21 15:12:07.000000000 +0900
+@@ -1703,7 +1703,7 @@ subroutine local_forces_wvl(iproc,natom,
+ !arrays
+ real(dp),intent(in) :: rxyz(3,natom)
+ real(dp),dimension(*),intent(in) :: rho,pot
+- real(dp),intent(out) :: floc(3,natom)
++ real(dp),intent(inout) :: floc(3,natom)
+
+ !Local variables -------------------------
+ #if defined HAVE_BIGDFT
+diff -uprN src/67_common/mkcore_wvl.F90 src/67_common/mkcore_wvl.F90
+--- src/67_common/mkcore_wvl.F90 2019-01-17 20:49:30.000000000 +0900
++++ src/67_common/mkcore_wvl.F90 2019-05-21 15:13:04.000000000 +0900
+@@ -138,7 +138,7 @@ subroutine mkcore_wvl(atindx1,corstr,grx
+ integer,intent(in) :: atindx1(natom),nattyp(ntypat)
+ real(dp),intent(in) :: rprimd(3,3),xccc1d(n1xccc,6,ntypat),xcccrc(ntypat),xred(3,natom)
+ real(dp),intent(in),target :: vxc(nfft,nspden)
+- real(dp),intent(out) :: corstr(6),grxc(3,natom)
++ real(dp),intent(inout) :: corstr(6),grxc(3,natom)
+ real(dp),intent(inout) :: xccc3d(n3xccc)
+ type(pawrad_type),intent(in) :: pawrad(:)
+ type(pawtab_type),intent(in) :: pawtab(:)
+@@ -587,8 +587,8 @@ subroutine mkcore_wvl_old(atindx1,corstr
+ real(dp),intent(in) :: psppar(0:4,0:6,ntypat),rprimd(3,3)
+ real(dp),intent(in)::xred(3,natom)
+ real(dp),intent(in)::vxc(nfft,nspden)
+- real(dp),intent(out)::xccc3d(n3xccc)
+- real(dp),intent(out) :: corstr(6),dyfrx2(3,3,natom),grxc(3,natom)
++ real(dp),intent(inout)::xccc3d(n3xccc)
++ real(dp),intent(inout) :: corstr(6),dyfrx2(3,3,natom),grxc(3,natom)
+ type(pawtab_type),intent(in) :: pawtab(ntypat)
+ type(pawrad_type),intent(in) :: pawrad(ntypat)
+
+diff -uprN src/98_main/abinit.F90 src/98_main/abinit.F90
+--- src/98_main/abinit.F90 2019-01-17 20:49:35.000000000 +0900
++++ src/98_main/abinit.F90 2019-08-07 08:29:17.000000000 +0900
+@@ -261,7 +261,7 @@ program abinit
+ open(unit=ab_out,file=filnam(2),form='formatted',status='new', action="write", iomsg=message, iostat=ios)
+ #endif
+ ABI_CHECK(ios == 0, message)
+- rewind (unit=ab_out)
++! rewind (unit=ab_out)
+ codename='ABINIT'//repeat(' ',18)
+ call herald(codename,abinit_version,ab_out)
+ call herald(codename,abinit_version,std_out)
diff --git a/var/spack/repos/builtin/packages/abinit/package.py b/var/spack/repos/builtin/packages/abinit/package.py
index 4378c28213..d62ebe3bbd 100644
--- a/var/spack/repos/builtin/packages/abinit/package.py
+++ b/var/spack/repos/builtin/packages/abinit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -31,6 +31,7 @@ class Abinit(AutotoolsPackage):
url = 'https://www.abinit.org/sites/default/files/packages/abinit-8.6.3.tar.gz'
version('8.10.3', sha256='ed626424b4472b93256622fbb9c7645fa3ffb693d4b444b07d488771ea7eaa75')
+ version('8.10.2', sha256='4ee2e0329497bf16a9b2719fe0536cc50c5d5a07c65e18edaf15ba02251cbb73')
version('8.8.2', sha256='15216703bd56a799a249a112b336d07d733627d3756487a4b1cb48ebb625c3e7')
version('8.6.3', sha256='82e8d071088ab8dc1b3a24380e30b68c544685678314df1213180b449c84ca65')
version('8.2.2', sha256='e43544a178d758b0deff3011c51ef7c957d7f2df2ce8543366d68016af9f3ea1')
@@ -93,6 +94,9 @@ class Abinit(AutotoolsPackage):
# conflicts('+elpa', when='~mpi')
# conflicts('+elpa', when='+scalapack')
+ patch('rm_march_settings.patch')
+ patch('fix_for_fujitsu.patch', level=0, when='%fj')
+
def configure_args(self):
spec = self.spec
@@ -113,10 +117,15 @@ class Abinit(AutotoolsPackage):
if '+mpi' in spec:
# MPI version:
# let the configure script auto-detect MPI support from mpi_prefix
- oapp('--with-mpi-prefix={0}'.format(spec['mpi'].prefix))
oapp('--enable-mpi=yes')
- oapp('--enable-mpi-io=yes')
- oapp('MPIFC={0}/mpifc'.format(spec['mpi'].prefix.bin))
+ if self.spec.satisfies('%fj'):
+ oapp('CC={0}'.format(spec['mpi'].mpicc))
+ oapp('CXX={0}'.format(spec['mpi'].mpicxx))
+ oapp('FC={0}'.format(spec['mpi'].mpifc))
+ else:
+ oapp('--with-mpi-prefix={0}'.format(spec['mpi'].prefix))
+ oapp('--enable-mpi-io=yes')
+ oapp('MPIFC={0}'.format(spec['mpi'].mpifc))
if '~wannier90' in spec:
oapp('--with-dft-flavor=atompaw+libxc')
@@ -173,6 +182,10 @@ class Abinit(AutotoolsPackage):
# dependencies, such as netcdf3 in this case.
oapp('--with-trio-flavor=none')
+ if self.spec.satisfies('%fj'):
+ oapp('FCFLAGS_MODDIR=-M{0}'.format(join_path(
+ self.stage.source_path, 'src/mods')))
+
return options
def check(self):
diff --git a/var/spack/repos/builtin/packages/abinit/rm_march_settings.patch b/var/spack/repos/builtin/packages/abinit/rm_march_settings.patch
new file mode 100644
index 0000000000..3511fd8d7d
--- /dev/null
+++ b/var/spack/repos/builtin/packages/abinit/rm_march_settings.patch
@@ -0,0 +1,74 @@
+--- spack-src/configure.org 2021-01-18 10:12:04.000000000 +0900
++++ spack-src/configure 2021-01-20 20:26:16.000000000 +0900
+@@ -17412,7 +17412,7 @@
+ case "${enable_optim}" in
+ aggressive)
+ enable_optim_opt="aggressive"
+- CFLAGS_OPTIM="-O3 -mtune=native -march=native"
++ CFLAGS_OPTIM="-O3 -mtune=native "
+ ;;
+ safe)
+ enable_optim_opt="safe"
+@@ -17420,7 +17420,7 @@
+ ;;
+ standard)
+ enable_optim_opt="standard"
+- CFLAGS_OPTIM="-O2 -mtune=native -march=native"
++ CFLAGS_OPTIM="-O2 -mtune=native "
+ ;;
+ esac # [case: enable_optim, indent: 2, item: True]
+ ;;
+@@ -17641,7 +17641,7 @@
+ case "${enable_optim}" in
+ aggressive)
+ enable_optim_opt="aggressive"
+- CXXFLAGS_OPTIM="-O3 -mtune=native -march=native"
++ CXXFLAGS_OPTIM="-O3 -mtune=native "
+ ;;
+ safe)
+ enable_optim_opt="safe"
+@@ -17649,7 +17649,7 @@
+ ;;
+ standard)
+ enable_optim_opt="standard"
+- CXXFLAGS_OPTIM="-O2 -mtune=native -march=native"
++ CXXFLAGS_OPTIM="-O2 -mtune=native "
+ ;;
+ esac # [case: enable_optim, indent: 2, item: True]
+ ;;
+@@ -17815,7 +17815,7 @@
+ case "${enable_optim}" in
+ aggressive)
+ enable_optim_opt="aggressive"
+- FCFLAGS_OPTIM="-O3 -mtune=native -march=native -faggressive-function-elimination -fstack-arrays"
++ FCFLAGS_OPTIM="-O3 -mtune=native -faggressive-function-elimination -fstack-arrays"
+ ;;
+ safe)
+ enable_optim_opt="safe"
+@@ -17823,7 +17823,7 @@
+ ;;
+ standard)
+ enable_optim_opt="standard"
+- FCFLAGS_OPTIM="-O2 -mtune=native -march=native"
++ FCFLAGS_OPTIM="-O2 -mtune=native "
+ ;;
+ esac # [case: enable_optim, indent: 4, item: True]
+ ;;
+@@ -17833,7 +17833,7 @@
+ case "${enable_optim}" in
+ aggressive)
+ enable_optim_opt="aggressive"
+- FCFLAGS_OPTIM="-O3 -mtune=native -march=native -funroll-loops -faggressive-function-elimination"
++ FCFLAGS_OPTIM="-O3 -mtune=native -funroll-loops -faggressive-function-elimination"
+ ;;
+ safe)
+ enable_optim_opt="safe"
+@@ -17841,7 +17841,7 @@
+ ;;
+ standard)
+ enable_optim_opt="standard"
+- FCFLAGS_OPTIM="-O2 -mtune=native -march=native"
++ FCFLAGS_OPTIM="-O2 -mtune=native "
+ ;;
+ esac # [case: enable_optim, indent: 4, item: True]
+ ;;
diff --git a/var/spack/repos/builtin/packages/abseil-cpp/package.py b/var/spack/repos/builtin/packages/abseil-cpp/package.py
index 6044757ee3..3722a1a434 100644
--- a/var/spack/repos/builtin/packages/abseil-cpp/package.py
+++ b/var/spack/repos/builtin/packages/abseil-cpp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/abyss/package.py b/var/spack/repos/builtin/packages/abyss/package.py
index c7eddfd835..7269078002 100644
--- a/var/spack/repos/builtin/packages/abyss/package.py
+++ b/var/spack/repos/builtin/packages/abyss/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/accfft/package.py b/var/spack/repos/builtin/packages/accfft/package.py
index 7009695240..ab0f1566e1 100644
--- a/var/spack/repos/builtin/packages/accfft/package.py
+++ b/var/spack/repos/builtin/packages/accfft/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/acct/package.py b/var/spack/repos/builtin/packages/acct/package.py
index 5a0c147f25..40157b3ccf 100644
--- a/var/spack/repos/builtin/packages/acct/package.py
+++ b/var/spack/repos/builtin/packages/acct/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/accumulo/package.py b/var/spack/repos/builtin/packages/accumulo/package.py
index 28dc38de0e..d2f3e293d9 100644
--- a/var/spack/repos/builtin/packages/accumulo/package.py
+++ b/var/spack/repos/builtin/packages/accumulo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ace/package.py b/var/spack/repos/builtin/packages/ace/package.py
index 1f8f58c78f..872b29d683 100644
--- a/var/spack/repos/builtin/packages/ace/package.py
+++ b/var/spack/repos/builtin/packages/ace/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ack/package.py b/var/spack/repos/builtin/packages/ack/package.py
index 1faf0f7a14..3fdb63c767 100644
--- a/var/spack/repos/builtin/packages/ack/package.py
+++ b/var/spack/repos/builtin/packages/ack/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/acl/package.py b/var/spack/repos/builtin/packages/acl/package.py
index 17f916d297..eda6ad84e8 100644
--- a/var/spack/repos/builtin/packages/acl/package.py
+++ b/var/spack/repos/builtin/packages/acl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/acpica-tools/package.py b/var/spack/repos/builtin/packages/acpica-tools/package.py
index 41359bb959..41b595b248 100644
--- a/var/spack/repos/builtin/packages/acpica-tools/package.py
+++ b/var/spack/repos/builtin/packages/acpica-tools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/acpid/package.py b/var/spack/repos/builtin/packages/acpid/package.py
index 15a73f36d4..0415d850d1 100644
--- a/var/spack/repos/builtin/packages/acpid/package.py
+++ b/var/spack/repos/builtin/packages/acpid/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/activeharmony/package.py b/var/spack/repos/builtin/packages/activeharmony/package.py
index 45a55e5600..37c08903ab 100644
--- a/var/spack/repos/builtin/packages/activeharmony/package.py
+++ b/var/spack/repos/builtin/packages/activeharmony/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/activemq/package.py b/var/spack/repos/builtin/packages/activemq/package.py
index 54cff4de32..5c8ed29e02 100644
--- a/var/spack/repos/builtin/packages/activemq/package.py
+++ b/var/spack/repos/builtin/packages/activemq/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/acts/package.py b/var/spack/repos/builtin/packages/acts/package.py
index 476bea3b0f..26d43f4e76 100644
--- a/var/spack/repos/builtin/packages/acts/package.py
+++ b/var/spack/repos/builtin/packages/acts/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -33,8 +33,14 @@ class Acts(CMakePackage, CudaPackage):
git = "https://github.com/acts-project/acts.git"
maintainers = ['HadrienG2']
+ tags = ['hep']
+
# Supported Acts versions
version('master', branch='master')
+ version('5.00.0', commit='df77b91a7d37b8db6ed028a4d737014b5ad86bb7')
+ version('4.01.0', commit='c383bf434ef69939b47e840e0eac0ba632e6af9f')
+ version('4.00.0', commit='ed64b4b88d366b63adc4a8d1afe5bc97aa5751eb')
+ version('3.00.0', commit='e20260fccb469f4253519d3f0ddb3191b7046db3')
version('2.00.0', commit='8708eae2b2ccdf57ab7b451cfbba413daa1fc43c')
version('1.02.1', commit='f6ebeb9a28297ba8c54fd08b700057dd4ff2a311')
version('1.02.0', commit='e69b95acc9a264e63aded7d1714632066e090542')
@@ -98,6 +104,7 @@ class Acts(CMakePackage, CudaPackage):
variant('identification', default=False, description='Build the Identification plugin')
variant('json', default=False, description='Build the Json plugin')
variant('legacy', default=False, description='Build the Legacy package')
+ # FIXME: Cannot build ONNX plugin as Spack doesn't have an ONNX runtime
# FIXME: Cannot build SyCL plugin yet as Spack doesn't have SyCL support
variant('tgeo', default=False, description='Build the TGeo plugin')
@@ -109,19 +116,19 @@ class Acts(CMakePackage, CudaPackage):
# Build dependencies
# FIXME: Use spack's autodiff package once there is one
depends_on('boost @1.62:1.69.99 +program_options +test', when='@:0.10.3')
- depends_on('boost @1.69: +filesystem +program_options +test', when='@0.10.4:')
- depends_on('cmake @3.11:', type='build')
- depends_on('dd4hep @1.10:', when='+dd4hep')
- depends_on('dd4hep @1.10: +geant4', when='+dd4hep +geant4')
- depends_on('eigen @3.2.9:', type='build')
+ depends_on('boost @1.71: +filesystem +program_options +test', when='@0.10.4:')
+ depends_on('cmake @3.14:', type='build')
+ depends_on('dd4hep @1.11:', when='+dd4hep')
+ depends_on('dd4hep @1.11: +geant4', when='+dd4hep +geant4')
+ depends_on('eigen @3.3.7:', type='build')
depends_on('geant4', when='+geant4')
- depends_on('hepmc3@3.1:', when='+hepmc3')
- depends_on('heppdt', when='+hepmc3')
- depends_on('intel-tbb', when='+examples')
+ depends_on('hepmc3 @3.2.1:', when='+hepmc3')
+ depends_on('heppdt', when='+hepmc3 @:4.0')
+ depends_on('intel-tbb @2020.1:', when='+examples')
depends_on('nlohmann-json @3.2.0:', when='@0.14: +json')
depends_on('pythia8', when='+pythia8')
depends_on('root @6.10: cxxstd=14', when='+tgeo @:0.8.0')
- depends_on('root @6.10: cxxstd=17', when='+tgeo @0.8.1:')
+ depends_on('root @6.20: cxxstd=17', when='+tgeo @0.8.1:')
# Some variant combinations do not make sense
conflicts('+autodiff', when='@:1.01')
diff --git a/var/spack/repos/builtin/packages/addrwatch/package.py b/var/spack/repos/builtin/packages/addrwatch/package.py
index 43cc8036f4..d89d0937d0 100644
--- a/var/spack/repos/builtin/packages/addrwatch/package.py
+++ b/var/spack/repos/builtin/packages/addrwatch/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/adept-utils/package.py b/var/spack/repos/builtin/packages/adept-utils/package.py
index b3ea06eac2..c6590cc41a 100644
--- a/var/spack/repos/builtin/packages/adept-utils/package.py
+++ b/var/spack/repos/builtin/packages/adept-utils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/adf/package.py b/var/spack/repos/builtin/packages/adf/package.py
index ca08794d10..fe1419dc4f 100644
--- a/var/spack/repos/builtin/packages/adf/package.py
+++ b/var/spack/repos/builtin/packages/adf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,6 +13,8 @@ class Adf(Package):
theory."""
homepage = "https://www.scm.com/product/adf/"
+ manual_download = True
+
version('2017.113', '666ef15d253b74c707dd14da35e7cf283ca20e21e24ed43cb953fb9d1f2f1e15')
def url_for_version(self, version):
diff --git a/var/spack/repos/builtin/packages/adiak/package.py b/var/spack/repos/builtin/packages/adiak/package.py
index fc343c8d01..efea0d1c46 100644
--- a/var/spack/repos/builtin/packages/adiak/package.py
+++ b/var/spack/repos/builtin/packages/adiak/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/adios/package.py b/var/spack/repos/builtin/packages/adios/package.py
index 3405e03f65..7c2a19f657 100644
--- a/var/spack/repos/builtin/packages/adios/package.py
+++ b/var/spack/repos/builtin/packages/adios/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/adios2/2.7-fix-python-test-deps.patch b/var/spack/repos/builtin/packages/adios2/2.7-fix-python-test-deps.patch
new file mode 100644
index 0000000000..38e689dca1
--- /dev/null
+++ b/var/spack/repos/builtin/packages/adios2/2.7-fix-python-test-deps.patch
@@ -0,0 +1,175 @@
+From 2454aafa08be8a275b2bdba56df1c38460d165ef Mon Sep 17 00:00:00 2001
+From: Chuck Atkins <chuck.atkins@kitware.com>
+Date: Fri, 22 Jan 2021 00:03:15 -0500
+Subject: [PATCH] Fix test dependency options to ignore python when testing is
+ disabled
+
+---
+ CMakeLists.txt | 15 +++------------
+ bindings/Matlab/README.txt | 2 +-
+ cmake/DetectOptions.cmake | 2 +-
+ scripts/conda/adios2/superbuild/CMakeLists.txt | 2 +-
+ scripts/docker/images/centos7/Dockerfile | 2 +-
+ scripts/docker/images/centos8/Dockerfile | 2 +-
+ scripts/docker/images/ubuntu/Dockerfile | 2 +-
+ scripts/runconf/runconf.sh | 2 +-
+ scripts/runconf/runconf_olcf.sh | 6 +++---
+ 9 files changed, 13 insertions(+), 22 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 76e0e8fba..8823bbf87 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -114,6 +114,8 @@ if((NOT BUILD_SHARED_LIBS) AND (NOT DEFINED CMAKE_POSITION_INDEPENDENT_CODE))
+ set(CMAKE_POSITION_INDEPENDENT_CODE ON)
+ endif()
+
++include(CTest)
++
+ adios_option(Blosc "Enable support for Blosc transforms" AUTO)
+ adios_option(BZip2 "Enable support for BZip2 transforms" AUTO)
+ adios_option(ZFP "Enable support for ZFP transforms" AUTO)
+@@ -222,22 +224,11 @@ endif()
+ #------------------------------------------------------------------------------#
+ # Testing
+ #------------------------------------------------------------------------------#
+-if(DEFINED BUILD_TESTING)
+- set(ADIOS2_BUILD_TESTING_DEFAULT ${BUILD_TESTING})
+-else()
+- set(ADIOS2_BUILD_TESTING_DEFAULT ON)
+-endif()
+-unset(BUILD_TESTING)
+-option(ADIOS2_BUILD_TESTING "Build the ADIOS2 testing tree"
+- ${ADIOS2_BUILD_TESTING_DEFAULT})
+-
+ cmake_dependent_option(ADIOS2_RUN_MPI_MPMD_TESTS
+ "Enable the parallel MPMD tests" ON
+- "ADIOS2_BUILD_TESTING;ADIOS2_HAVE_MPI" OFF)
++ "BUILD_TESTING;ADIOS2_HAVE_MPI" OFF)
+ mark_as_advanced(ADIOS2_RUN_MPI_MPMD_TESTS)
+
+-include(CTest)
+-set(BUILD_TESTING ${ADIOS2_BUILD_TESTING})
+ if(BUILD_TESTING)
+ find_program(DIFF_EXECUTABLE diff)
+ if(DIFF_EXECUTABLE)
+diff --git a/bindings/Matlab/README.txt b/bindings/Matlab/README.txt
+index 4b90fac77..f49b057bc 100644
+--- a/bindings/Matlab/README.txt
++++ b/bindings/Matlab/README.txt
+@@ -43,5 +43,5 @@ $ cd <your adios source>
+ $ git pull
+ $ mkdir build.lean
+ $ cd build.lean
+-$ cmake -DCMAKE_INSTALL_PREFIX=/opt/adios/lean -DADIOS2_USE_MPI=OFF -DADIOS2_USE_Fortran=OFF -DADIOS2_USE_Python=OFF -DADIOS2_BUILD_EXAMPLES_EXPERIMENTAL=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DADIOS2_ENABLE_PIC=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DADIOS2_BUILD_TESTING=OFF -DADIOS2_USE_SST=OFF -DADIOS2_USE_BZip2=OFF -DADIOS2_USE_DataMan=OFF ..
++$ cmake -DCMAKE_INSTALL_PREFIX=/opt/adios/lean -DADIOS2_USE_MPI=OFF -DADIOS2_USE_Fortran=OFF -DADIOS2_USE_Python=OFF -DADIOS2_BUILD_EXAMPLES_EXPERIMENTAL=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DADIOS2_ENABLE_PIC=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DBUILD_TESTING=OFF -DADIOS2_USE_SST=OFF -DADIOS2_USE_BZip2=OFF -DADIOS2_USE_DataMan=OFF ..
+
+diff --git a/cmake/DetectOptions.cmake b/cmake/DetectOptions.cmake
+index ca449feee..3b8652d2d 100644
+--- a/cmake/DetectOptions.cmake
++++ b/cmake/DetectOptions.cmake
+@@ -293,7 +293,7 @@ if(Python_FOUND)
+ endif()
+
+ # Even if no python support, we still want the interpreter for tests
+-if(NOT Python_Interpreter_FOUND)
++if(BUILD_TESTING AND NOT Python_Interpreter_FOUND)
+ find_package(Python REQUIRED COMPONENTS Interpreter)
+ endif()
+
+diff --git a/scripts/conda/adios2/superbuild/CMakeLists.txt b/scripts/conda/adios2/superbuild/CMakeLists.txt
+index 75e2ad984..ef0eec25b 100644
+--- a/scripts/conda/adios2/superbuild/CMakeLists.txt
++++ b/scripts/conda/adios2/superbuild/CMakeLists.txt
+@@ -12,7 +12,7 @@ ExternalProject_Add(adios2
+ -DCMAKE_BUILD_TYPE=Release
+ -DBUILD_SHARED_LIBS=ON
+ -DADIOS2_BUILD_EXAMPLES=OFF
+- -DADIOS2_BUILD_TESTING=OFF
++ -DBUILD_TESTING=OFF
+ -DADIOS2_USE_Python=ON
+ -DPYTHON_EXECUTABLE=$ENV{PYTHON}
+ -DADIOS2_USE_MPI=ON
+diff --git a/scripts/docker/images/centos7/Dockerfile b/scripts/docker/images/centos7/Dockerfile
+index 96cb30acb..974bd90eb 100644
+--- a/scripts/docker/images/centos7/Dockerfile
++++ b/scripts/docker/images/centos7/Dockerfile
+@@ -116,7 +116,7 @@ RUN git clone https://github.com/ornladios/adios2.git source && \
+ module load mpi && \
+ cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/opt/adios/${adios_ver_dir} \
+- -DADIOS2_BUILD_TESTING=OFF \
++ -DBUILD_TESTING=OFF \
+ -DADIOS2_BUILD_EXAMPLES=OFF \
+ ../source && \
+ make -j$(grep -c '^processor' /proc/cpuinfo) install && \
+diff --git a/scripts/docker/images/centos8/Dockerfile b/scripts/docker/images/centos8/Dockerfile
+index 01e3af8cb..21a78c913 100644
+--- a/scripts/docker/images/centos8/Dockerfile
++++ b/scripts/docker/images/centos8/Dockerfile
+@@ -116,7 +116,7 @@ RUN git clone https://github.com/ornladios/adios2.git source && \
+ module load mpi && \
+ cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/opt/adios/${adios_ver_dir} \
+- -DADIOS2_BUILD_TESTING=OFF \
++ -DBUILD_TESTING=OFF \
+ -DADIOS2_BUILD_EXAMPLES=OFF \
+ ../source && \
+ make -j$(grep -c '^processor' /proc/cpuinfo) install && \
+diff --git a/scripts/docker/images/ubuntu/Dockerfile b/scripts/docker/images/ubuntu/Dockerfile
+index 1979b81a0..e0f654efb 100644
+--- a/scripts/docker/images/ubuntu/Dockerfile
++++ b/scripts/docker/images/ubuntu/Dockerfile
+@@ -118,7 +118,7 @@ RUN git clone https://github.com/ornladios/adios2.git source && \
+ . /etc/profile && \
+ cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/opt/adios/${adios_ver_dir} \
+- -DADIOS2_BUILD_TESTING=OFF \
++ -DBUILD_TESTING=OFF \
+ -DADIOS2_BUILD_EXAMPLES=OFF \
+ ../source && \
+ make -j$(grep -c '^processor' /proc/cpuinfo) install && \
+diff --git a/scripts/runconf/runconf.sh b/scripts/runconf/runconf.sh
+index 82c3ea21e..ec12ba7ef 100644
+--- a/scripts/runconf/runconf.sh
++++ b/scripts/runconf/runconf.sh
+@@ -46,7 +46,7 @@ cmake -DCMAKE_INSTALL_PREFIX=${PWD}/install \
+ -DBUILD_SHARED_LIBS=ON \
+ -DCMAKE_POSITION_INDEPENDENT_CODE=ON \
+ -DCMAKE_BUILD_TYPE=Release \
+- -DADIOS2_BUILD_TESTING=${VALUE} \
++ -DBUILD_TESTING=${VALUE} \
+ -DADIOS2_BUILD_EXAMPLES=${VALUE} \
+ -DADIOS2_USE_Endian_Reverse=OFF \
+ ${ADIOS2_SOURCE}
+diff --git a/scripts/runconf/runconf_olcf.sh b/scripts/runconf/runconf_olcf.sh
+index 562f9b3dd..3d1ea83bc 100644
+--- a/scripts/runconf/runconf_olcf.sh
++++ b/scripts/runconf/runconf_olcf.sh
+@@ -68,7 +68,7 @@ if [ `hostname | cut -c 1-5` == "titan" ]; then
+ -DADIOS2_USE_Python=OFF \
+ -DADIOS2_BUILD_EXAMPLES_EXPERIMENTAL=OFF \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+- -DADIOS2_BUILD_TESTING=OFF \
++ -DBUILD_TESTING=OFF \
+ ${EXTERNAL_OPTS} \
+ ${SRCDIR}
+
+@@ -118,7 +118,7 @@ elif [ `hostname -f | cut -c 1-9` == "summitdev" ]; then
+ -DADIOS2_USE_Python=OFF \
+ -DADIOS2_BUILD_EXAMPLES_EXPERIMENTAL=OFF \
+ -DCMAKE_BUILD_TYPE=Debug \
+- -DADIOS2_BUILD_TESTING=ON \
++ -DBUILD_TESTING=ON \
+ -DADIOS2_USE_DataMan=OFF \
+ ${EXTERNAL_OPTS} \
+ ${SRCDIR}
+@@ -156,7 +156,7 @@ elif [ `hostname -f | cut -c 1-4` == "rhea" ]; then
+ -DADIOS2_USE_SST=OFF \
+ -DADIOS2_BUILD_EXAMPLES_EXPERIMENTAL=OFF \
+ -DCMAKE_BUILD_TYPE=Debug \
+- -DADIOS2_BUILD_TESTING=ON \
++ -DBUILD_TESTING=ON \
+ -DADIOS2_USE_DataMan=OFF \
+ ${EXTERNAL_OPTS} \
+ ${SRCDIR}
diff --git a/var/spack/repos/builtin/packages/adios2/package.py b/var/spack/repos/builtin/packages/adios2/package.py
index adda8071bd..9bcc8e336f 100644
--- a/var/spack/repos/builtin/packages/adios2/package.py
+++ b/var/spack/repos/builtin/packages/adios2/package.py
@@ -1,9 +1,10 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
+import os
class Adios2(CMakePackage):
@@ -17,6 +18,8 @@ class Adios2(CMakePackage):
maintainers = ['ax3l', 'chuckatkins', 'williamfgc']
version('master', branch='master')
+ version('2.7.1', sha256='c8e237fd51f49d8a62a0660db12b72ea5067512aa7970f3fcf80b70e3f87ca3e')
+ version('2.7.0', sha256='4b5df1a1f92d7ff380416dec7511cfcfe3dc44da27e486ed63c3e6cffb173924')
version('2.6.0', sha256='45b41889065f8b840725928db092848b8a8b8d1bfae1b92e72f8868d1c76216c')
version('2.5.0', sha256='7c8ff3bf5441dd662806df9650c56a669359cb0185ea232ecb3578de7b065329')
version('2.4.0', sha256='50ecea04b1e41c88835b4b3fd4e7bf0a0a2a3129855c9cc4ba6cf6a1575106e2')
@@ -51,7 +54,7 @@ class Adios2(CMakePackage):
# transport engines
variant('sst', default=True,
description='Enable the SST staging engine')
- variant('dataman', default=True,
+ variant('dataman', default=False,
description='Enable the DataMan engine for WAN transports')
variant('dataspaces', default=False,
description='Enable support for DATASPACES')
@@ -96,14 +99,11 @@ class Adios2(CMakePackage):
depends_on('bzip2', when='@2.4: +bzip2')
depends_on('libpng@1.6:', when='@2.4: +png')
depends_on('zfp@0.5.1:', when='+zfp')
- depends_on('sz@:2.0.2.0', when='+sz')
+ depends_on('sz@2.0.2.0:', when='+sz')
extends('python', when='+python')
- depends_on('python@2.7:2.8,3.5:',
- when='@:2.4.0 +python',
- type=('build', 'run'))
- depends_on('python@3.5:', when='@2.5.0: +python',
- type=('build', 'run'))
+ depends_on('python@2.7:2.8,3.5:', when='@:2.4.0 +python', type=('build', 'run'))
+ depends_on('python@3.5:', when='@2.5.0: +python', type=('build', 'run'))
depends_on('python@2.7:2.8,3.5:', when='@:2.4.0', type='test')
depends_on('python@3.5:', when='@2.5.0:', type='test')
depends_on('py-numpy@1.6.1:', type=('build', 'run'), when='+python')
@@ -118,6 +118,10 @@ class Adios2(CMakePackage):
# See https://github.com/ornladios/ADIOS2/pull/1899
patch('2.5-fix-clear_cache.patch', when='@2.5.0')
+ # Fix an unnecessary python dependency when testing is disabled
+ # See https://github.com/ornladios/ADIOS2/pull/2596
+ patch('2.7-fix-python-test-deps.patch', when='@2.5.0:2.7.0')
+
@when('%fj')
def patch(self):
""" add fujitsu mpi commands #16864 """
@@ -139,7 +143,6 @@ class Adios2(CMakePackage):
args = [
'-DBUILD_SHARED_LIBS:BOOL={0}'.format(
'ON' if '+shared' in spec else 'OFF'),
- '-DADIOS2_BUILD_TESTING=OFF',
'-DADIOS2_BUILD_EXAMPLES=OFF',
'-DADIOS2_USE_MPI={0}'.format(
'ON' if '+mpi' in spec else 'OFF'),
@@ -208,3 +211,42 @@ class Adios2(CMakePackage):
% spec['python'].command.path)
return args
+
+ @property
+ def libs(self):
+ spec = self.spec
+ libs_to_seek = set()
+
+ if spec.satisfies('@2.6:'):
+ libs_to_seek.add('libadios2_core')
+ libs_to_seek.add('libadios2_c')
+ libs_to_seek.add('libadios2_cxx11')
+ if '+fortran' in spec:
+ libs_to_seek.add('libadios2_fortran')
+
+ if '+mpi' in spec:
+ libs_to_seek.add('libadios2_core_mpi')
+ libs_to_seek.add('libadios2_c_mpi')
+ libs_to_seek.add('libadios2_cxx11_mpi')
+ if '+fortran' in spec:
+ libs_to_seek.add('libadios2_fortran_mpi')
+
+ if (self.spec.satisfies('@2.7: +shared+hdf5') and
+ self.spec['hdf5'].satisfies('@1.12:')):
+ libs_to_seek.add('libadios2_h5vol')
+
+ else:
+ libs_to_seek.add('libadios2')
+ if '+fortran' in spec:
+ libs_to_seek.add('libadios2_fortran')
+
+ return find_libraries(list(libs_to_seek), root=self.spec.prefix,
+ shared=('+shared' in spec), recursive=True)
+
+ def setup_run_environment(self, env):
+ try:
+ all_libs = self.libs
+ idx = all_libs.basenames.index('libadios2_h5vol.so')
+ env.prepend_path('HDF5_PLUGIN_PATH', os.path.dirname(all_libs[idx]))
+ except ValueError:
+ pass
diff --git a/var/spack/repos/builtin/packages/adlbx/package.py b/var/spack/repos/builtin/packages/adlbx/package.py
index dad534faaa..2d8bc5ad43 100644
--- a/var/spack/repos/builtin/packages/adlbx/package.py
+++ b/var/spack/repos/builtin/packages/adlbx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/admixtools/package.py b/var/spack/repos/builtin/packages/admixtools/package.py
index 5b22451552..8c51a7c5b6 100644
--- a/var/spack/repos/builtin/packages/admixtools/package.py
+++ b/var/spack/repos/builtin/packages/admixtools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/adol-c/package.py b/var/spack/repos/builtin/packages/adol-c/package.py
index def99d8a4e..404a511236 100644
--- a/var/spack/repos/builtin/packages/adol-c/package.py
+++ b/var/spack/repos/builtin/packages/adol-c/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/advancecomp/package.py b/var/spack/repos/builtin/packages/advancecomp/package.py
index 149ff1bdb2..60eaec438b 100644
--- a/var/spack/repos/builtin/packages/advancecomp/package.py
+++ b/var/spack/repos/builtin/packages/advancecomp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/adwaita-icon-theme/package.py b/var/spack/repos/builtin/packages/adwaita-icon-theme/package.py
new file mode 100644
index 0000000000..12fa949887
--- /dev/null
+++ b/var/spack/repos/builtin/packages/adwaita-icon-theme/package.py
@@ -0,0 +1,27 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class AdwaitaIconTheme(AutotoolsPackage):
+ """Mostly private use system icons."""
+
+ homepage = "https://gitlab.gnome.org/GNOME/adwaita-icon-theme"
+ url = "https://ftp.gnome.org/pub/gnome/sources/adwaita-icon-theme/3.38/adwaita-icon-theme-3.38.0.tar.xz"
+
+ version('3.38.0', sha256='6683a1aaf2430ccd9ea638dd4bfe1002bc92b412050c3dba20e480f979faaf97')
+
+ def setup_dependent_build_environment(self, env, dependent_spec):
+ env.prepend_path('XDG_DATA_DIRS', self.prefix.share)
+
+ def setup_dependent_run_environment(self, env, dependent_spec):
+ env.prepend_path('XDG_DATA_DIRS', self.prefix.share)
+
+ def setup_build_environment(self, env):
+ env.prepend_path("XDG_DATA_DIRS", self.prefix.share)
+
+ def setup_run_environment(self, env):
+ env.prepend_path("XDG_DATA_DIRS", self.prefix.share)
diff --git a/var/spack/repos/builtin/packages/aegean/package.py b/var/spack/repos/builtin/packages/aegean/package.py
index eea46740a0..10107663c9 100644
--- a/var/spack/repos/builtin/packages/aegean/package.py
+++ b/var/spack/repos/builtin/packages/aegean/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/aeskeyfind/package.py b/var/spack/repos/builtin/packages/aeskeyfind/package.py
index fdcfad760a..dd681ef218 100644
--- a/var/spack/repos/builtin/packages/aeskeyfind/package.py
+++ b/var/spack/repos/builtin/packages/aeskeyfind/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/aespipe/package.py b/var/spack/repos/builtin/packages/aespipe/package.py
index 70700bbb50..b8975a7472 100644
--- a/var/spack/repos/builtin/packages/aespipe/package.py
+++ b/var/spack/repos/builtin/packages/aespipe/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/agrep/package.py b/var/spack/repos/builtin/packages/agrep/package.py
index dce047ad05..95275764f4 100644
--- a/var/spack/repos/builtin/packages/agrep/package.py
+++ b/var/spack/repos/builtin/packages/agrep/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/aida/package.py b/var/spack/repos/builtin/packages/aida/package.py
index 592387b86b..7a1c1cd294 100644
--- a/var/spack/repos/builtin/packages/aida/package.py
+++ b/var/spack/repos/builtin/packages/aida/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,6 +12,8 @@ class Aida(Package):
homepage = "http://aida.freehep.org/"
url = "ftp://ftp.slac.stanford.edu/software/freehep/AIDA/v3.2.1/aida-3.2.1.tar.gz"
+ tags = ['hep']
+
version('3.2.1', sha256='c51da83e99c0985a7ef3e8bc5a60c3ae61f3ca603b61100c2438b4cdadd5bb2e')
def install(self, spec, prefix):
diff --git a/var/spack/repos/builtin/packages/akantu/package.py b/var/spack/repos/builtin/packages/akantu/package.py
index 939c14483b..dce8862426 100644
--- a/var/spack/repos/builtin/packages/akantu/package.py
+++ b/var/spack/repos/builtin/packages/akantu/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/alan/package.py b/var/spack/repos/builtin/packages/alan/package.py
index fcf0b69f92..9b69a36c92 100644
--- a/var/spack/repos/builtin/packages/alan/package.py
+++ b/var/spack/repos/builtin/packages/alan/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/albany/package.py b/var/spack/repos/builtin/packages/albany/package.py
index c906d898f5..be643e7e86 100644
--- a/var/spack/repos/builtin/packages/albany/package.py
+++ b/var/spack/repos/builtin/packages/albany/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/albert/package.py b/var/spack/repos/builtin/packages/albert/package.py
index 386220fa3a..f92054ead4 100644
--- a/var/spack/repos/builtin/packages/albert/package.py
+++ b/var/spack/repos/builtin/packages/albert/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,6 +14,7 @@ class Albert(MakefilePackage):
url = "https://github.com/kentavv/Albert/archive/v4.0a_opt4.tar.gz"
version('4.0a_opt4', sha256='80b9ee774789c9cd123072523cfb693c443c3624708a58a5af177a51f36b2c79')
+ version('4.0a', sha256='caf49e24fb9bf2a09053d9bf022c4737ffe61d62ce9c6bc32aa03dded2a14913')
depends_on('readline')
diff --git a/var/spack/repos/builtin/packages/alglib/package.py b/var/spack/repos/builtin/packages/alglib/package.py
index 872cbfc6d3..6fe40c6b2f 100644
--- a/var/spack/repos/builtin/packages/alglib/package.py
+++ b/var/spack/repos/builtin/packages/alglib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/allpaths-lg/package.py b/var/spack/repos/builtin/packages/allpaths-lg/package.py
index b0bb49b3a1..9409a69e89 100644
--- a/var/spack/repos/builtin/packages/allpaths-lg/package.py
+++ b/var/spack/repos/builtin/packages/allpaths-lg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/alluxio/package.py b/var/spack/repos/builtin/packages/alluxio/package.py
index a0c9be78b0..50ed750b89 100644
--- a/var/spack/repos/builtin/packages/alluxio/package.py
+++ b/var/spack/repos/builtin/packages/alluxio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/alps/alps_climit.patch b/var/spack/repos/builtin/packages/alps/alps_climit.patch
new file mode 100644
index 0000000000..63a45a069a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/alps/alps_climit.patch
@@ -0,0 +1,11 @@
+diff -u -r -N e/alps/src/alps/osiris/xdrcore.C h/alps/src/alps/osiris/xdrcore.C
+--- e/alps/src/alps/osiris/xdrcore.C 2020-11-04 12:59:46.000000000 +0900
++++ h/alps/src/alps/osiris/xdrcore.C 2020-12-16 11:45:16.000000000 +0900
+@@ -66,6 +66,7 @@
+ #include <stdio.h>
+ #include <string.h>
+ #include <stdlib.h>
++#include <climits>
+
+ #include <alps/osiris/xdrcore.h>
+
diff --git a/var/spack/repos/builtin/packages/alps/alps_cmake_time.patch b/var/spack/repos/builtin/packages/alps/alps_cmake_time.patch
new file mode 100644
index 0000000000..0b64d830bd
--- /dev/null
+++ b/var/spack/repos/builtin/packages/alps/alps_cmake_time.patch
@@ -0,0 +1,11 @@
+--- a/alps/config/run_test.cmake 2020-12-10 10:05:48.925076699 +0900
++++ b/alps/config/run_test.cmake 2020-12-10 11:37:18.180959480 +0900
+@@ -3,7 +3,7 @@
+ # (See accompanying file LICENSE_1_0.txt or copy at
+ # http://www.boost.org/LICENSE_1_0.txt)
+
+-find_program(cmd_path ${cmd} ${binarydir} ${dllexedir})
++find_program(cmd_path ${cmd} ${binarydir} ${dllexedir} NO_SYSTEM_ENVIRONMENT_PATH)
+
+ find_file(input_path ${input}.input ${binarydir} ${sourcedir})
+ if(NOT input_path)
diff --git a/var/spack/repos/builtin/packages/alps/alps_newgcc.patch b/var/spack/repos/builtin/packages/alps/alps_newgcc.patch
new file mode 100644
index 0000000000..27e89ad90f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/alps/alps_newgcc.patch
@@ -0,0 +1,59 @@
+diff -u -r -N a/alps/applications/dmrg/dmrg/dmtk/system.h b/alps/applications/dmrg/dmrg/dmtk/system.h
+--- a/alps/applications/dmrg/dmrg/dmtk/system.h 2020-10-20 15:38:28.000000000 +0900
++++ b/alps/applications/dmrg/dmrg/dmtk/system.h 2020-10-20 15:40:15.000000000 +0900
+@@ -577,8 +577,11 @@
+ {
+ s.write((const char *)&_numsweeps, sizeof(size_t));
+ for(int i = 1; i <= _numsweeps; i++){
+- s.write((const char *)&_sweeps(0,i), sizeof(double));
+- s.write((const char *)&_sweeps(1,i), sizeof(double));
++ double x;
++ x = _sweeps(0,i);
++ s.write((const char *)&x, sizeof(double));
++ x = _sweeps(1,i);
++ s.write((const char *)&x, sizeof(double));
+ }
+ s.write((const char *)&_in_warmup, sizeof(bool));
+ s.write((const char *)&_sweep, sizeof(int));
+diff -u -r -N a/alps/applications/dmrg/mps/framework/dmrg/mp_tensors/twositetensor.hpp b/alps/applications/dmrg/mps/framework/dmrg/mp_tensors/twositetensor.hpp
+--- a/alps/applications/dmrg/mps/framework/dmrg/mp_tensors/twositetensor.hpp 2020-10-20 14:47:06.000000000 +0900
++++ b/alps/applications/dmrg/mps/framework/dmrg/mp_tensors/twositetensor.hpp 2020-10-20 14:47:53.000000000 +0900
+@@ -216,8 +216,8 @@
+ swap(this->left_i, b.left_i);
+ swap(this->right_i, b.right_i);
+ swap(this->data_, b.data_);
+- swap(this->cur_storage, b.cur_storage);
+- swap(this->cur_normalization, b.cur_normalization);
++ this->swap(this->cur_storage, b.cur_storage);
++ this->swap(this->cur_normalization, b.cur_normalization);
+ }
+
+ template<class Matrix, class SymmGroup>
+diff -u -r -N a/alps/applications/qmc/sse4/model.h b/alps/applications/qmc/sse4/model.h
+--- a/alps/applications/qmc/sse4/model.h 2020-10-20 15:12:20.000000000 +0900
++++ b/alps/applications/qmc/sse4/model.h 2020-12-15 14:56:27.000000000 +0900
+@@ -140,11 +140,6 @@
+ return diag_vertex_indices[e_index(state, utype, sites)];
+ }
+
+- double max_diag_me() const
+- {
+- return _max_diag_me;
+- }
+-
+ double c(unsigned unit_type) const
+ {
+ return epsilon + _max_diag_me[unit_type];
+diff -u -r -N a/alps/src/alps/alea/histogram.h b/alps/src/alps/alea/histogram.h
+--- a/alps/src/alps/alea/histogram.h 2020-10-20 14:49:19.000000000 +0900
++++ b/alps/src/alps/alea/histogram.h 2020-12-15 14:56:59.000000000 +0900
+@@ -85,9 +85,7 @@
+ // forward a few things from container
+
+ const_iterator begin() const { return histogram_.begin();}
+- const_iterator rbegin() const { return histogram_.rbegin();}
+ const_iterator end() const { return histogram_.end();}
+- const_iterator rend() const { return histogram_.rend();}
+ size_type size() const { return histogram_.size();}
+ value_type operator[](size_type i) const { return histogram_[i];}
+ value_type at(size_type i) const { return histogram_.at(i);}
diff --git a/var/spack/repos/builtin/packages/alps/package.py b/var/spack/repos/builtin/packages/alps/package.py
index 55df872933..e0a5cb5c16 100644
--- a/var/spack/repos/builtin/packages/alps/package.py
+++ b/var/spack/repos/builtin/packages/alps/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -33,12 +33,18 @@ class Alps(CMakePackage):
depends_on('py-scipy', type=('build', 'run'))
depends_on('py-matplotlib', type=('build', 'run'))
- # build fails with gcc@7:
- conflicts('%gcc@7:')
+ # fix for gcc@7:
+ patch('alps_newgcc.patch', when='%gcc@7:')
# remove a problematic build variable
patch('mpi.patch')
+ # include climits to use INT_MAX
+ patch('alps_climit.patch')
+
+ # ctest tries to test '/usr/bin/time'
+ patch('alps_cmake_time.patch')
+
extends('python')
root_cmakelists_dir = 'alps'
diff --git a/var/spack/repos/builtin/packages/alquimia/package.py b/var/spack/repos/builtin/packages/alquimia/package.py
index d999fb1129..d5ad9e436d 100644
--- a/var/spack/repos/builtin/packages/alquimia/package.py
+++ b/var/spack/repos/builtin/packages/alquimia/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/alsa-lib/package.py b/var/spack/repos/builtin/packages/alsa-lib/package.py
index a267f430e2..69277ddc33 100644
--- a/var/spack/repos/builtin/packages/alsa-lib/package.py
+++ b/var/spack/repos/builtin/packages/alsa-lib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/aluminum/package.py b/var/spack/repos/builtin/packages/aluminum/package.py
index 8b3453dd54..b835019f7a 100644
--- a/var/spack/repos/builtin/packages/aluminum/package.py
+++ b/var/spack/repos/builtin/packages/aluminum/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ import os
from spack import *
-class Aluminum(CMakePackage, CudaPackage):
+class Aluminum(CMakePackage, CudaPackage, ROCmPackage):
"""Aluminum provides a generic interface to high-performance
communication libraries, with a focus on allreduce
algorithms. Blocking and non-blocking algorithms and GPU-aware
@@ -22,6 +22,7 @@ class Aluminum(CMakePackage, CudaPackage):
maintainers = ['bvanessen']
version('master', branch='master')
+ version('0.7.0', sha256='bbb73d2847c56efbe6f99e46b41d837763938483f2e2d1982ccf8350d1148caa')
version('0.6.0', sha256='6ca329951f4c7ea52670e46e5020e7e7879d9b56fed5ff8c5df6e624b313e925')
version('0.5.0', sha256='dc365a5849eaba925355a8efb27005c5f22bcd1dca94aaed8d0d29c265c064c1')
version('0.4.0', sha256='4d6fab5481cc7c994b32fb23a37e9ee44041a9f91acf78f981a97cb8ef57bb7d')
@@ -37,12 +38,19 @@ class Aluminum(CMakePackage, CudaPackage):
' communication of accelerator data')
variant('cuda_rma', default=False, description='Builds with support for CUDA intra-node '
' Put/Get and IPC RMA functionality')
+ variant('rccl', default=False, description='Builds with support for NCCL communication lib')
depends_on('cmake@3.17.0:', type='build')
depends_on('mpi')
depends_on('nccl', when='+nccl')
depends_on('hwloc@1.11:')
+ depends_on('hwloc +cuda +nvml', when='+cuda')
+ depends_on('hwloc@2.3.0:', when='+rocm')
depends_on('cub', when='@:0.1,0.6.0: +cuda ^cuda@:10.99')
+ depends_on('hipcub', when='@:0.1,0.6.0: +rocm')
+
+ conflicts('~cuda', when='+cuda_rma', msg='CUDA RMA support requires CUDA')
+ conflicts('+cuda', when='+rocm', msg='CUDA and ROCm support are mutually exclusive')
generator = 'Ninja'
depends_on('ninja', type='build')
@@ -50,10 +58,15 @@ class Aluminum(CMakePackage, CudaPackage):
def cmake_args(self):
spec = self.spec
args = [
+ '-DCMAKE_CXX_STANDARD=14',
'-DALUMINUM_ENABLE_CUDA:BOOL=%s' % ('+cuda' in spec),
- '-DALUMINUM_ENABLE_NCCL:BOOL=%s' % ('+nccl' in spec)]
+ '-DALUMINUM_ENABLE_NCCL:BOOL=%s' % ('+nccl' in spec or '+rccl' in spec),
+ '-DALUMINUM_ENABLE_ROCM:BOOL=%s' % ('+rocm' in spec)]
+
+ if '+cuda' in spec:
+ args.append('-DCMAKE_CUDA_STANDARD=14')
- if '@0.5:':
+ if spec.satisfies('@0.5:'):
args.extend([
'-DALUMINUM_ENABLE_HOST_TRANSFER:BOOL=%s' % ('+ht' in spec),
'-DALUMINUM_ENABLE_MPI_CUDA:BOOL=%s' %
@@ -76,4 +89,16 @@ class Aluminum(CMakePackage, CudaPackage):
args.extend([
'-DOpenMP_DIR={0}'.format(clang_root)])
+ if '+rocm' in spec:
+ args.extend([
+ '-DHIP_ROOT_DIR={0}'.format(spec['hip'].prefix),
+ '-DHIP_CXX_COMPILER={0}'.format(self.spec['hip'].hipcc)])
+ archs = self.spec.variants['amdgpu_target'].value
+ if archs != 'none':
+ arch_str = ",".join(archs)
+ args.append(
+ '-DHIP_HIPCC_FLAGS=--amdgpu-target={0}'
+ ' -g -fsized-deallocation -fPIC'.format(arch_str)
+ )
+
return args
diff --git a/var/spack/repos/builtin/packages/ambari/package.py b/var/spack/repos/builtin/packages/ambari/package.py
index 796f1a33a6..2348a3c80d 100644
--- a/var/spack/repos/builtin/packages/ambari/package.py
+++ b/var/spack/repos/builtin/packages/ambari/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/amber/package.py b/var/spack/repos/builtin/packages/amber/package.py
index 797d708fbc..abeecd1fa0 100644
--- a/var/spack/repos/builtin/packages/amber/package.py
+++ b/var/spack/repos/builtin/packages/amber/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -22,6 +22,8 @@ class Amber(Package, CudaPackage):
homepage = "http://ambermd.org/"
url = "file://{0}/Amber18.tar.bz2".format(os.getcwd())
+ manual_download = True
+
maintainers = ['hseara']
def url_for_version(self, version):
diff --git a/var/spack/repos/builtin/packages/amdblis/package.py b/var/spack/repos/builtin/packages/amdblis/package.py
index e4657aeb8c..db96b44b39 100644
--- a/var/spack/repos/builtin/packages/amdblis/package.py
+++ b/var/spack/repos/builtin/packages/amdblis/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/amdfftw/package.py b/var/spack/repos/builtin/packages/amdfftw/package.py
index 9e4887ae98..6f9b6d3345 100644
--- a/var/spack/repos/builtin/packages/amdfftw/package.py
+++ b/var/spack/repos/builtin/packages/amdfftw/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/amdlibflame/package.py b/var/spack/repos/builtin/packages/amdlibflame/package.py
index 2a19f6df89..53a1aba516 100644
--- a/var/spack/repos/builtin/packages/amdlibflame/package.py
+++ b/var/spack/repos/builtin/packages/amdlibflame/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/amdlibm/0001-libm-ose-Scripts-cleanup-pyc-files.patch b/var/spack/repos/builtin/packages/amdlibm/0001-libm-ose-Scripts-cleanup-pyc-files.patch
new file mode 100755
index 0000000000..fc084b7d4b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/amdlibm/0001-libm-ose-Scripts-cleanup-pyc-files.patch
@@ -0,0 +1,601 @@
+From edd381260e27226d48108ec7b578c43caf723640 Mon Sep 17 00:00:00 2001
+From: Pranoy Jayaraj <Pranoy.Jayaraj@amd.com>
+Date: Sun, 20 Dec 2020 18:04:38 +0530
+Subject: [PATCH 1/2] libm:ose:Scripts:cleanup pyc files
+
+---
+ SConstruct | 29 +++++++-
+ scripts/cfg/__init__.py | 59 ++++++++---------
+ scripts/cfg/compiler/__init__.py | 109 ++++++++++++++-----------------
+ scripts/cfg/compiler/gcc.py | 105 +++++++++++++++--------------
+ scripts/cfg/compiler/llvm.py | 57 ++++++++++++----
+ scripts/cfg/helper.py | 14 ++++
+ src/SConscript | 3 +
+ 7 files changed, 220 insertions(+), 156 deletions(-)
+
+diff --git a/SConstruct b/SConstruct
+index 79a7695..64150c0 100644
+--- a/SConstruct
++++ b/SConstruct
+@@ -53,6 +53,22 @@ defcfg = DefaultCfg(build_root=Dir('#build', create=True))
+
+ env = defcfg.GetDefaultEnv()
+
++#check intel lib path
++intel_lib_path = None
++libabi = env['libabi']
++if libabi == 'svml':
++ for p in env['ENV']['PATH'].split(':'):
++ if 'intel' in p:
++ intel_lib_path=p
++ break
++
++ if intel_lib_path is None:
++ print ("Error! Intel lib not found")
++ Exit(2)
++ else:
++ print (intel_lib_path)
++ env.Append(INTEL_LIB_PATH = intel_lib_path)
++
+ # Add shared top-level headers
+ env.Prepend(CPPPATH=[Dir('include')])
+
+@@ -98,10 +114,17 @@ targets += amdlibm
+ #
+ # Build Test lib and associated tests
+ #
++
+ testenv = env.Clone()
+-testenv.Append(
+- LIBPATH=['#'+joinpath(build_root,'src')]
+-)
++if libabi == 'svml':
++ testenv.Append(
++ LIBPATH=['#'+joinpath(build_root,'src'), env['INTEL_LIB_PATH']]
++ )
++else:
++ testenv.Append(
++ LIBPATH=['#'+joinpath(build_root,'src')]
++ )
++
+ test_lib_objs = [] # Will fill at a later date
+ test_objs = SConscript(dirs='tests',
+ exports = {'env' : testenv},
+diff --git a/scripts/cfg/__init__.py b/scripts/cfg/__init__.py
+index d4f34eb..b21ed2f 100644
+--- a/scripts/cfg/__init__.py
++++ b/scripts/cfg/__init__.py
+@@ -1,28 +1,7 @@
++# Copyright (C) Prem Mallappa
+ #
+-# Copyright (C) 2008-2020 Advanced Micro Devices, Inc. All rights reserved.
++# Author: Prem Mallappa <prem.mallappa@gmail.com>
+ #
+-# Redistribution and use in source and binary forms, with or without modification,
+-# are permitted provided that the following conditions are met:
+-# 1. Redistributions of source code must retain the above copyright notice,
+-# this list of conditions and the following disclaimer.
+-# 2. 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.
+-# 3. 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 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 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.
+-
+ from os.path import join as joinpath
+ from os import environ
+
+@@ -66,7 +45,9 @@ class DefaultCfg(object):
+ self.defenv = Environment(variables = self.defvars,
+ ENV = {'PATH' : environ['PATH']})
+
+- self.Check()
++ #self.Check()
++ #for key in self.defvars.keys():
++ # print(key)
+
+ def AddOptions(self):
+ opts = cfg.LocalOption()
+@@ -119,6 +100,13 @@ class DefaultCfg(object):
+ --toolchain-base=/usr/local/toolchain/
+ CC will be used as /usr/local/toolchain/bin/gcc if --compiler is gcc""")
+
++ opts.Add('--prefix', dest='prefix', nargs=1, action='callback',
++ type='str',
++ callback=self.__default_store,
++ help="""Specify an install prefix directory
++ the directory will be create if non-existant""")
++
++
+ self.opts = opts
+
+ def AddVariables(self):
+@@ -130,7 +118,7 @@ class DefaultCfg(object):
+ map={}, ignorecase=0), # case sensitive
+ # test abi makes tests to call out for given library call
+ EnumVariable('libabi', 'Test ABI for library function calling', 'aocl',
+- allowed_values=('aocl', 'glibc', 'libm', 'acml','amdlibm'),
++ allowed_values=('aocl', 'glibc', 'libm', 'acml','amdlibm', 'svml'),
+ map={}, ignorecase=2), # lowercase always
+ EnumVariable('developer', 'A developer friendly mode', 0,
+ allowed_values=('0', '1', '2', '3', '4'),
+@@ -140,9 +128,15 @@ class DefaultCfg(object):
+ EnumVariable('compiler', "Select compiler type", 'gcc',
+ allowed_values=('gcc', 'aocc', 'llvm', 'icc'), ignorecase=2),
+
+- PathVariable('toolchain_base', "Use this as toolchain prefix", '/usr/bin')
++ PathVariable('toolchain_base', "Use this as toolchain prefix", '/usr/bin'),
++ PathVariable('prefix', "use this as install prefix", '/usr/local')
+ )
+
++ defvars.Add(PathVariable('CC', help="Custome C compiler", default=None,
++ validator=PathVariable.PathAccept))
++ defvars.Add(PathVariable('CXX', help="Custome C++ compiler", default=None,
++ validator=PathVariable.PathAccept))
++
+ self.defvars = defvars
+
+ def Check(self):
+@@ -154,7 +148,7 @@ class DefaultCfg(object):
+
+ unknown = self.defvars.UnknownVariables()
+ if unknown:
+- print("Unknown variables:", unknown.keys())
++ print("ALM: build: Unknown variables:", unknown.keys())
+ #Exit(1)
+
+ #if debug_mode is mentioned assume build type debug
+@@ -175,14 +169,15 @@ class DefaultCfg(object):
+ env.Append(
+ CPPDEFINES = { 'LIBABI': env['libabi']})
+
+- cmpiler = compiler.gcc.Gcc(self.defenv['build'])
++ cmpiler = compiler.gcc.Gcc(self.defenv['build'],
++ bvars=self.defvars,
++ opts=self.opts)
+ #print(env['compiler'])
+ if env['compiler'] == 'aocc' or env['compiler'] == 'llvm':
+ cmpiler = compiler.llvm.LLVM(self.defenv['build'])
+
+ env.Replace(
+- CXX = cmpiler.CXXCmd(),
+- CC = cmpiler.CCCmd(),
++ CC = cmpiler.Cmd(),
+ CCFLAGS = cmpiler.CFlags(),
+ LINKFLAGS = cmpiler.LDFlags(),
+ )
+@@ -201,6 +196,10 @@ class DefaultCfg(object):
+ CPPDEFINES = {'DEVELOPER' : env['developer']})
+
+ self.defvars.Save(self.def_env_file, env)
++ self.Check()
++
++ env['ENV'].update(environ)
++
+ return env
+
+ def GetHelpTexts(self):
+diff --git a/scripts/cfg/compiler/__init__.py b/scripts/cfg/compiler/__init__.py
+index 60e136a..4383d01 100644
+--- a/scripts/cfg/compiler/__init__.py
++++ b/scripts/cfg/compiler/__init__.py
+@@ -23,77 +23,64 @@
+ # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ # POSSIBILITY OF SUCH DAMAGE.
+
+-class Compiler:
+- def init_env(self):
+- self.env_modifiers = {
+- 'CC' : '',
+- 'CXX' : '',
+- 'CPPFLAGS' : [],
+- 'CFLAGS' : [],
+- 'CXXFLAGS' : [],
+- 'CPPDEFINES' : [],
+- 'LDFLAGS' : []
+- }
++import os
+
+- def CCCmd(self):
+- return self.env_modifiers['CC']
+-
+- def CXXCmd(self):
+- return self.env_modifiers['CXX']
++class Compiler:
++ def __init__(self, prod_mode, bvars = None, opts = None):
++ self.vars = bvars
++ self.opts = opts
++ self.cxxcmd = ''
++ self.cmd = ''
++ self.prod_mode = prod_mode
++ self.compile_flags_debug = [
++ '-g',
++ '-Og',
++ '-march=native',
++ ]
++ self.compile_flags_release = [
++ '-Ofast',
++ '-march=native',
++ '-fipa-pta',
++ '-funsafe-loop-optimizations',
++ '-flto=4',
++ ]
++ self.compile_flag_map = {
++ 'debug': self.compile_flags_debug,
++ 'release' : self.compile_flags_release
++ }
+
+- def CFlags(self):
+- return self.env_modifiers['CFLAGS']
++ self.link_flags_debug = []
+
+- def LDFlags(self):
+- return self.env_modifiers['LDFLAGS']
++ self.link_flags_release = self.compile_flags_release
+
+- def Append(self, d):
+- for key,value in d.items():
+- if isinstance(self.env_modifiers[key], list):
+- self.env_modifiers[key].extend(value)
+- else:
+- self.env_modifiers[key] = value
++ self.link_flag_map = {
++ "debug": self.link_flags_debug,
++ "release": self.link_flags_release
++ }
+
+- def Replace(self, d):
+- self.env_modifiers.update(d)
++ self.cpp_flags_debug = []
+
+- def __init__(self, prod_mode):
+- self.prod_mode = prod_mode
+- self.init_env()
++ self.cpp_flags_release = []
+
+- compile_flags_debug = [
+- '-g',
+- '-Og',
+- #'-march=native',
+- ]
++ self.cpp_flag_map = {
++ "debug": self.cpp_flags_debug,
++ "release": self.cpp_flags_release
++ }
+
+- compile_flags_release = [
+- #'-Ofast',
+- #'-march=native',
+- #'-fipa-pta',
+- #'-funsafe-loop-optimizations',
+- #'-flto=4',
+- #'-fno-strict-aliasing',
+- ]
++ def fixup_from_vars(self):
++ pass
+
+- link_flags_debug = []
+- link_flags_release = compile_flags_release
++ def fixup_from_env(self):
++ if 'CC' in os.environ:
++ self.cmd = os.getenv('CC')
++
++ if 'CXX' in os.environ:
++ self.cxxcmd = os.getenv('CXX')
+
+- cpp_flags_debug = []
+- cpp_flags_release = []
++ if 'CFLAGS' in os.environ:
++ self.compile_flag_map[self.prod_mode]
+
+- pmode = prod_mode.lower()
++ if 'LDFLAGS' in os.environ:
++ self.link_flag_map[self.prod_mode]
+
+- if pmode == "debug" :
+- self.Append({
+- 'CFLAGS' : compile_flags_debug,
+- 'LDFLAGS' : link_flags_debug,
+- 'CPPFLAGS': cpp_flags_debug,}
+- )
+- elif pmode == "release":
+- self.Append({
+- 'CFLAGS' : compile_flags_release,
+- 'LDFLAGS' : link_flags_release,
+- 'CPPFLAGS': cpp_flags_release,}
+- )
+
+diff --git a/scripts/cfg/compiler/gcc.py b/scripts/cfg/compiler/gcc.py
+index c2f8c8e..eb89a73 100644
+--- a/scripts/cfg/compiler/gcc.py
++++ b/scripts/cfg/compiler/gcc.py
+@@ -25,18 +25,36 @@
+
+ from . import Compiler
+ class Gcc(Compiler):
+- def __init__(self, prod_mode):
+- super(Gcc, self).__init__(prod_mode)
+-
+- warnings_cxx = [
+- '-Wctor-dtor-privacy',
+- '-Wnoexcept',
+- '-Wstrict-null-sentinel',
+- '-Wold-style-cast',
+- '-Woverloaded-virtual',
++ def __init__(self, prod_mode, bvars = None, opts = None):
++ super(Gcc, self).__init__(prod_mode, bvars, opts)
++ self.cmd = 'gcc'
++ self.cxxcmd = 'g++'
++ self.compile_flags_debug = [
++ '-g',
++ '-Og',
++ '-march=native',
+ ]
++ self.compile_flags_release = []
++ self.compile_flag_map = {
++ 'debug': self.compile_flags_debug,
++ 'release' : self.compile_flags_release
++ }
++
++ self.link_flags_debug = []
++ self.link_flags_release = self.compile_flags_release
++ self.link_flag_map = {
++ "debug": self.link_flags_debug,
++ "release": self.link_flags_release
++ }
++ self.cpp_flag_map = {
++ "debug": self.cpp_flags_debug,
++ "release": self.cpp_flags_release
++ }
+
+- warnings_c = [
++ self.cpp_flags_debug = []
++ self.cpp_flags_release = []
++
++ self.warnings = [
+ '-Wall',
+ '-Wextra',
+ '-Wpedantic',
+@@ -44,6 +62,7 @@ class Gcc(Compiler):
+ '-Wcast-align',
+ '-Wcast-qual',
+ '-Wconversion',
++ '-Wctor-dtor-privacy',
+ '-Wdisabled-optimization',
+ '-Wdouble-promotion',
+ # '-Weffc++',
+@@ -54,7 +73,10 @@ class Gcc(Compiler):
+ # '-Wlogical-op',
+ '-Wmissing-declarations',
+ '-Wmissing-include-dirs',
++ '-Wnoexcept',
+ '-Wodr',
++ '-Wold-style-cast',
++ '-Woverloaded-virtual',
+ # '-Wpadded',
+ '-Wredundant-decls',
+ '-Wshadow',
+@@ -62,53 +84,40 @@ class Gcc(Compiler):
+ # '-Wsign-promo',
+ # '-Wsuggest-final-methods',
+ # '-Wsuggest-final-types',
+- '-fno-strict-aliasing',
+- # '-Wstrict-overflow=5',
+- # '-Wswitch-default',
+- # -Wswitch-enum needs every switch statement to be handled
+- # explicitly. It would be useful if the language had some
+- # mechanism to activate this on specified switch statements
+- # (to ensure that future changes to the enum are handled
+- # everywhere that they need to be), but it's overkill for an
+- # "all-or-nothing" setting. '-Wswitch-enum',
++ '-Wstrict-null-sentinel',
++ # '-Wstrict-overflow=5',
++ '-Wswitch-default',
++ # -Wswitch-enum needs every switch statement to be handled explicitly.
++ # It would be useful if the language had some mechanism
++ # to activate this on specified switch statements (to ensure that future
++ # changes to the enum are handled everywhere that they need to be), but it's
++ # overkill for an "all-or-nothing" setting.
++ # '-Wswitch-enum',
+ '-Wtrampolines',
+- # '-Wundef',
+- # -Wunsafe-loop-optimizations causes too many spurious warnings. It
+- # may be useful to apply this one periodically and manually
+- # verify the results. It is also issued warning for the
+- # constructor of a const array of const std::string (where
+- # there is no loop in user code).
++ '-Wundef',
++ # -Wunsafe-loop-optimizations causes too many spurious warnings. It may be
++ # useful to apply this one periodically and manually verify the results.
++ # It is also issued warning for the constructor of a const array of const
++ # std::string (where there is no loop in user code).
+ #
+ # '-Wunsafe-loop-optimizations',
+ # -Wuseless-cast is incompatible with BOUNDED_INTEGER_CONDITIONAL
+ # '-Wuseless-cast',
+ '-Wvector-operation-performance',
+- # -Wzero-as-null-pointer-constant does not work with the
+- # operator<=> emulation '-Wzero-as-null-pointer-constant',
++ # -Wzero-as-null-pointer-constant does not work with the operator<=> emulation
++ # '-Wzero-as-null-pointer-constant',
+ '-Werror',
+ '-Wlto-type-mismatch',
+ ]
++ self.fixup_from_env()
+
+
+- # Eventually we should enable all warnings
+- # with compile_flags_release = [] + warnings_c
+- compile_flags_release = []
+- compile_flags_debug = []
+-
+- self.Replace({
+- 'CC' : 'gcc',
+- 'CXX': 'g++',
+- }
+- )
+-
+- if self.prod_mode == "debug":
+- self.Append({
+- 'CFLAGS' : compile_flags_debug,
+- 'CXXFLAGS': warnings_cxx ,
+- })
+- else:
+- self.Append({
+- 'CFLAGS' : compile_flags_release,
+- 'CXXFLAGS': warnings_cxx,
+- })
++ def Cmd(self):
++ return self.cmd
++ def CxxCmd(self):
++ return self.cxxcmd
++ def CFlags(self):
++ return self.compile_flag_map[self.prod_mode]
++ def LDFlags(self):
++ return self.link_flag_map[self.prod_mode]
+
+diff --git a/scripts/cfg/compiler/llvm.py b/scripts/cfg/compiler/llvm.py
+index 0e4c346..b39d341 100644
+--- a/scripts/cfg/compiler/llvm.py
++++ b/scripts/cfg/compiler/llvm.py
+@@ -26,29 +26,58 @@
+ from . import Compiler
+
+ class LLVM(Compiler):
+- def __init__(self, prod_mode):
+- super(LLVM, self).__init__(prod_mode)
+-
+- compile_flags_release = [
+- # fp-contract needed to generate FMA instructions
+- '-ffp-contract=fast',
++ def __init__(self, prod_mode, bvars = None, opts = None):
++ super(LLVM, self).__init__(prod_mode, bvars, opts)
++ self.cmd = 'clang'
++ self.cxxcmd = 'clang++'
++ self.compile_flags_debug = [
++ '-g',
++ '-Og',
++ '-march=native',
++ ]
++ self.compile_flags_release = [
++ '-ffp-contract=fast', # Needed to generate FMA instructions for vector routines
+ #'-Ofast',
+ # '-march=native',
+ # '-fipa-pta',
+ # '-funsafe-loop-optimizations',
+ # '-flto=4',
+ ]
++ self.compile_flag_map = {
++ 'debug': self.compile_flags_debug,
++ 'release' : self.compile_flags_release
++ }
+
+- link_flags_debug = ['-fuse-ld=ld']
+- link_flags_release = ['-fuse-ld=ld']
++ self.link_flags_debug = ['-fuse-ld=ld']
++ self.link_flags_release = ['-fuse-ld=ld']
++
++ self.link_flag_map = {
++ "debug": self.link_flags_debug,
++ "release": self.link_flags_release
++ }
+
+- llvm = {
+- 'CC' : 'clang',
+- 'CXX' : 'clang++',
+- 'CFLAGS' : link_flags_release,
+- 'LDFLAGS' : link_flags_release
++ self.cpp_flag_map = {
++ "debug": self.cpp_flags_debug,
++ "release": self.cpp_flags_release
+ }
+
+- self.Append(llvm)
++ self.cpp_flags_debug = []
++ self.cpp_flags_release = []
++
++ self.warnings = [
++ '-Weverything',
++ ]
++
++ self.fixup_from_env()
++
++ def Cmd(self):
++ return self.cmd
++
++ def CxxCmd(self):
++ return self.cxxcmd
+
++ def CFlags(self):
++ return self.compile_flag_map[self.prod_mode]
+
++ def LDFlags(self):
++ return self.link_flag_map[self.prod_mode]
+diff --git a/scripts/cfg/helper.py b/scripts/cfg/helper.py
+index a0fb991..1d7a01d 100644
+--- a/scripts/cfg/helper.py
++++ b/scripts/cfg/helper.py
+@@ -140,6 +140,18 @@ def UpdateEnvComStr(env):
+ env["SHCCCOMSTR"] = Transform('SHCC')
+ env["SHLINKCOMSTR"] = Transform('SHLINK', hidesrc=True)
+
++
++def MakeInstallRoot(env):
++ """Build root has
++ build/<libabi>-<debug/release/developer>
++ """
++ try:
++ inst = env['prefix']
++ except KeyError:
++ inst = '#install'
++
++ env['INSTALL_PREFIX'] = inst
++
+ def MakeBuildRoot(env):
+ """Build root has
+ build/<libabi>-<debug/release/developer>
+@@ -178,7 +190,9 @@ def SetupConfiguration(env):
+ and puts target into testdir."""
+ #print(env.Dump())
+ MakeBuildRoot(env)
++ MakeInstallRoot(env)
+ UpdateEnvComStr(env)
++ env['compiler'] = GetOption('compiler')
+
+ if env['debug_mode'] != 'no':
+ env.Append(CPPDEFINES = {'DEBUG': '1'})
+diff --git a/src/SConscript b/src/SConscript
+index 0fe4e19..32d6b83 100644
+--- a/src/SConscript
++++ b/src/SConscript
+@@ -27,6 +27,7 @@
+ Import('env')
+ from os.path import join as joinpath
+
++installdir = env['prefix']
+ builddir = joinpath(env['BUILDROOT'], 'src')
+
+ e = env.Clone()
+@@ -73,6 +74,8 @@ libm = almenv.StaticLibrary('alm', alm_objs)
+ libmso = almenv.SharedLibrary('alm', alm_objs)
+
+
++almenv.Alias("install", almenv.Install(joinpath(installdir, "lib"), [libmso, libm]))
++
+ fast_libm = SConscript('fast/SConscript',
+ exports = {'env' : e},
+ duplicate = 0,
+--
+2.28.0
+
diff --git a/var/spack/repos/builtin/packages/amdlibm/0002-libm-ose-prevent-log-v3.c-from-building.patch b/var/spack/repos/builtin/packages/amdlibm/0002-libm-ose-prevent-log-v3.c-from-building.patch
new file mode 100755
index 0000000000..b540f1cda3
--- /dev/null
+++ b/var/spack/repos/builtin/packages/amdlibm/0002-libm-ose-prevent-log-v3.c-from-building.patch
@@ -0,0 +1,25 @@
+From 5ade2f2eb1745f1d09281044e44b3272f01eb5ed Mon Sep 17 00:00:00 2001
+From: Prem Mallappa <Premachandra.Mallappa@amd.com>
+Date: Tue, 22 Dec 2020 21:03:57 +0530
+Subject: [PATCH 2/2] libm: ose: prevent log-v3.c from building
+
+Signed-off-by: Prem Mallappa <Premachandra.Mallappa@amd.com>
+---
+ src/optmized/SConscript | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/optmized/SConscript b/src/optmized/SConscript
+index a614e9b..412dbdf 100644
+--- a/src/optmized/SConscript
++++ b/src/optmized/SConscript
+@@ -67,6 +67,7 @@ else:
+
+ experiment_src=[
+ 'expm1f.c',
++ 'log_v3.c',
+ ]
+
+ source = Glob('*.c', exclude=experiment_src)
+--
+2.28.0
+
diff --git a/var/spack/repos/builtin/packages/amdlibm/package.py b/var/spack/repos/builtin/packages/amdlibm/package.py
new file mode 100644
index 0000000000..f00b8cb968
--- /dev/null
+++ b/var/spack/repos/builtin/packages/amdlibm/package.py
@@ -0,0 +1,72 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+import os
+
+
+class Amdlibm(SConsPackage):
+ """AMD LibM is a software library containing a collection of basic math
+ functions optimized for x86-64 processor-based machines. It provides
+ many routines from the list of standard C99 math functions.
+ Applications can link into AMD LibM library and invoke math functions
+ instead of compiler's math functions for better accuracy and
+ performance."""
+
+ homepage = "https://developer.amd.com/amd-aocl/amd-math-library-libm/"
+ git = "https://github.com/amd/aocl-libm-ose.git"
+ maintainers = ["amd-toolchain-support"]
+
+ # If a user who doesn't specify a version
+ # amdlibm installed for commit ID:4033e02
+ # of master branch.
+ # To install amdlibm from latest master branch:
+ # spack install amdlibm ^amdlibm@master
+ version("master", branch="master")
+ version("20201104",
+ commit="4033e022da428125747e118ccd6fdd9cee21c470",
+ preferred=True)
+
+ variant("verbose", default=False,
+ description="Building with verbosity")
+
+ # Mandatory dependencies
+ depends_on("python@3.6.1:", type=("build", "run"))
+ depends_on("scons@3.1.2:", type=("build"))
+ depends_on("mpfr", type=("link"))
+
+ patch('0001-libm-ose-Scripts-cleanup-pyc-files.patch')
+ patch('0002-libm-ose-prevent-log-v3.c-from-building.patch')
+
+ conflicts("%gcc@:9.1.999", msg="Minimum required GCC version is 9.2.0")
+
+ def build_args(self, spec, prefix):
+ """Setting build arguments for amdlibm """
+ args = ["--prefix={0}".format(prefix)]
+
+ if "%aocc" in spec:
+ args.append("--compiler=aocc")
+
+ # we are circumventing the use of
+ # Spacks compiler wrappers because
+ # SCons wipes out all environment variables.
+ args.append("CC={0}".format(self.compiler.cc))
+ args.append("CXX={0}".format(self.compiler.cxx))
+
+ if "+verbose" in spec:
+ args.append("verbose=1")
+ else:
+ args.append("verbose=0")
+
+ return args
+
+ install_args = build_args
+
+ @run_after('install')
+ def create_symlink(self):
+ """Symbolic link for backward compatibility"""
+ with working_dir(self.prefix.lib):
+ os.symlink('libalm.a', 'libamdlibm.a')
+ os.symlink('libalm.so', 'libamdlibm.so')
diff --git a/var/spack/repos/builtin/packages/amdscalapack/package.py b/var/spack/repos/builtin/packages/amdscalapack/package.py
index 270641c020..268e1a2827 100644
--- a/var/spack/repos/builtin/packages/amdscalapack/package.py
+++ b/var/spack/repos/builtin/packages/amdscalapack/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/amg/package.py b/var/spack/repos/builtin/packages/amg/package.py
index c2817f161b..19b71ef398 100644
--- a/var/spack/repos/builtin/packages/amg/package.py
+++ b/var/spack/repos/builtin/packages/amg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/amg2013/package.py b/var/spack/repos/builtin/packages/amg2013/package.py
index a63a6a4bac..547e308b53 100644
--- a/var/spack/repos/builtin/packages/amg2013/package.py
+++ b/var/spack/repos/builtin/packages/amg2013/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/amgx/package.py b/var/spack/repos/builtin/packages/amgx/package.py
index c03f3599df..ed9e939086 100644
--- a/var/spack/repos/builtin/packages/amgx/package.py
+++ b/var/spack/repos/builtin/packages/amgx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/aml/package.py b/var/spack/repos/builtin/packages/aml/package.py
index 922d24a36f..a29e587a45 100644
--- a/var/spack/repos/builtin/packages/aml/package.py
+++ b/var/spack/repos/builtin/packages/aml/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/amp/package.py b/var/spack/repos/builtin/packages/amp/package.py
index 62b9b2fee3..835ee20f3b 100644
--- a/var/spack/repos/builtin/packages/amp/package.py
+++ b/var/spack/repos/builtin/packages/amp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ampliconnoise/package.py b/var/spack/repos/builtin/packages/ampliconnoise/package.py
index 20e1f8100c..0ac85a33e9 100644
--- a/var/spack/repos/builtin/packages/ampliconnoise/package.py
+++ b/var/spack/repos/builtin/packages/ampliconnoise/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/amrex/package.py b/var/spack/repos/builtin/packages/amrex/package.py
index 4ded35c18d..1841123e5e 100644
--- a/var/spack/repos/builtin/packages/amrex/package.py
+++ b/var/spack/repos/builtin/packages/amrex/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -6,7 +6,7 @@
from spack import *
-class Amrex(CMakePackage):
+class Amrex(CMakePackage, CudaPackage, ROCmPackage):
"""AMReX is a publicly available software framework designed
for building massively parallel block- structured adaptive
mesh refinement (AMR) applications."""
@@ -18,6 +18,9 @@ class Amrex(CMakePackage):
maintainers = ['mic84', 'asalmgren']
version('develop', branch='development')
+ version('21.02', sha256='4a7ef997c43f9f03f1b06dd1aafa01218773a3265a5c1811f77eb4521b5e75b3')
+ version('21.01', sha256='59de3ed429347ee6a7ad4f09c0c431248f2e081f59c301db37cacb36993622f4')
+ version('20.12', sha256='a8ba1d605780250da77619939582ce44b33cd286f2dbcc0dfd5cdbaf209140a5')
version('20.11', sha256='b86f4f2ebf414cec050e562d4ab81545944bda581b496d69767b4bf6a3060855')
version('20.10', sha256='92def480d1f0bcb5bcb9dfae2ddc8997060414386a1d71ccbfdad785fa2e46fa')
version('20.09', sha256='3ae203f18656117d8201da16e899a6144ec217817a2a5d9b7649e2eef9cacdf9')
@@ -57,9 +60,6 @@ class Amrex(CMakePackage):
description='Build data services')
variant('particles', default=False,
description='Build particle classes')
- variant('build_type', default='Release',
- description='The build type to build',
- values=('Debug', 'Release'))
variant('sundials', default=False,
description='Build AMReX with SUNDIALS support')
variant('hdf5', default=False,
@@ -68,8 +68,8 @@ class Amrex(CMakePackage):
description='Enable Hypre interfaces')
variant('petsc', default=False,
description='Enable PETSc interfaces')
- variant('cuda', default=False,
- description='Enable CUDA interfaces')
+ variant('pic', default=False,
+ description='Enable PIC')
# Build dependencies
depends_on('mpi', when='+mpi')
@@ -79,12 +79,18 @@ class Amrex(CMakePackage):
depends_on('cmake@3.5:', type='build', when='@:18.10.99')
depends_on('cmake@3.13:', type='build', when='@18.11:')
depends_on('cmake@3.14:', type='build', when='@19.04:')
+ # cmake @3.17: is necessary to handle cuda @11: correctly
+ depends_on('cmake@3.17:', type='build', when='^cuda @11:')
+ depends_on('hdf5@1.10.4: +mpi', when='+hdf5')
+ depends_on('rocrand', type='build', when='+rocm')
conflicts('%apple-clang')
conflicts('%clang')
# Check options compatibility
conflicts('+sundials', when='~fortran',
msg='AMReX SUNDIALS support needs AMReX Fortran API (+fortran)')
+ conflicts('+sundials', when='@20.12:',
+ msg='AMReX >= 20.12 no longer supports SUNDIALS interfaces')
conflicts('+hdf5', when='@:20.06',
msg='AMReX HDF5 support needs AMReX newer than version 20.06')
conflicts('+hypre', when='@:20.06',
@@ -99,6 +105,18 @@ class Amrex(CMakePackage):
msg='AMReX PETSc support needs AMReX Fortran API (+fortran)')
conflicts('+petsc', when='~linear_solvers',
msg='AMReX PETSc support needs variant +linear_solvers')
+ conflicts('+cuda', when='@:19.08',
+ msg='AMReX CUDA support needs AMReX newer than version 19.08')
+ conflicts('cuda_arch=10', when='+cuda', msg='AMReX only supports compute capabilities >= 3.5')
+ conflicts('cuda_arch=11', when='+cuda', msg='AMReX only supports compute capabilities >= 3.5')
+ conflicts('cuda_arch=12', when='+cuda', msg='AMReX only supports compute capabilities >= 3.5')
+ conflicts('cuda_arch=13', when='+cuda', msg='AMReX only supports compute capabilities >= 3.5')
+ conflicts('cuda_arch=20', when='+cuda', msg='AMReX only supports compute capabilities >= 3.5')
+ conflicts('cuda_arch=21', when='+cuda', msg='AMReX only supports compute capabilities >= 3.5')
+ conflicts('cuda_arch=30', when='+cuda', msg='AMReX only supports compute capabilities >= 3.5')
+ conflicts('cuda_arch=32', when='+cuda', msg='AMReX only supports compute capabilities >= 3.5')
+ conflicts('+rocm', when='@:20.11', msg='AMReX HIP support needs AMReX newer than version 20.11')
+ conflicts('+cuda', when='+rocm', msg='CUDA and HIP support are exclusive')
def url_for_version(self, version):
if version >= Version('20.05'):
@@ -107,6 +125,14 @@ class Amrex(CMakePackage):
url = "https://github.com/AMReX-Codes/amrex/archive/{0}.tar.gz"
return url.format(version.dotted)
+ def get_cuda_arch_string(self, values):
+ if 'none' in values:
+ return 'Auto'
+ else:
+ # Use format x.y instead of CudaPackage xy format
+ vf = tuple(float(x) / 10.0 for x in values)
+ return ';'.join(str(x) for x in vf)
+
#
# For versions <= 20.11
#
@@ -133,9 +159,14 @@ class Amrex(CMakePackage):
self.define_from_variant('ENABLE_PETSC', 'petsc'),
self.define_from_variant('ENABLE_CUDA', 'cuda'),
]
+
if self.spec.satisfies('%fj'):
args.append('-DCMAKE_Fortran_MODDIR_FLAG=-M')
+ if '+cuda' in self.spec:
+ cuda_arch = self.spec.variants['cuda_arch'].value
+ args.append('-DCUDA_ARCH=' + self.get_cuda_arch_string(cuda_arch))
+
return args
#
@@ -158,13 +189,26 @@ class Amrex(CMakePackage):
'linear_solvers'),
self.define_from_variant('AMReX_AMRDATA', 'amrdata'),
self.define_from_variant('AMReX_PARTICLES', 'particles'),
- self.define_from_variant('AMReX_SUNDIALS', 'sundials'),
self.define_from_variant('AMReX_HDF5', 'hdf5'),
self.define_from_variant('AMReX_HYPRE', 'hypre'),
self.define_from_variant('AMReX_PETSC', 'petsc'),
- self.define_from_variant('AMReX_CUDA', 'cuda'),
+ self.define_from_variant('AMReX_PIC', 'pic'),
]
+
if self.spec.satisfies('%fj'):
args.append('-DCMAKE_Fortran_MODDIR_FLAG=-M')
+ if '+cuda' in self.spec:
+ args.append('-DAMReX_GPU_BACKEND=CUDA')
+ args.append('-DAMReX_CUDA_ERROR_CAPTURE_THIS=ON')
+ args.append('-DAMReX_CUDA_ERROR_CROSS_EXECUTION_SPACE_CALL=ON')
+ cuda_arch = self.spec.variants['cuda_arch'].value
+ args.append('-DCUDA_ARCH=' + self.get_cuda_arch_string(cuda_arch))
+
+ if '+rocm' in self.spec:
+ args.append('-DCMAKE_CXX_COMPILER={0}'.format(self.spec['hip'].hipcc))
+ args.append('-DAMReX_GPU_BACKEND=HIP')
+ targets = self.spec.variants['amdgpu_target'].value
+ args.append('-DAMReX_AMD_ARCH=' + ';'.join(str(x) for x in targets))
+
return args
diff --git a/var/spack/repos/builtin/packages/amrvis/package.py b/var/spack/repos/builtin/packages/amrvis/package.py
index c0ca8c083b..5db42a3336 100644
--- a/var/spack/repos/builtin/packages/amrvis/package.py
+++ b/var/spack/repos/builtin/packages/amrvis/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/anaconda2/package.py b/var/spack/repos/builtin/packages/anaconda2/package.py
index e22ab88c8b..b2e8e9e485 100644
--- a/var/spack/repos/builtin/packages/anaconda2/package.py
+++ b/var/spack/repos/builtin/packages/anaconda2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/anaconda3/package.py b/var/spack/repos/builtin/packages/anaconda3/package.py
index 67dd832bd3..fb366fa014 100644
--- a/var/spack/repos/builtin/packages/anaconda3/package.py
+++ b/var/spack/repos/builtin/packages/anaconda3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/andi/package.py b/var/spack/repos/builtin/packages/andi/package.py
index 500c074add..1709b24a4c 100644
--- a/var/spack/repos/builtin/packages/andi/package.py
+++ b/var/spack/repos/builtin/packages/andi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/angsd/package.py b/var/spack/repos/builtin/packages/angsd/package.py
index 6dae47f220..8ca581f160 100644
--- a/var/spack/repos/builtin/packages/angsd/package.py
+++ b/var/spack/repos/builtin/packages/angsd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ant/package.py b/var/spack/repos/builtin/packages/ant/package.py
index 057a806b76..542f42082c 100644
--- a/var/spack/repos/builtin/packages/ant/package.py
+++ b/var/spack/repos/builtin/packages/ant/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/antimony/package.py b/var/spack/repos/builtin/packages/antimony/package.py
index 157a0a2510..9df56671a6 100644
--- a/var/spack/repos/builtin/packages/antimony/package.py
+++ b/var/spack/repos/builtin/packages/antimony/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/antlr/package.py b/var/spack/repos/builtin/packages/antlr/package.py
index 359f2210dc..d0b75d83ac 100644
--- a/var/spack/repos/builtin/packages/antlr/package.py
+++ b/var/spack/repos/builtin/packages/antlr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ants/package.py b/var/spack/repos/builtin/packages/ants/package.py
index 66d2571b8d..483a59e983 100644
--- a/var/spack/repos/builtin/packages/ants/package.py
+++ b/var/spack/repos/builtin/packages/ants/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/aocc/package.py b/var/spack/repos/builtin/packages/aocc/package.py
index 74649db620..9a81bdd92c 100755
--- a/var/spack/repos/builtin/packages/aocc/package.py
+++ b/var/spack/repos/builtin/packages/aocc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -29,6 +29,11 @@ class Aocc(Package):
'''
family = 'compiler'
homepage = "https://developer.amd.com/amd-aocc/"
+
+ maintainers = ['amd-toolchain-support']
+
+ version(ver="2.3.0", sha256='9f8a1544a5268a7fb8cd21ac4bdb3f8d1571949d1de5ca48e2d3309928fc3d15',
+ url='http://developer.amd.com/wordpress/media/files/aocc-compiler-2.3.0.tar')
version(ver="2.2.0", sha256='500940ce36c19297dfba3aa56dcef33b6145867a1f34890945172ac2be83b286',
url='http://developer.amd.com/wordpress/media/files/aocc-compiler-2.2.0.tar')
@@ -51,7 +56,7 @@ class Aocc(Package):
@run_before('install')
def abort_without_license_agreed(self):
- license_url = 'http://developer.amd.com/wordpress/media/files/AOCC_EULA.pdf'
+ license_url = 'http://developer.amd.com/wordpress/media/files/AOCC_EULA.pdf'
install_example = "spack install aocc +license-agreed"
if not self.spec.variants['license-agreed'].value:
raise InstallError("\n\n\nNOTE:\nUse +license-agreed " +
diff --git a/var/spack/repos/builtin/packages/aoflagger/package.py b/var/spack/repos/builtin/packages/aoflagger/package.py
index 9b7ae1abdb..417527cec6 100644
--- a/var/spack/repos/builtin/packages/aoflagger/package.py
+++ b/var/spack/repos/builtin/packages/aoflagger/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/aom/package.py b/var/spack/repos/builtin/packages/aom/package.py
index 84c027e272..b4ae5171ec 100644
--- a/var/spack/repos/builtin/packages/aom/package.py
+++ b/var/spack/repos/builtin/packages/aom/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/aomp/0001-Add-cmake-option-for-copying-source-for-debugging.patch b/var/spack/repos/builtin/packages/aomp/0001-Add-cmake-option-for-copying-source-for-debugging.patch
new file mode 100644
index 0000000000..b586e04b56
--- /dev/null
+++ b/var/spack/repos/builtin/packages/aomp/0001-Add-cmake-option-for-copying-source-for-debugging.patch
@@ -0,0 +1,28 @@
+From 526efe86427a4d49da38773534d84025dd4246c3 Mon Sep 17 00:00:00 2001
+From: Ethan Stewart <ethan.stewart@amd.com>
+Date: Tue, 10 Nov 2020 15:32:59 -0600
+Subject: [PATCH] Add cmake option for copying source for debugging.
+
+---
+ openmp/CMakeLists.txt | 8 ++++++++
+ 1 file changed, 8 insertions(+)
+
+diff --git a/openmp/CMakeLists.txt b/openmp/CMakeLists.txt
+index a86e83c50212..51962b561a3b 100644
+--- a/openmp/CMakeLists.txt
++++ b/openmp/CMakeLists.txt
+@@ -103,3 +103,11 @@ endif()
+
+ # Now that we have seen all testsuites, create the check-openmp target.
+ construct_check_openmp_target()
++
++option(DEBUG_COPY_SOURCE "Enable source code copy for openmp debug build."
++ ${ENABLE_SOURCE_COPY})
++if (${ENABLE_SOURCE_COPY})
++ install(DIRECTORY runtime/src DESTINATION ${OPENMP_INSTALL_LIBDIR}/src/openmp/runtime)
++ install(DIRECTORY libomptarget/src libomptarget/plugins DESTINATION ${OPENMP_INSTALL_LIBDIR}/src/openmp/libomptarget)
++ install(DIRECTORY libompd/src DESTINATION ${OPENMP_INSTALL_LIBDIR}/src/openmp/libompd)
++endif()
+--
+2.17.1
+
diff --git a/var/spack/repos/builtin/packages/aomp/package.py b/var/spack/repos/builtin/packages/aomp/package.py
index 5f561f1b3e..b4109a2f3d 100644
--- a/var/spack/repos/builtin/packages/aomp/package.py
+++ b/var/spack/repos/builtin/packages/aomp/package.py
@@ -1,215 +1,182 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
+import re
tools_url = 'https://github.com/ROCm-Developer-Tools'
compute_url = 'https://github.com/RadeonOpenCompute'
-# 3.8 SHA Keys
-aomp38 = dict()
-aomp38 = {
- "aomp":
- "86f90d6505eccdb2840069cadf57f7111d4685653c4974cf65fb22b172e55478",
- "devlib":
- "e82cc9a8eb7d92de02cabb856583e28f17a05c8cf9c97aec5275608ef1a38574",
- "llvm":
- "98deabedb6cb3067ee960a643099631902507f236e4d9dc65b3e0f8d659eb55c",
- "flang":
- "54cc6a9706dba6d7808258632ed40fa6493838edb309709d3b25e0f9b02507f8",
- "extras":
- "4460a4f4b03022947f536221483e85dcd9b07064a54516ec103a1939c3f587b5"
-}
-
-# 3.7 SHA Keys
-aomp37 = dict()
-aomp37 = {
- "aomp":
- "970374c3acb9dda8b9a17d7a579dbaab48fac731db8fdce566a65abee37e5ed3",
- "devlib":
- "b3a114180bf184b3b829c356067bc6a98021d52c1c6f9db6bc57272ebafc5f1d",
- "llvm":
- "89b967de5e79f6df7c62fdc12529671fa30989ae7b634d5a7c7996629ec1140e",
- "flang":
- "1fe07a0da20eb66a2a2aa8d354bf95c6f216ec38cc4a051e98041e0d13c34b36",
- "extras":
- "adaf7670b2497ff3ac09636e0dd30f666a5a5b742ecdcb8551d722102dcfbd85"
-}
-
-# 3.5 SHA Keys
-aomp35 = dict()
-
-aomp35 = {
- "aomp":
- "e4526489833896bbc47ba865e0d115fab278ce269789a8c99a97f444595f5f6a",
- "devlib":
- "dce3a4ba672c4a2da4c2260ee4dc96ff6dd51877f5e7e1993cb107372a35a378",
- "llvm":
- "b4fd7305dc57887eec17cce77bbf42215db46a4a3d14d8e517ab92f4e200b29d",
- "flang":
- "cc27f8bfb49257b7a4f0b03f4ba5e06a28dcb6c337065c4201b6075dd2d5bc48",
- "extras":
- "5dbf27f58b8114318208b97ba99a90483b78eebbcad4117cac6881441977e855",
- "hip":
- "86eb7749ff6f6c5f6851cd6c528504d42f9286967324a50dd0dd54a6a74cacc7",
- "vdi":
- "b21866c7c23dc536356db139b88b6beb3c97f58658836974a7fc167feb31ad7f",
- "opencl":
- "8963fcd5a167583b3db8b94363778d4df4593bfce8141e1d3c32a59fb64a0cf6"
-}
+
+aomp = [
+ "e4526489833896bbc47ba865e0d115fab278ce269789a8c99a97f444595f5f6a",
+ "970374c3acb9dda8b9a17d7a579dbaab48fac731db8fdce566a65abee37e5ed3",
+ "86f90d6505eccdb2840069cadf57f7111d4685653c4974cf65fb22b172e55478",
+ "14fc6867af0b17e3bff8cb42cb36f509c95a29b7a933a106bf6778de21f6c123",
+ "ce29cead5391a4a13f2c567e2e059de9291888d24985460725e43a91b740be7a"
+]
+
+devlib = [
+ "dce3a4ba672c4a2da4c2260ee4dc96ff6dd51877f5e7e1993cb107372a35a378",
+ "b3a114180bf184b3b829c356067bc6a98021d52c1c6f9db6bc57272ebafc5f1d",
+ "e82cc9a8eb7d92de02cabb856583e28f17a05c8cf9c97aec5275608ef1a38574",
+ "c99f45dacf5967aef9a31e3731011b9c142446d4a12bac69774998976f2576d7",
+ "bca9291385d6bdc91a8b39a46f0fd816157d38abb1725ff5222e6a0daa0834cc"
+]
+
+llvm = [
+ "b4fd7305dc57887eec17cce77bbf42215db46a4a3d14d8e517ab92f4e200b29d",
+ "89b967de5e79f6df7c62fdc12529671fa30989ae7b634d5a7c7996629ec1140e",
+ "98deabedb6cb3067ee960a643099631902507f236e4d9dc65b3e0f8d659eb55c",
+ "f0a0b9fec0626878340a15742e73a56f155090011716461edcb069dcf05e6b30",
+ "3ff18a8bd31d5b55232327e574dfa3556cf26787e105d0ba99411c5687325a8d"
+]
+
+flang = [
+ "cc27f8bfb49257b7a4f0b03f4ba5e06a28dcb6c337065c4201b6075dd2d5bc48",
+ "1fe07a0da20eb66a2a2aa8d354bf95c6f216ec38cc4a051e98041e0d13c34b36",
+ "54cc6a9706dba6d7808258632ed40fa6493838edb309709d3b25e0f9b02507f8",
+ "43d57bcc87fab092ac242e36da62588a87b6fa91f9e81fdb330159497afdecb3",
+ "81674bf3c9d8fd9b16fb3e5c66a870537c25ff8302fc1b162ab9e95944167163"
+]
+
+extras = [
+ "5dbf27f58b8114318208b97ba99a90483b78eebbcad4117cac6881441977e855",
+ "adaf7670b2497ff3ac09636e0dd30f666a5a5b742ecdcb8551d722102dcfbd85",
+ "4460a4f4b03022947f536221483e85dcd9b07064a54516ec103a1939c3f587b5",
+ "014fca1fba54997c6db0e84822df274fb6807698b6856da4f737f38f10ab0e5d",
+ "ee146cff4b9ee7aae90d7bb1d6b4957839232be0e7dab1865e0ae39832f8f795"
+]
+
+# Used only for 3.5.0
+hip = [
+ "86eb7749ff6f6c5f6851cd6c528504d42f9286967324a50dd0dd54a6a74cacc7"
+]
+
+vdi = [
+ "b21866c7c23dc536356db139b88b6beb3c97f58658836974a7fc167feb31ad7f"
+]
+
+opencl = [
+ "8963fcd5a167583b3db8b94363778d4df4593bfce8141e1d3c32a59fb64a0cf6"
+]
+
+versions = ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0']
+versions_dict = dict()
+hashes = [aomp, devlib, llvm, flang, extras]
+hashes_35 = [aomp, devlib, llvm, flang, extras, hip, vdi, opencl]
+components = ['aomp', 'devlib', 'llvm', 'flang', 'extras']
+components_35 = [
+ 'aomp', 'devlib', 'llvm', 'flang', 'extras', 'hip', 'vdi', 'opencl'
+]
+
+for outer_index, item in enumerate(versions):
+ if item == '3.5.0':
+ use_components = components_35
+ use_hashes = hashes_35
+ else:
+ use_components = components
+ use_hashes = hashes
+ for inner_index, component in enumerate(use_hashes):
+ versions_dict.setdefault(item, {})[use_components[inner_index]] = \
+ use_hashes[inner_index][outer_index]
class Aomp(Package):
"""llvm openmp compiler from AMD."""
homepage = tools_url + "/aomp"
- url = tools_url + "/aomp/archive/rocm-3.8.0.tar.gz"
+ url = tools_url + "/aomp/archive/rocm-3.10.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala', 'estewart08']
- version('3.8.0', sha256=aomp38['aomp'])
- version('3.7.0', sha256=aomp37['aomp'])
- version('3.5.0', sha256=aomp35['aomp'])
-
- depends_on('cmake@3.5.2:3.13.4', type='build')
- depends_on('mesa~llvm@18.3:', type=('build', 'link'))
- depends_on('py-setuptools@44.1.0', type='build')
- depends_on('python@2.7.18', type='build')
+ version('3.10.0', sha256=versions_dict['3.10.0']['aomp'])
+ version('3.9.0', sha256=versions_dict['3.9.0']['aomp'])
+ version('3.8.0', sha256=versions_dict['3.8.0']['aomp'])
+ version('3.7.0', sha256=versions_dict['3.7.0']['aomp'])
+ version('3.5.0', sha256=versions_dict['3.5.0']['aomp'])
+
+ # Cmake above 3.18 would fail the build on 3.5.0
+ depends_on('cmake@3:', type='build')
+ depends_on('cmake@3:3.17', when='@3.5.0', type='build')
+
+ # Python 2 is needed for 3.5.0 and 3.8.0, limit py-setuptools
+ # to avoid spec error
+ depends_on('python@2.7:2.8', when='@3.5.0:3.8.0', type='build')
+ depends_on('py-setuptools@:44', when='@3.5.0:3.8.0',
+ type='build')
+
+ depends_on('python@3:', type='build', when='@3.9.0:')
+ depends_on('py-setuptools', when='@3.9.0:', type='build')
+
+ depends_on('mesa18~llvm@18.3:', type=('build', 'link'))
depends_on('py-pip', when='@3.8.0:', type='build')
- depends_on('py-wheel@0.29.0', when='@3.8.0:', type=('build', 'run'))
+ depends_on('py-wheel', when='@3.8.0:', type=('build', 'run'))
depends_on('perl-data-dumper', type='build')
depends_on('awk', type='build')
depends_on('elfutils', type=('build', 'link'))
depends_on('libffi', type=('build', 'link'))
- for ver in ['3.5.0', '3.7.0', '3.8.0']:
- depends_on('rocm-device-libs@' + ver, type='build', when='@' + ver)
- depends_on('hsakmt-roct@' + ver, type='build', when='@' + ver)
- depends_on('hsa-rocr-dev@' + ver, type='build', when='@' + ver)
+ for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0']:
+ depends_on('hsakmt-roct@' + ver, type=('build', 'run'), when='@' + ver)
depends_on('comgr@' + ver, type='build', when='@' + ver)
-
- # 3.8.0 Resources
- if ver == '3.8.0':
- resource(
- name='rocm-device-libs',
- url=compute_url +
- '/ROCm-Device-Libs/archive/rocm-3.8.0.tar.gz',
- sha256=aomp38['devlib'],
- expand=True,
- destination='aomp-dir',
- placement='rocm-device-libs',
- when='@3.8.0')
-
- resource(
- name='amd-llvm-project',
- url=tools_url + '/amd-llvm-project/archive/rocm-3.8.0.tar.gz',
- sha256=aomp38['llvm'],
- expand=True,
- destination='aomp-dir',
- placement='amd-llvm-project',
- when='@3.8.0')
-
- resource(
- name='flang',
- url=tools_url + '/flang/archive/rocm-3.8.0.tar.gz',
- sha256=aomp38['flang'],
- expand=True,
- destination='aomp-dir',
- placement='flang',
- when='@3.8.0')
-
- resource(
- name='aomp-extras',
- url=tools_url + '/aomp-extras/archive/rocm-3.8.0.tar.gz',
- sha256=aomp38['extras'],
- expand=True,
- destination='aomp-dir',
- placement='aomp-extras',
- when='@3.8.0')
-
- # 3.7.0 Resources
- if ver == '3.7.0':
- resource(
- name='rocm-device-libs',
- url=compute_url +
- '/ROCm-Device-Libs/archive/rocm-3.7.0.tar.gz',
- sha256=aomp37['devlib'],
- expand=True,
- destination='aomp-dir',
- placement='rocm-device-libs',
- when='@3.7.0')
-
- resource(
- name='amd-llvm-project',
- url=tools_url + '/amd-llvm-project/archive/rocm-3.7.0.tar.gz',
- sha256=aomp37['llvm'],
- expand=True,
- destination='aomp-dir',
- placement='amd-llvm-project',
- when='@3.7.0')
-
- resource(
- name='flang',
- url=tools_url + '/flang/archive/rocm-3.7.0.tar.gz',
- sha256=aomp37['flang'],
- expand=True,
- destination='aomp-dir',
- placement='flang',
- when='@3.7.0')
-
- resource(
- name='aomp-extras',
- url=tools_url + '/aomp-extras/archive/rocm-3.7.0.tar.gz',
- sha256=aomp37['extras'],
- expand=True,
- destination='aomp-dir',
- placement='aomp-extras',
- when='@3.7.0')
-
- # 3.5.0 Resources
- elif ver == '3.5.0':
- resource(
- name='rocm-device-libs',
- url=compute_url +
- '/ROCm-Device-Libs/archive/rocm-3.5.0.tar.gz',
- sha256=aomp35['devlib'],
- expand=True,
- destination='aomp-dir',
- placement='rocm-device-libs',
- when='@3.5.0')
-
- resource(
- name='amd-llvm-project',
- url=tools_url + '/amd-llvm-project/archive/rocm-3.5.0.tar.gz',
- sha256=aomp35['llvm'],
- expand=True,
- destination='aomp-dir',
- placement='amd-llvm-project',
- when='@3.5.0')
-
- resource(
- name='flang',
- url=tools_url + '/flang/archive/rocm-3.5.0.tar.gz',
- sha256=aomp35['flang'],
- expand=True,
- destination='aomp-dir',
- placement='flang',
- when='@3.5.0')
-
- resource(
- name='aomp-extras',
- url=tools_url + '/aomp-extras/archive/rocm-3.5.0.tar.gz',
- sha256=aomp35['extras'],
- expand=True,
- destination='aomp-dir',
- placement='aomp-extras',
- when='@3.5.0')
-
+ depends_on('hsa-rocr-dev@' + ver, type=('build', 'run'),
+ when='@' + ver)
+ depends_on('rocm-device-libs@' + ver, type=('build', 'run'),
+ when='@' + ver)
+
+ if ver != '3.5.0':
+ depends_on('hip@' + ver, type=('build', 'run'), when='@' + ver)
+ depends_on('hip-rocclr@' + ver, type='build', when='@' + ver)
+
+ if ver == '3.9.0' or ver == '3.10.0':
+ depends_on('rocm-gdb@' + ver, type=('build', 'run'),
+ when='@' + ver)
+
+ resource(
+ name='rocm-device-libs',
+ url=compute_url +
+ '/ROCm-Device-Libs/archive/rocm-' + ver + '.tar.gz',
+ sha256=versions_dict[ver]['devlib'],
+ expand=True,
+ destination='aomp-dir',
+ placement='rocm-device-libs',
+ when='@' + ver)
+
+ resource(
+ name='amd-llvm-project',
+ url=tools_url + '/amd-llvm-project/archive/rocm-' + ver
+ + '.tar.gz',
+ sha256=versions_dict[ver]['llvm'],
+ expand=True,
+ destination='aomp-dir',
+ placement='amd-llvm-project',
+ when='@' + ver)
+
+ resource(
+ name='flang',
+ url=tools_url + '/flang/archive/rocm-' + ver + '.tar.gz',
+ sha256=versions_dict[ver]['flang'],
+ expand=True,
+ destination='aomp-dir',
+ placement='flang',
+ when='@' + ver)
+
+ resource(
+ name='aomp-extras',
+ url=tools_url + '/aomp-extras/archive/rocm-' + ver + '.tar.gz',
+ sha256=versions_dict[ver]['extras'],
+ expand=True,
+ destination='aomp-dir',
+ placement='aomp-extras',
+ when='@' + ver)
+
+ if ver == '3.5.0':
resource(
name='hip-on-vdi',
url=tools_url + '/hip/archive/aomp-3.5.0.tar.gz',
- sha256=aomp35['hip'],
+ sha256=versions_dict['3.5.0']['hip'],
expand=True,
destination='aomp-dir',
placement='hip-on-vdi',
@@ -218,7 +185,7 @@ class Aomp(Package):
resource(
name='vdi',
url=tools_url + '/rocclr/archive/aomp-3.5.0.tar.gz',
- sha256=aomp35['vdi'],
+ sha256=versions_dict['3.5.0']['vdi'],
expand=True,
destination='aomp-dir',
placement='vdi',
@@ -226,13 +193,18 @@ class Aomp(Package):
resource(
name='opencl-on-vdi',
- sha256=aomp35['opencl'],
+ sha256=versions_dict['3.5.0']['opencl'],
url=compute_url +
'/ROCm-OpenCL-Runtime/archive/aomp-3.5.0.tar.gz',
expand=True,
destination='aomp-dir',
placement='opencl-on-vdi',
when='@3.5.0')
+
+ # Copy source files over for debug build in 3.9.0
+ patch('0001-Add-cmake-option-for-copying-source-for-debugging.patch',
+ working_dir='aomp-dir/amd-llvm-project', when='@3.9.0:')
+
# Revert back to .amdgcn.bc naming scheme for 3.8.0
patch('0001-Add-amdgcn-to-devicelibs-bitcode-names-3.8.patch',
working_dir='aomp-dir/amd-llvm-project', when='@3.8.0')
@@ -256,8 +228,14 @@ class Aomp(Package):
src = self.stage.source_path
libomptarget = '{0}/aomp-dir/amd-llvm-project/openmp/libomptarget'
aomp_extras = '{0}/aomp-dir/aomp-extras/aomp-device-libs'
+ flang = '{0}/aomp-dir/flang/'
- if self.spec.version == Version('3.8.0'):
+ if self.spec.version >= Version('3.9.0'):
+ filter_file(
+ 'ADDITIONAL_VERSIONS 2.7', 'ADDITIONAL_VERSIONS 3',
+ flang.format(src) + 'CMakeLists.txt')
+
+ if self.spec.version >= Version('3.8.0'):
filter_file(
'{CMAKE_INSTALL_PREFIX}', '{HSA_INCLUDE}',
libomptarget.format(src) + '/hostrpc/services/CMakeLists.txt')
@@ -287,9 +265,10 @@ class Aomp(Package):
string=True)
filter_file(
- r'\${ROCM_DIR}/hsa/include \${ROCM_DIR}/hsa/include/hsa',
+ r'${ROCM_DIR}/hsa/include ${ROCM_DIR}/hsa/include/hsa',
'${HSA_INCLUDE}/hsa/include ${HSA_INCLUDE}/hsa/include/hsa',
- libomptarget.format(src) + '/plugins/hsa/CMakeLists.txt')
+ libomptarget.format(src) + '/plugins/hsa/CMakeLists.txt',
+ string=True)
filter_file(
'{ROCM_DIR}/hsa/lib', '{HSA_LIB}',
@@ -301,15 +280,17 @@ class Aomp(Package):
libomptarget.format(src) + '/plugins/hsa/CMakeLists.txt')
filter_file(
- r'-L\${LIBOMPTARGET_DEP_LIBHSAKMT_LIBRARIES_DIRS}',
+ r'-L${LIBOMPTARGET_DEP_LIBHSAKMT_LIBRARIES_DIRS}',
'-L${LIBOMPTARGET_DEP_LIBHSAKMT_LIBRARIES_DIRS} -L${HSAKMT_LIB64}',
- libomptarget.format(src) + '/plugins/hsa/CMakeLists.txt')
+ libomptarget.format(src) + '/plugins/hsa/CMakeLists.txt',
+ string=True)
filter_file(
- r'-rpath,\${LIBOMPTARGET_DEP_LIBHSAKMT_LIBRARIES_DIRS}',
+ r'-rpath,${LIBOMPTARGET_DEP_LIBHSAKMT_LIBRARIES_DIRS}',
'-rpath,${LIBOMPTARGET_DEP_LIBHSAKMT_LIBRARIES_DIRS}' +
',-rpath,${HSAKMT_LIB64}',
- libomptarget.format(src) + '/plugins/hsa/CMakeLists.txt')
+ libomptarget.format(src) + '/plugins/hsa/CMakeLists.txt',
+ string=True)
filter_file(
'{ROCM_DIR}/include', '{COMGR_INCLUDE}',
@@ -320,15 +301,24 @@ class Aomp(Package):
libomptarget.format(src) + '/plugins/hsa/CMakeLists.txt')
filter_file(
- r'-L\${LLVM_LIBDIR}\${OPENMP_LIBDIR_SUFFIX}',
+ r'-L${LLVM_LIBDIR}${OPENMP_LIBDIR_SUFFIX}',
'-L${LLVM_LIBDIR}${OPENMP_LIBDIR_SUFFIX} -L${COMGR_LIB}',
- libomptarget.format(src) + '/plugins/hsa/CMakeLists.txt')
+ libomptarget.format(src) + '/plugins/hsa/CMakeLists.txt',
+ string=True)
filter_file(
- r'rpath,\${LLVM_LIBDIR}\${OPENMP_LIBDIR_SUFFIX}',
+ r'rpath,${LLVM_LIBDIR}${OPENMP_LIBDIR_SUFFIX}',
'rpath,${LLVM_LIBDIR}${OPENMP_LIBDIR_SUFFIX}' +
'-Wl,-rpath,${COMGR_LIB}',
- libomptarget.format(src) + '/plugins/hsa/CMakeLists.txt')
+ libomptarget.format(src) + '/plugins/hsa/CMakeLists.txt',
+ string=True)
+
+ def setup_run_environment(self, env):
+ devlibs_prefix = self.spec['rocm-device-libs'].prefix
+ aomp_prefix = self.spec['aomp'].prefix
+ env.set('HIP_DEVICE_LIB_PATH',
+ '{0}/amdgcn/bitcode'.format(format(devlibs_prefix)))
+ env.set('AOMP', '{0}'.format(format(aomp_prefix)))
def setup_build_environment(self, env):
aomp_prefix = self.spec['aomp'].prefix
@@ -347,6 +337,15 @@ class Aomp(Package):
hsakmt_prefix = self.spec['hsakmt-roct'].prefix
comgr_prefix = self.spec['comgr'].prefix
opencl_src = '/aomp-dir/opencl-on-vdi/api/opencl'
+ omp_src = '/aomp-dir/amd-llvm-project/openmp'
+ debug_map_format = \
+ '-fdebug-prefix-map={0}{1}={2}'.format(src, omp_src, aomp_prefix)
+
+ if self.spec.version >= Version('3.9.0'):
+ bitcode_dir = '/amdgcn/bitcode'
+ else:
+ bitcode_dir = '/lib'
+
components = dict()
components['amd-llvm-project'] = [
'../aomp-dir/amd-llvm-project/llvm',
@@ -388,19 +387,19 @@ class Aomp(Package):
components['aomp-extras'] = [
'../aomp-dir/aomp-extras',
'-DROCM_PATH=$ROCM_DIR ',
- '-DDEVICE_LIBS_DIR={0}/lib'.format(devlibs_prefix),
+ '-DDEVICE_LIBS_DIR={0}{1}'.format(devlibs_prefix, bitcode_dir),
'-DAOMP_STANDALONE_BUILD=0',
- '-DDEVICELIBS_ROOT={0}/aomp-dir/rocm-device-libs'.format(src)
+ '-DDEVICELIBS_ROOT={0}/aomp-dir/rocm-device-libs'.format(src),
+ '-DCMAKE_VERBOSE_MAKEFILE=1'
]
- components['openmp'] = [
- '../aomp-dir/amd-llvm-project/openmp',
+ openmp_common_args = [
'-DROCM_DIR={0}'.format(hsa_prefix),
- '-DDEVICE_LIBS_DIR={0}/lib'.format(devlibs_prefix),
+ '-DDEVICE_LIBS_DIR={0}{1}'.format(devlibs_prefix, bitcode_dir),
'-DAOMP_STANDALONE_BUILD=0',
'-DDEVICELIBS_ROOT={0}/aomp-dir/rocm-device-libs'.format(src),
- '-DOPENMP_TEST_C_COMPILER=$AOMP/bin/clang',
- '-DOPENMP_TEST_CXX_COMPILER=$AOMP/bin/clang++',
+ '-DOPENMP_TEST_C_COMPILER={0}/bin/clang'.format(aomp_prefix),
+ '-DOPENMP_TEST_CXX_COMPILER={0}/bin/clang++'.format(aomp_prefix),
'-DLIBOMPTARGET_AMDGCN_GFXLIST={0}'.format(gfx_list),
'-DLIBOMP_COPY_EXPORTS=OFF',
'-DHSA_INCLUDE={0}'.format(hsa_prefix),
@@ -413,28 +412,25 @@ class Aomp(Package):
'-DOPENMP_ENABLE_LIBOMPTARGET_HSA=1'
]
+ components['openmp'] = ['../aomp-dir/amd-llvm-project/openmp']
+ components['openmp'] += openmp_common_args
+
components['openmp-debug'] = [
'../aomp-dir/amd-llvm-project/openmp',
- '-DROCM_DIR={0}'.format(hsa_prefix),
- '-DDEVICE_LIBS_DIR={0}/lib'.format(devlibs_prefix),
- '-DAOMP_STANDALONE_BUILD=0',
- '-DDEVICELIBS_ROOT={0}/aomp-dir/rocm-device-libs'.format(src),
- '-DOPENMP_TEST_C_COMPILER=$AOMP/bin/clang',
- '-DOPENMP_TEST_CXX_COMPILER=$AOMP/bin/clang++',
- '-DLIBOMPTARGET_AMDGCN_GFXLIST={0}'.format(gfx_list),
- '-DLIBOMP_COPY_EXPORTS=OFF',
- '-DHSA_INCLUDE={0}'.format(hsa_prefix),
- '-DHSA_LIB={0}/lib'.format(hsa_prefix),
- '-DHSAKMT_LIB={0}/lib'.format(hsakmt_prefix),
- '-DHSAKMT_LIB64={0}/lib64'.format(hsakmt_prefix),
- '-DCOMGR_INCLUDE={0}/include'.format(comgr_prefix),
- '-DCOMGR_LIB={0}/lib'.format(comgr_prefix),
'-DLIBOMPTARGET_NVPTX_DEBUG=ON',
'-DOPENMP_ENABLE_LIBOMPTARGET=1',
'-DOPENMP_ENABLE_LIBOMPTARGET_HSA=1'
+ '-DCMAKE_CXX_FLAGS=-g',
+ '-DCMAKE_C_FLAGS=-g'
]
- if self.spec.version == Version('3.8.0'):
+ if self.spec.version >= Version('3.9.0'):
+ components['openmp-debug'] += [
+ '-DENABLE_SOURCE_COPY=ON',
+ '-DOPENMP_SOURCE_DEBUG_MAP={0}'.format(debug_map_format)
+ ]
+
+ if self.spec.version >= Version('3.8.0'):
components['openmp-debug'] += [
'-DLIBOMP_ARCH=x86_64',
'-DLIBOMP_OMP_VERSION=50',
@@ -444,13 +440,12 @@ class Aomp(Package):
'-DLIBOMP_CPPFLAGS=-O0',
'-DLIBOMP_OMPD_ENABLED=ON',
'-DLIBOMP_OMPD_SUPPORT=ON',
- '-DLIBOMP_OMPT_DEBUG=ON',
- '-DCMAKE_CXX_FLAGS=-g',
- '-DCMAKE_C_FLAGS=-g'
+ '-DLIBOMP_OMPT_DEBUG=ON'
]
- components['pgmath'] = [
- '../aomp-dir/flang/runtime/libpgmath',
+ components['openmp-debug'] += openmp_common_args
+
+ flang_common_args = [
'-DLLVM_ENABLE_ASSERTIONS=ON',
'-DLLVM_CONFIG={0}/bin/llvm-config'.format(aomp_prefix),
'-DCMAKE_CXX_COMPILER={0}/bin/clang++'.format(aomp_prefix),
@@ -459,31 +454,26 @@ class Aomp(Package):
'-DLLVM_TARGETS_TO_BUILD=AMDGPU;x86'
]
+ components['pgmath'] = ['../aomp-dir/flang/runtime/libpgmath']
+ components['pgmath'] += flang_common_args
+
components['flang'] = [
'../aomp-dir/flang',
- '-DLLVM_ENABLE_ASSERTIONS=ON',
- '-DLLVM_CONFIG={0}/bin/llvm-config'.format(aomp_prefix),
- '-DCMAKE_CXX_COMPILER={0}/bin/clang++'.format(aomp_prefix),
- '-DCMAKE_C_COMPILER={0}/bin/clang'.format(aomp_prefix),
- '-DCMAKE_Fortran_COMPILER={0}/bin/flang'.format(aomp_prefix),
- '-DLLVM_TARGETS_TO_BUILD=AMDGPU;x86',
'-DFLANG_OPENMP_GPU_AMD=ON',
'-DFLANG_OPENMP_GPU_NVIDIA=ON'
]
+ components['flang'] += flang_common_args
+
components['flang-runtime'] = [
'../aomp-dir/flang',
- '-DLLVM_ENABLE_ASSERTIONS=ON',
- '-DLLVM_CONFIG={0}/bin/llvm-config'.format(aomp_prefix),
- '-DCMAKE_CXX_COMPILER={0}/bin/clang++'.format(aomp_prefix),
- '-DCMAKE_C_COMPILER={0}/bin/clang'.format(aomp_prefix),
- '-DCMAKE_Fortran_COMPILER={0}/bin/flang'.format(aomp_prefix),
- '-DLLVM_TARGETS_TO_BUILD=AMDGPU;x86',
'-DLLVM_INSTALL_RUNTIME=ON',
'-DFLANG_BUILD_RUNTIME=ON',
'-DOPENMP_BUILD_DIR={0}/spack-build-openmp/runtime/src'.format(src)
]
+ components['flang-runtime'] += flang_common_args
+
if self.spec.version != Version('3.5.0'):
build_order = [
"amd-llvm-project", "aomp-extras",
@@ -496,7 +486,11 @@ class Aomp(Package):
]
# Override standard CMAKE_BUILD_TYPE
- std_cmake_args.remove("-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo")
+ for arg in std_cmake_args:
+ found = re.search("CMAKE_BUILD_TYPE", arg)
+ if found:
+ std_cmake_args.remove(arg)
+
for component in build_order:
with working_dir('spack-build-{0}'.format(component), create=True):
cmake_args = components[component]
diff --git a/var/spack/repos/builtin/packages/apachetop/package.py b/var/spack/repos/builtin/packages/apachetop/package.py
index 19943c849c..c0da70bc36 100644
--- a/var/spack/repos/builtin/packages/apachetop/package.py
+++ b/var/spack/repos/builtin/packages/apachetop/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/apcomp/package.py b/var/spack/repos/builtin/packages/apcomp/package.py
index 3e66038030..c21f8eca1a 100644
--- a/var/spack/repos/builtin/packages/apcomp/package.py
+++ b/var/spack/repos/builtin/packages/apcomp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ape/package.py b/var/spack/repos/builtin/packages/ape/package.py
index 343b1a1185..32f8fb437b 100644
--- a/var/spack/repos/builtin/packages/ape/package.py
+++ b/var/spack/repos/builtin/packages/ape/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/aperture-photometry/package.py b/var/spack/repos/builtin/packages/aperture-photometry/package.py
index db2532ed92..109ce9d5af 100644
--- a/var/spack/repos/builtin/packages/aperture-photometry/package.py
+++ b/var/spack/repos/builtin/packages/aperture-photometry/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/apex/package.py b/var/spack/repos/builtin/packages/apex/package.py
index dfc9c55c50..7222670768 100644
--- a/var/spack/repos/builtin/packages/apex/package.py
+++ b/var/spack/repos/builtin/packages/apex/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/apfel/package.py b/var/spack/repos/builtin/packages/apfel/package.py
new file mode 100644
index 0000000000..4a224f6998
--- /dev/null
+++ b/var/spack/repos/builtin/packages/apfel/package.py
@@ -0,0 +1,37 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Apfel(AutotoolsPackage):
+ """APFEL is a library able to perform DGLAP evolution up to NNLO in QCD and
+ to NLO in QED, both with pole and MSbar masses. The coupled DGLAP
+ QCD+QED evolution equations are solved in x-space by means of higher
+ order interpolations and Runge-Kutta techniques."""
+
+ homepage = "https://github.com/scarrazza/apfel"
+ url = "https://github.com/scarrazza/apfel/archive/3.0.4.tar.gz"
+
+ tags = ['hep']
+
+ version('3.0.4', sha256='c7bfae7fe2dc0185981850f2fe6ae4842749339d064c25bf525b4ef412bbb224')
+
+ depends_on('swig', when='+python')
+ depends_on('python', when='+python', type=('build', 'run'))
+ depends_on('lhapdf', when='+lhapdf', type=('build', 'run'))
+
+ variant('python', description='Build python wrapper', default=False)
+ variant('lhapdf', description='Link to LHAPDF', default=False)
+
+ def configure_args(self):
+ args = []
+ if self.spec.satisfies('~python'):
+ args.append('--disable-pywrap')
+ else:
+ args.append('--enable-pywrap')
+
+ args += self.enable_or_disable('lhapdf')
+ return args
diff --git a/var/spack/repos/builtin/packages/apple-libunwind/package.py b/var/spack/repos/builtin/packages/apple-libunwind/package.py
index c966ee6c82..e339893c19 100644
--- a/var/spack/repos/builtin/packages/apple-libunwind/package.py
+++ b/var/spack/repos/builtin/packages/apple-libunwind/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/apple-libuuid/package.py b/var/spack/repos/builtin/packages/apple-libuuid/package.py
new file mode 100644
index 0000000000..1ed7fe7b37
--- /dev/null
+++ b/var/spack/repos/builtin/packages/apple-libuuid/package.py
@@ -0,0 +1,45 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class AppleLibuuid(BundlePackage):
+ """Placeholder package for Apple's analogue to non-GNU libuuid"""
+
+ homepage = "https://opensource.apple.com/tarballs/Libsystem/"
+
+ version('1353.100.2')
+
+ provides('uuid')
+
+ # Only supported on 'platform=darwin'
+ conflicts('platform=linux')
+ conflicts('platform=cray')
+
+ @property
+ def libs(self):
+ """Export the Apple libuuid library.
+
+ According to https://bugs.freedesktop.org/show_bug.cgi?id=105366,
+ libuuid is provided as part of libsystem_c. The Apple libsystem_c
+ library cannot be linked to directly using an absolute path; doing so
+ will cause the linker to throw an error 'cannot link directly with
+ /usr/lib/system/libsystem_c.dylib' and the linker will suggest linking
+ with System.framework instead. Linking to this framework is equivalent
+ to linking with libSystem.dylib, which can be confirmed on a macOS
+ system by executing at a terminal the command `ls -l
+ /System/Library/Frameworks/System.Framework` -- the file "System" is a
+ symlink to `/usr/lib/libSystem.B.dylib`, and `/usr/lib/libSystem.dylib`
+ also symlinks to this file. Running `otool -L /usr/lib/libSystem.dylib`
+ confirms that it will link dynamically to
+ `/usr/lib/system/libsystem_c.dylib`."""
+
+ return LibraryList('/usr/lib/libSystem.dylib')
+
+ @property
+ def headers(self):
+ """Export the Apple libuuid header."""
+ return HeaderList(self.prefix.include.uuid.join('uuid.h'))
diff --git a/var/spack/repos/builtin/packages/applewmproto/package.py b/var/spack/repos/builtin/packages/applewmproto/package.py
index ea1bbe19e2..4302525575 100644
--- a/var/spack/repos/builtin/packages/applewmproto/package.py
+++ b/var/spack/repos/builtin/packages/applewmproto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/appres/package.py b/var/spack/repos/builtin/packages/appres/package.py
index ddf6ebfe9b..5a3456bb5c 100644
--- a/var/spack/repos/builtin/packages/appres/package.py
+++ b/var/spack/repos/builtin/packages/appres/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -20,6 +20,6 @@ class Appres(AutotoolsPackage, XorgPackage):
depends_on('libx11')
depends_on('libxt')
- depends_on('xproto@7.0.17:', type='build')
+ depends_on('xproto@7.0.17:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/apr-util/package.py b/var/spack/repos/builtin/packages/apr-util/package.py
index 0bb2fecfa6..061beaefd8 100644
--- a/var/spack/repos/builtin/packages/apr-util/package.py
+++ b/var/spack/repos/builtin/packages/apr-util/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/apr/package.py b/var/spack/repos/builtin/packages/apr/package.py
index f4938a1d35..f2d90352ab 100644
--- a/var/spack/repos/builtin/packages/apr/package.py
+++ b/var/spack/repos/builtin/packages/apr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,3 +17,5 @@ class Apr(AutotoolsPackage):
version('1.5.2', sha256='1af06e1720a58851d90694a984af18355b65bb0d047be03ec7d659c746d6dbdb')
patch('missing_includes.patch', when='@1.7.0')
+
+ depends_on('uuid', type='link')
diff --git a/var/spack/repos/builtin/packages/aragorn/package.py b/var/spack/repos/builtin/packages/aragorn/package.py
index 17927f7223..4caf12c694 100644
--- a/var/spack/repos/builtin/packages/aragorn/package.py
+++ b/var/spack/repos/builtin/packages/aragorn/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/arbor/package.py b/var/spack/repos/builtin/packages/arbor/package.py
index e48ba70d8e..9adacf477f 100644
--- a/var/spack/repos/builtin/packages/arbor/package.py
+++ b/var/spack/repos/builtin/packages/arbor/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -6,68 +6,71 @@
from spack import *
-class Arbor(CMakePackage):
+class Arbor(CMakePackage, CudaPackage):
"""Arbor is a high-performance library for computational neuroscience
simulations."""
homepage = "https://github.com/arbor-sim/arbor/"
- url = "https://github.com/arbor-sim/arbor/archive/v0.2.tar.gz"
+ git = "https://github.com/arbor-sim/arbor.git"
+ url = "https://github.com/arbor-sim/arbor/releases/download/v0.5/arbor-v0.5-full.tar.gz"
+ maintainers = ['bcumming', 'halfflat']
- version('0.4', sha256='7d9fc6b3262954cc5dc1751215fbb9f2cdb7010e829a2be43022f90da2d8d2e3')
- version('0.2', sha256='43c9181c03be5f3c9820b2b50592d7b41344f37e1200980119ad347eb7bcf4eb')
+ version('master', branch='master', submodules=True)
+ version('0.5', 'd0c8a4c7f97565d7c30493c66249be794d1dc424de266fc79cecbbf0e313df59')
- variant('vectorize', default=False,
- description='Enable vectorization of computational kernels')
- variant('gpu', default=False, description='Enable GPU support')
+ variant('assertions', default=False, description='Enable arb_assert() assertions in code.')
+ variant('doc', default=False, description='Build documentation.')
variant('mpi', default=False, description='Enable MPI support')
- variant('python', default=False,
- description='Enable Python frontend support')
- variant('unwind', default=False,
- description='Enable libunwind for pretty stack traces')
+ variant('neuroml', default=True, description='Build NeuroML support library.')
+ variant('python', default=True, description='Enable Python frontend support')
+ variant('vectorize', default=False, description='Enable vectorization of computational kernels')
- depends_on('cuda', when='+gpu')
- depends_on('mpi', when='+mpi')
- depends_on('libunwind', when='+unwind')
+ # https://arbor.readthedocs.io/en/latest/install/build_install.html?highlight=requirements#compilers
+ conflicts('%gcc@:8.3')
+ conflicts('%clang@:8.0')
+ # Cray compiler v9.2 and later is Clang-based.
+ conflicts('%cce@:9.1')
+ conflicts('%intel')
+
+ depends_on('cmake@3.12:', type='build')
- extends('python@3.6:', when='+python')
+ # misc dependencies
+ depends_on('nlohmann-json')
+ depends_on('cuda@10:', when='+cuda')
+ depends_on('libxml2', when='+neuroml')
+
+ # mpi
+ depends_on('mpi', when='+mpi')
depends_on('py-mpi4py', when='+mpi+python', type=('build', 'run'))
- depends_on('cmake@3.9:', type='build')
- # mentioned in documentation but shouldn't be necessary when
- # using the archive
- # depends_on('git@2.0:', type='build')
-
- # compiler dependencies
- # depends_on(C++14)
- # depends_on('gcc@6.1.0:', type='build')
- # depends_on('llvm@4:', type='build')
- # depends_on('clang-apple@9:', type='build')
-
- # when building documentation, this could be an optional dependency
- depends_on('py-sphinx', type='build')
-
- conflicts('@:0.2', when='target=aarch64:')
-
- def patch(self):
- filter_file(
- r'find_library\(_unwind_library_target unwind-\${libunwind_arch}',
- r'find_library(_unwind_library_target unwind-${_libunwind_arch}',
- 'cmake/FindUnwind.cmake'
- )
- filter_file(
- r'target_compile_definitions\(arbor-private-deps ARB_WITH_UNWIND\)', # noqa: E501
- r'target_compile_definitions(arbor-private-deps INTERFACE WITH_UNWIND)', # noqa: E501
- 'CMakeLists.txt'
- )
+ # python (bindings)
+ extends('python', when='+python')
+ depends_on('python@3.6:', when="+python", type=('build', 'run'))
+ depends_on('py-numpy', when='+python', type=('build', 'run'))
+ depends_on('py-pybind11', when='+python', type=('build', 'run'))
+
+ # sphinx based documentation
+ depends_on('python@3.6:', when="+doc", type='build')
+ depends_on('py-sphinx', when="+doc", type='build')
+ depends_on('py-svgwrite', when='+doc', type='build')
+
+ @property
+ def build_targets(self):
+ return ['all', 'html'] if '+doc' in self.spec else ['all']
def cmake_args(self):
args = [
- '-DARB_VECTORIZE=' + ('ON' if '+vectorize' in self.spec else 'OFF'), # noqa: E501
- '-DARB_WITH_GPU=' + ('ON' if '+gpu' in self.spec else 'OFF'),
- '-DARB_WITH_PYTHON=' + ('ON' if '+python' in self.spec else 'OFF'),
+ self.define_from_variant('ARB_WITH_ASSERTIONS', 'assertions'),
+ self.define_from_variant('ARB_WITH_MPI', 'mpi'),
+ self.define_from_variant('ARB_WITH_NEUROML', 'neuroml'),
+ self.define_from_variant('ARB_WITH_PYTHON', 'python'),
+ self.define_from_variant('ARB_VECTORIZE', 'vectorize'),
]
- if '+unwind' in self.spec:
- args.append('-DUnwind_ROOT_DIR={0}'.format(self.spec['libunwind'].prefix)) # noqa: E501
+ if '+cuda' in self.spec:
+ args.append('-DARB_GPU=cuda')
+
+ # rely on spack's compiler wrapper to set architecture
+ args.append('-DARB_ARCH=')
return args
diff --git a/var/spack/repos/builtin/packages/arborx/package.py b/var/spack/repos/builtin/packages/arborx/package.py
index 7044aec257..bc973e68da 100644
--- a/var/spack/repos/builtin/packages/arborx/package.py
+++ b/var/spack/repos/builtin/packages/arborx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/archer/package.py b/var/spack/repos/builtin/packages/archer/package.py
index 95c3cc1bf8..bb593b2766 100644
--- a/var/spack/repos/builtin/packages/archer/package.py
+++ b/var/spack/repos/builtin/packages/archer/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/argobots/package.py b/var/spack/repos/builtin/packages/argobots/package.py
index 2dc8212eb7..6f3b0fe692 100644
--- a/var/spack/repos/builtin/packages/argobots/package.py
+++ b/var/spack/repos/builtin/packages/argobots/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/argon2/package.py b/var/spack/repos/builtin/packages/argon2/package.py
index 6d5e1abf04..9f79612d6c 100644
--- a/var/spack/repos/builtin/packages/argon2/package.py
+++ b/var/spack/repos/builtin/packages/argon2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/argp-standalone/package.py b/var/spack/repos/builtin/packages/argp-standalone/package.py
index 380bd4787b..752ad2f652 100644
--- a/var/spack/repos/builtin/packages/argp-standalone/package.py
+++ b/var/spack/repos/builtin/packages/argp-standalone/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/argtable/package.py b/var/spack/repos/builtin/packages/argtable/package.py
index fa39ee062b..7114315647 100644
--- a/var/spack/repos/builtin/packages/argtable/package.py
+++ b/var/spack/repos/builtin/packages/argtable/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/aria2/package.py b/var/spack/repos/builtin/packages/aria2/package.py
index 321360cef6..07933c3444 100644
--- a/var/spack/repos/builtin/packages/aria2/package.py
+++ b/var/spack/repos/builtin/packages/aria2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/arm-forge/package.py b/var/spack/repos/builtin/packages/arm-forge/package.py
index 551d910a82..73362d9935 100644
--- a/var/spack/repos/builtin/packages/arm-forge/package.py
+++ b/var/spack/repos/builtin/packages/arm-forge/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/arm/package.py b/var/spack/repos/builtin/packages/arm/package.py
new file mode 100644
index 0000000000..a8cf373ce1
--- /dev/null
+++ b/var/spack/repos/builtin/packages/arm/package.py
@@ -0,0 +1,86 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+import os.path
+import re
+
+import llnl.util.tty as tty
+import spack.compiler
+import spack.util.executable
+
+
+class Arm(Package):
+ """Arm Compiler combines the optimized tools and libraries from Arm
+ with a modern LLVM-based compiler framework.
+ """
+
+ homepage = "https://developer.arm.com/tools-and-software/server-and-hpc/arm-allinea-studio"
+ url = "https://developer.arm.com/-/media/Files/downloads/hpc/arm-allinea-studio/20-2-1/Ubuntu16.04/arm-compiler-for-linux_20.2.1_Ubuntu-16.04_aarch64.tar"
+
+ # FIXME: The version is checksummed for Ubuntu 16.04, but this is not
+ # FIXME: important at the moment since the package is only meant to
+ # FIXME: provide detection
+ version('20.2.1', sha256='dc3f945b05b867809d9b507cb8ebba9cf72a6818d349207dbe1392c13dc0ad79')
+
+ def install(self, spec, prefix):
+ raise InstallError(
+ 'No install method available yet, only system detection.'
+ )
+
+ executables = [r'armclang', r'armclang\+\+', r'armflang']
+
+ @classmethod
+ def determine_version(cls, exe):
+ regex_str = r'Arm C\/C\+\+\/Fortran Compiler version ([\d\.]+) '\
+ r'\(build number (\d+)\) '
+ version_regex = re.compile(regex_str)
+ try:
+ output = spack.compiler.get_compiler_version_output(
+ exe, '--version'
+ )
+ match = version_regex.search(output)
+ if match:
+ if match.group(1).count('.') == 1:
+ return match.group(1) + ".0." + match.group(2)
+ return match.group(1) + "." + match.group(2)
+ except spack.util.executable.ProcessError:
+ pass
+ except Exception as e:
+ tty.debug(e)
+
+ @classmethod
+ def determine_variants(cls, exes, version_str):
+ compilers = {}
+ for exe in exes:
+ if 'armclang' in exe:
+ compilers['c'] = exe
+ if 'armclang++' in exe:
+ compilers['cxx'] = exe
+ if 'armflang' in exe:
+ compilers['fortran'] = exe
+ return '', {'compilers': compilers}
+
+ @property
+ def cc(self):
+ msg = "cannot retrieve C compiler [spec is not concrete]"
+ assert self.spec.concrete, msg
+ if self.spec.external:
+ return self.spec.extra_attributes['compilers'].get('c', None)
+ return str(self.spec.prefix.bin.armclang)
+
+ @property
+ def cxx(self):
+ msg = "cannot retrieve C++ compiler [spec is not concrete]"
+ assert self.spec.concrete, msg
+ if self.spec.external:
+ return self.spec.extra_attributes['compilers'].get('cxx', None)
+ return os.path.join(self.spec.prefix.bin, 'armclang++')
+
+ @property
+ def fortran(self):
+ msg = "cannot retrieve Fortran compiler [spec is not concrete]"
+ assert self.spec.concrete, msg
+ if self.spec.external:
+ return self.spec.extra_attributes['compilers'].get('fortran', None)
+ return str(self.spec.prefix.bin.armflang)
diff --git a/var/spack/repos/builtin/packages/armadillo/package.py b/var/spack/repos/builtin/packages/armadillo/package.py
index c4f5e94d15..203812c6c4 100644
--- a/var/spack/repos/builtin/packages/armadillo/package.py
+++ b/var/spack/repos/builtin/packages/armadillo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/arpack-ng/package.py b/var/spack/repos/builtin/packages/arpack-ng/package.py
index 1698a0e4bd..dab97ea656 100644
--- a/var/spack/repos/builtin/packages/arpack-ng/package.py
+++ b/var/spack/repos/builtin/packages/arpack-ng/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -39,13 +39,14 @@ class ArpackNg(Package):
git = 'https://github.com/opencollab/arpack-ng.git'
version('develop', branch='master')
+ version('3.8.0', sha256='ada5aeb3878874383307239c9235b716a8a170c6d096a6625bfd529844df003d')
version('3.7.0', sha256='972e3fc3cd0b9d6b5a737c9bf6fd07515c0d6549319d4ffb06970e64fa3cc2d6')
version('3.6.3', sha256='64f3551e5a2f8497399d82af3076b6a33bf1bc95fc46bbcabe66442db366f453')
version('3.6.2', sha256='673c8202de996fd3127350725eb1818e534db4e79de56d5dcee8c00768db599a')
version('3.6.0', sha256='3c88e74cc10bba81dc2c72c4f5fff38a800beebaa0b4c64d321c28c9203b37ea')
version('3.5.0', sha256='50f7a3e3aec2e08e732a487919262238f8504c3ef927246ec3495617dde81239')
version('3.4.0', sha256='69e9fa08bacb2475e636da05a6c222b17c67f1ebeab3793762062248dd9d842f')
- version('3.3.0', sha256='ad59811e7d79d50b8ba19fd908f92a3683d883597b2c7759fdcc38f6311fe5b3')
+ version('3.3.0', sha256='ad59811e7d79d50b8ba19fd908f92a3683d883597b2c7759fdcc38f6311fe5b3', deprecated=True)
variant('shared', default=True,
description='Enables the build of shared libraries')
diff --git a/var/spack/repos/builtin/packages/arrayfire/package.py b/var/spack/repos/builtin/packages/arrayfire/package.py
index d3a7b65e2c..474519834e 100644
--- a/var/spack/repos/builtin/packages/arrayfire/package.py
+++ b/var/spack/repos/builtin/packages/arrayfire/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,6 +15,8 @@ class Arrayfire(CMakePackage, CudaPackage):
git = "https://github.com/arrayfire/arrayfire.git"
version('master', submodules=True)
+ version('3.7.3', submodules=True, tag='v3.7.3')
+ version('3.7.2', submodules=True, tag='v3.7.2')
version('3.7.0', submodules=True, tag='v3.7.0')
variant('cuda', default=False, description='Enable Cuda backend')
@@ -22,7 +24,7 @@ class Arrayfire(CMakePackage, CudaPackage):
variant('opencl', default=False, description='Enable OpenCL backend')
depends_on('boost@1.65:')
- depends_on('fftw')
+ depends_on('fftw-api@3:')
depends_on('blas')
depends_on('cuda@7.5:', when='+cuda')
depends_on('cudnn', when='+cuda')
@@ -34,6 +36,22 @@ class Arrayfire(CMakePackage, CudaPackage):
depends_on('fontconfig', when='+forge')
depends_on('glfw@3.1.4:', when='+forge')
+ @property
+ def libs(self):
+ query_parameters = self.spec.last_query.extra_parameters
+
+ libraries = []
+ if 'cpu' in query_parameters:
+ libraries.append('libafcpu')
+ if 'cuda' in query_parameters and '+cuda' in self.spec:
+ libraries.append('libafcuda')
+ if 'opencl' in query_parameters and '+opencl' in self.spec:
+ libraries.append('libafopencl')
+ if not query_parameters or 'unified' in query_parameters:
+ libraries.append('libaf')
+
+ return find_libraries(libraries, root=self.prefix, recursive=True)
+
def cmake_args(self):
args = []
args.extend([
@@ -44,4 +62,9 @@ class Arrayfire(CMakePackage, CudaPackage):
'-DAF_BUILD_OPENCL={0}'.format(
'ON' if '+opencl' in self.spec else 'OFF'),
])
+ if '^mkl' in self.spec:
+ args.append('-DUSE_CPU_MKL=ON')
+ if '%intel' not in self.spec:
+ args.append('-DMKL_THREAD_LAYER=GNU OpenMP')
+
return args
diff --git a/var/spack/repos/builtin/packages/arrow/package.py b/var/spack/repos/builtin/packages/arrow/package.py
index bcd0658f3c..bf71ebf766 100644
--- a/var/spack/repos/builtin/packages/arrow/package.py
+++ b/var/spack/repos/builtin/packages/arrow/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/asagi/package.py b/var/spack/repos/builtin/packages/asagi/package.py
index 37b16fbec3..6caedab8c5 100644
--- a/var/spack/repos/builtin/packages/asagi/package.py
+++ b/var/spack/repos/builtin/packages/asagi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ascent/package.py b/var/spack/repos/builtin/packages/ascent/package.py
index 158f76f298..51da6ea5f7 100644
--- a/var/spack/repos/builtin/packages/ascent/package.py
+++ b/var/spack/repos/builtin/packages/ascent/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -41,6 +41,9 @@ class Ascent(Package, CudaPackage):
version('develop',
branch='develop',
+ submodules=True)
+ version('0.6.0',
+ tag='v0.6.0',
submodules=True,
preferred=True)
diff --git a/var/spack/repos/builtin/packages/asciidoc-py3/package.py b/var/spack/repos/builtin/packages/asciidoc-py3/package.py
index 5bfe18f7da..f8695f9cd0 100644
--- a/var/spack/repos/builtin/packages/asciidoc-py3/package.py
+++ b/var/spack/repos/builtin/packages/asciidoc-py3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/asciidoc/package.py b/var/spack/repos/builtin/packages/asciidoc/package.py
index 5571f85dba..a3dac6a826 100644
--- a/var/spack/repos/builtin/packages/asciidoc/package.py
+++ b/var/spack/repos/builtin/packages/asciidoc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/asdcplib/package.py b/var/spack/repos/builtin/packages/asdcplib/package.py
index abdc7f1c85..567cf0533e 100644
--- a/var/spack/repos/builtin/packages/asdcplib/package.py
+++ b/var/spack/repos/builtin/packages/asdcplib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/asdf-cxx/package.py b/var/spack/repos/builtin/packages/asdf-cxx/package.py
index fadb49714e..ffb871ad32 100644
--- a/var/spack/repos/builtin/packages/asdf-cxx/package.py
+++ b/var/spack/repos/builtin/packages/asdf-cxx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -42,6 +42,8 @@ class AsdfCxx(CMakePackage):
depends_on('openssl')
depends_on('py-numpy', type=('build', 'run'), when='+python')
depends_on('python', type=('build', 'run'), when='+python')
- depends_on('swig', type='build', when='+python')
+ # An error in the cmake script requires swig all the time, not only when
+ # Python bindings are used
+ depends_on('swig @3.0.0:3.999.999', type='build')
depends_on('yaml-cpp')
depends_on('zlib')
diff --git a/var/spack/repos/builtin/packages/aspa/package.py b/var/spack/repos/builtin/packages/aspa/package.py
index 256b68e5da..e82a4194ce 100644
--- a/var/spack/repos/builtin/packages/aspa/package.py
+++ b/var/spack/repos/builtin/packages/aspa/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/aspcud/package.py b/var/spack/repos/builtin/packages/aspcud/package.py
index 2521848f48..7e5d28f12c 100644
--- a/var/spack/repos/builtin/packages/aspcud/package.py
+++ b/var/spack/repos/builtin/packages/aspcud/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,9 +18,10 @@ class Aspcud(CMakePackage):
homepage = "https://potassco.org/aspcud"
url = "https://github.com/potassco/aspcud/archive/v1.9.4.tar.gz"
+ version('1.9.5', sha256='9cd3a9490d377163d87b16fa1a10cc7254bc2dbb9f60e846961ac8233f3835cf')
version('1.9.4', sha256='3645f08b079e1cc80e24cd2d7ae5172a52476d84e3ec5e6a6c0034492a6ea885')
- depends_on('boost', type=('build'))
+ depends_on('boost@1.74:', type=('build'), when='@1.9.5:')
depends_on('cmake', type=('build'))
depends_on('re2c', type=('build'))
depends_on('clingo')
diff --git a/var/spack/repos/builtin/packages/aspect/package.py b/var/spack/repos/builtin/packages/aspect/package.py
index 08e2b59abd..f996313c98 100644
--- a/var/spack/repos/builtin/packages/aspect/package.py
+++ b/var/spack/repos/builtin/packages/aspect/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/aspell/package.py b/var/spack/repos/builtin/packages/aspell/package.py
index 01f92ea39f..eec6c4f86e 100644
--- a/var/spack/repos/builtin/packages/aspell/package.py
+++ b/var/spack/repos/builtin/packages/aspell/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/aspell6-de/package.py b/var/spack/repos/builtin/packages/aspell6-de/package.py
index 2f3653985f..2d5c143a3f 100644
--- a/var/spack/repos/builtin/packages/aspell6-de/package.py
+++ b/var/spack/repos/builtin/packages/aspell6-de/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/aspell6-en/package.py b/var/spack/repos/builtin/packages/aspell6-en/package.py
index 659e1dffe4..da42863b25 100644
--- a/var/spack/repos/builtin/packages/aspell6-en/package.py
+++ b/var/spack/repos/builtin/packages/aspell6-en/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/aspell6-es/package.py b/var/spack/repos/builtin/packages/aspell6-es/package.py
index ab757e5e8e..68b4f9d5b5 100644
--- a/var/spack/repos/builtin/packages/aspell6-es/package.py
+++ b/var/spack/repos/builtin/packages/aspell6-es/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/aspera-cli/package.py b/var/spack/repos/builtin/packages/aspera-cli/package.py
index f073fdcbb9..2410401d9a 100644
--- a/var/spack/repos/builtin/packages/aspera-cli/package.py
+++ b/var/spack/repos/builtin/packages/aspera-cli/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/assimp/package.py b/var/spack/repos/builtin/packages/assimp/package.py
index 9c9a937c8e..f2be52a4f2 100644
--- a/var/spack/repos/builtin/packages/assimp/package.py
+++ b/var/spack/repos/builtin/packages/assimp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,10 @@ class Assimp(CMakePackage):
homepage = "https://www.assimp.org"
url = "https://github.com/assimp/assimp/archive/v4.0.1.tar.gz"
+ git = "https://github.com/assimp/assimp.git"
+ version('master', branch='master')
+ version('5.0.1', sha256='11310ec1f2ad2cd46b95ba88faca8f7aaa1efe9aa12605c55e3de2b977b3dbfc')
version('4.0.1', sha256='60080d8ab4daaab309f65b3cffd99f19eb1af8d05623fff469b9b652818e286e')
variant('shared', default=True,
diff --git a/var/spack/repos/builtin/packages/astra/package.py b/var/spack/repos/builtin/packages/astra/package.py
index a74e82bd6b..6285edd7c2 100644
--- a/var/spack/repos/builtin/packages/astra/package.py
+++ b/var/spack/repos/builtin/packages/astra/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/astral/package.py b/var/spack/repos/builtin/packages/astral/package.py
index 06cc6eb59e..ee3bd99146 100644
--- a/var/spack/repos/builtin/packages/astral/package.py
+++ b/var/spack/repos/builtin/packages/astral/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/astyle/package.py b/var/spack/repos/builtin/packages/astyle/package.py
index 7b9fdf757e..48e4ba5164 100644
--- a/var/spack/repos/builtin/packages/astyle/package.py
+++ b/var/spack/repos/builtin/packages/astyle/package.py
@@ -1,10 +1,9 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
-import sys
class Astyle(MakefilePackage):
@@ -32,9 +31,9 @@ class Astyle(MakefilePackage):
def edit(self, spec, prefix):
makefile = join_path(self.build_directory, 'Makefile')
filter_file(r'^CXX\s*=.*', 'CXX=%s' % spack_cxx, makefile)
- # strangely enough install -o $(USER) -g $(USER) stoped working on OSX
- if sys.platform == 'darwin':
- filter_file(r'^INSTALL=.*', 'INSTALL=install', makefile)
+ # If the group is not a user account, the installation will fail,
+ # so remove the -o $ (USER) -g $ (USER) parameter.
+ filter_file(r'^INSTALL=.*', 'INSTALL=install', makefile)
@property
def install_targets(self):
diff --git a/var/spack/repos/builtin/packages/at-spi2-atk/package.py b/var/spack/repos/builtin/packages/at-spi2-atk/package.py
index 371b661b45..332feeadc2 100644
--- a/var/spack/repos/builtin/packages/at-spi2-atk/package.py
+++ b/var/spack/repos/builtin/packages/at-spi2-atk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/at-spi2-core/package.py b/var/spack/repos/builtin/packages/at-spi2-core/package.py
index 6e23e901c8..782ad29175 100644
--- a/var/spack/repos/builtin/packages/at-spi2-core/package.py
+++ b/var/spack/repos/builtin/packages/at-spi2-core/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/atf/package.py b/var/spack/repos/builtin/packages/atf/package.py
index 25fc399fbf..dc586d31f3 100644
--- a/var/spack/repos/builtin/packages/atf/package.py
+++ b/var/spack/repos/builtin/packages/atf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/athena/package.py b/var/spack/repos/builtin/packages/athena/package.py
index 3f587c2e1d..970ccfdb69 100644
--- a/var/spack/repos/builtin/packages/athena/package.py
+++ b/var/spack/repos/builtin/packages/athena/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/atk/package.py b/var/spack/repos/builtin/packages/atk/package.py
index 94e4676315..3c0c998906 100644
--- a/var/spack/repos/builtin/packages/atk/package.py
+++ b/var/spack/repos/builtin/packages/atk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -20,8 +20,8 @@ class Atk(Package):
version('2.36.0', sha256='fb76247e369402be23f1f5c65d38a9639c1164d934e40f6a9cf3c9e96b652788')
version('2.30.0', sha256='dd4d90d4217f2a0c1fee708a555596c2c19d26fef0952e1ead1938ab632c027b')
version('2.28.1', sha256='cd3a1ea6ecc268a2497f0cd018e970860de24a6d42086919d6bf6c8e8d53f4fc')
- version('2.20.0', sha256='493a50f6c4a025f588d380a551ec277e070b28a82e63ef8e3c06b3ee7c1238f0')
- version('2.14.0', sha256='2875cc0b32bfb173c066c22a337f79793e0c99d2cc5e81c4dac0d5a523b8fbad')
+ version('2.20.0', sha256='493a50f6c4a025f588d380a551ec277e070b28a82e63ef8e3c06b3ee7c1238f0', deprecated=True)
+ version('2.14.0', sha256='2875cc0b32bfb173c066c22a337f79793e0c99d2cc5e81c4dac0d5a523b8fbad', deprecated=True)
depends_on('meson@0.40.1:', type='build', when='@2.28:')
depends_on('meson@0.46.0:', type='build', when='@2.29:')
diff --git a/var/spack/repos/builtin/packages/atlas/package.py b/var/spack/repos/builtin/packages/atlas/package.py
index ea7b289947..ad9f7784db 100644
--- a/var/spack/repos/builtin/packages/atlas/package.py
+++ b/var/spack/repos/builtin/packages/atlas/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/atmi/package.py b/var/spack/repos/builtin/packages/atmi/package.py
index d0b4cc063d..ecee923c7f 100644
--- a/var/spack/repos/builtin/packages/atmi/package.py
+++ b/var/spack/repos/builtin/packages/atmi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,10 +14,12 @@ class Atmi(CMakePackage):
(integrated and discrete)."""
homepage = "https://github.com/RadeonOpenCompute/atmi"
- url = "https://github.com/RadeonOpenCompute/atmi/archive/rocm-3.8.0.tar.gz"
+ url = "https://github.com/RadeonOpenCompute/atmi/archive/rocm-4.0.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ version('4.0.0', sha256='8a2e5789ee7165aff0f0669eecd23ac0a5c8a5bfbc1acd9380fe9a8ed5bffe3a')
+ version('3.10.0', sha256='387e87c622ec334d3ba7a2f4f015ea9a219712722f4c56c1ef572203d0d072ea')
version('3.9.0', sha256='0a305e85bab210dd9a0410aa01d46227e00b59141e4675c50d731ad1232ab828')
version('3.8.0', sha256='039f0c2b369d0dbc01000754893d9210828f4cb9b36c3e70da8c3819b131c933')
version('3.7.0', sha256='8df08489a10ee04cea911811393e0e7d91bd437fc1fd81a23a4e7ab924a974f3')
@@ -26,7 +28,7 @@ class Atmi(CMakePackage):
variant('build_type', default='Release', values=("Release", "Debug"), description='CMake build type')
depends_on('cmake@3:', type='build')
- for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0']:
+ for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('comgr@' + ver, type='link', when='@' + ver)
depends_on('hsa-rocr-dev@' + ver, type='link', when='@' + ver)
depends_on('libelf@0.8:', type='link', when='@' + ver)
diff --git a/var/spack/repos/builtin/packages/atom-dft/package.py b/var/spack/repos/builtin/packages/atom-dft/package.py
index 81306354e9..dbdb13b3a9 100644
--- a/var/spack/repos/builtin/packages/atom-dft/package.py
+++ b/var/spack/repos/builtin/packages/atom-dft/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/atompaw/package.py b/var/spack/repos/builtin/packages/atompaw/package.py
index 46b66a9382..dfb9ca2258 100644
--- a/var/spack/repos/builtin/packages/atompaw/package.py
+++ b/var/spack/repos/builtin/packages/atompaw/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/atop/package.py b/var/spack/repos/builtin/packages/atop/package.py
index 3c0772fc4e..75108faf0a 100644
--- a/var/spack/repos/builtin/packages/atop/package.py
+++ b/var/spack/repos/builtin/packages/atop/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/attr/package.py b/var/spack/repos/builtin/packages/attr/package.py
index 549909d209..34c442891d 100644
--- a/var/spack/repos/builtin/packages/attr/package.py
+++ b/var/spack/repos/builtin/packages/attr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/audacious/package.py b/var/spack/repos/builtin/packages/audacious/package.py
index a38fb18d96..1036a54711 100644
--- a/var/spack/repos/builtin/packages/audacious/package.py
+++ b/var/spack/repos/builtin/packages/audacious/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/audacity/package.py b/var/spack/repos/builtin/packages/audacity/package.py
index e4ae4dcf16..f45745a814 100644
--- a/var/spack/repos/builtin/packages/audacity/package.py
+++ b/var/spack/repos/builtin/packages/audacity/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/audit-userspace/package.py b/var/spack/repos/builtin/packages/audit-userspace/package.py
index 150a407319..6503fd6e75 100644
--- a/var/spack/repos/builtin/packages/audit-userspace/package.py
+++ b/var/spack/repos/builtin/packages/audit-userspace/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/augustus/package.py b/var/spack/repos/builtin/packages/augustus/package.py
index f105674261..f8da4eb502 100644
--- a/var/spack/repos/builtin/packages/augustus/package.py
+++ b/var/spack/repos/builtin/packages/augustus/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/authd/package.py b/var/spack/repos/builtin/packages/authd/package.py
index eff7361825..62b51fa279 100644
--- a/var/spack/repos/builtin/packages/authd/package.py
+++ b/var/spack/repos/builtin/packages/authd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/authselect/package.py b/var/spack/repos/builtin/packages/authselect/package.py
index 3cc20e583e..3ba4e491a7 100644
--- a/var/spack/repos/builtin/packages/authselect/package.py
+++ b/var/spack/repos/builtin/packages/authselect/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/autoconf-archive/package.py b/var/spack/repos/builtin/packages/autoconf-archive/package.py
index 91e89d46e9..99cca48d30 100644
--- a/var/spack/repos/builtin/packages/autoconf-archive/package.py
+++ b/var/spack/repos/builtin/packages/autoconf-archive/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/autoconf/package.py b/var/spack/repos/builtin/packages/autoconf/package.py
index 28be74890c..0a307e00c1 100644
--- a/var/spack/repos/builtin/packages/autoconf/package.py
+++ b/var/spack/repos/builtin/packages/autoconf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,11 +12,18 @@ class Autoconf(AutotoolsPackage, GNUMirrorPackage):
homepage = 'https://www.gnu.org/software/autoconf/'
gnu_mirror_path = 'autoconf/autoconf-2.69.tar.gz'
- version('2.69', sha256='954bd69b391edc12d6a4a51a2dd1476543da5c6bbf05a95b59dc0dd6fd4c2969')
+ version('2.70', sha256='f05f410fda74323ada4bdc4610db37f8dbd556602ba65bc843edb4d4d4a1b2b7')
+ version('2.69', sha256='954bd69b391edc12d6a4a51a2dd1476543da5c6bbf05a95b59dc0dd6fd4c2969',
+ preferred=True)
version('2.62', sha256='83aa747e6443def0ebd1882509c53f5a2133f502ddefa21b3de141c433914bdd')
version('2.59', sha256='9cd05c73c5fcb1f5ccae53dd6cac36bb8cb9c7b3e97ffae5a7c05c72594c88d8')
version('2.13', sha256='f0611136bee505811e9ca11ca7ac188ef5323a8e2ef19cffd3edb3cf08fd791e')
+ # https://savannah.gnu.org/support/?110396
+ patch('https://git.savannah.gnu.org/cgit/autoconf.git/patch/?id=05972f49ee632cd98057a3caf82ebfb9574846da',
+ sha256='eaa3f69d927a853313a0b06e2117c51adab6377a2278549b05abc5df93643e16',
+ when='@2.70')
+
# Note: m4 is not a pure build-time dependency of autoconf. m4 is
# needed when autoconf runs, not only when autoconf is built.
depends_on('m4@1.4.6:', type=('build', 'run'))
@@ -24,6 +31,8 @@ class Autoconf(AutotoolsPackage, GNUMirrorPackage):
build_directory = 'spack-build'
+ tags = ['build-tools']
+
executables = [
'^autoconf$', '^autoheader$', '^autom4te$', '^autoreconf$',
'^autoscan$', '^autoupdate$', '^ifnames$'
@@ -38,9 +47,14 @@ class Autoconf(AutotoolsPackage, GNUMirrorPackage):
def patch(self):
# The full perl shebang might be too long; we have to fix this here
# because autom4te is called during the build
- filter_file('^#! @PERL@ -w',
- '#! /usr/bin/env perl',
- 'bin/autom4te.in')
+ patched_file = 'bin/autom4te.in'
+
+ # We save and restore the modification timestamp of the file to prevent
+ # regeneration of the respective man page:
+ with keep_modification_time(patched_file):
+ filter_file('^#! @PERL@ -w',
+ '#! /usr/bin/env perl',
+ patched_file)
@run_after('install')
def filter_sbang(self):
diff --git a/var/spack/repos/builtin/packages/autodock-gpu/package.py b/var/spack/repos/builtin/packages/autodock-gpu/package.py
index 9766e45e07..5d339c1a1d 100644
--- a/var/spack/repos/builtin/packages/autodock-gpu/package.py
+++ b/var/spack/repos/builtin/packages/autodock-gpu/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/autodock-vina/package.py b/var/spack/repos/builtin/packages/autodock-vina/package.py
index 50330a433c..0cae8cf314 100644
--- a/var/spack/repos/builtin/packages/autodock-vina/package.py
+++ b/var/spack/repos/builtin/packages/autodock-vina/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/autofact/package.py b/var/spack/repos/builtin/packages/autofact/package.py
index e7650fd3ab..fb6cf27634 100644
--- a/var/spack/repos/builtin/packages/autofact/package.py
+++ b/var/spack/repos/builtin/packages/autofact/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/autogen/package.py b/var/spack/repos/builtin/packages/autogen/package.py
index e60d35ba1b..9253a1a326 100644
--- a/var/spack/repos/builtin/packages/autogen/package.py
+++ b/var/spack/repos/builtin/packages/autogen/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/automaded/package.py b/var/spack/repos/builtin/packages/automaded/package.py
index fe87369020..c83b97f892 100644
--- a/var/spack/repos/builtin/packages/automaded/package.py
+++ b/var/spack/repos/builtin/packages/automaded/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/automake/package.py b/var/spack/repos/builtin/packages/automake/package.py
index 7589712696..e364fe07cb 100644
--- a/var/spack/repos/builtin/packages/automake/package.py
+++ b/var/spack/repos/builtin/packages/automake/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,6 +11,7 @@ class Automake(AutotoolsPackage, GNUMirrorPackage):
homepage = 'http://www.gnu.org/software/automake/'
gnu_mirror_path = 'automake/automake-1.15.tar.gz'
+ version('1.16.3', sha256='ce010788b51f64511a1e9bb2a1ec626037c6d0e7ede32c1c103611b9d3cba65f')
version('1.16.2', sha256='b2f361094b410b4acbf4efba7337bdb786335ca09eb2518635a09fb7319ca5c1')
version('1.16.1', sha256='608a97523f97db32f1f5d5615c98ca69326ced2054c9f82e65bade7fc4c9dea8')
version('1.15.1', sha256='988e32527abe052307d21c8ca000aa238b914df363a617e38f4fb89f5abf6260')
@@ -24,6 +25,8 @@ class Automake(AutotoolsPackage, GNUMirrorPackage):
build_directory = 'spack-build'
+ tags = ['build-tools']
+
executables = ['^automake$']
@classmethod
@@ -38,8 +41,13 @@ class Automake(AutotoolsPackage, GNUMirrorPackage):
if '@:1.15.1' in self.spec:
files_to_be_patched_fmt = 't/wrap/{0}.in'
+ if '@1.16.3:' in self.spec:
+ shebang_string = '^#!@PERL@'
+ else:
+ shebang_string = '^#!@PERL@ -w'
+
for file in ('aclocal', 'automake'):
- filter_file('^#!@PERL@ -w',
+ filter_file(shebang_string,
'#!/usr/bin/env perl',
files_to_be_patched_fmt.format(file))
diff --git a/var/spack/repos/builtin/packages/avizo/package.py b/var/spack/repos/builtin/packages/avizo/package.py
index c8f769b9b2..b2a839c0ad 100644
--- a/var/spack/repos/builtin/packages/avizo/package.py
+++ b/var/spack/repos/builtin/packages/avizo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,6 +18,8 @@ class Avizo(Package):
homepage = "https://www.thermofisher.com/sa/en/home/industrial/electron-microscopy/electron-microscopy-instruments-workflow-solutions/3d-visualization-analysis-software.html"
+ manual_download = True
+
version('2020.1',
sha256='9321aaa276567eebf116e268353c33a4c930d768d22793f921338e1d8cefe991',
url="file://{0}/Avizo-20201-Linux64-gcc48.bin".format(os.getcwd()),
diff --git a/var/spack/repos/builtin/packages/aws-parallelcluster/package.py b/var/spack/repos/builtin/packages/aws-parallelcluster/package.py
index 999c6aae25..4912c3726c 100644
--- a/var/spack/repos/builtin/packages/aws-parallelcluster/package.py
+++ b/var/spack/repos/builtin/packages/aws-parallelcluster/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,17 +12,15 @@ class AwsParallelcluster(PythonPackage):
tool to deploy and manage HPC clusters in the AWS cloud."""
homepage = "https://github.com/aws/aws-parallelcluster"
- url = "https://pypi.io/packages/source/a/aws-parallelcluster/aws-parallelcluster-2.9.1.tar.gz"
+ pypi = "aws-parallelcluster/aws-parallelcluster-2.10.1.tar.gz"
maintainers = [
'sean-smith', 'demartinofra', 'enrico-usai', 'lukeseawalker', 'rexcsn',
'ddeidda', 'tilne'
]
- import_modules = [
- 'pcluster', 'awsbatch', 'pcluster.dcv', 'pcluster.configure',
- 'pcluster.config', 'pcluster.networking'
- ]
+ version('2.10.1', sha256='b3d2ea836c08c9be1667d55a8999aae412d7c2b20f958ca5842e8fa440eb24e0')
+ version('2.10.0', sha256='a7a27871b4f54cb913b0c1233e675131e9b2099549af0840d32c36b7e91b104b')
version('2.9.1', sha256='12dc22286cd447a16931f1f8619bdd47d4543fd0de7905d52b6c6f83ff9db8a3')
version('2.9.0', sha256='e98a8426bc46aca0860d9a2be89bbc4a90aab3ed2f60ca6c385b595fbbe79a78')
version('2.8.1', sha256='c183dc3f053bc2445db724e561cea7f633dd5e7d467a7b3f9b2f2f703f7d5d49')
@@ -33,29 +31,33 @@ class AwsParallelcluster(PythonPackage):
version('2.5.1', sha256='4fd6e14583f8cf81f9e4aa1d6188e3708d3d14e6ae252de0a94caaf58be76303')
version('2.5.0', sha256='3b0209342ea0d9d8cc95505456103ad87c2d4e35771aa838765918194efd0ad3')
- # common deps
depends_on('python@2.7:', type=('build', 'run'))
+
depends_on('py-future@0.16.0:0.18.2', type=('build', 'run'))
+
depends_on('py-ipaddress@1.0.22:', type=('build', 'run'))
+
depends_on('py-configparser@3.5.0:3.8.1', when='^python@:2', type=('build', 'run'))
- # 2.9.x changes
depends_on('py-tabulate@0.8.2:0.8.3', when='@:2.8', type=('build', 'run'))
depends_on('py-tabulate@0.8.5', when='@2.9: ^python@3.0:3.4', type=('build', 'run'))
depends_on('py-tabulate@0.8.2:0.8.7', when='@2.9: ^python@:2,3.5:', type=('build', 'run'))
+
depends_on('py-pyyaml@5.2', when='@2.6:2.8 ^python@3.0:3.4', type=('build', 'run'))
depends_on('py-pyyaml@5.3.1:', when='@2.9: ^python@:2,3.5:', type=('build', 'run'))
+
depends_on('py-jinja2@2.10.1', when='@2.9: ^python@3.0:3.4', type=('build', 'run'))
depends_on('py-jinja2@2.11.0:', when='@2.9: ^python@:2,3.5:', type=('build', 'run'))
- # 2.8.x changes
- depends_on('py-boto3@1.14.3:', when='@2.8:', type=('build', 'run'))
+ depends_on('py-boto3@1.16.14:', when='@2.10:', type=('build', 'run'))
+ depends_on('py-boto3@1.14.3:', when='@2.8:2.9', type=('build', 'run'))
depends_on('py-boto3@1.10.15:', when='@:2.7', type=('build', 'run'))
- # 2.6.x changes
depends_on('py-setuptools', when='@2.6:', type=('build', 'run'))
+
depends_on('py-enum34@1.1.6:', when='@2.6: ^python@:3.3', type=('build', 'run'))
depends_on('py-enum34@1.1.6:', when='@:2.5', type=('build', 'run'))
+
depends_on('py-pyyaml@5.1.2', when='@2.6: ^python@:2,3.5:', type=('build', 'run'))
depends_on('py-pyyaml@5.1.2:', when='@:2.5', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/awscli/package.py b/var/spack/repos/builtin/packages/awscli/package.py
index fcdf4490f5..3463f92147 100644
--- a/var/spack/repos/builtin/packages/awscli/package.py
+++ b/var/spack/repos/builtin/packages/awscli/package.py
@@ -1,5 +1,5 @@
##############################################################################
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,8 +11,7 @@ class Awscli(PythonPackage):
"""This package provides a unified command line interface to
Amazon Web Services"""
- homepage = "https://pypi.org/project/awscli/"
- url = "https://pypi.io/packages/source/a/awscli/awscli-1.16.308.tar.gz"
+ pypi = "awscli/awscli-1.16.308.tar.gz"
version('1.16.308', sha256='3632fb1db2538128509a7b5e89f2a2c4ea3426bec139944247bddc4d79bf7603')
version('1.16.179', sha256='6a87114d1325358d000abe22b2103baae7b91f053ff245b9fde33cb0affb5e4f')
diff --git a/var/spack/repos/builtin/packages/axel/package.py b/var/spack/repos/builtin/packages/axel/package.py
index d802704e0d..0c68680a2d 100644
--- a/var/spack/repos/builtin/packages/axel/package.py
+++ b/var/spack/repos/builtin/packages/axel/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/axl/package.py b/var/spack/repos/builtin/packages/axl/package.py
index 73eb5acdcd..146ab1ec56 100644
--- a/var/spack/repos/builtin/packages/axl/package.py
+++ b/var/spack/repos/builtin/packages/axl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/axom/package.py b/var/spack/repos/builtin/packages/axom/package.py
index 3a0fa3a736..b15544ce68 100644
--- a/var/spack/repos/builtin/packages/axom/package.py
+++ b/var/spack/repos/builtin/packages/axom/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/babelflow/package.py b/var/spack/repos/builtin/packages/babelflow/package.py
index 568f8bf7c8..403ec79228 100644
--- a/var/spack/repos/builtin/packages/babelflow/package.py
+++ b/var/spack/repos/builtin/packages/babelflow/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -25,6 +25,7 @@ class Babelflow(CMakePackage):
variant("shared", default=True, description="Build Babelflow as shared libs")
def cmake_args(self):
+ spec = self.spec
args = [
'-DBUILD_SHARED_LIBS:BOOL={0}'.format(
'ON' if '+shared' in spec else 'OFF')]
diff --git a/var/spack/repos/builtin/packages/babeltrace/package.py b/var/spack/repos/builtin/packages/babeltrace/package.py
index 58e59b1862..f3c0177e1c 100644
--- a/var/spack/repos/builtin/packages/babeltrace/package.py
+++ b/var/spack/repos/builtin/packages/babeltrace/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,5 +17,5 @@ class Babeltrace(AutotoolsPackage):
version('1.2.4', sha256='666e3a1ad2dc7d5703059963056e7800f0eab59c8eeb6be2efe4f3acc5209eb1')
depends_on('glib@2.22:', type=('build', 'link'))
- depends_on('libuuid')
+ depends_on('uuid')
depends_on('popt')
diff --git a/var/spack/repos/builtin/packages/backupninja/package.py b/var/spack/repos/builtin/packages/backupninja/package.py
index 300070fb24..5639f88f38 100644
--- a/var/spack/repos/builtin/packages/backupninja/package.py
+++ b/var/spack/repos/builtin/packages/backupninja/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bam-readcount/package.py b/var/spack/repos/builtin/packages/bam-readcount/package.py
index 45476299eb..498440378d 100644
--- a/var/spack/repos/builtin/packages/bam-readcount/package.py
+++ b/var/spack/repos/builtin/packages/bam-readcount/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bamaddrg/package.py b/var/spack/repos/builtin/packages/bamaddrg/package.py
index c828d048aa..d006a6a1d3 100644
--- a/var/spack/repos/builtin/packages/bamaddrg/package.py
+++ b/var/spack/repos/builtin/packages/bamaddrg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bamdst/package.py b/var/spack/repos/builtin/packages/bamdst/package.py
index 9283d26d6a..593a02091c 100644
--- a/var/spack/repos/builtin/packages/bamdst/package.py
+++ b/var/spack/repos/builtin/packages/bamdst/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bamtools/package.py b/var/spack/repos/builtin/packages/bamtools/package.py
index cf68d9ef4a..d88c8cb557 100644
--- a/var/spack/repos/builtin/packages/bamtools/package.py
+++ b/var/spack/repos/builtin/packages/bamtools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bamutil/package.py b/var/spack/repos/builtin/packages/bamutil/package.py
index 0ea2d66eaf..7d2b765eb0 100644
--- a/var/spack/repos/builtin/packages/bamutil/package.py
+++ b/var/spack/repos/builtin/packages/bamutil/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bannergrab/package.py b/var/spack/repos/builtin/packages/bannergrab/package.py
index ed8af4a0e3..50b5bb7085 100644
--- a/var/spack/repos/builtin/packages/bannergrab/package.py
+++ b/var/spack/repos/builtin/packages/bannergrab/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/barrnap/package.py b/var/spack/repos/builtin/packages/barrnap/package.py
index ce293fd228..6c4502150f 100644
--- a/var/spack/repos/builtin/packages/barrnap/package.py
+++ b/var/spack/repos/builtin/packages/barrnap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bart/package.py b/var/spack/repos/builtin/packages/bart/package.py
index 43b2c1e566..30ca01f3d9 100644
--- a/var/spack/repos/builtin/packages/bart/package.py
+++ b/var/spack/repos/builtin/packages/bart/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bash-completion/package.py b/var/spack/repos/builtin/packages/bash-completion/package.py
index d5f250ebc5..c03dabf74f 100644
--- a/var/spack/repos/builtin/packages/bash-completion/package.py
+++ b/var/spack/repos/builtin/packages/bash-completion/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bash/package.py b/var/spack/repos/builtin/packages/bash/package.py
index 45a0b00651..4769f455c0 100644
--- a/var/spack/repos/builtin/packages/bash/package.py
+++ b/var/spack/repos/builtin/packages/bash/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bashtop/package.py b/var/spack/repos/builtin/packages/bashtop/package.py
index 47f98f14a8..a8cea8df8f 100644
--- a/var/spack/repos/builtin/packages/bashtop/package.py
+++ b/var/spack/repos/builtin/packages/bashtop/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bat/package.py b/var/spack/repos/builtin/packages/bat/package.py
index 0463580f8f..0a3b60a0bf 100644
--- a/var/spack/repos/builtin/packages/bat/package.py
+++ b/var/spack/repos/builtin/packages/bat/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/batctl/package.py b/var/spack/repos/builtin/packages/batctl/package.py
index 45bd5ecd73..bb99380248 100644
--- a/var/spack/repos/builtin/packages/batctl/package.py
+++ b/var/spack/repos/builtin/packages/batctl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bats/package.py b/var/spack/repos/builtin/packages/bats/package.py
index 531473a9e8..f3024a91b3 100644
--- a/var/spack/repos/builtin/packages/bats/package.py
+++ b/var/spack/repos/builtin/packages/bats/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bazel/linux_ppc-0.29.1.patch b/var/spack/repos/builtin/packages/bazel/linux_ppc-0.29.1.patch
new file mode 100644
index 0000000000..c3ed9ab254
--- /dev/null
+++ b/var/spack/repos/builtin/packages/bazel/linux_ppc-0.29.1.patch
@@ -0,0 +1,61 @@
+From 9c9d27561780bc56d9f0867e325c7421a94ee1cb Mon Sep 17 00:00:00 2001
+From: Harsh Bhatia <bhatia4@llnl.gov>
+Date: Tue, 15 Dec 2020 15:56:10 -0800
+Subject: [PATCH] https://github.com/bazelbuild/bazel/commit/ab62a6e097590dac5ec946ad7a796ea0e8593ae0
+
+---
+ src/conditions/BUILD | 6 ++++++
+ third_party/BUILD | 8 ++++++--
+ 2 files changed, 12 insertions(+), 2 deletions(-)
+
+diff --git a/src/conditions/BUILD b/src/conditions/BUILD
+index 2b28e28057..faa41a439d 100644
+--- a/src/conditions/BUILD
++++ b/src/conditions/BUILD
+@@ -10,6 +10,12 @@ filegroup(
+ visibility = ["//src:__pkg__"],
+ )
+
++config_setting(
++ name = "linux_ppc",
++ values = {"cpu": "ppc"},
++ visibility = ["//visibility:public"],
++)
++
+ config_setting(
+ name = "linux_x86_64",
+ values = {"cpu": "k8"},
+diff --git a/third_party/BUILD b/third_party/BUILD
+index 159006d741..4fcae54c00 100644
+--- a/third_party/BUILD
++++ b/third_party/BUILD
+@@ -523,12 +523,13 @@ UNNECESSARY_DYNAMIC_LIBRARIES = select({
+ "//src/conditions:darwin": "*.so *.dll",
+ "//src/conditions:darwin_x86_64": "*.so *.dll",
+ "//src/conditions:linux_x86_64": "*.jnilib *.dll",
++ "//src/conditions:linux_ppc": "*.so *.jnilib *.dll",
+ # The .so file is an x86 one, so we can just remove it if the CPU is not x86
+ "//src/conditions:arm": "*.so *.jnilib *.dll",
+ "//src/conditions:linux_aarch64": "*.so *.jnilib *.dll",
+ # Play it safe -- better have a big binary than a slow binary
+ # zip -d does require an argument. Supply something bogus.
+- "//conditions:default": "*.bogusextension",
++ "//conditions:default": "",
+ })
+
+ # Remove native libraries that are for a platform different from the one we are
+@@ -537,7 +538,10 @@ genrule(
+ name = "filter_netty_dynamic_libs",
+ srcs = ["netty_tcnative/netty-tcnative-boringssl-static-2.0.24.Final.jar"],
+ outs = ["netty_tcnative/netty-tcnative-filtered.jar"],
+- cmd = "cp $< $@ && zip -qd $@ " + UNNECESSARY_DYNAMIC_LIBRARIES,
++ cmd = "cp $< $@ && " +
++ # End successfully if there is nothing to be deleted from the archive
++ "if [ -n '" + UNNECESSARY_DYNAMIC_LIBRARIES + "' ]; then " +
++ "zip -qd $@ " + UNNECESSARY_DYNAMIC_LIBRARIES + "; fi",
+ )
+
+ java_import(
+--
+2.21.0 (Apple Git-122.2)
+
diff --git a/var/spack/repos/builtin/packages/bazel/package.py b/var/spack/repos/builtin/packages/bazel/package.py
index ad1239529d..6cbab3e34f 100644
--- a/var/spack/repos/builtin/packages/bazel/package.py
+++ b/var/spack/repos/builtin/packages/bazel/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,7 +17,10 @@ class Bazel(Package):
url = "https://github.com/bazelbuild/bazel/releases/download/3.1.0/bazel-3.1.0-dist.zip"
maintainers = ['adamjstewart']
-
+ version('3.7.1', sha256='c9244e5905df6b0190113e26082c72d58b56b1b0dec66d076f083ce4089b0307')
+ version('3.7.0', sha256='63873623917c756d1be49ff4d5fc23049736180e6b9a7d5236c6f204eddae3cc')
+ version('3.6.0', sha256='3a18f24febb5203f11b0985b27e120ac623058d1d5ca79cd6df992e67d57240a')
+ version('3.5.1', sha256='67eae714578b22d24192b0eb3a2d35b07578bbd57a33c50f1e74f8acd6378b3c')
version('3.5.0', sha256='334429059cf82e222ca8a9d9dbbd26f8e1eb308613463c2b8655dd4201b127ec')
version('3.4.1', sha256='27af1f11c8f23436915925b25cf6e1fb07fccf2d2a193a307c93437c60f63ba8')
version('3.4.0', sha256='7583abf8905ba9dd5394294e815e8873635ac4e5067e63392e8a33b397e450d8')
@@ -105,6 +108,11 @@ class Bazel(Package):
depends_on('python', type=('build', 'run'))
depends_on('zip', when='platform=linux', type=('build', 'run'))
+ # make work on power9 (2x commits)
+ # https://github.com/bazelbuild/bazel/commit/5cff4f1edf8b95bf0612791632255852332f72b5
+ # https://github.com/bazelbuild/bazel/commit/ab62a6e097590dac5ec946ad7a796ea0e8593ae0
+ patch('linux_ppc-0.29.1.patch', when='@0.29.1')
+
# Pass Spack environment variables to the build
patch('bazelruleclassprovider-0.25.patch', when='@0.25:')
patch('bazelruleclassprovider-0.14.patch', when='@0.14:0.24')
@@ -160,6 +168,11 @@ class Bazel(Package):
return url.format(version)
def setup_build_environment(self, env):
+ # fix the broken linking (on power9)
+ # https://github.com/bazelbuild/bazel/issues/10327
+ env.set('BAZEL_LINKOPTS', '')
+ env.set('BAZEL_LINKLIBS', '-lstdc++')
+
env.set('EXTRA_BAZEL_ARGS',
# Spack's logs don't handle colored output well
'--color=no --host_javabase=@local_jdk//:jdk'
diff --git a/var/spack/repos/builtin/packages/bbcp/package.py b/var/spack/repos/builtin/packages/bbcp/package.py
index 0ea5d88a89..a52f68b159 100644
--- a/var/spack/repos/builtin/packages/bbcp/package.py
+++ b/var/spack/repos/builtin/packages/bbcp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bbmap/package.py b/var/spack/repos/builtin/packages/bbmap/package.py
index f4019c8391..1e420bf75c 100644
--- a/var/spack/repos/builtin/packages/bbmap/package.py
+++ b/var/spack/repos/builtin/packages/bbmap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bc/package.py b/var/spack/repos/builtin/packages/bc/package.py
index b78bf8878c..35df0518db 100644
--- a/var/spack/repos/builtin/packages/bc/package.py
+++ b/var/spack/repos/builtin/packages/bc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bcache/package.py b/var/spack/repos/builtin/packages/bcache/package.py
index 9d7eb9b706..c25f333eab 100644
--- a/var/spack/repos/builtin/packages/bcache/package.py
+++ b/var/spack/repos/builtin/packages/bcache/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,6 +19,7 @@ class Bcache(MakefilePackage):
version('1.0.5', sha256='1449294ef545b3dc6f715f7b063bc2c8656984ad73bcd81a0dc048cbba416ea9')
version('1.0.4', sha256='102ffc3a8389180f4b491188c3520f8a4b1a84e5a7ca26d2bd6de1821f4d913d')
+ depends_on('uuid')
depends_on('util-linux')
depends_on('gettext')
depends_on('pkgconfig', type='build')
diff --git a/var/spack/repos/builtin/packages/bcftools/package.py b/var/spack/repos/builtin/packages/bcftools/package.py
index ef411aaed5..7c95ee24ec 100644
--- a/var/spack/repos/builtin/packages/bcftools/package.py
+++ b/var/spack/repos/builtin/packages/bcftools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bcl2fastq2/package.py b/var/spack/repos/builtin/packages/bcl2fastq2/package.py
index 5f2062859d..88be787713 100644
--- a/var/spack/repos/builtin/packages/bcl2fastq2/package.py
+++ b/var/spack/repos/builtin/packages/bcl2fastq2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -26,7 +26,7 @@ class Bcl2fastq2(Package):
msg='malloc.h/etc requirements break build on macs')
depends_on('boost@1.54.0')
- depends_on('cmake@2.8.9:')
+ depends_on('cmake@2.8.9:', type='build')
depends_on('libxml2@2.7.8')
depends_on('libxslt@1.1.26~crypto')
depends_on('libgcrypt')
diff --git a/var/spack/repos/builtin/packages/bdftopcf/package.py b/var/spack/repos/builtin/packages/bdftopcf/package.py
index 8c410358c7..edfc810c00 100644
--- a/var/spack/repos/builtin/packages/bdftopcf/package.py
+++ b/var/spack/repos/builtin/packages/bdftopcf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -22,6 +22,6 @@ class Bdftopcf(AutotoolsPackage, XorgPackage):
depends_on('libxfont')
depends_on('pkgconfig', type='build')
- depends_on('xproto', type='build')
- depends_on('fontsproto', type='build')
+ depends_on('xproto')
+ depends_on('fontsproto')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/bdii/package.py b/var/spack/repos/builtin/packages/bdii/package.py
index 69bc06ccac..8c283cf7fa 100644
--- a/var/spack/repos/builtin/packages/bdii/package.py
+++ b/var/spack/repos/builtin/packages/bdii/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bdw-gc/package.py b/var/spack/repos/builtin/packages/bdw-gc/package.py
index 40a5aca8cf..00eaa87bbd 100644
--- a/var/spack/repos/builtin/packages/bdw-gc/package.py
+++ b/var/spack/repos/builtin/packages/bdw-gc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/beagle/package.py b/var/spack/repos/builtin/packages/beagle/package.py
index cbe12a83aa..d0beb9443b 100644
--- a/var/spack/repos/builtin/packages/beagle/package.py
+++ b/var/spack/repos/builtin/packages/beagle/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/beakerlib/package.py b/var/spack/repos/builtin/packages/beakerlib/package.py
index fac03c5106..0dc7194909 100644
--- a/var/spack/repos/builtin/packages/beakerlib/package.py
+++ b/var/spack/repos/builtin/packages/beakerlib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bear/package.py b/var/spack/repos/builtin/packages/bear/package.py
index df43e55736..0ca891c6e6 100644
--- a/var/spack/repos/builtin/packages/bear/package.py
+++ b/var/spack/repos/builtin/packages/bear/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/beast-tracer/package.py b/var/spack/repos/builtin/packages/beast-tracer/package.py
index e7e4a344d7..c1e0e8129b 100644
--- a/var/spack/repos/builtin/packages/beast-tracer/package.py
+++ b/var/spack/repos/builtin/packages/beast-tracer/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/beast1/package.py b/var/spack/repos/builtin/packages/beast1/package.py
index cee34e4814..6836a958af 100644
--- a/var/spack/repos/builtin/packages/beast1/package.py
+++ b/var/spack/repos/builtin/packages/beast1/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/beast2/package.py b/var/spack/repos/builtin/packages/beast2/package.py
index f7ff1b0e72..7b8d89adb5 100644
--- a/var/spack/repos/builtin/packages/beast2/package.py
+++ b/var/spack/repos/builtin/packages/beast2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bedops/package.py b/var/spack/repos/builtin/packages/bedops/package.py
index a8a6e7a607..ce7b978ca8 100644
--- a/var/spack/repos/builtin/packages/bedops/package.py
+++ b/var/spack/repos/builtin/packages/bedops/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bedtools2/package.py b/var/spack/repos/builtin/packages/bedtools2/package.py
index b9c1cd06d1..40525c22b9 100644
--- a/var/spack/repos/builtin/packages/bedtools2/package.py
+++ b/var/spack/repos/builtin/packages/bedtools2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,6 +15,7 @@ class Bedtools2(Package):
homepage = "https://github.com/arq5x/bedtools2"
url = "https://github.com/arq5x/bedtools2/archive/v2.26.0.tar.gz"
+ version('2.29.2', sha256='bc2f36b5d4fc9890c69f607d54da873032628462e88c545dd633d2c787a544a5')
version('2.27.1', sha256='edcac089d84e63a51f85c3c189469daa7d42180272130b046856faad3cf79112')
version('2.27.0', sha256='e91390b567e577d337c15ca301e264b0355441f5ab90fa4f971622e3043e0ca0')
version('2.26.0', sha256='15db784f60a11b104ccbc9f440282e5780e0522b8d55d359a8318a6b61897977')
diff --git a/var/spack/repos/builtin/packages/beforelight/package.py b/var/spack/repos/builtin/packages/beforelight/package.py
index 3fff45aa59..764959934c 100644
--- a/var/spack/repos/builtin/packages/beforelight/package.py
+++ b/var/spack/repos/builtin/packages/beforelight/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/benchmark/package.py b/var/spack/repos/builtin/packages/benchmark/package.py
index c02a9e8b5f..c8911c2cac 100644
--- a/var/spack/repos/builtin/packages/benchmark/package.py
+++ b/var/spack/repos/builtin/packages/benchmark/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/berkeley-db/package.py b/var/spack/repos/builtin/packages/berkeley-db/package.py
index 0385de81a1..a9affe55e8 100644
--- a/var/spack/repos/builtin/packages/berkeley-db/package.py
+++ b/var/spack/repos/builtin/packages/berkeley-db/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,6 +8,7 @@ class BerkeleyDb(AutotoolsPackage):
"""Oracle Berkeley DB"""
homepage = "https://www.oracle.com/database/technologies/related/berkeleydb.html"
+ # URL must remain http:// so Spack can bootstrap curl
url = "http://download.oracle.com/berkeley-db/db-18.1.40.tar.gz"
version("18.1.40", sha256="0cecb2ef0c67b166de93732769abdeba0555086d51de1090df325e18ee8da9c8")
@@ -27,6 +28,8 @@ class BerkeleyDb(AutotoolsPackage):
filter_file(r'gsg_db_server', '', 'dist/Makefile.in')
def configure_args(self):
+ spec = self.spec
+
config_args = [
'--disable-static',
'--enable-cxx',
@@ -39,9 +42,10 @@ class BerkeleyDb(AutotoolsPackage):
'--with-repmgr-ssl=no',
]
- # The default glibc provided by CentOS 7 does not provide proper
- # atomic support when using the NVIDIA compilers
- if self.spec.satisfies('%nvhpc os=centos7'):
+ # The default glibc provided by CentOS 7 and Red Hat 8 does not provide
+ # proper atomic support when using the NVIDIA compilers
+ if (spec.satisfies('%nvhpc')
+ and (spec.satisfies('os=centos7') or spec.satisfies('os=rhel8'))):
config_args.append('--disable-atomicsupport')
return config_args
diff --git a/var/spack/repos/builtin/packages/bertini/package.py b/var/spack/repos/builtin/packages/bertini/package.py
index aba08990c6..28c948a7a7 100644
--- a/var/spack/repos/builtin/packages/bertini/package.py
+++ b/var/spack/repos/builtin/packages/bertini/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bgpdump/package.py b/var/spack/repos/builtin/packages/bgpdump/package.py
index e708860dc3..8863cd5c58 100644
--- a/var/spack/repos/builtin/packages/bgpdump/package.py
+++ b/var/spack/repos/builtin/packages/bgpdump/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bib2xhtml/package.py b/var/spack/repos/builtin/packages/bib2xhtml/package.py
index 36ce8254ee..8e7bd85193 100644
--- a/var/spack/repos/builtin/packages/bib2xhtml/package.py
+++ b/var/spack/repos/builtin/packages/bib2xhtml/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bigreqsproto/package.py b/var/spack/repos/builtin/packages/bigreqsproto/package.py
index caa8fcd51e..340b463c1d 100644
--- a/var/spack/repos/builtin/packages/bigreqsproto/package.py
+++ b/var/spack/repos/builtin/packages/bigreqsproto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bind9/package.py b/var/spack/repos/builtin/packages/bind9/package.py
index 7c31821e6c..7340f90cb1 100644
--- a/var/spack/repos/builtin/packages/bind9/package.py
+++ b/var/spack/repos/builtin/packages/bind9/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/binutils/package.py b/var/spack/repos/builtin/packages/binutils/package.py
index f79015cf6b..4c5784ba8e 100644
--- a/var/spack/repos/builtin/packages/binutils/package.py
+++ b/var/spack/repos/builtin/packages/binutils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bioawk/package.py b/var/spack/repos/builtin/packages/bioawk/package.py
index d7317d4293..596fd45083 100644
--- a/var/spack/repos/builtin/packages/bioawk/package.py
+++ b/var/spack/repos/builtin/packages/bioawk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/biobambam2/package.py b/var/spack/repos/builtin/packages/biobambam2/package.py
new file mode 100644
index 0000000000..bafad81657
--- /dev/null
+++ b/var/spack/repos/builtin/packages/biobambam2/package.py
@@ -0,0 +1,46 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Biobambam2(AutotoolsPackage):
+ """Tools for early stage alignment file processing"""
+
+ homepage = "https://gitlab.com/german.tischler/biobambam2"
+ url = "https://gitlab.com/german.tischler/biobambam2/-/archive/2.0.177-release-20201112105453/biobambam2-2.0.177-release-20201112105453.tar.gz"
+
+ version('2.0.177', sha256='ad0a418fb49a31996a105a1a275c0d1dfc8b84aa91d48fa1efb6ff4fe1e74181',
+ url='https://gitlab.com/german.tischler/biobambam2/-/archive/2.0.177-release-20201112105453/biobambam2-2.0.177-release-20201112105453.tar.gz')
+
+ depends_on('autoconf', type='build')
+ depends_on('automake', type='build')
+ depends_on('libtool', type='build')
+ depends_on('m4', type='build')
+ depends_on('libmaus2')
+
+ test_src_dir = 'test'
+
+ def configure_args(self):
+ args = ['--with-libmaus2={0}'.format(self.spec['libmaus2'].prefix)]
+ return args
+
+ def _fix_shortsort(self):
+ """Fix the testshortsort.sh file copied during installation."""
+ test_dir = join_path(self.install_test_root, self.test_src_dir)
+ filter_file('../src/', '', join_path(test_dir, 'testshortsort.sh'))
+
+ @run_after('install')
+ def cache_test_sources(self):
+ """Copy the test source files after the package is installed to an
+ install test subdirectory for use during `spack test run`."""
+ self.cache_extra_test_sources(self.test_src_dir)
+ self._fix_shortsort()
+
+ def test(self):
+ test_dir = join_path(self.install_test_root, self.test_src_dir)
+ self.run_test('sh', ['testshortsort.sh'],
+ expected='Alignments sorted by coordinate.',
+ work_dir=test_dir)
diff --git a/var/spack/repos/builtin/packages/biobloom/package.py b/var/spack/repos/builtin/packages/biobloom/package.py
index c9d1ac687f..0197843302 100644
--- a/var/spack/repos/builtin/packages/biobloom/package.py
+++ b/var/spack/repos/builtin/packages/biobloom/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/biopieces/package.py b/var/spack/repos/builtin/packages/biopieces/package.py
index 6e94f3855d..b1e44aaea9 100644
--- a/var/spack/repos/builtin/packages/biopieces/package.py
+++ b/var/spack/repos/builtin/packages/biopieces/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bird/package.py b/var/spack/repos/builtin/packages/bird/package.py
index bf0a6209a5..7b48ed0e41 100644
--- a/var/spack/repos/builtin/packages/bird/package.py
+++ b/var/spack/repos/builtin/packages/bird/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -23,5 +23,7 @@ class Bird(AutotoolsPackage):
depends_on('automake', type='build')
depends_on('libtool', type='build')
depends_on('m4', type='build')
+ depends_on('flex', type='build')
+ depends_on('bison', type='build')
depends_on('ncurses')
depends_on('readline')
diff --git a/var/spack/repos/builtin/packages/bismark/package.py b/var/spack/repos/builtin/packages/bismark/package.py
index cb71eed678..9dad04177a 100644
--- a/var/spack/repos/builtin/packages/bismark/package.py
+++ b/var/spack/repos/builtin/packages/bismark/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bison/package.py b/var/spack/repos/builtin/packages/bison/package.py
index 8b4ebfa8bd..b7e2be8c05 100644
--- a/var/spack/repos/builtin/packages/bison/package.py
+++ b/var/spack/repos/builtin/packages/bison/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,6 +19,11 @@ class Bison(AutotoolsPackage, GNUMirrorPackage):
executables = ['^bison$']
+ version('3.7.4', sha256='fbabc7359ccd8b4b36d47bfe37ebbce44805c052526d5558b95eda125d1677e2')
+ version('3.7.3', sha256='104fe912f2212ab4e4a59df888a93b719a046ffc38d178e943f6c54b1f27b3c7')
+ version('3.7.2', sha256='415cd91044517bbfd8d135dea24e054501db238a5515edd9cdbb795ba3e82a84')
+ version('3.7.1', sha256='1dd952839cf0d5a8178c691eeae40dc48fa50d18dcce648b1ad9ae0195367d13')
+ version('3.7', sha256='492ad61202de893ca21a99b621d63fa5389da58804ad79d3f226b8d04b803998')
version('3.6.4', sha256='8183de64b5383f3634942c7b151bf2577f74273b2731574cdda8a8f3a0ab13e9')
version('3.6.3', sha256='4b4c4943931e811f1073006ce3d8ee022a02b11b501e9cbf4def3613b24a3e63')
version('3.6.2', sha256='e28ed3aad934de2d1df68be209ac0b454f7b6d3c3d6d01126e5cd2cbadba089a')
diff --git a/var/spack/repos/builtin/packages/bitlbee/package.py b/var/spack/repos/builtin/packages/bitlbee/package.py
index c64da4736f..a96e06b4ba 100644
--- a/var/spack/repos/builtin/packages/bitlbee/package.py
+++ b/var/spack/repos/builtin/packages/bitlbee/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bitmap/package.py b/var/spack/repos/builtin/packages/bitmap/package.py
index 06e793bcd3..5dbf830bc2 100644
--- a/var/spack/repos/builtin/packages/bitmap/package.py
+++ b/var/spack/repos/builtin/packages/bitmap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -20,7 +20,7 @@ class Bitmap(AutotoolsPackage, XorgPackage):
depends_on('libxmu')
depends_on('libxt')
- depends_on('xbitmaps', type='build')
- depends_on('xproto@7.0.25:', type='build')
+ depends_on('xbitmaps')
+ depends_on('xproto@7.0.25:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/bitsery/package.py b/var/spack/repos/builtin/packages/bitsery/package.py
index 8a2ce07b60..3c69a63c75 100644
--- a/var/spack/repos/builtin/packages/bitsery/package.py
+++ b/var/spack/repos/builtin/packages/bitsery/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/blaspp/package.py b/var/spack/repos/builtin/packages/blaspp/package.py
index 7b6c4da613..78532c1fb1 100644
--- a/var/spack/repos/builtin/packages/blaspp/package.py
+++ b/var/spack/repos/builtin/packages/blaspp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -29,11 +29,8 @@ class Blaspp(CMakePackage, CudaPackage):
depends_on('cmake@3.15.0:', type='build')
depends_on('blas')
- # This will attempt to use a supported version of OpenBLAS
- depends_on('openblas@:0.3.5', when='^openblas')
- # In some cases, the spack concretizer will fail to use a supported
- # version of OpenBLAS. In this case, present an error message.
- conflicts('^openblas@0.3.6:', msg='Testing errors in OpenBLAS >=0.3.6')
+ # BLASpp tests will fail when using openblas > 0.3.5 without multithreading support
+ conflicts('^openblas@0.3.6: threads=none', msg='BLASpp requires openblas multithreading support')
def cmake_args(self):
spec = self.spec
diff --git a/var/spack/repos/builtin/packages/blasr-libcpp/package.py b/var/spack/repos/builtin/packages/blasr-libcpp/package.py
index 658561a39a..c93e9d4d7c 100644
--- a/var/spack/repos/builtin/packages/blasr-libcpp/package.py
+++ b/var/spack/repos/builtin/packages/blasr-libcpp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/blasr/package.py b/var/spack/repos/builtin/packages/blasr/package.py
index 5c6afdba3a..22a9ef0958 100644
--- a/var/spack/repos/builtin/packages/blasr/package.py
+++ b/var/spack/repos/builtin/packages/blasr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/blast-legacy/package.py b/var/spack/repos/builtin/packages/blast-legacy/package.py
index faf5a155af..e47f4b7c2e 100644
--- a/var/spack/repos/builtin/packages/blast-legacy/package.py
+++ b/var/spack/repos/builtin/packages/blast-legacy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,7 +14,7 @@ class BlastLegacy(Package):
homepage = "https://www.ncbi.nlm.nih.gov/"
url = "ftp://ftp.ncbi.nlm.nih.gov/blast/executables/legacy.NOTSUPPORTED/2.2.26/ncbi.tar.gz"
- version('2.2.26', sha256='d8fffac25efc8ca894c707c840a4797a8a949ae6fd983d2f91c9972f788efb7d')
+ version('2.2.26', sha256='d8fffac25efc8ca894c707c840a4797a8a949ae6fd983d2f91c9972f788efb7d', deprecated=True)
depends_on('tcsh', type='build')
diff --git a/var/spack/repos/builtin/packages/blast-plus/package.py b/var/spack/repos/builtin/packages/blast-plus/package.py
index febe4fc159..3fb2d4a85b 100644
--- a/var/spack/repos/builtin/packages/blast-plus/package.py
+++ b/var/spack/repos/builtin/packages/blast-plus/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -21,8 +21,9 @@ class BlastPlus(AutotoolsPackage):
"""Basic Local Alignment Search Tool."""
homepage = "http://blast.ncbi.nlm.nih.gov/"
- url = "https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.6.0/ncbi-blast-2.6.0+-src.tar.gz"
+ url = "https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.11.0/ncbi-blast-2.11.0+-src.tar.gz"
+ version('2.11.0', sha256='d88e1858ae7ce553545a795a2120e657a799a6d334f2a07ef0330cc3e74e1954')
version('2.9.0', sha256='a390cc2d7a09422759fc178db84de9def822cbe485916bbb2ec0d215dacdc257')
version('2.8.1', sha256='e03dd1a30e37cb8a859d3788a452c5d70ee1f9102d1ee0f93b2fbd145925118f')
version('2.7.1', sha256='10a78d3007413a6d4c983d2acbf03ef84b622b82bd9a59c6bd9fbdde9d0298ca')
diff --git a/var/spack/repos/builtin/packages/blast2go/package.py b/var/spack/repos/builtin/packages/blast2go/package.py
index d272065474..bd474f5141 100644
--- a/var/spack/repos/builtin/packages/blast2go/package.py
+++ b/var/spack/repos/builtin/packages/blast2go/package.py
@@ -1,9 +1,10 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
+import archspec
class Blast2go(Package):
@@ -14,6 +15,10 @@ class Blast2go(Package):
version('5.2.5', sha256='c37aeda25f96ac0553b52da6b5af3167d50671ddbfb3b39bcb11afe5d0643891')
+ for t in set([str(x.family) for x in archspec.cpu.TARGETS.values()
+ if str(x.family) != 'x86_64']):
+ conflicts('target={0}:'.format(t), msg='blast2go is available x86_64 only')
+
depends_on('bash', type='build')
depends_on('blast-plus', type='run')
depends_on('java', type='build')
diff --git a/var/spack/repos/builtin/packages/blat/package.py b/var/spack/repos/builtin/packages/blat/package.py
index 831329eafb..0da2ef9628 100644
--- a/var/spack/repos/builtin/packages/blat/package.py
+++ b/var/spack/repos/builtin/packages/blat/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/blaze/package.py b/var/spack/repos/builtin/packages/blaze/package.py
index 81c6f5f715..80c105b6ea 100644
--- a/var/spack/repos/builtin/packages/blaze/package.py
+++ b/var/spack/repos/builtin/packages/blaze/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/blis/package.py b/var/spack/repos/builtin/packages/blis/package.py
index 8e8deaf61f..37a354621f 100644
--- a/var/spack/repos/builtin/packages/blis/package.py
+++ b/var/spack/repos/builtin/packages/blis/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bliss/package.py b/var/spack/repos/builtin/packages/bliss/package.py
index b42e9cac9c..f5333c73a6 100644
--- a/var/spack/repos/builtin/packages/bliss/package.py
+++ b/var/spack/repos/builtin/packages/bliss/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/blitz/package.py b/var/spack/repos/builtin/packages/blitz/package.py
index 4a823b3e20..d44df205fe 100644
--- a/var/spack/repos/builtin/packages/blitz/package.py
+++ b/var/spack/repos/builtin/packages/blitz/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,11 +9,15 @@ from spack import *
class Blitz(AutotoolsPackage):
"""N-dimensional arrays for C++"""
homepage = "http://github.com/blitzpp/blitz"
- url = "https://github.com/blitzpp/blitz/archive/1.0.1.tar.gz"
+ url = "https://github.com/blitzpp/blitz/archive/1.0.2.tar.gz"
+ version('1.0.2', sha256='500db9c3b2617e1f03d0e548977aec10d36811ba1c43bb5ef250c0e3853ae1c2')
version('1.0.1', sha256='b62fc3f07b64b264307b01fec5e4f2793e09a68dcb5378984aedbc2e4b3adcef')
version('1.0.0', sha256='79c06ea9a0585ba0e290c8140300e3ad19491c45c1d90feb52819abc3b58a0c1')
+ depends_on('python@:2.7.999', type='build', when='@:1.0.1')
+ depends_on('python@3:', type='build', when='@1.0.2:')
+
build_targets = ['lib']
def check(self):
diff --git a/var/spack/repos/builtin/packages/blktrace/package.py b/var/spack/repos/builtin/packages/blktrace/package.py
index bf0b1eae05..2272722b1e 100644
--- a/var/spack/repos/builtin/packages/blktrace/package.py
+++ b/var/spack/repos/builtin/packages/blktrace/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bloaty/package.py b/var/spack/repos/builtin/packages/bloaty/package.py
new file mode 100644
index 0000000000..0bdb33d7da
--- /dev/null
+++ b/var/spack/repos/builtin/packages/bloaty/package.py
@@ -0,0 +1,18 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Bloaty(CMakePackage):
+ """Bloaty McBloatface: a size profiler for binaries."""
+
+ homepage = "https://github.com/google/bloaty"
+ url = "https://github.com/google/bloaty/releases/download/v1.1/bloaty-1.1.tar.bz2"
+
+ maintiners = ["cyrush"]
+
+ version('1.1',
+ sha256='a308d8369d5812aba45982e55e7c3db2ea4780b7496a5455792fb3dcba9abd6f')
diff --git a/var/spack/repos/builtin/packages/blogbench/package.py b/var/spack/repos/builtin/packages/blogbench/package.py
index d9a7fd6088..d66bf8b77c 100644
--- a/var/spack/repos/builtin/packages/blogbench/package.py
+++ b/var/spack/repos/builtin/packages/blogbench/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/blt/package.py b/var/spack/repos/builtin/packages/blt/package.py
index 430c82affd..37ac915424 100644
--- a/var/spack/repos/builtin/packages/blt/package.py
+++ b/var/spack/repos/builtin/packages/blt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bmake/package.py b/var/spack/repos/builtin/packages/bmake/package.py
index 2988bc2729..08c05e1bcb 100644
--- a/var/spack/repos/builtin/packages/bmake/package.py
+++ b/var/spack/repos/builtin/packages/bmake/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bmi/package.py b/var/spack/repos/builtin/packages/bmi/package.py
index c2862ed3ee..30cbc2002d 100644
--- a/var/spack/repos/builtin/packages/bmi/package.py
+++ b/var/spack/repos/builtin/packages/bmi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bml/package.py b/var/spack/repos/builtin/packages/bml/package.py
index 48a263f85e..e535e1072d 100644
--- a/var/spack/repos/builtin/packages/bml/package.py
+++ b/var/spack/repos/builtin/packages/bml/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bohrium/package.py b/var/spack/repos/builtin/packages/bohrium/package.py
index 1fb05be2a0..81d489d0de 100644
--- a/var/spack/repos/builtin/packages/bohrium/package.py
+++ b/var/spack/repos/builtin/packages/bohrium/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/boinc-client/package.py b/var/spack/repos/builtin/packages/boinc-client/package.py
index 80e6416e4b..590a627e81 100644
--- a/var/spack/repos/builtin/packages/boinc-client/package.py
+++ b/var/spack/repos/builtin/packages/boinc-client/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bolt/package.py b/var/spack/repos/builtin/packages/bolt/package.py
index b4e4cf95ce..c3f7870f3f 100644
--- a/var/spack/repos/builtin/packages/bolt/package.py
+++ b/var/spack/repos/builtin/packages/bolt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -23,6 +23,8 @@ class Bolt(CMakePackage):
maintainers = ['shintaro-iwasaki']
version("main", branch="main")
+ version("2.0", sha256="f84b6a525953edbaa5d28748ef3ab172a3b6f6899b07092065ba7d1ccc6eb5ac")
+ version("1.0.1", sha256="769e30dfc4042cee7ebbdadd23cf08796c03bcd8b335f516dc8cbc3f8adfa597")
version("1.0", sha256="1c0d2f75597485ca36335d313a73736594e75c8a36123c5a6f54d01b5ba5c384")
depends_on('argobots')
diff --git a/var/spack/repos/builtin/packages/bonniepp/package.py b/var/spack/repos/builtin/packages/bonniepp/package.py
index 6a33a15ea7..15f2e1cb2d 100644
--- a/var/spack/repos/builtin/packages/bonniepp/package.py
+++ b/var/spack/repos/builtin/packages/bonniepp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bookleaf-cpp/package.py b/var/spack/repos/builtin/packages/bookleaf-cpp/package.py
index 1fec8cbc6d..7a82b4a947 100644
--- a/var/spack/repos/builtin/packages/bookleaf-cpp/package.py
+++ b/var/spack/repos/builtin/packages/bookleaf-cpp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/boost/boost_218.patch b/var/spack/repos/builtin/packages/boost/boost_218.patch
new file mode 100644
index 0000000000..ab4d9085f5
--- /dev/null
+++ b/var/spack/repos/builtin/packages/boost/boost_218.patch
@@ -0,0 +1,10 @@
+--- a/libs/python/src/numpy/numpy.cpp
++++ b/libs/python/src/numpy/numpy.cpp
+@@ -19,6 +19,7 @@ static void wrap_import_array()
+ static void * wrap_import_array()
+ {
+ import_array();
++ return NULL;
+ }
+ #endif
+
diff --git a/var/spack/repos/builtin/packages/boost/package.py b/var/spack/repos/builtin/packages/boost/package.py
index 089758fb73..54a0f50dd8 100644
--- a/var/spack/repos/builtin/packages/boost/package.py
+++ b/var/spack/repos/builtin/packages/boost/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -25,6 +25,7 @@ class Boost(Package):
maintainers = ['hainest']
version('develop', branch='develop', submodules=True)
+ version('1.75.0', sha256='953db31e016db7bb207f11432bef7df100516eeb746843fa0486a222e3fd49cb')
version('1.74.0', sha256='83bfc1507731a0906e387fc28b7ef5417d591429e51e788417fe9ff025e116b1')
version('1.73.0', sha256='4eb3b8d442b426dc35346235c8733b5ae35ba431690e38c6a8263dce9fcbb402')
version('1.72.0', sha256='59c9b274bc451cf91a9ba1dd2c7fdcaf5d60b1b3aa83f2c9fa143417cc660722')
@@ -253,7 +254,11 @@ class Boost(Package):
# Support bzip2 and gzip in other directory
# See https://github.com/boostorg/build/pull/154
- patch('boost_154.patch', when='@:1.63.99')
+ patch('boost_154.patch', when='@1.56.0:1.63.99')
+
+ # Backport Python3 import problem
+ # See https://github.com/boostorg/python/pull/218
+ patch('boost_218.patch', when='@1.63.0:1.67.99')
def patch(self):
# Disable SSSE3 and AVX2 when using the NVIDIA compiler
diff --git a/var/spack/repos/builtin/packages/boostmplcartesianproduct/package.py b/var/spack/repos/builtin/packages/boostmplcartesianproduct/package.py
index 93ae4a8322..f6b92d2744 100644
--- a/var/spack/repos/builtin/packages/boostmplcartesianproduct/package.py
+++ b/var/spack/repos/builtin/packages/boostmplcartesianproduct/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/botan/package.py b/var/spack/repos/builtin/packages/botan/package.py
index 883f7a5e8a..87005a4a44 100644
--- a/var/spack/repos/builtin/packages/botan/package.py
+++ b/var/spack/repos/builtin/packages/botan/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,6 +14,9 @@ class Botan(Package):
maintainers = ['aumuell']
+ version('2.17.2', sha256='ebe27dfe2b55d7e02bf520e926606c48b76b22facb483256b13ab38e018e1e6c')
+ version('2.17.1', sha256='741358b3f1638ed7d9b2f59b4e344aa46f4966b15958b5434c0ac1580df0c0c1')
+ version('2.17.0', sha256='b97044b312aa718349af7851331b064bc7bd5352400d5f80793bace427d01343')
version('2.16.0', sha256='92ed6ebc918d86bd1b04221ca518af4cf29cc326c4760740bd2d22e61cea2628')
version('2.15.0', sha256='d88af1307f1fefac79aa4f2f524699478d69ce15a857cf2d0a90ac6bf2a50009')
version('2.14.0', sha256='0c10f12b424a40ee19bde00292098e201d7498535c062d8d5b586d07861a54b5')
diff --git a/var/spack/repos/builtin/packages/bowtie/package.py b/var/spack/repos/builtin/packages/bowtie/package.py
index e473925796..a3120f5789 100644
--- a/var/spack/repos/builtin/packages/bowtie/package.py
+++ b/var/spack/repos/builtin/packages/bowtie/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bowtie2/package.py b/var/spack/repos/builtin/packages/bowtie2/package.py
index e09ea00e50..c87c404dd0 100644
--- a/var/spack/repos/builtin/packages/bowtie2/package.py
+++ b/var/spack/repos/builtin/packages/bowtie2/package.py
@@ -1,10 +1,10 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
-class Bowtie2(Package):
+class Bowtie2(MakefilePackage):
"""Bowtie 2 is an ultrafast and memory-efficient tool for aligning
sequencing reads to long reference sequences"""
@@ -25,49 +25,48 @@ class Bowtie2(Package):
depends_on('perl', type='run')
depends_on('python', type='run')
depends_on('zlib', when='@2.3.1:')
+ depends_on('simde', type='link')
patch('bowtie2-2.2.5.patch', when='@2.2.5', level=0)
patch('bowtie2-2.3.1.patch', when='@2.3.1', level=0)
patch('bowtie2-2.3.0.patch', when='@2.3.0', level=0)
- resource(name='simde', git="https://github.com/nemequ/simde",
- destination='.', when='target=aarch64:')
# seems to have trouble with 6's -std=gnu++14
conflicts('%gcc@6:', when='@:2.3.1')
conflicts('@:2.3.5.0', when='target=aarch64:')
conflicts('@2.4.1', when='target=aarch64:')
- def patch(self):
- if self.spec.target.family == 'aarch64':
- copy_tree('simde', 'third_party/simde')
- if self.spec.satisfies('%gcc@:4.8.9'):
- filter_file('-fopenmp-simd', '', 'Makefile')
+ def edit(self, spec, prefix):
+ kwargs = {'ignore_absent': True, 'backup': False, 'string': False}
- @run_before('install')
- def filter_sbang(self):
- """Run before install so that the standard Spack sbang install hook
- can fix up the path to the perl|python binary.
- """
+ match = '^#!/usr/bin/env perl'
+ perl = spec['perl'].command
+ substitute = "#!{perl}".format(perl=perl)
+ files = ['bowtie2', ]
+ filter_file(match, substitute, *files, **kwargs)
- with working_dir(self.stage.source_path):
- kwargs = {'ignore_absent': True, 'backup': False, 'string': False}
+ match = '^#!/usr/bin/env python'
+ python = spec['python'].command
+ substitute = "#!{python}".format(python=python)
+ files = ['bowtie2-build', 'bowtie2-inspect']
+ filter_file(match, substitute, *files, **kwargs)
- match = '^#!/usr/bin/env perl'
- perl = self.spec['perl'].command
- substitute = "#!{perl}".format(perl=perl)
- files = ['bowtie2', ]
- filter_file(match, substitute, *files, **kwargs)
+ match = '-Ithird_party/simde'
+ simdepath = spec['simde'].prefix.include
+ substitute = "-I{simdepath}".format(simdepath=simdepath)
+ files = ['Makefile']
+ filter_file(match, substitute, *files, **kwargs)
- match = '^#!/usr/bin/env python'
- python = self.spec['python'].command
- substitute = "#!{python}".format(python=python)
- files = ['bowtie2-build', 'bowtie2-inspect']
- filter_file(match, substitute, *files, **kwargs)
-
- def install(self, spec, prefix):
- make_arg = []
- if self.spec.target.family == 'aarch64':
+ @property
+ def build_targets(self):
+ make_arg = ['PREFIX={0}'.format(self.prefix)]
+ if self.spec.satisfies('target=aarch64:'):
make_arg.append('POPCNT_CAPABILITY=0')
- make(*make_arg)
- mkdirp(prefix.bin)
- install('bowtie2*', prefix.bin)
+ return make_arg
+
+ @property
+ def install_targets(self):
+ if self.spec.satisfies('@:2.3.9'):
+ return ['prefix={0}'.format(self.prefix), 'install']
+ else:
+ return ['PREFIX={0}'.format(self.prefix), 'install']
diff --git a/var/spack/repos/builtin/packages/boxlib/package.py b/var/spack/repos/builtin/packages/boxlib/package.py
index def583de9f..492ef31eda 100644
--- a/var/spack/repos/builtin/packages/boxlib/package.py
+++ b/var/spack/repos/builtin/packages/boxlib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bpp-core/package.py b/var/spack/repos/builtin/packages/bpp-core/package.py
index 02eb02681b..8395bddaf1 100644
--- a/var/spack/repos/builtin/packages/bpp-core/package.py
+++ b/var/spack/repos/builtin/packages/bpp-core/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bpp-phyl-omics/package.py b/var/spack/repos/builtin/packages/bpp-phyl-omics/package.py
index f78c599ba1..21db65d055 100644
--- a/var/spack/repos/builtin/packages/bpp-phyl-omics/package.py
+++ b/var/spack/repos/builtin/packages/bpp-phyl-omics/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bpp-phyl/package.py b/var/spack/repos/builtin/packages/bpp-phyl/package.py
index a0b73d804d..2e75ecbe49 100644
--- a/var/spack/repos/builtin/packages/bpp-phyl/package.py
+++ b/var/spack/repos/builtin/packages/bpp-phyl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bpp-seq-omics/package.py b/var/spack/repos/builtin/packages/bpp-seq-omics/package.py
index 922684ed6a..70e66ede95 100644
--- a/var/spack/repos/builtin/packages/bpp-seq-omics/package.py
+++ b/var/spack/repos/builtin/packages/bpp-seq-omics/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bpp-seq/package.py b/var/spack/repos/builtin/packages/bpp-seq/package.py
index 57141e3afb..5b83a3a7c6 100644
--- a/var/spack/repos/builtin/packages/bpp-seq/package.py
+++ b/var/spack/repos/builtin/packages/bpp-seq/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bpp-suite/package.py b/var/spack/repos/builtin/packages/bpp-suite/package.py
index 889a25de49..015362338b 100644
--- a/var/spack/repos/builtin/packages/bpp-suite/package.py
+++ b/var/spack/repos/builtin/packages/bpp-suite/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bracken/package.py b/var/spack/repos/builtin/packages/bracken/package.py
index bc250f8b1e..88a3ee4109 100644
--- a/var/spack/repos/builtin/packages/bracken/package.py
+++ b/var/spack/repos/builtin/packages/bracken/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/braker/package.py b/var/spack/repos/builtin/packages/braker/package.py
index b3f0f95737..fab64c1593 100644
--- a/var/spack/repos/builtin/packages/braker/package.py
+++ b/var/spack/repos/builtin/packages/braker/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/branson/package.py b/var/spack/repos/builtin/packages/branson/package.py
index a5489668c3..91b844f63a 100644
--- a/var/spack/repos/builtin/packages/branson/package.py
+++ b/var/spack/repos/builtin/packages/branson/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -27,7 +27,7 @@ class Branson(CMakePackage):
depends_on('mpi@2:')
depends_on('boost', when='@:0.81')
depends_on('metis')
- depends_on('parmetis', when='@:0.82')
+ depends_on('parmetis', when='@:0.81')
root_cmakelists_dir = 'src'
diff --git a/var/spack/repos/builtin/packages/breakdancer/package.py b/var/spack/repos/builtin/packages/breakdancer/package.py
index 0852d763c2..606b153e27 100644
--- a/var/spack/repos/builtin/packages/breakdancer/package.py
+++ b/var/spack/repos/builtin/packages/breakdancer/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bref3/package.py b/var/spack/repos/builtin/packages/bref3/package.py
index 521f2f1043..d46e56e225 100644
--- a/var/spack/repos/builtin/packages/bref3/package.py
+++ b/var/spack/repos/builtin/packages/bref3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class Bref3(Package):
homepage = "http://faculty.washington.edu/browning/beagle/beagle.html"
- version('2019-11-25', sha256='969c0881050c4a48d19be9ea64bf49fa68c1403b69f9f739bbfd865dda639b2d',
+ version('2019-11-25', sha256='969c0881050c4a48d19be9ea64bf49fa68c1403b69f9f739bbfd865dda639b2d',
expand=False, url='http://faculty.washington.edu/browning/beagle/bref3.25Nov19.28d.jar')
version('2019-07-12', sha256='8a9c3b6c38e36ef4c05a61108f083005fd985026c67d75a8173088f88816a202',
expand=False, url='https://faculty.washington.edu/browning/beagle/bref3.12Jul19.0df.jar')
diff --git a/var/spack/repos/builtin/packages/breseq/package.py b/var/spack/repos/builtin/packages/breseq/package.py
index 4efb1207fe..363f6b4987 100644
--- a/var/spack/repos/builtin/packages/breseq/package.py
+++ b/var/spack/repos/builtin/packages/breseq/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bridger/package.py b/var/spack/repos/builtin/packages/bridger/package.py
index dbd4bb3f75..88f06eb22e 100644
--- a/var/spack/repos/builtin/packages/bridger/package.py
+++ b/var/spack/repos/builtin/packages/bridger/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/brigand/package.py b/var/spack/repos/builtin/packages/brigand/package.py
index afb175dd45..4f6b1d0c9a 100644
--- a/var/spack/repos/builtin/packages/brigand/package.py
+++ b/var/spack/repos/builtin/packages/brigand/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/brltty/package.py b/var/spack/repos/builtin/packages/brltty/package.py
index a5d047c954..764627e27a 100644
--- a/var/spack/repos/builtin/packages/brltty/package.py
+++ b/var/spack/repos/builtin/packages/brltty/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/brotli/package.py b/var/spack/repos/builtin/packages/brotli/package.py
index f5f2e478ac..ec3396cada 100644
--- a/var/spack/repos/builtin/packages/brotli/package.py
+++ b/var/spack/repos/builtin/packages/brotli/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/brpc/package.py b/var/spack/repos/builtin/packages/brpc/package.py
index d5481d300b..a336311eaa 100644
--- a/var/spack/repos/builtin/packages/brpc/package.py
+++ b/var/spack/repos/builtin/packages/brpc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bsseeker2/package.py b/var/spack/repos/builtin/packages/bsseeker2/package.py
index 6b909156d1..995d4fe453 100644
--- a/var/spack/repos/builtin/packages/bsseeker2/package.py
+++ b/var/spack/repos/builtin/packages/bsseeker2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bubblewrap/package.py b/var/spack/repos/builtin/packages/bubblewrap/package.py
index dc00c56148..f39c42e20f 100644
--- a/var/spack/repos/builtin/packages/bubblewrap/package.py
+++ b/var/spack/repos/builtin/packages/bubblewrap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bucky/package.py b/var/spack/repos/builtin/packages/bucky/package.py
index 41337e7e84..03c691a0b4 100644
--- a/var/spack/repos/builtin/packages/bucky/package.py
+++ b/var/spack/repos/builtin/packages/bucky/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/buddy/package.py b/var/spack/repos/builtin/packages/buddy/package.py
index d6e92bb9b3..c7d261f1ca 100644
--- a/var/spack/repos/builtin/packages/buddy/package.py
+++ b/var/spack/repos/builtin/packages/buddy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bumpversion/package.py b/var/spack/repos/builtin/packages/bumpversion/package.py
index ac7e839153..fc0f4de381 100644
--- a/var/spack/repos/builtin/packages/bumpversion/package.py
+++ b/var/spack/repos/builtin/packages/bumpversion/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class Bumpversion(PythonPackage):
"""Version-bump your software with a single command."""
- homepage = "https://pypi.python.org/pypi/bumpversion"
- url = "https://pypi.io/packages/source/b/bumpversion/bumpversion-0.5.0.tar.gz"
+ pypi = "bumpversion/bumpversion-0.5.0.tar.gz"
version('0.5.3', sha256='6744c873dd7aafc24453d8b6a1a0d6d109faf63cd0cd19cb78fd46e74932c77e')
version('0.5.0', sha256='030832b9b46848e1c1ac6678dba8242a021e35e908b65565800c9650291117dc')
diff --git a/var/spack/repos/builtin/packages/busco/package.py b/var/spack/repos/builtin/packages/busco/package.py
index a485dfabfe..67c50411fa 100644
--- a/var/spack/repos/builtin/packages/busco/package.py
+++ b/var/spack/repos/builtin/packages/busco/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/busybox/package.py b/var/spack/repos/builtin/packages/busybox/package.py
index 8b8d11c534..bc22704348 100644
--- a/var/spack/repos/builtin/packages/busybox/package.py
+++ b/var/spack/repos/builtin/packages/busybox/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/butter/package.py b/var/spack/repos/builtin/packages/butter/package.py
index b06126e339..ff0042211d 100644
--- a/var/spack/repos/builtin/packages/butter/package.py
+++ b/var/spack/repos/builtin/packages/butter/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/butterflypack/package.py b/var/spack/repos/builtin/packages/butterflypack/package.py
index 8926c2a865..8da61ed45b 100644
--- a/var/spack/repos/builtin/packages/butterflypack/package.py
+++ b/var/spack/repos/builtin/packages/butterflypack/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bwa/bwa_for_aarch64.patch b/var/spack/repos/builtin/packages/bwa/bwa_for_aarch64.patch
index 2bebcb5023..995b03193f 100644
--- a/var/spack/repos/builtin/packages/bwa/bwa_for_aarch64.patch
+++ b/var/spack/repos/builtin/packages/bwa/bwa_for_aarch64.patch
@@ -7,7 +7,7 @@ index 9793e5e..2eecef4 100644
#include <stdint.h>
#include <assert.h>
-#include <emmintrin.h>
-+#include <SSE2NEON.h>
++#include <sse2neon.h>
#include "ksw.h"
#ifdef USE_MALLOC_WRAPPERS
diff --git a/var/spack/repos/builtin/packages/bwa/package.py b/var/spack/repos/builtin/packages/bwa/package.py
index 266ac915e3..65a3ae7bc8 100644
--- a/var/spack/repos/builtin/packages/bwa/package.py
+++ b/var/spack/repos/builtin/packages/bwa/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bwtool/package.py b/var/spack/repos/builtin/packages/bwtool/package.py
index 8bdaa4b3ec..6bc319819b 100644
--- a/var/spack/repos/builtin/packages/bwtool/package.py
+++ b/var/spack/repos/builtin/packages/bwtool/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/byacc/package.py b/var/spack/repos/builtin/packages/byacc/package.py
index e262ab0420..2c20821e95 100644
--- a/var/spack/repos/builtin/packages/byacc/package.py
+++ b/var/spack/repos/builtin/packages/byacc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/byobu/package.py b/var/spack/repos/builtin/packages/byobu/package.py
index dd7d5babb8..d301845f49 100644
--- a/var/spack/repos/builtin/packages/byobu/package.py
+++ b/var/spack/repos/builtin/packages/byobu/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/byte-unixbench/package.py b/var/spack/repos/builtin/packages/byte-unixbench/package.py
index 96aecd8fa4..84aabb8d7f 100644
--- a/var/spack/repos/builtin/packages/byte-unixbench/package.py
+++ b/var/spack/repos/builtin/packages/byte-unixbench/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/byteman/package.py b/var/spack/repos/builtin/packages/byteman/package.py
index 7656d0ef52..2c28195f47 100644
--- a/var/spack/repos/builtin/packages/byteman/package.py
+++ b/var/spack/repos/builtin/packages/byteman/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/bzip2/package.py b/var/spack/repos/builtin/packages/bzip2/package.py
index d3700a8a40..f85760a01e 100644
--- a/var/spack/repos/builtin/packages/bzip2/package.py
+++ b/var/spack/repos/builtin/packages/bzip2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/c-ares/package.py b/var/spack/repos/builtin/packages/c-ares/package.py
index 8cd7fd4b7b..616cb4d02f 100644
--- a/var/spack/repos/builtin/packages/c-ares/package.py
+++ b/var/spack/repos/builtin/packages/c-ares/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/c-blosc/package.py b/var/spack/repos/builtin/packages/c-blosc/package.py
index 7128059056..191fc44bde 100644
--- a/var/spack/repos/builtin/packages/c-blosc/package.py
+++ b/var/spack/repos/builtin/packages/c-blosc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/c-blosc2/package.py b/var/spack/repos/builtin/packages/c-blosc2/package.py
index 98b4326f06..3db9f6cf68 100644
--- a/var/spack/repos/builtin/packages/c-blosc2/package.py
+++ b/var/spack/repos/builtin/packages/c-blosc2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/c-lime/package.py b/var/spack/repos/builtin/packages/c-lime/package.py
index 525861a161..aefc97b8fd 100644
--- a/var/spack/repos/builtin/packages/c-lime/package.py
+++ b/var/spack/repos/builtin/packages/c-lime/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/c/package.py b/var/spack/repos/builtin/packages/c/package.py
index 72a3343aa1..e49139136f 100644
--- a/var/spack/repos/builtin/packages/c/package.py
+++ b/var/spack/repos/builtin/packages/c/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cabana/package.py b/var/spack/repos/builtin/packages/cabana/package.py
index b84bfa60b0..ff55a5661a 100644
--- a/var/spack/repos/builtin/packages/cabana/package.py
+++ b/var/spack/repos/builtin/packages/cabana/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cachefilesd/package.py b/var/spack/repos/builtin/packages/cachefilesd/package.py
index 7924d395eb..e8911872d7 100644
--- a/var/spack/repos/builtin/packages/cachefilesd/package.py
+++ b/var/spack/repos/builtin/packages/cachefilesd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/caffe/package.py b/var/spack/repos/builtin/packages/caffe/package.py
index 187bdc5764..1dab412e95 100644
--- a/var/spack/repos/builtin/packages/caffe/package.py
+++ b/var/spack/repos/builtin/packages/caffe/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cairo/package.py b/var/spack/repos/builtin/packages/cairo/package.py
index 0092d0bfb1..eefd277572 100644
--- a/var/spack/repos/builtin/packages/cairo/package.py
+++ b/var/spack/repos/builtin/packages/cairo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cairomm/package.py b/var/spack/repos/builtin/packages/cairomm/package.py
index 39424e7c7e..8f6f2ef60e 100644
--- a/var/spack/repos/builtin/packages/cairomm/package.py
+++ b/var/spack/repos/builtin/packages/cairomm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/caliper/package.py b/var/spack/repos/builtin/packages/caliper/package.py
index fe55a69133..ef420e6782 100644
--- a/var/spack/repos/builtin/packages/caliper/package.py
+++ b/var/spack/repos/builtin/packages/caliper/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,6 +19,7 @@ class Caliper(CMakePackage):
git = "https://github.com/LLNL/Caliper.git"
version('master')
+ version('2.5.0', tag='v2.5.0')
version('2.4.0', tag='v2.4.0')
version('2.3.0', tag='v2.3.0')
version('2.2.0', tag='v2.2.0')
@@ -53,6 +54,8 @@ class Caliper(CMakePackage):
description='Enable sampling support on Linux')
variant('sosflow', default=False,
description='Enable SOSflow support')
+ variant('fortran', default=False,
+ description='Enable Fortran support')
depends_on('adiak@0.1:0.99', when='@2.2: +adiak')
@@ -98,7 +101,8 @@ class Caliper(CMakePackage):
'-DWITH_LIBPFM=%s' % ('On' if '+libpfm' in spec else 'Off'),
'-DWITH_SOSFLOW=%s' % ('On' if '+sosflow' in spec else 'Off'),
'-DWITH_SAMPLER=%s' % ('On' if '+sampler' in spec else 'Off'),
- '-DWITH_MPI=%s' % ('On' if '+mpi' in spec else 'Off')
+ '-DWITH_MPI=%s' % ('On' if '+mpi' in spec else 'Off'),
+ '-DWITH_FORTRAN=%s' % ('On' if '+fortran' in spec else 'Off')
]
if '+papi' in spec:
diff --git a/var/spack/repos/builtin/packages/callflow/package.py b/var/spack/repos/builtin/packages/callflow/package.py
new file mode 100644
index 0000000000..2c374242a0
--- /dev/null
+++ b/var/spack/repos/builtin/packages/callflow/package.py
@@ -0,0 +1,43 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Callflow(PythonPackage):
+ """CallFlow is an interactive visual analysis tool that provides a
+ high-level overview of CCTs together with semantic refinement
+ operations to progressively explore the CCTs."""
+
+ homepage = "https://github.com/LLNL/CallFlow"
+ url = "https://github.com/LLNL/CallFlow/archive/v1.1.0.tar.gz"
+ git = 'https://github.com/LLNL/CallFlow.git'
+
+ maintainers = ["bhatiaharsh", "jarusified"]
+
+ version('develop', branch='develop')
+ version('1.1.2', sha256='60d2327843469f42be9366ff31d7a6afc85021af4e38b7d6704b2d8c3da7ed36')
+ version('1.1.1', sha256='a52e6e0697a406dfe391225d3cc3c5c5a12a6c86b68f0f8e47777c79fd45cb28')
+ version('1.1.0', sha256='f8b875eb62fbac04b117e3c23fccff99d768158226a9b7fa222a2b2a6acafa44')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-setuptools', type=('build', 'run'))
+
+ depends_on('py-numpy', type=('build', 'run'))
+ depends_on('py-scipy', type=('build', 'run'))
+ depends_on('py-pandas', type=('build', 'run'))
+ depends_on('py-hatchet', type=('build', 'run'))
+ depends_on('py-statsmodels', type=('build', 'run'))
+ depends_on('py-scikit-learn', type=('build', 'run'))
+
+ depends_on('py-colorlog', type=('build', 'run'))
+ depends_on('py-jsonschema', type=('build', 'run'))
+
+ depends_on('py-matplotlib', type=('build', 'run'))
+ depends_on('py-networkx', type=('build', 'run'))
+
+ depends_on('py-ipython', type=('build', 'run'))
+ depends_on('py-flask-socketio', type=('build', 'run'))
+ depends_on('py-flask-cors', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/callpath/package.py b/var/spack/repos/builtin/packages/callpath/package.py
index 300f55e8d5..a055c67cb8 100644
--- a/var/spack/repos/builtin/packages/callpath/package.py
+++ b/var/spack/repos/builtin/packages/callpath/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/camellia/package.py b/var/spack/repos/builtin/packages/camellia/package.py
index ba443a80af..857fe5ec69 100644
--- a/var/spack/repos/builtin/packages/camellia/package.py
+++ b/var/spack/repos/builtin/packages/camellia/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/camp/package.py b/var/spack/repos/builtin/packages/camp/package.py
index 882bfec528..f34b47f02b 100644
--- a/var/spack/repos/builtin/packages/camp/package.py
+++ b/var/spack/repos/builtin/packages/camp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,13 +19,17 @@ class Camp(CMakePackage, CudaPackage, ROCmPackage):
version('master', branch='master', submodules='True')
version('0.1.0', sha256='fd4f0f2a60b82a12a1d9f943f8893dc6fe770db493f8fae5ef6f7d0c439bebcc')
- depends_on('cmake@3.8:', type='build')
- depends_on('cmake@3.9:', type='build', when="+cuda")
+ # TODO: figure out gtest dependency and then set this default True.
+ variant('tests', default=False, description='Build tests')
+
+ depends_on('blt', type='build')
+ depends_on('blt@0.3.7:', type='build', when='+rocm')
def cmake_args(self):
spec = self.spec
options = []
+ options.append('-DBLT_SOURCE_DIR={0}'.format(spec['blt'].prefix))
if '+cuda' in spec:
options.extend([
@@ -55,6 +59,6 @@ class Camp(CMakePackage, CudaPackage, ROCmPackage):
options.append('-DENABLE_HIP=OFF')
options.append('-DENABLE_TESTS={0}'.format(
- "On" if self.run_tests else "Off"))
+ 'ON' if '+tests' in spec else 'OFF'))
return options
diff --git a/var/spack/repos/builtin/packages/camx/package.py b/var/spack/repos/builtin/packages/camx/package.py
index 473c60ca05..54c34a95c2 100644
--- a/var/spack/repos/builtin/packages/camx/package.py
+++ b/var/spack/repos/builtin/packages/camx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/canal/package.py b/var/spack/repos/builtin/packages/canal/package.py
index 3dd982a0e4..3600356c10 100644
--- a/var/spack/repos/builtin/packages/canal/package.py
+++ b/var/spack/repos/builtin/packages/canal/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/candle-benchmarks/package.py b/var/spack/repos/builtin/packages/candle-benchmarks/package.py
index b0f276108f..8593e141cd 100644
--- a/var/spack/repos/builtin/packages/candle-benchmarks/package.py
+++ b/var/spack/repos/builtin/packages/candle-benchmarks/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cantera/package.py b/var/spack/repos/builtin/packages/cantera/package.py
index 9846fff48d..fb6c857414 100644
--- a/var/spack/repos/builtin/packages/cantera/package.py
+++ b/var/spack/repos/builtin/packages/cantera/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/canu/package.py b/var/spack/repos/builtin/packages/canu/package.py
index 1bf0e0cca1..9ce5f7db1f 100644
--- a/var/spack/repos/builtin/packages/canu/package.py
+++ b/var/spack/repos/builtin/packages/canu/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cap3/package.py b/var/spack/repos/builtin/packages/cap3/package.py
index 45feee4ef0..ad87342455 100644
--- a/var/spack/repos/builtin/packages/cap3/package.py
+++ b/var/spack/repos/builtin/packages/cap3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/capnproto/package.py b/var/spack/repos/builtin/packages/capnproto/package.py
index 2533e8aabe..0830e4d472 100644
--- a/var/spack/repos/builtin/packages/capnproto/package.py
+++ b/var/spack/repos/builtin/packages/capnproto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/capstone/package.py b/var/spack/repos/builtin/packages/capstone/package.py
index 619856ebac..9574fc8e5d 100644
--- a/var/spack/repos/builtin/packages/capstone/package.py
+++ b/var/spack/repos/builtin/packages/capstone/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cardioid/package.py b/var/spack/repos/builtin/packages/cardioid/package.py
index b3effc28e4..10043b6240 100644
--- a/var/spack/repos/builtin/packages/cardioid/package.py
+++ b/var/spack/repos/builtin/packages/cardioid/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/care/package.py b/var/spack/repos/builtin/packages/care/package.py
new file mode 100644
index 0000000000..3cc6b5f691
--- /dev/null
+++ b/var/spack/repos/builtin/packages/care/package.py
@@ -0,0 +1,138 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Care(CMakePackage, CudaPackage, ROCmPackage):
+ """
+ Algorithms for chai managed arrays.
+ """
+
+ homepage = "https://github.com/LLNL/CARE"
+ git = "https://github.com/LLNL/CARE.git"
+
+ version('develop', branch='develop', submodules='True')
+ version('master', branch='main', submodules='True')
+ version('0.3.0', tag='v0.3.0', submodules='True')
+ version('0.2.0', tag='v0.2.0', submodules='True')
+
+ variant('openmp', default=False, description='Build Shared Libs')
+ variant('implicit_conversions', default=True, description='Enable implicit'
+ 'conversions to/from raw pointers')
+ variant('benchmarks', default=True, description='Build benchmarks.')
+ variant('examples', default=True, description='Build examples.')
+ variant('docs', default=False, description='Build documentation')
+ variant('tests', default=False, description='Build tests')
+ variant('loop_fuser', default=False, description='Enable loop fusion capability')
+
+ depends_on('blt', type='build')
+ depends_on('blt@0.3.7:', type='build', when='+rocm')
+
+ depends_on('camp')
+ depends_on('umpire@develop')
+ depends_on('raja@develop')
+ depends_on('chai@develop+enable_pick~benchmarks')
+
+ # WARNING: this package currently only supports an internal cub
+ # package. This will cause a race condition if compiled with another
+ # package that uses cub. TODO: have all packages point to the same external
+ # cub package.
+ depends_on('camp+cuda', when='+cuda')
+ depends_on('umpire+cuda', when='+cuda')
+ depends_on('raja+cuda~openmp', when='+cuda')
+ depends_on('chai+cuda', when='+cuda')
+
+ # variants +rocm and amdgpu_targets are not automatically passed to
+ # dependencies, so do it manually.
+ depends_on('camp+rocm', when='+rocm')
+ depends_on('umpire+rocm', when='+rocm')
+ depends_on('raja+rocm~openmp', when='+rocm')
+ depends_on('chai+rocm', when='+rocm')
+ for val in ROCmPackage.amdgpu_targets:
+ depends_on('camp amdgpu_target=%s' % val, when='amdgpu_target=%s' % val)
+ depends_on('umpire amdgpu_target=%s' % val, when='amdgpu_target=%s' % val)
+ depends_on('raja amdgpu_target=%s' % val, when='amdgpu_target=%s' % val)
+ depends_on('chai amdgpu_target=%s' % val, when='amdgpu_target=%s' % val)
+
+ conflicts('+openmp', when='+rocm')
+ conflicts('+openmp', when='+cuda')
+
+ def cmake_args(self):
+ spec = self.spec
+
+ options = []
+ options.append('-DBLT_SOURCE_DIR={0}'.format(spec['blt'].prefix))
+
+ if '+cuda' in spec:
+ options.extend([
+ '-DENABLE_CUDA=ON',
+ '-DCUDA_TOOLKIT_ROOT_DIR=' + spec['cuda'].prefix])
+
+ if not spec.satisfies('cuda_arch=none'):
+ cuda_arch = spec.variants['cuda_arch'].value
+ options.append('-DCUDA_ARCH=sm_{0}'.format(cuda_arch[0]))
+ flag = '-arch sm_{0}'.format(cuda_arch[0])
+ options.append('-DCMAKE_CUDA_FLAGS:STRING={0}'.format(flag))
+ else:
+ options.append('-DENABLE_CUDA=OFF')
+
+ if '+rocm' in spec:
+ options.extend([
+ '-DENABLE_HIP=ON',
+ '-DHIP_ROOT_DIR={0}'.format(spec['hip'].prefix)])
+
+ archs = self.spec.variants['amdgpu_target'].value
+ if archs != 'none':
+ arch_str = ",".join(archs)
+ options.append(
+ '-DHIP_HIPCC_FLAGS=--amdgpu-target={0}'.format(arch_str)
+ )
+ else:
+ options.append('-DENABLE_HIP=OFF')
+
+ options.append('-DCARE_ENABLE_IMPLICIT_CONVERSIONS={0}'.format(
+ 'ON' if '+implicit_conversions' in spec else 'OFF'))
+
+ options.append('-DCARE_ENABLE_LOOP_FUSER={0}'.format(
+ 'ON' if '+loop_fuser' in spec else 'OFF'))
+
+ options.append('-DCAMP_DIR:PATH='
+ + spec['camp'].prefix.share.camp.cmake)
+ options.append('-DUMPIRE_DIR:PATH='
+ + spec['umpire'].prefix.share.umpire.cmake)
+ options.append('-DRAJA_DIR:PATH='
+ + spec['raja'].prefix.share.raja.cmake)
+ options.append('-DCHAI_DIR:PATH='
+ + spec['chai'].prefix.share.chai.cmake)
+
+ options.append('-DCARE_ENABLE_TESTS={0}'.format(
+ 'ON' if '+tests' in spec else 'OFF'))
+ # For tests to work, we also need BLT_ENABLE_TESTS to be on.
+ # This will take care of the gtest dependency. CARE developers should
+ # consider consolidating these flags in the future.
+ options.append('-DBLT_ENABLE_TESTS={0}'.format(
+ 'ON' if '+tests' in spec else 'OFF'))
+
+ # There are both CARE_ENABLE_* and ENABLE_* variables in here because
+ # one controls the BLT infrastructure and the other controls the CARE
+ # infrastructure. The goal is to just be able to use the CARE_ENABLE_*
+ # variables, but CARE isn't set up correctly for that yet.
+ options.append('-DENABLE_BENCHMARKS={0}'.format(
+ 'ON' if '+benchmarks' in spec else 'OFF'))
+ options.append('-DCARE_ENABLE_BENCHMARKS={0}'.format(
+ 'ON' if '+benchmarks' in spec else 'OFF'))
+
+ options.append('-DENABLE_EXAMPLES={0}'.format(
+ 'ON' if '+examples' in spec else 'OFF'))
+ options.append('-DCARE_ENABLE_EXAMPLES={0}'.format(
+ 'ON' if '+examples' in spec else 'OFF'))
+
+ options.append('-DENABLE_DOCS={0}'.format(
+ 'ON' if '+docs' in spec else 'OFF'))
+ options.append('-DCARE_ENABLE_DOCS={0}'.format(
+ 'ON' if '+docs' in spec else 'OFF'))
+
+ return options
diff --git a/var/spack/repos/builtin/packages/casacore/package.py b/var/spack/repos/builtin/packages/casacore/package.py
index 7fbb913de2..5bbc1b51bb 100644
--- a/var/spack/repos/builtin/packages/casacore/package.py
+++ b/var/spack/repos/builtin/packages/casacore/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -42,7 +42,7 @@ class Casacore(CMakePackage):
depends_on('bison', type='build')
depends_on('blas')
depends_on('lapack')
- depends_on('cfitsio@3.181:')
+ depends_on('cfitsio')
depends_on('wcslib@4.20:+cfitsio')
depends_on('fftw@3.0.0:~mpi precision=float,double', when='+fftw')
# SOFA dependency suffers the same problem in CMakeLists.txt as readline;
diff --git a/var/spack/repos/builtin/packages/cask/package.py b/var/spack/repos/builtin/packages/cask/package.py
index ed115ca3e6..e49079f65d 100644
--- a/var/spack/repos/builtin/packages/cask/package.py
+++ b/var/spack/repos/builtin/packages/cask/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/casper/package.py b/var/spack/repos/builtin/packages/casper/package.py
index a15365ccaa..962cda6fb6 100644
--- a/var/spack/repos/builtin/packages/casper/package.py
+++ b/var/spack/repos/builtin/packages/casper/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cassandra/package.py b/var/spack/repos/builtin/packages/cassandra/package.py
index f80b3c173b..bb1f4aab59 100644
--- a/var/spack/repos/builtin/packages/cassandra/package.py
+++ b/var/spack/repos/builtin/packages/cassandra/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/catalyst/package.py b/var/spack/repos/builtin/packages/catalyst/package.py
index 5806b0cd75..b59e18f47f 100644
--- a/var/spack/repos/builtin/packages/catalyst/package.py
+++ b/var/spack/repos/builtin/packages/catalyst/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -231,7 +231,7 @@ class Catalyst(CMakePackage):
else:
cmake_args.append('-DPARAVIEW_ENABLE_PYTHON:BOOL=OFF')
- if spec.platform == 'linux' and spec.target == 'aarch64':
+ if spec.platform == 'linux' and spec.target.family == 'aarch64':
cmake_args.append('-DCMAKE_CXX_FLAGS=-DPNG_ARM_NEON_OPT=0')
cmake_args.append('-DCMAKE_C_FLAGS=-DPNG_ARM_NEON_OPT=0')
diff --git a/var/spack/repos/builtin/packages/catch2/package.py b/var/spack/repos/builtin/packages/catch2/package.py
index a3a3593ded..7d945d023a 100644
--- a/var/spack/repos/builtin/packages/catch2/package.py
+++ b/var/spack/repos/builtin/packages/catch2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,9 +16,15 @@ class Catch2(CMakePackage):
maintainers = ["ax3l", "AndrewGaspar"]
# In-Development
- version('master', branch='master')
+ version('develop', branch='devel')
# Releases
+ version('3.0.0-preview3', sha256='06a4f903858f21c553e988f8b76c9c6915d1f95f95512d6a58c421e02a2c4975')
+ version('2.13.3', sha256='fedc5b008f7eb574f45098e7c7138211c543f0f8ad04792090e790511697a877', preferred=True)
+ version('2.13.2', sha256='5e39d9199f4f174dc3c8896fb4cf0a2ce9b9c358ae759b87fade6d615ca2d27e')
+ version('2.13.1', sha256='36bcc9e6190923961be11e589d747e606515de95f10779e29853cfeae560bd6c')
+ version('2.13.0', sha256='4e6608d3fb0247e2aa988735bae2064381b0ec712f47beb766dd761838a546b6')
+ version('2.12.4', sha256='5436725bbc6ee131a0bc9545bef31f0adabbb21fbc39fb6f1b2a42c12e4f8107')
version('2.12.3', sha256='78425e7055cea5bad1ff8db7ea0d6dfc0722ece156be1ccf3597c15e674e6943')
version('2.12.1', sha256='e5635c082282ea518a8dd7ee89796c8026af8ea9068cd7402fb1615deacd91c3')
version('2.12.0', sha256='6606b754363d3a4521bfecf717dc1972c50dca282bd428dfb1370ec8b9c26918')
diff --git a/var/spack/repos/builtin/packages/cbc/package.py b/var/spack/repos/builtin/packages/cbc/package.py
index 171e2a3c83..5c97bb86c2 100644
--- a/var/spack/repos/builtin/packages/cbc/package.py
+++ b/var/spack/repos/builtin/packages/cbc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cbench/package.py b/var/spack/repos/builtin/packages/cbench/package.py
index 8a24a54d6e..86453815c0 100644
--- a/var/spack/repos/builtin/packages/cbench/package.py
+++ b/var/spack/repos/builtin/packages/cbench/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cbflib/cbf_f16.patch b/var/spack/repos/builtin/packages/cbflib/cbf_f16.patch
new file mode 100644
index 0000000000..5f81d4e7e7
--- /dev/null
+++ b/var/spack/repos/builtin/packages/cbflib/cbf_f16.patch
@@ -0,0 +1,17 @@
+--- a/src/fcb_skip_whitespace.f90 2021-01-26 15:14:30.565029427 +0900
++++ b/src/fcb_skip_whitespace.f90 2021-01-26 15:15:01.016918388 +0900
+@@ -65,11 +65,11 @@
+ END IF
+ ELSE
+ SELECT CASE (LINE(IC))
+- CASE (Z'5C') ! backslash
++ CASE (INT(Z'5C')) ! backslash
+ IC = IC+1 ! force skip of next character
+- CASE (Z'28') ! open paren
++ CASE (INT(Z'28')) ! open paren
+ COMMENT_LEVEL = COMMENT_LEVEL+1;
+- CASE (Z'29') ! close paren
++ CASE (INT(Z'29')) ! close paren
+ COMMENT_LEVEL = COMMENT_LEVEL-1;
+ END SELECT
+ IC = IC+1;
diff --git a/var/spack/repos/builtin/packages/cbflib/cbf_int.patch b/var/spack/repos/builtin/packages/cbflib/cbf_int.patch
new file mode 100644
index 0000000000..a234859d5e
--- /dev/null
+++ b/var/spack/repos/builtin/packages/cbflib/cbf_int.patch
@@ -0,0 +1,11 @@
+--- a/src/cbf_ws.c 2021-01-26 15:31:04.793960741 +0900
++++ b/src/cbf_ws.c 2021-01-26 15:32:08.092795581 +0900
+@@ -1034,7 +1034,7 @@
+
+ const char * line;
+
+- char c, cprev, cprevprev, cprevprevprev;
++ int c, cprev, cprevprev, cprevprevprev;
+
+ size_t length;
+
diff --git a/var/spack/repos/builtin/packages/cbflib/checkint.c b/var/spack/repos/builtin/packages/cbflib/checkint.c
new file mode 100644
index 0000000000..7187d6a5f9
--- /dev/null
+++ b/var/spack/repos/builtin/packages/cbflib/checkint.c
@@ -0,0 +1,4 @@
+#include <limits.h>
+#if LONG_MAX == LLONG_MAX
+#error LONG=LLONG
+#endif
diff --git a/var/spack/repos/builtin/packages/cbflib/package.py b/var/spack/repos/builtin/packages/cbflib/package.py
new file mode 100644
index 0000000000..ed244db339
--- /dev/null
+++ b/var/spack/repos/builtin/packages/cbflib/package.py
@@ -0,0 +1,43 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+import os
+
+
+class Cbflib(MakefilePackage):
+ """CBFLIB is a library of ANSI-C functions providing a simple mechanism
+ for accessing Crystallographic Binary Files (CBF files) and
+ Image-supporting CIF (imgCIF) files."""
+
+ homepage = "http://www.bernstein-plus-sons.com/software/CBF/"
+ url = "https://downloads.sourceforge.net/project/cbflib/cbflib/CBFlib_0.9.2/CBFlib-0.9.2.tar.gz"
+
+ version('0.9.2', sha256='367e37e1908a65d5472e921150291332823a751206804866e752b793bca17afc')
+
+ depends_on('m4', type='build')
+
+ patch('cbf_f16.patch')
+ patch('cbf_int.patch')
+
+ def setup_build_environment(self, env):
+ ce = Executable(self.compiler.cc)
+ ce('-E', join_path(os.path.dirname(__file__), "checkint.c"),
+ output=str, error=str, fail_on_error=False)
+ if ce.returncode != 0:
+ env.set('CBF_DONT_USE_LONG_LONG', '1')
+
+ def edit(self, spec, prefix):
+ mf = FileFilter('Makefile')
+ mf.filter(r'^CC.+', "CC = {0}".format(spack_cc))
+ mf.filter(r'^C\+\+.+', "C++ = {0}".format(spack_cxx))
+ mf.filter('gfortran', spack_fc)
+ mf.filter(r'^INSTALLDIR .+', "INSTALLDIR = {0}".format(prefix))
+
+ def build(self, spec, prefix):
+ pass
+
+ def install(self, spec, prefix):
+ make('install', parallel=False)
diff --git a/var/spack/repos/builtin/packages/cblas/package.py b/var/spack/repos/builtin/packages/cblas/package.py
index 92ea521b94..f70a38fcf4 100644
--- a/var/spack/repos/builtin/packages/cblas/package.py
+++ b/var/spack/repos/builtin/packages/cblas/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cbtf-argonavis-gui/package.py b/var/spack/repos/builtin/packages/cbtf-argonavis-gui/package.py
index 1ae389d801..bdc58e0ff1 100644
--- a/var/spack/repos/builtin/packages/cbtf-argonavis-gui/package.py
+++ b/var/spack/repos/builtin/packages/cbtf-argonavis-gui/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cbtf-argonavis/package.py b/var/spack/repos/builtin/packages/cbtf-argonavis/package.py
index 371d2eb809..2357ed5ef7 100644
--- a/var/spack/repos/builtin/packages/cbtf-argonavis/package.py
+++ b/var/spack/repos/builtin/packages/cbtf-argonavis/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cbtf-krell/package.py b/var/spack/repos/builtin/packages/cbtf-krell/package.py
index ea238bc439..1d9024c6ae 100644
--- a/var/spack/repos/builtin/packages/cbtf-krell/package.py
+++ b/var/spack/repos/builtin/packages/cbtf-krell/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -51,7 +51,7 @@ class CbtfKrell(CMakePackage):
depends_on("cmake@3.0.2:", type='build')
# For rpcgen
- depends_on("rpcsvc-proto", type='build')
+ depends_on("rpcsvc-proto")
# For rpc
depends_on("libtirpc", type='link')
diff --git a/var/spack/repos/builtin/packages/cbtf-lanl/package.py b/var/spack/repos/builtin/packages/cbtf-lanl/package.py
index 857ef6c7f9..685eb37c90 100644
--- a/var/spack/repos/builtin/packages/cbtf-lanl/package.py
+++ b/var/spack/repos/builtin/packages/cbtf-lanl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cbtf/package.py b/var/spack/repos/builtin/packages/cbtf/package.py
index 4c64732166..012d2348c9 100644
--- a/var/spack/repos/builtin/packages/cbtf/package.py
+++ b/var/spack/repos/builtin/packages/cbtf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -35,7 +35,7 @@ class Cbtf(CMakePackage):
depends_on("cmake@3.0.2:", type='build')
# for rpcgen
- depends_on("rpcsvc-proto", type='build')
+ depends_on("rpcsvc-proto")
# for rpc
depends_on("libtirpc", type='link')
diff --git a/var/spack/repos/builtin/packages/cc65/package.py b/var/spack/repos/builtin/packages/cc65/package.py
index 414daeea63..cd21e400d6 100644
--- a/var/spack/repos/builtin/packages/cc65/package.py
+++ b/var/spack/repos/builtin/packages/cc65/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ccache/package.py b/var/spack/repos/builtin/packages/ccache/package.py
index e4f9a52353..027a88053c 100644
--- a/var/spack/repos/builtin/packages/ccache/package.py
+++ b/var/spack/repos/builtin/packages/ccache/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ccfits/package.py b/var/spack/repos/builtin/packages/ccfits/package.py
index a4eb088a75..59ab9e144d 100644
--- a/var/spack/repos/builtin/packages/ccfits/package.py
+++ b/var/spack/repos/builtin/packages/ccfits/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ccls/package.py b/var/spack/repos/builtin/packages/ccls/package.py
new file mode 100644
index 0000000000..5e05efcbf1
--- /dev/null
+++ b/var/spack/repos/builtin/packages/ccls/package.py
@@ -0,0 +1,25 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Ccls(CMakePackage):
+ """C/C++ language server"""
+
+ homepage = "https://github.com/MaskRay/ccls"
+ git = "https://github.com/MaskRay/ccls.git"
+ url = "https://github.com/MaskRay/ccls/archive/0.20201025.tar.gz"
+
+ maintainers = ['jacobmerson']
+
+ version('0.20201025', sha256='1470797b2c1a466e2d8a069efd807aac6fefdef8a556e1edf2d44f370c949221')
+
+ variant('build_type', default='Release', description='CMake build type',
+ values=('Debug', 'Release', 'RelWithDebInfo', 'MinSizeRel'))
+
+ depends_on("cmake@3.8:", type="build")
+ depends_on('llvm@7:')
+ depends_on('rapidjson')
diff --git a/var/spack/repos/builtin/packages/ccs-qcd/package.py b/var/spack/repos/builtin/packages/ccs-qcd/package.py
index 31b85dd969..d80209e1f7 100644
--- a/var/spack/repos/builtin/packages/ccs-qcd/package.py
+++ b/var/spack/repos/builtin/packages/ccs-qcd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -31,6 +31,8 @@ class CcsQcd(MakefilePackage):
homepage = "https://github.com/fiber-miniapp/ccs-qcd"
git = "https://github.com/fiber-miniapp/ccs-qcd.git"
+ tags = ['hep']
+
version('master', branch='master')
version('1.2.1', commit='d7c6b6923f35a824e997ba8db5bd12dc20dda45c')
diff --git a/var/spack/repos/builtin/packages/cctools/package.py b/var/spack/repos/builtin/packages/cctools/package.py
index f1d03740e8..44351d9283 100644
--- a/var/spack/repos/builtin/packages/cctools/package.py
+++ b/var/spack/repos/builtin/packages/cctools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cdbfasta/package.py b/var/spack/repos/builtin/packages/cdbfasta/package.py
index 812dd7a7db..05c15498b4 100644
--- a/var/spack/repos/builtin/packages/cdbfasta/package.py
+++ b/var/spack/repos/builtin/packages/cdbfasta/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cdd/package.py b/var/spack/repos/builtin/packages/cdd/package.py
index 2487b8bb77..1c6f9f2a1b 100644
--- a/var/spack/repos/builtin/packages/cdd/package.py
+++ b/var/spack/repos/builtin/packages/cdd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cddlib/package.py b/var/spack/repos/builtin/packages/cddlib/package.py
index 199d283ab7..c501aad344 100644
--- a/var/spack/repos/builtin/packages/cddlib/package.py
+++ b/var/spack/repos/builtin/packages/cddlib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cdecimal/package.py b/var/spack/repos/builtin/packages/cdecimal/package.py
index 882af3bb21..c044303c0c 100644
--- a/var/spack/repos/builtin/packages/cdecimal/package.py
+++ b/var/spack/repos/builtin/packages/cdecimal/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cdhit/package.py b/var/spack/repos/builtin/packages/cdhit/package.py
index a58b959942..96c6eb36b1 100644
--- a/var/spack/repos/builtin/packages/cdhit/package.py
+++ b/var/spack/repos/builtin/packages/cdhit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cdo/package.py b/var/spack/repos/builtin/packages/cdo/package.py
index 4096176dbb..71439b3b5e 100644
--- a/var/spack/repos/builtin/packages/cdo/package.py
+++ b/var/spack/repos/builtin/packages/cdo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,10 +17,10 @@ class Cdo(AutotoolsPackage):
maintainers = ['skosukhin']
+ version('1.9.10', sha256='cc39c89bbb481d7b3945a06c56a8492047235f46ac363c4f0d980fccdde6677e', url='https://code.mpimet.mpg.de/attachments/download/24638/cdo-1.9.10.tar.gz')
version('1.9.9', sha256='959b5b58f495d521a7fd1daa84644888ec87d6a0df43f22ad950d17aee5ba98d', url='https://code.mpimet.mpg.de/attachments/download/23323/cdo-1.9.9.tar.gz')
version('1.9.8', sha256='f2660ac6f8bf3fa071cf2a3a196b3ec75ad007deb3a782455e80f28680c5252a', url='https://code.mpimet.mpg.de/attachments/download/20826/cdo-1.9.8.tar.gz')
- version('1.9.7.1', sha256='3771952e065bcf935d43e492707370ed2a0ecb59a06bea24f9ab69d77943962c',
- url='https://code.mpimet.mpg.de/attachments/download/20124/cdo-1.9.7.1.tar.gz')
+ version('1.9.7.1', sha256='3771952e065bcf935d43e492707370ed2a0ecb59a06bea24f9ab69d77943962c', url='https://code.mpimet.mpg.de/attachments/download/20124/cdo-1.9.7.1.tar.gz')
version('1.9.6', sha256='b31474c94548d21393758caa33f35cf7f423d5dfc84562ad80a2bdcb725b5585', url='https://code.mpimet.mpg.de/attachments/download/19299/cdo-1.9.6.tar.gz')
version('1.9.5', sha256='48ed65cc5b436753c8e7f9eadd8aa97376698ce230ceafed2a4350a5b1a27148', url='https://code.mpimet.mpg.de/attachments/download/18264/cdo-1.9.5.tar.gz')
version('1.9.4', sha256='3d1c0fd3f7d38c5d3d88139ca1546c9d24e1b1ff752a794a4194dfe624695def', url='https://code.mpimet.mpg.de/attachments/download/17374/cdo-1.9.4.tar.gz')
@@ -67,11 +67,13 @@ class Cdo(AutotoolsPackage):
depends_on('udunits', when='+udunits2')
depends_on('libxml2', when='+libxml2')
- depends_on('proj@:5', when='+proj')
+ depends_on('proj@:5', when='@:1.9.6+proj')
+ depends_on('proj@:7', when='@1.9.7+proj')
+ depends_on('proj@5:', when='@1.9.8:+proj')
depends_on('curl', when='+curl')
- depends_on('fftw@3:', when='+fftw3')
+ depends_on('fftw-api@3:', when='+fftw3')
depends_on('magics', when='+magics')
- depends_on('libuuid')
+ depends_on('uuid')
conflicts('grib2=eccodes', when='@:1.8',
msg='Eccodes is supported starting version 1.9.0')
diff --git a/var/spack/repos/builtin/packages/ceed/package.py b/var/spack/repos/builtin/packages/ceed/package.py
index f4cf410508..1090385a32 100644
--- a/var/spack/repos/builtin/packages/ceed/package.py
+++ b/var/spack/repos/builtin/packages/ceed/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cereal/package.py b/var/spack/repos/builtin/packages/cereal/package.py
index c35892538d..9fa2652d4c 100644
--- a/var/spack/repos/builtin/packages/cereal/package.py
+++ b/var/spack/repos/builtin/packages/cereal/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ceres-solver/package.py b/var/spack/repos/builtin/packages/ceres-solver/package.py
index ab84b4f9b7..7336a5d0ba 100644
--- a/var/spack/repos/builtin/packages/ceres-solver/package.py
+++ b/var/spack/repos/builtin/packages/ceres-solver/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,6 +17,7 @@ class CeresSolver(CMakePackage):
homepage = "http://ceres-solver.org"
url = "http://ceres-solver.org/ceres-solver-1.12.0.tar.gz"
+ version('2.0.0', sha256='10298a1d75ca884aa0507d1abb0e0f04800a92871cd400d4c361b56a777a7603')
version('1.14.0', sha256='4744005fc3b902fed886ea418df70690caa8e2ff6b5a90f3dd88a3d291ef8e8e')
version('1.12.0', sha256='745bfed55111e086954126b748eb9efe20e30be5b825c6dec3c525cf20afc895')
diff --git a/var/spack/repos/builtin/packages/cfitsio/package.py b/var/spack/repos/builtin/packages/cfitsio/package.py
index dfac754190..535446eb38 100644
--- a/var/spack/repos/builtin/packages/cfitsio/package.py
+++ b/var/spack/repos/builtin/packages/cfitsio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,12 +12,15 @@ class Cfitsio(AutotoolsPackage):
"""
homepage = 'http://heasarc.gsfc.nasa.gov/fitsio/'
- url = 'http://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio3450.tar.gz'
+ url = 'http://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio-3.49.tar.gz'
- version('3.450', sha256='bf6012dbe668ecb22c399c4b7b2814557ee282c74a7d5dc704eb17c30d9fb92e')
- version('3.420', sha256='6c10aa636118fa12d9a5e2e66f22c6436fb358da2af6dbf7e133c142e2ac16b8')
- version('3.410', sha256='a556ac7ea1965545dcb4d41cfef8e4915eeb8c0faa1b52f7ff70870f8bb5734c')
- version('3.370', sha256='092897c6dae4dfe42d91d35a738e45e8236aa3d8f9b3ffc7f0e6545b8319c63a')
+ version('3.49', sha256='5b65a20d5c53494ec8f638267fca4a629836b7ac8dd0ef0266834eab270ed4b3')
+ version('3.48', sha256='91b48ffef544eb8ea3908543052331072c99bf09ceb139cb3c6977fc3e47aac1')
+ version('3.47', sha256='418516f10ee1e0f1b520926eeca6b77ce639bed88804c7c545e74f26b3edf4ef')
+ version('3.45', sha256='bf6012dbe668ecb22c399c4b7b2814557ee282c74a7d5dc704eb17c30d9fb92e')
+ version('3.42', sha256='6c10aa636118fa12d9a5e2e66f22c6436fb358da2af6dbf7e133c142e2ac16b8')
+ version('3.41', sha256='a556ac7ea1965545dcb4d41cfef8e4915eeb8c0faa1b52f7ff70870f8bb5734c')
+ version('3.37', sha256='092897c6dae4dfe42d91d35a738e45e8236aa3d8f9b3ffc7f0e6545b8319c63a')
variant('bzip2', default=True, description='Enable bzip2 support')
variant('shared', default=True, description='Build shared libraries')
@@ -26,7 +29,10 @@ class Cfitsio(AutotoolsPackage):
depends_on('bzip2', when='+bzip2')
def url_for_version(self, version):
- url = 'http://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio{0}.tar.gz'
+ if version >= Version('3.47'):
+ return super(Cfitsio, self).url_for_version(version)
+
+ url = 'http://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio{0}0.tar.gz'
return url.format(version.joined)
def configure_args(self):
diff --git a/var/spack/repos/builtin/packages/cgal/package.py b/var/spack/repos/builtin/packages/cgal/package.py
index 41fc640448..d30e10cb6b 100644
--- a/var/spack/repos/builtin/packages/cgal/package.py
+++ b/var/spack/repos/builtin/packages/cgal/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cgdb/package.py b/var/spack/repos/builtin/packages/cgdb/package.py
index 269561b070..8c3c2e4ec1 100644
--- a/var/spack/repos/builtin/packages/cgdb/package.py
+++ b/var/spack/repos/builtin/packages/cgdb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,6 +17,9 @@ class Cgdb(AutotoolsPackage):
# Required dependency
depends_on('ncurses')
depends_on('readline')
+ depends_on('flex', type='build')
+ depends_on('bison', type='build')
+ depends_on('texinfo', type='build')
def configure_args(self):
spec = self.spec
diff --git a/var/spack/repos/builtin/packages/cgdcbxd/package.py b/var/spack/repos/builtin/packages/cgdcbxd/package.py
index 63eb408bad..3faad1b494 100644
--- a/var/spack/repos/builtin/packages/cgdcbxd/package.py
+++ b/var/spack/repos/builtin/packages/cgdcbxd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cget/package.py b/var/spack/repos/builtin/packages/cget/package.py
index ee8bcb1acf..9b76cc795b 100644
--- a/var/spack/repos/builtin/packages/cget/package.py
+++ b/var/spack/repos/builtin/packages/cget/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class Cget(PythonPackage):
"""Cmake package retrieval."""
homepage = "https://github.com/pfultz2/cget"
- url = "https://pypi.io/packages/source/c/cget/cget-0.1.9.tar.gz"
+ pypi = "cget/cget-0.1.9.tar.gz"
version('0.1.9', sha256='2a7913b601bec615208585eda7e69998a43cc17080d36c2ff2ce8742c9794bf6')
diff --git a/var/spack/repos/builtin/packages/cgl/package.py b/var/spack/repos/builtin/packages/cgl/package.py
index 1c0a694df5..24e16e4e95 100644
--- a/var/spack/repos/builtin/packages/cgl/package.py
+++ b/var/spack/repos/builtin/packages/cgl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cgm/package.py b/var/spack/repos/builtin/packages/cgm/package.py
index 295b85a7ba..9d109b44ba 100644
--- a/var/spack/repos/builtin/packages/cgm/package.py
+++ b/var/spack/repos/builtin/packages/cgm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cgns/package.py b/var/spack/repos/builtin/packages/cgns/package.py
index 5e05c805af..6610c35b44 100644
--- a/var/spack/repos/builtin/packages/cgns/package.py
+++ b/var/spack/repos/builtin/packages/cgns/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,6 +16,8 @@ class Cgns(CMakePackage):
url = "https://github.com/CGNS/CGNS/archive/v3.3.0.tar.gz"
git = "https://github.com/CGNS/CGNS"
+ parallel = False
+
version('develop', branch='develop')
version('master', branch='master')
version('4.1.1', sha256='055d345c3569df3ae832fb2611cd7e0bc61d56da41b2be1533407e949581e226')
diff --git a/var/spack/repos/builtin/packages/chai/package.py b/var/spack/repos/builtin/packages/chai/package.py
index 6fd33dea8b..e5e1d09756 100644
--- a/var/spack/repos/builtin/packages/chai/package.py
+++ b/var/spack/repos/builtin/packages/chai/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -23,16 +23,22 @@ class Chai(CMakePackage, CudaPackage, ROCmPackage):
version('1.1.0', tag='v1.1.0', submodules='True')
version('1.0', tag='v1.0', submodules='True')
+ variant('enable_pick', default=False, description='Enable pick method')
variant('shared', default=True, description='Build Shared Libs')
variant('raja', default=False, description='Build plugin for RAJA')
variant('benchmarks', default=True, description='Build benchmarks.')
variant('examples', default=True, description='Build examples.')
+ # TODO: figure out gtest dependency and then set this default True
+ # and remove the +tests conflict below.
+ variant('tests', default=False, description='Build tests')
depends_on('cmake@3.8:', type='build')
+ depends_on('cmake@3.9:', type='build', when="+cuda")
+ depends_on('blt', type='build')
+ depends_on('blt@0.3.7:', type='build', when='+rocm')
depends_on('umpire')
depends_on('raja', when="+raja")
- depends_on('cmake@3.9:', type='build', when="+cuda")
depends_on('umpire+cuda', when="+cuda")
depends_on('raja+cuda', when="+raja+cuda")
@@ -44,10 +50,13 @@ class Chai(CMakePackage, CudaPackage, ROCmPackage):
depends_on('umpire amdgpu_target=%s' % val, when='amdgpu_target=%s' % val)
depends_on('raja amdgpu_target=%s' % val, when='+raja amdgpu_target=%s' % val)
+ conflicts('+benchmarks', when='~tests')
+
def cmake_args(self):
spec = self.spec
options = []
+ options.append('-DBLT_SOURCE_DIR={0}'.format(spec['blt'].prefix))
if '+cuda' in spec:
options.extend([
@@ -80,18 +89,14 @@ class Chai(CMakePackage, CudaPackage, ROCmPackage):
options.extend(['-DENABLE_RAJA_PLUGIN=ON',
'-DRAJA_DIR=' + spec['raja'].prefix])
+ options.append('-DENABLE_PICK={0}'.format(
+ 'ON' if '+enable_pick' in spec else 'OFF'))
+
options.append('-Dumpire_DIR:PATH='
+ spec['umpire'].prefix.share.umpire.cmake)
options.append('-DENABLE_TESTS={0}'.format(
- 'ON' if self.run_tests else 'OFF'))
-
- # give clear error for conflict between self.run_tests and
- # benchmarks variant.
- if not self.run_tests and '+benchmarks' in spec:
- raise InstallError(
- 'ENABLE_BENCHMARKS requires ENABLE_TESTS to be ON'
- )
+ 'ON' if '+tests' in spec else 'OFF'))
options.append('-DENABLE_BENCHMARKS={0}'.format(
'ON' if '+benchmarks' in spec else 'OFF'))
diff --git a/var/spack/repos/builtin/packages/changa/package.py b/var/spack/repos/builtin/packages/changa/package.py
index a6adb48c38..4c6bfb7c36 100644
--- a/var/spack/repos/builtin/packages/changa/package.py
+++ b/var/spack/repos/builtin/packages/changa/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/channelflow/package.py b/var/spack/repos/builtin/packages/channelflow/package.py
index 12e70b4332..80ed36ebd5 100644
--- a/var/spack/repos/builtin/packages/channelflow/package.py
+++ b/var/spack/repos/builtin/packages/channelflow/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/chapel/package.py b/var/spack/repos/builtin/packages/chapel/package.py
index 142fb60a8b..5952e38a72 100644
--- a/var/spack/repos/builtin/packages/chapel/package.py
+++ b/var/spack/repos/builtin/packages/chapel/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/charliecloud/package.py b/var/spack/repos/builtin/packages/charliecloud/package.py
index 3f2f836eb7..4704d8e31b 100644
--- a/var/spack/repos/builtin/packages/charliecloud/package.py
+++ b/var/spack/repos/builtin/packages/charliecloud/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,6 +15,8 @@ class Charliecloud(AutotoolsPackage):
git = "https://github.com/hpc/charliecloud.git"
version('master', branch='master')
+ version('0.22', sha256='f65e4111ce87e449c656032da69f3b1cfc70a5a416a5e410329c1b0b2e953907')
+ version('0.21', sha256='024884074d283c4a0387d899161610fa4ae739ac1efcc9e53d7d626ddc20359f')
version('0.19', sha256='99619fd86860cda18f7f7a7cf7391f702ec9ebd3193791320dea647769996447')
version('0.18', sha256='15ce63353afe1fc6bcc10979496a54fcd5628f997cb13c827c9fc7afb795bdc5')
diff --git a/var/spack/repos/builtin/packages/charmpp/charm_6.7.1_aocc.patch b/var/spack/repos/builtin/packages/charmpp/charm_6.7.1_aocc.patch
new file mode 100644
index 0000000000..3967e5fc3e
--- /dev/null
+++ b/var/spack/repos/builtin/packages/charmpp/charm_6.7.1_aocc.patch
@@ -0,0 +1,188 @@
+diff -bur charm-6.7.1/src/arch/mpi-linux-x86_64/cc-mpicxx.sh updated-charm-6.7.1/src/arch/mpi-linux-x86_64/cc-mpicxx.sh
+--- charm-6.7.1/src/arch/mpi-linux-x86_64/cc-mpicxx.sh 2016-11-07 20:14:26.000000000 +0530
++++ updated-charm-6.7.1/src/arch/mpi-linux-x86_64/cc-mpicxx.sh 2019-08-26 16:55:40.868903291 +0530
+@@ -14,7 +14,7 @@
+
+ CMK_REAL_COMPILER=`$MPICXX -show 2>/dev/null | cut -d' ' -f1 `
+ case "$CMK_REAL_COMPILER" in
+-g++) CMK_AMD64="-m64 -fPIC" ;;
++clang++) CMK_AMD64="-m64 -fPIC" ;;
+ icpc) CMK_AMD64="-m64";;
+ pgCC) CMK_AMD64="-DCMK_FIND_FIRST_OF_PREDICATE=1 --no_using_std " ;;
+ FCC) CMK_AMD64="-Kfast -DCMK_FIND_FIRST_OF_PREDICATE=1 --variadic_macros";;
+diff -bur charm-6.7.1/src/arch/mpi-linux-x86_64/conv-mach-scyld.sh updated-charm-6.7.1/src/arch/mpi-linux-x86_64/conv-mach-scyld.sh
+--- charm-6.7.1/src/arch/mpi-linux-x86_64/conv-mach-scyld.sh 2016-11-07 20:14:26.000000000 +0530
++++ updated-charm-6.7.1/src/arch/mpi-linux-x86_64/conv-mach-scyld.sh 2019-08-26 16:55:40.868903291 +0530
+@@ -1,14 +1,14 @@
+
+ case "$CMK_CC" in
+ mpicc*)
+- CMK_CPP_C="gcc -E "
+- CMK_CC="gcc -fPIC"
+- CMK_CC_RELIABLE="gcc -fPIC"
+- CMK_CC_FASTEST="gcc -fPIC"
+- CMK_CXX="g++ -fPIC"
+- CMK_CXXPP="gcc -E "
+- CMK_LD="gcc"
+- CMK_LDXX="g++"
++ CMK_CPP_C="clang -E "
++ CMK_CC="clang -fPIC"
++ CMK_CC_RELIABLE="clang -fPIC"
++ CMK_CC_FASTEST="clang -fPIC"
++ CMK_CXX="clang++ -fPIC"
++ CMK_CXXPP="clang -E "
++ CMK_LD="clang"
++ CMK_LDXX="clang++"
+
+ # native compiler for compiling charmxi, etc
+ CMK_NATIVE_CC="$CMK_CC"
+Only in updated-charm-6.7.1/src/arch/mpi-linux-x86_64: conv-mach-scyld.sh.orig
+Only in updated-charm-6.7.1/src/arch/mpi-linux-x86_64: conv-mach-scyld.sh.rej
+diff -bur charm-6.7.1/src/arch/mpi-linux-x86_64/conv-mach.sh updated-charm-6.7.1/src/arch/mpi-linux-x86_64/conv-mach.sh
+--- charm-6.7.1/src/arch/mpi-linux-x86_64/conv-mach.sh 2016-11-07 20:14:26.000000000 +0530
++++ updated-charm-6.7.1/src/arch/mpi-linux-x86_64/conv-mach.sh 2019-08-26 16:55:40.868903291 +0530
+@@ -23,7 +23,7 @@
+
+ CMK_REAL_COMPILER=`$MPICXX -show 2>/dev/null | cut -d' ' -f1 `
+ case "$CMK_REAL_COMPILER" in
+-g++) CMK_AMD64_CC="$CMK_GCC64"; CMK_AMD64_CXX="$CMK_GCC64" ;;
++clang++) CMK_AMD64_CC="$CMK_GCC64"; CMK_AMD64_CXX="$CMK_GCC64" ;;
+ pgCC) CMK_AMD64_CC="-fPIC"; CMK_AMD64_CXX="-fPIC -DCMK_FIND_FIRST_OF_PREDICATE=1 --no_using_std " ;;
+ charmc) echo "Error> charmc can not call AMPI's mpicxx/mpiCC wrapper! Please fix your PATH."; exit 1 ;;
+ esac
+@@ -38,10 +38,10 @@
+ CMK_LIBS="-lckqt $CMK_SYSLIBS "
+ CMK_LD_LIBRARY_PATH="-Wl,-rpath,$CHARMLIBSO/"
+
+-CMK_NATIVE_CC="gcc $CMK_GCC64 "
+-CMK_NATIVE_LD="gcc $CMK_GCC64 "
+-CMK_NATIVE_CXX="g++ $CMK_GCC64 "
+-CMK_NATIVE_LDXX="g++ $CMK_GCC64 "
++CMK_NATIVE_CC="clang $CMK_GCC64 "
++CMK_NATIVE_LD="clang $CMK_GCC64 "
++CMK_NATIVE_CXX="clang++ $CMK_GCC64 "
++CMK_NATIVE_LDXX="clang++ $CMK_GCC64 "
+ CMK_NATIVE_LIBS=""
+
+ # fortran compiler
+@@ -51,7 +51,7 @@
+ # CMK_FPP="/lib/cpp -P -CC"
+ # CMK_CF90="$CMK_CF90 -fpic -fautomatic -fdollar-ok "
+ # CMK_CF90_FIXED="$CMK_CF90 -ffixed-form "
+-# CMK_F90LIBS="-lgfortran "
++# CMK_F90LIBS=" "
+ # CMK_F90_USE_MODDIR=1
+ # CMK_F90_MODINC="-I"
+ # CMK_MOD_NAME_ALLCAPS=
+diff -bur charm-6.7.1/src/libs/ck-libs/ckloop/Makefile updated-charm-6.7.1/src/libs/ck-libs/ckloop/Makefile
+--- charm-6.7.1/src/libs/ck-libs/ckloop/Makefile 2016-11-07 20:14:28.000000000 +0530
++++ updated-charm-6.7.1/src/libs/ck-libs/ckloop/Makefile 2019-08-26 16:55:40.852903122 +0530
+@@ -38,7 +38,7 @@
+ for i in $(LIBOBJ) ; do \
+ SRCFILE=`basename $$i .o`.C ; \
+ echo "checking dependencies for $$i : $$SRCFILE" ; \
+- g++ -MM -Wno-deprecated -I$(CDIR)/tmp $$SRCFILE >> $(DEPENDFILE); \
++ clang++ -MM -Wno-deprecated -I$(CDIR)/tmp $$SRCFILE >> $(DEPENDFILE); \
+ echo ' $$(CHARMC) -I$(CDIR)/tmp -o '$$i $$SRCFILE >> $(DEPENDFILE) ; \
+ done;
+
+Only in updated-charm-6.7.1/src/libs/ck-libs/ckloop: Makefile.orig
+Only in updated-charm-6.7.1/src/libs/ck-libs/ckloop: Makefile.rej
+diff -bur charm-6.7.1/src/libs/ck-libs/completion/Makefile updated-charm-6.7.1/src/libs/ck-libs/completion/Makefile
+--- charm-6.7.1/src/libs/ck-libs/completion/Makefile 2016-11-07 20:14:28.000000000 +0530
++++ updated-charm-6.7.1/src/libs/ck-libs/completion/Makefile 2019-08-26 16:55:40.852903122 +0530
+@@ -45,7 +45,7 @@
+ for i in $(LIBOBJ) ; do \
+ SRCFILE=`basename $$i .o`.C ; \
+ echo "checking dependencies for $$i : $$SRCFILE" ; \
+- g++ -MM -Wno-deprecated -I$(CDIR)/tmp $$SRCFILE >> $(DEPENDFILE); \
++ clang++ -MM -Wno-deprecated -I$(CDIR)/tmp $$SRCFILE >> $(DEPENDFILE); \
+ echo ' $$(CHARMC) -I$(CDIR)/tmp -o '$$i $$SRCFILE >> $(DEPENDFILE) ; \
+ done;
+
+Only in updated-charm-6.7.1/src/libs/ck-libs/completion: Makefile.orig
+Only in updated-charm-6.7.1/src/libs/ck-libs/completion: Makefile.rej
+diff -bur charm-6.7.1/src/libs/ck-libs/multicast/Makefile updated-charm-6.7.1/src/libs/ck-libs/multicast/Makefile
+--- charm-6.7.1/src/libs/ck-libs/multicast/Makefile 2016-11-07 20:14:29.000000000 +0530
++++ updated-charm-6.7.1/src/libs/ck-libs/multicast/Makefile 2019-08-26 16:55:40.852903122 +0530
+@@ -53,7 +53,7 @@
+ for i in $(LIBOBJ) ; do \
+ SRCFILE=`basename $$i .o`.C ; \
+ echo "checking dependencies for $$i : $$SRCFILE" ; \
+- g++ -MM -Wno-deprecated -I$(CDIR)/tmp $$SRCFILE >> $(DEPENDFILE); \
++ clang++ -MM -Wno-deprecated -I$(CDIR)/tmp $$SRCFILE >> $(DEPENDFILE); \
+ echo ' $$(CHARMC) -I$(CDIR)/tmp -o '$$i $$SRCFILE >> $(DEPENDFILE) ; \
+ done;
+
+Only in updated-charm-6.7.1/src/libs/ck-libs/multicast: Makefile.orig
+Only in updated-charm-6.7.1/src/libs/ck-libs/multicast: Makefile.rej
+diff -bur charm-6.7.1/src/libs/ck-libs/NDMeshStreamer/Makefile updated-charm-6.7.1/src/libs/ck-libs/NDMeshStreamer/Makefile
+--- charm-6.7.1/src/libs/ck-libs/NDMeshStreamer/Makefile 2016-11-07 20:14:27.000000000 +0530
++++ updated-charm-6.7.1/src/libs/ck-libs/NDMeshStreamer/Makefile 2019-08-26 16:55:40.852903122 +0530
+@@ -52,7 +52,7 @@
+ for i in $(LIBOBJ) ; do \
+ SRCFILE=`basename $$i .o`.C ; \
+ echo "checking dependencies for $$i : $$SRCFILE" ; \
+- g++ -MM -Wno-deprecated -I$(CDIR)/tmp -I../completion $$SRCFILE >> $(DEPENDFILE); \
++ clang++ -MM -Wno-deprecated -I$(CDIR)/tmp -I../completion $$SRCFILE >> $(DEPENDFILE); \
+ echo ' $$(CHARMC) -I$(CDIR)/tmp -o '$$i $$SRCFILE >> $(DEPENDFILE) ; \
+ done;
+
+Only in updated-charm-6.7.1/src/libs/ck-libs/NDMeshStreamer: Makefile.orig
+Only in updated-charm-6.7.1/src/libs/ck-libs/NDMeshStreamer: Makefile.rej
+diff -bur charm-6.7.1/src/QuickThreads/Makefile updated-charm-6.7.1/src/QuickThreads/Makefile
+--- charm-6.7.1/src/QuickThreads/Makefile 2016-11-07 20:14:25.000000000 +0530
++++ updated-charm-6.7.1/src/QuickThreads/Makefile 2019-08-26 16:55:40.856903165 +0530
+@@ -1,5 +1,5 @@
+
+-CC=gcc -I. -O2
++CC=clang -I. -O2
+
+ all: qt stp testpgm
+
+diff -bur charm-6.7.1/src/scripts/Makefile updated-charm-6.7.1/src/scripts/Makefile
+--- charm-6.7.1/src/scripts/Makefile 2016-11-07 20:14:29.000000000 +0530
++++ updated-charm-6.7.1/src/scripts/Makefile 2019-08-26 16:55:40.840902996 +0530
+@@ -942,7 +942,7 @@
+ SRCFILE=`basename $$i .o`.C ; \
+ [ ! -f $$SRCFILE ] && SRCFILE=`basename $$i .o`.c ; \
+ echo "checking dependencies for $$SRCFILE" ; \
+- if g++ -MM -Wno-deprecated -I. -I$(INC) $$SRCFILE >> $(DEPENDFILE); then true ; else echo '' ; echo "Compilation of '$$SRCFILE' failed, please fix it first!!!!" ; exit; fi; \
++ if clang++ -MM -Wno-deprecated -I. -I$(INC) $$SRCFILE >> $(DEPENDFILE); then true ; else echo '' ; echo "Compilation of '$$SRCFILE' failed, please fix it first!!!!" ; exit; fi; \
+ echo '' >> $(DEPENDFILE) ; \
+ done; \
+
+@@ -968,7 +968,7 @@
+ found=`/usr/bin/find $$SRCDIR -depth 1 -name $$SRCFILE`; \
+ [ ! $$found ] && SRCFILE=`basename $$i .o`.c ; \
+ echo "checking dependencies for $$SRCFILE" ; \
+- if g++ -MM -Wno-deprecated -I. -I$(INC) $$SRCFILE >> $(DEPENDFILE); then true ; else echo '' ; echo "Compilation of '$$SRCFILE' failed, please fix it first!!!!" ; exit; fi; \
++ if clang++ -MM -Wno-deprecated -I. -I$(INC) $$SRCFILE >> $(DEPENDFILE); then true ; else echo '' ; echo "Compilation of '$$SRCFILE' failed, please fix it first!!!!" ; exit; fi; \
+ echo '' >> $(DEPENDFILE) ; \
+ done; \
+
+diff -bur charm-6.7.1/tests/charm++/megatest/Makefile updated-charm-6.7.1/tests/charm++/megatest/Makefile
+--- charm-6.7.1/tests/charm++/megatest/Makefile 2016-11-07 20:14:30.000000000 +0530
++++ updated-charm-6.7.1/tests/charm++/megatest/Makefile 2019-08-26 16:55:40.820902785 +0530
+@@ -118,7 +118,7 @@
+ for i in $(OBJS) ; do \
+ SRCFILE=`basename $$i .o`.C ; \
+ echo "checking dependencies for $$SRCFILE" ; \
+- g++ -MM -I$(CHARMINC) $$SRCFILE | \
++ clang++ -MM -I$(CHARMINC) $$SRCFILE | \
+ perl $(CHARMBIN)/dep.pl $(CHARMINC) /usr/include /usr/local >> $(DEPENDFILE); \
+ echo ' $$(CHARMC) -o '$$i $$SRCFILE >> $(DEPENDFILE) ; \
+ done;
+--- charm-6.7.1/src/scripts/configure 2016-11-07 20:14:31.000000000 +0530
++++ updated-charm/charm-6.7.1/src/scripts/configure 2020-10-21 12:54:06.476958828 +0530
+@@ -2141,8 +2141,8 @@
+ $as_echo_n "checking \"$1\"... " >&6; }
+ echo "### $1" >> $charmout
+ cat $t >> $charmout
+- echo $CMK_CXX -I../include -I. $CMK_LIBDIR $CMK_INCDIR $CMK_SYSINC $OPTS_CXX $OPTS_LD -c $t -o test.o $4 >> $charmout
+- $CMK_CXX -I../include -I. $CMK_LIBDIR $CMK_INCDIR $CMK_SYSINC $OPTS_CXX $OPTS_LD -c $t -o test.o $4 > out 2>&1
++ echo $CMK_CXX -I../include -I. $CMK_LIBDIR $CMK_INCDIR $CMK_SYSINC $OPTS_CXX $OPTS_LD -Qunused-arguments -c $t -o test.o $4 >> $charmout
++ $CMK_CXX -I../include -I. $CMK_LIBDIR $CMK_INCDIR $CMK_SYSINC $OPTS_CXX $OPTS_LD -Qunused-arguments -c $t -o test.o $4 > out 2>&1
+ test_result $? "$1" "$2" "$3"
+ strictpass=$pass
+ strictfail=$fail
diff --git a/var/spack/repos/builtin/packages/charmpp/charm_6.8.2_aocc.patch b/var/spack/repos/builtin/packages/charmpp/charm_6.8.2_aocc.patch
new file mode 100644
index 0000000000..b1a736c2b6
--- /dev/null
+++ b/var/spack/repos/builtin/packages/charmpp/charm_6.8.2_aocc.patch
@@ -0,0 +1,165 @@
+diff -ruN 00/NAMD_2.13_Source/charm-6.8.2/src/arch/mpi-linux-x86_64/cc-mpicxx.sh 00_aocc-patch/NAMD_2.13_Source/charm-6.8.2/src/arch/mpi-linux-x86_64/cc-mpicxx.sh
+--- 00/NAMD_2.13_Source/charm-6.8.2/src/arch/mpi-linux-x86_64/cc-mpicxx.sh 2018-01-11 19:06:19.000000000 -0600
++++ 00_aocc-patch/NAMD_2.13_Source/charm-6.8.2/src/arch/mpi-linux-x86_64/cc-mpicxx.sh 2019-11-12 06:02:23.005454343 -0600
+@@ -15,6 +15,7 @@
+ CMK_REAL_COMPILER=`$MPICXX -show 2>/dev/null | cut -d' ' -f1 `
+ case "$CMK_REAL_COMPILER" in
+ g++) CMK_AMD64="-m64 -fPIC" ;;
++clang++) CMK_AMD64="-m64 -fPIC" ;;
+ icpc) CMK_AMD64="-m64";;
+ pgCC) CMK_AMD64="-DCMK_FIND_FIRST_OF_PREDICATE=1 --no_using_std " ;;
+ FCC) CMK_AMD64="-Kfast -DCMK_FIND_FIRST_OF_PREDICATE=1 --variadic_macros";;
+diff -ruN 00/NAMD_2.13_Source/charm-6.8.2/src/arch/mpi-linux-x86_64/conv-mach-scyld.sh 00_aocc-patch/NAMD_2.13_Source/charm-6.8.2/src/arch/mpi-linux-x86_64/conv-mach-scyld.sh
+--- 00/NAMD_2.13_Source/charm-6.8.2/src/arch/mpi-linux-x86_64/conv-mach-scyld.sh 2018-01-11 19:06:19.000000000 -0600
++++ 00_aocc-patch/NAMD_2.13_Source/charm-6.8.2/src/arch/mpi-linux-x86_64/conv-mach-scyld.sh 2019-11-12 06:05:22.666969636 -0600
+@@ -1,13 +1,14 @@
+
+ case "$CMK_CC" in
+ mpicc*)
+- CMK_CPP_C="gcc -E "
+- CMK_CC="gcc -fPIC"
+- CMK_CC_RELIABLE="gcc -fPIC"
+- CMK_CC_FASTEST="gcc -fPIC"
+- CMK_CXX="g++ -fPIC"
+- CMK_LD="gcc"
+- CMK_LDXX="g++"
++ CMK_CPP_C="clang -E "
++ CMK_CC="clang -fPIC"
++ CMK_CC_RELIABLE="clang -fPIC"
++ CMK_CC_FASTEST="clang -fPIC"
++ CMK_CXXPP="clang -E "
++ CMK_CXX="clang++ -fPIC"
++ CMK_LD="clang"
++ CMK_LDXX="clang++"
+
+ # native compiler for compiling charmxi, etc
+ CMK_NATIVE_CC="$CMK_CC"
+diff -ruN 00/NAMD_2.13_Source/charm-6.8.2/src/arch/mpi-linux-x86_64/conv-mach.sh 00_aocc-patch/NAMD_2.13_Source/charm-6.8.2/src/arch/mpi-linux-x86_64/conv-mach.sh
+--- 00/NAMD_2.13_Source/charm-6.8.2/src/arch/mpi-linux-x86_64/conv-mach.sh 2018-01-11 19:06:19.000000000 -0600
++++ 00_aocc-patch/NAMD_2.13_Source/charm-6.8.2/src/arch/mpi-linux-x86_64/conv-mach.sh 2019-11-12 06:07:41.361999246 -0600
+@@ -23,6 +23,7 @@
+
+ CMK_REAL_COMPILER=`$MPICXX -show 2>/dev/null | cut -d' ' -f1 `
+ case "$CMK_REAL_COMPILER" in
++clang++) CMK_AMD64_CC="$CMK_GCC64"; CMK_AMD64_CXX="$CMK_GCC64" ;;
+ g++) CMK_AMD64_CC="$CMK_GCC64"; CMK_AMD64_CXX="$CMK_GCC64" ;;
+ pgCC) CMK_AMD64_CC='-fPIC'; CMK_AMD64_CXX='-fPIC -DCMK_FIND_FIRST_OF_PREDICATE=1 --no_using_std ' ;;
+ charmc) echo "Error> charmc can not call AMPI's mpicxx/mpiCC wrapper! Please fix your PATH."; exit 1 ;;
+@@ -37,10 +38,10 @@
+ CMK_LIBS="-lckqt $CMK_SYSLIBS "
+ CMK_LD_LIBRARY_PATH="-Wl,-rpath,$CHARMLIBSO/"
+
+-CMK_NATIVE_CC="gcc $CMK_GCC64 "
+-CMK_NATIVE_LD="gcc $CMK_GCC64 "
+-CMK_NATIVE_CXX="g++ $CMK_GCC64 "
+-CMK_NATIVE_LDXX="g++ $CMK_GCC64 "
++CMK_NATIVE_CC="clang $CMK_GCC64 "
++CMK_NATIVE_LD="clang $CMK_GCC64 "
++CMK_NATIVE_CXX="clang++ $CMK_GCC64 "
++CMK_NATIVE_LDXX="clang++ $CMK_GCC64 "
+ CMK_NATIVE_LIBS=''
+
+ # fortran compiler
+diff -ruN 00/NAMD_2.13_Source/charm-6.8.2/src/libs/ck-libs/ckloop/Makefile 00_aocc-patch/NAMD_2.13_Source/charm-6.8.2/src/libs/ck-libs/ckloop/Makefile
+--- 00/NAMD_2.13_Source/charm-6.8.2/src/libs/ck-libs/ckloop/Makefile 2018-01-11 19:06:15.000000000 -0600
++++ 00_aocc-patch/NAMD_2.13_Source/charm-6.8.2/src/libs/ck-libs/ckloop/Makefile 2019-11-12 06:09:16.200438412 -0600
+@@ -38,7 +38,7 @@
+ for i in $(LIBOBJ) ; do \
+ SRCFILE=`basename $$i .o`.C ; \
+ echo "checking dependencies for $$i : $$SRCFILE" ; \
+- g++ -MM -Wno-deprecated -I$(CDIR)/tmp $$SRCFILE >> $(DEPENDFILE); \
++ clang++ -MM -Wno-deprecated -I$(CDIR)/tmp $$SRCFILE >> $(DEPENDFILE); \
+ echo ' $$(CHARMC) -I$(CDIR)/tmp -o '$$i $$SRCFILE >> $(DEPENDFILE) ; \
+ done;
+
+diff -ruN 00/NAMD_2.13_Source/charm-6.8.2/src/libs/ck-libs/completion/Makefile 00_aocc-patch/NAMD_2.13_Source/charm-6.8.2/src/libs/ck-libs/completion/Makefile
+--- 00/NAMD_2.13_Source/charm-6.8.2/src/libs/ck-libs/completion/Makefile 2018-01-11 19:06:16.000000000 -0600
++++ 00_aocc-patch/NAMD_2.13_Source/charm-6.8.2/src/libs/ck-libs/completion/Makefile 2019-11-12 06:09:41.247346697 -0600
+@@ -45,7 +45,7 @@
+ for i in $(LIBOBJ) ; do \
+ SRCFILE=`basename $$i .o`.C ; \
+ echo "checking dependencies for $$i : $$SRCFILE" ; \
+- g++ -MM -Wno-deprecated -I$(CDIR)/tmp $$SRCFILE >> $(DEPENDFILE); \
++ clang++ -MM -Wno-deprecated -I$(CDIR)/tmp $$SRCFILE >> $(DEPENDFILE); \
+ echo ' $$(CHARMC) -I$(CDIR)/tmp -o '$$i $$SRCFILE >> $(DEPENDFILE) ; \
+ done;
+
+diff -ruN 00/NAMD_2.13_Source/charm-6.8.2/src/libs/ck-libs/NDMeshStreamer/Makefile 00_aocc-patch/NAMD_2.13_Source/charm-6.8.2/src/libs/ck-libs/NDMeshStreamer/Makefile
+--- 00/NAMD_2.13_Source/charm-6.8.2/src/libs/ck-libs/NDMeshStreamer/Makefile 2018-01-11 19:06:15.000000000 -0600
++++ 00_aocc-patch/NAMD_2.13_Source/charm-6.8.2/src/libs/ck-libs/NDMeshStreamer/Makefile 2019-11-12 06:09:59.079993368 -0600
+@@ -52,7 +52,7 @@
+ for i in $(LIBOBJ) ; do \
+ SRCFILE=`basename $$i .o`.C ; \
+ echo "checking dependencies for $$i : $$SRCFILE" ; \
+- g++ -MM -Wno-deprecated -I$(CDIR)/tmp -I../completion $$SRCFILE >> $(DEPENDFILE); \
++ clang++ -MM -Wno-deprecated -I$(CDIR)/tmp -I../completion $$SRCFILE >> $(DEPENDFILE); \
+ echo ' $$(CHARMC) -I$(CDIR)/tmp -o '$$i $$SRCFILE >> $(DEPENDFILE) ; \
+ done;
+
+diff -ruN 00/NAMD_2.13_Source/charm-6.8.2/src/QuickThreads/Makefile 00_aocc-patch/NAMD_2.13_Source/charm-6.8.2/src/QuickThreads/Makefile
+--- 00/NAMD_2.13_Source/charm-6.8.2/src/QuickThreads/Makefile 2018-01-11 19:06:13.000000000 -0600
++++ 00_aocc-patch/NAMD_2.13_Source/charm-6.8.2/src/QuickThreads/Makefile 2019-11-12 06:10:37.744395459 -0600
+@@ -1,5 +1,5 @@
+
+-CC=gcc -I. -O2
++CC=clang -I. -O2
+
+ all: qt stp testpgm
+
+diff -ruN 00/NAMD_2.13_Source/charm-6.8.2/src/scripts/Makefile 00_aocc-patch/NAMD_2.13_Source/charm-6.8.2/src/scripts/Makefile
+--- 00/NAMD_2.13_Source/charm-6.8.2/src/scripts/Makefile 2018-01-11 19:06:20.000000000 -0600
++++ 00_aocc-patch/NAMD_2.13_Source/charm-6.8.2/src/scripts/Makefile 2019-11-12 06:10:59.888198461 -0600
+@@ -962,7 +962,7 @@
+ SRCFILE=`basename $$i .o`.C ; \
+ [ ! -f $$SRCFILE ] && SRCFILE=`basename $$i .o`.c ; \
+ echo "checking dependencies for $$SRCFILE" ; \
+- if g++ -std=c++0x -MM -Wno-deprecated -I. -I$(INC) $$SRCFILE >> $(DEPENDFILE); then true ; else echo '' ; echo "Compilation of '$$SRCFILE' failed, please fix it first!!!!" ; exit; fi; \
++ if clang++ -std=c++0x -MM -Wno-deprecated -I. -I$(INC) $$SRCFILE >> $(DEPENDFILE); then true ; else echo '' ; echo "Compilation of '$$SRCFILE' failed, please fix it first!!!!" ; exit; fi; \
+ echo '' >> $(DEPENDFILE) ; \
+ done; \
+
+@@ -988,7 +988,7 @@
+ found=`/usr/bin/find $$SRCDIR -depth 1 -name $$SRCFILE`; \
+ [ ! $$found ] && SRCFILE=`basename $$i .o`.c ; \
+ echo "checking dependencies for $$SRCFILE" ; \
+- if g++ -std=c++0x -MM -Wno-deprecated -I. -I$(INC) $$SRCFILE >> $(DEPENDFILE); then true ; else echo '' ; echo "Compilation of '$$SRCFILE' failed, please fix it first!!!!" ; exit; fi; \
++ if clang++ -std=c++0x -MM -Wno-deprecated -I. -I$(INC) $$SRCFILE >> $(DEPENDFILE); then true ; else echo '' ; echo "Compilation of '$$SRCFILE' failed, please fix it first!!!!" ; exit; fi; \
+ echo '' >> $(DEPENDFILE) ; \
+ done; \
+
+diff -ruN 00/NAMD_2.13_Source/charm-6.8.2/tests/charm++/megatest/Makefile 00_aocc-patch/NAMD_2.13_Source/charm-6.8.2/tests/charm++/megatest/Makefile
+--- 00/NAMD_2.13_Source/charm-6.8.2/tests/charm++/megatest/Makefile 2018-01-11 19:06:18.000000000 -0600
++++ 00_aocc-patch/NAMD_2.13_Source/charm-6.8.2/tests/charm++/megatest/Makefile 2019-11-12 06:11:38.193587531 -0600
+@@ -116,7 +116,7 @@
+ for i in $(OBJS) ; do \
+ SRCFILE=`basename $$i .o`.C ; \
+ echo "checking dependencies for $$SRCFILE" ; \
+- g++ -std=c++0x -MM -I$(CHARMINC) $$SRCFILE | \
++ clang++ -std=c++0x -MM -I$(CHARMINC) $$SRCFILE | \
+ perl $(CHARMBIN)/dep.pl $(CHARMINC) /usr/include /usr/local >> $(DEPENDFILE); \
+ echo ' $$(CHARMC) -o '$$i $$SRCFILE >> $(DEPENDFILE) ; \
+ done;
+--- 00/NAMD_2.13_Source/charm-6.8.2/src/scripts/configure 2018-01-12 06:36:21.000000000 +0530
++++ 00_aocc-patch/NAMD_2.13_Source/charm-6.8.2/src/scripts/configure 2020-10-21 15:01:20.240748316 +0530
+@@ -2183,8 +2183,8 @@
+ $as_echo_n "checking \"$1\"... " >&6; }
+ echo "### $1" >> $charmout
+ cat $tc >> $charmout
+- echo $CMK_CC -I../include -I. $CMK_LIBDIR $CMK_INCDIR $CMK_SYSINC $OPTS_CC $OPTS_LD -c $tc -o test.o $4 >> $charmout
+- $CMK_CC -I../include -I. $CMK_LIBDIR $CMK_INCDIR $CMK_SYSINC $OPTS_CC $OPTS_LD -c $tc -o test.o $4 > out 2>&1
++ echo $CMK_CC -I../include -I. $CMK_LIBDIR $CMK_INCDIR $CMK_SYSINC $OPTS_CC $OPTS_LD -Qunused-arguments -c $tc -o test.o $4 >> $charmout
++ $CMK_CC -I../include -I. $CMK_LIBDIR $CMK_INCDIR $CMK_SYSINC $OPTS_CC $OPTS_LD -Qunused-arguments -c $tc -o test.o $4 > out 2>&1
+ test_result $? "$1" "$2" "$3"
+ strictpass=$pass
+ strictfail=$fail
+@@ -2208,8 +2208,8 @@
+ $as_echo_n "checking \"$1\"... " >&6; }
+ echo "### $1" >> $charmout
+ cat $t >> $charmout
+- echo $CMK_CXX -I../include -I. $CMK_LIBDIR $CMK_INCDIR $CMK_SYSINC $OPTS_CXX $OPTS_LD -c $t -o test.o $4 >> $charmout
+- $CMK_CXX -I../include -I. $CMK_LIBDIR $CMK_INCDIR $CMK_SYSINC $OPTS_CXX $OPTS_LD -c $t -o test.o $4 > out 2>&1
++ echo $CMK_CXX -I../include -I. $CMK_LIBDIR $CMK_INCDIR $CMK_SYSINC $OPTS_CXX $OPTS_LD -Qunused-arguments -c $t -o test.o $4 >> $charmout
++ $CMK_CXX -I../include -I. $CMK_LIBDIR $CMK_INCDIR $CMK_SYSINC $OPTS_CXX $OPTS_LD -Qunused-arguments -c $t -o test.o $4 > out 2>&1
+ test_result $? "$1" "$2" "$3"
+ strictpass=$pass
+ strictfail=$fail
diff --git a/var/spack/repos/builtin/packages/charmpp/package.py b/var/spack/repos/builtin/packages/charmpp/package.py
index 9fbc8573ba..8f0c1c438b 100644
--- a/var/spack/repos/builtin/packages/charmpp/package.py
+++ b/var/spack/repos/builtin/packages/charmpp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,11 +17,13 @@ class Charmpp(Package):
allows programs to run portably from small multicore computers
(your laptop) to the largest supercomputers."""
- homepage = "http://charmplusplus.org"
- url = "http://charm.cs.illinois.edu/distrib/charm-6.8.2.tar.gz"
+ homepage = "https://charmplusplus.org"
+ url = "https://charm.cs.illinois.edu/distrib/charm-6.8.2.tar.gz"
git = "https://github.com/UIUC-PPL/charm.git"
- version("develop", branch="master")
+ maintainers = ["matthiasdiener"]
+
+ version("master", branch="master")
version('6.10.2', sha256='7abb4cace8aebdfbb8006eac03eb766897c009cfb919da0d0a33f74c3b4e6deb')
version('6.10.1', sha256='ab96198105daabbb8c8bdf370f87b0523521ce502c656cb6cd5b89f69a2c70a8')
@@ -37,10 +39,14 @@ class Charmpp(Package):
version("6.5.1", sha256="68aa43e2a6e476e116a7e80e385c25c6ac6497807348025505ba8bfa256ed34a")
# Support OpenMPI; see
- # <https://charm.cs.illinois.edu/redmine/issues/1206>
+ # <https://github.com/UIUC-PPL/charm/issues/1206>
# Patch is no longer needed in versions 6.8.0+
patch("mpi.patch", when="@:6.7.1")
+ # Patch for AOCC
+ patch('charm_6.7.1_aocc.patch', when="@6.7.1 %aocc", level=1)
+ patch('charm_6.8.2_aocc.patch', when="@6.8.2 %aocc", level=3)
+
# support Fujitsu compiler
patch("fj.patch", when="%fj")
@@ -147,17 +153,12 @@ class Charmpp(Package):
("darwin", "x86_64", "mpi"): "mpi-darwin-x86_64",
("darwin", "x86_64", "multicore"): "multicore-darwin-x86_64",
("darwin", "x86_64", "netlrts"): "netlrts-darwin-x86_64",
- ("linux", "i386", "mpi"): "mpi-linux",
- ("linux", "i386", "multicore"): "multicore-linux",
- ("linux", "i386", "netlrts"): "netlrts-linux",
- ("linux", "i386", "uth"): "uth-linux",
("linux", "x86_64", "mpi"): "mpi-linux-x86_64",
("linux", "x86_64", "multicore"): "multicore-linux-x86_64",
("linux", "x86_64", "netlrts"): "netlrts-linux-x86_64",
("linux", "x86_64", "verbs"): "verbs-linux-x86_64",
("linux", "x86_64", "ofi"): "ofi-linux-x86_64",
("linux", "x86_64", "ucx"): "ucx-linux-x86_64",
- ("linux", "x86_64", "uth"): "uth-linux-x86_64",
("linux", "ppc", "mpi"): "mpi-linux-ppc",
("linux", "ppc", "multicore"): "multicore-linux-ppc",
("linux", "ppc", "netlrts"): "netlrts-linux-ppc",
@@ -173,6 +174,21 @@ class Charmpp(Package):
("cnl", "x86_64", "gni"): "gni-crayxc",
("cnl", "x86_64", "mpi"): "mpi-crayxc",
}
+
+ # Some versions were renamed/removed in 6.11
+ if self.spec.version < Version("6.11.0"):
+ versions.update({("linux", "i386", "mpi"): "mpi-linux"})
+ versions.update({("linux", "i386", "multicore"):
+ "multicore-linux"})
+ versions.update({("linux", "i386", "netlrts"): "netlrts-linux"})
+ versions.update({("linux", "i386", "uth"): "uth-linux"})
+ else:
+ versions.update({("linux", "i386", "mpi"): "mpi-linux-i386"})
+ versions.update({("linux", "i386", "multicore"):
+ "multicore-linux-i386"})
+ versions.update({("linux", "i386", "netlrts"):
+ "netlrts-linux-i386"})
+
if (plat, mach, comm) not in versions:
raise InstallError(
"The communication mechanism %s is not supported "
@@ -224,12 +240,15 @@ class Charmpp(Package):
# not, then we need to query the compiler vendor from Spack
# here.
options = [
- os.path.basename(self.compiler.cc),
- os.path.basename(self.compiler.fc),
- "-j%d" % make_jobs,
- "--destination=%s" % builddir,
+ os.path.basename(self.compiler.cc)
]
+ if '@:6.8.2 %aocc' not in spec:
+ options.append(os.path.basename(self.compiler.fc))
+
+ options.append("-j%d" % make_jobs)
+ options.append("--destination=%s" % builddir)
+
if "pmi=slurmpmi" in spec:
options.append("slurmpmi")
if "pmi=slurmpmi2" in spec:
@@ -301,7 +320,10 @@ class Charmpp(Package):
os.rename(tmppath, filepath)
except (IOError, OSError):
pass
- shutil.rmtree(join_path(builddir, "tmp"))
+
+ tmp_path = join_path(builddir, "tmp")
+ if not os.path.islink(tmp_path):
+ shutil.rmtree(tmp_path)
if self.spec.satisfies('@6.9.99'):
# A broken 'doc' link in the prefix can break the build.
@@ -315,8 +337,8 @@ class Charmpp(Package):
@run_after('install')
@on_package_attributes(run_tests=True)
def check_build(self):
- make('-C', join_path(self.stage.source_path, 'charm/tests'),
- 'test', parallel=False)
+ make('-C', join_path(self.stage.source_path, 'tests'),
+ 'test', 'TESTOPTS=++local', parallel=False)
def setup_dependent_build_environment(self, env, dependent_spec):
env.set('MPICC', self.prefix.bin.ampicc)
diff --git a/var/spack/repos/builtin/packages/chatterbug/package.py b/var/spack/repos/builtin/packages/chatterbug/package.py
index 7bee6bd4cb..0ecedcadcc 100644
--- a/var/spack/repos/builtin/packages/chatterbug/package.py
+++ b/var/spack/repos/builtin/packages/chatterbug/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/check/package.py b/var/spack/repos/builtin/packages/check/package.py
index 93121f2cd3..04f3738b5e 100644
--- a/var/spack/repos/builtin/packages/check/package.py
+++ b/var/spack/repos/builtin/packages/check/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/chgcentre/package.py b/var/spack/repos/builtin/packages/chgcentre/package.py
index 7d93b296a0..48e0eac6cb 100644
--- a/var/spack/repos/builtin/packages/chgcentre/package.py
+++ b/var/spack/repos/builtin/packages/chgcentre/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/chill/package.py b/var/spack/repos/builtin/packages/chill/package.py
index 1358453b09..0d7c116597 100644
--- a/var/spack/repos/builtin/packages/chill/package.py
+++ b/var/spack/repos/builtin/packages/chill/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/chlorop/package.py b/var/spack/repos/builtin/packages/chlorop/package.py
index a7bcb696f1..119c06a1f6 100644
--- a/var/spack/repos/builtin/packages/chlorop/package.py
+++ b/var/spack/repos/builtin/packages/chlorop/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,6 +19,7 @@ class Chlorop(Package):
homepage = "http://www.cbs.dtu.dk/services/ChloroP/"
url = "file://{0}/chlorop-1.1.Linux.tar.gz".format(os.getcwd())
+ manual_download = True
version('1.1', 'eb0ba6b28dfa735163ad5fc70e30139e46e33f6ae27f87666a7167a4ac5f71d9')
diff --git a/var/spack/repos/builtin/packages/chombo/package.py b/var/spack/repos/builtin/packages/chombo/package.py
index 3b05e34a75..af4a2ab68b 100644
--- a/var/spack/repos/builtin/packages/chombo/package.py
+++ b/var/spack/repos/builtin/packages/chombo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/chrony/package.py b/var/spack/repos/builtin/packages/chrony/package.py
index f723fcc14a..ce87f569e3 100644
--- a/var/spack/repos/builtin/packages/chrony/package.py
+++ b/var/spack/repos/builtin/packages/chrony/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -21,6 +21,7 @@ class Chrony(AutotoolsPackage):
version('3.3', sha256='0dd7323b5ed9e3208236c1b39fcabf2ad03469fa07ac516ba9c682206133f66d')
depends_on('ruby-asciidoctor')
+ depends_on('bison', type='build')
def setup_run_environment(self, env):
env.prepend_path('PATH', self.prefix.sbin)
diff --git a/var/spack/repos/builtin/packages/chrpath/package.py b/var/spack/repos/builtin/packages/chrpath/package.py
index 0cfbc2a7fc..10b62060c1 100644
--- a/var/spack/repos/builtin/packages/chrpath/package.py
+++ b/var/spack/repos/builtin/packages/chrpath/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cinch/package.py b/var/spack/repos/builtin/packages/cinch/package.py
index f46a801cd4..a5a0b6a6c3 100644
--- a/var/spack/repos/builtin/packages/cinch/package.py
+++ b/var/spack/repos/builtin/packages/cinch/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/circos/package.py b/var/spack/repos/builtin/packages/circos/package.py
index 9a4cb997d1..f3a57bb47a 100644
--- a/var/spack/repos/builtin/packages/circos/package.py
+++ b/var/spack/repos/builtin/packages/circos/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cistem/package.py b/var/spack/repos/builtin/packages/cistem/package.py
index b12d35934f..991714302a 100644
--- a/var/spack/repos/builtin/packages/cistem/package.py
+++ b/var/spack/repos/builtin/packages/cistem/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/citcoms/package.py b/var/spack/repos/builtin/packages/citcoms/package.py
index 35fe86b2b4..d0625a5235 100644
--- a/var/spack/repos/builtin/packages/citcoms/package.py
+++ b/var/spack/repos/builtin/packages/citcoms/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cityhash/package.py b/var/spack/repos/builtin/packages/cityhash/package.py
index ebe96e58e2..3ad3c96cd2 100644
--- a/var/spack/repos/builtin/packages/cityhash/package.py
+++ b/var/spack/repos/builtin/packages/cityhash/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ck/package.py b/var/spack/repos/builtin/packages/ck/package.py
index 9752aa1ebd..6a326d2a4a 100644
--- a/var/spack/repos/builtin/packages/ck/package.py
+++ b/var/spack/repos/builtin/packages/ck/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/clamav/package.py b/var/spack/repos/builtin/packages/clamav/package.py
index cb67e39c1b..8fc5e776f5 100644
--- a/var/spack/repos/builtin/packages/clamav/package.py
+++ b/var/spack/repos/builtin/packages/clamav/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/clamr/package.py b/var/spack/repos/builtin/packages/clamr/package.py
index ea72bbb1e2..4c09e7c4e8 100644
--- a/var/spack/repos/builtin/packages/clamr/package.py
+++ b/var/spack/repos/builtin/packages/clamr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -27,7 +27,7 @@ class Clamr(CMakePackage):
values=('single', 'mixed', 'full'),
description='single, mixed, or full double precision values')
- depends_on('cmake@3.1:')
+ depends_on('cmake@3.1:', type='build')
depends_on('mpi')
depends_on('mpe', when='graphics=mpe')
diff --git a/var/spack/repos/builtin/packages/clapack/package.py b/var/spack/repos/builtin/packages/clapack/package.py
index 6796bf97ff..7a96752f57 100644
--- a/var/spack/repos/builtin/packages/clapack/package.py
+++ b/var/spack/repos/builtin/packages/clapack/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/clara/package.py b/var/spack/repos/builtin/packages/clara/package.py
index f60b885a7b..9aa79edef7 100644
--- a/var/spack/repos/builtin/packages/clara/package.py
+++ b/var/spack/repos/builtin/packages/clara/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/claw/package.py b/var/spack/repos/builtin/packages/claw/package.py
index 19b574f530..589574a956 100644
--- a/var/spack/repos/builtin/packages/claw/package.py
+++ b/var/spack/repos/builtin/packages/claw/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cleaveland4/package.py b/var/spack/repos/builtin/packages/cleaveland4/package.py
index d9d845bfdc..eb01d19957 100644
--- a/var/spack/repos/builtin/packages/cleaveland4/package.py
+++ b/var/spack/repos/builtin/packages/cleaveland4/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cleverleaf/package.py b/var/spack/repos/builtin/packages/cleverleaf/package.py
index 2b8163f5a6..a177bcc69e 100644
--- a/var/spack/repos/builtin/packages/cleverleaf/package.py
+++ b/var/spack/repos/builtin/packages/cleverleaf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/clfft/package.py b/var/spack/repos/builtin/packages/clfft/package.py
index c87d298969..e8f739e213 100644
--- a/var/spack/repos/builtin/packages/clfft/package.py
+++ b/var/spack/repos/builtin/packages/clfft/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/clhep/package.py b/var/spack/repos/builtin/packages/clhep/package.py
index 4fca7f7efb..6ff3a38000 100644
--- a/var/spack/repos/builtin/packages/clhep/package.py
+++ b/var/spack/repos/builtin/packages/clhep/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,8 +14,11 @@ class Clhep(CMakePackage):
list_url = "https://proj-clhep.web.cern.ch/proj-clhep/"
list_depth = 1
+ tags = ['hep']
+
maintainers = ['drbenmorgan']
+ version('2.4.4.0', sha256='5df78c11733a091da9ae5a24ce31161d44034dd45f20455587db85f1ca1ba539')
version('2.4.1.3', sha256='27c257934929f4cb1643aa60aeaad6519025d8f0a1c199bc3137ad7368245913')
version('2.4.1.2', sha256='ff96e7282254164380460bc8cf2dff2b58944084eadcd872b5661eb5a33fa4b8')
version('2.4.1.0', sha256='d14736eb5c3d21f86ce831dc1afcf03d423825b35c84deb6f8fd16773528c54d')
diff --git a/var/spack/repos/builtin/packages/cli11/package.py b/var/spack/repos/builtin/packages/cli11/package.py
new file mode 100644
index 0000000000..74b0b979f3
--- /dev/null
+++ b/var/spack/repos/builtin/packages/cli11/package.py
@@ -0,0 +1,26 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Cli11(CMakePackage):
+ """CLI11 is a command line parser for C++11 and beyond that provides a rich
+ feature set with a simple and intuitive interface."""
+
+ homepage = "https://cliutils.github.io/CLI11/book/"
+ url = "https://github.com/CLIUtils/CLI11/archive/v1.9.1.tar.gz"
+ maintainers = ['nightlark']
+
+ version('1.9.1', sha256='c780cf8cf3ba5ec2648a7eeb20a47e274493258f38a9b417628e0576f473a50b')
+
+ depends_on('cmake@3.4:', type='build')
+
+ def cmake_args(self):
+ args = [
+ '-DCLI11_BUILD_DOCS=OFF',
+ '-DCLI11_BUILD_TESTS=OFF',
+ ]
+ return args
diff --git a/var/spack/repos/builtin/packages/clinfo/package.py b/var/spack/repos/builtin/packages/clinfo/package.py
index 1fb78b42aa..9d6f4f26b8 100644
--- a/var/spack/repos/builtin/packages/clinfo/package.py
+++ b/var/spack/repos/builtin/packages/clinfo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/clingo-bootstrap/package.py b/var/spack/repos/builtin/packages/clingo-bootstrap/package.py
new file mode 100644
index 0000000000..06858da285
--- /dev/null
+++ b/var/spack/repos/builtin/packages/clingo-bootstrap/package.py
@@ -0,0 +1,51 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+from spack.pkg.builtin.clingo import Clingo
+
+import spack.compilers
+
+
+class ClingoBootstrap(Clingo):
+ """Clingo with some options used for bootstrapping"""
+ variant('build_type', default='Release', values=('Release',),
+ description='CMake build type')
+
+ # CMake at version 3.16.0 or higher has the possibility to force the
+ # Python interpreter, which is crucial to build against external Python
+ # in environment where more than one interpreter is in the same prefix
+ depends_on('cmake@3.16.0:', type='build')
+
+ # On Linux we bootstrap with GCC
+ for compiler_spec in [
+ c for c in spack.compilers.supported_compilers()
+ if c != 'gcc'
+ ]:
+ conflicts('%{0}'.format(compiler_spec), when='platform=linux',
+ msg='GCC is required to bootstrap clingo on Linux')
+ conflicts('%gcc@:5.99.99', when='platform=linux',
+ msg='C++14 support is required to bootstrap clingo on Linux')
+
+ # On Darwin we bootstrap with Apple Clang
+ for compiler_spec in [
+ c for c in spack.compilers.supported_compilers()
+ if c != 'apple-clang'
+ ]:
+ conflicts('%{0}'.format(compiler_spec), when='platform=darwin',
+ msg='Apple-clang is required to bootstrap clingo on MacOS')
+
+ # Clingo needs the Python module to be usable by Spack
+ conflicts('~python', msg='Python support is required to bootstrap Spack')
+
+ def setup_build_environment(self, env):
+ if '%apple-clang platform=darwin' in self.spec:
+ opts = '-mmacosx-version-min=10.13'
+ elif '%gcc platform=linux' in self.spec:
+ opts = '-static-libstdc++ -static-libgcc -Wl,--exclude-libs,ALL'
+ else:
+ msg = 'unexpected compiler for spec "{0}"'.format(self.spec)
+ raise RuntimeError(msg)
+
+ env.set('CXXFLAGS', opts)
+ env.set('LDFLAGS', opts)
diff --git a/var/spack/repos/builtin/packages/clingo/package.py b/var/spack/repos/builtin/packages/clingo/package.py
index 856f0d6338..1d6b0e7aba 100644
--- a/var/spack/repos/builtin/packages/clingo/package.py
+++ b/var/spack/repos/builtin/packages/clingo/package.py
@@ -1,9 +1,10 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
+from spack.compiler import UnsupportedCompilerFlag
class Clingo(CMakePackage):
@@ -22,8 +23,8 @@ class Clingo(CMakePackage):
maintainers = ["tgamblin"]
- version('master', branch='master', submodules=True)
- version('spack', commit='2ab2e81bcb24f6070b7efce30a754d74ef52ee2d', submodules=True)
+ version('master', branch='master', submodules=True, preferred=True)
+ version('spack', commit='2a025667090d71b2c9dce60fe924feb6bde8f667', submodules=True)
version('5.4.0', sha256='e2de331ee0a6d254193aab5995338a621372517adcf91568092be8ac511c18f3')
version('5.3.0', sha256='b0d406d2809352caef7fccf69e8864d55e81ee84f4888b0744894977f703f976')
@@ -50,13 +51,22 @@ class Clingo(CMakePackage):
'clasp/CMakeLists.txt',
'clasp/libpotassco/CMakeLists.txt')
+ @property
+ def cmake_python_hints(self):
+ """Return standard CMake defines to ensure that the
+ current spec is the one found by CMake find_package(Python, ...)
+ """
+ return [
+ '-DPython_EXECUTABLE={0}'.format(str(self.spec['python'].command))
+ ]
+
def cmake_args(self):
try:
self.compiler.cxx14_flag
except UnsupportedCompilerFlag:
InstallError('clingo requires a C++14-compliant C++ compiler')
- return [
+ args = [
'-DCLINGO_REQUIRE_PYTHON=ON',
'-DCLINGO_BUILD_WITH_PYTHON=ON',
'-DCLINGO_BUILD_PY_SHARED=ON',
@@ -64,3 +74,7 @@ class Clingo(CMakePackage):
'-DPYCLINGO_USE_INSTALL_PREFIX=ON',
'-DCLINGO_BUILD_WITH_LUA=OFF'
]
+ if self.spec['cmake'].satisfies('@3.16.0:'):
+ args += self.cmake_python_hints
+
+ return args
diff --git a/var/spack/repos/builtin/packages/cln/package.py b/var/spack/repos/builtin/packages/cln/package.py
index 4d1e731080..a7dae3b5f5 100644
--- a/var/spack/repos/builtin/packages/cln/package.py
+++ b/var/spack/repos/builtin/packages/cln/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -38,6 +38,7 @@ class Cln(AutotoolsPackage):
depends_on('libtool', type='build')
depends_on('m4', type='build')
depends_on('gmp@4.1:', when='+gmp')
+ depends_on('texinfo', type='build')
# Dependencies required to define macro AC_LIB_LINKFLAGS_FROM_LIBS
depends_on('gettext', type='build')
diff --git a/var/spack/repos/builtin/packages/cloc/package.py b/var/spack/repos/builtin/packages/cloc/package.py
index d5e8feeffe..2ad98d111d 100644
--- a/var/spack/repos/builtin/packages/cloc/package.py
+++ b/var/spack/repos/builtin/packages/cloc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cloog/package.py b/var/spack/repos/builtin/packages/cloog/package.py
index cc62b11e27..3ffea92acd 100644
--- a/var/spack/repos/builtin/packages/cloog/package.py
+++ b/var/spack/repos/builtin/packages/cloog/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cloverleaf/package.py b/var/spack/repos/builtin/packages/cloverleaf/package.py
index eba94f4649..a4a0c43d3a 100644
--- a/var/spack/repos/builtin/packages/cloverleaf/package.py
+++ b/var/spack/repos/builtin/packages/cloverleaf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cloverleaf3d/package.py b/var/spack/repos/builtin/packages/cloverleaf3d/package.py
index 77e34f2a63..56de6ac5ee 100644
--- a/var/spack/repos/builtin/packages/cloverleaf3d/package.py
+++ b/var/spack/repos/builtin/packages/cloverleaf3d/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/clp/package.py b/var/spack/repos/builtin/packages/clp/package.py
index 90ff785016..667ec68f8c 100644
--- a/var/spack/repos/builtin/packages/clp/package.py
+++ b/var/spack/repos/builtin/packages/clp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/clustal-omega/package.py b/var/spack/repos/builtin/packages/clustal-omega/package.py
index d966eb65d2..ab7161365b 100644
--- a/var/spack/repos/builtin/packages/clustal-omega/package.py
+++ b/var/spack/repos/builtin/packages/clustal-omega/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/clustalw/package.py b/var/spack/repos/builtin/packages/clustalw/package.py
index 42aca319d4..20a926090c 100644
--- a/var/spack/repos/builtin/packages/clustalw/package.py
+++ b/var/spack/repos/builtin/packages/clustalw/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cmake/package.py b/var/spack/repos/builtin/packages/cmake/package.py
index a3bad699e1..d08b8149db 100644
--- a/var/spack/repos/builtin/packages/cmake/package.py
+++ b/var/spack/repos/builtin/packages/cmake/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,20 +11,32 @@ class Cmake(Package):
tools designed to build, test and package software.
"""
homepage = 'https://www.cmake.org'
- url = 'https://github.com/Kitware/CMake/releases/download/v3.15.5/cmake-3.15.5.tar.gz'
+ url = 'https://github.com/Kitware/CMake/releases/download/v3.19.0/cmake-3.19.0.tar.gz'
maintainers = ['chuckatkins']
+ tags = ['build-tools']
+
executables = ['^cmake$']
+ version('3.19.5', sha256='c432296eb5dec6d71eae15d140f6297d63df44e9ffe3e453628d1dc8fc4201ce')
+ version('3.19.4', sha256='7d0232b9f1c57e8de81f38071ef8203e6820fe7eec8ae46a1df125d88dbcc2e1')
+ version('3.19.3', sha256='3faca7c131494a1e34d66e9f8972ff5369e48d419ea8ceaa3dc15b4c11367732')
+ version('3.19.2', sha256='e3e0fd3b23b7fb13e1a856581078e0776ffa2df4e9d3164039c36d3315e0c7f0')
+ version('3.19.1', sha256='1d266ea3a76ef650cdcf16c782a317cb4a7aa461617ee941e389cb48738a3aba')
+ version('3.19.0', sha256='fdda688155aa7e72b7c63ef6f559fca4b6c07382ea6dca0beb5f45aececaf493')
+ version('3.18.6', sha256='124f571ab70332da97a173cb794dfa09a5b20ccbb80a08e56570a500f47b6600')
+ version('3.18.5', sha256='080bf24b0f73f4bf3ec368d2be1aa59369b9bb1cd693deeb6f18fe553ca74ab4')
version('3.18.4', sha256='597c61358e6a92ecbfad42a9b5321ddd801fc7e7eca08441307c9138382d4f77')
version('3.18.3', sha256='2c89f4e30af4914fd6fb5d00f863629812ada848eee4e2d29ec7e456d7fa32e5')
version('3.18.2', sha256='5d4e40fc775d3d828c72e5c45906b4d9b59003c9433ff1b36a1cb552bbd51d7e')
version('3.18.1', sha256='c0e3338bd37e67155b9d1e9526fec326b5c541f74857771b7ffed0c46ad62508')
version('3.18.0', sha256='83b4ffcb9482a73961521d2bafe4a16df0168f03f56e6624c419c461e5317e29')
+ version('3.17.5', sha256='8c3083d98fd93c1228d5e4e40dbff2dd88f4f7b73b9fa24a2938627b8bc28f1a')
version('3.17.4', sha256='86985d73d0a63ec99c236aab5287316e252164f33d7c4cb160954a980c71f36f')
version('3.17.3', sha256='0bd60d512275dc9f6ef2a2865426a184642ceb3761794e6b65bff233b91d8c40')
version('3.17.1', sha256='3aa9114485da39cbd9665a0bfe986894a282d5f0882b1dea960a739496620727')
version('3.17.0', sha256='b74c05b55115eacc4fa2b77a814981dbda05cdc95a53e279fe16b7b272f00847')
+ version('3.16.9', sha256='1708361827a5a0de37d55f5c9698004c035abb1de6120a376d5d59a81630191f')
version('3.16.8', sha256='177434021132686cb901fea7db9fa2345efe48d566b998961594d5cc346ac588')
version('3.16.7', sha256='5f49c95a2933b1800f14840f3a389f4cef0b19093985a35053b43f38ec21358f')
version('3.16.6', sha256='6f6ff1a197851b0fa8412ff5de602e6717a4eb9509b2c385b08589c4e7a16b62')
diff --git a/var/spack/repos/builtin/packages/cmaq/package.py b/var/spack/repos/builtin/packages/cmaq/package.py
index 2f8d35e5c4..19c6789928 100644
--- a/var/spack/repos/builtin/packages/cmaq/package.py
+++ b/var/spack/repos/builtin/packages/cmaq/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cmark/package.py b/var/spack/repos/builtin/packages/cmark/package.py
index a5391821b1..392087fcb8 100644
--- a/var/spack/repos/builtin/packages/cmark/package.py
+++ b/var/spack/repos/builtin/packages/cmark/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cminpack/package.py b/var/spack/repos/builtin/packages/cminpack/package.py
index e269accabf..f828e63ffa 100644
--- a/var/spack/repos/builtin/packages/cminpack/package.py
+++ b/var/spack/repos/builtin/packages/cminpack/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cmocka/package.py b/var/spack/repos/builtin/packages/cmocka/package.py
index 4fd6324375..8e2a81fc58 100644
--- a/var/spack/repos/builtin/packages/cmocka/package.py
+++ b/var/spack/repos/builtin/packages/cmocka/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cmockery/package.py b/var/spack/repos/builtin/packages/cmockery/package.py
index bb4cf5b22c..c35b44bc59 100644
--- a/var/spack/repos/builtin/packages/cmockery/package.py
+++ b/var/spack/repos/builtin/packages/cmockery/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cmor/package.py b/var/spack/repos/builtin/packages/cmor/package.py
index 5cbfa69613..2d30d7c721 100644
--- a/var/spack/repos/builtin/packages/cmor/package.py
+++ b/var/spack/repos/builtin/packages/cmor/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cnmem/package.py b/var/spack/repos/builtin/packages/cnmem/package.py
index 9e6ebd4d86..9dc2671c5a 100644
--- a/var/spack/repos/builtin/packages/cnmem/package.py
+++ b/var/spack/repos/builtin/packages/cnmem/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cnpy/package.py b/var/spack/repos/builtin/packages/cnpy/package.py
index c80db33b57..0019892865 100644
--- a/var/spack/repos/builtin/packages/cnpy/package.py
+++ b/var/spack/repos/builtin/packages/cnpy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cntk/package.py b/var/spack/repos/builtin/packages/cntk/package.py
index 098341402e..64ebe95c02 100644
--- a/var/spack/repos/builtin/packages/cntk/package.py
+++ b/var/spack/repos/builtin/packages/cntk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cntk1bitsgd/package.py b/var/spack/repos/builtin/packages/cntk1bitsgd/package.py
index efaa6e1af3..3e6e67b67a 100644
--- a/var/spack/repos/builtin/packages/cntk1bitsgd/package.py
+++ b/var/spack/repos/builtin/packages/cntk1bitsgd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cnvnator/package.py b/var/spack/repos/builtin/packages/cnvnator/package.py
index 8160f21e02..219f70b66a 100644
--- a/var/spack/repos/builtin/packages/cnvnator/package.py
+++ b/var/spack/repos/builtin/packages/cnvnator/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -37,7 +37,7 @@ class Cnvnator(MakefilePackage):
makefile.filter('-I$(SAMDIR)', '-I$(SAMINC)', string=True)
# Link more libs
makefile.filter('^override LIBS.*',
- 'override LIBS += -lz -lbz2 -lcurl -llzma')
+ 'override LIBS += -lz -lbz2 -lcurl -llzma -lcrypto')
def build(self, spec, prefix):
make('ROOTSYS={0}'.format(spec['root'].prefix),
diff --git a/var/spack/repos/builtin/packages/codar-cheetah/package.py b/var/spack/repos/builtin/packages/codar-cheetah/package.py
index 2de5e80be7..ce7c475993 100644
--- a/var/spack/repos/builtin/packages/codar-cheetah/package.py
+++ b/var/spack/repos/builtin/packages/codar-cheetah/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/code-server/package.py b/var/spack/repos/builtin/packages/code-server/package.py
index 534577e9d1..96826e9b54 100644
--- a/var/spack/repos/builtin/packages/code-server/package.py
+++ b/var/spack/repos/builtin/packages/code-server/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/codec2/package.py b/var/spack/repos/builtin/packages/codec2/package.py
index 55a526c854..e90ecd00bd 100644
--- a/var/spack/repos/builtin/packages/codec2/package.py
+++ b/var/spack/repos/builtin/packages/codec2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/codes/package.py b/var/spack/repos/builtin/packages/codes/package.py
index 23ea42cf8c..eacd82b82d 100644
--- a/var/spack/repos/builtin/packages/codes/package.py
+++ b/var/spack/repos/builtin/packages/codes/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -47,6 +47,6 @@ class Codes(AutotoolsPackage):
if "+dumpi" in spec:
config_args.extend([
- '--with-dumpi=%s'.format(spec['sst-dumpi'].prefix)])
+ '--with-dumpi=%s' % spec['sst-dumpi'].prefix])
return config_args
diff --git a/var/spack/repos/builtin/packages/coevp/package.py b/var/spack/repos/builtin/packages/coevp/package.py
index 9224cba92c..5cb118e666 100644
--- a/var/spack/repos/builtin/packages/coevp/package.py
+++ b/var/spack/repos/builtin/packages/coevp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cohmm/package.py b/var/spack/repos/builtin/packages/cohmm/package.py
index 97eab37c28..83b5375080 100644
--- a/var/spack/repos/builtin/packages/cohmm/package.py
+++ b/var/spack/repos/builtin/packages/cohmm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/coin3d/package.py b/var/spack/repos/builtin/packages/coin3d/package.py
index c613736a3d..23b6549950 100644
--- a/var/spack/repos/builtin/packages/coin3d/package.py
+++ b/var/spack/repos/builtin/packages/coin3d/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -20,12 +20,12 @@ class Coin3d(AutotoolsPackage):
depends_on('boost@1.45.0:', type='build')
depends_on('doxygen', when='+html', type='build')
depends_on('perl', when='+html', type='build')
- depends_on('openglu', type='link')
- depends_on('opengl', type='link')
+ depends_on('glu', type='link')
+ depends_on('gl', type='link')
depends_on('libsm', type='link')
depends_on('libxext', type='link')
depends_on('libice', type='link')
- depends_on('libuuid', type='link')
+ depends_on('uuid', type='link')
depends_on('libxcb', type='link')
depends_on('libxau', type='link')
diff --git a/var/spack/repos/builtin/packages/coinhsl/package.py b/var/spack/repos/builtin/packages/coinhsl/package.py
index 50fdaa079f..1ef932f818 100644
--- a/var/spack/repos/builtin/packages/coinhsl/package.py
+++ b/var/spack/repos/builtin/packages/coinhsl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -24,6 +24,7 @@ class Coinhsl(AutotoolsPackage):
# exist
homepage = "http://www.hsl.rl.ac.uk/ipopt/"
url = "file://{0}/coinhsl-archive-2014.01.17.tar.gz".format(os.getcwd())
+ manual_download = True
# CoinHSL has a few versions that vary with respect to stability/features
# and licensing terms.
diff --git a/var/spack/repos/builtin/packages/coinutils/package.py b/var/spack/repos/builtin/packages/coinutils/package.py
index 87af413126..d956508dde 100644
--- a/var/spack/repos/builtin/packages/coinutils/package.py
+++ b/var/spack/repos/builtin/packages/coinutils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/collectd/package.py b/var/spack/repos/builtin/packages/collectd/package.py
index 35472a4a67..3668f95887 100644
--- a/var/spack/repos/builtin/packages/collectd/package.py
+++ b/var/spack/repos/builtin/packages/collectd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,6 +15,7 @@ class Collectd(AutotoolsPackage):
version('5.11.0', sha256='639676d09c5980ceea90b5a97811a9647d94e368528cce7cea3d43f0f308465d')
version('5.10.0', sha256='bcde95a3997b5eee448d247d9414854994b3592cb9fb4fecd6ff78082cc28a1b')
+ depends_on('valgrind', type='test')
depends_on('m4', type='build')
depends_on('autoconf', type='build')
depends_on('automake', type='build')
diff --git a/var/spack/repos/builtin/packages/collier/package.py b/var/spack/repos/builtin/packages/collier/package.py
index e1d6245b35..5c3b3dd2b6 100644
--- a/var/spack/repos/builtin/packages/collier/package.py
+++ b/var/spack/repos/builtin/packages/collier/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,6 +12,8 @@ class Collier(CMakePackage):
homepage = "https://collier.hepforge.org"
url = "https://collier.hepforge.org/downloads/?f=collier-1.2.5.tar.gz"
+ tags = ['hep']
+
version('1.2.5', sha256='3ec58a975ff0c3b1ca870bc38973476c923ff78fd3dd5850e296037852b94a8b')
version('1.2.4', sha256='92ae8f61461b232fbd47a6d8e832e1a726d504f9390b7edc49a68fceedff8857')
version('1.2.3', sha256='e6f72df223654df59113b0067a4bebe9f8c20227bb81371d3193e1557bdf56fb')
diff --git a/var/spack/repos/builtin/packages/colm/package.py b/var/spack/repos/builtin/packages/colm/package.py
index e455c3a8f7..74292af208 100644
--- a/var/spack/repos/builtin/packages/colm/package.py
+++ b/var/spack/repos/builtin/packages/colm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/colordiff/package.py b/var/spack/repos/builtin/packages/colordiff/package.py
index 5d97c61d47..a2fb6ee5ac 100644
--- a/var/spack/repos/builtin/packages/colordiff/package.py
+++ b/var/spack/repos/builtin/packages/colordiff/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/comd/package.py b/var/spack/repos/builtin/packages/comd/package.py
index 8f2446c2a9..5ab3600f1f 100644
--- a/var/spack/repos/builtin/packages/comd/package.py
+++ b/var/spack/repos/builtin/packages/comd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/comgr/hip-tests.patch b/var/spack/repos/builtin/packages/comgr/hip-tests.patch
new file mode 100644
index 0000000000..7002f20653
--- /dev/null
+++ b/var/spack/repos/builtin/packages/comgr/hip-tests.patch
@@ -0,0 +1,11 @@
+diff -Naurb ROCm-CompilerSupport-rocm-3.10.0.orig/lib/comgr/test/CMakeLists.txt ROCm-CompilerSupport-rocm-3.10.0/lib/comgr/test/CMakeLists.txt
+--- ROCm-CompilerSupport-rocm-3.10.0.orig/lib/comgr/test/CMakeLists.txt 2020-09-16 14:17:12.000000000 -0500
++++ ROCm-CompilerSupport-rocm-3.10.0/lib/comgr/test/CMakeLists.txt 2020-12-14 10:11:56.609584283 -0600
+@@ -120,7 +120,6 @@
+ add_comgr_test(include_subdirectory_test)
+ add_comgr_test(options_test)
+ # Test : Compile HIP only if HIP-Clang is installed.
+-find_package(hip CONFIG PATHS /opt/rocm/hip QUIET)
+ if (DEFINED HIP_COMPILER AND "${HIP_COMPILER}" STREQUAL "clang")
+ add_comgr_test(compile_hip_test)
+ add_comgr_test(compile_hip_test_in_process)
diff --git a/var/spack/repos/builtin/packages/comgr/package.py b/var/spack/repos/builtin/packages/comgr/package.py
index b83d6558e5..2b0495b7cd 100644
--- a/var/spack/repos/builtin/packages/comgr/package.py
+++ b/var/spack/repos/builtin/packages/comgr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,10 +12,12 @@ class Comgr(CMakePackage):
contains one library, the Code Object Manager (Comgr)"""
homepage = "https://github.com/RadeonOpenCompute/ROCm-CompilerSupport"
- url = "https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/archive/rocm-3.9.0.tar.gz"
+ url = "https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/archive/rocm-4.0.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ version('4.0.0', sha256='f389601fb70b2d9a60d0e2798919af9ddf7b8376a2e460141507fe50073dfb31')
+ version('3.10.0', sha256='b44ee5805a6236213d758fa4b612bb859d8f774b9b4bdc3a2699bb009dd631bc')
version('3.9.0', sha256='6600e144d72dadb6d893a3388b42af103b9443755ce556f4e9e205ccd8ec0c83')
version('3.8.0', sha256='62a35480dfabaa98883d91ed0f7c490daa9bbd424af37e07e5d85a6e8030b146')
version('3.7.0', sha256='73e56ec3c63dade24ad351e9340e2f8e127694028c1fb7cec5035376bf098432')
@@ -23,13 +25,20 @@ class Comgr(CMakePackage):
variant('build_type', default='Release', values=("Release", "Debug"), description='CMake build type')
+ # Disable the hip compile tests. Spack should not be using
+ # /opt/rocm, and this breaks the build when /opt/rocm exists.
+ patch('hip-tests.patch')
+
+ depends_on('cmake@3.2.0:', type='build', when='@:3.8.99')
+ depends_on('cmake@3.13.4:', type='build', when='@3.9.0:')
+
depends_on('zlib', type='link')
depends_on('z3', type='link')
depends_on('ncurses', type='link')
- depends_on('cmake@3:', type='build')
- for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0']:
+
+ for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('llvm-amdgpu@' + ver, type='build', when='@' + ver)
depends_on('rocm-device-libs@' + ver, type='build', when='@' + ver)
depends_on('rocm-cmake@' + ver, type='build', when='@' + ver)
- root_cmakelists_dir = 'lib/comgr'
+ root_cmakelists_dir = join_path('lib', 'comgr')
diff --git a/var/spack/repos/builtin/packages/commons-lang/package.py b/var/spack/repos/builtin/packages/commons-lang/package.py
index a324565093..aed68d5026 100644
--- a/var/spack/repos/builtin/packages/commons-lang/package.py
+++ b/var/spack/repos/builtin/packages/commons-lang/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/commons-lang3/package.py b/var/spack/repos/builtin/packages/commons-lang3/package.py
index d9aca99e35..6d1a9b7b1f 100644
--- a/var/spack/repos/builtin/packages/commons-lang3/package.py
+++ b/var/spack/repos/builtin/packages/commons-lang3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/commons-logging/package.py b/var/spack/repos/builtin/packages/commons-logging/package.py
index 3ca20d2d5e..b42fc3797e 100644
--- a/var/spack/repos/builtin/packages/commons-logging/package.py
+++ b/var/spack/repos/builtin/packages/commons-logging/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/compiz/package.py b/var/spack/repos/builtin/packages/compiz/package.py
index ed90e45174..b5607620e5 100644
--- a/var/spack/repos/builtin/packages/compiz/package.py
+++ b/var/spack/repos/builtin/packages/compiz/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/compositeproto/package.py b/var/spack/repos/builtin/packages/compositeproto/package.py
index bf1bedaf20..18c4300f60 100644
--- a/var/spack/repos/builtin/packages/compositeproto/package.py
+++ b/var/spack/repos/builtin/packages/compositeproto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/conda4aarch64/package.py b/var/spack/repos/builtin/packages/conda4aarch64/package.py
index fe7ede5c14..e24f77108e 100644
--- a/var/spack/repos/builtin/packages/conda4aarch64/package.py
+++ b/var/spack/repos/builtin/packages/conda4aarch64/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/conduit/package.py b/var/spack/repos/builtin/packages/conduit/package.py
index 57d49da70e..0efe5e6f8a 100644
--- a/var/spack/repos/builtin/packages/conduit/package.py
+++ b/var/spack/repos/builtin/packages/conduit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -37,7 +37,13 @@ class Conduit(Package):
url = "https://github.com/LLNL/conduit/releases/download/v0.3.0/conduit-v0.3.0-src-with-blt.tar.gz"
git = "https://github.com/LLNL/conduit.git"
- version('master', branch='master', submodules=True, preferred=True)
+ version('develop', branch='develop', submodules=True, preferred=True)
+ # note: the main branch in conduit was renamed to develop, this next entry
+ # is to bridge any spack dependencies that are still using the name master
+ version('master', branch='develop', submodules=True)
+ version('0.7.1', sha256='460a480cf08fedbf5b38f707f94f20828798327adadb077f80dbab048fd0a07d')
+ version('0.7.0', sha256='ecaa9668ebec5d4efad19b104d654a587c0adbd5f502128f89601408cb4d7d0c')
+ version('0.6.0', sha256='078f086a13b67a97e4ab6fe1063f2fef2356df297e45b43bb43d74635f80475d')
version('0.5.1', sha256='68a3696d1ec6d3a4402b44a464d723e6529ec41016f9b44c053676affe516d44')
version('0.5.0', sha256='7efac668763d02bd0a2c0c1b134d9f5ee27e99008183905bb0512e5502b8b4fe')
version('0.4.0', sha256='c228e6f0ce5a9c0ffb98e0b3d886f2758ace1a4b40d00f3f118542c0747c1f52')
diff --git a/var/spack/repos/builtin/packages/connect-proxy/package.py b/var/spack/repos/builtin/packages/connect-proxy/package.py
index e4fde75b9e..390663989e 100644
--- a/var/spack/repos/builtin/packages/connect-proxy/package.py
+++ b/var/spack/repos/builtin/packages/connect-proxy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/conserver/package.py b/var/spack/repos/builtin/packages/conserver/package.py
index 88d041ce04..c6c0775be7 100644
--- a/var/spack/repos/builtin/packages/conserver/package.py
+++ b/var/spack/repos/builtin/packages/conserver/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/console-bridge/package.py b/var/spack/repos/builtin/packages/console-bridge/package.py
index d50b8d4e63..9b10e4f5b6 100644
--- a/var/spack/repos/builtin/packages/console-bridge/package.py
+++ b/var/spack/repos/builtin/packages/console-bridge/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/constype/package.py b/var/spack/repos/builtin/packages/constype/package.py
index 92ea0c3f4f..f018727d1c 100644
--- a/var/spack/repos/builtin/packages/constype/package.py
+++ b/var/spack/repos/builtin/packages/constype/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/consul/package.py b/var/spack/repos/builtin/packages/consul/package.py
index 7882937547..883c4d5baf 100644
--- a/var/spack/repos/builtin/packages/consul/package.py
+++ b/var/spack/repos/builtin/packages/consul/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/converge/package.py b/var/spack/repos/builtin/packages/converge/package.py
index 639b799ee7..9f20667335 100644
--- a/var/spack/repos/builtin/packages/converge/package.py
+++ b/var/spack/repos/builtin/packages/converge/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/corenlp/package.py b/var/spack/repos/builtin/packages/corenlp/package.py
index 6cb1325e92..69d56b94c3 100644
--- a/var/spack/repos/builtin/packages/corenlp/package.py
+++ b/var/spack/repos/builtin/packages/corenlp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/coreutils/package.py b/var/spack/repos/builtin/packages/coreutils/package.py
index 569831dac7..a59ba272d9 100644
--- a/var/spack/repos/builtin/packages/coreutils/package.py
+++ b/var/spack/repos/builtin/packages/coreutils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/corset/package.py b/var/spack/repos/builtin/packages/corset/package.py
index c429b1dca4..324bf50bde 100644
--- a/var/spack/repos/builtin/packages/corset/package.py
+++ b/var/spack/repos/builtin/packages/corset/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cosbench/package.py b/var/spack/repos/builtin/packages/cosbench/package.py
index 2e3fd5997a..4becb709e9 100644
--- a/var/spack/repos/builtin/packages/cosbench/package.py
+++ b/var/spack/repos/builtin/packages/cosbench/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cosma/package.py b/var/spack/repos/builtin/packages/cosma/package.py
index 18d69605ee..ea65b41c26 100644
--- a/var/spack/repos/builtin/packages/cosma/package.py
+++ b/var/spack/repos/builtin/packages/cosma/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -20,6 +20,7 @@ class Cosma(CMakePackage, CudaPackage):
# note: The default archives produced with github do not have the archives
# of the submodules.
version('master', branch='master', submodules=True)
+ version('2.3.0', sha256='0c01c2deb5a0cd177952178350188a62c42ce55e604d7948ac472f55bf0d4815')
version('2.2.0', sha256='1eb92a98110df595070a12193b9221eecf9d103ced8836c960f6c79a2bd553ca')
version('2.0.7', sha256='8d70bfcbda6239b6a8fbeaca138790bbe58c0c3aa576879480d2632d4936cf7e')
version('2.0.2', sha256='4f3354828bc718f3eef2f0098c3bdca3499297497a220da32db1acd57920c68d')
diff --git a/var/spack/repos/builtin/packages/cosmoflow-benchmark/package.py b/var/spack/repos/builtin/packages/cosmoflow-benchmark/package.py
index 97f1fef1d8..8124b5d8b4 100644
--- a/var/spack/repos/builtin/packages/cosmoflow-benchmark/package.py
+++ b/var/spack/repos/builtin/packages/cosmoflow-benchmark/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cosmomc/package.py b/var/spack/repos/builtin/packages/cosmomc/package.py
index 60374e6fbe..ba013fa409 100644
--- a/var/spack/repos/builtin/packages/cosmomc/package.py
+++ b/var/spack/repos/builtin/packages/cosmomc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cosp2/package.py b/var/spack/repos/builtin/packages/cosp2/package.py
index 36f64a1a38..7c126a0d98 100644
--- a/var/spack/repos/builtin/packages/cosp2/package.py
+++ b/var/spack/repos/builtin/packages/cosp2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cotter/package.py b/var/spack/repos/builtin/packages/cotter/package.py
index 3614f68ef5..be58dbee14 100644
--- a/var/spack/repos/builtin/packages/cotter/package.py
+++ b/var/spack/repos/builtin/packages/cotter/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/couchdb/package.py b/var/spack/repos/builtin/packages/couchdb/package.py
index c151b963f4..0c177ecb86 100644
--- a/var/spack/repos/builtin/packages/couchdb/package.py
+++ b/var/spack/repos/builtin/packages/couchdb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cowsay/package.py b/var/spack/repos/builtin/packages/cowsay/package.py
index 05f818a9f3..5540163a96 100644
--- a/var/spack/repos/builtin/packages/cowsay/package.py
+++ b/var/spack/repos/builtin/packages/cowsay/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cp2k/package.py b/var/spack/repos/builtin/packages/cp2k/package.py
index 1a74283b3c..79ec2ad727 100644
--- a/var/spack/repos/builtin/packages/cp2k/package.py
+++ b/var/spack/repos/builtin/packages/cp2k/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -22,6 +22,7 @@ class Cp2k(MakefilePackage, CudaPackage):
maintainers = ['dev-zero']
+ version('8.1', sha256='7f37aead120730234a60b2989d0547ae5e5498d93b1e9b5eb548c041ee8e7772')
version('7.1', sha256='ccd711a09a426145440e666310dd01cc5772ab103493c4ae6a3470898cd0addb')
version('6.1', sha256='af803558e0a6b9e9d9ce8a3ab955ba32bacd179922455424e061c82c9fefa34b')
version('5.1', sha256='e23613b593354fa82e0b8410e17d94c607a0b8c6d9b5d843528403ab09904412')
@@ -47,15 +48,11 @@ class Cp2k(MakefilePackage, CudaPackage):
description=('Enable planewave electronic structure'
' calculations via SIRIUS'))
variant('cosma', default=False, description='Use COSMA for p?gemm')
+ variant('libvori', default=False,
+ description=('Enable support for Voronoi integration'
+ ' and BQB compression'))
+ variant('spglib', default=False, description='Enable support for spglib')
- # override cuda_arch from CudaPackage since we only support one arch
- # at a time and only specific ones for which we have parameter files
- # for optimal kernels
- variant('cuda_arch',
- description='CUDA architecture',
- default='none',
- values=('none', '35', '37', '60', '70'),
- multi=False)
variant('cuda_arch_35_k20x', default=False,
description=('CP2K (resp. DBCSR) has specific parameter sets for'
' different GPU models. Enable this when building'
@@ -74,6 +71,7 @@ class Cp2k(MakefilePackage, CudaPackage):
multi=False)
depends_on('python', type='build')
+ depends_on('python@3:', when='@8:', type='build')
depends_on('blas')
depends_on('lapack')
@@ -129,6 +127,9 @@ class Cp2k(MakefilePackage, CudaPackage):
depends_on('py-numpy', when='@7:+cuda', type='build')
depends_on('python@3.6:', when='@7:+cuda', type='build')
+ depends_on('libvori@201219:', when='@8:+libvori', type='build')
+ depends_on('spglib', when='+spglib')
+
# PEXSI, ELPA, COSMA and SIRIUS depend on MPI
conflicts('~mpi', '+pexsi')
conflicts('~mpi', '+elpa')
@@ -137,6 +138,8 @@ class Cp2k(MakefilePackage, CudaPackage):
conflicts('+sirius', '@:6.999') # sirius support was introduced in 7+
conflicts('+cosma', '@:7.999') # COSMA support was introduced in 8+
+ conflicts('+libvori', '@:7.999') # libvori support was introduced in 8+
+
conflicts('~cuda', '+cuda_fft')
conflicts('~cuda', '+cuda_blas')
@@ -155,11 +158,25 @@ class Cp2k(MakefilePackage, CudaPackage):
conflicts('smm=libxsmm', when='target=aarch64:', msg='libxsmm is not available on arm')
conflicts('^fftw~openmp', when='+openmp')
+ conflicts('^amdfftw~openmp', when='+openmp')
conflicts('^openblas threads=none', when='+openmp')
conflicts('^openblas threads=pthreads', when='+openmp')
conflicts('~openmp', when='@8:', msg='Building without OpenMP is not supported in CP2K 8+')
+ # We only support specific cuda_archs for which we have parameter files
+ # for optimal kernels. Note that we don't override the cuda_archs property
+ # from the parent class, since the parent class defines constraints for all
+ # versions. Instead just mark all unsupported cuda archs as conflicting.
+ dbcsr_cuda_archs = ('35', '37', '60', '70')
+ cuda_msg = 'cp2k only supports cuda_arch {0}'.format(dbcsr_cuda_archs)
+
+ for arch in CudaPackage.cuda_arch_values:
+ if arch not in dbcsr_cuda_archs:
+ conflicts('+cuda', when='cuda_arch={0}'.format(arch), msg=cuda_msg)
+
+ conflicts('+cuda', when='cuda_arch=none', msg=cuda_msg)
+
@property
def makefile_architecture(self):
return '{0.architecture}-{0.compiler.name}'.format(self.spec)
@@ -176,11 +193,11 @@ class Cp2k(MakefilePackage, CudaPackage):
makefile_basename = '.'.join([
self.makefile_architecture, self.makefile_version
])
- return os.path.join('arch', makefile_basename)
+ return join_path('arch', makefile_basename)
@property
def archive_files(self):
- return [os.path.join(self.stage.source_path, self.makefile)]
+ return [join_path(self.stage.source_path, self.makefile)]
def edit(self, spec, prefix):
pkgconf = which('pkg-config')
@@ -188,6 +205,9 @@ class Cp2k(MakefilePackage, CudaPackage):
if '^fftw' in spec:
fftw = spec['fftw:openmp' if '+openmp' in spec else 'fftw']
fftw_header_dir = fftw.headers.directories[0]
+ elif '^amdfftw' in spec:
+ fftw = spec['amdfftw:openmp' if '+openmp' in spec else 'amdfftw']
+ fftw_header_dir = fftw.headers.directories[0]
elif '^intel-mkl' in spec:
fftw = spec['intel-mkl']
fftw_header_dir = fftw.headers.directories[0] + '/fftw'
@@ -211,6 +231,7 @@ class Cp2k(MakefilePackage, CudaPackage):
'nvhpc': ['-fast'],
'cray': ['-O2'],
'xl': ['-O3'],
+ 'aocc': ['-O1'],
}
dflags = ['-DNDEBUG']
@@ -247,6 +268,10 @@ class Cp2k(MakefilePackage, CudaPackage):
'-ffree-line-length-none',
'-ggdb', # make sure we get proper Fortran backtraces
]
+ elif '%aocc' in spec:
+ fcflags += [
+ '-ffree-form',
+ ]
elif '%pgi' in spec or '%nvhpc' in spec:
fcflags += ['-Mfreeform', '-Mextend']
elif '%cray' in spec:
@@ -281,8 +306,8 @@ class Cp2k(MakefilePackage, CudaPackage):
dflags.extend(['-D__PLUMED2'])
cppflags.extend(['-D__PLUMED2'])
libs.extend([
- os.path.join(self.spec['plumed'].prefix.lib,
- 'libplumed.{0}'.format(dso_suffix))
+ join_path(self.spec['plumed'].prefix.lib,
+ 'libplumed.{0}'.format(dso_suffix))
])
cc = spack_cc if '~mpi' in spec else spec['mpi'].mpicc
@@ -335,7 +360,7 @@ class Cp2k(MakefilePackage, CudaPackage):
if 'wannier90' in spec:
cppflags.append('-D__WANNIER90')
- wannier = os.path.join(
+ wannier = join_path(
spec['wannier90'].libs.directories[0], 'libwannier.a'
)
libs.append(wannier)
@@ -355,9 +380,9 @@ class Cp2k(MakefilePackage, CudaPackage):
# runtime due to wrong offsets into the shared library
# symbols.
libs.extend([
- os.path.join(
+ join_path(
spec['libint'].libs.directories[0], 'libderiv.a'),
- os.path.join(
+ join_path(
spec['libint'].libs.directories[0], 'libint.a'),
])
else:
@@ -378,18 +403,17 @@ class Cp2k(MakefilePackage, CudaPackage):
if '+pexsi' in spec:
cppflags.append('-D__LIBPEXSI')
- fcflags.append('-I' + os.path.join(
+ fcflags.append('-I' + join_path(
spec['pexsi'].prefix, 'fortran'))
libs.extend([
- os.path.join(spec['pexsi'].libs.directories[0],
- 'libpexsi.a'),
- os.path.join(spec['superlu-dist'].libs.directories[0],
- 'libsuperlu_dist.a'),
- os.path.join(
+ join_path(spec['pexsi'].libs.directories[0], 'libpexsi.a'),
+ join_path(spec['superlu-dist'].libs.directories[0],
+ 'libsuperlu_dist.a'),
+ join_path(
spec['parmetis'].libs.directories[0],
'libparmetis.{0}'.format(dso_suffix)
),
- os.path.join(
+ join_path(
spec['metis'].libs.directories[0],
'libmetis.{0}'.format(dso_suffix)
),
@@ -400,11 +424,18 @@ class Cp2k(MakefilePackage, CudaPackage):
elpa_suffix = '_openmp' if '+openmp' in elpa else ''
elpa_incdir = elpa.headers.directories[0]
- fcflags += ['-I{0}'.format(os.path.join(elpa_incdir, 'modules'))]
- libs.append(os.path.join(elpa.libs.directories[0],
- ('libelpa{elpa_suffix}.{dso_suffix}'
- .format(elpa_suffix=elpa_suffix,
- dso_suffix=dso_suffix))))
+ fcflags += ['-I{0}'.format(join_path(elpa_incdir, 'modules'))]
+
+ # Currently AOCC support only static libraries of ELPA
+ if '%aocc' in spec:
+ libs.append(join_path(elpa.prefix.lib,
+ ('libelpa{elpa_suffix}.a'
+ .format(elpa_suffix=elpa_suffix))))
+ else:
+ libs.append(join_path(elpa.prefix.lib,
+ ('libelpa{elpa_suffix}.{dso_suffix}'
+ .format(elpa_suffix=elpa_suffix,
+ dso_suffix=dso_suffix))))
if spec.satisfies('@:4.999'):
if elpa.satisfies('@:2014.5.999'):
@@ -417,7 +448,7 @@ class Cp2k(MakefilePackage, CudaPackage):
cppflags.append('-D__ELPA={0}{1:02d}'
.format(elpa.version[0],
int(elpa.version[1])))
- fcflags += ['-I{0}'.format(os.path.join(elpa_incdir, 'elpa'))]
+ fcflags += ['-I{0}'.format(join_path(elpa_incdir, 'elpa'))]
if spec.satisfies('+sirius'):
sirius = spec['sirius']
@@ -439,7 +470,7 @@ class Cp2k(MakefilePackage, CudaPackage):
cppflags += ['-D__PW_CUDA']
libs += ['-lcufft', '-lcublas']
- cuda_arch = spec.variants['cuda_arch'].value
+ cuda_arch = spec.variants['cuda_arch'].value[0]
if cuda_arch:
gpuver = {
'35': 'K40',
@@ -453,12 +484,12 @@ class Cp2k(MakefilePackage, CudaPackage):
gpuver = 'K20X'
if 'smm=libsmm' in spec:
- lib_dir = os.path.join(
+ lib_dir = join_path(
'lib', self.makefile_architecture, self.makefile_version
)
mkdirp(lib_dir)
try:
- copy(env['LIBSMM_PATH'], os.path.join(lib_dir, 'libsmm.a'))
+ copy(env['LIBSMM_PATH'], join_path(lib_dir, 'libsmm.a'))
except KeyError:
raise KeyError('Point environment variable LIBSMM_PATH to '
'the absolute path of the libsmm.a file')
@@ -479,6 +510,19 @@ class Cp2k(MakefilePackage, CudaPackage):
output=str).split()
libs += pkgconf('--libs', 'libxsmmf', output=str).split()
+ if '+libvori' in spec:
+ cppflags += ['-D__LIBVORI']
+ libvori = spec['libvori'].libs
+ ldflags += [libvori.search_flags]
+ libs += libvori
+ libs += ['-lstdc++']
+
+ if '+spglib' in spec:
+ cppflags += ['-D__SPGLIB']
+ spglib = spec['spglib'].libs
+ ldflags += [spglib.search_flags]
+ libs += spglib
+
dflags.extend(cppflags)
cflags.extend(cppflags)
cxxflags.extend(cppflags)
@@ -516,7 +560,7 @@ class Cp2k(MakefilePackage, CudaPackage):
if spec.satisfies('+cuda'):
mkf.write('NVCC = {0}\n'.format(
- os.path.join(spec['cuda'].prefix, 'bin', 'nvcc')))
+ join_path(spec['cuda'].prefix, 'bin', 'nvcc')))
# Write compiler flags to file
def fflags(var, lst):
@@ -547,7 +591,7 @@ class Cp2k(MakefilePackage, CudaPackage):
if self.spec.satisfies('@:6.9999'):
# prior to version 7.1 was the Makefile located in makefiles/
- build_dir = os.path.join(build_dir, 'makefiles')
+ build_dir = join_path(build_dir, 'makefiles')
return build_dir
@@ -559,18 +603,21 @@ class Cp2k(MakefilePackage, CudaPackage):
]
def build(self, spec, prefix):
+ if len(spec.variants['cuda_arch'].value) > 1:
+ raise InstallError("cp2k supports only one cuda_arch at a time")
+
# Apparently the Makefile bases its paths on PWD
# so we need to set PWD = self.build_directory
with spack.util.environment.set_env(PWD=self.build_directory):
super(Cp2k, self).build(spec, prefix)
def install(self, spec, prefix):
- exe_dir = os.path.join('exe', self.makefile_architecture)
+ exe_dir = join_path('exe', self.makefile_architecture)
install_tree(exe_dir, self.prefix.bin)
install_tree('data', self.prefix.share.data)
def check(self):
- data_dir = os.path.join(self.stage.source_path, 'data')
+ data_dir = join_path(self.stage.source_path, 'data')
# CP2K < 7 still uses $PWD to detect the current working dir
# and Makefile is in a subdir, account for both facts here:
diff --git a/var/spack/repos/builtin/packages/cpio/package.py b/var/spack/repos/builtin/packages/cpio/package.py
index d725ef3955..5a351d9dc0 100644
--- a/var/spack/repos/builtin/packages/cpio/package.py
+++ b/var/spack/repos/builtin/packages/cpio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -32,7 +32,7 @@ class Cpio(AutotoolsPackage, GNUMirrorPackage):
spec = self.spec
if name == 'cflags':
- if '%intel@:18.999' in spec:
+ if '%intel@:17.999' in spec:
flags.append('-no-gcc')
elif '%clang' in spec or '%fj' in spec:
diff --git a/var/spack/repos/builtin/packages/cpmd/package.py b/var/spack/repos/builtin/packages/cpmd/package.py
new file mode 100644
index 0000000000..00c430a7eb
--- /dev/null
+++ b/var/spack/repos/builtin/packages/cpmd/package.py
@@ -0,0 +1,101 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+import os
+
+
+class Cpmd(MakefilePackage):
+ """The CPMD code is a parallelized plane wave / pseudopotential
+ implementation of Density Functional Theory, particularly
+ designed for ab-initio molecular dynamics.
+ Move to new directory, download CPMD main archive and patch.to.XXXXs
+ manually, and run Spack"""
+
+ homepage = "https://www.cpmd.org/wordpress/"
+ basedir = os.getcwd()
+ url = "file://{0}/cpmd-v4.3.tar.gz".format(basedir)
+ manual_download = True
+
+ version('4.3', sha256='4f31ddf045f1ae5d6f25559d85ddbdab4d7a6200362849df833632976d095df4')
+
+ variant('omp', description='Enables the use of OMP instructions',
+ default=False)
+ variant('mpi', description='Build with MPI support', default=False)
+
+ depends_on('lapack')
+ depends_on('mpi', when='+mpi')
+
+ conflicts('^openblas threads=none', when='+omp')
+ conflicts('^openblas threads=pthreads', when='+omp')
+
+ patch('file://{0}/patch.to.4612'.format(basedir), sha256='3b7d91e04c40418ad958069234ec7253fbf6c4be361a1d5cfd804774eeb44915', level=0, when='@4.3')
+ patch('file://{0}/patch.to.4615'.format(basedir), sha256='5ec5790fb6ca64632bcc1b0f5b8f3423c54455766a0979ff4136624bbe8d49eb', level=0, when='@4.3')
+ patch('file://{0}/patch.to.4616'.format(basedir), sha256='ac0bc215c4259f55da4dc59803fe636f797e241f8a01974e05730c9778ad44c4', level=0, when='@4.3')
+ patch('file://{0}/patch.to.4621'.format(basedir), sha256='2d2bc7e37246032fc354f51da7dbdb5a219dd228867399931b0e94da1265d5ca', level=0, when='@4.3')
+ patch('file://{0}/patch.to.4624'.format(basedir), sha256='0a19687528264bf91c9f50ffdc0b920a8511eecf5259b667c8c29350f9dabc53', level=0, when='@4.3')
+
+ def edit(self, spec, prefix):
+ # patch configure file
+ cbase = 'LINUX-GFORTRAN'
+ cp = FileFilter(join_path('configure', cbase))
+ # Compilers
+ if spec.satisfies('+mpi'):
+ fc = spec["mpi"].mpifc
+ cc = spec["mpi"].mpicc
+ else:
+ fc = spack_fc
+ cc = spack_cc
+
+ cp.filter('FC=.+', "FC='{0}'".format(fc))
+ cp.filter('CC=.+', "CC='{0}'".format(cc))
+ cp.filter('LD=.+', "LD='{0}'".format(fc))
+
+ # MPI flag
+ if spec.satisfies('+mpi'):
+ cp.filter('-D__Linux', '-D__Linux -D__PARALLEL')
+
+ # OMP flag
+ if spec.satisfies('+omp'):
+ cp.filter('-fopenmp', self.compiler.openmp_flag)
+
+ # lapack
+ cp.filter(
+ 'LIBS=.+',
+ "LIBS='{0}'".format(spec['lapack'].libs.ld_flags)
+ )
+
+ # LFLAGS
+ cp.filter("'-static '", '')
+
+ # Compiler specific
+ if spec.satisfies('%fj'):
+ cp.filter('-ffixed-form', '-Fixed')
+ cp.filter('-ffree-line-length-none', '')
+ cp.filter('-falign-commons', '-Kalign_commons')
+
+ # create Makefile
+ bash = which('bash')
+ if spec.satisfies('+omp'):
+ bash('./configure.sh', '-omp', cbase)
+ else:
+ bash('./configure.sh', cbase)
+
+ def install(self, spec, prefix):
+ install_tree('.', prefix)
+
+ def test(self):
+ test_dir = self.test_suite.current_test_data_dir
+ test_file = join_path(test_dir, '1-h2o-pbc-geoopt.inp')
+ opts = []
+ if self.spec.satisfies('+mpi'):
+ exe_name = self.spec['mpi'].prefix.bin.mpirun
+ opts.extend(['-n', '2'])
+ opts.append(join_path(self.prefix.bin, 'cpmd.x'))
+ else:
+ exe_name = 'cpmd.x'
+ opts.append(test_file)
+ opts.append(test_dir)
+ self.run_test(exe_name, options=opts)
diff --git a/var/spack/repos/builtin/packages/cpmd/test/1-h2o-pbc-geoopt.inp b/var/spack/repos/builtin/packages/cpmd/test/1-h2o-pbc-geoopt.inp
new file mode 100644
index 0000000000..38fc0165cc
--- /dev/null
+++ b/var/spack/repos/builtin/packages/cpmd/test/1-h2o-pbc-geoopt.inp
@@ -0,0 +1,51 @@
+&INFO
+single water molecule with pbc.
+default geometry optimization
+&END
+
+&CPMD
+ OPTIMIZE GEOMETRY XYZ
+ HESSIAN UNITY
+ CONVERGENCE ORBITALS
+ 1.0d-7
+ CONVERGENCE GEOMETRY
+ 3.0d-4
+ ODIIS
+ 5
+ MAXSTEP
+ 100
+ MAXCPUTIME
+ 1500
+
+ STRUCTURE BONDS ANGLES
+&END
+
+&DFT
+ FUNCTIONAL BLYP
+ GC-CUTOFF
+ 1.0d-06
+&END
+
+&SYSTEM
+ SYMMETRY
+ 1
+ CELL
+ 20.0 1.0 1.0 0.0 0.0 0.0
+ CUTOFF
+ 70.0
+&END
+
+&ATOMS
+
+*O_MT_BLYP.psp KLEINMAN-BYLANDER
+ LMAX=P
+ 1
+ 10.0 10.0 10.0
+
+*H_CVB_BLYP.psp
+ LMAX=S
+ 2
+ 8.5 9.0 10.0
+ 11.5 9.0 10.0
+
+&END
diff --git a/var/spack/repos/builtin/packages/cpmd/test/H_CVB_BLYP.psp b/var/spack/repos/builtin/packages/cpmd/test/H_CVB_BLYP.psp
new file mode 100644
index 0000000000..a9c4ec162a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/cpmd/test/H_CVB_BLYP.psp
@@ -0,0 +1,28 @@
+&ATOM
+ Z = 1
+ ZV = 1
+ XC = 1312 .666667
+ TYPE = NORMCONSERVING CAR
+&END
+&INFO
+ ============================================================
+ | hydrogen pseudopotential with |
+ | Exchange-Correlation Functional : |
+ | Slater exchange : .6667 |
+ | LDA correlation : Lee-Yang-Parr |
+ | Exchange GC : Becke (1988) |
+ | Correlation GC : Lee-Yang-Parr |
+ | Von Barth-Car normconserving PP after P. Giannozzi |
+ | ALPHA(CORE): .25 |
+ | .2829559 -1.961599 .4051810 |
+ | Note this is the PP used by Michiel Sprik |
+ ============================================================
+&END
+&POTENTIAL
+ CAR
+ 0.25000
+ 0.2829559 -1.9615990 0.405181
+ 0.2829559 -1.9615990 0.405181
+ 0.2829559 -1.9615990 0.405181
+&END
+
diff --git a/var/spack/repos/builtin/packages/cpmd/test/O_MT_BLYP.psp b/var/spack/repos/builtin/packages/cpmd/test/O_MT_BLYP.psp
new file mode 100644
index 0000000000..f73f83750e
--- /dev/null
+++ b/var/spack/repos/builtin/packages/cpmd/test/O_MT_BLYP.psp
@@ -0,0 +1,1301 @@
+&ATOM
+ Z = 8
+ ZV = 6
+ XC = 1312 .666667
+ TYPE = NORMCONSERVING NUMERIC
+&END
+&INFO
+ ============================================================
+ | Pseudopotential Report Thu Nov 30 13:19:26 1995 |
+ ------------------------------------------------------------
+ | Atomic Symbol : O |
+ | Atomic Number : 8 |
+ | Number of core states : 1 |
+ | Number of valence states : 2 |
+ | Exchange-Correlation Functional : |
+ | Slater exchange : .6667 |
+ | LDA correlation : Lee-Yang-Parr |
+ | Exchange GC : Becke (1988) |
+ | Correlation GC : Lee-Yang-Parr |
+ | Electron Configuration : N L Occupation |
+ | 1 S 2.0000 |
+ | 2 S 2.0000 |
+ | 2 P 4.0000 |
+ | Full Potential Total Energy -75.023693 |
+ | Trouiller-Martins normconserving PP |
+ | n l rc energy |
+ | 2 S 1.0500 -.87404 |
+ | 2 P 1.0500 -.33186 |
+ | 3 D 1.0500 -.33186 |
+ | Number of Mesh Points : 631 |
+ | Pseudoatom Total Energy -15.775323 |
+ ============================================================
+&END
+&POTENTIAL
+ 631
+ .78125000E-03 -.10010538E+02 -.25377186E+02 -.20655870E+02
+ .79492188E-03 -.10010538E+02 -.25377186E+02 -.20655870E+02
+ .80883301E-03 -.99910402E+01 -.25357688E+02 -.20636372E+02
+ .82298759E-03 -.10064317E+02 -.25430964E+02 -.20709649E+02
+ .83738987E-03 -.10143116E+02 -.25509764E+02 -.20788448E+02
+ .85204419E-03 -.10120596E+02 -.25487243E+02 -.20765927E+02
+ .86695496E-03 -.10125910E+02 -.25492557E+02 -.20771242E+02
+ .88212668E-03 -.10123540E+02 -.25490187E+02 -.20768871E+02
+ .89756389E-03 -.10123253E+02 -.25489900E+02 -.20768584E+02
+ .91327126E-03 -.10122361E+02 -.25489008E+02 -.20767693E+02
+ .92925351E-03 -.10121603E+02 -.25488251E+02 -.20766935E+02
+ .94551544E-03 -.10120775E+02 -.25487422E+02 -.20766107E+02
+ .96206196E-03 -.10119931E+02 -.25486579E+02 -.20765263E+02
+ .97889805E-03 -.10119056E+02 -.25485703E+02 -.20764388E+02
+ .99602877E-03 -.10118152E+02 -.25484800E+02 -.20763484E+02
+ .10134593E-02 -.10117218E+02 -.25483866E+02 -.20762550E+02
+ .10311948E-02 -.10116253E+02 -.25482901E+02 -.20761585E+02
+ .10492407E-02 -.10115256E+02 -.25481903E+02 -.20760587E+02
+ .10676024E-02 -.10114225E+02 -.25480872E+02 -.20759557E+02
+ .10862855E-02 -.10113160E+02 -.25479807E+02 -.20758492E+02
+ .11052955E-02 -.10112059E+02 -.25478707E+02 -.20757391E+02
+ .11246381E-02 -.10110922E+02 -.25477570E+02 -.20756254E+02
+ .11443193E-02 -.10109747E+02 -.25476395E+02 -.20755079E+02
+ .11643449E-02 -.10108534E+02 -.25475181E+02 -.20753865E+02
+ .11847209E-02 -.10107280E+02 -.25473927E+02 -.20752611E+02
+ .12054535E-02 -.10105984E+02 -.25472632E+02 -.20751316E+02
+ .12265490E-02 -.10104646E+02 -.25471293E+02 -.20749978E+02
+ .12480136E-02 -.10103264E+02 -.25469911E+02 -.20748595E+02
+ .12698538E-02 -.10101836E+02 -.25468483E+02 -.20747167E+02
+ .12920763E-02 -.10100361E+02 -.25467008E+02 -.20745693E+02
+ .13146876E-02 -.10098838E+02 -.25465485E+02 -.20744169E+02
+ .13376946E-02 -.10097265E+02 -.25463912E+02 -.20742596E+02
+ .13611043E-02 -.10095640E+02 -.25462288E+02 -.20740972E+02
+ .13849236E-02 -.10093963E+02 -.25460610E+02 -.20739295E+02
+ .14091598E-02 -.10092231E+02 -.25458878E+02 -.20737563E+02
+ .14338201E-02 -.10090443E+02 -.25457090E+02 -.20735774E+02
+ .14589119E-02 -.10088597E+02 -.25455244E+02 -.20733928E+02
+ .14844429E-02 -.10086691E+02 -.25453338E+02 -.20732023E+02
+ .15104206E-02 -.10084724E+02 -.25451371E+02 -.20730055E+02
+ .15368530E-02 -.10082693E+02 -.25449340E+02 -.20728025E+02
+ .15637479E-02 -.10080597E+02 -.25447245E+02 -.20725929E+02
+ .15911135E-02 -.10078435E+02 -.25445082E+02 -.20723767E+02
+ .16189580E-02 -.10076203E+02 -.25442851E+02 -.20721535E+02
+ .16472898E-02 -.10073900E+02 -.25440548E+02 -.20719232E+02
+ .16761173E-02 -.10071525E+02 -.25438172E+02 -.20716857E+02
+ .17054494E-02 -.10069074E+02 -.25435722E+02 -.20714406E+02
+ .17352948E-02 -.10066546E+02 -.25433194E+02 -.20711878E+02
+ .17656624E-02 -.10063939E+02 -.25430586E+02 -.20709270E+02
+ .17965615E-02 -.10061250E+02 -.25427897E+02 -.20706581E+02
+ .18280013E-02 -.10058476E+02 -.25425124E+02 -.20703808E+02
+ .18599914E-02 -.10055617E+02 -.25422265E+02 -.20700949E+02
+ .18925412E-02 -.10052669E+02 -.25419317E+02 -.20698001E+02
+ .19256607E-02 -.10049630E+02 -.25416278E+02 -.20694962E+02
+ .19593597E-02 -.10046498E+02 -.25413145E+02 -.20691830E+02
+ .19936485E-02 -.10043269E+02 -.25409917E+02 -.20688601E+02
+ .20285374E-02 -.10039942E+02 -.25406590E+02 -.20685274E+02
+ .20640368E-02 -.10036514E+02 -.25403162E+02 -.20681846E+02
+ .21001574E-02 -.10032982E+02 -.25399630E+02 -.20678314E+02
+ .21369102E-02 -.10029344E+02 -.25395991E+02 -.20674676E+02
+ .21743061E-02 -.10025596E+02 -.25392244E+02 -.20670928E+02
+ .22123565E-02 -.10021736E+02 -.25388384E+02 -.20667068E+02
+ .22510727E-02 -.10017762E+02 -.25384409E+02 -.20663094E+02
+ .22904665E-02 -.10013670E+02 -.25380317E+02 -.20659001E+02
+ .23305496E-02 -.10009457E+02 -.25376104E+02 -.20654788E+02
+ .23713343E-02 -.10005120E+02 -.25371767E+02 -.20650452E+02
+ .24128326E-02 -.10000657E+02 -.25367304E+02 -.20645988E+02
+ .24550572E-02 -.99960636E+01 -.25362711E+02 -.20641395E+02
+ .24980207E-02 -.99913378E+01 -.25357985E+02 -.20636670E+02
+ .25417360E-02 -.99864761E+01 -.25353124E+02 -.20631808E+02
+ .25862164E-02 -.99814752E+01 -.25348123E+02 -.20626807E+02
+ .26314752E-02 -.99763320E+01 -.25342979E+02 -.20621664E+02
+ .26775260E-02 -.99710432E+01 -.25337691E+02 -.20616375E+02
+ .27243827E-02 -.99656055E+01 -.25332253E+02 -.20610937E+02
+ .27720594E-02 -.99600155E+01 -.25326663E+02 -.20605347E+02
+ .28205705E-02 -.99542699E+01 -.25320917E+02 -.20599602E+02
+ .28699305E-02 -.99483652E+01 -.25315013E+02 -.20593697E+02
+ .29201542E-02 -.99422980E+01 -.25308945E+02 -.20587630E+02
+ .29712569E-02 -.99360648E+01 -.25302712E+02 -.20581397E+02
+ .30232539E-02 -.99296622E+01 -.25296310E+02 -.20574994E+02
+ .30761609E-02 -.99230864E+01 -.25289734E+02 -.20568418E+02
+ .31299937E-02 -.99163340E+01 -.25282981E+02 -.20561666E+02
+ .31847686E-02 -.99094013E+01 -.25276049E+02 -.20554733E+02
+ .32405020E-02 -.99022847E+01 -.25268932E+02 -.20547616E+02
+ .32972108E-02 -.98949805E+01 -.25261628E+02 -.20540312E+02
+ .33549120E-02 -.98874849E+01 -.25254132E+02 -.20532817E+02
+ .34136230E-02 -.98797944E+01 -.25246442E+02 -.20525126E+02
+ .34733614E-02 -.98719050E+01 -.25238552E+02 -.20517237E+02
+ .35341452E-02 -.98638131E+01 -.25230460E+02 -.20509145E+02
+ .35959927E-02 -.98555147E+01 -.25222162E+02 -.20500846E+02
+ .36589226E-02 -.98470062E+01 -.25213654E+02 -.20492338E+02
+ .37229538E-02 -.98382836E+01 -.25204931E+02 -.20483615E+02
+ .37881054E-02 -.98293432E+01 -.25195991E+02 -.20474675E+02
+ .38543973E-02 -.98201809E+01 -.25186828E+02 -.20465513E+02
+ .39218492E-02 -.98107929E+01 -.25177440E+02 -.20456125E+02
+ .39904816E-02 -.98011753E+01 -.25167823E+02 -.20446507E+02
+ .40603150E-02 -.97913243E+01 -.25157972E+02 -.20436656E+02
+ .41313705E-02 -.97812357E+01 -.25147883E+02 -.20426567E+02
+ .42036695E-02 -.97709058E+01 -.25137553E+02 -.20416238E+02
+ .42772337E-02 -.97603305E+01 -.25126978E+02 -.20405662E+02
+ .43520853E-02 -.97495060E+01 -.25116153E+02 -.20394838E+02
+ .44282468E-02 -.97384282E+01 -.25105076E+02 -.20383760E+02
+ .45057411E-02 -.97270932E+01 -.25093741E+02 -.20372425E+02
+ .45845916E-02 -.97154971E+01 -.25082144E+02 -.20360829E+02
+ .46648220E-02 -.97036358E+01 -.25070283E+02 -.20348968E+02
+ .47464564E-02 -.96915056E+01 -.25058153E+02 -.20336837E+02
+ .48295193E-02 -.96791024E+01 -.25045750E+02 -.20324434E+02
+ .49140359E-02 -.96664223E+01 -.25033070E+02 -.20311754E+02
+ .50000316E-02 -.96534615E+01 -.25020109E+02 -.20298793E+02
+ .50875321E-02 -.96402160E+01 -.25006863E+02 -.20285548E+02
+ .51765639E-02 -.96266820E+01 -.24993329E+02 -.20272014E+02
+ .52671538E-02 -.96128556E+01 -.24979503E+02 -.20258187E+02
+ .53593290E-02 -.95987331E+01 -.24965380E+02 -.20244065E+02
+ .54531172E-02 -.95843108E+01 -.24950958E+02 -.20229642E+02
+ .55485468E-02 -.95695847E+01 -.24936232E+02 -.20214916E+02
+ .56456464E-02 -.95545514E+01 -.24921199E+02 -.20199883E+02
+ .57444452E-02 -.95392070E+01 -.24905854E+02 -.20184539E+02
+ .58449730E-02 -.95235481E+01 -.24890195E+02 -.20168880E+02
+ .59472600E-02 -.95075711E+01 -.24874218E+02 -.20152903E+02
+ .60513370E-02 -.94912725E+01 -.24857920E+02 -.20136604E+02
+ .61572354E-02 -.94746489E+01 -.24841296E+02 -.20119980E+02
+ .62649871E-02 -.94576970E+01 -.24824344E+02 -.20103028E+02
+ .63746243E-02 -.94404134E+01 -.24807060E+02 -.20085745E+02
+ .64861803E-02 -.94227951E+01 -.24789442E+02 -.20068127E+02
+ .65996884E-02 -.94048388E+01 -.24771486E+02 -.20050170E+02
+ .67151830E-02 -.93865417E+01 -.24753189E+02 -.20031873E+02
+ .68326987E-02 -.93679008E+01 -.24734548E+02 -.20013232E+02
+ .69522709E-02 -.93489132E+01 -.24715560E+02 -.19994245E+02
+ .70739356E-02 -.93295764E+01 -.24696223E+02 -.19974908E+02
+ .71977295E-02 -.93098877E+01 -.24676534E+02 -.19955219E+02
+ .73236898E-02 -.92898447E+01 -.24656491E+02 -.19935176E+02
+ .74518543E-02 -.92694451E+01 -.24636092E+02 -.19914776E+02
+ .75822618E-02 -.92486867E+01 -.24615333E+02 -.19894018E+02
+ .77149514E-02 -.92275675E+01 -.24594214E+02 -.19872899E+02
+ .78499630E-02 -.92060857E+01 -.24572732E+02 -.19851417E+02
+ .79873374E-02 -.91842395E+01 -.24550886E+02 -.19829571E+02
+ .81271158E-02 -.91620274E+01 -.24528674E+02 -.19807359E+02
+ .82693403E-02 -.91394480E+01 -.24506094E+02 -.19784779E+02
+ .84140538E-02 -.91165002E+01 -.24483146E+02 -.19761831E+02
+ .85612997E-02 -.90931831E+01 -.24459829E+02 -.19738514E+02
+ .87111224E-02 -.90694957E+01 -.24436142E+02 -.19714827E+02
+ .88635671E-02 -.90454376E+01 -.24412083E+02 -.19690768E+02
+ .90186795E-02 -.90210085E+01 -.24387654E+02 -.19666339E+02
+ .91765064E-02 -.89962082E+01 -.24362854E+02 -.19641539E+02
+ .93370953E-02 -.89710368E+01 -.24337682E+02 -.19616367E+02
+ .95004944E-02 -.89454946E+01 -.24312140E+02 -.19590825E+02
+ .96667531E-02 -.89195824E+01 -.24286228E+02 -.19564913E+02
+ .98359213E-02 -.88933010E+01 -.24259946E+02 -.19538631E+02
+ .10008050E-01 -.88666515E+01 -.24233296E+02 -.19511982E+02
+ .10183191E-01 -.88396353E+01 -.24206280E+02 -.19484965E+02
+ .10361397E-01 -.88122541E+01 -.24178899E+02 -.19457584E+02
+ .10542721E-01 -.87845098E+01 -.24151154E+02 -.19429840E+02
+ .10727219E-01 -.87564049E+01 -.24123049E+02 -.19401735E+02
+ .10914945E-01 -.87279418E+01 -.24094586E+02 -.19373271E+02
+ .11105957E-01 -.86991234E+01 -.24065767E+02 -.19344453E+02
+ .11300311E-01 -.86699530E+01 -.24036596E+02 -.19315282E+02
+ .11498066E-01 -.86404340E+01 -.24007077E+02 -.19285763E+02
+ .11699282E-01 -.86105704E+01 -.23977213E+02 -.19255899E+02
+ .11904020E-01 -.85803662E+01 -.23947009E+02 -.19225695E+02
+ .12112340E-01 -.85498262E+01 -.23916468E+02 -.19195155E+02
+ .12324306E-01 -.85189550E+01 -.23885596E+02 -.19164283E+02
+ .12539981E-01 -.84877580E+01 -.23854399E+02 -.19133086E+02
+ .12759431E-01 -.84562406E+01 -.23822881E+02 -.19101568E+02
+ .12982721E-01 -.84244089E+01 -.23791049E+02 -.19069736E+02
+ .13209919E-01 -.83922692E+01 -.23758909E+02 -.19037596E+02
+ .13441092E-01 -.83598280E+01 -.23726467E+02 -.19005155E+02
+ .13676311E-01 -.83270923E+01 -.23693731E+02 -.18972419E+02
+ .13915647E-01 -.82940696E+01 -.23660707E+02 -.18939396E+02
+ .14159171E-01 -.82607676E+01 -.23627405E+02 -.18906093E+02
+ .14406956E-01 -.82271943E+01 -.23593831E+02 -.18872520E+02
+ .14659078E-01 -.81933582E+01 -.23559994E+02 -.18838683E+02
+ .14915612E-01 -.81592682E+01 -.23525903E+02 -.18804593E+02
+ .15176635E-01 -.81249333E+01 -.23491567E+02 -.18770257E+02
+ .15442226E-01 -.80903631E+01 -.23456996E+02 -.18735686E+02
+ .15712465E-01 -.80555675E+01 -.23422199E+02 -.18700890E+02
+ .15987433E-01 -.80205567E+01 -.23387187E+02 -.18665879E+02
+ .16267213E-01 -.79853412E+01 -.23351971E+02 -.18630663E+02
+ .16551890E-01 -.79499320E+01 -.23316560E+02 -.18595253E+02
+ .16841548E-01 -.79143401E+01 -.23280967E+02 -.18559660E+02
+ .17136275E-01 -.78785773E+01 -.23245202E+02 -.18523896E+02
+ .17436160E-01 -.78426552E+01 -.23209279E+02 -.18487973E+02
+ .17741292E-01 -.78065859E+01 -.23173208E+02 -.18451903E+02
+ .18051765E-01 -.77703821E+01 -.23137002E+02 -.18415698E+02
+ .18367671E-01 -.77340562E+01 -.23100674E+02 -.18379371E+02
+ .18689105E-01 -.76976212E+01 -.23064237E+02 -.18342935E+02
+ .19016164E-01 -.76610904E+01 -.23027704E+02 -.18306403E+02
+ .19348947E-01 -.76244772E+01 -.22991089E+02 -.18269788E+02
+ .19687554E-01 -.75877952E+01 -.22954404E+02 -.18233105E+02
+ .20032086E-01 -.75510583E+01 -.22917664E+02 -.18196366E+02
+ .20382648E-01 -.75142805E+01 -.22880884E+02 -.18159587E+02
+ .20739344E-01 -.74774761E+01 -.22844076E+02 -.18122780E+02
+ .21102282E-01 -.74406593E+01 -.22807256E+02 -.18085962E+02
+ .21471572E-01 -.74038447E+01 -.22770437E+02 -.18049145E+02
+ .21847325E-01 -.73670469E+01 -.22733636E+02 -.18012345E+02
+ .22229653E-01 -.73302807E+01 -.22696865E+02 -.17975576E+02
+ .22618672E-01 -.72935607E+01 -.22660141E+02 -.17938854E+02
+ .23014499E-01 -.72569018E+01 -.22623477E+02 -.17902192E+02
+ .23417252E-01 -.72203190E+01 -.22586889E+02 -.17865606E+02
+ .23827054E-01 -.71838270E+01 -.22550392E+02 -.17829111E+02
+ .24244028E-01 -.71474408E+01 -.22513999E+02 -.17792721E+02
+ .24668298E-01 -.71111751E+01 -.22477727E+02 -.17756452E+02
+ .25099994E-01 -.70750448E+01 -.22441590E+02 -.17720318E+02
+ .25539243E-01 -.70390646E+01 -.22405603E+02 -.17684333E+02
+ .25986180E-01 -.70032491E+01 -.22369779E+02 -.17648513E+02
+ .26440938E-01 -.69676127E+01 -.22334134E+02 -.17612872E+02
+ .26903655E-01 -.69321699E+01 -.22298683E+02 -.17577424E+02
+ .27374469E-01 -.68969347E+01 -.22263438E+02 -.17542183E+02
+ .27853522E-01 -.68619212E+01 -.22228414E+02 -.17507164E+02
+ .28340959E-01 -.68271431E+01 -.22193625E+02 -.17472379E+02
+ .28836925E-01 -.67926141E+01 -.22159084E+02 -.17437843E+02
+ .29341572E-01 -.67583473E+01 -.22124804E+02 -.17403569E+02
+ .29855049E-01 -.67243559E+01 -.22090799E+02 -.17369570E+02
+ .30377512E-01 -.66906525E+01 -.22057081E+02 -.17335858E+02
+ .30909119E-01 -.66572495E+01 -.22023662E+02 -.17302446E+02
+ .31450028E-01 -.66241591E+01 -.21990555E+02 -.17269346E+02
+ .32000404E-01 -.65913929E+01 -.21957771E+02 -.17236569E+02
+ .32560411E-01 -.65589624E+01 -.21925321E+02 -.17204128E+02
+ .33130218E-01 -.65268785E+01 -.21893217E+02 -.17172032E+02
+ .33709997E-01 -.64951518E+01 -.21861468E+02 -.17140292E+02
+ .34299922E-01 -.64637925E+01 -.21830084E+02 -.17108919E+02
+ .34900171E-01 -.64328102E+01 -.21799077E+02 -.17077922E+02
+ .35510924E-01 -.64022143E+01 -.21768453E+02 -.17047311E+02
+ .36132365E-01 -.63720136E+01 -.21738224E+02 -.17017093E+02
+ .36764681E-01 -.63422165E+01 -.21708395E+02 -.16987278E+02
+ .37408063E-01 -.63128309E+01 -.21678976E+02 -.16957873E+02
+ .38062704E-01 -.62838641E+01 -.21649973E+02 -.16928885E+02
+ .38728801E-01 -.62553230E+01 -.21621393E+02 -.16900322E+02
+ .39406555E-01 -.62272141E+01 -.21593243E+02 -.16872189E+02
+ .40096170E-01 -.61995433E+01 -.21565528E+02 -.16844493E+02
+ .40797853E-01 -.61723158E+01 -.21538253E+02 -.16817238E+02
+ .41511816E-01 -.61455365E+01 -.21511423E+02 -.16790429E+02
+ .42238272E-01 -.61192098E+01 -.21485041E+02 -.16764071E+02
+ .42977442E-01 -.60933394E+01 -.21459112E+02 -.16738167E+02
+ .43729547E-01 -.60679286E+01 -.21433639E+02 -.16712720E+02
+ .44494814E-01 -.60429801E+01 -.21408623E+02 -.16687732E+02
+ .45273474E-01 -.60184960E+01 -.21384067E+02 -.16663207E+02
+ .46065760E-01 -.59944780E+01 -.21359972E+02 -.16639144E+02
+ .46871910E-01 -.59709273E+01 -.21336339E+02 -.16615546E+02
+ .47692169E-01 -.59478444E+01 -.21313167E+02 -.16592412E+02
+ .48526782E-01 -.59252293E+01 -.21290457E+02 -.16569742E+02
+ .49376000E-01 -.59030816E+01 -.21268208E+02 -.16547535E+02
+ .50240080E-01 -.58814002E+01 -.21246418E+02 -.16525791E+02
+ .51119282E-01 -.58601838E+01 -.21225084E+02 -.16504507E+02
+ .52013869E-01 -.58394301E+01 -.21204206E+02 -.16483681E+02
+ .52924112E-01 -.58191368E+01 -.21183778E+02 -.16463311E+02
+ .53850284E-01 -.57993007E+01 -.21163799E+02 -.16443392E+02
+ .54792664E-01 -.57799184E+01 -.21144263E+02 -.16423920E+02
+ .55751535E-01 -.57609858E+01 -.21125165E+02 -.16404893E+02
+ .56727187E-01 -.57424984E+01 -.21106501E+02 -.16386303E+02
+ .57719913E-01 -.57244514E+01 -.21088265E+02 -.16368147E+02
+ .58730012E-01 -.57068391E+01 -.21070450E+02 -.16350417E+02
+ .59757787E-01 -.56896559E+01 -.21053049E+02 -.16333109E+02
+ .60803548E-01 -.56728953E+01 -.21036056E+02 -.16316214E+02
+ .61867610E-01 -.56565507E+01 -.21019462E+02 -.16299725E+02
+ .62950293E-01 -.56406148E+01 -.21003259E+02 -.16283635E+02
+ .64051923E-01 -.56250802E+01 -.20987438E+02 -.16267935E+02
+ .65172832E-01 -.56099388E+01 -.20971990E+02 -.16252616E+02
+ .66313357E-01 -.55951822E+01 -.20956905E+02 -.16237670E+02
+ .67473840E-01 -.55808019E+01 -.20942173E+02 -.16223086E+02
+ .68654633E-01 -.55667887E+01 -.20927783E+02 -.16208855E+02
+ .69856089E-01 -.55531331E+01 -.20913724E+02 -.16194966E+02
+ .71078570E-01 -.55398256E+01 -.20899984E+02 -.16181408E+02
+ .72322445E-01 -.55268559E+01 -.20886551E+02 -.16168171E+02
+ .73588088E-01 -.55142138E+01 -.20873413E+02 -.16155242E+02
+ .74875880E-01 -.55018886E+01 -.20860556E+02 -.16142609E+02
+ .76186208E-01 -.54898695E+01 -.20847968E+02 -.16130261E+02
+ .77519466E-01 -.54781453E+01 -.20835634E+02 -.16118184E+02
+ .78876057E-01 -.54667047E+01 -.20823540E+02 -.16106366E+02
+ .80256388E-01 -.54555361E+01 -.20811672E+02 -.16094792E+02
+ .81660875E-01 -.54446278E+01 -.20800015E+02 -.16083451E+02
+ .83089940E-01 -.54339680E+01 -.20788553E+02 -.16072327E+02
+ .84544014E-01 -.54235444E+01 -.20777270E+02 -.16061406E+02
+ .86023534E-01 -.54133451E+01 -.20766151E+02 -.16050674E+02
+ .87528946E-01 -.54033578E+01 -.20755179E+02 -.16040117E+02
+ .89060702E-01 -.53935701E+01 -.20744336E+02 -.16029718E+02
+ .90619265E-01 -.53839698E+01 -.20733606E+02 -.16019464E+02
+ .92205102E-01 -.53745444E+01 -.20722972E+02 -.16009338E+02
+ .93818691E-01 -.53652815E+01 -.20712414E+02 -.15999325E+02
+ .95460518E-01 -.53561689E+01 -.20701915E+02 -.15989410E+02
+ .97131077E-01 -.53471942E+01 -.20691456E+02 -.15979575E+02
+ .98830871E-01 -.53383453E+01 -.20681019E+02 -.15969805E+02
+ .10056041E+00 -.53296102E+01 -.20670583E+02 -.15960085E+02
+ .10232022E+00 -.53209770E+01 -.20660129E+02 -.15950396E+02
+ .10411082E+00 -.53124339E+01 -.20649637E+02 -.15940723E+02
+ .10593276E+00 -.53039694E+01 -.20639086E+02 -.15931049E+02
+ .10778659E+00 -.52955722E+01 -.20628456E+02 -.15921356E+02
+ .10967285E+00 -.52872314E+01 -.20617726E+02 -.15911629E+02
+ .11159213E+00 -.52789364E+01 -.20606874E+02 -.15901850E+02
+ .11354499E+00 -.52706767E+01 -.20595878E+02 -.15892003E+02
+ .11553202E+00 -.52624424E+01 -.20584715E+02 -.15882068E+02
+ .11755384E+00 -.52542239E+01 -.20573363E+02 -.15872031E+02
+ .11961103E+00 -.52460123E+01 -.20561799E+02 -.15861872E+02
+ .12170422E+00 -.52377987E+01 -.20549999E+02 -.15851575E+02
+ .12383404E+00 -.52295752E+01 -.20537939E+02 -.15841122E+02
+ .12600114E+00 -.52213341E+01 -.20525593E+02 -.15830495E+02
+ .12820616E+00 -.52130685E+01 -.20512937E+02 -.15819677E+02
+ .13044977E+00 -.52047722E+01 -.20499945E+02 -.15808650E+02
+ .13273264E+00 -.51964393E+01 -.20486591E+02 -.15797396E+02
+ .13505546E+00 -.51880650E+01 -.20472846E+02 -.15785896E+02
+ .13741893E+00 -.51796451E+01 -.20458684E+02 -.15774134E+02
+ .13982376E+00 -.51711762E+01 -.20444075E+02 -.15762089E+02
+ .14227068E+00 -.51626557E+01 -.20428990E+02 -.15749745E+02
+ .14476041E+00 -.51540819E+01 -.20413399E+02 -.15737082E+02
+ .14729372E+00 -.51454542E+01 -.20397270E+02 -.15724082E+02
+ .14987136E+00 -.51367728E+01 -.20380572E+02 -.15710726E+02
+ .15249411E+00 -.51280390E+01 -.20363271E+02 -.15696994E+02
+ .15516276E+00 -.51192551E+01 -.20345332E+02 -.15682867E+02
+ .15787811E+00 -.51104248E+01 -.20326720E+02 -.15668325E+02
+ .16064097E+00 -.51015528E+01 -.20307398E+02 -.15653349E+02
+ .16345219E+00 -.50926451E+01 -.20287328E+02 -.15637917E+02
+ .16631260E+00 -.50837091E+01 -.20266470E+02 -.15622010E+02
+ .16922307E+00 -.50747536E+01 -.20244782E+02 -.15605607E+02
+ .17218448E+00 -.50657887E+01 -.20222222E+02 -.15588684E+02
+ .17519771E+00 -.50568264E+01 -.20198745E+02 -.15571222E+02
+ .17826367E+00 -.50478801E+01 -.20174306E+02 -.15553197E+02
+ .18138328E+00 -.50389648E+01 -.20148854E+02 -.15534586E+02
+ .18455749E+00 -.50300976E+01 -.20122340E+02 -.15515367E+02
+ .18778724E+00 -.50212972E+01 -.20094712E+02 -.15495513E+02
+ .19107352E+00 -.50125845E+01 -.20065914E+02 -.15475002E+02
+ .19441731E+00 -.50039823E+01 -.20035889E+02 -.15453807E+02
+ .19781961E+00 -.49955156E+01 -.20004577E+02 -.15431902E+02
+ .20128145E+00 -.49872117E+01 -.19971916E+02 -.15409259E+02
+ .20480388E+00 -.49791003E+01 -.19937841E+02 -.15385851E+02
+ .20838795E+00 -.49712134E+01 -.19902283E+02 -.15361650E+02
+ .21203473E+00 -.49635859E+01 -.19865172E+02 -.15336624E+02
+ .21574534E+00 -.49562551E+01 -.19826432E+02 -.15310742E+02
+ .21952089E+00 -.49492613E+01 -.19785987E+02 -.15283974E+02
+ .22336250E+00 -.49426475E+01 -.19743756E+02 -.15256285E+02
+ .22727135E+00 -.49364601E+01 -.19699653E+02 -.15227642E+02
+ .23124859E+00 -.49307482E+01 -.19653591E+02 -.15198007E+02
+ .23529544E+00 -.49255646E+01 -.19605477E+02 -.15167345E+02
+ .23941311E+00 -.49209654E+01 -.19555217E+02 -.15135616E+02
+ .24360284E+00 -.49170099E+01 -.19502709E+02 -.15102781E+02
+ .24786589E+00 -.49137614E+01 -.19447851E+02 -.15068798E+02
+ .25220355E+00 -.49112867E+01 -.19390534E+02 -.15033623E+02
+ .25661711E+00 -.49096566E+01 -.19330646E+02 -.14997211E+02
+ .26110791E+00 -.49089458E+01 -.19268070E+02 -.14959517E+02
+ .26567730E+00 -.49092329E+01 -.19202687E+02 -.14920491E+02
+ .27032665E+00 -.49106007E+01 -.19134371E+02 -.14880083E+02
+ .27505737E+00 -.49131362E+01 -.19062993E+02 -.14838241E+02
+ .27987087E+00 -.49169306E+01 -.18988420E+02 -.14794911E+02
+ .28476861E+00 -.49220793E+01 -.18910516E+02 -.14750036E+02
+ .28975206E+00 -.49286822E+01 -.18829139E+02 -.14703559E+02
+ .29482272E+00 -.49368432E+01 -.18744146E+02 -.14655420E+02
+ .29998212E+00 -.49466706E+01 -.18655388E+02 -.14605556E+02
+ .30523181E+00 -.49582770E+01 -.18562714E+02 -.14553905E+02
+ .31057336E+00 -.49717787E+01 -.18465973E+02 -.14500400E+02
+ .31600840E+00 -.49872964E+01 -.18365008E+02 -.14444974E+02
+ .32153854E+00 -.50049542E+01 -.18259663E+02 -.14387558E+02
+ .32716547E+00 -.50248799E+01 -.18149779E+02 -.14328081E+02
+ .33289086E+00 -.50472044E+01 -.18035200E+02 -.14266471E+02
+ .33871645E+00 -.50720617E+01 -.17915767E+02 -.14202656E+02
+ .34464399E+00 -.50995879E+01 -.17791326E+02 -.14136560E+02
+ .35067526E+00 -.51299217E+01 -.17661725E+02 -.14068110E+02
+ .35681208E+00 -.51632030E+01 -.17526814E+02 -.13997231E+02
+ .36305629E+00 -.51995733E+01 -.17386451E+02 -.13923850E+02
+ .36940978E+00 -.52391749E+01 -.17240504E+02 -.13847893E+02
+ .37587445E+00 -.52821513E+01 -.17088848E+02 -.13769293E+02
+ .38245225E+00 -.53286476E+01 -.16931373E+02 -.13687986E+02
+ .38914516E+00 -.53788114E+01 -.16767988E+02 -.13603917E+02
+ .39595520E+00 -.54327950E+01 -.16598626E+02 -.13517043E+02
+ .40288442E+00 -.54907571E+01 -.16423249E+02 -.13427337E+02
+ .40993490E+00 -.55528620E+01 -.16241849E+02 -.13334791E+02
+ .41710876E+00 -.56192714E+01 -.16054451E+02 -.13239409E+02
+ .42440816E+00 -.56901229E+01 -.15861088E+02 -.13141191E+02
+ .43183530E+00 -.57654944E+01 -.15661778E+02 -.13040098E+02
+ .43939242E+00 -.58453678E+01 -.15456487E+02 -.12936020E+02
+ .44708179E+00 -.59296144E+01 -.15245126E+02 -.12828768E+02
+ .45490572E+00 -.60180132E+01 -.15027568E+02 -.12718093E+02
+ .46286657E+00 -.61102891E+01 -.14803702E+02 -.12603732E+02
+ .47096674E+00 -.62061467E+01 -.14573462E+02 -.12485446E+02
+ .47920865E+00 -.63052857E+01 -.14336862E+02 -.12363037E+02
+ .48759481E+00 -.64074009E+01 -.14093990E+02 -.12236359E+02
+ .49612771E+00 -.65121738E+01 -.13845017E+02 -.12105312E+02
+ .50480995E+00 -.66192615E+01 -.13590184E+02 -.11969837E+02
+ .51364412E+00 -.67282876E+01 -.13329807E+02 -.11829914E+02
+ .52263290E+00 -.68388335E+01 -.13064269E+02 -.11685555E+02
+ .53177897E+00 -.69504319E+01 -.12794021E+02 -.11536811E+02
+ .54108510E+00 -.70625613E+01 -.12519581E+02 -.11383764E+02
+ .55055409E+00 -.71746422E+01 -.12241535E+02 -.11226531E+02
+ .56018879E+00 -.72860329E+01 -.11960535E+02 -.11065265E+02
+ .56999209E+00 -.73960281E+01 -.11677298E+02 -.10900157E+02
+ .57996695E+00 -.75038573E+01 -.11392607E+02 -.10731434E+02
+ .59011638E+00 -.76086850E+01 -.11107305E+02 -.10559366E+02
+ .60044341E+00 -.77096126E+01 -.10822294E+02 -.10384260E+02
+ .61095117E+00 -.78056810E+01 -.10538530E+02 -.10206466E+02
+ .62164282E+00 -.78958768E+01 -.10257018E+02 -.10026374E+02
+ .63252157E+00 -.79791391E+01 -.99788064E+01 -.98444166E+01
+ .64359070E+00 -.80543693E+01 -.97049748E+01 -.96610649E+01
+ .65485353E+00 -.81204446E+01 -.94366279E+01 -.94768299E+01
+ .66631347E+00 -.81762327E+01 -.91748818E+01 -.92922583E+01
+ .67797395E+00 -.82206111E+01 -.89208508E+01 -.91079295E+01
+ .68983850E+00 -.82524892E+01 -.86756318E+01 -.89244503E+01
+ .70191067E+00 -.82708339E+01 -.84402854E+01 -.87424492E+01
+ .71419411E+00 -.82746984E+01 -.82158166E+01 -.85625688E+01
+ .72669251E+00 -.82632542E+01 -.80031506E+01 -.83854562E+01
+ .73940963E+00 -.82358267E+01 -.78031079E+01 -.82117518E+01
+ .75234929E+00 -.81919320E+01 -.76163758E+01 -.80420768E+01
+ .76551541E+00 -.81313165E+01 -.74434771E+01 -.78770176E+01
+ .77891193E+00 -.80539963E+01 -.72847375E+01 -.77171096E+01
+ .79254288E+00 -.79602960E+01 -.71402503E+01 -.75628179E+01
+ .80641239E+00 -.78508854E+01 -.70098401E+01 -.74145172E+01
+ .82052460E+00 -.77268108E+01 -.68930283E+01 -.72724707E+01
+ .83488378E+00 -.75895190E+01 -.67889992E+01 -.71368079E+01
+ .84949425E+00 -.74408701E+01 -.66965737E+01 -.70075037E+01
+ .86436040E+00 -.72831356E+01 -.66141910E+01 -.68843594E+01
+ .87948671E+00 -.71189753E+01 -.65399076E+01 -.67669885E+01
+ .89487772E+00 -.69513872E+01 -.64714179E+01 -.66548089E+01
+ .91053808E+00 -.67836221E+01 -.64061090E+01 -.65470480E+01
+ .92647250E+00 -.66190521E+01 -.63411603E+01 -.64427636E+01
+ .94268577E+00 -.64609796E+01 -.62737053E+01 -.63408889E+01
+ .95918277E+00 -.63123705E+01 -.62010744E+01 -.62403111E+01
+ .97596847E+00 -.61754886E+01 -.61211428E+01 -.61399951E+01
+ .99304792E+00 -.60514058E+01 -.60328140E+01 -.60391669E+01
+ .10104263E+01 -.59393527E+01 -.59366753E+01 -.59375773E+01
+ .10281087E+01 -.58358701E+01 -.58358701E+01 -.58358701E+01
+ .10461006E+01 -.57355168E+01 -.57355168E+01 -.57355168E+01
+ .10644074E+01 -.56368850E+01 -.56368850E+01 -.56368850E+01
+ .10830345E+01 -.55399471E+01 -.55399471E+01 -.55399471E+01
+ .11019876E+01 -.54446743E+01 -.54446743E+01 -.54446743E+01
+ .11212724E+01 -.53510382E+01 -.53510382E+01 -.53510382E+01
+ .11408947E+01 -.52590111E+01 -.52590111E+01 -.52590111E+01
+ .11608603E+01 -.51685657E+01 -.51685657E+01 -.51685657E+01
+ .11811754E+01 -.50796748E+01 -.50796748E+01 -.50796748E+01
+ .12018459E+01 -.49923120E+01 -.49923120E+01 -.49923120E+01
+ .12228782E+01 -.49064512E+01 -.49064512E+01 -.49064512E+01
+ .12442786E+01 -.48220666E+01 -.48220666E+01 -.48220666E+01
+ .12660535E+01 -.47391330E+01 -.47391330E+01 -.47391330E+01
+ .12882094E+01 -.46576254E+01 -.46576254E+01 -.46576254E+01
+ .13107531E+01 -.45775195E+01 -.45775195E+01 -.45775195E+01
+ .13336913E+01 -.44987912E+01 -.44987912E+01 -.44987912E+01
+ .13570309E+01 -.44214167E+01 -.44214167E+01 -.44214167E+01
+ .13807789E+01 -.43453730E+01 -.43453730E+01 -.43453730E+01
+ .14049425E+01 -.42706370E+01 -.42706370E+01 -.42706370E+01
+ .14295290E+01 -.41971864E+01 -.41971864E+01 -.41971864E+01
+ .14545458E+01 -.41249990E+01 -.41249990E+01 -.41249990E+01
+ .14800003E+01 -.40540531E+01 -.40540531E+01 -.40540531E+01
+ .15059003E+01 -.39843274E+01 -.39843274E+01 -.39843274E+01
+ .15322536E+01 -.39158009E+01 -.39158009E+01 -.39158009E+01
+ .15590680E+01 -.38484530E+01 -.38484530E+01 -.38484530E+01
+ .15863517E+01 -.37822634E+01 -.37822634E+01 -.37822634E+01
+ .16141129E+01 -.37172121E+01 -.37172121E+01 -.37172121E+01
+ .16423599E+01 -.36532797E+01 -.36532797E+01 -.36532797E+01
+ .16711012E+01 -.35904469E+01 -.35904469E+01 -.35904469E+01
+ .17003454E+01 -.35286948E+01 -.35286948E+01 -.35286948E+01
+ .17301015E+01 -.34680047E+01 -.34680047E+01 -.34680047E+01
+ .17603783E+01 -.34083584E+01 -.34083584E+01 -.34083584E+01
+ .17911849E+01 -.33497380E+01 -.33497380E+01 -.33497380E+01
+ .18225306E+01 -.32921258E+01 -.32921258E+01 -.32921258E+01
+ .18544249E+01 -.32355044E+01 -.32355044E+01 -.32355044E+01
+ .18868773E+01 -.31798569E+01 -.31798569E+01 -.31798569E+01
+ .19198977E+01 -.31251665E+01 -.31251665E+01 -.31251665E+01
+ .19534959E+01 -.30714167E+01 -.30714167E+01 -.30714167E+01
+ .19876821E+01 -.30185914E+01 -.30185914E+01 -.30185914E+01
+ .20224665E+01 -.29666746E+01 -.29666746E+01 -.29666746E+01
+ .20578597E+01 -.29156507E+01 -.29156507E+01 -.29156507E+01
+ .20938722E+01 -.28655044E+01 -.28655044E+01 -.28655044E+01
+ .21305150E+01 -.28162205E+01 -.28162205E+01 -.28162205E+01
+ .21677990E+01 -.27677843E+01 -.27677843E+01 -.27677843E+01
+ .22057355E+01 -.27201811E+01 -.27201811E+01 -.27201811E+01
+ .22443358E+01 -.26733967E+01 -.26733967E+01 -.26733967E+01
+ .22836117E+01 -.26274169E+01 -.26274169E+01 -.26274169E+01
+ .23235749E+01 -.25822279E+01 -.25822279E+01 -.25822279E+01
+ .23642375E+01 -.25378161E+01 -.25378161E+01 -.25378161E+01
+ .24056116E+01 -.24941682E+01 -.24941682E+01 -.24941682E+01
+ .24477098E+01 -.24512709E+01 -.24512709E+01 -.24512709E+01
+ .24905448E+01 -.24091115E+01 -.24091115E+01 -.24091115E+01
+ .25341293E+01 -.23676771E+01 -.23676771E+01 -.23676771E+01
+ .25784766E+01 -.23269554E+01 -.23269554E+01 -.23269554E+01
+ .26235999E+01 -.22869340E+01 -.22869340E+01 -.22869340E+01
+ .26695129E+01 -.22476010E+01 -.22476010E+01 -.22476010E+01
+ .27162294E+01 -.22089445E+01 -.22089445E+01 -.22089445E+01
+ .27637634E+01 -.21709528E+01 -.21709528E+01 -.21709528E+01
+ .28121293E+01 -.21336146E+01 -.21336146E+01 -.21336146E+01
+ .28613415E+01 -.20969185E+01 -.20969185E+01 -.20969185E+01
+ .29114150E+01 -.20608536E+01 -.20608536E+01 -.20608536E+01
+ .29623648E+01 -.20254089E+01 -.20254089E+01 -.20254089E+01
+ .30142061E+01 -.19905739E+01 -.19905739E+01 -.19905739E+01
+ .30669547E+01 -.19563380E+01 -.19563380E+01 -.19563380E+01
+ .31206265E+01 -.19226909E+01 -.19226909E+01 -.19226909E+01
+ .31752374E+01 -.18896225E+01 -.18896225E+01 -.18896225E+01
+ .32308041E+01 -.18571228E+01 -.18571228E+01 -.18571228E+01
+ .32873431E+01 -.18251821E+01 -.18251821E+01 -.18251821E+01
+ .33448716E+01 -.17937908E+01 -.17937908E+01 -.17937908E+01
+ .34034069E+01 -.17629394E+01 -.17629394E+01 -.17629394E+01
+ .34629665E+01 -.17326185E+01 -.17326185E+01 -.17326185E+01
+ .35235684E+01 -.17028192E+01 -.17028192E+01 -.17028192E+01
+ .35852309E+01 -.16735324E+01 -.16735324E+01 -.16735324E+01
+ .36479724E+01 -.16447493E+01 -.16447493E+01 -.16447493E+01
+ .37118119E+01 -.16164612E+01 -.16164612E+01 -.16164612E+01
+ .37767686E+01 -.15886597E+01 -.15886597E+01 -.15886597E+01
+ .38428621E+01 -.15613363E+01 -.15613363E+01 -.15613363E+01
+ .39101122E+01 -.15344828E+01 -.15344828E+01 -.15344828E+01
+ .39785391E+01 -.15080912E+01 -.15080912E+01 -.15080912E+01
+ .40481636E+01 -.14821535E+01 -.14821535E+01 -.14821535E+01
+ .41190064E+01 -.14566619E+01 -.14566619E+01 -.14566619E+01
+ .41910891E+01 -.14316088E+01 -.14316088E+01 -.14316088E+01
+ .42644331E+01 -.14069865E+01 -.14069865E+01 -.14069865E+01
+ .43390607E+01 -.13827877E+01 -.13827877E+01 -.13827877E+01
+ .44149943E+01 -.13590052E+01 -.13590052E+01 -.13590052E+01
+ .44922567E+01 -.13356316E+01 -.13356316E+01 -.13356316E+01
+ .45708712E+01 -.13126600E+01 -.13126600E+01 -.13126600E+01
+ .46508614E+01 -.12900836E+01 -.12900836E+01 -.12900836E+01
+ .47322515E+01 -.12678954E+01 -.12678954E+01 -.12678954E+01
+ .48150659E+01 -.12460889E+01 -.12460889E+01 -.12460889E+01
+ .48993295E+01 -.12246574E+01 -.12246574E+01 -.12246574E+01
+ .49850678E+01 -.12035945E+01 -.12035945E+01 -.12035945E+01
+ .50723065E+01 -.11828938E+01 -.11828938E+01 -.11828938E+01
+ .51610718E+01 -.11625492E+01 -.11625492E+01 -.11625492E+01
+ .52513906E+01 -.11425545E+01 -.11425545E+01 -.11425545E+01
+ .53432899E+01 -.11229037E+01 -.11229037E+01 -.11229037E+01
+ .54367975E+01 -.11035908E+01 -.11035908E+01 -.11035908E+01
+ .55319415E+01 -.10846102E+01 -.10846102E+01 -.10846102E+01
+ .56287504E+01 -.10659559E+01 -.10659559E+01 -.10659559E+01
+ .57272536E+01 -.10476225E+01 -.10476225E+01 -.10476225E+01
+ .58274805E+01 -.10296045E+01 -.10296045E+01 -.10296045E+01
+ .59294614E+01 -.10118963E+01 -.10118963E+01 -.10118963E+01
+ .60332270E+01 -.99449266E+00 -.99449266E+00 -.99449266E+00
+ .61388085E+01 -.97738836E+00 -.97738836E+00 -.97738836E+00
+ .62462376E+01 -.96057824E+00 -.96057824E+00 -.96057824E+00
+ .63555468E+01 -.94405724E+00 -.94405724E+00 -.94405724E+00
+ .64667688E+01 -.92782039E+00 -.92782039E+00 -.92782039E+00
+ .65799373E+01 -.91186279E+00 -.91186279E+00 -.91186279E+00
+ .66950862E+01 -.89617964E+00 -.89617964E+00 -.89617964E+00
+ .68122502E+01 -.88076623E+00 -.88076623E+00 -.88076623E+00
+ .69314646E+01 -.86561792E+00 -.86561792E+00 -.86561792E+00
+ .70527652E+01 -.85073014E+00 -.85073014E+00 -.85073014E+00
+ .71761886E+01 -.83609842E+00 -.83609842E+00 -.83609842E+00
+ .73017719E+01 -.82171835E+00 -.82171835E+00 -.82171835E+00
+ .74295529E+01 -.80758560E+00 -.80758560E+00 -.80758560E+00
+ .75595701E+01 -.79369592E+00 -.79369592E+00 -.79369592E+00
+ .76918626E+01 -.78004513E+00 -.78004513E+00 -.78004513E+00
+ .78264702E+01 -.76662912E+00 -.76662912E+00 -.76662912E+00
+ .79634334E+01 -.75344386E+00 -.75344386E+00 -.75344386E+00
+ .81027935E+01 -.74048536E+00 -.74048536E+00 -.74048536E+00
+ .82445924E+01 -.72774974E+00 -.72774974E+00 -.72774974E+00
+ .83888727E+01 -.71523316E+00 -.71523316E+00 -.71523316E+00
+ .85356780E+01 -.70293186E+00 -.70293186E+00 -.70293186E+00
+ .86850524E+01 -.69084212E+00 -.69084212E+00 -.69084212E+00
+ .88370408E+01 -.67896031E+00 -.67896031E+00 -.67896031E+00
+ .89916890E+01 -.66728286E+00 -.66728286E+00 -.66728286E+00
+ .91490436E+01 -.65580625E+00 -.65580625E+00 -.65580625E+00
+ .93091518E+01 -.64452703E+00 -.64452703E+00 -.64452703E+00
+ .94720620E+01 -.63344180E+00 -.63344180E+00 -.63344180E+00
+ .96378231E+01 -.62254722E+00 -.62254722E+00 -.62254722E+00
+ .98064850E+01 -.61184002E+00 -.61184002E+00 -.61184002E+00
+ .99780984E+01 -.60131698E+00 -.60131698E+00 -.60131698E+00
+ .10152715E+02 -.59097491E+00 -.59097491E+00 -.59097491E+00
+ .10330388E+02 -.58081073E+00 -.58081073E+00 -.58081073E+00
+ .10511169E+02 -.57082135E+00 -.57082135E+00 -.57082135E+00
+ .10695115E+02 -.56100379E+00 -.56100379E+00 -.56100379E+00
+ .10882279E+02 -.55135507E+00 -.55135507E+00 -.55135507E+00
+ .11072719E+02 -.54187231E+00 -.54187231E+00 -.54187231E+00
+ .11266492E+02 -.53255264E+00 -.53255264E+00 -.53255264E+00
+ .11463656E+02 -.52339326E+00 -.52339326E+00 -.52339326E+00
+ .11664270E+02 -.51439141E+00 -.51439141E+00 -.51439141E+00
+ .11868394E+02 -.50554438E+00 -.50554438E+00 -.50554438E+00
+ .12076091E+02 -.49684951E+00 -.49684951E+00 -.49684951E+00
+ .12287423E+02 -.48830419E+00 -.48830419E+00 -.48830419E+00
+ .12502453E+02 -.47990584E+00 -.47990584E+00 -.47990584E+00
+ .12721246E+02 -.47165193E+00 -.47165193E+00 -.47165193E+00
+ .12943867E+02 -.46353998E+00 -.46353998E+00 -.46353998E+00
+ .13170385E+02 -.45556755E+00 -.45556755E+00 -.45556755E+00
+ .13400867E+02 -.44773223E+00 -.44773223E+00 -.44773223E+00
+ .13635382E+02 -.44003168E+00 -.44003168E+00 -.44003168E+00
+ .13874001E+02 -.43246357E+00 -.43246357E+00 -.43246357E+00
+ .14116796E+02 -.42502562E+00 -.42502562E+00 -.42502562E+00
+ .14363840E+02 -.41771560E+00 -.41771560E+00 -.41771560E+00
+ .14615207E+02 -.41053130E+00 -.41053130E+00 -.41053130E+00
+ .14870973E+02 -.40347056E+00 -.40347056E+00 -.40347056E+00
+ .15131215E+02 -.39653127E+00 -.39653127E+00 -.39653127E+00
+ .15396012E+02 -.38971132E+00 -.38971132E+00 -.38971132E+00
+ .15665442E+02 -.38300867E+00 -.38300867E+00 -.38300867E+00
+ .15939587E+02 -.37642129E+00 -.37642129E+00 -.37642129E+00
+ .16218530E+02 -.36994722E+00 -.36994722E+00 -.36994722E+00
+ .16502354E+02 -.36358449E+00 -.36358449E+00 -.36358449E+00
+ .16791145E+02 -.35733119E+00 -.35733119E+00 -.35733119E+00
+ .17084990E+02 -.35118545E+00 -.35118545E+00 -.35118545E+00
+ .17383978E+02 -.34514540E+00 -.34514540E+00 -.34514540E+00
+ .17688197E+02 -.33920924E+00 -.33920924E+00 -.33920924E+00
+ .17997741E+02 -.33337518E+00 -.33337518E+00 -.33337518E+00
+ .18312701E+02 -.32764145E+00 -.32764145E+00 -.32764145E+00
+ .18633174E+02 -.32200634E+00 -.32200634E+00 -.32200634E+00
+ .18959254E+02 -.31646815E+00 -.31646815E+00 -.31646815E+00
+ .19291041E+02 -.31102521E+00 -.31102521E+00 -.31102521E+00
+ .19628634E+02 -.30567588E+00 -.30567588E+00 -.30567588E+00
+ .19972135E+02 -.30041855E+00 -.30041855E+00 -.30041855E+00
+ .20321648E+02 -.29525165E+00 -.29525165E+00 -.29525165E+00
+ .20677277E+02 -.29017361E+00 -.29017361E+00 -.29017361E+00
+ .21039129E+02 -.28518291E+00 -.28518291E+00 -.28518291E+00
+ .21407314E+02 -.28027804E+00 -.28027804E+00 -.28027804E+00
+ .21781942E+02 -.27545754E+00 -.27545754E+00 -.27545754E+00
+ .22163126E+02 -.27071994E+00 -.27071994E+00 -.27071994E+00
+ .22550980E+02 -.26606382E+00 -.26606382E+00 -.26606382E+00
+ .22945622E+02 -.26148778E+00 -.26148778E+00 -.26148778E+00
+ .23347171E+02 -.25699045E+00 -.25699045E+00 -.25699045E+00
+ .23755746E+02 -.25257047E+00 -.25257047E+00 -.25257047E+00
+ .24171472E+02 -.24822650E+00 -.24822650E+00 -.24822650E+00
+ .24594473E+02 -.24395725E+00 -.24395725E+00 -.24395725E+00
+ .25024876E+02 -.23976143E+00 -.23976143E+00 -.23976143E+00
+ .25462811E+02 -.23563777E+00 -.23563777E+00 -.23563777E+00
+ .25908410E+02 -.23158503E+00 -.23158503E+00 -.23158503E+00
+ .26361808E+02 -.22760199E+00 -.22760199E+00 -.22760199E+00
+ .26823139E+02 -.22368746E+00 -.22368746E+00 -.22368746E+00
+ .27292544E+02 -.21984026E+00 -.21984026E+00 -.21984026E+00
+ .27770164E+02 -.21605922E+00 -.21605922E+00 -.21605922E+00
+ .28256142E+02 -.21234322E+00 -.21234322E+00 -.21234322E+00
+ .28750624E+02 -.20869112E+00 -.20869112E+00 -.20869112E+00
+ .29253760E+02 -.20510184E+00 -.20510184E+00 -.20510184E+00
+ .29765701E+02 -.20157429E+00 -.20157429E+00 -.20157429E+00
+ .30286601E+02 -.19810741E+00 -.19810741E+00 -.19810741E+00
+ .30816616E+02 -.19470016E+00 -.19470016E+00 -.19470016E+00
+ .31355907E+02 -.19135151E+00 -.19135151E+00 -.19135151E+00
+ .31904635E+02 -.18806045E+00 -.18806045E+00 -.18806045E+00
+ .32462966E+02 -.18482599E+00 -.18482599E+00 -.18482599E+00
+ .33031068E+02 -.18164717E+00 -.18164717E+00 -.18164717E+00
+ .33609112E+02 -.17852301E+00 -.17852301E+00 -.17852301E+00
+ .34197271E+02 -.17545259E+00 -.17545259E+00 -.17545259E+00
+ .34795724E+02 -.17243498E+00 -.17243498E+00 -.17243498E+00
+ .35404649E+02 -.16946927E+00 -.16946927E+00 -.16946927E+00
+ .36024230E+02 -.16655456E+00 -.16655456E+00 -.16655456E+00
+ .36654654E+02 -.16368999E+00 -.16368999E+00 -.16368999E+00
+ .37296111E+02 -.16087468E+00 -.16087468E+00 -.16087468E+00
+ .37948793E+02 -.15810780E+00 -.15810780E+00 -.15810780E+00
+ .38612896E+02 -.15538850E+00 -.15538850E+00 -.15538850E+00
+ .39288622E+02 -.15271597E+00 -.15271597E+00 -.15271597E+00
+ .39976173E+02 -.15008940E+00 -.15008940E+00 -.15008940E+00
+ .40675756E+02 -.14750801E+00 -.14750801E+00 -.14750801E+00
+ .41387582E+02 -.14497102E+00 -.14497102E+00 -.14497102E+00
+ .42111864E+02 -.14247766E+00 -.14247766E+00 -.14247766E+00
+ .42848822E+02 -.14002719E+00 -.14002719E+00 -.14002719E+00
+ .43598676E+02 -.13761886E+00 -.13761886E+00 -.13761886E+00
+&END
+&WAVEFUNCTION
+ 631 CHANNELS=1
+ .78125000E-03 .25554409E-03 .10390134E-05 .46103462E-10
+ .79492188E-03 .26001611E-03 .10756971E-05 .48566498E-10
+ .80883301E-03 .26456640E-03 .11136759E-05 .51161120E-10
+ .82298759E-03 .26919631E-03 .11529957E-05 .53894357E-10
+ .83738987E-03 .27390724E-03 .11937036E-05 .56773616E-10
+ .85204419E-03 .27870062E-03 .12358488E-05 .59806696E-10
+ .86695496E-03 .28357788E-03 .12794820E-05 .63001815E-10
+ .88212668E-03 .28854049E-03 .13246556E-05 .66367631E-10
+ .89756389E-03 .29358995E-03 .13714242E-05 .69913262E-10
+ .91327126E-03 .29872778E-03 .14198440E-05 .73648315E-10
+ .92925351E-03 .30395552E-03 .14699734E-05 .77582910E-10
+ .94551544E-03 .30927474E-03 .15218726E-05 .81727707E-10
+ .96206196E-03 .31468705E-03 .15756041E-05 .86093935E-10
+ .97889805E-03 .32019408E-03 .16312327E-05 .90693425E-10
+ .99602877E-03 .32579748E-03 .16888253E-05 .95538638E-10
+ .10134593E-02 .33149894E-03 .17484513E-05 .10064270E-09
+ .10311948E-02 .33730017E-03 .18101824E-05 .10601945E-09
+ .10492407E-02 .34320293E-03 .18740930E-05 .11168344E-09
+ .10676024E-02 .34920898E-03 .19402601E-05 .11765002E-09
+ .10862855E-02 .35532015E-03 .20087632E-05 .12393536E-09
+ .11052955E-02 .36153825E-03 .20796849E-05 .13055650E-09
+ .11246381E-02 .36786518E-03 .21531106E-05 .13753136E-09
+ .11443193E-02 .37430283E-03 .22291287E-05 .14487884E-09
+ .11643449E-02 .38085313E-03 .23078306E-05 .15261886E-09
+ .11847209E-02 .38751807E-03 .23893112E-05 .16077237E-09
+ .12054535E-02 .39429965E-03 .24736685E-05 .16936149E-09
+ .12265490E-02 .40119990E-03 .25610042E-05 .17840946E-09
+ .12480136E-02 .40822091E-03 .26514233E-05 .18794082E-09
+ .12698538E-02 .41536478E-03 .27450347E-05 .19798138E-09
+ .12920763E-02 .42263368E-03 .28419512E-05 .20855834E-09
+ .13146876E-02 .43002978E-03 .29422894E-05 .21970037E-09
+ .13376946E-02 .43755531E-03 .30461701E-05 .23143765E-09
+ .13611043E-02 .44521255E-03 .31537185E-05 .24380199E-09
+ .13849236E-02 .45300378E-03 .32650639E-05 .25682687E-09
+ .14091598E-02 .46093136E-03 .33803405E-05 .27054760E-09
+ .14338201E-02 .46899768E-03 .34996870E-05 .28500134E-09
+ .14589119E-02 .47720516E-03 .36232471E-05 .30022726E-09
+ .14844429E-02 .48555627E-03 .37511696E-05 .31626660E-09
+ .15104206E-02 .49405352E-03 .38836086E-05 .33316283E-09
+ .15368530E-02 .50269948E-03 .40207234E-05 .35096173E-09
+ .15637479E-02 .51149674E-03 .41626791E-05 .36971151E-09
+ .15911135E-02 .52044796E-03 .43096467E-05 .38946298E-09
+ .16189580E-02 .52955583E-03 .44618031E-05 .41026964E-09
+ .16472898E-02 .53882308E-03 .46193315E-05 .43218789E-09
+ .16761173E-02 .54825251E-03 .47824215E-05 .45527709E-09
+ .17054494E-02 .55784696E-03 .49512696E-05 .47959980E-09
+ .17352948E-02 .56760932E-03 .51260789E-05 .50522193E-09
+ .17656624E-02 .57754252E-03 .53070600E-05 .53221289E-09
+ .17965615E-02 .58764955E-03 .54944307E-05 .56064582E-09
+ .18280013E-02 .59793346E-03 .56884167E-05 .59059774E-09
+ .18599914E-02 .60839733E-03 .58892514E-05 .62214980E-09
+ .18925412E-02 .61904433E-03 .60971768E-05 .65538750E-09
+ .19256607E-02 .62987765E-03 .63124430E-05 .69040089E-09
+ .19593597E-02 .64090056E-03 .65353094E-05 .72728482E-09
+ .19936485E-02 .65211637E-03 .67660441E-05 .76613924E-09
+ .20285374E-02 .66352846E-03 .70049251E-05 .80706940E-09
+ .20640368E-02 .67514027E-03 .72522398E-05 .85018621E-09
+ .21001574E-02 .68695529E-03 .75082860E-05 .89560648E-09
+ .21369102E-02 .69897707E-03 .77733721E-05 .94345327E-09
+ .21743061E-02 .71120924E-03 .80478172E-05 .99385622E-09
+ .22123565E-02 .72365547E-03 .83319515E-05 .10469519E-08
+ .22510727E-02 .73631952E-03 .86261174E-05 .11028841E-08
+ .22904665E-02 .74920519E-03 .89306688E-05 .11618045E-08
+ .23305496E-02 .76231637E-03 .92459725E-05 .12238725E-08
+ .23713343E-02 .77565700E-03 .95724080E-05 .12892565E-08
+ .24128326E-02 .78923109E-03 .99103683E-05 .13581336E-08
+ .24550572E-02 .80304274E-03 .10260260E-04 .14306903E-08
+ .24980207E-02 .81709609E-03 .10622505E-04 .15071232E-08
+ .25417360E-02 .83139539E-03 .10997540E-04 .15876395E-08
+ .25862164E-02 .84594492E-03 .11385814E-04 .16724572E-08
+ .26314752E-02 .86074908E-03 .11787797E-04 .17618062E-08
+ .26775260E-02 .87581233E-03 .12203971E-04 .18559285E-08
+ .27243827E-02 .89113918E-03 .12634839E-04 .19550792E-08
+ .27720594E-02 .90673426E-03 .13080918E-04 .20595269E-08
+ .28205705E-02 .92260227E-03 .13542746E-04 .21695545E-08
+ .28699305E-02 .93874797E-03 .14020879E-04 .22854602E-08
+ .29201542E-02 .95517624E-03 .14515892E-04 .24075580E-08
+ .29712569E-02 .97189200E-03 .15028381E-04 .25361787E-08
+ .30232539E-02 .98890031E-03 .15558963E-04 .26716707E-08
+ .30761609E-02 .10062063E-02 .16108277E-04 .28144011E-08
+ .31299937E-02 .10238151E-02 .16676984E-04 .29647567E-08
+ .31847686E-02 .10417321E-02 .17265769E-04 .31231448E-08
+ .32405020E-02 .10599626E-02 .17875341E-04 .32899945E-08
+ .32972108E-02 .10785122E-02 .18506433E-04 .34657578E-08
+ .33549120E-02 .10973865E-02 .19159805E-04 .36509110E-08
+ .34136230E-02 .11165910E-02 .19836244E-04 .38459557E-08
+ .34733614E-02 .11361316E-02 .20536564E-04 .40514203E-08
+ .35341452E-02 .11560142E-02 .21261608E-04 .42678615E-08
+ .35959927E-02 .11762448E-02 .22012248E-04 .44958656E-08
+ .36589226E-02 .11968294E-02 .22789389E-04 .47360504E-08
+ .37229538E-02 .12177743E-02 .23593966E-04 .49890666E-08
+ .37881054E-02 .12390858E-02 .24426947E-04 .52555997E-08
+ .38543973E-02 .12607702E-02 .25289335E-04 .55363717E-08
+ .39218492E-02 .12828341E-02 .26182168E-04 .58321435E-08
+ .39904816E-02 .13052841E-02 .27106521E-04 .61437162E-08
+ .40603150E-02 .13281271E-02 .28063507E-04 .64719340E-08
+ .41313705E-02 .13513698E-02 .29054277E-04 .68176861E-08
+ .42036695E-02 .13750193E-02 .30080024E-04 .71819092E-08
+ .42772337E-02 .13990827E-02 .31141982E-04 .75655902E-08
+ .43520853E-02 .14235672E-02 .32241430E-04 .79697683E-08
+ .44282468E-02 .14484802E-02 .33379692E-04 .83955388E-08
+ .45057411E-02 .14738293E-02 .34558137E-04 .88440549E-08
+ .45845916E-02 .14996220E-02 .35778183E-04 .93165319E-08
+ .46648220E-02 .15258661E-02 .37041300E-04 .98142498E-08
+ .47464564E-02 .15525695E-02 .38349007E-04 .10338557E-07
+ .48295193E-02 .15797402E-02 .39702878E-04 .10890874E-07
+ .49140359E-02 .16073865E-02 .41104543E-04 .11472697E-07
+ .50000316E-02 .16355167E-02 .42555689E-04 .12085602E-07
+ .50875321E-02 .16641392E-02 .44058062E-04 .12731249E-07
+ .51765639E-02 .16932626E-02 .45613470E-04 .13411389E-07
+ .52671538E-02 .17228957E-02 .47223786E-04 .14127863E-07
+ .53593290E-02 .17530475E-02 .48890947E-04 .14882612E-07
+ .54531172E-02 .17837270E-02 .50616959E-04 .15677681E-07
+ .55485468E-02 .18149434E-02 .52403900E-04 .16515225E-07
+ .56456464E-02 .18467062E-02 .54253920E-04 .17397511E-07
+ .57444452E-02 .18790249E-02 .56169246E-04 .18326931E-07
+ .58449730E-02 .19119092E-02 .58152182E-04 .19306001E-07
+ .59472600E-02 .19453691E-02 .60205114E-04 .20337374E-07
+ .60513370E-02 .19794147E-02 .62330513E-04 .21423845E-07
+ .61572354E-02 .20140561E-02 .64530936E-04 .22568357E-07
+ .62649871E-02 .20493038E-02 .66809031E-04 .23774009E-07
+ .63746243E-02 .20851684E-02 .69167539E-04 .25044069E-07
+ .64861803E-02 .21216608E-02 .71609298E-04 .26381976E-07
+ .65996884E-02 .21587919E-02 .74137246E-04 .27791355E-07
+ .67151830E-02 .21965729E-02 .76754424E-04 .29276024E-07
+ .68326987E-02 .22350152E-02 .79463980E-04 .30840005E-07
+ .69522709E-02 .22741304E-02 .82269176E-04 .32487534E-07
+ .70739356E-02 .23139302E-02 .85173385E-04 .34223074E-07
+ .71977295E-02 .23544266E-02 .88180102E-04 .36051328E-07
+ .73236898E-02 .23956319E-02 .91292944E-04 .37977246E-07
+ .74518543E-02 .24375583E-02 .94515654E-04 .40006046E-07
+ .75822618E-02 .24802187E-02 .97852111E-04 .42143225E-07
+ .77149514E-02 .25236258E-02 .10130633E-03 .44394570E-07
+ .78499630E-02 .25677927E-02 .10488246E-03 .46766181E-07
+ .79873374E-02 .26127327E-02 .10858480E-03 .49264481E-07
+ .81271158E-02 .26584593E-02 .11241781E-03 .51896237E-07
+ .82693403E-02 .27049864E-02 .11638611E-03 .54668579E-07
+ .84140538E-02 .27523279E-02 .12049445E-03 .57589015E-07
+ .85612997E-02 .28004980E-02 .12474778E-03 .60665457E-07
+ .87111224E-02 .28495115E-02 .12915122E-03 .63906236E-07
+ .88635671E-02 .28993829E-02 .13371007E-03 .67320132E-07
+ .90186795E-02 .29501273E-02 .13842979E-03 .70916390E-07
+ .91765064E-02 .30017600E-02 .14331608E-03 .74704751E-07
+ .93370953E-02 .30542966E-02 .14837480E-03 .78695477E-07
+ .95004944E-02 .31077528E-02 .15361203E-03 .82899375E-07
+ .96667531E-02 .31621449E-02 .15903408E-03 .87327833E-07
+ .98359213E-02 .32174892E-02 .16464745E-03 .91992843E-07
+ .10008050E-01 .32738024E-02 .17045891E-03 .96907041E-07
+ .10183191E-01 .33311015E-02 .17647542E-03 .10208374E-06
+ .10361397E-01 .33894036E-02 .18270424E-03 .10753695E-06
+ .10542721E-01 .34487265E-02 .18915283E-03 .11328145E-06
+ .10727219E-01 .35090880E-02 .19582896E-03 .11933279E-06
+ .10914945E-01 .35705063E-02 .20274064E-03 .12570736E-06
+ .11105957E-01 .36329999E-02 .20989618E-03 .13242243E-06
+ .11300311E-01 .36965876E-02 .21730418E-03 .13949617E-06
+ .11498066E-01 .37612887E-02 .22497353E-03 .14694775E-06
+ .11699282E-01 .38271227E-02 .23291346E-03 .15479735E-06
+ .11904020E-01 .38941093E-02 .24113350E-03 .16306622E-06
+ .12112340E-01 .39622688E-02 .24964352E-03 .17177675E-06
+ .12324306E-01 .40316218E-02 .25845375E-03 .18095253E-06
+ .12539981E-01 .41021892E-02 .26757477E-03 .19061840E-06
+ .12759431E-01 .41739923E-02 .27701752E-03 .20080055E-06
+ .12982721E-01 .42470527E-02 .28679336E-03 .21152653E-06
+ .13209919E-01 .43213925E-02 .29691401E-03 .22282539E-06
+ .13441092E-01 .43970342E-02 .30739163E-03 .23472772E-06
+ .13676311E-01 .44740004E-02 .31823879E-03 .24726576E-06
+ .13915647E-01 .45523146E-02 .32946852E-03 .26047343E-06
+ .14159171E-01 .46320003E-02 .34109428E-03 .27438651E-06
+ .14406956E-01 .47130815E-02 .35313005E-03 .28904266E-06
+ .14659078E-01 .47955828E-02 .36559024E-03 .30448155E-06
+ .14915612E-01 .48795291E-02 .37848982E-03 .32074498E-06
+ .15176635E-01 .49649457E-02 .39184426E-03 .33787698E-06
+ .15442226E-01 .50518585E-02 .40566958E-03 .35592393E-06
+ .15712465E-01 .51402935E-02 .41998235E-03 .37493467E-06
+ .15987433E-01 .52302777E-02 .43479974E-03 .39496066E-06
+ .16267213E-01 .53218382E-02 .45013951E-03 .41605611E-06
+ .16551890E-01 .54150026E-02 .46602006E-03 .43827811E-06
+ .16841548E-01 .55097991E-02 .48246042E-03 .46168682E-06
+ .17136275E-01 .56062563E-02 .49948028E-03 .48634557E-06
+ .17436160E-01 .57044035E-02 .51710004E-03 .51232112E-06
+ .17741292E-01 .58042703E-02 .53534082E-03 .53968375E-06
+ .18051765E-01 .59058868E-02 .55422445E-03 .56850750E-06
+ .18367671E-01 .60092839E-02 .57377355E-03 .59887038E-06
+ .18689105E-01 .61144927E-02 .59401153E-03 .63085455E-06
+ .19016164E-01 .62215452E-02 .61496262E-03 .66454654E-06
+ .19348947E-01 .63304738E-02 .63665188E-03 .70003751E-06
+ .19687554E-01 .64413113E-02 .65910527E-03 .73742348E-06
+ .20032086E-01 .65540914E-02 .68234966E-03 .77680559E-06
+ .20382648E-01 .66688482E-02 .70641284E-03 .81829038E-06
+ .20739344E-01 .67856165E-02 .73132359E-03 .86199006E-06
+ .21102282E-01 .69044315E-02 .75711169E-03 .90802285E-06
+ .21471572E-01 .70253295E-02 .78380795E-03 .95651324E-06
+ .21847325E-01 .71483469E-02 .81144428E-03 .10075924E-05
+ .22229653E-01 .72735210E-02 .84005369E-03 .10613984E-05
+ .22618672E-01 .74008899E-02 .86967034E-03 .11180768E-05
+ .23014499E-01 .75304921E-02 .90032960E-03 .11777809E-05
+ .23417252E-01 .76623670E-02 .93206804E-03 .12406721E-05
+ .23827054E-01 .77965546E-02 .96492355E-03 .13069203E-05
+ .24244028E-01 .79330956E-02 .99893530E-03 .13767048E-05
+ .24668298E-01 .80720315E-02 .10341439E-02 .14502142E-05
+ .25099994E-01 .82134045E-02 .10705912E-02 .15276471E-05
+ .25539243E-01 .83572575E-02 .11083207E-02 .16092129E-05
+ .25986180E-01 .85036343E-02 .11473773E-02 .16951319E-05
+ .26440938E-01 .86525793E-02 .11878076E-02 .17856364E-05
+ .26903655E-01 .88041379E-02 .12296596E-02 .18809709E-05
+ .27374469E-01 .89583562E-02 .12729831E-02 .19813930E-05
+ .27853522E-01 .91152810E-02 .13178297E-02 .20871740E-05
+ .28340959E-01 .92749603E-02 .13642527E-02 .21985996E-05
+ .28836925E-01 .94374426E-02 .14123071E-02 .23159708E-05
+ .29341572E-01 .96027774E-02 .14620502E-02 .24396046E-05
+ .29855049E-01 .97710153E-02 .15135408E-02 .25698348E-05
+ .30377512E-01 .99422073E-02 .15668401E-02 .27070130E-05
+ .30909119E-01 .10116406E-01 .16220113E-02 .28515097E-05
+ .31450028E-01 .10293664E-01 .16791197E-02 .30037148E-05
+ .32000404E-01 .10474036E-01 .17382331E-02 .31640391E-05
+ .32560411E-01 .10657577E-01 .17994213E-02 .33329154E-05
+ .33130218E-01 .10844344E-01 .18627568E-02 .35107993E-05
+ .33709997E-01 .11034392E-01 .19283143E-02 .36981706E-05
+ .34299922E-01 .11227781E-01 .19961715E-02 .38955350E-05
+ .34900171E-01 .11424569E-01 .20664083E-02 .41034246E-05
+ .35510924E-01 .11624818E-01 .21391076E-02 .43224000E-05
+ .36132365E-01 .11828587E-01 .22143552E-02 .45530517E-05
+ .36764681E-01 .12035941E-01 .22922397E-02 .47960014E-05
+ .37408063E-01 .12246942E-01 .23728527E-02 .50519039E-05
+ .38062704E-01 .12461656E-01 .24562891E-02 .53214489E-05
+ .38728801E-01 .12680148E-01 .25426469E-02 .56053625E-05
+ .39406555E-01 .12902486E-01 .26320275E-02 .59044096E-05
+ .40096170E-01 .13128738E-01 .27245358E-02 .62193954E-05
+ .40797853E-01 .13358974E-01 .28202802E-02 .65511681E-05
+ .41511816E-01 .13593265E-01 .29193728E-02 .69006208E-05
+ .42238272E-01 .13831683E-01 .30219295E-02 .72686941E-05
+ .42977442E-01 .14074302E-01 .31280700E-02 .76563782E-05
+ .43729547E-01 .14321197E-01 .32379184E-02 .80647162E-05
+ .44494814E-01 .14572444E-01 .33516027E-02 .84948061E-05
+ .45273474E-01 .14828122E-01 .34692552E-02 .89478043E-05
+ .46065760E-01 .15088310E-01 .35910128E-02 .94249285E-05
+ .46871910E-01 .15353087E-01 .37170170E-02 .99274607E-05
+ .47692169E-01 .15622538E-01 .38474140E-02 .10456751E-04
+ .48526782E-01 .15896745E-01 .39823547E-02 .11014221E-04
+ .49376000E-01 .16175795E-01 .41219954E-02 .11601367E-04
+ .50240080E-01 .16459773E-01 .42664975E-02 .12219765E-04
+ .51119282E-01 .16748770E-01 .44160275E-02 .12871074E-04
+ .52013869E-01 .17042874E-01 .45707577E-02 .13557041E-04
+ .52924112E-01 .17342179E-01 .47308661E-02 .14279505E-04
+ .53850284E-01 .17646778E-01 .48965364E-02 .15040402E-04
+ .54792664E-01 .17956768E-01 .50679587E-02 .15841771E-04
+ .55751535E-01 .18272244E-01 .52453289E-02 .16685758E-04
+ .56727187E-01 .18593307E-01 .54288496E-02 .17574622E-04
+ .57719913E-01 .18920058E-01 .56187300E-02 .18510741E-04
+ .58730012E-01 .19252601E-01 .58151861E-02 .19496619E-04
+ .59757787E-01 .19591040E-01 .60184408E-02 .20534891E-04
+ .60803548E-01 .19935483E-01 .62287244E-02 .21628332E-04
+ .61867610E-01 .20286039E-01 .64462744E-02 .22779862E-04
+ .62950293E-01 .20642820E-01 .66713363E-02 .23992555E-04
+ .64051923E-01 .21005939E-01 .69041630E-02 .25269646E-04
+ .65172832E-01 .21375514E-01 .71450159E-02 .26614539E-04
+ .66313357E-01 .21751661E-01 .73941644E-02 .28030820E-04
+ .67473840E-01 .22134501E-01 .76518867E-02 .29522260E-04
+ .68654633E-01 .22524158E-01 .79184694E-02 .31092829E-04
+ .69856089E-01 .22920758E-01 .81942085E-02 .32746705E-04
+ .71078570E-01 .23324427E-01 .84794089E-02 .34488283E-04
+ .72322445E-01 .23735298E-01 .87743852E-02 .36322191E-04
+ .73588088E-01 .24153502E-01 .90794616E-02 .38253297E-04
+ .74875880E-01 .24579177E-01 .93949724E-02 .40286722E-04
+ .76186208E-01 .25012461E-01 .97212618E-02 .42427858E-04
+ .77519466E-01 .25453496E-01 .10058685E-01 .44682374E-04
+ .78876057E-01 .25902426E-01 .10407607E-01 .47056238E-04
+ .80256388E-01 .26359400E-01 .10768405E-01 .49555726E-04
+ .81660875E-01 .26824567E-01 .11141467E-01 .52187441E-04
+ .83089940E-01 .27298082E-01 .11527191E-01 .54958329E-04
+ .84544014E-01 .27780101E-01 .11925989E-01 .57875698E-04
+ .86023534E-01 .28270787E-01 .12338283E-01 .60947234E-04
+ .87528946E-01 .28770301E-01 .12764510E-01 .64181019E-04
+ .89060702E-01 .29278812E-01 .13205115E-01 .67585555E-04
+ .90619265E-01 .29796492E-01 .13660560E-01 .71169784E-04
+ .92205102E-01 .30323514E-01 .14131317E-01 .74943108E-04
+ .93818691E-01 .30860057E-01 .14617873E-01 .78915413E-04
+ .95460518E-01 .31406304E-01 .15120727E-01 .83097096E-04
+ .97131077E-01 .31962442E-01 .15640393E-01 .87499087E-04
+ .98830871E-01 .32528661E-01 .16177397E-01 .92132876E-04
+ .10056041E+00 .33105157E-01 .16732280E-01 .97010543E-04
+ .10232022E+00 .33692128E-01 .17305598E-01 .10214479E-03
+ .10411082E+00 .34289779E-01 .17897919E-01 .10754895E-03
+ .10593276E+00 .34898318E-01 .18509826E-01 .11323707E-03
+ .10778659E+00 .35517960E-01 .19141919E-01 .11922388E-03
+ .10967285E+00 .36148921E-01 .19794810E-01 .12552487E-03
+ .11159213E+00 .36791427E-01 .20469125E-01 .13215632E-03
+ .11354499E+00 .37445705E-01 .21165508E-01 .13913533E-03
+ .11553202E+00 .38111990E-01 .21884615E-01 .14647987E-03
+ .11755384E+00 .38790521E-01 .22627117E-01 .15420880E-03
+ .11961103E+00 .39481545E-01 .23393701E-01 .16234194E-03
+ .12170422E+00 .40185312E-01 .24185067E-01 .17090011E-03
+ .12383404E+00 .40902080E-01 .25001931E-01 .17990517E-03
+ .12600114E+00 .41632113E-01 .25845023E-01 .18938006E-03
+ .12820616E+00 .42375682E-01 .26715084E-01 .19934887E-03
+ .13044977E+00 .43133064E-01 .27612873E-01 .20983691E-03
+ .13273264E+00 .43904543E-01 .28539161E-01 .22087070E-03
+ .13505546E+00 .44690410E-01 .29494730E-01 .23247810E-03
+ .13741893E+00 .45490964E-01 .30480377E-01 .24468834E-03
+ .13982376E+00 .46306512E-01 .31496910E-01 .25753209E-03
+ .14227068E+00 .47137368E-01 .32545147E-01 .27104150E-03
+ .14476041E+00 .47983855E-01 .33625919E-01 .28525030E-03
+ .14729372E+00 .48846303E-01 .34740064E-01 .30019388E-03
+ .14987136E+00 .49725052E-01 .35888432E-01 .31590931E-03
+ .15249411E+00 .50620452E-01 .37071878E-01 .33243547E-03
+ .15516276E+00 .51532861E-01 .38291265E-01 .34981311E-03
+ .15787811E+00 .52462646E-01 .39547461E-01 .36808491E-03
+ .16064097E+00 .53410185E-01 .40841338E-01 .38729561E-03
+ .16345219E+00 .54375866E-01 .42173770E-01 .40749206E-03
+ .16631260E+00 .55360089E-01 .43545633E-01 .42872333E-03
+ .16922307E+00 .56363264E-01 .44957801E-01 .45104077E-03
+ .17218448E+00 .57385810E-01 .46411145E-01 .47449816E-03
+ .17519771E+00 .58428163E-01 .47906531E-01 .49915177E-03
+ .17826367E+00 .59490767E-01 .49444817E-01 .52506047E-03
+ .18138328E+00 .60574080E-01 .51026850E-01 .55228584E-03
+ .18455749E+00 .61678572E-01 .52653467E-01 .58089226E-03
+ .18778724E+00 .62804729E-01 .54325486E-01 .61094705E-03
+ .19107352E+00 .63953049E-01 .56043707E-01 .64252057E-03
+ .19441731E+00 .65124044E-01 .57808908E-01 .67568630E-03
+ .19781961E+00 .66318240E-01 .59621840E-01 .71052102E-03
+ .20128145E+00 .67536182E-01 .61483224E-01 .74710487E-03
+ .20480388E+00 .68778426E-01 .63393748E-01 .78552153E-03
+ .20838795E+00 .70045547E-01 .65354058E-01 .82585827E-03
+ .21203473E+00 .71338136E-01 .67364760E-01 .86820615E-03
+ .21574534E+00 .72656800E-01 .69426410E-01 .91266009E-03
+ .21952089E+00 .74002164E-01 .71539510E-01 .95931904E-03
+ .22336250E+00 .75374872E-01 .73704502E-01 .10082861E-02
+ .22727135E+00 .76775583E-01 .75921765E-01 .10596685E-02
+ .23124859E+00 .78204979E-01 .78191605E-01 .11135781E-02
+ .23529544E+00 .79663758E-01 .80514249E-01 .11701310E-02
+ .23941311E+00 .81152639E-01 .82889841E-01 .12294482E-02
+ .24360284E+00 .82672358E-01 .85318433E-01 .12916553E-02
+ .24786589E+00 .84223674E-01 .87799978E-01 .13568829E-02
+ .25220355E+00 .85807363E-01 .90334321E-01 .14252665E-02
+ .25661711E+00 .87424225E-01 .92921196E-01 .14969468E-02
+ .26110791E+00 .89075076E-01 .95560211E-01 .15720697E-02
+ .26567730E+00 .90760755E-01 .98250846E-01 .16507864E-02
+ .27032665E+00 .92482119E-01 .10099244E+00 .17332537E-02
+ .27505737E+00 .94240046E-01 .10378419E+00 .18196338E-02
+ .27987087E+00 .96035431E-01 .10662512E+00 .19100946E-02
+ .28476861E+00 .97869188E-01 .10951412E+00 .20048097E-02
+ .28975206E+00 .99742251E-01 .11244988E+00 .21039584E-02
+ .29482272E+00 .10165557E+00 .11543092E+00 .22077260E-02
+ .29998212E+00 .10361010E+00 .11845557E+00 .23163035E-02
+ .30523181E+00 .10560682E+00 .12152196E+00 .24298880E-02
+ .31057336E+00 .10764672E+00 .12462801E+00 .25486826E-02
+ .31600840E+00 .10973080E+00 .12777145E+00 .26728963E-02
+ .32153854E+00 .11186006E+00 .13094976E+00 .28027441E-02
+ .32716547E+00 .11403550E+00 .13416023E+00 .29384471E-02
+ .33289086E+00 .11625812E+00 .13739988E+00 .30802322E-02
+ .33871645E+00 .11852893E+00 .14066554E+00 .32283324E-02
+ .34464399E+00 .12084890E+00 .14395377E+00 .33829866E-02
+ .35067526E+00 .12321902E+00 .14726091E+00 .35444396E-02
+ .35681208E+00 .12564021E+00 .15058307E+00 .37129419E-02
+ .36305629E+00 .12811341E+00 .15391610E+00 .38887498E-02
+ .36940978E+00 .13063948E+00 .15725563E+00 .40721253E-02
+ .37587445E+00 .13321925E+00 .16059708E+00 .42633359E-02
+ .38245225E+00 .13585348E+00 .16393562E+00 .44626546E-02
+ .38914516E+00 .13854286E+00 .16726622E+00 .46703599E-02
+ .39595520E+00 .14128800E+00 .17058368E+00 .48867358E-02
+ .40288442E+00 .14408940E+00 .17388257E+00 .51120713E-02
+ .40993490E+00 .14694744E+00 .17715735E+00 .53466609E-02
+ .41710876E+00 .14986237E+00 .18040228E+00 .55908043E-02
+ .42440816E+00 .15283427E+00 .18361154E+00 .58448064E-02
+ .43183530E+00 .15586306E+00 .18677920E+00 .61089778E-02
+ .43939242E+00 .15894844E+00 .18989927E+00 .63836341E-02
+ .44708179E+00 .16208987E+00 .19296572E+00 .66690970E-02
+ .45490572E+00 .16528659E+00 .19597254E+00 .69656938E-02
+ .46286657E+00 .16853750E+00 .19891375E+00 .72737583E-02
+ .47096674E+00 .17184122E+00 .20178346E+00 .75936309E-02
+ .47920865E+00 .17519598E+00 .20457588E+00 .79256594E-02
+ .48759481E+00 .17859965E+00 .20728544E+00 .82701995E-02
+ .49612771E+00 .18204963E+00 .20990674E+00 .86276160E-02
+ .50480995E+00 .18554289E+00 .21243466E+00 .89982833E-02
+ .51364412E+00 .18907587E+00 .21486441E+00 .93825870E-02
+ .52263290E+00 .19264445E+00 .21719154E+00 .97809253E-02
+ .53177897E+00 .19624393E+00 .21941202E+00 .10193710E-01
+ .54108510E+00 .19986899E+00 .22152225E+00 .10621370E-01
+ .55055409E+00 .20351363E+00 .22351916E+00 .11064352E-01
+ .56018879E+00 .20717116E+00 .22540018E+00 .11523121E-01
+ .56999209E+00 .21083415E+00 .22716332E+00 .11998168E-01
+ .57996695E+00 .21449442E+00 .22880720E+00 .12490008E-01
+ .59011638E+00 .21814303E+00 .23033104E+00 .12999185E-01
+ .60044341E+00 .22177027E+00 .23173470E+00 .13526276E-01
+ .61095117E+00 .22536562E+00 .23301867E+00 .14071894E-01
+ .62164282E+00 .22891787E+00 .23418407E+00 .14636691E-01
+ .63252157E+00 .23241504E+00 .23523265E+00 .15221362E-01
+ .64359070E+00 .23584451E+00 .23616674E+00 .15826652E-01
+ .65485353E+00 .23919306E+00 .23698923E+00 .16453356E-01
+ .66631347E+00 .24244693E+00 .23770351E+00 .17102324E-01
+ .67797395E+00 .24559202E+00 .23831338E+00 .17774469E-01
+ .68983850E+00 .24861392E+00 .23882302E+00 .18470766E-01
+ .70191067E+00 .25149815E+00 .23923689E+00 .19192256E-01
+ .71419411E+00 .25423030E+00 .23955958E+00 .19940055E-01
+ .72669251E+00 .25679624E+00 .23979576E+00 .20715347E-01
+ .73940963E+00 .25918234E+00 .23995000E+00 .21519395E-01
+ .75234929E+00 .26137572E+00 .24002668E+00 .22353537E-01
+ .76551541E+00 .26336444E+00 .24002984E+00 .23219189E-01
+ .77891193E+00 .26513779E+00 .23996305E+00 .24117841E-01
+ .79254288E+00 .26668651E+00 .23982926E+00 .25051061E-01
+ .80641239E+00 .26800297E+00 .23963071E+00 .26020485E-01
+ .82052460E+00 .26908138E+00 .23936877E+00 .27027821E-01
+ .83488378E+00 .26991789E+00 .23904394E+00 .28074841E-01
+ .84949425E+00 .27051073E+00 .23865570E+00 .29163377E-01
+ .86436040E+00 .27086014E+00 .23820261E+00 .30295318E-01
+ .87948671E+00 .27096835E+00 .23768224E+00 .31472606E-01
+ .89487772E+00 .27083940E+00 .23709137E+00 .32697236E-01
+ .91053808E+00 .27047885E+00 .23642612E+00 .33971261E-01
+ .92647250E+00 .26989351E+00 .23568217E+00 .35296793E-01
+ .94268577E+00 .26909092E+00 .23485512E+00 .36676018E-01
+ .95918277E+00 .26807890E+00 .23394081E+00 .38111217E-01
+ .97596847E+00 .26686503E+00 .23293571E+00 .39604788E-01
+ .99304792E+00 .26545618E+00 .23183729E+00 .41159276E-01
+ .10104263E+01 .26385822E+00 .23064428E+00 .42777409E-01
+ .10281087E+01 .26207592E+00 .22935672E+00 .44462116E-01
+ .10461006E+01 .26011333E+00 .22797559E+00 .46216538E-01
+ .10644074E+01 .25797453E+00 .22650232E+00 .48044008E-01
+ .10830345E+01 .25566395E+00 .22493835E+00 .49948043E-01
+ .11019876E+01 .25318627E+00 .22328529E+00 .51932358E-01
+ .11212724E+01 .25054646E+00 .22154487E+00 .54000884E-01
+ .11408947E+01 .24774974E+00 .21971892E+00 .56157774E-01
+ .11608603E+01 .24480159E+00 .21780938E+00 .58407421E-01
+ .11811754E+01 .24170771E+00 .21581830E+00 .60754472E-01
+ .12018459E+01 .23847402E+00 .21374781E+00 .63203845E-01
+ .12228782E+01 .23510667E+00 .21160014E+00 .65760743E-01
+ .12442786E+01 .23161195E+00 .20937761E+00 .68430677E-01
+ .12660535E+01 .22799636E+00 .20708263E+00 .71219483E-01
+ .12882094E+01 .22426653E+00 .20471766E+00 .74133344E-01
+ .13107531E+01 .22042924E+00 .20228527E+00 .77178813E-01
+ .13336913E+01 .21649137E+00 .19978805E+00 .80362835E-01
+ .13570309E+01 .21245993E+00 .19722870E+00 .83692775E-01
+ .13807789E+01 .20834197E+00 .19460995E+00 .87176447E-01
+ .14049425E+01 .20414465E+00 .19193457E+00 .90822141E-01
+ .14295290E+01 .19987515E+00 .18920541E+00 .94638658E-01
+ .14545458E+01 .19554068E+00 .18642532E+00 .98635341E-01
+ .14800003E+01 .19114848E+00 .18359722E+00 .10282212E+00
+ .15059003E+01 .18670577E+00 .18072405E+00 .10720954E+00
+ .15322536E+01 .18221974E+00 .17780875E+00 .11180881E+00
+ .15590680E+01 .17769757E+00 .17485432E+00 .11663186E+00
+ .15863517E+01 .17314636E+00 .17186375E+00 .12169138E+00
+ .16141129E+01 .16857314E+00 .16884004E+00 .12700086E+00
+ .16423599E+01 .16398486E+00 .16578621E+00 .13257468E+00
+ .16711012E+01 .15938835E+00 .16270528E+00 .13842816E+00
+ .17003454E+01 .15479035E+00 .15960024E+00 .14457760E+00
+ .17301015E+01 .15019744E+00 .15647411E+00 .15104041E+00
+ .17603783E+01 .14561607E+00 .15332986E+00 .15783514E+00
+ .17911849E+01 .14105253E+00 .15017047E+00 .16498158E+00
+ .18225306E+01 .13651292E+00 .14699890E+00 .17250086E+00
+ .18544249E+01 .13200317E+00 .14381805E+00 .18041556E+00
+ .18868773E+01 .12752901E+00 .14063083E+00 .18874979E+00
+ .19198977E+01 .12309597E+00 .13744011E+00 .19752933E+00
+ .19534959E+01 .11870935E+00 .13424869E+00 .20678177E+00
+ .19876821E+01 .11437424E+00 .13105936E+00 .21653661E+00
+ .20224665E+01 .11009547E+00 .12787486E+00 .22682544E+00
+ .20578597E+01 .10587767E+00 .12469788E+00 .23768210E+00
+ .20938722E+01 .10172518E+00 .12153105E+00 .24914287E+00
+ .21305150E+01 .97642098E-01 .11837696E+00 .26124664E+00
+ .21677990E+01 .93632275E-01 .11523811E+00 .27403513E+00
+ .22057355E+01 .89699284E-01 .11211697E+00 .28755313E+00
+ .22443358E+01 .85846436E-01 .10901594E+00 .30184877E+00
+ .22836117E+01 .82076769E-01 .10593733E+00 .31697373E+00
+ .23235749E+01 .78393054E-01 .10288341E+00 .33298362E+00
+ .23642375E+01 .74797785E-01 .99856358E-01 .34993824E+00
+ .24056116E+01 .71293186E-01 .96858274E-01 .36790200E+00
+ .24477098E+01 .67881211E-01 .93891191E-01 .38694426E+00
+ .24905448E+01 .64563544E-01 .90957055E-01 .40713979E+00
+ .25341293E+01 .61341603E-01 .88057737E-01 .42856923E+00
+ .25784766E+01 .58216544E-01 .85195019E-01 .45131963E+00
+ .26235999E+01 .55189264E-01 .82370603E-01 .00000000E+00
+ .26695129E+01 .52260409E-01 .79586106E-01 .00000000E+00
+ .27162294E+01 .49430376E-01 .76843057E-01 .00000000E+00
+ .27637634E+01 .46699326E-01 .74142901E-01 .00000000E+00
+ .28121293E+01 .44067185E-01 .71486996E-01 .00000000E+00
+ .28613415E+01 .41533657E-01 .68876617E-01 .00000000E+00
+ .29114150E+01 .39098228E-01 .66312949E-01 .00000000E+00
+ .29623648E+01 .36760180E-01 .63797095E-01 .00000000E+00
+ .30142061E+01 .34518601E-01 .61330076E-01 .00000000E+00
+ .30669547E+01 .32372389E-01 .58912829E-01 .00000000E+00
+ .31206265E+01 .30320269E-01 .56546209E-01 .00000000E+00
+ .31752374E+01 .28360803E-01 .54230996E-01 .00000000E+00
+ .32308041E+01 .26492397E-01 .51967889E-01 .00000000E+00
+ .32873431E+01 .24713319E-01 .49757517E-01 .00000000E+00
+ .33448716E+01 .23021703E-01 .47600433E-01 .00000000E+00
+ .34034069E+01 .21415566E-01 .45497120E-01 .00000000E+00
+ .34629665E+01 .19892819E-01 .43447997E-01 .00000000E+00
+ .35235684E+01 .18451274E-01 .41453412E-01 .00000000E+00
+ .35852309E+01 .17088660E-01 .39513653E-01 .00000000E+00
+ .36479724E+01 .15802632E-01 .37628944E-01 .00000000E+00
+ .37118119E+01 .14590781E-01 .35799449E-01 .00000000E+00
+ .37767686E+01 .13450646E-01 .34025273E-01 .00000000E+00
+ .38428621E+01 .12379721E-01 .32306458E-01 .00000000E+00
+ .39101122E+01 .11375467E-01 .30642991E-01 .00000000E+00
+ .39785391E+01 .10435322E-01 .29034792E-01 .00000000E+00
+ .40481636E+01 .95567058E-02 .27481725E-01 .00000000E+00
+ .41190064E+01 .87370320E-02 .25983583E-01 .00000000E+00
+ .41910891E+01 .79737139E-02 .24540095E-01 .00000000E+00
+ .42644331E+01 .72641724E-02 .23150919E-01 .00000000E+00
+ .43390607E+01 .66058437E-02 .21815638E-01 .00000000E+00
+ .44149943E+01 .59961859E-02 .20533758E-01 .00000000E+00
+ .44922567E+01 .54326860E-02 .19304705E-01 .00000000E+00
+ .45708712E+01 .49128666E-02 .18127822E-01 .00000000E+00
+ .46508614E+01 .44342922E-02 .17002371E-01 .00000000E+00
+ .47322515E+01 .39945757E-02 .15927528E-01 .00000000E+00
+ .48150659E+01 .35913847E-02 .14902386E-01 .00000000E+00
+ .48993295E+01 .32224471E-02 .13925963E-01 .00000000E+00
+ .49850678E+01 .28855567E-02 .12997199E-01 .00000000E+00
+ .50723065E+01 .25785787E-02 .12114967E-01 .00000000E+00
+ .51610718E+01 .22994538E-02 .11278077E-01 .00000000E+00
+ .52513906E+01 .20462026E-02 .10485286E-01 .00000000E+00
+ .53432899E+01 .18169286E-02 .97353034E-02 .00000000E+00
+ .54367975E+01 .16098209E-02 .90268027E-02 .00000000E+00
+ .55319415E+01 .14231557E-02 .83584253E-02 .00000000E+00
+ .56287504E+01 .12552976E-02 .77287903E-02 .00000000E+00
+ .57272536E+01 .11046999E-02 .71365007E-02 .00000000E+00
+ .58274805E+01 .96990387E-03 .65801491E-02 .00000000E+00
+ .59294614E+01 .84953840E-03 .60583234E-02 .00000000E+00
+ .60332270E+01 .74231813E-03 .55696118E-02 .00000000E+00
+ .61388085E+01 .64704178E-03 .51126069E-02 .00000000E+00
+ .62462376E+01 .56258991E-03 .46859099E-02 .00000000E+00
+ .63555468E+01 .48792240E-03 .42881345E-02 .00000000E+00
+ .64667688E+01 .42207563E-03 .39179101E-02 .00000000E+00
+ .65799373E+01 .36415955E-03 .35738854E-02 .00000000E+00
+ .66950862E+01 .31335447E-03 .32547316E-02 .00000000E+00
+ .68122502E+01 .26890778E-03 .29591448E-02 .00000000E+00
+ .69314646E+01 .23013057E-03 .26858493E-02 .00000000E+00
+ .70527652E+01 .19639416E-03 .24335995E-02 .00000000E+00
+ .71761886E+01 .16712661E-03 .22011829E-02 .00000000E+00
+ .73017719E+01 .14180924E-03 .19874213E-02 .00000000E+00
+ .74295529E+01 .11997315E-03 .17911731E-02 .00000000E+00
+ .75595701E+01 .10119583E-03 .16113348E-02 .00000000E+00
+ .76918626E+01 .85097769E-04 .14468423E-02 .00000000E+00
+ .78264702E+01 .71339207E-04 .12966720E-02 .00000000E+00
+ .79634334E+01 .59617001E-04 .11598415E-02 .00000000E+00
+ .81027935E+01 .49661576E-04 .10354104E-02 .00000000E+00
+ .82445924E+01 .41234027E-04 .92248093E-03 .00000000E+00
+ .83888727E+01 .34123362E-04 .82019760E-03 .00000000E+00
+ .85356780E+01 .28143894E-04 .72774770E-03 .00000000E+00
+ .86850524E+01 .23132784E-04 .64436085E-03 .00000000E+00
+ .88370408E+01 .18947748E-04 .56930871E-03 .00000000E+00
+ .89916890E+01 .15464909E-04 .50190439E-03 .00000000E+00
+ .91490436E+01 .12576821E-04 .44150171E-03 .00000000E+00
+ .93091518E+01 .10190637E-04 .38749442E-03 .00000000E+00
+ .94720620E+01 .82264295E-05 .33931510E-03 .00000000E+00
+ .96378231E+01 .66156600E-05 .29643415E-03 .00000000E+00
+ .98064850E+01 .52997859E-05 .25835848E-03 .00000000E+00
+ .99780984E+01 .42290016E-05 .22463027E-03 .00000000E+00
+ .10152715E+02 .33611055E-05 .19482556E-03 .00000000E+00
+ .10330388E+02 .26604851E-05 .16855276E-03 .00000000E+00
+ .10511169E+02 .20972145E-05 .14545130E-03 .00000000E+00
+ .10695115E+02 .16462482E-05 .12518970E-03 .00000000E+00
+ .10882279E+02 .12867274E-05 .10746527E-03 .00000000E+00
+ .11072719E+02 .10013204E-05 .91998686E-04 .00000000E+00
+ .11266492E+02 .77577439E-06 .78542586E-04 .00000000E+00
+ .11463656E+02 .59826674E-06 .66859971E-04 .00000000E+00
+ .11664270E+02 .45920219E-06 .56746827E-04 .00000000E+00
+ .11868394E+02 .35081408E-06 .48025200E-04 .00000000E+00
+ .12076091E+02 .26674906E-06 .40527663E-04 .00000000E+00
+ .12287423E+02 .20185817E-06 .34100988E-04 .00000000E+00
+ .12502453E+02 .15200947E-06 .28608333E-04 .00000000E+00
+ .12721246E+02 .11390393E-06 .23927934E-04 .00000000E+00
+ .12943867E+02 .84920529E-07 .19951762E-04 .00000000E+00
+ .13170385E+02 .62987454E-07 .16584273E-04 .00000000E+00
+ .13400867E+02 .46475441E-07 .13741234E-04 .00000000E+00
+ .13635382E+02 .34109940E-07 .11348629E-04 .00000000E+00
+ .13874001E+02 .24899220E-07 .93416237E-05 .00000000E+00
+ .14116796E+02 .00000000E+00 .76636273E-05 .00000000E+00
+ .14363840E+02 .00000000E+00 .62653927E-05 .00000000E+00
+ .14615207E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .14870973E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .15131215E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .15396012E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .15665442E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .15939587E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .16218530E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .16502354E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .16791145E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .17084990E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .17383978E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .17688197E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .17997741E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .18312701E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .18633174E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .18959254E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .19291041E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .19628634E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .19972135E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .20321648E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .20677277E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .21039129E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .21407314E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .21781942E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .22163126E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .22550980E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .22945622E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .23347171E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .23755746E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .24171472E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .24594473E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .25024876E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .25462811E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .25908410E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .26361808E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .26823139E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .27292544E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .27770164E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .28256142E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .28750624E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .29253760E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .29765701E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .30286601E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .30816616E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .31355907E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .31904635E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .32462966E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .33031068E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .33609112E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .34197271E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .34795724E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .35404649E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .36024230E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .36654654E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .37296111E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .37948793E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .38612896E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .39288622E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .39976173E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .40675756E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .41387582E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .42111864E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .42848822E+02 .00000000E+00 .00000000E+00 .00000000E+00
+ .43598676E+02 .00000000E+00 .00000000E+00 .00000000E+00
+&END
diff --git a/var/spack/repos/builtin/packages/cpp-httplib/package.py b/var/spack/repos/builtin/packages/cpp-httplib/package.py
index 2774a95bd1..eaeb220385 100644
--- a/var/spack/repos/builtin/packages/cpp-httplib/package.py
+++ b/var/spack/repos/builtin/packages/cpp-httplib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cppad/package.py b/var/spack/repos/builtin/packages/cppad/package.py
index 28b1e4faee..6f7ea89d4b 100644
--- a/var/spack/repos/builtin/packages/cppad/package.py
+++ b/var/spack/repos/builtin/packages/cppad/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cppcheck/package.py b/var/spack/repos/builtin/packages/cppcheck/package.py
index 7d00ca4969..1ab41763c3 100644
--- a/var/spack/repos/builtin/packages/cppcheck/package.py
+++ b/var/spack/repos/builtin/packages/cppcheck/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cppgsl/package.py b/var/spack/repos/builtin/packages/cppgsl/package.py
index ce045a7c68..1695283f0a 100644
--- a/var/spack/repos/builtin/packages/cppgsl/package.py
+++ b/var/spack/repos/builtin/packages/cppgsl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cpprestsdk/package.py b/var/spack/repos/builtin/packages/cpprestsdk/package.py
index 70425ed7db..40f4097879 100644
--- a/var/spack/repos/builtin/packages/cpprestsdk/package.py
+++ b/var/spack/repos/builtin/packages/cpprestsdk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cppunit/package.py b/var/spack/repos/builtin/packages/cppunit/package.py
index ac6c22340f..13eac4bc3a 100644
--- a/var/spack/repos/builtin/packages/cppunit/package.py
+++ b/var/spack/repos/builtin/packages/cppunit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cppzmq/package.py b/var/spack/repos/builtin/packages/cppzmq/package.py
index 2d5191c0cd..ddde79f00d 100644
--- a/var/spack/repos/builtin/packages/cppzmq/package.py
+++ b/var/spack/repos/builtin/packages/cppzmq/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cpu-features/package.py b/var/spack/repos/builtin/packages/cpu-features/package.py
index 9ee4d483ee..0c69984248 100644
--- a/var/spack/repos/builtin/packages/cpu-features/package.py
+++ b/var/spack/repos/builtin/packages/cpu-features/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cpuinfo/package.py b/var/spack/repos/builtin/packages/cpuinfo/package.py
index ba341f822a..37f938ada0 100644
--- a/var/spack/repos/builtin/packages/cpuinfo/package.py
+++ b/var/spack/repos/builtin/packages/cpuinfo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cqrlib/cqr.patch b/var/spack/repos/builtin/packages/cqrlib/cqr.patch
new file mode 100644
index 0000000000..8473a54181
--- /dev/null
+++ b/var/spack/repos/builtin/packages/cqrlib/cqr.patch
@@ -0,0 +1,20 @@
+--- a/cqrlib.h 2021-01-27 16:52:35.771183668 +0900
++++ b/cqrlib.h 2021-01-27 16:53:22.371528465 +0900
+@@ -573,7 +573,7 @@
+ {
+ CPPQR vquat( 0.0, v[0], v[1], v[2] );
+ const CPPQR wquat = (*this)*vquat;
+- const CPPQR qconj = *this.Conjugate( );
++ const CPPQR qconj = (*this).Conjugate();
+ vquat = wquat * qconj;
+ w[0] = vquat.x; w[1] = vquat.y; w[2] = vquat.z;
+ return;
+@@ -583,7 +583,7 @@
+ {
+ CPPQR vquat( 0.0, v[0], v[1], v[2] );
+ const CPPQR wquat = (*this)*vquat;
+- const CPPQR qconj = *this.Conjugate( );
++ const CPPQR qconj = (*this).Conjugate();
+ vquat = wquat * qconj;
+ return VectorType(vquat.x, vquat.y, vquat.z);
+ }
diff --git a/var/spack/repos/builtin/packages/cqrlib/package.py b/var/spack/repos/builtin/packages/cqrlib/package.py
new file mode 100644
index 0000000000..97d587f277
--- /dev/null
+++ b/var/spack/repos/builtin/packages/cqrlib/package.py
@@ -0,0 +1,28 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Cqrlib(MakefilePackage):
+ """CQRlib -- ANSI C API for Quaternion Rotations"""
+
+ homepage = "http://cqrlib.sourceforge.net/"
+ url = "https://downloads.sourceforge.net/project/cqrlib/cqrlib/CQRlib-1.1.2/CQRlib-1.1.2.tar.gz"
+
+ version('1.1.2', sha256='af3cf2402974579f3c6efc6a6174a5da52786db4bfee9d38d504d93bc42410fd')
+
+ depends_on('libtool', type='build')
+
+ patch('cqr.patch')
+
+ def edit(self, spec, prefix):
+ mf = FileFilter('Makefile')
+ mf.filter(r'^CC.+', "CC = {0}".format(spack_cc))
+ mf.filter(r'^CXX.+', "CXX = {0}".format(spack_cxx))
+ mf.filter(r'^INSTALLDIR .+', "INSTALLDIR = {0}".format(prefix))
+
+ def build(self, spec, prefix):
+ pass
diff --git a/var/spack/repos/builtin/packages/cquery/package.py b/var/spack/repos/builtin/packages/cquery/package.py
index 76e05d086f..fbca073b09 100644
--- a/var/spack/repos/builtin/packages/cquery/package.py
+++ b/var/spack/repos/builtin/packages/cquery/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cracklib/package.py b/var/spack/repos/builtin/packages/cracklib/package.py
index 43ae03906a..1cb6e5d6cf 100644
--- a/var/spack/repos/builtin/packages/cracklib/package.py
+++ b/var/spack/repos/builtin/packages/cracklib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cradl/package.py b/var/spack/repos/builtin/packages/cradl/package.py
index 2f42736d97..8db35b2ddc 100644
--- a/var/spack/repos/builtin/packages/cradl/package.py
+++ b/var/spack/repos/builtin/packages/cradl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cram/package.py b/var/spack/repos/builtin/packages/cram/package.py
index a13b67a2ec..2d81679eea 100644
--- a/var/spack/repos/builtin/packages/cram/package.py
+++ b/var/spack/repos/builtin/packages/cram/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cray-fftw/package.py b/var/spack/repos/builtin/packages/cray-fftw/package.py
new file mode 100644
index 0000000000..a2f913f827
--- /dev/null
+++ b/var/spack/repos/builtin/packages/cray-fftw/package.py
@@ -0,0 +1,34 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class CrayFftw(Package):
+ """FFTW is a C subroutine library for computing the discrete Fourier
+ transform (DFT) in one or more dimensions, of arbitrary input
+ size, and of both real and complex data (as well as of even/odd
+ data, i.e. the discrete cosine/sine transforms or DCT/DST).
+ This package is a wrapper for Cray's version of FFTW.
+
+ To install this package, list it as an external package in packages.yaml,
+ and make sure to load the correct cray-fftw module. In some cases you
+ need to load cray-mpich before cray-fftw.
+ """
+
+ homepage = "https://docs.nersc.gov/development/libraries/fftw/"
+ has_code = False # Skip attempts to fetch source that is not available
+
+ maintainers = ['haampie']
+
+ version('3.3.8.8')
+ version('3.3.8.7')
+
+ provides('fftw-api@3')
+
+ def install(self, spec, prefix):
+ raise InstallError(
+ self.spec.format('{name} is not installable, you need to specify '
+ 'it as an external package in packages.yaml'))
diff --git a/var/spack/repos/builtin/packages/cray-libsci/package.py b/var/spack/repos/builtin/packages/cray-libsci/package.py
index 126ed28a54..be667c1337 100755
--- a/var/spack/repos/builtin/packages/cray-libsci/package.py
+++ b/var/spack/repos/builtin/packages/cray-libsci/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cray-mpich/package.py b/var/spack/repos/builtin/packages/cray-mpich/package.py
new file mode 100644
index 0000000000..1728340d8a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/cray-mpich/package.py
@@ -0,0 +1,60 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class CrayMpich(Package):
+ """Cray's MPICH is a high performance and widely portable implementation of
+ the Message Passing Interface (MPI) standard."""
+
+ homepage = "https://docs.nersc.gov/development/compilers/wrappers/"
+ has_code = False # Skip attempts to fetch source that is not available
+
+ maintainers = ['haampie']
+
+ version('8.1.0')
+ version('8.0.16')
+ version('8.0.14')
+ version('8.0.11')
+ version('8.0.9')
+ version('7.7.16')
+ version('7.7.15')
+ version('7.7.14')
+ version('7.7.13')
+
+ provides('mpi@3')
+
+ def setup_run_environment(self, env):
+ env.set('MPICC', spack_cc)
+ env.set('MPICXX', spack_cxx)
+ env.set('MPIF77', spack_fc)
+ env.set('MPIF90', spack_fc)
+
+ def setup_dependent_build_environment(self, env, dependent_spec):
+ self.setup_run_environment(env)
+
+ env.set('MPICH_CC', spack_cc)
+ env.set('MPICH_CXX', spack_cxx)
+ env.set('MPICH_F77', spack_f77)
+ env.set('MPICH_F90', spack_fc)
+ env.set('MPICH_FC', spack_fc)
+
+ def setup_dependent_package(self, module, dependent_spec):
+ spec = self.spec
+ spec.mpicc = spack_cc
+ spec.mpicxx = spack_cxx
+ spec.mpifc = spack_fc
+ spec.mpif77 = spack_f77
+
+ spec.mpicxx_shared_libs = [
+ join_path(self.prefix.lib, 'libmpicxx.{0}'.format(dso_suffix)),
+ join_path(self.prefix.lib, 'libmpi.{0}'.format(dso_suffix))
+ ]
+
+ def install(self, spec, prefix):
+ raise InstallError(
+ self.spec.format('{name} is not installable, you need to specify '
+ 'it as an external package in packages.yaml'))
diff --git a/var/spack/repos/builtin/packages/cromwell-womtool/package.py b/var/spack/repos/builtin/packages/cromwell-womtool/package.py
index f40ce13c4f..3b4229600f 100644
--- a/var/spack/repos/builtin/packages/cromwell-womtool/package.py
+++ b/var/spack/repos/builtin/packages/cromwell-womtool/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cromwell/package.py b/var/spack/repos/builtin/packages/cromwell/package.py
index 21e1d9c779..adaf2ff60f 100644
--- a/var/spack/repos/builtin/packages/cromwell/package.py
+++ b/var/spack/repos/builtin/packages/cromwell/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cronie/package.py b/var/spack/repos/builtin/packages/cronie/package.py
index 998e366418..8c763ec102 100644
--- a/var/spack/repos/builtin/packages/cronie/package.py
+++ b/var/spack/repos/builtin/packages/cronie/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cryptopp/package.py b/var/spack/repos/builtin/packages/cryptopp/package.py
index fa586eca4b..aecfcb2483 100644
--- a/var/spack/repos/builtin/packages/cryptopp/package.py
+++ b/var/spack/repos/builtin/packages/cryptopp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cryptsetup/package.py b/var/spack/repos/builtin/packages/cryptsetup/package.py
index 6b57ad6877..4802efb36d 100644
--- a/var/spack/repos/builtin/packages/cryptsetup/package.py
+++ b/var/spack/repos/builtin/packages/cryptsetup/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -21,11 +21,11 @@ class Cryptsetup(AutotoolsPackage):
version('2.2.2', sha256='2af0ec9551ab9c870074cae9d3f68d82cab004f4095fa89db0e4413713424a46')
version('2.2.1', sha256='94e79a31ed38bdb0acd9af7ccca1605a2ac62ca850ed640202876b1ee11c1c61')
- depends_on('libuuid', type=('build', 'link'))
+ depends_on('uuid', type=('build', 'link'))
depends_on('lvm2', type=('build', 'link'))
depends_on('popt', type=('build', 'link'))
depends_on('json-c', type=('build', 'link'))
- depends_on('util-linux~libuuid', type=('build', 'link'))
+ depends_on('util-linux', type=('build', 'link'))
depends_on('gettext', type=('build', 'link'))
depends_on('pkgconfig', type='build')
diff --git a/var/spack/repos/builtin/packages/csa-c/package.py b/var/spack/repos/builtin/packages/csa-c/package.py
index 9bc09f49fd..d08c1e91ff 100644
--- a/var/spack/repos/builtin/packages/csa-c/package.py
+++ b/var/spack/repos/builtin/packages/csa-c/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cscope/package.py b/var/spack/repos/builtin/packages/cscope/package.py
index a829b1e1e5..407c4fbf8b 100644
--- a/var/spack/repos/builtin/packages/cscope/package.py
+++ b/var/spack/repos/builtin/packages/cscope/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/csdp/package.py b/var/spack/repos/builtin/packages/csdp/package.py
index ef35d6551c..bd9d7b097e 100644
--- a/var/spack/repos/builtin/packages/csdp/package.py
+++ b/var/spack/repos/builtin/packages/csdp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ctffind/package.py b/var/spack/repos/builtin/packages/ctffind/package.py
index b20ce75ad7..c71f335f23 100644
--- a/var/spack/repos/builtin/packages/ctffind/package.py
+++ b/var/spack/repos/builtin/packages/ctffind/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ctpl/package.py b/var/spack/repos/builtin/packages/ctpl/package.py
index 1fc00729dd..30feef5318 100644
--- a/var/spack/repos/builtin/packages/ctpl/package.py
+++ b/var/spack/repos/builtin/packages/ctpl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,6 +19,7 @@ class Ctpl(AutotoolsPackage):
depends_on('automake', type='build')
depends_on('libtool', type='build')
depends_on('m4', type='build')
+ depends_on('gettext', type='build')
depends_on('gtk-doc')
depends_on('glib@2.10:')
diff --git a/var/spack/repos/builtin/packages/ctre/package.py b/var/spack/repos/builtin/packages/ctre/package.py
index 2dc188b775..d87ec5d745 100644
--- a/var/spack/repos/builtin/packages/ctre/package.py
+++ b/var/spack/repos/builtin/packages/ctre/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cub/package.py b/var/spack/repos/builtin/packages/cub/package.py
index dba0d2e980..f7b691fba3 100644
--- a/var/spack/repos/builtin/packages/cub/package.py
+++ b/var/spack/repos/builtin/packages/cub/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cube/package.py b/var/spack/repos/builtin/packages/cube/package.py
index d2eeb203c0..40ba3a836f 100644
--- a/var/spack/repos/builtin/packages/cube/package.py
+++ b/var/spack/repos/builtin/packages/cube/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cubelib/package.py b/var/spack/repos/builtin/packages/cubelib/package.py
index 7d6181c7c1..241fa9120a 100644
--- a/var/spack/repos/builtin/packages/cubelib/package.py
+++ b/var/spack/repos/builtin/packages/cubelib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cubew/package.py b/var/spack/repos/builtin/packages/cubew/package.py
index c21310601b..b616536f69 100644
--- a/var/spack/repos/builtin/packages/cubew/package.py
+++ b/var/spack/repos/builtin/packages/cubew/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cubist/package.py b/var/spack/repos/builtin/packages/cubist/package.py
index 70e851520d..ee2022ebd5 100644
--- a/var/spack/repos/builtin/packages/cubist/package.py
+++ b/var/spack/repos/builtin/packages/cubist/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cuda-memtest/package.py b/var/spack/repos/builtin/packages/cuda-memtest/package.py
index 5cd6940659..d9c8f21e10 100644
--- a/var/spack/repos/builtin/packages/cuda-memtest/package.py
+++ b/var/spack/repos/builtin/packages/cuda-memtest/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cuda/package.py b/var/spack/repos/builtin/packages/cuda/package.py
index ec9a11b160..67440925a4 100644
--- a/var/spack/repos/builtin/packages/cuda/package.py
+++ b/var/spack/repos/builtin/packages/cuda/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -23,17 +23,29 @@ import llnl.util.tty as tty
# format returned by platform.system() and 'arch' by platform.machine()
_versions = {
+ '11.2.1': {
+ 'Linux-aarch64': ('4b322fa6477d1a2cd2f2f526fa520c0f90bef2c264ef8435cb016bebb5456c5e', 'https://developer.download.nvidia.com/compute/cuda/11.2.1/local_installers/cuda_11.2.1_460.32.03_linux_sbsa.run'),
+ 'Linux-x86_64': ('1da98cb897cc5f58a7445a4a66ca4f6926867706cb3af58a669cdcd8dc3d17c8', 'https://developer.download.nvidia.com/compute/cuda/11.2.1/local_installers/cuda_11.2.1_460.32.03_linux.run'),
+ 'Linux-ppc64le': ('b3e8b6cd76872deb3acd050d32e197bc1c655e142b169070f0f9753680461a3f', 'https://developer.download.nvidia.com/compute/cuda/11.2.1/local_installers/cuda_11.2.1_460.32.03_linux_ppc64le.run')},
+ '11.2.0': {
+ 'Linux-aarch64': ('c11dc274660e9b47b0f25ca66861a7406246a7191f1b04d0710515fcac0fa6cd', 'https://developer.download.nvidia.com/compute/cuda/11.2.0/local_installers/cuda_11.2.0_460.27.04_linux_sbsa.run'),
+ 'Linux-x86_64': ('9c50283241ac325d3085289ed9b9c170531369de41165ce271352d4a898cbdce', 'https://developer.download.nvidia.com/compute/cuda/11.2.0/local_installers/cuda_11.2.0_460.27.04_linux.run'),
+ 'Linux-ppc64le': ('adc3267df5dbfdaf51cb4c9b227ba6bfd979a39d9b4136bba0eba6b1dd2a2731', 'https://developer.download.nvidia.com/compute/cuda/11.2.0/local_installers/cuda_11.2.0_460.27.04_linux_ppc64le.run')},
+ '11.1.1': {
+ 'Linux-aarch64': ('9ab1dbafba205c06bea8c88e38cdadb3038af19cb56e7b3ba734d3d7a84b8f02', 'https://developer.download.nvidia.com/compute/cuda/11.1.1/local_installers/cuda_11.1.1_455.32.00_linux_sbsa.run'),
+ 'Linux-x86_64': ('3eae6727086024925ebbcef3e9a45ad379d8490768fd00f9c2d8b6fd9cd8dd8f', 'https://developer.download.nvidia.com/compute/cuda/11.1.1/local_installers/cuda_11.1.1_455.32.00_linux.run'),
+ 'Linux-ppc64le': ('023e571fe26ee829c98138dfc305a92279854aac7d184d255fd58c06c6af3c17', 'https://developer.download.nvidia.com/compute/cuda/11.1.1/local_installers/cuda_11.1.1_455.32.00_linux_ppc64le.run')},
'11.1.0': {
'Linux-aarch64': ('878cbd36c5897468ef28f02da50b2f546af0434a8a89d1c724a4d2013d6aa993', 'https://developer.download.nvidia.com/compute/cuda/11.1.0/local_installers/cuda_11.1.0_455.23.05_linux_sbsa.run'),
'Linux-x86_64': ('858cbab091fde94556a249b9580fadff55a46eafbcb4d4a741d2dcd358ab94a5', 'https://developer.download.nvidia.com/compute/cuda/11.1.0/local_installers/cuda_11.1.0_455.23.05_linux.run'),
'Linux-ppc64le': ('a561e6f7f659bc4100e4713523b0b8aad6b36aa77fac847f6423e7780c750064', 'https://developer.download.nvidia.com/compute/cuda/11.1.0/local_installers/cuda_11.1.0_455.23.05_linux_ppc64le.run')},
'11.0.2': {
- 'Linux-aarch64': ('23851e30f7c47a1baad92891abde0adbc783de5962c7480b9725198ceacda4a0', 'http://developer.download.nvidia.com/compute/cuda/11.0.2/local_installers/cuda_11.0.2_450.51.05_linux_sbsa.run'),
- 'Linux-x86_64': ('48247ada0e3f106051029ae8f70fbd0c238040f58b0880e55026374a959a69c1', 'http://developer.download.nvidia.com/compute/cuda/11.0.2/local_installers/cuda_11.0.2_450.51.05_linux.run'),
- 'Linux-ppc64le': ('db06d0f3fbf6f7aa1f106fc921ad1c86162210a26e8cb65b171c5240a3bf75da', 'http://developer.download.nvidia.com/compute/cuda/11.0.2/local_installers/cuda_11.0.2_450.51.05_linux_ppc64le.run')},
+ 'Linux-aarch64': ('23851e30f7c47a1baad92891abde0adbc783de5962c7480b9725198ceacda4a0', 'https://developer.download.nvidia.com/compute/cuda/11.0.2/local_installers/cuda_11.0.2_450.51.05_linux_sbsa.run'),
+ 'Linux-x86_64': ('48247ada0e3f106051029ae8f70fbd0c238040f58b0880e55026374a959a69c1', 'https://developer.download.nvidia.com/compute/cuda/11.0.2/local_installers/cuda_11.0.2_450.51.05_linux.run'),
+ 'Linux-ppc64le': ('db06d0f3fbf6f7aa1f106fc921ad1c86162210a26e8cb65b171c5240a3bf75da', 'https://developer.download.nvidia.com/compute/cuda/11.0.2/local_installers/cuda_11.0.2_450.51.05_linux_ppc64le.run')},
'10.2.89': {
- 'Linux-x86_64': ('560d07fdcf4a46717f2242948cd4f92c5f9b6fc7eae10dd996614da913d5ca11', 'http://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda_10.2.89_440.33.01_linux.run'),
- 'Linux-ppc64le': ('5227774fcb8b10bd2d8714f0a716a75d7a2df240a9f2a49beb76710b1c0fc619', 'http://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda_10.2.89_440.33.01_linux_ppc64le.run')},
+ 'Linux-x86_64': ('560d07fdcf4a46717f2242948cd4f92c5f9b6fc7eae10dd996614da913d5ca11', 'https://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda_10.2.89_440.33.01_linux.run'),
+ 'Linux-ppc64le': ('5227774fcb8b10bd2d8714f0a716a75d7a2df240a9f2a49beb76710b1c0fc619', 'https://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda_10.2.89_440.33.01_linux_ppc64le.run')},
'10.1.243': {
'Linux-x86_64': ('e7c22dc21278eb1b82f34a60ad7640b41ad3943d929bebda3008b72536855d31', 'https://developer.download.nvidia.com/compute/cuda/10.1/Prod/local_installers/cuda_10.1.243_418.87.00_linux.run'),
'Linux-ppc64le': ('b198002eef010bab9e745ae98e47567c955d00cf34cc8f8d2f0a6feb810523bf', 'https://developer.download.nvidia.com/compute/cuda/10.1/Prod/local_installers/cuda_10.1.243_418.87.00_linux_ppc64le.run')},
@@ -89,6 +101,9 @@ class Cuda(Package):
depends_on('libxml2', when='@10.1.243:')
+ provides('opencl@:1.2', when='@7:')
+ provides('opencl@:1.1', when='@:6')
+
@classmethod
def determine_version(cls, exe):
output = Executable(exe)('--version', output=str, error=str)
@@ -126,6 +141,15 @@ class Cuda(Package):
# https://gist.github.com/ax3l/9489132
# for details.
+ # CUDA 10.1 on ppc64le fails to copy some files, the workaround is adapted from
+ # https://forums.developer.nvidia.com/t/cuda-10-1-243-10-1-update-2-ppc64le-run-file-installation-issue/82433
+ # See also #21170
+ if spec.satisfies('@10.1.243') and platform.machine() == 'ppc64le':
+ includedir = "targets/ppc64le-linux/include"
+ os.makedirs(os.path.join(prefix, includedir))
+ os.makedirs(os.path.join(prefix, "src"))
+ os.symlink(includedir, os.path.join(prefix, "include"))
+
# CUDA 10.1+ has different cmdline options for the installer
arguments = [
runfile, # the install script
diff --git a/var/spack/repos/builtin/packages/cudnn/package.py b/var/spack/repos/builtin/packages/cudnn/package.py
index 7b9e310524..41fba0368c 100644
--- a/var/spack/repos/builtin/packages/cudnn/package.py
+++ b/var/spack/repos/builtin/packages/cudnn/package.py
@@ -1,233 +1,176 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
import os
from spack import *
-
-
-class Cudnn(Package):
- """NVIDIA cuDNN is a GPU-accelerated library of primitives for deep
- neural networks"""
-
- homepage = "https://developer.nvidia.com/cudnn"
-
- # Latest versions available at:
- # https://developer.nvidia.com/rdp/cudnn-download
- # Archived versions available at:
- # https://developer.nvidia.com/rdp/cudnn-archive
- # Note that download links don't work from command line,
- # need to use modified URLs like in url_for_version.
-
- maintainers = ['adamjstewart']
-
- # cudNN 8.0.4
- version('8.0.4.30-11.1-linux-x64',
- sha256='8f4c662343afce5998ce963500fe3bb167e9a508c1a1a949d821a4b80fa9beab')
- version('8.0.4.30-11.1-linux-ppc64le',
- sha256='b4ddb51610cbae806017616698635a9914c3e1eb14259f3a39ee5c84e7106712')
- version('8.0.4.30-11.0-linux-x64',
- sha256='38a81a28952e314e21577432b0bab68357ef9de7f6c8858f721f78df9ee60c35',
- preferred=True)
- version('8.0.4.30-11.0-linux-ppc64le',
- sha256='8da8ed689b1a348182ddd3f59b6758a502e11dc6708c33f96e3b4a40e033d2e1')
- version('8.0.4.30-10.2-linux-x64',
- sha256='c12c69eb16698eacac40aa46b9ce399d4cd86efb6ff0c105142f8a28fcfb980e')
- version('8.0.4.30-10.2-linux-ppc64le',
- sha256='32a5b92f9e1ef2be90e10f220c4ab144ca59d215eb6a386e93597f447aa6507e')
- version('8.0.4.30-10.1-linux-x64',
- sha256='eb4b888e61715168f57a0a0a21c281ada6856b728e5112618ed15f8637487715')
- version('8.0.4.30-10.1-linux-ppc64le',
- sha256='690811bbf04adef635f4a6f480575fc2a558c4a2c98c85c7090a3a8c60dacea9')
+import platform
+
+_versions = {
+ # cuDNN 8.0.4
+ '8.0.4.30-11.1': {
+ 'Linux-x86_64': '8f4c662343afce5998ce963500fe3bb167e9a508c1a1a949d821a4b80fa9beab',
+ 'Linux-ppc64le': 'b4ddb51610cbae806017616698635a9914c3e1eb14259f3a39ee5c84e7106712'},
+ '8.0.4.30-11.0': {
+ 'Linux-x86_64': '38a81a28952e314e21577432b0bab68357ef9de7f6c8858f721f78df9ee60c35',
+ 'Linux-ppc64le': '8da8ed689b1a348182ddd3f59b6758a502e11dc6708c33f96e3b4a40e033d2e1'},
+ '8.0.4.30-10.2': {
+ 'Linux-x86_64': 'c12c69eb16698eacac40aa46b9ce399d4cd86efb6ff0c105142f8a28fcfb980e',
+ 'Linux-ppc64le': '32a5b92f9e1ef2be90e10f220c4ab144ca59d215eb6a386e93597f447aa6507e'},
+ '8.0.4.30-10.1': {
+ 'Linux-x86_64': 'eb4b888e61715168f57a0a0a21c281ada6856b728e5112618ed15f8637487715',
+ 'Linux-ppc64le': '690811bbf04adef635f4a6f480575fc2a558c4a2c98c85c7090a3a8c60dacea9'},
# cuDNN 8.0.3
- version('8.0.3.33-11.0-linux-x64',
- sha256='8924bcc4f833734bdd0009050d110ad0c8419d3796010cf7bc515df654f6065a')
- version('8.0.3.33-11.0-linux-ppc64le',
- sha256='c2d0519831137b43d0eebe07522edb4ef5d62320e65e5d5fa840a9856f25923d')
- version('8.0.3.33-10.2-linux-x64',
- sha256='b3d487c621e24b5711983b89bb8ad34f0378bdbf8a1a4b86eefaa23b19956dcc')
- version('8.0.3.33-10.2-linux-ppc64le',
- sha256='ff22c9c37af191c9104989d784427cde744cdde879bfebf3e4e55ca6a9634a11')
- version('8.0.3.33-10.1-linux-x64',
- sha256='4752ac6aea4e4d2226061610d6843da6338ef75a93518aa9ce50d0f58df5fb07')
- version('8.0.3.33-10.1-linux-ppc64le',
- sha256='c546175f6ec86a11ee8fb9ab5526fa8d854322545769a87d35b1a505992f89c3')
+ '8.0.3.33-11.0': {
+ 'Linux-x86_64': '8924bcc4f833734bdd0009050d110ad0c8419d3796010cf7bc515df654f6065a',
+ 'Linux-ppc64le': 'c2d0519831137b43d0eebe07522edb4ef5d62320e65e5d5fa840a9856f25923d'},
+ '8.0.3.33-10.2': {
+ 'Linux-x86_64': 'b3d487c621e24b5711983b89bb8ad34f0378bdbf8a1a4b86eefaa23b19956dcc',
+ 'Linux-ppc64le': 'ff22c9c37af191c9104989d784427cde744cdde879bfebf3e4e55ca6a9634a11'},
+ '8.0.3.33-10.1': {
+ 'Linux-x86_64': '4752ac6aea4e4d2226061610d6843da6338ef75a93518aa9ce50d0f58df5fb07',
+ 'Linux-ppc64le': 'c546175f6ec86a11ee8fb9ab5526fa8d854322545769a87d35b1a505992f89c3'},
# cuDNN 8.0.2
- version('8.0.2.39-11.0-linux-x64',
- sha256='672f46288b8edd98f8d156a4f1ff518201ca6de0cff67915ceaa37f6d6d86345')
- version('8.0.2.39-11.0-linux-ppc64le',
- sha256='b7c1ce5b1191eb007ba3455ea5f497fdce293a646545d8a6ed93e9bb06d7f057')
- version('8.0.2.39-10.2-linux-x64',
- sha256='c9cbe5c211360f3cfbc0fb104f0e9096b37e53f89392525679f049276b2f701f')
- version('8.0.2.39-10.2-linux-ppc64le',
- sha256='c32325ff84a8123491f2e58b3694885a9a672005bc21764b38874688c0e43262')
- version('8.0.2.39-10.1-linux-x64',
- sha256='82148a68bd6bdaab93af5e05bb1842b8ccb3ab7de7bed41f609a7616c102213d')
- version('8.0.2.39-10.1-linux-ppc64le',
- sha256='8196ec4f031356317baeccefbc4f61c8fccb2cf0bdef0a6431438918ddf68fb9')
+ '8.0.2.39-11.0': {
+ 'Linux-x86_64': '672f46288b8edd98f8d156a4f1ff518201ca6de0cff67915ceaa37f6d6d86345',
+ 'Linux-ppc64le': 'b7c1ce5b1191eb007ba3455ea5f497fdce293a646545d8a6ed93e9bb06d7f057'},
+ '8.0.2.39-10.2': {
+ 'Linux-x86_64': 'c9cbe5c211360f3cfbc0fb104f0e9096b37e53f89392525679f049276b2f701f',
+ 'Linux-ppc64le': 'c32325ff84a8123491f2e58b3694885a9a672005bc21764b38874688c0e43262'},
+ '8.0.2.39-10.1': {
+ 'Linux-x86_64': '82148a68bd6bdaab93af5e05bb1842b8ccb3ab7de7bed41f609a7616c102213d',
+ 'Linux-ppc64le': '8196ec4f031356317baeccefbc4f61c8fccb2cf0bdef0a6431438918ddf68fb9'},
# cuDNN 8.0
- version('8.0.0.180-11.0-linux-x64',
- sha256='9e75ea70280a77de815e0bdc85d08b67e081bc99a708b574092142344d2ba07e')
- version('8.0.0.180-11.0-linux-ppc64le',
- sha256='1229e94731bbca63ee7f5a239f4e1838a51a301d896f3097fbf7377d74704060')
- version('8.0.0.180-10.2-linux-x64',
- sha256='0c87c12358ee2b99d57c2a8c7560e3bb93e54bb929f5f8bec4964a72a2bb261d')
- version('8.0.0.180-10.2-linux-ppc64le',
- sha256='59e4ad6db15fcc374976e8052fe39e3f30f34079710fb3c7751a64c853d9243f')
+ '8.0.0.180-11.0': {
+ 'Linux-x86_64': '9e75ea70280a77de815e0bdc85d08b67e081bc99a708b574092142344d2ba07e',
+ 'Linux-ppc64le': '1229e94731bbca63ee7f5a239f4e1838a51a301d896f3097fbf7377d74704060'},
+ '8.0.0.180-10.2': {
+ 'Linux-x86_64': '0c87c12358ee2b99d57c2a8c7560e3bb93e54bb929f5f8bec4964a72a2bb261d',
+ 'Linux-ppc64le': '59e4ad6db15fcc374976e8052fe39e3f30f34079710fb3c7751a64c853d9243f'},
# cuDNN 7.6.5
- version('7.6.5.32-10.2-linux-x64',
- sha256='600267f2caaed2fd58eb214ba669d8ea35f396a7d19b94822e6b36f9f7088c20')
- version('7.6.5.32-10.2-linux-ppc64le',
- sha256='7dc08b6ab9331bfd12207d4802c61db1ad7cace7395b67a6e7b16efa0335668b')
- version('7.6.5.32-10.1-linux-x64',
- sha256='7eaec8039a2c30ab0bc758d303588767693def6bf49b22485a2c00bf2e136cb3')
- version('7.6.5.32-10.1-osx-x64',
- sha256='8ecce28a5ed388a2b9b2d239e08d7c550f53b79288e6d9e5eb4c152bfc711aff')
- version('7.6.5.32-10.1-linux-ppc64le',
- sha256='97b2faf73eedfc128f2f5762784d21467a95b2d5ba719825419c058f427cbf56')
-
- version('7.6.5.32-10.0-linux-x64',
- sha256='28355e395f0b2b93ac2c83b61360b35ba6cd0377e44e78be197b6b61b4b492ba')
- version('7.6.5.32-10.0-osx-x64',
- sha256='6fa0b819374da49102e285ecf7fcb8879df4d0b3cc430cc8b781cdeb41009b47')
- version('7.6.5.32-10.0-linux-ppc64le',
- sha256='b1717f4570083bbfc6b8b59f280bae4e4197cc1cb50e9d873c05adf670084c5b')
-
- version('7.6.5.32-9.2-linux-x64',
- sha256='a2a2c7a8ba7b16d323b651766ee37dcfdbc2b50d920f73f8fde85005424960e4')
- version('7.6.5.32-9.2-linux-ppc64le',
- sha256='a11f44f9a827b7e69f527a9d260f1637694ff7c1674a3e46bd9ec054a08f9a76')
-
- version('7.6.5.32-9.0-linux-x64',
- sha256='bd0a4c0090d5b02feec3f195738968690cc2470b9bc6026e6fe8ff245cd261c8')
+ '7.6.5.32-10.2': {
+ 'Linux-x86_64': '600267f2caaed2fd58eb214ba669d8ea35f396a7d19b94822e6b36f9f7088c20',
+ 'Linux-ppc64le': '7dc08b6ab9331bfd12207d4802c61db1ad7cace7395b67a6e7b16efa0335668b'},
+ '7.6.5.32-10.1': {
+ 'Linux-x86_64': '7eaec8039a2c30ab0bc758d303588767693def6bf49b22485a2c00bf2e136cb3',
+ 'Darwin-x86_64': '8ecce28a5ed388a2b9b2d239e08d7c550f53b79288e6d9e5eb4c152bfc711aff',
+ 'Linux-ppc64le': '97b2faf73eedfc128f2f5762784d21467a95b2d5ba719825419c058f427cbf56'},
+
+ '7.6.5.32-10.0': {
+ 'Linux-x86_64': '28355e395f0b2b93ac2c83b61360b35ba6cd0377e44e78be197b6b61b4b492ba',
+ 'Darwin-x86_64': '6fa0b819374da49102e285ecf7fcb8879df4d0b3cc430cc8b781cdeb41009b47',
+ 'Linux-ppc64le': 'b1717f4570083bbfc6b8b59f280bae4e4197cc1cb50e9d873c05adf670084c5b'},
+
+ '7.6.5.32-9.2': {
+ 'Linux-x86_64': 'a2a2c7a8ba7b16d323b651766ee37dcfdbc2b50d920f73f8fde85005424960e4',
+ 'Linux-ppc64le': 'a11f44f9a827b7e69f527a9d260f1637694ff7c1674a3e46bd9ec054a08f9a76'},
+
+ '7.6.5.32-9.0': {
+ 'Linux-x86_64': 'bd0a4c0090d5b02feec3f195738968690cc2470b9bc6026e6fe8ff245cd261c8'},
# cuDNN 7.6.4
- version('7.6.4.38-10.1-linux-x64',
- sha256='32091d115c0373027418620a09ebec3658a6bc467d011de7cdd0eb07d644b099')
- version('7.6.4.38-10.1-osx-x64',
- sha256='bfced062c3689ced2c1fb49c7d5052e6bc3da6974c1eb707e4dcf8cd209d4236')
- version('7.6.4.38-10.1-linux-ppc64le',
- sha256='f3615fea50986a4dfd05d7a0cf83396dfdceefa9c209e8bf9691e20a48e420ce')
-
- version('7.6.4.38-10.0-linux-x64',
- sha256='417bb5daf51377037eb2f5c87649000ca1b9cec0acb16cfe07cb1d3e9a961dbf')
- version('7.6.4.38-10.0-osx-x64',
- sha256='af01ab841caec25087776a6b8fc7782883da12e590e24825ad1031f9ae0ed4b1')
- version('7.6.4.38-10.0-linux-ppc64le',
- sha256='c1725ad6bd7d7741e080a1e6da4b62eac027a94ac55c606cce261e3f829400bb')
-
- version('7.6.4.38-9.2-linux-x64',
- sha256='c79156531e641289b6a6952888b9637059ef30defd43c3cf82acf38d67f60a27')
- version('7.6.4.38-9.2-linux-ppc64le',
- sha256='98d8aae2dcd851558397a9a30b73242f257e1556be17c83650e63a0685969884')
-
- version('7.6.4.38-9.0-linux-x64',
- sha256='8db78c3623c192d4f03f3087b41c32cb0baac95e13408b5d9dabe626cb4aab5d')
+ '7.6.4.38-10.1': {
+ 'Linux-x86_64': '32091d115c0373027418620a09ebec3658a6bc467d011de7cdd0eb07d644b099',
+ 'Darwin-x86_64': 'bfced062c3689ced2c1fb49c7d5052e6bc3da6974c1eb707e4dcf8cd209d4236',
+ 'Linux-ppc64le': 'f3615fea50986a4dfd05d7a0cf83396dfdceefa9c209e8bf9691e20a48e420ce'},
+
+ '7.6.4.38-10.0': {
+ 'Linux-x86_64': '417bb5daf51377037eb2f5c87649000ca1b9cec0acb16cfe07cb1d3e9a961dbf',
+ 'Darwin-x86_64': 'af01ab841caec25087776a6b8fc7782883da12e590e24825ad1031f9ae0ed4b1',
+ 'Linux-ppc64le': 'c1725ad6bd7d7741e080a1e6da4b62eac027a94ac55c606cce261e3f829400bb'},
+
+ '7.6.4.38-9.2': {
+ 'Linux-x86_64': 'c79156531e641289b6a6952888b9637059ef30defd43c3cf82acf38d67f60a27',
+ 'Linux-ppc64le': '98d8aae2dcd851558397a9a30b73242f257e1556be17c83650e63a0685969884'},
+
+ '7.6.4.38-9.0': {
+ 'Linux-x86_64': '8db78c3623c192d4f03f3087b41c32cb0baac95e13408b5d9dabe626cb4aab5d'},
# cuDNN 7.6.3
- version('7.6.3.30-10.1-linux-x64',
- sha256='352557346d8111e2f954c494be1a90207103d316b8777c33e62b3a7f7b708961')
- version('7.6.3.30-10.1-linux-ppc64le',
- sha256='f274735a8fc31923d3623b1c3d2b1d0d35bb176687077c6a4d4353c6b900d8ee')
+ '7.6.3.30-10.1': {
+ 'Linux-x86_64': '352557346d8111e2f954c494be1a90207103d316b8777c33e62b3a7f7b708961',
+ 'Linux-ppc64le': 'f274735a8fc31923d3623b1c3d2b1d0d35bb176687077c6a4d4353c6b900d8ee'},
# cuDNN 7.5.1
- version('7.5.1.10-10.1-linux-x64',
- sha256='2c833f43c9147d9a25a20947a4c5a5f5c33b2443240fd767f63b330c482e68e0')
- version('7.5.1.10-10.1-linux-ppc64le',
- sha256='a9e23bc83c970daec20874ccd1d8d80b648adf15440ecd0164818b330b1e2663')
+ '7.5.1.10-10.1': {
+ 'Linux-x86_64': '2c833f43c9147d9a25a20947a4c5a5f5c33b2443240fd767f63b330c482e68e0',
+ 'Linux-ppc64le': 'a9e23bc83c970daec20874ccd1d8d80b648adf15440ecd0164818b330b1e2663'},
- version('7.5.1.10-10.0-linux-x64',
- sha256='c0a4ec438920aa581dd567117b9c316745b4a451ac739b1e04939a3d8b229985')
- version('7.5.1.10-10.0-linux-ppc64le',
- sha256='d9205718da5fbab85433476f9ff61fcf4b889d216d6eea26753bbc24d115dd70')
+ '7.5.1.10-10.0': {
+ 'Linux-x86_64': 'c0a4ec438920aa581dd567117b9c316745b4a451ac739b1e04939a3d8b229985',
+ 'Linux-ppc64le': 'd9205718da5fbab85433476f9ff61fcf4b889d216d6eea26753bbc24d115dd70'},
# cuDNN 7.5.0
- version('7.5.0.56-10.1-linux-x64',
- sha256='c31697d6b71afe62838ad2e57da3c3c9419c4e9f5635d14b683ebe63f904fbc8')
- version('7.5.0.56-10.1-linux-ppc64le',
- sha256='15415eb714ab86ab6c7531f2cac6474b5dafd989479b062776c670b190e43638')
+ '7.5.0.56-10.1': {
+ 'Linux-x86_64': 'c31697d6b71afe62838ad2e57da3c3c9419c4e9f5635d14b683ebe63f904fbc8',
+ 'Linux-ppc64le': '15415eb714ab86ab6c7531f2cac6474b5dafd989479b062776c670b190e43638'},
- version('7.5.0.56-10.0-linux-x64',
- sha256='701097882cb745d4683bb7ff6c33b8a35c7c81be31bac78f05bad130e7e0b781')
- version('7.5.0.56-10.0-linux-ppc64le',
- sha256='f0c1cbd9de553c8e2a3893915bd5fff57b30e368ef4c964d783b6a877869e93a')
+ '7.5.0.56-10.0': {
+ 'Linux-x86_64': '701097882cb745d4683bb7ff6c33b8a35c7c81be31bac78f05bad130e7e0b781',
+ 'Linux-ppc64le': 'f0c1cbd9de553c8e2a3893915bd5fff57b30e368ef4c964d783b6a877869e93a'},
# cuDNN 7.3.0
- version('7.3.0.29-9.0-linux-x64',
- sha256='403f9043ff2c7b2c5967454872275d07bca11fd41dfc7b21995eadcad6dbe49b')
+ '7.3.0.29-9.0': {
+ 'Linux-x86_64': '403f9043ff2c7b2c5967454872275d07bca11fd41dfc7b21995eadcad6dbe49b'},
# cuDNN 7.2.1
- version('7.2.1.38-9.0-linux-x64',
- sha256='cf007437b9ac6250ec63b89c25f248d2597fdd01369c80146567f78e75ce4e37')
+ '7.2.1.38-9.0': {
+ 'Linux-x86_64': 'cf007437b9ac6250ec63b89c25f248d2597fdd01369c80146567f78e75ce4e37'},
# cuDNN 7.1.3
- version('7.1.3-9.1-linux-x64',
- sha256='dd616d3794167ceb923d706bf73e8d6acdda770751492b921ee6827cdf190228')
- version('7.1.3-9.1-linux-ppc64le',
- sha256='e3b4837f711b98a52faacc872a68b332c833917ef3cf87c0108f1d01af9b2931')
+ '7.1.3-9.1': {
+ 'Linux-x86_64': 'dd616d3794167ceb923d706bf73e8d6acdda770751492b921ee6827cdf190228',
+ 'Linux-ppc64le': 'e3b4837f711b98a52faacc872a68b332c833917ef3cf87c0108f1d01af9b2931'},
# cuDNN 6.0
- version('6.0-8.0-linux-x64',
- sha256='9b09110af48c9a4d7b6344eb4b3e344daa84987ed6177d5c44319732f3bb7f9c')
+ '6.0-8.0': {
+ 'Linux-x86_64': '9b09110af48c9a4d7b6344eb4b3e344daa84987ed6177d5c44319732f3bb7f9c'},
# cuDNN 5.1
- version('5.1-8.0-linux-x64',
- sha256='c10719b36f2dd6e9ddc63e3189affaa1a94d7d027e63b71c3f64d449ab0645ce')
-
- # CUDA 10.2
- depends_on('cuda@10.2.0:10.2.999', when='@7.6.5.32-10.2-linux-x64')
-
- # CUDA 10.1
- depends_on('cuda@10.1.0:10.1.999', when='@7.6.5.32-10.1-osx-x64')
- depends_on('cuda@10.1.0:10.1.999', when='@7.6.5.32-10.1-linux-x64')
- depends_on('cuda@10.1.0:10.1.999', when='@7.6.5.32-10.1-linux-ppc64le')
- depends_on('cuda@10.1.0:10.1.999', when='@7.6.4.38-10.1-osx-x64')
- depends_on('cuda@10.1.0:10.1.999', when='@7.6.4.38-10.1-linux-x64')
- depends_on('cuda@10.1.0:10.1.999', when='@7.6.4.38-10.1-linux-ppc64le')
- depends_on('cuda@10.1.0:10.1.999', when='@7.6.3.30-10.1-linux-x64')
- depends_on('cuda@10.1.0:10.1.999', when='@7.6.3.30-10.1-linux-ppc64le')
- depends_on('cuda@10.1.0:10.1.999', when='@7.5.0.56-10.1-linux-x64')
- depends_on('cuda@10.1.0:10.1.999', when='@7.5.0.56-10.1-linux-ppc64le')
-
- # CUDA 10.0
- depends_on('cuda@10.0.0:10.0.999', when='@7.6.5.32-10.0-osx-x64')
- depends_on('cuda@10.0.0:10.0.999', when='@7.6.5.32-10.0-linux-x64')
- depends_on('cuda@10.0.0:10.0.999', when='@7.6.5.32-10.0-linux-ppc64le')
- depends_on('cuda@10.0.0:10.0.999', when='@7.6.4.38-10.0-osx-x64')
- depends_on('cuda@10.0.0:10.0.999', when='@7.6.4.38-10.0-linux-x64')
- depends_on('cuda@10.0.0:10.0.999', when='@7.6.4.38-10.0-linux-ppc64le')
- depends_on('cuda@10.0.0:10.0.999', when='@7.5.1.10-10.0-linux-x64')
- depends_on('cuda@10.0.0:10.0.999', when='@7.5.1.10-10.0-linux-ppc64le')
- depends_on('cuda@10.0.0:10.0.999', when='@7.5.0.56-10.0-linux-x64')
- depends_on('cuda@10.0.0:10.0.999', when='@7.5.0.56-10.0-linux-ppc64le')
-
- # CUDA 9.2
- depends_on('cuda@9.2.0:9.2.999', when='@7.6.5.32-9.2-linux-x64')
- depends_on('cuda@9.2.0:9.2.999', when='@7.6.5.32-9.2-linux-ppc64le')
- depends_on('cuda@9.2.0:9.2.999', when='@7.6.4.38-9.2-linux-x64')
- depends_on('cuda@9.2.0:9.2.999', when='@7.6.4.38-9.2-linux-ppc64le')
-
- # CUDA 9.1
- depends_on('cuda@9.1.0:9.1.999', when='@7.1.3-9.1-linux-x64')
- depends_on('cuda@9.1.0:9.1.999', when='@7.1.3-9.1-linux-ppc64le')
-
- # CUDA 9.0
- depends_on('cuda@9.0.0:9.0.999', when='@7.6.5.32-9.0-linux-x64')
- depends_on('cuda@9.0.0:9.0.999', when='@7.6.4.38-9.0-linux-x64')
- depends_on('cuda@9.0.0:9.0.999', when='@7.3.0.29-9.0-linux-x64')
- depends_on('cuda@9.0.0:9.0.999', when='@7.2.1.38-9.0-linux-x64')
-
- # CUDA 8.0
- depends_on('cuda@8.0.0:8.0.999', when='@6.0-8.0-linux-x64')
- depends_on('cuda@8.0.0:8.0.999', when='@5.1-8.0-linux-x64')
+ '5.1-8.0': {
+ 'Linux-x86_64': 'c10719b36f2dd6e9ddc63e3189affaa1a94d7d027e63b71c3f64d449ab0645ce'},
+
+}
+
+
+class Cudnn(Package):
+ """NVIDIA cuDNN is a GPU-accelerated library of primitives for deep
+ neural networks"""
+
+ homepage = "https://developer.nvidia.com/cudnn"
+
+ # Latest versions available at:
+ # https://developer.nvidia.com/rdp/cudnn-download
+ # Archived versions available at:
+ # https://developer.nvidia.com/rdp/cudnn-archive
+ # Note that download links don't work from command line,
+ # need to use modified URLs like in url_for_version.
+
+ maintainers = ['adamjstewart', 'bvanessen']
+
+ for ver, packages in _versions.items():
+ key = "{0}-{1}".format(platform.system(), platform.machine())
+ pkg = packages.get(key)
+ cudnn_ver, cuda_ver = ver.split('-')
+ long_ver = "{0}-{1}".format(cudnn_ver, cuda_ver)
+ if pkg:
+ version(long_ver, sha256=pkg)
+ # Add constraints matching CUDA version to cuDNN version
+ cuda_req = 'cuda@{0}.0:{0}.999'.format(cuda_ver)
+ cudnn_ver_req = '@{0}'.format(long_ver)
+ depends_on(cuda_req, when=cudnn_ver_req)
def url_for_version(self, version):
- url = 'https://developer.download.nvidia.com/compute/redist/cudnn/v{0}/cudnn-{1}-v{2}.tgz'
+ url = 'https://developer.download.nvidia.com/compute/redist/cudnn/v{0}/cudnn-{1}-{2}-v{3}.tgz'
+ # Get the system and machine arch for building the file path
+ sys = "{0}-{1}".format(platform.system(), platform.machine())
+ # Munge it to match Nvidia's naming scheme
+ sys_key = sys.lower().replace('x86_64', 'x64').replace('darwin', 'osx')
if version >= Version('7.2'):
directory = version[:3]
@@ -246,7 +189,7 @@ class Cudnn(Package):
ver = version[:2]
cuda = version[2:]
- return url.format(directory, cuda, ver)
+ return url.format(directory, cuda, sys_key, ver)
def setup_run_environment(self, env):
if 'target=ppc64le: platform=linux' in self.spec:
diff --git a/var/spack/repos/builtin/packages/cufflinks/package.py b/var/spack/repos/builtin/packages/cufflinks/package.py
index 93e8cb9075..1b9566e22f 100644
--- a/var/spack/repos/builtin/packages/cufflinks/package.py
+++ b/var/spack/repos/builtin/packages/cufflinks/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cunit/package.py b/var/spack/repos/builtin/packages/cunit/package.py
index 511f1d7c25..b555b16df9 100644
--- a/var/spack/repos/builtin/packages/cunit/package.py
+++ b/var/spack/repos/builtin/packages/cunit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cups/package.py b/var/spack/repos/builtin/packages/cups/package.py
index b2688064da..08e5270dc7 100644
--- a/var/spack/repos/builtin/packages/cups/package.py
+++ b/var/spack/repos/builtin/packages/cups/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/curl/package.py b/var/spack/repos/builtin/packages/curl/package.py
index 8cf695f6f0..8d6e91c1c2 100644
--- a/var/spack/repos/builtin/packages/curl/package.py
+++ b/var/spack/repos/builtin/packages/curl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,13 +11,16 @@ class Curl(AutotoolsPackage):
"""cURL is an open source command line tool and library for
transferring data with URL syntax"""
- homepage = "http://curl.haxx.se"
+ homepage = "https://curl.se/"
# URL must remain http:// so Spack can bootstrap curl
- url = "http://curl.haxx.se/download/curl-7.60.0.tar.bz2"
+ url = "http://curl.haxx.se/download/curl-7.74.0.tar.bz2"
+ version('7.74.0', sha256='0f4d63e6681636539dc88fa8e929f934cd3a840c46e0bf28c73be11e521b77a5')
+ version('7.73.0', sha256='cf34fe0b07b800f1c01a499a6e8b2af548f6d0e044dca4a29d88a4bee146d131')
version('7.72.0', sha256='ad91970864102a59765e20ce16216efc9d6ad381471f7accceceab7d905703ef')
version('7.71.0', sha256='600f00ac2481a89548a4141ddf983fd9386165e1960bac91d0a1c81dca5dd341')
version('7.68.0', sha256='207f54917dd6a2dc733065ccf18d61bb5bebeaceb5df49cd9445483e8623eeb9')
+ version('7.64.0', sha256='d573ba1c2d1cf9d8533fadcce480d778417964e8d04ccddcc76e591d544cf2eb')
version('7.63.0', sha256='9bab7ed4ecff77020a312d84cc5fb7eb02d58419d218f267477a724a17fd8dd8')
version('7.60.0', sha256='897dfb2204bd99be328279f88f55b7c61592216b0542fcbe995c60aa92871e9b')
version('7.59.0', sha256='b5920ffd6a8c95585fb95070e0ced38322790cb335c39d0dab852d12e157b5a0')
diff --git a/var/spack/repos/builtin/packages/cusz/package.py b/var/spack/repos/builtin/packages/cusz/package.py
index c846c31320..1b020c7493 100644
--- a/var/spack/repos/builtin/packages/cusz/package.py
+++ b/var/spack/repos/builtin/packages/cusz/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cvector/package.py b/var/spack/repos/builtin/packages/cvector/package.py
new file mode 100644
index 0000000000..d4c6d0c4f6
--- /dev/null
+++ b/var/spack/repos/builtin/packages/cvector/package.py
@@ -0,0 +1,25 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Cvector(MakefilePackage):
+ """CVector -- ANSI C API for Dynamic Arrays"""
+
+ homepage = "http://cvector.sourceforge.net/"
+ url = "https://downloads.sourceforge.net/project/cvector/cvector/CVector-1.0.3/CVector-1.0.3.tar.gz"
+
+ version('1.0.3', sha256='d3fa92de3cd5ba8697abdbb52080248b2c252a81cf40a8ec639be301518d0ce3')
+
+ depends_on('libtool', type='build')
+
+ def edit(self, spec, prefix):
+ mf = FileFilter('Makefile')
+ mf.filter(r'^CC.+', "CC = {0}".format(spack_cc))
+ mf.filter(r'^INSTALL_PREFIX .+', "INSTALL_PREFIX = {0}".format(prefix))
+
+ def build(self, spec, prefix):
+ pass
diff --git a/var/spack/repos/builtin/packages/cvs/package.py b/var/spack/repos/builtin/packages/cvs/package.py
index 7dd3cd129b..a6fef2ef0a 100644
--- a/var/spack/repos/builtin/packages/cvs/package.py
+++ b/var/spack/repos/builtin/packages/cvs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cxx/package.py b/var/spack/repos/builtin/packages/cxx/package.py
index 0be36c3ae5..f06949b698 100644
--- a/var/spack/repos/builtin/packages/cxx/package.py
+++ b/var/spack/repos/builtin/packages/cxx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cxxopts/package.py b/var/spack/repos/builtin/packages/cxxopts/package.py
index e5bd1d68ef..ad0927727e 100644
--- a/var/spack/repos/builtin/packages/cxxopts/package.py
+++ b/var/spack/repos/builtin/packages/cxxopts/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/cxxtest/package.py b/var/spack/repos/builtin/packages/cxxtest/package.py
new file mode 100644
index 0000000000..a8d9df2359
--- /dev/null
+++ b/var/spack/repos/builtin/packages/cxxtest/package.py
@@ -0,0 +1,18 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Cxxtest(Package):
+ """C++ unit test system."""
+
+ homepage = "https://cxxtest.com/"
+ url = "https://sourceforge.net/projects/cxxtest/files/cxxtest/4.4/cxxtest-4.4.tar.gz/download"
+
+ version('4.4', sha256='1c154fef91c65dbf1cd4519af7ade70a61d85a923b6e0c0b007dc7f4895cf7d8')
+
+ def install(self, spec, prefix):
+ install_tree(self.stage.source_path, prefix)
diff --git a/var/spack/repos/builtin/packages/cyrus-sasl/package.py b/var/spack/repos/builtin/packages/cyrus-sasl/package.py
index 98848ccff9..355180ab79 100644
--- a/var/spack/repos/builtin/packages/cyrus-sasl/package.py
+++ b/var/spack/repos/builtin/packages/cyrus-sasl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/czmq/package.py b/var/spack/repos/builtin/packages/czmq/package.py
index acd128adc1..c09987df73 100644
--- a/var/spack/repos/builtin/packages/czmq/package.py
+++ b/var/spack/repos/builtin/packages/czmq/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,7 +19,7 @@ class Czmq(AutotoolsPackage):
depends_on('automake', type='build')
depends_on('autoconf', type='build')
depends_on('pkgconfig', type='build')
- depends_on('libuuid')
+ depends_on('uuid')
depends_on('libzmq')
def autoreconf(self, spec, prefix):
diff --git a/var/spack/repos/builtin/packages/dakota/package.py b/var/spack/repos/builtin/packages/dakota/package.py
index 20ce29f7a9..6cb35bcf8a 100644
--- a/var/spack/repos/builtin/packages/dakota/package.py
+++ b/var/spack/repos/builtin/packages/dakota/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -44,6 +44,7 @@ class Dakota(CMakePackage):
depends_on('mpi', when='+mpi')
depends_on('python')
+ depends_on('perl-data-dumper', type='build', when='@6.12:')
depends_on('boost@:1.68.0', when='@:6.12')
depends_on('cmake@2.8.9:', type='build')
diff --git a/var/spack/repos/builtin/packages/daligner/package.py b/var/spack/repos/builtin/packages/daligner/package.py
index 8f05e8b9c0..4db5d6dda8 100644
--- a/var/spack/repos/builtin/packages/daligner/package.py
+++ b/var/spack/repos/builtin/packages/daligner/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dalton/package.py b/var/spack/repos/builtin/packages/dalton/package.py
new file mode 100644
index 0000000000..e38b430274
--- /dev/null
+++ b/var/spack/repos/builtin/packages/dalton/package.py
@@ -0,0 +1,46 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Dalton(CMakePackage):
+ """
+ The Dalto nprogram is designed to allow convenient,
+ automated determination of a largenumber of molecular properties
+ based on an HF, HF-srDFT, DFT, MP2, CC, CI, MCSCF or MC-srDFT
+ reference wave function.
+ """
+
+ homepage = "https://daltonprogram.org"
+ git = 'https://gitlab.com/dalton/dalton.git'
+
+ version('2020.0', branch='Dalton2020.0', submodules=True)
+
+ depends_on('blas')
+ depends_on('lapack')
+ depends_on('mpi')
+
+ def setup_run_environment(self, env):
+ env.prepend_path('PATH', self.spec.prefix.join('dalton'))
+
+ def cmake_args(self):
+ spec = self.spec
+
+ args = ['-DENABLE_BUILTIN_BLAS=OFF',
+ '-DENABLE_BUILTIN_LAPACK=OFF',
+ '-DUSE_BUILTIN_LAPACK=OFF',
+ '-DENABLE_STATIC_LINKING=OFF',
+ '-DENABLE_MPI=ON',
+ '-DCMAKE_C_COMPILER={0}'.format(
+ spec['mpi'].prefix.bin.mpicc),
+ '-DCMAKE_CXX_COMPILER={0}'.format(
+ spec['mpi'].prefix.bin.mpicxx),
+ '-DCMAKE_Fortran_COMPILER={0}'.format(
+ spec['mpi'].prefix.bin.mpif90),
+ '-DMPIEXEC_MAX_NUMPROCS=128'
+ ]
+
+ return args
diff --git a/var/spack/repos/builtin/packages/damageproto/package.py b/var/spack/repos/builtin/packages/damageproto/package.py
index ad8f08d7de..74f514da7e 100644
--- a/var/spack/repos/builtin/packages/damageproto/package.py
+++ b/var/spack/repos/builtin/packages/damageproto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/damaris/package.py b/var/spack/repos/builtin/packages/damaris/package.py
index 13616e1d78..81a439f8cc 100644
--- a/var/spack/repos/builtin/packages/damaris/package.py
+++ b/var/spack/repos/builtin/packages/damaris/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/damselfly/package.py b/var/spack/repos/builtin/packages/damselfly/package.py
index 5629b94efa..20c156e4fe 100644
--- a/var/spack/repos/builtin/packages/damselfly/package.py
+++ b/var/spack/repos/builtin/packages/damselfly/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/darshan-runtime/package.py b/var/spack/repos/builtin/packages/darshan-runtime/package.py
index 1c81045e69..f43ff4ed34 100644
--- a/var/spack/repos/builtin/packages/darshan-runtime/package.py
+++ b/var/spack/repos/builtin/packages/darshan-runtime/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/darshan-util/package.py b/var/spack/repos/builtin/packages/darshan-util/package.py
index abd194e027..395d247ae7 100644
--- a/var/spack/repos/builtin/packages/darshan-util/package.py
+++ b/var/spack/repos/builtin/packages/darshan-util/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -28,6 +28,8 @@ class DarshanUtil(Package):
version('3.0.0', sha256='95232710f5631bbf665964c0650df729c48104494e887442596128d189da43e0')
variant('bzip2', default=False, description="Enable bzip2 compression")
+ variant('shared', default=True, description='Build shared libraries')
+
depends_on('zlib')
depends_on('bzip2', when="+bzip2", type=("build", "link", "run"))
@@ -37,6 +39,8 @@ class DarshanUtil(Package):
options = ['CC=%s' % self.compiler.cc,
'--with-zlib=%s' % spec['zlib'].prefix]
+ if '+shared' in spec:
+ options.extend(['--enable-shared'])
with working_dir('spack-build', create=True):
configure = Executable('../darshan-util/configure')
diff --git a/var/spack/repos/builtin/packages/dash/package.py b/var/spack/repos/builtin/packages/dash/package.py
index 57323d6721..6399c87063 100644
--- a/var/spack/repos/builtin/packages/dash/package.py
+++ b/var/spack/repos/builtin/packages/dash/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/datamash/package.py b/var/spack/repos/builtin/packages/datamash/package.py
index 65fcddbe0a..8125f3604e 100644
--- a/var/spack/repos/builtin/packages/datamash/package.py
+++ b/var/spack/repos/builtin/packages/datamash/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dataspaces/package.py b/var/spack/repos/builtin/packages/dataspaces/package.py
index be5c5c884f..9c85b6b804 100644
--- a/var/spack/repos/builtin/packages/dataspaces/package.py
+++ b/var/spack/repos/builtin/packages/dataspaces/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/datatransferkit/package.py b/var/spack/repos/builtin/packages/datatransferkit/package.py
index 070f724d2a..1d5c3f445f 100644
--- a/var/spack/repos/builtin/packages/datatransferkit/package.py
+++ b/var/spack/repos/builtin/packages/datatransferkit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/date/package.py b/var/spack/repos/builtin/packages/date/package.py
index 0d2e7e5d8a..390498fe71 100644
--- a/var/spack/repos/builtin/packages/date/package.py
+++ b/var/spack/repos/builtin/packages/date/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dateutils/package.py b/var/spack/repos/builtin/packages/dateutils/package.py
index 8927731942..58b5e02fce 100644
--- a/var/spack/repos/builtin/packages/dateutils/package.py
+++ b/var/spack/repos/builtin/packages/dateutils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/davix/package.py b/var/spack/repos/builtin/packages/davix/package.py
index e1845d549a..5d3355f162 100644
--- a/var/spack/repos/builtin/packages/davix/package.py
+++ b/var/spack/repos/builtin/packages/davix/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,11 +9,10 @@ from spack import *
class Davix(CMakePackage):
"""High-performance file management over WebDAV/HTTP."""
- homepage = "https://dmc.web.cern.ch/projects/davix"
- url = "http://grid-deployment.web.cern.ch/grid-deployment/dms/lcgutil/tar/davix/0.6.8/davix-0.6.8.tar.gz"
- list_url = "http://grid-deployment.web.cern.ch/grid-deployment/dms/lcgutil/tar/davix/"
- list_depth = 1
+ homepage = "https://davix.web.cern.ch/davix/docs/devel/index.html"
+ url = "https://github.com/cern-fts/davix/releases/download/R_0_7_6/davix-0.7.6.tar.gz"
+ version('0.7.6', sha256='a2e7fdff29f7ba247a3bcdb08ab1db6d6ed745de2d3971b46526986caf360673')
version('0.7.5', sha256='d920ca976846875d83af4dc50c99280bb3741fcf8351d5733453e70fa5fe6fc8')
version('0.7.3', sha256='cd46276e72c6a0da1e2ad30eb66ec509a4c023687767c62a66713fa8c23d328a')
version('0.6.9', sha256='fbd97eb5fdf82ca48770d06bf8e2805b35f23255478aa381a9d25a49eb98e348')
@@ -27,7 +26,7 @@ class Davix(CMakePackage):
depends_on('pkgconfig', type='build')
depends_on('libxml2')
- depends_on('libuuid')
+ depends_on('uuid')
depends_on('openssl')
def cmake_args(self):
diff --git a/var/spack/repos/builtin/packages/dbcsr/package.py b/var/spack/repos/builtin/packages/dbcsr/package.py
index 028efb0e1d..a2883f7183 100644
--- a/var/spack/repos/builtin/packages/dbcsr/package.py
+++ b/var/spack/repos/builtin/packages/dbcsr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -6,7 +6,7 @@
from spack import *
-class Dbcsr(CMakePackage, CudaPackage):
+class Dbcsr(CMakePackage, CudaPackage, ROCmPackage):
"""Distributed Block Compressed Sparse Row matrix library."""
homepage = "https://github.com/cp2k/dbcsr"
@@ -21,16 +21,13 @@ class Dbcsr(CMakePackage, CudaPackage):
variant('shared', default=True, description='Build shared library')
variant('smm', default='libxsmm', values=('libxsmm', 'blas'),
description='Library for small matrix multiplications')
- variant('cuda_arch',
- description='CUDA architecture',
- default='none',
- values=('none', '35', '37', '60', '70'),
- multi=False)
variant('cuda_arch_35_k20x', default=False,
description=('CP2K (resp. DBCSR) has specific parameter sets for'
' different GPU models. Enable this when building'
' with cuda_arch=35 for a K20x instead of a K40'))
+ variant('opencl', default=False, description='Enable OpenCL backend')
+
depends_on('blas')
depends_on('lapack')
depends_on('mpi', when='+mpi')
@@ -41,36 +38,69 @@ class Dbcsr(CMakePackage, CudaPackage):
depends_on('pkgconfig', type='build')
depends_on('python@3.6:', type='build', when='+cuda')
- conflicts('+cuda', when='cuda_arch=none')
+ depends_on('hipblas', when='+rocm')
+
+ depends_on('opencl', when='+opencl')
+
+ # We only support specific gpu archs for which we have parameter files
+ # for optimal kernels. Note that we don't override the parent class arch
+ # properties, since the parent class defines constraints for different archs
+ # Instead just mark all unsupported cuda archs as conflicting.
+ dbcsr_cuda_archs = ('35', '37', '60', '70')
+ cuda_msg = 'dbcsr only supports cuda_arch {0}'.format(dbcsr_cuda_archs)
+
+ for arch in CudaPackage.cuda_arch_values:
+ if arch not in dbcsr_cuda_archs:
+ conflicts('+cuda', when='cuda_arch={0}'.format(arch), msg=cuda_msg)
+
+ conflicts('+cuda', when='cuda_arch=none', msg=cuda_msg)
+
+ dbcsr_amdgpu_targets = ('gfx906')
+ amd_msg = 'DBCSR only supports amdgpu_target {0}'.format(dbcsr_amdgpu_targets)
+
+ for arch in ROCmPackage.amdgpu_targets:
+ if arch not in dbcsr_amdgpu_targets:
+ conflicts('+rocm', when='amdgpu_target={0}'.format(arch), msg=amd_msg)
+
+ accel_msg = "CUDA, ROCm and OpenCL support are mutually exlusive"
+ conflicts('+cuda', when='+rocm', msg=accel_msg)
+ conflicts('+cuda', when='+opencl', msg=accel_msg)
+ conflicts('+rocm', when='+opencl', msg=accel_msg)
+
+ # Require openmp threading for OpenBLAS by making other options conflict
+ conflicts('^openblas threads=pthreads', when='+openmp')
+ conflicts('^openblas threads=none', when='+openmp')
+
+ conflicts('smm=blas', when='+opencl')
generator = 'Ninja'
depends_on('ninja@1.10:', type='build')
def cmake_args(self):
- if ('+openmp' in self.spec
- and '^openblas' in self.spec
- and '^openblas threads=openmp' not in self.spec):
- raise InstallError(
- '^openblas threads=openmp required for dbcsr+openmp')
-
spec = self.spec
+
+ if len(spec.variants['cuda_arch'].value) > 1:
+ raise InstallError("dbcsr supports only one cuda_arch at a time")
+
+ if len(spec.variants['amdgpu_target'].value) > 1:
+ raise InstallError("DBCSR supports only one amdgpu_arch at a time")
+
args = [
'-DUSE_SMM=%s' % ('libxsmm' if 'smm=libxsmm' in spec else 'blas'),
- '-DUSE_MPI=%s' % ('ON' if '+mpi' in spec else 'OFF'),
- '-DUSE_OPENMP=%s' % (
- 'ON' if '+openmp' in spec else 'OFF'),
+ self.define_from_variant('USE_MPI', 'mpi'),
+ self.define_from_variant('USE_OPENMP', 'openmp'),
# C API needs MPI
- '-DWITH_C_API=%s' % ('ON' if '+mpi' in spec else 'OFF'),
+ self.define_from_variant('WITH_C_API', 'mpi'),
'-DBLAS_FOUND=true',
'-DBLAS_LIBRARIES=%s' % (spec['blas'].libs.joined(';')),
'-DLAPACK_FOUND=true',
'-DLAPACK_LIBRARIES=%s' % (spec['lapack'].libs.joined(';')),
'-DWITH_EXAMPLES=ON',
- '-DBUILD_SHARED_LIBS=%s' % ('ON' if '+shared' in spec else 'OFF'),
+ self.define_from_variant('BUILD_SHARED_LIBS', 'shared'),
]
- if '+cuda' in self.spec:
- cuda_arch = self.spec.variants['cuda_arch'].value
+ if self.spec.satisfies('+cuda'):
+ cuda_arch = self.spec.variants['cuda_arch'].value[0]
gpuver = {
'35': 'K40',
@@ -83,7 +113,27 @@ class Dbcsr(CMakePackage, CudaPackage):
and self.spec.satisfies('+cuda_arch_35_k20x')):
gpuver = 'K20X'
- args += ['-DWITH_GPU=%s' % gpuver]
+ args += [
+ '-DWITH_GPU=%s' % gpuver,
+ '-DUSE_ACCEL=cuda'
+ ]
+
+ if self.spec.satisfies('+rocm'):
+ amd_arch = self.spec.variants['amdgpu_target'].value[0]
+
+ gpuver = {
+ 'gfx906': 'Mi50'
+ }[amd_arch]
+
+ args += [
+ '-DWITH_GPU={0}'.format(gpuver),
+ '-DUSE_ACCEL=hip'
+ ]
+
+ if self.spec.satisfies('+opencl'):
+ args += [
+ '-DUSE_ACCEL=opencl'
+ ]
return args
diff --git a/var/spack/repos/builtin/packages/dbow2/package.py b/var/spack/repos/builtin/packages/dbow2/package.py
new file mode 100644
index 0000000000..f57b7e8c12
--- /dev/null
+++ b/var/spack/repos/builtin/packages/dbow2/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+class Dbow2(CMakePackage):
+ """DBoW2 is an improved version of the DBow library, an open source C++
+ library for indexing and converting images into a bag-of-word
+ representation."""
+
+ homepage = "https://github.com/dorian3d/DBoW2"
+ git = "https://github.com/dorian3d/DBoW2.git"
+
+ version('master', branch='master')
+ version('shinsumicco', git='https://github.com/shinsumicco/DBoW2.git', branch='master')
+
+ depends_on('cmake@3.0:', type='build')
+ depends_on('opencv+calib3d+core+features2d+highgui+imgproc')
+ depends_on('boost')
+ depends_on('dlib')
diff --git a/var/spack/repos/builtin/packages/dbus-glib/package.py b/var/spack/repos/builtin/packages/dbus-glib/package.py
index 7cfe425e5d..7187976b43 100644
--- a/var/spack/repos/builtin/packages/dbus-glib/package.py
+++ b/var/spack/repos/builtin/packages/dbus-glib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dbus/package.py b/var/spack/repos/builtin/packages/dbus/package.py
index f47f7f4b16..be91ce0b9e 100644
--- a/var/spack/repos/builtin/packages/dbus/package.py
+++ b/var/spack/repos/builtin/packages/dbus/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dbxtool/package.py b/var/spack/repos/builtin/packages/dbxtool/package.py
index 3a7524bf5f..d5e8419e98 100644
--- a/var/spack/repos/builtin/packages/dbxtool/package.py
+++ b/var/spack/repos/builtin/packages/dbxtool/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dcap/package.py b/var/spack/repos/builtin/packages/dcap/package.py
index 487c02fade..d885f77047 100644
--- a/var/spack/repos/builtin/packages/dcap/package.py
+++ b/var/spack/repos/builtin/packages/dcap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dcmtk/package.py b/var/spack/repos/builtin/packages/dcmtk/package.py
index 7b5fab7f64..bd546847cc 100644
--- a/var/spack/repos/builtin/packages/dcmtk/package.py
+++ b/var/spack/repos/builtin/packages/dcmtk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dd4hep/package.py b/var/spack/repos/builtin/packages/dd4hep/package.py
index 7fb4868a91..68c909563b 100644
--- a/var/spack/repos/builtin/packages/dd4hep/package.py
+++ b/var/spack/repos/builtin/packages/dd4hep/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -21,23 +21,26 @@ class Dd4hep(CMakePackage):
maintainers = ['vvolkl', 'drbenmorgan']
+ tags = ['hep']
+
version('master', branch='master')
+ version('1.15', sha256='992a24bd4b3dfaffecec9d1c09e8cde2c7f89d38756879a47b23208242f4e352')
version('1.14.1', sha256='5b5742f1e23c2b36d3174cca95f810ce909c0eb66f3d6d7acb0ba657819e6717')
- version('1.14.0', sha256='b603aa3c0db8dda392253aa71fa4a0f0c3c9715d47df0b895d45c1e8849f4895')
+ version('1.14', sha256='b603aa3c0db8dda392253aa71fa4a0f0c3c9715d47df0b895d45c1e8849f4895')
version('1.13.1', sha256='83fa70cd74ce93b2f52f098388dff58d179f05ace5b50aea3f408bb8abf7cb73')
- version('1.13.0', sha256='0b1f9d902ebe21a9178c1e41204c066b29f68c8836fd1d03a9ce979811ddb295')
+ version('1.13', sha256='0b1f9d902ebe21a9178c1e41204c066b29f68c8836fd1d03a9ce979811ddb295')
version('1.12.1', sha256='85e8c775ec03c499ce10911e228342e757c81ce9ef2a9195cb253b85175a2e93')
- version('1.12.0', sha256='133a1fb8ce0466d2482f3ebb03e60b3bebb9b2d3e33d14ba15c8fbb91706b398')
+ version('1.12', sha256='133a1fb8ce0466d2482f3ebb03e60b3bebb9b2d3e33d14ba15c8fbb91706b398')
version('1.11.2', sha256='96a53dd26cb8df11c6dae54669fbc9cc3c90dd47c67e07b24be9a1341c95abc4')
version('1.11.1', sha256='d7902dd7f6744bbda92f6e303ad5a3410eec4a0d2195cdc86f6c1167e72893f0')
- version('1.11.0', sha256='25643296f15f9d11ad4ad550b7c3b92e8974fc56f1ee8e4455501010789ae7b6')
- version('1.10.0', sha256='1d6b5d1c368dc8bcedd9c61b7c7e1a44bad427f8bd34932516aff47c88a31d95')
+ version('1.11', sha256='25643296f15f9d11ad4ad550b7c3b92e8974fc56f1ee8e4455501010789ae7b6')
+ version('1.10', sha256='1d6b5d1c368dc8bcedd9c61b7c7e1a44bad427f8bd34932516aff47c88a31d95')
generator = 'Ninja'
# Workarounds for various TBB issues in DD4hep v1.11
# See https://github.com/AIDASoft/DD4hep/pull/613 .
- patch('tbb-workarounds.patch', when='@1.11.0')
+ patch('tbb-workarounds.patch', when='@1.11')
patch('tbb2.patch', when='@1.12.1')
variant('xercesc', default=False, description="Enable 'Detector Builders' based on XercesC")
@@ -45,7 +48,10 @@ class Dd4hep(CMakePackage):
variant('assimp', default=False, description="Enable CAD interface based on Assimp")
variant('hepmc3', default=False, description="Enable build with hepmc3")
variant('lcio', default=False, description="Enable build with lcio")
- variant('debug', default=False, description="Enable debug build")
+ variant('edm4hep', default=True, description="Enable build with edm4hep")
+ variant('debug', default=False,
+ description="Enable debug build flag - adds extra info in"
+ " some places in addtion to the debug build type")
depends_on('cmake @3.12:', type='build')
depends_on('ninja', type='build')
@@ -54,9 +60,10 @@ class Dd4hep(CMakePackage):
extends('python')
depends_on('xerces-c', when='+xercesc')
depends_on('geant4@10.2.2:', when='+geant4')
- depends_on('assimp', when='+assimp')
+ depends_on('assimp@5.0.2:', when='+assimp')
depends_on('hepmc3', when="+hepmc3")
depends_on('lcio', when="+lcio")
+ depends_on('edm4hep', when="+edm4hep")
def cmake_args(self):
spec = self.spec
@@ -65,13 +72,17 @@ class Dd4hep(CMakePackage):
if cxxstd == "11":
cxxstd = "14"
args = [
+ self.define_from_variant('DD4HEP_USE_EDM4HEP', 'edm4hep'),
+ self.define_from_variant('DD4HEP_USE_XERCESC', 'xercesc'),
+ self.define_from_variant('DD4HEP_USE_GEANT4', 'geant4'),
+ self.define_from_variant('DD4HEP_USE_LCIO', 'lcio'),
+ self.define_from_variant('DD4HEP_USE_HEPMC3', 'hepmc3'),
+ self.define_from_variant('DD4HEP_BUILD_DEBUG', 'debug'),
+ # Downloads assimp from github and builds it on the fly.
+ # However, with spack it is preferrable to have a proper external
+ # dependency, so we disable it.
+ self.define('DD4HEP_LOAD_ASSIMP', False),
"-DCMAKE_CXX_STANDARD={0}".format(cxxstd),
- "-DDD4HEP_USE_XERCESC={0}".format(spec.satisfies('+xercesc')),
- "-DDD4HEP_USE_GEANT4={0}".format(spec.satisfies('+geant4')),
- "-DDD4HEP_USE_LCIO={0}".format(spec.satisfies('+lcio')),
- "-DDD4HEP_LOAD_ASSIMP={0}".format(spec.satisfies('+assimp')),
- "-DDD4HEP_USE_HEPMC3={0}".format(spec.satisfies('+hepmc3')),
- "-DDD4HEP_BUILD_DEBUG={0}".format(spec.satisfies('+debug')),
"-DBUILD_TESTING={0}".format(self.run_tests),
"-DBOOST_ROOT={0}".format(spec['boost'].prefix),
"-DBoost_NO_BOOST_CMAKE=ON",
@@ -89,11 +100,20 @@ class Dd4hep(CMakePackage):
# dd4hep releases are dashes and padded with a leading zero
# the patch version is omitted when 0
# so for example v01-12-01, v01-12 ...
- major = (str(version[0]).zfill(2))
- minor = (str(version[1]).zfill(2))
- patch = (str(version[2]).zfill(2))
- if version[2] == 0:
- url = "https://github.com/AIDASoft/DD4hep/archive/v%s-%s.tar.gz" % (major, minor)
+ base_url = self.url.rsplit('/', 1)[0]
+ if len(version) == 1:
+ major = version[0]
+ minor, patch = 0, 0
+ elif len(version) == 2:
+ major, minor = version
+ patch = 0
+ else:
+ major, minor, patch = version
+ # By now the data is normalized enough to handle it easily depending
+ # on the value of the patch version
+ if patch == 0:
+ version_str = 'v%02d-%02d.tar.gz' % (major, minor)
else:
- url = "https://github.com/AIDASoft/DD4hep/archive/v%s-%s-%s.tar.gz" % (major, minor, patch)
- return url
+ version_str = 'v%02d-%02d-%02d.tar.gz' % (major, minor, patch)
+
+ return base_url + '/' + version_str
diff --git a/var/spack/repos/builtin/packages/ddd/package.py b/var/spack/repos/builtin/packages/ddd/package.py
index 7c3e548b37..4224ac402e 100644
--- a/var/spack/repos/builtin/packages/ddd/package.py
+++ b/var/spack/repos/builtin/packages/ddd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dealii-parameter-gui/package.py b/var/spack/repos/builtin/packages/dealii-parameter-gui/package.py
index f6e6cdcaaa..3820c8e802 100644
--- a/var/spack/repos/builtin/packages/dealii-parameter-gui/package.py
+++ b/var/spack/repos/builtin/packages/dealii-parameter-gui/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dealii/package.py b/var/spack/repos/builtin/packages/dealii/package.py
index d8a225daba..b6fbfba484 100644
--- a/var/spack/repos/builtin/packages/dealii/package.py
+++ b/var/spack/repos/builtin/packages/dealii/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -78,6 +78,7 @@ class Dealii(CMakePackage, CudaPackage):
description='Compile with Metis')
variant('muparser', default=True,
description='Compile with muParser')
+ # TODO @9.3: disable by default
variant('nanoflann', default=True,
description='Compile with Nanoflann')
variant('netcdf', default=False,
@@ -96,6 +97,14 @@ class Dealii(CMakePackage, CudaPackage):
description='Compile with Slepc (only with Petsc and MPI)')
variant('symengine', default=True,
description='Compile with SymEngine')
+ # TODO @9.3: enable by default
+ variant('simplex', default=False,
+ description='Compile with Simplex support')
+ # TODO @9.3: enable by default, when we know what to do
+ # variant('taskflow', default=False,
+ # description='Compile with multi-threading via Taskflow')
+ # TODO @9.3: disable by default
+ # (NB: only if tbb is removed in 9.3, as planned!!!)
variant('threads', default=True,
description='Compile with multi-threading via TBB')
variant('trilinos', default=True,
@@ -159,10 +168,10 @@ class Dealii(CMakePackage, CudaPackage):
depends_on('ginkgo', when='@9.1:+ginkgo')
depends_on('gmsh+tetgen+netgen+oce', when='@9.0:+gmsh', type=('build', 'run'))
depends_on('gsl', when='@8.5.0:+gsl')
- # FIXME: next line fixes concretization with petsc
+ # TODO: next line fixes concretization with petsc
depends_on('hdf5+mpi+hl+fortran', when='+hdf5+mpi+petsc')
depends_on('hdf5+mpi+hl', when='+hdf5+mpi~petsc')
- # FIXME: concretizer bug. The two lines mimic what comes from PETSc
+ # TODO: concretizer bug. The two lines mimic what comes from PETSc
# but we should not need it
depends_on('metis@5:+int64', when='+metis+int64')
depends_on('metis@5:~int64', when='+metis~int64')
@@ -180,13 +189,17 @@ class Dealii(CMakePackage, CudaPackage):
depends_on('slepc', when='+slepc+petsc+mpi')
depends_on('slepc@:3.6.3', when='@:8.4.1+slepc+petsc+mpi')
depends_on('slepc~arpack', when='+slepc+petsc+mpi+int64')
- depends_on('sundials@:3~pthread', when='@9.0:+sundials')
+ depends_on('sundials@:3~pthread', when='@9.0:9.2+sundials')
+ depends_on('sundials@5:', when='@9.3:+sundials')
+ # depends_on('taskflow', when='@9.3:+taskflow')
depends_on('trilinos gotype=int', when='+trilinos@12.18.1:')
+ # TODO: next line fixes concretization with trilinos and adol-c
+ depends_on('trilinos~exodus~netcdf', when='@9.0:+adol-c+trilinos')
# Both Trilinos and SymEngine bundle the Teuchos RCP library.
# This leads to conflicts between macros defined in the included
# headers when they are not compiled in the same mode.
# See https://github.com/symengine/symengine/issues/1516
- # FIXME: uncomment when the following is fixed
+ # TODO: uncomment when the following is fixed
# https://github.com/spack/spack/issues/11160
# depends_on("symengine@0.4: build_type=Release", when="@9.1:+symengine+trilinos^trilinos~debug") # NOQA: ignore=E501
# depends_on("symengine@0.4: build_type=Debug", when="@9.1:+symengine+trilinos^trilinos+debug") # NOQA: ignore=E501
@@ -194,12 +207,16 @@ class Dealii(CMakePackage, CudaPackage):
depends_on('symengine@0.6:', when='@9.2:+symengine')
depends_on('tbb', when='+threads')
# do not require +rol to make concretization of xsdk possible
- depends_on('trilinos+amesos+aztec+epetra+ifpack+ml+muelu+sacado+teuchos', when='+trilinos+mpi~int64~cuda')
- depends_on('trilinos+amesos+aztec+epetra+ifpack+ml+muelu+sacado+teuchos~hypre', when='+trilinos+mpi+int64~cuda')
- # FIXME: temporary disable Tpetra when using CUDA due to
+ depends_on('trilinos+amesos+aztec+epetra+ifpack+ml+muelu+sacado+teuchos',
+ when='+trilinos+mpi~int64~cuda')
+ depends_on('trilinos+amesos+aztec+epetra+ifpack+ml+muelu+sacado+teuchos~hypre',
+ when='+trilinos+mpi+int64~cuda')
+ # TODO: temporary disable Tpetra when using CUDA due to
# namespace "Kokkos::Impl" has no member "cuda_abort"
- depends_on('trilinos@master+amesos+aztec+epetra+ifpack+ml+muelu+rol+sacado+teuchos~amesos2~ifpack2~intrepid2~kokkos~tpetra~zoltan2', when='+trilinos+mpi~int64+cuda')
- depends_on('trilinos@master+amesos+aztec+epetra+ifpack+ml+muelu+rol+sacado+teuchos~hypre~amesos2~ifpack2~intrepid2~kokkos~tpetra~zoltan2', when='+trilinos+mpi+int64+cuda')
+ depends_on('trilinos@master+amesos+aztec+epetra+ifpack+ml+muelu+rol+sacado+teuchos~amesos2~ifpack2~intrepid2~kokkos~tpetra~zoltan2',
+ when='+trilinos+mpi~int64+cuda')
+ depends_on('trilinos@master+amesos+aztec+epetra+ifpack+ml+muelu+rol+sacado+teuchos~hypre~amesos2~ifpack2~intrepid2~kokkos~tpetra~zoltan2',
+ when='+trilinos+mpi+int64+cuda')
# Explicitly provide a destructor in BlockVector,
# otherwise deal.II may fail to build with Intel compilers.
@@ -218,8 +235,13 @@ class Dealii(CMakePackage, CudaPackage):
sha256='6f876dc8eadafe2c4ec2a6673864fb451c6627ca80511b6e16f3c401946fdf33',
when='@9.0.0:9.1.1')
+ # Explicitly include a boost header, otherwise deal.II fails to compile
+ # https://github.com/dealii/dealii/pull/11438
+ patch('https://github.com/dealii/dealii/commit/3b815e21c4bfd82c792ba80e4d90314c8bb9edc9.patch',
+ sha256='5f9f411ab9336bf49d8293b9936344bad6e1cf720955b9d8e8b29883593b0ed9',
+ when='@9.2.0 ^boost@1.72.0:')
+
# Check for sufficiently modern versions
- conflicts('cxxstd=98', when='@9.0:')
conflicts('cxxstd=11', when='@9.3:')
# Interfaces added in 8.5.0:
@@ -244,6 +266,13 @@ class Dealii(CMakePackage, CudaPackage):
'onwards. Please explicitly disable this variant '
'via ~{0}'.format(p))
+ # interfaces added in 9.3.0:
+ for p in ['simplex']: # , 'taskflow']:
+ conflicts('+{0}'.format(p), when='@:9.2',
+ msg='The interface to {0} is supported from version 9.3.0 '
+ 'onwards. Please explicitly disable this variant '
+ 'via ~{0}'.format(p))
+
# Interfaces removed in 9.3.0:
conflicts('+nanoflann', when='@9.3.0:',
msg='The interface to Nanoflann was removed from version 9.3.0. '
@@ -384,7 +413,7 @@ class Dealii(CMakePackage, CudaPackage):
'deal.II only supports compilation for a single GPU!'
)
flags = '-arch=sm_{0}'.format(cuda_arch[0])
- # FIXME: there are some compiler errors in dealii
+ # TODO: there are some compiler errors in dealii
# with: flags = ' '.join(self.cuda_flags(cuda_arch))
# Stick with -arch=sm_xy for now.
options.append(
@@ -426,6 +455,11 @@ class Dealii(CMakePackage, CudaPackage):
self.define('PYTHON_LIBRARY', python_library)
])
+ # Simplex support
+ options.append(self.define_from_variant(
+ 'DEAL_II_WITH_SIMPLEX_SUPPORT', 'simplex'
+ ))
+
# Threading
options.append(self.define_from_variant(
'DEAL_II_WITH_THREADS', 'threads'
@@ -453,7 +487,7 @@ class Dealii(CMakePackage, CudaPackage):
for library in (
'gsl', 'hdf5', 'p4est', 'petsc', 'slepc', 'trilinos', 'metis',
'sundials', 'nanoflann', 'assimp', 'gmsh', 'muparser',
- 'symengine', 'ginkgo'):
+ 'symengine', 'ginkgo'): # 'taskflow'):
options.append(self.define_from_variant(
'DEAL_II_WITH_{0}'.format(library.upper()), library
))
diff --git a/var/spack/repos/builtin/packages/debbuild/package.py b/var/spack/repos/builtin/packages/debbuild/package.py
index 3a47236ae7..36a4cd4692 100644
--- a/var/spack/repos/builtin/packages/debbuild/package.py
+++ b/var/spack/repos/builtin/packages/debbuild/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/decentralized-internet/package.py b/var/spack/repos/builtin/packages/decentralized-internet/package.py
index fabdba423a..01840a5938 100644
--- a/var/spack/repos/builtin/packages/decentralized-internet/package.py
+++ b/var/spack/repos/builtin/packages/decentralized-internet/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/deconseq-standalone/package.py b/var/spack/repos/builtin/packages/deconseq-standalone/package.py
index 82409198eb..f6c95aab4c 100644
--- a/var/spack/repos/builtin/packages/deconseq-standalone/package.py
+++ b/var/spack/repos/builtin/packages/deconseq-standalone/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dejagnu/package.py b/var/spack/repos/builtin/packages/dejagnu/package.py
index 6826b947ec..3bd4c80170 100644
--- a/var/spack/repos/builtin/packages/dejagnu/package.py
+++ b/var/spack/repos/builtin/packages/dejagnu/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/delly2/package.py b/var/spack/repos/builtin/packages/delly2/package.py
index 0bd2f4f6f4..a674d4e17d 100644
--- a/var/spack/repos/builtin/packages/delly2/package.py
+++ b/var/spack/repos/builtin/packages/delly2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/delphes/package.py b/var/spack/repos/builtin/packages/delphes/package.py
index 09163f8254..bd10d97cca 100644
--- a/var/spack/repos/builtin/packages/delphes/package.py
+++ b/var/spack/repos/builtin/packages/delphes/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,11 +15,13 @@ class Delphes(CMakePackage):
git = "https://github.com/delphes/delphes.git"
url = "http://cp3.irmp.ucl.ac.be/downloads/Delphes-3.4.2.tar.gz"
+ tags = ['hep']
+
maintainers = ['drbenmorgan', 'vvolkl', 'selvaggi']
version('master', branch='master')
- version('3.4.3pre05', tag='3.4.3pre05')
- version('3.4.3pre04', tag='3.4.3pre04')
+ version('3.4.3pre08', tag='3.4.3pre08')
+ version('3.4.3pre06', tag='3.4.3pre06')
version('3.4.2', sha256='d46a7c5474de650befdb89377115feee31f1743107ceb3d8da699be9d48c097b', preferred=True)
version('3.4.1', sha256='4b5a2aeac326643f45b6d45c39ba2302e323eeb86d8cb58843c6e73949b1208a')
version('3.4.0', sha256='c0f9500663a0c3a5c1eddcee598a67b5bcfc9318303195c6cacc0590b4023fa1')
diff --git a/var/spack/repos/builtin/packages/delta/package.py b/var/spack/repos/builtin/packages/delta/package.py
index c24a10ec2c..588b26b2d8 100644
--- a/var/spack/repos/builtin/packages/delta/package.py
+++ b/var/spack/repos/builtin/packages/delta/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/denovogear/package.py b/var/spack/repos/builtin/packages/denovogear/package.py
index bc683febef..9af96093c1 100644
--- a/var/spack/repos/builtin/packages/denovogear/package.py
+++ b/var/spack/repos/builtin/packages/denovogear/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dftbplus/package.py b/var/spack/repos/builtin/packages/dftbplus/package.py
index a8b313988e..6186450cd8 100644
--- a/var/spack/repos/builtin/packages/dftbplus/package.py
+++ b/var/spack/repos/builtin/packages/dftbplus/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dftd3-lib/package.py b/var/spack/repos/builtin/packages/dftd3-lib/package.py
index 793a312342..21538c4f8f 100644
--- a/var/spack/repos/builtin/packages/dftd3-lib/package.py
+++ b/var/spack/repos/builtin/packages/dftd3-lib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dftfe/package.py b/var/spack/repos/builtin/packages/dftfe/package.py
index a463aa7ccb..4e3a58a61d 100644
--- a/var/spack/repos/builtin/packages/dftfe/package.py
+++ b/var/spack/repos/builtin/packages/dftfe/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dhpmm-f/package.py b/var/spack/repos/builtin/packages/dhpmm-f/package.py
index 5e2bfa3154..d58540209a 100644
--- a/var/spack/repos/builtin/packages/dhpmm-f/package.py
+++ b/var/spack/repos/builtin/packages/dhpmm-f/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dhtest/package.py b/var/spack/repos/builtin/packages/dhtest/package.py
index 12c45e246a..6b6e0cce6c 100644
--- a/var/spack/repos/builtin/packages/dhtest/package.py
+++ b/var/spack/repos/builtin/packages/dhtest/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dia/package.py b/var/spack/repos/builtin/packages/dia/package.py
index 19f3897013..129c886876 100644
--- a/var/spack/repos/builtin/packages/dia/package.py
+++ b/var/spack/repos/builtin/packages/dia/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -21,7 +21,7 @@ class Dia(Package):
depends_on('python')
depends_on('swig')
depends_on('libsm')
- depends_on('libuuid')
+ depends_on('uuid')
depends_on('libxinerama')
depends_on('libxrender')
depends_on('libxml2')
diff --git a/var/spack/repos/builtin/packages/dialign-tx/package.py b/var/spack/repos/builtin/packages/dialign-tx/package.py
index 4c1d538531..173532cf37 100644
--- a/var/spack/repos/builtin/packages/dialign-tx/package.py
+++ b/var/spack/repos/builtin/packages/dialign-tx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dialign/package.py b/var/spack/repos/builtin/packages/dialign/package.py
index 406a524fab..fc18227817 100644
--- a/var/spack/repos/builtin/packages/dialign/package.py
+++ b/var/spack/repos/builtin/packages/dialign/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/diamond/package.py b/var/spack/repos/builtin/packages/diamond/package.py
index 9664c3e14b..969336fff0 100644
--- a/var/spack/repos/builtin/packages/diamond/package.py
+++ b/var/spack/repos/builtin/packages/diamond/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/diffmark/package.py b/var/spack/repos/builtin/packages/diffmark/package.py
index 0c86e12d07..55888b1008 100644
--- a/var/spack/repos/builtin/packages/diffmark/package.py
+++ b/var/spack/repos/builtin/packages/diffmark/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/diffsplice/package.py b/var/spack/repos/builtin/packages/diffsplice/package.py
index dc3c9f2023..a3589c67e8 100644
--- a/var/spack/repos/builtin/packages/diffsplice/package.py
+++ b/var/spack/repos/builtin/packages/diffsplice/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/diffutils/package.py b/var/spack/repos/builtin/packages/diffutils/package.py
index b598410ba8..bcf715fd05 100644
--- a/var/spack/repos/builtin/packages/diffutils/package.py
+++ b/var/spack/repos/builtin/packages/diffutils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dihydrogen/package.py b/var/spack/repos/builtin/packages/dihydrogen/package.py
index 03a3f8f671..9f4b74ec35 100644
--- a/var/spack/repos/builtin/packages/dihydrogen/package.py
+++ b/var/spack/repos/builtin/packages/dihydrogen/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ import os
from spack import *
-class Dihydrogen(CMakePackage, CudaPackage):
+class Dihydrogen(CMakePackage, CudaPackage, ROCmPackage):
"""DiHydrogen is the second version of the Hydrogen fork of the
well-known distributed linear algebra library,
Elemental. DiHydrogen aims to be a basic distributed
@@ -31,8 +31,9 @@ class Dihydrogen(CMakePackage, CudaPackage):
description='Enable extra warnings and force tests to be enabled.')
variant('half', default=False,
description='Enable FP16 support on the CPU.')
- variant('legacy', default=False,
- description='Enable the legacy DistConv code branch.')
+ variant('distconv', default=False,
+ description='Support distributed convolutions: spatial, channel, '
+ 'filter.')
variant('nvshmem', default=False,
description='Builds with support for NVSHMEM')
variant('openmp', default=False,
@@ -65,6 +66,8 @@ class Dihydrogen(CMakePackage, CudaPackage):
description='CUDA architecture',
values=spack.variant.auto_or_any_combination_of(*cuda_arch_values))
+ conflicts('~cuda', when='+nvshmem')
+
depends_on('mpi')
depends_on('catch2', type='test')
@@ -74,6 +77,15 @@ class Dihydrogen(CMakePackage, CudaPackage):
# Add Aluminum variants
depends_on('aluminum +cuda +nccl +ht +cuda_rma', when='+al +cuda')
+ depends_on('aluminum +rocm +rccl +ht +cuda_rma', when='+al +rocm')
+
+ for arch in CudaPackage.cuda_arch_values:
+ depends_on('aluminum cuda_arch=%s' % arch, when='+al +cuda cuda_arch=%s' % arch)
+
+ # variants +rocm and amdgpu_targets are not automatically passed to
+ # dependencies, so do it manually.
+ for val in ROCmPackage.amdgpu_targets:
+ depends_on('aluminum amdgpu_target=%s' % val, when='amdgpu_target=%s' % val)
depends_on('cuda', when=('+cuda' or '+legacy'))
depends_on('cudnn', when=('+cuda' or '+legacy'))
@@ -102,6 +114,9 @@ class Dihydrogen(CMakePackage, CudaPackage):
# Legacy builds require cuda
conflicts('~cuda', when='+legacy')
+ conflicts('+distconv', when='+half')
+ conflicts('+rocm', when='+half')
+
depends_on('half', when='+half')
generator = 'Ninja'
@@ -113,6 +128,8 @@ class Dihydrogen(CMakePackage, CudaPackage):
depends_on('llvm-openmp', when='%apple-clang +openmp')
+ depends_on('nvshmem', when='+nvshmem')
+
illegal_cuda_arch_values = [
'10', '11', '12', '13',
'20', '21',
@@ -131,10 +148,11 @@ class Dihydrogen(CMakePackage, CudaPackage):
spec = self.spec
args = [
+ '-DCMAKE_CXX_STANDARD=17',
'-DCMAKE_INSTALL_MESSAGE:STRING=LAZY',
'-DBUILD_SHARED_LIBS:BOOL=%s' % ('+shared' in spec),
'-DH2_ENABLE_CUDA=%s' % ('+cuda' in spec),
- '-DH2_ENABLE_DISTCONV_LEGACY=%s' % ('+legacy' in spec),
+ '-DH2_ENABLE_DISTCONV_LEGACY=%s' % ('+distconv' in spec),
'-DH2_ENABLE_OPENMP=%s' % ('+openmp' in spec),
'-DH2_ENABLE_FP16=%s' % ('+half' in spec),
'-DH2_ENABLE_HIP_ROCM=%s' % ('+rocm' in spec),
@@ -142,6 +160,11 @@ class Dihydrogen(CMakePackage, CudaPackage):
]
if '+cuda' in spec:
+ if spec.satisfies('^cuda@11.0:'):
+ args.append('-DCMAKE_CUDA_STANDARD=17')
+ else:
+ args.append('-DCMAKE_CUDA_STANDARD=14')
+
cuda_arch = spec.variants['cuda_arch'].value
if len(cuda_arch) == 1 and cuda_arch[0] == 'auto':
args.append('-DCMAKE_CUDA_FLAGS=-arch=sm_60')
@@ -173,6 +196,18 @@ class Dihydrogen(CMakePackage, CudaPackage):
'-DOpenMP_libomp_LIBRARY={0}/lib/libomp.dylib'.format(
clang_root)])
+ if '+rocm' in spec:
+ args.extend([
+ '-DHIP_ROOT_DIR={0}'.format(spec['hip'].prefix),
+ '-DHIP_CXX_COMPILER={0}'.format(self.spec['hip'].hipcc)])
+ archs = self.spec.variants['amdgpu_target'].value
+ if archs != 'none':
+ arch_str = ",".join(archs)
+ args.append(
+ '-DHIP_HIPCC_FLAGS=--amdgpu-target={0}'
+ ' -g -fsized-deallocation -fPIC'.format(arch_str)
+ )
+
return args
def setup_build_environment(self, env):
diff --git a/var/spack/repos/builtin/packages/dimemas/package.py b/var/spack/repos/builtin/packages/dimemas/package.py
index 6b5ba9690d..5bcf605d49 100644
--- a/var/spack/repos/builtin/packages/dimemas/package.py
+++ b/var/spack/repos/builtin/packages/dimemas/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ding-libs/package.py b/var/spack/repos/builtin/packages/ding-libs/package.py
index 2939ef638e..023e3e36e5 100644
--- a/var/spack/repos/builtin/packages/ding-libs/package.py
+++ b/var/spack/repos/builtin/packages/ding-libs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dire/package.py b/var/spack/repos/builtin/packages/dire/package.py
index fd9ae5075c..deb7be8226 100644
--- a/var/spack/repos/builtin/packages/dire/package.py
+++ b/var/spack/repos/builtin/packages/dire/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,6 +16,8 @@ class Dire(Package):
git = "http://gitlab.com/dire/direforpythia"
list_url = "http://dire.gitlab.io/Downloads.html"
+ tags = ['hep']
+
maintainer = ['mdiefent']
version('2.004', sha256='8cc1213b58fec744fdaa50834560a14b141de99efb2c3e3d3d47f3d6d84b179f')
diff --git a/var/spack/repos/builtin/packages/direnv/package.py b/var/spack/repos/builtin/packages/direnv/package.py
index a021905849..8ffe3c9b50 100644
--- a/var/spack/repos/builtin/packages/direnv/package.py
+++ b/var/spack/repos/builtin/packages/direnv/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/discovar/package.py b/var/spack/repos/builtin/packages/discovar/package.py
index 7b9acfc0e4..9904b1fd89 100644
--- a/var/spack/repos/builtin/packages/discovar/package.py
+++ b/var/spack/repos/builtin/packages/discovar/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/discovardenovo/package.py b/var/spack/repos/builtin/packages/discovardenovo/package.py
index bf14043f83..69ede74547 100644
--- a/var/spack/repos/builtin/packages/discovardenovo/package.py
+++ b/var/spack/repos/builtin/packages/discovardenovo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/disktype/package.py b/var/spack/repos/builtin/packages/disktype/package.py
index a45fc324a0..8432272a12 100644
--- a/var/spack/repos/builtin/packages/disktype/package.py
+++ b/var/spack/repos/builtin/packages/disktype/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dislin/package.py b/var/spack/repos/builtin/packages/dislin/package.py
index 518db4eba9..528dbeda8d 100644
--- a/var/spack/repos/builtin/packages/dislin/package.py
+++ b/var/spack/repos/builtin/packages/dislin/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/distcc/package.py b/var/spack/repos/builtin/packages/distcc/package.py
index 7143a55017..6807292de0 100644
--- a/var/spack/repos/builtin/packages/distcc/package.py
+++ b/var/spack/repos/builtin/packages/distcc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/diy/package.py b/var/spack/repos/builtin/packages/diy/package.py
index efd581f1ba..9889c272aa 100644
--- a/var/spack/repos/builtin/packages/diy/package.py
+++ b/var/spack/repos/builtin/packages/diy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dlib/package.py b/var/spack/repos/builtin/packages/dlib/package.py
new file mode 100644
index 0000000000..fc85237ef3
--- /dev/null
+++ b/var/spack/repos/builtin/packages/dlib/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+class Dlib(CMakePackage):
+ """DLib is a collection of C++ classes to solve common tasks in C++
+ programs, as well as to offer additional functionality to use OpenCV
+ data and to solve computer vision problems."""
+
+ homepage = "https://github.com/dorian3d/DLib"
+ git = "https://github.com/dorian3d/DLib.git"
+
+ version('master', branch='master')
+
+ depends_on('cmake@3.0:', type='build')
+ depends_on('opencv+calib3d+core+features2d+highgui+imgproc+imgcodecs')
+ # Because concretizer is broken...
+ # TODO: remove when original concretizer is obsolete
+ depends_on('opencv+flann')
diff --git a/var/spack/repos/builtin/packages/dlpack/package.py b/var/spack/repos/builtin/packages/dlpack/package.py
index 4e4b74e102..aeae361c9c 100644
--- a/var/spack/repos/builtin/packages/dlpack/package.py
+++ b/var/spack/repos/builtin/packages/dlpack/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dmd/package.py b/var/spack/repos/builtin/packages/dmd/package.py
index b18ab86cf1..15ff5c4d8d 100644
--- a/var/spack/repos/builtin/packages/dmd/package.py
+++ b/var/spack/repos/builtin/packages/dmd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dmidecode/package.py b/var/spack/repos/builtin/packages/dmidecode/package.py
index b6b4015bce..2c6d9e0365 100644
--- a/var/spack/repos/builtin/packages/dmidecode/package.py
+++ b/var/spack/repos/builtin/packages/dmidecode/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dmlc-core/package.py b/var/spack/repos/builtin/packages/dmlc-core/package.py
index ed65eab682..6663c81010 100644
--- a/var/spack/repos/builtin/packages/dmlc-core/package.py
+++ b/var/spack/repos/builtin/packages/dmlc-core/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dmtcp/package.py b/var/spack/repos/builtin/packages/dmtcp/package.py
index 107d0d3b2a..554d86be6d 100644
--- a/var/spack/repos/builtin/packages/dmtcp/package.py
+++ b/var/spack/repos/builtin/packages/dmtcp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dmxproto/package.py b/var/spack/repos/builtin/packages/dmxproto/package.py
index 31959981a0..5770e92ab4 100644
--- a/var/spack/repos/builtin/packages/dmxproto/package.py
+++ b/var/spack/repos/builtin/packages/dmxproto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dnsmap/package.py b/var/spack/repos/builtin/packages/dnsmap/package.py
index f0b206e626..7f4d90313f 100644
--- a/var/spack/repos/builtin/packages/dnsmap/package.py
+++ b/var/spack/repos/builtin/packages/dnsmap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dnsmasq/package.py b/var/spack/repos/builtin/packages/dnsmasq/package.py
index 8f0ff1bcf8..7b1dc85122 100644
--- a/var/spack/repos/builtin/packages/dnsmasq/package.py
+++ b/var/spack/repos/builtin/packages/dnsmasq/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dnstop/package.py b/var/spack/repos/builtin/packages/dnstop/package.py
index 7b310c9677..24790284c1 100644
--- a/var/spack/repos/builtin/packages/dnstop/package.py
+++ b/var/spack/repos/builtin/packages/dnstop/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dnstracer/package.py b/var/spack/repos/builtin/packages/dnstracer/package.py
index 4a2603845d..6a6d6a43ce 100644
--- a/var/spack/repos/builtin/packages/dnstracer/package.py
+++ b/var/spack/repos/builtin/packages/dnstracer/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/docbook-xml/package.py b/var/spack/repos/builtin/packages/docbook-xml/package.py
index 35b6669a50..a12452a6c8 100644
--- a/var/spack/repos/builtin/packages/docbook-xml/package.py
+++ b/var/spack/repos/builtin/packages/docbook-xml/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/docbook-xsl/package.py b/var/spack/repos/builtin/packages/docbook-xsl/package.py
index 8b7d84007a..95c664e3b3 100644
--- a/var/spack/repos/builtin/packages/docbook-xsl/package.py
+++ b/var/spack/repos/builtin/packages/docbook-xsl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dock/package.py b/var/spack/repos/builtin/packages/dock/package.py
index 2493be97f1..16419df45d 100644
--- a/var/spack/repos/builtin/packages/dock/package.py
+++ b/var/spack/repos/builtin/packages/dock/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,6 +16,7 @@ class Dock(Package):
homepage = "http://dock.compbio.ucsf.edu/DOCK_6/index.htm"
url = "file://{0}/dock.6.9_source.tar.gz".format(os.getcwd())
+ manual_download = True
version('6.9', sha256='c2caef9b4bb47bb0cb437f6dc21f4c605fd3d0d9cc817fa13748c050dc87a5a8')
diff --git a/var/spack/repos/builtin/packages/dos2unix/package.py b/var/spack/repos/builtin/packages/dos2unix/package.py
index 8630b8369a..9ed63cf556 100644
--- a/var/spack/repos/builtin/packages/dos2unix/package.py
+++ b/var/spack/repos/builtin/packages/dos2unix/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dosfstools/package.py b/var/spack/repos/builtin/packages/dosfstools/package.py
index 5d079983fd..f13287c476 100644
--- a/var/spack/repos/builtin/packages/dosfstools/package.py
+++ b/var/spack/repos/builtin/packages/dosfstools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dotconf/package.py b/var/spack/repos/builtin/packages/dotconf/package.py
index 8a11d1a0c6..6a14c58d18 100644
--- a/var/spack/repos/builtin/packages/dotconf/package.py
+++ b/var/spack/repos/builtin/packages/dotconf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dotnet-core-sdk/package.py b/var/spack/repos/builtin/packages/dotnet-core-sdk/package.py
index 16b5a22643..18e8b47cfe 100644
--- a/var/spack/repos/builtin/packages/dotnet-core-sdk/package.py
+++ b/var/spack/repos/builtin/packages/dotnet-core-sdk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/double-conversion/package.py b/var/spack/repos/builtin/packages/double-conversion/package.py
index 70ef475aaa..e7ac4910d0 100644
--- a/var/spack/repos/builtin/packages/double-conversion/package.py
+++ b/var/spack/repos/builtin/packages/double-conversion/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/doxygen/gcc-partial-inlining-bug.patch b/var/spack/repos/builtin/packages/doxygen/gcc-partial-inlining-bug.patch
new file mode 100644
index 0000000000..13d0a78e80
--- /dev/null
+++ b/var/spack/repos/builtin/packages/doxygen/gcc-partial-inlining-bug.patch
@@ -0,0 +1,14 @@
+--- a/src/CMakeLists.txt 2021-02-10 22:55:14.766411242 -0500
++++ b/src/CMakeLists.txt 2021-02-10 23:10:17.651541580 -0500
+@@ -305,6 +305,11 @@
+ xmldocvisitor.cpp
+ xmlgen.cpp
+ )
++# Work aroung for GCC bug getting stuck in an infinite loop
++if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
++set_source_files_properties(doxygen.cpp PROPERTIES COMPILE_FLAGS -fno-partial-inlining)
++endif()
++
+ add_sanitizers(doxymain)
+
+ # LLVM/clang headers give a lot of warnings with -Wshadow and -Wcast-align so we disable them for
diff --git a/var/spack/repos/builtin/packages/doxygen/package.py b/var/spack/repos/builtin/packages/doxygen/package.py
index d237fc3d26..85ec0061c0 100644
--- a/var/spack/repos/builtin/packages/doxygen/package.py
+++ b/var/spack/repos/builtin/packages/doxygen/package.py
@@ -1,9 +1,10 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
+import re
class Doxygen(CMakePackage):
@@ -33,6 +34,29 @@ class Doxygen(CMakePackage):
variant('mscgen', default=False,
description='Build with support for code graphs from mscgen.')
+ executables = ['doxygen']
+
+ @classmethod
+ def determine_version(cls, exe):
+ output = Executable(exe)('-v', output=str, error=str)
+ match = re.search(r"^([\d\.]+)$", output)
+ return match.group(1) if match else None
+
+ @classmethod
+ def determine_variants(cls, exes, version_str):
+ variants = ''
+ if which('dot'):
+ variants += "+graphviz"
+ else:
+ variants += "~graphviz"
+
+ if which('mscgen'):
+ variants += "+mscgen"
+ else:
+ variants += "~mscgen"
+
+ return variants
+
depends_on("cmake@2.8.12:", type='build')
depends_on("python", type='build') # 2 or 3 OK; used in CMake build
depends_on("iconv")
@@ -51,6 +75,9 @@ class Doxygen(CMakePackage):
# Also - https://github.com/doxygen/doxygen/pull/6588
patch('shared_ptr.patch', when='@1.8.14')
+ # Workaround for gcc getting stuck in an infinite loop
+ patch('gcc-partial-inlining-bug.patch', when='@1.8.20: %gcc@7')
+
def patch(self):
if self.spec['iconv'].name == 'libc':
return
diff --git a/var/spack/repos/builtin/packages/dpdk/package.py b/var/spack/repos/builtin/packages/dpdk/package.py
index b01c41be84..0d3809e489 100644
--- a/var/spack/repos/builtin/packages/dpdk/package.py
+++ b/var/spack/repos/builtin/packages/dpdk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,15 +19,9 @@ class Dpdk(MakefilePackage):
version('19.05', sha256='5fea95cb726e6adaa506dab330e79563ccd4dacf03f126c826aabdced605d32b')
version('19.02', sha256='04885d32c86fff5aefcfffdb8257fed405233602dbcd22f8298be13c2e285a50')
- depends_on('numactl')
+ conflicts('target=aarch64:', msg='DPDK is not supported on aarch64.')
- @when('%gcc target=aarch64:')
- def patch(self):
- filter_file(
- r'^MACHINE_CFLAGS',
- '#MACHINE_CFLAGS',
- join_path('mk', 'machine', 'armv8a', 'rte.vars.mk')
- )
+ depends_on('numactl')
def build(self, spec, prefix):
make('defconfig')
diff --git a/var/spack/repos/builtin/packages/draco/package.py b/var/spack/repos/builtin/packages/draco/package.py
index eed12b8e75..7085a77aae 100644
--- a/var/spack/repos/builtin/packages/draco/package.py
+++ b/var/spack/repos/builtin/packages/draco/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,6 +18,8 @@ class Draco(CMakePackage):
maintainers = ['KineticTheory']
version('develop', branch='develop')
+ version('7.9.1', sha256='c8fd029d5b74afc68670f7d449d60c24f2d284c9d6a944a2d3dce6efeb6ad097')
+ version('7.9.0', sha256='17b54301897da0d4f9b91fef15cc2ec5e6c65a8e8c1c09e6e7b516c0fb82b50f')
version('7.8.0', sha256='f6de794457441f69025619be58810bca432f3e0dd773ea9b9a7977b1dc09530d')
version('7.7.0', sha256='eb7fffbcba48e16524f619d261192ead129f968c59f3581f3217b89590812ddf')
version('7.6.0', sha256='c2c6b329620d7bcb0f2fc14371f105dfb80a84e7c5adbb34620777034b15c7c9')
@@ -41,6 +43,7 @@ class Draco(CMakePackage):
variant('lapack', default=True, description='Enable LAPACK wrapper')
variant('libquo', default=True, description='Enable Quo wrapper')
variant('parmetis', default=True, description='Enable Parmetis support')
+ variant('pythontools', default=False, description='Enable support for extra python tools')
variant('qt', default=False, description='Enable Qt support')
variant('superlu_dist', default=True, description='Enable SuperLU-DIST support')
@@ -48,6 +51,7 @@ class Draco(CMakePackage):
depends_on('cmake@3.11:', when='@7.0.0:7.1.99', type='build')
depends_on('cmake@3.14:', when='@7.2.0:7.6.99', type='build')
depends_on('cmake@3.17:', when='@7.7:', type='build')
+ depends_on('cmake@3.18:', when='@7.9:', type='build')
depends_on('gsl')
depends_on('mpi@3:', type=('build', 'link', 'run'))
depends_on('numdiff', type='build')
@@ -66,6 +70,7 @@ class Draco(CMakePackage):
depends_on('qt', when='+qt',
type=('build', 'link', 'run'))
depends_on('superlu-dist@:5.99', when='@:7.6.99+superlu_dist')
+ depends_on('py-matplotlib', when='+pythontools', type=('run'))
conflicts('+cuda', when='@:7.6.99')
conflicts('+caliper', when='@:7.7.99')
@@ -87,7 +92,8 @@ class Draco(CMakePackage):
options.extend([
'-Wno-dev',
'-DBUILD_TESTING={0}'.format('ON' if self.run_tests else 'OFF'),
- '-DUSE_CUDA={0}'.format('ON' if '+cuda' in self.spec else 'OFF')
+ '-DUSE_CUDA={0}'.format('ON' if '+cuda' in self.spec else 'OFF'),
+ '-DUSE_QT={0}'.format('ON' if '+qt' in self.spec else 'OFF')
])
return options
diff --git a/var/spack/repos/builtin/packages/dracut/package.py b/var/spack/repos/builtin/packages/dracut/package.py
index 99cc7ca2c2..b78dd96744 100644
--- a/var/spack/repos/builtin/packages/dracut/package.py
+++ b/var/spack/repos/builtin/packages/dracut/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dramsim2/package.py b/var/spack/repos/builtin/packages/dramsim2/package.py
index df2d42af43..411ae82164 100644
--- a/var/spack/repos/builtin/packages/dramsim2/package.py
+++ b/var/spack/repos/builtin/packages/dramsim2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dray/package.py b/var/spack/repos/builtin/packages/dray/package.py
index 9dbf66afd9..4da3be6afb 100644
--- a/var/spack/repos/builtin/packages/dray/package.py
+++ b/var/spack/repos/builtin/packages/dray/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -33,7 +33,9 @@ class Dray(Package, CudaPackage):
maintainers = ['mclarsen', 'cyrush']
- version('develop', branch='develop', submodules='True')
+ version('develop', branch='develop', submodules='True', preferred=True)
+ version('0.1.4', sha256='e763a3aa537b23486a4788f9d68db0a3eb545f6a2e617cd7c8a876682ca2d0a0')
+ version('0.1.3', sha256='b2f624a072463189997343b1ed911cc34c9bb1b6c7f0c3e48efeb40c05dd0d92')
version('0.1.2', sha256='46937f20124b28dc78a634e8e063a3e7a3bbfd9f424ce2680b08417010c376da')
version('0.1.1', sha256='e5daa49ee3367c087f5028dc5a08655298beb318014c6f3f65ef4a08fcbe346c')
version('0.1.0', sha256='8b341138e1069361351e0a94478608c5af479cca76e2f97d556229aed45c0169')
@@ -231,8 +233,12 @@ class Dray(Package, CudaPackage):
#######################
if "+test" in spec:
cfg.write(cmake_cache_entry("DRAY_ENABLE_TESTS", "ON"))
+ # we need this to control BLT tests
+ cfg.write(cmake_cache_entry("ENABLE_TESTS", "ON"))
else:
cfg.write(cmake_cache_entry("DRAY_ENABLE_TESTS", "OFF"))
+ # we need this to control BLT tests
+ cfg.write(cmake_cache_entry("ENABLE_TESTS", "OFF"))
#######################
# Utilities
@@ -251,7 +257,7 @@ class Dray(Package, CudaPackage):
cfg.write(cmake_cache_entry("ENABLE_LOGGING", "OFF"))
#######################
- # Logging
+ # Status
#######################
if "+stats" in spec:
cfg.write(cmake_cache_entry("ENABLE_STATS", "ON"))
@@ -285,34 +291,3 @@ class Dray(Package, CudaPackage):
host_cfg_fname = os.path.abspath(host_cfg_fname)
tty.info("spack generated conduit host-config file: " + host_cfg_fname)
return host_cfg_fname
-
- def cmake_args(self):
- spec = self.spec
-
- options = []
-
- if '+openmp' in spec:
- options.extend([
- '-DENABLE_OPENMP=On'])
-
- if '+cuda' in spec:
- options.extend([
- '-DENABLE_CUDA=On',
- '-DCUDA_TOOLKIT_ROOT_DIR=%s' % (spec['cuda'].prefix)])
- if 'cuda_arch' in spec.variants:
- cuda_value = spec.variants['cuda_arch'].value
- cuda_arch = cuda_value[0]
- options.append('-DCUDA_ARCH=sm_{0}'.format(cuda_arch))
- else:
- options.extend(['-DENABLE_CUDA=OFF'])
-
- options.extend(['-DRAJA_DIR=%s' % (spec['raja'].prefix)])
- options.extend(['-DMFEM_DIR=%s' % (spec['mfem'].prefix)])
- options.extend(['-DUMPIRE_DIR=%s' % (spec['umpire'].prefix)])
- options.extend(['-DCONDUIT_DIR=%s' % (spec['conduit'].prefix)])
- options.extend(['-DDRAY_ENABLE_TESTS=OFF'])
- options.extend(['-DENABLE_LOGGING=OFF'])
- options.extend(['-DENABLE_STATS=OFF'])
- options.extend(['../src'])
-
- return options
diff --git a/var/spack/repos/builtin/packages/dri2proto/package.py b/var/spack/repos/builtin/packages/dri2proto/package.py
index 66b73a7bbc..a1aa85104d 100644
--- a/var/spack/repos/builtin/packages/dri2proto/package.py
+++ b/var/spack/repos/builtin/packages/dri2proto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dri3proto/package.py b/var/spack/repos/builtin/packages/dri3proto/package.py
index e66ce72403..1d03830f98 100644
--- a/var/spack/repos/builtin/packages/dri3proto/package.py
+++ b/var/spack/repos/builtin/packages/dri3proto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/drill/package.py b/var/spack/repos/builtin/packages/drill/package.py
index 01925ec337..d2ecb83ebc 100644
--- a/var/spack/repos/builtin/packages/drill/package.py
+++ b/var/spack/repos/builtin/packages/drill/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dropwatch/package.py b/var/spack/repos/builtin/packages/dropwatch/package.py
index 1af4a50156..873797d561 100644
--- a/var/spack/repos/builtin/packages/dropwatch/package.py
+++ b/var/spack/repos/builtin/packages/dropwatch/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/druid/package.py b/var/spack/repos/builtin/packages/druid/package.py
index b0416e6df4..ed9ccfcd52 100644
--- a/var/spack/repos/builtin/packages/druid/package.py
+++ b/var/spack/repos/builtin/packages/druid/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ds/package.py b/var/spack/repos/builtin/packages/ds/package.py
index 1906450f4c..1ed9e4deb5 100644
--- a/var/spack/repos/builtin/packages/ds/package.py
+++ b/var/spack/repos/builtin/packages/ds/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dsdp/package.py b/var/spack/repos/builtin/packages/dsdp/package.py
index f10c9c2756..98663ada38 100644
--- a/var/spack/repos/builtin/packages/dsdp/package.py
+++ b/var/spack/repos/builtin/packages/dsdp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dsqss/ctest.patch b/var/spack/repos/builtin/packages/dsqss/ctest.patch
new file mode 100644
index 0000000000..1920d6290d
--- /dev/null
+++ b/var/spack/repos/builtin/packages/dsqss/ctest.patch
@@ -0,0 +1,24 @@
+diff -u -r -N a/test/dla/CMakeLists.txt b/test/dla/CMakeLists.txt
+--- a/test/dla/CMakeLists.txt 2020-10-23 17:48:19.000000000 +0900
++++ b/test/dla/CMakeLists.txt 2020-10-23 17:49:46.000000000 +0900
+@@ -2,7 +2,7 @@
+ configure_file(test.py ${CMAKE_CURRENT_BINARY_DIR} COPYONLY)
+ file(GLOB jsons "*.json")
+ set(BUILD_TOOL_DIR ${CMAKE_BINARY_DIR}/tool)
+-set(PYTHONPATH "${BUILD_TOOL_DIR}:${pythonpath_build}")
++set(PYTHONPATH "${BUILD_TOOL_DIR}:${pythonpath_build}:$ENV{PYTHONPATH}")
+ foreach(json ${jsons})
+ configure_file(${json} ${CMAKE_CURRENT_BINARY_DIR} COPYONLY)
+ file(RELATIVE_PATH jsonfilename ${CMAKE_CURRENT_SOURCE_DIR} ${json})
+diff -u -r -N a/test/pmwa/CMakeLists.txt b/test/pmwa/CMakeLists.txt
+--- a/test/pmwa/CMakeLists.txt 2020-10-28 14:22:18.000000000 +0900
++++ b/test/pmwa/CMakeLists.txt 2020-10-28 14:22:57.000000000 +0900
+@@ -10,7 +10,7 @@
+ file(RELATIVE_PATH jsonfilename ${CMAKE_CURRENT_SOURCE_DIR} ${json})
+
+ add_test(NAME "pmwa/${jsonfilename}"
+- COMMAND env PYTHONPATH=${pythonpath_build} ${PYTHON_EXECUTABLE} test.py ${CMAKE_BINARY_DIR}/src/pmwa ${CMAKE_CURRENT_BINARY_DIR}/${jsonfilename}
++ COMMAND env PYTHONPATH=${pythonpath_build}:$ENV{PYTHONPATH} ${PYTHON_EXECUTABLE} test.py ${CMAKE_BINARY_DIR}/src/pmwa ${CMAKE_CURRENT_BINARY_DIR}/${jsonfilename}
+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/
+ )
+ endforeach(json)
diff --git a/var/spack/repos/builtin/packages/dsqss/package.py b/var/spack/repos/builtin/packages/dsqss/package.py
new file mode 100644
index 0000000000..c4cd6e6f5d
--- /dev/null
+++ b/var/spack/repos/builtin/packages/dsqss/package.py
@@ -0,0 +1,47 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+from spack import *
+import sys
+
+
+class Dsqss(CMakePackage):
+ """DSQSS is a program package for solving quantum many-body
+ problems defined on lattices. It is based on the quantum Monte
+ Carlo method in Feynman's path integral representation. """
+
+ homepage = "https://www.pasums.issp.u-tokyo.ac.jp/dsqss/en/"
+ url = "https://github.com/issp-center-dev/dsqss/releases/download/v2.0.3/dsqss-v2.0.3.tar.gz"
+
+ version('2.0.3', sha256='11255dd1f1317fb4ac2d6ae95535f027d627d03f5470717cd277dd9ab94496e0')
+
+ variant("mpi", default=True, description="build mpi support")
+
+ depends_on('mpi', when='+mpi')
+ depends_on('python', type=('build', 'run'))
+ depends_on('py-numpy', type=('build', 'run'))
+ depends_on('py-scipy', type=('build', 'run'))
+ depends_on('py-toml', type=('build', 'run'))
+
+ patch('ctest.patch')
+
+ extends('python')
+
+ # Built-in tests are stored as JSON files.
+ # The archive contains "resource fork" files such as "._dimer_1.json".
+ # In Linux, the test system tried to test "._dimer_1.json" and failed.
+ @run_before('cmake')
+ def rm_macos(self):
+ if sys.platform != 'darwin':
+ for mfile in find('test', '._*.json', recursive=True):
+ force_remove(mfile)
+
+ def cmake_args(self):
+ args = [
+ self.define_from_variant('ENABLE_MPI', 'mpi')
+ ]
+
+ return args
diff --git a/var/spack/repos/builtin/packages/dsrc/package.py b/var/spack/repos/builtin/packages/dsrc/package.py
index 5635fc4423..10235483b5 100644
--- a/var/spack/repos/builtin/packages/dsrc/package.py
+++ b/var/spack/repos/builtin/packages/dsrc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dssp/package.py b/var/spack/repos/builtin/packages/dssp/package.py
index 626464b67c..2128467714 100644
--- a/var/spack/repos/builtin/packages/dssp/package.py
+++ b/var/spack/repos/builtin/packages/dssp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -21,6 +21,16 @@ class Dssp(AutotoolsPackage):
depends_on('m4', type='build')
depends_on('boost@1.48:')
+ # pdb data download.
+ # 1ALK.pdb - PDB (protein data bank) : https://www.rcsb.org/
+ resource(
+ name="pdb_data",
+ url="https://files.rcsb.org/download/1ALK.pdb",
+ sha256="99f4cd7ab63b35d64eacc85dc1491af5a03a1a0a89f2c9aadfb705c591b4b6c9",
+ expand=False,
+ placement='pdb'
+ )
+
def configure_args(self):
args = [
"--with-boost=%s" % self.spec['boost'].prefix]
@@ -30,3 +40,11 @@ class Dssp(AutotoolsPackage):
def edit(self):
makefile = FileFilter(join_path(self.stage.source_path, 'Makefile'))
makefile.filter('.*-Werror .*', ' -Wno-error \\')
+
+ @run_after('install')
+ def cache_test_sources(self):
+ self.cache_extra_test_sources('pdb')
+
+ def test(self):
+ pdb_path = join_path(self.install_test_root, 'pdb')
+ self.run_test('mkdssp', options=['1ALK.pdb', '1alk.dssp'], work_dir=pdb_path)
diff --git a/var/spack/repos/builtin/packages/dtcmp/package.py b/var/spack/repos/builtin/packages/dtcmp/package.py
index e9e17c06f9..cf1bbc233e 100644
--- a/var/spack/repos/builtin/packages/dtcmp/package.py
+++ b/var/spack/repos/builtin/packages/dtcmp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/duperemove/package.py b/var/spack/repos/builtin/packages/duperemove/package.py
index 6a061993c5..20bee13b1f 100644
--- a/var/spack/repos/builtin/packages/duperemove/package.py
+++ b/var/spack/repos/builtin/packages/duperemove/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dyninst/package.py b/var/spack/repos/builtin/packages/dyninst/package.py
index ecc3fbfeb6..8dedf56148 100644
--- a/var/spack/repos/builtin/packages/dyninst/package.py
+++ b/var/spack/repos/builtin/packages/dyninst/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/dysco/package.py b/var/spack/repos/builtin/packages/dysco/package.py
index c7d4978b24..eb66ad2857 100644
--- a/var/spack/repos/builtin/packages/dysco/package.py
+++ b/var/spack/repos/builtin/packages/dysco/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/e2fsprogs/package.py b/var/spack/repos/builtin/packages/e2fsprogs/package.py
index a189073604..f5a4b1a402 100644
--- a/var/spack/repos/builtin/packages/e2fsprogs/package.py
+++ b/var/spack/repos/builtin/packages/e2fsprogs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ea-utils/package.py b/var/spack/repos/builtin/packages/ea-utils/package.py
index 2b044dc23e..bdd1c09ee8 100644
--- a/var/spack/repos/builtin/packages/ea-utils/package.py
+++ b/var/spack/repos/builtin/packages/ea-utils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/eagle/package.py b/var/spack/repos/builtin/packages/eagle/package.py
index 0509f32cd4..e1cbdf37fb 100644
--- a/var/spack/repos/builtin/packages/eagle/package.py
+++ b/var/spack/repos/builtin/packages/eagle/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/earlyoom/package.py b/var/spack/repos/builtin/packages/earlyoom/package.py
index 627e21ab34..d815d96de8 100644
--- a/var/spack/repos/builtin/packages/earlyoom/package.py
+++ b/var/spack/repos/builtin/packages/earlyoom/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/easybuild/package.py b/var/spack/repos/builtin/packages/easybuild/package.py
index 7f9ba11fdb..11c9ce880e 100644
--- a/var/spack/repos/builtin/packages/easybuild/package.py
+++ b/var/spack/repos/builtin/packages/easybuild/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class Easybuild(PythonPackage):
"""
homepage = 'https://easybuilders.github.io/easybuild/'
- url = 'https://pypi.io/packages/source/e/easybuild/easybuild-4.0.0.tar.gz'
+ pypi = 'easybuild/easybuild-4.0.0.tar.gz'
maintainers = ['boegel']
version('4.0.0', sha256='21bcc1048525ad6219667cc97a7421b5388068c670cabba356712e474896de40')
diff --git a/var/spack/repos/builtin/packages/ebms/package.py b/var/spack/repos/builtin/packages/ebms/package.py
index 1afb5c33d6..704ed5cd4c 100644
--- a/var/spack/repos/builtin/packages/ebms/package.py
+++ b/var/spack/repos/builtin/packages/ebms/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/eccodes/package.py b/var/spack/repos/builtin/packages/eccodes/package.py
index c31bb14f45..06f5195d82 100644
--- a/var/spack/repos/builtin/packages/eccodes/package.py
+++ b/var/spack/repos/builtin/packages/eccodes/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,6 +17,8 @@ class Eccodes(CMakePackage):
maintainers = ['skosukhin']
+ version('2.20.0', sha256='207a3d7966e75d85920569b55a19824673e8cd0b50db4c4dac2d3d52eacd7985')
+ version('2.19.1', sha256='9964bed5058e873d514bd4920951122a95963128b12f55aa199d9afbafdd5d4b')
version('2.18.0', sha256='d88943df0f246843a1a062796edbf709ef911de7269648eef864be259e9704e3')
version('2.13.0', sha256='c5ce1183b5257929fc1f1c8496239e52650707cfab24f4e0e1f1a471135b8272')
version('2.5.0', sha256='18ab44bc444168fd324d07f7dea94f89e056f5c5cd973e818c8783f952702e4e')
@@ -58,6 +60,8 @@ class Eccodes(CMakePackage):
depends_on('py-numpy', when='+python', type=('build', 'run'))
extends('python', when='+python')
+ depends_on('cmake@3.6:', type='build')
+ depends_on('cmake@3.12:', when='@2.19:', type='build')
conflicts('+openmp', when='+pthreads',
msg='Cannot enable both POSIX threads and OMP')
diff --git a/var/spack/repos/builtin/packages/ecdsautils/package.py b/var/spack/repos/builtin/packages/ecdsautils/package.py
index cbba4a4f65..7fcafd905e 100644
--- a/var/spack/repos/builtin/packages/ecdsautils/package.py
+++ b/var/spack/repos/builtin/packages/ecdsautils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ecflow/package.py b/var/spack/repos/builtin/packages/ecflow/package.py
index 14b3f2033d..bdaf77283d 100644
--- a/var/spack/repos/builtin/packages/ecflow/package.py
+++ b/var/spack/repos/builtin/packages/ecflow/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/eclipse-gcj-parser/package.py b/var/spack/repos/builtin/packages/eclipse-gcj-parser/package.py
index 13100d89a8..dcf94d99e8 100644
--- a/var/spack/repos/builtin/packages/eclipse-gcj-parser/package.py
+++ b/var/spack/repos/builtin/packages/eclipse-gcj-parser/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ecos/package.py b/var/spack/repos/builtin/packages/ecos/package.py
index 7ce3427a3f..fbd1378916 100644
--- a/var/spack/repos/builtin/packages/ecos/package.py
+++ b/var/spack/repos/builtin/packages/ecos/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ecp-data-vis-sdk/package.py b/var/spack/repos/builtin/packages/ecp-data-vis-sdk/package.py
new file mode 100644
index 0000000000..44391cb79b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/ecp-data-vis-sdk/package.py
@@ -0,0 +1,115 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class EcpDataVisSdk(BundlePackage):
+ """ECP Data & Vis SDK"""
+
+ homepage = "https://github.com/chuckatkins/ecp-data-viz-sdk"
+
+ tags = ['ecp']
+ maintainers = ['chuckatkins']
+
+ version('1.0')
+
+ ############################################################
+ # Variants
+ ############################################################
+
+ # I/O
+ variant('adios2', default=True, description="Enable ADIOS2")
+ variant('darshan', default=True, description="Enable Darshan")
+ variant('faodel', default=False, description="Enable FAODEL")
+ variant('hdf5', default=True, description="Enable HDF5")
+ variant('pnetcdf', default=True, description="Enable PNetCDF")
+ variant('unifyfs', default=True, description="Enable UnifyFS")
+ variant('veloc', default=True, description="Enable VeloC")
+
+ # Vis
+ variant('ascent', default=False, description="Enable Ascent")
+ variant('paraview', default=False, description="Enable ParaView")
+ variant('sz', default=True, description="Enable SZ")
+ variant('vtkm', default=False, description="Enable VTK-m")
+ variant('zfp', default=True, description="Enable ZFP")
+
+ # Outstanding concretization issues
+ # variant('cinema', default=True, description="Enable Cinema")
+
+ # Outstanding build issues
+ # variant('catalyst', default=False, description="Enable Catalyst")
+ # variant('visit', default=False, description="Enable VisIt")
+
+ ############################################################
+ # This is a messy workaround until the clingo concretizer can be required.
+ # The intent is to map package variants to dependency variants:
+ # Package variants a, and b, mapping to dependency variants A and B
+ # produce the following set of dependencies:
+ # depends_on('foo+A+B', when='+a+b')
+ # depends_on('foo+A~B', when='+a~b')
+ # depends_on('foo~A+B', when='~a+b')
+ # depends_on('foo~A~B', when='~a~b')
+ # The clingo concretizer will allow that to be expressed much simpler by
+ # only considering defaults once everything else is resolved:
+ # depends_on('foo')
+ # depends_on('foo+A', when='+a')
+ # depends_on('foo+B', when='+b')
+ ############################################################
+
+ # Helper function to generate dependencies on the Cartesian product of
+ # variants. If a dictionary is passed then it provides a mapping of
+ # package variant name to dependency variant name. Otherwise assume they
+ # are the same variant name in both the package and dependency
+ def variants2deps(dep_spec, pkg_spec, variants):
+ if not type(variants) is dict:
+ variants = dict([(v, v) for v in variants])
+ n = len(variants)
+ for i in range(0, pow(2, n)):
+ state = ['+' if d == '1' else '~' for d in format(i, '0' + str(n) + 'b')]
+ [pkg_vars, dep_vars] = [''.join(v) for v in zip(
+ *[(s + pv, s + dv) for s, (pv, dv) in zip(state, variants.items())])]
+ dependency = ' '.join((dep_spec, dep_vars))
+ predicate = ' '.join((pkg_spec, pkg_vars))
+ depends_on(dependency, when=predicate)
+
+ ############################################################
+ # Dependencies
+ ############################################################
+ variants2deps('adios2+shared+mpi+fortran+python+blosc+sst+ssc+dataman',
+ '+adios2', ['hdf5', 'sz', 'zfp'])
+
+ depends_on('darshan-runtime+mpi', when='+darshan')
+ depends_on('darshan-util', when='+darshan')
+
+ variants2deps('faodel+shared+mpi network=libfabric', '+faodel', ['hdf5'])
+
+ depends_on('hdf5 +shared+mpi', when='+hdf5')
+ # +fortran breaks the concretizer... Needs new concretizer
+ # depends_on('hdf5 +shared+mpi+fortran', when='+hdf5')
+
+ depends_on('parallel-netcdf+shared+fortran', when='+pnetcdf')
+
+ variants2deps('unifyfs+fortran', '+unifyfs', ['hdf5'])
+
+ depends_on('veloc', when='+veloc')
+
+ depends_on('ascent+shared+mpi+fortran+openmp+python+vtkh+dray', when='+ascent')
+ depends_on('catalyst', when='+catalyst')
+
+ depends_on('py-cinema-lib', when='+cinema')
+ depends_on('py-cinemasci', when='+cinema')
+
+ variants2deps('paraview+shared+mpi+python3+kits', '+paraview', ['hdf5'])
+ # +adios2 is not yet enabled in the paraview package
+ # depends_on('paraview+adios2', when='+paraview +adios2')
+
+ depends_on('visit', when='+visit')
+
+ depends_on('vtk-m+shared+mpi+openmp+rendering', when='+vtkm')
+
+ variants2deps('sz+shared+fortran+python+random_access', '+sz', ['hdf5'])
+
+ depends_on('zfp', when='+zfp')
diff --git a/var/spack/repos/builtin/packages/ecp-io-sdk/package.py b/var/spack/repos/builtin/packages/ecp-io-sdk/package.py
deleted file mode 100644
index 6a43b77ffa..0000000000
--- a/var/spack/repos/builtin/packages/ecp-io-sdk/package.py
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
-# Spack Project Developers. See the top-level COPYRIGHT file for details.
-#
-# SPDX-License-Identifier: (Apache-2.0 OR MIT)
-
-from spack import *
-
-
-class EcpIoSdk(BundlePackage):
- """ECP I/O Services SDK"""
-
- homepage = "https://github.com/chuckatkins/ecp-data-viz-sdk"
- git = "https://github.com/chuckatkins/ecp-data-viz-sdk.git"
-
- maintainers = ['chuckatkins']
-
- version('1.0', branch='master')
-
- variant('adios2', default=True, description="Enable ADIOS2")
- variant('darshan', default=True, description="Enable Darshan")
- variant('faodel', default=False, description="Enable FAODEL")
- variant('hdf5', default=True, description="Enable HDF5")
- variant('pnetcdf', default=True, description="Enable PNetCDF")
- variant('unifyfs', default=True, description="Enable UnifyFS")
- variant('veloc', default=True, description="Enable VeloC")
-
- depends_on('adios2+shared+mpi+fortran+python+zfp+sz+blosc+hdf5+sst+ssc+dataman', when='+adios2')
- depends_on('darshan-runtime+mpi', when='+darshan')
- depends_on('darshan-util', when='+darshan')
- depends_on('faodel+shared+mpi+hdf5 network=libfabric', when='+faodel')
- depends_on('hdf5+shared+mpi+fortran', when='+hdf5')
- depends_on('parallel-netcdf+shared+fortran', when='+pnetcdf')
- depends_on('unifyfs+fortran+hdf5', when='+unifyfs')
- depends_on('veloc', when='+veloc')
diff --git a/var/spack/repos/builtin/packages/ecp-proxy-apps/package.py b/var/spack/repos/builtin/packages/ecp-proxy-apps/package.py
index ebd2c2e3f3..6ff3262996 100644
--- a/var/spack/repos/builtin/packages/ecp-proxy-apps/package.py
+++ b/var/spack/repos/builtin/packages/ecp-proxy-apps/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ecp-viz-sdk/package.py b/var/spack/repos/builtin/packages/ecp-viz-sdk/package.py
deleted file mode 100644
index 337ca17237..0000000000
--- a/var/spack/repos/builtin/packages/ecp-viz-sdk/package.py
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
-# Spack Project Developers. See the top-level COPYRIGHT file for details.
-#
-# SPDX-License-Identifier: (Apache-2.0 OR MIT)
-
-from spack import *
-
-
-class EcpVizSdk(BundlePackage):
- """ECP Viz & Analysis SDK"""
-
- homepage = "https://github.com/chuckatkins/ecp-data-viz-sdk"
- git = "https://github.com/chuckatkins/ecp-data-viz-sdk.git"
-
- maintainers = ['chuckatkins']
-
- version('1.0', branch='master')
-
- variant('ascent', default=False, description="Enable Ascent")
- # variant('catalyst', default=False, description="Enable Catalyst")
- variant('paraview', default=False, description="Enable ParaView")
- variant('sz', default=False, description="Enable SZ")
- variant('vtkm', default=False, description="Enable VTK-m")
- variant('zfp', default=False, description="Enable ZFP")
-
- # Outstanding build issues
- # variant('visit', default=False, description="Enable VisIt")
-
- # Missing spack package
- # variant('cinema', default=False, description="Enable Cinema")
- # variant('rover', default=False, description="Enable ROVER")
-
- depends_on('ascent+shared+mpi+fortran+openmp+python+vtkh+dray', when='+ascent')
- depends_on('catalyst', when='+catalyst')
- depends_on('paraview+shared+mpi+python3+hdf5+kits', when='+paraview')
- depends_on('visit', when='+visit')
- depends_on('vtk-m+shared+mpi+openmp+rendering', when='+vtkm')
- depends_on('sz+shared+fortran+hdf5+python+random_access', when='+sz')
- depends_on('zfp', when='+zfp')
diff --git a/var/spack/repos/builtin/packages/ed/package.py b/var/spack/repos/builtin/packages/ed/package.py
index 21a29bd497..5fe1997ee0 100644
--- a/var/spack/repos/builtin/packages/ed/package.py
+++ b/var/spack/repos/builtin/packages/ed/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/editline/package.py b/var/spack/repos/builtin/packages/editline/package.py
index 393b0fac59..39e76683d1 100644
--- a/var/spack/repos/builtin/packages/editline/package.py
+++ b/var/spack/repos/builtin/packages/editline/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/editres/package.py b/var/spack/repos/builtin/packages/editres/package.py
index 90dcc1d49a..1e442a2734 100644
--- a/var/spack/repos/builtin/packages/editres/package.py
+++ b/var/spack/repos/builtin/packages/editres/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/edm4hep/package.py b/var/spack/repos/builtin/packages/edm4hep/package.py
new file mode 100644
index 0000000000..1f46ffe762
--- /dev/null
+++ b/var/spack/repos/builtin/packages/edm4hep/package.py
@@ -0,0 +1,72 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+class Edm4hep(CMakePackage):
+ """Event data model of Key4hep."""
+
+ homepage = "https://github.com/key4hep/EDM4hep"
+ url = "https://github.com/key4hep/EDM4hep/archive/v00-01.tar.gz"
+ git = "https://github.com/key4hep/EDM4hep.git"
+
+ maintainers = ['vvolkl']
+
+ tags = ["hep", "key4hep"]
+
+ version('master', branch='master')
+ version('0.3', sha256='d0ad8a486c3ed1659ea97d47b268fe56718fdb389b5935f23ba93804e4d5fbc5')
+
+ variant('cxxstd',
+ default='17',
+ values=('17',),
+ multi=False,
+ description='Use the specified C++ standard when building.')
+
+ depends_on('cmake@3.3:', type='build')
+ depends_on('python', type='build')
+
+ depends_on('root@6.08:')
+ depends_on('podio@0.13:')
+
+ depends_on('hepmc@:2.99.99', type='test')
+ depends_on('heppdt', type='test')
+
+ def cmake_args(self):
+ args = []
+ # C++ Standard
+ args.append(self.define('CMAKE_CXX_STANDARD',
+ self.spec.variants['cxxstd'].value))
+ return args
+
+ def url_for_version(self, version):
+ """Translate version numbers to ilcsoft conventions.
+ in spack, the convention is: 0.1 (or 0.1.0) 0.1.1, 0.2, 0.2.1 ...
+ in ilcsoft, releases are dashed and padded with a leading zero
+ the patch version is omitted when 0
+ so for example v01-12-01, v01-12 ...
+ :param self: spack package class that has a url
+ :type self: class: `spack.PackageBase`
+ :param version: version
+ :type param: str
+ """
+ base_url = self.url.rsplit('/', 1)[0]
+
+ if len(version) == 1:
+ major = version[0]
+ minor, patch = 0, 0
+ elif len(version) == 2:
+ major, minor = version
+ patch = 0
+ else:
+ major, minor, patch = version
+
+ # By now the data is normalized enough to handle it easily depending
+ # on the value of the patch version
+ if patch == 0:
+ version_str = 'v%02d-%02d.tar.gz' % (major, minor)
+ else:
+ version_str = 'v%02d-%02d-%02d.tar.gz' % (major, minor, patch)
+
+ return base_url + '/' + version_str
diff --git a/var/spack/repos/builtin/packages/eem/package.py b/var/spack/repos/builtin/packages/eem/package.py
index 8e904b0c8c..ef48491beb 100644
--- a/var/spack/repos/builtin/packages/eem/package.py
+++ b/var/spack/repos/builtin/packages/eem/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/efivar/package.py b/var/spack/repos/builtin/packages/efivar/package.py
index 49b68d56b9..9e91040238 100644
--- a/var/spack/repos/builtin/packages/efivar/package.py
+++ b/var/spack/repos/builtin/packages/efivar/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/eigen/package.py b/var/spack/repos/builtin/packages/eigen/package.py
index d133f9f01a..b996738f75 100644
--- a/var/spack/repos/builtin/packages/eigen/package.py
+++ b/var/spack/repos/builtin/packages/eigen/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/eigenexa/fj_compiler.patch b/var/spack/repos/builtin/packages/eigenexa/fj_compiler.patch
new file mode 100644
index 0000000000..f5ba03aea4
--- /dev/null
+++ b/var/spack/repos/builtin/packages/eigenexa/fj_compiler.patch
@@ -0,0 +1,64 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -200,7 +200,7 @@ AC_SUBST(DEBUG)
+ ## fortran compiler
+ #
+
+-eigenexa_default_fc="mpifrtpx mpiifort mpixlf90_r sxmpif90 mpif90"
++eigenexa_default_fc="mpifrt mpifrtpx mpiifort mpixlf90_r sxmpif90 mpif90"
+
+ # check usablility
+ AC_PROG_F77($eigenexa_default_fc)
+@@ -221,7 +221,6 @@ AC_MSG_CHECKING([for actual compiler])
+
+ fc_ver_info=$(${F77} -E --version)
+ for vtok in ${fc_ver_info} ; do
+-
+ if test x"${vtok}" = x"ifort"; then
+ FC_ACT="ifort"
+ break
+@@ -230,12 +229,16 @@ for vtok in ${fc_ver_info} ; do
+ FC_ACT="gfortran"
+ break
+
++ elif test x"${vtok}" = x"(FRT)"; then
++ FC_ACT="mpifrtpx"
++ break
++
+ fi
+
+ done
+
+ if test -z "${FC_ACT}"; then
+- FC_ACT=${F77}
++ FC_ACT=`basename ${F77}`
+ fi
+
+ if test x"${FC_ACT}" = x"ifort"; then
+@@ -260,7 +263,7 @@ fi
+ ## C compiler
+ #
+
+-eigenexa_default_cc="mpifccpx mpiicc mpixlc_r sxmpic++ mpicc"
++eigenexa_default_cc="mpifcc mpifccpx mpiicc mpixlc_r sxmpic++ mpicc"
+
+ # check usablility
+ AC_PROG_CC($eigenexa_default_cc)
+@@ -423,7 +426,7 @@ fi
+ ## For Fujitsu compiler architecture-oriented options
+ if test x"${FC_ACT}" = x"mpifrtpx"; then
+ F_ARCH=""
+- F_BASE="-Kopenmp,openmp_ordered_reduction"
++ F_BASE="-Kopenmp"
+ fi
+
+
+@@ -489,7 +492,7 @@ elif test x"${FC_ACT}" = x"gfortran"; th
+ FFLAGS0=${G_BASE}" -O0"
+
+ elif test x"${FC_ACT}" = x"mpifrtpx"; then
+- FFLAGS0="-Kopenmp,openmp_ordered_reduction -Cpp"
++ FFLAGS0="-Kopenmp -Cpp"
+
+ elif test x"${FC_ACT}" = x"mpixlf90_r"; then
+ FFLAGS0="-qfixed -qsmp=omp -qthreaded -O0 -qessl -qstrict"
diff --git a/var/spack/repos/builtin/packages/eigenexa/gcc_compiler.patch b/var/spack/repos/builtin/packages/eigenexa/gcc_compiler.patch
new file mode 100644
index 0000000000..3c0e0bf983
--- /dev/null
+++ b/var/spack/repos/builtin/packages/eigenexa/gcc_compiler.patch
@@ -0,0 +1,29 @@
+--- a/configure.ac
++++ c/configure.ac
+@@ -440,7 +440,7 @@ else
+ FFLAGS=${I_BASE}" -Ofast "${I_ARCH}
+
+ elif test x"${FC_ACT}" = x"gfortran"; then
+- FFLAGS=${G_BASE}" -O3 "${G_ARCH}
++ FFLAGS=${G_BASE}" -O3 -fopenmp "${G_ARCH}
+
+ elif test x"${FC_ACT}" = x"mpifrtpx"; then
+ FFLAGS=${F_BASE}" -Kfast,ocl,simd,swp "${F_ARCH}
+@@ -465,7 +465,7 @@ else
+ FCFLAGS=${I_BASE}" -Ofast "${I_ARCH}
+
+ elif test x"${FC_ACT}" = x"gfortran"; then
+- FCFLAGS=${G_BASE}" -O3 "${G_ARCH}
++ FCFLAGS=${G_BASE}" -O3 -fopenmp "${G_ARCH}
+
+ elif test x"${FC_ACT}" = x"mpifrtpx"; then
+ FCFLAGS=${F_BASE}" -Kfast,ocl,simd,swp "${F_ARCH}
+@@ -486,7 +486,7 @@ if test x"${FC_ACT}" = x"ifort"; then
+ FFLAGS0=${I_BASE}" -O0 "
+
+ elif test x"${FC_ACT}" = x"gfortran"; then
+- FFLAGS0=${G_BASE}" -O0"
++ FFLAGS0=${G_BASE}" -O0 -fopenmp "
+
+ elif test x"${FC_ACT}" = x"mpifrtpx"; then
+ FFLAGS0="-Kopenmp,openmp_ordered_reduction -Cpp"
diff --git a/var/spack/repos/builtin/packages/eigenexa/package.py b/var/spack/repos/builtin/packages/eigenexa/package.py
new file mode 100644
index 0000000000..265c48b35d
--- /dev/null
+++ b/var/spack/repos/builtin/packages/eigenexa/package.py
@@ -0,0 +1,69 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Eigenexa(AutotoolsPackage):
+ """EigenExa is a high-performance eigenvalue solver."""
+
+ homepage = "https://www.r-ccs.riken.jp/labs/lpnctrt/projects/eigenexa/"
+ url = "https://www.r-ccs.riken.jp/labs/lpnctrt/projects/eigenexa/EigenExa-2.6.tgz"
+
+ version(
+ "2.6", sha256="a1a4e571a8051443f28e7ea4889272993452a4babd036d2b4dd6b28154302f95"
+ )
+
+ depends_on("autoconf", type="build")
+ depends_on("automake", type="build")
+ depends_on("libtool", type="build")
+ depends_on("m4", type="build")
+ depends_on("mpi")
+ depends_on("lapack")
+ depends_on("scalapack")
+
+ patch("fj_compiler.patch", when="%fj")
+ patch("gcc_compiler.patch", when="%gcc")
+
+ parallel = False
+ force_autoreconf = True
+
+ def setup_build_environment(self, env):
+ env.set("FC", self.spec["mpi"].mpifc, force=True)
+ env.set("F77", self.spec["mpi"].mpif77, force=True)
+ env.set("CC", self.spec["mpi"].mpicc, force=True)
+ env.set(
+ "LAPACK_LIBS",
+ "{0} {1}".format(
+ self.spec["lapack"].libs.ld_flags, self.spec["scalapack"].libs.ld_flags
+ ),
+ )
+ env.set(
+ "LAPACK_PATH",
+ "{0}".format(
+ ":".join(
+ self.spec["lapack"].libs.directories
+ + self.spec["scalapack"].libs.directories
+ )
+ ),
+ )
+
+ @run_after('install')
+ def cache_test_sources(self):
+ self.cache_extra_test_sources("benchmark")
+
+ def test(self):
+ test_dir = self.test_suite.current_test_data_dir
+ exe_name = join_path(test_dir, "run-test.sh")
+ mpi_name = self.spec["mpi"].prefix.bin.mpirun
+ test_file = join_path(
+ self.install_test_root, "benchmark", "eigenexa_benchmark"
+ )
+ input_file = join_path(self.install_test_root, "benchmark", "IN")
+ opts = [exe_name, mpi_name, '-n', '1', test_file, '-f', input_file]
+ env["OMP_NUM_THREADS"] = "1"
+ self.run_test(
+ "sh", options=opts, expected="EigenExa Test Passed !", work_dir=test_dir
+ )
diff --git a/var/spack/repos/builtin/packages/eigenexa/test/result-check.sh b/var/spack/repos/builtin/packages/eigenexa/test/result-check.sh
new file mode 100644
index 0000000000..a8a406ec23
--- /dev/null
+++ b/var/spack/repos/builtin/packages/eigenexa/test/result-check.sh
@@ -0,0 +1,36 @@
+#!/bin/bash
+
+grep -q "Benchmark completed" $@
+if [ $? -eq 1 ]; then
+ echo "EigenExa Test Failed !"
+ exit 1
+fi
+
+while read line;do
+ case $line in
+ *'Eigenvalue Relative Error'* )
+ tmp=$line
+ read line
+ if [[ "$line" != '|w| is too small, so it is not severe.' ]]; then
+ echo "${tmp}" >> output.txt
+ fi
+ ;;
+ *'Eigenvalue Absolute Error'* )
+ tmp=$line
+ read line
+ if [ "$line" != 'Do not mind it. Condition number is too large.' ] && \
+ [ "$line" != 'Do not mind it. Relative error is small enough' ]; then
+ echo "${tmp}" >> output.txt
+ fi
+ ;;
+ *'Residual Error Test'* | *'Orthogonality Test'* )
+ echo "${line}" >> output.txt ;;
+ esac
+done < $@
+
+grep -q "FAILED" output.txt
+if [ $? -eq 1 ]; then
+ echo "EigenExa Test Passed !"
+elif [ $? -eq 0 ]; then
+ echo "EigenExa Test Failed !"
+fi
diff --git a/var/spack/repos/builtin/packages/eigenexa/test/run-test.sh b/var/spack/repos/builtin/packages/eigenexa/test/run-test.sh
new file mode 100644
index 0000000000..3ec7a520a6
--- /dev/null
+++ b/var/spack/repos/builtin/packages/eigenexa/test/run-test.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+$@ 2>&1 | tee run_test_results.txt
+result-check.sh run_test_results.txt
diff --git a/var/spack/repos/builtin/packages/elasticsearch/package.py b/var/spack/repos/builtin/packages/elasticsearch/package.py
index e543b3d875..2a4adb4c3d 100644
--- a/var/spack/repos/builtin/packages/elasticsearch/package.py
+++ b/var/spack/repos/builtin/packages/elasticsearch/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/elemental/package.py b/var/spack/repos/builtin/packages/elemental/package.py
index a46e31ff11..4431dab782 100644
--- a/var/spack/repos/builtin/packages/elemental/package.py
+++ b/var/spack/repos/builtin/packages/elemental/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/elfutils/package.py b/var/spack/repos/builtin/packages/elfutils/package.py
index bd5295cae0..10fd616369 100644
--- a/var/spack/repos/builtin/packages/elfutils/package.py
+++ b/var/spack/repos/builtin/packages/elfutils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/elk/package.py b/var/spack/repos/builtin/packages/elk/package.py
index 1367eda296..3d2aa767fd 100644
--- a/var/spack/repos/builtin/packages/elk/package.py
+++ b/var/spack/repos/builtin/packages/elk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/elmerfem/package.py b/var/spack/repos/builtin/packages/elmerfem/package.py
index 24433a58f8..e7573fcf64 100644
--- a/var/spack/repos/builtin/packages/elmerfem/package.py
+++ b/var/spack/repos/builtin/packages/elmerfem/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/elpa/package.py b/var/spack/repos/builtin/packages/elpa/package.py
index d7c1f6fa54..c05b712900 100644
--- a/var/spack/repos/builtin/packages/elpa/package.py
+++ b/var/spack/repos/builtin/packages/elpa/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,8 +11,8 @@ from spack import *
class Elpa(AutotoolsPackage, CudaPackage):
"""Eigenvalue solvers for Petaflop-Applications (ELPA)"""
- homepage = 'http://elpa.mpcdf.mpg.de/'
- url = 'http://elpa.mpcdf.mpg.de/elpa-2015.11.001.tar.gz'
+ homepage = 'https://elpa.mpcdf.mpg.de/'
+ url = 'https://elpa.mpcdf.mpg.de/elpa-2015.11.001.tar.gz'
version('2020.05.001', sha256='66ff1cf332ce1c82075dc7b5587ae72511d2bcb3a45322c94af6b01996439ce5')
version('2019.11.001', sha256='10374a8f042e23c7e1094230f7e2993b6f3580908a213dbdf089792d05aff357')
@@ -22,6 +22,7 @@ class Elpa(AutotoolsPackage, CudaPackage):
version('2017.11.001', sha256='59f99c3abe2190fac0db8a301d0b9581ee134f438669dbc92551a54f6f861820')
version('2017.05.003', sha256='bccd49ce35a323bd734b17642aed8f2588fea4cc78ee8133d88554753bc3bf1b')
version('2017.05.002', sha256='568b71024c094d667b5cbb23045ad197ed5434071152ac608dae490ace5eb0aa')
+ version('2017.05.001', sha256='28f7edad60984d93da299016ad33571dc6db1cdc9fab0ceaef05dc07de2c7dfd')
version('2016.11.001.pre', sha256='69b67f0f6faaa2b3b5fd848127b632be32771636d2ad04583c5269d550956f92')
version('2016.05.004', sha256='08c59dc9da458bab856f489d779152e5506e04f0d4b8d6dcf114ca5fbbe46c58')
version('2016.05.003', sha256='c8da50c987351514e61491e14390cdea4bdbf5b09045261991876ed5b433fca4')
@@ -37,9 +38,9 @@ class Elpa(AutotoolsPackage, CudaPackage):
depends_on('libtool', type='build')
def url_for_version(self, version):
- t = 'http://elpa.mpcdf.mpg.de/html/Releases/{0}/elpa-{0}.tar.gz'
+ t = 'https://elpa.mpcdf.mpg.de/html/Releases/{0}/elpa-{0}.tar.gz'
if version < Version('2016.05.003'):
- t = 'http://elpa.mpcdf.mpg.de/elpa-{0}.tar.gz'
+ t = 'https://elpa.mpcdf.mpg.de/elpa-{0}.tar.gz'
return t.format(str(version))
# override default implementation which returns static lib
@@ -79,6 +80,10 @@ class Elpa(AutotoolsPackage, CudaPackage):
if spec.target.family == 'aarch64':
options.append('--disable-sse-assembly')
+ if '%aocc' in spec:
+ options.append('--disable-shared')
+ options.append('--enable-static')
+
# If no features are found, enable the generic ones
if not any(f in spec.target for f in simd_features):
options.append('--enable-generic')
@@ -89,6 +94,12 @@ class Elpa(AutotoolsPackage, CudaPackage):
'CFLAGS=-O2'
])
+ if '%aocc' in spec:
+ options.extend([
+ 'FCFLAGS=-O3',
+ 'CFLAGS=-O3'
+ ])
+
if '+cuda' in spec:
prefix = spec['cuda'].prefix
options.append('--enable-gpu')
@@ -113,7 +124,8 @@ class Elpa(AutotoolsPackage, CudaPackage):
'FC={0}'.format(spec['mpi'].mpifc),
'CXX={0}'.format(spec['mpi'].mpicxx),
'LDFLAGS={0}'.format(spec['lapack'].libs.search_flags),
- 'LIBS={0}'.format(spec['lapack'].libs.link_flags),
+ 'LIBS={0} {1}'.format(
+ spec['lapack'].libs.link_flags, spec['blas'].libs.link_flags),
'SCALAPACK_LDFLAGS={0}'.format(spec['scalapack'].libs.joined())
])
diff --git a/var/spack/repos/builtin/packages/elsd/package.py b/var/spack/repos/builtin/packages/elsd/package.py
index f625b80dda..eb2f7c787f 100644
--- a/var/spack/repos/builtin/packages/elsd/package.py
+++ b/var/spack/repos/builtin/packages/elsd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/elsdc/package.py b/var/spack/repos/builtin/packages/elsdc/package.py
index c41e5ece66..13b74bb0d9 100644
--- a/var/spack/repos/builtin/packages/elsdc/package.py
+++ b/var/spack/repos/builtin/packages/elsdc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/elsi/package.py b/var/spack/repos/builtin/packages/elsi/package.py
index f800b57943..b7669415bd 100644
--- a/var/spack/repos/builtin/packages/elsi/package.py
+++ b/var/spack/repos/builtin/packages/elsi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/emacs/package.py b/var/spack/repos/builtin/packages/emacs/package.py
index 0759fd28d5..a9b10c6b6d 100644
--- a/var/spack/repos/builtin/packages/emacs/package.py
+++ b/var/spack/repos/builtin/packages/emacs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ember/package.py b/var/spack/repos/builtin/packages/ember/package.py
index 3d866fdc11..d542395022 100644
--- a/var/spack/repos/builtin/packages/ember/package.py
+++ b/var/spack/repos/builtin/packages/ember/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/emboss/package.py b/var/spack/repos/builtin/packages/emboss/package.py
index 62f043694a..19ac6695ce 100644
--- a/var/spack/repos/builtin/packages/emboss/package.py
+++ b/var/spack/repos/builtin/packages/emboss/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/embree/package.py b/var/spack/repos/builtin/packages/embree/package.py
index 432055aa83..d86787dcb6 100644
--- a/var/spack/repos/builtin/packages/embree/package.py
+++ b/var/spack/repos/builtin/packages/embree/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/enca/package.py b/var/spack/repos/builtin/packages/enca/package.py
index 9324a22652..13e44fbe1f 100644
--- a/var/spack/repos/builtin/packages/enca/package.py
+++ b/var/spack/repos/builtin/packages/enca/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/enchant/package.py b/var/spack/repos/builtin/packages/enchant/package.py
index 4592a2a671..3666a3616e 100644
--- a/var/spack/repos/builtin/packages/enchant/package.py
+++ b/var/spack/repos/builtin/packages/enchant/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/energyplus/package.py b/var/spack/repos/builtin/packages/energyplus/package.py
index 13b1d5b745..397d37ea6b 100644
--- a/var/spack/repos/builtin/packages/energyplus/package.py
+++ b/var/spack/repos/builtin/packages/energyplus/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/entrezdirect/package.py b/var/spack/repos/builtin/packages/entrezdirect/package.py
index 038a57035f..e75d9fc762 100644
--- a/var/spack/repos/builtin/packages/entrezdirect/package.py
+++ b/var/spack/repos/builtin/packages/entrezdirect/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/entt/package.py b/var/spack/repos/builtin/packages/entt/package.py
index 9d06460a31..704ba4456f 100644
--- a/var/spack/repos/builtin/packages/entt/package.py
+++ b/var/spack/repos/builtin/packages/entt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/environment-modules/package.py b/var/spack/repos/builtin/packages/environment-modules/package.py
index c6b023c251..a047941afc 100644
--- a/var/spack/repos/builtin/packages/environment-modules/package.py
+++ b/var/spack/repos/builtin/packages/environment-modules/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,10 +10,11 @@ class EnvironmentModules(Package):
"""
homepage = 'https://cea-hpc.github.io/modules/'
- url = 'https://github.com/cea-hpc/modules/releases/download/v4.6.1/modules-4.6.1.tar.gz'
+ url = 'https://github.com/cea-hpc/modules/releases/download/v4.7.0/modules-4.7.0.tar.gz'
maintainers = ['xdelaruelle']
+ version('4.7.0', sha256='3ab0a649e23b4dd00963e4cae60e573b449194ecb4035c5ce487330b272b4d06')
version('4.6.1', sha256='3445df39abe5838b94552b53e7dbff56ada8347b9fdc6c04a72297d5b04af76f')
version('4.6.0', sha256='b42b14bb696bf1075ade1ecaefe7735dbe411db4c29031a1dae549435eafa946')
version('4.5.3', sha256='7cbd9c61e6dcd82a3f81b5ced92c3cf84ecc5489639bdfc94869256383a2c915')
diff --git a/var/spack/repos/builtin/packages/enzo/for_aarch64.patch b/var/spack/repos/builtin/packages/enzo/for_aarch64.patch
new file mode 100644
index 0000000000..6e1672bda0
--- /dev/null
+++ b/var/spack/repos/builtin/packages/enzo/for_aarch64.patch
@@ -0,0 +1,11 @@
+--- spack-src/src/enzo/FindSuperSourceByPosition.C.bak 2019-09-19 21:35:51.000000000 +0900
++++ spack-src/src/enzo/FindSuperSourceByPosition.C 2021-02-17 11:58:28.574066786 +0900
+@@ -1,7 +1,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <math.h>
+-#include <xmmintrin.h>
++#include <sse2neon.h>
+ #include "ErrorExceptions.h"
+ #include "macros_and_parameters.h"
+ #include "typedefs.h"
diff --git a/var/spack/repos/builtin/packages/enzo/package.py b/var/spack/repos/builtin/packages/enzo/package.py
new file mode 100644
index 0000000000..6220d6e46a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/enzo/package.py
@@ -0,0 +1,67 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Enzo(MakefilePackage):
+ """The Enzo adaptive mesh-refinement simulation code."""
+
+ homepage = "https://enzo-project.org/"
+ url = "https://github.com/enzo-project/enzo-dev/archive/enzo-2.6.1.tar.gz"
+ git = "https://github.com/enzo-project/enzo-dev.git"
+
+ version('master', branch='master')
+ version('2.6.1', sha256='280270accfc1ddb60e92cc98ca538a3e5787e8cc93ed58fb5c3ab75db8c4b048')
+
+ depends_on('mpi')
+ depends_on('hdf5~mpi')
+ depends_on('sse2neon', when='target=aarch64:')
+
+ patch('for_aarch64.patch', when='target=aarch64:')
+
+ # https://github.com/enzo-project/enzo-dev/pull/158
+ patch('https://github.com/enzo-project/enzo-dev/commit/0191ff5ad9ad2c7639d44823e84cd0115e7a2970.patch', sha256='01328a5f5fe72ac5af31661deb6891ea160264b67a470d6ce91b71b001845810', when='@2.6.1 ^hdf5@1.12.0:')
+
+ def flag_handler(self, name, flags):
+ if name == 'fflags':
+ if self.spec.satisfies('%gcc@10:'):
+ if flags is None:
+ flags = []
+ flags.append('-fallow-argument-mismatch')
+
+ return (flags, None, None)
+
+ def edit(self, spec, prefix):
+ configure = Executable('./configure')
+ configure()
+
+ with working_dir('src/enzo'):
+ copy('Make.mach.linux-gnu', 'Make.mach.spack')
+ filter_file('^MACH_FILE.*',
+ 'MACH_FILE = Make.mach.spack',
+ 'Make.mach.spack')
+ filter_file('^LOCAL_HDF5_INSTALL.*',
+ 'LOCAL_HDF5_INSTALL = {0}'.format(spec['hdf5'].prefix),
+ 'Make.mach.spack')
+ filter_file('^LOCAL_GRACKLE_INSTALL.*',
+ 'LOCAL_GRACKLE_INSTALL =',
+ 'Make.mach.spack')
+ filter_file('^LOCAL_HYPRE_INSTALL.*',
+ 'LOCAL_HYPRE_INSTALL =',
+ 'Make.mach.spack')
+
+ def build(self, spec, prefix):
+ with working_dir('src/enzo'):
+ make('machine-spack')
+ make('opt-high')
+ make('show-config')
+ make()
+
+ def install(self, spec, prefix):
+ install_tree('bin', prefix.bin)
+ install_tree('doc', prefix.doc)
+ install_tree('input', prefix.input)
+ install_tree('run', prefix.run)
diff --git a/var/spack/repos/builtin/packages/eospac/package.py b/var/spack/repos/builtin/packages/eospac/package.py
index bb0f06085f..84fb294b90 100644
--- a/var/spack/repos/builtin/packages/eospac/package.py
+++ b/var/spack/repos/builtin/packages/eospac/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,7 +15,16 @@ class Eospac(Package):
homepage = "http://laws.lanl.gov/projects/data/eos.html"
list_url = "http://laws.lanl.gov/projects/data/eos/eospacReleases.php"
- version('6.4.1', sha256='2310c49bd7a60cad41d2cb1059c5f0a1904f0c778b164937182382df326ca003', preferred=True,
+ # An EOSPAC release labeled "beta" doesn't always imply that the
+ # release is less suitable for production. According to the
+ # current EOSPAC release procedure, even a release that only fixes
+ # known bugs in a previous stable release will appear first as a
+ # new beta.
+ version('6.4.2', sha256='13627a5c94d3a456659d1bba0f3cec157380933fbd401e13e25906166150a252',
+ url="https://laws.lanl.gov/projects/data/eos/get_file.php?package=eospac&filename=eospac_v6.4.2_e2f7906a0863932e3d65d329f789c4b90c6be58d.tgz")
+ version('6.4.2beta', sha256='635b94f1ec7558deca92a3858c92db0f4437170252bb114cbdb809b74b6ee870', preferred=True,
+ url="http://laws.lanl.gov/projects/data/eos/get_file.php?package=eospac&filename=eospac_v6.4.2beta_a62baf70708536f6fb5486e315c730fa76c1f6b5.tgz")
+ version('6.4.1', sha256='2310c49bd7a60cad41d2cb1059c5f0a1904f0c778b164937182382df326ca003',
url="http://laws.lanl.gov/projects/data/eos/get_file.php?package=eospac&filename=eospac_v6.4.1_0cc1bc21a8bb1adadbae0dd3a2135790e8119320.tgz")
version('6.4.1beta', sha256='479074a7be724760f8f1f90a8673f6197b7c5aa1ff76242ecf3790c9016e08c3',
url="http://laws.lanl.gov/projects/data/eos/get_file.php?package=eospac&filename=eospac_v6.4.1beta_b651322c74cf5729732afd5d77c66c41d677be5e.tgz")
diff --git a/var/spack/repos/builtin/packages/eq-r/package.py b/var/spack/repos/builtin/packages/eq-r/package.py
index 8270489368..6b69160124 100644
--- a/var/spack/repos/builtin/packages/eq-r/package.py
+++ b/var/spack/repos/builtin/packages/eq-r/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/er/package.py b/var/spack/repos/builtin/packages/er/package.py
index 343a08ff91..e8306e273d 100644
--- a/var/spack/repos/builtin/packages/er/package.py
+++ b/var/spack/repos/builtin/packages/er/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/erfa/package.py b/var/spack/repos/builtin/packages/erfa/package.py
index b500089352..0a6a8b54a1 100644
--- a/var/spack/repos/builtin/packages/erfa/package.py
+++ b/var/spack/repos/builtin/packages/erfa/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/erlang/package.py b/var/spack/repos/builtin/packages/erlang/package.py
index 02d097fbd3..fc9bc74159 100644
--- a/var/spack/repos/builtin/packages/erlang/package.py
+++ b/var/spack/repos/builtin/packages/erlang/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,7 +16,7 @@ class Erlang(AutotoolsPackage):
homepage = "https://erlang.org/"
url = "https://erlang.org/download/otp_src_22.2.tar.gz"
- version('23.0', sha256='42dcf3c721f4de59fe74ae7b65950c2174c46dc8d1dd4e27c0594d86f606a635')
+ version('23.0', sha256='42dcf3c721f4de59fe74ae7b65950c2174c46dc8d1dd4e27c0594d86f606a635')
version('22.2', sha256='89c2480cdac566065577c82704a48e10f89cf2e6ca5ab99e1cf80027784c678f')
version('22.1', sha256='cd33a102cbac6dd1c7b1e7a9a0d82d13587771fac4e96e8fff92e403d15e32c8')
version('22.0', sha256='042e168d74055a501c75911694758a30597446accd8c82ec569552b9e9fcd272')
diff --git a/var/spack/repos/builtin/packages/ermod/package.py b/var/spack/repos/builtin/packages/ermod/package.py
index 38c2ab6963..51d5ab7c9e 100644
--- a/var/spack/repos/builtin/packages/ermod/package.py
+++ b/var/spack/repos/builtin/packages/ermod/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/erne/package.py b/var/spack/repos/builtin/packages/erne/package.py
index 3a9e276851..5d5de68350 100644
--- a/var/spack/repos/builtin/packages/erne/package.py
+++ b/var/spack/repos/builtin/packages/erne/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/es-shell/package.py b/var/spack/repos/builtin/packages/es-shell/package.py
index c8f7bcc83c..c3093d30cd 100644
--- a/var/spack/repos/builtin/packages/es-shell/package.py
+++ b/var/spack/repos/builtin/packages/es-shell/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,3 +19,4 @@ class EsShell(AutotoolsPackage):
version('0.9.1', sha256='b0b41fce99b122a173a06b899a4d92e5bd3cc48b227b2736159f596a58fff4ba')
depends_on('readline')
+ depends_on('yacc')
diff --git a/var/spack/repos/builtin/packages/esmf/package.py b/var/spack/repos/builtin/packages/esmf/package.py
index 3055b4446e..d5c4724f99 100644
--- a/var/spack/repos/builtin/packages/esmf/package.py
+++ b/var/spack/repos/builtin/packages/esmf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,8 +15,10 @@ class Esmf(MakefilePackage):
and utilities for developing individual models."""
homepage = "https://www.earthsystemcog.org/projects/esmf/"
- url = "http://www.earthsystemmodeling.org/esmf_releases/public/ESMF_7_1_0r/esmf_7_1_0r_src.tar.gz"
+ url = 'https://github.com/esmf-org/esmf/archive/ESMF_8_0_1.tar.gz'
+ version('8.0.1', sha256='9172fb73f3fe95c8188d889ee72fdadb4f978b1d969e1d8e401e8d106def1d84')
+ version('8.0.0', sha256='051dca45f9803d7e415c0ea146df15ce487fb55f0fce18ca61d96d4dba0c8774')
version('7.1.0r', sha256='ae9a5edb8d40ae97a35cbd4bd00b77061f995c77c43d36334dbb95c18b00a889')
variant('mpi', default=True, description='Build with MPI support')
@@ -68,7 +70,10 @@ class Esmf(MakefilePackage):
chmod('+x', 'scripts/libs.mvapich2f90')
def url_for_version(self, version):
- return "http://www.earthsystemmodeling.org/esmf_releases/public/ESMF_{0}/esmf_{0}_src.tar.gz".format(version.underscored)
+ if version < Version('8.0.0'):
+ return "http://www.earthsystemmodeling.org/esmf_releases/public/ESMF_{0}/esmf_{0}_src.tar.gz".format(version.underscored)
+ else:
+ return "https://github.com/esmf-org/esmf/archive/ESMF_{0}.tar.gz".format(version.underscored)
def edit(self, spec, prefix):
# Installation instructions can be found at:
diff --git a/var/spack/repos/builtin/packages/espanso/package.py b/var/spack/repos/builtin/packages/espanso/package.py
index b820a14be8..0c946e23d9 100644
--- a/var/spack/repos/builtin/packages/espanso/package.py
+++ b/var/spack/repos/builtin/packages/espanso/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/essl/package.py b/var/spack/repos/builtin/packages/essl/package.py
index 29ba3958e7..d0442ede00 100644
--- a/var/spack/repos/builtin/packages/essl/package.py
+++ b/var/spack/repos/builtin/packages/essl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/etcd/package.py b/var/spack/repos/builtin/packages/etcd/package.py
index fa21e6965b..e3b58cec63 100644
--- a/var/spack/repos/builtin/packages/etcd/package.py
+++ b/var/spack/repos/builtin/packages/etcd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ethminer/package.py b/var/spack/repos/builtin/packages/ethminer/package.py
index bc57f2630d..bd5f045c18 100644
--- a/var/spack/repos/builtin/packages/ethminer/package.py
+++ b/var/spack/repos/builtin/packages/ethminer/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ethtool/package.py b/var/spack/repos/builtin/packages/ethtool/package.py
index bbf53f505f..3b7337ad43 100644
--- a/var/spack/repos/builtin/packages/ethtool/package.py
+++ b/var/spack/repos/builtin/packages/ethtool/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/etsf-io/package.py b/var/spack/repos/builtin/packages/etsf-io/package.py
index a878894db3..56d02002b8 100644
--- a/var/spack/repos/builtin/packages/etsf-io/package.py
+++ b/var/spack/repos/builtin/packages/etsf-io/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/evemu/package.py b/var/spack/repos/builtin/packages/evemu/package.py
index 09041d6f94..98f203ffff 100644
--- a/var/spack/repos/builtin/packages/evemu/package.py
+++ b/var/spack/repos/builtin/packages/evemu/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/everytrace-example/package.py b/var/spack/repos/builtin/packages/everytrace-example/package.py
index 6ba1271522..1d7b89d53a 100644
--- a/var/spack/repos/builtin/packages/everytrace-example/package.py
+++ b/var/spack/repos/builtin/packages/everytrace-example/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/everytrace/package.py b/var/spack/repos/builtin/packages/everytrace/package.py
index f07607fc12..e808fa9dae 100644
--- a/var/spack/repos/builtin/packages/everytrace/package.py
+++ b/var/spack/repos/builtin/packages/everytrace/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/evieext/package.py b/var/spack/repos/builtin/packages/evieext/package.py
index a926727e5d..2725549ad2 100644
--- a/var/spack/repos/builtin/packages/evieext/package.py
+++ b/var/spack/repos/builtin/packages/evieext/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/evtgen/package.py b/var/spack/repos/builtin/packages/evtgen/package.py
index 641d3d5795..bdc32196fb 100644
--- a/var/spack/repos/builtin/packages/evtgen/package.py
+++ b/var/spack/repos/builtin/packages/evtgen/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,6 +13,8 @@ class Evtgen(AutotoolsPackage):
homepage = "https://evtgen.hepforge.org/"
url = "http://lcgpackages.web.cern.ch/lcgpackages/tarFiles/sources/MCGeneratorsTarFiles/evtgen-R01-07-00.tar.gz"
+ tags = ['hep']
+
maintainers = ['vvolkl']
version('02-00-00', sha256='02372308e1261b8369d10538a3aa65fe60728ab343fcb64b224dac7313deb719')
diff --git a/var/spack/repos/builtin/packages/exa/package.py b/var/spack/repos/builtin/packages/exa/package.py
index e6a0fe39a4..50809bc6c4 100644
--- a/var/spack/repos/builtin/packages/exa/package.py
+++ b/var/spack/repos/builtin/packages/exa/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/exabayes/package.py b/var/spack/repos/builtin/packages/exabayes/package.py
index c8ef56717d..3c39766eef 100644
--- a/var/spack/repos/builtin/packages/exabayes/package.py
+++ b/var/spack/repos/builtin/packages/exabayes/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/examinimd/package.py b/var/spack/repos/builtin/packages/examinimd/package.py
index c8afa1c223..92c3880dcd 100644
--- a/var/spack/repos/builtin/packages/examinimd/package.py
+++ b/var/spack/repos/builtin/packages/examinimd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -56,7 +56,7 @@ class Examinimd(MakefilePackage):
targets.append('CXX = {0}'.format(self.spec['mpi'].mpicxx))
else:
targets.append('MPI=0')
- targets.append('CXX = {0}'.format('spack_cxx'))
+ targets.append('CXX = {0}'.format(spack_cxx))
return targets
def install(self, spec, prefix):
diff --git a/var/spack/repos/builtin/packages/examl/package.py b/var/spack/repos/builtin/packages/examl/package.py
index d5f115b9be..aff8e3ae4b 100644
--- a/var/spack/repos/builtin/packages/examl/package.py
+++ b/var/spack/repos/builtin/packages/examl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/exampm/package.py b/var/spack/repos/builtin/packages/exampm/package.py
index 64732c2eda..d952985077 100644
--- a/var/spack/repos/builtin/packages/exampm/package.py
+++ b/var/spack/repos/builtin/packages/exampm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/exasp2/package.py b/var/spack/repos/builtin/packages/exasp2/package.py
index f51d32a922..3211160074 100644
--- a/var/spack/repos/builtin/packages/exasp2/package.py
+++ b/var/spack/repos/builtin/packages/exasp2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/exciting/dfgather.patch b/var/spack/repos/builtin/packages/exciting/dfgather.patch
new file mode 100644
index 0000000000..1c0a847b61
--- /dev/null
+++ b/var/spack/repos/builtin/packages/exciting/dfgather.patch
@@ -0,0 +1,27 @@
+--- dfgather.F90_old 2020-09-16 17:19:18.000000000 -0600
++++ dfgather.F90 2020-09-16 17:19:21.000000000 -0600
+@@ -27,6 +27,11 @@
+ ! loop over q-points
+ Do iq = 1, nqpt
+ tq0 = tqgamma (iq)
++
++ call genfilname(basename='X0', bzsampl=bzsampl,&
++ & acont=input%xs%tddft%acont, nar= .not. input%xs%tddft%aresdf,&
++ & tord=input%xs%tddft%torddf, markfxcbse=tfxcbse, iqmt=iq, filnam=fnchi0)
++
+ ! calculate k+q and G+k+q related variables
+ Call init1offs (qvkloff(1, iq))
+ ! size of local field effects
+@@ -54,6 +59,12 @@
+ call mpi_bcast(chi0hd,3*3,MPI_DOUBLE_COMPLEX,iproc,mpi_comm_world,ierr)
+ #endif
+ if(rank.eq.0.or.(firstinnode.and. .not.input%sharedfs))then
++ if (iw == wpari) then
++ print *, 'procs=', procs
++ print *, 'rank=', rank
++ print *, 'iq=', iq, '/', nqpt
++ print *, 'fnchi0=',trim(fnchi0)
++ end if
+ Call putx0 (tq0, iq, iw, trim(fnchi0), '', chi0, chi0wg, &
+ & chi0hd)
+ endif
diff --git a/var/spack/repos/builtin/packages/exciting/for_aarch64.patch b/var/spack/repos/builtin/packages/exciting/for_aarch64.patch
new file mode 100644
index 0000000000..01e4a73939
--- /dev/null
+++ b/var/spack/repos/builtin/packages/exciting/for_aarch64.patch
@@ -0,0 +1,12 @@
+--- spack-src/src/FoX/config/config.guess.bak 2019-03-20 20:13:07.000000000 +0900
++++ spack-src/src/FoX/config/config.guess 2020-12-22 09:36:28.448022150 +0900
+@@ -832,6 +832,9 @@
+ arm*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
+ exit ;;
++ aarch64:Linux:*:*)
++ echo ${UNAME_MACHINE}-unknown-linux-gnu
++ exit ;;
+ avr32*:Linux:*:*)
+ echo ${UNAME_MACHINE}-unknown-linux-gnu
+ exit ;;
diff --git a/var/spack/repos/builtin/packages/exciting/package.py b/var/spack/repos/builtin/packages/exciting/package.py
new file mode 100644
index 0000000000..c44f9aa93d
--- /dev/null
+++ b/var/spack/repos/builtin/packages/exciting/package.py
@@ -0,0 +1,120 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Exciting(MakefilePackage):
+ """
+ exciting is a full-potential all-electron density-functional-theory package
+ implementing the families of linearized augmented planewave methods. It can
+ be applied to all kinds of materials, irrespective of the atomic species in
+ volved, and also allows for exploring the physics of core electrons. A
+ particular focus are excited states within many-body perturbation theory.
+ """
+
+ homepage = "http://exciting-code.org/"
+ url = "http://exciting.wdfiles.com/local--files/nitrogen-14/exciting.nitrogen-14.tar.gz"
+
+ version('14', sha256='a7feaffdc23881d6c0737d2f79f94d9bf073e85ea358a57196d7f7618a0a3eff')
+
+ # as-of-yet unpublished fix to version 14
+ patch('dfgather.patch', when='@14', working_dir='src/src_xs', level=0)
+ # Patch to add aarch64 in config.guess
+ patch('for_aarch64.patch', when='target=aarch64:')
+
+ variant('mpi', default=False, description='Use MPI')
+ variant('mkl', default=False, description='Use MKL')
+ variant('omp', default=True, description='Use OpenMP')
+ variant('scalapack', default=False, description='Use ScaLAPACK')
+ depends_on('blas')
+ depends_on('lapack')
+ depends_on('fftw', when='~mkl')
+ depends_on('mkl', when='+mkl')
+ depends_on('mpi', when='+mpi')
+ depends_on('scalapack', when='+scalapack')
+ conflicts('%gcc@10:', msg='exciting cannot be built with GCC 10')
+
+ for __compiler in spack.compilers.supported_compilers():
+ if __compiler != 'intel':
+ conflicts('%{0}'.format(__compiler), when='^mkl',
+ msg='MKL only works with the Intel compiler')
+
+ def edit(self, spec, prefix):
+ opts = {}
+ opts['BUILDSMP'] = 'true'
+ opts['F90_OPTS'] = '-cpp '
+ opts['F77_OPTS'] = '-cpp -O3 '
+ opts['CPP_ON_OPTS'] = '-cpp -DXS -DISO -DLIBXC'
+ opts['LIB_ARP'] = 'libarpack.a'
+ opts['F90'] = spack_fc
+ opts['F77'] = spack_f77
+ if '+omp' in spec:
+ opts['LDFLAGS'] = self.compiler.openmp_flag + ' -DUSEOMP'
+ opts['F90_OPTS'] += self.compiler.openmp_flag + ' -DUSEOMP'
+ opts['F77_OPTS'] += self.compiler.openmp_flag + ' -DUSEOMP'
+ if '%intel' in spec:
+ opts['F90_OPTS'] += ' -O3 -cpp -ip -unroll -scalar_rep '
+ opts['CPP_ON_OPTS'] += ' -DIFORT -DFFTW'
+ if '%gcc' in spec:
+ opts['F90_OPTS'] += '-O3 -march=native -ffree-line-length-0'
+ filter_file('FCFLAGS = @FCFLAGS@',
+ ' '.join(['FCFLAGS = @FCFLAGS@', '-cpp',
+ self.compiler.openmp_flag]),
+ 'src/libXC/src/Makefile.in')
+ if '+mkl' in spec:
+ if '%intel' in spec:
+ opts['LIB_LPK'] = '-mkl=parallel'
+ opts['INC_MKL'] = spec['mkl'].headers.include_flags
+ opts['LIB_MKL'] = spec['mkl'].libs.ld_flags
+ else:
+ opts['LIB_LPK'] = ' '.join([spec['lapack'].libs.ld_flags,
+ spec['blas'].libs.ld_flags,
+ self.compiler.openmp_flag])
+ if '+mpi' in spec:
+ opts['BUILDMPI'] = 'true'
+ opts['MPIF90'] = spec['mpi'].mpifc
+ opts['MPIF90_CPP_OPTS'] = self.compiler.openmp_flag
+ opts['MPIF90_CPP_OPTS'] += ' -DMPI -DMPIRHO -DMPISEC '
+ opts['MPIF90_OPTS'] = ' '.join(['$(F90_OPTS)', '$(CPP_ON_OPTS) '
+ '$(MPIF90_CPP_OPTS)'])
+ opts['MPIF90MT'] = '$(MPIF90)'
+ else:
+ opts['BUILDMPI'] = 'false'
+
+ if '+scalapack' in spec:
+ opts['LIB_SCLPK'] = spec['scalapack'].libs.ld_flags
+ opts['LIB_SCLPK'] += ' ' + self.compiler.openmp_flag
+ opts['CPP_SCLPK'] = ' -DSCAL '
+ opts['LIBS_MPI'] = '$(LIB_SCLPK)'
+ opts['MPIF90_CPP_OPTS'] += ' $(CPP_SCLPK) '
+
+ opts['USE_SYS_LAPACK'] = 'true'
+ opts['LIB_FFT'] = 'fftlib.a'
+ opts['LIB_BZINT'] = 'libbzint.a'
+ opts['LIBS'] = '$(LIB_ARP) $(LIB_LPK) $(LIB_FFT) $(LIB_BZINT)'
+ with open('build/make.inc', 'a') as inc:
+ for key in opts:
+ inc.write('{0} = {1}\n'.format(key, opts[key]))
+
+ def install(self, spec, prefix):
+ install_tree('bin', prefix)
+ install_tree('species', prefix.species)
+ install_tree('tools', prefix.tools)
+
+ def setup_run_environment(self, env):
+ env.set('WNHOME', self.prefix)
+ env.set('EXCITINGROOT', self.prefix)
+ env.set('EXCITINGBIN', self.prefix.bin)
+ env.set('EXCITINGTOOLS', self.prefix.tools)
+ env.set('EXCITINGSTM', self.prefix.tools.stm)
+ env.set('EXCITINGVISUAL', self.prefix.xml.visualizationtemplates)
+ env.set('EXCITINGCONVERT', self.prefix.xml.inputfileconverter)
+ env.set('TIMEFORMAT', ' Elapsed time = %0lR')
+ env.set('WRITEMINMAX', '1')
+ env.append_path('PYTHONPATH', self.prefix.tools.stm)
+ env.append_path('PATH', self.prefix.tools)
+ env.append_path('PATH', self.prefix)
+ env.append_path('PATH', self.prefix.tools.stm)
diff --git a/var/spack/repos/builtin/packages/exiv2/package.py b/var/spack/repos/builtin/packages/exiv2/package.py
index 53fad9cdfe..25652c7581 100644
--- a/var/spack/repos/builtin/packages/exiv2/package.py
+++ b/var/spack/repos/builtin/packages/exiv2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/exmcutils/package.py b/var/spack/repos/builtin/packages/exmcutils/package.py
index 860f0518e7..57a62744e2 100644
--- a/var/spack/repos/builtin/packages/exmcutils/package.py
+++ b/var/spack/repos/builtin/packages/exmcutils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/exodusii/package.py b/var/spack/repos/builtin/packages/exodusii/package.py
index 7a163dcffb..b2f1d6db59 100644
--- a/var/spack/repos/builtin/packages/exodusii/package.py
+++ b/var/spack/repos/builtin/packages/exodusii/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/exonerate-gff3/package.py b/var/spack/repos/builtin/packages/exonerate-gff3/package.py
index 87bc23e071..bc9ad300be 100644
--- a/var/spack/repos/builtin/packages/exonerate-gff3/package.py
+++ b/var/spack/repos/builtin/packages/exonerate-gff3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/exonerate/package.py b/var/spack/repos/builtin/packages/exonerate/package.py
index 2d4c3f7b1b..edb6936c91 100644
--- a/var/spack/repos/builtin/packages/exonerate/package.py
+++ b/var/spack/repos/builtin/packages/exonerate/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/expat/package.py b/var/spack/repos/builtin/packages/expat/package.py
index f5d9475812..72c03da59a 100644
--- a/var/spack/repos/builtin/packages/expat/package.py
+++ b/var/spack/repos/builtin/packages/expat/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -39,7 +39,9 @@ class Expat(AutotoolsPackage):
def configure_args(self):
spec = self.spec
- args = ['--without-docbook']
+ args = ['--without-docbook',
+ '--enable-static',
+ ]
if '+libbsd' in spec and '@2.2.1:' in spec:
args.append('--with-libbsd')
return args
diff --git a/var/spack/repos/builtin/packages/expect/package.py b/var/spack/repos/builtin/packages/expect/package.py
index 71c9595101..8127f01ec9 100644
--- a/var/spack/repos/builtin/packages/expect/package.py
+++ b/var/spack/repos/builtin/packages/expect/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,9 +13,11 @@ class Expect(AutotoolsPackage):
telnet, ftp, passwd, fsck, rlogin, tip, etc."""
homepage = "http://expect.sourceforge.net/"
- url = "https://sourceforge.net/projects/expect/files/Expect/5.45/expect5.45.tar.gz/download"
+ url = "https://sourceforge.net/projects/expect/files/Expect/5.45.4/expect5.45.4.tar.gz/download"
- version('5.45', sha256='b28dca90428a3b30e650525cdc16255d76bb6ccd65d448be53e620d95d5cc040')
+ version('5.45.4', sha256='49a7da83b0bdd9f46d04a04deec19c7767bb9a323e40c4781f89caf760b92c34')
+ version('5.45.3', sha256='c520717b7195944a69ce1492ec82ca0ac3f3baf060804e6c5ee6d505ea512be9')
+ version('5.45', sha256='b28dca90428a3b30e650525cdc16255d76bb6ccd65d448be53e620d95d5cc040')
depends_on('tcl')
@@ -24,12 +26,10 @@ class Expect(AutotoolsPackage):
depends_on('libtool', type='build')
depends_on('m4', type='build')
- # https://github.com/spack/spack/issues/19767
- conflicts('%apple-clang@12:')
-
force_autoreconf = True
- patch('expect_detect_tcl_private_header_os_x_mountain_lion.patch', when='@5.45')
+ patch('xcode_12.patch', when='%apple-clang@12:')
+ patch('expect_detect_tcl_private_header_os_x_mountain_lion.patch', when='@5.45:5.45.0')
def configure_args(self):
spec = self.spec
diff --git a/var/spack/repos/builtin/packages/expect/xcode_12.patch b/var/spack/repos/builtin/packages/expect/xcode_12.patch
new file mode 100644
index 0000000000..f7ae9e4597
--- /dev/null
+++ b/var/spack/repos/builtin/packages/expect/xcode_12.patch
@@ -0,0 +1,282 @@
+https://core.tcl-lang.org/expect/tktview/0d5b33c00e5b4bbedb835498b0360d7115e832a0
+--- expect5.45.4/configure.in.ORIG 2020-12-05 17:26:55.000000000 +0000
++++ expect5.45.4/configure.in 2020-12-05 18:39:00.000000000 +0000
+@@ -452,7 +452,11 @@
+ # because Unixware 2.0 handles it specially and refuses to compile
+ # autoconf's automatic test that is a call with no arguments
+ AC_MSG_CHECKING([for memcpy])
+-AC_TRY_LINK(,[
++AC_TRY_LINK([
++#ifdef HAVE_STRING_H
++#include <string.h>
++#endif
++],[
+ char *s1, *s2;
+ memcpy(s1,s2,0);
+ ],
+@@ -469,7 +473,7 @@
+ AC_MSG_CHECKING([if WNOHANG requires _POSIX_SOURCE])
+ AC_TRY_RUN([
+ #include <sys/wait.h>
+-main() {
++int main() {
+ #ifndef WNOHANG
+ return 0;
+ #else
+@@ -489,7 +493,7 @@
+ AC_TRY_RUN([
+ #include <stdio.h>
+ #include <sys/wait.h>
+-main() {
++int main() {
+ #ifdef WNOHANG
+ FILE *fp = fopen("wnohang","w");
+ fprintf(fp,"%d",WNOHANG);
+@@ -536,6 +540,13 @@
+ AC_MSG_CHECKING([if signals need to be re-armed])
+ AC_TRY_RUN([
+ #include <signal.h>
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++#ifndef NO_SYS_WAIT_H
++#include <sys/wait.h>
++#endif
++
+ #define RETSIGTYPE $retsigtype
+
+ int signal_rearms = 0;
+@@ -553,7 +564,7 @@
+ signal_rearms++;
+ }
+
+-main()
++int main()
+ {
+ signal(SIGINT,parent_sigint_handler);
+
+@@ -567,8 +578,9 @@
+
+ wait(&status);
+ unlink("core");
+- exit(signal_rearms);
++ return signal_rearms;
+ }
++ return -1;
+ }],
+ AC_MSG_RESULT(yes)
+ AC_DEFINE(REARM_SIG)
+@@ -714,10 +726,10 @@
+ AC_MSG_CHECKING([for struct sgttyb])
+ AC_TRY_RUN([
+ #include <sgtty.h>
+-main()
++int main()
+ {
+ struct sgttyb tmp;
+- exit(0);
++ return 0;
+ }],
+ AC_MSG_RESULT(yes)
+ AC_DEFINE(HAVE_SGTTYB)
+@@ -738,10 +750,10 @@
+ # pty_termios.c is set up to handle pty_termio.
+ AC_MSG_CHECKING([for struct termio])
+ AC_TRY_RUN([#include <termio.h>
+- main()
++ int main()
+ {
+ struct termio tmp;
+- exit(0);
++ return 0;
+ }],
+ AC_DEFINE(HAVE_TERMIO)
+ PTY_TYPE=termios
+@@ -760,10 +772,10 @@
+ # include <inttypes.h>
+ # endif
+ # include <termios.h>
+- main()
++ int main()
+ {
+ struct termios tmp;
+- exit(0);
++ return 0;
+ }],
+ AC_DEFINE(HAVE_TERMIOS)
+ PTY_TYPE=termios
+@@ -782,7 +794,7 @@
+ #include <inttypes.h>
+ #endif
+ #include <termios.h>
+-main() {
++int main() {
+ #if defined(TCGETS) || defined(TCGETA)
+ return 0;
+ #else
+@@ -797,21 +809,18 @@
+ AC_MSG_ERROR([Expect can't be cross compiled])
+ )
+
+-AC_MSG_CHECKING([if TIOCGWINSZ in termios.h])
++AC_MSG_CHECKING([if termios.h and sys/ioctl.h may both be included])
+ AC_TRY_RUN([
+ /* including termios.h on Solaris 5.6 fails unless inttypes.h included */
+ #ifdef HAVE_INTTYPES_H
+ #include <inttypes.h>
+ #endif
+ #include <termios.h>
+-main() {
+-#ifdef TIOCGWINSZ
++#include <sys/ioctl.h>
++int main() {
+ return 0;
+-#else
+- return 1;
+-#endif
+ }],
+- AC_DEFINE(HAVE_TIOCGWINSZ_IN_TERMIOS_H)
++ AC_DEFINE(HAVE_TERMIOS_AND_IOCTL_H_TOGETHER)
+ AC_MSG_RESULT(yes)
+ ,
+ AC_MSG_RESULT(no)
+@@ -823,7 +832,7 @@
+ AC_MSG_CHECKING([for Cray-style ptys])
+ SETUID=":"
+ AC_TRY_RUN([
+-main(){
++int main(){
+ #ifdef CRAY
+ return 0;
+ #else
+@@ -878,12 +887,12 @@
+ AC_TRY_RUN([
+ extern char *tzname[2];
+ extern int daylight;
+-main()
++int main()
+ {
+ int *x = &daylight;
+ char **y = tzname;
+
+- exit(0);
++ return 0;
+ }],
+ AC_DEFINE(HAVE_SV_TIMEZONE)
+ AC_MSG_RESULT(yes),
+--- expect5.45.4/tclconfig/tcl.m4.ORIG 2020-12-05 17:31:41.000000000 +0000
++++ expect5.45.4/tclconfig/tcl.m4 2020-12-05 17:32:39.000000000 +0000
+@@ -2400,7 +2400,7 @@
+ AC_TRY_COMPILE([#include <time.h>],
+ [extern long timezone;
+ timezone += 1;
+- exit (0);],
++ return 0;],
+ tcl_cv_timezone_long=yes, tcl_cv_timezone_long=no)])
+ if test $tcl_cv_timezone_long = yes ; then
+ AC_DEFINE(HAVE_TIMEZONE_VAR, 1, [Should we use the global timezone variable?])
+@@ -2412,7 +2412,7 @@
+ AC_TRY_COMPILE([#include <time.h>],
+ [extern time_t timezone;
+ timezone += 1;
+- exit (0);],
++ return 0;],
+ tcl_cv_timezone_time=yes, tcl_cv_timezone_time=no)])
+ if test $tcl_cv_timezone_time = yes ; then
+ AC_DEFINE(HAVE_TIMEZONE_VAR, 1, [Should we use the global timezone variable?])
+@@ -2452,17 +2452,17 @@
+ double value;
+ value = strtod(infString, &term);
+ if ((term != infString) && (term[-1] == 0)) {
+- exit(1);
++ return 1;
+ }
+ value = strtod(nanString, &term);
+ if ((term != nanString) && (term[-1] == 0)) {
+- exit(1);
++ return 1;
+ }
+ value = strtod(spaceString, &term);
+ if (term == (spaceString+1)) {
+- exit(1);
++ return 1;
+ }
+- exit(0);
++ return 0;
+ }], tcl_cv_strtod_buggy=ok, tcl_cv_strtod_buggy=buggy,
+ tcl_cv_strtod_buggy=buggy)])
+ if test "$tcl_cv_strtod_buggy" = buggy; then
+--- expect5.45.4/exp_tty.h.ORIG 2020-12-05 18:25:06.000000000 +0000
++++ expect5.45.4/exp_tty.h 2020-12-05 18:24:14.000000000 +0000
+@@ -19,6 +19,7 @@
+ void exp_tty_echo(int set);
+ void exp_tty_break(Tcl_Interp *interp, int fd);
+ int exp_tty_raw_noecho(Tcl_Interp *interp, exp_tty *tty_old, int *was_raw, int *was_echo);
++int exp_tty_cooked_echo(Tcl_Interp *interp, exp_tty *tty_old, int *was_raw, int *was_echo);
+ int exp_israw(void);
+ int exp_isecho(void);
+
+--- expect5.45.4/exp_chan.c.ORIG 2020-12-05 18:42:14.000000000 +0000
++++ expect5.45.4/exp_chan.c 2020-12-05 18:42:36.000000000 +0000
+@@ -35,6 +35,7 @@
+ #include "exp_prog.h"
+ #include "exp_command.h"
+ #include "exp_log.h"
++#include "exp_event.h"
+ #include "tcldbg.h" /* Dbg_StdinMode */
+
+ extern int expSetBlockModeProc _ANSI_ARGS_((int fd, int mode));
+--- expect5.45.4/exp_clib.c.ORIG 2020-12-05 18:40:52.000000000 +0000
++++ expect5.45.4/exp_clib.c 2020-12-05 18:41:18.000000000 +0000
+@@ -8,6 +8,7 @@
+ */
+
+ #include "expect_cf.h"
++#include "exp_command.h"
+ #include <stdio.h>
+ #include <setjmp.h>
+ #ifdef HAVE_INTTYPES_H
+--- expect5.45.4/exp_win.c.ORIG 2020-12-05 18:27:20.000000000 +0000
++++ expect5.45.4/exp_win.c 2020-12-05 18:33:24.000000000 +0000
+@@ -32,17 +32,13 @@
+
+ #ifdef HAVE_TERMIOS
+ # include <termios.h>
++# ifdef HAVE_TERMIOS_AND_IOCTL_H_TOGETHER
++# include <sys/ioctl.h>
++# endif
+ #else
+ # include <sys/ioctl.h>
+ #endif
+
+-/* Sigh. On AIX 2.3, termios.h exists but does not define TIOCGWINSZ */
+-/* Instead, it has to come from ioctl.h. However, As I said above, this */
+-/* can't be cavalierly included on all machines, even when it exists. */
+-#if defined(HAVE_TERMIOS) && !defined(HAVE_TIOCGWINSZ_IN_TERMIOS_H)
+-# include <sys/ioctl.h>
+-#endif
+-
+ /* SCO defines window size structure in PTEM and TIOCGWINSZ in termio.h */
+ /* Sigh... */
+ #if defined(HAVE_SYS_PTEM_H)
+--- expect5.45.4/pty_termios.c.ORIG 2020-12-05 18:43:05.000000000 +0000
++++ expect5.45.4/pty_termios.c 2020-12-05 18:45:20.000000000 +0000
+@@ -77,6 +77,10 @@
+ #include <sys/sysmacros.h>
+ #endif
+
++#ifdef HAVE_OPENPTY
++#include <util.h>
++#endif
++
+ #ifdef HAVE_PTYTRAP
+ #include <sys/ptyio.h>
+ #endif
+@@ -102,6 +106,7 @@
+ #include "exp_tty_in.h"
+ #include "exp_rename.h"
+ #include "exp_pty.h"
++#include "exp_int.h"
+
+ void expDiagLog();
+ void expDiagLogPtr();
diff --git a/var/spack/repos/builtin/packages/express/package.py b/var/spack/repos/builtin/packages/express/package.py
index d54dec85c7..4e4a5e4627 100644
--- a/var/spack/repos/builtin/packages/express/package.py
+++ b/var/spack/repos/builtin/packages/express/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/extrae/package.py b/var/spack/repos/builtin/packages/extrae/package.py
index bab7b365d8..98634c699f 100644
--- a/var/spack/repos/builtin/packages/extrae/package.py
+++ b/var/spack/repos/builtin/packages/extrae/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/exuberant-ctags/package.py b/var/spack/repos/builtin/packages/exuberant-ctags/package.py
index 421b995050..a66e7a4db5 100644
--- a/var/spack/repos/builtin/packages/exuberant-ctags/package.py
+++ b/var/spack/repos/builtin/packages/exuberant-ctags/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/eztrace/package.py b/var/spack/repos/builtin/packages/eztrace/package.py
index f73087de99..7c17cf51ac 100644
--- a/var/spack/repos/builtin/packages/eztrace/package.py
+++ b/var/spack/repos/builtin/packages/eztrace/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/f2c/package.py b/var/spack/repos/builtin/packages/f2c/package.py
index 7182ddb185..3764529a83 100644
--- a/var/spack/repos/builtin/packages/f2c/package.py
+++ b/var/spack/repos/builtin/packages/f2c/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/f77-zmq/package.py b/var/spack/repos/builtin/packages/f77-zmq/package.py
index 955ed2ecd6..cafbcf5951 100644
--- a/var/spack/repos/builtin/packages/f77-zmq/package.py
+++ b/var/spack/repos/builtin/packages/f77-zmq/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/f90cache/package.py b/var/spack/repos/builtin/packages/f90cache/package.py
index 32aaff590f..dad4ec106d 100644
--- a/var/spack/repos/builtin/packages/f90cache/package.py
+++ b/var/spack/repos/builtin/packages/f90cache/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fabtests/package.py b/var/spack/repos/builtin/packages/fabtests/package.py
index a9f76b5d07..84953203c2 100644
--- a/var/spack/repos/builtin/packages/fabtests/package.py
+++ b/var/spack/repos/builtin/packages/fabtests/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fairlogger/package.py b/var/spack/repos/builtin/packages/fairlogger/package.py
index 08108f557a..16a58949b6 100644
--- a/var/spack/repos/builtin/packages/fairlogger/package.py
+++ b/var/spack/repos/builtin/packages/fairlogger/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
# Copyright 2020 GSI Helmholtz Centre for Heavy Ion Research GmbH,
# Darmstadt, Germany
diff --git a/var/spack/repos/builtin/packages/faiss/package.py b/var/spack/repos/builtin/packages/faiss/package.py
index a660693268..30b41605c2 100644
--- a/var/spack/repos/builtin/packages/faiss/package.py
+++ b/var/spack/repos/builtin/packages/faiss/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fakechroot/package.py b/var/spack/repos/builtin/packages/fakechroot/package.py
index c29f4e9623..cc3cc13bea 100644
--- a/var/spack/repos/builtin/packages/fakechroot/package.py
+++ b/var/spack/repos/builtin/packages/fakechroot/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fakexrandr/package.py b/var/spack/repos/builtin/packages/fakexrandr/package.py
new file mode 100644
index 0000000000..aa38531906
--- /dev/null
+++ b/var/spack/repos/builtin/packages/fakexrandr/package.py
@@ -0,0 +1,46 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Fakexrandr(MakefilePackage):
+ """This is a tool to cheat an X11 server to believe that there are more
+ monitors than there actually are."""
+
+ homepage = "https://github.com/phillipberndt/fakexrandr"
+ git = "https://github.com/phillipberndt/fakexrandr.git"
+
+ version('master', branch='master')
+
+ depends_on('libxrandr')
+ depends_on('libxinerama')
+ depends_on('libx11')
+ depends_on('python', type=('build', 'run'))
+
+ def edit(self, spec, prefix):
+ # Installation instructions involve running `configure` script,
+ # but this script just writes a `config.h` file like below.
+ version = spec['libxrandr'].version
+ with open('config.h', 'w') as config:
+ config.write("""
+#define XRANDR_MAJOR {0}
+#define XRANDR_MINOR {1}
+#define XRANDR_PATCH {2}
+#define REAL_XRANDR_LIB "{3}"
+#define FAKEXRANDR_INSTALL_DIR "{4}"
+""".format(version[0], version[1], version[2],
+ spec['libxrandr'].libs[0], prefix.lib))
+
+ # Also need to hack Makefile
+ makefile = FileFilter('Makefile')
+ makefile.filter('PREFIX=/usr', 'PREFIX=' + prefix)
+ makefile.filter('-fPIC', self.compiler.cc_pic_flag)
+
+ # And tool used to generate skeleton
+ filter_file('gcc', spack_cc, 'make_skeleton.py')
+
+ if 'platform=darwin' in spec:
+ makefile.filter('ldconfig', '')
diff --git a/var/spack/repos/builtin/packages/falcon/package.py b/var/spack/repos/builtin/packages/falcon/package.py
index 36649dd7e6..1ee82b6df5 100644
--- a/var/spack/repos/builtin/packages/falcon/package.py
+++ b/var/spack/repos/builtin/packages/falcon/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fann/package.py b/var/spack/repos/builtin/packages/fann/package.py
index b6c7c0d07c..ded2446a70 100644
--- a/var/spack/repos/builtin/packages/fann/package.py
+++ b/var/spack/repos/builtin/packages/fann/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/faodel/package.py b/var/spack/repos/builtin/packages/faodel/package.py
index 8f80576585..45d8bdcfd8 100644
--- a/var/spack/repos/builtin/packages/faodel/package.py
+++ b/var/spack/repos/builtin/packages/faodel/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,6 +15,7 @@ class Faodel(CMakePackage):
maintainers = ['tkordenbrock', 'craigulmer']
+ version('master', branch='master')
version('1.1906.1', sha256='4b3caf469ae7db50e9bb8d652e4cb532d33d474279def0f8a483f69385648058')
version('1.1811.2', sha256='22feb502dad0f56fb8af492f6e2cdc53a97fd6c31f6fa3c655be0a6266c46996')
version('1.1811.1', sha256='8e95ee99b8c136ff687eb07a2481ee04560cb1526408eb22ab56cd9c60206916')
diff --git a/var/spack/repos/builtin/packages/fast-global-file-status/package.py b/var/spack/repos/builtin/packages/fast-global-file-status/package.py
index 3400261a13..13a2187094 100644
--- a/var/spack/repos/builtin/packages/fast-global-file-status/package.py
+++ b/var/spack/repos/builtin/packages/fast-global-file-status/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,11 +12,15 @@ class FastGlobalFileStatus(AutotoolsPackage):
homepage = "https://github.com/LLNL/FastGlobalFileStatus"
url = 'https://github.com/LLNL/FastGlobalFileStatus/files/2271592/fastglobalfilestatus-1.1.tar.gz'
+ git = "https://github.com/LLNL/FastGlobalFileStatus.git"
+ maintainers = ['lee218llnl']
+ version('master', branch='master')
version('1.1', sha256='e6fba4a0b7f055899fa0e05d93a435c7f1f2ec1158b9a6647dc8d2bcf9c2e164')
depends_on('mrnet')
- depends_on('mount-point-attributes')
+ # we depend on mpa@master for bug fixes since mpa 1.1
+ depends_on('mount-point-attributes@master')
depends_on('mpi')
depends_on('openssl')
depends_on('elf')
diff --git a/var/spack/repos/builtin/packages/fasta/package.py b/var/spack/repos/builtin/packages/fasta/package.py
index 49ff18bede..0b1b661751 100644
--- a/var/spack/repos/builtin/packages/fasta/package.py
+++ b/var/spack/repos/builtin/packages/fasta/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fastdb/package.py b/var/spack/repos/builtin/packages/fastdb/package.py
index 92ea8783b9..c0e3be07cb 100644
--- a/var/spack/repos/builtin/packages/fastdb/package.py
+++ b/var/spack/repos/builtin/packages/fastdb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fastdfs/package.py b/var/spack/repos/builtin/packages/fastdfs/package.py
index 688308e910..4d429c80fb 100644
--- a/var/spack/repos/builtin/packages/fastdfs/package.py
+++ b/var/spack/repos/builtin/packages/fastdfs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fastjar/package.py b/var/spack/repos/builtin/packages/fastjar/package.py
index a0e0490020..acb4ea8615 100644
--- a/var/spack/repos/builtin/packages/fastjar/package.py
+++ b/var/spack/repos/builtin/packages/fastjar/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fastjet/atlas.patch b/var/spack/repos/builtin/packages/fastjet/atlas.patch
new file mode 100644
index 0000000000..66b9cc1d1f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/fastjet/atlas.patch
@@ -0,0 +1,22 @@
+--- include/fastjet/GhostedAreaSpec.hh.orig 2020-06-03 13:15:12.952183980 +0200
++++ include/fastjet/GhostedAreaSpec.hh 2020-06-03 13:16:00.676275264 +0200
+@@ -232,7 +232,7 @@
+
+
+ std::vector<int> _random_checkpoint;
+- static BasicRandom<double> _random_generator;
++ thread_local static BasicRandom<double> _random_generator;
+ //mutable BasicRandom<double> _random_generator;
+
+ static LimitedWarning _warn_fj2_placement_deprecated;
+--- src/GhostedAreaSpec.cc.orig 2020-06-04 11:37:41.196758510 +0200
++++ src/GhostedAreaSpec.cc 2020-06-04 11:38:07.499240761 +0200
+@@ -37,7 +37,7 @@
+
+ FASTJET_BEGIN_NAMESPACE // defined in fastjet/internal/base.hh
+
+-BasicRandom<double> GhostedAreaSpec::_random_generator;
++thread_local BasicRandom<double> GhostedAreaSpec::_random_generator;
+ LimitedWarning GhostedAreaSpec::_warn_fj2_placement_deprecated;
+
+ /// explicit constructor
diff --git a/var/spack/repos/builtin/packages/fastjet/package.py b/var/spack/repos/builtin/packages/fastjet/package.py
index ad89e48027..ea2bb05c3e 100644
--- a/var/spack/repos/builtin/packages/fastjet/package.py
+++ b/var/spack/repos/builtin/packages/fastjet/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,6 +15,8 @@ class Fastjet(AutotoolsPackage):
homepage = "http://fastjet.fr/"
url = "http://fastjet.fr/repo/fastjet-3.3.3.tar.gz"
+ tags = ['hep']
+
maintainers = ['drbenmorgan', 'vvolkl']
version('3.3.3', sha256='30b0a0282ce5aeac9e45862314f5966f0be941ce118a83ee4805d39b827d732b')
@@ -50,6 +52,9 @@ class Fastjet(AutotoolsPackage):
variant('shared', default=True, description='Builds a shared version of the library')
variant('auto-ptr', default=False, description='Use auto_ptr')
+ variant('atlas', default=False, description='Patch to make random generator thread_local')
+
+ patch('atlas.patch', when='+atlas')
def configure_args(self):
extra_args = ["--enable-allplugins"]
diff --git a/var/spack/repos/builtin/packages/fastjson/package.py b/var/spack/repos/builtin/packages/fastjson/package.py
index e3b63242d9..d3d10d483b 100644
--- a/var/spack/repos/builtin/packages/fastjson/package.py
+++ b/var/spack/repos/builtin/packages/fastjson/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fastmath/package.py b/var/spack/repos/builtin/packages/fastmath/package.py
index e2c177832b..9874c2939d 100644
--- a/var/spack/repos/builtin/packages/fastmath/package.py
+++ b/var/spack/repos/builtin/packages/fastmath/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fastme/package.py b/var/spack/repos/builtin/packages/fastme/package.py
index 83e5169088..ecea261e65 100644
--- a/var/spack/repos/builtin/packages/fastme/package.py
+++ b/var/spack/repos/builtin/packages/fastme/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fastp/package.py b/var/spack/repos/builtin/packages/fastp/package.py
index 1fa7efb535..10ad8d387e 100644
--- a/var/spack/repos/builtin/packages/fastp/package.py
+++ b/var/spack/repos/builtin/packages/fastp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fastphase/package.py b/var/spack/repos/builtin/packages/fastphase/package.py
index 2639cb2d6a..ebeccfc31a 100644
--- a/var/spack/repos/builtin/packages/fastphase/package.py
+++ b/var/spack/repos/builtin/packages/fastphase/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fastq-screen/package.py b/var/spack/repos/builtin/packages/fastq-screen/package.py
index 2b2096d343..acb3169777 100644
--- a/var/spack/repos/builtin/packages/fastq-screen/package.py
+++ b/var/spack/repos/builtin/packages/fastq-screen/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fastqc/package.py b/var/spack/repos/builtin/packages/fastqc/package.py
index ab217684fa..3463f5c1d1 100644
--- a/var/spack/repos/builtin/packages/fastqc/package.py
+++ b/var/spack/repos/builtin/packages/fastqc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fastqvalidator/package.py b/var/spack/repos/builtin/packages/fastqvalidator/package.py
index 54d0b329bb..250795c555 100644
--- a/var/spack/repos/builtin/packages/fastqvalidator/package.py
+++ b/var/spack/repos/builtin/packages/fastqvalidator/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fasttext/package.py b/var/spack/repos/builtin/packages/fasttext/package.py
index 4a86a9f18f..adf2431d54 100644
--- a/var/spack/repos/builtin/packages/fasttext/package.py
+++ b/var/spack/repos/builtin/packages/fasttext/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fasttransforms/package.py b/var/spack/repos/builtin/packages/fasttransforms/package.py
index ca33a50428..a747e055bf 100644
--- a/var/spack/repos/builtin/packages/fasttransforms/package.py
+++ b/var/spack/repos/builtin/packages/fasttransforms/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fasttree/package.py b/var/spack/repos/builtin/packages/fasttree/package.py
index 34ef2d7281..df50b485c0 100644
--- a/var/spack/repos/builtin/packages/fasttree/package.py
+++ b/var/spack/repos/builtin/packages/fasttree/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fastx-toolkit/package.py b/var/spack/repos/builtin/packages/fastx-toolkit/package.py
index 8ad93ddad5..0b72098071 100644
--- a/var/spack/repos/builtin/packages/fastx-toolkit/package.py
+++ b/var/spack/repos/builtin/packages/fastx-toolkit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/faust/package.py b/var/spack/repos/builtin/packages/faust/package.py
index c12a8704f6..859d06ff0e 100644
--- a/var/spack/repos/builtin/packages/faust/package.py
+++ b/var/spack/repos/builtin/packages/faust/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fca/package.py b/var/spack/repos/builtin/packages/fca/package.py
index 226ae4315b..1ff48132d3 100644
--- a/var/spack/repos/builtin/packages/fca/package.py
+++ b/var/spack/repos/builtin/packages/fca/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fcgi/package.py b/var/spack/repos/builtin/packages/fcgi/package.py
index 3b4036f6a3..656b148af6 100644
--- a/var/spack/repos/builtin/packages/fcgi/package.py
+++ b/var/spack/repos/builtin/packages/fcgi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fd-find/package.py b/var/spack/repos/builtin/packages/fd-find/package.py
index faf7374cb6..a8220616b1 100644
--- a/var/spack/repos/builtin/packages/fd-find/package.py
+++ b/var/spack/repos/builtin/packages/fd-find/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fdupes/package.py b/var/spack/repos/builtin/packages/fdupes/package.py
index f2b7f32ef3..0d5792b824 100644
--- a/var/spack/repos/builtin/packages/fdupes/package.py
+++ b/var/spack/repos/builtin/packages/fdupes/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -20,6 +20,7 @@ class Fdupes(AutotoolsPackage):
variant('ncurses', default=True, description='ncurses support')
depends_on('ncurses', when='+ncurses')
+ depends_on('pcre2', when='+ncurses')
def configure_args(self):
return self.with_or_without('ncurses')
diff --git a/var/spack/repos/builtin/packages/feh/package.py b/var/spack/repos/builtin/packages/feh/package.py
index 4d82263494..eb3af510e2 100644
--- a/var/spack/repos/builtin/packages/feh/package.py
+++ b/var/spack/repos/builtin/packages/feh/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fenics-dolfinx/package.py b/var/spack/repos/builtin/packages/fenics-dolfinx/package.py
index 6cdc7e8f66..411fb1042e 100644
--- a/var/spack/repos/builtin/packages/fenics-dolfinx/package.py
+++ b/var/spack/repos/builtin/packages/fenics-dolfinx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -33,8 +33,9 @@ class FenicsDolfinx(CMakePackage):
depends_on("slepc", when="+slepc")
depends_on("py-fenics-ffcx", type=("build", "run"))
+ depends_on("py-fenics-basix", type=("build", "run"))
- conflicts('%gcc@:6', msg='C++17 support required')
+ conflicts('%gcc@:8', msg='Improved C++17 support required')
root_cmakelists_dir = "cpp"
diff --git a/var/spack/repos/builtin/packages/fenics/package.py b/var/spack/repos/builtin/packages/fenics/package.py
index 7dbdc777a5..95fa85ef07 100644
--- a/var/spack/repos/builtin/packages/fenics/package.py
+++ b/var/spack/repos/builtin/packages/fenics/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/feq-parse/package.py b/var/spack/repos/builtin/packages/feq-parse/package.py
index ea2bcc0031..d234b82a1a 100644
--- a/var/spack/repos/builtin/packages/feq-parse/package.py
+++ b/var/spack/repos/builtin/packages/feq-parse/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fermi/ksw_for_aarch64.patch b/var/spack/repos/builtin/packages/fermi/ksw_for_aarch64.patch
index 1f4c4c0b6f..2e76893ce0 100644
--- a/var/spack/repos/builtin/packages/fermi/ksw_for_aarch64.patch
+++ b/var/spack/repos/builtin/packages/fermi/ksw_for_aarch64.patch
@@ -5,7 +5,7 @@
#include <stdlib.h>
#include <stdint.h>
-#include <emmintrin.h>
-+#include <SSE2NEON.h>
++#include <sse2neon.h>
#include "ksw.h"
#ifdef __GNUC__
diff --git a/var/spack/repos/builtin/packages/fermi/package.py b/var/spack/repos/builtin/packages/fermi/package.py
index bdfb1f01f9..a0d2fb29a0 100644
--- a/var/spack/repos/builtin/packages/fermi/package.py
+++ b/var/spack/repos/builtin/packages/fermi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fermikit/ksw_for_aarch64.patch b/var/spack/repos/builtin/packages/fermikit/ksw_for_aarch64.patch
index 5c835bf3df..4928430d44 100644
--- a/var/spack/repos/builtin/packages/fermikit/ksw_for_aarch64.patch
+++ b/var/spack/repos/builtin/packages/fermikit/ksw_for_aarch64.patch
@@ -5,7 +5,7 @@
#include <stdint.h>
#include <assert.h>
-#include <emmintrin.h>
-+#include <SSE2NEON.h>
++#include <sse2neon.h>
#include "ksw.h"
#ifdef USE_MALLOC_WRAPPERS
@@ -16,7 +16,7 @@
#include <stdlib.h>
#include <stdint.h>
-#include <emmintrin.h>
-+#include <SSE2NEON.h>
++#include <sse2neon.h>
#include "ksw.h"
#ifdef __GNUC__
@@ -27,7 +27,7 @@
#include <stdlib.h>
#include <stdint.h>
-#include <emmintrin.h>
-+#include <SSE2NEON.h>
++#include <sse2neon.h>
#include "ksw.h"
#ifdef __GNUC__
@@ -38,7 +38,7 @@
#include <stdint.h>
#include <string.h>
-#include <emmintrin.h>
-+#include <SSE2NEON.h>
++#include <sse2neon.h>
#include "ksw.h"
#ifdef __GNUC__
diff --git a/var/spack/repos/builtin/packages/fermikit/package.py b/var/spack/repos/builtin/packages/fermikit/package.py
index c76cb0d6a8..603ff3b321 100644
--- a/var/spack/repos/builtin/packages/fermikit/package.py
+++ b/var/spack/repos/builtin/packages/fermikit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fermisciencetools/package.py b/var/spack/repos/builtin/packages/fermisciencetools/package.py
index 81719b4fd9..a0d8bd30f9 100644
--- a/var/spack/repos/builtin/packages/fermisciencetools/package.py
+++ b/var/spack/repos/builtin/packages/fermisciencetools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ferret/package.py b/var/spack/repos/builtin/packages/ferret/package.py
index 5878403e26..f72a1bdff1 100644
--- a/var/spack/repos/builtin/packages/ferret/package.py
+++ b/var/spack/repos/builtin/packages/ferret/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ffb/package.py b/var/spack/repos/builtin/packages/ffb/package.py
index 7f55d74a6e..aedeaa0439 100644
--- a/var/spack/repos/builtin/packages/ffb/package.py
+++ b/var/spack/repos/builtin/packages/ffb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,6 +12,8 @@ class Ffb(MakefilePackage):
homepage = "http://www.ciss.iis.u-tokyo.ac.jp/dl/index.php"
url = "file://{0}/FrontFlow_blue.8.1.tar.gz".format(os.getcwd())
+ manual_download = True
+
version('8.1', sha256='1ad008c909152b6c27668bafbad820da3e6ec3309c7e858ddb785f0a3d6e43ae')
patch('revocap_refiner.patch')
@@ -150,12 +152,14 @@ class Ffb(MakefilePackage):
cxx_fortran_flags = []
if spec.satisfies('%gcc'):
cxx_fortran_flags.append('-lgfortran')
- elif spec.satisfies('%intel'):
- cxx_fortran_flags.expand(['-lifcore', '-limf'])
+ m = FileFilter(editfile)
+ m.filter('-lifcore -limf', ' '.join(cxx_fortran_flags))
elif spec.satisfies('%fj'):
cxx_fortran_flags.append('--linkfortran')
- m = FileFilter(editfile)
- m.filter('-lifcore -limf', ' '.join(cxx_fortran_flags))
+ m = FileFilter(editfile)
+ m.filter('-lifcore -limf', ' '.join(cxx_fortran_flags))
+ elif spec.satisfies('%intel'):
+ pass
def build(self, spec, prefix):
for m in [join_path('make', 'Makeall'),
diff --git a/var/spack/repos/builtin/packages/ffmpeg/package.py b/var/spack/repos/builtin/packages/ffmpeg/package.py
index 38b3c05ea5..8729fdd8b4 100644
--- a/var/spack/repos/builtin/packages/ffmpeg/package.py
+++ b/var/spack/repos/builtin/packages/ffmpeg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ffr/package.py b/var/spack/repos/builtin/packages/ffr/package.py
index 35ac20f9f6..91eb6a2dcd 100644
--- a/var/spack/repos/builtin/packages/ffr/package.py
+++ b/var/spack/repos/builtin/packages/ffr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,6 +14,7 @@ class Ffr(MakefilePackage):
JAPAN."""
homepage = "http://www.ciss.iis.u-tokyo.ac.jp/rss21/theme/multi/fluid/fluid_softwareinfo.html"
+ manual_download = True
version('3.1.004', sha256='2b396f66bb6437366721fac987f9c6e8b830638c3e4cb5df6a08ff41633f8481', url="file://{0}/FFR_V3.1.004.zip".format(os.getcwd()))
version('3.0_000', sha256='edc69fb1fd9dbdb3f531a8f2b9533a9b3c1a28768bb4029b84a6b35c95db0b48', url="file://{0}/open_FrontFlowRed_3.0_000.tar.gz".format(os.getcwd()))
diff --git a/var/spack/repos/builtin/packages/ffsb/package.py b/var/spack/repos/builtin/packages/ffsb/package.py
index 5745ccb821..5a30509196 100644
--- a/var/spack/repos/builtin/packages/ffsb/package.py
+++ b/var/spack/repos/builtin/packages/ffsb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fftw/package.py b/var/spack/repos/builtin/packages/fftw/package.py
index f6a5e83908..d22dd42c62 100644
--- a/var/spack/repos/builtin/packages/fftw/package.py
+++ b/var/spack/repos/builtin/packages/fftw/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -111,9 +111,14 @@ class FftwBase(AutotoolsPackage):
# float only
float_simd_features = ['altivec', 'sse']
- # Workaround NVIDIA compiler bug when avx512 is enabled
- if spec.satisfies('%nvhpc') and 'avx512' in simd_features:
- simd_features.remove('avx512')
+ # Workaround PGI compiler bug when avx2 is enabled
+ if spec.satisfies('%pgi') and 'avx2' in simd_features:
+ simd_features.remove('avx2')
+
+ # Workaround NVIDIA/PGI compiler bug when avx512 is enabled
+ if spec.satisfies('%nvhpc') or spec.satisfies('%pgi'):
+ if 'avx512' in simd_features:
+ simd_features.remove('avx512')
# NVIDIA compiler does not support Altivec intrinsics
if spec.satisfies('%nvhpc') and 'vsx' in simd_features:
@@ -202,6 +207,7 @@ class Fftw(FftwBase):
url = "http://www.fftw.org/fftw-3.3.4.tar.gz"
list_url = "http://www.fftw.org/download.html"
+ version('3.3.9', sha256='bf2c7ce40b04ae811af714deb512510cc2c17b9ab9d6ddcf49fe4487eea7af3d')
version('3.3.8', sha256='6113262f6e92c5bd474f2875fa1b01054c4ad5040f6b0da7c03c98821d9ae303')
version('3.3.7', sha256='3b609b7feba5230e8f6dd8d245ddbefac324c5a6ae4186947670d9ac2cd25573')
version('3.3.6-pl2', sha256='a5de35c5c824a78a058ca54278c706cdf3d4abba1c56b63531c2cb05f5d57da2')
diff --git a/var/spack/repos/builtin/packages/fgsl/package.py b/var/spack/repos/builtin/packages/fgsl/package.py
index 1af9b2a0fa..7f5c6c3368 100644
--- a/var/spack/repos/builtin/packages/fgsl/package.py
+++ b/var/spack/repos/builtin/packages/fgsl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/figlet/package.py b/var/spack/repos/builtin/packages/figlet/package.py
index 8c6028d246..31c1f61cea 100644
--- a/var/spack/repos/builtin/packages/figlet/package.py
+++ b/var/spack/repos/builtin/packages/figlet/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/figtree/package.py b/var/spack/repos/builtin/packages/figtree/package.py
index b96ccba7fa..753fbc693c 100644
--- a/var/spack/repos/builtin/packages/figtree/package.py
+++ b/var/spack/repos/builtin/packages/figtree/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/file/package.py b/var/spack/repos/builtin/packages/file/package.py
index 06ccfe4c33..42b179ee5a 100644
--- a/var/spack/repos/builtin/packages/file/package.py
+++ b/var/spack/repos/builtin/packages/file/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/filebench/package.py b/var/spack/repos/builtin/packages/filebench/package.py
index d328bb01ca..cf85119eef 100644
--- a/var/spack/repos/builtin/packages/filebench/package.py
+++ b/var/spack/repos/builtin/packages/filebench/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/filo/package.py b/var/spack/repos/builtin/packages/filo/package.py
index aeba476c04..38c9b3b176 100644
--- a/var/spack/repos/builtin/packages/filo/package.py
+++ b/var/spack/repos/builtin/packages/filo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/filtlong/package.py b/var/spack/repos/builtin/packages/filtlong/package.py
index ab836c2588..db7320a790 100644
--- a/var/spack/repos/builtin/packages/filtlong/package.py
+++ b/var/spack/repos/builtin/packages/filtlong/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fimpute/package.py b/var/spack/repos/builtin/packages/fimpute/package.py
index 3f2bb658ea..5b2bab2a3d 100644
--- a/var/spack/repos/builtin/packages/fimpute/package.py
+++ b/var/spack/repos/builtin/packages/fimpute/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/find-circ/package.py b/var/spack/repos/builtin/packages/find-circ/package.py
index eef0f314aa..f78caddcd9 100644
--- a/var/spack/repos/builtin/packages/find-circ/package.py
+++ b/var/spack/repos/builtin/packages/find-circ/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/findbugs/package.py b/var/spack/repos/builtin/packages/findbugs/package.py
index e81b3247dd..b2cbc4664d 100644
--- a/var/spack/repos/builtin/packages/findbugs/package.py
+++ b/var/spack/repos/builtin/packages/findbugs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/findutils/package.py b/var/spack/repos/builtin/packages/findutils/package.py
index 33b41c53eb..aa7d10ff0a 100644
--- a/var/spack/repos/builtin/packages/findutils/package.py
+++ b/var/spack/repos/builtin/packages/findutils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fio/package.py b/var/spack/repos/builtin/packages/fio/package.py
index 4fdc44fae2..c062080dd1 100644
--- a/var/spack/repos/builtin/packages/fio/package.py
+++ b/var/spack/repos/builtin/packages/fio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,8 +14,9 @@ class Fio(AutotoolsPackage):
"""
homepage = "https://github.com/axboe/fio"
- url = "https://github.com/axboe/fio/archive/fio-2.19.tar.gz"
+ url = "https://github.com/axboe/fio/archive/fio-3.25.tar.gz"
+ version('3.25', sha256='d8157676bc78a50f3ac82ffc6f80ffc3bba93cbd892fc4882533159a0cdbc1e8')
version('3.19', sha256='809963b1d023dbc9ac7065557af8129aee17b6895e0e8c5ca671b0b14285f404')
version('3.16', sha256='c7731a9e831581bab7104da9ea60c9f44e594438dbe95dff26726ca0285e7b93')
version('2.19', sha256='61fb03a18703269b781aaf195cb0d7931493bbb5bfcc8eb746d5d66d04ed77f7')
diff --git a/var/spack/repos/builtin/packages/fipscheck/package.py b/var/spack/repos/builtin/packages/fipscheck/package.py
index 38678e04ff..0acaef4074 100644
--- a/var/spack/repos/builtin/packages/fipscheck/package.py
+++ b/var/spack/repos/builtin/packages/fipscheck/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fish/package.py b/var/spack/repos/builtin/packages/fish/package.py
index 385c925e9f..115149a4a0 100644
--- a/var/spack/repos/builtin/packages/fish/package.py
+++ b/var/spack/repos/builtin/packages/fish/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fixesproto/package.py b/var/spack/repos/builtin/packages/fixesproto/package.py
index b550f0bec0..1837d90fd2 100644
--- a/var/spack/repos/builtin/packages/fixesproto/package.py
+++ b/var/spack/repos/builtin/packages/fixesproto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fj/package.py b/var/spack/repos/builtin/packages/fj/package.py
index 78de8c4871..ee247bc00e 100644
--- a/var/spack/repos/builtin/packages/fj/package.py
+++ b/var/spack/repos/builtin/packages/fj/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fjcontrib/package.py b/var/spack/repos/builtin/packages/fjcontrib/package.py
index c0d10ed30d..822f32d45e 100644
--- a/var/spack/repos/builtin/packages/fjcontrib/package.py
+++ b/var/spack/repos/builtin/packages/fjcontrib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,6 +13,8 @@ class Fjcontrib(AutotoolsPackage):
homepage = "https://fastjet.hepforge.org/contrib/"
url = "http://fastjet.hepforge.org/contrib/downloads/fjcontrib-1.044.tar.gz"
+ tags = ['hep']
+
version('1.044', sha256='de3f45c2c1bed6d7567483e4a774575a504de8ddc214678bac7f64e9d2e7e7a7')
version('1.043', sha256='ef0f586b19ffd12f392b7facc890a73d31fc11b9f5bb727cf3743d6eb59e9993')
version('1.042', sha256='5b052e93a371c557557fa4a293cca4b08f88ccfb6c43a4df15b2a9f38c6d8831')
diff --git a/var/spack/repos/builtin/packages/fl/package.py b/var/spack/repos/builtin/packages/fl/package.py
index 7270365413..1c303ed506 100644
--- a/var/spack/repos/builtin/packages/fl/package.py
+++ b/var/spack/repos/builtin/packages/fl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/flac/package.py b/var/spack/repos/builtin/packages/flac/package.py
index 5a35abda8a..f278190ab7 100644
--- a/var/spack/repos/builtin/packages/flac/package.py
+++ b/var/spack/repos/builtin/packages/flac/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/flann/package.py b/var/spack/repos/builtin/packages/flann/package.py
index fc69246518..c50e6f22c1 100644
--- a/var/spack/repos/builtin/packages/flann/package.py
+++ b/var/spack/repos/builtin/packages/flann/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/flash/package.py b/var/spack/repos/builtin/packages/flash/package.py
index 79a27b46d4..07c4bb34bd 100644
--- a/var/spack/repos/builtin/packages/flash/package.py
+++ b/var/spack/repos/builtin/packages/flash/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/flatbuffers/package.py b/var/spack/repos/builtin/packages/flatbuffers/package.py
index c0a0ef4ee2..bee101b3b7 100644
--- a/var/spack/repos/builtin/packages/flatbuffers/package.py
+++ b/var/spack/repos/builtin/packages/flatbuffers/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -21,6 +21,20 @@ class Flatbuffers(CMakePackage):
variant('shared', default=True,
description='Build shared instead of static libraries')
+ variant('python', default=False,
+ description='Build with python support')
+
+ depends_on('py-setuptools', when='+python', type='build')
+ depends_on('python@3.6:', when='+python', type=('build', 'run'))
+ extends('python', when='+python')
+
+ @run_after('install')
+ def python_install(self):
+ if '+python' in self.spec:
+ pydir = join_path(self.stage.source_path, 'python')
+ with working_dir(pydir):
+ setup_py('install', '--prefix=' + prefix,
+ '--single-version-externally-managed', '--root=/')
def cmake_args(self):
args = []
diff --git a/var/spack/repos/builtin/packages/flatcc/package.py b/var/spack/repos/builtin/packages/flatcc/package.py
index a9d3617c9b..789b43fd55 100644
--- a/var/spack/repos/builtin/packages/flatcc/package.py
+++ b/var/spack/repos/builtin/packages/flatcc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/flcl/package.py b/var/spack/repos/builtin/packages/flcl/package.py
index fcc7e673b6..73e5cd4cef 100644
--- a/var/spack/repos/builtin/packages/flcl/package.py
+++ b/var/spack/repos/builtin/packages/flcl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/flecsale/package.py b/var/spack/repos/builtin/packages/flecsale/package.py
index 2a05562752..eb8166f263 100644
--- a/var/spack/repos/builtin/packages/flecsale/package.py
+++ b/var/spack/repos/builtin/packages/flecsale/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/flecsi/package.py b/var/spack/repos/builtin/packages/flecsi/package.py
index fccdd686b0..8dc8cea63d 100644
--- a/var/spack/repos/builtin/packages/flecsi/package.py
+++ b/var/spack/repos/builtin/packages/flecsi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -21,8 +21,8 @@ class Flecsi(CMakePackage):
git = 'https://github.com/laristra/flecsi.git'
version('devel', branch='devel', submodules=False, preferred=False)
- version('1', branch='1', submodules=False, preferred=True)
- version('1.4', branch='1.4', submodules=False, preferred=False)
+ version('1', branch='1', submodules=False, preferred=False)
+ version('1.4', branch='1.4', submodules=False, preferred=True)
variant('build_type', default='Release',
values=('Debug', 'Release', 'RelWithDebInfo', 'MinSizeRel'),
@@ -43,7 +43,7 @@ class Flecsi(CMakePackage):
description='Enable documentation')
variant('coverage', default=False,
description='Enable coverage build')
- variant('hdf5', default=False,
+ variant('hdf5', default=True,
description='Enable HDF5 Support')
variant('caliper', default=False,
description='Enable Caliper Support')
@@ -56,26 +56,28 @@ class Flecsi(CMakePackage):
variant('cinch', default=False,
description='Enable External Cinch')
- depends_on('cmake@3.12:', type='build')
+ depends_on('cmake@3.12:')
# Requires cinch > 1.0 due to cinchlog installation issue
depends_on('cinch@1.01:', type='build', when='+cinch')
depends_on('mpi', when='backend=mpi')
depends_on('mpi', when='backend=legion')
depends_on('mpi', when='backend=hpx')
- depends_on('legion@ctrl-rep+shared+mpi+hdf5 build_type=Debug', when='backend=legion +debug_backend +hdf5')
- depends_on('legion@ctrl-rep+shared+mpi build_type=Debug', when='backend=legion +debug_backend ~hdf5')
- depends_on('legion@ctrl-rep+shared+mpi+hdf5 build_type=Release', when='backend=legion ~debug_backend +hdf5')
- depends_on('legion@ctrl-rep+shared+mpi build_type=Release', when='backend=legion ~debug_backend ~hdf5')
- depends_on('hpx@1.3.0 cxxstd=14 malloc=system build_type=Debug', when='backend=hpx +debug_backend')
- depends_on('hpx@1.3.0 cxxstd=14 malloc=system build_type=Release', when='backend=hpx ~debug_backend')
- depends_on('boost@1.70.0: cxxstd=14 +program_options')
+ depends_on('legion+shared+mpi', when='backend=legion')
+ depends_on('legion+hdf5', when='backend=legion +hdf5')
+ depends_on('legion build_type=Debug', when='backend=legion +debug_backend')
+ depends_on('hpx@1.4.1 cxxstd=17 malloc=system max_cpu_count=128', when='backend=hpx')
+ depends_on('hpx build_type=Debug', when='backend=hpx +debug_backend')
+ depends_on('boost@1.70.0: cxxstd=17 +program_options')
depends_on('metis@5.1.0:')
depends_on('parmetis@4.0.3:')
- depends_on('hdf5+mpi', when='+hdf5')
- depends_on('caliper', when='+caliper')
+ depends_on('googletest@1.8.1+gmock')
+ depends_on('hdf5+hl+mpi', when='+hdf5')
+ depends_on('caliper@2.0.1~adiak', when='+caliper')
depends_on('graphviz', when='+graphviz')
depends_on('python@3.0:', when='+tutorial')
+ depends_on('doxygen', when='+doxygen')
depends_on('llvm', when='+flecstan')
+ depends_on('pfunit@3.0:3.99')
conflicts('+tutorial', when='backend=hpx')
# conflicts('+hdf5', when='backend=hpx')
@@ -102,6 +104,10 @@ class Flecsi(CMakePackage):
elif spec.variants['backend'].value == 'hpx':
options.append('-DFLECSI_RUNTIME_MODEL=hpx')
options.append('-DENABLE_MPI=ON')
+ options.append('-DHPX_IGNORE_CMAKE_BUILD_TYPE_COMPATIBILITY=ON')
+ elif spec.variants['backend'].value == 'charmpp':
+ options.append('-DFLECSI_RUNTIME_MODEL=charmpp')
+ options.append('-DENABLE_MPI=ON')
else:
options.append('-DFLECSI_RUNTIME_MODEL=serial')
options.append('-DENABLE_MPI=OFF')
diff --git a/var/spack/repos/builtin/packages/flecsph/package.py b/var/spack/repos/builtin/packages/flecsph/package.py
index d77ec4d507..bf4c7a275c 100644
--- a/var/spack/repos/builtin/packages/flecsph/package.py
+++ b/var/spack/repos/builtin/packages/flecsph/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/flex/package.py b/var/spack/repos/builtin/packages/flex/package.py
index 0197dab272..a3398e6566 100644
--- a/var/spack/repos/builtin/packages/flex/package.py
+++ b/var/spack/repos/builtin/packages/flex/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,6 +14,8 @@ class Flex(AutotoolsPackage):
homepage = "https://github.com/westes/flex"
url = "https://github.com/westes/flex/releases/download/v2.6.1/flex-2.6.1.tar.gz"
+ tags = ['build-tools']
+
executables = ['^flex$']
version('2.6.4', sha256='e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995')
diff --git a/var/spack/repos/builtin/packages/flexi/package.py b/var/spack/repos/builtin/packages/flexi/package.py
new file mode 100644
index 0000000000..886400ae44
--- /dev/null
+++ b/var/spack/repos/builtin/packages/flexi/package.py
@@ -0,0 +1,41 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Flexi(CMakePackage):
+ """Open Source High-Order Unstructured Discontinuous Galerkin Fluid
+ Dynamics Solver"""
+
+ homepage = "https://www.flexi-project.org/"
+ git = "https://github.com/flexi-framework/flexi.git"
+
+ version('master')
+
+ variant('mpi', default=True, description='Enable MPI')
+
+ depends_on('mpi', when='+mpi')
+ depends_on('hdf5+fortran+mpi', when='+mpi')
+ depends_on('hdf5+fortran~mpi', when='~mpi')
+ depends_on('lapack')
+ depends_on('zlib')
+
+ def flag_handler(self, name, flags):
+ if name == 'fflags':
+ if self.spec.satisfies('%gcc@10:'):
+ if flags is None:
+ flags = []
+ flags.append('-fallow-argument-mismatch')
+
+ return (flags, None, None)
+
+ def cmake_args(self):
+ args = [
+ '-DFLEXI_BUILD_HDF5:BOOL=OFF',
+ self.define_from_variant('FLEXI_MPI', 'mpi')
+ ]
+
+ return args
diff --git a/var/spack/repos/builtin/packages/flexiblas/package.py b/var/spack/repos/builtin/packages/flexiblas/package.py
index 37855da107..de5522b63c 100644
--- a/var/spack/repos/builtin/packages/flexiblas/package.py
+++ b/var/spack/repos/builtin/packages/flexiblas/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/flibcpp/package.py b/var/spack/repos/builtin/packages/flibcpp/package.py
index 01658ba2ee..f0b0551c6c 100644
--- a/var/spack/repos/builtin/packages/flibcpp/package.py
+++ b/var/spack/repos/builtin/packages/flibcpp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,7 +14,7 @@ class Flibcpp(CMakePackage):
git = "https://github.com/swig-fortran/flibcpp.git"
url = "https://github.com/swig-fortran/flibcpp/archive/v0.3.1.tar.gz"
- version('master', branch='master')
+ version('0.5.2', sha256='b9b4eb6431d5b56a54c37f658df7455eafd3d204a5534903b127e0c8a1c9b827')
version('0.5.1', sha256='76db24ce7893f19ab97ea7260c39490ae1bd1e08a4cc5111ad7e70525a916993')
version('0.5.0', sha256='94204198304ba4187815431859e5958479fa651a6f06f460b099badbf50f16b2')
version('0.4.1', sha256='5c9a11af391fcfc95dd11b95338cff19ed8104df66d42b00ae54f6cde4da5bdf')
@@ -28,7 +28,7 @@ class Flibcpp(CMakePackage):
variant('fstd', default='03', values=('none', '03', '08', '15', '18'),
multi=False, description='Build with this Fortran standard')
- depends_on('swig@fortran', type='build', when="+swig")
+ depends_on('swig@4.0.2-fortran', type='build', when="+swig")
depends_on('py-sphinx', type='build', when="+doc")
@run_before('cmake')
@@ -44,6 +44,7 @@ class Flibcpp(CMakePackage):
self.define_from_variant('BUILD_SHARED_LIBS', 'shared'),
self.define_from_variant('FLIBCPP_BUILD_DOCS', 'doc'),
self.define_from_variant('FLIBCPP_FORTRAN_STD', 'fstd'),
- self.define('BUILD_TESTING', bool(self.run_tests)),
+ self.define_from_variant('FLIBCPP_USE_SWIG', 'swig'),
+ self.define('FLIBCPP_BUILD_TESTS', bool(self.run_tests)),
self.define('FLIBCPP_BUILD_EXAMPLES', bool(self.run_tests)),
]
diff --git a/var/spack/repos/builtin/packages/flink/package.py b/var/spack/repos/builtin/packages/flink/package.py
index d07391f756..84881b13d1 100644
--- a/var/spack/repos/builtin/packages/flink/package.py
+++ b/var/spack/repos/builtin/packages/flink/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/flint/package.py b/var/spack/repos/builtin/packages/flint/package.py
index 11c3afbdf0..d6383b4a83 100644
--- a/var/spack/repos/builtin/packages/flint/package.py
+++ b/var/spack/repos/builtin/packages/flint/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/flit/package.py b/var/spack/repos/builtin/packages/flit/package.py
index fbe1d2f342..6cd035f3b4 100644
--- a/var/spack/repos/builtin/packages/flit/package.py
+++ b/var/spack/repos/builtin/packages/flit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fltk/package.py b/var/spack/repos/builtin/packages/fltk/package.py
index 90f458bbd4..2c1f93578d 100644
--- a/var/spack/repos/builtin/packages/fltk/package.py
+++ b/var/spack/repos/builtin/packages/fltk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/flume/package.py b/var/spack/repos/builtin/packages/flume/package.py
index f672aa3b79..aa635ff8d5 100644
--- a/var/spack/repos/builtin/packages/flume/package.py
+++ b/var/spack/repos/builtin/packages/flume/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/flux-core/package.py b/var/spack/repos/builtin/packages/flux-core/package.py
index adb34f2611..e0abfb0c6f 100644
--- a/var/spack/repos/builtin/packages/flux-core/package.py
+++ b/var/spack/repos/builtin/packages/flux-core/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,20 +13,18 @@ class FluxCore(AutotoolsPackage):
homepage = "https://github.com/flux-framework/flux-core"
url = "https://github.com/flux-framework/flux-core/releases/download/v0.8.0/flux-core-0.8.0.tar.gz"
git = "https://github.com/flux-framework/flux-core.git"
+ maintainers = ['SteVwonder']
version('master', branch='master')
+ version('0.23.0', sha256='918b181be4e27c32f02d5036230212cd9235dc78dc2bde249c3651d6f75866c7')
+ version('0.22.0', sha256='1dd0b737199b8a40f245e6a4e1b3b28770f0ecf2f483d284232080b8b252521f')
+ version('0.21.0', sha256='cc1b7a46d7c1c1a3e99e8861bba0dde89a97351eabd6f1b264788bd76e64c329')
+ version('0.20.0', sha256='2970b9b1c389fc4a381f9e605921ce0eb6aa9339387ea741978bcffb4bd81b6f')
version('0.19.0', sha256='f45328a37d989c308c46639a9ed771f47b11184422cf5604249919fbd320d6f5')
version('0.18.0', sha256='9784bbca94177a32dbbc99728e8925bf894f3aebaa316961d6ea85df32d59545')
version('0.17.0', sha256='3f8c6cb72982028f86a96c0098cacd3a6e9de359fa1cf077380c835a20e7b7f7')
version('0.16.0', sha256='1582f7fb4d2313127418c34de7c9ce4f5fef00622d19cedca7bed929f4709f10')
version('0.15.0', sha256='51bc2eae69501f802459fc82f191eb5e8ae0b4f7e9e77ac18543a850cc8445f5')
- version('0.11.3', sha256='91b5d7dca8fc28a77777c4e4cb8717fc3dc2c174e70611740689a71901c6de7e')
- version('0.11.2', sha256='ab8637428cd9b74b2dff4842d10e0fc4acc8213c4e51f31d32a4cbfbdf730412')
- version('0.11.1', sha256='3c8495db0f3b701f6dfe3e2a75aed794fc561e9f28284e8c02ac67693bfe890e')
- version('0.11.0', sha256='a4d8ff92e79b4ca19d556395bb8c5f8dc02fd9d5a8cc38c4a2c66867a96de5ea')
- version('0.10.0', sha256='a70cdd228077af60c9443a5c69d3da932e447dd11697f5fef9028c48dabb3041')
- version('0.9.0', sha256='7b5b4aa72704b3c4432136b9e515e0d663568e6dbfc3ecd2f91c83b65841104e')
- version('0.8.0', sha256='eb4b0fe0da191acd3823ef42d415c40aae6a0c3aef62ebb27905658d045e11cc')
# Avoid the infinite symlink issue
# This workaround is documented in PR #3543
@@ -36,37 +34,26 @@ class FluxCore(AutotoolsPackage):
variant('cuda', default=False, description='Build dependencies with support for CUDA')
depends_on("libzmq@4.0.4:")
- depends_on("czmq")
- depends_on("czmq@2.2:3.99", when="@0.1:0.6")
- depends_on("czmq@3.0.1:", when="@0.7:")
- depends_on("hwloc@1.11.1:1.99")
+ depends_on("czmq@3.0.1:")
+ depends_on("hwloc@1.11.1:1.99", when="@:0.17.0")
+ depends_on("hwloc@1.11.1:", when="@0.17.0:")
depends_on("hwloc +cuda", when='+cuda')
# Provide version hints for lua so that the concretizer succeeds when no
# explicit flux-core version is given. See issue #10000 for details
- depends_on("lua@5.1:5.2.99", type=('build', 'run', 'link'))
- depends_on("lua@5.1:5.1.99", when="@0.1.0:0.9.0")
- depends_on("lua@5.1:5.2.99", when="@0.10.0:,master")
+ depends_on("lua", type=('build', 'run', 'link'))
+ depends_on("lua@5.1:5.2.99", when="@:0.17.0")
+ depends_on("lua@5.1:5.3.99", when="@0.18.0:,master")
depends_on("lua-luaposix")
- depends_on("munge", when="@0.1.0:0.10.0")
# `link` dependency on python due to Flux's `pymod` module
- depends_on("python", type=('build', 'run', 'link'))
- depends_on("python@2.7:2.99",
- when="@0.1.0:0.11.0",
- type=('build', 'run', 'link'))
- depends_on("python@2.7:", when="@0.11.1:", type=('build', 'run', 'link'))
- depends_on("python@3.6:", when="@0.17.0:,master", type=('build', 'run', 'link'))
+ depends_on("python@3.6:", type=('build', 'run', 'link'))
depends_on("py-cffi", type=('build', 'run'))
- depends_on("py-six", type=('build', 'run'), when="@0.11.0:")
- depends_on("py-pyyaml", type=('build', 'run'), when="@0.11.0:")
- depends_on("py-jsonschema", type=('build', 'run'), when="@0.12.0:")
+ depends_on("py-six", type=('build', 'run'))
+ depends_on("py-pyyaml")
+ depends_on("py-jsonschema")
depends_on("jansson")
depends_on("pkgconfig")
- depends_on("yaml-cpp", when="@:0.11")
- depends_on("lz4", when="@0.11.0:")
-
- # versions up to 0.8.0 uses pylint to check Flux's python binding
- # later versions provide a configure flag and disable the check by default
- depends_on("py-pylint", when='@:0.8.0', type='build')
+ depends_on("yaml-cpp")
+ depends_on("lz4")
depends_on("asciidoc", type='build', when="+docs")
@@ -78,7 +65,7 @@ class FluxCore(AutotoolsPackage):
# Testing Dependencies
depends_on("mpich pmi=pmi", type="test")
depends_on("valgrind", type="test")
- depends_on("jq", type="test", when='@0.12.0:')
+ depends_on("jq", type="test")
def url_for_version(self, version):
'''
@@ -179,3 +166,14 @@ class FluxCore(AutotoolsPackage):
if '+docs' not in self.spec:
args.append('--disable-docs')
return args
+
+ def flag_handler(self, name, flags):
+ if name == 'cflags':
+ # https://github.com/flux-framework/flux-core/issues/3482
+ if self.spec.satisfies('%gcc@10:') and \
+ self.spec.satisfies('@0.23.0:0.23.99'):
+ if flags is None:
+ flags = []
+ flags.append('-Wno-error=stringop-truncation')
+
+ return (flags, None, None)
diff --git a/var/spack/repos/builtin/packages/flux-sched/package.py b/var/spack/repos/builtin/packages/flux-sched/package.py
index 99bbce3b52..b7b6f24f9f 100644
--- a/var/spack/repos/builtin/packages/flux-sched/package.py
+++ b/var/spack/repos/builtin/packages/flux-sched/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,17 +13,17 @@ class FluxSched(AutotoolsPackage):
homepage = "https://github.com/flux-framework/flux-sched"
url = "https://github.com/flux-framework/flux-sched/releases/download/v0.5.0/flux-sched-0.5.0.tar.gz"
git = "https://github.com/flux-framework/flux-sched.git"
+ maintainers = ['SteVwonder']
version('master', branch='master')
+ version('0.15.0', sha256='ff24d26997f91af415f98734b8117291f5a5001e86dac865b56b3d72980c80c8')
+ version('0.14.0', sha256='2808f42032b917823d69cd26103c9238694416e2f30c6d39c11c670927ed232a')
+ version('0.13.0', sha256='ba17fc0451239fe31a1524b6a270741873f59a5057514d2524fd3e9215c47a82')
+ version('0.12.0', sha256='b41ecaebba254abfb5a7995fd9100bd45a59d4ad0a79bdca8b3db02785d97b1d')
version('0.11.0', sha256='6a0e3c0678f85da8724e5399b02be9686311c835617f6036235ef54b489cc336')
version('0.10.0', sha256='5944927774709b5f52ddf64a0e825d9b0f24c9dea890b5504b87a8576d217cf6')
version('0.9.0', sha256='0e1eb408a937c2843bdaaed915d4d7e2ea763b98c31e7b849a96a74758d66a21')
version('0.8.0', sha256='45bc3cefb453d19c0cb289f03692fba600a39045846568d258e4b896ca19ca0d')
- version('0.7.1', sha256='a35e555a353feed6b7b814ae83d05362356f9ee33ffa75d7dfb7e2fe86c21294')
- version('0.7.0', sha256='69267a3aaacaedd9896fd90cfe17aef266cba4fb28c77f8123d95a31ce739a7b')
- version('0.6.0', sha256='3301d4c10810414228e5969b84b75fe1285abb97453070eb5a77f386d8184f8d')
- version('0.5.0', sha256='d6347f5c85c12c76364dccb39d63c007094ca9cbbbae4e8f4e98d8b1c0b07e89')
- version('0.4.0', sha256='00768a0b062aec42aa9b31d9d7006efd3a3e9cb9c24878d50487643c8af15e8a')
# Avoid the infinite symlink issue
# This workaround is documented in PR #3543
@@ -31,21 +31,18 @@ class FluxSched(AutotoolsPackage):
variant('cuda', default=False, description='Build dependencies with support for CUDA')
- depends_on("boost+graph@1.53.0,1.59.0:", when='@0.5.0:')
- depends_on("py-pyyaml", when="@0.7.0:")
- depends_on("libxml2@2.9.1:", when="@0.6.0")
- depends_on("yaml-cpp", when="@0.7.0:")
- depends_on("libuuid")
+ depends_on("boost+graph@1.53.0,1.59.0:")
+ depends_on("py-pyyaml")
+ depends_on("libxml2@2.9.1:")
+ depends_on("yaml-cpp")
+ depends_on("uuid")
depends_on("pkgconfig")
depends_on("flux-core", type=('build', 'link', 'run'))
depends_on("flux-core+cuda", when='+cuda', type=('build', 'run', 'link'))
- depends_on("flux-core@0.8.0", when='@0.4.0', type=('build', 'run', 'link'))
- depends_on("flux-core@0.9.0", when='@0.5.0', type=('build', 'run', 'link'))
- depends_on("flux-core@0.10.0", when='@0.6.0', type=('build', 'run', 'link'))
- depends_on("flux-core@0.11.0", when='@0.7.0', type=('build', 'run', 'link'))
- depends_on("flux-core@0.11.2:0.11.99", when='@0.7.1', type=('build', 'run', 'link'))
depends_on("flux-core@0.16.0:0.16.99", when='@0.8.0', type=('build', 'run', 'link'))
+ depends_on("flux-core@0.22.0", when='@0.14.0', type=('build', 'run', 'link'))
+ depends_on("flux-core@0.23.0", when='@0.15.0', type=('build', 'run', 'link'))
depends_on("flux-core@master", when='@master', type=('build', 'run', 'link'))
# Need autotools when building on master:
diff --git a/var/spack/repos/builtin/packages/fluxbox/package.py b/var/spack/repos/builtin/packages/fluxbox/package.py
index 04dc39196b..e9ef127b69 100644
--- a/var/spack/repos/builtin/packages/fluxbox/package.py
+++ b/var/spack/repos/builtin/packages/fluxbox/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fmt/package.py b/var/spack/repos/builtin/packages/fmt/package.py
index 7a8aac6ca5..47ea7e2513 100644
--- a/var/spack/repos/builtin/packages/fmt/package.py
+++ b/var/spack/repos/builtin/packages/fmt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,9 +11,10 @@ class Fmt(CMakePackage):
It can be used as a safe alternative to printf or as a fast alternative
to C++ IOStreams."""
- homepage = "http://fmtlib.net/latest/index.html"
- url = "https://github.com/fmtlib/fmt/releases/download/7.1.0/fmt-7.1.0.zip"
+ homepage = "https://fmt.dev/"
+ url = "https://github.com/fmtlib/fmt/releases/download/7.1.3/fmt-7.1.3.zip"
+ version('7.1.3', sha256='5d98c504d0205f912e22449ecdea776b78ce0bb096927334f80781e720084c9f')
version('7.1.2', sha256='4d6968ab7c01e95cc76df136755703defb985105a117b83057e4fd5d53680ea7')
version('7.1.0', sha256='308af4e36ee3ab527b51014a2a5d862682c84f5d16f7a597aea34c84853cbcb0')
version('6.1.2', sha256='63650f3c39a96371f5810c4e41d6f9b0bb10305064e6faf201cbafe297ea30e8')
diff --git a/var/spack/repos/builtin/packages/foam-extend/package.py b/var/spack/repos/builtin/packages/foam-extend/package.py
index 912426a09f..e8ba4e4700 100644
--- a/var/spack/repos/builtin/packages/foam-extend/package.py
+++ b/var/spack/repos/builtin/packages/foam-extend/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/folly/package.py b/var/spack/repos/builtin/packages/folly/package.py
index c61b82024f..86e8d54332 100644
--- a/var/spack/repos/builtin/packages/folly/package.py
+++ b/var/spack/repos/builtin/packages/folly/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/font-util/package.py b/var/spack/repos/builtin/packages/font-util/package.py
index 647b0b417b..b614a056ee 100644
--- a/var/spack/repos/builtin/packages/font-util/package.py
+++ b/var/spack/repos/builtin/packages/font-util/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -26,6 +26,7 @@ class FontUtil(AutotoolsPackage, XorgPackage):
depends_on('mkfontdir', type='build')
font_baseurl = 'https://www.x.org/archive/individual/font/'
+ default_fonts = []
fonts = []
# name, version, sha256
fonts_resource = [
@@ -70,12 +71,19 @@ class FontUtil(AutotoolsPackage, XorgPackage):
f = f_r[0]
resource(name=f, url=font_baseurl + f + '-' + f_r[1] + '.tar.gz',
sha256=f_r[2], destination=f, when='fonts=' + f)
+
+ conflicts('fonts=font-bh-ttf', when='platform=cray')
+ conflicts('fonts=font-bh-ttf', when='arch=linux-rhel7-broadwell')
+
+ if f != 'font-bh-tff':
+ default_fonts.append(f)
+
fonts.append(f)
variant('fonts',
description='Installs fonts',
values=fonts,
- default=','.join(fonts),
+ default=','.join(default_fonts),
multi=True)
def setup_build_environment(self, env):
diff --git a/var/spack/repos/builtin/packages/fontcacheproto/package.py b/var/spack/repos/builtin/packages/fontcacheproto/package.py
index 8397bba192..cde060b19a 100644
--- a/var/spack/repos/builtin/packages/fontcacheproto/package.py
+++ b/var/spack/repos/builtin/packages/fontcacheproto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fontconfig/package.py b/var/spack/repos/builtin/packages/fontconfig/package.py
index 41324399d6..5e4fd4696f 100644
--- a/var/spack/repos/builtin/packages/fontconfig/package.py
+++ b/var/spack/repos/builtin/packages/fontconfig/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -21,7 +21,7 @@ class Fontconfig(AutotoolsPackage):
depends_on('libxml2')
depends_on('pkgconfig', type='build')
depends_on('font-util')
- depends_on('libuuid', when='@2.13.1:')
+ depends_on('uuid', when='@2.13.1:')
def configure_args(self):
font_path = join_path(self.spec['font-util'].prefix, 'share', 'fonts')
diff --git a/var/spack/repos/builtin/packages/fontsproto/package.py b/var/spack/repos/builtin/packages/fontsproto/package.py
index b91524d548..0ed73a0f71 100644
--- a/var/spack/repos/builtin/packages/fontsproto/package.py
+++ b/var/spack/repos/builtin/packages/fontsproto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fonttosfnt/package.py b/var/spack/repos/builtin/packages/fonttosfnt/package.py
index 5294686a4b..7fa4820978 100644
--- a/var/spack/repos/builtin/packages/fonttosfnt/package.py
+++ b/var/spack/repos/builtin/packages/fonttosfnt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,6 +17,6 @@ class Fonttosfnt(AutotoolsPackage, XorgPackage):
depends_on('freetype')
depends_on('libfontenc')
- depends_on('xproto', type='build')
+ depends_on('xproto')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/form/package.py b/var/spack/repos/builtin/packages/form/package.py
index b6e866fe70..26feb6d636 100644
--- a/var/spack/repos/builtin/packages/form/package.py
+++ b/var/spack/repos/builtin/packages/form/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,6 +13,7 @@ class Form(AutotoolsPackage):
url = "https://github.com/vermaseren/form/archive/v4.2.1.tar.gz"
version('4.2.1', sha256='6f32c7470d00e8ab6934dc352f5a78e29290146a00e5775f8cd5fef7810bbbb8')
+ version('4.1-20131025', sha256='caece2c6e605ccf32eb3612c4ed5c9257a7a62824ad219c5e46b6d00066f1ba6')
depends_on('autoconf', type='build')
depends_on('automake', type='build')
diff --git a/var/spack/repos/builtin/packages/fortran/package.py b/var/spack/repos/builtin/packages/fortran/package.py
index 6383ff856b..c9281e15c2 100644
--- a/var/spack/repos/builtin/packages/fortran/package.py
+++ b/var/spack/repos/builtin/packages/fortran/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fortrilinos/package.py b/var/spack/repos/builtin/packages/fortrilinos/package.py
index 2039311145..99b9d20a52 100644
--- a/var/spack/repos/builtin/packages/fortrilinos/package.py
+++ b/var/spack/repos/builtin/packages/fortrilinos/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -24,21 +24,33 @@ class Fortrilinos(CMakePackage):
"""
homepage = "https://trilinos.github.io/ForTrilinos/"
- url = "https://github.com/trilinos/ForTrilinos/archive/v2.0.0-dev1.tar.gz"
+ url = "https://github.com/trilinos/ForTrilinos/archive/v2.0.0.tar.gz"
git = "https://github.com/trilinos/ForTrilinos.git"
maintainers = ['sethrj', 'aprokop']
- version('2.0.0-dev2', sha256='2a55c668b3fe986583658d272eab2dc076b291a5f2eb582a02602db86a32030b')
- version('2.0.0-dev1', sha256='ab664ce2d7fe75c524d7ff6b1efffa3e459ab5739a916e6ea810ae40f39ca4f4')
+ version('2.0.0', sha256='9af3b3eea9934e44d74654a5fa822de08bd0efa43e06e4a4e35a777781f542d6')
+ # Note: spack version comparison implies Version('2.0.0') <
+ # Version('2.0.0-dev1'), so this is the best workaround I could find.
+ version('2.0.dev3',
+ sha256='c20a34b374a56b050bc1db0be1d3db63fca3e59c5803af0cb851b044ac84e6b3',
+ url="https://github.com/trilinos/ForTrilinos/archive/v2.0.0-dev3.tar.gz")
+ version('2.0.dev2',
+ sha256='2a55c668b3fe986583658d272eab2dc076b291a5f2eb582a02602db86a32030b',
+ url="https://github.com/trilinos/ForTrilinos/archive/v2.0.0-dev2.tar.gz")
+ version('2.0.dev1',
+ sha256='ab664ce2d7fe75c524d7ff6b1efffa3e459ab5739a916e6ea810ae40f39ca4f4',
+ url="https://github.com/trilinos/ForTrilinos/archive/v2.0.0-dev1.tar.gz")
version('master', branch='master')
variant('hl', default=True, description='Build high-level Trilinos wrappers')
variant('shared', default=True, description='Build shared libraries')
# Trilinos version dependencies
- depends_on('trilinos@12.18.1', when='@2.0.0-dev2')
- depends_on('trilinos@12.17.1', when='@2.0.0-dev1')
+ depends_on('trilinos@13', when='@2.0.0:')
+ depends_on('trilinos@12.18.1', when='@2.0.dev3')
+ depends_on('trilinos@12.18.1', when='@2.0.dev2')
+ depends_on('trilinos@12.17.1', when='@2.0.dev1')
# Baseline trilinos dependencies
depends_on('trilinos+teuchos gotype=long_long')
diff --git a/var/spack/repos/builtin/packages/foundationdb/package.py b/var/spack/repos/builtin/packages/foundationdb/package.py
index 507f83ba4c..3d4d4cd86a 100644
--- a/var/spack/repos/builtin/packages/foundationdb/package.py
+++ b/var/spack/repos/builtin/packages/foundationdb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fox/package.py b/var/spack/repos/builtin/packages/fox/package.py
index 28e6e9b7b3..6eebce0271 100644
--- a/var/spack/repos/builtin/packages/fox/package.py
+++ b/var/spack/repos/builtin/packages/fox/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -37,6 +37,7 @@ class Fox(AutotoolsPackage):
depends_on('libxi')
depends_on('libxrandr')
depends_on('gl', when='+opengl')
+ depends_on('glu', when='+opengl', type='link')
def configure_args(self):
# Make the png link flags explicit or it will try to pick up libpng15
diff --git a/var/spack/repos/builtin/packages/fp16/package.py b/var/spack/repos/builtin/packages/fp16/package.py
index 7ce6c7742d..168ce71331 100644
--- a/var/spack/repos/builtin/packages/fp16/package.py
+++ b/var/spack/repos/builtin/packages/fp16/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fpc/package.py b/var/spack/repos/builtin/packages/fpc/package.py
index 5e1be34992..872fe5ab63 100644
--- a/var/spack/repos/builtin/packages/fpc/package.py
+++ b/var/spack/repos/builtin/packages/fpc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fping/package.py b/var/spack/repos/builtin/packages/fping/package.py
index 59c2127dad..cf097b13a2 100644
--- a/var/spack/repos/builtin/packages/fping/package.py
+++ b/var/spack/repos/builtin/packages/fping/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fplll/package.py b/var/spack/repos/builtin/packages/fplll/package.py
new file mode 100644
index 0000000000..ed9a3dcec0
--- /dev/null
+++ b/var/spack/repos/builtin/packages/fplll/package.py
@@ -0,0 +1,33 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Fplll(AutotoolsPackage):
+ """fplll contains implementations of several lattice algorithms.
+ The implementation relies on floating-point orthogonalization,
+ and LLL is central to the code, hence the name."""
+
+ homepage = "https://github.com/fplll/fplll"
+ url = "https://github.com/fplll/fplll/releases/download/5.4.0/fplll-5.4.0.tar.gz"
+
+ version('5.4.0', sha256='fe192a65a56439b098e26e3b7ee224dda7c2c73a58f36ef2cc6f9185ae8c482b')
+ version('5.3.3', sha256='5e7c46c30623795feeac19cf607583b7c82b0490ceb91498f0f712789be20ccd')
+ version('5.3.2', sha256='4d935d712d11902c60a2a5cb50b696391f4ca4a2de59b0daeca74c29024c21fe')
+ version('5.3.1', sha256='bf7e7e667173b5655cb989ec6a55c07af057d9011572f85eb53fbf93f4e2d239')
+ version('5.3.0', sha256='67a579842f5dabf9b3968b0c12af1ee808c5bfb7bc611fe4c2bba9ca00af1067')
+ version('5.2.1', sha256='e38e3f8f14d5dbf46aab66d6c12f5973d4b12b72832161ed1491e8e925de4816')
+ version('5.2.0', sha256='75e17fcaa4fc5fdddbe6eb42aca5f38c4c169a4b52756e74fbe2d1769737ac9c')
+ version('5.1.0', sha256='58175c54cc92752576a64361c73e4ea7797fc18fb703b3f22c7570a09075486f')
+ version('5.0.3', sha256='d2b11b7dcb26c30ac1aab9ff75aca9b3dd6e0b0b40c382af16017a717dfe05c2')
+
+ depends_on('gmp')
+ depends_on('mpfr')
+
+ def configure_args(self):
+ args = ['--with-gmp=' + self.spec['gmp'].prefix,
+ '--with-mpfr=' + self.spec['mpfr'].prefix]
+ return args
diff --git a/var/spack/repos/builtin/packages/fpocket/package.py b/var/spack/repos/builtin/packages/fpocket/package.py
index 029e150db9..f8101742bf 100644
--- a/var/spack/repos/builtin/packages/fpocket/package.py
+++ b/var/spack/repos/builtin/packages/fpocket/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fqtrim/package.py b/var/spack/repos/builtin/packages/fqtrim/package.py
index b9dfd16360..63db979103 100644
--- a/var/spack/repos/builtin/packages/fqtrim/package.py
+++ b/var/spack/repos/builtin/packages/fqtrim/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fr-hit/package.py b/var/spack/repos/builtin/packages/fr-hit/package.py
index e3547a3111..1a76075776 100644
--- a/var/spack/repos/builtin/packages/fr-hit/package.py
+++ b/var/spack/repos/builtin/packages/fr-hit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fraggenescan/package.py b/var/spack/repos/builtin/packages/fraggenescan/package.py
index 8c71b9bfee..70bcd32e72 100644
--- a/var/spack/repos/builtin/packages/fraggenescan/package.py
+++ b/var/spack/repos/builtin/packages/fraggenescan/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/freebayes/package.py b/var/spack/repos/builtin/packages/freebayes/package.py
index 338ca3c26c..0f35c5609e 100644
--- a/var/spack/repos/builtin/packages/freebayes/package.py
+++ b/var/spack/repos/builtin/packages/freebayes/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/freeglut/package.py b/var/spack/repos/builtin/packages/freeglut/package.py
index b28808f957..aa6d8509d6 100644
--- a/var/spack/repos/builtin/packages/freeglut/package.py
+++ b/var/spack/repos/builtin/packages/freeglut/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,13 +12,29 @@ class Freeglut(CMakePackage, SourceforgePackage):
homepage = "http://freeglut.sourceforge.net/"
sourceforge_mirror_path = "freeglut/freeglut-3.2.1.tar.gz"
+
version('3.2.1', sha256='d4000e02102acaf259998c870e25214739d1f16f67f99cb35e4f46841399da68')
version('3.0.0', sha256='2a43be8515b01ea82bcfa17d29ae0d40bd128342f0930cd1f375f1ff999f76a2')
- patch('common-gcc10.patch', when="@3.2.1: %gcc@10.0:")
+
+ depends_on('pkgconfig', type='build')
depends_on('gl')
depends_on('glu')
depends_on('libx11')
depends_on('libxrandr')
depends_on('libxi')
+ depends_on('libxxf86vm')
depends_on('xrandr')
depends_on('inputproto')
+
+ patch('common-gcc10.patch', when="@3.2.1: %gcc@10.0:")
+
+ def cmake_args(self):
+ return [
+ '-DFREEGLUT_BUILD_DEMOS=OFF',
+ '-DOPENGL_gl_LIBRARY=' + self.spec['gl'].libs[0],
+ '-DOPENGL_glu_LIBRARY=' + self.spec['glu'].libs[0],
+ '-DX11_X11_LIB=' + self.spec['libx11'].libs[0],
+ '-DX11_Xrandr_LIB=' + self.spec['libxrandr'].libs[0],
+ '-DX11_Xi_LIB=' + self.spec['libxi'].libs[0],
+ '-DX11_Xxf86vm_LIB=' + self.spec['libxxf86vm'].libs[0],
+ ]
diff --git a/var/spack/repos/builtin/packages/freeimage/package.py b/var/spack/repos/builtin/packages/freeimage/package.py
index 0243d39b2d..725c7565eb 100644
--- a/var/spack/repos/builtin/packages/freeimage/package.py
+++ b/var/spack/repos/builtin/packages/freeimage/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/freeipmi/package.py b/var/spack/repos/builtin/packages/freeipmi/package.py
index bcb3e502cd..a1fbbcf5eb 100644
--- a/var/spack/repos/builtin/packages/freeipmi/package.py
+++ b/var/spack/repos/builtin/packages/freeipmi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/freetype/package.py b/var/spack/repos/builtin/packages/freetype/package.py
index 04389118cc..834f3138c8 100644
--- a/var/spack/repos/builtin/packages/freetype/package.py
+++ b/var/spack/repos/builtin/packages/freetype/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/freexl/package.py b/var/spack/repos/builtin/packages/freexl/package.py
index 20348e5581..3afd530c2b 100644
--- a/var/spack/repos/builtin/packages/freexl/package.py
+++ b/var/spack/repos/builtin/packages/freexl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fribidi/package.py b/var/spack/repos/builtin/packages/fribidi/package.py
index d356e465c3..e6486b7353 100644
--- a/var/spack/repos/builtin/packages/fribidi/package.py
+++ b/var/spack/repos/builtin/packages/fribidi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/frontier-client/frontier-client.patch b/var/spack/repos/builtin/packages/frontier-client/frontier-client.patch
new file mode 100644
index 0000000000..cf9888ed08
--- /dev/null
+++ b/var/spack/repos/builtin/packages/frontier-client/frontier-client.patch
@@ -0,0 +1,13 @@
+--- client/frontier_config.c 2020-07-28 09:20:59.456311478 +0200
++++ client/frontier_config.c 2020-07-28 09:26:49.147996572 +0200
+@@ -47,8 +47,8 @@
+
+ #define ENV_BUF_SIZE 1024
+
+-void *(*frontier_mem_alloc)(size_t size);
+-void (*frontier_mem_free)(void *ptr);
++extern void *(*frontier_mem_alloc)(size_t size);
++extern void (*frontier_mem_free)(void *ptr);
+
+ int frontier_pacparser_init(void);
+
diff --git a/var/spack/repos/builtin/packages/frontier-client/package.py b/var/spack/repos/builtin/packages/frontier-client/package.py
new file mode 100644
index 0000000000..283d176822
--- /dev/null
+++ b/var/spack/repos/builtin/packages/frontier-client/package.py
@@ -0,0 +1,38 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class FrontierClient(MakefilePackage):
+ """The Frontier distributed database caching system distributes data from
+ data sources to many client systems around the world. The name comes
+ from "N Tier" where N is any number and tiers are layers of locations
+ of distribution."""
+
+ homepage = "http://frontier.cern.ch/"
+ url = "https://github.com/fermitools/frontier/archive/v2_9_1.tar.gz"
+
+ version('2_9_1', sha256='d21370fbe142807966e3c2218ce361ea3bb573498e1b8387b801fb6641c3ed22')
+ version('2_9_0', sha256='e58dba3f177c5b74609f244101a22a5c14d42bf019013fe2dba72c09f819c62a')
+ version('2_8_21', sha256='7df9ba61c3e1778aca75c5da6e45ee4d00b5c061d3f7162208e2fbd2ec266a9e')
+ version('2_8_20', sha256='81b0f45762d96a33f156e0238631a60eef910a176644e95c6c19a36824bef7e1')
+
+ depends_on('pacparser')
+ depends_on('expat')
+
+ patch('frontier-client.patch', level=0)
+
+ def edit(self, spec, prefix):
+ makefile = FileFilter('client/Makefile')
+ makefile.filter('EXPAT_DIR}/lib', 'EXPAT_DIR}/lib64')
+
+ def build(self, spec, prefix):
+ with working_dir('client'):
+ make('-j1', 'dist', 'PACPARSER_DIR=' + self.spec['pacparser'].prefix,
+ 'EXPAT_DIR=' + self.spec['expat'].prefix)
+
+ def install(self, spec, prefix):
+ install_tree(join_path('client', 'dist'), prefix)
diff --git a/var/spack/repos/builtin/packages/frontistr/package.py b/var/spack/repos/builtin/packages/frontistr/package.py
index e59da46324..7dd5ea4925 100644
--- a/var/spack/repos/builtin/packages/frontistr/package.py
+++ b/var/spack/repos/builtin/packages/frontistr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,6 +15,7 @@ class Frontistr(CMakePackage):
git = "https://gitlab.com/FrontISTR-Commons/FrontISTR.git"
maintainers = ['hiroshi.okuda', 'kgoto', 'morita', 'inagaki', 'michioga']
+ version('5.1.1', tag='v5.1.1')
version('5.1', tag='v5.1')
version('5.0', tag='v5.0')
version('master', tag='master')
@@ -31,7 +32,7 @@ class Frontistr(CMakePackage):
# depends_on('revocap-coupler')
depends_on('metis')
depends_on('mumps')
- depends_on('trilinos')
+ depends_on('trilinos@:12.18.1')
def cmake_args(self):
define = CMakePackage.define
diff --git a/var/spack/repos/builtin/packages/fseq/package.py b/var/spack/repos/builtin/packages/fseq/package.py
index 8bbd4f176f..d5aad7fe62 100644
--- a/var/spack/repos/builtin/packages/fseq/package.py
+++ b/var/spack/repos/builtin/packages/fseq/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fsl/build_log.patch b/var/spack/repos/builtin/packages/fsl/build_log.patch
new file mode 100644
index 0000000000..c0553b4c35
--- /dev/null
+++ b/var/spack/repos/builtin/packages/fsl/build_log.patch
@@ -0,0 +1,11 @@
+--- a/build 2020-06-29 10:30:36.000000000 -0500
++++ b/build 2020-11-02 12:34:25.408157699 -0600
+@@ -158,7 +158,7 @@
+ fi #full build
+
+ echo "Building projects - see build.log file for progress..."
+-./config/common/buildproj $PROJECTS > ./build.log 2>&1
++./config/common/buildproj $PROJECTS
+ finalStatus=$?
+ if [ $finalStatus -eq 0 ]; then
+ echo "Build completed successfully.";
diff --git a/var/spack/repos/builtin/packages/fsl/eddy_Makefile.patch b/var/spack/repos/builtin/packages/fsl/eddy_Makefile.patch
new file mode 100644
index 0000000000..22057bf8fd
--- /dev/null
+++ b/var/spack/repos/builtin/packages/fsl/eddy_Makefile.patch
@@ -0,0 +1,11 @@
+--- a/src/eddy/Makefile 2020-07-22 09:11:14.000000000 -0500
++++ b/src/eddy/Makefile 2020-11-10 23:31:09.898903635 -0600
+@@ -46,7 +46,7 @@
+
+ CUDACXXFLAGS=-DCOMPILE_GPU
+ CUDAOBJS=CBFKernelDefinitions.o CBFSparseDiagonalMatrix.o CBFSplineField.o LSResampler_cuda.o DiffusionGP_cuda.o PostEddyCF_cuda.o EddyGpuUtils.o EddyInternalGpuUtils.o CudaVolume.o EddyMatrixKernels.o EddyKernels.o GpuPredictorChunk.o StackResampler.o DerivativeCalculator.o
+- CUDALDFLAGS= -Xlinker -rpath $(LIB_CUDA) -L$(LIB_CUDA) -lcublas -lcudart
++ CUDALDFLAGS= -Xlinker -rpath -Xlinker $(LIB_CUDA) -L$(LIB_CUDA) -lcublas -lcudart
+ ifeq ($(fastbuild),1)
+ GENCODE_FLAGS := -gencode arch=compute_30,code=sm_30
+ endif
diff --git a/var/spack/repos/builtin/packages/fsl/fsl_sub_v5.patch b/var/spack/repos/builtin/packages/fsl/fsl_sub_v5.patch
new file mode 100644
index 0000000000..561800962a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/fsl/fsl_sub_v5.patch
@@ -0,0 +1,66 @@
+--- a/src/sgeutils/fsl_sub 2017-04-24 05:19:14.000000000 -0500
++++ b/src/sgeutils/fsl_sub 2020-11-15 17:42:28.100657607 -0600
+@@ -80,7 +80,7 @@
+ # "NONE". Note that a user can unset SGE_ROOT if they don't want the
+ # cluster to be used.
+ ###########################################################################
+-METHOD=SGE
++METHOD=NONE
+ unset module
+ if [ "x$SGE_ROOT" = "x" ] ; then
+ METHOD=NONE
+@@ -141,7 +141,9 @@
+
+ usage ()
+ {
+- cat <<EOF
++ case $METHOD in
++ SGE)
++ cat <<EOF
+
+ $command V1.1 - wrapper for job control system such as SGE
+
+@@ -186,7 +188,23 @@
+ bigmem.q: This queue is like the verylong.q but has no memory limits.
+
+ EOF
++ ;;
++ NONE)
++ cat <<EOF
+
++$command V1.1 - wrapper for job control system such as SGE
++
++Usage: $command [options] <command>
++
++$command gzip *.img *.hdr
++
++ -t <filename> Specify a task file of commands to execute in parallel
++ -l <logdirname> Where to output logfiles
++ -v Verbose mode.
++
++EOF
++ ;;
++ esac
+ exit 1
+ }
+
+@@ -195,8 +213,17 @@
+ usage
+ fi
+
+-set -- `getopt T:q:a:p:M:j:t:z:N:R:Fvm:l:s: $*`
+-result=$?
++case $METHOD in
++ SGE)
++ set -- `getopt T:q:a:p:M:j:t:z:N:R:Fvm:l:s: $*`
++ result=$?
++ ;;
++ NONE)
++ set -- `getopt t:vl: $*`
++ result=$?
++ ;;
++esac
++
+ if [ $result != 0 ] ; then
+ echo "What? Your arguments make no sense!"
+ fi
diff --git a/var/spack/repos/builtin/packages/fsl/fsl_sub_v6.patch b/var/spack/repos/builtin/packages/fsl/fsl_sub_v6.patch
new file mode 100644
index 0000000000..e209ba9282
--- /dev/null
+++ b/var/spack/repos/builtin/packages/fsl/fsl_sub_v6.patch
@@ -0,0 +1,86 @@
+--- a/src/sgeutils/fsl_sub 2020-07-25 09:36:17.000000000 -0500
++++ b/src/sgeutils/fsl_sub 2020-11-15 17:04:41.484972803 -0600
+@@ -81,7 +81,7 @@
+ # "NONE". Note that a user can unset SGE_ROOT if they don't want the
+ # cluster to be used.
+ ###########################################################################
+-METHOD=SGE
++METHOD=NONE
+ unset module
+ if [[ "x$SGE_ROOT" = "x" ]] ; then
+ METHOD=NONE
+@@ -145,7 +145,10 @@
+
+ usage ()
+ {
+- cat <<EOF
++ case "$METHOD" in
++ SGE)
++
++ cat <<EOF
+
+ $command V1.1 - wrapper for job control system such as SGE
+
+@@ -190,7 +193,24 @@
+ bigmem.q: This queue is like the verylong.q but has no memory limits.
+
+ EOF
++ ;;
++ NONE)
++
++ cat <<EOF
+
++$command V1.1 - wrapper for job control system such as SGE
++
++Usage: $command [options] <command>
++
++$command gzip *.img *.hdr
++
++ -t <filename> Specify a task file of commands to execute in parallel
++ -l <logdirname> Where to output logfiles
++ -v Verbose mode.
++
++EOF
++ ;;
++ esac
+ exit 1
+ }
+
+@@ -199,14 +219,29 @@
+ usage
+ fi
+
+-#if the newer whitespace-safe getopt format is available, use it
+-if [[ $(getopt -T >/dev/null 2>&1; echo $?) == 4 ]]; then
+- eval set -- $(getopt -s bash T:q:a:p:M:j:t:z:N:R:Fvm:l:s: "$@")
+- result=$?
+-else
+- set -- $(getopt T:q:a:p:M:j:t:z:N:R:Fvm:l:s: "$@")
+- result=$?
+-fi
++case "$METHOD" in
++ SGE)
++ #if the newer whitespace-safe getopt format is available, use it
++ if [[ $(getopt -T >/dev/null 2>&1; echo $?) == 4 ]]; then
++ eval set -- $(getopt -s bash T:q:a:p:M:j:t:z:N:R:Fvm:l:s: "$@")
++ result=$?
++ else
++ set -- $(getopt T:q:a:p:M:j:t:z:N:R:Fvm:l:s: "$@")
++ result=$?
++ fi
++ ;;
++ NONE)
++ #if the newer whitespace-safe getopt format is available, use it
++ if [[ $(getopt -T >/dev/null 2>&1; echo $?) == 4 ]]; then
++ eval set -- $(getopt -s bash t:vl: "$@")
++ result=$?
++ else
++ set -- $(getopt t:vl: "$@")
++ result=$?
++ fi
++ ;;
++esac
++
+ if [[ "$result" != 0 ]] ; then
+ echo "What? Your arguments make no sense!"
+ fi
diff --git a/var/spack/repos/builtin/packages/fsl/fslpython_install_v5.patch b/var/spack/repos/builtin/packages/fsl/fslpython_install_v5.patch
new file mode 100644
index 0000000000..7e22534251
--- /dev/null
+++ b/var/spack/repos/builtin/packages/fsl/fslpython_install_v5.patch
@@ -0,0 +1,18 @@
+--- a/etc/fslconf/fslpython_install.sh 2017-04-07 10:29:52.000000000 -0500
++++ b/etc/fslconf/fslpython_install.sh 2020-11-12 13:34:06.665816528 -0600
+@@ -129,7 +129,7 @@
+ exit 2
+ fi
+
+-curl_opts='--fail' # Returns 22 on error
++curl_opts='--fail -L' # Returns 22 on error
+ if [ ${quiet} -eq 1 ]; then
+ curl_opts="${curl_opts} -s"
+ fi
+@@ -184,4 +184,4 @@
+ # binary into $FSLDIR/bin/
+ ln -sf "${fslpython_env_dir}/bin/python" "${fsl_dir}/bin/fslpython"
+ rm "${miniconda_install_log}"
+-drop_sudo rmdir "${miniconda_tmp}"
+\ No newline at end of file
++drop_sudo rmdir "${miniconda_tmp}"
diff --git a/var/spack/repos/builtin/packages/fsl/fslpython_install_v6.patch b/var/spack/repos/builtin/packages/fsl/fslpython_install_v6.patch
new file mode 100644
index 0000000000..93eac4cb73
--- /dev/null
+++ b/var/spack/repos/builtin/packages/fsl/fslpython_install_v6.patch
@@ -0,0 +1,39 @@
+--- a/etc/fslconf/fslpython_install.sh 2020-07-25 09:20:04.000000000 -0500
++++ b/etc/fslconf/fslpython_install.sh 2020-11-09 20:12:59.458736979 -0600
+@@ -204,19 +204,19 @@
+ # - https://github.com/conda/conda/issues/8804
+
+ # Try to make downloads more resilient
+-"${miniconda_bin_dir}/conda" config --file "${miniconda_root_dir}"/.condarc --set remote_read_timeout_secs 240
+-"${miniconda_bin_dir}/conda" config --file "${miniconda_root_dir}"/.condarc --set remote_connect_timeout_secs 20
+-"${miniconda_bin_dir}/conda" config --file "${miniconda_root_dir}"/.condarc --set remote_max_retries 10
+-"${miniconda_bin_dir}/conda" config --file "${miniconda_root_dir}"/.condarc --set remote_backoff_factor 5
+-"${miniconda_bin_dir}/conda" config --file "${miniconda_root_dir}"/.condarc --set safety_checks warn
++"${miniconda_bin_dir}/python" "${miniconda_bin_dir}/conda" config --file "${miniconda_root_dir}"/.condarc --set remote_read_timeout_secs 240
++"${miniconda_bin_dir}/python" "${miniconda_bin_dir}/conda" config --file "${miniconda_root_dir}"/.condarc --set remote_connect_timeout_secs 20
++"${miniconda_bin_dir}/python" "${miniconda_bin_dir}/conda" config --file "${miniconda_root_dir}"/.condarc --set remote_max_retries 10
++"${miniconda_bin_dir}/python" "${miniconda_bin_dir}/conda" config --file "${miniconda_root_dir}"/.condarc --set remote_backoff_factor 5
++"${miniconda_bin_dir}/python" "${miniconda_bin_dir}/conda" config --file "${miniconda_root_dir}"/.condarc --set safety_checks warn
+
+ # Channel priority:
+ # - conda-forge (highest priority)
+ # - defaults (gets automatically added on the first call)
+ # - fsl (lowest priority)
+-"${miniconda_bin_dir}/conda" config --file "${miniconda_root_dir}"/.condarc --set channel_priority strict
+-"${miniconda_bin_dir}/conda" config --file "${miniconda_root_dir}"/.condarc --add channels conda-forge
+-"${miniconda_bin_dir}/conda" config --file "${miniconda_root_dir}"/.condarc --append channels https://fsl.fmrib.ox.ac.uk/fsldownloads/fslconda/channel
++"${miniconda_bin_dir}/python" "${miniconda_bin_dir}/conda" config --file "${miniconda_root_dir}"/.condarc --set channel_priority strict
++"${miniconda_bin_dir}/python" "${miniconda_bin_dir}/conda" config --file "${miniconda_root_dir}"/.condarc --add channels conda-forge
++"${miniconda_bin_dir}/python" "${miniconda_bin_dir}/conda" config --file "${miniconda_root_dir}"/.condarc --append channels https://fsl.fmrib.ox.ac.uk/fsldownloads/fslconda/channel
+
+
+ ##############################
+@@ -229,7 +229,7 @@
+ if [ ${quiet} -ne 1 ]; then
+ echo "Stage 2"
+ fi
+-FSLDIR=$fsl_dir "${miniconda_bin_dir}/conda" env create -v \
++FSLDIR=$fsl_dir "${miniconda_bin_dir}/python" "${miniconda_bin_dir}/conda-env" create -v \
+ -f "${script_dir}/fslpython_environment.yml" \
+ 2>> "${miniconda_install_log}" | \
+ ${script_dir}/progress.sh 133 ${quiet} 1>> "${miniconda_install_log}"
diff --git a/var/spack/repos/builtin/packages/fsl/iconv.patch b/var/spack/repos/builtin/packages/fsl/iconv.patch
new file mode 100644
index 0000000000..d62b0f8a7b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/fsl/iconv.patch
@@ -0,0 +1,28 @@
+diff -ru a/src/flameo/Makefile b/src/flameo/Makefile
+--- a/src/flameo/Makefile 2018-10-02 08:46:58.000000000 -0500
++++ b/src/flameo/Makefile 2020-11-07 20:19:56.732547025 -0600
+@@ -6,9 +6,7 @@
+ USRLDFLAGS = -L${LIB_NEWMAT} -L${LIB_PROB} -L${LIB_ZLIB}
+
+ UNAME := $(shell uname)
+-ifeq (${UNAME},Darwin)
+- LIBS = -liconv
+-endif
++LIBS = -liconv
+
+ LIBS += -lutils -lnewimage -lmiscmaths -lm -lnewmat -lNewNifti -lcifti -lxml++-2.6 -lxml2 -lboost_filesystem -lboost_system -lznz -lprob -lz
+
+diff -ru a/src/melodic/Makefile b/src/melodic/Makefile
+--- a/src/melodic/Makefile 2020-03-30 08:51:19.000000000 -0500
++++ b/src/melodic/Makefile 2020-11-07 20:21:45.625518576 -0600
+@@ -11,9 +11,7 @@
+ USRLDFLAGS = -L${LIB_NEWMAT} -L${LIB_PROB} -L${LIB_GD} -L${LIB_GDC} -L${LIB_PNG} -L${LIB_ZLIB}
+
+ UNAME := $(shell uname)
+-ifeq (${UNAME},Darwin)
+- LIBS = -liconv
+-endif
++LIBS = -liconv
+
+ LIBS += -lutils -lnewimage -lmiscplot -lmiscpic -lmiscmaths -lNewNifti -lcifti -lxml++-2.6 -lxml2 -lboost_filesystem -lboost_system -lznz -lnewmat -lprob -lm -lgdc -lgd -lpng -lz
+
diff --git a/var/spack/repos/builtin/packages/fsl/package.py b/var/spack/repos/builtin/packages/fsl/package.py
index 35f4978698..95c54b877d 100644
--- a/var/spack/repos/builtin/packages/fsl/package.py
+++ b/var/spack/repos/builtin/packages/fsl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,42 +8,157 @@ from spack.util.environment import EnvironmentModifications
import os
-class Fsl(Package):
+class Fsl(Package, CudaPackage):
"""FSL is a comprehensive library of analysis tools for FMRI, MRI and DTI
- brain imaging data.
+ brain imaging data."""
- Note: A manual download is required for FSL.
- Spack will search your current directory for the download file.
- Alternatively, add this file to a mirror so that Spack can find it.
- For instructions on how to set up a mirror, see
- http://spack.readthedocs.io/en/latest/mirrors.html"""
+ # NOTE: A manual download is required for FSL. Spack will search your
+ # current directory for the download file. Alternatively, add this file to
+ # a mirror so that Spack can find it. For instructions on how to set up a
+ # mirror, see http://spack.readthedocs.io/en/latest/mirrors.html
homepage = "https://fsl.fmrib.ox.ac.uk"
url = "file://{0}/fsl-5.0.10-sources.tar.gz".format(os.getcwd())
manual_download = True
- version('5.0.10', '64823172a08aad679833240ba64c8e30')
+ version('6.0.4', sha256='58b88f38e080b05d70724d57342f58e1baf56e2bd3b98506a72b4446cad5033e')
+ version('5.0.10', sha256='ca183e489320de0e502a7ba63230a7f55098917a519e8c738b005d526e700842')
depends_on('python', type=('build', 'run'))
depends_on('expat')
depends_on('libx11')
depends_on('glu')
- depends_on('zlib')
- depends_on('libpng')
- depends_on('boost')
- depends_on('sqlite')
-
- conflicts('%gcc@6:', when='@5.0.10')
+ depends_on('libiconv')
+ depends_on('openblas', when='@6:')
+ depends_on('vtk@:8')
+
+ conflicts('%gcc@:4.7,5.5:')
+ conflicts('^cuda@9.2:')
+ conflicts('cuda_arch=none', when='+cuda',
+ msg='must select a CUDA architecture')
+ conflicts('platform=darwin',
+ msg='currently only packaged for linux')
+
+ patch('build_log.patch')
+ patch('eddy_Makefile.patch', when='@6:')
+ patch('iconv.patch')
+ patch('fslpython_install_v5.patch', when='@:5')
+ patch('fslpython_install_v6.patch', when='@6:')
+
+ # These patches disable FSL's attempts to try to submit a subset of FSL
+ # computations to an SGE queue system. That auto-submit mechanism only
+ # works for SGE and requires someone to edit the fsl_sub script to
+ # accommodate their system. These patches disable the auto submission
+ # scheme and allow the fsl_sub script to behave the same on all systems,
+ # and without further modification, whether the computation is submitted to
+ # a "local" system, like a workstation, or as a batch job to a cluster
+ # queueing system, regardless of queue system type.
+ patch('fsl_sub_v5.patch', when='@:5')
+ patch('fsl_sub_v6.patch', when='@6:')
def patch(self):
# Uncomment lines in source file to allow building from source
with working_dir(join_path(self.stage.source_path, 'etc', 'fslconf')):
sourced = FileFilter('fsl.sh')
sourced.filter('#FSLCONFDIR', 'FSLCONFDIR')
- sourced.filter('#FSLMACHTYPE', 'FSLMACHTYPE')
- # Fix error in build script
- buildscript = FileFilter('build')
- buildscript.filter('mist-clean', 'mist')
+
+ if self.spec.satisfies('@6:'):
+ sourced.filter('#FSLMACHTYPE', 'FSLMACHTYPE')
+ else:
+ sourced.filter(r'#(FSLMACHTYPE).*', r'\1=linux_64-gcc4.8')
+
+ if self.spec.satisfies('@:5'):
+ with working_dir(join_path(self.stage.source_path, 'config',
+ 'common')):
+ buildproj = FileFilter('buildproj')
+ buildproj.filter(r'(^FSLMACHTYPE).*', r'\1=linux_64-gcc4.8')
+
+ # Capture the settings file
+ if self.spec.satisfies('@6:'):
+ settings_file = join_path(self.stage.source_path, 'config',
+ 'buildSettings.mk')
+ vtk_file = settings_file
+ else:
+ settings_file = join_path(self.stage.source_path, 'config',
+ 'linux_64-gcc4.8', 'systemvars.mk')
+ externals_file = join_path(self.stage.source_path, 'config',
+ 'linux_64-gcc4.8', 'externallibs.mk')
+ vtk_file = externals_file
+
+ build_settings = FileFilter(settings_file)
+ vtk_settings = FileFilter(vtk_file)
+
+ build_settings.filter(r'^CUDAVER', '#CUDAVER')
+ build_settings.filter(r'(^CC)\s*=.*', r'\1 = {0}'.format(spack_cc))
+ build_settings.filter(r'(^CXX)\s*=.*', r'\1 = {0}'.format(spack_cxx))
+ build_settings.filter(r'(^CXX11)\s*=.*', r'\1 = {0}'.format(spack_cxx))
+
+ vtk_suffix = self.spec['vtk'].version.up_to(2)
+ vtk_lib_dir = self.spec['vtk'].prefix.lib64
+ vtk_include_dir = join_path(self.spec['vtk'].prefix.include,
+ 'vtk-{0}'.format(vtk_suffix))
+
+ vtk_settings.filter(r'(^VTKDIR_INC)\s*=.*',
+ r'\1 = {0}'.format(vtk_include_dir))
+ vtk_settings.filter(r'(^VTKDIR_LIB)\s*=.*',
+ r'\1 = {0}'.format(vtk_lib_dir))
+ vtk_settings.filter(r'(^VTKSUFFIX)\s*=.*',
+ r'\1 = -{0}'.format(vtk_suffix))
+
+ if '+cuda' in self.spec:
+ cuda_arch = self.spec.variants['cuda_arch'].value
+ cuda_gencode = ' '.join(self.cuda_flags(cuda_arch))
+ cuda_installation = self.spec['cuda'].prefix
+
+ build_settings.filter(r'(^CUDA_INSTALLATION)\s*=.*',
+ r'\1 = {0}'.format(cuda_installation))
+ build_settings.filter(r'(^LIB_CUDA)\s*=.*',
+ r'\1 = {0}'.format(
+ join_path(
+ cuda_installation,
+ 'lib64')))
+ build_settings.filter(r'(^INC_CUDA)\s*=.*',
+ r'\1 = {0}'.format(
+ join_path(
+ cuda_installation,
+ 'include')))
+ build_settings.filter(r'(^NVCC11)\s*=.*',
+ r'\1 = {0}'.format(
+ join_path(
+ cuda_installation, 'bin',
+ 'nvcc')))
+ build_settings.filter(r'(^NVCC)\s*=.*',
+ r'\1 = {0}'.format(
+ join_path(
+ cuda_installation, 'bin',
+ 'nvcc')))
+ build_settings.filter(r'(^GENCODE_FLAGS)\s*=.*',
+ r'\1 = {0}'.format(cuda_gencode))
+
+ if self.spec.satisfies('@6:'):
+ build_settings.filter(r'(^EDDYBUILDPARAMETERS)\s*=.*',
+ r'\1 = "cuda=1" "cpu=1"')
+ build_settings.filter(r'(^fdt_MASTERBUILD)\s*=.*',
+ r'\1 = COMPILE_GPU=1')
+ build_settings.filter(r'(^ptx2_MASTERBUILD)\s*=.*',
+ r'\1 = COMPILE_GPU=1')
+ else:
+ with open(settings_file, 'a') as f:
+ f.write('COMPILE_GPU=1\n')
+ else:
+ build_settings.filter(r'^CUDA_INSTALLATION', '#CUDA_INSTALLATION')
+ build_settings.filter(r'^GENCODE_FLAGS', '#GENCODE_FLAGS')
+ build_settings.filter(r'^LIB_CUDA', '#LIB_CUDA')
+ build_settings.filter(r'^INC_CUDA', '#INC_CUDA')
+ build_settings.filter(r'^NVCC', '#NVCC')
+
+ if self.spec.satisfies('@6:'):
+ build_settings.filter(r'(^EDDYBUILDPARAMETERS)\s*=.*',
+ r'\1 = "cpu=1"')
+ build_settings.filter(r'(^fdt_MASTERBUILD)\s*=.*',
+ r'\1 = COMPILE_GPU=0')
+ build_settings.filter(r'(^ptx2_MASTERBUILD)\s*=.*',
+ r'\1 = COMPILE_GPU=0')
def install(self, spec, prefix):
build = Executable('./build')
@@ -51,6 +166,20 @@ class Fsl(Package):
install_tree('.', prefix)
+ @run_after('install')
+ def postinstall(self):
+ # The PYTHON related environment variables need to be unset here so
+ # the post install script does not get confused.
+ vars_to_unset = ['PYTHONPATH', 'PYTHONHOME']
+
+ with spack.util.environment.preserve_environment(*vars_to_unset):
+ for v in vars_to_unset:
+ del os.environ[v]
+
+ script = Executable(join_path(prefix, 'etc', 'fslconf',
+ 'post_install.sh'))
+ script('-f', prefix)
+
def setup_build_environment(self, env):
if not self.stage.source_path:
self.stage.fetch()
@@ -66,18 +195,9 @@ class Fsl(Package):
env.extend(EnvironmentModifications.from_sourcing_file(fslsetup))
def setup_run_environment(self, env):
- # Here, run-time environment variables are being set manually.
- # Normally these would be added to the modulefile at build-time
- # by sourcing fsl.sh, but incorrect paths were being set, pointing to
- # the staging directory rather than the install directory.
+ # Set the environment variables after copying tree
env.set('FSLDIR', self.prefix)
- env.set('FSLOUTPUTTYPE', 'NIFTI_GZ')
- env.set('FSLMULTIFILEQUIT', 'TRUE')
- env.set('FSLTCLSH', self.prefix.bin.fsltclsh)
- env.set('FSLWISH', self.prefix.bin.fslwish)
- env.set('FSLLOCKDIR', '')
- env.set('FSLMACHINELIST', '')
- env.set('FSLREMOTECALL', '')
- env.set('FSLGECUDAQ', 'cuda.q')
-
- env.prepend_path('PATH', self.prefix)
+ fslsetup = join_path(self.prefix, 'etc', 'fslconf', 'fsl.sh')
+
+ if os.path.isfile(fslsetup):
+ env.extend(EnvironmentModifications.from_sourcing_file(fslsetup))
diff --git a/var/spack/repos/builtin/packages/fslsfonts/package.py b/var/spack/repos/builtin/packages/fslsfonts/package.py
index f491b2631e..5a261b229e 100644
--- a/var/spack/repos/builtin/packages/fslsfonts/package.py
+++ b/var/spack/repos/builtin/packages/fslsfonts/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,6 +16,6 @@ class Fslsfonts(AutotoolsPackage, XorgPackage):
depends_on('libfs')
- depends_on('xproto@7.0.25:', type='build')
+ depends_on('xproto@7.0.25:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/fstobdf/package.py b/var/spack/repos/builtin/packages/fstobdf/package.py
index ae83adf5ca..62d4d93a70 100644
--- a/var/spack/repos/builtin/packages/fstobdf/package.py
+++ b/var/spack/repos/builtin/packages/fstobdf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -20,6 +20,6 @@ class Fstobdf(AutotoolsPackage, XorgPackage):
depends_on('libx11')
depends_on('libfs')
- depends_on('xproto@7.0.25:', type='build')
+ depends_on('xproto@7.0.25:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/fstrack/package.py b/var/spack/repos/builtin/packages/fstrack/package.py
index d6a0f5e4de..0e76ccf63b 100644
--- a/var/spack/repos/builtin/packages/fstrack/package.py
+++ b/var/spack/repos/builtin/packages/fstrack/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ftgl/package.py b/var/spack/repos/builtin/packages/ftgl/package.py
index 174050321b..29d4110ba1 100644
--- a/var/spack/repos/builtin/packages/ftgl/package.py
+++ b/var/spack/repos/builtin/packages/ftgl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ftk/package.py b/var/spack/repos/builtin/packages/ftk/package.py
new file mode 100644
index 0000000000..7bb1e01fa3
--- /dev/null
+++ b/var/spack/repos/builtin/packages/ftk/package.py
@@ -0,0 +1,62 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Ftk(CMakePackage):
+ """FTK is a library that simplifies, scales, and delivers feature
+ tracking algorithms for scientific data."""
+
+ # Add a proper url for your package's homepage here.
+ homepage = "https://github.com/hguo/ftk"
+ url = "https://github.com/hguo/ftk/archive/0.0.5.tar.gz"
+ git = "https://github.com/hguo/ftk.git"
+
+ # Add a list of GitHub accounts to
+ # notify when the package is updated.
+ maintainers = ['hguo']
+
+ version('master', branch='master')
+ version('dev', branch='dev')
+ version('0.0.5', sha256='9d5c84a73b7761b9fc7dac62d4296df9f3052b722ec1b06518b2b8f51a8d3440')
+ version('0.0.4', sha256='1674904da8d88dbd4c7d2b6a2629883f0444e70aefc99b48d285735d394897fa')
+
+ # variants
+ variant("adios2", default=False)
+ variant("cuda", default=False)
+ variant("gmp", default=True)
+ variant("hdf5", default=False)
+ variant("mpi", default=False)
+ variant("netcdf", default=False)
+ variant("vtk", default=False)
+
+ # optional dependencies
+ depends_on('adios2', when='+adios2')
+ depends_on('cuda', when='+cuda')
+ depends_on('hdf5', when='+hdf5')
+ depends_on('gmp', when='+gmp')
+ depends_on('mpi', when='+mpi')
+ depends_on('netcdf-c', when='+netcdf')
+ depends_on('vtk', when='+vtk')
+
+ def add_cmake_option(self, args, dependency, option):
+ if dependency in self.spec:
+ args.append('-D' + option + '=ON')
+ else:
+ args.append('-D' + option + '=OFF')
+
+ def cmake_args(self):
+ args = []
+
+ self.add_cmake_option(args, '+adios2', 'FTK_USE_ADIOS2')
+ self.add_cmake_option(args, '+cuda', 'FTK_USE_CUDA')
+ self.add_cmake_option(args, '+gmp', 'FTK_USE_GMP')
+ self.add_cmake_option(args, '+hdf5', 'FTK_USE_HDF5')
+ self.add_cmake_option(args, '+mpi', 'FTK_USE_MPI')
+ self.add_cmake_option(args, '+netcdf', 'FTK_USE_NETCDF')
+ self.add_cmake_option(args, '+vtk', 'FTK_USE_VTK')
+
+ return args
diff --git a/var/spack/repos/builtin/packages/fujitsu-fftw/package.py b/var/spack/repos/builtin/packages/fujitsu-fftw/package.py
new file mode 100644
index 0000000000..258625137e
--- /dev/null
+++ b/var/spack/repos/builtin/packages/fujitsu-fftw/package.py
@@ -0,0 +1,113 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+from spack.pkg.builtin.fftw import FftwBase
+from spack.error import SpackError
+
+
+def target_check(spec):
+ if spec.target != "a64fx":
+ error_msg = ("It can only be built on an A64FX machine.\n")
+ raise SpackError(error_msg)
+
+
+class FujitsuFftw(FftwBase):
+ """FFTW (Fujitsu Optimized version) is a comprehensive collection of
+ fast C routines for computing the Discrete Fourier Transform (DFT)
+ and various special cases thereof.
+
+ It is an open-source implementation of the Fast Fourier transform
+ algorithm. It can compute transforms of real and complex-values
+ arrays of arbitrary size and dimension.
+ Fujitsu Optimized FFTW is the optimized FFTW implementation targeted
+ for A64FX CPUs.
+
+ For single precision build, please use precision value as float.
+ Example : spack install fujitsufftw precision=float
+ """
+
+ _name = 'fujitsu-fftw'
+ homepage = "https://github.com/fujitsu/fftw3"
+ url = "https://github.com/fujitsu/fftw3/archive/sve-v1.0.0.tar.gz"
+
+ version('1.0.0', sha256='b5931e352355d8d1ffeb215922f4b96de11b8585c423fceeaffbf3d5436f6f2f')
+
+ variant('shared', default=True, description='Builds a shared version of the library')
+ variant('openmp', default=True, description="Enable OpenMP support")
+ variant('debug', default=False, description='Builds a debug version of the library')
+
+ depends_on('texinfo')
+
+ provides('fftw-api@3', when='@2:')
+
+ conflicts('precision=quad', when='%fj', msg="Fujitsu Compiler doesn't support quad precision")
+ conflicts('precision=long_double', when='%fj', msg="ARM-SVE vector instructions only works in single or double precision")
+ conflicts('%arm')
+ conflicts('%cce')
+ conflicts('%apple-clang')
+ conflicts('%clang')
+ conflicts('%gcc')
+ conflicts('%intel')
+ conflicts('%nag')
+ conflicts('%pgi')
+ conflicts('%xl')
+ conflicts('%xl_r')
+
+ def autoreconf(self, spec, prefix):
+ if spec.target != "a64fx":
+ target_check(spec)
+
+ touch = which('touch')
+ touch('ChangeLog')
+ autoreconf = which('autoreconf')
+ autoreconf('-ifv')
+
+ def configure(self, spec, prefix):
+ """Configure function"""
+ # Base options
+ options = [
+ 'CFLAGS=-Ofast',
+ 'FFLAGS=-Kfast',
+ '--enable-sve',
+ '--enable-armv8-cntvct-el0',
+ '--enable-fma',
+ '--enable-fortran',
+ '--prefix={0}'.format(prefix),
+ 'ac_cv_prog_f77_v=-###'
+ ]
+
+ if '+shared' in spec:
+ options.append('--enable-shared')
+ else:
+ options.append('--disable-shared')
+
+ if '+openmp' in spec:
+ options.append('--enable-openmp')
+ options.append('OPENMP_CFLAGS=-Kopenmp')
+ else:
+ options.append('--disable-openmp')
+
+ if '+mpi' in spec:
+ options.append('--enable-mpi')
+ else:
+ options.append('--disable-mpi')
+
+ # Double is the default precision, for all the others we need
+ # to enable the corresponding option.
+ enable_precision = {
+ 'float': ['--enable-float'],
+ 'double': None,
+ 'long_double': ['--enable-long-double'],
+ 'quad': ['--enable-quad-precision']
+ }
+
+ # Different precisions must be configured and compiled one at a time
+ configure = Executable('../configure')
+ for precision in self.selected_precisions:
+
+ opts = (enable_precision[precision] or []) + options[:]
+ with working_dir(precision, create=True):
+ configure(*opts)
diff --git a/var/spack/repos/builtin/packages/fujitsu-mpi/package.py b/var/spack/repos/builtin/packages/fujitsu-mpi/package.py
index 3a4fa40975..070036257b 100644
--- a/var/spack/repos/builtin/packages/fujitsu-mpi/package.py
+++ b/var/spack/repos/builtin/packages/fujitsu-mpi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fujitsu-ssl2/package.py b/var/spack/repos/builtin/packages/fujitsu-ssl2/package.py
index 3d5d8f875f..5ad1079815 100644
--- a/var/spack/repos/builtin/packages/fujitsu-ssl2/package.py
+++ b/var/spack/repos/builtin/packages/fujitsu-ssl2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -54,8 +54,6 @@ class FujitsuSsl2(Package):
else:
libslist.append("libfjlapack.so")
- libslist.append("libfj90rt2.a")
-
if spec.target == "a64fx": # Build with SVE support
if "+parallel" in spec: # parallel
libslist.append("libssl2mtexsve.a")
@@ -104,7 +102,7 @@ class FujitsuSsl2(Package):
libslist.append("libscalapack.a")
libslist.extend(
- ["libmpi_usempi_ignore_tkr.so", "libmpi_mpifh.so", "libfj90rt2.a"]
+ ["libmpi_usempi_ignore_tkr.so", "libmpi_mpifh.so"]
)
if spec.target == "a64fx": # Build with SVE support
diff --git a/var/spack/repos/builtin/packages/funhpc/package.py b/var/spack/repos/builtin/packages/funhpc/package.py
index 18175119f8..2bf10834dd 100644
--- a/var/spack/repos/builtin/packages/funhpc/package.py
+++ b/var/spack/repos/builtin/packages/funhpc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fuse-overlayfs/package.py b/var/spack/repos/builtin/packages/fuse-overlayfs/package.py
index 36b8cba193..0db7843f95 100644
--- a/var/spack/repos/builtin/packages/fuse-overlayfs/package.py
+++ b/var/spack/repos/builtin/packages/fuse-overlayfs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fyba/package.py b/var/spack/repos/builtin/packages/fyba/package.py
index 9439140bf0..102e5c8358 100644
--- a/var/spack/repos/builtin/packages/fyba/package.py
+++ b/var/spack/repos/builtin/packages/fyba/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/fzf/package.py b/var/spack/repos/builtin/packages/fzf/package.py
index cee38abad4..cc85cf17f0 100644
--- a/var/spack/repos/builtin/packages/fzf/package.py
+++ b/var/spack/repos/builtin/packages/fzf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/g2o/package.py b/var/spack/repos/builtin/packages/g2o/package.py
new file mode 100644
index 0000000000..496e9620f2
--- /dev/null
+++ b/var/spack/repos/builtin/packages/g2o/package.py
@@ -0,0 +1,44 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+class G2o(CMakePackage):
+ """g2o is an open-source C++ framework for optimizing graph-based nonlinear
+ error functions.
+
+ g2o has been designed to be easily extensible to a wide range of problems
+ and a new problem typically can be specified in a few lines of code. The
+ current implementation provides solutions to several variants of SLAM and
+ BA."""
+
+ homepage = "https://openslam-org.github.io/g2o.html"
+ url = "https://github.com/RainerKuemmerle/g2o/archive/20200410_git.tar.gz"
+ git = "https://github.com/RainerKuemmerle/g2o.git"
+
+ version('master', branch='master')
+ version('20200410_git', sha256='b79eb1407ae7f2a9e6a002bb4b41d65402c185855db41a9ef4a6e3b42abaec4c')
+
+ depends_on('cmake@3.1:', type='build')
+ depends_on('eigen@2.91.0:', type='link')
+ depends_on('ceres-solver')
+ depends_on('freeglut')
+ depends_on('suite-sparse')
+ depends_on('qt@5:+gui+opengl')
+ depends_on('libqglviewer')
+
+ def cmake_args(self):
+ return [
+ '-DBUILD_CSPARSE=OFF',
+ '-DCSPARSE_INCLUDE_DIR=' + self.spec[
+ 'suite-sparse:cxsparse'].headers.directories[0],
+ '-DCSPARSE_LIBRARY=' + self.spec['suite-sparse:cxsparse'].libs[0],
+ '-DQGLVIEWER_INCLUDE_DIR=' + self.spec[
+ 'libqglviewer'].prefix.include.QGLViewer
+ ]
+
+ @run_after('install')
+ def darwin_fix(self):
+ if self.spec.satisfies('platform=darwin'):
+ fix_darwin_install_name(self.prefix.lib)
diff --git a/var/spack/repos/builtin/packages/g4abla/package.py b/var/spack/repos/builtin/packages/g4abla/package.py
index bed114d825..d74a7d15ed 100644
--- a/var/spack/repos/builtin/packages/g4abla/package.py
+++ b/var/spack/repos/builtin/packages/g4abla/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,6 +12,8 @@ class G4abla(Package):
homepage = "http://geant4.web.cern.ch"
url = "http://geant4-data.web.cern.ch/geant4-data/datasets/G4ABLA.3.0.tar.gz"
+ tags = ['hep']
+
maintainers = ['drbenmorgan']
# Only versions relevant to Geant4 releases built by spack are added
diff --git a/var/spack/repos/builtin/packages/g4emlow/package.py b/var/spack/repos/builtin/packages/g4emlow/package.py
index e7b34000cd..5e7496892e 100644
--- a/var/spack/repos/builtin/packages/g4emlow/package.py
+++ b/var/spack/repos/builtin/packages/g4emlow/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,9 +12,12 @@ class G4emlow(Package):
homepage = "http://geant4.web.cern.ch"
url = "http://geant4-data.web.cern.ch/geant4-data/datasets/G4EMLOW.6.50.tar.gz"
+ tags = ['hep']
+
maintainers = ['drbenmorgan']
# Only versions relevant to Geant4 releases built by spack are added
+ version('7.13', sha256='374896b649be776c6c10fea80abe6cf32f9136df0b6ab7c7236d571d49fb8c69')
version('7.9.1', sha256='820c106e501c64c617df6c9e33a0f0a3822ffad059871930f74b8cc37f043ccb')
version('7.9', sha256='4abf9aa6cda91e4612676ce4d2d8a73b91184533aa66f9aad19a53a8c4dc3aff')
version('7.7', sha256='16dec6adda6477a97424d749688d73e9bd7d0b84d0137a67cf341f1960984663')
diff --git a/var/spack/repos/builtin/packages/g4ensdfstate/package.py b/var/spack/repos/builtin/packages/g4ensdfstate/package.py
index 36bc897f4b..cfbf04e79b 100644
--- a/var/spack/repos/builtin/packages/g4ensdfstate/package.py
+++ b/var/spack/repos/builtin/packages/g4ensdfstate/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,9 +12,12 @@ class G4ensdfstate(Package):
homepage = "http://geant4.web.cern.ch"
url = "http://geant4-data.web.cern.ch/geant4-data/datasets/G4ENSDFSTATE.2.1.tar.gz"
+ tags = ['hep']
+
maintainers = ['drbenmorgan']
# Only versions relevant to Geant4 releases built by spack are added
+ version('2.3', sha256='9444c5e0820791abd3ccaace105b0e47790fadce286e11149834e79c4a8e9203')
version('2.2', sha256='dd7e27ef62070734a4a709601f5b3bada6641b111eb7069344e4f99a01d6e0a6')
version('2.1', sha256='933e7f99b1c70f24694d12d517dfca36d82f4e95b084c15d86756ace2a2790d9')
diff --git a/var/spack/repos/builtin/packages/g4incl/package.py b/var/spack/repos/builtin/packages/g4incl/package.py
index e21010f411..e5fa43e715 100644
--- a/var/spack/repos/builtin/packages/g4incl/package.py
+++ b/var/spack/repos/builtin/packages/g4incl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,6 +13,8 @@ class G4incl(Package):
homepage = "http://geant4.web.cern.ch"
url = "http://geant4-data.web.cern.ch/geant4-data/datasets/G4INCL.1.0.tar.gz"
+ tags = ['hep']
+
maintainers = ['drbenmorgan']
# Only versions relevant to Geant4 releases built by spack are added
@@ -31,4 +33,4 @@ class G4incl(Package):
def url_for_version(self, version):
"""Handle version string."""
- return ("http://geant4-data.web.cern.ch/geant4-data/datasets/G4INCL.%s.tar.gz" % version) \ No newline at end of file
+ return ("http://geant4-data.web.cern.ch/geant4-data/datasets/G4INCL.%s.tar.gz" % version)
diff --git a/var/spack/repos/builtin/packages/g4ndl/package.py b/var/spack/repos/builtin/packages/g4ndl/package.py
index 3eaad0f101..e2ce0bbdac 100644
--- a/var/spack/repos/builtin/packages/g4ndl/package.py
+++ b/var/spack/repos/builtin/packages/g4ndl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,6 +12,8 @@ class G4ndl(Package):
homepage = "http://geant4.web.cern.ch"
url = "http://geant4-data.web.cern.ch/geant4-data/datasets/G4NDL.4.5.tar.gz"
+ tags = ['hep']
+
maintainers = ['drbenmorgan']
version('4.6', sha256='9d287cf2ae0fb887a2adce801ee74fb9be21b0d166dab49bcbee9408a5145408')
diff --git a/var/spack/repos/builtin/packages/g4neutronxs/package.py b/var/spack/repos/builtin/packages/g4neutronxs/package.py
index 41acc423a6..9d33ce8ff1 100644
--- a/var/spack/repos/builtin/packages/g4neutronxs/package.py
+++ b/var/spack/repos/builtin/packages/g4neutronxs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,6 +13,8 @@ class G4neutronxs(Package):
homepage = "http://geant4.web.cern.ch"
url = "http://geant4-data.web.cern.ch/geant4-data/datasets/G4NEUTRONXS.1.4.tar.gz"
+ tags = ['hep']
+
maintainers = ['drbenmorgan']
# Only versions relevant to Geant4 releases built by spack are added
diff --git a/var/spack/repos/builtin/packages/g4particlexs/package.py b/var/spack/repos/builtin/packages/g4particlexs/package.py
index e573025b64..1357328f67 100644
--- a/var/spack/repos/builtin/packages/g4particlexs/package.py
+++ b/var/spack/repos/builtin/packages/g4particlexs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,9 +13,12 @@ class G4particlexs(Package):
homepage = "http://geant4.web.cern.ch"
url = "http://geant4-data.web.cern.ch/geant4-data/datasets/G4PARTICLEXS.2.1.tar.gz"
+ tags = ['hep']
+
maintainers = ['drbenmorgan']
# Only versions relevant to Geant4 releases built by spack are added
+ version('3.1', sha256='404da84ead165e5cccc0bb795222f6270c9bf491ef4a0fd65195128b27f0e9cd')
version('2.1', sha256='094d103372bbf8780d63a11632397e72d1191dc5027f9adabaf6a43025520b41')
version('1.1', sha256='100a11c9ed961152acfadcc9b583a9f649dda4e48ab314fcd4f333412ade9d62')
@@ -32,4 +35,4 @@ class G4particlexs(Package):
def url_for_version(self, version):
"""Handle version string."""
- return ("http://geant4-data.web.cern.ch/geant4-data/datasets/G4PARTICLEXS.%s.tar.gz" % version) \ No newline at end of file
+ return ("http://geant4-data.web.cern.ch/geant4-data/datasets/G4PARTICLEXS.%s.tar.gz" % version)
diff --git a/var/spack/repos/builtin/packages/g4photonevaporation/package.py b/var/spack/repos/builtin/packages/g4photonevaporation/package.py
index 93d7f82de4..a79d111824 100644
--- a/var/spack/repos/builtin/packages/g4photonevaporation/package.py
+++ b/var/spack/repos/builtin/packages/g4photonevaporation/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,9 +12,12 @@ class G4photonevaporation(Package):
homepage = "http://geant4.web.cern.ch"
url = "http://geant4-data.web.cern.ch/geant4-data/datasets/G4PhotonEvaporation.4.3.2.tar.gz"
+ tags = ['hep']
+
maintainers = ['drbenmorgan']
# Only versions relevant to Geant4 releases built by spack are added
+ version('5.7', sha256='761e42e56ffdde3d9839f9f9d8102607c6b4c0329151ee518206f4ee9e77e7e5')
version('5.5', sha256='5995dda126c18bd7f68861efde87b4af438c329ecbe849572031ceed8f5e76d7')
version('5.3', sha256='d47ababc8cbe548065ef644e9bd88266869e75e2f9e577ebc36bc55bf7a92ec8')
version('5.2', sha256='83607f8d36827b2a7fca19c9c336caffbebf61a359d0ef7cee44a8bcf3fc2d1f')
diff --git a/var/spack/repos/builtin/packages/g4pii/package.py b/var/spack/repos/builtin/packages/g4pii/package.py
index ea91b5b9c9..dafd750018 100644
--- a/var/spack/repos/builtin/packages/g4pii/package.py
+++ b/var/spack/repos/builtin/packages/g4pii/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,6 +12,8 @@ class G4pii(Package):
homepage = "http://geant4.web.cern.ch"
url = "http://geant4-data.web.cern.ch/geant4-data/datasets/G4PII.1.3.tar.gz"
+ tags = ['hep']
+
maintainers = ['drbenmorgan']
# Only versions relevant to Geant4 releases built by spack are added
diff --git a/var/spack/repos/builtin/packages/g4radioactivedecay/package.py b/var/spack/repos/builtin/packages/g4radioactivedecay/package.py
index 6f34e89cea..2e1ea3ad34 100644
--- a/var/spack/repos/builtin/packages/g4radioactivedecay/package.py
+++ b/var/spack/repos/builtin/packages/g4radioactivedecay/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,9 +12,12 @@ class G4radioactivedecay(Package):
homepage = "http://geant4.web.cern.ch"
url = "http://geant4-data.web.cern.ch/geant4-data/datasets/G4RadioactiveDecay.5.1.1.tar.gz"
+ tags = ['hep']
+
maintainers = ['drbenmorgan']
# Only versions relevant to Geant4 releases built by spack are added
+ version('5.6', sha256='3886077c9c8e5a98783e6718e1c32567899eeb2dbb33e402d4476bc2fe4f0df1')
version('5.4', sha256='240779da7d13f5bf0db250f472298c3804513e8aca6cae301db97f5ccdcc4a61')
version('5.3', sha256='5c8992ac57ae56e66b064d3f5cdfe7c2fee76567520ad34a625bfb187119f8c1')
version('5.2', sha256='99c038d89d70281316be15c3c98a66c5d0ca01ef575127b6a094063003e2af5d')
diff --git a/var/spack/repos/builtin/packages/g4realsurface/package.py b/var/spack/repos/builtin/packages/g4realsurface/package.py
index dee32da8b9..ee86625898 100644
--- a/var/spack/repos/builtin/packages/g4realsurface/package.py
+++ b/var/spack/repos/builtin/packages/g4realsurface/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,9 +12,12 @@ class G4realsurface(Package):
homepage = "http://geant4.web.cern.ch"
url = "http://geant4-data.web.cern.ch/geant4-data/datasets/RealSurface.1.0.tar.gz"
+ tags = ['hep']
+
maintainers = ['drbenmorgan']
# Only versions relevant to Geant4 releases built by spack are added
+ version('2.2', sha256='9954dee0012f5331267f783690e912e72db5bf52ea9babecd12ea22282176820')
version('2.1.1', sha256='90481ff97a7c3fa792b7a2a21c9ed80a40e6be386e581a39950c844b2dd06f50')
version('2.1', sha256='2a287adbda1c0292571edeae2082a65b7f7bd6cf2bf088432d1d6f889426dcf3')
version('1.0', sha256='3e2d2506600d2780ed903f1f2681962e208039329347c58ba1916740679020b1')
diff --git a/var/spack/repos/builtin/packages/g4saiddata/package.py b/var/spack/repos/builtin/packages/g4saiddata/package.py
index 0091d09744..6b6a8da546 100644
--- a/var/spack/repos/builtin/packages/g4saiddata/package.py
+++ b/var/spack/repos/builtin/packages/g4saiddata/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,6 +12,8 @@ class G4saiddata(Package):
homepage = "http://geant4.web.cern.ch"
url = "http://geant4-data.web.cern.ch/geant4-data/datasets/G4SAIDDATA.1.1.tar.gz"
+ tags = ['hep']
+
maintainers = ['drbenmorgan']
# Only versions relevant to Geant4 releases built by spack are added
diff --git a/var/spack/repos/builtin/packages/g4tendl/package.py b/var/spack/repos/builtin/packages/g4tendl/package.py
index aac083f539..9c898897c6 100644
--- a/var/spack/repos/builtin/packages/g4tendl/package.py
+++ b/var/spack/repos/builtin/packages/g4tendl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,6 +12,8 @@ class G4tendl(Package):
homepage = "http://geant4.web.cern.ch"
url = "http://geant4-data.web.cern.ch/geant4-data/datasets/G4TENDL.1.3.tar.gz"
+ tags = ['hep']
+
maintainers = ['drbenmorgan']
# Only versions relevant to Geant4 releases built by spack are added
diff --git a/var/spack/repos/builtin/packages/gamess-ri-mp2-miniapp/package.py b/var/spack/repos/builtin/packages/gamess-ri-mp2-miniapp/package.py
index bff82af2cb..451d64e056 100644
--- a/var/spack/repos/builtin/packages/gamess-ri-mp2-miniapp/package.py
+++ b/var/spack/repos/builtin/packages/gamess-ri-mp2-miniapp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gams/package.py b/var/spack/repos/builtin/packages/gams/package.py
index e7e652f381..135a1a549b 100644
--- a/var/spack/repos/builtin/packages/gams/package.py
+++ b/var/spack/repos/builtin/packages/gams/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ganglia/package.py b/var/spack/repos/builtin/packages/ganglia/package.py
index ffccc3c14c..3a00ee424f 100644
--- a/var/spack/repos/builtin/packages/ganglia/package.py
+++ b/var/spack/repos/builtin/packages/ganglia/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gapbs/package.py b/var/spack/repos/builtin/packages/gapbs/package.py
index c992a6eed0..4314d837eb 100644
--- a/var/spack/repos/builtin/packages/gapbs/package.py
+++ b/var/spack/repos/builtin/packages/gapbs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gapcloser/package.py b/var/spack/repos/builtin/packages/gapcloser/package.py
index e8c060c260..5e7e5c6467 100644
--- a/var/spack/repos/builtin/packages/gapcloser/package.py
+++ b/var/spack/repos/builtin/packages/gapcloser/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gapfiller/package.py b/var/spack/repos/builtin/packages/gapfiller/package.py
index c2fa5b025e..ffcd91ddc7 100644
--- a/var/spack/repos/builtin/packages/gapfiller/package.py
+++ b/var/spack/repos/builtin/packages/gapfiller/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gasnet/package.py b/var/spack/repos/builtin/packages/gasnet/package.py
index 8ead7c3796..77db379981 100644
--- a/var/spack/repos/builtin/packages/gasnet/package.py
+++ b/var/spack/repos/builtin/packages/gasnet/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,6 +16,8 @@ class Gasnet(AutotoolsPackage):
homepage = "https://gasnet.lbl.gov"
url = "https://gasnet.lbl.gov/EX/GASNet-2020.3.0.tar.gz"
+ maintainers = ['PHHargrove', 'bonachea']
+
version('2020.3.0', sha256='019eb2d2284856e6fabe6c8c0061c874f10e95fa0265245f227fd3497f1bb274')
version('2019.9.0', sha256='117f5fdb16e53d0fa8a47a1e28cccab1d8020ed4f6e50163d985dc90226aaa2c')
version('2019.6.0', sha256='839ba115bfb48083c66b4c1c27703d73063b75d2f1e0501d5eab2ad7f0f776c8')
diff --git a/var/spack/repos/builtin/packages/gate/package.py b/var/spack/repos/builtin/packages/gate/package.py
index 741d472f80..0e24c2d66b 100644
--- a/var/spack/repos/builtin/packages/gate/package.py
+++ b/var/spack/repos/builtin/packages/gate/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gatepet2stir/package.py b/var/spack/repos/builtin/packages/gatepet2stir/package.py
index f13cdca589..4c956a1f3d 100644
--- a/var/spack/repos/builtin/packages/gatepet2stir/package.py
+++ b/var/spack/repos/builtin/packages/gatepet2stir/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gatk/package.py b/var/spack/repos/builtin/packages/gatk/package.py
index 7c61c238d9..484da1f1c3 100644
--- a/var/spack/repos/builtin/packages/gatk/package.py
+++ b/var/spack/repos/builtin/packages/gatk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gaudi/package.py b/var/spack/repos/builtin/packages/gaudi/package.py
index 2062cf647f..cecd49277d 100644
--- a/var/spack/repos/builtin/packages/gaudi/package.py
+++ b/var/spack/repos/builtin/packages/gaudi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,6 +13,8 @@ class Gaudi(CMakePackage):
git = "https://gitlab.cern.ch/gaudi/Gaudi.git"
url = "https://gitlab.cern.ch/gaudi/Gaudi/-/archive/v33r1/Gaudi-v33r1.tar.gz"
+ tags = ['hep']
+
version('master', branch='master')
version('35.0', sha256='c01b822f9592a7bf875b9997cbeb3c94dea97cb13d523c12649dbbf5d69b5fa6')
version('34.0', sha256='28fc4abb5a6b08da5a6b1300451c7e8487f918b055939877219d454abf7668ae')
@@ -46,7 +48,7 @@ class Gaudi(CMakePackage):
depends_on('cppgsl')
depends_on('fmt', when='@33.2:')
depends_on('intel-tbb')
- depends_on('libuuid')
+ depends_on('uuid')
depends_on('nlohmann-json', when="@35.0:")
depends_on('python', type=('build', 'run'))
depends_on('python@:3.7.99', when='@32.2:34.99', type=('build', 'run'))
@@ -88,13 +90,14 @@ class Gaudi(CMakePackage):
args = [
self.define_from_variant("BUILD_TESTING", "optional"),
self.define_from_variant("GAUDI_USE_AIDA", "optional"),
- self.define_from_variant("GAUDI_USE_CLHEP", "optional"),
self.define_from_variant("GAUDI_USE_CPPUNIT", "optional"),
self.define_from_variant("GAUDI_USE_HEPPDT", "optional"),
self.define_from_variant("GAUDI_USE_JEMALLOC", "optional"),
self.define_from_variant("GAUDI_USE_UNWIND", "optional"),
self.define_from_variant("GAUDI_USE_XERCESC", "optional"),
self.define_from_variant("GAUDI_USE_DOXYGEN", "docs"),
+ # needed to build core services like rndmsvc
+ self.define("GAUDI_USE_CLHEP", True),
self.define("GAUDI_USE_PYTHON_MAJOR",
str(self.spec['python'].version.up_to(1))),
# todo:
diff --git a/var/spack/repos/builtin/packages/gaussian-src/package.py b/var/spack/repos/builtin/packages/gaussian-src/package.py
index fe8f902df0..f4a28dec52 100644
--- a/var/spack/repos/builtin/packages/gaussian-src/package.py
+++ b/var/spack/repos/builtin/packages/gaussian-src/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gaussian-view/package.py b/var/spack/repos/builtin/packages/gaussian-view/package.py
index 9f5b83edc5..28d1ce136a 100644
--- a/var/spack/repos/builtin/packages/gaussian-view/package.py
+++ b/var/spack/repos/builtin/packages/gaussian-view/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gaussian/package.py b/var/spack/repos/builtin/packages/gaussian/package.py
index 7a1f7e6821..b5c77ed811 100644
--- a/var/spack/repos/builtin/packages/gaussian/package.py
+++ b/var/spack/repos/builtin/packages/gaussian/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gawk/package.py b/var/spack/repos/builtin/packages/gawk/package.py
index d567dfdcdc..d3e09692b4 100644
--- a/var/spack/repos/builtin/packages/gawk/package.py
+++ b/var/spack/repos/builtin/packages/gawk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -23,6 +23,7 @@ class Gawk(AutotoolsPackage, GNUMirrorPackage):
homepage = "https://www.gnu.org/software/gawk/"
gnu_mirror_path = "gawk/gawk-4.1.4.tar.xz"
+ version('5.1.0', sha256='cf5fea4ac5665fd5171af4716baab2effc76306a9572988d5ba1078f196382bd')
version('5.0.1', sha256='8e4e86f04ed789648b66f757329743a0d6dfb5294c3b91b756a474f1ce05a794')
version('4.1.4', sha256='53e184e2d0f90def9207860531802456322be091c7b48f23fdc79cda65adc266')
diff --git a/var/spack/repos/builtin/packages/gblocks/package.py b/var/spack/repos/builtin/packages/gblocks/package.py
index 5b41ffc215..a4639247bf 100644
--- a/var/spack/repos/builtin/packages/gblocks/package.py
+++ b/var/spack/repos/builtin/packages/gblocks/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gcc/package.py b/var/spack/repos/builtin/packages/gcc/package.py
index 12c6569577..240217660d 100644
--- a/var/spack/repos/builtin/packages/gcc/package.py
+++ b/var/spack/repos/builtin/packages/gcc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -98,6 +98,9 @@ class Gcc(AutotoolsPackage, GNUMirrorPackage):
variant('bootstrap',
default=False,
description='add --enable-bootstrap flag for stage3 build')
+ variant('graphite',
+ default=False,
+ description='Enable Graphite loop optimizations (requires ISL)')
depends_on('flex', type='build', when='@master')
@@ -112,11 +115,11 @@ class Gcc(AutotoolsPackage, GNUMirrorPackage):
# GCC 5.4 https://github.com/spack/spack/issues/6902#issuecomment-433072097
# GCC 7.3 https://github.com/spack/spack/issues/6902#issuecomment-433030376
# GCC 9+ https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86724
- depends_on('isl@0.14', when='@5.0:5.2')
- depends_on('isl@0.15', when='@5.3:5.9')
- depends_on('isl@0.15:0.18', when='@6:8.9')
- depends_on('isl@0.15:0.20', when='@9:9.9')
- depends_on('isl@0.15:', when='@10:')
+ depends_on('isl@0.14', when='@5.0:5.2 +graphite')
+ depends_on('isl@0.15', when='@5.3:5.9 +graphite')
+ depends_on('isl@0.15:0.18', when='@6:8.9 +graphite')
+ depends_on('isl@0.15:0.20', when='@9:9.9 +graphite')
+ depends_on('isl@0.15:', when='@10: +graphite')
depends_on('zlib', when='@6:')
depends_on('zstd', when='@10:')
depends_on('diffutils', type='build')
@@ -490,6 +493,7 @@ class Gcc(AutotoolsPackage, GNUMirrorPackage):
# More info at: https://gcc.gnu.org/install/configure.html
for dep_str in ('mpfr', 'gmp', 'mpc', 'isl'):
if dep_str not in spec:
+ options.append('--without-{0}'.format(dep_str))
continue
dep_spec = spec[dep_str]
diff --git a/var/spack/repos/builtin/packages/gccmakedep/package.py b/var/spack/repos/builtin/packages/gccmakedep/package.py
index 1b8614af2d..0c7a0843ed 100644
--- a/var/spack/repos/builtin/packages/gccmakedep/package.py
+++ b/var/spack/repos/builtin/packages/gccmakedep/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gccxml/package.py b/var/spack/repos/builtin/packages/gccxml/package.py
index a7a885bcd3..72ea079985 100644
--- a/var/spack/repos/builtin/packages/gccxml/package.py
+++ b/var/spack/repos/builtin/packages/gccxml/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gchp/package.py b/var/spack/repos/builtin/packages/gchp/package.py
new file mode 100644
index 0000000000..acbc3786e3
--- /dev/null
+++ b/var/spack/repos/builtin/packages/gchp/package.py
@@ -0,0 +1,54 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+import shutil
+
+
+class Gchp(CMakePackage):
+ """GEOS-Chem High Performance model of atmospheric chemistry"""
+
+ homepage = "https://gchp.readthedocs.io/"
+ url = "https://github.com/geoschem/GCHP/archive/13.0.0-rc.0.tar.gz"
+
+ maintainers = ['williamdowns']
+
+ version('13.0.0-rc.0', git='https://github.com/geoschem/GCHP.git',
+ commit='4bd15316faf4e5f06517d3a6b1df1986b1126d90', submodules=True)
+ # NOTE: Post-13.0.0-rc.0 versions will have fix that
+ # allows these ESMF variants to be enabled
+ depends_on('esmf@8.0.1: -lapack -pio -pnetcdf -xerces')
+ depends_on('mpi@3')
+ depends_on('netcdf-fortran')
+ depends_on('cmake@3.13:')
+
+ variant('omp', default=False, description="OpenMP parallelization")
+ variant('real8', default=True, description="REAL*8 precision")
+ variant('apm', default=False, description="APM Microphysics (Experimental)")
+ variant('rrtmg', default=False, description="RRTMG radiative transfer model")
+ variant('luo', default=False, description="Luo et al 2019 wet deposition scheme")
+ variant('tomas', default=False, description="TOMAS Microphysics (Experimental)")
+
+ def cmake_args(self):
+ args = [self.define("RUNDIR", self.prefix),
+ self.define_from_variant('OMP', 'omp'),
+ self.define_from_variant('USE_REAL8', 'real8'),
+ self.define_from_variant('APM', 'apm'),
+ self.define_from_variant('RRTMG', 'rrtmg'),
+ self.define_from_variant('LUO_WETDEP', 'luo'),
+ self.define_from_variant('TOMAS', 'tomas')]
+ return args
+
+ def install(self, spec, prefix):
+ super().install(spec, prefix)
+ # Preserve source code in prefix for two reasons:
+ # 1. Run directory creation occurs independently of code compilation,
+ # possibly multiple times depending on user needs,
+ # and requires the preservation of some of the source code structure.
+ # 2. Run configuration is relatively complex and can result in error
+ # messages that point to specific modules / lines of the source code.
+ # Including source code thus facilitates runtime debugging.
+ shutil.move(self.stage.source_path,
+ join_path(prefix, 'source_code'))
diff --git a/var/spack/repos/builtin/packages/gconf/package.py b/var/spack/repos/builtin/packages/gconf/package.py
index dc4bb5f239..5479ae80ba 100644
--- a/var/spack/repos/builtin/packages/gconf/package.py
+++ b/var/spack/repos/builtin/packages/gconf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gcta/package.py b/var/spack/repos/builtin/packages/gcta/package.py
index 1736055f88..33748d1527 100644
--- a/var/spack/repos/builtin/packages/gcta/package.py
+++ b/var/spack/repos/builtin/packages/gcta/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gdal/package.py b/var/spack/repos/builtin/packages/gdal/package.py
index a6f1dfd909..41b507aede 100644
--- a/var/spack/repos/builtin/packages/gdal/package.py
+++ b/var/spack/repos/builtin/packages/gdal/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -20,12 +20,9 @@ class Gdal(AutotoolsPackage):
list_depth = 1
maintainers = ['adamjstewart']
+ import_modules = ['osgeo', 'osgeo.utils']
- import_modules = [
- 'osgeo', 'osgeo.gdal', 'osgeo.ogr', 'osgeo.osr',
- 'osgeo.gdal_array', 'osgeo.gdalconst'
- ]
-
+ version('3.2.1', sha256='6c588b58fcb63ff3f288eb9f02d76791c0955ba9210d98c3abd879c770ae28ea')
version('3.2.0', sha256='b051f852600ffdf07e337a7f15673da23f9201a9dbb482bd513756a3e5a196a6')
version('3.1.4', sha256='7b82486f71c71cec61f9b237116212ce18ef6b90f068cbbf9f7de4fc50b576a8')
version('3.1.3', sha256='161cf55371a143826f1d76ce566db1f0a666496eeb4371aed78b1642f219d51d')
@@ -48,7 +45,7 @@ class Gdal(AutotoolsPackage):
version('2.3.0', sha256='6f75e49aa30de140525ccb58688667efe3a2d770576feb7fbc91023b7f552aa2')
version('2.1.2', sha256='b597f36bd29a2b4368998ddd32b28c8cdf3c8192237a81b99af83cc17d7fa374')
version('2.0.2', sha256='90f838853cc1c07e55893483faa7e923e4b4b1659c6bc9df3538366030a7e622')
- version('1.11.5', sha256='d4fdc3e987b9926545f0a514b4328cd733f2208442f8d03bde630fe1f7eff042')
+ version('1.11.5', sha256='d4fdc3e987b9926545f0a514b4328cd733f2208442f8d03bde630fe1f7eff042', deprecated=True)
variant('libtool', default=True, description='Use libtool to build the library')
variant('libz', default=True, description='Include libz support')
@@ -146,6 +143,10 @@ class Gdal(AutotoolsPackage):
depends_on('proj@:6', when='+proj @2.5:2.999')
depends_on('proj@6:', when='+proj @3:')
depends_on('perl', type=('build', 'run'), when='+perl')
+ # see gdal_version_and_min_supported_python_version
+ # in swig/python/osgeo/__init__.py
+ depends_on('python@3.6:', type=('build', 'link', 'run'), when='@3.3:+python')
+ depends_on('python@2.0:', type=('build', 'link', 'run'), when='@3.2:+python')
depends_on('python', type=('build', 'link', 'run'), when='+python')
# swig/python/setup.py
depends_on('py-setuptools', type='build', when='+python')
@@ -170,6 +171,8 @@ class Gdal(AutotoolsPackage):
executables = ['^gdal-config$']
+ import_modules = PythonPackage.import_modules
+
@classmethod
def determine_version(cls, exe):
return Executable(exe)('--version', output=str, error=str).rstrip()
@@ -554,15 +557,19 @@ class Gdal(AutotoolsPackage):
install('*.jar', prefix)
@run_after('install')
- @on_package_attributes(run_tests=True)
- def import_module_test(self):
- if '+python' in self.spec:
- with working_dir('spack-test', create=True):
- for module in self.import_modules:
- python('-c', 'import {0}'.format(module))
-
- @run_after('install')
def darwin_fix(self):
# The shared library is not installed correctly on Darwin; fix this
if 'platform=darwin' in self.spec:
fix_darwin_install_name(self.prefix.lib)
+
+ def test(self):
+ """Attempts to import modules of the installed package."""
+
+ if '+python' in self.spec:
+ # Make sure we are importing the installed modules,
+ # not the ones in the source directory
+ for module in self.import_modules:
+ self.run_test(self.spec['python'].command.path,
+ ['-c', 'import {0}'.format(module)],
+ purpose='checking import of {0}'.format(module),
+ work_dir='spack-test')
diff --git a/var/spack/repos/builtin/packages/gdb/package.py b/var/spack/repos/builtin/packages/gdb/package.py
index 90146da14e..47f986be57 100644
--- a/var/spack/repos/builtin/packages/gdb/package.py
+++ b/var/spack/repos/builtin/packages/gdb/package.py
@@ -1,9 +1,10 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
+import os
class Gdb(AutotoolsPackage, GNUMirrorPackage):
@@ -15,22 +16,25 @@ class Gdb(AutotoolsPackage, GNUMirrorPackage):
homepage = "https://www.gnu.org/software/gdb"
gnu_mirror_path = "gdb/gdb-7.10.tar.gz"
- version('9.2', sha256='38ef247d41ba7cc3f6f93a612a78bab9484de9accecbe3b0150a3c0391a3faf0')
- version('9.1', sha256='fcda54d4f35bc53fb24b50009a71ca98410d71ff2620942e3c829a7f5d614252')
- version('8.3.1', sha256='26ce655216cd03f4611518a7a1c31d80ec8e884c16715e9ba8b436822e51434b')
- version('8.3', sha256='b2266ec592440d0eec18ee1790f8558b3b8a2845b76cc83a872e39b501ce8a28')
- version('8.2.1', sha256='0107985f1edb8dddef6cdd68a4f4e419f5fec0f488cc204f0b7d482c0c6c9282')
- version('8.2', sha256='847e4b65e5a7b872e86019dd59659029e2b06cae962e0ef345f169dcb4b851b8')
- version('8.1', sha256='e54a2322da050e4b00785370a282b9b8f0b25861ec7cfbbce0115e253eea910e')
- version('8.0.1', sha256='52017d33cab5b6a92455a1a904046d075357abf24153470178c0aadca2d479c5')
- version('8.0', sha256='8968a19e14e176ee026f0ca777657c43456514ad41bb2bc7273e8c4219555ac9')
+ maintainers = ['robertu94']
+
+ version('10.1', sha256='f12f388b99e1408c01308c3f753313fafa45517740c81ab7ed0d511b13e2cf55')
+ version('9.2', sha256='38ef247d41ba7cc3f6f93a612a78bab9484de9accecbe3b0150a3c0391a3faf0')
+ version('9.1', sha256='fcda54d4f35bc53fb24b50009a71ca98410d71ff2620942e3c829a7f5d614252')
+ version('8.3.1', sha256='26ce655216cd03f4611518a7a1c31d80ec8e884c16715e9ba8b436822e51434b')
+ version('8.3', sha256='b2266ec592440d0eec18ee1790f8558b3b8a2845b76cc83a872e39b501ce8a28')
+ version('8.2.1', sha256='0107985f1edb8dddef6cdd68a4f4e419f5fec0f488cc204f0b7d482c0c6c9282')
+ version('8.2', sha256='847e4b65e5a7b872e86019dd59659029e2b06cae962e0ef345f169dcb4b851b8')
+ version('8.1', sha256='e54a2322da050e4b00785370a282b9b8f0b25861ec7cfbbce0115e253eea910e')
+ version('8.0.1', sha256='52017d33cab5b6a92455a1a904046d075357abf24153470178c0aadca2d479c5')
+ version('8.0', sha256='8968a19e14e176ee026f0ca777657c43456514ad41bb2bc7273e8c4219555ac9')
version('7.12.1', sha256='142057eacecfb929d52b561eb47a1103c7d504cec3f659dd8a5ae7bc378f7e77')
- version('7.11', sha256='9382f5534aa0754169e1e09b5f1a3b77d1fa8c59c1e57617e06af37cb29c669a')
+ version('7.11', sha256='9382f5534aa0754169e1e09b5f1a3b77d1fa8c59c1e57617e06af37cb29c669a')
version('7.10.1', sha256='ff14f8050e6484508c73cbfa63731e57901478490ca1672dc0b5e2b03f6af622')
- version('7.10', sha256='50690e6d6b7917a6544190ec9401eaafb555e3cef8981709ea9870296c383ce5')
- version('7.9.1', sha256='4994ad986726ac4128a6f1bd8020cd672e9a92aa76b80736563ef992992764ef')
- version('7.9', sha256='d282508cb7df0cb8b2cf659032ce1bede7b5725796e3ac90f3cd9d65844a65f2')
- version('7.8.2', sha256='fd9a9784ca24528aac8a4e6b8d7ae7e8cf0784e128cd67a185c986deaf6b9929')
+ version('7.10', sha256='50690e6d6b7917a6544190ec9401eaafb555e3cef8981709ea9870296c383ce5')
+ version('7.9.1', sha256='4994ad986726ac4128a6f1bd8020cd672e9a92aa76b80736563ef992992764ef')
+ version('7.9', sha256='d282508cb7df0cb8b2cf659032ce1bede7b5725796e3ac90f3cd9d65844a65f2')
+ version('7.8.2', sha256='fd9a9784ca24528aac8a4e6b8d7ae7e8cf0784e128cd67a185c986deaf6b9929')
variant('python', default=True, description='Compile with Python support')
variant('xz', default=True, description='Compile with lzma support')
@@ -45,7 +49,7 @@ class Gdb(AutotoolsPackage, GNUMirrorPackage):
depends_on('texinfo', type='build')
# Optional dependencies
- depends_on('python', when='+python')
+ depends_on('python+debug', when='+python', type=('build', 'link', 'run'))
depends_on('xz', when='+xz')
depends_on('source-highlight', when='+source-highlight')
depends_on('ncurses', when='+tui')
@@ -53,7 +57,10 @@ class Gdb(AutotoolsPackage, GNUMirrorPackage):
build_directory = 'spack-build'
def configure_args(self):
- args = []
+ args = [
+ '--with-system-gdbinit={0}'.format(self.prefix.etc.gdbinit)
+ ]
+
if '+python' in self.spec:
args.append('--with-python')
args.append('LDFLAGS={0}'.format(
@@ -75,3 +82,12 @@ class Gdb(AutotoolsPackage, GNUMirrorPackage):
args.append('--enable-tui')
return args
+
+ @run_after('install')
+ def gdbinit(self):
+ if '+python' in self.spec:
+ tool = self.spec['python'].command.path + '-gdb.py'
+ if os.path.exists(tool):
+ mkdir(self.prefix.etc)
+ with open(self.prefix.etc.gdbinit, 'w') as gdbinit:
+ gdbinit.write('add-auto-load-safe-path {0}\n'.format(tool))
diff --git a/var/spack/repos/builtin/packages/gdbm/package.py b/var/spack/repos/builtin/packages/gdbm/package.py
index c0d13b7ce0..294206d3bf 100644
--- a/var/spack/repos/builtin/packages/gdbm/package.py
+++ b/var/spack/repos/builtin/packages/gdbm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -28,6 +28,9 @@ class Gdbm(AutotoolsPackage, GNUMirrorPackage):
depends_on("readline")
patch('gdbm.patch', when='%gcc@10:')
patch('gdbm.patch', when='%clang@11:')
+ patch('gdbm.patch', when='%cce@11:')
+ patch('gdbm.patch', when='%aocc@2:')
+ patch('gdbm.patch', when='%oneapi')
def configure_args(self):
diff --git a/var/spack/repos/builtin/packages/gdk-pixbuf/package.py b/var/spack/repos/builtin/packages/gdk-pixbuf/package.py
index 51def3b6e9..736e56c0ff 100644
--- a/var/spack/repos/builtin/packages/gdk-pixbuf/package.py
+++ b/var/spack/repos/builtin/packages/gdk-pixbuf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -21,7 +21,7 @@ class GdkPixbuf(Package):
version('2.40.0', sha256='1582595099537ca8ff3b99c6804350b4c058bb8ad67411bbaae024ee7cead4e6')
version('2.38.2', sha256='73fa651ec0d89d73dd3070b129ce2203a66171dfc0bd2caa3570a9c93d2d0781')
version('2.38.0', sha256='dd50973c7757bcde15de6bcd3a6d462a445efd552604ae6435a0532fbbadae47')
- version('2.31.2', sha256='9e467ed09894c802499fb2399cd9a89ed21c81700ce8f27f970a833efb1e47aa')
+ version('2.31.2', sha256='9e467ed09894c802499fb2399cd9a89ed21c81700ce8f27f970a833efb1e47aa', deprecated=True)
variant('x11', default=False, description="Enable X11 support")
diff --git a/var/spack/repos/builtin/packages/gdl/package.py b/var/spack/repos/builtin/packages/gdl/package.py
index 956061f4fa..5366a51ad5 100644
--- a/var/spack/repos/builtin/packages/gdl/package.py
+++ b/var/spack/repos/builtin/packages/gdl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -60,6 +60,8 @@ class Gdl(CMakePackage):
depends_on('netcdf-c')
depends_on('pslib')
depends_on('readline')
+ depends_on('libtirpc', type='link')
+ depends_on('libgeotiff', type='link')
conflicts('+python', when='~embed_python')
diff --git a/var/spack/repos/builtin/packages/gdrcopy/package.py b/var/spack/repos/builtin/packages/gdrcopy/package.py
index 88cf814e40..3e4e472806 100644
--- a/var/spack/repos/builtin/packages/gdrcopy/package.py
+++ b/var/spack/repos/builtin/packages/gdrcopy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/geant4-data/package.py b/var/spack/repos/builtin/packages/geant4-data/package.py
index 57a60ededd..3bfd4fedca 100644
--- a/var/spack/repos/builtin/packages/geant4-data/package.py
+++ b/var/spack/repos/builtin/packages/geant4-data/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,6 +15,10 @@ class Geant4Data(BundlePackage):
maintainers = ['drbenmorgan']
+ tags = ['hep']
+
+ version('10.7.0')
+ version('10.6.3')
version('10.6.2')
version('10.6.1')
version('10.6.0')
@@ -29,6 +33,19 @@ class Geant4Data(BundlePackage):
# For clarity, declare deps on a Major-Minor version basis as
# they generally don't change on the patch level
# Can move to declaring on a dataset basis if needed
+ # geant4@10.7.X
+ depends_on("g4ndl@4.6", when='@10.7.0:10.7.9999')
+ depends_on("g4emlow@7.13", when='@10.7.0:10.7.9999')
+ depends_on("g4photonevaporation@5.7", when='@10.7.0:10.7.9999')
+ depends_on("g4radioactivedecay@5.6", when='@10.7.0:10.7.9999')
+ depends_on("g4particlexs@3.1", when='@10.7.0:10.7.9999')
+ depends_on("g4pii@1.3", when='@10.7.0:10.7.9999')
+ depends_on("g4realsurface@2.2", when='@10.7.0:10.7.9999')
+ depends_on("g4saiddata@2.0", when='@10.7.0:10.7.9999')
+ depends_on("g4abla@3.1", when='@10.7.0:10.7.9999')
+ depends_on("g4incl@1.0", when='@10.7.0:10.7.9999')
+ depends_on("g4ensdfstate@2.3", when='@10.7.0:10.7.9999')
+
# geant4@10.6.X
depends_on("g4ndl@4.6", when='@10.6.0:10.6.9999')
depends_on("g4emlow@7.9", when='@10.6.0')
diff --git a/var/spack/repos/builtin/packages/geant4-vmc/package.py b/var/spack/repos/builtin/packages/geant4-vmc/package.py
index 8a5adc7c43..18fad7eed2 100644
--- a/var/spack/repos/builtin/packages/geant4-vmc/package.py
+++ b/var/spack/repos/builtin/packages/geant4-vmc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,13 +9,16 @@ from spack import *
class Geant4Vmc(CMakePackage):
"""Geant4 VMC implements the Virtual Monte Carlo (VMC) for Geant4."""
- homepage = "http://github.com/vmc-project/geant4_vmc"
- url = "http://github.com/vmc-project/geant4_vmc/archive/v5-1-p1.tar.gz"
- git = "http://github.com/vmc-project/geant4_vmc.git"
+ homepage = "https://github.com/vmc-project/geant4_vmc"
+ url = "https://github.com/vmc-project/geant4_vmc/archive/v5-1-p1.tar.gz"
+ git = "https://github.com/vmc-project/geant4_vmc.git"
+
+ tags = ['hep']
maintainer = ['wdconinc']
version('master', branch='master')
+ version('5-3', sha256='22f58530963988380509a7741ad6b3dde21806f3862fb55c11cc27f25d3d3c2d')
version('5-2', sha256='5bd0e4a4f938048b35724f06075952ecfbc8a97ffc979630cfe2788323845b13')
version('5-1-p1', sha256='2e3e4705134ea464e993156f71d478cb7d3817f5b6026bf8d9a37d32ec97590b')
version('5-1', sha256='ede71f360397dc4d045ec0968acf23b564fa81059c94eb40942b552eea8b5e00')
diff --git a/var/spack/repos/builtin/packages/geant4/package.py b/var/spack/repos/builtin/packages/geant4/package.py
index 8f5d3c18f2..6e37ddb41b 100644
--- a/var/spack/repos/builtin/packages/geant4/package.py
+++ b/var/spack/repos/builtin/packages/geant4/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,8 +15,12 @@ class Geant4(CMakePackage):
homepage = "http://geant4.cern.ch/"
url = "https://gitlab.cern.ch/geant4/geant4/-/archive/v10.6.0/geant4-v10.6.0.tar.gz"
+ tags = ['hep']
+
maintainers = ['drbenmorgan']
+ version('10.7.0', sha256='c991a139210c7f194720c900b149405090058c00beb5a0d2fac5c40c42a262d4')
+ version('10.6.3', sha256='bf96d6d38e6a0deabb6fb6232eb00e46153134da645715d636b9b7b4490193d3')
version('10.6.2', sha256='e381e04c02aeade1ed8cdd9fdbe7dcf5d6f0f9b3837a417976b839318a005dbd')
version('10.6.1', sha256='4fd64149ae26952672a81ce5579d3806fda4bd251d486897093ac57633a42b7e')
version('10.6.0', sha256='eebe6a170546064ff81ab3b00f513ccd1d4122a026514982368d503ac55a4ee4')
@@ -43,6 +47,8 @@ class Geant4(CMakePackage):
depends_on('cmake@3.5:', type='build')
depends_on('cmake@3.8:', type='build', when='@10.6.0:')
+ depends_on('geant4-data@10.7.0', when='@10.7.0')
+ depends_on('geant4-data@10.6.3', when='@10.6.3')
depends_on('geant4-data@10.6.2', when='@10.6.2')
depends_on('geant4-data@10.6.1', when='@10.6.1')
depends_on('geant4-data@10.6.0', when='@10.6.0')
@@ -58,17 +64,22 @@ class Geant4(CMakePackage):
depends_on('python@3:', when='+python')
extends('python', when='+python')
conflicts('+python', when='@:10.6.1',
- msg='Geant4 <= 10.6.1 cannont be built with Python bindings')
+ msg='Geant4 <= 10.6.1 cannot be built with Python bindings')
for std in _cxxstd_values:
# CLHEP version requirements to be reviewed
+ depends_on('clhep@2.4.4.0: cxxstd=' + std,
+ when='@10.7.0: cxxstd=' + std)
+
depends_on('clhep@2.3.3.0: cxxstd=' + std,
- when='@10.3.3: cxxstd=' + std)
+ when='@10.3.3:10.6.99 cxxstd=' + std)
# Spack only supports Xerces-c 3 and above, so no version req
depends_on('xerces-c netaccessor=curl cxxstd=' + std, when='cxxstd=' + std)
# Vecgeom specific versions for each Geant4 version
+ depends_on('vecgeom@1.1.8 cxxstd=' + std,
+ when='@10.7.0: +vecgeom cxxstd=' + std)
depends_on('vecgeom@1.1.5 cxxstd=' + std,
when='@10.6.0:10.6.99 +vecgeom cxxstd=' + std)
depends_on('vecgeom@1.1.0 cxxstd=' + std,
@@ -105,8 +116,7 @@ class Geant4(CMakePackage):
# Core options
options = [
- '-DGEANT4_BUILD_CXXSTD=c++{0}'.format(
- self.spec.variants['cxxstd'].value),
+ self.define_from_variant('GEANT4_BUILD_CXXSTD', 'cxxstd'),
'-DGEANT4_USE_SYSTEM_CLHEP=ON',
'-DGEANT4_USE_SYSTEM_EXPAT=ON',
'-DGEANT4_USE_SYSTEM_ZLIB=ON',
@@ -115,6 +125,11 @@ class Geant4(CMakePackage):
'-DXERCESC_ROOT_DIR={0}'.format(spec['xerces-c'].prefix)
]
+ # Don't install the package cache file as Spack will set
+ # up CMAKE_PREFIX_PATH etc for the dependencies
+ if spec.version > Version('10.5.99'):
+ options.append('-DGEANT4_INSTALL_PACKAGE_CACHE=OFF')
+
# Multithreading
options.append(self.define_from_variant('GEANT4_BUILD_MULTITHREADED',
'threads'))
diff --git a/var/spack/repos/builtin/packages/gearshifft/package.py b/var/spack/repos/builtin/packages/gearshifft/package.py
index 2222db91c7..afdd19ac89 100644
--- a/var/spack/repos/builtin/packages/gearshifft/package.py
+++ b/var/spack/repos/builtin/packages/gearshifft/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gemmlowp/package.py b/var/spack/repos/builtin/packages/gemmlowp/package.py
index 67dd3d7b07..6fa31fe551 100644
--- a/var/spack/repos/builtin/packages/gemmlowp/package.py
+++ b/var/spack/repos/builtin/packages/gemmlowp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/genemark-et/package.py b/var/spack/repos/builtin/packages/genemark-et/package.py
index efa09e657e..40960be5af 100644
--- a/var/spack/repos/builtin/packages/genemark-et/package.py
+++ b/var/spack/repos/builtin/packages/genemark-et/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,6 +18,7 @@ class GenemarkEt(Package):
http://spack.readthedocs.io/en/latest/mirrors.html"""
homepage = "http://topaz.gatech.edu/GeneMark"
+ manual_download = True
version('4.46', sha256='856b0b6c7cbd12835e140ff04ecd9124376348efd65f76bfd8b8e08c1834eac0')
version('4.38', sha256='cee3bd73d331be44159eac15469560d0b07ffa2c98ac764c37219e1f3b7d3146')
diff --git a/var/spack/repos/builtin/packages/genesis/fj_compiler.patch b/var/spack/repos/builtin/packages/genesis/fj_compiler.patch
new file mode 100644
index 0000000000..e71fc33855
--- /dev/null
+++ b/var/spack/repos/builtin/packages/genesis/fj_compiler.patch
@@ -0,0 +1,342 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -124,11 +124,7 @@ AC_PROG_F77($genesis_default_fc)
+ # check actual compiler
+ AC_MSG_CHECKING([for actual compiler])
+
+-if test x"${FC}" = x"mpifrtpx"; then
+- VER_OPT="-V"
+-else
+- VER_OPT="--version"
+-fi
++VER_OPT="--version"
+
+ fc_ver_info=$(${FC} -E ${VER_OPT})
+ for vtok in ${fc_ver_info} ; do
+@@ -158,9 +154,13 @@ for vtok in ${fc_ver_info} ; do
+ done
+
+ if test -z "${FC_ACT}"; then
+- FC_ACT=${FC}
++ FC_ACT=`basename ${FC}`
+ fi
+
++
++
++
++
+ AC_MSG_RESULT([$FC_ACT])
+
+ version_warning=yes
+@@ -256,7 +256,7 @@ for vtok in ${cc_ver_info} ; do
+ done
+
+ if test -z "${CC_ACT}"; then
+- CC_ACT=${CC}
++ CC_ACT=`basename ${CC}`
+ fi
+
+ AC_MSG_RESULT([$CC_ACT])
+@@ -322,18 +322,12 @@ if test x"${enable_openmp}" = x"yes"; th
+ elif test x"${FC_ACT}" = x"pgf90"; then
+ OPT_OPENMP="-mp"
+
+- elif test x"${FC_ACT}" = x"frtpx"; then
++ elif test x"${FC_ACT}" = x"frtpx" -o x"${FC_ACT}" = x"frt"; then
+ OPT_OPENMP="-Kopenmp"
+
+- elif test x"${FC_ACT}" = x"mpifrtpx"; then
++ elif test x"${FC_ACT}" = x"mpifrtpx" -o x"${FC_ACT}" = x"mpifrt"; then
+ OPT_OPENMP="-Kopenmp"
+
+- elif test x"${FC_ACT}" = x"frt"; then
+- OPT_OPENMP="-KOMP"
+-
+- elif test x"${FC_ACT}" = x"mpifrt"; then
+- OPT_OPENMP="-KOMP"
+-
+ fi
+ fi
+
+@@ -439,7 +433,8 @@ fi
+ AC_ARG_ENABLE([parallel_IO],
+ [AS_HELP_STRING([--enable-parallel_IO], [enable parallel_IO (defalt: no)])],
+ [], [enable_parallel_IO=no])
+-if test x"${FC_ACT}" = x"frtpx" -o x"${FC_ACT}" = x"mpifrtpx"; then
++if test x"${FC_ACT}" = x"frtpx" -o x"${FC_ACT}" = x"mpifrtpx" -o \
++ x"${FC_ACT}" = x"frt" -o x"${FC_ACT}" = x"mpifrt"; then
+ enable_parallel_IO=no
+ fi
+ #if test x"${mainly_single}" = x"yes"; then
+@@ -742,22 +737,16 @@ else
+ elif test x"${FC_ACT}" = x"pgf90"; then
+ FCFLAGS="-O2 -fastsse -Mipa=fast,inline -m64 -Mflushz -pc 64 -mcmodel=medium -Msmartalloc=huge"
+
+- elif test x"${FC_ACT}" = x"frtpx"; then
+- FCFLAGS="-m -Kvisimpact -Kocl -Kswp"
+-
+- elif test x"${FC_ACT}" = x"mpifrtpx"; then
+- FCFLAGS="-m -Kocl -Kfast,openmp,parallel,simd=2,noalias -Nlst=t -Koptmsg=2"
+- FCFLAGS_FFTE_KERNEL_FPP__PGI__SP=" -m -Kocl -Kfast,openmp,parallel,simd=2,noalias -Nlst=t -Koptmsg=2"
+- FCFLAGS_FPP__PGI_NOOPT="-m -Kocl -Kfast,openmp,parallel,simd=2,noalias -Nlst=t -Koptmsg=2"
+- FCFLAGS_KERNELS_PAIRLIST="-m -Kocl -Kfast,openmp,parallel,simd=2,nounroll,swp_strong,noalias=s -Nlst=t -Koptmsg=2"
+- FCFLAGS_DIHEDRAL="-m -xsp_energy_dihedrals_mod.calculate_dihedral_2 -Kocl -Kfast,openmp,parallel,simd=2,noalias -Nlst=t -Koptmsg=2"
+- FCFLAGS_KERNELS=" -m -Kocl -Kfast,openmp,parallel,simd=2,swp_strong,noalias=s -Nlst=t -Koptmsg=2"
++ elif test x"${FC_ACT}" = x"frtpx" -o x"${FC_ACT}" = x"frt"; then
++ FCFLAGS="-Kocl"
+
+- elif test x"${FC_ACT}" = x"frt"; then
+- FCFLAGS="-m -Am -Kfast"
+-
+- elif test x"${FC_ACT}" = x"mpifrt"; then
+- FCFLAGS="-m -Am -Kfast"
++ elif test x"${FC_ACT}" = x"mpifrtpx" -o x"${FC_ACT}" = x"mpifrt"; then
++ FCFLAGS="-Kocl -Kfast,openmp,parallel,simd=2,noalias -Nlst=t -Koptmsg=2"
++ FCFLAGS_FFTE_KERNEL_FPP__PGI__SP="-Kocl -Kfast,openmp,parallel,simd=2,noalias -Nlst=t -Koptmsg=2"
++ FCFLAGS_FPP__PGI_NOOPT="-Kocl -Kfast,openmp,parallel,simd=2,noalias -Nlst=t -Koptmsg=2"
++ FCFLAGS_KERNELS_PAIRLIST="-Kocl -Kfast,openmp,parallel,simd=2,nounroll,swp_strong,noalias=s -Nlst=t -Koptmsg=2"
++ FCFLAGS_DIHEDRAL="-xsp_energy_dihedrals_mod.calculate_dihedral_2 -Kocl -Kfast,openmp,parallel,simd=2,noalias -Nlst=t -Koptmsg=2"
++ FCFLAGS_KERNELS="-Kocl -Kfast,openmp,parallel,simd=2,swp_strong,noalias=s -Nlst=t -Koptmsg=2"
+
+ fi
+
+@@ -776,22 +765,16 @@ else
+ elif test x"${FC_ACT}" = x"pgf90"; then
+ FCFLAGS="-m64 -Mflushz -pc 64 -mcmodel=medium -Msmartalloc=huge"
+
+- elif test x"${FC_ACT}" = x"frtpx"; then
+- FCFLAGS="-m -Kocl "
+-
+- elif test x"${FC_ACT}" = x"mpifrtpx"; then
+- FCFLAGS=" -m -Kocl -Kopenmp -Nlst=t -Koptmsg=2"
+- FCFLAGS_KERNELS=" -m -Kocl -Kopenmp -Nlst=t -Koptmsg=2"
+- FCFLAGS_KERNELS_PAIRLIST="-m -Kocl -Kopenmp -Nlst=t -Koptmsg=2"
+- FCFLAGS_FFTE_KERNEL_FPP__PGI__SP=" -m -Kocl -Kopenmp -Nlst=t -Koptmsg=2"
+- FCFLAGS_FPP__PGI_NOOPT=" -m -Kocl -Kopenmp -Nlst=t -Koptmsg=2"
+- FCFLAGS_DIHEDRAL=" -m -Kocl -Kopenmp -Nlst=t -Koptmsg=2"
+-
+- elif test x"${FC_ACT}" = x"frt"; then
+- FCFLAGS="-m "
++ elif test x"${FC_ACT}" = x"frtpx" -o x"${FC_ACT}" = x"frt"; then
++ FCFLAGS="-Kocl "
+
+- elif test x"${FC_ACT}" = x"mpifrt"; then
+- FCFLAGS="-m "
++ elif test x"${FC_ACT}" = x"mpifrtpx" -o x"${FC_ACT}" = x"mpifrt"; then
++ FCFLAGS=" -Kocl -Kopenmp -Nlst=t -Koptmsg=2"
++ FCFLAGS_KERNELS="-Kocl -Kopenmp -Nlst=t -Koptmsg=2"
++ FCFLAGS_KERNELS_PAIRLIST="-Kocl -Kopenmp -Nlst=t -Koptmsg=2"
++ FCFLAGS_FFTE_KERNEL_FPP__PGI__SP="-Kocl -Kopenmp -Nlst=t -Koptmsg=2"
++ FCFLAGS_FPP__PGI_NOOPT="-Kocl -Kopenmp -Nlst=t -Koptmsg=2"
++ FCFLAGS_DIHEDRAL="-Kocl -Kopenmp -Nlst=t -Koptmsg=2"
+
+ fi
+
+@@ -813,22 +796,16 @@ else
+ elif test x"${FC_ACT}" = x"pgf90"; then
+ FCFLAGS="-g -m64 -Mflushz -pc 64 -mcmodel=medium -Msmartalloc=huge"
+
+- elif test x"${FC_ACT}" = x"frtpx"; then
+- FCFLAGS="-g -m -Kocl -Kopenmp"
++ elif test x"${FC_ACT}" = x"frtpx" -o x"${FC_ACT}" = x"frt"; then
++ FCFLAGS="-g -Kocl -Kopenmp"
+
+- elif test x"${FC_ACT}" = x"mpifrtpx"; then
+- FCFLAGS=" -g -m -Kocl -Kopenmp -Nlst=t -Koptmsg=2"
+- FCFLAGS_KERNELS=" -g -m -Kocl -Kopenmp -Nlst=t -Koptmsg=2"
+- FCFLAGS_KERNELS_PAIRLIST=" -g -m -Kocl -Kopenmp -Nlst=t -Koptmsg=2"
+- FCFLAGS_FFTE_KERNEL_FPP__PGI__SP=" -g -m -Kocl -Kopenmp -Nlst=t -Koptmsg=2"
+- FCFLAGS_FPP__PGI_NOOPT=" -g -m -Kocl -Kopenmp -Nlst=t -Koptmsg=2"
+- FCFLAGS_DIHEDRAL=" -g -m -Kocl -Kopenmp -Nlst=t -Koptmsg=2"
+-
+- elif test x"${FC_ACT}" = x"frt"; then
+- FCFLAGS="-g -m "
+-
+- elif test x"${FC_ACT}" = x"mpifrt"; then
+- FCFLAGS="-g -m "
++ elif test x"${FC_ACT}" = x"mpifrtpx" -o x"${FC_ACT}" = x"mpifrt"; then
++ FCFLAGS=" -g -Kocl -Kopenmp -Nlst=t -Koptmsg=2"
++ FCFLAGS_KERNELS=" -g -Kocl -Kopenmp -Nlst=t -Koptmsg=2"
++ FCFLAGS_KERNELS_PAIRLIST=" -g -Kocl -Kopenmp -Nlst=t -Koptmsg=2"
++ FCFLAGS_FFTE_KERNEL_FPP__PGI__SP=" -g -Kocl -Kopenmp -Nlst=t -Koptmsg=2"
++ FCFLAGS_FPP__PGI_NOOPT=" -g -Kocl -Kopenmp -Nlst=t -Koptmsg=2"
++ FCFLAGS_DIHEDRAL=" -g -Kocl -Kopenmp -Nlst=t -Koptmsg=2"
+
+ fi
+
+@@ -850,23 +827,23 @@ else
+ elif test x"${FC_ACT}" = x"pgf90"; then
+ FCFLAGS="-O0 -g -m64 -Msmartalloc=huge"
+
+- elif test x"${FC_ACT}" = x"frtpx"; then
++ elif test x"${FC_ACT}" = x"frtpx" -o x"${FC_ACT}" = x"frt"; then
+ # FCFLAGS="-O0 -g -Hs -Hu -Ha"
+ FCFLAGS="-O0 -g -Kocl -Kopenmp -Hs -Hu -Ha -Nlst=t -Koptmsg=2"
+
+- elif test x"${FC_ACT}" = x"mpifrtpx"; then
+- FCFLAGS=" -O0 -g -m -Kocl -Kopenmp -Hs -Hu -Ha -Nlst=t -Koptmsg=2"
+- FCFLAGS_KERNELS=" -O0 -g -m -Kocl -Kopenmp -Hs -Hu -Ha -Nlst=t -Koptmsg=2"
+- FCFLAGS_KERNELS_PAIRLIST=" -O0 -g -m -Kocl -Kopenmp -Hs -Hu -Ha -Nlst=t -Koptmsg=2"
+- FCFLAGS_FFTE_KERNEL_FPP__PGI__SP=" -O0 -g -m -Kocl -Kopenmp -Hs -Hu -Ha -Nlst=t -Koptmsg=2"
+- FCFLAGS_FPP__PGI_NOOPT=" -O0 -g -m -Kocl -Kopenmp -Hs -Hu -Ha -Nlst=t -Koptmsg=2"
+- FCFLAGS_DIHEDRAL=" -O0 -g -m -Kocl -Kopenmp -Hs -Hu -Ha -Nlst=t -Koptmsg=2"
++ elif test x"${FC_ACT}" = x"mpifrtpx" -o x"${FC_ACT}" = x"mpifrt"; then
++ FCFLAGS=" -O0 -g -Kocl -Kopenmp -Hs -Hu -Ha -Nlst=t -Koptmsg=2"
++ FCFLAGS_KERNELS=" -O0 -g -Kocl -Kopenmp -Hs -Hu -Ha -Nlst=t -Koptmsg=2"
++ FCFLAGS_KERNELS_PAIRLIST=" -O0 -g -Kocl -Kopenmp -Hs -Hu -Ha -Nlst=t -Koptmsg=2"
++ FCFLAGS_FFTE_KERNEL_FPP__PGI__SP=" -O0 -g -Kocl -Kopenmp -Hs -Hu -Ha -Nlst=t -Koptmsg=2"
++ FCFLAGS_FPP__PGI_NOOPT=" -O0 -g -Kocl -Kopenmp -Hs -Hu -Ha -Nlst=t -Koptmsg=2"
++ FCFLAGS_DIHEDRAL=" -O0 -g -Kocl -Kopenmp -Hs -Hu -Ha -Nlst=t -Koptmsg=2"
+
+- elif test x"${FC_ACT}" = x"frt"; then
+- FCFLAGS="-O0 -g"
++ #elif test x"${FC_ACT}" = x"frt"; then
++ # FCFLAGS="-O0 -g"
+
+- elif test x"${FC_ACT}" = x"mpifrt"; then
+- FCFLAGS="-O0 -g"
++ #elif test x"${FC_ACT}" = x"mpifrt"; then
++ # FCFLAGS="-O0 -g"
+
+ fi
+ else
+@@ -930,17 +907,11 @@ else
+ elif test x"${CC_ACT}" = x"pgcc"; then
+ CFLAGS="-O3 -fastsse -Mipa=fast,inline -m64 -Mflushz -pc 64 -mcmodel=medium -Msmartalloc=huge"
+
+- elif test x"${CC_ACT}" = x"fccpx"; then
+- CFLAGS="-m -Kvisimpact -Kocl -Kswp"
+-
+- elif test x"${CC_ACT}" = x"mpifccpx"; then
+- CFLAGS="-m -Kvisimpact -Kocl -Kswp"
++ elif test x"${CC_ACT}" = x"fccpx" -o x"${CC_ACT}" = x"fcc"; then
++ CFLAGS="-Kocl"
+
+- elif test x"${CC_ACT}" = x"fcc"; then
+- CFLAGS="-m -Am -Kfast"
+-
+- elif test x"${CC_ACT}" = x"mpifcc"; then
+- CFLAGS="-m -Am -Kfast"
++ elif test x"${CC_ACT}" = x"mpifccpx" -o x"${CC_ACT}" = x"mpifcc"; then
++ CFLAGS="-Kocl"
+
+ fi
+
+@@ -959,17 +930,11 @@ else
+ elif test x"${CC_ACT}" = x"pgcc"; then
+ CFLAGS="-fastsse -Mipa=fast,inline -m64 -Mflushz -pc 64 -mcmodel=medium -Msmartalloc=huge"
+
+- elif test x"${CC_ACT}" = x"fccpx"; then
+- CFLAGS="-m -Kocl"
+-
+- elif test x"${CC_ACT}" = x"mpifccpx"; then
+- CFLAGS="-m -Kocl"
+-
+- elif test x"${CC_ACT}" = x"fcc"; then
+- CFLAGS="-m -Am -Kfast"
++ elif test x"${CC_ACT}" = x"fccpx" -o x"${CC_ACT}" = x"fcc"; then
++ CFLAGS="-Kocl"
+
+- elif test x"${CC_ACT}" = x"mpifcc"; then
+- CFLAGS="-m -Am -Kfast"
++ elif test x"${CC_ACT}" = x"mpifccpx" -o x"${CC_ACT}" = x"mpifcc"; then
++ CFLAGS="-Kocl"
+
+ fi
+
+@@ -991,17 +956,11 @@ else
+ elif test x"${CC_ACT}" = x"pgcc"; then
+ CFLAGS="-g -fastsse -Mipa=fast,inline -m64 -Mflushz -pc 64 -mcmodel=medium -Msmartalloc=huge"
+
+- elif test x"${CC_ACT}" = x"fccpx"; then
+- CFLAGS="-g -m -Kocl"
++ elif test x"${CC_ACT}" = x"fccpx" -o x"${CC_ACT}" = x"fcc"; then
++ CFLAGS="-g -Kocl"
+
+- elif test x"${CC_ACT}" = x"mpifccpx"; then
+- CFLAGS="-g -m -Kocl"
+-
+- elif test x"${CC_ACT}" = x"fcc"; then
+- CFLAGS="-g -m -Am -Kfast"
+-
+- elif test x"${CC_ACT}" = x"mpifcc"; then
+- CFLAGS="-g -m -Am -Kfast"
++ elif test x"${CC_ACT}" = x"mpifccpx" -o x"${CC_ACT}" = x"mpifcc"; then
++ CFLAGS="-g -Kocl"
+
+ fi
+
+@@ -1023,19 +982,13 @@ else
+ elif test x"${CC_ACT}" = x"pgcc"; then
+ CFLAGS="-O0 -g -m64 -Msmartalloc=huge"
+
+- elif test x"${CC_ACT}" = x"fccpx"; then
++ elif test x"${CC_ACT}" = x"fccpx" -o x"${CC_ACT}" = x"fcc"; then
+ # CFLAGS="-O0 -g -Hs -Hu -Ha"
+ CFLAGS="-O0 -g -Kocl"
+
+- elif test x"${CC_ACT}" = x"mpifccpx"; then
++ elif test x"${CC_ACT}" = x"mpifccpx" -o x"${CC_ACT}" = x"mpifcc"; then
+ CFLAGS="-O0 -g -Kocl"
+
+- elif test x"${CC_ACT}" = x"fcc"; then
+- CFLAGS="-O0 -g"
+-
+- elif test x"${CC_ACT}" = x"mpifcc"; then
+- CFLAGS="-O0 -g"
+-
+ fi
+
+ fi
+@@ -1056,17 +1009,11 @@ if test -z "${LDFLAGS}"; then
+ LDFLAGS=""
+ #LDFLAGS="-march=native -fuse-linker-plugin"
+
+- elif test x"${FC_ACT}" = x"frtpx"; then
+- LDFLAGS="-SSL2 -Kparallel -Nfjomplib"
+-
+- elif test x"${FC_ACT}" = x"mpifrtpx"; then
+- LDFLAGS="-SSL2BLAMP -Kparallel -Nfjomplib"
+-
+- elif test x"${FC_ACT}" = x"frt"; then
+- LDFLAGS="-KSPARC64VII,V9FMADD -SSL2"
++ elif test x"${FC_ACT}" = x"frtpx" -o x"${FC_ACT}" = x"frt"; then
++ LDFLAGS="-Kparallel -Kopenmp -Nlibomp"
+
+- elif test x"${FC_ACT}" = x"mpifrt"; then
+- LDFLAGS="-KSPARC64VII,V9FMADD -SSL2"
++ elif test x"${FC_ACT}" = x"mpifrtpx" -o x"${FC_ACT}" = x"mpifrt"; then
++ LDFLAGS="-Kparallel -Kopenmp -Nlibomp"
+
+ fi
+ fi
+@@ -1101,7 +1048,9 @@ AC_SUBST(PPFLAGS)
+
+ # USEKCOMP
+ AM_CONDITIONAL(USEKCOMP, test x"${FC_ACT}" = x"frtpx" -o \
+- x"${FC_ACT}" = x"mpifrtpx")
++ x"${FC_ACT}" = x"mpifrtpx" -o \
++ x"${FC_ACT}" = x"frt" -o \
++ x"${FC_ACT}" = x"mpifrt")
+
+ # KCOMP preprocess macro
+ AC_ARG_ENABLE([pktimer],
+@@ -1130,7 +1079,8 @@ AC_ARG_WITH([fj_timer_2],
+ [use FJ-timer in main loop (default: not use)])],
+ [], [with_fj_timer_2=no])
+
+-if test x"${FC_ACT}" = x"frtpx" -o x"${FC_ACT}" = x"mpifrtpx"; then
++if test x"${FC_ACT}" = x"frtpx" -o x"${FC_ACT}" = x"mpifrtpx" -o \
++ x"${FC_ACT}" = x"frt" -o x"${FC_ACT}" = x"mpifrt"; then
+ AC_DEFINE(KCOMP, 1, [defined if K-computer compiler is used.])
+ DEFINED_VARIABLES+=" -DKCOMP"
+
+@@ -1148,7 +1098,7 @@ if test x"${FC_ACT}" = x"frtpx" -o x"${F
+ mainly_pktimer=no
+ if test x"${enable_pktimer}" = x"yes"; then
+
+- if test x"${FC_ACT}" = x"mpifrtpx"; then
++ if test x"${FC_ACT}" = x"mpifrtpx" -o x"${FC_ACT}" = x"mpifrt"; then
+ AC_DEFINE(PKTIMER, 1, [defined if PKTIMER is used.])
+ DEFINED_VARIABLES+=" -DPKTIMER"
+ mainly_pktimer=yes
diff --git a/var/spack/repos/builtin/packages/genesis/fj_compiler_1.5.1.patch b/var/spack/repos/builtin/packages/genesis/fj_compiler_1.5.1.patch
new file mode 100644
index 0000000000..0bdbd4f58e
--- /dev/null
+++ b/var/spack/repos/builtin/packages/genesis/fj_compiler_1.5.1.patch
@@ -0,0 +1,286 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -90,11 +90,7 @@ AC_PROG_F77($genesis_default_fc)
+ # check actual compiler
+ AC_MSG_CHECKING([for actual compiler])
+
+-if test x"${FC}" = x"mpifrtpx"; then
+- VER_OPT="-V"
+-else
+- VER_OPT="--version"
+-fi
++VER_OPT="--version"
+
+ fc_ver_info=$(${FC} -E ${VER_OPT})
+ for vtok in ${fc_ver_info} ; do
+@@ -124,7 +120,7 @@ for vtok in ${fc_ver_info} ; do
+ done
+
+ if test -z "${FC_ACT}"; then
+- FC_ACT=${FC}
++ FC_ACT=`basename ${FC}`
+ fi
+
+ AC_MSG_RESULT([$FC_ACT])
+@@ -228,7 +224,7 @@ for vtok in ${cc_ver_info} ; do
+ done
+
+ if test -z "${CC_ACT}"; then
+- CC_ACT=${CC}
++ CC_ACT=`basename ${CC}`
+ fi
+
+ AC_MSG_RESULT([$CC_ACT])
+@@ -294,18 +290,12 @@ if test x"${enable_openmp}" = x"yes"; th
+ elif test x"${FC_ACT}" = x"pgf90"; then
+ OPT_OPENMP="-mp"
+
+- elif test x"${FC_ACT}" = x"frtpx"; then
++ elif test x"${FC_ACT}" = x"frtpx" -o x"${FC_ACT}" = x"frt"; then
+ OPT_OPENMP="-Kopenmp"
+
+- elif test x"${FC_ACT}" = x"mpifrtpx"; then
++ elif test x"${FC_ACT}" = x"mpifrtpx" -o x"${FC_ACT}" = x"mpifrt"; then
+ OPT_OPENMP="-Kopenmp"
+
+- elif test x"${FC_ACT}" = x"frt"; then
+- OPT_OPENMP="-KOMP"
+-
+- elif test x"${FC_ACT}" = x"mpifrt"; then
+- OPT_OPENMP="-KOMP"
+-
+ fi
+ fi
+
+@@ -411,7 +401,8 @@ fi
+ AC_ARG_ENABLE([parallel_IO],
+ [AS_HELP_STRING([--enable-parallel_IO], [enable parallel_IO (defalt: yes(intel)/no(fujitsu))])],
+ [], [enable_parallel_IO=yes])
+-if test x"${FC_ACT}" = x"frtpx" -o x"${FC_ACT}" = x"mpifrtpx"; then
++if test x"${FC_ACT}" = x"frtpx" -o x"${FC_ACT}" = x"mpifrtpx" -o \
++ x"${FC_ACT}" = x"frt" -o x"${FC_ACT}" = x"mpifrt"; then
+ enable_parallel_IO=no
+ fi
+ if test x"${enable_single}" = x"yes"; then
+@@ -639,19 +630,13 @@ else
+ elif test x"${FC_ACT}" = x"pgf90"; then
+ FCFLAGS="-O2 -fastsse -m64 -Mflushz -pc 64 -mcmodel=medium -Msmartalloc=huge -Mbackslash"
+
+- elif test x"${FC_ACT}" = x"frtpx"; then
+- FCFLAGS="-m -Kocl -Kfast,openmp,parallel,simd=2,noalias -Nlst=t -Koptmsg=2"
+- FCFLAGS_KERNELS_NONBOND="-m -O3 -Kocl -Kfsimple,noreduction,fp_contract,fp_relaxed,fz,ilfunc,mfunc,omitfp,simd_packed_promotion,openmp,parallel,simd=2 -Nlst=t -Koptmsg=2"
+-
+- elif test x"${FC_ACT}" = x"mpifrtpx"; then
+- FCFLAGS="-m -Kocl -Kfast,openmp,parallel,simd=2,noalias -Nlst=t -Koptmsg=2"
+- FCFLAGS_KERNELS_NONBOND="-m -O3 -Kocl -Kfsimple,noreduction,fp_contract,fp_relaxed,fz,ilfunc,mfunc,omitfp,simd_packed_promotion,openmp,parallel,simd=2 -Nlst=t -Koptmsg=2"
+-
+- elif test x"${FC_ACT}" = x"frt"; then
+- FCFLAGS="-m -Am -Kfast"
+-
+- elif test x"${FC_ACT}" = x"mpifrt"; then
+- FCFLAGS="-m -Am -Kfast"
++ elif test x"${FC_ACT}" = x"frtpx" -o x"${FC_ACT}" = x"frt"; then
++ FCFLAGS="-Kocl -Kfast,openmp,parallel,simd=2,noalias -Nlst=t -Koptmsg=2"
++ FCFLAGS_KERNELS_NONBOND="-O3 -Kocl -Kfsimple,noreduction,fp_contract,fp_relaxed,fz,ilfunc,mfunc,omitfp,simd_packed_promotion,openmp,parallel,simd=2 -Nlst=t -Koptmsg=2"
++
++ elif test x"${FC_ACT}" = x"mpifrtpx" -o x"${FC_ACT}" = x"mpifrt"; then
++ FCFLAGS="-Kocl -Kfast,openmp,parallel,simd=2,noalias -Nlst=t -Koptmsg=2"
++ FCFLAGS_KERNELS_NONBOND="-O3 -Kocl -Kfsimple,noreduction,fp_contract,fp_relaxed,fz,ilfunc,mfunc,omitfp,simd_packed_promotion,openmp,parallel,simd=2 -Nlst=t -Koptmsg=2"
+
+ fi
+
+@@ -670,20 +655,14 @@ else
+ elif test x"${FC_ACT}" = x"pgf90"; then
+ FCFLAGS="-m64 -Mflushz -pc 64 -mcmodel=medium -Msmartalloc=huge -Mbackslash"
+
+- elif test x"${FC_ACT}" = x"frtpx"; then
+- FCFLAGS="-m -Kocl -Kopenmp -Nlst=t -Koptmsg=2"
+- FCFLAGS_KERNELS_NONBOND="-m -Kocl -Kopenmp -Nlst=t -Koptmsg=2"
+-
++ elif test x"${FC_ACT}" = x"frtpx" -o x"${FC_ACT}" = x"frt"; then
++ FCFLAGS="-Kocl -Kopenmp -Nlst=t -Koptmsg=2"
++ FCFLAGS_KERNELS_NONBOND="-Kocl -Kopenmp -Nlst=t -Koptmsg=2"
+
+- elif test x"${FC_ACT}" = x"mpifrtpx"; then
+- FCFLAGS="-m -Kocl -Kopenmp -Nlst=t -Koptmsg=2"
+- FCFLAGS_KERNELS_NONBOND="-m -Kocl -Kopenmp -Nlst=t -Koptmsg=2"
+
+- elif test x"${FC_ACT}" = x"frt"; then
+- FCFLAGS="-m "
+-
+- elif test x"${FC_ACT}" = x"mpifrt"; then
+- FCFLAGS="-m "
++ elif test x"${FC_ACT}" = x"mpifrtpx" -o x"${FC_ACT}" = x"mpifrt"; then
++ FCFLAGS="-Kocl -Kopenmp -Nlst=t -Koptmsg=2"
++ FCFLAGS_KERNELS_NONBOND="-Kocl -Kopenmp -Nlst=t -Koptmsg=2"
+
+ fi
+
+@@ -705,19 +684,13 @@ else
+ elif test x"${FC_ACT}" = x"pgf90"; then
+ FCFLAGS="-g -m64 -Mflushz -pc 64 -mcmodel=medium -Msmartalloc=huge -Mbackslash"
+
+- elif test x"${FC_ACT}" = x"frtpx"; then
+- FCFLAGS="-g -m -Kocl -Kopenmp"
+- FCFLAGS_KERNELS_NONBOND=" -g -m -Kocl -Kopenmp -Nlst=t -Koptmsg=2"
+-
+- elif test x"${FC_ACT}" = x"mpifrtpx"; then
+- FCFLAGS=" -g -m -Kocl -Kopenmp -Nlst=t -Koptmsg=2"
+- FCFLAGS_KERNELS_NONBOND=" -g -m -Kocl -Kopenmp -Nlst=t -Koptmsg=2"
+-
+- elif test x"${FC_ACT}" = x"frt"; then
+- FCFLAGS="-g -m "
+-
+- elif test x"${FC_ACT}" = x"mpifrt"; then
+- FCFLAGS="-g -m "
++ elif test x"${FC_ACT}" = x"frtpx" -o x"${FC_ACT}" = x"frt"; then
++ FCFLAGS="-g -Kocl -Kopenmp"
++ FCFLAGS_KERNELS_NONBOND=" -g -Kocl -Kopenmp -Nlst=t -Koptmsg=2"
++
++ elif test x"${FC_ACT}" = x"mpifrtpx" -o x"${FC_ACT}" = x"mpifrt"; then
++ FCFLAGS=" -g -Kocl -Kopenmp -Nlst=t -Koptmsg=2"
++ FCFLAGS_KERNELS_NONBOND=" -g -Kocl -Kopenmp -Nlst=t -Koptmsg=2"
+
+ fi
+
+@@ -739,18 +712,12 @@ else
+ elif test x"${FC_ACT}" = x"pgf90"; then
+ FCFLAGS="-O0 -g -m64 -Msmartalloc=huge"
+
+- elif test x"${FC_ACT}" = x"frtpx"; then
+- FCFLAGS=" -O0 -g -m -Kocl -Kopenmp -Hs -Hu -Ha -Nlst=t -Koptmsg=2"
+- FCFLAGS_KERNELS_NONBOND=" -O0 -g -m -Kocl -Kopenmp -Hs -Hu -Ha -Nlst=t -Koptmsg=2"
+-
+- elif test x"${FC_ACT}" = x"mpifrtpx"; then
+- FCFLAGS_KERNELS_NONBOND=" -O0 -g -m -Kocl -Kopenmp -Hs -Hu -Ha -Nlst=t -Koptmsg=2"
++ elif test x"${FC_ACT}" = x"frtpx" -o x"${FC_ACT}" = x"frt"; then
++ FCFLAGS=" -O0 -g -Kocl -Kopenmp -Hs -Hu -Ha -Nlst=t -Koptmsg=2"
++ FCFLAGS_KERNELS_NONBOND=" -O0 -g -Kocl -Kopenmp -Hs -Hu -Ha -Nlst=t -Koptmsg=2"
+
+- elif test x"${FC_ACT}" = x"frt"; then
+- FCFLAGS="-O0 -g"
+-
+- elif test x"${FC_ACT}" = x"mpifrt"; then
+- FCFLAGS="-O0 -g"
++ elif test x"${FC_ACT}" = x"mpifrtpx" -o x"${FC_ACT}" = x"mpifrt"; then
++ FCFLAGS_KERNELS_NONBOND=" -O0 -g -Kocl -Kopenmp -Hs -Hu -Ha -Nlst=t -Koptmsg=2"
+
+ fi
+ else
+@@ -804,16 +771,16 @@ else
+ CFLAGS="-O3 -fastsse -m64 -Mflushz -pc 64 -mcmodel=medium -Msmartalloc=huge"
+
+ elif test x"${CC_ACT}" = x"fccpx"; then
+- CFLAGS="-m -Kvisimpact -Kocl -Kswp"
++ CFLAGS="-Kvisimpact -Kocl -Kswp"
+
+ elif test x"${CC_ACT}" = x"mpifccpx"; then
+- CFLAGS="-m -Kvisimpact -Kocl -Kswp"
++ CFLAGS="-Kvisimpact -Kocl -Kswp"
+
+ elif test x"${CC_ACT}" = x"fcc"; then
+- CFLAGS="-m -Am -Kfast"
++ CFLAGS="-Am -Kfast"
+
+ elif test x"${CC_ACT}" = x"mpifcc"; then
+- CFLAGS="-m -Am -Kfast"
++ CFLAGS="-Am -Kfast"
+
+ fi
+
+@@ -833,16 +800,16 @@ else
+ CFLAGS="-fastsse -m64 -Mflushz -pc 64 -mcmodel=medium -Msmartalloc=huge"
+
+ elif test x"${CC_ACT}" = x"fccpx"; then
+- CFLAGS="-m -Kocl"
++ CFLAGS=" -Kocl"
+
+ elif test x"${CC_ACT}" = x"mpifccpx"; then
+- CFLAGS="-m -Kocl"
++ CFLAGS=" -Kocl"
+
+ elif test x"${CC_ACT}" = x"fcc"; then
+- CFLAGS="-m -Am -Kfast"
++ CFLAGS=" -Am -Kfast"
+
+ elif test x"${CC_ACT}" = x"mpifcc"; then
+- CFLAGS="-m -Am -Kfast"
++ CFLAGS=" -Am -Kfast"
+
+ fi
+
+@@ -865,16 +832,16 @@ else
+ CFLAGS="-g -fastsse -m64 -Mflushz -pc 64 -mcmodel=medium -Msmartalloc=huge"
+
+ elif test x"${CC_ACT}" = x"fccpx"; then
+- CFLAGS="-g -m -Kocl"
++ CFLAGS="-g -Kocl"
+
+ elif test x"${CC_ACT}" = x"mpifccpx"; then
+- CFLAGS="-g -m -Kocl"
++ CFLAGS="-g -Kocl"
+
+ elif test x"${CC_ACT}" = x"fcc"; then
+- CFLAGS="-g -m -Am -Kfast"
++ CFLAGS="-g -Am -Kfast"
+
+ elif test x"${CC_ACT}" = x"mpifcc"; then
+- CFLAGS="-g -m -Am -Kfast"
++ CFLAGS="-g -Am -Kfast"
+
+ fi
+
+@@ -928,17 +895,11 @@ if test -z "${LDFLAGS}"; then
+ LDFLAGS=""
+ #LDFLAGS="-march=native -fuse-linker-plugin"
+
+- elif test x"${FC_ACT}" = x"frtpx"; then
+- LDFLAGS="-SSL2 -Kparallel -Nfjomplib"
+-
+- elif test x"${FC_ACT}" = x"mpifrtpx"; then
+- LDFLAGS="-SSL2BLAMP -Kparallel -Nfjomplib"
+-
+- elif test x"${FC_ACT}" = x"frt"; then
+- LDFLAGS="-KSPARC64VII,V9FMADD -SSL2"
++ elif test x"${FC_ACT}" = x"frtpx" -o x"${FC_ACT}" = x"frt"; then
++ LDFLAGS="-Kparallel -Nfjomplib -Nlibomp"
+
+- elif test x"${FC_ACT}" = x"mpifrt"; then
+- LDFLAGS="-KSPARC64VII,V9FMADD -SSL2"
++ elif test x"${FC_ACT}" = x"mpifrtpx" -o x"${FC_ACT}" = x"mpifrt"; then
++ LDFLAGS="-Kparallel -Nfjomplib -Nlibomp"
+
+ fi
+ fi
+@@ -973,10 +934,13 @@ AC_SUBST(PPFLAGS)
+
+ # USEKCOMP
+ AM_CONDITIONAL(USEKCOMP, test x"${FC_ACT}" = x"frtpx" -o \
+- x"${FC_ACT}" = x"mpifrtpx")
++ x"${FC_ACT}" = x"mpifrtpx" -o \
++ x"${FC_ACT}" = x"frt" -o \
++ x"${FC_ACT}" = x"mpifrt")
+
+ # KCOMP preprocess macro
+-if test x"${FC_ACT}" = x"frtpx" -o x"${FC_ACT}" = x"mpifrtpx"; then
++if test x"${FC_ACT}" = x"frtpx" -o x"${FC_ACT}" = x"mpifrtpx" -o \
++ x"${FC_ACT}" = x"frt" -o x"${FC_ACT}" = x"mpifrt"; then
+ AC_DEFINE(KCOMP, 1, [defined if K-computer compiler is used.])
+ DEFINED_VARIABLES+=" -DKCOMP"
+ fi
+@@ -1049,13 +1013,13 @@ if test x"${IS_RICC}" == x"yes"; then
+ if test -n "${RICC_FCFLAGS}"; then
+ FCFLAGS=${RICC_FCFLAGS}
+ else
+- FCFLAGS="-pc -m -omp"
++ FCFLAGS="-pc -omp"
+ fi
+
+ if test -n "${RICC_CFLAGS}"; then
+ CFLAGS=${RICC_CFLAGS}
+ else
+- CFLAGS="-pc -m -omp"
++ CFLAGS="-pc -omp"
+ fi
+
+ if test -n "${RICC_PPFLAGS}"; then
diff --git a/var/spack/repos/builtin/packages/genesis/package.py b/var/spack/repos/builtin/packages/genesis/package.py
new file mode 100644
index 0000000000..3711fa4e9f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/genesis/package.py
@@ -0,0 +1,112 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+from spack import *
+
+
+class Genesis(AutotoolsPackage, CudaPackage):
+ """GENESIS is a Molecular dynamics and modeling software
+ for bimolecular systems such as proteins, lipids, glycans,
+ and their complexes.
+ """
+
+ homepage = "https://www.r-ccs.riken.jp/labs/cbrt/"
+ url = "https://www.r-ccs.riken.jp/labs/cbrt/wp-content/uploads/2020/09/genesis-1.5.1.tar.bz2"
+ git = "https://github.com/genesis-release-r-ccs/genesis-2.0.git"
+
+ version("master", branch="master")
+ version(
+ "1.5.1",
+ sha256="62a453a573c36779484b4ffed2dfa56ea03dfe1308d631b33ef03f733259b3ac",
+ url="https://www.r-ccs.riken.jp/labs/cbrt/wp-content/uploads/2020/09/genesis-1.5.1.tar.bz2",
+ )
+
+ resource(
+ when="@1.5.1",
+ name="user_guide",
+ url="https://www.r-ccs.riken.jp/labs/cbrt/wp-content/uploads/2019/10/GENESIS-1.4.0.pdf",
+ sha256="da2c3f8bfa1e93adb992d3cfce09fb45d8d447a94f9a4f884ac834ea7279b9c7",
+ expand=False,
+ placement="doc",
+ )
+
+ variant("openmp", default=True, description="Enable OpenMP.")
+ variant("single", default=False, description="Enable single precision.")
+ variant("hmdisk", default=False, description="Enable huge molecule on hard disk.")
+
+ conflicts("%apple-clang", when="+openmp")
+
+ depends_on("autoconf", type="build", when="@1.5.1 %fj")
+ depends_on("autoconf", type="build", when="@master")
+ depends_on("automake", type="build", when="@1.5.1 %fj")
+ depends_on("automake", type="build", when="@master")
+ depends_on("libtool", type="build", when="@1.5.1 %fj")
+ depends_on("libtool", type="build", when="@master")
+ depends_on("m4", type="build", when="@1.5.1 %fj")
+ depends_on("m4", type="build", when="@master")
+
+ depends_on("mpi", type=("build", "run"))
+ depends_on("lapack")
+ depends_on("python@2.6.9:2.8.0", type=("build", "run"), when="@master")
+
+ patch("fj_compiler.patch", when="@master %fj")
+ patch("fj_compiler_1.5.1.patch", when="@1.5.1 %fj")
+
+ parallel = False
+
+ @property
+ def force_autoreconf(self):
+ # Run autoreconf due to build system patch
+ return self.spec.satisfies("@1.5.1 %fj")
+
+ def configure_args(self):
+ spec = self.spec
+ options = []
+ options.extend(self.enable_or_disable("openmp"))
+ options.extend(self.enable_or_disable("single"))
+ options.extend(self.enable_or_disable("hmdisk"))
+ if "+cuda" in spec:
+ options.append("--enable-gpu")
+ options.append("--with-cuda=%s" % spec["cuda"].prefix)
+ else:
+ options.append("--disable-gpu")
+ if spec.target == "a64fx" and self.spec.satisfies("@master %fj"):
+ options.append("--host=Fugaku")
+ return options
+
+ def setup_build_environment(self, env):
+ env.set("FC", self.spec["mpi"].mpifc, force=True)
+ env.set("F77", self.spec["mpi"].mpif77, force=True)
+ env.set("CC", self.spec["mpi"].mpicc, force=True)
+ env.set("CXX", self.spec["mpi"].mpicxx, force=True)
+ env.set("LAPACK_LIBS", self.spec["lapack"].libs.ld_flags)
+ if "+cuda" in self.spec:
+ cuda_arch = self.spec.variants["cuda_arch"].value
+ cuda_gencode = " ".join(self.cuda_flags(cuda_arch))
+ env.set("NVCCFLAGS", cuda_gencode)
+
+ def install(self, spec, prefix):
+ make("install")
+ install_tree("doc", prefix.share.doc)
+
+ @run_after("install")
+ def cache_test_sources(self):
+ if self.spec.satisfies("@master"):
+ self.cache_extra_test_sources(["tests"])
+
+ def test(self):
+ if self.spec.satisfies("@master"):
+ exe_name = self.spec["python"].command.path
+ test_name = join_path(
+ self.install_test_root, "tests", "regression_test", "test.py"
+ )
+ bin_name = join_path(self.prefix.bin, "spdyn")
+ opts = [
+ test_name,
+ self.spec["mpi"].prefix.bin.mpirun + " -np 8 " + bin_name,
+ ]
+ env["OMP_NUM_THREADS"] = "1"
+ self.run_test(exe_name, options=opts, expected="Passed 53 / 53")
diff --git a/var/spack/repos/builtin/packages/genfit/package.py b/var/spack/repos/builtin/packages/genfit/package.py
new file mode 100644
index 0000000000..c461089e76
--- /dev/null
+++ b/var/spack/repos/builtin/packages/genfit/package.py
@@ -0,0 +1,35 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Genfit(CMakePackage):
+ """GenFit is a tracking framework in particle and nuclear physics."""
+
+ homepage = "https://github.com/GenFit/GenFit"
+ url = "https://github.com/GenFit/GenFit/archive/02-00-00.tar.gz"
+ git = "https://github.com/GenFit/GenFit.git"
+
+ maintainers = ['mirguest']
+
+ tags = ["hep"]
+
+ version('master', branch='master')
+ version('02-00-00', sha256='0bfd5dd152ad0573daa4153a731945824e0ce266f844988b6a8bebafb7f2dacc')
+
+ depends_on('root')
+
+ def cmake_args(self):
+ args = []
+ # normally, as a cmake package root should be
+ # automatically picked up after 'depends_on'
+ # as it is added to CMAKE_PREFIX_PATH
+ # but genfit cooks its own root cmake config
+ # so this workaround is needed for now.
+ root_prefix = self.spec["root"].prefix
+ args.append('-DROOT_DIR=%s' % root_prefix)
+
+ return args
diff --git a/var/spack/repos/builtin/packages/gengetopt/package.py b/var/spack/repos/builtin/packages/gengetopt/package.py
index 44389fa38a..4404ba26f2 100644
--- a/var/spack/repos/builtin/packages/gengetopt/package.py
+++ b/var/spack/repos/builtin/packages/gengetopt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -25,6 +25,8 @@ class Gengetopt(AutotoolsPackage):
version('2.21', sha256='355a32310b2fee5e7289d6d6e89eddd13275a7c85a243dc5dd293a6cb5bb047e')
version('2.20', sha256='4c8b3b42cecff579f5f9de5ccad47e0849e0245e325a04ff5985c248141af1a4')
+ depends_on('texinfo', type='build')
+
parallel = False
def url_for_version(self, version):
diff --git a/var/spack/repos/builtin/packages/genomefinisher/package.py b/var/spack/repos/builtin/packages/genomefinisher/package.py
index efaec44d12..97aa966b5c 100644
--- a/var/spack/repos/builtin/packages/genomefinisher/package.py
+++ b/var/spack/repos/builtin/packages/genomefinisher/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/genometools/package.py b/var/spack/repos/builtin/packages/genometools/package.py
index 91ddd7a9ea..e595cf9bed 100644
--- a/var/spack/repos/builtin/packages/genometools/package.py
+++ b/var/spack/repos/builtin/packages/genometools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/genomeworks/package.py b/var/spack/repos/builtin/packages/genomeworks/package.py
index fce2e91d81..ba2a5922f9 100644
--- a/var/spack/repos/builtin/packages/genomeworks/package.py
+++ b/var/spack/repos/builtin/packages/genomeworks/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/genrich/package.py b/var/spack/repos/builtin/packages/genrich/package.py
index a703259968..140bb59235 100644
--- a/var/spack/repos/builtin/packages/genrich/package.py
+++ b/var/spack/repos/builtin/packages/genrich/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/geode/package.py b/var/spack/repos/builtin/packages/geode/package.py
index 33581a1a87..4c40465dce 100644
--- a/var/spack/repos/builtin/packages/geode/package.py
+++ b/var/spack/repos/builtin/packages/geode/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/geoip-api-c/package.py b/var/spack/repos/builtin/packages/geoip-api-c/package.py
index 9b0c355592..453aebd759 100644
--- a/var/spack/repos/builtin/packages/geoip-api-c/package.py
+++ b/var/spack/repos/builtin/packages/geoip-api-c/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/geoip/package.py b/var/spack/repos/builtin/packages/geoip/package.py
index 1ef5660870..6137720348 100644
--- a/var/spack/repos/builtin/packages/geoip/package.py
+++ b/var/spack/repos/builtin/packages/geoip/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/geopm/package.py b/var/spack/repos/builtin/packages/geopm/package.py
index 95888343b9..79ccb31706 100644
--- a/var/spack/repos/builtin/packages/geopm/package.py
+++ b/var/spack/repos/builtin/packages/geopm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/geos/package.py b/var/spack/repos/builtin/packages/geos/package.py
index d34a88be9c..cea17b0a7a 100644
--- a/var/spack/repos/builtin/packages/geos/package.py
+++ b/var/spack/repos/builtin/packages/geos/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gettext/package.py b/var/spack/repos/builtin/packages/gettext/package.py
index 84db1bd9be..e184c89333 100644
--- a/var/spack/repos/builtin/packages/gettext/package.py
+++ b/var/spack/repos/builtin/packages/gettext/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gflags/package.py b/var/spack/repos/builtin/packages/gflags/package.py
index 200cc489fa..ea4fc4dfa0 100644
--- a/var/spack/repos/builtin/packages/gflags/package.py
+++ b/var/spack/repos/builtin/packages/gflags/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ghost/package.py b/var/spack/repos/builtin/packages/ghost/package.py
index a02e070115..e7d550a7e7 100644
--- a/var/spack/repos/builtin/packages/ghost/package.py
+++ b/var/spack/repos/builtin/packages/ghost/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -32,7 +32,7 @@ class Ghost(CMakePackage, CudaPackage):
# ###################### Dependencies ##########################
# Everything should be compiled position independent (-fpic)
- depends_on('cmake@3.5:')
+ depends_on('cmake@3.5:', type='build')
depends_on('hwloc')
depends_on('blas')
depends_on('mpi', when='+mpi')
diff --git a/var/spack/repos/builtin/packages/ghostscript-fonts/package.py b/var/spack/repos/builtin/packages/ghostscript-fonts/package.py
index 62fadcd4c7..8a4d776272 100644
--- a/var/spack/repos/builtin/packages/ghostscript-fonts/package.py
+++ b/var/spack/repos/builtin/packages/ghostscript-fonts/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ghostscript/package.py b/var/spack/repos/builtin/packages/ghostscript/package.py
index 4d6851a891..97ef6668b7 100644
--- a/var/spack/repos/builtin/packages/ghostscript/package.py
+++ b/var/spack/repos/builtin/packages/ghostscript/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -34,7 +34,7 @@ class Ghostscript(AutotoolsPackage):
depends_on('libxext')
depends_on('gtkplus')
- patch('nogoto.patch', when='%fj')
+ patch('nogoto.patch', when='%fj@:4.1.0')
def url_for_version(self, version):
baseurl = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs{0}/ghostscript-{1}.tar.gz"
diff --git a/var/spack/repos/builtin/packages/giflib/package.py b/var/spack/repos/builtin/packages/giflib/package.py
index 69a1b0dc8d..70f75a1f4e 100644
--- a/var/spack/repos/builtin/packages/giflib/package.py
+++ b/var/spack/repos/builtin/packages/giflib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ginac/package.py b/var/spack/repos/builtin/packages/ginac/package.py
index 71c0c1a2ee..051c66b419 100644
--- a/var/spack/repos/builtin/packages/ginac/package.py
+++ b/var/spack/repos/builtin/packages/ginac/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ginkgo/package.py b/var/spack/repos/builtin/packages/ginkgo/package.py
index 0e48e555fe..9ab3115860 100644
--- a/var/spack/repos/builtin/packages/ginkgo/package.py
+++ b/var/spack/repos/builtin/packages/ginkgo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/giraph/package.py b/var/spack/repos/builtin/packages/giraph/package.py
index 52e7e80499..3ee58094ab 100644
--- a/var/spack/repos/builtin/packages/giraph/package.py
+++ b/var/spack/repos/builtin/packages/giraph/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/git-fat-git/package.py b/var/spack/repos/builtin/packages/git-fat-git/package.py
index 2c089190f6..8c725409f1 100644
--- a/var/spack/repos/builtin/packages/git-fat-git/package.py
+++ b/var/spack/repos/builtin/packages/git-fat-git/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/git-imerge/package.py b/var/spack/repos/builtin/packages/git-imerge/package.py
index 4e5bb20b3b..35a6719f90 100644
--- a/var/spack/repos/builtin/packages/git-imerge/package.py
+++ b/var/spack/repos/builtin/packages/git-imerge/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/git-lfs/package.py b/var/spack/repos/builtin/packages/git-lfs/package.py
index 2c72007f41..598813c65d 100644
--- a/var/spack/repos/builtin/packages/git-lfs/package.py
+++ b/var/spack/repos/builtin/packages/git-lfs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/git/package.py b/var/spack/repos/builtin/packages/git/package.py
index d356b5f8ae..5bbfb8c18e 100644
--- a/var/spack/repos/builtin/packages/git/package.py
+++ b/var/spack/repos/builtin/packages/git/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -196,6 +196,8 @@ class Git(AutotoolsPackage):
variant('tcltk', default=False,
description='Gitk: provide Tcl/Tk in the run environment')
+ variant('svn', default=False,
+ description='Provide SVN Perl dependency in run environment')
depends_on('curl')
depends_on('expat')
@@ -214,6 +216,7 @@ class Git(AutotoolsPackage):
depends_on('libtool', type='build')
depends_on('m4', type='build')
depends_on('tk', type=('build', 'link'), when='+tcltk')
+ depends_on('perl-alien-svn', type='run', when='+svn')
@classmethod
def determine_version(cls, exe):
@@ -250,8 +253,9 @@ class Git(AutotoolsPackage):
# In that case the node in the DAG gets truncated and git DOES NOT
# have a gettext dependency.
if 'gettext' in self.spec:
- env.append_flags('EXTLIBS', '-L{0} -lintl'.format(
- self.spec['gettext'].prefix.lib))
+ if 'intl' in self.spec['gettext'].libs.names:
+ env.append_flags('EXTLIBS', '-L{0} -lintl'.format(
+ self.spec['gettext'].prefix.lib))
env.append_flags('CFLAGS', '-I{0}'.format(
self.spec['gettext'].prefix.include))
@@ -302,3 +306,14 @@ class Git(AutotoolsPackage):
install_tree('man1', prefix.share.man.man1)
install_tree('man5', prefix.share.man.man5)
install_tree('man7', prefix.share.man.man7)
+
+ def setup_run_environment(self, env):
+ # Setup run environment if using SVN extension
+ # Libs from perl-alien-svn and apr-util are required in
+ # LD_LIBRARY_PATH
+ # TODO: extend to other platforms
+ if "+svn platform=linux" in self.spec:
+ perl_svn = self.spec['perl-alien-svn']
+ env.prepend_path('LD_LIBRARY_PATH', join_path(
+ perl_svn.prefix, 'lib', 'perl5', 'x86_64-linux-thread-multi',
+ 'Alien', 'SVN'))
diff --git a/var/spack/repos/builtin/packages/gitconddb/package.py b/var/spack/repos/builtin/packages/gitconddb/package.py
index e2808e91c0..1c4139ff77 100644
--- a/var/spack/repos/builtin/packages/gitconddb/package.py
+++ b/var/spack/repos/builtin/packages/gitconddb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gl2ps/package.py b/var/spack/repos/builtin/packages/gl2ps/package.py
index eed6ef3119..6597cb3a85 100644
--- a/var/spack/repos/builtin/packages/gl2ps/package.py
+++ b/var/spack/repos/builtin/packages/gl2ps/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/glew/package.py b/var/spack/repos/builtin/packages/glew/package.py
index 22364b69a5..b0f6334365 100644
--- a/var/spack/repos/builtin/packages/glew/package.py
+++ b/var/spack/repos/builtin/packages/glew/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/glfmultiples/package.py b/var/spack/repos/builtin/packages/glfmultiples/package.py
index d5423a6bd5..d7d17aa629 100644
--- a/var/spack/repos/builtin/packages/glfmultiples/package.py
+++ b/var/spack/repos/builtin/packages/glfmultiples/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/glfw/package.py b/var/spack/repos/builtin/packages/glfw/package.py
index 168fff8b0e..ff6ceb5953 100644
--- a/var/spack/repos/builtin/packages/glfw/package.py
+++ b/var/spack/repos/builtin/packages/glfw/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/glib-networking/package.py b/var/spack/repos/builtin/packages/glib-networking/package.py
index 357571a8d7..5c96f1bc45 100644
--- a/var/spack/repos/builtin/packages/glib-networking/package.py
+++ b/var/spack/repos/builtin/packages/glib-networking/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/glib/package.py b/var/spack/repos/builtin/packages/glib/package.py
index e6051296d0..8fccadcdb2 100644
--- a/var/spack/repos/builtin/packages/glib/package.py
+++ b/var/spack/repos/builtin/packages/glib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -21,6 +21,10 @@ class Glib(Package):
homepage = "https://developer.gnome.org/glib/"
url = "https://ftp.gnome.org/pub/gnome/sources/glib/2.53/glib-2.53.1.tar.xz"
+ maintainers = ['michaelkuhn']
+
+ version('2.66.7', sha256='09f158769f6f26b31074e15b1ac80ec39b13b53102dfae66cfe826fb2cc65502')
+ version('2.66.6', sha256='80fff9c63d2725834328071c42003c311f77f91caf2285195c587c62f5638329')
version('2.66.2', sha256='ec390bed4e8dd0f89e918f385e8d4cfd7470b1ef7c1ce93ec5c4fc6e3c6a17c4')
version('2.64.6', sha256='c36ee07a70164c71f046016fe6aaacd6368333c42590bc0cba47c344ffb853f1')
version('2.64.5', sha256='9cbd5bd2715ead1c28d53c46f7b7b6ff6166f5887b772c1a9e3bf2910cfecc11')
@@ -31,17 +35,17 @@ class Glib(Package):
version('2.62.6', sha256='104fa26fbefae8024ff898330c671ec23ad075c1c0bce45c325c6d5657d58b9c')
version('2.60.7', sha256='8b12c0af569afd3b71200556ad751bad4cf4bf7bc4b5f880638459a42ca86310')
version('2.58.3', sha256='8f43c31767e88a25da72b52a40f3301fefc49a665b56dc10ee7cc9565cbe7481')
- version('2.56.4', sha256='27f703d125efb07f8a743666b580df0b4095c59fc8750e8890132c91d437504c')
- version('2.56.3', sha256='a9a4c5b4c81b6c75bc140bdf5e32120ef3ce841b7413214ecf5f987acec74cb2')
- version('2.56.2', sha256='d64abd16813501c956c4e123ae79f47f1b58de573df9fdd3b0795f1e2c1aa789')
- version('2.56.1', sha256='40ef3f44f2c651c7a31aedee44259809b6f03d3d20be44545cd7d177221c0b8d')
- version('2.56.0', sha256='ecef6e17e97b8d9150d0e8a4b3edee1ac37331213b8a2a87a083deea408a0fc7')
- version('2.55.1', sha256='0cbb3d31c9d181bbcc97cba3d9dbe3250f75e2da25e5f7c8bf5a993fe54baf6a')
- version('2.53.1', sha256='c8740f1d1a138086eede889b596a511fddda180646ab2f1d98aed4fdb6be7f72')
- version('2.49.7', sha256='0fd13406ca31d6f654c3be620e0adaaa4f9fb788e164e265e33edf4b21e64ef6')
- version('2.49.4', sha256='9e914f9d7ebb88f99f234a7633368a7c1133ea21b5cac9db2a33bc25f7a0e0d1')
- version('2.48.1', sha256='74411bff489cb2a3527bac743a51018841a56a4d896cc1e0d0d54f8166a14612')
- version('2.42.1', sha256='8f3f0865280e45b8ce840e176ef83bcfd511148918cc8d39df2ee89b67dcf89a')
+ version('2.56.4', sha256='27f703d125efb07f8a743666b580df0b4095c59fc8750e8890132c91d437504c', deprecated=True)
+ version('2.56.3', sha256='a9a4c5b4c81b6c75bc140bdf5e32120ef3ce841b7413214ecf5f987acec74cb2', deprecated=True)
+ version('2.56.2', sha256='d64abd16813501c956c4e123ae79f47f1b58de573df9fdd3b0795f1e2c1aa789', deprecated=True)
+ version('2.56.1', sha256='40ef3f44f2c651c7a31aedee44259809b6f03d3d20be44545cd7d177221c0b8d', deprecated=True)
+ version('2.56.0', sha256='ecef6e17e97b8d9150d0e8a4b3edee1ac37331213b8a2a87a083deea408a0fc7', deprecated=True)
+ version('2.55.1', sha256='0cbb3d31c9d181bbcc97cba3d9dbe3250f75e2da25e5f7c8bf5a993fe54baf6a', deprecated=True)
+ version('2.53.1', sha256='c8740f1d1a138086eede889b596a511fddda180646ab2f1d98aed4fdb6be7f72', deprecated=True)
+ version('2.49.7', sha256='0fd13406ca31d6f654c3be620e0adaaa4f9fb788e164e265e33edf4b21e64ef6', deprecated=True)
+ version('2.49.4', sha256='9e914f9d7ebb88f99f234a7633368a7c1133ea21b5cac9db2a33bc25f7a0e0d1', deprecated=True)
+ version('2.48.1', sha256='74411bff489cb2a3527bac743a51018841a56a4d896cc1e0d0d54f8166a14612', deprecated=True)
+ version('2.42.1', sha256='8f3f0865280e45b8ce840e176ef83bcfd511148918cc8d39df2ee89b67dcf89a', deprecated=True)
variant('libmount', default=False, description='Build with libmount support')
variant(
@@ -60,6 +64,7 @@ class Glib(Package):
depends_on('perl', type=('build', 'run'))
depends_on('python', type=('build', 'run'), when='@2.53.4:')
depends_on('pcre+utf', when='@2.48:')
+ depends_on('uuid', when='+libmount')
depends_on('util-linux', when='+libmount')
depends_on('iconv')
diff --git a/var/spack/repos/builtin/packages/glibmm/package.py b/var/spack/repos/builtin/packages/glibmm/package.py
index 71b9388532..e9a00245f9 100644
--- a/var/spack/repos/builtin/packages/glibmm/package.py
+++ b/var/spack/repos/builtin/packages/glibmm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/glimmer/package.py b/var/spack/repos/builtin/packages/glimmer/package.py
index ee8bdbb658..cdad32628a 100644
--- a/var/spack/repos/builtin/packages/glimmer/package.py
+++ b/var/spack/repos/builtin/packages/glimmer/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/glm/package.py b/var/spack/repos/builtin/packages/glm/package.py
index faa3d6e294..9ca1b74ce9 100644
--- a/var/spack/repos/builtin/packages/glm/package.py
+++ b/var/spack/repos/builtin/packages/glm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/global/package.py b/var/spack/repos/builtin/packages/global/package.py
index 5ad3d72520..e4b6b6476a 100644
--- a/var/spack/repos/builtin/packages/global/package.py
+++ b/var/spack/repos/builtin/packages/global/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/globalarrays/package.py b/var/spack/repos/builtin/packages/globalarrays/package.py
index 918163191f..94a4205fec 100644
--- a/var/spack/repos/builtin/packages/globalarrays/package.py
+++ b/var/spack/repos/builtin/packages/globalarrays/package.py
@@ -1,21 +1,25 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
-
-from spack import *
+import os.path
class Globalarrays(AutotoolsPackage):
"""Global Arrays (GA) is a Partitioned Global Address Space (PGAS)
- programming model. It provides primitives for one-sided communication
- (Get, Put, Accumulate) and Atomic Operations (read increment).
- It supports blocking and non-blocking primtives, and supports location
- consistency."""
+ programming model.
+
+ It provides primitives for one-sided communication (Get, Put, Accumulate)
+ and Atomic Operations (read increment). It supports blocking and
+ non-blocking primtives, and supports location consistency.
+ """
homepage = "http://hpc.pnl.gov/globalarrays/"
url = "https://github.com/GlobalArrays/ga/releases/download/v5.7/ga-5.7.tar.gz"
+ version('5.8', sha256='64df7d1ea4053d24d84ca361e67a6f51c7b17ed7d626cb18a9fbc759f4a078ac')
+ version('5.7.2', sha256='8cd0fcfd85bc7f9c168c831616f66f1e8b9b2ca31dc7dd93cc55b27cc7fe7069')
+ version('5.7.1', sha256='aa4c6038d792cabf1766e264320da58a555da81a3a36be32b7c4d3e71c08ffa9')
version('5.7', sha256='3ed1ab47adfda7bceb7beca12fc05a2e1631732f0e55bbaf9036dad4e3da4774')
version('5.6.5', sha256='17a7111dfe67d44cf0888c7b79abd48bf4968874f26b3f16cce9fd04e2c72bb9')
version('5.6.4', sha256='3daf742053502755c0b581041a56f8f7086af05980c7146d194b0fd6526ee14f')
@@ -24,39 +28,38 @@ class Globalarrays(AutotoolsPackage):
version('5.6.1', sha256='b324deed49f930f55203e1d18294ce07dd02680b9ac0728ebc54f94a12557ebc')
version('5.6', sha256='a228dfbae9a6cfaae34694d7e56f589ac758e959b58f4bc49e6ef44058096767')
- variant('int64', default=False, description='Compile with 64 bit indices support')
- variant('blas', default=False, description='Enable BLAS')
- variant('lapack', default=False, description='Enable LAPACK')
variant('scalapack', default=False, description='Enable SCALAPACK')
variant('armci', values=('mpi-ts', 'mpi-pr', 'mpi3', 'openib', 'ofi'),
default='mpi-ts', description='ARMCI runtime')
depends_on('mpi')
- depends_on('blas', when='+blas')
- depends_on('lapack', when='+lapack')
+ depends_on('blas')
+ depends_on('lapack')
+
depends_on('scalapack', when='+scalapack')
- conflicts('+lapack', when='~blas')
- conflicts('+scalapack', when='~blas')
- conflicts('+scalapack', when='~lapack')
+ # See release https://github.com/GlobalArrays/ga/releases/tag/v5.7.1
+ conflicts('%gcc@10:', when='@5.7')
+ conflicts('%gcc@10:', when='@:5.6.5')
- def configure_args(self):
- args = ['--with-mpi']
+ @property
+ def build_directory(self):
+ return os.path.join(str(self.stage.source_path), '..', 'spack-build')
- if '+blas' in self.spec:
- if '+int64' in self.spec:
- args.append('--with-blas8')
- else:
- args.append('--with-blas')
+ def configure_args(self):
+ blas_flags = self.spec['blas'].libs.ld_flags
+ lapack_libs = self.spec['lapack'].libs.ld_flags
- if '+lapack' in self.spec:
- args.append('--with-lapack')
+ args = [
+ '--enable-shared',
+ '--with-mpi',
+ '--with-blas={0}'.format(blas_flags),
+ '--with-lapack={0}'.format(lapack_libs),
+ ]
if '+scalapack' in self.spec:
- if '+int64' in self.spec:
- args.append('--with-scalapack8')
- else:
- args.append('--with-scalapack')
+ scalapack_libs = self.spec['scalapack'].libs.ld_flags
+ args.append('--with-scalapack={0}'.format(scalapack_libs))
args.append('--with-' + self.spec.variants['armci'].value)
diff --git a/var/spack/repos/builtin/packages/glog/package.py b/var/spack/repos/builtin/packages/glog/package.py
index ded74be364..7f8645b3cf 100644
--- a/var/spack/repos/builtin/packages/glog/package.py
+++ b/var/spack/repos/builtin/packages/glog/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,11 +14,11 @@ class Glog(Package):
version('0.4.0', sha256='f28359aeba12f30d73d9e4711ef356dc842886968112162bc73002645139c39c')
version('0.3.5', sha256='7580e408a2c0b5a89ca214739978ce6ff480b5e7d8d7698a2aa92fadc484d1e0')
- version('0.3.4', sha256='ce99d58dce74458f7656a68935d7a0c048fa7b4626566a71b7f4e545920ceb10')
- version('0.3.3', sha256='544e178644bd9b454768c2c91716c3b8365cc5d47adfbdbaecd8cf3fa17adfcb')
+ version('0.3.4', sha256='ce99d58dce74458f7656a68935d7a0c048fa7b4626566a71b7f4e545920ceb10', deprecated=True)
+ version('0.3.3', sha256='544e178644bd9b454768c2c91716c3b8365cc5d47adfbdbaecd8cf3fa17adfcb', deprecated=True)
depends_on('gflags')
- depends_on('cmake', when="@0.3.5:")
+ depends_on('cmake', when="@0.3.5:", type='build')
def install(self, spec, prefix):
configure('--prefix=%s' % prefix)
diff --git a/var/spack/repos/builtin/packages/gloo/package.py b/var/spack/repos/builtin/packages/gloo/package.py
index af8ec7824f..511d254e11 100644
--- a/var/spack/repos/builtin/packages/gloo/package.py
+++ b/var/spack/repos/builtin/packages/gloo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/glpk/package.py b/var/spack/repos/builtin/packages/glpk/package.py
index 14f47357bf..24b74535ab 100644
--- a/var/spack/repos/builtin/packages/glpk/package.py
+++ b/var/spack/repos/builtin/packages/glpk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/glproto/package.py b/var/spack/repos/builtin/packages/glproto/package.py
index 59259d7e5f..f72d467797 100644
--- a/var/spack/repos/builtin/packages/glproto/package.py
+++ b/var/spack/repos/builtin/packages/glproto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/glusterfs/package.py b/var/spack/repos/builtin/packages/glusterfs/package.py
index 95c482da2f..846e3870b1 100644
--- a/var/spack/repos/builtin/packages/glusterfs/package.py
+++ b/var/spack/repos/builtin/packages/glusterfs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -31,7 +31,7 @@ class Glusterfs(AutotoolsPackage):
depends_on('bison', type='build')
depends_on('rpcsvc-proto')
depends_on('acl')
- depends_on('libuuid')
+ depends_on('uuid')
depends_on('libtirpc')
depends_on('userspace-rcu')
depends_on('pkgconfig', type='build')
diff --git a/var/spack/repos/builtin/packages/glvis/package.py b/var/spack/repos/builtin/packages/glvis/package.py
index ec4ecf8836..16e25b847e 100644
--- a/var/spack/repos/builtin/packages/glvis/package.py
+++ b/var/spack/repos/builtin/packages/glvis/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gmake/package.py b/var/spack/repos/builtin/packages/gmake/package.py
index 58f1ebe5a7..0073ccb5f1 100644
--- a/var/spack/repos/builtin/packages/gmake/package.py
+++ b/var/spack/repos/builtin/packages/gmake/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -29,6 +29,8 @@ class Gmake(AutotoolsPackage, GNUMirrorPackage):
patch('https://src.fedoraproject.org/rpms/make/raw/519a7c5bcbead22e6ea2d2c2341d981ef9e25c0d/f/make-4.2.1-glob-fix-2.patch', level=1, sha256='fe5b60d091c33f169740df8cb718bf4259f84528b42435194ffe0dd5b79cd125', when='@4.2.1')
patch('https://src.fedoraproject.org/rpms/make/raw/519a7c5bcbead22e6ea2d2c2341d981ef9e25c0d/f/make-4.2.1-glob-fix-3.patch', level=1, sha256='ca60bd9c1a1b35bc0dc58b6a4a19d5c2651f7a94a4b22b2c5ea001a1ca7a8a7f', when='@:4.2.1')
+ tags = ['build-tools']
+
executables = ['^g?make$']
@classmethod
diff --git a/var/spack/repos/builtin/packages/gmap-gsnap/package.py b/var/spack/repos/builtin/packages/gmap-gsnap/package.py
index 03d1edcd23..5de17c613b 100644
--- a/var/spack/repos/builtin/packages/gmap-gsnap/package.py
+++ b/var/spack/repos/builtin/packages/gmap-gsnap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gmime/package.py b/var/spack/repos/builtin/packages/gmime/package.py
index 8455a67822..9666158dc1 100644
--- a/var/spack/repos/builtin/packages/gmime/package.py
+++ b/var/spack/repos/builtin/packages/gmime/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gmodel/package.py b/var/spack/repos/builtin/packages/gmodel/package.py
index 0af31f92e7..2f00de9fc2 100644
--- a/var/spack/repos/builtin/packages/gmodel/package.py
+++ b/var/spack/repos/builtin/packages/gmodel/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gmp/package.py b/var/spack/repos/builtin/packages/gmp/package.py
index 8c24853950..42246ec344 100644
--- a/var/spack/repos/builtin/packages/gmp/package.py
+++ b/var/spack/repos/builtin/packages/gmp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gmsh/package.py b/var/spack/repos/builtin/packages/gmsh/package.py
index 522a315f29..49f581ac99 100644
--- a/var/spack/repos/builtin/packages/gmsh/package.py
+++ b/var/spack/repos/builtin/packages/gmsh/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,6 +19,11 @@ class Gmsh(CMakePackage):
homepage = 'http://gmsh.info'
url = 'http://gmsh.info/src/gmsh-4.4.1-source.tgz'
+ version('4.7.1', sha256='c984c295116c757ed165d77149bd5fdd1068cbd7835e9bcd077358b503891c6a')
+ version('4.7.0', sha256='e27f32f92b374ba2a746a9d9c496401c13f66ac6e3e70753e16fa4012d14320e')
+ version('4.6.0', sha256='0f2c55e50fb6c478ebc8977f6341c223754cbf3493b7b0d683b4395ae9f2ad1c')
+ version('4.5.6', sha256='46eaeb0cdee5822fdaa4b15f92d8d160a8cc90c4565593cfa705de90df2a463f')
+ version('4.5.5', sha256='899d3cded664124fa387da57b6f170f47a7e712c7744aa3562779897e2b9e251')
version('4.5.4', sha256='ccf8c74f43cbe3c371abe79862025d41642b3538a0148f018949494e3b3e2ecd')
version('4.4.1', sha256='853c6438fc4e4b765206e66a514b09182c56377bb4b73f1d0d26eda7eb8af0dc')
version('4.2.2', sha256='e9ee9f5c606bbec5f2adbb8c3d6023c4e2577f487fa4e4ecfcfc94a241cc8dcc')
diff --git a/var/spack/repos/builtin/packages/gmt/package.py b/var/spack/repos/builtin/packages/gmt/package.py
index 92932c8852..853a20ed1e 100644
--- a/var/spack/repos/builtin/packages/gmt/package.py
+++ b/var/spack/repos/builtin/packages/gmt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -25,7 +25,7 @@ class Gmt(Package):
version('6.0.0', sha256='7a733e670f01d99f8fc0da51a4337320d764c06a68746621f83ccf2e3453bcb7')
version('5.4.4', sha256='b593dfb101e6507c467619f3d2190a9f78b09d49fe2c27799750b8c4c0cd2da0')
version('4.5.9', sha256='9b13be96ccf4bbd38c14359c05dfa7eeeb4b5f06d6f4be9c33d6c3ea276afc86',
- url='ftp://ftp.soest.hawaii.edu/gmt/legacy/gmt-4.5.9.tar.bz2')
+ url='ftp://ftp.soest.hawaii.edu/gmt/legacy/gmt-4.5.9.tar.bz2', deprecated=True)
variant('ghostscript', default=False, description='Ability to convert PostScript plots to PDF and rasters')
variant('gdal', default=False, description='Ability to read and write numerous grid and image formats')
diff --git a/var/spack/repos/builtin/packages/gmtsar/package.py b/var/spack/repos/builtin/packages/gmtsar/package.py
index 1a299a0c89..8d40f18d93 100644
--- a/var/spack/repos/builtin/packages/gmtsar/package.py
+++ b/var/spack/repos/builtin/packages/gmtsar/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gnat/package.py b/var/spack/repos/builtin/packages/gnat/package.py
index 58a93932d1..8ead0c6cd6 100644
--- a/var/spack/repos/builtin/packages/gnat/package.py
+++ b/var/spack/repos/builtin/packages/gnat/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gnome-common/package.py b/var/spack/repos/builtin/packages/gnome-common/package.py
index 1132f6c858..f5af99e039 100644
--- a/var/spack/repos/builtin/packages/gnome-common/package.py
+++ b/var/spack/repos/builtin/packages/gnome-common/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gnupg/package.py b/var/spack/repos/builtin/packages/gnupg/package.py
index d97aa10569..f6397210ea 100644
--- a/var/spack/repos/builtin/packages/gnupg/package.py
+++ b/var/spack/repos/builtin/packages/gnupg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,6 +12,12 @@ class Gnupg(AutotoolsPackage):
homepage = "https://gnupg.org/index.html"
url = "https://gnupg.org/ftp/gcrypt/gnupg/gnupg-2.2.19.tar.bz2"
+ version('2.2.25', sha256='c55307b247af4b6f44d2916a25ffd1fb64ce2e509c3c3d028dbe7fbf309dc30a')
+ version('2.2.24', sha256='9090b400faae34f08469d78000cfec1cee5b9c553ce11347cc96ef16eab98c46')
+ version('2.2.23', sha256='10b55e49d78b3e49f1edb58d7541ecbdad92ddaeeb885b6f486ed23d1cd1da5c')
+ version('2.2.22', sha256='7c1370565e1910b9d8c4e0fb57b9de34aa062ec7bb91abad5803d791f38d855b')
+ version('2.2.21', sha256='61e83278fb5fa7336658a8b73ab26f379d41275bb1c7c6e694dd9f9a6e8e76ec')
+ version('2.2.20', sha256='04a7c9d48b74c399168ee8270e548588ddbe52218c337703d7f06373d326ca30')
version('2.2.19', sha256='242554c0e06f3a83c420b052f750b65ead711cc3fddddb5e7274fcdbb4e9dec0')
version('2.2.17', sha256='afa262868e39b651a2db4c071fba90415154243e83a830ca00516f9a807fd514')
version('2.2.15', sha256='cb8ce298d7b36558ffc48aec961b14c830ff1783eef7a623411188b5e0f5d454')
diff --git a/var/spack/repos/builtin/packages/gnuplot/package.py b/var/spack/repos/builtin/packages/gnuplot/package.py
index 0f1689b6cf..72e94ea7a0 100644
--- a/var/spack/repos/builtin/packages/gnuplot/package.py
+++ b/var/spack/repos/builtin/packages/gnuplot/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gnuradio/package.py b/var/spack/repos/builtin/packages/gnuradio/package.py
index dca705ef6c..8c02cb9f81 100644
--- a/var/spack/repos/builtin/packages/gnuradio/package.py
+++ b/var/spack/repos/builtin/packages/gnuradio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,6 +19,9 @@ class Gnuradio(CMakePackage):
maintainers = ['aweits']
version('3.8.2.0', sha256='ddda12b55e3e1d925eefb24afb9d604bca7c9bbe0a431707aa48a2eed53eec2f')
+
+ variant('gui', default=False, description='Build with gui support')
+
depends_on('cmake@3.5.1:', type='build')
depends_on('volk')
depends_on('python@3.6.5:', type=('build', 'run'))
@@ -34,7 +37,16 @@ class Gnuradio(CMakePackage):
depends_on('gsl@1.10:')
depends_on('gmp')
depends_on('fftw')
- depends_on('libzmq')
+ depends_on('cppzmq')
+
+ depends_on('cairo+X+ft+fc+pdf+gobject', when='+gui')
+ depends_on('hicolor-icon-theme', type=('build', 'run'), when='+gui')
+ depends_on('adwaita-icon-theme', type=('build', 'run'), when='+gui')
+ depends_on('gsettings-desktop-schemas', type=('build', 'run'), when='+gui')
+ depends_on('py-pygobject', type=('build', 'run'), when='+gui')
+ depends_on('py-pyqt5', type=('build', 'run'), when='+gui')
+ depends_on('qwt', when='+gui')
+
extends('python')
def cmake_args(self):
@@ -43,3 +55,15 @@ class Gnuradio(CMakePackage):
self.spec['python'].command.path))
args.append('-DENABLE_INTERNAL_VOLK=OFF')
return args
+
+ def setup_dependent_build_environment(self, env, dependent_spec):
+ env.prepend_path('XDG_DATA_DIRS', self.prefix.share)
+
+ def setup_dependent_run_environment(self, env, dependent_spec):
+ env.prepend_path('XDG_DATA_DIRS', self.prefix.share)
+
+ def setup_build_environment(self, env):
+ env.prepend_path("XDG_DATA_DIRS", self.prefix.share)
+
+ def setup_run_environment(self, env):
+ env.prepend_path("XDG_DATA_DIRS", self.prefix.share)
diff --git a/var/spack/repos/builtin/packages/gnutls/package.py b/var/spack/repos/builtin/packages/gnutls/package.py
index 875a2c52bd..40ca663e0b 100644
--- a/var/spack/repos/builtin/packages/gnutls/package.py
+++ b/var/spack/repos/builtin/packages/gnutls/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/go-bootstrap/package.py b/var/spack/repos/builtin/packages/go-bootstrap/package.py
index 2d53d30176..672a50b04d 100644
--- a/var/spack/repos/builtin/packages/go-bootstrap/package.py
+++ b/var/spack/repos/builtin/packages/go-bootstrap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/go-md2man/package.py b/var/spack/repos/builtin/packages/go-md2man/package.py
index e7c5e95016..ad78971508 100644
--- a/var/spack/repos/builtin/packages/go-md2man/package.py
+++ b/var/spack/repos/builtin/packages/go-md2man/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/go/package.py b/var/spack/repos/builtin/packages/go/package.py
index f3735c20f6..1ed3c9728f 100644
--- a/var/spack/repos/builtin/packages/go/package.py
+++ b/var/spack/repos/builtin/packages/go/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -38,9 +38,15 @@ class Go(Package):
extendable = True
executables = ['^go$']
+ version('1.15.7', sha256='8631b3aafd8ecb9244ec2ffb8a2a8b4983cf4ad15572b9801f7c5b167c1a2abc')
+ version('1.15.6', sha256='890bba73c5e2b19ffb1180e385ea225059eb008eb91b694875dd86ea48675817')
+ version('1.15.5', sha256='c1076b90cf94b73ebed62a81d802cd84d43d02dea8c07abdc922c57a071c84f1')
version('1.15.2', sha256='28bf9d0bcde251011caae230a4a05d917b172ea203f2a62f2c2f9533589d4b4d')
version('1.15.1', sha256='d3743752a421881b5cc007c76b4b68becc3ad053e61275567edab1c99e154d30')
version('1.15', sha256='69438f7ed4f532154ffaf878f3dfd83747e7a00b70b3556eddabf7aaee28ac3a')
+ version('1.14.14', sha256='6204bf32f58fae0853f47f1bd0c51d9e0ac11f1ffb406bed07a0a8b016c8a76f')
+ version('1.14.13', sha256='ba1d244c6b5c0ed04aa0d7856d06aceb89ed31b895de6ff783efb1cc8ab6b177')
+ version('1.14.12', sha256='b34f4b7ad799eab4c1a52bdef253602ce957125a512f5a1b28dce43c6841b971')
version('1.14.9', sha256='c687c848cc09bcabf2b5e534c3fc4259abebbfc9014dd05a1a2dc6106f404554')
version('1.14.8', sha256='d9a613fb55f508cf84e753456a7c6a113c8265839d5b7fe060da335c93d6e36a')
version('1.14.6', sha256='73fc9d781815d411928eccb92bf20d5b4264797be69410eac854babe44c94c09')
@@ -171,19 +177,18 @@ class Go(Package):
tty.warn('GOROOT is set, this is not recommended')
# Set to include paths of dependencies
- path_components = []
+ path_components = [dependent_spec.prefix]
for d in dependent_spec.traverse():
if d.package.extends(self.spec):
path_components.append(d.prefix)
- return path_components
+ return ':'.join(path_components)
def setup_dependent_build_environment(self, env, dependent_spec):
# This *MUST* be first, this is where new code is installed
- env.set('GOPATH', ':'.join(self.generate_path_components(
- dependent_spec)))
+ env.prepend_path('GOPATH', self.generate_path_components(
+ dependent_spec))
def setup_dependent_run_environment(self, env, dependent_spec):
# Allow packages to find this when using module files
- env.prepend_path('GOPATH', ':'.join(
- [dependent_spec.prefix] + self.generate_path_components(
- dependent_spec)))
+ env.prepend_path('GOPATH', self.generate_path_components(
+ dependent_spec))
diff --git a/var/spack/repos/builtin/packages/gobject-introspection/package.py b/var/spack/repos/builtin/packages/gobject-introspection/package.py
index 54bb3c0844..4cfb8deae9 100644
--- a/var/spack/repos/builtin/packages/gobject-introspection/package.py
+++ b/var/spack/repos/builtin/packages/gobject-introspection/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -23,7 +23,7 @@ class GobjectIntrospection(Package):
# version 1.48.0 build fails with glib 2.49.4
depends_on("glib@2.48.1", when="@1.48.0")
depends_on("python")
- depends_on("cairo")
+ depends_on("cairo+gobject")
depends_on("bison", type="build")
depends_on("flex", type="build")
depends_on("pkgconfig", type="build")
diff --git a/var/spack/repos/builtin/packages/goblin-hmc-sim/package.py b/var/spack/repos/builtin/packages/goblin-hmc-sim/package.py
index 8b5e9ab9bd..fb2a5ba03d 100644
--- a/var/spack/repos/builtin/packages/goblin-hmc-sim/package.py
+++ b/var/spack/repos/builtin/packages/goblin-hmc-sim/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/googletest/package.py b/var/spack/repos/builtin/packages/googletest/package.py
index 1480339e93..42c135aa64 100644
--- a/var/spack/repos/builtin/packages/googletest/package.py
+++ b/var/spack/repos/builtin/packages/googletest/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gosam-contrib/package.py b/var/spack/repos/builtin/packages/gosam-contrib/package.py
index ad45f5b03e..7eeb275b41 100644
--- a/var/spack/repos/builtin/packages/gosam-contrib/package.py
+++ b/var/spack/repos/builtin/packages/gosam-contrib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,6 +12,8 @@ class GosamContrib(AutotoolsPackage):
homepage = "https://gosam.hepforge.org"
url = "https://gosam.hepforge.org/downloads/?f=gosam-contrib-2.0.tar.gz"
+ tags = ['hep']
+
version('2.0', sha256='c05beceea74324eb51c1049773095e2cb0c09c8c909093ee913d8b0da659048d')
version('1.0', sha256='a29d4232d9190710246abc2ed97fdcd8790ce83580f56a360f3456b0377c40ec')
diff --git a/var/spack/repos/builtin/packages/gotcha/package.py b/var/spack/repos/builtin/packages/gotcha/package.py
index 7c78f6c300..61ad3b5f8d 100644
--- a/var/spack/repos/builtin/packages/gotcha/package.py
+++ b/var/spack/repos/builtin/packages/gotcha/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -21,7 +21,7 @@ class Gotcha(CMakePackage):
variant('test', default=False, description='Build tests for Gotcha')
patch(
- 'https://github.com/LLNL/GOTCHA/commit/e82b4a1ecb634075d8f5334b796c888c86da0427.patch',
+ 'https://github.com/LLNL/GOTCHA/commit/e82b4a1ecb634075d8f5334b796c888c86da0427.patch',
sha256='9f7814fd3c3362c156bc617c755e7e50c2f9125ed4540e36f60e4d93884f1ce6',
when='@0.0.2:1.0.2')
diff --git a/var/spack/repos/builtin/packages/gource/package.py b/var/spack/repos/builtin/packages/gource/package.py
index f4455e1853..0bdfd800be 100644
--- a/var/spack/repos/builtin/packages/gource/package.py
+++ b/var/spack/repos/builtin/packages/gource/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gpdb/package.py b/var/spack/repos/builtin/packages/gpdb/package.py
index 98683b271c..9e25e3240e 100644
--- a/var/spack/repos/builtin/packages/gpdb/package.py
+++ b/var/spack/repos/builtin/packages/gpdb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gperf/package.py b/var/spack/repos/builtin/packages/gperf/package.py
index 96d15d1f2e..21b52448bc 100644
--- a/var/spack/repos/builtin/packages/gperf/package.py
+++ b/var/spack/repos/builtin/packages/gperf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gperftools/package.py b/var/spack/repos/builtin/packages/gperftools/package.py
index dfc0a9503d..908ef57fe3 100644
--- a/var/spack/repos/builtin/packages/gperftools/package.py
+++ b/var/spack/repos/builtin/packages/gperftools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,6 +15,7 @@ class Gperftools(AutotoolsPackage):
homepage = "https://github.com/gperftools/gperftools"
url = "https://github.com/gperftools/gperftools/releases/download/gperftools-2.7/gperftools-2.7.tar.gz"
+ version('2.8.1', sha256='12f07a8ba447f12a3ae15e6e3a6ad74de35163b787c0c7b76288d7395f2f74e0')
version('2.7', sha256='1ee8c8699a0eff6b6a203e59b43330536b22bbcbe6448f54c7091e5efb0763c9')
version('2.4', sha256='982a37226eb42f40714e26b8076815d5ea677a422fb52ff8bfca3704d9c30a2d')
version('2.3', sha256='093452ad45d639093c144b4ec732a3417e8ee1f3744f2b0f8d45c996223385ce')
diff --git a/var/spack/repos/builtin/packages/gpgme/package.py b/var/spack/repos/builtin/packages/gpgme/package.py
index 1ea0086c6f..7d0695cc28 100644
--- a/var/spack/repos/builtin/packages/gpgme/package.py
+++ b/var/spack/repos/builtin/packages/gpgme/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gpi-2/package.py b/var/spack/repos/builtin/packages/gpi-2/package.py
index 299fba0a1a..b004318ac3 100644
--- a/var/spack/repos/builtin/packages/gpi-2/package.py
+++ b/var/spack/repos/builtin/packages/gpi-2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gplates/package.py b/var/spack/repos/builtin/packages/gplates/package.py
index 150134f11b..b7e03e95ce 100644
--- a/var/spack/repos/builtin/packages/gplates/package.py
+++ b/var/spack/repos/builtin/packages/gplates/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gprolog/package.py b/var/spack/repos/builtin/packages/gprolog/package.py
index 49aabd195a..e4aadade78 100644
--- a/var/spack/repos/builtin/packages/gprolog/package.py
+++ b/var/spack/repos/builtin/packages/gprolog/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gpu-burn/package.py b/var/spack/repos/builtin/packages/gpu-burn/package.py
index 2d367ad3fe..3d1dfe541d 100644
--- a/var/spack/repos/builtin/packages/gpu-burn/package.py
+++ b/var/spack/repos/builtin/packages/gpu-burn/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gqrx/package.py b/var/spack/repos/builtin/packages/gqrx/package.py
index 540bdd5eba..e731178651 100644
--- a/var/spack/repos/builtin/packages/gqrx/package.py
+++ b/var/spack/repos/builtin/packages/gqrx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gr-osmosdr/package.py b/var/spack/repos/builtin/packages/gr-osmosdr/package.py
index f8f7a2fe3c..b087728abc 100644
--- a/var/spack/repos/builtin/packages/gr-osmosdr/package.py
+++ b/var/spack/repos/builtin/packages/gr-osmosdr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/grabix/package.py b/var/spack/repos/builtin/packages/grabix/package.py
new file mode 100644
index 0000000000..0a5dda47ac
--- /dev/null
+++ b/var/spack/repos/builtin/packages/grabix/package.py
@@ -0,0 +1,30 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Grabix(MakefilePackage):
+ """Grabix leverages the fantastic BGZF library in samtools to provide
+ random access into text files that have been compressed with bgzip.
+ grabix creates it's own index (.gbi) of the bgzipped file. Once indexed,
+ one can extract arbitrary lines from the file with the grab command.
+ Or choose random lines with the, well, random command.
+ """
+
+ homepage = "https://github.com/arq5x/grabix"
+ url = "https://github.com/arq5x/grabix/archive/v0.1.7.tar.gz"
+
+ maintainers = ['robqiao']
+
+ version('0.1.7', sha256='d90735c55c0985a4d751858d7ce9e36ad534fff4103257e8e981e34d5c915b28')
+
+ conflicts('%gcc@7:', msg='grabix cannot be compiled with newer versions of GCC')
+
+ def install(self, spec, prefix):
+ mkdirp(prefix.bin)
+ install('LICENSE', prefix)
+ install('simrep.chr1.bed', prefix)
+ install('grabix', prefix.bin)
diff --git a/var/spack/repos/builtin/packages/grackle/package.py b/var/spack/repos/builtin/packages/grackle/package.py
index f0647393ad..e232b2e7fe 100644
--- a/var/spack/repos/builtin/packages/grackle/package.py
+++ b/var/spack/repos/builtin/packages/grackle/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gradle/package.py b/var/spack/repos/builtin/packages/gradle/package.py
index 2c4354ebad..cc73a46935 100644
--- a/var/spack/repos/builtin/packages/gradle/package.py
+++ b/var/spack/repos/builtin/packages/gradle/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,7 +17,44 @@ class Gradle(Package):
homepage = "https://gradle.org"
url = "https://services.gradle.org/distributions/gradle-3.4-all.zip"
- version('4.8.1', sha256='ce1645ff129d11aad62dab70d63426fdce6cfd646fa309dc5dc5255dd03c7c11')
+ version('6.7.1', sha256='22449f5231796abd892c98b2a07c9ceebe4688d192cd2d6763f8e3bf8acbedeb')
+ version('6.7', sha256='0080de8491f0918e4f529a6db6820fa0b9e818ee2386117f4394f95feb1d5583')
+ version('6.6.1', sha256='11657af6356b7587bfb37287b5992e94a9686d5c8a0a1b60b87b9928a2decde5')
+ version('6.6', sha256='83fa7c3e5ab84c3c5c4a04fb16947338209efa9aab1f6bf09a5d0e3d2ed87742')
+ version('6.5.1', sha256='143a28f54f1ae93ef4f72d862dbc3c438050d81bb45b4601eb7076e998362920')
+ version('6.5', sha256='c9910513d0eed63cd8f5c7fec4cb4a05731144770104a0871234a4edc3ba3cef')
+ version('6.4.1', sha256='3fd824892df8ad5847be6e4fb7d3600068437de172939fd657cc280a1a629f63')
+ version('6.4', sha256='d08f7e24d061910382c2fda9915e6ed42dd1480ae2e99211f92c70190cb697e0')
+ version('6.3', sha256='0f316a67b971b7b571dac7215dcf2591a30994b3450e0629925ffcfe2c68cc5c')
+ version('6.2.2', sha256='838fa0e3373a9c8d953eff972449edc6be5fa12b26509ac3387727de85138cc0')
+ version('6.2.1', sha256='49fad5c94e76bc587c1a1138f045daee81476a82b288c7ab8c7cd6b14bf2b1c7')
+ version('6.2', sha256='f016e66d88c2f9adb5b6e7dff43a363b8c2632f18b4ad6f365f49da34dd57db8')
+ version('6.1.1', sha256='10065868c78f1207afb3a92176f99a37d753a513dff453abb6b5cceda4058cda')
+ version('6.1', sha256='634f972af958e3c753aeb42d7a688fab6820b527a0aef9eed03d7f3f6f9c7c06')
+ version('6.0.1', sha256='6f6cfdbb12a577c3845522a1c7fbfe1295ea05d87edabedd4e23fd2bf02b88b1')
+ version('6.0', sha256='a1eb4439c0a85bc7e64a22658d862e43b7d0ddfbf69a7abf6256e0b7514295df')
+ version('5.6.4', sha256='abc10bcedb58806e8654210f96031db541bcd2d6fc3161e81cb0572d6a15e821')
+ version('5.6.3', sha256='342f8e75a8879fa9192163fa8d932b9f6383ea00c1918a478f0f51e11e004b60')
+ version('5.6.2', sha256='027fdd265d277bae65a0d349b6b8da02135b0b8e14ba891e26281fa877fe37a2')
+ version('5.6.1', sha256='f6ea7f48e2823ca7ff8481044b892b24112f5c2c3547d4f423fb9e684c39f710')
+ version('5.6', sha256='33214524e686838c88a88e14e8b30e2323589cc9698186bc8e0594758b132b31')
+ version('5.5.1', sha256='6c4276f97c9059ef4dfb06cc7325c43ed9b933ab04f032e9d9372e8589cb6faf')
+ version('5.5', sha256='302b7df46730ce75c582542c056c9bf5cac2b94fbf2cc656d0e37e41e8a5d371')
+ version('5.4.1', sha256='14cd15fc8cc8705bd69dcfa3c8fefb27eb7027f5de4b47a8b279218f76895a91')
+ version('5.4', sha256='f177768e7a032727e4338c8fd047f8f263e5bd283f67a7766c1ba4182c8455a6')
+ version('5.3.1', sha256='b018a7308cb43633662363d100c14a3c41c66fd4e32b59e1dfc644d6fd2109f6')
+ version('5.3', sha256='f4d820c2a9685710eba5b92f10e0e4fb20e0d6c0dd1f46971e658160f25e7147')
+ version('5.2.1', sha256='9dc729f6dbfbbc4df1692665d301e028976dacac296a126f16148941a9cf012e')
+ version('5.2', sha256='55db797adf2705bb782655f012af7cc7724b14382881f60fb3f3eb4b645c02d6')
+ version('5.1.1', sha256='53b71812f18cdb2777e9f1b2a0f2038683907c90bdc406bc64d8b400e1fb2c3b')
+ version('5.1', sha256='7b8a8b9cce0406733d2d3fab3874386c530657c73c3f4e9a3837d081e26060d8')
+ version('5.0', sha256='17847c8e12b2bcfce26a79f425f082c31d4ded822f99a66127eee2d96bf18216')
+ version('4.10.3', sha256='336b6898b491f6334502d8074a6b8c2d73ed83b92123106bd4bf837f04111043')
+ version('4.10.2', sha256='b7aedd369a26b177147bcb715f8b1fc4fe32b0a6ade0d7fd8ee5ed0c6f731f2c')
+ version('4.10.1', sha256='36bf7ff499223d5139f005822130ccca784c91591b514677fd376eed966c907e')
+ version('4.10', sha256='fc049dcbcb245d5892bebae143bd515a78f6a5a93cec99d489b312dc0ce4aad9')
+ version('4.9', sha256='39e2d5803bbd5eaf6c8efe07067b0e5a00235e8c71318642b2ed262920b27721')
+ version('4.8.1', sha256='ce1645ff129d11aad62dab70d63426fdce6cfd646fa309dc5dc5255dd03c7c11')
version('3.4', sha256='37c2fdce55411e4c89b896c292cae1f8f437862c8433c8a74cfc3805d7670c0a')
version('3.3', sha256='71a787faed83c4ef21e8464cc8452b941b5fcd575043aa29d39d15d879be89f7')
version('3.2.1', sha256='0209696f1723f607c475109cf3ed8b51c8a91bb0cda05af0d4bd980bdefe75cd')
diff --git a/var/spack/repos/builtin/packages/grads/package.py b/var/spack/repos/builtin/packages/grads/package.py
index 889ad5c7e3..57d19b93ed 100644
--- a/var/spack/repos/builtin/packages/grads/package.py
+++ b/var/spack/repos/builtin/packages/grads/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/grafana/package.py b/var/spack/repos/builtin/packages/grafana/package.py
index c323b94252..e9450226ab 100644
--- a/var/spack/repos/builtin/packages/grafana/package.py
+++ b/var/spack/repos/builtin/packages/grafana/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/grandr/package.py b/var/spack/repos/builtin/packages/grandr/package.py
index 85339772fa..0fc32b55f3 100644
--- a/var/spack/repos/builtin/packages/grandr/package.py
+++ b/var/spack/repos/builtin/packages/grandr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/graph500/package.py b/var/spack/repos/builtin/packages/graph500/package.py
index 8e650673af..c423bb722d 100644
--- a/var/spack/repos/builtin/packages/graph500/package.py
+++ b/var/spack/repos/builtin/packages/graph500/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/graphblast/package.py b/var/spack/repos/builtin/packages/graphblast/package.py
index 59ef3d3cb3..105a8905aa 100644
--- a/var/spack/repos/builtin/packages/graphblast/package.py
+++ b/var/spack/repos/builtin/packages/graphblast/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/graphicsmagick/package.py b/var/spack/repos/builtin/packages/graphicsmagick/package.py
index 5e32b05e14..92aeca800a 100644
--- a/var/spack/repos/builtin/packages/graphicsmagick/package.py
+++ b/var/spack/repos/builtin/packages/graphicsmagick/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/graphite2/package.py b/var/spack/repos/builtin/packages/graphite2/package.py
index 544f3a53d3..610a836168 100644
--- a/var/spack/repos/builtin/packages/graphite2/package.py
+++ b/var/spack/repos/builtin/packages/graphite2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/graphlib/package.py b/var/spack/repos/builtin/packages/graphlib/package.py
index 1452616c4d..bd09fd1901 100644
--- a/var/spack/repos/builtin/packages/graphlib/package.py
+++ b/var/spack/repos/builtin/packages/graphlib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,6 +10,7 @@ class Graphlib(CMakePackage):
"""Library to create, manipulate, and export graphs Graphlib."""
homepage = "https://github.com/LLNL/graphlib"
url = "https://github.com/LLNL/graphlib/archive/v2.0.0.tar.gz"
+ maintainers = ['lee218llnl']
version('2.0.0', sha256='4f4aa1193167c41c8491dec3cf22b1e52a8f0842faab88b7945972f02d2adbcd')
version('3.0.0', sha256='c3d889f7bc25b9662426605e52f14cd16f9c05b034738a343890707f5f5681f1')
diff --git a/var/spack/repos/builtin/packages/graphmap/package.py b/var/spack/repos/builtin/packages/graphmap/package.py
index aad93c8125..de38f963a7 100644
--- a/var/spack/repos/builtin/packages/graphmap/package.py
+++ b/var/spack/repos/builtin/packages/graphmap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/graphviz/package.py b/var/spack/repos/builtin/packages/graphviz/package.py
index 7d2dbfec87..4df14a8134 100644
--- a/var/spack/repos/builtin/packages/graphviz/package.py
+++ b/var/spack/repos/builtin/packages/graphviz/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,18 +18,12 @@ class Graphviz(AutotoolsPackage):
homepage = 'http://www.graphviz.org'
git = 'https://gitlab.com/graphviz/graphviz.git'
+ url = 'https://gitlab.com/graphviz/graphviz/-/archive/2.46.0/graphviz-2.46.0.tar.bz2'
- # This commit hash is tag='stable_release_2.44.1'
- version('2.44.1', commit='771bc4dbff3e6f358fa75cdc7774a413ccacad51')
- # This commit hash is tag='stable_release_2.42.2'
- version('2.42.2', commit='da4c2ec6f24ca1b6d1752c6b5bc4389e55682147')
- # This commit hash is tag='stable_release_2.40.1'
- version('2.40.1', commit='67cd2e5121379a38e0801cc05cce5033f8a2a609')
-
- conflicts('%gcc@:5.9',
- when='@2.40.1+qt ^qt@5:',
- msg='graphviz-2.40.1 needs gcc-6 or greater to compile with QT5 '
- 'suppport')
+ version('2.46.0', sha256='1b11684fd5488940b45bf4624393140da6032abafae08f33dc3e986cffd55d71')
+ version('2.44.1', sha256='0f8f3fbeaddd474e0a270dc9bb0e247a1ae4284ae35125af4adceffae5c7ae9b')
+ version('2.42.4', sha256='a1ca0c4273d96bbf32fbfcbb784c8da2e38da13e7d2bbf9b24fe94ae45e79c4c')
+ version('2.38.0', sha256='c1b1e326b5d1f45b0ce91edd7acc68e80ff6be6b470008766e4d466aafc9801f')
# Language bindings
language_bindings = ['java']
@@ -45,6 +39,8 @@ class Graphviz(AutotoolsPackage):
'bindings'.format(lang))
# Feature variants
+ variant('doc', default=False,
+ description='Build and install graphviz documentation')
variant('expat', default=False,
description='Build with Expat support (enables HTML-like labels)')
variant('gts', default=False,
@@ -76,7 +72,7 @@ class Graphviz(AutotoolsPackage):
patch('https://raw.githubusercontent.com/easybuilders/easybuild-easyconfigs/master/easybuild/easyconfigs/g/Graphviz/Graphviz-2.40.1_icc_vmalloc.patch',
sha256='813e6529e79161a18b0f24a969b7de22f8417b2e942239e658b5402884541bc2',
when='@:2.40%intel')
- patch('ps2pdf.patch')
+ patch('ps2pdf.patch', when='@:2.45')
patch('implicit.patch', level=0, when='@:2.44.0')
if not MACOS_VERSION:
@@ -92,6 +88,9 @@ class Graphviz(AutotoolsPackage):
depends_on('swig', when=('+' + lang))
# Feature dependencies
+ depends_on('zlib')
+ depends_on('groff', type='build', when='+doc')
+ depends_on('ghostscript', type='build', when='+doc')
depends_on('expat', when='+expat')
depends_on('libgd', when='+libgd')
depends_on('fontconfig', when='+libgd')
@@ -106,21 +105,24 @@ class Graphviz(AutotoolsPackage):
depends_on('libpng', when='+pangocairo')
depends_on('pango', when='+pangocairo')
depends_on('poppler+glib', when='+poppler')
- depends_on('zlib')
depends_on('qt', when='+qt')
depends_on('libx11', when="+x")
- # Build dependencies
- depends_on('pkgconfig', type='build')
- # The following are needed when building from git
+ # Build dependencies (graphviz binaries don't include configure file)
depends_on('automake', type='build')
depends_on('autoconf', type='build')
depends_on('bison', type='build')
depends_on('flex', type='build')
depends_on('libtool', type='build')
- # required to build docs
- depends_on('groff', type='build')
- depends_on('ghostscript', type='build')
+ depends_on('pkgconfig', type='build')
+
+ conflicts('~doc',
+ when='@:2.45',
+ msg='graphviz always builds documentation below version 2.46')
+ conflicts('%gcc@:5.9',
+ when='@2.40.1+qt ^qt@5:',
+ msg='graphviz-2.40.1 needs gcc-6 or greater to compile with QT5 '
+ 'suppport')
parallel = False
@@ -170,4 +172,8 @@ class Graphviz(AutotoolsPackage):
args.append('--{0}-gtk'.format(
"with" if "+gtkplus" in spec else "without"))
+ if spec.version >= Version('2.46'):
+ args.append('--{0}-man-pdfs'.format(
+ 'enable' if '+doc' in spec else 'disable'))
+
return args
diff --git a/var/spack/repos/builtin/packages/grass/package.py b/var/spack/repos/builtin/packages/grass/package.py
index 6435239432..17325d2b5c 100644
--- a/var/spack/repos/builtin/packages/grass/package.py
+++ b/var/spack/repos/builtin/packages/grass/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/graylog2-server/package.py b/var/spack/repos/builtin/packages/graylog2-server/package.py
index b34fd87a1b..dfbf8de499 100644
--- a/var/spack/repos/builtin/packages/graylog2-server/package.py
+++ b/var/spack/repos/builtin/packages/graylog2-server/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/grep/package.py b/var/spack/repos/builtin/packages/grep/package.py
index 7d4bded3f8..50e48df7e1 100644
--- a/var/spack/repos/builtin/packages/grep/package.py
+++ b/var/spack/repos/builtin/packages/grep/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/grib-api/package.py b/var/spack/repos/builtin/packages/grib-api/package.py
index 6c4a15116a..24091ab908 100644
--- a/var/spack/repos/builtin/packages/grib-api/package.py
+++ b/var/spack/repos/builtin/packages/grib-api/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gridlab-d/package.py b/var/spack/repos/builtin/packages/gridlab-d/package.py
index d7942d2d21..7964a2517f 100644
--- a/var/spack/repos/builtin/packages/gridlab-d/package.py
+++ b/var/spack/repos/builtin/packages/gridlab-d/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/grnboost/package.py b/var/spack/repos/builtin/packages/grnboost/package.py
index 600c65ed40..35a802bf40 100644
--- a/var/spack/repos/builtin/packages/grnboost/package.py
+++ b/var/spack/repos/builtin/packages/grnboost/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/groff/BuildFoundries.patch b/var/spack/repos/builtin/packages/groff/BuildFoundries.patch
new file mode 100644
index 0000000000..3cc7497bf1
--- /dev/null
+++ b/var/spack/repos/builtin/packages/groff/BuildFoundries.patch
@@ -0,0 +1,11 @@
+--- a/font/devpdf/Makefile.sub 2014-11-04 02:38:35.427521472 -0600
++++ b/font/devpdf/Makefile.sub 2021-02-08 14:28:51.194111775 -0600
+@@ -95,7 +95,7 @@
+ chmod +x util/BuildFoundries
+ echo "# foundry ps name psfile" > $(top_builddir)/font/devpdf/download
+ PATH="$(top_builddir)/src/utils/afmtodit:$(GROFF_PATH_SEPARATOR)$(PATH)" \
+- util/BuildFoundries $(top_builddir)/font/devpdf \
++ $(PERL) util/BuildFoundries $(top_builddir)/font/devpdf \
+ '$(top_srcdir)/font/devps : $(top_builddir)/font/devps' \
+ >> $(top_builddir)/font/devpdf/download
+
diff --git a/var/spack/repos/builtin/packages/groff/package.py b/var/spack/repos/builtin/packages/groff/package.py
index f67f1c901b..63c8bf1c4f 100644
--- a/var/spack/repos/builtin/packages/groff/package.py
+++ b/var/spack/repos/builtin/packages/groff/package.py
@@ -1,9 +1,10 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
+import re
class Groff(AutotoolsPackage, GNUMirrorPackage):
@@ -35,6 +36,19 @@ class Groff(AutotoolsPackage, GNUMirrorPackage):
# patch('gropdf.patch')
parallel = False
+ # The perl interpreter line in scripts might be too long as it has
+ # not been transformed yet. Call scripts with spack perl explicitly.
+ patch('BuildFoundries.patch')
+ patch('pdfmom.patch')
+
+ executables = ['^groff$']
+
+ @classmethod
+ def determine_version(cls, exe):
+ output = Executable(exe)('--version', output=str, error=str)
+ match = re.search(r'GNU groff version\s+(\S+)', output)
+ return match.group(1) if match else None
+
def configure_args(self):
args = [
"--without-x"
diff --git a/var/spack/repos/builtin/packages/groff/pdfmom.patch b/var/spack/repos/builtin/packages/groff/pdfmom.patch
new file mode 100644
index 0000000000..b9b90674a5
--- /dev/null
+++ b/var/spack/repos/builtin/packages/groff/pdfmom.patch
@@ -0,0 +1,11 @@
+--- a/contrib/mom/Makefile.sub 2014-11-04 02:38:35.502520534 -0600
++++ b/contrib/mom/Makefile.sub 2021-02-08 14:51:57.131553432 -0600
+@@ -41,7 +41,7 @@
+ GROFF_COMMAND_PREFIX= \
+ GROFF_BIN_PATH="$(GROFF_BIN_PATH)" \
+ PDFMOM_BIN_PATH="$(top_builddir)/src/devices/gropdf" \
+- $(PDFMOMBIN) $(FFLAG) $(TFLAG) $(KFLAG)
++ $(PERL) $(PDFMOMBIN) $(FFLAG) $(TFLAG) $(KFLAG)
+
+ MAN7=\
+ groff_mom.n
diff --git a/var/spack/repos/builtin/packages/gromacs/package.py b/var/spack/repos/builtin/packages/gromacs/package.py
index 73f4ffd871..1efb196e58 100644
--- a/var/spack/repos/builtin/packages/gromacs/package.py
+++ b/var/spack/repos/builtin/packages/gromacs/package.py
@@ -1,7 +1,11 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+import os
+
+
class Gromacs(CMakePackage):
"""GROMACS (GROningen MAchine for Chemical Simulations) is a molecular
dynamics package primarily designed for simulations of proteins, lipids
@@ -21,6 +25,8 @@ class Gromacs(CMakePackage):
maintainers = ['junghans', 'marvinbernhardt']
version('master', branch='master')
+ version('2021', sha256='efa78ab8409b0f5bf0fbca174fb8fbcf012815326b5c71a9d7c385cde9a8f87b')
+ version('2020.5', sha256='7b6aff647f7c8ee1bf12204d02cef7c55f44402a73195bd5f42cf11850616478')
version('2020.4', sha256='5519690321b5500c7951aaf53ff624042c3edd1a5f5d6dd1f2d802a3ecdbf4e6')
version('2020.3', sha256='903183691132db14e55b011305db4b6f4901cc4912d2c56c131edfef18cc92a9')
version('2020.2', sha256='7465e4cd616359d84489d919ec9e4b1aaf51f0a4296e693c249e83411b7bd2f3')
@@ -58,6 +64,7 @@ class Gromacs(CMakePackage):
variant('plumed', default=False, description='Enable PLUMED support')
variant('cuda', default=False, description='Enable CUDA support')
variant('opencl', default=False, description='Enable OpenCL support')
+ variant('sycl', default=False, description='Enable SYCL support')
variant('nosuffix', default=False, description='Disable default suffixes')
variant('build_type', default='RelWithDebInfo',
description='The build type to build',
@@ -66,14 +73,22 @@ class Gromacs(CMakePackage):
variant('mdrun_only', default=False,
description='Enables the build of a cut-down version'
' of libgromacs and/or the mdrun program')
+ conflicts('+mdrun_only', when='@2021:',
+ msg='mdrun-only build option was removed for GROMACS 2021.')
variant('openmp', default=True,
description='Enables OpenMP at configure time')
- variant('double_precision', default=False,
- description='GMX_RELAXED_DOUBLE_PRECISION for Fujitsu PRIMEHPC')
+ variant('relaxed_double_precision', default=False,
+ description='GMX_RELAXED_DOUBLE_PRECISION, use only for Fujitsu PRIMEHPC')
+ conflicts('+relaxed_double_precision', when='@2021:',
+ msg='GMX_RELAXED_DOUBLE_PRECISION option removed for GROMACS 2021.')
variant('hwloc', default=True,
description='Use the hwloc portable hardware locality library')
variant('lapack', default=False,
description='Enables an external LAPACK library')
+ variant('blas', default=False,
+ description='Enables an external BLAS library')
+ variant('cycle_subcounters', default=False,
+ description='Enables cycle subcounters')
depends_on('mpi', when='+mpi')
# define matching plumed versions
@@ -90,17 +105,27 @@ class Gromacs(CMakePackage):
depends_on('fftw-api@3')
depends_on('cmake@2.8.8:3.99.99', type='build')
depends_on('cmake@3.4.3:3.99.99', type='build', when='@2018:')
- depends_on('cmake@3.13.0:3.99.99', type='build', when='@master')
- depends_on('cmake@3.13.0:3.99.99', type='build', when='%fj')
+ depends_on('cmake@3.9.6:3.99.99', type='build', when='@2020')
+ depends_on('cmake@3.13.0:3.99.99', type='build', when='@2021:')
+ depends_on('cmake@3.16.0:3.99.99', type='build', when='@master')
+ depends_on('cmake@3.16.0:3.99.99', type='build', when='%fj')
depends_on('cuda', when='+cuda')
+ depends_on('sycl', when='+sycl')
depends_on('lapack', when='+lapack')
+ depends_on('blas', when='+blas')
- # TODO: openmpi constraint; remove when concretizer is fixed
- depends_on('hwloc@:1.999', when='+hwloc')
+ depends_on('hwloc', when='+hwloc')
patch('gmxDetectCpu-cmake-3.14.patch', when='@2018:2019.3^cmake@3.14.0:')
patch('gmxDetectSimd-cmake-3.14.patch', when='@:2017.99^cmake@3.14.0:')
+ filter_compiler_wrappers(
+ '*.cmake',
+ relative_root=os.path.join('share', 'cmake', 'gromacs_mpi'))
+ filter_compiler_wrappers(
+ '*.cmake',
+ relative_root=os.path.join('share', 'cmake', 'gromacs'))
+
def patch(self):
if '+plumed' in self.spec:
self.spec['plumed'].package.apply_patch(self)
@@ -113,11 +138,37 @@ class Gromacs(CMakePackage):
options = []
- if self.spec.satisfies('@2020:'):
- options.append('-DGMX_INSTALL_LEGACY_API=ON')
-
if '+mpi' in self.spec:
options.append('-DGMX_MPI:BOOL=ON')
+ if self.version < Version('2020'):
+ # Ensures gmxapi builds properly
+ options.extend([
+ '-DCMAKE_C_COMPILER=%s' % self.spec['mpi'].mpicc,
+ '-DCMAKE_CXX_COMPILER=%s' % self.spec['mpi'].mpicxx,
+ '-DCMAKE_Fortran_COMPILER=%s' % self.spec['mpi'].mpifc,
+ ])
+ elif self.version == Version('2021'):
+ # Work around https://gitlab.com/gromacs/gromacs/-/issues/3896
+ # Ensures gmxapi builds properly
+ options.extend([
+ '-DCMAKE_C_COMPILER=%s' % self.spec['mpi'].mpicc,
+ '-DCMAKE_CXX_COMPILER=%s' % self.spec['mpi'].mpicxx,
+ ])
+ else:
+ options.extend([
+ '-DCMAKE_C_COMPILER=%s' % spack_cc,
+ '-DCMAKE_CXX_COMPILER=%s' % spack_cxx,
+ '-DMPI_C_COMPILER=%s' % self.spec['mpi'].mpicc,
+ '-DMPI_CXX_COMPILER=%s' % self.spec['mpi'].mpicxx
+ ])
+ else:
+ options.extend([
+ '-DCMAKE_C_COMPILER=%s' % spack_cc,
+ '-DCMAKE_CXX_COMPILER=%s' % spack_cxx,
+ '-DGMX_MPI:BOOL=OFF'])
+
+ if self.spec.satisfies('@2020:'):
+ options.append('-DGMX_INSTALL_LEGACY_API=ON')
if '+double' in self.spec:
options.append('-DGMX_DOUBLE:BOOL=ON')
@@ -127,16 +178,27 @@ class Gromacs(CMakePackage):
if '~shared' in self.spec:
options.append('-DBUILD_SHARED_LIBS:BOOL=OFF')
+ options.append('-DGMXAPI:BOOL=OFF')
if '+hwloc' in self.spec:
options.append('-DGMX_HWLOC:BOOL=ON')
else:
options.append('-DGMX_HWLOC:BOOL=OFF')
- if '+cuda' in self.spec or '+opencl' in self.spec:
- options.append('-DGMX_GPU:BOOL=ON')
+ if self.version >= Version('2021'):
+ if '+cuda' in self.spec:
+ options.append('-DGMX_GPU:STRING=CUDA')
+ elif '+opencl' in self.spec:
+ options.append('-DGMX_GPU:STRING=OpenCL')
+ elif '+sycl' in self.spec:
+ options.append('-DGMX_GPU:STRING=SYCL')
+ else:
+ options.append('-DGMX_GPU:STRING=OFF')
else:
- options.append('-DGMX_GPU:BOOL=OFF')
+ if '+cuda' in self.spec or '+opencl' in self.spec:
+ options.append('-DGMX_GPU:BOOL=ON')
+ else:
+ options.append('-DGMX_GPU:BOOL=OFF')
if '+cuda' in self.spec:
options.append('-DCUDA_TOOLKIT_ROOT_DIR:STRING=' +
@@ -148,11 +210,19 @@ class Gromacs(CMakePackage):
if '+lapack' in self.spec:
options.append('-DGMX_EXTERNAL_LAPACK:BOOL=ON')
if self.spec['lapack'].libs:
- options.append('-DLAPACK_LIBRARIES={0}'.format(
+ options.append('-DGMX_LAPACK_USER={0}'.format(
self.spec['lapack'].libs.joined(';')))
else:
options.append('-DGMX_EXTERNAL_LAPACK:BOOL=OFF')
+ if '+blas' in self.spec:
+ options.append('-DGMX_EXTERNAL_BLAS:BOOL=ON')
+ if self.spec['blas'].libs:
+ options.append('-DGMX_BLAS_USER={0}'.format(
+ self.spec['blas'].libs.joined(';')))
+ else:
+ options.append('-DGMX_EXTERNAL_BLAS:BOOL=OFF')
+
# Activate SIMD based on properties of the target
target = self.spec.target
if target >= 'zen2':
@@ -176,8 +246,8 @@ class Gromacs(CMakePackage):
elif target == 'mic_knl':
# Intel KNL
options.append('-DGMX_SIMD=AVX_512_KNL')
- elif target.vendor == 'GenuineIntel':
- # Other Intel architectures
+ else:
+ # Other architectures
simd_features = [
('sse2', 'SSE2'),
('sse4_1', 'SSE4.1'),
@@ -192,13 +262,16 @@ class Gromacs(CMakePackage):
('avx512', 'AVX_512') in simd_features):
simd_features.remove(('avx512', 'AVX_512'))
+ feature_set = False
for feature, flag in reversed(simd_features):
if feature in target:
options.append('-DGMX_SIMD:STRING={0}'.format(flag))
+ feature_set = True
break
- else:
- # Fall back to this for unknown microarchitectures
- options.append('-DGMX_SIMD:STRING=None')
+
+ # Fall back
+ if not feature_set:
+ options.append('-DGMX_SIMD:STRING=None')
# Use the 'rtdscp' assembly instruction only on
# appropriate architectures
@@ -206,20 +279,22 @@ class Gromacs(CMakePackage):
'GMX_USE_RDTSCP', str(target.family) in ('x86_64', 'x86')
))
- if '+mdrun_only' in self.spec:
- options.append('-DGMX_BUILD_MDRUN_ONLY:BOOL=ON')
- else:
- options.append('-DGMX_BUILD_MDRUN_ONLY:BOOL=OFF')
+ if self.spec.satisfies('@:2020'):
+ options.append(
+ self.define_from_variant('GMX_BUILD_MDRUN_ONLY', 'mdrun_only'))
- if '~openmp' in self.spec:
- options.append('-DGMX_OPENMP:BOOL=OFF')
- else:
- options.append('-DGMX_OPENMP:BOOL=ON')
+ options.append(self.define_from_variant('GMX_OPENMP', 'openmp'))
+
+ if self.spec.satisfies('@:2020'):
+ options.append(
+ self.define_from_variant(
+ 'GMX_RELAXED_DOUBLE_PRECISION',
+ 'relaxed_double_precision'))
- if '+double_precision' in self.spec:
- options.append('-DGMX_RELAXED_DOUBLE_PRECISION:BOOL=ON')
+ if '+cycle_subcounters' in self.spec:
+ options.append('-DGMX_CYCLE_SUBCOUNTERS:BOOL=ON')
else:
- options.append('-DGMX_RELAXED_DOUBLE_PRECISION:BOOL=OFF')
+ options.append('-DGMX_CYCLE_SUBCOUNTERS:BOOL=OFF')
if '^mkl' in self.spec:
# fftw-api@3 is provided by intel-mkl or intel-parllel-studio
@@ -234,5 +309,13 @@ class Gromacs(CMakePackage):
else:
# we rely on the fftw-api@3
options.append('-DGMX_FFT_LIBRARY=fftw3')
+ if '^amdfftw' in self.spec:
+ options.append('-DGMX_FFT_LIBRARY=fftw3')
+ options.append(
+ '-DFFTWF_INCLUDE_DIRS={0}'.
+ format(self.spec['amdfftw'].headers.directories[0])
+ )
+ options.append('-DFFTWF_LIBRARIES={0}'.
+ format(self.spec['amdfftw'].libs.joined(';')))
return options
diff --git a/var/spack/repos/builtin/packages/grpc/package.py b/var/spack/repos/builtin/packages/grpc/package.py
index 010cffb6f3..5ac5575c8f 100644
--- a/var/spack/repos/builtin/packages/grpc/package.py
+++ b/var/spack/repos/builtin/packages/grpc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gsettings-desktop-schemas/package.py b/var/spack/repos/builtin/packages/gsettings-desktop-schemas/package.py
index 908aa73d57..cfbb4abb65 100644
--- a/var/spack/repos/builtin/packages/gsettings-desktop-schemas/package.py
+++ b/var/spack/repos/builtin/packages/gsettings-desktop-schemas/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -20,3 +20,15 @@ class GsettingsDesktopSchemas(MesonPackage):
depends_on('glib')
depends_on('gobject-introspection', type='build')
depends_on('gettext', type='build')
+
+ def setup_dependent_build_environment(self, env, dependent_spec):
+ env.prepend_path('XDG_DATA_DIRS', self.prefix.share)
+
+ def setup_dependent_run_environment(self, env, dependent_spec):
+ env.prepend_path('XDG_DATA_DIRS', self.prefix.share)
+
+ def setup_build_environment(self, env):
+ env.prepend_path("XDG_DATA_DIRS", self.prefix.share)
+
+ def setup_run_environment(self, env):
+ env.prepend_path("XDG_DATA_DIRS", self.prefix.share)
diff --git a/var/spack/repos/builtin/packages/gsl/package.py b/var/spack/repos/builtin/packages/gsl/package.py
index fb81843c64..173f6742fa 100644
--- a/var/spack/repos/builtin/packages/gsl/package.py
+++ b/var/spack/repos/builtin/packages/gsl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,6 +17,7 @@ class Gsl(AutotoolsPackage, GNUMirrorPackage):
homepage = "http://www.gnu.org/software/gsl"
gnu_mirror_path = "gsl/gsl-2.3.tar.gz"
+ version('2.6', sha256='b782339fc7a38fe17689cb39966c4d821236c28018b6593ddb6fd59ee40786a8')
version('2.5', sha256='0460ad7c2542caaddc6729762952d345374784100223995eb14d614861f2258d')
version('2.4', sha256='4d46d07b946e7b31c19bbf33dda6204d7bedc2f5462a1bae1d4013426cd1ce9b')
version('2.3', sha256='562500b789cd599b3a4f88547a7a3280538ab2ff4939504c8b4ac4ca25feadfb')
diff --git a/var/spack/repos/builtin/packages/gslib/package.py b/var/spack/repos/builtin/packages/gslib/package.py
index 37827a8c1f..bd0649aa33 100644
--- a/var/spack/repos/builtin/packages/gslib/package.py
+++ b/var/spack/repos/builtin/packages/gslib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gtk-doc/package.py b/var/spack/repos/builtin/packages/gtk-doc/package.py
index 82706d9fdc..2cec52ff7d 100644
--- a/var/spack/repos/builtin/packages/gtk-doc/package.py
+++ b/var/spack/repos/builtin/packages/gtk-doc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gtkmm/package.py b/var/spack/repos/builtin/packages/gtkmm/package.py
index 12a149e7ab..f3c10dd86c 100644
--- a/var/spack/repos/builtin/packages/gtkmm/package.py
+++ b/var/spack/repos/builtin/packages/gtkmm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gtkorvo-atl/package.py b/var/spack/repos/builtin/packages/gtkorvo-atl/package.py
index 80dc12e34b..c46c23532e 100644
--- a/var/spack/repos/builtin/packages/gtkorvo-atl/package.py
+++ b/var/spack/repos/builtin/packages/gtkorvo-atl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gtkorvo-cercs-env/package.py b/var/spack/repos/builtin/packages/gtkorvo-cercs-env/package.py
index 19a57f122b..56bcd1f845 100644
--- a/var/spack/repos/builtin/packages/gtkorvo-cercs-env/package.py
+++ b/var/spack/repos/builtin/packages/gtkorvo-cercs-env/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gtkorvo-dill/package.py b/var/spack/repos/builtin/packages/gtkorvo-dill/package.py
index b708666d4f..79c65e0443 100644
--- a/var/spack/repos/builtin/packages/gtkorvo-dill/package.py
+++ b/var/spack/repos/builtin/packages/gtkorvo-dill/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gtkorvo-enet/package.py b/var/spack/repos/builtin/packages/gtkorvo-enet/package.py
index 7b86f292c7..5a359a6ecb 100644
--- a/var/spack/repos/builtin/packages/gtkorvo-enet/package.py
+++ b/var/spack/repos/builtin/packages/gtkorvo-enet/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gtkplus/package.py b/var/spack/repos/builtin/packages/gtkplus/package.py
index 608bcec294..a9ba7e2fe3 100644
--- a/var/spack/repos/builtin/packages/gtkplus/package.py
+++ b/var/spack/repos/builtin/packages/gtkplus/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gtksourceview/package.py b/var/spack/repos/builtin/packages/gtksourceview/package.py
index ed6737133a..4e07fd4b65 100644
--- a/var/spack/repos/builtin/packages/gtksourceview/package.py
+++ b/var/spack/repos/builtin/packages/gtksourceview/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gts/package.py b/var/spack/repos/builtin/packages/gts/package.py
index 13698ec27a..2848e2f8fe 100644
--- a/var/spack/repos/builtin/packages/gts/package.py
+++ b/var/spack/repos/builtin/packages/gts/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/guacamole-client/package.py b/var/spack/repos/builtin/packages/guacamole-client/package.py
index 0db64509a7..f977ad609c 100644
--- a/var/spack/repos/builtin/packages/guacamole-client/package.py
+++ b/var/spack/repos/builtin/packages/guacamole-client/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/guacamole-server/package.py b/var/spack/repos/builtin/packages/guacamole-server/package.py
index ea08a63639..2e1ab0b628 100644
--- a/var/spack/repos/builtin/packages/guacamole-server/package.py
+++ b/var/spack/repos/builtin/packages/guacamole-server/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/guidance/package.py b/var/spack/repos/builtin/packages/guidance/package.py
index e0015b7f32..7661740a3e 100644
--- a/var/spack/repos/builtin/packages/guidance/package.py
+++ b/var/spack/repos/builtin/packages/guidance/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/guile/package.py b/var/spack/repos/builtin/packages/guile/package.py
index 47bfa38125..440fa367f0 100644
--- a/var/spack/repos/builtin/packages/guile/package.py
+++ b/var/spack/repos/builtin/packages/guile/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gunrock/package.py b/var/spack/repos/builtin/packages/gunrock/package.py
index ae7d4215d4..82fbaaa27b 100644
--- a/var/spack/repos/builtin/packages/gunrock/package.py
+++ b/var/spack/repos/builtin/packages/gunrock/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gurobi/package.py b/var/spack/repos/builtin/packages/gurobi/package.py
index 4922d23678..0f88acd00d 100644
--- a/var/spack/repos/builtin/packages/gurobi/package.py
+++ b/var/spack/repos/builtin/packages/gurobi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/gzip/package.py b/var/spack/repos/builtin/packages/gzip/package.py
index 81295fab7a..6056dbbf65 100644
--- a/var/spack/repos/builtin/packages/gzip/package.py
+++ b/var/spack/repos/builtin/packages/gzip/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/h2database/package.py b/var/spack/repos/builtin/packages/h2database/package.py
index a4c4dcceec..edce327719 100644
--- a/var/spack/repos/builtin/packages/h2database/package.py
+++ b/var/spack/repos/builtin/packages/h2database/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/h5cpp/package.py b/var/spack/repos/builtin/packages/h5cpp/package.py
index 373aa1303d..15c97ea3ba 100644
--- a/var/spack/repos/builtin/packages/h5cpp/package.py
+++ b/var/spack/repos/builtin/packages/h5cpp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,7 +16,8 @@ class H5cpp(CMakePackage):
maintainers = ['eschnett']
version('master', branch='master')
- version('1.10.4-5', sha256='42d0ca1aaff1ead8998a26d892a51c12b1b89023382f191dc438bd0fa4513455')
+ version('1.10.4-6', sha256='4fbc8e777dc78a37ec2fe8c7b6a47114080ffe587f083e83a2046b5e794aef93')
+ version('1.10.4-5', sha256='661ccc4d76e081afc73df71ef11d027837d92dd1089185f3650afcaec9d418ec')
variant('mpi', default=True, description='Include MPI support')
@@ -26,4 +27,9 @@ class H5cpp(CMakePackage):
depends_on('mpi', when='+mpi')
def cmake_args(self):
- return ['-DH5CPP_BUILD_TESTS=OFF']
+ return [
+ '-DHDF5_INCLUDE_DIRS=%s' %
+ self.spec['hdf5'].headers.directories[0],
+ '-DHDF5_LIBRARIES=%s' % self.spec['hdf5'].libs.directories[0],
+ '-DH5CPP_BUILD_TESTS=OFF',
+ ]
diff --git a/var/spack/repos/builtin/packages/h5hut/package.py b/var/spack/repos/builtin/packages/h5hut/package.py
index 09497c6d68..6d6e61ccd2 100644
--- a/var/spack/repos/builtin/packages/h5hut/package.py
+++ b/var/spack/repos/builtin/packages/h5hut/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/h5part/package.py b/var/spack/repos/builtin/packages/h5part/package.py
index 74246a6ea9..efe13eb707 100644
--- a/var/spack/repos/builtin/packages/h5part/package.py
+++ b/var/spack/repos/builtin/packages/h5part/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/h5utils/package.py b/var/spack/repos/builtin/packages/h5utils/package.py
index 78fd397311..2f8231c1d2 100644
--- a/var/spack/repos/builtin/packages/h5utils/package.py
+++ b/var/spack/repos/builtin/packages/h5utils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/h5z-zfp/package.py b/var/spack/repos/builtin/packages/h5z-zfp/package.py
index f36f48d5b7..1e6477d241 100644
--- a/var/spack/repos/builtin/packages/h5z-zfp/package.py
+++ b/var/spack/repos/builtin/packages/h5z-zfp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hacckernels/package.py b/var/spack/repos/builtin/packages/hacckernels/package.py
index 9322819802..5820ba5eca 100644
--- a/var/spack/repos/builtin/packages/hacckernels/package.py
+++ b/var/spack/repos/builtin/packages/hacckernels/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hackrf-host/package.py b/var/spack/repos/builtin/packages/hackrf-host/package.py
index 572e3b91b0..15c15a9ae6 100644
--- a/var/spack/repos/builtin/packages/hackrf-host/package.py
+++ b/var/spack/repos/builtin/packages/hackrf-host/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hadoop/package.py b/var/spack/repos/builtin/packages/hadoop/package.py
index 26acecfc89..36ff8a29bd 100644
--- a/var/spack/repos/builtin/packages/hadoop/package.py
+++ b/var/spack/repos/builtin/packages/hadoop/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hal/package.py b/var/spack/repos/builtin/packages/hal/package.py
index 752feab1d8..839537afd1 100644
--- a/var/spack/repos/builtin/packages/hal/package.py
+++ b/var/spack/repos/builtin/packages/hal/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/halc/package.py b/var/spack/repos/builtin/packages/halc/package.py
index e9b4ffc0aa..3f4a4bae4d 100644
--- a/var/spack/repos/builtin/packages/halc/package.py
+++ b/var/spack/repos/builtin/packages/halc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/half/package.py b/var/spack/repos/builtin/packages/half/package.py
index 5a3daf1c4f..88c02f1d9f 100644
--- a/var/spack/repos/builtin/packages/half/package.py
+++ b/var/spack/repos/builtin/packages/half/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hama/package.py b/var/spack/repos/builtin/packages/hama/package.py
index 6883155f7f..bc3c4a9c2a 100644
--- a/var/spack/repos/builtin/packages/hama/package.py
+++ b/var/spack/repos/builtin/packages/hama/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hapcut2/package.py b/var/spack/repos/builtin/packages/hapcut2/package.py
index a4581647cd..f53e9b8917 100644
--- a/var/spack/repos/builtin/packages/hapcut2/package.py
+++ b/var/spack/repos/builtin/packages/hapcut2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hapdip/package.py b/var/spack/repos/builtin/packages/hapdip/package.py
index 7e1446a0c9..dc90ac59a6 100644
--- a/var/spack/repos/builtin/packages/hapdip/package.py
+++ b/var/spack/repos/builtin/packages/hapdip/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/haploview/package.py b/var/spack/repos/builtin/packages/haploview/package.py
index 298ecf6edb..c10e6beafb 100644
--- a/var/spack/repos/builtin/packages/haploview/package.py
+++ b/var/spack/repos/builtin/packages/haploview/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/haproxy/package.py b/var/spack/repos/builtin/packages/haproxy/package.py
index 2b8d46c315..48e726b927 100644
--- a/var/spack/repos/builtin/packages/haproxy/package.py
+++ b/var/spack/repos/builtin/packages/haproxy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hardlink/package.py b/var/spack/repos/builtin/packages/hardlink/package.py
index 10287f28cb..3d63bd6c3f 100644
--- a/var/spack/repos/builtin/packages/hardlink/package.py
+++ b/var/spack/repos/builtin/packages/hardlink/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/harfbuzz/package.py b/var/spack/repos/builtin/packages/harfbuzz/package.py
index 2a303bc97e..31a5068cfc 100644
--- a/var/spack/repos/builtin/packages/harfbuzz/package.py
+++ b/var/spack/repos/builtin/packages/harfbuzz/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -40,12 +40,21 @@ class Harfbuzz(AutotoolsPackage):
return url.format(version)
+ # Function borrowed from superlu
+ def flag_handler(self, name, flags):
+ flags = list(flags)
+ if name == 'cxxflags':
+ flags.append(self.compiler.cxx11_flag)
+ if name == 'cflags':
+ if '%pgi' not in self.spec and self.spec.satisfies('%gcc@:5.1'):
+ flags.append('-std=gnu99')
+ return (None, None, flags)
+
def configure_args(self):
args = []
# disable building of gtk-doc files following #9771
args.append('--disable-gtk-doc-html')
true = which('true')
- args.append('CXXFLAGS={0}'.format(self.compiler.cxx11_flag))
args.append('GTKDOC_CHECK={0}'.format(true))
args.append('GTKDOC_CHECK_PATH={0}'.format(true))
args.append('GTKDOC_MKPDF={0}'.format(true))
diff --git a/var/spack/repos/builtin/packages/harminv/package.py b/var/spack/repos/builtin/packages/harminv/package.py
index 7aab4053ab..17f7a3cee9 100644
--- a/var/spack/repos/builtin/packages/harminv/package.py
+++ b/var/spack/repos/builtin/packages/harminv/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hashcat/package.py b/var/spack/repos/builtin/packages/hashcat/package.py
index 782cc52c00..6231666107 100644
--- a/var/spack/repos/builtin/packages/hashcat/package.py
+++ b/var/spack/repos/builtin/packages/hashcat/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hazelcast/package.py b/var/spack/repos/builtin/packages/hazelcast/package.py
index 95354be40c..1c450b7bb0 100644
--- a/var/spack/repos/builtin/packages/hazelcast/package.py
+++ b/var/spack/repos/builtin/packages/hazelcast/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hbase/package.py b/var/spack/repos/builtin/packages/hbase/package.py
index 1e87f8a297..4e1b5c91b9 100644
--- a/var/spack/repos/builtin/packages/hbase/package.py
+++ b/var/spack/repos/builtin/packages/hbase/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hbm-dramsim2/package.py b/var/spack/repos/builtin/packages/hbm-dramsim2/package.py
index 6ecd8de514..75c7f4ab01 100644
--- a/var/spack/repos/builtin/packages/hbm-dramsim2/package.py
+++ b/var/spack/repos/builtin/packages/hbm-dramsim2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hc/package.py b/var/spack/repos/builtin/packages/hc/package.py
index ac7de94062..d197167bbe 100644
--- a/var/spack/repos/builtin/packages/hc/package.py
+++ b/var/spack/repos/builtin/packages/hc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hcol/package.py b/var/spack/repos/builtin/packages/hcol/package.py
index 70278eba93..56a1e25a23 100644
--- a/var/spack/repos/builtin/packages/hcol/package.py
+++ b/var/spack/repos/builtin/packages/hcol/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hcoll/package.py b/var/spack/repos/builtin/packages/hcoll/package.py
index cdcfd4be16..4b05e741c6 100644
--- a/var/spack/repos/builtin/packages/hcoll/package.py
+++ b/var/spack/repos/builtin/packages/hcoll/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hdf-eos2/hdf-eos2.nondarwin-no-single_module.patch b/var/spack/repos/builtin/packages/hdf-eos2/hdf-eos2.nondarwin-no-single_module.patch
new file mode 100644
index 0000000000..35a1736802
--- /dev/null
+++ b/var/spack/repos/builtin/packages/hdf-eos2/hdf-eos2.nondarwin-no-single_module.patch
@@ -0,0 +1,27 @@
+# This patch removes the default(?) setting of passing -single_module
+# flag to the loader. From what I can gather, only the Darwin loader
+# supports that, so this patch allows building on non-Darwin systems
+diff -Naur spack-src/src/Makefile.am spack-src.patched/src/Makefile.am
+--- spack-src/src/Makefile.am 2008-02-19 13:43:18.000000000 -0500
++++ spack-src.patched/src/Makefile.am 2020-12-02 11:11:52.780822127 -0500
+@@ -6,7 +6,7 @@
+ INCLUDES=-I$(top_srcdir)/include/
+
+ # Set LDFLAGS to alow the HDF-EOS library to use extern variables from HDF4
+-LDFLAGS=-Wl,-single_module
++#LDFLAGS=-Wl,-single_module
+
+ # Build HDF-EOS2
+ lib_LTLIBRARIES=libhdfeos.la
+diff -Naur spack-src/src/Makefile.in spack-src.patched/src/Makefile.in
+--- spack-src/src/Makefile.in 2009-05-19 12:12:34.000000000 -0400
++++ spack-src.patched/src/Makefile.in 2020-12-02 11:12:06.686234377 -0500
+@@ -126,7 +126,7 @@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+
+ # Set LDFLAGS to alow the HDF-EOS library to use extern variables from HDF4
+-LDFLAGS = -Wl,-single_module
++#LDFLAGS = -Wl,-single_module
+ LIBOBJS = @LIBOBJS@
+ LIBS = @LIBS@
+ LIBTOOL = @LIBTOOL@
diff --git a/var/spack/repos/builtin/packages/hdf-eos2/package.py b/var/spack/repos/builtin/packages/hdf-eos2/package.py
new file mode 100644
index 0000000000..b241ae8f12
--- /dev/null
+++ b/var/spack/repos/builtin/packages/hdf-eos2/package.py
@@ -0,0 +1,99 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+import sys
+
+
+class HdfEos2(AutotoolsPackage):
+ """HDF-EOS (Hierarchical Data Format - Earth Observing System) is a
+ self-describing file format based upon HDF for standard data products
+ that are derived from EOS missions. HDF-EOS2 is based upon HDF4.
+ """
+
+ homepage = "https://hdfeos.org"
+ # The download URLs are messing, and include sha256 checksum.
+ # This is just a template. See version_list and url_for_version below
+ # Template for url_for_version. 0 is sha256 checksum, 1 is filename
+ url = "https://git.earthdata.nasa.gov/rest/git-lfs/storage/DAS/hdfeos/{0}?response-content-disposition=attachment%3B%20filename%3D%22{1}%22%3B%20filename*%3Dutf-8%27%27{1}"
+
+ # Crazy URL scheme, differing with each version, and including the
+ # sha256 checksum in the URL. Yuck
+ # The data in version_list is used to generate versions and urls
+ # In basename expansions, 0 is raw version,
+ # 1 is for version with dots => underscores
+ version_list = [
+ {'version': '2.20v1.00',
+ 'sha256': 'cb0f900d2732ab01e51284d6c9e90d0e852d61bba9bce3b43af0430ab5414903',
+ 'basename': 'HDF-EOS{0}.tar.Z'},
+ {'version': '2.19b',
+ 'sha256': 'a69993508dbf5fa6120bac3c906ab26f1ad277348dfc2c891305023cfdf5dc9d',
+ 'basename': 'hdfeos{1}.zip'}
+ ]
+
+ for vrec in version_list:
+ ver = vrec['version']
+ sha256 = vrec['sha256']
+ version(ver, sha256=sha256)
+
+ variant('shared', default=True,
+ description='Build shared libraries (can be used with +static)')
+ variant('static', default=True,
+ description='Build static libraries (can be used with +shared)')
+
+ conflicts('~static', when='~shared',
+ msg='At least one of +static or +shared must be set')
+
+ # Build dependencies
+ depends_on('hdf')
+
+ # The standard Makefile.am, etc. add a --single_module flag to LDFLAGS
+ # to pass to the linker.
+ # That appears to be only recognized by the Darwin linker, remove it
+ # if we are not running on darwin/
+ if sys.platform != "darwin":
+ patch('hdf-eos2.nondarwin-no-single_module.patch')
+
+ def url_for_version(self, version):
+ vrec = [x for x in self.version_list
+ if x['version'] == version.dotted.string]
+ if vrec:
+ fname = vrec[0]['basename'].format(version.dotted,
+ version.underscored)
+ sha256 = vrec[0]['sha256']
+ myurl = self.url.format(sha256, fname)
+ return myurl
+ else:
+ sys.exit('ERROR: cannot generate URL for version {0};'
+ 'version/checksum not found in version_list'.format(
+ version))
+
+ def configure_args(self):
+ extra_args = []
+
+ # Package really wants h4cc to be used
+ extra_args.append('CC={0}/bin/h4cc -Df2cFortran'.format(
+ self.spec['hdf'].prefix))
+
+ # We always build PIC code
+ extra_args.append('--with-pic')
+
+ # Set shared/static appropriately
+ extra_args.extend(self.enable_or_disable('shared'))
+ extra_args.extend(self.enable_or_disable('static'))
+
+ # Provide config args for dependencies
+ extra_args.append('--with-hdf4={0}'.format(self.spec['hdf'].prefix))
+ if self.spec['jpeg']:
+ extra_args.append('--with-jpeg={0}'.format(
+ self.spec['jpeg'].prefix))
+ if self.spec['zlib']:
+ extra_args.append('--with-zlib={0}'.format(
+ self.spec['zlib'].prefix))
+ if self.spec['szip']:
+ extra_args.append('--with-szlib={0}'.format(
+ self.spec['szip'].prefix))
+
+ return extra_args
diff --git a/var/spack/repos/builtin/packages/hdf-eos5/hdf-eos5.nondarwin-no-single_module.patch b/var/spack/repos/builtin/packages/hdf-eos5/hdf-eos5.nondarwin-no-single_module.patch
new file mode 100644
index 0000000000..a86c85dfe6
--- /dev/null
+++ b/var/spack/repos/builtin/packages/hdf-eos5/hdf-eos5.nondarwin-no-single_module.patch
@@ -0,0 +1,28 @@
+# This patch removes the default(?) setting of passing -single_module
+# flag to the loader. From what I can gather, only the Darwin loader
+# supports that, so this patch allows building on non-Darwin systems
+
+diff -Naur spack-src/src/Makefile.am spack-src.patched/src/Makefile.am
+--- spack-src/src/Makefile.am 2007-03-29 12:59:47.000000000 -0400
++++ spack-src.patched/src/Makefile.am 2020-12-04 11:25:50.789164073 -0500
+@@ -10,7 +10,7 @@
+
+ # Set LDFLAGS to allow the HDF-EOS library to use extern variables from
+ # HDF5
+-LDFLAGS=-Wl,-single_module
++#LDFLAGS=-Wl,-single_module
+
+ # Build HDF-EOS5
+ lib_LTLIBRARIES=libhe5_hdfeos.la
+diff -Naur spack-src/src/Makefile.in spack-src.patched/src/Makefile.in
+--- spack-src/src/Makefile.in 2010-08-30 11:47:05.000000000 -0400
++++ spack-src.patched/src/Makefile.in 2020-12-04 11:26:00.201443245 -0500
+@@ -126,7 +126,7 @@
+
+ # Set LDFLAGS to allow the HDF-EOS library to use extern variables from
+ # HDF5
+-LDFLAGS = -Wl,-single_module
++#LDFLAGS = -Wl,-single_module
+ LIBOBJS = @LIBOBJS@
+ LIBS = @LIBS@
+ LIBTOOL = @LIBTOOL@
diff --git a/var/spack/repos/builtin/packages/hdf-eos5/package.py b/var/spack/repos/builtin/packages/hdf-eos5/package.py
new file mode 100644
index 0000000000..18fb5f288a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/hdf-eos5/package.py
@@ -0,0 +1,99 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+import sys
+
+
+class HdfEos5(AutotoolsPackage):
+ """HDF-EOS (Hierarchical Data Format - Earth Observing System) is a
+ self-describing file format based upon HDF for standard data products
+ that are derived from EOS missions. HDF-EOS5 is based upon HDF5.
+ """
+
+ homepage = "https://hdfeos.org"
+ # The download URLs are messing, and include sha256 checksum.
+ # This is just a template. See version_list and url_for_version below
+ # Template for url_for_version. 0 is sha256 checksum, 1 is filename
+ url = "https://git.earthdata.nasa.gov/rest/git-lfs/storage/DAS/hdfeos5/{0}?response-content-disposition=attachment%3B%20filename%3D%22{1}%22%3B%20filename*%3Dutf-8%27%27{1}"
+
+ # Crazy URL scheme, differing with each version, and including the
+ # sha256 checksum in the URL. Yuck
+ # The data in version_list is used to generate versions and urls
+ # In basename expansions, 0 is raw version,
+ # 1 is for version with dots => underscores
+ version_list = [
+ {'version': '5.1.16',
+ 'sha256': '7054de24b90b6d9533329ef8dc89912c5227c83fb447792103279364e13dd452',
+ 'basename': 'HDF-EOS{0}.tar.Z'},
+ {'version': '5.1.15',
+ 'sha256': 'fbf4d085f9bf6ffad259aee1e9f60cf060e7e99c447894ad8955df02de83c92c',
+ 'basename': 'hdfeos{1}.zip'}
+ ]
+
+ for vrec in version_list:
+ ver = vrec['version']
+ sha256 = vrec['sha256']
+ version(ver, sha256=sha256)
+
+ variant('shared', default=True,
+ description='Build shared libraries (can be used with +static)')
+ variant('static', default=True,
+ description='Build shared libraries (can be used with +shared)')
+
+ conflicts('~static', when='~shared',
+ msg='At least one of +static or +shared must be set')
+
+ # Build dependencies
+ depends_on('hdf5+hl')
+
+ # The standard Makefile.am, etc. add a --single_module flag to LDFLAGS
+ # to pass to the linker.
+ # That appears to be only recognized by the Darwin linker, remove it
+ # if we are not running on darwin/
+ if sys.platform != "darwin":
+ patch('hdf-eos5.nondarwin-no-single_module.patch')
+
+ def url_for_version(self, version):
+ vrec = [x for x in self.version_list
+ if x['version'] == version.dotted.string]
+ if vrec:
+ fname = vrec[0]['basename'].format(version.dotted,
+ version.underscored)
+ sha256 = vrec[0]['sha256']
+ myurl = self.url.format(sha256, fname)
+ return myurl
+ else:
+ sys.exit('ERROR: cannot generate URL for version {0};'
+ 'version/checksum not found in version_list'.format(
+ version))
+
+ def configure_args(self):
+ extra_args = []
+
+ # Package really wants h5cc to be used
+ if self.spec['mpi']:
+ extra_args.append('CC={0}/bin/h5pcc -Df2cFortran'.format(
+ self.spec['hdf5'].prefix))
+ else:
+ extra_args.append('CC={0}/bin/h5cc -Df2cFortran'.format(
+ self.spec['hdf5'].prefix))
+
+ # We always build PIC code
+ extra_args.append('--with-pic')
+ # We always enable installation of include directories
+ extra_args.append('--enable-install-include')
+
+ # Set shared/static appropriately
+ extra_args.extend(self.enable_or_disable('shared'))
+ extra_args.extend(self.enable_or_disable('static'))
+
+ # Provide config args for dependencies
+ extra_args.append('--with-hdf5={0}'.format(self.spec['hdf5'].prefix))
+ if self.spec['zlib']:
+ extra_args.append('--with-zlib={0}'.format(
+ self.spec['zlib'].prefix))
+
+ return extra_args
diff --git a/var/spack/repos/builtin/packages/hdf/package.py b/var/spack/repos/builtin/packages/hdf/package.py
index 76c2205f27..d12aa812fd 100644
--- a/var/spack/repos/builtin/packages/hdf/package.py
+++ b/var/spack/repos/builtin/packages/hdf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -144,6 +144,14 @@ class Hdf(AutotoolsPackage):
# We should not specify '--disable-hdf4-xdr' due to a bug in the
# configure script.
config_args.append('LIBS=%s' % self.spec['rpc'].libs.link_flags)
+
+ # https://github.com/Parallel-NetCDF/PnetCDF/issues/61
+ if self.spec.satisfies('%gcc@10:'):
+ config_args.extend([
+ 'FFLAGS=-fallow-argument-mismatch',
+ 'FCFLAGS=-fallow-argument-mismatch']
+ )
+
return config_args
# Otherwise, we randomly get:
diff --git a/var/spack/repos/builtin/packages/hdf5-blosc/package.py b/var/spack/repos/builtin/packages/hdf5-blosc/package.py
index 2a535f5e69..694528213b 100644
--- a/var/spack/repos/builtin/packages/hdf5-blosc/package.py
+++ b/var/spack/repos/builtin/packages/hdf5-blosc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hdf5/package.py b/var/spack/repos/builtin/packages/hdf5/package.py
index abad1666bb..2877d33133 100644
--- a/var/spack/repos/builtin/packages/hdf5/package.py
+++ b/var/spack/repos/builtin/packages/hdf5/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -324,6 +324,15 @@ class Hdf5(AutotoolsPackage):
arg for arg in m.group(1).split(' ') if arg != '-l'),
'libtool')
+ @run_after('configure')
+ def patch_libtool(self):
+ """AOCC support for HDF5"""
+ if '%aocc' in self.spec:
+ filter_file(
+ r'\$wl-soname \$wl\$soname',
+ r'-fuse-ld=ld -Wl,-soname,\$soname',
+ 'libtool', string=True)
+
@run_after('install')
@on_package_attributes(run_tests=True)
def check_install(self):
diff --git a/var/spack/repos/builtin/packages/hdfview/package.py b/var/spack/repos/builtin/packages/hdfview/package.py
index fd21cb9dca..b329610347 100644
--- a/var/spack/repos/builtin/packages/hdfview/package.py
+++ b/var/spack/repos/builtin/packages/hdfview/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/healpix-cxx/package.py b/var/spack/repos/builtin/packages/healpix-cxx/package.py
index da3f1119d2..6c6925c69b 100644
--- a/var/spack/repos/builtin/packages/healpix-cxx/package.py
+++ b/var/spack/repos/builtin/packages/healpix-cxx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/heaptrack/package.py b/var/spack/repos/builtin/packages/heaptrack/package.py
index bdb6a90b76..211ea52f4c 100644
--- a/var/spack/repos/builtin/packages/heaptrack/package.py
+++ b/var/spack/repos/builtin/packages/heaptrack/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,7 +16,7 @@ class Heaptrack(CMakePackage):
version('1.1.0', sha256='bd247ac67d1ecf023ec7e2a2888764bfc03e2f8b24876928ca6aa0cdb3a07309')
depends_on('boost@1.41:')
- depends_on('cmake@2.8.9:')
+ depends_on('cmake@2.8.9:', type='build')
depends_on('elfutils')
depends_on('libunwind')
depends_on('zlib')
diff --git a/var/spack/repos/builtin/packages/heffte/package.py b/var/spack/repos/builtin/packages/heffte/package.py
index 7262fac7a2..a90b7d3c1c 100644
--- a/var/spack/repos/builtin/packages/heffte/package.py
+++ b/var/spack/repos/builtin/packages/heffte/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/helics/package.py b/var/spack/repos/builtin/packages/helics/package.py
index 757809caac..2bac35579f 100644
--- a/var/spack/repos/builtin/packages/helics/package.py
+++ b/var/spack/repos/builtin/packages/helics/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/help2man/package.py b/var/spack/repos/builtin/packages/help2man/package.py
index 5ec6a24f95..6b000e7203 100644
--- a/var/spack/repos/builtin/packages/help2man/package.py
+++ b/var/spack/repos/builtin/packages/help2man/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,6 +13,7 @@ class Help2man(AutotoolsPackage, GNUMirrorPackage):
homepage = "https://www.gnu.org/software/help2man/"
gnu_mirror_path = "help2man/help2man-1.47.11.tar.xz"
+ version('1.47.16', sha256='3ef8580c5b86e32ca092ce8de43df204f5e6f714b0cd32bc6237e6cd0f34a8f4')
version('1.47.11', sha256='5985b257f86304c8791842c0c807a37541d0d6807ee973000cf8a3fe6ad47b88')
version('1.47.8', sha256='528f6a81ad34cbc76aa7dce5a82f8b3d2078ef065271ab81fda033842018a8dc')
version('1.47.4', sha256='d4ecf697d13f14dd1a78c5995f06459bff706fd1ce593d1c02d81667c0207753')
diff --git a/var/spack/repos/builtin/packages/henson/package.py b/var/spack/repos/builtin/packages/henson/package.py
index 4e6bb04755..358e223b45 100644
--- a/var/spack/repos/builtin/packages/henson/package.py
+++ b/var/spack/repos/builtin/packages/henson/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hepmc/package.py b/var/spack/repos/builtin/packages/hepmc/package.py
index eb47504343..bd52994dfb 100644
--- a/var/spack/repos/builtin/packages/hepmc/package.py
+++ b/var/spack/repos/builtin/packages/hepmc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,9 +8,12 @@ class Hepmc(CMakePackage):
"""The HepMC package is an object oriented, C++ event record for
High Energy Physics Monte Carlo generators and simulation."""
- homepage = "http://hepmc.web.cern.ch/hepmc/"
- url = "http://hepmc.web.cern.ch/hepmc/releases/hepmc2.06.09.tgz"
+ homepage = "https://hepmc.web.cern.ch/hepmc/"
+ url = "https://hepmc.web.cern.ch/hepmc/releases/hepmc2.06.11.tgz"
+ tags = ['hep']
+
+ version('2.06.11', sha256='86b66ea0278f803cde5774de8bd187dd42c870367f1cbf6cdaec8dc7cf6afc10')
version('2.06.10', sha256='5adedd9e3f7447e1e5fc01b72f745ab87da2c1611df89208bb3d7c6ea94c11a4')
version('2.06.09', sha256='e0f8fddd38472c5615210894444686ac5d72df3be682f7d151b562b236d9b422')
version('2.06.08', sha256='8be6c1793e0a045f07ddb88bb64b46de7e66a52e75fb72b3f82f9a3e3ba8a8ce')
@@ -35,5 +38,5 @@ class Hepmc(CMakePackage):
if version <= Version("2.06.08"):
url = "http://lcgapp.cern.ch/project/simu/HepMC/download/HepMC-{0}.tar.gz"
else:
- url = "http://hepmc.web.cern.ch/hepmc/releases/hepmc{0}.tgz"
+ url = "https://hepmc.web.cern.ch/hepmc/releases/hepmc{0}.tgz"
return url.format(version)
diff --git a/var/spack/repos/builtin/packages/hepmc3/package.py b/var/spack/repos/builtin/packages/hepmc3/package.py
index 361d3826f5..079a53ce83 100644
--- a/var/spack/repos/builtin/packages/hepmc3/package.py
+++ b/var/spack/repos/builtin/packages/hepmc3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,6 +14,8 @@ class Hepmc3(CMakePackage):
url = "https://gitlab.cern.ch/hepmc/HepMC3/-/archive/3.2.1/HepMC3-3.2.1.tar.gz"
git = "https://gitlab.cern.ch/hepmc/HepMC3.git"
+ tags = ['hep']
+
maintainers = ['vvolkl']
version('3.2.2', sha256='0e8cb4f78f804e38f7d29875db66f65e4c77896749d723548cc70fb7965e2d41')
diff --git a/var/spack/repos/builtin/packages/hepmcanalysis/package.py b/var/spack/repos/builtin/packages/hepmcanalysis/package.py
index 5f48eced86..500a3437f1 100644
--- a/var/spack/repos/builtin/packages/hepmcanalysis/package.py
+++ b/var/spack/repos/builtin/packages/hepmcanalysis/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,6 +15,8 @@ class Hepmcanalysis(MakefilePackage):
version('3.4.13', sha256='be9937c6de493a5671258919493b0caa0cecca77853a2075f5cecce1071e0029')
+ tags = ['hep']
+
depends_on('hepmc')
depends_on('fastjet')
depends_on('root')
diff --git a/var/spack/repos/builtin/packages/heppdt/package.py b/var/spack/repos/builtin/packages/heppdt/package.py
index d4d393b7aa..7951e819e6 100644
--- a/var/spack/repos/builtin/packages/heppdt/package.py
+++ b/var/spack/repos/builtin/packages/heppdt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,6 +15,8 @@ class Heppdt(AutotoolsPackage):
homepage = "https://cdcvs.fnal.gov/redmine/projects/heppdt/wiki"
url = "https://lcgpackages.web.cern.ch/lcgpackages/tarFiles/sources/HepPDT-2.06.01.tar.gz"
+ tags = ['hep']
+
version('3.04.01', sha256='2c1c39eb91295d3ded69e0d3f1a38b1cb55bc3f0cde37b725ffd5d722f63c0f6')
version('3.04.00', sha256='c5f0eefa19dbbae99f2b6a2ab1ad8fd5d5f844fbbbf96e62f0ddb68cc6a7d5f3')
version('3.03.02', sha256='409d940badbec672c139cb8972c88847b3f9a2476a336f4f7ee6924f8d08426c')
diff --git a/var/spack/repos/builtin/packages/heputils/package.py b/var/spack/repos/builtin/packages/heputils/package.py
index e856d7b5d0..6c839066bd 100644
--- a/var/spack/repos/builtin/packages/heputils/package.py
+++ b/var/spack/repos/builtin/packages/heputils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,6 +13,8 @@ class Heputils(MakefilePackage):
homepage = "https://bitbucket.org/andybuckley/heputils/src/default/"
url = "https://bitbucket.org/andybuckley/heputils/get/heputils-1.3.2.tar.gz"
+ tags = ['hep']
+
version('1.3.2', sha256='be43586979ab1a81a55348d795c2f63a5da19fc6367d5f66f354217c76c809c0')
version('1.3.1', sha256='7f33ef44364a3d3a39cc65005fb6aa9dfd06bd1b18b41151c0e5e3d28d6ba15b')
version('1.3.0', sha256='1ec9d9d71d409ce6b2e668e4927b1090ddf2ee9acf25457f767925cf89b24852')
diff --git a/var/spack/repos/builtin/packages/hercules/package.py b/var/spack/repos/builtin/packages/hercules/package.py
index 6754581999..fa70625625 100644
--- a/var/spack/repos/builtin/packages/hercules/package.py
+++ b/var/spack/repos/builtin/packages/hercules/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/herwig3/package.py b/var/spack/repos/builtin/packages/herwig3/package.py
index 6f529c10bf..cc8cafb5ac 100644
--- a/var/spack/repos/builtin/packages/herwig3/package.py
+++ b/var/spack/repos/builtin/packages/herwig3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,6 +13,8 @@ class Herwig3(AutotoolsPackage):
homepage = "https://herwig.hepforge.org"
url = "https://herwig.hepforge.org/downloads/Herwig-7.2.1.tar.bz2"
+ tags = ['hep']
+
version('7.2.1', sha256='d4fff32f21c5c08a4b2e563c476b079859c2c8e3b78d853a8a60da96d5eea686')
depends_on('autoconf', type='build')
diff --git a/var/spack/repos/builtin/packages/herwigpp/package.py b/var/spack/repos/builtin/packages/herwigpp/package.py
index c3cdf7791d..d6d4988393 100644
--- a/var/spack/repos/builtin/packages/herwigpp/package.py
+++ b/var/spack/repos/builtin/packages/herwigpp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,6 +13,8 @@ class Herwigpp(AutotoolsPackage):
homepage = "https://herwig.hepforge.org/"
url = "http://lcgpackages.web.cern.ch/lcgpackages/tarFiles/sources/MCGeneratorsTarFiles/Herwig++-2.7.1.tar.bz2"
+ tags = ['hep']
+
version('2.7.1', '80a189376bb65f5ec4e64f42e76c00ea9102d8224010563a424fc11e619a6ad6')
patch('herwig++-2.7.1.patch', when='@2.7.1', level=0)
diff --git a/var/spack/repos/builtin/packages/hevea/package.py b/var/spack/repos/builtin/packages/hevea/package.py
new file mode 100644
index 0000000000..cc15269458
--- /dev/null
+++ b/var/spack/repos/builtin/packages/hevea/package.py
@@ -0,0 +1,29 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Hevea(MakefilePackage):
+ """Hevea a fast Latex to HTML translator"""
+
+ homepage = "http://hevea.inria.fr/"
+ url = "https://github.com/maranget/hevea/archive/v2.35.tar.gz"
+ git = "https://github.com/maranget/hevea.git"
+
+ maintainers = ['scemama', 'cessenat']
+
+ version('develop', branch='master')
+ version('2.35', sha256='78f834cc7a8112ec59d0b8acdfbed0c8ac7dbb85f964d0be1f4eed04f25cdf54')
+ version('2.34', sha256='f505a2a5bafdc2ea389ec521876844e6fdcb5c1b656396b7e8421c1631469ea2')
+ version('2.33', sha256='122f9023f9cfe8b41dd8965b7d9669df21bf41e419bcf5e9de5314f428380d0f')
+ version('2.32', sha256='f0c12ee3936364a3aa26da384e3d2ad2344be0091f04f9531f04ecb1dca98aca')
+
+ # Dependency demands ocamlbuild
+ depends_on('ocaml')
+ depends_on('ocamlbuild')
+
+ def edit(self, spec, prefix):
+ env['PREFIX'] = self.spec.prefix
diff --git a/var/spack/repos/builtin/packages/hibench/package.py b/var/spack/repos/builtin/packages/hibench/package.py
index d32dac6eac..a4f0bfd1c4 100644
--- a/var/spack/repos/builtin/packages/hibench/package.py
+++ b/var/spack/repos/builtin/packages/hibench/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hic-pro/package.py b/var/spack/repos/builtin/packages/hic-pro/package.py
index 2d6bdf63a8..6ddc63d00a 100644
--- a/var/spack/repos/builtin/packages/hic-pro/package.py
+++ b/var/spack/repos/builtin/packages/hic-pro/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hicolor-icon-theme/package.py b/var/spack/repos/builtin/packages/hicolor-icon-theme/package.py
new file mode 100644
index 0000000000..7e898d5bdb
--- /dev/null
+++ b/var/spack/repos/builtin/packages/hicolor-icon-theme/package.py
@@ -0,0 +1,26 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+class HicolorIconTheme(AutotoolsPackage):
+ """icon-theme contains the standard also references the default
+ icon theme called hicolor."""
+
+ homepage = "https://www.freedesktop.org/wiki/Software/icon-theme/"
+ url = "http://icon-theme.freedesktop.org/releases/hicolor-icon-theme-0.17.tar.xz"
+
+ version('0.17', sha256='317484352271d18cbbcfac3868eab798d67fff1b8402e740baa6ff41d588a9d8')
+
+ def setup_dependent_build_environment(self, env, dependent_spec):
+ env.prepend_path('XDG_DATA_DIRS', self.prefix.share)
+
+ def setup_dependent_run_environment(self, env, dependent_spec):
+ env.prepend_path('XDG_DATA_DIRS', self.prefix.share)
+
+ def setup_build_environment(self, env):
+ env.prepend_path("XDG_DATA_DIRS", self.prefix.share)
+
+ def setup_run_environment(self, env):
+ env.prepend_path("XDG_DATA_DIRS", self.prefix.share)
diff --git a/var/spack/repos/builtin/packages/highfive/package.py b/var/spack/repos/builtin/packages/highfive/package.py
index ed43ea26e3..0818bdbaa4 100644
--- a/var/spack/repos/builtin/packages/highfive/package.py
+++ b/var/spack/repos/builtin/packages/highfive/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/highwayhash/package.py b/var/spack/repos/builtin/packages/highwayhash/package.py
index 77c3e1414d..7673280221 100644
--- a/var/spack/repos/builtin/packages/highwayhash/package.py
+++ b/var/spack/repos/builtin/packages/highwayhash/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hiop/package.py b/var/spack/repos/builtin/packages/hiop/package.py
index f0603381dd..8850556878 100644
--- a/var/spack/repos/builtin/packages/hiop/package.py
+++ b/var/spack/repos/builtin/packages/hiop/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hip-rocclr/package.py b/var/spack/repos/builtin/packages/hip-rocclr/package.py
index 41e330b40b..1f0fb72fdc 100644
--- a/var/spack/repos/builtin/packages/hip-rocclr/package.py
+++ b/var/spack/repos/builtin/packages/hip-rocclr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -24,16 +24,18 @@ class HipRocclr(CMakePackage):
url = "https://github.com/ROCm-Developer-Tools/ROCclr/archive/rocm-{0}.tar.gz"
return url.format(version)
+ version('4.0.0', sha256='8db502d0f607834e3b882f939d33e8abe2f9b55ddafaf1b0c2cd29a0425ed76a')
+ version('3.10.0', sha256='d1ac02840c2dcb3d5fa3008fe9e313767ebe6d1dcf978a924341834ec96ebfe2')
version('3.9.0', sha256='d248958672ae35ab7f9fbd83827ccf352e2756dfa7819f6b614ace2e1a9a064e')
version('3.8.0', sha256='10d8aa6f5af7b51813015da603c4e75edc863c3530793f6ed9769ca345c08ed6')
version('3.7.0', sha256='a49f464bb2eab6317e87e3cc249aba3b2517a34fbdfe50175f0437f69a219adc')
version('3.5.0', sha256='87c1ee9f02b8aa487b628c543f058198767c474cec3d21700596a73c028959e1')
depends_on('cmake@3:', type='build')
- depends_on('mesa~llvm@18.3: swr=none', type='link')
- depends_on('libelf', type='link', when="@3.7.0:")
+ depends_on('mesa18~llvm@18.3: swr=none', type='link')
+ depends_on('libelf', type='link', when="@3.7.0:3.8.0")
depends_on('numactl', type='link', when="@3.7.0:")
- for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0']:
+ for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('hsakmt-roct@' + ver, type='build', when='@' + ver)
depends_on('hsa-rocr-dev@' + ver, type='build', when='@' + ver)
depends_on('comgr@' + ver, type='build', when='@' + ver)
@@ -65,6 +67,7 @@ class HipRocclr(CMakePackage):
destination='',
placement='opencl-on-vdi',
when='@3.8.0')
+
resource(name='opencl-on-vdi',
url='https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/archive/rocm-3.9.0.tar.gz',
sha256='286ff64304905384ce524cd8794c28aee216befd6c9267d4187a12e5a21e2daf',
@@ -73,6 +76,22 @@ class HipRocclr(CMakePackage):
placement='opencl-on-vdi',
when='@3.9.0')
+ resource(name='opencl-on-vdi',
+ url='https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/archive/rocm-3.10.0.tar.gz',
+ sha256='3aa9dc5a5f570320b04b35ee129ce9ff21062d2770df934c6c307913f975e93d',
+ expand=True,
+ destination='',
+ placement='opencl-on-vdi',
+ when='@3.10.0')
+
+ resource(name='opencl-on-vdi',
+ url='https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/archive/rocm-4.0.0.tar.gz',
+ sha256='d43ea5898c6b9e730b5efabe8367cc136a9260afeac5d0fe85b481d625dd7df1',
+ expand=True,
+ destination='',
+ placement='opencl-on-vdi',
+ when='@4.0.0')
+
@run_after('install')
def deploy_missing_files(self):
if '@3.5.0' in self.spec:
diff --git a/var/spack/repos/builtin/packages/hip/0003-Improve-compilation-without-git-repo.3.10.0.patch b/var/spack/repos/builtin/packages/hip/0003-Improve-compilation-without-git-repo.3.10.0.patch
new file mode 100644
index 0000000000..d7f1a8dff3
--- /dev/null
+++ b/var/spack/repos/builtin/packages/hip/0003-Improve-compilation-without-git-repo.3.10.0.patch
@@ -0,0 +1,56 @@
+From 3a05d9ee5af2d318d27ee4b8e81542e2c81b9d5a Mon Sep 17 00:00:00 2001
+From: Harmen Stoppels <harmenstoppels@gmail.com>
+Date: Mon, 11 Jan 2021 16:38:14 +0100
+Subject: [PATCH] Improve compilation without git repo
+
+---
+ CMakeLists.txt | 17 +++++++++--------
+ 1 file changed, 9 insertions(+), 8 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 7831bb4d..c0c7a536 100755
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -42,9 +42,17 @@ string(REPLACE "." ";" VERSION_LIST ${HIP_BASE_VERSION})
+ list(GET VERSION_LIST 0 HIP_VERSION_MAJOR)
+ list(GET VERSION_LIST 1 HIP_VERSION_MINOR)
+
+-find_package(Git)
++# only look for git when we have a git repo
++if (IS_DIRECTORY "${PROJECT_SOURCE_DIR}/.git")
++ find_package(Git)
++endif()
+
+ # FIXME: Two different version strings used.
++
++set(HIP_PACKAGING_VERSION_PATCH "0")
++set(HIP_VERSION_GITDATE "0")
++set(HIP_VERSION_PATCH "0")
++
+ if(GIT_FOUND)
+ # get date information based on UTC
+ # use the last two digits of year + week number + day in the week as HIP_VERSION_GITDATE
+@@ -88,9 +96,6 @@ if(GIT_FOUND)
+ else()
+ set(HIP_PACKAGING_VERSION_PATCH ${HIP_VERSION_GITDATE}.${HIP_VERSION_GITCOUNT}-${HIP_VERSION_GITHASH})
+ endif()
+-else()
+- # FIXME: Some parts depend on this being set.
+- set(HIP_PACKAGING_VERSION_PATCH "0")
+ endif()
+
+ ## Debian package specific variables
+@@ -488,10 +493,6 @@ endif()
+ # Generate .hipVersion
+ file(WRITE "${PROJECT_BINARY_DIR}/.hipVersion" ${_versionInfo})
+
+-if(NOT DEFINED HIP_VERSION_GITDATE)
+- set(HIP_VERSION_GITDATE 0)
+-endif()
+-
+ # Build doxygen documentation
+ find_program(DOXYGEN_EXE doxygen)
+ if(DOXYGEN_EXE)
+--
+2.25.1
+
diff --git a/var/spack/repos/builtin/packages/hip/0003-Improve-compilation-without-git-repo.3.9.0.patch b/var/spack/repos/builtin/packages/hip/0003-Improve-compilation-without-git-repo.3.9.0.patch
new file mode 100644
index 0000000000..2bb5074df2
--- /dev/null
+++ b/var/spack/repos/builtin/packages/hip/0003-Improve-compilation-without-git-repo.3.9.0.patch
@@ -0,0 +1,56 @@
+From db2a538d9beaef9092dff19c36ed8a2e291bc69a Mon Sep 17 00:00:00 2001
+From: Harmen Stoppels <harmenstoppels@gmail.com>
+Date: Mon, 11 Jan 2021 16:38:14 +0100
+Subject: [PATCH 1/2] Improve compilation without git repo
+
+---
+ CMakeLists.txt | 17 +++++++++--------
+ 1 file changed, 9 insertions(+), 8 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 7f5bdad9..ca0e7ed4 100755
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -44,9 +44,17 @@ string(REPLACE "." ";" VERSION_LIST ${HIP_BASE_VERSION})
+ list(GET VERSION_LIST 0 HIP_VERSION_MAJOR)
+ list(GET VERSION_LIST 1 HIP_VERSION_MINOR)
+
+-find_package(Git)
++# only look for git when we have a git repo
++if (IS_DIRECTORY "${PROJECT_SOURCE_DIR}/.git")
++ find_package(Git)
++endif()
+
+ # FIXME: Two different version strings used.
++
++set(HIP_PACKAGING_VERSION_PATCH "0")
++set(HIP_VERSION_GITDATE "0")
++set(HIP_VERSION_PATCH "0")
++
+ if(GIT_FOUND)
+ # get date information based on UTC
+ # use the last two digits of year + week number + day in the week as HIP_VERSION_GITDATE
+@@ -90,9 +98,6 @@ if(GIT_FOUND)
+ else()
+ set(HIP_PACKAGING_VERSION_PATCH ${HIP_VERSION_GITDATE}.${HIP_VERSION_GITCOUNT}-${HIP_VERSION_GITHASH})
+ endif()
+-else()
+- # FIXME: Some parts depend on this being set.
+- set(HIP_PACKAGING_VERSION_PATCH "0")
+ endif()
+
+ add_to_config(_versionInfo HIP_VERSION_MAJOR)
+@@ -447,10 +452,6 @@ endif()
+ # Generate .hipVersion
+ file(WRITE "${PROJECT_BINARY_DIR}/.hipVersion" ${_versionInfo})
+
+-if(NOT DEFINED HIP_VERSION_GITDATE)
+- set(HIP_VERSION_GITDATE 0)
+-endif()
+-
+ # Generate hip_version.h
+ set(_versionInfoHeader
+ "// Auto-generated by cmake\n
+--
+2.25.1
+
diff --git a/var/spack/repos/builtin/packages/hip/0004-Drop-clang-rt-builtins-linking-on-hip-host.3.10.0.patch b/var/spack/repos/builtin/packages/hip/0004-Drop-clang-rt-builtins-linking-on-hip-host.3.10.0.patch
new file mode 100644
index 0000000000..a930858378
--- /dev/null
+++ b/var/spack/repos/builtin/packages/hip/0004-Drop-clang-rt-builtins-linking-on-hip-host.3.10.0.patch
@@ -0,0 +1,32 @@
+From 8b266132ee180ff8cc17b394ba64850f207a3dab Mon Sep 17 00:00:00 2001
+From: Harmen Stoppels <harmenstoppels@gmail.com>
+Date: Tue, 12 Jan 2021 12:26:44 +0100
+Subject: [PATCH] Drop clang rt builtins linking on hip::host
+
+Ref this comment
+https://github.com/ROCm-Developer-Tools/HIP/pull/2217#discussion_r555402581:
+
+> Yea, this should only be linked on hip::device as I believe its needed
+> for __fp16 support on the GPU. If users need this on the host-side,
+> then they should explicitly add it.
+---
+ hip-config.cmake.in | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/hip-config.cmake.in b/hip-config.cmake.in
+index 6dfbd527..0ac1b659 100644
+--- a/hip-config.cmake.in
++++ b/hip-config.cmake.in
+@@ -206,9 +206,6 @@ if(HIP_COMPILER STREQUAL "clang")
+ endif()
+
+ # Add support for __fp16 and _Float16, explicitly link with compiler-rt
+- set_property(TARGET hip::host APPEND PROPERTY
+- INTERFACE_LINK_LIBRARIES -L${HIP_CLANG_INCLUDE_PATH}/../lib/linux -lclang_rt.builtins-x86_64
+- )
+ set_property(TARGET hip::device APPEND PROPERTY
+ INTERFACE_LINK_LIBRARIES -L${HIP_CLANG_INCLUDE_PATH}/../lib/linux -lclang_rt.builtins-x86_64
+ )
+--
+2.25.1
+
diff --git a/var/spack/repos/builtin/packages/hip/0004-Drop-clang-rt-builtins-linking-on-hip-host.3.9.0.patch b/var/spack/repos/builtin/packages/hip/0004-Drop-clang-rt-builtins-linking-on-hip-host.3.9.0.patch
new file mode 100644
index 0000000000..936b333277
--- /dev/null
+++ b/var/spack/repos/builtin/packages/hip/0004-Drop-clang-rt-builtins-linking-on-hip-host.3.9.0.patch
@@ -0,0 +1,35 @@
+From 053bb794c57424fc47d53d8914bca1dc8d776a34 Mon Sep 17 00:00:00 2001
+From: Harmen Stoppels <harmenstoppels@gmail.com>
+Date: Tue, 12 Jan 2021 12:26:44 +0100
+Subject: [PATCH 2/2] Drop clang rt builtins linking on hip::host
+
+Ref this comment
+https://github.com/ROCm-Developer-Tools/HIP/pull/2217#discussion_r555402581:
+
+> Yea, this should only be linked on hip::device as I believe its needed
+> for __fp16 support on the GPU. If users need this on the host-side,
+> then they should explicitly add it.
+---
+ hip-config.cmake.in | 6 ------
+ 1 file changed, 6 deletions(-)
+
+diff --git a/hip-config.cmake.in b/hip-config.cmake.in
+index ba340134..4daff392 100644
+--- a/hip-config.cmake.in
++++ b/hip-config.cmake.in
+@@ -204,12 +204,6 @@ if(HIP_COMPILER STREQUAL "clang")
+ endif()
+
+ # Add support for __fp16 and _Float16, explicitly link with compiler-rt
+- set_property(TARGET hip::host APPEND PROPERTY
+- INTERFACE_COMPILE_OPTIONS -L${HIP_CLANG_INCLUDE_PATH}/../lib/linux -lclang_rt.builtins-x86_64
+- )
+- set_property(TARGET hip::host APPEND PROPERTY
+- INTERFACE_LINK_LIBRARIES -L${HIP_CLANG_INCLUDE_PATH}/../lib/linux -lclang_rt.builtins-x86_64
+- )
+ set_property(TARGET hip::device APPEND PROPERTY
+ INTERFACE_COMPILE_OPTIONS -L${HIP_CLANG_INCLUDE_PATH}/../lib/linux -lclang_rt.builtins-x86_64
+ )
+--
+2.25.1
+
diff --git a/var/spack/repos/builtin/packages/hip/package.py b/var/spack/repos/builtin/packages/hip/package.py
index d983244a0e..ac992785dc 100644
--- a/var/spack/repos/builtin/packages/hip/package.py
+++ b/var/spack/repos/builtin/packages/hip/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,10 +13,12 @@ class Hip(CMakePackage):
single source code."""
homepage = "https://github.com/ROCm-Developer-Tools/HIP"
- url = "https://github.com/ROCm-Developer-Tools/HIP/archive/rocm-3.8.0.tar.gz"
+ url = "https://github.com/ROCm-Developer-Tools/HIP/archive/rocm-4.0.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ version('4.0.0', sha256='d7b78d96cec67c55b74ea3811ce861b16d300410bc687d0629e82392e8d7c857')
+ version('3.10.0', sha256='0082c402f890391023acdfd546760f41cb276dffc0ffeddc325999fd2331d4e8')
version('3.9.0', sha256='25ad58691456de7fd9e985629d0ed775ba36a2a0e0b21c086bd96ba2fb0f7ed1')
version('3.8.0', sha256='6450baffe9606b358a4473d5f3e57477ca67cff5843a84ee644bcf685e75d839')
version('3.7.0', sha256='757b392c3beb29beea27640832fbad86681dbd585284c19a4c2053891673babd')
@@ -24,9 +26,9 @@ class Hip(CMakePackage):
depends_on('cmake@3:', type='build')
depends_on('perl@5.10:', type=('build', 'run'))
- depends_on('mesa~llvm@18.3:')
+ depends_on('mesa18~llvm@18.3:')
- for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0']:
+ for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('hip-rocclr@' + ver, type='build', when='@' + ver)
depends_on('hsakmt-roct@' + ver, type='build', when='@' + ver)
depends_on('hsa-rocr-dev@' + ver, type='link', when='@' + ver)
@@ -47,7 +49,15 @@ class Hip(CMakePackage):
patch('0001-Make-it-possible-to-specify-the-package-folder-of-ro.patch', when='@3.5.0:')
# See https://github.com/ROCm-Developer-Tools/HIP/pull/2141
- patch('0002-Fix-detection-of-HIP_CLANG_ROOT.patch', when='@3.5.0:')
+ patch('0002-Fix-detection-of-HIP_CLANG_ROOT.patch', when='@:3.9.0')
+
+ # See https://github.com/ROCm-Developer-Tools/HIP/pull/2218
+ patch('0003-Improve-compilation-without-git-repo.3.9.0.patch', when='@3.9.0')
+ patch('0003-Improve-compilation-without-git-repo.3.10.0.patch', when='@3.10.0:4.0.0')
+
+ # See https://github.com/ROCm-Developer-Tools/HIP/pull/2219
+ patch('0004-Drop-clang-rt-builtins-linking-on-hip-host.3.9.0.patch', when='@3.9.0')
+ patch('0004-Drop-clang-rt-builtins-linking-on-hip-host.3.10.0.patch', when='@3.10.0:4.0.0')
def get_rocm_prefix_info(self):
# External packages in Spack do not currently contain dependency
@@ -73,15 +83,18 @@ class Hip(CMakePackage):
'llvm-amdgpu': fallback_prefix.llvm,
'hsa-rocr-dev': fallback_prefix.hsa,
'rocminfo': fallback_prefix.bin,
- 'rocm-device-libs': fallback_prefix,
- 'device_lib_path': fallback_prefix
+ 'rocm-device-libs': fallback_prefix.lib,
+ 'device_lib_path': fallback_prefix.lib
}
else:
mydict = dict((name, self.spec[name].prefix)
for name in ('llvm-amdgpu', 'hsa-rocr-dev',
'rocminfo', 'rocm-device-libs'))
mydict['rocm-path'] = self.spec.prefix
- device_lib_path = mydict['rocm-device-libs'].amdgcn.bitcode
+ if '@:3.8.0' in self.spec:
+ device_lib_path = mydict['rocm-device-libs'].lib
+ else:
+ device_lib_path = mydict['rocm-device-libs'].amdgcn.bitcode
mydict['device_lib_path'] = device_lib_path
return mydict
@@ -101,6 +114,10 @@ class Hip(CMakePackage):
env.set('ROCMINFO_PATH', rocm_prefixes['rocminfo'])
env.set('DEVICE_LIB_PATH', rocm_prefixes['device_lib_path'])
env.set('HIP_PATH', rocm_prefixes['rocm-path'])
+ # this guy is used in comgr, see the following file:
+ # https://github.com/RadeonOpenCompute/ROCm-CompilerSupport/blob/rocm-4.0.0/lib/comgr/src/comgr-env.cpp
+ # it's necessary on runtime when using hiprtcCreateProgram and such
+ env.set('LLVM_PATH', rocm_prefixes['llvm-amdgpu'])
env.set('HIPCC_COMPILE_FLAGS_APPEND',
'--rocm-path={0}'.format(rocm_prefixes['device_lib_path']))
@@ -127,16 +144,6 @@ class Hip(CMakePackage):
'INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"',
'hip-config.cmake.in', string=True)
- def flag_handler(self, name, flags):
- if name == 'cxxflags' and '@3.7.0:' in self.spec:
- incl = self.spec['hip-rocclr'].prefix.include
- flags.append('-I {0}/compiler/lib/include'.format(incl))
- flags.append('-I {0}/elf'.format(incl))
-
- return (flags, None, None)
-
- @run_before('install')
- def filter_sbang(self):
perl = self.spec['perl'].command
kwargs = {'ignore_absent': False, 'backup': False, 'string': False}
@@ -149,8 +156,6 @@ class Hip(CMakePackage):
]
filter_file(match, substitute, *files, **kwargs)
- @run_before('install')
- def filter_numactl(self):
if '@3.7.0:' in self.spec:
numactl = self.spec['numactl'].prefix.lib
kwargs = {'ignore_absent': False, 'backup': False, 'string': False}
@@ -160,6 +165,14 @@ class Hip(CMakePackage):
substitute = " -L{numactl} -lnuma".format(numactl=numactl)
filter_file(match, substitute, 'hipcc', **kwargs)
+ def flag_handler(self, name, flags):
+ if name == 'cxxflags' and '@3.7.0:' in self.spec:
+ incl = self.spec['hip-rocclr'].prefix.include
+ flags.append('-I {0}/compiler/lib/include'.format(incl))
+ flags.append('-I {0}/elf'.format(incl))
+
+ return (flags, None, None)
+
def cmake_args(self):
args = [
'-DHIP_COMPILER=clang',
diff --git a/var/spack/repos/builtin/packages/hipblas/package.py b/var/spack/repos/builtin/packages/hipblas/package.py
index 6262681ea3..3b93406ae9 100644
--- a/var/spack/repos/builtin/packages/hipblas/package.py
+++ b/var/spack/repos/builtin/packages/hipblas/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,8 +12,10 @@ class Hipblas(CMakePackage):
homepage = "https://github.com/ROCmSoftwarePlatform/hipBLAS"
git = "https://github.com/ROCmSoftwarePlatform/hipBLAS.git"
- url = "https://github.com/ROCmSoftwarePlatform/hipBLAS/archive/rocm-3.8.0.tar.gz"
+ url = "https://github.com/ROCmSoftwarePlatform/hipBLAS/archive/rocm-4.0.0.tar.gz"
+ version('4.0.0', sha256='6cc03af891b36cce8266d32ba8dfcf7fdfcc18afa7a6cc058fbe28bcf8528d94')
+ version('3.10.0', sha256='45cb5e3b37f0845bd9e0d09912df4fa0ce88dd508ec9448241ae6600d3c4b1e8')
version('3.9.0', sha256='82ddd57fd905a5d4060665349ec017ff757a7c121cb9310574be3c3630b3545f')
version('3.8.0', sha256='33cb82e8b2658ae2096f39e41492ba8b6852ac37c26a730612b8642d9d29abe3')
version('3.7.0', sha256='9840a493ab4838c86696ceb33ce07c34b5f59f62db4f88cb3af62b69d84f8729')
@@ -21,9 +23,9 @@ class Hipblas(CMakePackage):
maintainers = ['srekolam', 'arjun-raj-kuppala']
- for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0']:
+ for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('hip@' + ver, when='@' + ver)
- depends_on('rocsolver@' + ver, type='build', when='@' + ver)
+ depends_on('rocsolver@' + ver, when='@' + ver)
depends_on('rocblas@' + ver, type='link', when='@' + ver)
depends_on('rocm-device-libs@' + ver, type='build', when='@' + ver)
depends_on('comgr@' + ver, type='build', when='@' + ver)
@@ -33,6 +35,15 @@ class Hipblas(CMakePackage):
'-DBUILD_CLIENTS_SAMPLES=OFF',
'-DBUILD_CLIENTS_TESTS=OFF'
]
+
+ # hipblas actually prefers CUDA over AMD GPUs when you have it
+ # installed...
+ if self.spec.satisfies('@:3.9.0'):
+ args.append('-DTRY_CUDA=OFF')
+
+ else:
+ args.append('-DUSE_CUDA=OFF')
+
return args
def setup_build_environment(self, env):
diff --git a/var/spack/repos/builtin/packages/hipcub/package.py b/var/spack/repos/builtin/packages/hipcub/package.py
index 4b7e9b55fb..b9cc1d0a1c 100644
--- a/var/spack/repos/builtin/packages/hipcub/package.py
+++ b/var/spack/repos/builtin/packages/hipcub/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,10 +10,12 @@ class Hipcub(CMakePackage):
""" Radeon Open Compute Parallel Primitives Library"""
homepage = "https://github.com/ROCmSoftwarePlatform/hipCUB"
- url = "https://github.com/ROCmSoftwarePlatform/hipCUB/archive/rocm-3.5.0.tar.gz"
+ url = "https://github.com/ROCmSoftwarePlatform/hipCUB/archive/rocm-4.0.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ version('4.0.0', sha256='656bd6ec547810fd74bcebba41453e6e729f3fdb7346f5564ab71fc0346c3fb5')
+ version('3.10.0', sha256='759da5c6ef0cc1e4ecf2083659e78b8bbaa015f0bb360177674e0feb3032c5be')
version('3.9.0', sha256='c46995f9f18733ec18e370c21d7c0d6ac719e8e9d3254c6303a20ba90831e12e')
version('3.8.0', sha256='11d7d97268aeb953c34a80125c4577e27cb57cb6095606533105cecf2bd2ec9c')
version('3.7.0', sha256='a2438632ea1606e83a8c0e1a8777aa5fdca66d77d90862642eb0ec2314b4978d')
@@ -23,7 +25,8 @@ class Hipcub(CMakePackage):
depends_on('cmake@3:', type='build')
depends_on('numactl', type='link', when='@3.7.0:')
- for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0']:
+
+ for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('hip@' + ver, type='build', when='@' + ver)
depends_on('rocm-device-libs@' + ver, type='build', when='@' + ver)
depends_on('comgr@' + ver, type='build', when='@' + ver)
diff --git a/var/spack/repos/builtin/packages/hipfort/package.py b/var/spack/repos/builtin/packages/hipfort/package.py
index 5e10c1ac54..14b8a1cd18 100644
--- a/var/spack/repos/builtin/packages/hipfort/package.py
+++ b/var/spack/repos/builtin/packages/hipfort/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,17 +10,20 @@ class Hipfort(CMakePackage):
""" Radeon Open Compute Parallel Primitives Library"""
homepage = "https://github.com/ROCmSoftwarePlatform/hipfort"
- url = "https://github.com/ROCmSoftwarePlatform/hipfort/archive/rocm-3.8.0.tar.gz"
+ url = "https://github.com/ROCmSoftwarePlatform/hipfort/archive/rocm-4.0.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ version('4.0.0', sha256='a497645c33e0eff39abd5344756de63424733cde2837b7376c924b44ed5ae9c9')
+ version('3.10.0', sha256='44173522d9eb2a18ec1cea2d9b00b237fe70501f0849bd6be3decbb73389487a')
version('3.9.0', sha256='a3c4e125a9b56820446a65bd76b8caa196fddb0e0723eb513f0bcde9abd6a0c0')
version('3.8.0', sha256='0132e9949f758dd8b8a462d133b3316101440cd503aa6c53bea9e34e61bbb3cc')
variant('build_type', default='Release', values=("Release", "Debug"), description='CMake build type')
depends_on('cmake@3:', type='build')
- for ver in ['3.8.0', '3.9.0']:
+
+ for ver in ['3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('hip@' + ver, type='build', when='@' + ver)
def setup_build_environment(self, env):
diff --git a/var/spack/repos/builtin/packages/hipify-clang/package.py b/var/spack/repos/builtin/packages/hipify-clang/package.py
index 0e0280c1e9..69a4f8a556 100644
--- a/var/spack/repos/builtin/packages/hipify-clang/package.py
+++ b/var/spack/repos/builtin/packages/hipify-clang/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,10 +11,12 @@ class HipifyClang(CMakePackage):
sources into HIP sources"""
homepage = "https://github.com/ROCm-Developer-Tools/HIPIFY"
- url = "https://github.com/ROCm-Developer-Tools/HIPIFY/archive/rocm-3.9.0.tar.gz"
+ url = "https://github.com/ROCm-Developer-Tools/HIPIFY/archive/rocm-4.0.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ version('4.0.0', sha256='9d3906d606fca2bcb58f5f2a70cc4b9e298ca0e12a84ee5f18e42b7df97b38a4')
+ version('3.10.0', sha256='7ebba22ed70100150bedddffa08a84f91b546347662862487b6703a1edce2623')
version('3.9.0', sha256='07adb98e91ddd7420d873806866d53eaf77527fac57799e846823522191ba89a')
version('3.8.0', sha256='095b876a750a0dc1ae669102ba53d668f65062b823f8be745411db86a2db7916')
version('3.7.0', sha256='dd58c8b88d4b7877f2521b02954de79d570fa36fc751a17d33e56436ee02571e')
@@ -23,5 +25,5 @@ class HipifyClang(CMakePackage):
variant('build_type', default='Release', values=("Release", "Debug"), description='CMake build type')
depends_on('cmake@3.5:', type='build')
- for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0']:
+ for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('llvm-amdgpu@' + ver, when='@' + ver)
diff --git a/var/spack/repos/builtin/packages/hipsparse/package.py b/var/spack/repos/builtin/packages/hipsparse/package.py
index c330adbbab..92c0cb27a5 100644
--- a/var/spack/repos/builtin/packages/hipsparse/package.py
+++ b/var/spack/repos/builtin/packages/hipsparse/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,10 +12,12 @@ class Hipsparse(CMakePackage):
homepage = "https://github.com/ROCmSoftwarePlatform/hipSPARSE"
git = "https://github.com/ROCmSoftwarePlatform/hipSPARSE.git"
- url = "https://github.com/ROCmSoftwarePlatform/hipSPARSE/archive/rocm-3.8.0.tar.gz"
+ url = "https://github.com/ROCmSoftwarePlatform/hipSPARSE/archive/rocm-4.0.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ version('4.0.0', sha256='fc3736b2ea203209021616b2ffbcdd664781d692b07b8e8bb7f78b42dabbd5e5')
+ version('3.10.0', sha256='7fd863ebf6eed09325c23ba06d9008b2f2c1345283d1a331e329e1a512b602f7')
version('3.9.0', sha256='ab0ea3dd9b68a126291ed5a35e50fc85d0aeb35fe862f5d9e544435e4262c435')
version('3.8.0', sha256='8874c100e9ba54587a6057c2a0e555a0903254a16e9e01c2385bae1b027f83b5')
version('3.7.0', sha256='a2f02d8fc6ad9a561f06dacde54ecafd30563c5c95f93819a5694e5b650dad7f')
@@ -24,14 +26,15 @@ class Hipsparse(CMakePackage):
depends_on('cmake@3:', type='build')
depends_on('git', type='build')
- for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0']:
+ for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('rocm-cmake@' + ver, type='build', when='@' + ver)
depends_on('rocm-device-libs@' + ver, type='build', when='@' + ver)
depends_on('rocsparse@' + ver, type='build', when='@' + ver)
depends_on('hip@' + ver, when='@' + ver)
depends_on('comgr@' + ver, type='build', when='@' + ver)
depends_on('hsa-rocr-dev@' + ver, type='link', when='@' + ver)
- for ver in ['3.8.0', '3.9.0']:
+
+ for ver in ['3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('rocprim@' + ver, type='link', when='@' + ver)
patch('e79985dccde22d826aceb3badfc643a3227979d2.patch', when='@3.5.0')
diff --git a/var/spack/repos/builtin/packages/hipsycl/package.py b/var/spack/repos/builtin/packages/hipsycl/package.py
index 02c59bc791..78ccc1fb9a 100644
--- a/var/spack/repos/builtin/packages/hipsycl/package.py
+++ b/var/spack/repos/builtin/packages/hipsycl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hiredis/package.py b/var/spack/repos/builtin/packages/hiredis/package.py
index 74e4552b2c..2457a36c67 100644
--- a/var/spack/repos/builtin/packages/hiredis/package.py
+++ b/var/spack/repos/builtin/packages/hiredis/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hisat2/package.py b/var/spack/repos/builtin/packages/hisat2/package.py
index 834013d666..ec0af3d74d 100644
--- a/var/spack/repos/builtin/packages/hisat2/package.py
+++ b/var/spack/repos/builtin/packages/hisat2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hisea/package.py b/var/spack/repos/builtin/packages/hisea/package.py
index c78fe166a0..ad858936e8 100644
--- a/var/spack/repos/builtin/packages/hisea/package.py
+++ b/var/spack/repos/builtin/packages/hisea/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hive/package.py b/var/spack/repos/builtin/packages/hive/package.py
index a32e08a80c..014047cdb6 100644
--- a/var/spack/repos/builtin/packages/hive/package.py
+++ b/var/spack/repos/builtin/packages/hive/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hmmer/package.py b/var/spack/repos/builtin/packages/hmmer/package.py
index 9e808a7eb5..46ea732502 100644
--- a/var/spack/repos/builtin/packages/hmmer/package.py
+++ b/var/spack/repos/builtin/packages/hmmer/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/homer/package.py b/var/spack/repos/builtin/packages/homer/package.py
index 2f5fffdcce..8000558e31 100644
--- a/var/spack/repos/builtin/packages/homer/package.py
+++ b/var/spack/repos/builtin/packages/homer/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hoomd-blue/package.py b/var/spack/repos/builtin/packages/hoomd-blue/package.py
index 34d180e5cf..1d6a01b4cd 100644
--- a/var/spack/repos/builtin/packages/hoomd-blue/package.py
+++ b/var/spack/repos/builtin/packages/hoomd-blue/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hotspot/package.py b/var/spack/repos/builtin/packages/hotspot/package.py
index 99a79d771e..053bb0702f 100644
--- a/var/spack/repos/builtin/packages/hotspot/package.py
+++ b/var/spack/repos/builtin/packages/hotspot/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hpcc/package.py b/var/spack/repos/builtin/packages/hpcc/package.py
index b8888513db..9069ce9036 100644
--- a/var/spack/repos/builtin/packages/hpcc/package.py
+++ b/var/spack/repos/builtin/packages/hpcc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hpccg/package.py b/var/spack/repos/builtin/packages/hpccg/package.py
index a93c585266..d93f79bbcd 100644
--- a/var/spack/repos/builtin/packages/hpccg/package.py
+++ b/var/spack/repos/builtin/packages/hpccg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hpcg/package.py b/var/spack/repos/builtin/packages/hpcg/package.py
index 4de150cda2..ff03bbf722 100644
--- a/var/spack/repos/builtin/packages/hpcg/package.py
+++ b/var/spack/repos/builtin/packages/hpcg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -23,6 +23,7 @@ class Hpcg(AutotoolsPackage):
variant('openmp', default=True, description='Enable OpenMP support')
patch('https://github.com/hpcg-benchmark/hpcg/commit/e9e0b7e6cae23e1f30dd983c2ce2d3bd34d56f75.patch', sha256='23b9de83042eb7a8207fdddcfa79ae2cc1a17e8e623e2224c7751d7c328ee482', when='%gcc@9:')
+ patch('https://github.com/hpcg-benchmark/hpcg/commit/e9e0b7e6cae23e1f30dd983c2ce2d3bd34d56f75.patch', sha256='23b9de83042eb7a8207fdddcfa79ae2cc1a17e8e623e2224c7751d7c328ee482', when='%aocc')
depends_on('mpi@1.1:')
@@ -30,8 +31,9 @@ class Hpcg(AutotoolsPackage):
build_targets = ['arch={0}'.format(arch)]
def configure(self, spec, prefix):
- CXXFLAGS = '-O3 -ffast-math '
- CXXFLAGS += '-ftree-vectorize -ftree-vectorizer-verbose=0 '
+ CXXFLAGS = '-O3 -ffast-math -ftree-vectorize '
+ if '%aocc' not in self.spec:
+ CXXFLAGS += ' -ftree-vectorizer-verbose=0 '
if '+openmp' in self.spec:
CXXFLAGS += self.compiler.openmp_flag
config = [
diff --git a/var/spack/repos/builtin/packages/hpctoolkit/package.py b/var/spack/repos/builtin/packages/hpctoolkit/package.py
index 44b85d4e11..956857c264 100644
--- a/var/spack/repos/builtin/packages/hpctoolkit/package.py
+++ b/var/spack/repos/builtin/packages/hpctoolkit/package.py
@@ -1,9 +1,10 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
+from spack.util.environment import SetEnv
class Hpctoolkit(AutotoolsPackage):
@@ -20,6 +21,7 @@ class Hpctoolkit(AutotoolsPackage):
version('develop', branch='develop')
version('master', branch='master')
+ # version('2021.02.10', commit='9eea97d9aaff38f6460f25957cd1588093fb19c7')
version('2020.08.03', commit='d9d13c705d81e5de38e624254cf0875cce6add9a')
version('2020.07.21', commit='4e56c780cffc53875aca67d6472a2fb3678970eb')
version('2020.06.12', commit='ac6ae1156e77d35596fea743ed8ae768f7222f19')
@@ -55,13 +57,18 @@ class Hpctoolkit(AutotoolsPackage):
variant('cuda', default=False,
description='Support CUDA on NVIDIA GPUs (2020.03.01 or later).')
+ variant('rocm', default=False,
+ description='Support ROCM on AMD GPUs, requires ROCM as '
+ 'external packages (2021.02.10 or later).')
+
boost_libs = (
'+atomic +chrono +date_time +filesystem +system +thread +timer'
' +graph +regex +shared +multithreaded visibility=global'
)
- depends_on('binutils+libiberty~nls', type='link', when='@2020.04.00:')
- depends_on('binutils@:2.33.1+libiberty~nls', type='link', when='@:2020.03.99')
+ depends_on('binutils@:2.34 +libiberty', type='link', when='@2021.00:')
+ depends_on('binutils@:2.34 +libiberty~nls', type='link', when='@2020.04:2020.99')
+ depends_on('binutils@:2.33.1 +libiberty~nls', type='link', when='@:2020.03.99')
depends_on('boost' + boost_libs)
depends_on('bzip2+shared', type='link')
depends_on('dyninst@9.3.2:')
@@ -69,7 +76,8 @@ class Hpctoolkit(AutotoolsPackage):
depends_on('gotcha@1.0.3:')
depends_on('intel-tbb+shared')
depends_on('libdwarf')
- depends_on('libmonitor+hpctoolkit')
+ depends_on('libmonitor+hpctoolkit~dlopen', when='@2021.00:')
+ depends_on('libmonitor+hpctoolkit', when='@:2020.99')
depends_on('libunwind@1.4: +xz+pic', when='@2020.09.00:')
depends_on('libunwind@1.4: +xz', when='@:2020.08.99')
depends_on('mbedtls+pic')
@@ -84,15 +92,22 @@ class Hpctoolkit(AutotoolsPackage):
depends_on('libpfm4', when='~papi')
depends_on('mpi', when='+mpi')
+ depends_on('hip', when='+rocm')
+ depends_on('rocm-dbgapi', when='+rocm')
+ depends_on('roctracer-dev', when='+rocm')
+
conflicts('%gcc@:4.7.99', when='^dyninst@10.0.0:',
msg='hpctoolkit requires gnu gcc 4.8.x or later')
conflicts('%gcc@:4.99.99', when='@2020.03.01:',
msg='hpctoolkit requires gnu gcc 5.x or later')
- conflicts('+cuda', when='@2018.0.0:2019.99.99',
+ conflicts('+cuda', when='@:2019.99.99',
msg='cuda requires 2020.03.01 or later')
+ conflicts('+rocm', when='@:2020.99.99',
+ msg='rocm requires 2021.02.10 or later')
+
flag_handler = AutotoolsPackage.build_system_flags
def configure_args(self):
@@ -126,6 +141,13 @@ class Hpctoolkit(AutotoolsPackage):
else:
args.append('--with-perfmon=%s' % spec['libpfm4'].prefix)
+ if spec.satisfies('+rocm'):
+ args.extend([
+ '--with-rocm-hip=%s' % spec['hip'].prefix,
+ '--with-rocm-dbgapi=%s' % spec['rocm-dbgapi'].prefix,
+ '--with-rocm-tracer=%s' % spec['roctracer-dev'].prefix,
+ ])
+
# MPI options for hpcprof-mpi.
if '+cray' in spec:
args.extend([
@@ -139,3 +161,18 @@ class Hpctoolkit(AutotoolsPackage):
args.append('--enable-all-static')
return args
+
+ # Remove setenv of ROCM, HIP, etc from the module file. Loading
+ # the hpctoolkit module is not relevant to building a GPU app and
+ # some variables (HIP_PATH) intefere with building the app.
+ def setup_run_environment(self, env):
+ keeplist = []
+ for elt in env.env_modifications:
+ if not (isinstance(elt, SetEnv)
+ and (elt.name.find('ROCM') >= 0
+ or elt.name.find('HIP') >= 0
+ or elt.name.find('CUDA') >= 0)):
+ keeplist.append(elt)
+
+ env.clear()
+ env.env_modifications = keeplist
diff --git a/var/spack/repos/builtin/packages/hpcviewer/package.py b/var/spack/repos/builtin/packages/hpcviewer/package.py
index 0de66bbf83..ffe85fc86b 100644
--- a/var/spack/repos/builtin/packages/hpcviewer/package.py
+++ b/var/spack/repos/builtin/packages/hpcviewer/package.py
@@ -1,9 +1,10 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
+import os.path
import platform
@@ -28,7 +29,7 @@ def trace_url(ver, mach):
class Hpcviewer(Package):
"""Binary distribution of hpcviewer and hpctraceviewer for the Rice
- HPCToolkit (Linux x86_64, ppc64 and ppc64le). Note: hpctoolkit
+ HPCToolkit (Linux x86_64, ppc64le and aarch64). Note: hpctoolkit
databases are platform independent, so you don't need to install
hpctoolkit to run the viewers and it's common to run hpcrun and
hpcviewer on different machines."""
@@ -37,6 +38,11 @@ class Hpcviewer(Package):
maintainers = ['mwkrentel']
viewer_sha = {
+ ('2021.01', 'aarch64'): 'fe797a1c97943f7509c36a570198291e674cd4a793c1d6538a2761d66542dc52',
+ ('2021.01', 'ppc64le'): 'ba4035de2ae208280c3744000ea08d2d7f8c31bd7095f722e442ddc289648063',
+ ('2021.01', 'x86_64'): '99eba4e1c613203c4658f2874d0e79e1620db7a22ac7dcb810801886ba9f8a79',
+ ('2020.12', 'ppc64le'): 'ce0d741aa8849621c03183dbf11a0dc1f6d296e3de80e25976a7f2a2750899c4',
+ ('2020.12', 'x86_64'): '29c5e1427893f0652e863fd6d54a8585077662597e5073532ec9f3b116626498',
('2020.07', 'x86_64'): '19951662626c7c9817c4a75269c85810352dc48ae9a62dfb6ce4a5b502de2118',
('2020.07', 'ppc64'): '3f5d9358ef8ff9ba4f6dcaa4d7132f41ba55f0c132d9fd1e2f6da18341648a4e',
('2020.07', 'ppc64le'): 'e236a8578dc247279d1021aa35bac47e2d4864b906efcef76c0610ee0086b353',
@@ -109,16 +115,20 @@ class Hpcviewer(Package):
}
for key in viewer_sha.keys():
- if key in trace_sha and key[1] == platform.machine():
+ if key[1] == platform.machine():
version(key[0], url=viewer_url(*key), sha256=viewer_sha[key])
- resource(name='hpctraceviewer', url=trace_url(*key),
- sha256=trace_sha[key], placement='TRACE',
- when='@{0}'.format(key[0]))
+ # Current versions include the viewer and trace viewer in
+ # one tar file. Before 2020.07, the trace viewer was a
+ # separate tar file (resource).
+ if key in trace_sha:
+ resource(name='hpctraceviewer', url=trace_url(*key),
+ sha256=trace_sha[key], placement='TRACE',
+ when='@{0}'.format(key[0]))
- depends_on('java@8', type=('build', 'run'))
+ depends_on('java@11:', type=('build', 'run'), when='@2021.0:')
+ depends_on('java@8', type=('build', 'run'), when='@:2020.99')
- conflicts('target=aarch64:', msg='hpcviewer is not available on arm')
conflicts('platform=darwin', msg='hpcviewer requires a manual install on MacOS, see homepage')
# Both hpcviewer and trace viewer have an install script.
@@ -128,10 +138,16 @@ class Hpcviewer(Package):
prefix
]
- inst = Executable(join_path('.', 'install'))
- inst(*args)
-
- cd('TRACE')
+ # Sometimes the script is install.sh, sometimes install.
+ inst_path = join_path('.', 'install.sh')
+ if not os.path.exists(inst_path):
+ inst_path = join_path('.', 'install')
- inst = Executable(join_path('.', 'install'))
+ inst = Executable(inst_path)
inst(*args)
+
+ # Older versions used a separate resource for the traceviewer.
+ if os.path.isdir('TRACE'):
+ cd('TRACE')
+ inst = Executable(inst_path)
+ inst(*args)
diff --git a/var/spack/repos/builtin/packages/hpgmg/package.py b/var/spack/repos/builtin/packages/hpgmg/package.py
index f5567ba2c9..baa2fba510 100644
--- a/var/spack/repos/builtin/packages/hpgmg/package.py
+++ b/var/spack/repos/builtin/packages/hpgmg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hping/package.py b/var/spack/repos/builtin/packages/hping/package.py
index bc70bbaa66..0959090e9f 100644
--- a/var/spack/repos/builtin/packages/hping/package.py
+++ b/var/spack/repos/builtin/packages/hping/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hpl/package.py b/var/spack/repos/builtin/packages/hpl/package.py
index 834f05349d..3dc6b7e932 100644
--- a/var/spack/repos/builtin/packages/hpl/package.py
+++ b/var/spack/repos/builtin/packages/hpl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hpx/package.py b/var/spack/repos/builtin/packages/hpx/package.py
index 80f29a2a81..7f5d780fa1 100644
--- a/var/spack/repos/builtin/packages/hpx/package.py
+++ b/var/spack/repos/builtin/packages/hpx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,6 +17,7 @@ class Hpx(CMakePackage, CudaPackage):
version('master', git='https://github.com/STEllAR-GROUP/hpx.git', branch='master')
version('stable', git='https://github.com/STEllAR-GROUP/hpx.git', tag='stable')
+ version('1.6.0', sha256='4ab715613c1e1808edc93451781cc9bc98feec4e422ccd4322858a680f6d9017')
version('1.5.1', sha256='b2f9358ce2a9446b9d8fb1998c30913e7199b007aa82e46d0aa05c763331c635')
version('1.5.0', sha256='de2901d8ae017592c513e0af9cf58de295abc9802e55ece00424cbd8a3801920')
version('1.4.1', sha256='965dabe44d17480e326d92da4eec56722d98b33943c53d2b0f8f4655cb208023')
@@ -166,4 +167,8 @@ class Hpx(CMakePackage, CudaPackage):
self.define('OTF2_ROOT', spec['otf2'].prefix),
]
+ # it seems like there was a bug in the default version of APEX in 1.5.x
+ if spec.satisfies("@1.5"):
+ args += [self.define('HPX_WITH_APEX_TAG', "v2.3.0")]
+
return args
diff --git a/var/spack/repos/builtin/packages/hpx5/package.py b/var/spack/repos/builtin/packages/hpx5/package.py
index 78dbf25ec7..bd09957cfc 100644
--- a/var/spack/repos/builtin/packages/hpx5/package.py
+++ b/var/spack/repos/builtin/packages/hpx5/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hsa-rocr-dev/package.py b/var/spack/repos/builtin/packages/hsa-rocr-dev/package.py
index b43627e09f..84f59c556b 100644
--- a/var/spack/repos/builtin/packages/hsa-rocr-dev/package.py
+++ b/var/spack/repos/builtin/packages/hsa-rocr-dev/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,10 +14,12 @@ class HsaRocrDev(CMakePackage):
Linux HSA Runtime for Boltzmann (ROCm) platforms."""
homepage = "https://github.com/RadeonOpenCompute/ROCR-Runtime"
- url = "https://github.com/RadeonOpenCompute/ROCR-Runtime/archive/rocm-3.9.0.tar.gz"
+ url = "https://github.com/RadeonOpenCompute/ROCR-Runtime/archive/rocm-4.0.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ version('4.0.0', sha256='e84c48e80ea38698a5bd5da3940048ad3cab3696d10a53132acad07ca357f17c')
+ version('3.10.0', sha256='58866d8acdb6cc45227f2412098e37c65908b20ed3dd54901dfb515c15ad5f71')
version('3.9.0', sha256='d722fb61f62037894957856f2c2d17231c4622bdf75db372321ee30206dceeb6')
version('3.8.0', sha256='1dfad4d89d6c099e15073ed38e083bcf6cc463470dcc8a1e1b9e22060c060c72')
version('3.7.0', sha256='0071d14431f73ce74574e61d0786f2b7cf34b14ea898a1f54b6e1b06b2d468c0')
@@ -27,9 +29,9 @@ class HsaRocrDev(CMakePackage):
depends_on('cmake@3:', type="build")
depends_on('libelf@0.8:', type='link')
- for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0']:
+ for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('hsakmt-roct@' + ver, type=('link', 'run'), when='@' + ver)
- for ver in ['3.7.0', '3.8.0', '3.9.0']:
+ for ver in ['3.7.0', '3.8.0', '3.9.0', '4.0.0']:
depends_on('llvm-amdgpu@' + ver, type=('link', 'run'), when='@' + ver)
# Both 3.5.0 and 3.7.0 force INSTALL_RPATH in different ways
diff --git a/var/spack/repos/builtin/packages/hsakmt-roct/package.py b/var/spack/repos/builtin/packages/hsakmt-roct/package.py
index 2b000f8c10..d37f28b4d5 100644
--- a/var/spack/repos/builtin/packages/hsakmt-roct/package.py
+++ b/var/spack/repos/builtin/packages/hsakmt-roct/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,10 +13,12 @@ class HsakmtRoct(CMakePackage):
with the ROCk driver."""
homepage = "https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface"
- url = "https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface/archive/rocm-3.9.0.tar.gz"
+ url = "https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface/archive/rocm-4.0.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ version('4.0.0', sha256='a6960fffc8388731ee18953faae12d1449c582e3b3594418845a544455895f42')
+ version('3.10.0', sha256='a3d629247a763cc36f5d48e9122cee8498574af628e14e3c38686c05f66e3e06')
version('3.9.0', sha256='e1bb8b010855736d8a97957222f648532d42646ec2964776a9a1455dc81104a3')
version('3.8.0', sha256='cd5440f31f592737b5d05448704bd01f91f73cfcab8a7829922e81332575cfe8')
version('3.7.0', sha256='b357fe7f425996c49f41748923ded1a140933de7564a70a828ed6ded6d896458')
diff --git a/var/spack/repos/builtin/packages/hsakmt/package.py b/var/spack/repos/builtin/packages/hsakmt/package.py
index 07a1afdb32..e941ba3d2a 100644
--- a/var/spack/repos/builtin/packages/hsakmt/package.py
+++ b/var/spack/repos/builtin/packages/hsakmt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hsf-cmaketools/package.py b/var/spack/repos/builtin/packages/hsf-cmaketools/package.py
index 7805351509..fb66f82ce4 100644
--- a/var/spack/repos/builtin/packages/hsf-cmaketools/package.py
+++ b/var/spack/repos/builtin/packages/hsf-cmaketools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hssp/package.py b/var/spack/repos/builtin/packages/hssp/package.py
index 073cbedea6..30ba0cd92a 100644
--- a/var/spack/repos/builtin/packages/hssp/package.py
+++ b/var/spack/repos/builtin/packages/hssp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,16 +18,16 @@ class Hssp(AutotoolsPackage):
homepage = "https://github.com/cmbi/hssp"
url = "https://github.com/cmbi/hssp/archive/3.0.10.tar.gz"
- version('3.0.10', sha256='b475d6fa62098df0e54c8dbdaa0b32de93bf5a393335f73f9b5a7e95f3090d2a')
- version('3.0.9', sha256='42a9a93c48d22478212dcaf6ceb3feb64443e4cb2e8cccdd402b47a595d16658')
- version('3.0.8', sha256='45e316ff2c700f09971027f9e813cf3139d36ab5951d337948fafab53e00d821')
- version('3.0.7', sha256='eb6c3276eeb1261c55568ebfae301033904fe619d84b380313dbf137a2b06cd1')
- version('3.0.6', sha256='b868e0077270361276c1c256e2f137ad95f7e84deeb61ae267f7559ebaab7d59')
- version('3.0.5', sha256='fded09f08cfb12e578e4823295dc0d0aaeff6559d5e099df23c5bcc911597ccd')
- version('3.0.4', sha256='fe786c3a75dafe93bb6a97c2840c3edb0d0e81446874082dc053e136dd3b7f68')
- version('3.0.3', sha256='c4826ed74a74e3238f45104cb21ca4ad9e5b49498891e991a3a3a7a3b9bdbe1d')
- version('3.0.2', sha256='edb43dc7407a5e91d68d27b732887c6e70a1988e8ddbba03d430713c40c40139')
- version('3.0.1', sha256='8f56bc51d7b5f035442c189dd7096f0dd25528303722507365f5e746d5ad9a73')
+ version('3.0.10', sha256='9b2cba9c498e65fd48730f0fc86ca2b480bf12903a2c131521023f3a161fe870')
+ version('3.0.9', sha256='2f67743ffd233ed9c4cd298e8fc65a332b863052945fb62bd61d7f1776274da9')
+ version('3.0.8', sha256='56c926d2e43a3dd6324de558dde868751355f385d1b60fd85586a0a2c2bc82e0')
+ version('3.0.7', sha256='3f1c09eb2cdc679119375a9ee552f853bcd1e959f030cb67ca6bd33809e6cdf2')
+ version('3.0.6', sha256='8d3bc75bd9513dd0800a630049969639758692e42a28028651543320cce70d5f')
+ version('3.0.5', sha256='8ca1de53e8add9e7af18a9f565bbcfa388f4d6ddcd2b7a1eae668c836ec0d09c')
+ version('3.0.4', sha256='67a39d325ce9c17a416a26172fd5ae28878be3557cd611d7cbb9bcaf09507e76')
+ version('3.0.3', sha256='42fc2b293fc60407ae097cc8021fd7cf0044092aa366c11ee99015beec83beea')
+ version('3.0.2', sha256='76b4275c8cde120509d7920609fca983f2b04249a649d0aa802c69fd09e5f8cf')
+ version('3.0.1', sha256='62a703d15bdfec82fdbd2a4275e1973b6a1ac6ccd4dbec75036f16faacaa9dce')
depends_on('autoconf', type='build')
depends_on('automake', type='build')
diff --git a/var/spack/repos/builtin/packages/hstr/package.py b/var/spack/repos/builtin/packages/hstr/package.py
index 367d9d8d0b..f4f4bc399f 100644
--- a/var/spack/repos/builtin/packages/hstr/package.py
+++ b/var/spack/repos/builtin/packages/hstr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/htop/package.py b/var/spack/repos/builtin/packages/htop/package.py
index e0d9960467..dd6ff29663 100644
--- a/var/spack/repos/builtin/packages/htop/package.py
+++ b/var/spack/repos/builtin/packages/htop/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/htslib/package.py b/var/spack/repos/builtin/packages/htslib/package.py
index 95c38d4a23..5799b44d52 100644
--- a/var/spack/repos/builtin/packages/htslib/package.py
+++ b/var/spack/repos/builtin/packages/htslib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/http-get/package.py b/var/spack/repos/builtin/packages/http-get/package.py
index aa05b9f355..897f6f5fc1 100644
--- a/var/spack/repos/builtin/packages/http-get/package.py
+++ b/var/spack/repos/builtin/packages/http-get/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,15 +12,15 @@ class HttpGet(MakefilePackage):
It does not do gopher, ftp, file, news, or any other type of URL,
only HTTP. It can be configured to do HTTPS fetches as well."""
- homepage = "http://www.acme.com/software/http_get/"
- url = "http://www.acme.com/software/http_get/http_get_23May2018.tar.gz"
+ homepage = "https://www.acme.com/software/http_get/"
+ url = "https://www.acme.com/software/http_get/http_get_23May2018.tar.gz"
- version('2018-05-23', sha256='7d46ce25e53b6d3e27a99c1853c3054a046cc97d5e30a713a7ec986cfe7c4fe0')
+ version('2018-05-23', sha256='f04e9d911fbc0cdb7c4ebe91dae1cc951ea14b657f48309c3952dcc938bb2e0d')
def url_for_version(self, version):
ver = datetime.datetime.strptime(str(version), '%Y-%m-%d').date()
verstr = datetime.datetime.strftime(ver, '%d%b%Y')
- return "http://www.acme.com/software/http_get/http_get_{0}.tar.gz".format(verstr)
+ return "https://www.acme.com/software/http_get/http_get_{0}.tar.gz".format(verstr)
def edit(self, spec, prefix):
makefile = FileFilter("Makefile")
diff --git a/var/spack/repos/builtin/packages/http-load/package.py b/var/spack/repos/builtin/packages/http-load/package.py
index 4b2f61d18d..3be6189dde 100644
--- a/var/spack/repos/builtin/packages/http-load/package.py
+++ b/var/spack/repos/builtin/packages/http-load/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,15 +10,15 @@ import datetime
class HttpLoad(MakefilePackage):
"""http_load - multiprocessing http test client"""
- homepage = "http://www.acme.com/software/http_load/"
- url = "http://www.acme.com/software/http_load/http_load-09Mar2016.tar.gz"
+ homepage = "https://www.acme.com/software/http_load/"
+ url = "https://www.acme.com/software/http_load/http_load-09Mar2016.tar.gz"
- version('2016-03-09', sha256='a2bf118d88f6acd2a082cbf275d141538149caaa0a4ce1bcc66680668e781306')
+ version('2016-03-09', sha256='5a7b00688680e3fca8726dc836fd3f94f403fde831c71d73d9a1537f215b4587')
def url_for_version(self, version):
ver = datetime.datetime.strptime(str(version), '%Y-%m-%d').date()
verstr = datetime.datetime.strftime(ver, '%d%b%Y')
- return "http://www.acme.com/software/http_load/http_load-{0}.tar.gz".format(verstr)
+ return "https://www.acme.com/software/http_load/http_load-{0}.tar.gz".format(verstr)
def edit(self, spec, prefix):
makefile = FileFilter("Makefile")
diff --git a/var/spack/repos/builtin/packages/http-parser/package.py b/var/spack/repos/builtin/packages/http-parser/package.py
index 552b7d2cbb..503a99bdbf 100644
--- a/var/spack/repos/builtin/packages/http-parser/package.py
+++ b/var/spack/repos/builtin/packages/http-parser/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/http-ping/package.py b/var/spack/repos/builtin/packages/http-ping/package.py
index 7cf731e019..c7e21361bb 100644
--- a/var/spack/repos/builtin/packages/http-ping/package.py
+++ b/var/spack/repos/builtin/packages/http-ping/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,15 +11,15 @@ class HttpPing(MakefilePackage):
"""http_ping is like the regular ping command, except that it sends
HTTP requests instead of ICMP echo requests."""
- homepage = "http://www.acme.com/software/http_ping/"
- url = "http://www.acme.com/software/http_ping/http_ping_09Mar2016.tar.gz"
+ homepage = "https://www.acme.com/software/http_ping/"
+ url = "https://www.acme.com/software/http_ping/http_ping_09Mar2016.tar.gz"
- version('2016-03-09', sha256='6bdc570c776a760d2c08f7d18e00b0edd74cf603400929c66c512801b6bb5871')
+ version('2016-03-09', sha256='f8b95773aaed09839a44a1927f979a62752d57aace79da3846bfb73e6c9805e9')
def url_for_version(self, version):
ver = datetime.datetime.strptime(str(version), '%Y-%m-%d').date()
verstr = datetime.datetime.strftime(ver, '%d%b%Y')
- return "http://www.acme.com/software/http_ping/http_ping_{0}.tar.gz".format(verstr)
+ return "https://www.acme.com/software/http_ping/http_ping_{0}.tar.gz".format(verstr)
def edit(self, spec, prefix):
makefile = FileFilter("Makefile")
diff --git a/var/spack/repos/builtin/packages/http-post/package.py b/var/spack/repos/builtin/packages/http-post/package.py
index bb9c0f2593..8f03a1db96 100644
--- a/var/spack/repos/builtin/packages/http-post/package.py
+++ b/var/spack/repos/builtin/packages/http-post/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,15 +12,15 @@ class HttpPost(MakefilePackage):
to stdout. It does not do gopher, ftp, file, news, or any other type of
URL, only HTTP. It can be configured to do HTTPS POSTs as well."""
- homepage = "http://www.acme.com/software/http_post/"
- url = "http://www.acme.com/software/http_post/http_post_18May2018.tar.gz"
+ homepage = "https://www.acme.com/software/http_post/"
+ url = "https://www.acme.com/software/http_post/http_post_18May2018.tar.gz"
- version('2018-05-18', sha256='981c62bcc5cd12b8531f887b3e3779a63a7b7f370062575cded412865a20ea2c')
+ version('2018-05-18', sha256='6607faa91aea410efb9b86ae0b1b64541b55318831cf6bb3fdee5d68f8adab31')
def url_for_version(self, version):
ver = datetime.datetime.strptime(str(version), '%Y-%m-%d').date()
verstr = datetime.datetime.strftime(ver, '%d%b%Y')
- return "http://www.acme.com/software/http_post/http_post_{0}.tar.gz".format(verstr)
+ return "https://www.acme.com/software/http_post/http_post_{0}.tar.gz".format(verstr)
def edit(self, spec, prefix):
makefile = FileFilter("Makefile")
diff --git a/var/spack/repos/builtin/packages/httpd/package.py b/var/spack/repos/builtin/packages/httpd/package.py
index ed212c34af..5b5a2e28f3 100644
--- a/var/spack/repos/builtin/packages/httpd/package.py
+++ b/var/spack/repos/builtin/packages/httpd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/httperf/package.py b/var/spack/repos/builtin/packages/httperf/package.py
index 4c33f98ed0..caf6c1c0df 100644
--- a/var/spack/repos/builtin/packages/httperf/package.py
+++ b/var/spack/repos/builtin/packages/httperf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/httpie/package.py b/var/spack/repos/builtin/packages/httpie/package.py
index 53b95337b5..1e50477b46 100644
--- a/var/spack/repos/builtin/packages/httpie/package.py
+++ b/var/spack/repos/builtin/packages/httpie/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class Httpie(PythonPackage):
"""Modern command line HTTP client."""
homepage = "https://httpie.org/"
- url = "https://pypi.io/packages/source/h/httpie/httpie-0.9.8.tar.gz"
+ pypi = "httpie/httpie-0.9.8.tar.gz"
version('0.9.9', sha256='f1202e6fa60367e2265284a53f35bfa5917119592c2ab08277efc7fffd744fcb')
version('0.9.8', sha256='515870b15231530f56fe2164190581748e8799b66ef0fe36ec9da3396f0df6e1')
diff --git a/var/spack/repos/builtin/packages/httping/package.py b/var/spack/repos/builtin/packages/httping/package.py
index 7eed1c958a..cd93ef81e6 100644
--- a/var/spack/repos/builtin/packages/httping/package.py
+++ b/var/spack/repos/builtin/packages/httping/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/httpress/package.py b/var/spack/repos/builtin/packages/httpress/package.py
index b4a9dab270..a5198dfa10 100644
--- a/var/spack/repos/builtin/packages/httpress/package.py
+++ b/var/spack/repos/builtin/packages/httpress/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hub/package.py b/var/spack/repos/builtin/packages/hub/package.py
index 7b342b234d..a71bb5eb69 100644
--- a/var/spack/repos/builtin/packages/hub/package.py
+++ b/var/spack/repos/builtin/packages/hub/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hudi/package.py b/var/spack/repos/builtin/packages/hudi/package.py
index 9147829b06..5accbae1f1 100644
--- a/var/spack/repos/builtin/packages/hudi/package.py
+++ b/var/spack/repos/builtin/packages/hudi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hugo/package.py b/var/spack/repos/builtin/packages/hugo/package.py
index fe9df5c110..537a180c0f 100644
--- a/var/spack/repos/builtin/packages/hugo/package.py
+++ b/var/spack/repos/builtin/packages/hugo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hunspell/package.py b/var/spack/repos/builtin/packages/hunspell/package.py
index 8eedf43539..bd9060f5e8 100644
--- a/var/spack/repos/builtin/packages/hunspell/package.py
+++ b/var/spack/repos/builtin/packages/hunspell/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hwloc/package.py b/var/spack/repos/builtin/packages/hwloc/package.py
index 4edabfbf4a..6c22405d1e 100644
--- a/var/spack/repos/builtin/packages/hwloc/package.py
+++ b/var/spack/repos/builtin/packages/hwloc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -30,11 +30,15 @@ class Hwloc(AutotoolsPackage):
maintainers = ['bgoglin']
version('master', branch='master')
+ version('2.4.0', sha256='30404065dc1d6872b0181269d0bb2424fbbc6e3b0a80491aa373109554006544')
+ version('2.3.0', sha256='155480620c98b43ddf9ca66a6c318b363ca24acb5ff0683af9d25d9324f59836')
version('2.2.0', sha256='2defba03ddd91761b858cbbdc2e3a6e27b44e94696dbfa21380191328485a433')
version('2.1.0', sha256='1fb8cc1438de548e16ec3bb9e4b2abb9f7ce5656f71c0906583819fcfa8c2031')
version('2.0.2', sha256='27dcfe42e3fb3422b72ce48b48bf601c0a3e46e850ee72d9bdd17b5863b6e42c')
version('2.0.1', sha256='f1156df22fc2365a31a3dc5f752c53aad49e34a5e22d75ed231cd97eaa437f9d')
version('2.0.0', sha256='a0d425a0fc7c7e3f2c92a272ffaffbd913005556b4443e1887d2e1718d902887')
+ version('1.11.13', sha256='a8f781ae4d347708a07d95e7549039887f151ed7f92263238527dfb0a3709b9d')
+ version('1.11.12', sha256='f1d49433e605dd653a77e1478a78cee095787d554a94afe40d1376bca6708ca5')
version('1.11.11', sha256='74329da3be1b25de8e98a712adb28b14e561889244bf3a8138afe91ab18e0b3a')
version('1.11.10', sha256='0a2530b739d9ebf60c4c1e86adb5451a20d9e78f7798cf78d0147cc6df328aac')
version('1.11.9', sha256='85b978995b67db0b1a12dd1a73b09ef3d39f8e3cb09f8b9c60cf04633acce46c')
diff --git a/var/spack/repos/builtin/packages/hybpiper/package.py b/var/spack/repos/builtin/packages/hybpiper/package.py
index 5f436c7487..81883a397d 100644
--- a/var/spack/repos/builtin/packages/hybpiper/package.py
+++ b/var/spack/repos/builtin/packages/hybpiper/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hybrid-lambda/package.py b/var/spack/repos/builtin/packages/hybrid-lambda/package.py
new file mode 100644
index 0000000000..a3d6425279
--- /dev/null
+++ b/var/spack/repos/builtin/packages/hybrid-lambda/package.py
@@ -0,0 +1,39 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class HybridLambda(AutotoolsPackage):
+ """Hybrid-Lambda is a software package that can simulate gene trees
+ within a rooted species network or a rooted species tree under the
+ coalescent process.
+
+ The main feature of this program is that users can
+ choose to use the standard Kingman coalescent process, which produces
+ bifurcating genealogies, or two other Lambda coalescent processes,
+ which produce multifurcating genealogies. The other feature is that
+ hybrid sim uses extended Newick formatted strings to make it easier to
+ represent hybridization events between species."""
+
+ homepage = "https://github.com/hybridLambda/hybrid-Lambda"
+ git = "https://github.com/hybridLambda/hybrid-Lambda.git"
+
+ version('develop', submodules=True)
+
+ depends_on('autoconf', type='build')
+ depends_on('automake', type='build')
+ depends_on('libtool', type='build')
+ depends_on('m4', type='build')
+ depends_on('boost')
+ depends_on('cppunit', type='test')
+
+ build_directory = 'src'
+
+ @run_after('configure')
+ def change_install_option_in_makefile(self):
+ with working_dir('src'):
+ filter_file(r'INSTALL = /bin/install -c',
+ 'INSTALL = /bin/install -C', 'Makefile')
diff --git a/var/spack/repos/builtin/packages/hybridsim/package.py b/var/spack/repos/builtin/packages/hybridsim/package.py
index 089181ca0b..503a98637f 100644
--- a/var/spack/repos/builtin/packages/hybridsim/package.py
+++ b/var/spack/repos/builtin/packages/hybridsim/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hydra/package.py b/var/spack/repos/builtin/packages/hydra/package.py
index c5afe90b3e..9c50295110 100644
--- a/var/spack/repos/builtin/packages/hydra/package.py
+++ b/var/spack/repos/builtin/packages/hydra/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hydrogen/package.py b/var/spack/repos/builtin/packages/hydrogen/package.py
index 082d8316d7..2998aa1342 100644
--- a/var/spack/repos/builtin/packages/hydrogen/package.py
+++ b/var/spack/repos/builtin/packages/hydrogen/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ import os
from spack import *
-class Hydrogen(CMakePackage, CudaPackage):
+class Hydrogen(CMakePackage, CudaPackage, ROCmPackage):
"""Hydrogen: Distributed-memory dense and sparse-direct linear algebra
and optimization library. Based on the Elemental library."""
@@ -18,6 +18,7 @@ class Hydrogen(CMakePackage, CudaPackage):
maintainers = ['bvanessen']
version('develop', branch='hydrogen')
+ version('1.5.1', sha256='447da564278f98366906d561d9c8bc4d31678c56d761679c2ff3e59ee7a2895c')
version('1.5.0', sha256='03dd487fb23b9fdbc715554a8ea48c3196a1021502e61b0172ef3fdfbee75180')
version('1.4.0', sha256='c13374ff4a6c4d1076e47ba8c8d91a7082588b9958d1ed89cffb12f1d2e1452e')
version('1.3.4', sha256='7979f6656f698f0bbad6798b39d4b569835b3013ff548d98089fce7c283c6741')
@@ -53,8 +54,6 @@ class Hydrogen(CMakePackage, CudaPackage):
variant('mpfr', default=False,
description='Support GNU MPFR\'s'
'arbitrary-precision floating-point arithmetic')
- variant('cuda', default=False,
- description='Builds with support for GPUs via CUDA and cuDNN')
variant('test', default=False,
description='Builds test suite')
variant('al', default=False,
@@ -65,10 +64,13 @@ class Hydrogen(CMakePackage, CudaPackage):
description='Builds with support for FP16 precision data types')
conflicts('~openmp', when='+omp_taskloops')
+ conflicts('+cuda', when='+rocm', msg='CUDA and ROCm support are mutually exclusive')
depends_on('cmake@3.17.0:', type='build')
depends_on('mpi')
depends_on('hwloc@1.11:')
+ depends_on('hwloc +cuda +nvml', when='+cuda')
+ depends_on('hwloc@2.3.0:', when='+rocm')
# Note that #1712 forces us to enumerate the different blas variants
depends_on('openblas', when='blas=openblas')
@@ -91,10 +93,20 @@ class Hydrogen(CMakePackage, CudaPackage):
# Specify the correct version of Aluminum
depends_on('aluminum@:0.3.99', when='@:1.3.99 +al')
depends_on('aluminum@0.4:0.4.99', when='@1.4:1.4.99 +al')
- depends_on('aluminum@0.5:', when='@:1.0,1.5.0: +al')
+ depends_on('aluminum@0.5:', when='@1.5.0:1.5.1 +al')
+ depends_on('aluminum@0.7:', when='@:1.0,1.5.2: +al')
# Add Aluminum variants
depends_on('aluminum +cuda +nccl +ht +cuda_rma', when='+al +cuda')
+ depends_on('aluminum +rocm +rccl +ht', when='+al +rocm')
+
+ for arch in CudaPackage.cuda_arch_values:
+ depends_on('aluminum cuda_arch=%s' % arch, when='+al +cuda cuda_arch=%s' % arch)
+
+ # variants +rocm and amdgpu_targets are not automatically passed to
+ # dependencies, so do it manually.
+ for val in ROCmPackage.amdgpu_targets:
+ depends_on('aluminum amdgpu_target=%s' % val, when='+al +rocm amdgpu_target=%s' % val)
# Note that this forces us to use OpenBLAS until #1712 is fixed
depends_on('lapack', when='blas=openblas ~openmp_blas')
@@ -106,6 +118,7 @@ class Hydrogen(CMakePackage, CudaPackage):
depends_on('cuda', when='+cuda')
depends_on('cub', when='^cuda@:10.99')
+ depends_on('hipcub', when='+rocm')
depends_on('half', when='+half')
depends_on('llvm-openmp', when='%apple-clang +openmp')
@@ -126,7 +139,10 @@ class Hydrogen(CMakePackage, CudaPackage):
def cmake_args(self):
spec = self.spec
+ enable_gpu_fp16 = ('+cuda' in spec and '+half' in spec)
+
args = [
+ '-DCMAKE_CXX_STANDARD=14',
'-DCMAKE_INSTALL_MESSAGE:STRING=LAZY',
'-DBUILD_SHARED_LIBS:BOOL=%s' % ('+shared' in spec),
'-DHydrogen_ENABLE_OPENMP:BOOL=%s' % ('+openmp' in spec),
@@ -136,12 +152,29 @@ class Hydrogen(CMakePackage, CudaPackage):
'-DHydrogen_ENABLE_MPC:BOOL=%s' % ('+mpfr' in spec),
'-DHydrogen_GENERAL_LAPACK_FALLBACK=ON',
'-DHydrogen_ENABLE_ALUMINUM=%s' % ('+al' in spec),
- '-DHydrogen_ENABLE_CUB=%s' % ('+cuda' in spec),
+ '-DHydrogen_ENABLE_CUB=%s' % ('+cuda' in spec or '+rocm' in spec),
'-DHydrogen_ENABLE_CUDA=%s' % ('+cuda' in spec),
+ '-DHydrogen_ENABLE_ROCM=%s' % ('+rocm' in spec),
'-DHydrogen_ENABLE_TESTING=%s' % ('+test' in spec),
'-DHydrogen_ENABLE_HALF=%s' % ('+half' in spec),
+ '-DHydrogen_ENABLE_GPU_FP16=%s' % enable_gpu_fp16,
]
+ if '+cuda' in spec:
+ args.append('-DCMAKE_CUDA_STANDARD=14')
+
+ if '+rocm' in spec:
+ args.extend([
+ '-DHIP_ROOT_DIR={0}'.format(spec['hip'].prefix),
+ '-DHIP_CXX_COMPILER={0}'.format(self.spec['hip'].hipcc)])
+ archs = self.spec.variants['amdgpu_target'].value
+ if archs != 'none':
+ arch_str = ",".join(archs)
+ args.append(
+ '-DHIP_HIPCC_FLAGS=--amdgpu-target={0}'
+ ' -g -fsized-deallocation -fPIC'.format(arch_str)
+ )
+
# Add support for OS X to find OpenMP (LLVM installed via brew)
if self.spec.satisfies('%clang +openmp platform=darwin'):
clang = self.compiler.cc
diff --git a/var/spack/repos/builtin/packages/hyperscan/package.py b/var/spack/repos/builtin/packages/hyperscan/package.py
index 1fd057c7c6..874ce10fdc 100644
--- a/var/spack/repos/builtin/packages/hyperscan/package.py
+++ b/var/spack/repos/builtin/packages/hyperscan/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/hyphy/package.py b/var/spack/repos/builtin/packages/hyphy/package.py
index 851c795b83..00647dc5de 100644
--- a/var/spack/repos/builtin/packages/hyphy/package.py
+++ b/var/spack/repos/builtin/packages/hyphy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,7 +14,7 @@ class Hyphy(CMakePackage):
version('2.3.14', sha256='9e6c817cb649986e3fe944bcaf88be3533e7e62968b9a486c719e951e5ed1cf6')
- depends_on('cmake@3.0:')
+ depends_on('cmake@3.0:', type='build')
depends_on('curl')
conflicts('%gcc@:4.8')
diff --git a/var/spack/repos/builtin/packages/hypre/package.py b/var/spack/repos/builtin/packages/hypre/package.py
index da2b8a03ee..3f8a892395 100644
--- a/var/spack/repos/builtin/packages/hypre/package.py
+++ b/var/spack/repos/builtin/packages/hypre/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,6 +19,8 @@ class Hypre(Package):
maintainers = ['ulrikeyang', 'osborn9', 'balay']
+ test_requires_compiler = True
+
version('develop', branch='master')
version('2.20.0', sha256='5be77b28ddf945c92cde4b52a272d16fb5e9a7dc05e714fc5765948cba802c01')
version('2.19.0', sha256='466b19d8a86c69989a237f6f03f20d35c0c63a818776d2cd071b0a084cffeba5')
@@ -176,6 +178,27 @@ class Hypre(Package):
'-rhsone')
make("install")
+ @run_after('install')
+ def cache_test_sources(self):
+ srcs = ['src/examples']
+ self.cache_extra_test_sources(srcs)
+
+ def test(self):
+ """Perform smoke test on installed HYPRE package."""
+
+ if '+mpi' in self.spec:
+ examples_dir = join_path(self.install_test_root, 'src/examples')
+ with working_dir(examples_dir, create=False):
+ make("HYPRE_DIR=" + self.prefix, "bigint")
+
+ reason = "test: ensuring HYPRE examples run"
+ self.run_test('./ex5big', [], [], installed=True,
+ purpose=reason, skip_missing=True, work_dir='.')
+ self.run_test('./ex15big', [], [], installed=True,
+ purpose=reason, skip_missing=True, work_dir='.')
+
+ make("distclean")
+
@property
def headers(self):
"""Export the main hypre header, HYPRE.h; all other headers can be found
diff --git a/var/spack/repos/builtin/packages/i3/package.py b/var/spack/repos/builtin/packages/i3/package.py
index af598a051a..fbf4c3ed90 100644
--- a/var/spack/repos/builtin/packages/i3/package.py
+++ b/var/spack/repos/builtin/packages/i3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ibm-databroker/package.py b/var/spack/repos/builtin/packages/ibm-databroker/package.py
index b060ff98ad..d5c0faf134 100644
--- a/var/spack/repos/builtin/packages/ibm-databroker/package.py
+++ b/var/spack/repos/builtin/packages/ibm-databroker/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ibm-java/package.py b/var/spack/repos/builtin/packages/ibm-java/package.py
index c0a59942e6..4b3dc2ae9b 100644
--- a/var/spack/repos/builtin/packages/ibm-java/package.py
+++ b/var/spack/repos/builtin/packages/ibm-java/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -22,6 +22,8 @@ class IbmJava(Package):
# not be available for download.
version_list = [
+ ('8.0.6.20', 'ppc64', '88748d1502a35845b18d514dd76835f0f47270c6ffbd81f67f611e32d042b288'),
+ ('8.0.6.20', 'ppc64le', '4a7ac4712548d7630f2471a067406c94c3846fff75a0afc660682129dcf80e5b'),
('8.0.6.11', 'ppc64', '6fd17a6b9a34bb66e0db37f6402dc1b7612d54084c94b859f4a42f445fd174d4'),
('8.0.6.11', 'ppc64le', 'd69ff7519e32e89db88a9a4d4d88d1881524073ac940f35d3860db2c6647be2e'),
('8.0.6.10', 'ppc64', 'ff5151ead88f891624eefe33d80d56c325ca0aa4b93bd96c135cad326993eda2'),
diff --git a/var/spack/repos/builtin/packages/ibmisc/package.py b/var/spack/repos/builtin/packages/ibmisc/package.py
index eabafb0a7e..de77372c14 100644
--- a/var/spack/repos/builtin/packages/ibmisc/package.py
+++ b/var/spack/repos/builtin/packages/ibmisc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/icarus/package.py b/var/spack/repos/builtin/packages/icarus/package.py
index 16e9c80d0e..749164d882 100644
--- a/var/spack/repos/builtin/packages/icarus/package.py
+++ b/var/spack/repos/builtin/packages/icarus/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/iceauth/package.py b/var/spack/repos/builtin/packages/iceauth/package.py
index 28497c8d9e..18f1c5ad24 100644
--- a/var/spack/repos/builtin/packages/iceauth/package.py
+++ b/var/spack/repos/builtin/packages/iceauth/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,6 +18,6 @@ class Iceauth(AutotoolsPackage, XorgPackage):
depends_on('libice')
- depends_on('xproto@7.0.22:', type='build')
+ depends_on('xproto@7.0.22:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/icedtea/package.py b/var/spack/repos/builtin/packages/icedtea/package.py
index 9274251016..01b919e6f9 100644
--- a/var/spack/repos/builtin/packages/icedtea/package.py
+++ b/var/spack/repos/builtin/packages/icedtea/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/icet/package.py b/var/spack/repos/builtin/packages/icet/package.py
index 458777d3a3..95afb15c95 100644
--- a/var/spack/repos/builtin/packages/icet/package.py
+++ b/var/spack/repos/builtin/packages/icet/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ico/package.py b/var/spack/repos/builtin/packages/ico/package.py
index b2c5f991b8..b9ba9c5075 100644
--- a/var/spack/repos/builtin/packages/ico/package.py
+++ b/var/spack/repos/builtin/packages/ico/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,6 +19,6 @@ class Ico(AutotoolsPackage, XorgPackage):
depends_on('libx11@0.99.1:')
- depends_on('xproto@7.0.22:', type='build')
+ depends_on('xproto@7.0.22:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/icu4c/package.py b/var/spack/repos/builtin/packages/icu4c/package.py
index 0663ae6edf..17ddf29cc1 100644
--- a/var/spack/repos/builtin/packages/icu4c/package.py
+++ b/var/spack/repos/builtin/packages/icu4c/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/id3lib/package.py b/var/spack/repos/builtin/packages/id3lib/package.py
index 2825b15152..ac9a4a705b 100644
--- a/var/spack/repos/builtin/packages/id3lib/package.py
+++ b/var/spack/repos/builtin/packages/id3lib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/idba/package.py b/var/spack/repos/builtin/packages/idba/package.py
index 5e4f6780dd..9db9050ba4 100644
--- a/var/spack/repos/builtin/packages/idba/package.py
+++ b/var/spack/repos/builtin/packages/idba/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/idl/package.py b/var/spack/repos/builtin/packages/idl/package.py
index 21804ed11a..964824ab96 100644
--- a/var/spack/repos/builtin/packages/idl/package.py
+++ b/var/spack/repos/builtin/packages/idl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/iegenlib/package.py b/var/spack/repos/builtin/packages/iegenlib/package.py
index ee198fd588..b9920ec874 100644
--- a/var/spack/repos/builtin/packages/iegenlib/package.py
+++ b/var/spack/repos/builtin/packages/iegenlib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ignite/package.py b/var/spack/repos/builtin/packages/ignite/package.py
index a5250fc7ef..d181f9e370 100644
--- a/var/spack/repos/builtin/packages/ignite/package.py
+++ b/var/spack/repos/builtin/packages/ignite/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/igraph/package.py b/var/spack/repos/builtin/packages/igraph/package.py
index 57021a3e13..13a31cc773 100644
--- a/var/spack/repos/builtin/packages/igraph/package.py
+++ b/var/spack/repos/builtin/packages/igraph/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/igv/package.py b/var/spack/repos/builtin/packages/igv/package.py
index 990b5e1962..164502876a 100644
--- a/var/spack/repos/builtin/packages/igv/package.py
+++ b/var/spack/repos/builtin/packages/igv/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/igvtools/package.py b/var/spack/repos/builtin/packages/igvtools/package.py
index 98fb863f9e..2006b7f63d 100644
--- a/var/spack/repos/builtin/packages/igvtools/package.py
+++ b/var/spack/repos/builtin/packages/igvtools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ilmbase/package.py b/var/spack/repos/builtin/packages/ilmbase/package.py
index 7aa9ff8337..940bdb41ef 100644
--- a/var/spack/repos/builtin/packages/ilmbase/package.py
+++ b/var/spack/repos/builtin/packages/ilmbase/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/imagemagick/package.py b/var/spack/repos/builtin/packages/imagemagick/package.py
index 63543ca552..38208f42de 100644
--- a/var/spack/repos/builtin/packages/imagemagick/package.py
+++ b/var/spack/repos/builtin/packages/imagemagick/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -21,6 +21,7 @@ class Imagemagick(AutotoolsPackage):
depends_on('jpeg')
depends_on('pango')
depends_on('libtool', type='build')
+ depends_on('libtool', when='@7.0.8:', type=('build', 'link'))
depends_on('libpng')
depends_on('freetype')
depends_on('fontconfig')
diff --git a/var/spack/repos/builtin/packages/imake/package.py b/var/spack/repos/builtin/packages/imake/package.py
index 9157a9951a..3370240caa 100644
--- a/var/spack/repos/builtin/packages/imake/package.py
+++ b/var/spack/repos/builtin/packages/imake/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,5 +14,12 @@ class Imake(AutotoolsPackage, XorgPackage):
version('1.0.7', sha256='6bda266a07eb33445d513f1e3c82a61e4822ccb94d420643d58e1be5f881e5cb')
- depends_on('xproto', type='build')
+ depends_on('xproto')
+ depends_on('xorg-cf-files', type='run')
depends_on('pkgconfig', type='build')
+
+ def configure_args(self):
+ args = []
+ cfgdir = self.spec['xorg-cf-files'].prefix.lib.X11.config
+ args.append('--with-config-dir={0}'.format(cfgdir))
+ return args
diff --git a/var/spack/repos/builtin/packages/imlib2/package.py b/var/spack/repos/builtin/packages/imlib2/package.py
index b039c0676f..8d7f7ac943 100644
--- a/var/spack/repos/builtin/packages/imlib2/package.py
+++ b/var/spack/repos/builtin/packages/imlib2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/imp/package.py b/var/spack/repos/builtin/packages/imp/package.py
index fc9dd37990..517d3bc3c6 100644
--- a/var/spack/repos/builtin/packages/imp/package.py
+++ b/var/spack/repos/builtin/packages/imp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/impute2/package.py b/var/spack/repos/builtin/packages/impute2/package.py
index f4e040e67d..a70766be17 100644
--- a/var/spack/repos/builtin/packages/impute2/package.py
+++ b/var/spack/repos/builtin/packages/impute2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/infernal/package.py b/var/spack/repos/builtin/packages/infernal/package.py
index d855013ec1..2f70d25a6a 100644
--- a/var/spack/repos/builtin/packages/infernal/package.py
+++ b/var/spack/repos/builtin/packages/infernal/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/influxdb/package.py b/var/spack/repos/builtin/packages/influxdb/package.py
index 9416ca2ac6..f4968ccd5a 100644
--- a/var/spack/repos/builtin/packages/influxdb/package.py
+++ b/var/spack/repos/builtin/packages/influxdb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/iniparser/package.py b/var/spack/repos/builtin/packages/iniparser/package.py
index 18beca3072..935813dad8 100644
--- a/var/spack/repos/builtin/packages/iniparser/package.py
+++ b/var/spack/repos/builtin/packages/iniparser/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/inputproto/package.py b/var/spack/repos/builtin/packages/inputproto/package.py
index b429a12350..a2c3d57785 100644
--- a/var/spack/repos/builtin/packages/inputproto/package.py
+++ b/var/spack/repos/builtin/packages/inputproto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/intel-daal/package.py b/var/spack/repos/builtin/packages/intel-daal/package.py
index 67eccff1fa..4d19772259 100644
--- a/var/spack/repos/builtin/packages/intel-daal/package.py
+++ b/var/spack/repos/builtin/packages/intel-daal/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/intel-gpu-tools/package.py b/var/spack/repos/builtin/packages/intel-gpu-tools/package.py
index 0102c42caa..93087761d1 100644
--- a/var/spack/repos/builtin/packages/intel-gpu-tools/package.py
+++ b/var/spack/repos/builtin/packages/intel-gpu-tools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/intel-ipp/package.py b/var/spack/repos/builtin/packages/intel-ipp/package.py
index 8201779bce..7472bc2e7f 100644
--- a/var/spack/repos/builtin/packages/intel-ipp/package.py
+++ b/var/spack/repos/builtin/packages/intel-ipp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/intel-llvm/package.py b/var/spack/repos/builtin/packages/intel-llvm/package.py
index 0be87d4a03..f14094eba4 100644
--- a/var/spack/repos/builtin/packages/intel-llvm/package.py
+++ b/var/spack/repos/builtin/packages/intel-llvm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/intel-mkl/package.py b/var/spack/repos/builtin/packages/intel-mkl/package.py
index 51a508a67a..5e89f1a91b 100644
--- a/var/spack/repos/builtin/packages/intel-mkl/package.py
+++ b/var/spack/repos/builtin/packages/intel-mkl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,6 +13,8 @@ class IntelMkl(IntelPackage):
homepage = "https://software.intel.com/en-us/intel-mkl"
+ version('2020.4.304', sha256='2314d46536974dbd08f2a4e4f9e9a155dc7e79e2798c74e7ddfaad00a5917ea5',
+ url='http://registrationcenter-download.intel.com/akdlm/irc_nas/tec/16917/l_mkl_2020.4.304.tgz')
version('2020.3.279', sha256='2b8e434ecc9462491130ba25a053927fd1a2eca05e12acb5936b08c486857a04',
url='http://registrationcenter-download.intel.com/akdlm/irc_nas/tec/16903/l_mkl_2020.3.279.tgz')
version('2020.2.254', sha256='ed00a267af362a6c14212bd259ab1673d64337e077263033edeef8ac72c10223',
diff --git a/var/spack/repos/builtin/packages/intel-mpi-benchmarks/package.py b/var/spack/repos/builtin/packages/intel-mpi-benchmarks/package.py
index 32ef76d2d9..4dba8e74d7 100644
--- a/var/spack/repos/builtin/packages/intel-mpi-benchmarks/package.py
+++ b/var/spack/repos/builtin/packages/intel-mpi-benchmarks/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/intel-mpi/package.py b/var/spack/repos/builtin/packages/intel-mpi/package.py
index 532b7ab864..4c3fab4ed1 100644
--- a/var/spack/repos/builtin/packages/intel-mpi/package.py
+++ b/var/spack/repos/builtin/packages/intel-mpi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class IntelMpi(IntelPackage):
homepage = "https://software.intel.com/en-us/intel-mpi-library"
version('2019.8.254', sha256='fa163b4b79bd1b7509980c3e7ad81b354fc281a92f9cf2469bf4d323899567c0',
- url='http://registrationcenter-download.intel.com/akdlm/irc_nas/tec/16814/l_mpi_2019.8.254.tgz')
+ url='http://registrationcenter-download.intel.com/akdlm/irc_nas/tec/16814/l_mpi_2019.8.254.tgz')
version('2019.7.217', sha256='90383b0023f84ac003a55d8bb29dbcf0c639f43a25a2d8d8698a16e770ac9c07',
url='http://registrationcenter-download.intel.com/akdlm/irc_nas/tec/16546/l_mpi_2019.7.217.tgz')
version('2019.6.166', sha256='119be69f1117c93a9e5e9b8b4643918e55d2a55a78ad9567f77d16cdaf18cd6e',
diff --git a/var/spack/repos/builtin/packages/intel-oneapi-ccl/package.py b/var/spack/repos/builtin/packages/intel-oneapi-ccl/package.py
index 5cc55f6c2f..44ee3fabe5 100644
--- a/var/spack/repos/builtin/packages/intel-oneapi-ccl/package.py
+++ b/var/spack/repos/builtin/packages/intel-oneapi-ccl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py b/var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py
index 6a90e10621..5f11826f3a 100644
--- a/var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py
+++ b/var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ import subprocess
from spack import *
-releases = {'2021.1':
+releases = {'2021.1.0':
{'irc_id': '17427', 'build': '2684'}}
@@ -24,7 +24,7 @@ class IntelOneapiCompilers(IntelOneApiPackage):
homepage = 'https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/dpc-compiler.html'
- version('2021.1', sha256='666b1002de3eab4b6f3770c42bcf708743ac74efeba4c05b0834095ef27a11b9', expand=False)
+ version('2021.1.0', sha256='666b1002de3eab4b6f3770c42bcf708743ac74efeba4c05b0834095ef27a11b9', expand=False)
depends_on('patchelf', type='build')
diff --git a/var/spack/repos/builtin/packages/intel-oneapi-dal/package.py b/var/spack/repos/builtin/packages/intel-oneapi-dal/package.py
index 501efd6a2b..e95af333c0 100644
--- a/var/spack/repos/builtin/packages/intel-oneapi-dal/package.py
+++ b/var/spack/repos/builtin/packages/intel-oneapi-dal/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/intel-oneapi-dnn/package.py b/var/spack/repos/builtin/packages/intel-oneapi-dnn/package.py
index 2a226bf2d2..59ef5be4b4 100644
--- a/var/spack/repos/builtin/packages/intel-oneapi-dnn/package.py
+++ b/var/spack/repos/builtin/packages/intel-oneapi-dnn/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/intel-oneapi-ipp/package.py b/var/spack/repos/builtin/packages/intel-oneapi-ipp/package.py
index 96a63addb6..642274d44d 100644
--- a/var/spack/repos/builtin/packages/intel-oneapi-ipp/package.py
+++ b/var/spack/repos/builtin/packages/intel-oneapi-ipp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/intel-oneapi-ippcp/package.py b/var/spack/repos/builtin/packages/intel-oneapi-ippcp/package.py
index 7b07d8ff17..b355302550 100644
--- a/var/spack/repos/builtin/packages/intel-oneapi-ippcp/package.py
+++ b/var/spack/repos/builtin/packages/intel-oneapi-ippcp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/intel-oneapi-mkl/package.py b/var/spack/repos/builtin/packages/intel-oneapi-mkl/package.py
index 2b9ce4f3fe..a92981bafc 100644
--- a/var/spack/repos/builtin/packages/intel-oneapi-mkl/package.py
+++ b/var/spack/repos/builtin/packages/intel-oneapi-mkl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/intel-oneapi-mpi/package.py b/var/spack/repos/builtin/packages/intel-oneapi-mpi/package.py
index 78a2080951..7a08871c8a 100644
--- a/var/spack/repos/builtin/packages/intel-oneapi-mpi/package.py
+++ b/var/spack/repos/builtin/packages/intel-oneapi-mpi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -50,10 +50,8 @@ class IntelOneapiMpi(IntelOneApiLibraryPackage):
def libs(self):
libs = []
for dir in ['lib/release_mt', 'lib', 'libfabric/lib']:
- lib_path = '{0}/{1}/latest/{2}'.format(self.prefix, self._dir_name,
- dir)
- ldir = find_libraries('*', root=lib_path, shared=True,
- recursive=False)
+ lib_path = '{0}/{1}/latest/{2}'.format(self.prefix, self._dir_name, dir)
+ ldir = find_libraries('*', root=lib_path, shared=True, recursive=False)
libs += ldir
return libs
diff --git a/var/spack/repos/builtin/packages/intel-oneapi-tbb/package.py b/var/spack/repos/builtin/packages/intel-oneapi-tbb/package.py
index d4c9f03d61..d80afbb020 100644
--- a/var/spack/repos/builtin/packages/intel-oneapi-tbb/package.py
+++ b/var/spack/repos/builtin/packages/intel-oneapi-tbb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/intel-oneapi-vpl/package.py b/var/spack/repos/builtin/packages/intel-oneapi-vpl/package.py
index ad07518055..2476c22041 100644
--- a/var/spack/repos/builtin/packages/intel-oneapi-vpl/package.py
+++ b/var/spack/repos/builtin/packages/intel-oneapi-vpl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/intel-parallel-studio/package.py b/var/spack/repos/builtin/packages/intel-parallel-studio/package.py
index a30d2eba19..f7885d8701 100644
--- a/var/spack/repos/builtin/packages/intel-parallel-studio/package.py
+++ b/var/spack/repos/builtin/packages/intel-parallel-studio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/intel-pin/package.py b/var/spack/repos/builtin/packages/intel-pin/package.py
index f9cf6ea111..f3fa547455 100644
--- a/var/spack/repos/builtin/packages/intel-pin/package.py
+++ b/var/spack/repos/builtin/packages/intel-pin/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/intel-tbb/macos-arm64.patch b/var/spack/repos/builtin/packages/intel-tbb/macos-arm64.patch
new file mode 100644
index 0000000000..7169abed38
--- /dev/null
+++ b/var/spack/repos/builtin/packages/intel-tbb/macos-arm64.patch
@@ -0,0 +1,32 @@
+From 86f6dcdc17a8f5ef2382faaef860cfa5243984fe Mon Sep 17 00:00:00 2001
+From: Yining Karl Li <betajippity@gmail.com>
+Date: Fri, 3 Jul 2020 06:23:18 -0700
+Subject: [PATCH] Add detection of arm64 architecture for macos builds
+
+This commit adds detection of arm64 for macos builds on arm64 hardware.
+The only change necessary is an additional case in the code where
+macos.inc queries and detects the system architecture.
+---
+ build/macos.inc | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/build/macos.inc b/build/macos.inc
+index dde93216f5e7a9337dd83757df1ec734241d044e..2bdcde7e3042390b871fc601a930b3648ccaa124 100644
+--- a/build/macos.inc
++++ b/build/macos.inc
+@@ -36,11 +36,15 @@ ifndef arch
+ export arch:=ppc32
+ endif
+ else
++ ifeq ($(shell /usr/sbin/sysctl -n hw.machine),arm64)
++ export arch:=arm64
++ else
+ ifeq ($(shell /usr/sbin/sysctl -n hw.optional.x86_64 2>/dev/null),1)
+ export arch:=intel64
+ else
+ export arch:=ia32
+ endif
++ endif
+ endif
+ endif
+
diff --git a/var/spack/repos/builtin/packages/intel-tbb/package.py b/var/spack/repos/builtin/packages/intel-tbb/package.py
index 857e190eba..8004293368 100644
--- a/var/spack/repos/builtin/packages/intel-tbb/package.py
+++ b/var/spack/repos/builtin/packages/intel-tbb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -103,15 +103,21 @@ class IntelTbb(Package):
patch("gcc_generic-pedantic-4.4.patch", level=1, when='@:2019.0')
# Patch cmakeConfig.cmake.in to find the libraries where we install them.
- patch("tbb_cmakeConfig-2019.5.patch", level=0, when='@2019.5:')
+ patch("tbb_cmakeConfig-2019.5.patch", level=0, when='@2019.5:2021.0')
patch("tbb_cmakeConfig.patch", level=0, when='@2017.7:2019.4')
# Restore the debug targets.
- patch("makefile-debug.patch", when="@2020:")
+ patch("makefile-debug.patch", when="@2020:2021.0")
# Some very old systems don't support transactional memory.
patch("disable-tm.patch", when='~tm')
+ # Add support for building on arm64 macOS,
+ # also included in hombrew and already available upstream:
+ # https://github.com/oneapi-src/oneTBB/pull/258
+ # https://github.com/oneapi-src/oneTBB/commit/86f6dcdc17a8f5ef2382faaef860cfa5243984fe.patch?full_index=1
+ patch("macos-arm64.patch", when="@:2021.0")
+
# Version and tar file names:
# 2020.0 --> v2020.0.tar.gz starting with 2020
# 2017.1 --> 2017_U1.tar.gz starting with 2017
diff --git a/var/spack/repos/builtin/packages/intel-xed/1201-segv.patch b/var/spack/repos/builtin/packages/intel-xed/1201-segv.patch
new file mode 100644
index 0000000000..a1ff15d5c9
--- /dev/null
+++ b/var/spack/repos/builtin/packages/intel-xed/1201-segv.patch
@@ -0,0 +1,18 @@
+Fix segfault due to uninitialized data when trying to decode some cases
+of data that aren't a valid instruction.
+
+https://github.com/intelxed/xed/commit/5c54699f78ba1e3ce7e0cc6dead0088a8dd09c56
+
+
+diff --git a/src/dec/xed-decoded-init.c b/src/dec/xed-decoded-init.c
+index b0d4db1..fc226d2 100644
+--- a/src/dec/xed-decoded-init.c
++++ b/src/dec/xed-decoded-init.c
+@@ -46,6 +46,7 @@ xed_decoded_inst_zero_keep_mode_from_operands(
+ xed_operand_values_init_keep_mode(p, operands);
+ p->_decoded_length = 0;
+ p->_inst = 0;
++ p->u.user_data = 0;
+ }
+
+ XED_DLL_EXPORT void
diff --git a/var/spack/repos/builtin/packages/intel-xed/package.py b/var/spack/repos/builtin/packages/intel-xed/package.py
index 94addcbdf9..06ee2791e6 100644
--- a/var/spack/repos/builtin/packages/intel-xed/package.py
+++ b/var/spack/repos/builtin/packages/intel-xed/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,38 +13,36 @@ class IntelXed(Package):
homepage = "https://intelxed.github.io/"
git = "https://github.com/intelxed/xed.git"
+ maintainers = ['mwkrentel']
- # The version name and git commit hashes for the main xed repo and
- # the mbuild resource. Xed doesn't have official releases, only
- # git commits.
-
- version_list = [('2019.03.01',
- 'b7231de4c808db821d64f4018d15412640c34113',
- '176544e1fb54b6bfb40f596111368981d287e951'),
- ('2018.02.14',
- '44d06033b69aef2c20ab01bfb518c52cd71bb537',
- 'bb9123152a330c7fa1ff1a502950dc199c83e177')]
-
- version('develop', branch='master')
- resource(name='mbuild',
- git='https://github.com/intelxed/mbuild.git',
- branch='master', placement='mbuild',
- when='@develop')
-
- for (vers, xed_hash, mbuild_hash) in version_list:
- version(vers, commit=xed_hash)
- resource(name='mbuild',
- git='https://github.com/intelxed/mbuild.git',
- commit=mbuild_hash,
- when='@{0}'.format(vers))
+ mbuild_git = 'https://github.com/intelxed/mbuild.git'
+
+ # Current versions now have actual releases and tags.
+ version('master', branch='master')
+ version('12.0.1', tag='12.0.1')
+ version('11.2.0', tag='11.2.0')
+
+ # The old 2019.03.01 version (before there were tags).
+ version('10.2019.03', commit='b7231de4c808db821d64f4018d15412640c34113')
+
+ resource(name='mbuild', placement='mbuild', git=mbuild_git,
+ branch='master', when='@master')
+
+ resource(name='mbuild', placement='mbuild', git=mbuild_git,
+ commit='3e8eb33aada4153c21c4261b35e5f51f6e2019e8', when='@:999')
variant('debug', default=False, description='Enable debug symbols')
+ variant('pic', default=False,
+ description='Compile with position independent code.')
+
+ # The current mfile uses python3 by name.
+ depends_on('python@3.4:', type='build')
- # python module 'platform.linux_distribution' was removed in python 3.8
- depends_on('python@2.7:3.7', type='build')
+ patch('1201-segv.patch', when='@12.0.1')
conflicts('target=ppc64:', msg='intel-xed only runs on x86')
conflicts('target=ppc64le:', msg='intel-xed only runs on x86')
+ conflicts('target=aarch64:', msg='intel-xed only runs on x86')
mycflags = []
@@ -52,6 +50,10 @@ class IntelXed(Package):
def flag_handler(self, name, flags):
if name == 'cflags':
self.mycflags = flags
+
+ if '+pic' in self.spec:
+ flags.append(self.compiler.cc_pic_flag)
+
return (flags, None, None)
def install(self, spec, prefix):
@@ -93,9 +95,15 @@ class IntelXed(Package):
install(join_path('obj', 'lib*.so'), prefix.lib)
- # Install the xed program
- install(join_path('obj', 'examples', 'xed'), prefix.bin)
-
- # Install header files.
- install(join_path('include', 'public', 'xed', '*.h'), prefix.include)
- install(join_path('obj', '*.h'), prefix.include)
+ # Starting with 11.x, the install files are moved or copied into
+ # subdirs of obj/wkit.
+ if spec.satisfies('@11.0:'):
+ wkit = join_path('obj', 'wkit')
+ install(join_path(wkit, 'bin', 'xed'), prefix.bin)
+ install(join_path(wkit, 'include', 'xed', '*.h'), prefix.include)
+ else:
+ # Old 2019.03.01 paths.
+ install(join_path('obj', 'examples', 'xed'), prefix.bin)
+ install(join_path('include', 'public', 'xed', '*.h'),
+ prefix.include)
+ install(join_path('obj', '*.h'), prefix.include)
diff --git a/var/spack/repos/builtin/packages/intel/package.py b/var/spack/repos/builtin/packages/intel/package.py
index ee7249fb06..3ba19769d6 100644
--- a/var/spack/repos/builtin/packages/intel/package.py
+++ b/var/spack/repos/builtin/packages/intel/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/interproscan/package.py b/var/spack/repos/builtin/packages/interproscan/package.py
index 6b8d9b6b68..38a8e947bc 100644
--- a/var/spack/repos/builtin/packages/interproscan/package.py
+++ b/var/spack/repos/builtin/packages/interproscan/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/intltool/package.py b/var/spack/repos/builtin/packages/intltool/package.py
index 8225d465c5..6aabec8f17 100644
--- a/var/spack/repos/builtin/packages/intltool/package.py
+++ b/var/spack/repos/builtin/packages/intltool/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ioapi/package.py b/var/spack/repos/builtin/packages/ioapi/package.py
index 268512e5f2..e8c919fc68 100644
--- a/var/spack/repos/builtin/packages/ioapi/package.py
+++ b/var/spack/repos/builtin/packages/ioapi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ior/package.py b/var/spack/repos/builtin/packages/ior/package.py
index d4acdfa481..cbccc6e0f2 100644
--- a/var/spack/repos/builtin/packages/ior/package.py
+++ b/var/spack/repos/builtin/packages/ior/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,8 +14,9 @@ class Ior(AutotoolsPackage):
url = "https://github.com/hpc/ior/archive/3.2.1.tar.gz"
version('develop', git='https://github.com/hpc/ior.git', branch='master')
+ version('3.3.0', sha256='701f2167f81ef963e227d4c036c4a947a98b5642b7c14c87c8ae657849891528', preferred=True)
version('3.3.0rc1', sha256='0e42ebf5b5adae60625bf97989c8e2519d41ea2e3d18561d7d5b945625317aa5')
- version('3.2.1', sha256='ebcf2495aecb357370a91a2d5852cfd83bba72765e586bcfaf15fb79ca46d00e', preferred=True)
+ version('3.2.1', sha256='ebcf2495aecb357370a91a2d5852cfd83bba72765e586bcfaf15fb79ca46d00e')
version('3.2.0', sha256='91a766fb9c34b5780705d0997b71b236a1120da46652763ba11d9a8c44251852')
version('3.0.1', sha256='0cbefbcdb02fb13ba364e102f9e7cc2dcf761698533dac25de446a3a3e81390d')
diff --git a/var/spack/repos/builtin/packages/iozone/package.py b/var/spack/repos/builtin/packages/iozone/package.py
index b2a7d55286..2d8645d9df 100644
--- a/var/spack/repos/builtin/packages/iozone/package.py
+++ b/var/spack/repos/builtin/packages/iozone/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ipcalc/package.py b/var/spack/repos/builtin/packages/ipcalc/package.py
index 672bd5e5f8..a49acdc036 100644
--- a/var/spack/repos/builtin/packages/ipcalc/package.py
+++ b/var/spack/repos/builtin/packages/ipcalc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/iperf2/package.py b/var/spack/repos/builtin/packages/iperf2/package.py
index 6c3369a93a..4da386b5c3 100644
--- a/var/spack/repos/builtin/packages/iperf2/package.py
+++ b/var/spack/repos/builtin/packages/iperf2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/iperf3/package.py b/var/spack/repos/builtin/packages/iperf3/package.py
index 9fbae17e2e..6b0da32f05 100644
--- a/var/spack/repos/builtin/packages/iperf3/package.py
+++ b/var/spack/repos/builtin/packages/iperf3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ipopt/package.py b/var/spack/repos/builtin/packages/ipopt/package.py
index 54b9ef9f49..9926bdd10f 100644
--- a/var/spack/repos/builtin/packages/ipopt/package.py
+++ b/var/spack/repos/builtin/packages/ipopt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/iproute2/package.py b/var/spack/repos/builtin/packages/iproute2/package.py
index 426ba5c1bc..48495ddabf 100644
--- a/var/spack/repos/builtin/packages/iproute2/package.py
+++ b/var/spack/repos/builtin/packages/iproute2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/iq-tree/package.py b/var/spack/repos/builtin/packages/iq-tree/package.py
index 010ccdcae0..c682ca345f 100644
--- a/var/spack/repos/builtin/packages/iq-tree/package.py
+++ b/var/spack/repos/builtin/packages/iq-tree/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,10 +15,10 @@ class IqTree(CMakePackage):
url = "https://github.com/Cibiv/IQ-TREE/archive/v1.6.12.tar.gz"
version('2.0.6', tag='v2.0.6', submodules=True)
- version('1.6.12', sha256='9614092de7a157de82c9cc402b19cc8bfa0cb0ffc93b91817875c2b4bb46a284')
+ version('1.6.12', sha256='9614092de7a157de82c9cc402b19cc8bfa0cb0ffc93b91817875c2b4bb46a284')
variant('openmp', default=True, description='Enable OpenMP support.')
- variant('mpi', default=False, description='Enable MPI support.')
+ variant('mpi', default=False, description='Enable MPI support.')
variant('lsd2', default=True, description='Axctivate Least Squares Dating.')
maintainers = ['ilbiondo']
diff --git a/var/spack/repos/builtin/packages/isaac-server/package.py b/var/spack/repos/builtin/packages/isaac-server/package.py
index da78398d1e..8b9f43c516 100644
--- a/var/spack/repos/builtin/packages/isaac-server/package.py
+++ b/var/spack/repos/builtin/packages/isaac-server/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,6 +17,8 @@ class IsaacServer(CMakePackage):
version('develop', branch='dev')
version('master', branch='master')
+ version('1.5.2', sha256='9cedd72bea06f387b697b17a0db076e50fb3b85b74f21d3a6d99ed0d664a9ef2')
+ version('1.5.1', sha256='f62d53aa6e1c28e51437dbf3d1ac0daa2f98d28660f09feaabcc953ff01b076e')
version('1.5.0', sha256='4d5a150dfe064289d760da368102172f84e9e8851a177c8125a56e151db58dce')
version('1.4.0', sha256='6cbd4cc54a22de5e5a3427e44141db6e7b80b33fe7a0c707390a113655bf344e')
version('1.3.3', sha256='92a972d05d315ad66546671c047b7edf8ed0e05d64d2b8d77ababb5bb9b93d8e')
@@ -29,7 +31,8 @@ class IsaacServer(CMakePackage):
depends_on('cmake@3.3:', type='build')
depends_on('jpeg', type='link')
- depends_on('jansson@:2.9', type='link')
+ depends_on('jansson@:2.9', type='link', when='@:1.5.1')
+ depends_on('jansson', type='link')
depends_on('boost@1.56.0:', type='link')
depends_on('libwebsockets@2.1.1:', type='link')
# depends_on('gstreamer@1.0', when='+gstreamer')
diff --git a/var/spack/repos/builtin/packages/isaac/package.py b/var/spack/repos/builtin/packages/isaac/package.py
index ddc62f3482..26fdc4ddc0 100644
--- a/var/spack/repos/builtin/packages/isaac/package.py
+++ b/var/spack/repos/builtin/packages/isaac/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,6 +17,8 @@ class Isaac(CMakePackage):
version('develop', branch='dev')
version('master', branch='master')
+ version('1.5.2', sha256='9cedd72bea06f387b697b17a0db076e50fb3b85b74f21d3a6d99ed0d664a9ef2')
+ version('1.5.1', sha256='f62d53aa6e1c28e51437dbf3d1ac0daa2f98d28660f09feaabcc953ff01b076e')
version('1.5.0', sha256='4d5a150dfe064289d760da368102172f84e9e8851a177c8125a56e151db58dce')
version('1.4.0', sha256='6cbd4cc54a22de5e5a3427e44141db6e7b80b33fe7a0c707390a113655bf344e')
version('1.3.3', sha256='92a972d05d315ad66546671c047b7edf8ed0e05d64d2b8d77ababb5bb9b93d8e')
diff --git a/var/spack/repos/builtin/packages/isc-dhcp/package.py b/var/spack/repos/builtin/packages/isc-dhcp/package.py
index 9a5ab76455..bbe8d36352 100644
--- a/var/spack/repos/builtin/packages/isc-dhcp/package.py
+++ b/var/spack/repos/builtin/packages/isc-dhcp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/isescan/package.py b/var/spack/repos/builtin/packages/isescan/package.py
index 1d4b607046..44394d284e 100644
--- a/var/spack/repos/builtin/packages/isescan/package.py
+++ b/var/spack/repos/builtin/packages/isescan/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/isl/package.py b/var/spack/repos/builtin/packages/isl/package.py
index 826f2c1969..6ccc856f83 100644
--- a/var/spack/repos/builtin/packages/isl/package.py
+++ b/var/spack/repos/builtin/packages/isl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/iso-codes/package.py b/var/spack/repos/builtin/packages/iso-codes/package.py
index 8023866c04..61389f6f3d 100644
--- a/var/spack/repos/builtin/packages/iso-codes/package.py
+++ b/var/spack/repos/builtin/packages/iso-codes/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ispc/package.py b/var/spack/repos/builtin/packages/ispc/package.py
index 4532e45243..f07690df4c 100644
--- a/var/spack/repos/builtin/packages/ispc/package.py
+++ b/var/spack/repos/builtin/packages/ispc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,6 +9,7 @@
from spack import *
+import re
class Ispc(CMakePackage):
@@ -18,8 +19,12 @@ class Ispc(CMakePackage):
homepage = "https://ispc.github.io"
url = "https://github.com/ispc/ispc/tarball/v1.14.1"
+ git = "https://github.com/ispc/ispc"
maintainers = ['aumuell']
+ executables = ['^ispc$']
+
+ version('master', branch='master')
version('1.14.1', sha256='ca12f26dafbc4ef9605487d03a2156331c1351a4ffefc9bab4d896a466880794')
version('1.14.0', sha256='1ed72542f56738c632bb02fb0dd56ad8aec3e2487839ebbc0def8334f305a4c7')
version('1.13.0', sha256='aca595508b51dd1ff065c406a3fd7c93822320c510077dd4d97a2b98a23f097a')
@@ -34,6 +39,7 @@ class Ispc(CMakePackage):
depends_on('llvm@10:10.999', when='@1.13:1.13.999')
patch('don-t-assume-that-ncurses-zlib-are-system-libraries.patch',
+ when='@1.14:1.14.999',
sha256='d3ccf547d3ba59779fd375e10417a436318f2200d160febb9f830a26f0daefdc')
patch('fix-linking-against-llvm-10.patch', when='@1.13:1.13.999',
@@ -47,3 +53,10 @@ class Ispc(CMakePackage):
args.append('-DISPC_INCLUDE_TESTS=OFF')
args.append('-DISPC_INCLUDE_UTILS=OFF')
return args
+
+ @classmethod
+ def determine_version(cls, exe):
+ output = Executable(exe)('--version', output=str, error=str)
+ match = re.search(r'^Intel.*[iI][sS][pP][cC]\),\s+(\S+)\s+\(build.*\)',
+ output)
+ return match.group(1) if match else None
diff --git a/var/spack/repos/builtin/packages/istio/package.py b/var/spack/repos/builtin/packages/istio/package.py
index 6a3aad6111..9cf8ce6d99 100644
--- a/var/spack/repos/builtin/packages/istio/package.py
+++ b/var/spack/repos/builtin/packages/istio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/itensor/package.py b/var/spack/repos/builtin/packages/itensor/package.py
new file mode 100644
index 0000000000..8f6157a11b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/itensor/package.py
@@ -0,0 +1,132 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+import os
+
+
+class Itensor(MakefilePackage):
+ """ITensor -Intelligent Tensor- is a library for
+ implementing tensor network calculations."""
+
+ homepage = "https://itensor.org/index.html"
+ url = "https://github.com/ITensor/ITensor/archive/v3.1.6.tar.gz"
+
+ version('3.1.6', sha256='1c42cd39c45124063d9812b851b4d99735caff7ac2da971b4287c2018d4cf32a')
+ version('3.1.5', sha256='a0661efdda3bfc4fab1796243d4b438b0f17adce08b6bb21a2aaae9766b6a1ec')
+ version('3.1.4', sha256='bdcfa786f5165b6f5d1a40a80e7ecca2e59e2ee7050fd60f42ef4a4a55a793c5')
+ version('3.1.3', sha256='ff6b04f9c642c6795acd3485f44619282a2dde7a49a4e0dee89b47b69dc3853e')
+ version('3.1.2', sha256='3e0f032c211e11be1b5a4adf4a581698a949d03b35c0e9b2e3d9f4bab6dd7967')
+ version('3.1.1', sha256='3c12d288e50522b5bd152f956a48ec187486cfeb4ccb1ea9a05d3f0bf3bf8059')
+ version('3.1.0', sha256='b887cb9c7fc06f60d9d6834380b643adea8d165d574ab1859883f399725b9db9')
+ version('3.0.1', sha256='5e2ac3a5b62fb3e34f1e520e6da911b56659507fb4143118d4a602a5866bc912')
+ version('3.0.0', sha256='1d249a3a6442188a9f7829b32238c1025457c2930566d134a785994b1f7c54a9')
+ version('2.1.1', sha256='b91a67af66ed0fa7678494f3895b5d5ae7f1dc1026540689f9625f515cb7791c')
+
+ variant('openmp', default=False, description='Enable OpenMP support.')
+ variant('hdf5', default=False, description='Build rockstar with HDF5 support.')
+
+ depends_on('lapack')
+ depends_on('hdf5+hl', when='+hdf5')
+
+ conflicts('^openblas threads=none', when='+openmp')
+ conflicts('^openblas threads=pthreads', when='+openmp')
+
+ def getcopts(self, spec):
+ copts = []
+ copts.append(self.compiler.cxx17_flag)
+ copts.append(self.compiler.cc_pic_flag)
+
+ if spec.satisfies('%gcc'):
+ if not spec.satisfies('arch=aarch64:'):
+ copts.append('-m64')
+ copts.append('-fconcepts')
+ if spec.satisfies('%clang') or spec.satisfies('%fj'):
+ copts.append('-Wno-gcc-compat')
+ return ' ' + ' '.join(copts)
+
+ def edit(self, spec, prefix):
+ # 0.copy options.mk
+ mf = 'options.mk'
+ copy('options.mk.sample', mf)
+
+ # 1.CCCOM
+ ccopts = 'CCCOM={0}{1}'.format(spack_cxx, self.getcopts(spec))
+ filter_file(r'^CCCOM.+', ccopts, mf)
+
+ # 2.BLAS/LAPACK
+ # Set default values
+ vpla = 'PLATFORM=lapack'
+ vlib = 'BLAS_LAPACK_LIBFLAGS='
+ vlib += spec['lapack'].libs.ld_flags
+ vinc = 'BLAS_LAPACK_INCLUDEFLAGS=-I'
+ vinc += spec['lapack'].prefix.include
+ ltype = spec['lapack'].name
+ # lapack specific
+ if ltype == 'openblas':
+ vpla = 'PLATFORM=openblas'
+ if spec.satisfies('%gcc'):
+ vinc += ' -fpermissive'
+ vinc += ' -DHAVE_LAPACK_CONFIG_H'
+ vinc += ' -DLAPACK_COMPLEX_STRUCTURE'
+ filter_file('#PLATFORM=lapack', vinc, mf, String=True)
+ elif ltype == 'intel-mkl':
+ vpla = 'PLATFORM=mkl'
+ filter_file('#PLATFORM=lapack', vinc, mf, String=True)
+
+ filter_file(r'^PLATFORM.+', vpla, mf)
+ filter_file(r'^BLAS_LAPACK_LIBFLAGS.+', vlib, mf)
+
+ # 3.HDF5
+ if '+hdf5' in spec:
+ hdf5p = 'HDF5_PREFIX={0}'.format(spec["hdf5"].prefix.lib)
+ filter_file('^#HDF5.+', hdf5p, mf)
+
+ # 4.openmp
+ if '+openmp' in spec:
+ filter_file('#ITENSOR_USE_OMP', 'ITENSOR_USE_OMP', mf)
+ filter_file('-fopenmp', self.compiler.openmp_flag, mf)
+
+ # 5.prefix
+ filter_file(
+ r'^PREFIX.+',
+ 'PREFIX={0}'.format(os.getcwd()),
+ mf
+ )
+
+ def install(self, spec, prefix):
+ # 0.backup options.mk
+ mf = 'options.mk'
+ copy(mf, 'options.mk.build')
+
+ # 1.CCCOM
+ ccopts = 'CCCOM={0}'.format(self.compiler.cxx)
+ ccopts += ' ' + ' '.join(spec.compiler_flags['cxxflags'])
+ if spec.satisfies('%fj'):
+ ccopts += ' ' + env["FCC_ENV"]
+ ccopts += self.getcopts(spec)
+ filter_file(r'^CCCOM.+', ccopts, mf)
+
+ # 2.LDFLAGS
+ vlib = 'BLAS_LAPACK_LIBFLAGS={0} '.format(' '.join(
+ spec.compiler_flags['ldflags'] + spec.compiler_flags['ldlibs']))
+ filter_file(r'^BLAS_LAPACK_LIBFLAGS=', vlib, mf)
+
+ # 3.prefix
+ filter_file(
+ r'^PREFIX.+',
+ 'PREFIX={0}'.format(prefix),
+ mf
+ )
+
+ # tutorial/project_template/Makefile
+ mf2 = join_path('tutorial', 'project_template', 'Makefile')
+ filter_file(
+ r'^LIBRARY_DIR.+',
+ 'LIBRARY_DIR={0}'.format(prefix),
+ mf2
+ )
+
+ install_tree('.', prefix)
diff --git a/var/spack/repos/builtin/packages/itk/package.py b/var/spack/repos/builtin/packages/itk/package.py
index ef0f129318..2ac95fafe6 100644
--- a/var/spack/repos/builtin/packages/itk/package.py
+++ b/var/spack/repos/builtin/packages/itk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/itstool/package.py b/var/spack/repos/builtin/packages/itstool/package.py
index afc48e73d7..8b2c848616 100644
--- a/var/spack/repos/builtin/packages/itstool/package.py
+++ b/var/spack/repos/builtin/packages/itstool/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/itsx/package.py b/var/spack/repos/builtin/packages/itsx/package.py
index 08339c72a7..e451935f5b 100644
--- a/var/spack/repos/builtin/packages/itsx/package.py
+++ b/var/spack/repos/builtin/packages/itsx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/iwyu/package.py b/var/spack/repos/builtin/packages/iwyu/package.py
index eb4ceaa4c4..e7876ee0b0 100644
--- a/var/spack/repos/builtin/packages/iwyu/package.py
+++ b/var/spack/repos/builtin/packages/iwyu/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/jackcess/package.py b/var/spack/repos/builtin/packages/jackcess/package.py
index 8d626cebe7..4261feaf75 100644
--- a/var/spack/repos/builtin/packages/jackcess/package.py
+++ b/var/spack/repos/builtin/packages/jackcess/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/jafka/package.py b/var/spack/repos/builtin/packages/jafka/package.py
index ab39d87b92..0c8b06dd66 100644
--- a/var/spack/repos/builtin/packages/jafka/package.py
+++ b/var/spack/repos/builtin/packages/jafka/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/jags/package.py b/var/spack/repos/builtin/packages/jags/package.py
index f816176827..0b10cfe735 100644
--- a/var/spack/repos/builtin/packages/jags/package.py
+++ b/var/spack/repos/builtin/packages/jags/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/jali/package.py b/var/spack/repos/builtin/packages/jali/package.py
index ef1f9f0a52..f007048c51 100644
--- a/var/spack/repos/builtin/packages/jali/package.py
+++ b/var/spack/repos/builtin/packages/jali/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/jansi-native/package.py b/var/spack/repos/builtin/packages/jansi-native/package.py
index 54fa0953b4..46165631e5 100644
--- a/var/spack/repos/builtin/packages/jansi-native/package.py
+++ b/var/spack/repos/builtin/packages/jansi-native/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/jansi/package.py b/var/spack/repos/builtin/packages/jansi/package.py
index 8ecfee60d8..af1ee08988 100644
--- a/var/spack/repos/builtin/packages/jansi/package.py
+++ b/var/spack/repos/builtin/packages/jansi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/jansson/package.py b/var/spack/repos/builtin/packages/jansson/package.py
index 43982b42cc..b2e8b69971 100644
--- a/var/spack/repos/builtin/packages/jansson/package.py
+++ b/var/spack/repos/builtin/packages/jansson/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/jasper/package.py b/var/spack/repos/builtin/packages/jasper/package.py
index 9599aec8f4..854745d27f 100644
--- a/var/spack/repos/builtin/packages/jasper/package.py
+++ b/var/spack/repos/builtin/packages/jasper/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/jbigkit/package.py b/var/spack/repos/builtin/packages/jbigkit/package.py
index c5e4e26242..f282c3001e 100644
--- a/var/spack/repos/builtin/packages/jbigkit/package.py
+++ b/var/spack/repos/builtin/packages/jbigkit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/jblob/package.py b/var/spack/repos/builtin/packages/jblob/package.py
index 1aa1738230..71a783c29f 100644
--- a/var/spack/repos/builtin/packages/jblob/package.py
+++ b/var/spack/repos/builtin/packages/jblob/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/jchronoss/package.py b/var/spack/repos/builtin/packages/jchronoss/package.py
index d8ec01083e..c91d18f27d 100644
--- a/var/spack/repos/builtin/packages/jchronoss/package.py
+++ b/var/spack/repos/builtin/packages/jchronoss/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/jdk/package.py b/var/spack/repos/builtin/packages/jdk/package.py
index 9e05754416..218fe048e1 100644
--- a/var/spack/repos/builtin/packages/jdk/package.py
+++ b/var/spack/repos/builtin/packages/jdk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/jellyfish/package.py b/var/spack/repos/builtin/packages/jellyfish/package.py
index 1d5b7febc1..2889bfd2ad 100644
--- a/var/spack/repos/builtin/packages/jellyfish/package.py
+++ b/var/spack/repos/builtin/packages/jellyfish/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/jemalloc/package.py b/var/spack/repos/builtin/packages/jemalloc/package.py
index 85ae590699..5fd06489d7 100644
--- a/var/spack/repos/builtin/packages/jemalloc/package.py
+++ b/var/spack/repos/builtin/packages/jemalloc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/jetty-project/package.py b/var/spack/repos/builtin/packages/jetty-project/package.py
index 24beb52295..0e32927c29 100644
--- a/var/spack/repos/builtin/packages/jetty-project/package.py
+++ b/var/spack/repos/builtin/packages/jetty-project/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/jhpcn-df/package.py b/var/spack/repos/builtin/packages/jhpcn-df/package.py
index 3bb3132844..09ed64922e 100644
--- a/var/spack/repos/builtin/packages/jhpcn-df/package.py
+++ b/var/spack/repos/builtin/packages/jhpcn-df/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/jimtcl/package.py b/var/spack/repos/builtin/packages/jimtcl/package.py
index 4f4ec3e6b9..93f59dd13c 100644
--- a/var/spack/repos/builtin/packages/jimtcl/package.py
+++ b/var/spack/repos/builtin/packages/jimtcl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/jline3/package.py b/var/spack/repos/builtin/packages/jline3/package.py
index f767f482e8..2d2a06e13e 100644
--- a/var/spack/repos/builtin/packages/jline3/package.py
+++ b/var/spack/repos/builtin/packages/jline3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/jmol/package.py b/var/spack/repos/builtin/packages/jmol/package.py
index 9da452f396..25b02645d1 100644
--- a/var/spack/repos/builtin/packages/jmol/package.py
+++ b/var/spack/repos/builtin/packages/jmol/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/jose/package.py b/var/spack/repos/builtin/packages/jose/package.py
index b33946e35e..b487c07b47 100644
--- a/var/spack/repos/builtin/packages/jose/package.py
+++ b/var/spack/repos/builtin/packages/jose/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/jpegoptim/package.py b/var/spack/repos/builtin/packages/jpegoptim/package.py
index 2e323cf02b..3fd61b943d 100644
--- a/var/spack/repos/builtin/packages/jpegoptim/package.py
+++ b/var/spack/repos/builtin/packages/jpegoptim/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/jq/package.py b/var/spack/repos/builtin/packages/jq/package.py
index 9f67ce5bbe..a90508ffb6 100644
--- a/var/spack/repos/builtin/packages/jq/package.py
+++ b/var/spack/repos/builtin/packages/jq/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/json-c/package.py b/var/spack/repos/builtin/packages/json-c/package.py
index 3ed27a3c4b..56a7fe4a36 100644
--- a/var/spack/repos/builtin/packages/json-c/package.py
+++ b/var/spack/repos/builtin/packages/json-c/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/json-cwx/package.py b/var/spack/repos/builtin/packages/json-cwx/package.py
index 50b10cb4d0..bae73b1ac6 100644
--- a/var/spack/repos/builtin/packages/json-cwx/package.py
+++ b/var/spack/repos/builtin/packages/json-cwx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/json-fortran/package.py b/var/spack/repos/builtin/packages/json-fortran/package.py
index 2311bee898..52530d00b2 100644
--- a/var/spack/repos/builtin/packages/json-fortran/package.py
+++ b/var/spack/repos/builtin/packages/json-fortran/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/json-glib/package.py b/var/spack/repos/builtin/packages/json-glib/package.py
index 1a04cfe97b..44d1c9b5e6 100644
--- a/var/spack/repos/builtin/packages/json-glib/package.py
+++ b/var/spack/repos/builtin/packages/json-glib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/jsoncpp/package.py b/var/spack/repos/builtin/packages/jsoncpp/package.py
index 2593c9ae0f..20cc0980d4 100644
--- a/var/spack/repos/builtin/packages/jsoncpp/package.py
+++ b/var/spack/repos/builtin/packages/jsoncpp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/jstorm/package.py b/var/spack/repos/builtin/packages/jstorm/package.py
index 0bc0be3d62..1e1c59cb37 100644
--- a/var/spack/repos/builtin/packages/jstorm/package.py
+++ b/var/spack/repos/builtin/packages/jstorm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/jube/package.py b/var/spack/repos/builtin/packages/jube/package.py
index edbd6fc151..58325965df 100644
--- a/var/spack/repos/builtin/packages/jube/package.py
+++ b/var/spack/repos/builtin/packages/jube/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/judy/package.py b/var/spack/repos/builtin/packages/judy/package.py
index 0c714c5b01..7e772353c5 100644
--- a/var/spack/repos/builtin/packages/judy/package.py
+++ b/var/spack/repos/builtin/packages/judy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/julea/package.py b/var/spack/repos/builtin/packages/julea/package.py
index 7559b0edfd..351b8af99d 100644
--- a/var/spack/repos/builtin/packages/julea/package.py
+++ b/var/spack/repos/builtin/packages/julea/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/julia/package.py b/var/spack/repos/builtin/packages/julia/package.py
index 8c6a6aaf90..ff3d5cacf3 100644
--- a/var/spack/repos/builtin/packages/julia/package.py
+++ b/var/spack/repos/builtin/packages/julia/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/junit4/package.py b/var/spack/repos/builtin/packages/junit4/package.py
index d0a46b4495..d36de770f1 100644
--- a/var/spack/repos/builtin/packages/junit4/package.py
+++ b/var/spack/repos/builtin/packages/junit4/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/k8/package.py b/var/spack/repos/builtin/packages/k8/package.py
index d536e6e369..3db51d5e79 100644
--- a/var/spack/repos/builtin/packages/k8/package.py
+++ b/var/spack/repos/builtin/packages/k8/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/kafka/package.py b/var/spack/repos/builtin/packages/kafka/package.py
index d37fd21276..87ea79fd4b 100644
--- a/var/spack/repos/builtin/packages/kafka/package.py
+++ b/var/spack/repos/builtin/packages/kafka/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/kahip/package.py b/var/spack/repos/builtin/packages/kahip/package.py
index 3a31455c75..42b59db501 100644
--- a/var/spack/repos/builtin/packages/kahip/package.py
+++ b/var/spack/repos/builtin/packages/kahip/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/kaiju/package.py b/var/spack/repos/builtin/packages/kaiju/package.py
index 784fcffee9..53a00f0ba7 100644
--- a/var/spack/repos/builtin/packages/kaiju/package.py
+++ b/var/spack/repos/builtin/packages/kaiju/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/kaks-calculator/package.py b/var/spack/repos/builtin/packages/kaks-calculator/package.py
index 58edd8e249..dc42d44998 100644
--- a/var/spack/repos/builtin/packages/kaks-calculator/package.py
+++ b/var/spack/repos/builtin/packages/kaks-calculator/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/kaldi/package.py b/var/spack/repos/builtin/packages/kaldi/package.py
index e4e0fbeb7b..c98df6aa19 100644
--- a/var/spack/repos/builtin/packages/kaldi/package.py
+++ b/var/spack/repos/builtin/packages/kaldi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/kallisto/package.py b/var/spack/repos/builtin/packages/kallisto/package.py
index 25e5fcb9a0..e307decfa4 100644
--- a/var/spack/repos/builtin/packages/kallisto/package.py
+++ b/var/spack/repos/builtin/packages/kallisto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/karma/package.py b/var/spack/repos/builtin/packages/karma/package.py
index f875f6d64f..5486a0d3fc 100644
--- a/var/spack/repos/builtin/packages/karma/package.py
+++ b/var/spack/repos/builtin/packages/karma/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/kassiopeia/package.py b/var/spack/repos/builtin/packages/kassiopeia/package.py
index 90d085acb8..20656a951e 100644
--- a/var/spack/repos/builtin/packages/kassiopeia/package.py
+++ b/var/spack/repos/builtin/packages/kassiopeia/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,6 +13,8 @@ class Kassiopeia(CMakePackage):
url = "https://github.com/KATRIN-Experiment/Kassiopeia/archive/v3.6.1.tar.gz"
git = "https://github.com/KATRIN-Experiment/Kassiopeia.git"
+ tags = ['hep']
+
maintainers = ['wdconinc']
version('3.7.5', sha256='8f28d08c7ef51e64221e0a4705f3cee3a5d738b8cdde5ce9fa58a3a0dd14ae05')
diff --git a/var/spack/repos/builtin/packages/kbd/package.py b/var/spack/repos/builtin/packages/kbd/package.py
index c1a1667d9a..88d74b8366 100644
--- a/var/spack/repos/builtin/packages/kbd/package.py
+++ b/var/spack/repos/builtin/packages/kbd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/kbproto/package.py b/var/spack/repos/builtin/packages/kbproto/package.py
index 2d2dbf63bc..948f308b81 100644
--- a/var/spack/repos/builtin/packages/kbproto/package.py
+++ b/var/spack/repos/builtin/packages/kbproto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/kcov/package.py b/var/spack/repos/builtin/packages/kcov/package.py
index 5e7bf48bd5..68296c06cb 100644
--- a/var/spack/repos/builtin/packages/kcov/package.py
+++ b/var/spack/repos/builtin/packages/kcov/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/kdiff3/package.py b/var/spack/repos/builtin/packages/kdiff3/package.py
index 483a0ffac9..0813bd4f19 100644
--- a/var/spack/repos/builtin/packages/kdiff3/package.py
+++ b/var/spack/repos/builtin/packages/kdiff3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/kea/package.py b/var/spack/repos/builtin/packages/kea/package.py
index acb6516f39..9ed7eaa2d5 100644
--- a/var/spack/repos/builtin/packages/kea/package.py
+++ b/var/spack/repos/builtin/packages/kea/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/kealib/package.py b/var/spack/repos/builtin/packages/kealib/package.py
index 3e050a213c..11cfee8516 100644
--- a/var/spack/repos/builtin/packages/kealib/package.py
+++ b/var/spack/repos/builtin/packages/kealib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/keepalived/package.py b/var/spack/repos/builtin/packages/keepalived/package.py
index 2b1e9f7b07..68377d67fc 100644
--- a/var/spack/repos/builtin/packages/keepalived/package.py
+++ b/var/spack/repos/builtin/packages/keepalived/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/kentutils/package.py b/var/spack/repos/builtin/packages/kentutils/package.py
index f0b4ee8322..29a99a1200 100644
--- a/var/spack/repos/builtin/packages/kentutils/package.py
+++ b/var/spack/repos/builtin/packages/kentutils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/keyutils/package.py b/var/spack/repos/builtin/packages/keyutils/package.py
index 29c588d7c5..2d62065f77 100644
--- a/var/spack/repos/builtin/packages/keyutils/package.py
+++ b/var/spack/repos/builtin/packages/keyutils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/kibana/package.py b/var/spack/repos/builtin/packages/kibana/package.py
index f0e6f53988..22fbe0a4dc 100644
--- a/var/spack/repos/builtin/packages/kibana/package.py
+++ b/var/spack/repos/builtin/packages/kibana/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/kicad/package.py b/var/spack/repos/builtin/packages/kicad/package.py
new file mode 100644
index 0000000000..5a01b40332
--- /dev/null
+++ b/var/spack/repos/builtin/packages/kicad/package.py
@@ -0,0 +1,78 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+class Kicad(CMakePackage):
+ """KiCad is an open source software suite for Electronic Design
+ Automation (EDA). The programs handle Schematic Capture, and PCB
+ Layout with Gerber output."""
+
+ homepage = 'https://kicad.org'
+ url = 'https://gitlab.com/kicad/code/kicad/-/archive/5.1.8/kicad-5.1.8.tar.gz'
+ maintainers = ['aweits']
+
+ version('5.1.8', sha256='bf24f8ef427b4a989479b8e4af0b8ae5c54766755f12748e2e88a922c5344ca4')
+
+ depends_on('wxwidgets')
+ depends_on('python@3:', type=('build', 'run'))
+ # py-wxpython needs work
+ # depends_on('py-wxpython', type=('build', 'run'))
+ depends_on('glew')
+ depends_on('gl')
+ depends_on('glm')
+ depends_on('boost@1.56:')
+ depends_on('oce+X11')
+ depends_on('swig', type='build')
+ depends_on('curl')
+ depends_on('pkgconfig')
+ depends_on('git', type=('build', 'run'))
+ depends_on('ngspice')
+ depends_on('hicolor-icon-theme', type=('build', 'run'))
+ depends_on('adwaita-icon-theme', type=('build', 'run'))
+ depends_on('gsettings-desktop-schemas', type=('build', 'run'))
+
+ extends('python')
+
+ resource_list = [
+ # version, resource, sha256sum
+ ('5.1.8', 'footprints', '8937b5ba0f67844ffaca40632bebe9c2f4f17fba446137434aa72363c55d7dd9'),
+ ('5.1.8', 'packages3D', '81e64939e922742431284bb19d1ec274d6dc10fd238e5583ead21dc08876c221'),
+ ('5.1.8', 'symbols', '98cedcca4d7ad6e3be96ec5a41f8f9b3414eae276bac1efdfd3f8871f0f8bc7e'),
+ ('5.1.8', 'templates', 'd64ca82854e9780413447a3fa82a528b264d39f57d467fddfc78f919e7ed15c5'),
+ ]
+
+ for ver, lib, checksum in resource_list:
+ resource(when='@{0}'.format(ver),
+ name=lib,
+ url='https://gitlab.com/kicad/libraries/kicad-{0}/-/archive/{1}/kicad-{0}-{1}.tar.bz2'.format(lib, ver),
+ sha256=checksum,
+ destination='',
+ )
+
+ def setup_dependent_build_environment(self, env, dependent_spec):
+ env.prepend_path('XDG_DATA_DIRS', self.prefix.share)
+
+ def setup_dependent_run_environment(self, env, dependent_spec):
+ env.prepend_path('XDG_DATA_DIRS', self.prefix.share)
+
+ def setup_build_environment(self, env):
+ env.prepend_path("XDG_DATA_DIRS", self.prefix.share)
+
+ def setup_run_environment(self, env):
+ env.prepend_path("XDG_DATA_DIRS", self.prefix.share)
+
+ def cmake_args(self):
+ args = []
+ args.append('-DKICAD_SCRIPTING_PYTHON3=ON')
+ args.append('-DKICAD_SCRIPTING_WXPYTHON=OFF')
+ return args
+
+ @run_after('install')
+ def install_libraries(self):
+ for ver, lib, checksum in self.resource_list:
+ with working_dir('kicad-{0}-{1}'.format(lib, ver)):
+ args = std_cmake_args
+ cmake(*args)
+ make('install')
diff --git a/var/spack/repos/builtin/packages/kim-api/package.py b/var/spack/repos/builtin/packages/kim-api/package.py
index 7d4af51437..566c7acbb1 100644
--- a/var/spack/repos/builtin/packages/kim-api/package.py
+++ b/var/spack/repos/builtin/packages/kim-api/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -24,12 +24,13 @@ class KimApi(CMakePackage):
"""
extendable = True
homepage = "https://openkim.org/"
- url = "https://s3.openkim.org/kim-api/kim-api-2.1.3.txz"
+ url = "https://s3.openkim.org/kim-api/kim-api-2.2.1.txz"
git = "https://github.com/openkim/kim-api.git"
maintainers = ['ellio167']
version('develop', branch='devel')
+ version('2.2.1', sha256="1d5a12928f7e885ebe74759222091e48a7e46f77e98d9147e26638c955efbc8e")
version('2.1.3', sha256="88a5416006c65a2940d82fad49de0885aead05bfa8b59f87d287db5516b9c467")
version('2.1.2', sha256="16c7dd362cf95288b6288e1a76caf8baef652eb2cf8af500a5eb4767ba2fe80c")
version('2.1.1', sha256="25c4e83c6caa83a1c4ad480b430f1926fb44813b64f548fdaedc45e310b5f6b9")
diff --git a/var/spack/repos/builtin/packages/kinesis/package.py b/var/spack/repos/builtin/packages/kinesis/package.py
index 1a0def0340..a9ea2c9b92 100644
--- a/var/spack/repos/builtin/packages/kinesis/package.py
+++ b/var/spack/repos/builtin/packages/kinesis/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/kitty/package.py b/var/spack/repos/builtin/packages/kitty/package.py
index 49fb0013cc..cc347541ae 100644
--- a/var/spack/repos/builtin/packages/kitty/package.py
+++ b/var/spack/repos/builtin/packages/kitty/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/kmergenie/package.py b/var/spack/repos/builtin/packages/kmergenie/package.py
index 0c7c5150c5..0579254780 100644
--- a/var/spack/repos/builtin/packages/kmergenie/package.py
+++ b/var/spack/repos/builtin/packages/kmergenie/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/kmod/package.py b/var/spack/repos/builtin/packages/kmod/package.py
index 0ee203e7a2..5014e769cc 100644
--- a/var/spack/repos/builtin/packages/kmod/package.py
+++ b/var/spack/repos/builtin/packages/kmod/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/knem/package.py b/var/spack/repos/builtin/packages/knem/package.py
index def620ab4f..757119017b 100644
--- a/var/spack/repos/builtin/packages/knem/package.py
+++ b/var/spack/repos/builtin/packages/knem/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -26,6 +26,10 @@ class Knem(AutotoolsPackage):
variant('hwloc', default=True,
description='Enable hwloc in the user-space tools')
+ patch('https://gitlab.inria.fr/knem/knem/-/commit/5c8cb902d6040df58cdc4e4e4c10d1f1426c3525.patch',
+ sha256='78885a02d6f031a793db6a7190549f8d64c8606b353051d65f8e3f802b801902',
+ when='@1.1.4')
+
depends_on('hwloc', when='+hwloc')
depends_on('pkgconfig', type='build', when='+hwloc')
depends_on('autoconf', type='build', when='@master')
diff --git a/var/spack/repos/builtin/packages/kokkos-kernels-legacy/package.py b/var/spack/repos/builtin/packages/kokkos-kernels-legacy/package.py
index 8507f90bf4..bad52ee83e 100644
--- a/var/spack/repos/builtin/packages/kokkos-kernels-legacy/package.py
+++ b/var/spack/repos/builtin/packages/kokkos-kernels-legacy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,9 +13,9 @@ class KokkosKernelsLegacy(MakefilePackage):
homepage = "https://github.com/kokkos/kokkos-kernels"
url = "https://github.com/kokkos/kokkos-kernels/archive/2.7.00.tar.gz"
- version('2.7.00', sha256='adf4af44eadbdfbeb9ec69dd5fae4e2852bd1fbe4a69213efd199e49f4098254')
- version('2.6.00', sha256='14ebf806f66b9ca73949a478b8d959be7fa1165a640935760a724d7cc0a66335')
- version('2.5.00', sha256='2c2289da3a41dafd97726e90507debafbb9f5e49ca5b0f5c8d1e044a5796f000')
+ version('2.7.00', sha256='adf4af44eadbdfbeb9ec69dd5fae4e2852bd1fbe4a69213efd199e49f4098254', deprecated=True)
+ version('2.6.00', sha256='14ebf806f66b9ca73949a478b8d959be7fa1165a640935760a724d7cc0a66335', deprecated=True)
+ version('2.5.00', sha256='2c2289da3a41dafd97726e90507debafbb9f5e49ca5b0f5c8d1e044a5796f000', deprecated=True)
# make sure kokkos kernels version matches kokkos
depends_on('kokkos-legacy@2.5.00', when='@2.5.00')
diff --git a/var/spack/repos/builtin/packages/kokkos-kernels/package.py b/var/spack/repos/builtin/packages/kokkos-kernels/package.py
index 839a74b474..e1980a85ab 100644
--- a/var/spack/repos/builtin/packages/kokkos-kernels/package.py
+++ b/var/spack/repos/builtin/packages/kokkos-kernels/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/kokkos-legacy/package.py b/var/spack/repos/builtin/packages/kokkos-legacy/package.py
index 4b569967a6..87780d1b23 100644
--- a/var/spack/repos/builtin/packages/kokkos-legacy/package.py
+++ b/var/spack/repos/builtin/packages/kokkos-legacy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,19 +14,19 @@ class KokkosLegacy(Package):
url = "https://github.com/kokkos/kokkos/archive/2.03.00.tar.gz"
git = "https://github.com/kokkos/kokkos.git"
- version('2.9.00', sha256='e0621197791ed3a381b4f02c78fa529f3cff3abb74d52157b4add17e8aa04bc4')
- version('2.8.00', sha256='1c72661f2d770517bff98837001b42b9c677d1df29f7493a1d7c008549aff630')
- version('2.7.24', sha256='a308a80ea1488f4c18884b828ce7ae9f5210b9a6b2f61b208d875084d8da8cb0')
- version('2.7.00', sha256='01595996e612ef7410aa42fa265a23101cfe1b6993fa9810ca844db5c89ad765')
- version('2.5.00', sha256='ea232594bf746abb99ae2aafaeef5d07adc089968010a62a88aaa892106d9476')
- version('2.04.11', sha256='f2680aee0169f6cbbec38410f9c80bf8a160435f6a07769c1e9112da8b9349a0')
- version('2.04.04', sha256='5bac8ddc2fac9bc6e01dd40f92ca6cbbb346a25deca5be2fec71acf712d0d0c7')
- version('2.04.00', sha256='b04658d368986df207662a7a37c1ad974c321447bc2c2b5b696d7e9ee4481f34')
- version('2.03.13', sha256='002748bdd0319d5ab82606cf92dc210fc1c05d0607a2e1d5538f60512b029056')
- version('2.03.05', sha256='b18ddaa1496130ff3f675ea9ddbc6df9cdf378d53edf96df89e70ff189e10e1d')
- version('2.03.00', sha256='722bea558d8986efee765ac912febb3c1ce289a8e9bdfef77cd0145df0ea8a3d')
- version('2.02.15', sha256='6b4a7f189f0341f378f950f3c798f520d2e473b13435b137ff3b666e799a076d')
- version('2.02.07', sha256='7b4ac81021d6868f4eb8e2a1cb92ba76bad9c3f197403b8b1eac0f11c983247c')
+ version('2.9.00', sha256='e0621197791ed3a381b4f02c78fa529f3cff3abb74d52157b4add17e8aa04bc4', deprecated=True)
+ version('2.8.00', sha256='1c72661f2d770517bff98837001b42b9c677d1df29f7493a1d7c008549aff630', deprecated=True)
+ version('2.7.24', sha256='a308a80ea1488f4c18884b828ce7ae9f5210b9a6b2f61b208d875084d8da8cb0', deprecated=True)
+ version('2.7.00', sha256='01595996e612ef7410aa42fa265a23101cfe1b6993fa9810ca844db5c89ad765', deprecated=True)
+ version('2.5.00', sha256='ea232594bf746abb99ae2aafaeef5d07adc089968010a62a88aaa892106d9476', deprecated=True)
+ version('2.04.11', sha256='f2680aee0169f6cbbec38410f9c80bf8a160435f6a07769c1e9112da8b9349a0', deprecated=True)
+ version('2.04.04', sha256='5bac8ddc2fac9bc6e01dd40f92ca6cbbb346a25deca5be2fec71acf712d0d0c7', deprecated=True)
+ version('2.04.00', sha256='b04658d368986df207662a7a37c1ad974c321447bc2c2b5b696d7e9ee4481f34', deprecated=True)
+ version('2.03.13', sha256='002748bdd0319d5ab82606cf92dc210fc1c05d0607a2e1d5538f60512b029056', deprecated=True)
+ version('2.03.05', sha256='b18ddaa1496130ff3f675ea9ddbc6df9cdf378d53edf96df89e70ff189e10e1d', deprecated=True)
+ version('2.03.00', sha256='722bea558d8986efee765ac912febb3c1ce289a8e9bdfef77cd0145df0ea8a3d', deprecated=True)
+ version('2.02.15', sha256='6b4a7f189f0341f378f950f3c798f520d2e473b13435b137ff3b666e799a076d', deprecated=True)
+ version('2.02.07', sha256='7b4ac81021d6868f4eb8e2a1cb92ba76bad9c3f197403b8b1eac0f11c983247c', deprecated=True)
variant('debug', default=False, description="Build debug version of Kokkos")
diff --git a/var/spack/repos/builtin/packages/kokkos-nvcc-wrapper/package.py b/var/spack/repos/builtin/packages/kokkos-nvcc-wrapper/package.py
index 729825489a..c496455899 100644
--- a/var/spack/repos/builtin/packages/kokkos-nvcc-wrapper/package.py
+++ b/var/spack/repos/builtin/packages/kokkos-nvcc-wrapper/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class KokkosNvccWrapper(Package):
# We no longer maintain this as a separate repo
# Download the Kokkos repo and install from there
homepage = "https://github.com/kokkos/kokkos"
- git = "git@github.com:kokkos/kokkos.git"
+ git = "https://github.com/kokkos/kokkos.git"
url = "https://github.com/kokkos/kokkos/archive/3.1.01.tar.gz"
version('3.2.00', sha256='05e1b4dd1ef383ca56fe577913e1ff31614764e65de6d6f2a163b2bddb60b3e9')
diff --git a/var/spack/repos/builtin/packages/kokkos/package.py b/var/spack/repos/builtin/packages/kokkos/package.py
index b3fdca7821..22fa7709e2 100644
--- a/var/spack/repos/builtin/packages/kokkos/package.py
+++ b/var/spack/repos/builtin/packages/kokkos/package.py
@@ -1,11 +1,11 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
-class Kokkos(CMakePackage, CudaPackage):
+class Kokkos(CMakePackage, CudaPackage, ROCmPackage):
"""Kokkos implements a programming model in C++ for writing performance
portable applications targeting all major HPC platforms."""
@@ -29,9 +29,9 @@ class Kokkos(CMakePackage, CudaPackage):
'openmp': [False, 'Whether to build OpenMP backend'],
'pthread': [False, 'Whether to build Pthread backend'],
'serial': [True, 'Whether to build serial backend'],
- 'hip': [False, 'Whether to build HIP backend'],
+ 'rocm': [False, 'Whether to build HIP backend'],
}
- conflicts("+hip", when="@:3.0")
+ conflicts("+rocm", when="@:3.0")
tpls_variants = {
'hpx': [False, 'Whether to enable the HPX library'],
@@ -72,16 +72,6 @@ class Kokkos(CMakePackage, CudaPackage):
'tests': [False, 'Build for tests'],
}
- amd_gpu_arches = (
- 'fiji',
- 'gfx901',
- 'vega900',
- 'vega906',
- )
- variant("amd_gpu_arch", default='none', values=('none',) + amd_gpu_arches,
- description="AMD GPU architecture")
- conflicts("+hip", when="amd_gpu_arch=none")
-
spack_micro_arch_map = {
"graviton": "",
"graviton2": "",
@@ -152,6 +142,20 @@ class Kokkos(CMakePackage, CudaPackage):
cuda_arches = spack_cuda_arch_map.values()
conflicts("+cuda", when="cuda_arch=none")
+ amdgpu_arch_map = {
+ 'gfx900': 'vega900',
+ 'gfx906': 'vega906',
+ 'gfx908': 'vega908'
+ }
+ amd_support_conflict_msg = (
+ '{0} is not supported; '
+ 'Kokkos supports the following AMD GPU targets: '
+ + ', '.join(amdgpu_arch_map.keys()))
+ for arch in ROCmPackage.amdgpu_targets:
+ if arch not in amdgpu_arch_map:
+ conflicts('+rocm', when='amdgpu_target={0}'.format(arch),
+ msg=amd_support_conflict_msg.format(arch))
+
devices_values = list(devices_variants.keys())
for dev in devices_variants:
dflt, desc = devices_variants[dev]
@@ -178,7 +182,7 @@ class Kokkos(CMakePackage, CudaPackage):
depends_on("kokkos-nvcc-wrapper@master", when="@master+wrapper")
conflicts("+wrapper", when="~cuda")
- variant("std", default="11", values=["11", "14", "17", "20"], multi=False)
+ variant("std", default="14", values=["11", "14", "17", "20"], multi=False)
variant("pic", default=False, description="Build position independent code")
# nvcc does not currently work with C++17 or C++20
@@ -188,8 +192,10 @@ class Kokkos(CMakePackage, CudaPackage):
variant('shared', default=True, description='Build shared libraries')
def append_args(self, cmake_prefix, cmake_options, spack_options):
- for opt in cmake_options:
- enablestr = "+%s" % opt
+ variant_to_cmake_option = {'rocm': 'hip'}
+ for variant_name in cmake_options:
+ enablestr = "+%s" % variant_name
+ opt = variant_to_cmake_option.get(variant_name, variant_name)
optuc = opt.upper()
optname = "Kokkos_%s_%s" % (cmake_prefix, optuc)
option = None
@@ -227,14 +233,22 @@ class Kokkos(CMakePackage, CudaPackage):
if not cuda_arch == "none":
kokkos_arch_name = self.spack_cuda_arch_map[cuda_arch]
spack_microarches.append(kokkos_arch_name)
+
kokkos_microarch_name = self.spack_micro_arch_map[spec.target.name]
if kokkos_microarch_name:
spack_microarches.append(kokkos_microarch_name)
- for arch in self.amd_gpu_arches:
- keyval = "amd_gpu_arch=%s" % arch
- if keyval in spec:
- spack_microarches.append(arch)
+ if "+rocm" in spec:
+ for amdgpu_target in spec.variants['amdgpu_target'].value:
+ if amdgpu_target != "none":
+ if amdgpu_target in self.amdgpu_arch_map:
+ spack_microarches.append(
+ self.amdgpu_arch_map[amdgpu_target])
+ else:
+ # Note that conflict declarations should prevent
+ # choosing an unsupported AMD GPU target
+ raise SpackError("Unsupported target: {0}".format(
+ amdgpu_target))
for arch in spack_microarches:
options.append("-DKokkos_ARCH_%s=ON" % arch.upper())
@@ -248,13 +262,12 @@ class Kokkos(CMakePackage, CudaPackage):
if var in self.spec:
options.append("-D%s_DIR=%s" % (tpl, spec[tpl].prefix))
- # we do not need the compiler wrapper from Spack
- # set the compiler explicitly (may be Spack wrapper or nvcc-wrapper)
- try:
+ if '+rocm' in self.spec:
+ options.append('-DCMAKE_CXX_COMPILER=%s' %
+ self.spec['hip'].hipcc)
+ elif '+wrapper' in self.spec:
options.append("-DCMAKE_CXX_COMPILER=%s" %
self.spec["kokkos-nvcc-wrapper"].kokkos_cxx)
- except Exception:
- options.append("-DCMAKE_CXX_COMPILER=%s" % spack_cxx)
# Set the C++ standard to use
options.append("-DKokkos_CXX_STANDARD=%s" %
diff --git a/var/spack/repos/builtin/packages/kraken/package.py b/var/spack/repos/builtin/packages/kraken/package.py
index e798e540cd..9c78563b19 100644
--- a/var/spack/repos/builtin/packages/kraken/package.py
+++ b/var/spack/repos/builtin/packages/kraken/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/kraken2/package.py b/var/spack/repos/builtin/packages/kraken2/package.py
index e970752ad2..95463042aa 100644
--- a/var/spack/repos/builtin/packages/kraken2/package.py
+++ b/var/spack/repos/builtin/packages/kraken2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,10 +13,11 @@ class Kraken2(Package):
sequences, usually obtained through metagenomic studies."""
homepage = "https://ccb.jhu.edu/software/kraken2/"
- url = "https://github.com/DerrickWood/kraken2/archive/v2.0.8-beta.tar.gz"
+ url = "https://github.com/DerrickWood/kraken2/archive/v2.1.1.tar.gz"
maintainers = ['rberg2']
+ version('2.1.1', sha256='8f3e928cdb32b9e8e6f55b44703d1557b2a5fc3f30f63e8d16e465e19a81dee4')
version('2.0.8-beta', sha256='f2a91fc57a40b3e87df8ac2ea7c0ff1060cc9295c95de417ee53249ee3f7ad8e')
version('2.0.7-beta', sha256='baa160f5aef73327e1a79e6d1c54b64b2fcdaee0be31b456f7bc411d1897a744')
version('2.0.6-beta', sha256='d77db6251179c4d7e16bc9b5e5e9043d25acf81f3e32ad6eadfba829a31e1d09')
diff --git a/var/spack/repos/builtin/packages/krb5/mit-krb5-1.17-static-libs.patch b/var/spack/repos/builtin/packages/krb5/mit-krb5-1.17-static-libs.patch
new file mode 100644
index 0000000000..cdf0a097b4
--- /dev/null
+++ b/var/spack/repos/builtin/packages/krb5/mit-krb5-1.17-static-libs.patch
@@ -0,0 +1,15 @@
+--- src/lib/crypto/builtin/aes/Makefile.in.orig 2019-06-27 14:51:51.305688932 +0200
++++ src/lib/crypto/builtin/aes/Makefile.in 2019-06-27 14:52:46.428203235 +0200
+@@ -34,10 +34,10 @@
+
+ all-unix: all-libobjs # aes-gen
+
+-iaesx64@SHOBJEXT@: $(srcdir)/iaesx64.s
++iaesx64.$(OBJEXT) iaesx64@SHOBJEXT@: $(srcdir)/iaesx64.s
+ $(YASM) $(AESNI_FLAGS) -o $@ $(srcdir)/iaesx64.s
+
+-iaesx86@SHOBJEXT@: $(srcdir)/iaesx86.s
++iaesx86.$(OBJEXT) iaesx86@SHOBJEXT@: $(srcdir)/iaesx86.s
+ $(YASM) $(AESNI_FLAGS) -o $@ $(srcdir)/iaesx86.s
+
+ includes: depend
diff --git a/var/spack/repos/builtin/packages/krb5/package.py b/var/spack/repos/builtin/packages/krb5/package.py
index bdc99e1059..a082c8b728 100644
--- a/var/spack/repos/builtin/packages/krb5/package.py
+++ b/var/spack/repos/builtin/packages/krb5/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -26,6 +26,12 @@ class Krb5(AutotoolsPackage):
depends_on('bison', type='build')
depends_on('openssl')
+ variant(
+ 'shared', default=True,
+ description='install shared libraries if True, static if false'
+ )
+ patch('mit-krb5-1.17-static-libs.patch', level=0)
+
configure_directory = 'src'
build_directory = 'src'
@@ -51,4 +57,12 @@ class Krb5(AutotoolsPackage):
string=True)
def configure_args(self):
- return ['--without-system-verto']
+ args = ['--without-system-verto']
+
+ if '~shared' in self.spec:
+ args.append('--enable-static')
+ args.append('--disable-shared')
+ else:
+ args.append('--disable-static')
+
+ return args
diff --git a/var/spack/repos/builtin/packages/krims/package.py b/var/spack/repos/builtin/packages/krims/package.py
index 8b0048b810..770c9b5f71 100644
--- a/var/spack/repos/builtin/packages/krims/package.py
+++ b/var/spack/repos/builtin/packages/krims/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/kripke/package.py b/var/spack/repos/builtin/packages/kripke/package.py
index 86a347c66a..15a95bbc73 100644
--- a/var/spack/repos/builtin/packages/kripke/package.py
+++ b/var/spack/repos/builtin/packages/kripke/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/kubernetes/package.py b/var/spack/repos/builtin/packages/kubernetes/package.py
index 5af5f6e67d..adada4d0f4 100644
--- a/var/spack/repos/builtin/packages/kubernetes/package.py
+++ b/var/spack/repos/builtin/packages/kubernetes/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/kvasir-mpl/package.py b/var/spack/repos/builtin/packages/kvasir-mpl/package.py
index 7d0b23fd8b..36cf4ef7e1 100644
--- a/var/spack/repos/builtin/packages/kvasir-mpl/package.py
+++ b/var/spack/repos/builtin/packages/kvasir-mpl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/kvtree/package.py b/var/spack/repos/builtin/packages/kvtree/package.py
index 40e57ed0ee..a7661c0aae 100644
--- a/var/spack/repos/builtin/packages/kvtree/package.py
+++ b/var/spack/repos/builtin/packages/kvtree/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/kylin/package.py b/var/spack/repos/builtin/packages/kylin/package.py
index 40223e845c..0b3f9c5f5b 100644
--- a/var/spack/repos/builtin/packages/kylin/package.py
+++ b/var/spack/repos/builtin/packages/kylin/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ladot/package.py b/var/spack/repos/builtin/packages/ladot/package.py
index b3c2922a91..aa0c761d02 100644
--- a/var/spack/repos/builtin/packages/ladot/package.py
+++ b/var/spack/repos/builtin/packages/ladot/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/laghos/package.py b/var/spack/repos/builtin/packages/laghos/package.py
index e5a828dbe8..03dd7ca4ab 100644
--- a/var/spack/repos/builtin/packages/laghos/package.py
+++ b/var/spack/repos/builtin/packages/laghos/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lame/package.py b/var/spack/repos/builtin/packages/lame/package.py
index 772fb4c01b..0c51f4c75b 100644
--- a/var/spack/repos/builtin/packages/lame/package.py
+++ b/var/spack/repos/builtin/packages/lame/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lammps/package.py b/var/spack/repos/builtin/packages/lammps/package.py
index 5f96f150c7..509d17d2d6 100644
--- a/var/spack/repos/builtin/packages/lammps/package.py
+++ b/var/spack/repos/builtin/packages/lammps/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -60,11 +60,19 @@ class Lammps(CMakePackage, CudaPackage):
supported_packages = ['asphere', 'body', 'class2', 'colloid', 'compress',
'coreshell', 'dipole', 'granular', 'kspace',
'kokkos', 'latte', 'manybody', 'mc', 'meam', 'misc',
- 'molecule', 'mpiio', 'peri', 'poems', 'python',
- 'qeq', 'replica', 'rigid', 'shock', 'snap', 'spin',
- 'srd', 'user-atc', 'user-h5md', 'user-lb',
- 'user-meamc', 'user-misc', 'user-netcdf', 'user-omp',
- 'user-reaxc', 'voronoi']
+ 'mliap', 'molecule', 'mpiio', 'opt', 'peri', 'poems',
+ 'python', 'qeq', 'replica', 'rigid', 'shock', 'snap',
+ 'spin', 'srd', 'user-atc', 'user-adios',
+ 'user-awpmd', 'user-bocs', 'user-cgsdk',
+ 'user-colvars', 'user-diffraction', 'user-dpd',
+ 'user-drude', 'user-eff', 'user-fep', 'user-h5md',
+ 'user-lb', 'user-manifold', 'user-meamc',
+ 'user-mesodpd', 'user-mesont', 'user-mgpt',
+ 'user-misc', 'user-mofff', 'user-netcdf', 'user-omp',
+ 'user-phonon', 'user-plumed', 'user-ptm', 'user-qtb',
+ 'user-reaction', 'user-reaxc', 'user-sdpd',
+ 'user-smd', 'user-smtbq', 'user-sph', 'user-tally',
+ 'user-uef', 'user-yaff', 'voronoi']
for pkg in supported_packages:
variant(pkg, default=False,
@@ -79,6 +87,8 @@ class Lammps(CMakePackage, CudaPackage):
description='Build with png support')
variant('ffmpeg', default=True,
description='Build with ffmpeg support')
+ variant('kim', default=True,
+ description='Build with KIM support')
variant('openmp', default=True, description='Build with OpenMP')
variant('opencl', default=False, description='Build with OpenCL')
variant('exceptions', default=False,
@@ -95,7 +105,6 @@ class Lammps(CMakePackage, CudaPackage):
depends_on('blas', when='+user-atc')
depends_on('lapack', when='+user-atc')
depends_on('opencl', when='+opencl')
-
depends_on('latte@1.0.1', when='@:20180222+latte')
depends_on('latte@1.1.1:', when='@20180316:20180628+latte')
depends_on('latte@1.2.1:', when='@20180629:20200505+latte')
@@ -107,10 +116,14 @@ class Lammps(CMakePackage, CudaPackage):
depends_on('mpi', when='+user-h5md')
depends_on('hdf5', when='+user-h5md')
depends_on('jpeg', when='+jpeg')
+ depends_on('kim-api', when='+kim')
depends_on('libpng', when='+png')
depends_on('ffmpeg', when='+ffmpeg')
depends_on('kokkos+deprecated_code+shared@3.0', when='@20200303+kokkos')
depends_on('kokkos+shared@3.1:', when='@20200505:+kokkos')
+ depends_on('adios2', when='+user-adios')
+ depends_on('plumed', when='+user-plumed')
+ depends_on('eigen@3:', when='+user-smd')
conflicts('+cuda', when='+opencl')
conflicts('+body', when='+poems@:20180628')
@@ -123,8 +136,22 @@ class Lammps(CMakePackage, CudaPackage):
conflicts('+user-misc', when='~manybody')
conflicts('%gcc@9:', when='@:20200303+openmp')
conflicts('+kokkos', when='@:20200227')
- conflicts('+meam', when='@20181212:')
- conflicts('+user-meamc', when='@:20181212')
+ conflicts(
+ '+meam', when='@20181212:',
+ msg='+meam was removed after @20181212, use +user-meamc instead')
+ conflicts(
+ '+user-meamc', when='@:20181212',
+ msg='+user-meamc only added @20181212, use +meam instead')
+ conflicts(
+ '+user-reaction', when='@:20200303',
+ msg='+user-reaction only supported for version 20200505 and later')
+ conflicts('+mliap', when='~snap')
+ conflicts(
+ '+adios +mpi', when='^adios2~mpi',
+ msg='With +adios, mpi setting for adios2 and lammps must be the same')
+ conflicts(
+ '+adios ~mpi', when='^adios2+mpi',
+ msg='With +adios, mpi setting for adios2 and lammps must be the same')
patch("lib.patch", when="@20170901")
patch("660.patch", when="@20170922")
@@ -181,13 +208,33 @@ class Lammps(CMakePackage, CudaPackage):
args.append('{0}=ON'.format(opt))
else:
args.append('{0}=OFF'.format(opt))
+ if '+kim' in spec:
+ args.append('-DPKG_KIM=ON')
if '+kspace' in spec:
if '^fftw' in spec:
args.append('-DFFT=FFTW3')
if '^mkl' in spec:
args.append('-DFFT=MKL')
+ if '^amdfftw' in spec:
+ fftw_prefix = spec['amdfftw'].prefix
+ args.append('-DFFTW_HOME={0}'.format(fftw_prefix))
+ args.append('-DFFTW_INCLUDE_DIRS={0}'
+ .format(fftw_prefix.include))
+ args.append('-DFFTW_LIBRARY_DIRS={0}'.format(fftw_prefix.lib))
if '+kokkos' in spec:
args.append('-DEXTERNAL_KOKKOS=ON')
+ if '+user-adios' in spec:
+ args.append('-DADIOS2_DIR={0}'.format(self.spec['adios2'].prefix))
+ if '+user-plumed' in spec:
+ args.append('-DDOWNLOAD_PLUMED=no')
+ if '+shared' in self.spec['plumed']:
+ args.append('-DPLUMED_MODE=shared')
+ else:
+ args.append('-DPLUMED_MODE=static')
+ if '+user-smd' in spec:
+ args.append('-DDOWNLOAD_EIGEN3=no')
+ args.append('-DEIGEN3_INCLUDE_DIR={0}'.format(
+ self.spec['eigen'].prefix.include))
return args
diff --git a/var/spack/repos/builtin/packages/lapackpp/package.py b/var/spack/repos/builtin/packages/lapackpp/package.py
index ebb3316b37..87116837f0 100644
--- a/var/spack/repos/builtin/packages/lapackpp/package.py
+++ b/var/spack/repos/builtin/packages/lapackpp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/last/package.py b/var/spack/repos/builtin/packages/last/package.py
index 9e6d1c49c3..10c37ec04c 100644
--- a/var/spack/repos/builtin/packages/last/package.py
+++ b/var/spack/repos/builtin/packages/last/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lastz/package.py b/var/spack/repos/builtin/packages/lastz/package.py
index 4b0431b2e9..be28c289b6 100644
--- a/var/spack/repos/builtin/packages/lastz/package.py
+++ b/var/spack/repos/builtin/packages/lastz/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/laszip/package.py b/var/spack/repos/builtin/packages/laszip/package.py
index 57f349a2e1..e0484c6089 100644
--- a/var/spack/repos/builtin/packages/laszip/package.py
+++ b/var/spack/repos/builtin/packages/laszip/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/latte/package.py b/var/spack/repos/builtin/packages/latte/package.py
index d67f98397e..6bda084045 100644
--- a/var/spack/repos/builtin/packages/latte/package.py
+++ b/var/spack/repos/builtin/packages/latte/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/launchmon/package.py b/var/spack/repos/builtin/packages/launchmon/package.py
index 3115e63b55..19342d47a4 100644
--- a/var/spack/repos/builtin/packages/launchmon/package.py
+++ b/var/spack/repos/builtin/packages/launchmon/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,6 +12,7 @@ class Launchmon(AutotoolsPackage):
homepage = "https://github.com/LLNL/LaunchMON"
url = "https://github.com/LLNL/LaunchMON/releases/download/v1.0.2/launchmon-v1.0.2.tar.gz"
git = "https://github.com/llnl/launchmon.git"
+ maintainers = ['lee218llnl']
version('master', branch='master')
version('1.0.2', sha256='1d301ccccfe0873efcd66da87ed5e4d7bafc560b00aee396d8a9365f53b3a33a')
diff --git a/var/spack/repos/builtin/packages/lazyten/package.py b/var/spack/repos/builtin/packages/lazyten/package.py
index b9a7b6cfa1..00e6a0be39 100644
--- a/var/spack/repos/builtin/packages/lazyten/package.py
+++ b/var/spack/repos/builtin/packages/lazyten/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lbann/package.py b/var/spack/repos/builtin/packages/lbann/package.py
index 11c4ed2f1a..241fc433b6 100644
--- a/var/spack/repos/builtin/packages/lbann/package.py
+++ b/var/spack/repos/builtin/packages/lbann/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ import os
from spack import *
-class Lbann(CMakePackage, CudaPackage):
+class Lbann(CMakePackage, CudaPackage, ROCmPackage):
"""LBANN: Livermore Big Artificial Neural Network Toolkit. A distributed
memory, HPC-optimized, model and data parallel training toolkit for deep
neural networks."""
@@ -33,31 +33,47 @@ class Lbann(CMakePackage, CudaPackage):
version('0.92', sha256='9187c5bcbc562c2828fe619d53884ab80afb1bcd627a817edb935b80affe7b84')
version('0.91', sha256='b69f470829f434f266119a33695592f74802cff4b76b37022db00ab32de322f5')
- variant('opencv', default=True, description='Builds with support for image processing routines with OpenCV')
- variant('seq_init', default=False, description='Force serial initialization of weight matrices.')
- variant('dtype', default='float',
- description='Type for floating point representation of weights',
- values=('float', 'double'))
+ variant('al', default=True, description='Builds with support for Aluminum Library')
variant('build_type', default='Release',
description='The build type to build',
values=('Debug', 'Release'))
- variant('al', default=True, description='Builds with support for Aluminum Library')
variant('conduit', default=True,
description='Builds with support for Conduit Library '
'(note that for v0.99 conduit is required)')
- variant('half', default=False,
- description='Builds with support for FP16 precision data types')
+ variant('deterministic', default=False,
+ description='Builds with support for deterministic execution')
variant('dihydrogen', default=False,
description='Builds with support for DiHydrogen Tensor Library')
variant('distconv', default=False,
description='Builds with support for spatial, filter, or channel '
'distributed convolutions')
-
- variant('vtune', default=False, description='Builds with support for Intel VTune')
variant('docs', default=False, description='Builds with support for building documentation')
+ variant('dtype', default='float',
+ description='Type for floating point representation of weights',
+ values=('float', 'double'))
variant('extras', default=False, description='Add python modules for LBANN related tools')
+ variant('fft', default=False, description='Support for FFT operations')
+ variant('half', default=False,
+ description='Builds with support for FP16 precision data types')
+ variant('hwloc', default=True, description='Add support for topology aware algorithms')
+ variant('nvprof', default=False, description='Build with region annotations for NVPROF')
+ variant('numpy', default=False,
+ description='Builds with support for processing NumPy data files')
+ variant('vision', default=False,
+ description='Builds with support for image processing data with OpenCV')
+ variant('vtune', default=False, description='Builds with support for Intel VTune')
+ variant('onednn', default=False, description='Support for OneDNN')
+ variant('nvshmem', default=False, description='Support for NVSHMEM')
+ variant('python_dr', default=False, description='Support for generic Python Data Reader')
+ variant('pfe', default=True, description='Python Frontend for generating and launching models')
+ # Variant Conflicts
conflicts('@:0.90,0.99:', when='~conduit')
+ conflicts('@0.90:0.101.99', when='+fft')
+ conflicts('~cuda', when='+nvprof')
+ conflicts('~hwloc', when='+al')
+ conflicts('~cuda', when='+nvshmem')
+ conflicts('+cuda', when='+rocm', msg='CUDA and ROCm support are mutually exclusive')
depends_on('cmake@3.17.0:', type='build')
@@ -74,6 +90,8 @@ class Lbann(CMakePackage, CudaPackage):
depends_on('hydrogen +cuda', when='+cuda')
depends_on('hydrogen ~half', when='~half')
depends_on('hydrogen +half', when='+half')
+ depends_on('hydrogen ~rocm', when='~rocm')
+ depends_on('hydrogen +rocm', when='+rocm')
depends_on('hydrogen build_type=Debug', when='build_type=Debug')
# Older versions depended on Elemental not Hydrogen
@@ -88,48 +106,68 @@ class Lbann(CMakePackage, CudaPackage):
# Add Aluminum variants
depends_on('aluminum +cuda +nccl +ht +cuda_rma', when='+al +cuda')
+ depends_on('aluminum +rocm +rccl +ht', when='+al +rocm')
depends_on('dihydrogen +openmp', when='+dihydrogen')
depends_on('dihydrogen ~cuda', when='+dihydrogen ~cuda')
depends_on('dihydrogen +cuda', when='+dihydrogen +cuda')
depends_on('dihydrogen ~al', when='+dihydrogen ~al')
depends_on('dihydrogen +al', when='+dihydrogen +al')
- depends_on('dihydrogen +legacy +cuda', when='+distconv')
+ depends_on('dihydrogen +distconv +cuda', when='+distconv')
depends_on('dihydrogen ~half', when='+dihydrogen ~half')
depends_on('dihydrogen +half', when='+dihydrogen +half')
+ depends_on('dihydrogen ~nvshmem', when='+dihydrogen ~nvshmem')
+ depends_on('dihydrogen +nvshmem', when='+dihydrogen +nvshmem')
+ depends_on('dihydrogen ~rocm', when='+dihydrogen ~rocm')
+ depends_on('dihydrogen +rocm', when='+dihydrogen +rocm')
depends_on('dihydrogen@0.1', when='@0.101:0.101.99 +dihydrogen')
depends_on('dihydrogen@:0.0,0.2:', when='@:0.90,0.102: +dihydrogen')
conflicts('~dihydrogen', when='+distconv')
+ for arch in CudaPackage.cuda_arch_values:
+ depends_on('hydrogen cuda_arch=%s' % arch, when='cuda_arch=%s' % arch)
+ depends_on('aluminum cuda_arch=%s' % arch, when='+al +cuda cuda_arch=%s' % arch)
+ depends_on('dihydrogen cuda_arch=%s' % arch, when='+dihydrogen cuda_arch=%s' % arch)
+ depends_on('nccl cuda_arch=%s' % arch, when='+cuda cuda_arch=%s' % arch)
+
+ # variants +rocm and amdgpu_targets are not automatically passed to
+ # dependencies, so do it manually.
+ for val in ROCmPackage.amdgpu_targets:
+ depends_on('hydrogen amdgpu_target=%s' % val, when='amdgpu_target=%s' % val)
+ depends_on('aluminum amdgpu_target=%s' % val, when='+al amdgpu_target=%s' % val)
+ depends_on('dihydrogen amdgpu_target=%s' % val, when='+dihydrogen amdgpu_target=%s' % val)
+
depends_on('cudnn', when='@0.90:0.100.99 +cuda')
depends_on('cudnn@8.0.2:', when='@:0.90,0.101: +cuda')
depends_on('cub', when='@0.94:0.98.2 +cuda ^cuda@:10.99')
+ depends_on('hipcub', when='+rocm')
depends_on('mpi')
- depends_on('hwloc@1.11:', when='@:0.90,0.102:')
- depends_on('hwloc@1.11:1.11.99', when='@0.95:0.101.99')
+ depends_on('hwloc@1.11:', when='@:0.90,0.102: +hwloc')
+ depends_on('hwloc@1.11:1.11.99', when='@0.95:0.101.99 +hwloc')
+ depends_on('hwloc +cuda +nvml', when='+cuda')
+ depends_on('hwloc@2.3.0:', when='+rocm')
depends_on('half', when='+half')
+ depends_on('fftw@3.3: +openmp', when='+fft')
+
# LBANN wraps OpenCV calls in OpenMP parallel loops, build without OpenMP
# Additionally disable video related options, they incorrectly link in a
# bad OpenMP library when building with clang or Intel compilers
- depends_on('opencv@4.1.0: build_type=RelWithDebInfo +core +highgui +imgproc +jpeg '
- '+png +tiff +zlib +fast-math ~calib3d ~cuda ~dnn ~eigen'
- '~features2d ~flann ~gtk ~ipp ~ipp_iw ~jasper ~java ~lapack ~ml'
- '~openmp ~opencl ~opencl_svm ~openclamdblas ~openclamdfft'
- '~pthreads_pf ~python ~qt +shared ~stitching ~superres ~ts'
- '~video ~videostab ~videoio ~vtk', when='+opencv')
+ depends_on('opencv@4.1.0: build_type=RelWithDebInfo +core +highgui '
+ '+imgcodecs +imgproc +jpeg +png +tiff +zlib +fast-math ~cuda',
+ when='+vision')
# Note that for Power systems we want the environment to add +powerpc +vsx
- depends_on('opencv@4.1.0: +powerpc +vsx', when='+opencv arch=ppc64le:')
+ depends_on('opencv@4.1.0: +powerpc +vsx', when='+vision arch=ppc64le:')
- depends_on('cnpy')
+ depends_on('cnpy', when='+numpy')
depends_on('nccl', when='@0.94:0.98.2 +cuda')
depends_on('conduit@0.4.0: +hdf5~hdf5_compat', when='@0.94:0.99 +conduit')
depends_on('conduit@0.4.0: +hdf5~hdf5_compat', when='@:0.90,0.99:')
- depends_on('python@3:3.7.9 +shared', type=('build', 'run'), when='@:0.90,0.99:')
+ depends_on('python@3: +shared', type=('build', 'run'), when='@:0.90,0.99:')
extends("python")
depends_on('py-setuptools', type='build')
depends_on('py-argparse', type='run', when='@:0.90,0.99: ^python@:2.6')
@@ -149,11 +187,14 @@ class Lbann(CMakePackage, CudaPackage):
depends_on('py-m2r', type='build', when='+docs')
depends_on('cereal')
- depends_on('catch2', type='test')
+ depends_on('catch2', type=('build', 'test'))
depends_on('clara')
depends_on('llvm-openmp', when='%apple-clang')
+ depends_on('onednn cpu_runtime=omp gpu_runtime=none', when='+onednn')
+ depends_on('nvshmem', when='+nvshmem')
+
generator = 'Ninja'
depends_on('ninja', type='build')
@@ -162,13 +203,28 @@ class Lbann(CMakePackage, CudaPackage):
spec = self.spec
# Environment variables
cppflags = []
- cppflags.append('-DLBANN_SET_EL_RNG -ldl')
-
- return [
+ cppflags.append('-DLBANN_SET_EL_RNG')
+ args = []
+ args.extend([
'-DCMAKE_CXX_FLAGS=%s' % ' '.join(cppflags),
'-DLBANN_VERSION=spack',
- '-DCNPY_DIR={0}'.format(spec['cnpy'].prefix),
- ]
+ ])
+
+ if '+numpy' in spec:
+ args.append(
+ '-DCNPY_DIR={0}'.format(spec['cnpy'].prefix),
+ )
+ # Use a high performance linker
+ if self.spec.satisfies('%clang'):
+ args.extend([
+ '-DCMAKE_EXE_LINKER_FLAGS=-fuse-ld=lld',
+ '-DCMAKE_SHARED_LINKER_FLAGS=-fuse-ld=lld'])
+ elif self.spec.satisfies('%gcc'):
+ args.extend([
+ '-DCMAKE_EXE_LINKER_FLAGS=-fuse-ld=gold',
+ '-DCMAKE_SHARED_LINKER_FLAGS=-fuse-ld=gold'])
+
+ return args
def setup_build_environment(self, env):
if self.spec.satisfies('%apple-clang'):
@@ -183,26 +239,38 @@ class Lbann(CMakePackage, CudaPackage):
# Get any recent versions or non-numeric version
# Note that develop > numeric and non-develop < numeric
+
@when('@:0.90,0.94:')
def cmake_args(self):
spec = self.spec
args = self.common_config_args
args.extend([
- '-DLBANN_WITH_TOPO_AWARE:BOOL=%s' % ('+cuda +nccl' in spec),
+ '-DCMAKE_CXX_STANDARD=17',
+ '-DLBANN_WITH_CNPY=%s' % ('+numpy' in spec),
+ '-DLBANN_DETERMINISTIC:BOOL=%s' % ('+deterministic' in spec),
+ '-DLBANN_WITH_HWLOC=%s' % ('+hwloc' in spec),
'-DLBANN_WITH_ALUMINUM:BOOL=%s' % ('+al' in spec),
'-DLBANN_WITH_CONDUIT:BOOL=%s' % ('+conduit' in spec),
- '-DLBANN_WITH_CUDA:BOOL=%s' % ('+cuda' in spec),
- '-DLBANN_WITH_CUDNN:BOOL=%s' % ('+cuda' in spec),
- '-DLBANN_WITH_SOFTMAX_CUDA:BOOL=%s' % ('+cuda' in spec),
- '-DLBANN_SEQUENTIAL_INITIALIZATION:BOOL=%s' %
- ('+seq_init' in spec),
+ '-DLBANN_WITH_NVSHMEM:BOOL=%s' % ('+nvshmem' in spec),
+ '-DLBANN_WITH_FFT:BOOL=%s' % ('+fft' in spec),
+ '-DLBANN_WITH_ONEDNN:BOOL=%s' % ('+onednn' in spec),
+ '-DLBANN_WITH_EMBEDDED_PYTHON:BOOL=%s' % ('+python_dr' in spec),
+ '-DLBANN_WITH_PYTHON:BOOL=%s' % ('+pfe' in spec),
'-DLBANN_WITH_TBINF=OFF',
+ '-DLBANN_WITH_UNIT_TESTING:BOOL=%s' % (self.run_tests),
+ '-DLBANN_WITH_VISION:BOOL=%s' % ('+vision' in spec),
'-DLBANN_WITH_VTUNE:BOOL=%s' % ('+vtune' in spec),
'-DLBANN_DATATYPE={0}'.format(spec.variants['dtype'].value),
- '-DLBANN_VERBOSE=0',
'-DCEREAL_DIR={0}'.format(spec['cereal'].prefix),
# protobuf is included by py-protobuf+cpp
- '-DProtobuf_DIR={0}'.format(spec['protobuf'].prefix)])
+ '-DProtobuf_DIR={0}'.format(spec['protobuf'].prefix),
+ '-Dprotobuf_MODULE_COMPATIBLE=ON'])
+
+ if '+cuda' in spec:
+ if spec.satisfies('^cuda@11.0:'):
+ args.append('-DCMAKE_CUDA_STANDARD=17')
+ else:
+ args.append('-DCMAKE_CUDA_STANDARD=14')
if spec.satisfies('@:0.90') or spec.satisfies('@0.95:'):
args.append(
@@ -224,9 +292,7 @@ class Lbann(CMakePackage, CudaPackage):
args.append('-DAluminum_DIR={0}'.format(spec['aluminum'].prefix))
if '+conduit' in spec:
- args.extend([
- '-DLBANN_CONDUIT_DIR={0}'.format(spec['conduit'].prefix),
- '-DConduit_DIR={0}'.format(spec['conduit'].prefix)])
+ args.append('-DConduit_DIR={0}'.format(spec['conduit'].prefix))
# Add support for OpenMP with external (Brew) clang
if spec.satisfies('%clang platform=darwin'):
@@ -239,7 +305,7 @@ class Lbann(CMakePackage, CudaPackage):
'-DOpenMP_libomp_LIBRARY={0}/lib/libomp.dylib'.format(
clang_root)])
- if '+opencv' in spec:
+ if '+vision' in spec:
args.append('-DOpenCV_DIR:STRING={0}'.format(
spec['opencv'].prefix))
@@ -258,6 +324,8 @@ class Lbann(CMakePackage, CudaPackage):
args.append(
'-DNCCL_DIR={0}'.format(
spec['nccl'].prefix))
+ args.append(
+ '-DLBANN_WITH_NVPROF:BOOL=%s' % ('+nvprof' in spec))
if spec.satisfies('@:0.90') or spec.satisfies('@0.100:'):
args.append(
@@ -267,6 +335,18 @@ class Lbann(CMakePackage, CudaPackage):
args.append(
'-DLBANN_WITH_DISTCONV:BOOL=%s' % ('+distconv' in spec))
+ if '+rocm' in spec:
+ args.extend([
+ '-DHIP_ROOT_DIR={0}'.format(spec['hip'].prefix),
+ '-DHIP_CXX_COMPILER={0}'.format(self.spec['hip'].hipcc)])
+ archs = self.spec.variants['amdgpu_target'].value
+ if archs != 'none':
+ arch_str = ",".join(archs)
+ args.append(
+ '-DHIP_HIPCC_FLAGS=--amdgpu-target={0}'
+ ' -g -fsized-deallocation -fPIC -std=c++17'.format(arch_str)
+ )
+
return args
@when('@0.91:0.93')
@@ -283,7 +363,6 @@ class Lbann(CMakePackage, CudaPackage):
'-DElemental_DIR={0}'.format(spec['elemental'].prefix),
'-DELEMENTAL_MATH_LIBS={0}'.format(
spec['elemental'].libs),
- '-DSEQ_INIT:BOOL=%s' % ('+seq_init' in spec),
'-DVERBOSE=0',
'-DLBANN_HOME=.'])
@@ -292,7 +371,7 @@ class Lbann(CMakePackage, CudaPackage):
elif spec.variants['dtype'].value == 'double':
args.append('-DDATATYPE=8')
- if '+opencv' in spec:
+ if '+vision' in spec:
args.append('-DOpenCV_DIR:STRING={0}'.format(
spec['opencv'].prefix))
diff --git a/var/spack/repos/builtin/packages/lbxproxy/package.py b/var/spack/repos/builtin/packages/lbxproxy/package.py
index 94cf8afb36..51f7038e39 100644
--- a/var/spack/repos/builtin/packages/lbxproxy/package.py
+++ b/var/spack/repos/builtin/packages/lbxproxy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -26,8 +26,8 @@ class Lbxproxy(AutotoolsPackage, XorgPackage):
depends_on('libx11')
depends_on('libice')
- depends_on('xtrans', type='build')
- depends_on('xproxymanagementprotocol', type='build')
- depends_on('bigreqsproto', type='build')
+ depends_on('xtrans')
+ depends_on('xproxymanagementprotocol')
+ depends_on('bigreqsproto')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/lbzip2/package.py b/var/spack/repos/builtin/packages/lbzip2/package.py
index 3a4f7577f4..818bc7828a 100644
--- a/var/spack/repos/builtin/packages/lbzip2/package.py
+++ b/var/spack/repos/builtin/packages/lbzip2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lcals/package.py b/var/spack/repos/builtin/packages/lcals/package.py
index e5a39b5a05..89eab5b2ed 100644
--- a/var/spack/repos/builtin/packages/lcals/package.py
+++ b/var/spack/repos/builtin/packages/lcals/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lcio/package.py b/var/spack/repos/builtin/packages/lcio/package.py
index e48bce82be..a4fdff0f80 100644
--- a/var/spack/repos/builtin/packages/lcio/package.py
+++ b/var/spack/repos/builtin/packages/lcio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,9 +14,13 @@ class Lcio(CMakePackage):
git = "https://github.com/iLCSoft/LCIO.git"
url = "https://github.com/iLCSoft/LCIO/archive/v02-13-03.tar.gz"
+ tags = ['hep']
+
maintainers = ['gaede', 'vvolkl']
version('master', branch='master')
+ version('2.16', sha256='aff7707750d821f31cbae3d7529fd8e22457f48d759e834ec01aa9389b5dbf1a')
+ version('2.15.4', sha256='720c8130762d445df44d2c245da01c0a1ca807d7ed62362cebf7b3a99f9a37d7')
version('2.15.3', sha256='a00f9e1e8fc98151e88e603bbfca8088ded21ae3daca5c91869628a19af0cefb')
version('2.15.2', sha256='9886c6f5c275c1c51bde978e4f5514bb4ea9588239f1d3ee95a76ef4b686e69d')
version('2.15.1', sha256='32921feb162408357d00a81cdd489c374b3ed8ab6f442d798b22835de7243d32')
@@ -40,6 +44,9 @@ class Lcio(CMakePackage):
variant("examples", default=False,
description="Turn on to build LCIO examples")
+ depends_on('sio@0.0.2:', when='@2.14:')
+ depends_on('sio@0.0.4:', when='@2.16:')
+
depends_on('root@6.04:', when="+rootdict")
depends_on('openjdk', when="+jar")
# build error with +termlib, to be investigated
diff --git a/var/spack/repos/builtin/packages/lcms/package.py b/var/spack/repos/builtin/packages/lcms/package.py
index 2ad9137a2c..00c7ac190f 100644
--- a/var/spack/repos/builtin/packages/lcms/package.py
+++ b/var/spack/repos/builtin/packages/lcms/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lcov/package.py b/var/spack/repos/builtin/packages/lcov/package.py
index b1449926c0..ed83daec0a 100644
--- a/var/spack/repos/builtin/packages/lcov/package.py
+++ b/var/spack/repos/builtin/packages/lcov/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ldak/package.py b/var/spack/repos/builtin/packages/ldak/package.py
index 6114f3bc90..12a5e64739 100644
--- a/var/spack/repos/builtin/packages/ldak/package.py
+++ b/var/spack/repos/builtin/packages/ldak/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class Ldak(Package):
homepage = "http://dougspeed.com/ldak/"
url = "http://dougspeed.com/wp-content/uploads/source.zip"
- version('5.1', sha256='9a3fe2fafc7b68cc57a17748a64db66f76b13acbd5e9a538ede20a46447fcf4a')
+ version('5.1', sha256='ae3eb8c2ef31af210e138336fd6edcd0e3a26ea9bae89fd6c0c6ea33e3a1517e')
variant('mkl', default=False, description='Use MKL')
@@ -21,6 +21,11 @@ class Ldak(Package):
depends_on('lapack')
depends_on('mkl', when='+mkl')
+ for t in ['aarch64', 'arm', 'ppc', 'ppc64', 'ppc64le',
+ 'ppcle', 'sparc', 'sparc64', 'x86']:
+ conflicts('target={0}:'.format(t),
+ msg='libspot is available linux x86_64 only')
+
def setup_build_environment(self, env):
env.append_flags('LDLIBS', '-lm')
env.append_flags('LDLIBS', '-lz')
@@ -32,11 +37,8 @@ class Ldak(Package):
env.append_flags('LDLIBS', 'libqsopt.linux.a')
def install(self, spec, prefix):
- if '+mkl' in spec:
- make('ldak')
- mkdirp(prefix.bin)
- install('ldak', prefix.bin)
- else:
- make('ldak_slow')
- mkdirp(prefix.bin)
- install('ldak_slow', prefix.bin.ldak)
+ if self.spec.satisfies('~mkl'):
+ filter_file('#define MKL.*', '#define MKL 0', 'ldak.c')
+ make('ldak')
+ mkdirp(prefix.bin)
+ install('ldak', prefix.bin.ldak)
diff --git a/var/spack/repos/builtin/packages/ldc-bootstrap/package.py b/var/spack/repos/builtin/packages/ldc-bootstrap/package.py
index 681d3d1811..5ae15f3b4e 100644
--- a/var/spack/repos/builtin/packages/ldc-bootstrap/package.py
+++ b/var/spack/repos/builtin/packages/ldc-bootstrap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ldc/package.py b/var/spack/repos/builtin/packages/ldc/package.py
index 0fc8025108..b1944ecce2 100644
--- a/var/spack/repos/builtin/packages/ldc/package.py
+++ b/var/spack/repos/builtin/packages/ldc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/legion/package.py b/var/spack/repos/builtin/packages/legion/package.py
index f98e48e187..105d3c231d 100644
--- a/var/spack/repos/builtin/packages/legion/package.py
+++ b/var/spack/repos/builtin/packages/legion/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -25,6 +25,8 @@ class Legion(CMakePackage):
url = "https://github.com/StanfordLegion/legion/tarball/legion-17.02.0"
git = "https://github.com/StanfordLegion/legion.git"
+ maintainers = ['streichler']
+
version('master', branch='master')
version('ctrl-rep', branch='control_replication')
version('20.03.0', sha256='ae5feedb5ed9f357b56424b9d73cea4f224a61e291e022556f796d1ff24d1244')
diff --git a/var/spack/repos/builtin/packages/lemon/package.py b/var/spack/repos/builtin/packages/lemon/package.py
index c87e60e677..500372aed7 100644
--- a/var/spack/repos/builtin/packages/lemon/package.py
+++ b/var/spack/repos/builtin/packages/lemon/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/leptonica/package.py b/var/spack/repos/builtin/packages/leptonica/package.py
index 21e7b5583f..d3990b0543 100644
--- a/var/spack/repos/builtin/packages/leptonica/package.py
+++ b/var/spack/repos/builtin/packages/leptonica/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/less/package.py b/var/spack/repos/builtin/packages/less/package.py
index 2ed378ca06..e6ef02d6fe 100644
--- a/var/spack/repos/builtin/packages/less/package.py
+++ b/var/spack/repos/builtin/packages/less/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lesstif/package.py b/var/spack/repos/builtin/packages/lesstif/package.py
index ac82c996d2..676c54f910 100644
--- a/var/spack/repos/builtin/packages/lesstif/package.py
+++ b/var/spack/repos/builtin/packages/lesstif/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/leveldb/package.py b/var/spack/repos/builtin/packages/leveldb/package.py
index f4d5e57981..21279029e8 100644
--- a/var/spack/repos/builtin/packages/leveldb/package.py
+++ b/var/spack/repos/builtin/packages/leveldb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lftp/package.py b/var/spack/repos/builtin/packages/lftp/package.py
index b67b79bd5b..559be74da7 100644
--- a/var/spack/repos/builtin/packages/lftp/package.py
+++ b/var/spack/repos/builtin/packages/lftp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lhapdf/package.py b/var/spack/repos/builtin/packages/lhapdf/package.py
index 932bb81279..f413b1379a 100644
--- a/var/spack/repos/builtin/packages/lhapdf/package.py
+++ b/var/spack/repos/builtin/packages/lhapdf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,6 +13,8 @@ class Lhapdf(AutotoolsPackage):
homepage = "https://lhapdf.hepforge.org/"
url = "https://lhapdf.hepforge.org/downloads/?f=LHAPDF-6.2.3.tar.gz"
+ tags = ['hep']
+
version('6.3.0', sha256='ed4d8772b7e6be26d1a7682a13c87338d67821847aa1640d78d67d2cef8b9b5d')
version('6.2.3', sha256='d6e63addc56c57b6286dc43ffc56d901516f4779a93a0f1547e14b32cfd82dd1')
@@ -24,15 +26,9 @@ class Lhapdf(AutotoolsPackage):
depends_on('python', type=('build', 'run'))
depends_on('py-cython', type='build')
depends_on('py-setuptools', type='build')
- depends_on('boost', type='build')
- depends_on('yaml-cpp', type='build', when='@:6.1.5')
extends('python')
def configure_args(self):
- args = ['--with-boost=' + self.spec['boost'].prefix,
- 'FCFLAGS=-O3', 'CFLAGS=-O3', 'CXXFLAGS=-O3']
-
- if self.spec.satisfies('@:6.1.5'):
- args.append('--with-yaml-cpp=' + self.spec['yaml-cpp'].prefix)
+ args = ['FCFLAGS=-O3', 'CFLAGS=-O3', 'CXXFLAGS=-O3']
return args
diff --git a/var/spack/repos/builtin/packages/lhapdf5/package.py b/var/spack/repos/builtin/packages/lhapdf5/package.py
index 6506f9da76..7e5879a434 100644
--- a/var/spack/repos/builtin/packages/lhapdf5/package.py
+++ b/var/spack/repos/builtin/packages/lhapdf5/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libaec/package.py b/var/spack/repos/builtin/packages/libaec/package.py
index 3ea9833b62..c80c40acdf 100644
--- a/var/spack/repos/builtin/packages/libaec/package.py
+++ b/var/spack/repos/builtin/packages/libaec/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libaio/package.py b/var/spack/repos/builtin/packages/libaio/package.py
index ca857f2f16..ceb6f8cb02 100644
--- a/var/spack/repos/builtin/packages/libaio/package.py
+++ b/var/spack/repos/builtin/packages/libaio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libapplewm/package.py b/var/spack/repos/builtin/packages/libapplewm/package.py
index b795fafe05..0a730cddb4 100644
--- a/var/spack/repos/builtin/packages/libapplewm/package.py
+++ b/var/spack/repos/builtin/packages/libapplewm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,8 +19,8 @@ class Libapplewm(AutotoolsPackage, XorgPackage):
depends_on('libx11')
depends_on('libxext')
- depends_on('xextproto', type='build')
- depends_on('applewmproto@1.4:', type='build')
+ depends_on('xextproto')
+ depends_on('applewmproto@1.4:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libarchive/package.py b/var/spack/repos/builtin/packages/libarchive/package.py
index 1e0a09c959..726e46a88c 100644
--- a/var/spack/repos/builtin/packages/libarchive/package.py
+++ b/var/spack/repos/builtin/packages/libarchive/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,6 +13,7 @@ class Libarchive(AutotoolsPackage):
homepage = "http://www.libarchive.org"
url = "http://www.libarchive.org/downloads/libarchive-3.1.2.tar.gz"
+ version('3.5.1', sha256='9015d109ec00bb9ae1a384b172bf2fc1dff41e2c66e5a9eeddf933af9db37f5a')
version('3.4.1', sha256='fcf87f3ad8db2e4f74f32526dee62dd1fb9894782b0a503a89c9d7a70a235191')
version('3.3.2', sha256='ed2dbd6954792b2c054ccf8ec4b330a54b85904a80cef477a1c74643ddafa0ce')
version('3.2.1', sha256='72ee1a4e3fd534525f13a0ba1aa7b05b203d186e0c6072a8a4738649d0b3cfd2')
diff --git a/var/spack/repos/builtin/packages/libassuan/package.py b/var/spack/repos/builtin/packages/libassuan/package.py
index e8ccc861c5..87ccabb146 100644
--- a/var/spack/repos/builtin/packages/libassuan/package.py
+++ b/var/spack/repos/builtin/packages/libassuan/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libatasmart/package.py b/var/spack/repos/builtin/packages/libatasmart/package.py
index ae7d2ccb0c..b5dfdf1d59 100644
--- a/var/spack/repos/builtin/packages/libatasmart/package.py
+++ b/var/spack/repos/builtin/packages/libatasmart/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libatomic-ops/package.py b/var/spack/repos/builtin/packages/libatomic-ops/package.py
index 9bcfe2d754..47bb378b6e 100644
--- a/var/spack/repos/builtin/packages/libatomic-ops/package.py
+++ b/var/spack/repos/builtin/packages/libatomic-ops/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libbacktrace/package.py b/var/spack/repos/builtin/packages/libbacktrace/package.py
index 64e5832114..cf10357278 100644
--- a/var/spack/repos/builtin/packages/libbacktrace/package.py
+++ b/var/spack/repos/builtin/packages/libbacktrace/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libbeagle/package.py b/var/spack/repos/builtin/packages/libbeagle/package.py
index 871dc5d2c6..50b0fd4f34 100644
--- a/var/spack/repos/builtin/packages/libbeagle/package.py
+++ b/var/spack/repos/builtin/packages/libbeagle/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libbeato/package.py b/var/spack/repos/builtin/packages/libbeato/package.py
index 2f59240a09..eaae48cf6c 100644
--- a/var/spack/repos/builtin/packages/libbeato/package.py
+++ b/var/spack/repos/builtin/packages/libbeato/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libbinio/package.py b/var/spack/repos/builtin/packages/libbinio/package.py
index 75c846fdbf..550de16abb 100644
--- a/var/spack/repos/builtin/packages/libbinio/package.py
+++ b/var/spack/repos/builtin/packages/libbinio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libblastrampoline/package.py b/var/spack/repos/builtin/packages/libblastrampoline/package.py
new file mode 100644
index 0000000000..be047e6fb7
--- /dev/null
+++ b/var/spack/repos/builtin/packages/libblastrampoline/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Libblastrampoline(MakefilePackage):
+ """Using PLT trampolines to provide a BLAS and LAPACK demuxing library."""
+
+ homepage = "https://github.com/staticfloat/libblastrampoline"
+ git = "https://github.com/staticfloat/libblastrampoline.git"
+
+ version('2.2.0', commit='45f4a20ffdba5d368db66d71885312f5f73c2dc7')
+
+ build_directory = 'src'
+
+ def install(self, spec, prefix):
+ with working_dir(self.build_directory):
+ make('prefix={0}'.format(prefix), 'install')
diff --git a/var/spack/repos/builtin/packages/libbsd/package.py b/var/spack/repos/builtin/packages/libbsd/package.py
index 3df5860347..ec8e6ec37f 100644
--- a/var/spack/repos/builtin/packages/libbsd/package.py
+++ b/var/spack/repos/builtin/packages/libbsd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libbson/package.py b/var/spack/repos/builtin/packages/libbson/package.py
index ad33b5a769..2d4ebd2b24 100644
--- a/var/spack/repos/builtin/packages/libbson/package.py
+++ b/var/spack/repos/builtin/packages/libbson/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libbytesize/package.py b/var/spack/repos/builtin/packages/libbytesize/package.py
index e4fcdb986a..1a45465a88 100644
--- a/var/spack/repos/builtin/packages/libbytesize/package.py
+++ b/var/spack/repos/builtin/packages/libbytesize/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libc/package.py b/var/spack/repos/builtin/packages/libc/package.py
index e328c40ea1..8ee0c11f39 100644
--- a/var/spack/repos/builtin/packages/libc/package.py
+++ b/var/spack/repos/builtin/packages/libc/package.py
@@ -1,9 +1,9 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
-from spack import *
+from llnl.util.filesystem import LibraryList
class Libc(Package):
@@ -20,3 +20,7 @@ class Libc(Package):
provides('iconv', when='+iconv')
provides('rpc', when='+rpc')
+
+ @property
+ def libs(self):
+ return LibraryList([])
diff --git a/var/spack/repos/builtin/packages/libcanberra/package.py b/var/spack/repos/builtin/packages/libcanberra/package.py
index 0d54ba178d..f0775855f0 100644
--- a/var/spack/repos/builtin/packages/libcanberra/package.py
+++ b/var/spack/repos/builtin/packages/libcanberra/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libcap-ng/package.py b/var/spack/repos/builtin/packages/libcap-ng/package.py
index e5dc1ca1d5..d1e6182c92 100644
--- a/var/spack/repos/builtin/packages/libcap-ng/package.py
+++ b/var/spack/repos/builtin/packages/libcap-ng/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -21,4 +21,25 @@ class LibcapNg(AutotoolsPackage):
depends_on('libtool', type='build')
depends_on('m4', type='build')
depends_on('attr', type='build')
- depends_on('python', type=('build', 'run'))
+ depends_on('swig', type='build')
+ depends_on('python@2.7:', type=('build', 'link', 'run'), when='+python')
+
+ variant('python', default=True, description='Enable python')
+
+ extends('python', when='+python')
+
+ def setup_build_environment(self, env):
+ if self.spec.satisfies('+python'):
+ env.set('PYTHON', self.spec['python'].command.path)
+
+ def configure_args(self):
+ args = []
+ spec = self.spec
+ if spec.satisfies('+python'):
+ if spec.satisfies('^python@3:'):
+ args.extend(['--without-python', '--with-python3'])
+ else:
+ args.extend(['--with-python', '--without-python3'])
+ else:
+ args.extend(['--without-python', '--without-python3'])
+ return args
diff --git a/var/spack/repos/builtin/packages/libcap/package.py b/var/spack/repos/builtin/packages/libcap/package.py
index 443cb0682b..33a0b4093d 100644
--- a/var/spack/repos/builtin/packages/libcap/package.py
+++ b/var/spack/repos/builtin/packages/libcap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libceed/package.py b/var/spack/repos/builtin/packages/libceed/package.py
index c4f3cbd2b5..b73fa98c4d 100644
--- a/var/spack/repos/builtin/packages/libceed/package.py
+++ b/var/spack/repos/builtin/packages/libceed/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libcerf/package.py b/var/spack/repos/builtin/packages/libcerf/package.py
index a5c00dabaf..58170ad5ba 100644
--- a/var/spack/repos/builtin/packages/libcerf/package.py
+++ b/var/spack/repos/builtin/packages/libcerf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libcgroup/package.py b/var/spack/repos/builtin/packages/libcgroup/package.py
index 797e10d7a4..95d8b2e2fb 100644
--- a/var/spack/repos/builtin/packages/libcgroup/package.py
+++ b/var/spack/repos/builtin/packages/libcgroup/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libcint/package.py b/var/spack/repos/builtin/packages/libcint/package.py
index 9696947cdb..946fe97c1d 100644
--- a/var/spack/repos/builtin/packages/libcint/package.py
+++ b/var/spack/repos/builtin/packages/libcint/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libcircle/package.py b/var/spack/repos/builtin/packages/libcircle/package.py
index 749483678c..c7c461d69f 100644
--- a/var/spack/repos/builtin/packages/libcircle/package.py
+++ b/var/spack/repos/builtin/packages/libcircle/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libconfig/package.py b/var/spack/repos/builtin/packages/libconfig/package.py
index abed039400..613fe0ac70 100644
--- a/var/spack/repos/builtin/packages/libconfig/package.py
+++ b/var/spack/repos/builtin/packages/libconfig/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -22,3 +22,4 @@ class Libconfig(AutotoolsPackage):
depends_on('autoconf', type=('build'))
depends_on('automake', type=('build'))
depends_on('libtool', type=('build'))
+ depends_on('texinfo', type='build')
diff --git a/var/spack/repos/builtin/packages/libconfuse/package.py b/var/spack/repos/builtin/packages/libconfuse/package.py
index eedbaec83a..37ce54150d 100644
--- a/var/spack/repos/builtin/packages/libconfuse/package.py
+++ b/var/spack/repos/builtin/packages/libconfuse/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,3 +19,9 @@ class Libconfuse(AutotoolsPackage):
depends_on('autoconf', type='build')
depends_on('automake', type='build')
depends_on('libtool', type='build')
+ depends_on('gettext', type='build')
+ depends_on('flex', type='build')
+
+ def autoreconf(self, spec, prefix):
+ bash = which('bash')
+ bash('./autogen.sh')
diff --git a/var/spack/repos/builtin/packages/libcroco/package.py b/var/spack/repos/builtin/packages/libcroco/package.py
index 254d7973b7..937acdbb98 100644
--- a/var/spack/repos/builtin/packages/libcroco/package.py
+++ b/var/spack/repos/builtin/packages/libcroco/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libctl/package.py b/var/spack/repos/builtin/packages/libctl/package.py
index 8ed0bf9c56..24c4183cdd 100644
--- a/var/spack/repos/builtin/packages/libctl/package.py
+++ b/var/spack/repos/builtin/packages/libctl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libcudf/package.py b/var/spack/repos/builtin/packages/libcudf/package.py
index a25d8e0d32..2fa60e36df 100644
--- a/var/spack/repos/builtin/packages/libcudf/package.py
+++ b/var/spack/repos/builtin/packages/libcudf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libcuml/package.py b/var/spack/repos/builtin/packages/libcuml/package.py
index 1645896546..4a1ce60689 100644
--- a/var/spack/repos/builtin/packages/libcuml/package.py
+++ b/var/spack/repos/builtin/packages/libcuml/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libcumlprims/package.py b/var/spack/repos/builtin/packages/libcumlprims/package.py
index 2373c0e8d9..07bb1e6348 100644
--- a/var/spack/repos/builtin/packages/libcumlprims/package.py
+++ b/var/spack/repos/builtin/packages/libcumlprims/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libcyaml/package.py b/var/spack/repos/builtin/packages/libcyaml/package.py
new file mode 100644
index 0000000000..dbb0f784cd
--- /dev/null
+++ b/var/spack/repos/builtin/packages/libcyaml/package.py
@@ -0,0 +1,24 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Libcyaml(MakefilePackage):
+ """LibCYAML is a C library for reading and writing structured YAML
+ documents. It is written in ISO C11 and licensed under the ISC licence."""
+
+ homepage = "https://github.com/tlsa/libcyaml"
+ url = "https://github.com/tlsa/libcyaml/archive/v1.1.0.tar.gz"
+
+ version('1.1.0', sha256='37a00ed8ec206b60a712acfd44196bef063b8f02e376d8e86f61a7007a81daea')
+
+ depends_on('libyaml')
+
+ def build(self, spec, prefix):
+ make('VARIANT=release')
+
+ def install(self, spec, prefix):
+ make('install', 'VARIANT=release', 'PREFIX={0}'.format(prefix))
diff --git a/var/spack/repos/builtin/packages/libdaemon/package.py b/var/spack/repos/builtin/packages/libdaemon/package.py
index 667037cb8b..6b1ca538af 100644
--- a/var/spack/repos/builtin/packages/libdaemon/package.py
+++ b/var/spack/repos/builtin/packages/libdaemon/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libdap4/package.py b/var/spack/repos/builtin/packages/libdap4/package.py
index f93c16cbbd..3df9aa245f 100644
--- a/var/spack/repos/builtin/packages/libdap4/package.py
+++ b/var/spack/repos/builtin/packages/libdap4/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -30,7 +30,7 @@ class Libdap4(AutotoolsPackage):
depends_on('flex')
depends_on('curl')
depends_on('libxml2')
- depends_on('libuuid')
+ depends_on('uuid')
def configure_args(self):
# libxml2 exports ./include/libxml2/ instead of ./include/, which we
diff --git a/var/spack/repos/builtin/packages/libdatrie/package.py b/var/spack/repos/builtin/packages/libdatrie/package.py
index 35258168cc..57b3c95f7b 100644
--- a/var/spack/repos/builtin/packages/libdatrie/package.py
+++ b/var/spack/repos/builtin/packages/libdatrie/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libdivsufsort/package.py b/var/spack/repos/builtin/packages/libdivsufsort/package.py
index 0dfdb9ea3f..60a8d72ef7 100644
--- a/var/spack/repos/builtin/packages/libdivsufsort/package.py
+++ b/var/spack/repos/builtin/packages/libdivsufsort/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libdmx/package.py b/var/spack/repos/builtin/packages/libdmx/package.py
index 852f313dd3..0a16e2238e 100644
--- a/var/spack/repos/builtin/packages/libdmx/package.py
+++ b/var/spack/repos/builtin/packages/libdmx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,7 +18,7 @@ class Libdmx(AutotoolsPackage, XorgPackage):
depends_on('libx11')
depends_on('libxext')
- depends_on('xextproto', type='build')
- depends_on('dmxproto@2.2.99.1:', type='build')
+ depends_on('xextproto')
+ depends_on('dmxproto@2.2.99.1:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libdrm/package.py b/var/spack/repos/builtin/packages/libdrm/package.py
index adc2964678..c798a457ca 100644
--- a/var/spack/repos/builtin/packages/libdrm/package.py
+++ b/var/spack/repos/builtin/packages/libdrm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libdwarf/package.py b/var/spack/repos/builtin/packages/libdwarf/package.py
index fa37f4e638..71e4787c95 100644
--- a/var/spack/repos/builtin/packages/libdwarf/package.py
+++ b/var/spack/repos/builtin/packages/libdwarf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libeatmydata/package.py b/var/spack/repos/builtin/packages/libeatmydata/package.py
index c339d8b85f..2b3f03cba5 100644
--- a/var/spack/repos/builtin/packages/libeatmydata/package.py
+++ b/var/spack/repos/builtin/packages/libeatmydata/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libecpint/package.py b/var/spack/repos/builtin/packages/libecpint/package.py
new file mode 100644
index 0000000000..72598bc015
--- /dev/null
+++ b/var/spack/repos/builtin/packages/libecpint/package.py
@@ -0,0 +1,31 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Libecpint(CMakePackage):
+ """A C++ library for the efficient evaluation of integrals over effective core
+ potentials.
+ """
+
+ homepage = "https://github.com/robashaw/libecpint"
+ url = "https://github.com/robashaw/libecpint/archive/v1.0.4.tar.gz"
+ git = "https://github.com/robashaw/libecpint"
+
+ version('master', branch='master')
+ version('1.0.5', sha256='3ad5ff342b1bc870f5992c296e8bd8aa590c21a9b14333958c601f8916d6f532')
+ version('1.0.4', sha256='fad9d1ac98f8dcd40f7bee69aef653bfa3079f016e43277cbd554e06890aa186')
+ version('1.0.3', sha256='13c3f7d1cf35355e37a903196d5cace60f6a72ae041e8b3502dfabdd19dde17a')
+ version('1.0.2', sha256='2fb73af4d30a40bdd9df9e04b1f762c38ab7ed3a39c11509f3f87250fe0b5778')
+ version('1.0.1', sha256='245b89fe8cb0a92cbbb79c811b48cb15fcfc937389df89387466f1bf76a096bf')
+ version('1.0.0', sha256='47d741cc48a543ef9c85483cb2d5cd1c9f6677fa7e9920886d083b3c25232379')
+
+ depends_on('pugixml')
+ depends_on('googletest')
+
+ def cmake_args(self):
+ args = ['-DBUILD_SHARED_LIBS=ON']
+ return args
diff --git a/var/spack/repos/builtin/packages/libedit/package.py b/var/spack/repos/builtin/packages/libedit/package.py
index fd4bf49de4..ddec99fee3 100644
--- a/var/spack/repos/builtin/packages/libedit/package.py
+++ b/var/spack/repos/builtin/packages/libedit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libelf/package.py b/var/spack/repos/builtin/packages/libelf/package.py
index 2f59c61dfa..a2378a6865 100644
--- a/var/spack/repos/builtin/packages/libelf/package.py
+++ b/var/spack/repos/builtin/packages/libelf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libemos/package.py b/var/spack/repos/builtin/packages/libemos/package.py
index 89779b32f6..0c7a53d3a2 100644
--- a/var/spack/repos/builtin/packages/libemos/package.py
+++ b/var/spack/repos/builtin/packages/libemos/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libepoxy/package.py b/var/spack/repos/builtin/packages/libepoxy/package.py
index 9fdfd06750..bd771d6313 100644
--- a/var/spack/repos/builtin/packages/libepoxy/package.py
+++ b/var/spack/repos/builtin/packages/libepoxy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libestr/package.py b/var/spack/repos/builtin/packages/libestr/package.py
index 2621163b7a..dc4b5a2dfa 100644
--- a/var/spack/repos/builtin/packages/libestr/package.py
+++ b/var/spack/repos/builtin/packages/libestr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libev/package.py b/var/spack/repos/builtin/packages/libev/package.py
index 3cefa8f5ba..85454e43f4 100644
--- a/var/spack/repos/builtin/packages/libev/package.py
+++ b/var/spack/repos/builtin/packages/libev/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libevdev/package.py b/var/spack/repos/builtin/packages/libevdev/package.py
index 6992389c2f..530f9aeaeb 100644
--- a/var/spack/repos/builtin/packages/libevdev/package.py
+++ b/var/spack/repos/builtin/packages/libevdev/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libevent/package.py b/var/spack/repos/builtin/packages/libevent/package.py
index 07a873fc2f..a16e528acb 100644
--- a/var/spack/repos/builtin/packages/libevent/package.py
+++ b/var/spack/repos/builtin/packages/libevent/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,6 +18,9 @@ class Libevent(AutotoolsPackage):
url = "https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz"
list_url = "http://libevent.org/old-releases.html"
+ version('2.1.12', sha256='92e6de1be9ec176428fd2367677e61ceffc2ee1cb119035037a27d346b0403bb')
+ version('2.1.11', sha256='a65bac6202ea8c5609fd5c7e480e6d25de467ea1917c08290c521752f147283d')
+ version('2.1.10', sha256='e864af41a336bb11dab1a23f32993afe963c1f69618bd9292b89ecf6904845b0')
version('2.1.8', sha256='965cc5a8bb46ce4199a47e9b2c9e1cae3b137e8356ffdad6d94d3b9069b71dc2')
version('2.0.22', sha256='71c2c49f0adadacfdbe6332a372c38cf9c8b7895bb73dabeaa53cdcc1d4e1fa3')
version('2.0.21', sha256='22a530a8a5ba1cb9c080cba033206b17dacd21437762155c6d30ee6469f574f5')
@@ -54,3 +57,15 @@ class Libevent(AutotoolsPackage):
configure_args.append('--disable-openssl')
return configure_args
+
+ def patch(self):
+ if self.spec.satisfies('%nvhpc'):
+ # Remove incompatible compiler flags
+ filter_file(' -Wmissing-declarations', '', 'configure')
+ filter_file(' -Wbad-function-cast', '', 'configure')
+ filter_file(' -Wno-unused-parameter', '', 'configure')
+ filter_file(' -Wmissing-field-initializers', '', 'configure')
+ filter_file(' -Waddress', '', 'configure')
+ filter_file(' -Wnormalized=id', '', 'configure')
+ filter_file(' -Woverride-init', '', 'configure')
+ filter_file(' -Wlogical-op', '', 'configure')
diff --git a/var/spack/repos/builtin/packages/libevpath/package.py b/var/spack/repos/builtin/packages/libevpath/package.py
index b9ab5129a4..21b935c2f2 100644
--- a/var/spack/repos/builtin/packages/libevpath/package.py
+++ b/var/spack/repos/builtin/packages/libevpath/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libexif/package.py b/var/spack/repos/builtin/packages/libexif/package.py
index 5156ee4196..47bea9f5a1 100644
--- a/var/spack/repos/builtin/packages/libexif/package.py
+++ b/var/spack/repos/builtin/packages/libexif/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libfabric/package.py b/var/spack/repos/builtin/packages/libfabric/package.py
index 7bb1e0fce5..339f8fd3c3 100644
--- a/var/spack/repos/builtin/packages/libfabric/package.py
+++ b/var/spack/repos/builtin/packages/libfabric/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,6 +15,8 @@ class Libfabric(AutotoolsPackage):
git = "https://github.com/ofiwg/libfabric.git"
version('master', branch='master')
+ version('1.11.2', sha256='ff2ba821b55a54855d327e6f6fb8a14312c9c9ca7c873525b6a246d8f974d7da')
+ version('1.11.1', sha256='a72a7dac6322bed09ef1af33bcade3024ca5847a1e9c8fa369da6ab879111fe7')
version('1.11.0', sha256='9938abf628e7ea8dcf60a94a4b62d499fbc0dbc6733478b6db2e6a373c80d58f')
version('1.10.1', sha256='889fa8c99eed1ff2a5fd6faf6d5222f2cf38476b24f3b764f2cbb5900fee8284')
version('1.10.0', sha256='c1ef6e9cd6dafec3f003d2f78f0f3a25f055a7a791e98b5a0db1e4c5036e40f6')
diff --git a/var/spack/repos/builtin/packages/libfastcommon/package.py b/var/spack/repos/builtin/packages/libfastcommon/package.py
index fbd3518b58..0b2d4f5c7d 100644
--- a/var/spack/repos/builtin/packages/libfastcommon/package.py
+++ b/var/spack/repos/builtin/packages/libfastcommon/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libfastjson/package.py b/var/spack/repos/builtin/packages/libfastjson/package.py
index aa2cadfdc3..b5c1ba3176 100644
--- a/var/spack/repos/builtin/packages/libfastjson/package.py
+++ b/var/spack/repos/builtin/packages/libfastjson/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libffi/package.py b/var/spack/repos/builtin/packages/libffi/package.py
index e1c79588ad..e3374a70d7 100644
--- a/var/spack/repos/builtin/packages/libffi/package.py
+++ b/var/spack/repos/builtin/packages/libffi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libffs/package.py b/var/spack/repos/builtin/packages/libffs/package.py
index 8c7637a7a5..7d1e0d1c6c 100644
--- a/var/spack/repos/builtin/packages/libffs/package.py
+++ b/var/spack/repos/builtin/packages/libffs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libfive/package.py b/var/spack/repos/builtin/packages/libfive/package.py
index e2a9b65d13..8fe0da08c4 100644
--- a/var/spack/repos/builtin/packages/libfive/package.py
+++ b/var/spack/repos/builtin/packages/libfive/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libflame/package.py b/var/spack/repos/builtin/packages/libflame/package.py
index c205e54dcf..e22fd04a1d 100644
--- a/var/spack/repos/builtin/packages/libflame/package.py
+++ b/var/spack/repos/builtin/packages/libflame/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libfontenc/package.py b/var/spack/repos/builtin/packages/libfontenc/package.py
index b99b708721..907dee3dbb 100644
--- a/var/spack/repos/builtin/packages/libfontenc/package.py
+++ b/var/spack/repos/builtin/packages/libfontenc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,6 +16,6 @@ class Libfontenc(AutotoolsPackage, XorgPackage):
depends_on('zlib')
- depends_on('xproto', type='build')
+ depends_on('xproto')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libfs/package.py b/var/spack/repos/builtin/packages/libfs/package.py
index bfbedabc2a..460058d90d 100644
--- a/var/spack/repos/builtin/packages/libfs/package.py
+++ b/var/spack/repos/builtin/packages/libfs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,8 +17,8 @@ class Libfs(AutotoolsPackage, XorgPackage):
version('1.0.7', sha256='91bf1c5ce4115b7dbf4e314fdbee54052708e8f7b6a2ec6e82c309bcbe40ef3d')
- depends_on('xproto@7.0.17:', type='build')
- depends_on('fontsproto', type='build')
- depends_on('xtrans', type='build')
+ depends_on('xproto@7.0.17:')
+ depends_on('fontsproto')
+ depends_on('xtrans')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libfuse/package.py b/var/spack/repos/builtin/packages/libfuse/package.py
index 444fe11a5f..966fe1113d 100644
--- a/var/spack/repos/builtin/packages/libfuse/package.py
+++ b/var/spack/repos/builtin/packages/libfuse/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libfyaml/package.py b/var/spack/repos/builtin/packages/libfyaml/package.py
new file mode 100644
index 0000000000..f2ddae06a7
--- /dev/null
+++ b/var/spack/repos/builtin/packages/libfyaml/package.py
@@ -0,0 +1,18 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Libfyaml(AutotoolsPackage):
+ """Fully feature complete YAML parser and emitter, supporting the latest
+ YAML spec and passing the full YAML testsuite."""
+
+ homepage = "https://github.com/pantoniou/libfyaml"
+ url = "https://github.com/pantoniou/libfyaml/releases/download/v0.5.7/libfyaml-0.5.7.tar.gz"
+
+ version('0.5.7', sha256='3221f31bb3feba97e544a82d0d5e4711ff0e4101cca63923dc5a1a001c187590')
+
+ depends_on('m4', type='build')
diff --git a/var/spack/repos/builtin/packages/libgcrypt/package.py b/var/spack/repos/builtin/packages/libgcrypt/package.py
index bc566fad52..f295e6e1c7 100644
--- a/var/spack/repos/builtin/packages/libgcrypt/package.py
+++ b/var/spack/repos/builtin/packages/libgcrypt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,6 +12,9 @@ class Libgcrypt(AutotoolsPackage):
homepage = "https://gnupg.org/software/libgcrypt/index.html"
url = "https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.8.5.tar.bz2"
+ version('1.9.1', sha256='c5a67a8b9b2bd370fb415ed1ee31c7172e5683076493cf4a3678a0fbdf0265d9')
+ version('1.8.7', sha256='03b70f028299561b7034b8966d7dd77ef16ed139c43440925fe8782561974748')
+ version('1.8.6', sha256='0cba2700617b99fc33864a0c16b1fa7fdf9781d9ed3509f5d767178e5fd7b975')
version('1.8.5', sha256='3b4a2a94cb637eff5bdebbcaf46f4d95c4f25206f459809339cdada0eb577ac3')
version('1.8.4', sha256='f638143a0672628fde0cad745e9b14deb85dffb175709cacc1f4fe24b93f2227')
version('1.8.1', sha256='7a2875f8b1ae0301732e878c0cca2c9664ff09ef71408f085c50e332656a78b3')
diff --git a/var/spack/repos/builtin/packages/libgd/package.py b/var/spack/repos/builtin/packages/libgd/package.py
index 697ccd22a4..4b3abd632f 100644
--- a/var/spack/repos/builtin/packages/libgd/package.py
+++ b/var/spack/repos/builtin/packages/libgd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libgeotiff/package.py b/var/spack/repos/builtin/packages/libgeotiff/package.py
index 0551050da4..372bb3950c 100644
--- a/var/spack/repos/builtin/packages/libgeotiff/package.py
+++ b/var/spack/repos/builtin/packages/libgeotiff/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libgff/package.py b/var/spack/repos/builtin/packages/libgff/package.py
new file mode 100644
index 0000000000..1070d9833e
--- /dev/null
+++ b/var/spack/repos/builtin/packages/libgff/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Libgff(CMakePackage):
+ """Lightweight GTF/GFF Parser, exposes a C++ interface without drawing in
+ a heavyweight dependency."""
+
+ homepage = "https://github.com/COMBINE-lab/libgff/"
+ url = "https://github.com/COMBINE-lab/libgff/archive/v2.0.0.tar.gz"
+
+ # notify when the package is updated.
+ maintainers = ['ajxander12']
+
+ version('2.0.0', sha256='7656b19459a7ca7d2fd0fcec4f2e0fd0deec1b4f39c703a114e8f4c22d82a99c')
diff --git a/var/spack/repos/builtin/packages/libgit2/package.py b/var/spack/repos/builtin/packages/libgit2/package.py
index dd5d55fb6f..257bd01de5 100644
--- a/var/spack/repos/builtin/packages/libgit2/package.py
+++ b/var/spack/repos/builtin/packages/libgit2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,6 +18,7 @@ class Libgit2(CMakePackage):
maintainers = ["AndrewGaspar"]
+ version('1.1.0', sha256='41a6d5d740fd608674c7db8685685f45535323e73e784062cf000a633d420d1e')
version('1.0.1', sha256='1775427a6098f441ddbaa5bd4e9b8a043c7401e450ed761e69a415530fea81d2')
version('1.0.0', sha256='6a1fa16a7f6335ce8b2630fbdbb5e57c4027929ebc56fcd1ac55edb141b409b4')
version('0.99.0', sha256='174024310c1563097a6613a0d3f7539d11a9a86517cd67ce533849065de08a11')
diff --git a/var/spack/repos/builtin/packages/libgpg-error/package.py b/var/spack/repos/builtin/packages/libgpg-error/package.py
index c4978751ff..768f81d69d 100644
--- a/var/spack/repos/builtin/packages/libgpg-error/package.py
+++ b/var/spack/repos/builtin/packages/libgpg-error/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libgpuarray/package.py b/var/spack/repos/builtin/packages/libgpuarray/package.py
index 84b0ad541e..012209e502 100644
--- a/var/spack/repos/builtin/packages/libgpuarray/package.py
+++ b/var/spack/repos/builtin/packages/libgpuarray/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libgridxc/package.py b/var/spack/repos/builtin/packages/libgridxc/package.py
index 96c7918d95..432cd29d6f 100644
--- a/var/spack/repos/builtin/packages/libgridxc/package.py
+++ b/var/spack/repos/builtin/packages/libgridxc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libgssglue/package.py b/var/spack/repos/builtin/packages/libgssglue/package.py
index d9f28a35e4..c41f6019d0 100644
--- a/var/spack/repos/builtin/packages/libgssglue/package.py
+++ b/var/spack/repos/builtin/packages/libgssglue/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libgtextutils/package.py b/var/spack/repos/builtin/packages/libgtextutils/package.py
index 4c9820f5d2..e92db134a5 100644
--- a/var/spack/repos/builtin/packages/libgtextutils/package.py
+++ b/var/spack/repos/builtin/packages/libgtextutils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libharu/package.py b/var/spack/repos/builtin/packages/libharu/package.py
index dc308bb06f..7a61b516b5 100644
--- a/var/spack/repos/builtin/packages/libharu/package.py
+++ b/var/spack/repos/builtin/packages/libharu/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libhbaapi/package.py b/var/spack/repos/builtin/packages/libhbaapi/package.py
index acdda6b9c8..4998403ef2 100644
--- a/var/spack/repos/builtin/packages/libhbaapi/package.py
+++ b/var/spack/repos/builtin/packages/libhbaapi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libhio/package.py b/var/spack/repos/builtin/packages/libhio/package.py
index f04dc7c660..4749f56e33 100644
--- a/var/spack/repos/builtin/packages/libhio/package.py
+++ b/var/spack/repos/builtin/packages/libhio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libhugetlbfs/package.py b/var/spack/repos/builtin/packages/libhugetlbfs/package.py
index 9a9ac380aa..bc133c1215 100644
--- a/var/spack/repos/builtin/packages/libhugetlbfs/package.py
+++ b/var/spack/repos/builtin/packages/libhugetlbfs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libiberty/package.py b/var/spack/repos/builtin/packages/libiberty/package.py
index 2168223477..e22451d3a8 100644
--- a/var/spack/repos/builtin/packages/libiberty/package.py
+++ b/var/spack/repos/builtin/packages/libiberty/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libibumad/package.py b/var/spack/repos/builtin/packages/libibumad/package.py
index e401073519..73a0e16d0f 100644
--- a/var/spack/repos/builtin/packages/libibumad/package.py
+++ b/var/spack/repos/builtin/packages/libibumad/package.py
@@ -1,5 +1,5 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libical/package.py b/var/spack/repos/builtin/packages/libical/package.py
index 6116b0b649..9d841a6061 100644
--- a/var/spack/repos/builtin/packages/libical/package.py
+++ b/var/spack/repos/builtin/packages/libical/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libice/package.py b/var/spack/repos/builtin/packages/libice/package.py
index 32aa445dd3..67576bfbf2 100644
--- a/var/spack/repos/builtin/packages/libice/package.py
+++ b/var/spack/repos/builtin/packages/libice/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,7 +14,7 @@ class Libice(AutotoolsPackage, XorgPackage):
version('1.0.9', sha256='7812a824a66dd654c830d21982749b3b563d9c2dfe0b88b203cefc14a891edc0')
- depends_on('xproto', type='build')
- depends_on('xtrans', type='build')
+ depends_on('xproto')
+ depends_on('xtrans')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libiconv/package.py b/var/spack/repos/builtin/packages/libiconv/package.py
index 9331dfb399..8343d6e68c 100644
--- a/var/spack/repos/builtin/packages/libiconv/package.py
+++ b/var/spack/repos/builtin/packages/libiconv/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libid3tag/package.py b/var/spack/repos/builtin/packages/libid3tag/package.py
index 6a9880b00c..67d02284c0 100644
--- a/var/spack/repos/builtin/packages/libid3tag/package.py
+++ b/var/spack/repos/builtin/packages/libid3tag/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libidl/package.py b/var/spack/repos/builtin/packages/libidl/package.py
index facc1f74de..eaa108c7d7 100644
--- a/var/spack/repos/builtin/packages/libidl/package.py
+++ b/var/spack/repos/builtin/packages/libidl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libidn2/package.py b/var/spack/repos/builtin/packages/libidn2/package.py
index 74048d04ac..240174719b 100644
--- a/var/spack/repos/builtin/packages/libidn2/package.py
+++ b/var/spack/repos/builtin/packages/libidn2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -6,13 +6,14 @@
from spack import *
-class Libidn2(AutotoolsPackage):
+class Libidn2(AutotoolsPackage, GNUMirrorPackage):
"""Libidn2 is a free software implementation of IDNA2008, Punycode and
TR46. Its purpose is to encode and decode internationalized domain
names."""
homepage = "https://gitlab.com/libidn/libidn2"
- url = "https://ftp.gnu.org/gnu/libidn/libidn2-2.0.5.tar.gz"
+ # URL must remain http:// so Spack can bootstrap curl
+ gnu_mirror_path = "libidn/libidn2-2.0.5.tar.gz"
version('2.3.0', sha256='e1cb1db3d2e249a6a3eb6f0946777c2e892d5c5dc7bd91c74394fc3a01cab8b5')
version('2.1.1a', sha256='57666bcf6ecf54230d7bac95c392379561954b57a673903aed4d3336b3048b72')
diff --git a/var/spack/repos/builtin/packages/libimagequant/package.py b/var/spack/repos/builtin/packages/libimagequant/package.py
index 1e8f7752e3..3f992a266a 100644
--- a/var/spack/repos/builtin/packages/libimagequant/package.py
+++ b/var/spack/repos/builtin/packages/libimagequant/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libimobiledevice/package.py b/var/spack/repos/builtin/packages/libimobiledevice/package.py
index 6eac7ec688..ab348b63d0 100644
--- a/var/spack/repos/builtin/packages/libimobiledevice/package.py
+++ b/var/spack/repos/builtin/packages/libimobiledevice/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libint/package.py b/var/spack/repos/builtin/packages/libint/package.py
index a3b39495f9..4d733635d7 100644
--- a/var/spack/repos/builtin/packages/libint/package.py
+++ b/var/spack/repos/builtin/packages/libint/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libisal/package.py b/var/spack/repos/builtin/packages/libisal/package.py
index abcbba46e7..abf16a306c 100644
--- a/var/spack/repos/builtin/packages/libisal/package.py
+++ b/var/spack/repos/builtin/packages/libisal/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libiscsi/package.py b/var/spack/repos/builtin/packages/libiscsi/package.py
index 621cc875d6..ea33018c76 100644
--- a/var/spack/repos/builtin/packages/libiscsi/package.py
+++ b/var/spack/repos/builtin/packages/libiscsi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libjpeg-turbo/package.py b/var/spack/repos/builtin/packages/libjpeg-turbo/package.py
index 4b81a01ef6..9f0eb2c3f7 100644
--- a/var/spack/repos/builtin/packages/libjpeg-turbo/package.py
+++ b/var/spack/repos/builtin/packages/libjpeg-turbo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,13 +17,15 @@ class LibjpegTurbo(Package):
homepage = "https://libjpeg-turbo.org/"
url = "https://github.com/libjpeg-turbo/libjpeg-turbo/archive/2.0.3.tar.gz"
+ version('2.0.6', sha256='005aee2fcdca252cee42271f7f90574dda64ca6505d9f8b86ae61abc2b426371')
+ version('2.0.5', sha256='b3090cd37b5a8b3e4dbd30a1311b3989a894e5d3c668f14cbc6739d77c9402b7')
version('2.0.4', sha256='7777c3c19762940cff42b3ba4d7cd5c52d1671b39a79532050c85efb99079064')
version('2.0.3', sha256='a69598bf079463b34d45ca7268462a18b6507fdaa62bb1dfd212f02041499b5d')
version('2.0.2', sha256='b45255bd476c19c7c6b198c07c0487e8b8536373b82f2b38346b32b4fa7bb942')
version('1.5.90', sha256='cb948ade92561d8626fd7866a4a7ba3b952f9759ea3dd642927bc687470f60b7')
- version('1.5.3', sha256='1a17020f859cb12711175a67eab5c71fc1904e04b587046218e36106e07eabde')
- version('1.5.0', sha256='232280e1c9c3e6a1de95fe99be2f7f9c0362ee08f3e3e48d50ee83b9a2ed955b')
- version('1.3.1', sha256='5008aeeac303ea9159a0ec3ccff295434f4e63b05aed4a684c9964d497304524')
+ version('1.5.3', sha256='1a17020f859cb12711175a67eab5c71fc1904e04b587046218e36106e07eabde', deprecated=True)
+ version('1.5.0', sha256='232280e1c9c3e6a1de95fe99be2f7f9c0362ee08f3e3e48d50ee83b9a2ed955b', deprecated=True)
+ version('1.3.1', sha256='5008aeeac303ea9159a0ec3ccff295434f4e63b05aed4a684c9964d497304524', deprecated=True)
provides('jpeg')
diff --git a/var/spack/repos/builtin/packages/libjpeg/package.py b/var/spack/repos/builtin/packages/libjpeg/package.py
index a4d52cca26..3cb5d8fa88 100644
--- a/var/spack/repos/builtin/packages/libjpeg/package.py
+++ b/var/spack/repos/builtin/packages/libjpeg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libjson/package.py b/var/spack/repos/builtin/packages/libjson/package.py
index 7fe27bac95..b9888b06b7 100644
--- a/var/spack/repos/builtin/packages/libjson/package.py
+++ b/var/spack/repos/builtin/packages/libjson/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -20,5 +20,8 @@ class Libjson(MakefilePackage):
version('0.5', sha256='d19e149118c01c4a1f4cd16be3ce54bfc97a7210b6f0d76a3f8ef75bf70e8acd')
version('0.4', sha256='9b3ebbeb1940dbd8664524d27e66d991fedc00cca9f403f9aa9c2f28104ca81b')
+ def edit(self, spec, prefix):
+ filter_file('-o root -g root', '', 'Makefile')
+
def install(self, spec, prefix):
make('install', 'PREFIX={0}'.format(prefix))
diff --git a/var/spack/repos/builtin/packages/libjwt/package.py b/var/spack/repos/builtin/packages/libjwt/package.py
index c37fbb0b19..4e7aca5efb 100644
--- a/var/spack/repos/builtin/packages/libjwt/package.py
+++ b/var/spack/repos/builtin/packages/libjwt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -21,4 +21,6 @@ class Libjwt(AutotoolsPackage):
depends_on('automake', type='build')
depends_on('libtool', type='build')
depends_on('m4', type='build')
+ # Needs openssl at runtime to ensure we can generate keys
+ depends_on('openssl', type=('build', 'run'))
depends_on('jansson')
diff --git a/var/spack/repos/builtin/packages/libkcapi/package.py b/var/spack/repos/builtin/packages/libkcapi/package.py
index c806091073..cb8c112724 100644
--- a/var/spack/repos/builtin/packages/libkcapi/package.py
+++ b/var/spack/repos/builtin/packages/libkcapi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libkml/package.py b/var/spack/repos/builtin/packages/libkml/package.py
index c3e7d7619b..a00d50b510 100644
--- a/var/spack/repos/builtin/packages/libkml/package.py
+++ b/var/spack/repos/builtin/packages/libkml/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libksba/package.py b/var/spack/repos/builtin/packages/libksba/package.py
index e153c23d5d..4e484edb31 100644
--- a/var/spack/repos/builtin/packages/libksba/package.py
+++ b/var/spack/repos/builtin/packages/libksba/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/liblas/package.py b/var/spack/repos/builtin/packages/liblas/package.py
index efdd0b542f..f45f771ca4 100644
--- a/var/spack/repos/builtin/packages/liblas/package.py
+++ b/var/spack/repos/builtin/packages/liblas/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/liblbxutil/package.py b/var/spack/repos/builtin/packages/liblbxutil/package.py
index 0ab82308c2..12ad6f5964 100644
--- a/var/spack/repos/builtin/packages/liblbxutil/package.py
+++ b/var/spack/repos/builtin/packages/liblbxutil/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,8 +14,8 @@ class Liblbxutil(AutotoolsPackage, XorgPackage):
version('1.1.0', sha256='285c1bc688cc71ec089e9284f2566d1780cc5d90816e9997890af8689f386951')
- depends_on('xextproto@7.0.99.1:', type='build')
- depends_on('xproto', type='build')
+ depends_on('xextproto@7.0.99.1:')
+ depends_on('xproto')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
depends_on('zlib', type='link')
diff --git a/var/spack/repos/builtin/packages/liblockfile/package.py b/var/spack/repos/builtin/packages/liblockfile/package.py
index 500b3c80eb..26089a8b57 100644
--- a/var/spack/repos/builtin/packages/liblockfile/package.py
+++ b/var/spack/repos/builtin/packages/liblockfile/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libluv/package.py b/var/spack/repos/builtin/packages/libluv/package.py
index 191f1da480..6a214ab604 100644
--- a/var/spack/repos/builtin/packages/libluv/package.py
+++ b/var/spack/repos/builtin/packages/libluv/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libmad/package.py b/var/spack/repos/builtin/packages/libmad/package.py
index 2af11c4f94..cd9273509f 100644
--- a/var/spack/repos/builtin/packages/libmad/package.py
+++ b/var/spack/repos/builtin/packages/libmad/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libmatheval/package.py b/var/spack/repos/builtin/packages/libmatheval/package.py
index b50c4906f7..a58dad199a 100644
--- a/var/spack/repos/builtin/packages/libmatheval/package.py
+++ b/var/spack/repos/builtin/packages/libmatheval/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libmaus2/package.py b/var/spack/repos/builtin/packages/libmaus2/package.py
new file mode 100644
index 0000000000..7748d0ce01
--- /dev/null
+++ b/var/spack/repos/builtin/packages/libmaus2/package.py
@@ -0,0 +1,27 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Libmaus2(AutotoolsPackage):
+ """libmaus2 is a collection of data structures and algorithmse."""
+
+ homepage = "https://gitlab.com/german.tischler/libmaus2"
+ url = "https://gitlab.com/german.tischler/libmaus2/-/archive/2.0.767-release-20201123131410/libmaus2-2.0.767-release-20201123131410.tar.gz"
+
+ version('2.0.767', sha256='40cec9bef2fb61d8df0a35cdf76c59a1d8389686d393805138c364d0c029f03c',
+ url='https://gitlab.com/german.tischler/libmaus2/-/archive/2.0.767-release-20201123131410/libmaus2-2.0.767-release-20201123131410.tar.gz')
+
+ depends_on('autoconf', type='build')
+ depends_on('automake', type='build')
+ depends_on('libtool', type='build')
+ depends_on('m4', type='build')
+
+ conflicts('%gcc@:7.9', msg="libmaus2 uses std::filesystem. std::filesystem requires greater than or equal to GCC 8.")
+
+ def setup_build_environment(self, env):
+ if self.spec.satisfies('%gcc@8.0:8.9') or self.spec.satisfies('%fj'):
+ env.append_flags('LDFLAGS', "-lstdc++fs")
diff --git a/var/spack/repos/builtin/packages/libmaxminddb/package.py b/var/spack/repos/builtin/packages/libmaxminddb/package.py
index db1590444a..93afe22ce3 100644
--- a/var/spack/repos/builtin/packages/libmaxminddb/package.py
+++ b/var/spack/repos/builtin/packages/libmaxminddb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libmesh/package.py b/var/spack/repos/builtin/packages/libmesh/package.py
index a828b3c87a..9b6778aa6d 100644
--- a/var/spack/repos/builtin/packages/libmesh/package.py
+++ b/var/spack/repos/builtin/packages/libmesh/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libmetalink/package.py b/var/spack/repos/builtin/packages/libmetalink/package.py
index 14c8ea8a11..ef2b897c0f 100644
--- a/var/spack/repos/builtin/packages/libmetalink/package.py
+++ b/var/spack/repos/builtin/packages/libmetalink/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libmicrohttpd/package.py b/var/spack/repos/builtin/packages/libmicrohttpd/package.py
index 7f6daade04..152afe0e6f 100644
--- a/var/spack/repos/builtin/packages/libmicrohttpd/package.py
+++ b/var/spack/repos/builtin/packages/libmicrohttpd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libmmtf-cpp/package.py b/var/spack/repos/builtin/packages/libmmtf-cpp/package.py
index 3b2f58882f..85e03ed35d 100644
--- a/var/spack/repos/builtin/packages/libmmtf-cpp/package.py
+++ b/var/spack/repos/builtin/packages/libmmtf-cpp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libmng/package.py b/var/spack/repos/builtin/packages/libmng/package.py
index fd11340a63..47b447ad93 100644
--- a/var/spack/repos/builtin/packages/libmng/package.py
+++ b/var/spack/repos/builtin/packages/libmng/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libmnl/package.py b/var/spack/repos/builtin/packages/libmnl/package.py
index 44b5321800..a19e593160 100644
--- a/var/spack/repos/builtin/packages/libmnl/package.py
+++ b/var/spack/repos/builtin/packages/libmnl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libmo-unpack/package.py b/var/spack/repos/builtin/packages/libmo-unpack/package.py
index a188f95652..8e174465a5 100644
--- a/var/spack/repos/builtin/packages/libmo-unpack/package.py
+++ b/var/spack/repos/builtin/packages/libmo-unpack/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libmodbus/package.py b/var/spack/repos/builtin/packages/libmodbus/package.py
index bb58528993..de3b732960 100644
--- a/var/spack/repos/builtin/packages/libmodbus/package.py
+++ b/var/spack/repos/builtin/packages/libmodbus/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libmonitor/package.py b/var/spack/repos/builtin/packages/libmonitor/package.py
index e396d0c80b..a19ee4b73e 100644
--- a/var/spack/repos/builtin/packages/libmonitor/package.py
+++ b/var/spack/repos/builtin/packages/libmonitor/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,6 +16,7 @@ class Libmonitor(AutotoolsPackage):
maintainers = ['mwkrentel']
version('master', branch='master')
+ version('2020.10.15', commit='36e5cb7ebeadfff01476b79ff04f6ec772ba831d')
version('2019.05.31', commit='c9767087d52e58a719aa7f149136b101e499db44')
version('2018.07.18', commit='d28cc1d3c08c02013a68a022a57a6ac73db88166')
version('2013.02.18', commit='4f2311e413fd90583263d6f20453bbe552ccfef3')
@@ -28,6 +29,9 @@ class Libmonitor(AutotoolsPackage):
variant('krellpatch', default=False,
description="Build with openspeedshop based patch.")
+ variant('dlopen', default=True,
+ description='Override dlopen and dlclose')
+
patch('libmonitorkrell-0000.patch', when='@2013.02.18+krellpatch')
patch('libmonitorkrell-0001.patch', when='@2013.02.18+krellpatch')
patch('libmonitorkrell-0002.patch', when='@2013.02.18+krellpatch')
@@ -55,4 +59,9 @@ class Libmonitor(AutotoolsPackage):
if '+hpctoolkit' in self.spec:
args.append('--enable-client-signals=%s' % self.signals)
+ if '+dlopen' in self.spec:
+ args.append('--enable-dlfcn')
+ else:
+ args.append('--disable-dlfcn')
+
return args
diff --git a/var/spack/repos/builtin/packages/libnbc/package.py b/var/spack/repos/builtin/packages/libnbc/package.py
index b3c4795206..35450a6fff 100644
--- a/var/spack/repos/builtin/packages/libnbc/package.py
+++ b/var/spack/repos/builtin/packages/libnbc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libnet/package.py b/var/spack/repos/builtin/packages/libnet/package.py
index 7d042b3101..4e26343dcb 100644
--- a/var/spack/repos/builtin/packages/libnet/package.py
+++ b/var/spack/repos/builtin/packages/libnet/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libnetfilter-conntrack/package.py b/var/spack/repos/builtin/packages/libnetfilter-conntrack/package.py
index 3f6097cbd6..31865d1df1 100644
--- a/var/spack/repos/builtin/packages/libnetfilter-conntrack/package.py
+++ b/var/spack/repos/builtin/packages/libnetfilter-conntrack/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libnetworkit/package.py b/var/spack/repos/builtin/packages/libnetworkit/package.py
index de624a27f1..f9289c26c2 100644
--- a/var/spack/repos/builtin/packages/libnetworkit/package.py
+++ b/var/spack/repos/builtin/packages/libnetworkit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -22,6 +22,7 @@ class Libnetworkit(CMakePackage):
maintainers = ['fabratu']
+ version('8.0', sha256='cdf9571043edbe76c447622ed33efe9cba2880f887ca231d98f6d3c22027e20e')
version('7.1', sha256='60026c3be581ae9d5c919c861605082fcb9c8205758b3ddfcde2408153ae166e')
version('7.0', sha256='4faf16c5fae3e14d3c1b6f30e25c6e093dcf6a3dbf021235f3161ac2a527f682')
version('6.1', sha256='22c953ea1054c356663b31c77114c2f0c8fec17e0e707aeec23026241beab9b2')
diff --git a/var/spack/repos/builtin/packages/libnfnetlink/package.py b/var/spack/repos/builtin/packages/libnfnetlink/package.py
index d46de4dace..9ff50c0c09 100644
--- a/var/spack/repos/builtin/packages/libnfnetlink/package.py
+++ b/var/spack/repos/builtin/packages/libnfnetlink/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libnftnl/package.py b/var/spack/repos/builtin/packages/libnftnl/package.py
index ae95c760fd..ed72bbbd78 100644
--- a/var/spack/repos/builtin/packages/libnftnl/package.py
+++ b/var/spack/repos/builtin/packages/libnftnl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libnl/package.py b/var/spack/repos/builtin/packages/libnl/package.py
index 4a2c1daa73..880fe24dc9 100644
--- a/var/spack/repos/builtin/packages/libnl/package.py
+++ b/var/spack/repos/builtin/packages/libnl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libnotify/package.py b/var/spack/repos/builtin/packages/libnotify/package.py
index 6407fd6406..b11f9dbac9 100644
--- a/var/spack/repos/builtin/packages/libnotify/package.py
+++ b/var/spack/repos/builtin/packages/libnotify/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libnova/package.py b/var/spack/repos/builtin/packages/libnova/package.py
index 179c7aa9d1..61ea276cca 100644
--- a/var/spack/repos/builtin/packages/libnova/package.py
+++ b/var/spack/repos/builtin/packages/libnova/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libnrm/package.py b/var/spack/repos/builtin/packages/libnrm/package.py
index 27c3c8e34e..13a9e1dc65 100644
--- a/var/spack/repos/builtin/packages/libnrm/package.py
+++ b/var/spack/repos/builtin/packages/libnrm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libnsl/package.py b/var/spack/repos/builtin/packages/libnsl/package.py
index 8be6d48f71..733ffd5af9 100644
--- a/var/spack/repos/builtin/packages/libnsl/package.py
+++ b/var/spack/repos/builtin/packages/libnsl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,9 +11,12 @@ class Libnsl(AutotoolsPackage):
in a IPv6 ready version."""
homepage = "https://github.com/thkukuk/libnsl"
- url = "https://github.com/thkukuk/libnsl/archive/v1.2.0.tar.gz"
+ url = "https://github.com/thkukuk/libnsl/archive/v1.3.0.tar.gz"
+ version('1.3.0', sha256='8e88017f01dd428f50386186b0cd82ad06c9b2a47f9c5ea6b3023fc6e08a6b0f')
version('1.2.0', sha256='a5a28ef17c4ca23a005a729257c959620b09f8c7f99d0edbfe2eb6b06bafd3f8')
+ version('1.1.0', sha256='f9f0b2e2412aae1d33d40277809d7af1b867f1cb1b7319ad4d0cfa59a75e193a',
+ url='https://github.com/thkukuk/libnsl/archive/1.1.0.tar.gz')
depends_on('autoconf', type='build')
depends_on('automake', type='build')
diff --git a/var/spack/repos/builtin/packages/libogg/package.py b/var/spack/repos/builtin/packages/libogg/package.py
index 71d0d90c98..729ec86f7b 100644
--- a/var/spack/repos/builtin/packages/libogg/package.py
+++ b/var/spack/repos/builtin/packages/libogg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/liboldx/package.py b/var/spack/repos/builtin/packages/liboldx/package.py
index bab3d9513b..318047e448 100644
--- a/var/spack/repos/builtin/packages/liboldx/package.py
+++ b/var/spack/repos/builtin/packages/liboldx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libopts/package.py b/var/spack/repos/builtin/packages/libopts/package.py
index 76ca316a96..cceb9b1bc0 100644
--- a/var/spack/repos/builtin/packages/libopts/package.py
+++ b/var/spack/repos/builtin/packages/libopts/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libp11/package.py b/var/spack/repos/builtin/packages/libp11/package.py
index 66947f8b06..0886aa1e7a 100644
--- a/var/spack/repos/builtin/packages/libp11/package.py
+++ b/var/spack/repos/builtin/packages/libp11/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libpam/package.py b/var/spack/repos/builtin/packages/libpam/package.py
index a4e131f7a7..4081bff4c4 100644
--- a/var/spack/repos/builtin/packages/libpam/package.py
+++ b/var/spack/repos/builtin/packages/libpam/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libpaper/package.py b/var/spack/repos/builtin/packages/libpaper/package.py
index ac474b7036..56e81ccbf8 100644
--- a/var/spack/repos/builtin/packages/libpaper/package.py
+++ b/var/spack/repos/builtin/packages/libpaper/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libpcap/package.py b/var/spack/repos/builtin/packages/libpcap/package.py
index 6c7614b901..7031996525 100644
--- a/var/spack/repos/builtin/packages/libpcap/package.py
+++ b/var/spack/repos/builtin/packages/libpcap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libpciaccess/package.py b/var/spack/repos/builtin/packages/libpciaccess/package.py
index c82dedf55e..cf889de347 100644
--- a/var/spack/repos/builtin/packages/libpciaccess/package.py
+++ b/var/spack/repos/builtin/packages/libpciaccess/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libpeas/package.py b/var/spack/repos/builtin/packages/libpeas/package.py
index ef96d9d91f..a2c89a740e 100644
--- a/var/spack/repos/builtin/packages/libpeas/package.py
+++ b/var/spack/repos/builtin/packages/libpeas/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -37,7 +37,7 @@ class Libpeas(AutotoolsPackage):
depends_on('pango')
depends_on('gnome-common')
depends_on('py-pygobject@3:', type='build')
- depends_on('python@3:', type='build')
+ depends_on('python@3:3.7.9', type='build')
def url_for_version(self, version):
url = 'https://download.gnome.org/sources/libpeas/'
@@ -86,7 +86,7 @@ class Libpeas(AutotoolsPackage):
def autoreconf(self, spec, prefix):
autoreconf_args = ['-ivf']
- aclocal_pkg_list = ['pkg-config',
+ aclocal_pkg_list = ['pkgconfig',
'gettext',
'intltool',
'glib',
diff --git a/var/spack/repos/builtin/packages/libpfm4/package.py b/var/spack/repos/builtin/packages/libpfm4/package.py
index 7b13007056..7f845e9b89 100644
--- a/var/spack/repos/builtin/packages/libpfm4/package.py
+++ b/var/spack/repos/builtin/packages/libpfm4/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libpipeline/package.py b/var/spack/repos/builtin/packages/libpipeline/package.py
index e5314da745..4f04bac81e 100644
--- a/var/spack/repos/builtin/packages/libpipeline/package.py
+++ b/var/spack/repos/builtin/packages/libpipeline/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libplist/package.py b/var/spack/repos/builtin/packages/libplist/package.py
index 8b102b66fd..c0b4714304 100644
--- a/var/spack/repos/builtin/packages/libplist/package.py
+++ b/var/spack/repos/builtin/packages/libplist/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libpmemobj-cpp/package.py b/var/spack/repos/builtin/packages/libpmemobj-cpp/package.py
index 60ee417714..6ce0f6d8d9 100644
--- a/var/spack/repos/builtin/packages/libpmemobj-cpp/package.py
+++ b/var/spack/repos/builtin/packages/libpmemobj-cpp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libpng/package.py b/var/spack/repos/builtin/packages/libpng/package.py
index 3514ff5a36..c9b7c60168 100644
--- a/var/spack/repos/builtin/packages/libpng/package.py
+++ b/var/spack/repos/builtin/packages/libpng/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libproxy/package.py b/var/spack/repos/builtin/packages/libproxy/package.py
index 171ed8c28e..b55e24ca95 100644
--- a/var/spack/repos/builtin/packages/libproxy/package.py
+++ b/var/spack/repos/builtin/packages/libproxy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,6 +13,12 @@ class Libproxy(CMakePackage):
homepage = "http://libproxy.github.io/libproxy/"
url = "https://github.com/libproxy/libproxy/archive/0.4.15.tar.gz"
+ version('0.4.17', sha256='88c624711412665515e2800a7e564aabb5b3ee781b9820eca9168035b0de60a9')
+ version('0.4.16', sha256='9e7959d6ae1d6c817f0ac1e253105ce8d99f55d7821c1b6eaef32bf6879c6f0a')
version('0.4.15', sha256='18f58b0a0043b6881774187427ead158d310127fc46a1c668ad6d207fb28b4e0')
version('0.4.14', sha256='6220a6cab837a8996116a0568324cadfd09a07ec16b930d2a330e16d5c2e1eb6')
- version('0.4.13', sha256='d610bc0ef81a18ba418d759c5f4f87bf7102229a9153fb397d7d490987330ffd')
+ version('0.4.13', sha256='d610bc0ef81a18ba418d759c5f4f87bf7102229a9153fb397d7d490987330ffd')
+
+ depends_on('zlib')
+ depends_on('python', type=('build', 'run'), when='@0.4.16:')
+ depends_on('python@:3.6.99', type=('build', 'run'), when='@:0.4.15')
diff --git a/var/spack/repos/builtin/packages/libpsl/package.py b/var/spack/repos/builtin/packages/libpsl/package.py
index 8deec5bd41..0af73be05c 100644
--- a/var/spack/repos/builtin/packages/libpsl/package.py
+++ b/var/spack/repos/builtin/packages/libpsl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libpthread-stubs/package.py b/var/spack/repos/builtin/packages/libpthread-stubs/package.py
index 528372f24a..5da23b3f07 100644
--- a/var/spack/repos/builtin/packages/libpthread-stubs/package.py
+++ b/var/spack/repos/builtin/packages/libpthread-stubs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libpulsar/package.py b/var/spack/repos/builtin/packages/libpulsar/package.py
new file mode 100644
index 0000000000..a0aa935aa2
--- /dev/null
+++ b/var/spack/repos/builtin/packages/libpulsar/package.py
@@ -0,0 +1,32 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Libpulsar(CMakePackage):
+ """libpulsar is a C/C++ client library implementation of the Apache Pulsar
+ protocol."""
+
+ homepage = "https://github.com/apache/pulsar"
+ url = "https://github.com/apache/pulsar/archive/v2.7.0.tar.gz"
+
+ maintainers = ['aahmed-se']
+
+ version('2.7.0',
+ sha256='5bf8e5115075e12c848a9e4474cd47067c3200f7ff13c45f624f7383287e8e5e')
+
+ depends_on('zstd')
+ depends_on('boost')
+ depends_on('protobuf')
+ depends_on('pkg-config')
+ depends_on('openssl')
+ depends_on('cmake @3.14:', type='build')
+
+ root_cmakelists_dir = 'pulsar-client-cpp'
+
+ def cmake_args(self):
+ args = ["-DBUILD_PYTHON_WRAPPER=OFF", "-DBUILD_TESTS=OFF"]
+ return args
diff --git a/var/spack/repos/builtin/packages/libqglviewer/package.py b/var/spack/repos/builtin/packages/libqglviewer/package.py
new file mode 100644
index 0000000000..eb1e021589
--- /dev/null
+++ b/var/spack/repos/builtin/packages/libqglviewer/package.py
@@ -0,0 +1,37 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+class Libqglviewer(QMakePackage):
+ """libQGLViewer is a C++ library based on Qt that eases the creation of
+ OpenGL 3D viewers."""
+
+ homepage = "http://libqglviewer.com/"
+ url = "http://libqglviewer.com/src/libQGLViewer-2.7.2.tar.gz"
+ git = "https://github.com/GillesDebunne/libQGLViewer.git"
+
+ version('2.7.2', sha256='e2d2799dec5cff74548e951556a1fa06a11d9bcde2ce6593f9c27a17543b7c08')
+
+ # http://libqglviewer.com/installUnix.html
+
+ depends_on('qt+gui+opengl')
+ depends_on('freeglut', when='^qt@:3.0')
+ depends_on('glu', type='link')
+
+ build_directory = 'QGLViewer'
+
+ def patch(self):
+ # Build dylib instead of Framework on macOS
+ if self.spec.satisfies('platform=darwin'):
+ filter_file('!staticlib: CONFIG *= lib_bundle', '',
+ join_path('QGLViewer', 'QGLViewer.pro'), string=True)
+
+ def qmake_args(self):
+ return ['PREFIX=' + self.prefix]
+
+ @run_after('install')
+ def darwin_fix(self):
+ if self.spec.satisfies('platform=darwin'):
+ fix_darwin_install_name(self.prefix.lib)
diff --git a/var/spack/repos/builtin/packages/libqrencode/package.py b/var/spack/repos/builtin/packages/libqrencode/package.py
new file mode 100644
index 0000000000..6658ed0d12
--- /dev/null
+++ b/var/spack/repos/builtin/packages/libqrencode/package.py
@@ -0,0 +1,44 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+from spack import *
+
+
+class Libqrencode(AutotoolsPackage):
+ """libqrencode - a fast and compact QR Code encoding library."""
+
+ homepage = "https://fukuchi.org/works/qrencode/"
+ url = "https://github.com/fukuchi/libqrencode/archive/v4.1.1.tar.gz"
+ git = "https://github.com/fukuchi/libqrencode.git"
+
+ maintainers = ['cessenat']
+
+ version('master', branch='master')
+ version('4.1.1', sha256='5385bc1b8c2f20f3b91d258bf8ccc8cf62023935df2d2676b5b67049f31a049c')
+
+ depends_on('autoconf', type='build')
+ depends_on('automake', type='build')
+ # We assume a reasonably recent libtool is necessary
+ depends_on('libtool@2.4.2:', type='build')
+ depends_on('m4', type='build')
+ depends_on('pkgconfig', type='build')
+ # https://fukuchi.org/works/qrencode/ requires libpng-dev
+ depends_on('libpng@1.2.0:', type='link')
+
+ def autoreconf(self, spec, prefix):
+ # We had to call for autoreconf as well:
+ # https://stackoverflow.com/questions/3096989/libtool-version-mismatch-error
+ # There appears $LIBTOOLIZE --force --automake --copy is not necessary
+ args = [
+ 'autoreconf --force --install',
+ ]
+ with open('autogen.sh', 'a') as fh:
+ fh.write('\n'.join(args))
+ # https://fukuchi.org/works/qrencode/
+ # If there is no "configure" script in the source code directory,
+ # run "autogen.sh" at first to generate it - this is mandatory if
+ # you downloaded the source from GitHub
+ Executable('./autogen.sh')()
diff --git a/var/spack/repos/builtin/packages/libquo/package.py b/var/spack/repos/builtin/packages/libquo/package.py
index 808eb4e0fe..488c79b0ba 100644
--- a/var/spack/repos/builtin/packages/libquo/package.py
+++ b/var/spack/repos/builtin/packages/libquo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,6 @@ from spack import *
class Libquo(AutotoolsPackage):
-
"""QUO (as in "status quo") is a runtime library that aids in accommodating
thread-level heterogeneity in dynamic, phased MPI+X applications comprising
single- and multi-threaded libraries."""
@@ -16,7 +15,9 @@ class Libquo(AutotoolsPackage):
url = "http://lanl.github.io/libquo/dists/libquo-1.3.1.tar.gz"
git = "https://github.com/lanl/libquo.git"
- version('develop', branch='master')
+ maintainers = ['samuelkgutierrez']
+
+ version('master', branch='master')
version('1.3.1', sha256='407f7c61cc80aa934cf6086f3516a31dee3b803047713c297102452c3d7d6ed1')
version('1.3', sha256='61b0beff15eae4be94b5d3cbcbf7bf757659604465709ed01827cbba45efcf90')
version('1.2.9', sha256='0a64bea8f52f9eecd89e4ab82fde1c5bd271f3866c612da0ce7f38049409429b')
@@ -34,7 +35,11 @@ class Libquo(AutotoolsPackage):
bash('./autogen')
def configure_args(self):
- return [
+ config_args = [
'CC={0}'.format(self.spec['mpi'].mpicc),
'FC={0}'.format(self.spec['mpi'].mpifc)
]
+ if '%pgi' in self.spec:
+ config_args.append('CFLAGS={0}'.format(self.compiler.cc_pic_flag))
+ config_args.append('FCFLAGS={0}'.format(self.compiler.fc_pic_flag))
+ return config_args
diff --git a/var/spack/repos/builtin/packages/librdkafka/package.py b/var/spack/repos/builtin/packages/librdkafka/package.py
index a3157e08d2..e8858dbb68 100644
--- a/var/spack/repos/builtin/packages/librdkafka/package.py
+++ b/var/spack/repos/builtin/packages/librdkafka/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/librelp/package.py b/var/spack/repos/builtin/packages/librelp/package.py
index b22ca5e0f3..ca2d668ae7 100644
--- a/var/spack/repos/builtin/packages/librelp/package.py
+++ b/var/spack/repos/builtin/packages/librelp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -22,5 +22,6 @@ class Librelp(AutotoolsPackage):
depends_on('automake', type='build')
depends_on('libtool', type='build')
depends_on('m4', type='build')
+ depends_on('valgrind', type='test')
depends_on('openssl')
depends_on('gnutls@2.0.0:')
diff --git a/var/spack/repos/builtin/packages/librmm/package.py b/var/spack/repos/builtin/packages/librmm/package.py
index 69604ac0cb..943a2d97ae 100644
--- a/var/spack/repos/builtin/packages/librmm/package.py
+++ b/var/spack/repos/builtin/packages/librmm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/librom/package.py b/var/spack/repos/builtin/packages/librom/package.py
index e71e6cf9c6..de73ebf0c2 100644
--- a/var/spack/repos/builtin/packages/librom/package.py
+++ b/var/spack/repos/builtin/packages/librom/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/librsb/package.py b/var/spack/repos/builtin/packages/librsb/package.py
index 58f74af62f..c3e8664998 100644
--- a/var/spack/repos/builtin/packages/librsb/package.py
+++ b/var/spack/repos/builtin/packages/librsb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/librsvg/package.py b/var/spack/repos/builtin/packages/librsvg/package.py
index 32dfc79d30..0127fd49e9 100644
--- a/var/spack/repos/builtin/packages/librsvg/package.py
+++ b/var/spack/repos/builtin/packages/librsvg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,6 +12,7 @@ class Librsvg(AutotoolsPackage):
homepage = "https://wiki.gnome.org/Projects/LibRsvg"
url = "https://download.gnome.org/sources/librsvg/2.44/librsvg-2.44.14.tar.xz"
+ version('2.50.2', sha256='6211f271ce4cd44a7318190d36712e9cea384a933d3e3570004edeb210a056d3')
version('2.50.0', sha256='b3fadba240f09b9c9898ab20cb7311467243e607cf8f928b7c5f842474ee3df4')
version('2.44.14', sha256='6a85a7868639cdd4aa064245cc8e9d864dad8b8e9a4a8031bb09a4796bc4e303')
diff --git a/var/spack/repos/builtin/packages/librtlsdr/package.py b/var/spack/repos/builtin/packages/librtlsdr/package.py
index 43a0b10d47..563ffa7be1 100644
--- a/var/spack/repos/builtin/packages/librtlsdr/package.py
+++ b/var/spack/repos/builtin/packages/librtlsdr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libsamplerate/package.py b/var/spack/repos/builtin/packages/libsamplerate/package.py
index fcab8be9d3..c77ddb1ad3 100644
--- a/var/spack/repos/builtin/packages/libsamplerate/package.py
+++ b/var/spack/repos/builtin/packages/libsamplerate/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libseccomp/package.py b/var/spack/repos/builtin/packages/libseccomp/package.py
index e1c1374964..6362cc9cce 100644
--- a/var/spack/repos/builtin/packages/libseccomp/package.py
+++ b/var/spack/repos/builtin/packages/libseccomp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libsecret/package.py b/var/spack/repos/builtin/packages/libsecret/package.py
index 6302b9c69d..57523fe363 100644
--- a/var/spack/repos/builtin/packages/libsecret/package.py
+++ b/var/spack/repos/builtin/packages/libsecret/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libsharp/package.py b/var/spack/repos/builtin/packages/libsharp/package.py
index aa7e5184b6..cacf6ad879 100644
--- a/var/spack/repos/builtin/packages/libsharp/package.py
+++ b/var/spack/repos/builtin/packages/libsharp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libshm/package.py b/var/spack/repos/builtin/packages/libshm/package.py
index 9938493cc4..6e5a1f0bf6 100644
--- a/var/spack/repos/builtin/packages/libshm/package.py
+++ b/var/spack/repos/builtin/packages/libshm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libsigcpp/package.py b/var/spack/repos/builtin/packages/libsigcpp/package.py
index bb62980d73..45060441a4 100644
--- a/var/spack/repos/builtin/packages/libsigcpp/package.py
+++ b/var/spack/repos/builtin/packages/libsigcpp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libsigsegv/package.py b/var/spack/repos/builtin/packages/libsigsegv/package.py
index 119778f018..2dc5021d7d 100644
--- a/var/spack/repos/builtin/packages/libsigsegv/package.py
+++ b/var/spack/repos/builtin/packages/libsigsegv/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libsm/package.py b/var/spack/repos/builtin/packages/libsm/package.py
index 922018ae3e..71389de1c0 100644
--- a/var/spack/repos/builtin/packages/libsm/package.py
+++ b/var/spack/repos/builtin/packages/libsm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,10 +16,9 @@ class Libsm(AutotoolsPackage, XorgPackage):
version('1.2.2', sha256='14bb7c669ce2b8ff712fbdbf48120e3742a77edcd5e025d6b3325ed30cf120f4')
depends_on('libice@1.0.5:')
- depends_on('libuuid')
+ depends_on('uuid')
- depends_on('xproto', type='build')
- depends_on('xtrans', type='build')
+ depends_on('xproto')
+ depends_on('xtrans')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
- depends_on('libuuid')
diff --git a/var/spack/repos/builtin/packages/libsndfile/package.py b/var/spack/repos/builtin/packages/libsndfile/package.py
index 4c5c294d48..7044bf83b9 100644
--- a/var/spack/repos/builtin/packages/libsndfile/package.py
+++ b/var/spack/repos/builtin/packages/libsndfile/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libsodium/package.py b/var/spack/repos/builtin/packages/libsodium/package.py
index b2f44c0153..714822fd55 100644
--- a/var/spack/repos/builtin/packages/libsodium/package.py
+++ b/var/spack/repos/builtin/packages/libsodium/package.py
@@ -1,9 +1,11 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
+import llnl.util.tty as tty
+import os
class Libsodium(AutotoolsPackage):
@@ -26,8 +28,19 @@ class Libsodium(AutotoolsPackage):
def url_for_version(self, version):
url = 'https://download.libsodium.org/libsodium/releases/'
- if version < Version('1.0.4'):
+ if version < Version('1.0.16'):
url += 'old/unsupported/'
- elif version < Version('1.0.16'):
+ elif version < Version('1.0.17'):
url += 'old/'
return url + 'libsodium-{0}.tar.gz'.format(version)
+
+ def patch(self):
+ # Necessary on ppc64le / aarch64, because Spack tries to execute these scripts
+ # to check if they work (see lib/spack/spack/build_systems/autotools.py).
+ try:
+ os.chmod("build-aux/config.guess", 0o755)
+ os.chmod("build-aux/config.sub", 0o755)
+ except OSError:
+ # Old versions of libsodium don't have these files.
+ tty.debug("Couldn't chmod config.guess or config.sub: file not found")
+ pass
diff --git a/var/spack/repos/builtin/packages/libspatialindex/package.py b/var/spack/repos/builtin/packages/libspatialindex/package.py
index 8ffd6d4cf5..cc2ff83297 100644
--- a/var/spack/repos/builtin/packages/libspatialindex/package.py
+++ b/var/spack/repos/builtin/packages/libspatialindex/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libspatialite/package.py b/var/spack/repos/builtin/packages/libspatialite/package.py
index 2eb9b9df2f..4a26515272 100644
--- a/var/spack/repos/builtin/packages/libspatialite/package.py
+++ b/var/spack/repos/builtin/packages/libspatialite/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,17 +13,19 @@ class Libspatialite(AutotoolsPackage):
homepage = "http://www.gaia-gis.it"
url = "http://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-4.3.0a.tar.gz"
+ manual_download = True
+ version('5.0.0', preferred=True, sha256='7b7fd70243f5a0b175696d87c46dde0ace030eacc27f39241c24bac5dfac6dac')
# Must download manually from:
# https://www.gaia-gis.it/fossil/libspatialite/info/c7f67038bf06d98d
# For instructions on the file:// below..
# https://github.com/spack/spack/issues/2489
version('5.0.0.2.c7f67038bf',
- sha256='f8100f71b769c7db066c6f938af6b00e920e4b90ac14c00a4f3ed7171565caab',
- url="file://%s/SpatiaLite-c7f67038bf.tar.gz" % os.getcwd())
+ sha256='f8100f71b769c7db066c6f938af6b00e920e4b90ac14c00a4f3ed7171565caab',
+ url="file://%s/SpatiaLite-c7f67038bf.tar.gz" % os.getcwd())
version('5.0.0-beta0', sha256='caacf5378a5cfab9b8e98bb361e2b592e714e21f5c152b795df80d0ab1da1c42')
- version('4.3.0a', preferred=True,
+ version('4.3.0a',
sha256='88900030a4762904a7880273f292e5e8ca6b15b7c6c3fb88ffa9e67ee8a5a499')
version('3.0.1', sha256='4983d6584069fd5ff0cfcccccee1015088dab2db177c0dc7050ce8306b68f8e6')
@@ -37,3 +39,4 @@ class Libspatialite(AutotoolsPackage):
depends_on('freexl')
depends_on('iconv')
depends_on('libxml2')
+ depends_on('minizip', when='@5.0.0:')
diff --git a/var/spack/repos/builtin/packages/libspiro/package.py b/var/spack/repos/builtin/packages/libspiro/package.py
index ae8ac30841..51af137d8b 100644
--- a/var/spack/repos/builtin/packages/libspiro/package.py
+++ b/var/spack/repos/builtin/packages/libspiro/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libsplash/package.py b/var/spack/repos/builtin/packages/libsplash/package.py
index c45deeae40..0b385ae987 100644
--- a/var/spack/repos/builtin/packages/libsplash/package.py
+++ b/var/spack/repos/builtin/packages/libsplash/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libssh/package.py b/var/spack/repos/builtin/packages/libssh/package.py
index 693b69ec00..81e4fd1925 100644
--- a/var/spack/repos/builtin/packages/libssh/package.py
+++ b/var/spack/repos/builtin/packages/libssh/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libssh2/package.py b/var/spack/repos/builtin/packages/libssh2/package.py
index cb3bcab1c3..2458525611 100644
--- a/var/spack/repos/builtin/packages/libssh2/package.py
+++ b/var/spack/repos/builtin/packages/libssh2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libsvm/package.py b/var/spack/repos/builtin/packages/libsvm/package.py
index 12b07053bf..2988a29424 100644
--- a/var/spack/repos/builtin/packages/libsvm/package.py
+++ b/var/spack/repos/builtin/packages/libsvm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libszip/package.py b/var/spack/repos/builtin/packages/libszip/package.py
index b72e2ba276..aef676c4a7 100644
--- a/var/spack/repos/builtin/packages/libszip/package.py
+++ b/var/spack/repos/builtin/packages/libszip/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libtar/package.py b/var/spack/repos/builtin/packages/libtar/package.py
index 0d0b719ba8..ed9b6db45f 100644
--- a/var/spack/repos/builtin/packages/libtar/package.py
+++ b/var/spack/repos/builtin/packages/libtar/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libtasn1/package.py b/var/spack/repos/builtin/packages/libtasn1/package.py
index 97324b8394..3cb4f2f16b 100644
--- a/var/spack/repos/builtin/packages/libtasn1/package.py
+++ b/var/spack/repos/builtin/packages/libtasn1/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libtermkey/package.py b/var/spack/repos/builtin/packages/libtermkey/package.py
index 90617e7014..e5713fde62 100644
--- a/var/spack/repos/builtin/packages/libtermkey/package.py
+++ b/var/spack/repos/builtin/packages/libtermkey/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libthai/package.py b/var/spack/repos/builtin/packages/libthai/package.py
new file mode 100644
index 0000000000..f4f605ac31
--- /dev/null
+++ b/var/spack/repos/builtin/packages/libthai/package.py
@@ -0,0 +1,23 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Libthai(AutotoolsPackage):
+ """LibThai is a set of Thai language support routines aimed to ease
+ developers' tasks to incorporate Thai language support in their
+ applications. It includes important Thai-specific functions e.g.
+ word breaking, input and output methods as well as basic character
+ and string supports."""
+
+ homepage = "http://linux.thai.net"
+ url = "https://github.com/tlwg/libthai/releases/download/v0.1.28/libthai-0.1.28.tar.xz"
+
+ version('0.1.28', sha256='ffe0a17b4b5aa11b153c15986800eca19f6c93a4025ffa5cf2cab2dcdf1ae911')
+ version('0.1.27', sha256='1659fa1b7b1d6562102d7feb8c8c3fd94bb2dc5761ed7dbaae4f300e1c03eff6')
+
+ depends_on('libdatrie')
+ depends_on('doxygen@1.8.8:', type='build')
diff --git a/var/spack/repos/builtin/packages/libtheora/exit-prior-to-running-configure.patch b/var/spack/repos/builtin/packages/libtheora/exit-prior-to-running-configure.patch
new file mode 100644
index 0000000000..99992c39c2
--- /dev/null
+++ b/var/spack/repos/builtin/packages/libtheora/exit-prior-to-running-configure.patch
@@ -0,0 +1,23 @@
+From 0060fd48c12a59a080974ca3754bf0eab9ab6d35 Mon Sep 17 00:00:00 2001
+From: Howard Pritchard <howardp@lanl.gov>
+Date: Tue, 24 Nov 2020 15:14:41 -0700
+Subject: [PATCH] exit prior to running configure
+
+Signed-off-by: Howard Pritchard <howardp@lanl.gov>
+
+diff --git a/autogen.sh b/autogen.sh
+index bbca69dc..4de1e783 100755
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -112,6 +112,8 @@ if test -z "$*"; then
+ echo "to pass any to it, please specify them on the $0 command line."
+ fi
+
++exit 0
++
+ echo "Generating configuration files for $package, please wait...."
+
+ echo " $ACLOCAL $ACLOCAL_FLAGS"
+--
+2.18.2
+
diff --git a/var/spack/repos/builtin/packages/libtheora/fix_encoding.patch b/var/spack/repos/builtin/packages/libtheora/fix_encoding.patch
new file mode 100644
index 0000000000..d0f2127cd7
--- /dev/null
+++ b/var/spack/repos/builtin/packages/libtheora/fix_encoding.patch
@@ -0,0 +1,12 @@
+diff --git a/doc/spec/spec.tex b/doc/spec/spec.tex
+index 2206e10..34a0724 100644
+--- a/doc/spec/spec.tex
++++ b/doc/spec/spec.tex
+@@ -14,6 +14,7 @@
+ \usepackage{float}
+ \usepackage[pdfpagemode=None,pdfstartview=FitH,pdfview=FitH,colorlinks=true]%
+ {hyperref}
++\usepackage{utf8x}[inputenc]
+
+ \newtheorem{theorem}{Theorem}[section]
+ \newcommand{\idx}[1]{{\ensuremath{\mathit{#1}}}}
diff --git a/var/spack/repos/builtin/packages/libtheora/package.py b/var/spack/repos/builtin/packages/libtheora/package.py
index 9a1b3554f3..c67e6531b9 100644
--- a/var/spack/repos/builtin/packages/libtheora/package.py
+++ b/var/spack/repos/builtin/packages/libtheora/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -21,6 +21,12 @@ class Libtheora(AutotoolsPackage):
depends_on('m4', type='build')
depends_on('doxygen', type='build')
depends_on('libogg')
+ depends_on('libpng')
+
+ patch('exit-prior-to-running-configure.patch', when='@1.1.1')
+ patch('fix_encoding.patch', when='@1.1:')
+ patch('https://gitlab.xiph.org/xiph/theora/-/commit/7288b539c52e99168488dc3a343845c9365617c8.patch',
+ sha256='2e4f891f6880386d9391f3e4eaf4a23493de4eea532f9b5cb8a04b5f7cd09301', when='^libpng@1.6:')
def autoreconf(self, spec, prefix):
sh = which('sh')
diff --git a/var/spack/repos/builtin/packages/libtiff/package.py b/var/spack/repos/builtin/packages/libtiff/package.py
index f650ef31f9..508c24069d 100644
--- a/var/spack/repos/builtin/packages/libtiff/package.py
+++ b/var/spack/repos/builtin/packages/libtiff/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libtirpc/package.py b/var/spack/repos/builtin/packages/libtirpc/package.py
index 4b6647a50f..d451b543df 100644
--- a/var/spack/repos/builtin/packages/libtirpc/package.py
+++ b/var/spack/repos/builtin/packages/libtirpc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libtlx/package.py b/var/spack/repos/builtin/packages/libtlx/package.py
index 71c11d7cd4..d4ecc35674 100644
--- a/var/spack/repos/builtin/packages/libtlx/package.py
+++ b/var/spack/repos/builtin/packages/libtlx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libtomlc99/package.py b/var/spack/repos/builtin/packages/libtomlc99/package.py
index dde282be28..4152e35030 100644
--- a/var/spack/repos/builtin/packages/libtomlc99/package.py
+++ b/var/spack/repos/builtin/packages/libtomlc99/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,6 +14,7 @@ class Libtomlc99(Package):
# Since there is no official versioning, yet, just use the date and prefix
# with '0.' to make switching to proper versioning easier later.
+ version('0.2020.12.23', commit='e97a56633e54297990158ab56a7e50a089cddf7d')
version('0.2019.06.24', commit='b701a09579200b1bd87081d1e6a284a89b5576c8')
# Unfortunately, upstream Makefile does not build shared libaries, so use
# local changes for now.
diff --git a/var/spack/repos/builtin/packages/libtommath/package.py b/var/spack/repos/builtin/packages/libtommath/package.py
index 9886022bfb..f3e6e748e0 100644
--- a/var/spack/repos/builtin/packages/libtommath/package.py
+++ b/var/spack/repos/builtin/packages/libtommath/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libtool/package.py b/var/spack/repos/builtin/packages/libtool/package.py
index 783123e27e..001327c78f 100644
--- a/var/spack/repos/builtin/packages/libtool/package.py
+++ b/var/spack/repos/builtin/packages/libtool/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -30,6 +30,8 @@ class Libtool(AutotoolsPackage, GNUMirrorPackage):
build_directory = 'spack-build'
+ tags = ['build-tools']
+
executables = ['^g?libtool(ize)?$']
@classmethod
diff --git a/var/spack/repos/builtin/packages/libtree/package.py b/var/spack/repos/builtin/packages/libtree/package.py
index e44a4a8661..f52de866da 100644
--- a/var/spack/repos/builtin/packages/libtree/package.py
+++ b/var/spack/repos/builtin/packages/libtree/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libuecc/package.py b/var/spack/repos/builtin/packages/libuecc/package.py
index b0ad96b003..59c9cd2d63 100644
--- a/var/spack/repos/builtin/packages/libuecc/package.py
+++ b/var/spack/repos/builtin/packages/libuecc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libunistring/package.py b/var/spack/repos/builtin/packages/libunistring/package.py
index 9812fb32cb..7b17a43910 100644
--- a/var/spack/repos/builtin/packages/libunistring/package.py
+++ b/var/spack/repos/builtin/packages/libunistring/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libunwind/package.py b/var/spack/repos/builtin/packages/libunwind/package.py
index 69f34f7504..96070c71e3 100644
--- a/var/spack/repos/builtin/packages/libunwind/package.py
+++ b/var/spack/repos/builtin/packages/libunwind/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,10 +17,8 @@ class Libunwind(AutotoolsPackage):
version('master', branch='master')
version('1.5-head', branch='v1.5-stable')
- version('1.5-rc1', sha256='3e0cbc6dee326592097ef06e97cf76ef597987eddd0df8bea49b0594e587627a')
- version('1.4-head', branch='v1.4-stable')
- version('1.4.0', sha256='df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435', preferred=True)
- version('1.4-rc1', sha256='1928459139f048f9b4aca4bb5010540cb7718d44220835a2980b85429007fa9f')
+ version('1.5.0', sha256='90337653d92d4a13de590781371c604f9031cdb50520366aa1e3a91e1efb1017')
+ version('1.4.0', sha256='df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435')
version('1.3.1', sha256='43997a3939b6ccdf2f669b50fdb8a4d3205374728c2923ddc2354c65260214f8')
version('1.2.1', sha256='3f3ecb90e28cbe53fba7a4a27ccce7aad188d3210bb1964a923a731a27a75acb')
version('1.1', sha256='9dfe0fcae2a866de9d3942c66995e4b460230446887dbdab302d41a8aee8d09a')
@@ -37,10 +35,10 @@ class Libunwind(AutotoolsPackage):
# The libunwind releases contain the autotools generated files,
# but the git repo snapshots do not.
- depends_on('autoconf', type='build', when='@master,1.4-head,1.5-head')
- depends_on('automake', type='build', when='@master,1.4-head,1.5-head')
- depends_on('libtool', type='build', when='@master,1.4-head,1.5-head')
- depends_on('m4', type='build', when='@master,1.4-head,1.5-head')
+ depends_on('autoconf', type='build', when='@master,1.5-head')
+ depends_on('automake', type='build', when='@master,1.5-head')
+ depends_on('libtool', type='build', when='@master,1.5-head')
+ depends_on('m4', type='build', when='@master,1.5-head')
depends_on('xz', type='link', when='+xz')
depends_on('zlib', type='link', when='+zlib')
diff --git a/var/spack/repos/builtin/packages/libusb/package.py b/var/spack/repos/builtin/packages/libusb/package.py
index e3e9099d00..1740d0f6d9 100644
--- a/var/spack/repos/builtin/packages/libusb/package.py
+++ b/var/spack/repos/builtin/packages/libusb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libusbmuxd/package.py b/var/spack/repos/builtin/packages/libusbmuxd/package.py
index 999636b785..48f64d0cf6 100644
--- a/var/spack/repos/builtin/packages/libusbmuxd/package.py
+++ b/var/spack/repos/builtin/packages/libusbmuxd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libuser/package.py b/var/spack/repos/builtin/packages/libuser/package.py
index b97f5e2ba6..17f16a3e8d 100644
--- a/var/spack/repos/builtin/packages/libuser/package.py
+++ b/var/spack/repos/builtin/packages/libuser/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libuuid/package.py b/var/spack/repos/builtin/packages/libuuid/package.py
index fc4ca59efa..6e6f36845f 100644
--- a/var/spack/repos/builtin/packages/libuuid/package.py
+++ b/var/spack/repos/builtin/packages/libuuid/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,3 +13,5 @@ class Libuuid(AutotoolsPackage, SourceforgePackage):
sourceforge_mirror_path = "libuuid/libuuid-1.0.3.tar.gz"
version('1.0.3', sha256='46af3275291091009ad7f1b899de3d0cea0252737550e7919d17237997db5644')
+
+ provides('uuid')
diff --git a/var/spack/repos/builtin/packages/libuv/package.py b/var/spack/repos/builtin/packages/libuv/package.py
index 7129acf5a6..599d9c42b6 100644
--- a/var/spack/repos/builtin/packages/libuv/package.py
+++ b/var/spack/repos/builtin/packages/libuv/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libvdwxc/package.py b/var/spack/repos/builtin/packages/libvdwxc/package.py
index 2e0934ab2f..731e5d45f3 100644
--- a/var/spack/repos/builtin/packages/libvdwxc/package.py
+++ b/var/spack/repos/builtin/packages/libvdwxc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libverto/package.py b/var/spack/repos/builtin/packages/libverto/package.py
index 7efdb156c9..871e68f8e4 100644
--- a/var/spack/repos/builtin/packages/libverto/package.py
+++ b/var/spack/repos/builtin/packages/libverto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libvips/package.py b/var/spack/repos/builtin/packages/libvips/package.py
index 89371208ab..fd6b8ca8ed 100644
--- a/var/spack/repos/builtin/packages/libvips/package.py
+++ b/var/spack/repos/builtin/packages/libvips/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,8 +15,9 @@ class Libvips(AutotoolsPackage):
url = "https://github.com/libvips/libvips/releases/download/v8.9.0/vips-8.9.0.tar.gz"
git = "https://github.com/libvips/libvips.git"
- version('8.9.1', sha256='45633798877839005016c9d3494e98dee065f5cb9e20f4552d3b315b8e8bce91', preferred=True)
- version('8.9.0', sha256='97334a5e70aff343d2587f23cb8068fc846a58cd937c89a446142ccf00ea0349')
+ version('8.10.5', sha256='a4eef2f5334ab6dbf133cd3c6d6394d5bdb3e76d5ea4d578b02e1bc3d9e1cfd8')
+ version('8.9.1', sha256='45633798877839005016c9d3494e98dee065f5cb9e20f4552d3b315b8e8bce91')
+ version('8.9.0', sha256='97334a5e70aff343d2587f23cb8068fc846a58cd937c89a446142ccf00ea0349')
variant('fftw', default=True,
description='Uses FFTW3 for fourier transforms.')
diff --git a/var/spack/repos/builtin/packages/libvorbis/package.py b/var/spack/repos/builtin/packages/libvorbis/package.py
index 372a93efef..ec327cdc23 100644
--- a/var/spack/repos/builtin/packages/libvorbis/package.py
+++ b/var/spack/repos/builtin/packages/libvorbis/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libvori/package.py b/var/spack/repos/builtin/packages/libvori/package.py
new file mode 100644
index 0000000000..c3b5bdd8bc
--- /dev/null
+++ b/var/spack/repos/builtin/packages/libvori/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Libvori(CMakePackage):
+ """Support for Voronoi Integration and lossless BQB compression"""
+
+ homepage = "https://brehm-research.de/voronoi.php"
+ url = "https://www.cp2k.org/static/downloads/libvori-201217.tar.gz"
+
+ maintainers = ['dev-zero']
+
+ version('201229', sha256='da0afb292c94f8de2aaebfd0b692d15ffd86083cb8a48478b07ca93823decc06')
+ version('201224', sha256='16f6c49eaa17ea23868925dbaae2eca71bdacbe50418c97d6c55e05728038f31')
+ version('201217', sha256='6ad456ed6ca5d28cadcc0d90eabe8fff5caa77b99f12764323de5e3ae21cddf5')
diff --git a/var/spack/repos/builtin/packages/libvterm/package.py b/var/spack/repos/builtin/packages/libvterm/package.py
index 6697ceeeb7..c5e261b70c 100644
--- a/var/spack/repos/builtin/packages/libvterm/package.py
+++ b/var/spack/repos/builtin/packages/libvterm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libwebp/package.py b/var/spack/repos/builtin/packages/libwebp/package.py
index fd8dee8e9e..7efbba954b 100644
--- a/var/spack/repos/builtin/packages/libwebp/package.py
+++ b/var/spack/repos/builtin/packages/libwebp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libwebsockets/package.py b/var/spack/repos/builtin/packages/libwebsockets/package.py
index a00f841a7c..32d6206492 100644
--- a/var/spack/repos/builtin/packages/libwebsockets/package.py
+++ b/var/spack/repos/builtin/packages/libwebsockets/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libwindowswm/package.py b/var/spack/repos/builtin/packages/libwindowswm/package.py
index 4c5d32d247..fd7e7dca5b 100644
--- a/var/spack/repos/builtin/packages/libwindowswm/package.py
+++ b/var/spack/repos/builtin/packages/libwindowswm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -22,7 +22,7 @@ class Libwindowswm(AutotoolsPackage, XorgPackage):
depends_on('libx11')
depends_on('libxext')
- depends_on('xextproto', type='build')
- depends_on('windowswmproto', type='build')
+ depends_on('xextproto')
+ depends_on('windowswmproto')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libx11/package.py b/var/spack/repos/builtin/packages/libx11/package.py
index fa41e10d74..3407f29012 100644
--- a/var/spack/repos/builtin/packages/libx11/package.py
+++ b/var/spack/repos/builtin/packages/libx11/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,17 +12,19 @@ class Libx11(AutotoolsPackage, XorgPackage):
homepage = "https://www.x.org/"
xorg_mirror_path = "lib/libX11-1.6.7.tar.gz"
+ version('1.7.0', sha256='c48ec61785ec68fc6a9a6aca0a9578393414fe2562e3cc9cca30234345c7b6ac')
version('1.6.7', sha256='f62ab88c2a87b55e1dc338726a55bb6ed8048084fe6a3294a7ae324ca45159d1')
version('1.6.5', sha256='3abce972ba62620611fab5b404dafb852da3da54e7c287831c30863011d28fb3')
version('1.6.3', sha256='0b03b9d22f4c9e59b4ba498f294e297f013cae27050dfa0f3496640200db5376')
depends_on('libxcb@1.1.92:')
- depends_on('xproto@7.0.17:', type='build')
- depends_on('xextproto', type=('build', 'link'))
- depends_on('xtrans', type='build')
- depends_on('kbproto', type=('build', 'link'))
- depends_on('inputproto', type='build')
+ depends_on('xproto@7.0.25:', when='@1.7.0:')
+ depends_on('xproto@7.0.17:')
+ depends_on('xextproto')
+ depends_on('xtrans')
+ depends_on('kbproto')
+ depends_on('inputproto')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
depends_on('perl', type='build')
diff --git a/var/spack/repos/builtin/packages/libxau/package.py b/var/spack/repos/builtin/packages/libxau/package.py
index f94b92841d..2ba1258626 100644
--- a/var/spack/repos/builtin/packages/libxau/package.py
+++ b/var/spack/repos/builtin/packages/libxau/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,6 +16,6 @@ class Libxau(AutotoolsPackage, XorgPackage):
version('1.0.8', sha256='c343b4ef66d66a6b3e0e27aa46b37ad5cab0f11a5c565eafb4a1c7590bc71d7b')
- depends_on('xproto', type=('build', 'link'))
+ depends_on('xproto')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libxaw/package.py b/var/spack/repos/builtin/packages/libxaw/package.py
index efd5120ef0..bff3ecd704 100644
--- a/var/spack/repos/builtin/packages/libxaw/package.py
+++ b/var/spack/repos/builtin/packages/libxaw/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -22,7 +22,7 @@ class Libxaw(AutotoolsPackage, XorgPackage):
depends_on('libxmu')
depends_on('libxpm')
- depends_on('xproto', type='build')
- depends_on('xextproto', type='build')
+ depends_on('xproto')
+ depends_on('xextproto')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libxaw3d/package.py b/var/spack/repos/builtin/packages/libxaw3d/package.py
index 78f94d3423..2b04a50164 100644
--- a/var/spack/repos/builtin/packages/libxaw3d/package.py
+++ b/var/spack/repos/builtin/packages/libxaw3d/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libxc/package.py b/var/spack/repos/builtin/packages/libxc/package.py
index f054bfa72c..b66b8f7b79 100644
--- a/var/spack/repos/builtin/packages/libxc/package.py
+++ b/var/spack/repos/builtin/packages/libxc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,6 +13,7 @@ class Libxc(AutotoolsPackage, CudaPackage):
homepage = "https://tddft.org/programs/libxc/"
url = "https://www.tddft.org/programs/libxc/down.php?file=2.2.2/libxc-2.2.2.tar.gz"
+ version('5.1.0', sha256='f67b6e518372871d9eed6e5dba77c3ab5ea030c229ba7a7d44bcf51f3258373f')
version('5.0.0', sha256='1cdc57930f7b57da4eb9b2c55a50ba1c2c385936ddaf5582fee830994461a892')
version('4.3.4', sha256='a8ee37ddc5079339854bd313272856c9d41a27802472ee9ae44b58ee9a298337')
version('4.3.2', sha256='bc159aea2537521998c7fb1199789e1be71e04c4b7758d58282622e347603a6f')
diff --git a/var/spack/repos/builtin/packages/libxcb/package.py b/var/spack/repos/builtin/packages/libxcb/package.py
index a384b13acb..8ebe0ac754 100644
--- a/var/spack/repos/builtin/packages/libxcb/package.py
+++ b/var/spack/repos/builtin/packages/libxcb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,8 +13,9 @@ class Libxcb(AutotoolsPackage):
extensibility."""
homepage = "https://xcb.freedesktop.org/"
- url = "https://xcb.freedesktop.org/dist/libxcb-1.13.tar.gz"
+ url = "https://xorg.freedesktop.org/archive/individual/lib/libxcb-1.14.tar.xz"
+ version('1.14', sha256='a55ed6db98d43469801262d81dc2572ed124edc3db31059d4e9916eb9f844c34')
version('1.13', sha256='0bb3cfd46dbd90066bf4d7de3cad73ec1024c7325a4a0cbf5f4a0d4fa91155fb')
version('1.12', sha256='092f147149d8a6410647a848378aaae749304d5b73e028ccb8306aa8a9e26f06')
version('1.11.1', sha256='660312d5e64d0a5800262488042c1707a0261fa01a759bad265b1b75dd4844dd')
@@ -25,10 +26,11 @@ class Libxcb(AutotoolsPackage):
depends_on('libxdmcp')
# libxcb 1.X requires xcb-proto >= 1.X
- depends_on('xcb-proto', type='build')
- depends_on('xcb-proto@1.13:', when='@1.13:1.13.999', type='build')
- depends_on('xcb-proto@1.12:', when='@1.12:1.12.999', type='build')
- depends_on('xcb-proto@1.11:', when='@1.11:1.11.999', type='build')
+ depends_on('xcb-proto')
+ depends_on('xcb-proto@1.14:', when='@1.14:1.14.999')
+ depends_on('xcb-proto@1.13:', when='@1.13:1.13.999')
+ depends_on('xcb-proto@1.12:', when='@1.12:1.12.999')
+ depends_on('xcb-proto@1.11:', when='@1.11:1.11.999')
# TODO: uncomment once build deps can be resolved separately
# See #7646, #4145, #4063, and #2548 for details
@@ -39,6 +41,14 @@ class Libxcb(AutotoolsPackage):
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
+ def url_for_version(self, version):
+ if version >= Version('1.14'):
+ url = 'https://xorg.freedesktop.org/archive/individual/lib/libxcb-{0}.tar.xz'
+ else:
+ url = 'https://xcb.freedesktop.org/dist/libxcb-{0}.tar.gz'
+
+ return url.format(version)
+
def configure_args(self):
config_args = []
diff --git a/var/spack/repos/builtin/packages/libxcomposite/package.py b/var/spack/repos/builtin/packages/libxcomposite/package.py
index f1c2301b49..6d479f7f42 100644
--- a/var/spack/repos/builtin/packages/libxcomposite/package.py
+++ b/var/spack/repos/builtin/packages/libxcomposite/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,7 +17,7 @@ class Libxcomposite(AutotoolsPackage, XorgPackage):
depends_on('libx11')
depends_on('libxfixes')
- depends_on('fixesproto@0.4:', type='build')
- depends_on('compositeproto@0.4:', type='build')
+ depends_on('fixesproto@0.4:')
+ depends_on('compositeproto@0.4:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libxcrypt/package.py b/var/spack/repos/builtin/packages/libxcrypt/package.py
index 68094a3772..1554d0789b 100644
--- a/var/spack/repos/builtin/packages/libxcrypt/package.py
+++ b/var/spack/repos/builtin/packages/libxcrypt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libxcursor/package.py b/var/spack/repos/builtin/packages/libxcursor/package.py
index 4022033f1d..3011992790 100644
--- a/var/spack/repos/builtin/packages/libxcursor/package.py
+++ b/var/spack/repos/builtin/packages/libxcursor/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,6 +18,6 @@ class Libxcursor(AutotoolsPackage, XorgPackage):
depends_on('libxfixes')
depends_on('libx11')
- depends_on('fixesproto', type='build')
+ depends_on('fixesproto')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libxdamage/package.py b/var/spack/repos/builtin/packages/libxdamage/package.py
index 6e14c62707..1122135d23 100644
--- a/var/spack/repos/builtin/packages/libxdamage/package.py
+++ b/var/spack/repos/builtin/packages/libxdamage/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,8 +17,8 @@ class Libxdamage(AutotoolsPackage, XorgPackage):
depends_on('libxfixes')
depends_on('libx11')
- depends_on('damageproto@1.1:', type='build')
- depends_on('fixesproto', type='build')
- depends_on('xextproto', type='build')
+ depends_on('damageproto@1.1:')
+ depends_on('fixesproto')
+ depends_on('xextproto')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libxdmcp/package.py b/var/spack/repos/builtin/packages/libxdmcp/package.py
index a6d81dc34f..0a7ba3b7cb 100644
--- a/var/spack/repos/builtin/packages/libxdmcp/package.py
+++ b/var/spack/repos/builtin/packages/libxdmcp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,7 +14,7 @@ class Libxdmcp(AutotoolsPackage, XorgPackage):
version('1.1.2', sha256='6f7c7e491a23035a26284d247779174dedc67e34e93cc3548b648ffdb6fc57c0')
- depends_on('xproto', type='build')
+ depends_on('xproto')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
depends_on('libbsd', when='platform=linux')
diff --git a/var/spack/repos/builtin/packages/libxevie/package.py b/var/spack/repos/builtin/packages/libxevie/package.py
index a9781f4848..062728c14d 100644
--- a/var/spack/repos/builtin/packages/libxevie/package.py
+++ b/var/spack/repos/builtin/packages/libxevie/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,8 +17,8 @@ class Libxevie(AutotoolsPackage, XorgPackage):
depends_on('libx11')
depends_on('libxext')
- depends_on('xproto', type='build')
- depends_on('xextproto', type='build')
- depends_on('evieext', type='build')
+ depends_on('xproto')
+ depends_on('xextproto')
+ depends_on('evieext')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libxext/package.py b/var/spack/repos/builtin/packages/libxext/package.py
index bd615f0fa7..c66327225b 100644
--- a/var/spack/repos/builtin/packages/libxext/package.py
+++ b/var/spack/repos/builtin/packages/libxext/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,7 +16,7 @@ class Libxext(AutotoolsPackage, XorgPackage):
depends_on('libx11@1.6:')
- depends_on('xproto@7.0.13:', type='build')
- depends_on('xextproto@7.1.99:', type='build')
+ depends_on('xproto@7.0.13:')
+ depends_on('xextproto@7.1.99:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libxfixes/package.py b/var/spack/repos/builtin/packages/libxfixes/package.py
index 3a3d92a9e8..d8f072dab8 100644
--- a/var/spack/repos/builtin/packages/libxfixes/package.py
+++ b/var/spack/repos/builtin/packages/libxfixes/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,8 +17,8 @@ class Libxfixes(AutotoolsPackage, XorgPackage):
depends_on('libx11@1.6:')
- depends_on('xproto', type='build')
- depends_on('fixesproto@5.0:', type='build')
- depends_on('xextproto', type='build')
+ depends_on('xproto')
+ depends_on('fixesproto@5.0:')
+ depends_on('xextproto')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libxfont/package.py b/var/spack/repos/builtin/packages/libxfont/package.py
index ebaf8a3570..03c2cc8469 100644
--- a/var/spack/repos/builtin/packages/libxfont/package.py
+++ b/var/spack/repos/builtin/packages/libxfont/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -22,8 +22,8 @@ class Libxfont(AutotoolsPackage, XorgPackage):
depends_on('libfontenc')
depends_on('freetype')
- depends_on('xtrans', type='build')
- depends_on('xproto', type='build')
- depends_on('fontsproto@2.1.3:', type='build')
+ depends_on('xtrans')
+ depends_on('xproto')
+ depends_on('fontsproto@2.1.3:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libxfont2/package.py b/var/spack/repos/builtin/packages/libxfont2/package.py
index 2cd8d5c3de..21576da4a9 100644
--- a/var/spack/repos/builtin/packages/libxfont2/package.py
+++ b/var/spack/repos/builtin/packages/libxfont2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -22,8 +22,8 @@ class Libxfont2(AutotoolsPackage, XorgPackage):
depends_on('libfontenc')
depends_on('freetype')
- depends_on('xtrans', type='build')
- depends_on('xproto', type='build')
- depends_on('fontsproto@2.1.3:', type='build')
+ depends_on('xtrans')
+ depends_on('xproto')
+ depends_on('fontsproto@2.1.3:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libxfontcache/package.py b/var/spack/repos/builtin/packages/libxfontcache/package.py
index 6ee00368ec..beb884129e 100644
--- a/var/spack/repos/builtin/packages/libxfontcache/package.py
+++ b/var/spack/repos/builtin/packages/libxfontcache/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,7 +17,7 @@ class Libxfontcache(AutotoolsPackage, XorgPackage):
depends_on('libx11')
depends_on('libxext')
- depends_on('xextproto', type='build')
- depends_on('fontcacheproto', type='build')
+ depends_on('xextproto')
+ depends_on('fontcacheproto')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libxft/package.py b/var/spack/repos/builtin/packages/libxft/package.py
index 9cbb296856..e231d8b458 100644
--- a/var/spack/repos/builtin/packages/libxft/package.py
+++ b/var/spack/repos/builtin/packages/libxft/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libxi/package.py b/var/spack/repos/builtin/packages/libxi/package.py
index 7464deff73..782c67c2ac 100644
--- a/var/spack/repos/builtin/packages/libxi/package.py
+++ b/var/spack/repos/builtin/packages/libxi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,10 +18,12 @@ class Libxi(AutotoolsPackage, XorgPackage):
depends_on('libx11@1.6:')
depends_on('libxext@1.0.99.1:')
depends_on('libxfixes@5:')
-
- # transient build dependency (from libxfixes), i.e. shouldn't be needed?
- depends_on('fixesproto@5.0:', type='build')
-
- depends_on('xproto@7.0.13:', type='build')
- depends_on('xextproto@7.0.3:', type='build')
- depends_on('inputproto@2.2.99.1:', type='build')
+ depends_on('fixesproto@5.0:')
+ depends_on('xproto@7.0.13:')
+ depends_on('xextproto@7.0.3:')
+ depends_on('inputproto@2.2.99.1:')
+
+ @property
+ def libs(self):
+ return find_libraries(
+ 'libXi', self.prefix, shared=True, recursive=True)
diff --git a/var/spack/repos/builtin/packages/libxinerama/package.py b/var/spack/repos/builtin/packages/libxinerama/package.py
index 3855fb97de..773802d8fe 100644
--- a/var/spack/repos/builtin/packages/libxinerama/package.py
+++ b/var/spack/repos/builtin/packages/libxinerama/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,7 +17,7 @@ class Libxinerama(AutotoolsPackage, XorgPackage):
depends_on('libx11')
depends_on('libxext')
- depends_on('xextproto', type='build')
- depends_on('xineramaproto@1.1.99.1:', type='build')
+ depends_on('xextproto')
+ depends_on('xineramaproto@1.1.99.1:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libxkbcommon/package.py b/var/spack/repos/builtin/packages/libxkbcommon/package.py
index 71e7a2b6ea..b32e9fdfe8 100644
--- a/var/spack/repos/builtin/packages/libxkbcommon/package.py
+++ b/var/spack/repos/builtin/packages/libxkbcommon/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libxkbfile/package.py b/var/spack/repos/builtin/packages/libxkbfile/package.py
index 504709f808..5e75d3ddad 100644
--- a/var/spack/repos/builtin/packages/libxkbfile/package.py
+++ b/var/spack/repos/builtin/packages/libxkbfile/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,6 +16,6 @@ class Libxkbfile(AutotoolsPackage, XorgPackage):
depends_on('libx11')
- depends_on('kbproto', type='build')
+ depends_on('kbproto')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libxkbui/package.py b/var/spack/repos/builtin/packages/libxkbui/package.py
index 8b969b9d35..a903ff1bfb 100644
--- a/var/spack/repos/builtin/packages/libxkbui/package.py
+++ b/var/spack/repos/builtin/packages/libxkbui/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libxml2/package.py b/var/spack/repos/builtin/packages/libxml2/package.py
index 9cbc8a6817..10595f6352 100644
--- a/var/spack/repos/builtin/packages/libxml2/package.py
+++ b/var/spack/repos/builtin/packages/libxml2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libxmu/package.py b/var/spack/repos/builtin/packages/libxmu/package.py
index d53732752e..040086074b 100644
--- a/var/spack/repos/builtin/packages/libxmu/package.py
+++ b/var/spack/repos/builtin/packages/libxmu/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -21,6 +21,6 @@ class Libxmu(AutotoolsPackage, XorgPackage):
depends_on('libxext')
depends_on('libx11')
- depends_on('xextproto', type='build')
+ depends_on('xextproto')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libxp/package.py b/var/spack/repos/builtin/packages/libxp/package.py
index d8c41790de..2e842670c6 100644
--- a/var/spack/repos/builtin/packages/libxp/package.py
+++ b/var/spack/repos/builtin/packages/libxp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,7 +18,7 @@ class Libxp(AutotoolsPackage, XorgPackage):
depends_on('libxext')
depends_on('libxau')
- depends_on('xextproto', type='build')
- depends_on('printproto', type='build')
+ depends_on('xextproto')
+ depends_on('printproto')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libxpm/package.py b/var/spack/repos/builtin/packages/libxpm/package.py
index 48a78dfe1c..c0d71ca910 100644
--- a/var/spack/repos/builtin/packages/libxpm/package.py
+++ b/var/spack/repos/builtin/packages/libxpm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -22,7 +22,7 @@ class Libxpm(AutotoolsPackage, XorgPackage):
depends_on('gettext')
depends_on('libx11')
- depends_on('xproto', type='build')
+ depends_on('xproto')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libxpresent/package.py b/var/spack/repos/builtin/packages/libxpresent/package.py
index 1db0ccac41..898d545075 100644
--- a/var/spack/repos/builtin/packages/libxpresent/package.py
+++ b/var/spack/repos/builtin/packages/libxpresent/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -20,10 +20,10 @@ class Libxpresent(AutotoolsPackage, XorgPackage):
depends_on('libxfixes', type='link')
depends_on('libxrandr', type='link')
- depends_on('xproto', type='link')
- depends_on('presentproto@1.0:', type='link')
- depends_on('xextproto', type='link')
- depends_on('fixesproto', type='link')
- depends_on('randrproto', type='link')
+ depends_on('xproto')
+ depends_on('presentproto@1.0:')
+ depends_on('xextproto')
+ depends_on('fixesproto')
+ depends_on('randrproto')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libxprintapputil/package.py b/var/spack/repos/builtin/packages/libxprintapputil/package.py
index da2e116640..5b60bbf607 100644
--- a/var/spack/repos/builtin/packages/libxprintapputil/package.py
+++ b/var/spack/repos/builtin/packages/libxprintapputil/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,6 +19,6 @@ class Libxprintapputil(AutotoolsPackage, XorgPackage):
depends_on('libxprintutil')
depends_on('libxau')
- depends_on('printproto', type='build')
+ depends_on('printproto')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libxprintutil/package.py b/var/spack/repos/builtin/packages/libxprintutil/package.py
index bb39a3b8bb..19cbabe9ba 100644
--- a/var/spack/repos/builtin/packages/libxprintutil/package.py
+++ b/var/spack/repos/builtin/packages/libxprintutil/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,6 +19,6 @@ class Libxprintutil(AutotoolsPackage, XorgPackage):
depends_on('libxt')
depends_on('libxau')
- depends_on('printproto', type='build')
+ depends_on('printproto')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libxrandr/package.py b/var/spack/repos/builtin/packages/libxrandr/package.py
index 405da4bbd0..d3a78aa498 100644
--- a/var/spack/repos/builtin/packages/libxrandr/package.py
+++ b/var/spack/repos/builtin/packages/libxrandr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,8 +18,13 @@ class Libxrandr(AutotoolsPackage, XorgPackage):
depends_on('libxext')
depends_on('libxrender')
- depends_on('randrproto@1.5:', type='build')
- depends_on('xextproto', type='build')
- depends_on('renderproto', type='build')
+ depends_on('randrproto@1.5:')
+ depends_on('xextproto')
+ depends_on('renderproto')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
+
+ @property
+ def libs(self):
+ return find_libraries(
+ 'libXrandr', self.prefix, shared=True, recursive=True)
diff --git a/var/spack/repos/builtin/packages/libxrender/package.py b/var/spack/repos/builtin/packages/libxrender/package.py
index c1dcd0b472..b1a6facdfc 100644
--- a/var/spack/repos/builtin/packages/libxrender/package.py
+++ b/var/spack/repos/builtin/packages/libxrender/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,6 +17,6 @@ class Libxrender(AutotoolsPackage, XorgPackage):
depends_on('libx11@1.6:')
- depends_on('renderproto@0.9:', type=('build', 'link'))
+ depends_on('renderproto@0.9:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libxres/package.py b/var/spack/repos/builtin/packages/libxres/package.py
index a1a16b87a4..c6c4d94f4e 100644
--- a/var/spack/repos/builtin/packages/libxres/package.py
+++ b/var/spack/repos/builtin/packages/libxres/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,7 +17,7 @@ class Libxres(AutotoolsPackage, XorgPackage):
depends_on('libx11')
depends_on('libxext')
- depends_on('xextproto', type='build')
- depends_on('resourceproto@1.0:', type='build')
+ depends_on('xextproto')
+ depends_on('resourceproto@1.0:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libxscrnsaver/package.py b/var/spack/repos/builtin/packages/libxscrnsaver/package.py
index 077e74e9a7..e7c6edfb17 100644
--- a/var/spack/repos/builtin/packages/libxscrnsaver/package.py
+++ b/var/spack/repos/builtin/packages/libxscrnsaver/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,7 +17,7 @@ class Libxscrnsaver(AutotoolsPackage, XorgPackage):
depends_on('libx11')
depends_on('libxext')
- depends_on('xextproto', type='build')
+ depends_on('xextproto')
depends_on('scrnsaverproto@1.2:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libxshmfence/package.py b/var/spack/repos/builtin/packages/libxshmfence/package.py
index f3cd1658b5..9445b31160 100644
--- a/var/spack/repos/builtin/packages/libxshmfence/package.py
+++ b/var/spack/repos/builtin/packages/libxshmfence/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,6 +19,6 @@ class Libxshmfence(AutotoolsPackage, XorgPackage):
version('1.3', sha256='b884300d26a14961a076fbebc762a39831cb75f92bed5ccf9836345b459220c7')
version('1.2', sha256='d21b2d1fd78c1efbe1f2c16dae1cb23f8fd231dcf891465b8debe636a9054b0c')
- depends_on('xproto', type='build')
+ depends_on('xproto')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libxslt/package.py b/var/spack/repos/builtin/packages/libxslt/package.py
index 5da6272d83..c42240f303 100644
--- a/var/spack/repos/builtin/packages/libxslt/package.py
+++ b/var/spack/repos/builtin/packages/libxslt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libxsmm/package.py b/var/spack/repos/builtin/packages/libxsmm/package.py
index b6296648a6..7648f0f5c5 100644
--- a/var/spack/repos/builtin/packages/libxsmm/package.py
+++ b/var/spack/repos/builtin/packages/libxsmm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,6 +17,8 @@ class Libxsmm(MakefilePackage):
url = 'https://github.com/hfp/libxsmm/archive/1.16.1.tar.gz'
git = 'https://github.com/hfp/libxsmm.git'
+ maintainers = ['hfp']
+
version('master', branch='master')
version('1.16.1', sha256='93dc7a3ec40401988729ddb2c6ea2294911261f7e6cd979cf061b5c3691d729d')
version('1.16', sha256='4f4f2ad97815413af80821d2e306eb6f00541941ad412662da05c02361a20e07')
@@ -82,7 +84,7 @@ class Libxsmm(MakefilePackage):
]
# JIT (AVX and later) makes MNK, M, N, or K spec. superfluous
-# make_args += ['MNK=1 4 5 6 8 9 13 16 17 22 23 24 26 32']
+ # make_args += ['MNK=1 4 5 6 8 9 13 16 17 22 23 24 26 32']
# include call trace as the build is already de-optimized
if '+debug' in spec:
diff --git a/var/spack/repos/builtin/packages/libxstream/package.py b/var/spack/repos/builtin/packages/libxstream/package.py
index af28a10736..bab3b057ec 100644
--- a/var/spack/repos/builtin/packages/libxstream/package.py
+++ b/var/spack/repos/builtin/packages/libxstream/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libxt/package.py b/var/spack/repos/builtin/packages/libxt/package.py
index 7554224e53..9a5fb28ed1 100644
--- a/var/spack/repos/builtin/packages/libxt/package.py
+++ b/var/spack/repos/builtin/packages/libxt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,8 +18,8 @@ class Libxt(AutotoolsPackage, XorgPackage):
depends_on('libice')
depends_on('libx11')
- depends_on('xproto', type='build')
- depends_on('kbproto', type='build')
+ depends_on('xproto')
+ depends_on('kbproto')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libxtrap/package.py b/var/spack/repos/builtin/packages/libxtrap/package.py
index d729ab5826..18212be696 100644
--- a/var/spack/repos/builtin/packages/libxtrap/package.py
+++ b/var/spack/repos/builtin/packages/libxtrap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -27,7 +27,7 @@ class Libxtrap(AutotoolsPackage, XorgPackage):
depends_on('libxt')
depends_on('libxext')
- depends_on('trapproto', type='build')
- depends_on('xextproto', type='build')
+ depends_on('trapproto')
+ depends_on('xextproto')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libxtst/package.py b/var/spack/repos/builtin/packages/libxtst/package.py
index 447c111b54..3073e99819 100644
--- a/var/spack/repos/builtin/packages/libxtst/package.py
+++ b/var/spack/repos/builtin/packages/libxtst/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -27,9 +27,9 @@ class Libxtst(AutotoolsPackage, XorgPackage):
depends_on('libxext@1.0.99.4:')
depends_on('libxi')
- depends_on('recordproto@1.13.99.1:', type='build')
- depends_on('xextproto@7.0.99.3:', type='build')
- depends_on('inputproto', type='build')
- depends_on('fixesproto', type='build')
+ depends_on('recordproto@1.13.99.1:')
+ depends_on('xextproto@7.0.99.3:')
+ depends_on('inputproto')
+ depends_on('fixesproto')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libxv/package.py b/var/spack/repos/builtin/packages/libxv/package.py
index fc948f63f1..68810c66c6 100644
--- a/var/spack/repos/builtin/packages/libxv/package.py
+++ b/var/spack/repos/builtin/packages/libxv/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,7 +18,7 @@ class Libxv(AutotoolsPackage, XorgPackage):
depends_on('libx11@1.6:')
depends_on('libxext')
- depends_on('xextproto', type='build')
+ depends_on('xextproto')
depends_on('videoproto')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libxvmc/package.py b/var/spack/repos/builtin/packages/libxvmc/package.py
index 51be35577e..bc43c0d55e 100644
--- a/var/spack/repos/builtin/packages/libxvmc/package.py
+++ b/var/spack/repos/builtin/packages/libxvmc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,7 +18,7 @@ class Libxvmc(AutotoolsPackage, XorgPackage):
depends_on('libxext')
depends_on('libxv')
- depends_on('xextproto', type='build')
- depends_on('videoproto', type='build')
+ depends_on('xextproto')
+ depends_on('videoproto')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libxxf86dga/package.py b/var/spack/repos/builtin/packages/libxxf86dga/package.py
index 74c1ec3c5c..b352d8bfdd 100644
--- a/var/spack/repos/builtin/packages/libxxf86dga/package.py
+++ b/var/spack/repos/builtin/packages/libxxf86dga/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,8 +17,8 @@ class Libxxf86dga(AutotoolsPackage, XorgPackage):
depends_on('libx11')
depends_on('libxext')
- depends_on('xproto', type='build')
- depends_on('xextproto', type='build')
- depends_on('xf86dgaproto@2.0.99.2:', type='build')
+ depends_on('xproto')
+ depends_on('xextproto')
+ depends_on('xf86dgaproto@2.0.99.2:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libxxf86misc/package.py b/var/spack/repos/builtin/packages/libxxf86misc/package.py
index 59f263e497..07348169f8 100644
--- a/var/spack/repos/builtin/packages/libxxf86misc/package.py
+++ b/var/spack/repos/builtin/packages/libxxf86misc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,8 +17,8 @@ class Libxxf86misc(AutotoolsPackage, XorgPackage):
depends_on('libx11')
depends_on('libxext')
- depends_on('xproto', type='build')
- depends_on('xextproto', type='build')
- depends_on('xf86miscproto', type='build')
+ depends_on('xproto')
+ depends_on('xextproto')
+ depends_on('xf86miscproto')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/libxxf86vm/package.py b/var/spack/repos/builtin/packages/libxxf86vm/package.py
index 338fb7b0b3..5ed1816f96 100644
--- a/var/spack/repos/builtin/packages/libxxf86vm/package.py
+++ b/var/spack/repos/builtin/packages/libxxf86vm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,8 +17,13 @@ class Libxxf86vm(AutotoolsPackage, XorgPackage):
depends_on('libx11@1.6:')
depends_on('libxext')
- depends_on('xproto', type='build')
- depends_on('xextproto', type='build')
- depends_on('xf86vidmodeproto@2.2.99.1:', type='build')
+ depends_on('xproto')
+ depends_on('xextproto')
+ depends_on('xf86vidmodeproto@2.2.99.1:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
+
+ @property
+ def libs(self):
+ return find_libraries(
+ 'libXxf86vm', self.prefix, shared=True, recursive=True)
diff --git a/var/spack/repos/builtin/packages/libyaml/package.py b/var/spack/repos/builtin/packages/libyaml/package.py
index 26686dbd52..e7f95a2fe5 100644
--- a/var/spack/repos/builtin/packages/libyaml/package.py
+++ b/var/spack/repos/builtin/packages/libyaml/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,6 +14,7 @@ class Libyaml(AutotoolsPackage):
git = "https://github.com/yaml/libyaml.git"
version('master', branch='master')
+ version('0.2.5', sha256='c642ae9b75fee120b2d96c712538bd2cf283228d2337df2cf2988e3c02678ef4')
version('0.2.4', sha256='d80aeda8747b7c26fbbfd87ab687786e58394a8435ae3970e79cb97882e30557')
version('0.2.3', sha256='08bbb80284d77092e68a6f69f1e480e8ed93e215c47b2ca29290e3bd5a191108')
version('0.2.2', sha256='4a9100ab61047fd9bd395bcef3ce5403365cafd55c1e0d0299cde14958e47be9')
diff --git a/var/spack/repos/builtin/packages/libyogrt/package.py b/var/spack/repos/builtin/packages/libyogrt/package.py
index c3612026db..38138aee3a 100644
--- a/var/spack/repos/builtin/packages/libyogrt/package.py
+++ b/var/spack/repos/builtin/packages/libyogrt/package.py
@@ -1,9 +1,10 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
+import os
class Libyogrt(AutotoolsPackage):
@@ -33,12 +34,15 @@ class Libyogrt(AutotoolsPackage):
variant('scheduler', default='system',
description="Select scheduler integration",
- values=['system', 'slurm'], multi=False)
+ values=['system', 'slurm', 'lsf'], multi=False)
+ depends_on('slurm', when='scheduler=slurm')
+ depends_on('lsf', when='scheduler=lsf')
+
+ conflicts('scheduler=lsf', when='@:1.22')
+
variant('static', default='False',
description="build static library")
- depends_on('slurm', when='scheduler=slurm')
-
def url_for_version(self, version):
if version < Version(1.21):
return "https://github.com/LLNL/libyogrt/archive/%s.tar.gz" % version
@@ -49,10 +53,37 @@ class Libyogrt(AutotoolsPackage):
args = []
sched = self.spec.variants['scheduler'].value
- if sched != "system":
+ if sched == "lsf":
+ # The LSF library depends on a couple of other libraries,
+ # and running the build inside of spack does not find
+ # them, and the user has to add them when they want
+ # to use -lyogrt. If we explicitly tell it what libraries
+ # to use, the user does not need to specify them
+ args.append('--with-lsf')
+ args.append('LIBS=-llsf -lrt -lnsl')
+ elif sched != "system":
args.append('--with-%s=%s' % (sched, self.spec[sched].prefix))
if '+static' in self.spec:
args.append('--enable-static=yes')
return args
+
+ @run_after('install')
+ def create_yogrt_conf(self):
+ etcpath = os.path.join(prefix, "etc")
+
+ # create subdirectory to hold yogrt.conf file
+ if not os.path.isdir(etcpath):
+ mode = 0o755
+ os.mkdir(etcpath, mode)
+
+ # if no scheduler is specified, create yogrt conf file
+ # with backend=none
+ sched = self.spec.variants['scheduler'].value
+ if sched == "system":
+ sched = "none"
+
+ # create conf file to inform libyogrt about job scheduler
+ with open(os.path.join(etcpath, "yogrt.conf"), "w+") as f:
+ f.write("backend=%s\n" % sched)
diff --git a/var/spack/repos/builtin/packages/libzip/package.py b/var/spack/repos/builtin/packages/libzip/package.py
index b218d18e59..b842acd82a 100644
--- a/var/spack/repos/builtin/packages/libzip/package.py
+++ b/var/spack/repos/builtin/packages/libzip/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/libzmq/package.py b/var/spack/repos/builtin/packages/libzmq/package.py
index 6dce35c18a..b69cb7610f 100644
--- a/var/spack/repos/builtin/packages/libzmq/package.py
+++ b/var/spack/repos/builtin/packages/libzmq/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,8 @@ class Libzmq(AutotoolsPackage):
url = "https://github.com/zeromq/libzmq/releases/download/v4.3.2/zeromq-4.3.2.tar.gz"
git = "https://github.com/zeromq/libzmq.git"
- version('develop', branch='master')
+ version('master', branch='master')
+ version('4.3.3', sha256='9d9285db37ae942ed0780c016da87060497877af45094ff9e1a1ca736e3875a2')
version('4.3.2', sha256='ebd7b5c830d6428956b67a0454a7f8cbed1de74b3b01e5c33c5378e22740f763')
version('4.3.1', sha256='bcbabe1e2c7d0eec4ed612e10b94b112dd5f06fcefa994a0c79a45d835cd21eb')
version('4.3.0', sha256='8e9c3af6dc5a8540b356697081303be392ade3f014615028b3c896d0148397fd')
@@ -29,6 +30,9 @@ class Libzmq(AutotoolsPackage):
variant("libsodium", default=True,
description="Build with message encryption support via libsodium")
+ variant("drafts", default=False,
+ description="Build and install draft classes and methods")
+
depends_on("libsodium", when='+libsodium')
depends_on("libsodium@:1.0.3", when='+libsodium@:4.1.2')
@@ -37,6 +41,9 @@ class Libzmq(AutotoolsPackage):
depends_on('libtool', type='build', when='@develop')
depends_on('pkgconfig', type='build')
+ depends_on('libbsd', type='link', when='@4.3.3: platform=linux')
+ depends_on('libbsd', type='link', when='@4.3.3: platform=cray')
+
conflicts('%gcc@8:', when='@:4.2.2')
def url_for_version(self, version):
@@ -53,6 +60,9 @@ class Libzmq(AutotoolsPackage):
def configure_args(self):
config_args = []
+
+ config_args.extend(self.enable_or_disable("drafts"))
+
if '+libsodium' in self.spec:
config_args.append('--with-libsodium')
if 'clang' in self.compiler.cc:
diff --git a/var/spack/repos/builtin/packages/liggghts/package.py b/var/spack/repos/builtin/packages/liggghts/package.py
index 54fab4a056..cfd8bfd3ed 100644
--- a/var/spack/repos/builtin/packages/liggghts/package.py
+++ b/var/spack/repos/builtin/packages/liggghts/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -27,7 +27,7 @@ class Liggghts(MakefilePackage):
variant('profile', default=False,
description='Generate profiling code')
- depends_on('vtk')
+ depends_on('vtk@6.1.0:8.2.0')
depends_on('mpi', when='+mpi')
depends_on('jpeg', when='+jpeg')
depends_on('zlib', when="+gzip")
diff --git a/var/spack/repos/builtin/packages/lighttpd/package.py b/var/spack/repos/builtin/packages/lighttpd/package.py
index 3231a80f86..efbd1c9aa3 100644
--- a/var/spack/repos/builtin/packages/lighttpd/package.py
+++ b/var/spack/repos/builtin/packages/lighttpd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ligra/package.py b/var/spack/repos/builtin/packages/ligra/package.py
index 8df4bbabae..3bfa849b5f 100644
--- a/var/spack/repos/builtin/packages/ligra/package.py
+++ b/var/spack/repos/builtin/packages/ligra/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/likwid/package.py b/var/spack/repos/builtin/packages/likwid/package.py
index 625dce7a5d..0b6fdf39a8 100644
--- a/var/spack/repos/builtin/packages/likwid/package.py
+++ b/var/spack/repos/builtin/packages/likwid/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,11 +16,12 @@ class Likwid(Package):
See https://github.com/RRZE-HPC/likwid/wiki/TutorialLikwidPerf#feature-limitations
for information."""
- homepage = "https://github.com/RRZE-HPC/likwid"
+ homepage = "https://hpc.fau.de/research/tools/likwid/"
url = "https://github.com/RRZE-HPC/likwid/archive/v5.0.0.tar.gz"
git = "https://github.com/RRZE-HPC/likwid.git"
maintainers = ['TomTheBear']
+ version('5.1.0', sha256='5a180702a1656c6315b861a85031ab4cb090424aec42cbbb326b849e29f55571')
version('5.0.2', sha256='0a1c8984e4b43ea8b99d09456ef05035eb934594af1669432117585c638a2da4')
version('5.0.1', sha256='3757b0cb66e8af0116f9288c7f90543acbd8e2af8f72f77aef447ca2b3e76453')
version('5.0.0', sha256='26623f5a1a5fec19d798f0114774a5293d1c93a148538b9591a13e50930fa41e')
@@ -34,14 +35,17 @@ class Likwid(Package):
patch('https://github.com/RRZE-HPC/likwid/commit/d2d0ef333b5e0997d7c80fc6ac1a473b5e47d084.patch', sha256='636cbf40669261fdb36379d67253be2b731cfa7b6d610d232767d72fbdf08bc0', when='@4.3.4')
patch('https://github.com/RRZE-HPC/likwid/files/5341379/likwid-lua5.1.patch.txt', sha256='bc56253c1e3436b5ba7bf4c5533d0391206900c8663c008f771a16376975e416', when='@5.0.2^lua@5.1')
variant('fortran', default=True, description='with fortran interface')
+ variant('cuda', default=False, description='with Nvidia GPU profiling support')
# NOTE: There is no way to use an externally provided hwloc with Likwid.
# The reason is that the internal hwloc is patched to contain extra
# functionality and functions are prefixed with "likwid_".
+ # Note: extra functionality was included in upstream hwloc
depends_on('lua', when='@:4')
depends_on('lua@5.2:', when='@5:5.0.1')
depends_on('lua', when='@5.0.2:')
+ depends_on('cuda', when='@5: +cuda')
# TODO: check
# depends_on('gnuplot', type='run')
@@ -55,6 +59,13 @@ class Likwid(Package):
filter_file('^#!/usr/bin/perl -w', '#!/usr/bin/env perl', *files)
filter_file('^#!/usr/bin/perl', '#!/usr/bin/env perl', *files)
+ def setup_run_environment(self, env):
+ if "+cuda" in self.spec:
+ libs = find_libraries('libcupti', root=self.spec['cuda'].prefix,
+ shared=True, recursive=True)
+ for lib in libs.directories:
+ env.append_path('LD_LIBRARY_PATH', lib)
+
@run_before('install')
def filter_sbang(self):
# Filter sbang before install so Spack's sbang hook can fix it up
@@ -106,15 +117,35 @@ class Likwid(Package):
'FORTRAN_INTERFACE = true',
'config.mk')
if self.compiler.name == 'gcc':
- filter_file('ifort', 'gfortran',
- join_path('make', 'include_GCC.mk'))
- filter_file('-module', '-I', join_path('make',
- 'include_GCC.mk'))
+ makepath = join_path('make', 'include_GCC.mk')
+ filter_file('ifort', 'gfortran', makepath)
+ filter_file('-module', '-I', makepath)
else:
filter_file('^FORTRAN_INTERFACE .*',
'FORTRAN_INTERFACE = false',
'config.mk')
+ if "+cuda" in self.spec:
+ filter_file('^NVIDIA_INTERFACE.*',
+ 'NVIDIA_INTERFACE = true',
+ 'config.mk')
+ filter_file('^BUILDAPPDAEMON.*',
+ 'BUILDAPPDAEMON = true',
+ 'config.mk')
+ cudainc = spec['cuda'].prefix.include
+ filter_file('^CUDAINCLUDE.*',
+ 'CUDAINCLUDE = {0}'.format(cudainc),
+ 'config.mk')
+ cuptihead = HeaderList(find(spec['cuda'].prefix, 'cupti.h',
+ recursive=True))
+ filter_file('^CUPTIINCLUDE.*',
+ 'CUPTIINCLUDE = {0}'.format(cuptihead.directories[0]),
+ 'config.mk')
+ else:
+ filter_file('^NVIDIA_INTERFACE.*',
+ 'NVIDIA_INTERFACE = false',
+ 'config.mk')
+
if spec.satisfies('^lua'):
filter_file('^#LUA_INCLUDE_DIR.*',
'LUA_INCLUDE_DIR = {0}'.format(
diff --git a/var/spack/repos/builtin/packages/linkphase3/package.py b/var/spack/repos/builtin/packages/linkphase3/package.py
index 417518bc18..3a62d468bf 100644
--- a/var/spack/repos/builtin/packages/linkphase3/package.py
+++ b/var/spack/repos/builtin/packages/linkphase3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/linktest/package.py b/var/spack/repos/builtin/packages/linktest/package.py
new file mode 100644
index 0000000000..654ebe50b4
--- /dev/null
+++ b/var/spack/repos/builtin/packages/linktest/package.py
@@ -0,0 +1,36 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+class Linktest(MakefilePackage):
+ """Performance tool to generate communication matrix using
+ parallel ping-pong benchmark"""
+
+ homepage = "https://www.fz-juelich.de/ias/jsc/EN/Expertise/Support/Software/LinkTest/_node.html"
+ url = "http://apps.fz-juelich.de/jsc/linktest/download.php?version=1.2p1"
+
+ maintainers = ['pramodk']
+
+ version('1.2p1', sha256='981b96da1d5bf214507b8e219a36e8d0183d8bd5c10539b26f660b2c83e5269d', extension='tar.gz')
+
+ depends_on('mpi')
+ depends_on('sionlib')
+
+ def edit(self, spec, prefix):
+ with working_dir('src'):
+ makefile = FileFilter('Makefile')
+ makefile.filter('= gcc', '= cc')
+ makefile.filter('mpicc', spec['mpi'].mpicc)
+ makefile.filter('#SIONLIB_INST=.*',
+ 'SIONLIB_INST=%s' % spec['sionlib'].prefix)
+
+ def build(self, spec, prefix):
+ with working_dir('src'):
+ make()
+
+ def install(self, spec, prefix):
+ mkdir(prefix.bin)
+ install('src/mpilinktest', prefix.bin)
+ install('src/pingponganalysis', prefix.bin)
diff --git a/var/spack/repos/builtin/packages/linsys-v/package.py b/var/spack/repos/builtin/packages/linsys-v/package.py
index 545a2a8bec..7dac25e893 100644
--- a/var/spack/repos/builtin/packages/linsys-v/package.py
+++ b/var/spack/repos/builtin/packages/linsys-v/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/linux-headers/package.py b/var/spack/repos/builtin/packages/linux-headers/package.py
index 8e33f63471..770a48e18f 100644
--- a/var/spack/repos/builtin/packages/linux-headers/package.py
+++ b/var/spack/repos/builtin/packages/linux-headers/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/linux-pam/package.py b/var/spack/repos/builtin/packages/linux-pam/package.py
index 0dff1e0654..45887e65e5 100644
--- a/var/spack/repos/builtin/packages/linux-pam/package.py
+++ b/var/spack/repos/builtin/packages/linux-pam/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lis/package.py b/var/spack/repos/builtin/packages/lis/package.py
new file mode 100644
index 0000000000..c339abf1f0
--- /dev/null
+++ b/var/spack/repos/builtin/packages/lis/package.py
@@ -0,0 +1,37 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Lis(AutotoolsPackage):
+ """Lis (Library of Iterative Solvers for linear systems,
+ pronounced [lis]) is a parallel software library for
+ solving discretized linear equations and eigenvalue
+ problems that arise in the numerical solution of partial
+ differential equations using iterative methods."""
+
+ homepage = "https://www.ssisc.org/lis/index.en.html"
+ url = "https://www.ssisc.org/lis/dl/lis-2.0.27.zip"
+
+ version('2.0.27', sha256='85f32f4abbc94d1b40b22c10b915170271b19822b6aa6939b1cb295f6e455237')
+
+ variant('mpi', default=False, description='Build with MPI library')
+ variant('omp', default=False, description='Build with openMP library')
+ variant('f90', default=False, description='enable FORTRAN 90 compatible interfaces')
+
+ depends_on('mpi', when='+mpi')
+
+ def configure_args(self):
+ config_args = []
+ config_args.extend(self.enable_or_disable('mpi'))
+ config_args.extend(self.enable_or_disable('omp'))
+ config_args.extend(self.enable_or_disable('f90'))
+
+ if self.spec.satisfies('%fj'):
+ config_args.append('CLIBS=-lm')
+ config_args.append('FCLDFLAGS=-mlcmain=main')
+
+ return config_args
diff --git a/var/spack/repos/builtin/packages/listres/package.py b/var/spack/repos/builtin/packages/listres/package.py
index 98b2ab4f1b..c27c30509d 100644
--- a/var/spack/repos/builtin/packages/listres/package.py
+++ b/var/spack/repos/builtin/packages/listres/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,6 +19,6 @@ class Listres(AutotoolsPackage, XorgPackage):
depends_on('libxt')
depends_on('libxmu')
- depends_on('xproto', type='build')
+ depends_on('xproto')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/lizard/package.py b/var/spack/repos/builtin/packages/lizard/package.py
index d0b165e750..35052f8d61 100644
--- a/var/spack/repos/builtin/packages/lizard/package.py
+++ b/var/spack/repos/builtin/packages/lizard/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lksctp-tools/package.py b/var/spack/repos/builtin/packages/lksctp-tools/package.py
index ca168aa320..e32b9395fa 100644
--- a/var/spack/repos/builtin/packages/lksctp-tools/package.py
+++ b/var/spack/repos/builtin/packages/lksctp-tools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/llvm-amdgpu/fix-ncurses-3.9.0.patch b/var/spack/repos/builtin/packages/llvm-amdgpu/fix-ncurses-3.9.0.patch
new file mode 100644
index 0000000000..24be1ecf31
--- /dev/null
+++ b/var/spack/repos/builtin/packages/llvm-amdgpu/fix-ncurses-3.9.0.patch
@@ -0,0 +1,25 @@
+Adapt the fix-system-zlib-ncurses.patch for version 3.9.0.
+
+--- llvm-project-rocm-3.9.0/llvm/cmake/config-ix.cmake.orig 2020-11-20 21:41:10.498772540 -0600
++++ llvm-project-rocm-3.9.0/llvm/cmake/config-ix.cmake 2020-11-20 22:27:57.242391054 -0600
+@@ -126,15 +126,11 @@
+ endif()
+ if(LLVM_ENABLE_TERMINFO)
+ set(HAVE_TERMINFO 0)
+- foreach(library terminfo tinfo curses ncurses ncursesw)
+- string(TOUPPER ${library} library_suffix)
+- check_library_exists(${library} setupterm "" HAVE_TERMINFO_${library_suffix})
+- if(HAVE_TERMINFO_${library_suffix})
+- set(HAVE_TERMINFO 1)
+- set(TERMINFO_LIBS "${library}")
+- break()
+- endif()
+- endforeach()
++ find_library(FIND_TERMINFO NAMES terminfo tinfo curses ncurses ncursesw)
++ if(FIND_TERMINFO)
++ set(HAVE_TERMINFO 1)
++ set(TERMINFO_LIBS "${FIND_TERMINFO}")
++ endif()
+ else()
+ set(HAVE_TERMINFO 0)
+ endif()
diff --git a/var/spack/repos/builtin/packages/llvm-amdgpu/package.py b/var/spack/repos/builtin/packages/llvm-amdgpu/package.py
index 8e616dffb4..e351dc6b2b 100644
--- a/var/spack/repos/builtin/packages/llvm-amdgpu/package.py
+++ b/var/spack/repos/builtin/packages/llvm-amdgpu/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,10 +12,12 @@ class LlvmAmdgpu(CMakePackage):
optimizers, and run-time environments."""
homepage = "https://github.com/RadeonOpenCompute/llvm-project"
- url = "https://github.com/RadeonOpenCompute/llvm-project/archive/rocm-3.9.0.tar.gz"
+ url = "https://github.com/RadeonOpenCompute/llvm-project/archive/rocm-4.0.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ version('4.0.0', sha256='aa1f80f429fded465e86bcfaef72255da1af1c5c52d58a4c979bc2f6c2da5a69')
+ version('3.10.0', sha256='8262aff88c1ff6c4deb4da5a4f8cda1bf90668950e2b911f93f73edaee53b370')
version('3.9.0', sha256='1ff14b56d10c2c44d36c3c412b190d3d8cd1bb12cfc7cd58af004c16fd9987d1')
version('3.8.0', sha256='93a28464a4d0c1c9f4ba55e473e5d1cde4c5c0e6d087ec8a0a3aef1f5f5208e8')
version('3.7.0', sha256='3e2542ce54b91b5c841f33d542143e0e43eae95e8785731405af29f08ace725b')
@@ -23,27 +25,56 @@ class LlvmAmdgpu(CMakePackage):
variant('build_type', default='Release', values=("Release", "Debug"), description='CMake build type')
- depends_on('cmake@3:', type='build')
+ variant('openmp', default=True, description='Enable OpenMP')
+
+ depends_on('cmake@3.4.3:', type='build', when='@:3.8.99')
+ depends_on('cmake@3.13.4:', type='build', when='@3.9.0:')
depends_on('python', type='build')
depends_on('z3', type='link')
depends_on('zlib', type='link')
depends_on('ncurses+termlib', type='link')
+ # openmp dependencies
+ depends_on("perl-data-dumper", type=("build"), when='+openmp')
+ depends_on("hwloc", when='+openmp')
+ depends_on('libelf', type='link', when='+openmp')
# Will likely only be fixed in LLVM 12 upstream
patch('fix-system-zlib-ncurses.patch', when='@3.5.0:3.8.0')
+ patch('fix-ncurses-3.9.0.patch', when='@3.9.0:')
+
+ conflicts('^cmake@3.19.0')
root_cmakelists_dir = 'llvm'
install_targets = ['clang-tidy', 'install']
def cmake_args(self):
+ llvm_projects = [
+ 'clang',
+ 'lld',
+ 'clang-tools-extra',
+ 'compiler-rt'
+ ]
+
+ if '+openmp' in self.spec:
+ llvm_projects.append('openmp')
+
args = [
- '-DLLVM_ENABLE_PROJECTS=clang;lld;clang-tools-extra;compiler-rt',
+ '-DLLVM_ENABLE_PROJECTS={0}'.format(';'.join(llvm_projects)),
'-DLLVM_ENABLE_ASSERTIONS=1'
]
if self.compiler.name == "gcc":
- gcc_prefix = ancestor(self.compiler.cc, 2)
+ compiler = Executable(self.compiler.cc)
+ gcc_output = compiler('-print-search-dirs', output=str, error=str)
+
+ for line in gcc_output.splitlines():
+ if line.startswith("install:"):
+ # Get path and strip any whitespace
+ # (causes oddity with ancestor)
+ gcc_prefix = line.split(":")[1].strip()
+ gcc_prefix = ancestor(gcc_prefix, 4)
+ break
args.append("-DGCC_INSTALL_PREFIX=" + gcc_prefix)
return args
diff --git a/var/spack/repos/builtin/packages/llvm-doe/constexpr_longdouble_9.0.patch b/var/spack/repos/builtin/packages/llvm-doe/constexpr_longdouble_9.0.patch
new file mode 100644
index 0000000000..bbc5ab7385
--- /dev/null
+++ b/var/spack/repos/builtin/packages/llvm-doe/constexpr_longdouble_9.0.patch
@@ -0,0 +1,12 @@
+-- a/libcxx/include/thread
++++ b/libcxx/include/thread
+@@ -370,7 +370,7 @@ sleep_for(const chrono::duration<_Rep, _Period>& __d)
+ using namespace chrono;
+ if (__d > duration<_Rep, _Period>::zero())
+ {
+-#if defined(_LIBCPP_COMPILER_GCC) && (__powerpc__ || __POWERPC__)
++#if ! (defined(_LIBCPP_COMPILER_GCC) && (__powerpc__ || __POWERPC__))
+ // GCC's long double const folding is incomplete for IBM128 long doubles.
+ _LIBCPP_CONSTEXPR duration<long double> _Max = nanoseconds::max();
+ #else
+
diff --git a/var/spack/repos/builtin/packages/llvm-doe/lldb_external_ncurses-10.patch b/var/spack/repos/builtin/packages/llvm-doe/lldb_external_ncurses-10.patch
new file mode 100644
index 0000000000..34ed0e3cd2
--- /dev/null
+++ b/var/spack/repos/builtin/packages/llvm-doe/lldb_external_ncurses-10.patch
@@ -0,0 +1,31 @@
+diff --git a/lldb/include/lldb/Host/Config.h.cmake b/lldb/include/lldb/Host/Config.h.cmake
+--- a/lldb/include/lldb/Host/Config.h.cmake
++++ b/lldb/include/lldb/Host/Config.h.cmake
+@@ -38,6 +38,8 @@
+
+ #cmakedefine01 LLDB_ENABLE_CURSES
+
++#cmakedefine01 CURSES_HAVE_NCURSES_CURSES_H
++
+ #cmakedefine01 LLDB_ENABLE_LIBEDIT
+
+ #cmakedefine01 LLDB_ENABLE_LIBXML2
+diff --git a/lldb/source/Core/IOHandlerCursesGUI.cpp b/lldb/source/Core/IOHandlerCursesGUI.cpp
+--- a/lldb/source/Core/IOHandlerCursesGUI.cpp
++++ b/lldb/source/Core/IOHandlerCursesGUI.cpp
+@@ -10,9 +10,14 @@
+ #include "lldb/Host/Config.h"
+
+ #if LLDB_ENABLE_CURSES
++#if CURSES_HAVE_NCURSES_CURSES_H
++#include <ncurses/curses.h>
++#include <ncurses/panel.h>
++#else
+ #include <curses.h>
+ #include <panel.h>
+ #endif
++#endif
+
+ #if defined(__APPLE__)
+ #include <deque>
+
diff --git a/var/spack/repos/builtin/packages/llvm-doe/llvm_python_path.patch b/var/spack/repos/builtin/packages/llvm-doe/llvm_python_path.patch
new file mode 100644
index 0000000000..9f821cc365
--- /dev/null
+++ b/var/spack/repos/builtin/packages/llvm-doe/llvm_python_path.patch
@@ -0,0 +1,14 @@
+diff --git a/compiler-rt/cmake/Modules/AddCompilerRT.cmake b/compiler-rt/cmake/Modules/AddCompilerRT.cmake
+index dab55707338..6f4c6791141 100644
+--- a/compiler-rt/cmake/Modules/AddCompilerRT.cmake
++++ b/compiler-rt/cmake/Modules/AddCompilerRT.cmake
+@@ -612,6 +612,9 @@ macro(add_custom_libcxx name prefix)
+ CMAKE_OBJDUMP
+ CMAKE_STRIP
+ CMAKE_SYSROOT
++ PYTHON_EXECUTABLE
++ Python3_EXECUTABLE
++ Python2_EXECUTABLE
+ CMAKE_SYSTEM_NAME)
+ foreach(variable ${PASSTHROUGH_VARIABLES})
+ get_property(is_value_set CACHE ${variable} PROPERTY VALUE SET)
diff --git a/var/spack/repos/builtin/packages/llvm-doe/package.py b/var/spack/repos/builtin/packages/llvm-doe/package.py
new file mode 100644
index 0000000000..4976753743
--- /dev/null
+++ b/var/spack/repos/builtin/packages/llvm-doe/package.py
@@ -0,0 +1,561 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+import os.path
+import re
+import sys
+
+import llnl.util.tty as tty
+import spack.util.executable
+
+
+class LlvmDoe(CMakePackage, CudaPackage):
+ """This package provides a collection of the experimental LLVM projects done
+ by the US DOE research and development teams.
+ """
+
+ homepage = "https://github.com/llvm-doe-org"
+ url = "https://github.com/llvm-doe-org/llvm-project/archive/llvmorg-10.0.0.zip"
+ git = "https://github.com/llvm-doe-org/llvm-project"
+ maintainers = ['shintaro-iwasaki']
+
+ version('doe', branch='doe', preferred=True)
+ version('upstream', branch='llvm.org/main')
+ version('bolt', branch='bolt/main')
+ version('clacc', branch='clacc/master')
+ version('pragma-clang-loop', branch='sollve/pragma-clang-loop')
+ version('pragma-omp-tile', branch='sollve/pragma-omp-tile')
+
+ # NOTE: The debug version of LLVM is an order of magnitude larger than
+ # the release version, and may take up 20-30 GB of space. If you want
+ # to save space, build with `build_type=Release`.
+
+ variant(
+ "clang",
+ default=True,
+ description="Build the LLVM C/C++/Objective-C compiler frontend",
+ )
+ variant(
+ "flang",
+ default=False,
+ description="Build the LLVM Fortran compiler frontend",
+ )
+ variant(
+ "omp_debug",
+ default=False,
+ description="Include debugging code in OpenMP runtime libraries",
+ )
+ variant("lldb", default=False, description="Build the LLVM debugger")
+ variant("lld", default=True, description="Build the LLVM linker")
+ variant("mlir", default=False, description="Build with MLIR support")
+ variant(
+ "internal_unwind",
+ default=True,
+ description="Build the libcxxabi libunwind",
+ )
+ variant(
+ "polly",
+ default=True,
+ description="Build the LLVM polyhedral optimization plugin, "
+ "only builds for 3.7.0+",
+ )
+ variant(
+ "libcxx",
+ default=True,
+ description="Build the LLVM C++ standard library",
+ )
+ variant(
+ "compiler-rt",
+ default=True,
+ description="Build LLVM compiler runtime, including sanitizers",
+ )
+ variant(
+ "gold",
+ default=(sys.platform != "darwin"),
+ description="Add support for LTO with the gold linker plugin",
+ )
+ variant(
+ "split_dwarf",
+ default=False,
+ description="Build with split dwarf information",
+ )
+ variant(
+ "shared_libs",
+ default=False,
+ description="Build all components as shared libraries, faster, "
+ "less memory to build, less stable",
+ )
+ variant(
+ "llvm_dylib",
+ default=False,
+ description="Build LLVM shared library, containing all "
+ "components in a single shared library",
+ )
+ variant(
+ "all_targets",
+ default=False,
+ description="Build all supported targets, default targets "
+ "<current arch>,NVPTX,AMDGPU,CppBackend",
+ )
+ variant(
+ "build_type",
+ default="Release",
+ description="CMake build type",
+ values=("Debug", "Release", "RelWithDebInfo", "MinSizeRel"),
+ )
+ variant(
+ "omp_tsan",
+ default=False,
+ description="Build with OpenMP capable thread sanitizer",
+ )
+ variant(
+ "argobots",
+ default=False,
+ description="Build BOLT/OpenMP with Argobots. Effective when @bolt",
+ )
+ variant('code_signing', default=False,
+ description="Enable code-signing on macOS")
+ variant("python", default=False, description="Install python bindings")
+
+ extends("python", when="+python")
+
+ # Build dependency
+ depends_on("cmake@3.4.3:", type="build")
+ depends_on("python", when="~python", type="build")
+ depends_on("pkgconfig", type="build")
+
+ # Universal dependency
+ depends_on("python", when="+python")
+ depends_on("z3")
+
+ # openmp dependencies
+ depends_on("perl-data-dumper", type=("build"))
+ depends_on("hwloc")
+ depends_on("libelf", when="+cuda") # libomptarget
+ depends_on("libffi", when="+cuda") # libomptarget
+
+ # ncurses dependency
+ depends_on("ncurses+termlib")
+
+ # lldb dependencies
+ depends_on("swig", when="+lldb")
+ depends_on("libedit", when="+lldb")
+ depends_on("py-six", when="+lldb +python")
+
+ # gold support, required for some features
+ depends_on("binutils+gold", when="+gold")
+
+ conflicts("+llvm_dylib", when="+shared_libs")
+ conflicts("+lldb", when="~clang")
+ conflicts("+libcxx", when="~clang")
+ conflicts("+internal_unwind", when="~clang")
+ conflicts("+compiler-rt", when="~clang")
+
+ conflicts("%gcc@:5.0.999")
+
+ # cuda_arch value must be specified
+ conflicts("cuda_arch=none", when="+cuda", msg="A value for cuda_arch must be specified.")
+
+ conflicts("+mlir")
+
+ conflicts("+flang", when="~clang")
+
+ # code signing is only necessary on macOS",
+ conflicts('+code_signing', when='platform=linux')
+ conflicts('+code_signing', when='platform=cray')
+
+ conflicts(
+ '+code_signing',
+ when='~lldb platform=darwin',
+ msg="code signing is only necessary for building the "
+ "in-tree debug server on macOS. Turning this variant "
+ "off enables a build of llvm with lldb that uses the "
+ "system debug server",
+ )
+
+ # LLVM bug https://bugs.llvm.org/show_bug.cgi?id=48234
+ # CMake bug: https://gitlab.kitware.com/cmake/cmake/-/issues/21469
+ # Fixed in upstream versions of both
+ conflicts('^cmake@3.19.0', when='@:11.0.0')
+
+ # Backport from llvm master + additional fix
+ # see https://bugs.llvm.org/show_bug.cgi?id=39696
+ # for a bug report about this problem in llvm master.
+ patch("constexpr_longdouble_9.0.patch", when="@9:10.0.0+libcxx")
+
+ # https://github.com/spack/spack/issues/19625,
+ # merged in llvm-11.0.0_rc2
+ patch("lldb_external_ncurses-10.patch", when="@10.0.0:10.99+lldb")
+
+ # https://github.com/spack/spack/issues/19908
+ # merged in llvm main prior to 12.0.0
+ patch("llvm_python_path.patch", when="@11.0.0")
+
+ # The functions and attributes below implement external package
+ # detection for LLVM. See:
+ #
+ # https://spack.readthedocs.io/en/latest/packaging_guide.html#making-a-package-discoverable-with-spack-external-find
+ executables = ['clang', 'flang', 'ld.lld', 'lldb']
+
+ @classmethod
+ def filter_detected_exes(cls, prefix, exes_in_prefix):
+ result = []
+ for exe in exes_in_prefix:
+ # Executables like lldb-vscode-X are daemon listening
+ # on some port and would hang Spack during detection.
+ # clang-cl and clang-cpp are dev tools that we don't
+ # need to test
+ if any(x in exe for x in ('vscode', 'cpp', '-cl', '-gpu')):
+ continue
+ result.append(exe)
+ return result
+
+ @classmethod
+ def determine_version(cls, exe):
+ version_regex = re.compile(
+ # Normal clang compiler versions are left as-is
+ r'clang version ([^ )\n]+)-svn[~.\w\d-]*|'
+ # Don't include hyphenated patch numbers in the version
+ # (see https://github.com/spack/spack/pull/14365 for details)
+ r'clang version ([^ )\n]+?)-[~.\w\d-]*|'
+ r'clang version ([^ )\n]+)|'
+ # LLDB
+ r'lldb version ([^ )\n]+)|'
+ # LLD
+ r'LLD ([^ )\n]+) \(compatible with GNU linkers\)'
+ )
+ try:
+ compiler = Executable(exe)
+ output = compiler('--version', output=str, error=str)
+ if 'Apple' in output:
+ return None
+ match = version_regex.search(output)
+ if match:
+ return match.group(match.lastindex)
+ except spack.util.executable.ProcessError:
+ pass
+ except Exception as e:
+ tty.debug(e)
+
+ return None
+
+ @classmethod
+ def determine_variants(cls, exes, version_str):
+ variants, compilers = ['+clang'], {}
+ lld_found, lldb_found = False, False
+ for exe in exes:
+ if 'clang++' in exe:
+ compilers['cxx'] = exe
+ elif 'clang' in exe:
+ compilers['c'] = exe
+ elif 'flang' in exe:
+ variants.append('+flang')
+ compiler['fc'] = exe
+ compilers['f77'] = exe
+ elif 'ld.lld' in exe:
+ lld_found = True
+ compilers['ld'] = exe
+ elif 'lldb' in exe:
+ lldb_found = True
+ compilers['lldb'] = exe
+
+ variants.append('+lld' if lld_found else '~lld')
+ variants.append('+lldb' if lldb_found else '~lldb')
+
+ return ''.join(variants), {'compilers': compilers}
+
+ @classmethod
+ def validate_detected_spec(cls, spec, extra_attributes):
+ # For LLVM 'compilers' is a mandatory attribute
+ msg = ('the extra attribute "compilers" must be set for '
+ 'the detected spec "{0}"'.format(spec))
+ assert 'compilers' in extra_attributes, msg
+ compilers = extra_attributes['compilers']
+ for key in ('c', 'cxx'):
+ msg = '{0} compiler not found for {1}'
+ assert key in compilers, msg.format(key, spec)
+
+ @property
+ def cc(self):
+ msg = "cannot retrieve C compiler [spec is not concrete]"
+ assert self.spec.concrete, msg
+ if self.spec.external:
+ return self.spec.extra_attributes['compilers'].get('c', None)
+ result = None
+ if '+clang' in self.spec:
+ result = os.path.join(self.spec.prefix.bin, 'clang')
+ return result
+
+ @property
+ def cxx(self):
+ msg = "cannot retrieve C++ compiler [spec is not concrete]"
+ assert self.spec.concrete, msg
+ if self.spec.external:
+ return self.spec.extra_attributes['compilers'].get('cxx', None)
+ result = None
+ if '+clang' in self.spec:
+ result = os.path.join(self.spec.prefix.bin, 'clang++')
+ return result
+
+ @property
+ def fc(self):
+ msg = "cannot retrieve Fortran compiler [spec is not concrete]"
+ assert self.spec.concrete, msg
+ if self.spec.external:
+ return self.spec.extra_attributes['compilers'].get('fc', None)
+ result = None
+ if '+flang' in self.spec:
+ result = os.path.join(self.spec.prefix.bin, 'flang')
+ return result
+
+ @property
+ def f77(self):
+ msg = "cannot retrieve Fortran 77 compiler [spec is not concrete]"
+ assert self.spec.concrete, msg
+ if self.spec.external:
+ return self.spec.extra_attributes['compilers'].get('f77', None)
+ result = None
+ if '+flang' in self.spec:
+ result = os.path.join(self.spec.prefix.bin, 'flang')
+ return result
+
+ @run_before('cmake')
+ def codesign_check(self):
+ if self.spec.satisfies("+code_signing"):
+ codesign = which('codesign')
+ mkdir('tmp')
+ llvm_check_file = join_path('tmp', 'llvm_check')
+ copy('/usr/bin/false', llvm_check_file)
+ try:
+ codesign('-f', '-s', 'lldb_codesign', '--dryrun',
+ llvm_check_file)
+
+ except ProcessError:
+ # Newer LLVM versions have a simple script that sets up
+ # automatically when run with sudo priviliges
+ setup = Executable("./lldb/scripts/macos-setup-codesign.sh")
+ try:
+ setup()
+ except Exception:
+ raise RuntimeError(
+ 'spack was unable to either find or set up'
+ 'code-signing on your system. Please refer to'
+ 'https://lldb.llvm.org/resources/build.html#'
+ 'code-signing-on-macos for details on how to'
+ 'create this identity.'
+ )
+
+ def setup_build_environment(self, env):
+ env.append_flags("CXXFLAGS", self.compiler.cxx11_flag)
+
+ def setup_run_environment(self, env):
+ if "+clang" in self.spec:
+ env.set("CC", join_path(self.spec.prefix.bin, "clang"))
+ env.set("CXX", join_path(self.spec.prefix.bin, "clang++"))
+ if "+flang" in self.spec:
+ env.set("FC", join_path(self.spec.prefix.bin, "flang"))
+ env.set("F77", join_path(self.spec.prefix.bin, "flang"))
+
+ root_cmakelists_dir = "llvm"
+
+ def cmake_args(self):
+ spec = self.spec
+ python = spec['python']
+ cmake_args = [
+ "-DLLVM_REQUIRES_RTTI:BOOL=ON",
+ "-DLLVM_ENABLE_RTTI:BOOL=ON",
+ "-DLLVM_ENABLE_EH:BOOL=ON",
+ "-DCLANG_DEFAULT_OPENMP_RUNTIME:STRING=libomp",
+ "-DPYTHON_EXECUTABLE:PATH={0}".format(python.command.path),
+ "-DLIBOMP_USE_HWLOC:BOOL=ON",
+ "-DLIBOMP_HWLOC_INSTALL_DIR={0}".format(spec["hwloc"].prefix),
+ ]
+
+ if python.version >= Version("3.0.0"):
+ cmake_args.append("-DPython3_EXECUTABLE={0}".format(
+ python.command.path))
+ else:
+ cmake_args.append("-DPython2_EXECUTABLE={0}".format(
+ python.command.path))
+
+ projects = []
+
+ if "+cuda" in spec:
+ cmake_args.extend(
+ [
+ "-DCUDA_TOOLKIT_ROOT_DIR:PATH=" + spec["cuda"].prefix,
+ "-DLIBOMPTARGET_NVPTX_COMPUTE_CAPABILITIES={0}".format(
+ ",".join(spec.variants["cuda_arch"].value)
+ ),
+ "-DCLANG_OPENMP_NVPTX_DEFAULT_ARCH=sm_{0}".format(
+ spec.variants["cuda_arch"].value[-1]
+ ),
+ ]
+ )
+ else:
+ # still build libomptarget but disable cuda
+ cmake_args.extend(
+ [
+ "-DCUDA_TOOLKIT_ROOT_DIR:PATH=IGNORE",
+ "-DCUDA_SDK_ROOT_DIR:PATH=IGNORE",
+ "-DCUDA_NVCC_EXECUTABLE:FILEPATH=IGNORE",
+ "-DLIBOMPTARGET_DEP_CUDA_DRIVER_LIBRARIES:STRING=IGNORE",
+ ]
+ )
+
+ if "+omp_debug" in spec:
+ cmake_args.append("-DLIBOMPTARGET_ENABLE_DEBUG:Bool=ON")
+
+ if "+python" in spec and "+lldb" in spec:
+ cmake_args.append("-DLLDB_USE_SYSTEM_SIX:Bool=TRUE")
+
+ if "+lldb" in spec and spec.satisfies("@:9.9.9"):
+ cmake_args.append("-DLLDB_DISABLE_PYTHON:Bool={0}".format(
+ 'ON' if '~python' in spec else 'OFF'))
+ if "+lldb" in spec and spec.satisfies("@10.0.0:"):
+ cmake_args.append("-DLLDB_ENABLE_PYTHON:Bool={0}".format(
+ 'ON' if '+python' in spec else 'OFF'))
+
+ if "+gold" in spec:
+ cmake_args.append(
+ "-DLLVM_BINUTILS_INCDIR=" + spec["binutils"].prefix.include
+ )
+
+ if "+clang" in spec:
+ projects.append("clang")
+ projects.append("clang-tools-extra")
+ projects.append("openmp")
+ if "+flang" in spec:
+ projects.append("flang")
+ if "+lldb" in spec:
+ projects.append("lldb")
+ if "+lld" in spec:
+ projects.append("lld")
+ if "+compiler-rt" in spec:
+ projects.append("compiler-rt")
+ if "+libcxx" in spec:
+ projects.append("libcxx")
+ projects.append("libcxxabi")
+ cmake_args.append("-DCLANG_DEFAULT_CXX_STDLIB=libc++")
+ if "+mlir" in spec:
+ projects.append("mlir")
+ if "+internal_unwind" in spec:
+ projects.append("libunwind")
+ if "+polly" in spec:
+ projects.append("polly")
+ cmake_args.append("-DLINK_POLLY_INTO_TOOLS:Bool=ON")
+
+ if "+shared_libs" in spec:
+ cmake_args.append("-DBUILD_SHARED_LIBS:Bool=ON")
+ if "+llvm_dylib" in spec:
+ cmake_args.append("-DLLVM_BUILD_LLVM_DYLIB:Bool=ON")
+ if "+omp_debug" in spec:
+ cmake_args.append("-DLIBOMPTARGET_ENABLE_DEBUG:Bool=ON")
+
+ if "+split_dwarf" in spec:
+ cmake_args.append("-DLLVM_USE_SPLIT_DWARF:Bool=ON")
+
+ if "+all_targets" not in spec: # all is default on cmake
+
+ targets = ["NVPTX", "AMDGPU"]
+ if spec.target.family == "x86" or spec.target.family == "x86_64":
+ targets.append("X86")
+ elif spec.target.family == "arm":
+ targets.append("ARM")
+ elif spec.target.family == "aarch64":
+ targets.append("AArch64")
+ elif (
+ spec.target.family == "sparc"
+ or spec.target.family == "sparc64"
+ ):
+ targets.append("Sparc")
+ elif (
+ spec.target.family == "ppc64"
+ or spec.target.family == "ppc64le"
+ or spec.target.family == "ppc"
+ or spec.target.family == "ppcle"
+ ):
+ targets.append("PowerPC")
+
+ cmake_args.append(
+ "-DLLVM_TARGETS_TO_BUILD:STRING=" + ";".join(targets)
+ )
+
+ if "+omp_tsan" in spec:
+ cmake_args.append("-DLIBOMP_TSAN_SUPPORT=ON")
+
+ if spec.satisfies("@bolt"):
+ projects.remove("openmp")
+ projects.append("bolt")
+ cmake_args.append("-DLIBOMP_USE_BOLT_DEFAULT=ON")
+ if "+argobots" in spec and spec.satisfies("@bolt"):
+ cmake_args.append("-DLIBOMP_USE_ARGOBOTS=ON")
+
+ if self.compiler.name == "gcc":
+ gcc_prefix = ancestor(self.compiler.cc, 2)
+ cmake_args.append("-DGCC_INSTALL_PREFIX=" + gcc_prefix)
+
+ if spec.satisfies("platform=cray") or spec.satisfies("platform=linux"):
+ cmake_args.append("-DCMAKE_BUILD_WITH_INSTALL_RPATH=1")
+
+ if self.spec.satisfies("~code_signing platform=darwin"):
+ cmake_args.append('-DLLDB_USE_SYSTEM_DEBUGSERVER=ON')
+
+ # Semicolon seperated list of projects to enable
+ cmake_args.append(
+ "-DLLVM_ENABLE_PROJECTS:STRING={0}".format(";".join(projects))
+ )
+
+ return cmake_args
+
+ @run_before("build")
+ def pre_install(self):
+ with working_dir(self.build_directory):
+ # When building shared libraries these need to be installed first
+ make("install-LLVMTableGen")
+ make("install-LLVMDemangle")
+ make("install-LLVMSupport")
+
+ @run_after("install")
+ def post_install(self):
+ spec = self.spec
+
+ # unnecessary if we get bootstrap builds in here
+ if "+cuda" in self.spec:
+ ompdir = "build-bootstrapped-omp"
+ # rebuild libomptarget to get bytecode runtime library files
+ with working_dir(ompdir, create=True):
+ cmake_args = [
+ self.stage.source_path + "/openmp",
+ "-DCMAKE_C_COMPILER:PATH={0}".format(
+ spec.prefix.bin + "/clang"
+ ),
+ "-DCMAKE_CXX_COMPILER:PATH={0}".format(
+ spec.prefix.bin + "/clang++"
+ ),
+ "-DCMAKE_INSTALL_PREFIX:PATH={0}".format(spec.prefix),
+ ]
+ cmake_args.extend(self.cmake_args())
+ cmake_args.append(
+ "-DLIBOMPTARGET_NVPTX_ENABLE_BCLIB:BOOL=TRUE"
+ )
+
+ # work around bad libelf detection in libomptarget
+ cmake_args.append(
+ "-DLIBOMPTARGET_DEP_LIBELF_INCLUDE_DIR:String={0}".format(
+ spec["libelf"].prefix.include
+ )
+ )
+
+ cmake(*cmake_args)
+ make()
+ make("install")
+ if "+python" in self.spec:
+ install_tree("llvm/bindings/python", site_packages_dir)
+
+ if "+clang" in self.spec:
+ install_tree("clang/bindings/python", site_packages_dir)
+
+ with working_dir(self.build_directory):
+ install_tree("bin", join_path(self.prefix, "libexec", "llvm"))
diff --git a/var/spack/repos/builtin/packages/llvm-openmp-ompt/package.py b/var/spack/repos/builtin/packages/llvm-openmp-ompt/package.py
index 4a87fba258..cb20a038db 100644
--- a/var/spack/repos/builtin/packages/llvm-openmp-ompt/package.py
+++ b/var/spack/repos/builtin/packages/llvm-openmp-ompt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/llvm-openmp/package.py b/var/spack/repos/builtin/packages/llvm-openmp/package.py
index 831a32f745..d7534ff453 100755
--- a/var/spack/repos/builtin/packages/llvm-openmp/package.py
+++ b/var/spack/repos/builtin/packages/llvm-openmp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/llvm/llvm_python_path.patch b/var/spack/repos/builtin/packages/llvm/llvm_python_path.patch
new file mode 100644
index 0000000000..9f821cc365
--- /dev/null
+++ b/var/spack/repos/builtin/packages/llvm/llvm_python_path.patch
@@ -0,0 +1,14 @@
+diff --git a/compiler-rt/cmake/Modules/AddCompilerRT.cmake b/compiler-rt/cmake/Modules/AddCompilerRT.cmake
+index dab55707338..6f4c6791141 100644
+--- a/compiler-rt/cmake/Modules/AddCompilerRT.cmake
++++ b/compiler-rt/cmake/Modules/AddCompilerRT.cmake
+@@ -612,6 +612,9 @@ macro(add_custom_libcxx name prefix)
+ CMAKE_OBJDUMP
+ CMAKE_STRIP
+ CMAKE_SYSROOT
++ PYTHON_EXECUTABLE
++ Python3_EXECUTABLE
++ Python2_EXECUTABLE
+ CMAKE_SYSTEM_NAME)
+ foreach(variable ${PASSTHROUGH_VARIABLES})
+ get_property(is_value_set CACHE ${variable} PROPERTY VALUE SET)
diff --git a/var/spack/repos/builtin/packages/llvm/package.py b/var/spack/repos/builtin/packages/llvm/package.py
index 84c2c88499..60d1bb41a3 100644
--- a/var/spack/repos/builtin/packages/llvm/package.py
+++ b/var/spack/repos/builtin/packages/llvm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -65,6 +65,11 @@ class Llvm(CMakePackage, CudaPackage):
description="Build the LLVM C/C++/Objective-C compiler frontend",
)
variant(
+ "flang",
+ default=True,
+ description="Build the LLVM Fortran compiler frontend",
+ )
+ variant(
"omp_debug",
default=False,
description="Include debugging code in OpenMP runtime libraries",
@@ -142,6 +147,7 @@ class Llvm(CMakePackage, CudaPackage):
depends_on("cmake@3.4.3:", type="build")
depends_on("python@2.7:2.8", when="@:4.999 ~python", type="build")
depends_on("python", when="@5: ~python", type="build")
+ depends_on("pkgconfig", type="build")
# Universal dependency
depends_on("python@2.7:2.8", when="@:4.999+python")
@@ -174,6 +180,9 @@ class Llvm(CMakePackage, CudaPackage):
conflicts("+libcxx", when="~clang")
conflicts("+internal_unwind", when="~clang")
conflicts("+compiler-rt", when="~clang")
+ conflicts("+flang", when="~clang")
+ # Introduced in version 11 as a part of LLVM and not a separate package.
+ conflicts("+flang", when="@:10.999")
# LLVM 4 and 5 does not build with GCC 8
conflicts("%gcc@8:", when="@:5")
@@ -201,6 +210,11 @@ class Llvm(CMakePackage, CudaPackage):
"system debug server",
)
+ # LLVM bug https://bugs.llvm.org/show_bug.cgi?id=48234
+ # CMake bug: https://gitlab.kitware.com/cmake/cmake/-/issues/21469
+ # Fixed in upstream versions of both
+ conflicts('^cmake@3.19.0', when='@6.0.0:11.0.0')
+
# Github issue #4986
patch("llvm_gcc7.patch", when="@4.0.0:4.0.1+lldb %gcc@7.0:")
# Backport from llvm master + additional fix
@@ -221,11 +235,15 @@ class Llvm(CMakePackage, CudaPackage):
# merged in llvm-11.0.0_rc2
patch("lldb_external_ncurses-10.patch", when="@10.0.0:10.99+lldb")
+ # https://github.com/spack/spack/issues/19908
+ # merged in llvm main prior to 12.0.0
+ patch("llvm_python_path.patch", when="@11.0.0")
+
# The functions and attributes below implement external package
# detection for LLVM. See:
#
# https://spack.readthedocs.io/en/latest/packaging_guide.html#making-a-package-discoverable-with-spack-external-find
- executables = ['clang', 'ld.lld', 'lldb']
+ executables = ['clang', 'flang', 'ld.lld', 'lldb']
@classmethod
def filter_detected_exes(cls, prefix, exes_in_prefix):
@@ -244,11 +262,11 @@ class Llvm(CMakePackage, CudaPackage):
def determine_version(cls, exe):
version_regex = re.compile(
# Normal clang compiler versions are left as-is
- r'clang version ([^ )]+)-svn[~.\w\d-]*|'
+ r'clang version ([^ )\n]+)-svn[~.\w\d-]*|'
# Don't include hyphenated patch numbers in the version
# (see https://github.com/spack/spack/pull/14365 for details)
- r'clang version ([^ )]+?)-[~.\w\d-]*|'
- r'clang version ([^ )]+)|'
+ r'clang version ([^ )\n]+?)-[~.\w\d-]*|'
+ r'clang version ([^ )\n]+)|'
# LLDB
r'lldb version ([^ )\n]+)|'
# LLD
@@ -278,6 +296,10 @@ class Llvm(CMakePackage, CudaPackage):
compilers['cxx'] = exe
elif 'clang' in exe:
compilers['c'] = exe
+ elif 'flang' in exe:
+ variants.append('+flang')
+ compilers['fc'] = exe
+ compilers['f77'] = exe
elif 'ld.lld' in exe:
lld_found = True
compilers['ld'] = exe
@@ -323,6 +345,28 @@ class Llvm(CMakePackage, CudaPackage):
result = os.path.join(self.spec.prefix.bin, 'clang++')
return result
+ @property
+ def fc(self):
+ msg = "cannot retrieve Fortran compiler [spec is not concrete]"
+ assert self.spec.concrete, msg
+ if self.spec.external:
+ return self.spec.extra_attributes['compilers'].get('fc', None)
+ result = None
+ if '+flang' in self.spec:
+ result = os.path.join(self.spec.prefix.bin, 'flang')
+ return result
+
+ @property
+ def f77(self):
+ msg = "cannot retrieve Fortran 77 compiler [spec is not concrete]"
+ assert self.spec.concrete, msg
+ if self.spec.external:
+ return self.spec.extra_attributes['compilers'].get('f77', None)
+ result = None
+ if '+flang' in self.spec:
+ result = os.path.join(self.spec.prefix.bin, 'flang')
+ return result
+
@run_before('cmake')
def codesign_check(self):
if self.spec.satisfies("+code_signing"):
@@ -349,28 +393,45 @@ class Llvm(CMakePackage, CudaPackage):
'create this identity.'
)
- def setup_build_environment(self, env):
- env.append_flags("CXXFLAGS", self.compiler.cxx11_flag)
+ def flag_handler(self, name, flags):
+ if name == 'cxxflags':
+ flags.append(self.compiler.cxx11_flag)
+ return(None, flags, None)
+ elif name == 'ldflags' and self.spec.satisfies('%intel'):
+ flags.append('-shared-intel')
+ return(None, flags, None)
+ return(flags, None, None)
def setup_run_environment(self, env):
if "+clang" in self.spec:
env.set("CC", join_path(self.spec.prefix.bin, "clang"))
env.set("CXX", join_path(self.spec.prefix.bin, "clang++"))
+ if "+flang" in self.spec:
+ env.set("FC", join_path(self.spec.prefix.bin, "flang"))
+ env.set("F77", join_path(self.spec.prefix.bin, "flang"))
root_cmakelists_dir = "llvm"
def cmake_args(self):
spec = self.spec
+ python = spec['python']
cmake_args = [
"-DLLVM_REQUIRES_RTTI:BOOL=ON",
"-DLLVM_ENABLE_RTTI:BOOL=ON",
"-DLLVM_ENABLE_EH:BOOL=ON",
"-DCLANG_DEFAULT_OPENMP_RUNTIME:STRING=libomp",
- "-DPYTHON_EXECUTABLE:PATH={0}".format(spec["python"].command.path),
+ "-DPYTHON_EXECUTABLE:PATH={0}".format(python.command.path),
"-DLIBOMP_USE_HWLOC:BOOL=ON",
"-DLIBOMP_HWLOC_INSTALL_DIR={0}".format(spec["hwloc"].prefix),
]
+ if python.version >= Version("3.0.0"):
+ cmake_args.append("-DPython3_EXECUTABLE={0}".format(
+ python.command.path))
+ else:
+ cmake_args.append("-DPython2_EXECUTABLE={0}".format(
+ python.command.path))
+
projects = []
if "+cuda" in spec:
@@ -418,6 +479,8 @@ class Llvm(CMakePackage, CudaPackage):
projects.append("clang")
projects.append("clang-tools-extra")
projects.append("openmp")
+ if "+flang" in spec:
+ projects.append("flang")
if "+lldb" in spec:
projects.append("lldb")
if "+lld" in spec:
@@ -481,7 +544,16 @@ class Llvm(CMakePackage, CudaPackage):
cmake_args.append("-DLIBOMP_TSAN_SUPPORT=ON")
if self.compiler.name == "gcc":
- gcc_prefix = ancestor(self.compiler.cc, 2)
+ compiler = Executable(self.compiler.cc)
+ gcc_output = compiler('-print-search-dirs', output=str, error=str)
+
+ for line in gcc_output.splitlines():
+ if line.startswith("install:"):
+ # Get path and strip any whitespace
+ # (causes oddity with ancestor)
+ gcc_prefix = line.split(":")[1].strip()
+ gcc_prefix = ancestor(gcc_prefix, 4)
+ break
cmake_args.append("-DGCC_INSTALL_PREFIX=" + gcc_prefix)
if spec.satisfies("@4.0.0:"):
diff --git a/var/spack/repos/builtin/packages/lm-sensors/package.py b/var/spack/repos/builtin/packages/lm-sensors/package.py
index ac9ad2c236..29fb18ca9c 100644
--- a/var/spack/repos/builtin/packages/lm-sensors/package.py
+++ b/var/spack/repos/builtin/packages/lm-sensors/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lmbench/package.py b/var/spack/repos/builtin/packages/lmbench/package.py
index e0b5fe3620..b951a75112 100644
--- a/var/spack/repos/builtin/packages/lmbench/package.py
+++ b/var/spack/repos/builtin/packages/lmbench/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lmdb/package.py b/var/spack/repos/builtin/packages/lmdb/package.py
index 9b45303766..42d7764b88 100644
--- a/var/spack/repos/builtin/packages/lmdb/package.py
+++ b/var/spack/repos/builtin/packages/lmdb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lmod/package.py b/var/spack/repos/builtin/packages/lmod/package.py
index f211405179..95577471d4 100644
--- a/var/spack/repos/builtin/packages/lmod/package.py
+++ b/var/spack/repos/builtin/packages/lmod/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lndir/package.py b/var/spack/repos/builtin/packages/lndir/package.py
index 1c310c172c..0e8891b04e 100644
--- a/var/spack/repos/builtin/packages/lndir/package.py
+++ b/var/spack/repos/builtin/packages/lndir/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,5 +15,5 @@ class Lndir(AutotoolsPackage, XorgPackage):
version('1.0.3', sha256='95b2d26fb3cbe702f828146c7a4c7c48001d2da52b062580227b7b68180be902')
- depends_on('xproto@7.0.17:', type='build')
+ depends_on('xproto@7.0.17:')
depends_on('pkgconfig', type='build')
diff --git a/var/spack/repos/builtin/packages/log4c/package.py b/var/spack/repos/builtin/packages/log4c/package.py
index afc9da054a..fd21871b38 100644
--- a/var/spack/repos/builtin/packages/log4c/package.py
+++ b/var/spack/repos/builtin/packages/log4c/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/log4cplus/package.py b/var/spack/repos/builtin/packages/log4cplus/package.py
index 12e766aa7c..1be0c2ac4f 100644
--- a/var/spack/repos/builtin/packages/log4cplus/package.py
+++ b/var/spack/repos/builtin/packages/log4cplus/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/log4cpp/package.py b/var/spack/repos/builtin/packages/log4cpp/package.py
index e99fb23e48..78cf8b8a8a 100644
--- a/var/spack/repos/builtin/packages/log4cpp/package.py
+++ b/var/spack/repos/builtin/packages/log4cpp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/log4cxx/package.py b/var/spack/repos/builtin/packages/log4cxx/package.py
index 090376fe9d..c05cdc15d2 100644
--- a/var/spack/repos/builtin/packages/log4cxx/package.py
+++ b/var/spack/repos/builtin/packages/log4cxx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/logrotate/package.py b/var/spack/repos/builtin/packages/logrotate/package.py
index 0416a5f8a5..77b71c3f92 100644
--- a/var/spack/repos/builtin/packages/logrotate/package.py
+++ b/var/spack/repos/builtin/packages/logrotate/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/logstash/package.py b/var/spack/repos/builtin/packages/logstash/package.py
index a348f42f8f..8da75e9e91 100644
--- a/var/spack/repos/builtin/packages/logstash/package.py
+++ b/var/spack/repos/builtin/packages/logstash/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/loki/package.py b/var/spack/repos/builtin/packages/loki/package.py
index 7c16974345..5052d9a7d9 100644
--- a/var/spack/repos/builtin/packages/loki/package.py
+++ b/var/spack/repos/builtin/packages/loki/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/looptools/package.py b/var/spack/repos/builtin/packages/looptools/package.py
index b3cc941f06..95c633da60 100644
--- a/var/spack/repos/builtin/packages/looptools/package.py
+++ b/var/spack/repos/builtin/packages/looptools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lordec/package.py b/var/spack/repos/builtin/packages/lordec/package.py
index e222aff6f6..40596ef398 100644
--- a/var/spack/repos/builtin/packages/lordec/package.py
+++ b/var/spack/repos/builtin/packages/lordec/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lrslib/package.py b/var/spack/repos/builtin/packages/lrslib/package.py
index a1ec47d3df..33bcb3fbdf 100644
--- a/var/spack/repos/builtin/packages/lrslib/package.py
+++ b/var/spack/repos/builtin/packages/lrslib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lrzip/package.py b/var/spack/repos/builtin/packages/lrzip/package.py
index d264d6da48..dff9a501f9 100644
--- a/var/spack/repos/builtin/packages/lrzip/package.py
+++ b/var/spack/repos/builtin/packages/lrzip/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lsf/package.py b/var/spack/repos/builtin/packages/lsf/package.py
index 9f007fa237..eb236f4140 100644
--- a/var/spack/repos/builtin/packages/lsf/package.py
+++ b/var/spack/repos/builtin/packages/lsf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lshw/package.py b/var/spack/repos/builtin/packages/lshw/package.py
index 99c5d30767..a813292d1f 100644
--- a/var/spack/repos/builtin/packages/lshw/package.py
+++ b/var/spack/repos/builtin/packages/lshw/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lsof/package.py b/var/spack/repos/builtin/packages/lsof/package.py
index d66a45a5ea..e7ff32c7d9 100644
--- a/var/spack/repos/builtin/packages/lsof/package.py
+++ b/var/spack/repos/builtin/packages/lsof/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lsscsi/package.py b/var/spack/repos/builtin/packages/lsscsi/package.py
index cfd51d454f..6505d76401 100644
--- a/var/spack/repos/builtin/packages/lsscsi/package.py
+++ b/var/spack/repos/builtin/packages/lsscsi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ltp/package.py b/var/spack/repos/builtin/packages/ltp/package.py
index ff02c7dd80..5c0dc9e43c 100644
--- a/var/spack/repos/builtin/packages/ltp/package.py
+++ b/var/spack/repos/builtin/packages/ltp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ltr-retriever/package.py b/var/spack/repos/builtin/packages/ltr-retriever/package.py
index 2cc7f0a231..885ca02336 100644
--- a/var/spack/repos/builtin/packages/ltr-retriever/package.py
+++ b/var/spack/repos/builtin/packages/ltr-retriever/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ltrace/package.py b/var/spack/repos/builtin/packages/ltrace/package.py
index 9e0b72804f..3b269d3350 100644
--- a/var/spack/repos/builtin/packages/ltrace/package.py
+++ b/var/spack/repos/builtin/packages/ltrace/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lua-bitlib/package.py b/var/spack/repos/builtin/packages/lua-bitlib/package.py
index dec5e59f58..a856252c15 100644
--- a/var/spack/repos/builtin/packages/lua-bitlib/package.py
+++ b/var/spack/repos/builtin/packages/lua-bitlib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lua-lpeg/package.py b/var/spack/repos/builtin/packages/lua-lpeg/package.py
index caf9f05ac3..0f58195ca4 100644
--- a/var/spack/repos/builtin/packages/lua-lpeg/package.py
+++ b/var/spack/repos/builtin/packages/lua-lpeg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lua-luafilesystem/package.py b/var/spack/repos/builtin/packages/lua-luafilesystem/package.py
index 7e526d6e7c..c4282416e6 100644
--- a/var/spack/repos/builtin/packages/lua-luafilesystem/package.py
+++ b/var/spack/repos/builtin/packages/lua-luafilesystem/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lua-luajit/package.py b/var/spack/repos/builtin/packages/lua-luajit/package.py
index 61d77c5662..d5a44325cc 100644
--- a/var/spack/repos/builtin/packages/lua-luajit/package.py
+++ b/var/spack/repos/builtin/packages/lua-luajit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lua-luaposix/package.py b/var/spack/repos/builtin/packages/lua-luaposix/package.py
index f5290eae1c..87b1dd3702 100644
--- a/var/spack/repos/builtin/packages/lua-luaposix/package.py
+++ b/var/spack/repos/builtin/packages/lua-luaposix/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lua-mpack/package.py b/var/spack/repos/builtin/packages/lua-mpack/package.py
index c03b6418ba..4b8ec544a9 100644
--- a/var/spack/repos/builtin/packages/lua-mpack/package.py
+++ b/var/spack/repos/builtin/packages/lua-mpack/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lua/package.py b/var/spack/repos/builtin/packages/lua/package.py
index f752fbee32..62a71bd316 100644
--- a/var/spack/repos/builtin/packages/lua/package.py
+++ b/var/spack/repos/builtin/packages/lua/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lucene/package.py b/var/spack/repos/builtin/packages/lucene/package.py
index 692a681337..c730fd19ec 100644
--- a/var/spack/repos/builtin/packages/lucene/package.py
+++ b/var/spack/repos/builtin/packages/lucene/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/luit/package.py b/var/spack/repos/builtin/packages/luit/package.py
index 232111e4bf..a3c6c3b751 100644
--- a/var/spack/repos/builtin/packages/luit/package.py
+++ b/var/spack/repos/builtin/packages/luit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lulesh/package.py b/var/spack/repos/builtin/packages/lulesh/package.py
index 26772b6bcb..e52daa0f59 100644
--- a/var/spack/repos/builtin/packages/lulesh/package.py
+++ b/var/spack/repos/builtin/packages/lulesh/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lumpy-sv/package.py b/var/spack/repos/builtin/packages/lumpy-sv/package.py
index ded7a89e2c..876241d77a 100644
--- a/var/spack/repos/builtin/packages/lumpy-sv/package.py
+++ b/var/spack/repos/builtin/packages/lumpy-sv/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lustre/package.py b/var/spack/repos/builtin/packages/lustre/package.py
index fa7cb18704..d6e4530dfc 100644
--- a/var/spack/repos/builtin/packages/lustre/package.py
+++ b/var/spack/repos/builtin/packages/lustre/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lvarray/package.py b/var/spack/repos/builtin/packages/lvarray/package.py
index 366b562cc6..906b44cdef 100644
--- a/var/spack/repos/builtin/packages/lvarray/package.py
+++ b/var/spack/repos/builtin/packages/lvarray/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lvm2/package.py b/var/spack/repos/builtin/packages/lvm2/package.py
index 23142fce26..64d1f43f4b 100644
--- a/var/spack/repos/builtin/packages/lvm2/package.py
+++ b/var/spack/repos/builtin/packages/lvm2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lwgrp/package.py b/var/spack/repos/builtin/packages/lwgrp/package.py
index df13c4674a..f949e37bfd 100644
--- a/var/spack/repos/builtin/packages/lwgrp/package.py
+++ b/var/spack/repos/builtin/packages/lwgrp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lwm2/package.py b/var/spack/repos/builtin/packages/lwm2/package.py
index 023c2ef771..1f3df1f457 100644
--- a/var/spack/repos/builtin/packages/lwm2/package.py
+++ b/var/spack/repos/builtin/packages/lwm2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lxc/package.py b/var/spack/repos/builtin/packages/lxc/package.py
index 0555b6b642..8a49f091d1 100644
--- a/var/spack/repos/builtin/packages/lxc/package.py
+++ b/var/spack/repos/builtin/packages/lxc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lynx/package.py b/var/spack/repos/builtin/packages/lynx/package.py
index 66c6f5408e..0028037124 100644
--- a/var/spack/repos/builtin/packages/lynx/package.py
+++ b/var/spack/repos/builtin/packages/lynx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lz4/package.py b/var/spack/repos/builtin/packages/lz4/package.py
index 181117e0e2..e4fd1212d0 100644
--- a/var/spack/repos/builtin/packages/lz4/package.py
+++ b/var/spack/repos/builtin/packages/lz4/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lzma/package.py b/var/spack/repos/builtin/packages/lzma/package.py
index 1bea0dcb1b..41fac117b3 100644
--- a/var/spack/repos/builtin/packages/lzma/package.py
+++ b/var/spack/repos/builtin/packages/lzma/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lzo/package.py b/var/spack/repos/builtin/packages/lzo/package.py
index f5c12c6159..38b111f88c 100644
--- a/var/spack/repos/builtin/packages/lzo/package.py
+++ b/var/spack/repos/builtin/packages/lzo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/lzop/package.py b/var/spack/repos/builtin/packages/lzop/package.py
index 9a7096e01b..144fa4b967 100644
--- a/var/spack/repos/builtin/packages/lzop/package.py
+++ b/var/spack/repos/builtin/packages/lzop/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/m4/oneapi.patch b/var/spack/repos/builtin/packages/m4/oneapi.patch
new file mode 100644
index 0000000000..d659c1e75c
--- /dev/null
+++ b/var/spack/repos/builtin/packages/m4/oneapi.patch
@@ -0,0 +1,18 @@
+--- a/lib/xalloc-oversized.h 2020-08-07 11:04:56.154698639 -0700
++++ b/lib/xalloc-oversized.h 2020-08-07 11:06:11.667997389 -0700
+@@ -46,13 +46,13 @@
+ positive and N must be nonnegative. This is a macro, not a
+ function, so that it works correctly even when SIZE_MAX < N. */
+
+-#if 7 <= __GNUC__ || __has_builtin (__builtin_add_overflow_p)
++#if ((7 <= __GNUC__ || __has_builtin (__builtin_add_overflow_p)) && !defined __INTEL_LLVM_COMPILER)
+ # define xalloc_oversized(n, s) \
+ __builtin_mul_overflow_p (n, s, (__xalloc_count_type) 1)
+ #elif ((5 <= __GNUC__ \
+ || (__has_builtin (__builtin_mul_overflow) \
+ && __has_builtin (__builtin_constant_p))) \
+- && !__STRICT_ANSI__)
++ && !__STRICT_ANSI__ && !defined __INTEL_LLVM_COMPILER)
+ # define xalloc_oversized(n, s) \
+ (__builtin_constant_p (n) && __builtin_constant_p (s) \
+ ? __xalloc_oversized (n, s) \
diff --git a/var/spack/repos/builtin/packages/m4/package.py b/var/spack/repos/builtin/packages/m4/package.py
index b0d037b3f2..cc18685faf 100644
--- a/var/spack/repos/builtin/packages/m4/package.py
+++ b/var/spack/repos/builtin/packages/m4/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,6 +18,7 @@ class M4(AutotoolsPackage, GNUMirrorPackage):
patch('gnulib-pgi.patch', when='@1.4.18')
patch('pgi.patch', when='@1.4.17')
patch('nvhpc.patch', when='%nvhpc')
+ patch('oneapi.patch', when='%oneapi')
# from: https://github.com/Homebrew/homebrew-core/blob/master/Formula/m4.rb
# Patch credit to Jeremy Huddleston Sequoia <jeremyhu@apple.com>
patch('secure_snprintf.patch', when='os = highsierra')
@@ -33,6 +34,8 @@ class M4(AutotoolsPackage, GNUMirrorPackage):
build_directory = 'spack-build'
+ tags = ['build-tools']
+
executables = ['^g?m4$']
@classmethod
diff --git a/var/spack/repos/builtin/packages/macsio/package.py b/var/spack/repos/builtin/packages/macsio/package.py
index 46dccab4be..427af43feb 100644
--- a/var/spack/repos/builtin/packages/macsio/package.py
+++ b/var/spack/repos/builtin/packages/macsio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -41,6 +41,8 @@ class Macsio(CMakePackage):
depends_on('silo', when="+pdb")
depends_on('typhonio', when="+typhonio")
depends_on('scr', when="+scr")
+ # macsio@1.1 has bug with ~mpi configuration
+ conflicts('~mpi', when='@1.1')
# Ref: https://github.com/LLNL/MACSio/commit/51b8c40cd9813adec5dd4dd6cee948bb9ddb7ee1
patch('cast.patch', when='@1.1')
diff --git a/var/spack/repos/builtin/packages/mad-numdiff/package.py b/var/spack/repos/builtin/packages/mad-numdiff/package.py
index 3eedcd3707..d4130aec17 100644
--- a/var/spack/repos/builtin/packages/mad-numdiff/package.py
+++ b/var/spack/repos/builtin/packages/mad-numdiff/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/madgraph5amc/package.py b/var/spack/repos/builtin/packages/madgraph5amc/package.py
index d0f29eb6c0..99512892ff 100644
--- a/var/spack/repos/builtin/packages/madgraph5amc/package.py
+++ b/var/spack/repos/builtin/packages/madgraph5amc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,6 +18,8 @@ class Madgraph5amc(Package):
homepage = "https://launchpad.net/mg5amcnlo"
url = "https://launchpad.net/mg5amcnlo/2.0/2.7.x/+download/MG5_aMC_v2.7.3.tar.gz"
+ tags = ['hep']
+
version('2.8.1', sha256='acda34414beba201e529b8c03f87f4893fb3f99ed2956a131d60a387e76c5b8c',
url="https://launchpad.net/mg5amcnlo/2.0/2.8.x/+download/MG5_aMC_v2.8.1.tar.gz")
version('2.8.0', sha256='e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855',
@@ -26,7 +28,7 @@ class Madgraph5amc(Package):
version('2.7.3.py2', sha256='0b665356f4d9359e6e382e0f408dc11db594734567c6b2f0ec0e0697f2dbe099',
url="https://launchpad.net/mg5amcnlo/2.0/2.7.x/+download/MG5_aMC_v2.7.3.tar.gz")
- variant('atlas', default=False, description='Apply changes requested by ' +
+ variant('atlas', default=False, description='Apply changes requested by ' +
"the ATLAS experimenent on LHC")
variant('ninja', default=False, description='Use external installation' +
" of Ninja")
diff --git a/var/spack/repos/builtin/packages/mafft/package.py b/var/spack/repos/builtin/packages/mafft/package.py
index 4c8e061925..a348ea207b 100644
--- a/var/spack/repos/builtin/packages/mafft/package.py
+++ b/var/spack/repos/builtin/packages/mafft/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,6 +15,7 @@ class Mafft(Package):
homepage = "http://mafft.cbrc.jp/alignment/software/index.html"
url = "http://mafft.cbrc.jp/alignment/software/mafft-7.221-with-extensions-src.tgz"
+ version('7.475', sha256='bb6973ae089ea18cfbd3861a5b9d2c8b7e1543a1fdc78ac2d7cd8dbe3443f319')
version('7.453', sha256='8b2f0d6249c575f80cd51278ab45dd149b8ac9b159adac20fd1ddc7a6722af11')
version('7.407', sha256='1840b51a0b93f40b4d6076af996ee46396428d8dbaf7ba1d847abff9cb1463e5')
version('7.221', sha256='0bc78111966d9b00ddfa14fa217fa5bb0c593a558674a13f02dca7bcd51f7fcf')
@@ -23,3 +24,6 @@ class Mafft(Package):
with working_dir('core'):
make('PREFIX=%s' % prefix)
make('PREFIX=%s' % prefix, 'install')
+ with working_dir('extensions'):
+ make('PREFIX=%s' % prefix)
+ make('PREFIX=%s' % prefix, 'install')
diff --git a/var/spack/repos/builtin/packages/magics/package.py b/var/spack/repos/builtin/packages/magics/package.py
index 902ac0db13..88abf9c187 100644
--- a/var/spack/repos/builtin/packages/magics/package.py
+++ b/var/spack/repos/builtin/packages/magics/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/magma/cmake-W.patch b/var/spack/repos/builtin/packages/magma/cmake-W.patch
new file mode 100644
index 0000000000..5917967632
--- /dev/null
+++ b/var/spack/repos/builtin/packages/magma/cmake-W.patch
@@ -0,0 +1,12 @@
+diff -ru magma-2.5.0-orig/CMakeLists.txt magma-2.5.0/CMakeLists.txt
+--- magma-2.5.0-orig/CMakeLists.txt 2019-01-02 11:18:39.000000000 -0800
++++ magma-2.5.0/CMakeLists.txt 2019-04-03 15:58:01.871234891 -0700
+@@ -363,8 +363,6 @@
+ else()
+ # Primarily for gcc / nvcc:
+ # Ignore unused static functions in headers.
+- set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wno-unused-function" )
+- set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-unused-function" )
+ endif()
+
+ if (CMAKE_HOST_APPLE)
diff --git a/var/spack/repos/builtin/packages/magma/package.py b/var/spack/repos/builtin/packages/magma/package.py
index 6ba69c51c1..345fca76e4 100644
--- a/var/spack/repos/builtin/packages/magma/package.py
+++ b/var/spack/repos/builtin/packages/magma/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -52,6 +52,7 @@ class Magma(CMakePackage, CudaPackage):
patch('magma-2.3.0-gcc-4.8.patch', when='@2.3.0%gcc@:4.8')
patch('magma-2.5.0.patch', when='@2.5.0')
patch('magma-2.5.0-cmake.patch', when='@2.5.0')
+ patch('cmake-W.patch', when='@2.5.0:%nvhpc')
def cmake_args(self):
spec = self.spec
diff --git a/var/spack/repos/builtin/packages/mahout/package.py b/var/spack/repos/builtin/packages/mahout/package.py
index 62e63a2657..614f966598 100644
--- a/var/spack/repos/builtin/packages/mahout/package.py
+++ b/var/spack/repos/builtin/packages/mahout/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/makedepend/package.py b/var/spack/repos/builtin/packages/makedepend/package.py
index 96cca305d2..cae4d4938a 100644
--- a/var/spack/repos/builtin/packages/makedepend/package.py
+++ b/var/spack/repos/builtin/packages/makedepend/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,5 +14,5 @@ class Makedepend(AutotoolsPackage, XorgPackage):
version('1.0.5', sha256='503903d41fb5badb73cb70d7b3740c8b30fe1cc68c504d3b6a85e6644c4e5004')
- depends_on('xproto@7.0.17:', type='build')
+ depends_on('xproto@7.0.17:')
depends_on('pkgconfig', type='build')
diff --git a/var/spack/repos/builtin/packages/maker/package.py b/var/spack/repos/builtin/packages/maker/package.py
index c481697041..6e4836bc22 100644
--- a/var/spack/repos/builtin/packages/maker/package.py
+++ b/var/spack/repos/builtin/packages/maker/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -31,6 +31,7 @@ class Maker(Package):
http://spack.readthedocs.io/en/latest/mirrors.html"""
homepage = "http://www.yandell-lab.org/software/maker.html"
+ manual_download = True
version('2.31.10', sha256='d3979af9710d61754a3b53f6682d0e2052c6c3f36be6f2df2286d2587406f07d')
diff --git a/var/spack/repos/builtin/packages/mallocmc/package.py b/var/spack/repos/builtin/packages/mallocmc/package.py
index 2dd30bea6b..1e76220039 100644
--- a/var/spack/repos/builtin/packages/mallocmc/package.py
+++ b/var/spack/repos/builtin/packages/mallocmc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/maloc/package.py b/var/spack/repos/builtin/packages/maloc/package.py
index 058ce3f0c8..21d4053ed9 100644
--- a/var/spack/repos/builtin/packages/maloc/package.py
+++ b/var/spack/repos/builtin/packages/maloc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/man-db/package.py b/var/spack/repos/builtin/packages/man-db/package.py
index 18007cc9cd..e5ecc8fc86 100644
--- a/var/spack/repos/builtin/packages/man-db/package.py
+++ b/var/spack/repos/builtin/packages/man-db/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/manta/package.py b/var/spack/repos/builtin/packages/manta/package.py
index edc2c47a23..2fbed3827d 100644
--- a/var/spack/repos/builtin/packages/manta/package.py
+++ b/var/spack/repos/builtin/packages/manta/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mapnik/package.py b/var/spack/repos/builtin/packages/mapnik/package.py
index 880bd3bc13..5918e6620e 100644
--- a/var/spack/repos/builtin/packages/mapnik/package.py
+++ b/var/spack/repos/builtin/packages/mapnik/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -36,8 +36,6 @@ class Mapnik(AutotoolsPackage):
depends_on('sqlite+rtree', type=('build', 'link', 'run'))
depends_on('libwebp')
- conflicts('%gcc@9.0.0:')
-
def setup_build_environment(self, env):
spec = self.spec
env.set('GDAL_DATA', spec['gdal'].prefix.share.gdal)
diff --git a/var/spack/repos/builtin/packages/mapserver/package.py b/var/spack/repos/builtin/packages/mapserver/package.py
index e4b7eda157..c9045f8cf5 100644
--- a/var/spack/repos/builtin/packages/mapserver/package.py
+++ b/var/spack/repos/builtin/packages/mapserver/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mapsplice2/Makefile.patch b/var/spack/repos/builtin/packages/mapsplice2/Makefile.patch
new file mode 100644
index 0000000000..01c0279c3a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/mapsplice2/Makefile.patch
@@ -0,0 +1,53 @@
+--- a/Makefile
++++ b/Makefile
+@@ -1,4 +1,4 @@
+-all: FilterFusionAlignmentsByFilteredFusions filterremappedfusion FilterFusionAlignmentsByFilteredFusions MPSSam2fq collectstats SetUnmappedBitFlag sam2fq recover_fusion_alignments_order SepSamUnmapped swap_dRanger_and_MPS_matched comp_fusiondb_offset sepdRangerfusion sepMPSfusion generate_fusiongene_convert_coordinate_trim generate_fusiongene_convert_coordinate_trim_dRanger junc2bed SeparateNormalFromFusionJunc search_fusion_gene AddFusionStrandConsistent gtf2genetab FilterFusionByNormalPaired load_fusion_chrom_seq_std matchfusion2normal filteroriginalfusion Convert2FusionAlignment generate_combined_sequence DNA2StdRegion search_unmapped_reads reads2unmappedsam junc_db_fusion bsb4 mapsplice_multi_thread bowtie check_reads_format alignmenthandler_multi parseCluster cluster junc_db filterjuncbyROCarguNonCanonical filter_1hits newsam2junc fusionsam2junc_filteranchor_newfmt read_chromo_size find_mate_sam_fq alignmenthandler SepSam RemovePairNo check_index_consistency samtools
++all: FilterFusionAlignmentsByFilteredFusions filterremappedfusion FilterFusionAlignmentsByFilteredFusions MPSSam2fq collectstats SetUnmappedBitFlag sam2fq recover_fusion_alignments_order SepSamUnmapped swap_dRanger_and_MPS_matched comp_fusiondb_offset sepdRangerfusion sepMPSfusion generate_fusiongene_convert_coordinate_trim generate_fusiongene_convert_coordinate_trim_dRanger junc2bed SeparateNormalFromFusionJunc search_fusion_gene AddFusionStrandConsistent gtf2genetab FilterFusionByNormalPaired load_fusion_chrom_seq_std matchfusion2normal filteroriginalfusion Convert2FusionAlignment generate_combined_sequence DNA2StdRegion search_unmapped_reads reads2unmappedsam junc_db_fusion bsb4 mapsplice_multi_thread check_reads_format alignmenthandler_multi parseCluster cluster junc_db filterjuncbyROCarguNonCanonical filter_1hits newsam2junc fusionsam2junc_filteranchor_newfmt read_chromo_size find_mate_sam_fq alignmenthandler SepSam RemovePairNo check_index_consistency
+
+ OPTFLAGS = -O3
+
+@@ -75,24 +75,24 @@ gtf2genetab:
+ bsb4:
+ g++ $(CFLAGS) -o bin/bsb4 src/bsb4/bsb4.cpp $(ERRLOG)
+
+-samtools:
+- cd ./samtools-0.1.9;make
++#samtools:
++# cd ./samtools-0.1.9;make
+
+- cp ./samtools-0.1.9/samtools ./bin/
++# cp ./samtools-0.1.9/samtools ./bin/
+
+ mapsplice_multi_thread:
+ cd ./src/MapSplice;make
+
+ cp ./src/MapSplice/bowtie ./bin/mapsplice_multi_thread
+
+-bowtie:
+- cd ./src/bowtie; make
++#bowtie:
++# cd ./src/bowtie; make
+
+- cp ./src/bowtie/bowtie ./bin/bowtie
++# cp ./src/bowtie/bowtie ./bin/bowtie
+
+- cp ./src/bowtie/bowtie-build ./bin/bowtie-build
++# cp ./src/bowtie/bowtie-build ./bin/bowtie-build
+
+- cp ./src/bowtie/bowtie-inspect ./bin/bowtie-inspect
++# cp ./src/bowtie/bowtie-inspect ./bin/bowtie-inspect
+
+ reads2unmappedsam:
+ g++ $(CFLAGS) -o bin/reads2unmappedsam src/reads2unmappedsam/reads2unmappedsam.cpp $(ERRLOG)
+@@ -167,7 +167,7 @@ RemovePairNo:
+ g++ $(CFLAGS) -o bin/RemovePairNo src/RemovePairNo/remove_pair_no.cpp $(ERRLOG)
+
+ clean:
+- cd ./samtools-0.1.9 ; make clean-recur
++# cd ./samtools-0.1.9 ; make clean-recur
+ cd ./src/MapSplice ; make clean
+- cd ./src/bowtie ; make clean
+- rm -f bin/FilterFusionAlignmentsByFilteredFusions bin/filterremappedfusion bin/MPSSam2fq bin/comp_fusiondb_offset bin/SeparateNormalFromFusionJunc bin/collectstats bin/SetUnmappedBitFlag bin/sam2fq bin/recover_fusion_alignments_order bin/SepSamUnmapped bin/swap_dRanger_and_MPS_matched bin/sepdRangerfusion bin/sepMPSfusion bin/generate_fusiongene_convert_coordinate_trim_dRanger bin/generate_fusiongene_convert_coordinate_trim bin/junc2bed bin/search_fusion_gene bin/AddFusionStrandConsistent bin/gtf2genetab bin/FilterFusionByNormalPaired bin/load_fusion_chrom_seq_std bin/matchfusion2normal bin/filteroriginalfusion bin/DNA2StdRegion bin/generate_combined_sequence bin/Convert2FusionAlignment bin/search_unmapped_reads bin/reads2unmappedsam bin/junc_db_fusion bin/bsb4 bin/fusionsam2junc_filteranchor_newfmt bin/mapsplice_multi_thread bin/bowtie-build bin/bowtie bin/bowtie-inspect bin/check_reads_format bin/samtools bin/alignment_handler_multi bin/parseCluster bin/cluster bin/junc_db bin/filterjuncbyROCarguNonCanonical bin/filter_1hits bin/newsam2junc bin/read_chromo_size bin/find_mate_sam_fq bin/alignment_handler bin/SepSam bin/RemovePairNo bin/check_index_consistency log
+\ No newline at end of file
++# cd ./src/bowtie ; make clean
++ rm -f bin/FilterFusionAlignmentsByFilteredFusions bin/filterremappedfusion bin/MPSSam2fq bin/comp_fusiondb_offset bin/SeparateNormalFromFusionJunc bin/collectstats bin/SetUnmappedBitFlag bin/sam2fq bin/recover_fusion_alignments_order bin/SepSamUnmapped bin/swap_dRanger_and_MPS_matched bin/sepdRangerfusion bin/sepMPSfusion bin/generate_fusiongene_convert_coordinate_trim_dRanger bin/generate_fusiongene_convert_coordinate_trim bin/junc2bed bin/search_fusion_gene bin/AddFusionStrandConsistent bin/gtf2genetab bin/FilterFusionByNormalPaired bin/load_fusion_chrom_seq_std bin/matchfusion2normal bin/filteroriginalfusion bin/DNA2StdRegion bin/generate_combined_sequence bin/Convert2FusionAlignment bin/search_unmapped_reads bin/reads2unmappedsam bin/junc_db_fusion bin/bsb4 bin/fusionsam2junc_filteranchor_newfmt bin/mapsplice_multi_thread bin/check_reads_format bin/alignment_handler_multi bin/parseCluster bin/cluster bin/junc_db bin/filterjuncbyROCarguNonCanonical bin/filter_1hits bin/newsam2junc bin/read_chromo_size bin/find_mate_sam_fq bin/alignment_handler bin/SepSam bin/RemovePairNo bin/check_index_consistency log
diff --git a/var/spack/repos/builtin/packages/mapsplice2/mapsplice_ebwt.patch b/var/spack/repos/builtin/packages/mapsplice2/mapsplice_ebwt.patch
new file mode 100644
index 0000000000..bd1a8be0cc
--- /dev/null
+++ b/var/spack/repos/builtin/packages/mapsplice2/mapsplice_ebwt.patch
@@ -0,0 +1,20 @@
+--- a/src/MapSplice/ebwt.h
++++ b/src/MapSplice/ebwt.h
+@@ -430,7 +430,7 @@ public:
+ vector<uint32_t>& plens,
+ uint32_t sztot,
+ const RefReadInParams& refparams,
+- uint32_t seed,
++ uint32_t seed = 0,
+ int32_t __overrideOffRate = -1,
+ int32_t __overrideIsaRate = -1,
+ bool verbose = false,
+@@ -3942,7 +3942,7 @@ void Ebwt<TStr>::joinToDisk(
+ TStr& ret,
+ ostream& out1,
+ ostream& out2,
+- uint32_t seed = 0)
++ uint32_t seed /* = 0 */ )
+ {
+ RandomSource rand; // reproducible given same seed
+ rand.init(seed);
diff --git a/var/spack/repos/builtin/packages/mapsplice2/package.py b/var/spack/repos/builtin/packages/mapsplice2/package.py
new file mode 100644
index 0000000000..491194813b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/mapsplice2/package.py
@@ -0,0 +1,54 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+from spack import *
+
+
+class Mapsplice2(MakefilePackage):
+ """MapSplice is a software for mapping RNA-seq data to reference genome
+ for splice junction discovery that depends only on reference genome,
+ and not on any further annotations."""
+
+ homepage = "http://www.netlab.uky.edu/p/bioinfo/MapSplice2"
+ url = "http://protocols.netlab.uky.edu/~zeng/MapSplice-v2.2.1.zip"
+
+ version(
+ "2.2.1",
+ sha256="4f3c1cb49ba0abcfc952de5946ee0b56db28c51f4f4d4f5abca66b4461ca7d05",
+ )
+
+ patch("Makefile.patch")
+ patch("mapsplice_ebwt.patch")
+
+ depends_on("bowtie")
+ depends_on("ncurses", type="link")
+ depends_on("samtools", type="link")
+ depends_on("python", type="run")
+
+ def edit(self, spec, prefix):
+ for iscan in find(
+ "src",
+ [
+ "SamRec.*",
+ "AlignmentHandler.cpp",
+ "JunctionHandler.cpp",
+ "FusionSamRec.*",
+ ],
+ recursive=True,
+ ):
+ m = FileFilter(iscan)
+ m.filter(r"iscanonical", "iscanonical2")
+
+ for makefile in find(".", "[Mm]akefile", recursive=True):
+ m = FileFilter(makefile)
+ m.filter("g++", "{0}".format(spack_cxx), string=True)
+ m.filter(r"CC =.*", "CC = {0}".format(spack_cc))
+ m.filter(r"CPP =.*", "CPP = {0}".format(spack_cxx))
+ m.filter(r"CXX =.*", "CXX = {0}".format(spack_cxx))
+
+ def install(self, spec, prefix):
+ install("mapsplice.py", prefix)
+ install_tree("bin", prefix.bin)
diff --git a/var/spack/repos/builtin/packages/maq/package.py b/var/spack/repos/builtin/packages/maq/package.py
index 2fda250658..7f50f679ad 100644
--- a/var/spack/repos/builtin/packages/maq/package.py
+++ b/var/spack/repos/builtin/packages/maq/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/margo/package.py b/var/spack/repos/builtin/packages/margo/package.py
index d43d29841f..1e340976eb 100644
--- a/var/spack/repos/builtin/packages/margo/package.py
+++ b/var/spack/repos/builtin/packages/margo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,43 +7,49 @@ from spack import *
class Margo(AutotoolsPackage):
- """Argobots bindings to the Mercury RPC API"""
-
- homepage = "https://xgitlab.cels.anl.gov/sds/margo"
- url = "https://xgitlab.cels.anl.gov/sds/margo/-/archive/v0.4.3/margo-v0.4.3.tar.gz"
- git = "https://xgitlab.cels.anl.gov/sds/margo.git"
-
- maintainers = ['fbudin69500', 'chuckatkins', 'carns']
-
- version('develop', branch='master')
- version('0.4.3', sha256='61a634d6983bee2ffa06e1e2da4c541cb8f56ddd9dd9f8e04e8044fb38657475')
-
- variant('shared', default=True,
- description='Build shared libraries instead of static libraries')
-
- depends_on('autoconf', type='build')
- depends_on('automake', type='build')
- depends_on('libtool', type='build')
- depends_on('m4', type='build')
- depends_on('pkgconfig', type='build')
-
- depends_on('mercury')
+ """A library that provides Argobots bindings to the Mercury RPC
+ implementation. This name will be deprecated soon; please use the
+ mochi-margo package instead."""
+
+ homepage = 'https://xgitlab.cels.anl.gov/sds/margo'
+ git = 'https://xgitlab.cels.anl.gov/sds/margo.git'
+ url = 'https://xgitlab.cels.anl.gov/sds/margo/-/archive/v0.9/margo-v0.9.tar.gz'
+
+ maintainers = ['carns', 'mdorier', 'fbudin69500', 'chuckatkins']
+
+ version('master', branch='master', deprecated=True)
+ version('0.9', sha256='a24376f66450cc8fd7a43043e189f8efce5a931585e53c1e2e41894a3e99b517', deprecated=True)
+ version('0.7', sha256='492d1afe2e7984fa638614a5d34486d2ff761f5599b5984efd5ae3f55cafde54', deprecated=True)
+ version('0.7.2', sha256='0ca796abdb82084813a5de033d92364910b5ad1a0df135534d6b1c36ef627859', deprecated=True)
+ version('0.7.1', sha256='eebbe02c47ed4c65ef1d4f23ffdc6a8aa2e2348ca6c51bfc3c4dfbf78fbfc30b', deprecated=True)
+ version('0.6', sha256='56feb718da2b155d7277a7b10b669516ebffaa034f811f3665ceed7ad0f19d1b', deprecated=True)
+ version('0.6.4', sha256='5ba1c72ee05aa9738d3dc4d6d01bd59790284c6c77b909c5d7756fe7049d6177', deprecated=True)
+ version('0.6.3', sha256='5f373cd554edd15cead58bd5d30093bd88d45039d06ff7738eb18b3674287c76', deprecated=True)
+ version('0.6.2', sha256='c6a6909439e1d3ba1a1693d8da66057eb7e4ec4b239c04bc7f19fc487c4c58da', deprecated=True)
+ version('0.6.1', sha256='80d8d15d0917b5522c31dc2d83136de2313d50ca05c71c5e5ad83c483a3214b7', deprecated=True)
+ version('0.5', sha256='d3b768b8300bc2cb87964e74c39b4e8eb9822d8a2e56fc93dc475ddcb1a868e3', deprecated=True)
+ version('0.5.2', sha256='73be3acaf012a85a91ac62824c93f5ee1ea0ffe4c25779ece19723f4baf9547d', deprecated=True)
+ version('0.5.1', sha256='6fdf58e189538e22341c8361ab069fc80fe5460a6869882359b295a890febad7', deprecated=True)
+ version('0.4.7', sha256='596d83b11fb2bd9950fd99c9ab12c14915ab2cda233084ae40ecae1e6c584333', deprecated=True)
+ version('0.4.6', sha256='b27447a2050ae61091bae3ff6b4d23a56153947f18847face9f98facbdb4e329', deprecated=True)
+ version('0.4.5', sha256='b0d02f73edf180f2393f54c5a980620b8d6dcd42b90efdea6866861824fa49cf', deprecated=True)
+ version('0.4.4', sha256='2e2e6e2a8a7d7385e2fe204c113cb149f30847f0b1f48ec8dd708a74280bd89e', deprecated=True)
+ version('0.4.3', sha256='61a634d6983bee2ffa06e1e2da4c541cb8f56ddd9dd9f8e04e8044fb38657475', deprecated=True)
+ version('0.4.2', sha256='91085e28f50e373b9616e1ae5c3c8d40a19a7d3776259592d8f361766890bcaa', deprecated=True)
+
+ depends_on('json-c', when='@0.9:')
+ depends_on('autoconf@2.65:', type=("build"))
+ depends_on('m4', type=('build'))
+ depends_on('automake', type=("build"))
+ depends_on('libtool', type=("build"))
+ depends_on('pkgconfig', type=("build"))
depends_on('argobots@1.0:')
+ # "breadcrumb" support not available in mercury-1.0
+ depends_on('mercury@1.0.0:', type=("build", "link", "run"), when='@:0.5.1')
+ depends_on('mercury@2.0.0:', type=("build", "link", "run"), when='@0.5.2:')
- build_directory = 'spack-build'
-
- def configure_args(self):
- spec = self.spec
- args = []
-
- if '+shared' in spec:
- args.append('--enable-shared')
- args.append('--disable-static')
- else:
- args.append('--enable-static')
- args.append('--disable-shared')
-
- return args
+ # dependencies for develop version
+ depends_on('mercury@master', type=("build", "link", "run"), when='@develop')
def autoreconf(self, spec, prefix):
sh = which('sh')
diff --git a/var/spack/repos/builtin/packages/mariadb-c-client/package.py b/var/spack/repos/builtin/packages/mariadb-c-client/package.py
index 1abd01301e..8d729971d9 100644
--- a/var/spack/repos/builtin/packages/mariadb-c-client/package.py
+++ b/var/spack/repos/builtin/packages/mariadb-c-client/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mariadb/package.py b/var/spack/repos/builtin/packages/mariadb/package.py
index a16919192a..c7af91f2b5 100644
--- a/var/spack/repos/builtin/packages/mariadb/package.py
+++ b/var/spack/repos/builtin/packages/mariadb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mark/package.py b/var/spack/repos/builtin/packages/mark/package.py
index fa51131add..a5fba15522 100644
--- a/var/spack/repos/builtin/packages/mark/package.py
+++ b/var/spack/repos/builtin/packages/mark/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -20,6 +20,7 @@ class Mark(Package):
http://spack.readthedocs.io/en/latest/mirrors.html"""
homepage = "http://www.phidot.org/software/mark/index.html"
+ manual_download = True
version('1.0', sha256='5422c9444d5fa6b3b22f4a9f2ce41af2072a1a7283f6f9099dc02cc5282696bc',
expand=False)
diff --git a/var/spack/repos/builtin/packages/masa/package.py b/var/spack/repos/builtin/packages/masa/package.py
index 06bcefb4d3..dee05e96ef 100644
--- a/var/spack/repos/builtin/packages/masa/package.py
+++ b/var/spack/repos/builtin/packages/masa/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/masurca/package.py b/var/spack/repos/builtin/packages/masurca/package.py
index 1e0f74e3bb..673aed6259 100644
--- a/var/spack/repos/builtin/packages/masurca/package.py
+++ b/var/spack/repos/builtin/packages/masurca/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,6 +14,7 @@ class Masurca(Package):
homepage = "http://www.genome.umd.edu/masurca.html"
url = "https://github.com/alekseyzimin/masurca/releases/download/v3.3.1/MaSuRCA-3.3.1.tar.gz"
+ version('4.0.1', sha256='68628acaf3681d09288b48a35fec7909b347b84494fb26c84051942256299870')
version('3.3.1', sha256='587d0ee2c6b9fbd3436ca2a9001e19f251b677757fe5e88e7f94a0664231e020')
version('3.2.9', sha256='795ad4bd42e15cf3ef2e5329aa7e4f2cdeb7e186ce2e350a45127e319db2904b')
@@ -30,7 +31,12 @@ class Masurca(Package):
m = join_path('global-1', makefile)
filter_file('-minline-all-stringops', '', m)
+ def setup_build_environment(self, env):
+ if '@4:' in self.spec:
+ env.set('DEST', self.prefix)
+
def install(self, spec, prefix):
installer = Executable('./install.sh')
installer()
- install_tree('.', prefix)
+ if '@:4' in self.spec:
+ install_tree('.', prefix)
diff --git a/var/spack/repos/builtin/packages/mathematica/package.py b/var/spack/repos/builtin/packages/mathematica/package.py
index c775fc8b0d..245cca8ac2 100644
--- a/var/spack/repos/builtin/packages/mathematica/package.py
+++ b/var/spack/repos/builtin/packages/mathematica/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,6 +19,7 @@ class Mathematica(Package):
homepage = "https://www.wolfram.com/mathematica/"
url = 'file://{0}/Mathematica_12.0.0_LINUX.sh'.format(os.getcwd())
+ manual_download = True
version('12.1.1',
sha256='ad47b886be4a9864d70f523f792615a051d4ebc987d9a0f654b645b4eb43b30a',
diff --git a/var/spack/repos/builtin/packages/matio/package.py b/var/spack/repos/builtin/packages/matio/package.py
index 5107058d58..3035a24011 100644
--- a/var/spack/repos/builtin/packages/matio/package.py
+++ b/var/spack/repos/builtin/packages/matio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/matlab/package.py b/var/spack/repos/builtin/packages/matlab/package.py
index aa7ebbc343..1c032f363f 100644
--- a/var/spack/repos/builtin/packages/matlab/package.py
+++ b/var/spack/repos/builtin/packages/matlab/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/maven/package.py b/var/spack/repos/builtin/packages/maven/package.py
index 0cc83948cd..6dc324af3a 100644
--- a/var/spack/repos/builtin/packages/maven/package.py
+++ b/var/spack/repos/builtin/packages/maven/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/maverick/package.py b/var/spack/repos/builtin/packages/maverick/package.py
index 60909c551b..fa14f9bda5 100644
--- a/var/spack/repos/builtin/packages/maverick/package.py
+++ b/var/spack/repos/builtin/packages/maverick/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mawk/package.py b/var/spack/repos/builtin/packages/mawk/package.py
index 89c8f9e3ac..1a8da55db5 100644
--- a/var/spack/repos/builtin/packages/mawk/package.py
+++ b/var/spack/repos/builtin/packages/mawk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mbdyn/package.py b/var/spack/repos/builtin/packages/mbdyn/package.py
index ccaf44a262..6130d08869 100644
--- a/var/spack/repos/builtin/packages/mbdyn/package.py
+++ b/var/spack/repos/builtin/packages/mbdyn/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mbedtls/package.py b/var/spack/repos/builtin/packages/mbedtls/package.py
index 0d79e25af4..f5617ac359 100644
--- a/var/spack/repos/builtin/packages/mbedtls/package.py
+++ b/var/spack/repos/builtin/packages/mbedtls/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,6 +17,7 @@ class Mbedtls(CMakePackage):
url = "https://github.com/ARMmbed/mbedtls/archive/mbedtls-2.2.1.tar.gz"
maintainers = ['mwkrentel']
+ version('2.16.9', sha256='b7ca99ee10551b5b13242b7effebefd2a5cc38c287e5f5be1267d51ee45effe3')
version('2.16.7', sha256='4786b7d1676f5e4d248f3a7f2d28446876d64962634f060ff21b92c690cfbe86')
version('2.16.1', sha256='daf0d40f3016c34eb42d1e4b3b52be047e976d566aba8668977723c829af72f3')
version('2.7.10', sha256='42b19b30b86a798bdb69c5da2f8bbd7d72ffede9a35b888ab986a29480f9dc3e')
diff --git a/var/spack/repos/builtin/packages/mc/package.py b/var/spack/repos/builtin/packages/mc/package.py
index 611a104e11..b9cf4a664b 100644
--- a/var/spack/repos/builtin/packages/mc/package.py
+++ b/var/spack/repos/builtin/packages/mc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mcl/package.py b/var/spack/repos/builtin/packages/mcl/package.py
index 9b60faadce..c60fb038b6 100644
--- a/var/spack/repos/builtin/packages/mcl/package.py
+++ b/var/spack/repos/builtin/packages/mcl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mcpp/package.py b/var/spack/repos/builtin/packages/mcpp/package.py
index a658480812..79e08ce462 100644
--- a/var/spack/repos/builtin/packages/mcpp/package.py
+++ b/var/spack/repos/builtin/packages/mcpp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class Mcpp(AutotoolsPackage, SourceforgePackage):
homepage = "https://sourceforge.net/projects/mcpp/"
sourceforge_mirror_path = "mcpp/mcpp/V.2.7.2/mcpp-2.7.2.tar.gz"
- version('2.7.2', sha256='3b9b4421888519876c4fc68ade324a3bbd81ceeb7092ecdbbc2055099fcb8864')
+ version('2.7.2', sha256='3b9b4421888519876c4fc68ade324a3bbd81ceeb7092ecdbbc2055099fcb8864')
def configure_args(self):
config_args = ['--enable-mcpplib', '--disable-static']
diff --git a/var/spack/repos/builtin/packages/mcutils/package.py b/var/spack/repos/builtin/packages/mcutils/package.py
index 3065f70fe0..a43425bb87 100644
--- a/var/spack/repos/builtin/packages/mcutils/package.py
+++ b/var/spack/repos/builtin/packages/mcutils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,23 +10,26 @@ class Mcutils(MakefilePackage):
"""A collection of routines for classification and manipulation of
particle physics simulated HepMC event records."""
- homepage = "https://bitbucket.org/andybuckley/mcutils"
- url = "https://bitbucket.org/andybuckley/mcutils/get/mcutils-1.3.4.tar.gz"
-
- version('1.3.4', sha256='0bf9795cc248871ab2b663d2eef647311eacaea4982997950096de68747e65a3')
- version('1.3.3', sha256='bfb2f0e0e6de358928436f309f3f1b084d3d652073c440f262de878332116ecb')
- version('1.3.2', sha256='e17d417e8d4f8d17a6879ea18dcd2cd76e161d37eae08b84893504d1b08f9708')
- version('1.3.1', sha256='081263ee6844fccedad780e6a2fbaf1ad0073a6706bc4b34109050b72c2c4b27')
- version('1.3.0', sha256='20a89ce536547dc8f56e7779a3ec8cfe9987edb1646009ecfc682ff1ddf0277b')
- version('1.2.1', sha256='004325be41925d97e711ffe4311d9c8aa8e88873541bcc1a385d2e1ce1d17a96')
- version('1.2.0', sha256='f9589d45bff06d8c8742d35d78d1ed570a0d181fd7ee5d6f97ab9e48f0ee32f4')
- version('1.1.2', sha256='5a5781caf2d81c21f4b040a1d31975c354526bcf7c8c9067543f7303c8155844')
- version('1.1.1', sha256='3e5c47d2264886613fc9423b020cf50dc7031a02b752da3a84f794c36ba7443a')
- version('1.1.0', sha256='96fc2586430032ed4b378edb02150c5c9db405e1767dbf847ffe9ac043daf6e9')
- version('1.0.3', sha256='b5bec5a4b2146b6987b351d632119c3b4c449c2ee53ae0ddc8cb1d3672907df5')
- version('1.0.2', sha256='74e2c381f5f3719888b15a2e00075051bb2b84b3d73633d429818a77de66ca7c')
- version('1.0.1', sha256='bb884a4cfb56b5139c08df0be554466e504e9c46096a858f904d659894a62131')
- version('1.0.0', sha256='d08dea19fb42b1846e0a7134e2347648b037bf82b2d75086d018734bc2996b06')
+ homepage = "https://gitlab.com/hepcedar/mcutils"
+ git = "https://gitlab.com/hepcedar/mcutils.git"
+
+ tags = ['hep']
+
+ version('1.3.5', tag='mcutils-1.3.5')
+ version('1.3.4', tag='mcutils-1.3.4')
+ version('1.3.3', tag='mcutils-1.3.3')
+ version('1.3.2', tag='mcutils-1.3.2')
+ version('1.3.1', tag='mcutils-1.3.1')
+ version('1.3.1', tag='mcutils-1.3.0')
+ version('1.2.1', tag='mcutils-1.2.1')
+ version('1.2.0', tag='mcutils-1.2.0')
+ version('1.1.2', tag='mcutils-1.1.2')
+ version('1.1.1', tag='mcutils-1.1.1')
+ version('1.1.0', tag='mcutils-1.1.0')
+ version('1.0.3', tag='mcutils-1.0.3')
+ version('1.0.2', tag='mcutils-1.0.2')
+ version('1.0.1', tag='mcutils-1.0.1')
+ version('1.0.0', tag='mcutils-1.0.0')
depends_on('heputils', when='@1.1.0:')
diff --git a/var/spack/repos/builtin/packages/mdtest/package.py b/var/spack/repos/builtin/packages/mdtest/package.py
index 6e18ef3b41..6144715614 100644
--- a/var/spack/repos/builtin/packages/mdtest/package.py
+++ b/var/spack/repos/builtin/packages/mdtest/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/med/package.py b/var/spack/repos/builtin/packages/med/package.py
index c4be8dfbea..7cc414158e 100644
--- a/var/spack/repos/builtin/packages/med/package.py
+++ b/var/spack/repos/builtin/packages/med/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/meep/package.py b/var/spack/repos/builtin/packages/meep/package.py
index a5ffb30290..d7bfb0df83 100644
--- a/var/spack/repos/builtin/packages/meep/package.py
+++ b/var/spack/repos/builtin/packages/meep/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mefit/package.py b/var/spack/repos/builtin/packages/mefit/package.py
index bd24a324cf..745b548195 100644
--- a/var/spack/repos/builtin/packages/mefit/package.py
+++ b/var/spack/repos/builtin/packages/mefit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/megadock/package.py b/var/spack/repos/builtin/packages/megadock/package.py
index f8131784c6..77ee965150 100644
--- a/var/spack/repos/builtin/packages/megadock/package.py
+++ b/var/spack/repos/builtin/packages/megadock/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/megahit/package.py b/var/spack/repos/builtin/packages/megahit/package.py
index 863a684505..f28d96bdb9 100644
--- a/var/spack/repos/builtin/packages/megahit/package.py
+++ b/var/spack/repos/builtin/packages/megahit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/memaxes/package.py b/var/spack/repos/builtin/packages/memaxes/package.py
index f7f1da41a1..6dba723555 100644
--- a/var/spack/repos/builtin/packages/memaxes/package.py
+++ b/var/spack/repos/builtin/packages/memaxes/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/memcached/package.py b/var/spack/repos/builtin/packages/memcached/package.py
index e082c6b04c..bd192869a0 100644
--- a/var/spack/repos/builtin/packages/memcached/package.py
+++ b/var/spack/repos/builtin/packages/memcached/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/meme/package.py b/var/spack/repos/builtin/packages/meme/package.py
index 8dcd186973..78e21ca595 100644
--- a/var/spack/repos/builtin/packages/meme/package.py
+++ b/var/spack/repos/builtin/packages/meme/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,6 +15,8 @@ class Meme(AutotoolsPackage):
homepage = "http://meme-suite.org"
url = "http://meme-suite.org/meme-software/5.1.1/meme-5.1.1.tar.gz"
+ version('5.3.0', sha256='b2ddec9db972fcf77b29c7deb62df8b1dd8a6638c13c1aa06a5d563c4a7ff756')
+ version('5.2.0', sha256='0cbf8c2172e9b6c07855b8aeec457f4825f0b132f8cbb11192880e2f6033f54f')
version('5.1.1', sha256='38d73d256d431ad4eb7da2c817ce56ff2b4e26c39387ff0d6ada088938b38eb5')
version('4.12.0', sha256='49ff80f842b59d328588acfcd1d15bf94c55fed661d22b0f95f37430cc363a06')
version('4.11.4', sha256='3e869ff57e327a9c8615dbef784e3f1095f7f7a0120cecd55efe10c3f2ee8eb3')
diff --git a/var/spack/repos/builtin/packages/memkind/package.py b/var/spack/repos/builtin/packages/memkind/package.py
index 37175646c6..485cca76da 100644
--- a/var/spack/repos/builtin/packages/memkind/package.py
+++ b/var/spack/repos/builtin/packages/memkind/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -23,6 +23,10 @@ class Memkind(AutotoolsPackage):
homepage = "https://github.com/memkind/memkind"
url = "https://github.com/memkind/memkind/archive/v1.7.0.tar.gz"
+ version('1.10.1', sha256='c203615d964a0bb151756ad8a5c9565391ee77d79c1f8b59d2ea8ff87989b294')
+ version('1.10.0', sha256='0399a1d6a179d065cdbc59bb687fcd00d09dfbb1789334acfdf7431a48707d26')
+ version('1.9.0', sha256='491f21c8d09904ad23700c755b9134fbed08bf227506c2fde135429688158b84')
+ version('1.8.0', sha256='8b57c5afa8afa6793e4662322e37620bbb11f119cd8d29654ec00945bbe13a17')
version('1.7.0', sha256='5048eaaa1bc484203c685a019f3f428ab6c9b1cf94ef6d264e299bc0127ec572')
depends_on('autoconf', type='build')
diff --git a/var/spack/repos/builtin/packages/memsurfer/package.py b/var/spack/repos/builtin/packages/memsurfer/package.py
index c7850d58a5..c204f3a168 100644
--- a/var/spack/repos/builtin/packages/memsurfer/package.py
+++ b/var/spack/repos/builtin/packages/memsurfer/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/memtester/package.py b/var/spack/repos/builtin/packages/memtester/package.py
index 7821d1b15d..c30d7a4fee 100644
--- a/var/spack/repos/builtin/packages/memtester/package.py
+++ b/var/spack/repos/builtin/packages/memtester/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/meraculous/package.py b/var/spack/repos/builtin/packages/meraculous/package.py
index df4e7109b5..b446214738 100644
--- a/var/spack/repos/builtin/packages/meraculous/package.py
+++ b/var/spack/repos/builtin/packages/meraculous/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mercurial/package.py b/var/spack/repos/builtin/packages/mercurial/package.py
index 620ef19bdb..4ae752328f 100644
--- a/var/spack/repos/builtin/packages/mercurial/package.py
+++ b/var/spack/repos/builtin/packages/mercurial/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,13 +13,6 @@ class Mercurial(PythonPackage):
homepage = "https://www.mercurial-scm.org"
url = "https://www.mercurial-scm.org/release/mercurial-5.3.tar.gz"
- import_modules = [
- 'hgext', 'hgext3rd', 'mercurial', 'hgext.convert', 'hgext.fsmonitor',
- 'hgext.highlight', 'hgext.largefiles', 'hgext.zeroconf',
- 'hgext.fsmonitor.pywatchman', 'mercurial.hgweb',
- 'mercurial.httpclient', 'mercurial.pure'
- ]
-
version('5.3', sha256='e57ff61d6b67695149dd451922b40aa455ab02e01711806a131a1e95c544f9b9')
version('5.1.2', sha256='15af0b090b23649e0e53621a88dde97b55a734d7cb08b77d3df284db70d44e2e')
version('5.1.1', sha256='35fc8ba5e0379c1b3affa2757e83fb0509e8ac314cbd9f1fd133cf265d16e49f')
diff --git a/var/spack/repos/builtin/packages/mercury/package.py b/var/spack/repos/builtin/packages/mercury/package.py
index 239d911d15..ab56c6395e 100644
--- a/var/spack/repos/builtin/packages/mercury/package.py
+++ b/var/spack/repos/builtin/packages/mercury/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -39,6 +39,8 @@ class Mercury(CMakePackage):
description='Enable udreg on supported Cray platforms')
variant('debug', default=False,
description='Enable Mercury to print debug output')
+ variant('checksum', default=True,
+ description='Checksum verify all request/response messages')
depends_on('cmake@2.8.12.2:', type='build')
# depends_on('cci', when='+cci') # TODO: add CCI package
@@ -67,7 +69,7 @@ class Mercury(CMakePackage):
'-DBUILD_TESTING:BOOL=%s' % str(self.run_tests),
'-DMERCURY_ENABLE_PARALLEL_TESTING:BOOL=%s' % str(parallel_tests),
'-DMERCURY_USE_BOOST_PP:BOOL=ON',
- '-DMERCURY_USE_CHECKSUMS:BOOL=ON',
+ '-DMERCURY_USE_CHECKSUMS:BOOL=%s' % variant_bool('+checksum'),
'-DMERCURY_USE_SYSTEM_MCHECKSUM:BOOL=OFF',
'-DMERCURY_USE_XDR:BOOL=OFF',
'-DNA_USE_BMI:BOOL=%s' % variant_bool('+bmi'),
diff --git a/var/spack/repos/builtin/packages/mesa-demos/package.py b/var/spack/repos/builtin/packages/mesa-demos/package.py
index b6824b5602..f5de75dabe 100644
--- a/var/spack/repos/builtin/packages/mesa-demos/package.py
+++ b/var/spack/repos/builtin/packages/mesa-demos/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mesa-glu/package.py b/var/spack/repos/builtin/packages/mesa-glu/package.py
index bd3c90b020..9cf5bd0e66 100644
--- a/var/spack/repos/builtin/packages/mesa-glu/package.py
+++ b/var/spack/repos/builtin/packages/mesa-glu/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mesa/package.py b/var/spack/repos/builtin/packages/mesa/package.py
index e2da830f72..c377872f79 100644
--- a/var/spack/repos/builtin/packages/mesa/package.py
+++ b/var/spack/repos/builtin/packages/mesa/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -26,10 +26,13 @@ class Mesa(MesonPackage):
depends_on('pkgconfig', type='build')
depends_on('binutils', when=(sys.platform != 'darwin'), type='build')
depends_on('bison', type='build')
+ depends_on('cmake', type='build')
depends_on('flex', type='build')
depends_on('gettext', type='build')
depends_on('python@3:', type='build')
depends_on('py-mako@0.8.0:', type='build')
+ depends_on('expat')
+ depends_on('zlib@1.2.3:')
# Internal options
variant('llvm', default=True, description="Enable LLVM.")
@@ -70,7 +73,26 @@ class Mesa(MesonPackage):
depends_on('libxext', when='+glx')
depends_on('libxt', when='+glx')
depends_on('xrandr', when='+glx')
- depends_on('glproto@1.4.14:', when='+glx', type='build')
+ depends_on('glproto@1.4.14:', when='+glx')
+
+ # Require at least 1 front-end
+ # TODO: Add egl to this conflict once made available
+ conflicts('~osmesa ~glx')
+
+ # Require at least 1 back-end
+ # TODO: Add vulkan to this conflict once made available
+ conflicts('~opengl ~opengles')
+
+ # OpenGL ES requires OpenGL
+ conflicts('~opengl +opengles')
+
+ # 'auto' needed when shared llvm is built
+ @when('^llvm~shared_libs')
+ def patch(self):
+ filter_file(
+ r"_llvm_method = 'auto'",
+ "_llvm_method = 'config-tool'",
+ "meson.build")
def meson_args(self):
spec = self.spec
@@ -187,7 +209,6 @@ class Mesa(MesonPackage):
if libs_to_seek:
return find_libraries(list(libs_to_seek),
root=self.spec.prefix,
- shared='+shared' in self.spec,
recursive=True)
return LibraryList()
@@ -195,19 +216,16 @@ class Mesa(MesonPackage):
def osmesa_libs(self):
return find_libraries('libOSMesa',
root=self.spec.prefix,
- shared='+shared' in self.spec,
recursive=True)
@property
def glx_libs(self):
return find_libraries('libGL',
root=self.spec.prefix,
- shared='+shared' in self.spec,
recursive=True)
@property
def gl_libs(self):
return find_libraries('libGL',
root=self.spec.prefix,
- shared='+shared' in self.spec,
recursive=True)
diff --git a/var/spack/repos/builtin/packages/mesa18/package.py b/var/spack/repos/builtin/packages/mesa18/package.py
index 10d4275c6c..525b3673fd 100644
--- a/var/spack/repos/builtin/packages/mesa18/package.py
+++ b/var/spack/repos/builtin/packages/mesa18/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class Mesa18(AutotoolsPackage):
- a system for rendering interactive 3D graphics."""
homepage = "http://www.mesa3d.org"
- maintainers = ['v-dobrev', 'chuckatkins']
+ maintainers = ['v-dobrev', 'chuckatkins', 'ChristianTackeGSI']
# Note that we always want to build from the git repo instead of a
# tarball since the tarball has pre-generated files for certain versions
@@ -21,7 +21,7 @@ class Mesa18(AutotoolsPackage):
# whatever version of LLVM you're using.
git = "https://gitlab.freedesktop.org/mesa/mesa.git"
- version('18.3.6', tag='mesa-18.3.6', preferred=True)
+ version('18.3.6', tag='mesa-18.3.6')
depends_on('autoconf', type='build')
depends_on('automake', type='build')
@@ -52,22 +52,12 @@ class Mesa18(AutotoolsPackage):
is_linux = sys.platform.startswith('linux')
variant('glx', default=is_linux, description="Enable the GLX frontend.")
- # TODO: effectively deal with EGL. The implications of this have not been
- # worked through yet
- # variant('egl', default=False, description="Enable the EGL frontend.")
-
- # TODO: Effectively deal with hardware drivers
- # The implication of this is enabling DRI, among other things, and
- # needing to check which llvm targets were built (ptx or amdgpu, etc.)
-
- # Back ends
- variant('opengl', default=True, description="Enable full OpenGL support.")
+ # Additional backends
variant('opengles', default=False, description="Enable OpenGL ES support.")
# Provides
- provides('gl@4.5', when='+opengl')
+ provides('gl@4.5')
provides('glx@1.4', when='+glx')
- # provides('egl@1.5', when='+egl')
provides('osmesa', when='+osmesa')
# Variant dependencies
@@ -75,7 +65,10 @@ class Mesa18(AutotoolsPackage):
depends_on('libx11', when='+glx')
depends_on('libxcb', when='+glx')
depends_on('libxext', when='+glx')
- depends_on('glproto@1.4.14:', when='+glx', type='build')
+ depends_on('glproto@1.4.14:', when='+glx')
+
+ # Require at least 1 front-end
+ conflicts('~osmesa ~glx')
# Prevent an unnecessary xcb-dri dependency
patch('autotools-x11-nodri.patch')
@@ -103,7 +96,12 @@ class Mesa18(AutotoolsPackage):
'--disable-xa',
'--disable-xvmc',
'--disable-osmesa',
- '--with-vulkan-drivers=']
+ '--with-vulkan-drivers=',
+ '--disable-egl',
+ '--disable-gbm',
+ '--disable-dri',
+ '--enable-opengl']
+
args_platforms = []
args_gallium_drivers = ['swrast']
args_dri_drivers = []
@@ -120,26 +118,11 @@ class Mesa18(AutotoolsPackage):
if '+glx' in spec:
num_frontends += 1
- if '+egl' in spec:
- args.append('--enable-glx=dri')
- else:
- args.append('--enable-glx=gallium-xlib')
+ args.append('--enable-glx=gallium-xlib')
args_platforms.append('x11')
else:
args.append('--disable-glx')
- if '+egl' in spec:
- num_frontends += 1
- args.extend(['--enable-egl', '--enable-gbm', '--enable-dri'])
- args_platforms.append('surfaceless')
- else:
- args.extend(['--disable-egl', '--disable-gbm', '--disable-dri'])
-
- if '+opengl' in spec:
- args.append('--enable-opengl')
- else:
- args.append('--disable-opengl')
-
if '+opengles' in spec:
args.extend(['--enable-gles1', '--enable-gles2'])
else:
@@ -193,8 +176,7 @@ class Mesa18(AutotoolsPackage):
if '+glx' in spec:
libs_to_seek.add('libGL')
- if '+opengl' in spec:
- libs_to_seek.add('libGL')
+ libs_to_seek.add('libGL')
if '+opengles' in spec:
libs_to_seek.add('libGLES')
@@ -203,7 +185,7 @@ class Mesa18(AutotoolsPackage):
if libs_to_seek:
return find_libraries(list(libs_to_seek),
root=self.spec.prefix,
- shared='+shared' in self.spec,
+ shared=True,
recursive=True)
return LibraryList()
@@ -211,19 +193,19 @@ class Mesa18(AutotoolsPackage):
def osmesa_libs(self):
return find_libraries('libOSMesa',
root=self.spec.prefix,
- shared='+shared' in self.spec,
+ shared=True,
recursive=True)
@property
def glx_libs(self):
return find_libraries('libGL',
root=self.spec.prefix,
- shared='+shared' in self.spec,
+ shared=True,
recursive=True)
@property
def gl_libs(self):
return find_libraries('libGL',
root=self.spec.prefix,
- shared='+shared' in self.spec,
+ shared=True,
recursive=True)
diff --git a/var/spack/repos/builtin/packages/meshkit/package.py b/var/spack/repos/builtin/packages/meshkit/package.py
index a103db11c9..ea3dec2ace 100644
--- a/var/spack/repos/builtin/packages/meshkit/package.py
+++ b/var/spack/repos/builtin/packages/meshkit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/meson/package.py b/var/spack/repos/builtin/packages/meson/package.py
index e60101d5bc..ae5fc8fb9f 100644
--- a/var/spack/repos/builtin/packages/meson/package.py
+++ b/var/spack/repos/builtin/packages/meson/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,6 +16,8 @@ class Meson(PythonPackage):
maintainers = ['michaelkuhn']
+ version('0.57.0', sha256='fd26a27c1a509240c668ebd29d280649d9239cf8684ead51d5cb499d1e1188bd')
+ version('0.56.2', sha256='aaae961c3413033789248ffe6762589e80b6cf487c334d0b808e31a32c48f35f')
version('0.56.0', sha256='a9ca7adf66dc69fbb7e583f7c7aef16b9fe56ec2874a3d58747e69a3affdf300')
version('0.55.3', sha256='2b276df50c5b13ccdbfb14d3333141e9e7985aca31b60400b3f3e0be2ee6897e')
version('0.55.2', sha256='56244896e56c2b619f819d047b6de412ecc5250975ee8717f1e329113d178e06')
@@ -32,6 +34,7 @@ class Meson(PythonPackage):
version('0.41.2', sha256='2daf448d3f2479d60e30617451f09bf02d26304dd1bd12ee1de936a53e42c7a4')
version('0.41.1', sha256='a48901f02ffeb9ff5cf5361d71b1fca202f9cd72998043ad011fc5de0294cf8b')
+ depends_on('python@3.6:', when='@0.57.0:', type=('build', 'run'))
depends_on('python@3.5:', type=('build', 'run'))
depends_on('py-setuptools', type=('build', 'run'))
depends_on('ninja', type='run')
diff --git a/var/spack/repos/builtin/packages/mesquite/package.py b/var/spack/repos/builtin/packages/mesquite/package.py
index d5f3516652..7d4843aee1 100644
--- a/var/spack/repos/builtin/packages/mesquite/package.py
+++ b/var/spack/repos/builtin/packages/mesquite/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/metabat/package.py b/var/spack/repos/builtin/packages/metabat/package.py
index fa5a424396..8e7c675947 100644
--- a/var/spack/repos/builtin/packages/metabat/package.py
+++ b/var/spack/repos/builtin/packages/metabat/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/metall/package.py b/var/spack/repos/builtin/packages/metall/package.py
index e3aee3ed98..5429ba2912 100644
--- a/var/spack/repos/builtin/packages/metall/package.py
+++ b/var/spack/repos/builtin/packages/metall/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,6 +16,8 @@ class Metall(CMakePackage):
version('master', branch='master')
version('develop', branch='develop')
+ version('0.9', sha256='2d7bd9ea2f1e04136050f210884445a9e3dcb96c992cf42ff9ea4b392f85f927')
+ version('0.8', sha256='02d7379a499ecd6ff7a3aaae436a2cd4dbe21c2fc23f5dad7449e7e8c832c77b')
version('0.7', sha256='17430758a0d2821d1220b03c2635f44739400bad1ffe308fd3da6e38ae875ced')
version('0.6', sha256='123234c7214b666ed51db255c3e2acf98c2cd91bdf1cd0a254bdb893c2148afa')
version('0.5', sha256='7d710dc3d5270c799d3506566e5c3c45b94d6f87fb5e05bbaecdca04e42f2966')
diff --git a/var/spack/repos/builtin/packages/metaphysicl/package.py b/var/spack/repos/builtin/packages/metaphysicl/package.py
index e281f40fe5..4adabea075 100644
--- a/var/spack/repos/builtin/packages/metaphysicl/package.py
+++ b/var/spack/repos/builtin/packages/metaphysicl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/metis/package.py b/var/spack/repos/builtin/packages/metis/package.py
index 37d8ef06be..9a44823f9f 100644
--- a/var/spack/repos/builtin/packages/metis/package.py
+++ b/var/spack/repos/builtin/packages/metis/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,19 +16,12 @@ class Metis(Package):
multilevel recursive-bisection, multilevel k-way, and multi-constraint
partitioning schemes."""
- #
- # The original metis website: http://glaros.dtc.umn.edu/gkhome/metis/metis/overview
- # is down sometimes. This is a github mirror that provides metis 5.1.0
- #
-
- homepage = "https://github.com/scivision/METIS/"
- url = "https://github.com/scivision/METIS/raw/master/metis-5.1.0.tar.gz"
+ homepage = "http://glaros.dtc.umn.edu/gkhome/metis/metis/overview"
+ url = "http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/metis-5.1.0.tar.gz"
+ list_url = "http://glaros.dtc.umn.edu/gkhome/fsroot/sw/metis/OLD"
version('5.1.0', sha256='76faebe03f6c963127dbb73c13eab58c9a3faeae48779f049066a21c087c5db2')
- # For v4.0.3, use the original metis website since this version is not
- # mirrored at the above github location.
- version('4.0.3', url='http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/metis-4.0.3.tar.gz',
- sha256='5efa35de80703c1b2c4d0de080fafbcf4e0d363a21149a1ad2f96e0144841a55')
+ version('4.0.3', sha256='5efa35de80703c1b2c4d0de080fafbcf4e0d363a21149a1ad2f96e0144841a55')
variant('shared', default=True, description='Enables the build of shared libraries.')
variant('gdb', default=False, description='Enables gdb support (version 5+).')
diff --git a/var/spack/repos/builtin/packages/mfem/package.py b/var/spack/repos/builtin/packages/mfem/package.py
index c7f7e7e4d9..3b4c31c4b4 100644
--- a/var/spack/repos/builtin/packages/mfem/package.py
+++ b/var/spack/repos/builtin/packages/mfem/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,6 +19,8 @@ class Mfem(Package):
maintainers = ['v-dobrev', 'tzanio', 'acfisher',
'goxberry', 'markcmiller86']
+ test_requires_compiler = True
+
# Recommended mfem builds to test when updating this file: see the shell
# script 'test_builds.sh' in the same directory as this file.
@@ -47,45 +49,45 @@ class Mfem(Package):
version('4.2.0',
'4352a225b55948d2e73a5ee88cece0e88bdbe7ba6726a23d68b2736d3221a86d',
- url='https://bit.ly/mfem-4-2', extension='.tar.gz',
+ url='https://bit.ly/mfem-4-2', extension='tar.gz',
preferred=True)
version('4.1.0',
'4c83fdcf083f8e2f5b37200a755db843cdb858811e25a8486ad36b2cbec0e11d',
- url='https://bit.ly/mfem-4-1', extension='.tar.gz')
+ url='https://bit.ly/mfem-4-1', extension='tar.gz')
# Tagged development version used by xSDK
version('4.0.1-xsdk', commit='c55c80d17b82d80de04b849dd526e17044f8c99a')
version('4.0.0',
'df5bdac798ea84a263979f6fbf79de9013e1c55562f95f98644c3edcacfbc727',
- url='https://bit.ly/mfem-4-0', extension='.tar.gz')
+ url='https://bit.ly/mfem-4-0', extension='tar.gz')
# Tagged development version used by the laghos package:
version('3.4.1-laghos-v2.0', tag='laghos-v2.0')
version('3.4.0',
sha256='4e73e4fe0482636de3c5dc983cd395839a83cb16f6f509bd88b053e8b3858e05',
- url='https://bit.ly/mfem-3-4', extension='.tar.gz')
+ url='https://bit.ly/mfem-3-4', extension='tar.gz')
version('3.3.2',
sha256='b70fa3c5080b9ec514fc05f4a04ff74322b99ac4ecd6d99c229f0ed5188fc0ce',
- url='https://goo.gl/Kd7Jk8', extension='.tar.gz')
+ url='https://goo.gl/Kd7Jk8', extension='tar.gz')
# Tagged development version used by the laghos package:
version('3.3.1-laghos-v1.0', tag='laghos-v1.0')
version('3.3',
sha256='b17bd452593aada93dc0fee748fcfbbf4f04ce3e7d77fdd0341cc9103bcacd0b',
- url='http://goo.gl/Vrpsns', extension='.tar.gz')
+ url='http://goo.gl/Vrpsns', extension='tar.gz')
version('3.2',
sha256='2938c3deed4ec4f7fd5b5f5cfe656845282e86e2dcd477d292390058b7b94340',
- url='http://goo.gl/Y9T75B', extension='.tar.gz')
+ url='http://goo.gl/Y9T75B', extension='tar.gz')
version('3.1',
sha256='841ea5cf58de6fae4de0f553b0e01ebaab9cd9c67fa821e8a715666ecf18fc57',
- url='http://goo.gl/xrScXn', extension='.tar.gz')
+ url='http://goo.gl/xrScXn', extension='tar.gz')
variant('static', default=True,
description='Build static library')
@@ -105,6 +107,7 @@ class Mfem(Package):
variant('raja', default=False, description='Enable RAJA backend')
variant('libceed', default=False, description='Enable libCEED backend')
variant('umpire', default=False, description='Enable Umpire support')
+ variant('amgx', default=False, description='Enable NVIDIA AmgX solver support')
variant('threadsafe', default=False,
description=('Enable thread safe features.'
@@ -174,6 +177,8 @@ class Mfem(Package):
conflicts('+raja', when='mfem@:3.99.99')
conflicts('+libceed', when='mfem@:4.0.99')
conflicts('+umpire', when='mfem@:4.0.99')
+ conflicts('+amgx', when='mfem@:4.1.99')
+ conflicts('+amgx', when='~cuda')
conflicts('+superlu-dist', when='~mpi')
conflicts('+strumpack', when='~mpi')
@@ -246,6 +251,13 @@ class Mfem(Package):
depends_on('umpire@2.0.0:', when='+umpire')
depends_on('umpire+cuda', when='+umpire+cuda')
+ depends_on('amgx', when='+amgx')
+ # MPI is enabled by default
+ depends_on('amgx~mpi', when='+amgx~mpi')
+ for sm_ in CudaPackage.cuda_arch_values:
+ depends_on('amgx cuda_arch={0}'.format(sm_),
+ when='+amgx cuda_arch=sm_{0}'.format(sm_))
+
patch('mfem_ppc_build.patch', when='@3.2:3.3.0 arch=ppc64le')
patch('mfem-3.4.patch', when='@3.4.0')
patch('mfem-3.3-3.4-petsc-3.9.patch',
@@ -363,6 +375,7 @@ class Mfem(Package):
'MFEM_USE_CUDA=%s' % yes_no('+cuda'),
'MFEM_USE_OCCA=%s' % yes_no('+occa'),
'MFEM_USE_RAJA=%s' % yes_no('+raja'),
+ 'MFEM_USE_AMGX=%s' % yes_no('+amgx'),
'MFEM_USE_CEED=%s' % yes_no('+libceed'),
'MFEM_USE_UMPIRE=%s' % yes_no('+umpire')]
@@ -569,6 +582,15 @@ class Mfem(Package):
ld_flags_from_dirs([spec['raja'].prefix.lib],
['RAJA'])]
+ if '+amgx' in spec:
+ amgx = spec['amgx']
+ if '+shared' in amgx:
+ options += ['AMGX_OPT=-I%s' % amgx.prefix.include,
+ 'AMGX_LIB=%s' %
+ ld_flags_from_library_list(amgx.libs)]
+ else:
+ options += ['AMGX_DIR=%s' % amgx.prefix]
+
if '+libceed' in spec:
options += ['CEED_OPT=-I%s' % spec['libceed'].prefix.include,
'CEED_LIB=%s' %
@@ -677,6 +699,35 @@ class Mfem(Package):
if install_em:
install_tree('data', join_path(prefix_share, 'data'))
+ examples_src_dir = 'examples'
+ examples_data_dir = 'data'
+
+ @run_after('install')
+ def cache_test_sources(self):
+ """Copy the example source files after the package is installed to an
+ install test subdirectory for use during `spack test run`."""
+ self.cache_extra_test_sources([self.examples_src_dir,
+ self.examples_data_dir])
+
+ def test(self):
+ test_dir = join_path(self.install_test_root, self.examples_src_dir)
+ with working_dir(test_dir, create=False):
+ # MFEM has many examples to serve as a suitable smoke check. ex10
+ # was chosen arbitrarily among the examples that work both with
+ # MPI and without it
+ test_exe = 'ex10p' if ('+mpi' in self.spec) else 'ex10'
+ make('CONFIG_MK={0}/share/mfem/config.mk'.format(self.prefix),
+ test_exe, parallel=False)
+ self.run_test('./{0}'.format(test_exe),
+ ['--mesh', '../{0}/beam-quad.mesh'.format(
+ self.examples_data_dir)],
+ [], installed=True, purpose='Smoke test for mfem',
+ skip_missing=False, work_dir='.')
+ make('clean')
+
+ # The files referenced in this patch method do not exist in stable
+ # versions earlier than 4.1.
+ @when('@4.1:')
def patch(self):
# Remove the byte order mark since it messes with some compilers
filter_file(u'\uFEFF', '', 'fem/gslib.hpp')
@@ -700,6 +751,8 @@ class Mfem(Package):
sun_comps += ',nvecparallel,nvecmpiplusx'
else:
sun_comps += ',nvecparhyp,nvecparallel'
+ if '+cuda' in self.spec:
+ sun_comps += ',nveccuda'
return sun_comps
@property
diff --git a/var/spack/repos/builtin/packages/mg/package.py b/var/spack/repos/builtin/packages/mg/package.py
index b2059c5182..a550de0040 100644
--- a/var/spack/repos/builtin/packages/mg/package.py
+++ b/var/spack/repos/builtin/packages/mg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mgis/package.py b/var/spack/repos/builtin/packages/mgis/package.py
index c03680a7d6..79633592dd 100644
--- a/var/spack/repos/builtin/packages/mgis/package.py
+++ b/var/spack/repos/builtin/packages/mgis/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,16 +18,18 @@ class Mgis(CMakePackage):
"""
homepage = "https://thelfer.github.io/mgis/web/index.html"
- url = "https://github.com/thelfer/MFrontGenericInterfaceSupport/archive/MFrontGenericInterfaceSupport-1.1.tar.gz"
+ url = "https://github.com/thelfer/MFrontGenericInterfaceSupport/archive/MFrontGenericInterfaceSupport-1.2.tar.gz"
git = "https://github.com/thelfer/MFrontGenericInterfaceSupport.git"
maintainers = ['thelfer']
# development branches
version("master", branch="master")
+ version("rliv-1.2", branch="rliv-1.2")
version("rliv-1.1", branch="rliv-1.1")
version("rliv-1.0", branch="rliv-1.0")
# released version
+ version('1.2', sha256='ed82ab91cbe17c00ef36578dbfcb4d1817d4c956619b7cccbea3e3f1a3b31940')
version('1.1', sha256='06593d7a052678deaee87ef60b2213db7545c5be9823f261d3388b3978a0b7a5')
version('1.0.1', sha256='6102621455bc5d9b1591cd33e93b2e15a9572d2ce59ca6dfa30ba57ae1265c08')
version('1.0', sha256='279c98da00fa6855edf29c2b8f8bad6e7732298dc62ef67d028d6bbeaac043b3')
@@ -44,9 +46,11 @@ class Mgis(CMakePackage):
values=('Debug', 'Release'))
# dependencies
+ depends_on('tfel@3.4.0', when="@1.2")
depends_on('tfel@3.3.0', when="@1.1")
depends_on('tfel@3.2.1', when="@1.0.1")
depends_on('tfel@3.2.0', when="@1.0")
+ depends_on('tfel@rliv-3.4', when="@rliv-1.2")
depends_on('tfel@rliv-3.3', when="@rliv-1.1")
depends_on('tfel@rliv-3.2', when="@rliv-1.0")
depends_on('tfel@master', when="@master")
@@ -57,6 +61,8 @@ class Mgis(CMakePackage):
args = []
+ args.append("-DUSE_EXTERNAL_COMPILER_FLAGS=ON")
+
for i in ['c', 'fortran', 'python']:
if '+' + i in self.spec:
args.append("-Denable-{0}-bindings=ON".format(i))
diff --git a/var/spack/repos/builtin/packages/microbiomeutil/package.py b/var/spack/repos/builtin/packages/microbiomeutil/package.py
index bcae7ad991..3735be53e7 100644
--- a/var/spack/repos/builtin/packages/microbiomeutil/package.py
+++ b/var/spack/repos/builtin/packages/microbiomeutil/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/migraphx/0001-Adding-nlohmann-json-include-directory.patch b/var/spack/repos/builtin/packages/migraphx/0001-Adding-nlohmann-json-include-directory.patch
new file mode 100644
index 0000000000..4554ca9f3b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/migraphx/0001-Adding-nlohmann-json-include-directory.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index eff5ab4..aca4441 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -197,6 +197,8 @@ add_subdirectory(doc)
+ add_subdirectory(test)
+ add_subdirectory(tools)
+
++target_include_directories(migraphx PUBLIC "${NLOHMANN_JSON_INCLUDE}")
++
+ set(DEST_DIR ${CMAKE_BINARY_DIR})
+ file(GLOB backend_files ${CMAKE_SOURCE_DIR}/src/py/backend/*.py)
+ file(MAKE_DIRECTORY ${DEST_DIR}/lib/onnx_migraphx)
diff --git a/var/spack/repos/builtin/packages/migraphx/package.py b/var/spack/repos/builtin/packages/migraphx/package.py
index 90b438dbf0..47ac2c2b70 100644
--- a/var/spack/repos/builtin/packages/migraphx/package.py
+++ b/var/spack/repos/builtin/packages/migraphx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,23 +10,30 @@ class Migraphx(CMakePackage):
""" AMD's graph optimization engine."""
homepage = "https://github.com/ROCmSoftwarePlatform/AMDMIGraphX"
- url = "https://github.com/ROCmSoftwarePlatform/AMDMIGraphX/archive/rocm-3.5.0.tar.gz"
+ url = "https://github.com/ROCmSoftwarePlatform/AMDMIGraphX/archive/rocm-4.0.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
- def url_for_version(self, version):
- url = "https://github.com/ROCmSoftwarePlatform/AMDMIGraphX/archive/{0}.tar.gz"
- if version > Version('3.5'):
- return url.format(version)
- else:
- return url.format('rocm-' + version)
-
+ version('4.0.0', sha256='b8b845249626e9169353dbfa2530db468972a7569b248c8118ff19e029a12e55')
+ version('3.10.0', sha256='eda22b9af286afb7806e6b5d5ebb0d612dce87c9bad64ba5176fda1c2ed9c9b7')
+ version('3.9.0', sha256='7649689e06522302c07b39abb88bdcc3d4de18a7559d4f6a9e238e92b2074032')
version('3.8.0', sha256='08fa991349a2b95364b0a69be7960580c3e3fde2fda0f0c67bc41429ea2d67a0')
version('3.7.0', sha256='697c3c7babaa025eaabec630dbd8a87d10dc4fe35fafa3b0d3463aaf1fc46399')
version('3.5.0', sha256='5766f3b262468c500be5051a056811a8edfa741734a5c08c4ecb0337b7906377')
+ def url_for_version(self, version):
+ url = "https://github.com/ROCmSoftwarePlatform/AMDMIGraphX/archive/"
+ if version <= Version('3.5.0'):
+ url += "{0}.tar.gz".format(version)
+ else:
+ url += "rocm-{0}.tar.gz".format(version)
+
+ return url
+
variant('build_type', default='Release', values=("Release", "Debug"), description='CMake build type')
+ patch('0001-Adding-nlohmann-json-include-directory.patch', when='@3.9.0:')
+
depends_on('cmake@3:', type='build')
depends_on('protobuf', type='link')
depends_on('blaze', type='build')
@@ -34,16 +41,23 @@ class Migraphx(CMakePackage):
depends_on('py-pybind11', type='build')
depends_on('msgpack-c', type='link')
depends_on('half@1.12.0', type='link')
- for ver in ['3.5.0', '3.7.0', '3.8.0']:
+
+ for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('hip@' + ver, type='build', when='@' + ver)
depends_on('rocm-cmake@' + ver, type='build', when='@' + ver)
depends_on('llvm-amdgpu@' + ver, type='build', when='@' + ver)
depends_on('rocblas@' + ver, type='link', when='@' + ver)
depends_on('miopen-hip@' + ver, type='link', when='@' + ver)
+ if ver in ['3.9.0', '3.10.0', '4.0.0']:
+ depends_on('nlohmann-json')
def cmake_args(self):
args = [
'-DCMAKE_CXX_COMPILER={0}/bin/clang++'
.format(self.spec['llvm-amdgpu'].prefix)
]
+ if '@3.9.0:' in self.spec:
+ args.append('-DNLOHMANN_JSON_INCLUDE={0}'.format(
+ self.spec['nlohmann-json'].prefix.include))
+
return args
diff --git a/var/spack/repos/builtin/packages/migrate/package.py b/var/spack/repos/builtin/packages/migrate/package.py
index 61602546a1..340229905a 100644
--- a/var/spack/repos/builtin/packages/migrate/package.py
+++ b/var/spack/repos/builtin/packages/migrate/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mii/package.py b/var/spack/repos/builtin/packages/mii/package.py
index 15e9dad660..f4fef7b22f 100644
--- a/var/spack/repos/builtin/packages/mii/package.py
+++ b/var/spack/repos/builtin/packages/mii/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/minced/package.py b/var/spack/repos/builtin/packages/minced/package.py
index 06f1ff457f..7f62ba46c8 100644
--- a/var/spack/repos/builtin/packages/minced/package.py
+++ b/var/spack/repos/builtin/packages/minced/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mindthegap/package.py b/var/spack/repos/builtin/packages/mindthegap/package.py
index d3e847a129..b577464ea0 100644
--- a/var/spack/repos/builtin/packages/mindthegap/package.py
+++ b/var/spack/repos/builtin/packages/mindthegap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/miniaero/package.py b/var/spack/repos/builtin/packages/miniaero/package.py
index 3588e87d28..3985f03d7d 100644
--- a/var/spack/repos/builtin/packages/miniaero/package.py
+++ b/var/spack/repos/builtin/packages/miniaero/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/miniamr/package.py b/var/spack/repos/builtin/packages/miniamr/package.py
index 262c7cb856..90f130cc32 100644
--- a/var/spack/repos/builtin/packages/miniamr/package.py
+++ b/var/spack/repos/builtin/packages/miniamr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -26,20 +26,14 @@ class Miniamr(MakefilePackage):
version('1.4.1', sha256='dd8e8d9fd0768cb4f2c5d7fe6989dfa6bb95a8461f04deaccdbb50b0dd51e97a')
version('1.4.0', sha256='f0b959c90416288c5ab51ed86b6ba49bc8a319006c2a74a070c94133267edc6f')
- variant('mpi', default=True, description='Build with MPI support')
-
- depends_on('mpi', when="+mpi")
+ depends_on('mpi')
@property
def build_targets(self):
targets = []
- if '+mpi' in self.spec:
- targets.append('CC={0}'.format(self.spec['mpi'].mpicc))
- targets.append('LD={0}'.format(self.spec['mpi'].mpicc))
- targets.append('LDLIBS=-lm')
- else:
- targets.append('CC={0}'.format(self.compiler.cc))
- targets.append('LD={0}'.format(self.compiler.cc))
+ targets.append('CC={0}'.format(self.spec['mpi'].mpicc))
+ targets.append('LD={0}'.format(self.spec['mpi'].mpicc))
+ targets.append('LDLIBS=-lm')
targets.append('--directory=ref')
return targets
diff --git a/var/spack/repos/builtin/packages/miniasm/package.py b/var/spack/repos/builtin/packages/miniasm/package.py
index 3ab3832b7e..c8ede61a8f 100644
--- a/var/spack/repos/builtin/packages/miniasm/package.py
+++ b/var/spack/repos/builtin/packages/miniasm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/miniconda2/package.py b/var/spack/repos/builtin/packages/miniconda2/package.py
index 1173011a0e..d7e5621b51 100644
--- a/var/spack/repos/builtin/packages/miniconda2/package.py
+++ b/var/spack/repos/builtin/packages/miniconda2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/miniconda3/package.py b/var/spack/repos/builtin/packages/miniconda3/package.py
index b3bda3dfaa..c776637a2c 100644
--- a/var/spack/repos/builtin/packages/miniconda3/package.py
+++ b/var/spack/repos/builtin/packages/miniconda3/package.py
@@ -1,26 +1,46 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
from os.path import split
+import platform
+
+
+_versions = {
+ '4.9.2': {
+ 'Linux-ppc64le': ('2b111dab4b72a34c969188aa7a91eca927a034b14a87f725fa8d295955364e71', 'https://repo.anaconda.com/miniconda/Miniconda3-py38_4.9.2-Linux-ppc64le.sh'),
+ 'Linux-x86_64': ('1314b90489f154602fd794accfc90446111514a5a72fe1f71ab83e07de9504a7', 'https://repo.anaconda.com/miniconda/Miniconda3-py38_4.9.2-Linux-x86_64.sh')},
+ '4.8.2': {
+ 'Linux-x86_64': ('5bbb193fd201ebe25f4aeb3c58ba83feced6a25982ef4afa86d5506c3656c142', 'https://repo.anaconda.com/miniconda/Miniconda3-py38_4.8.2-Linux-x86_64.sh')},
+ '4.7.12.1': {
+ 'Linux-x86_64': ('bfe34e1fa28d6d75a7ad05fd02fa5472275673d5f5621b77380898dee1be15d2', 'https://repo.continuum.io/miniconda/Miniconda3-4.7.12.1-Linux-x86_64.sh')},
+ '4.6.14': {
+ 'Linux-x86_64': ('0d6b23895a91294a4924bd685a3a1f48e35a17970a073cd2f684ffe2c31fc4be', 'https://repo.continuum.io/miniconda/Miniconda3-4.6.14-Linux-x86_64.sh')},
+ '4.5.11': {
+ 'Linux-x86_64': ('ea4594241e13a2671c5b158b3b813f0794fe58d514795fbf72a1aad24db918cf', 'https://repo.continuum.io/miniconda/Miniconda3-4.5.11-Linux-x86_64.sh')},
+ '4.5.4': {
+ 'Linux-x86_64': ('80ecc86f8c2f131c5170e43df489514f80e3971dd105c075935470bbf2476dea', 'https://repo.continuum.io/miniconda/Miniconda3-4.5.4-Linux-x86_64.sh')},
+ '4.3.30': {
+ 'Linux-x86_64': ('66c822dfe76636b4cc2ae5604816e0e723aa01620f50087f06410ecf5bfdf38c', 'https://repo.continuum.io/miniconda/Miniconda3-4.3.30-Linux-x86_64.sh')},
+ '4.3.14': {
+ 'Linux-x86_64': ('902f31a46b4a05477a9862485be5f84af761a444f8813345ff8dad8f6d3bccb2', 'https://repo.continuum.io/miniconda/Miniconda3-4.3.14-Linux-x86_64.sh')},
+ '4.3.11': {
+ 'Linux-x86_64': ('b9fe70ce7b6fa8df05abfb56995959b897d0365299f5046063bc236843474fb8', 'https://repo.continuum.io/miniconda/Miniconda3-4.3.11-Linux-x86_64.sh')},
+}
class Miniconda3(Package):
"""The minimalist bootstrap toolset for conda and Python3."""
homepage = "https://conda.io/miniconda.html"
- url = "https://repo.continuum.io/miniconda/Miniconda3-4.6.14-Linux-x86_64.sh"
-
- version('4.8.2', sha256='5bbb193fd201ebe25f4aeb3c58ba83feced6a25982ef4afa86d5506c3656c142', url='https://repo.anaconda.com/miniconda/Miniconda3-py38_4.8.2-Linux-x86_64.sh', expand=False)
- version('4.7.12.1', sha256='bfe34e1fa28d6d75a7ad05fd02fa5472275673d5f5621b77380898dee1be15d2', expand=False)
- version('4.6.14', sha256='0d6b23895a91294a4924bd685a3a1f48e35a17970a073cd2f684ffe2c31fc4be', expand=False)
- version('4.5.11', sha256='ea4594241e13a2671c5b158b3b813f0794fe58d514795fbf72a1aad24db918cf', expand=False)
- version('4.5.4', sha256='80ecc86f8c2f131c5170e43df489514f80e3971dd105c075935470bbf2476dea', expand=False)
- version('4.3.30', sha256='66c822dfe76636b4cc2ae5604816e0e723aa01620f50087f06410ecf5bfdf38c', expand=False)
- version('4.3.14', sha256='902f31a46b4a05477a9862485be5f84af761a444f8813345ff8dad8f6d3bccb2', expand=False)
- version('4.3.11', sha256='b9fe70ce7b6fa8df05abfb56995959b897d0365299f5046063bc236843474fb8', expand=False)
+
+ for ver, packages in _versions.items():
+ key = "{0}-{1}".format(platform.system(), platform.machine())
+ pkg = packages.get(key)
+ if pkg:
+ version(ver, sha256=pkg[0], url=pkg[1], expand=False)
def install(self, spec, prefix):
# peel the name of the script out of the pathname of the
diff --git a/var/spack/repos/builtin/packages/minife/package.py b/var/spack/repos/builtin/packages/minife/package.py
index 034b9f9569..0a20a6b91c 100644
--- a/var/spack/repos/builtin/packages/minife/package.py
+++ b/var/spack/repos/builtin/packages/minife/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/miniforge3/package.py b/var/spack/repos/builtin/packages/miniforge3/package.py
index 621db7b034..94152c2d8c 100644
--- a/var/spack/repos/builtin/packages/miniforge3/package.py
+++ b/var/spack/repos/builtin/packages/miniforge3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/minigan/package.py b/var/spack/repos/builtin/packages/minigan/package.py
index 5d3b553bcf..cba2ad3652 100644
--- a/var/spack/repos/builtin/packages/minigan/package.py
+++ b/var/spack/repos/builtin/packages/minigan/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/minighost/package.py b/var/spack/repos/builtin/packages/minighost/package.py
index b1903f7e62..65393d3148 100644
--- a/var/spack/repos/builtin/packages/minighost/package.py
+++ b/var/spack/repos/builtin/packages/minighost/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/minigmg/package.py b/var/spack/repos/builtin/packages/minigmg/package.py
index ee519b2210..a6f9107fcb 100644
--- a/var/spack/repos/builtin/packages/minigmg/package.py
+++ b/var/spack/repos/builtin/packages/minigmg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/minimap2/package.py b/var/spack/repos/builtin/packages/minimap2/package.py
index 4c8e2a1c4c..388371d17d 100644
--- a/var/spack/repos/builtin/packages/minimap2/package.py
+++ b/var/spack/repos/builtin/packages/minimap2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,7 +15,7 @@ class Minimap2(PythonPackage):
url = "https://github.com/lh3/minimap2/releases/download/v2.2/minimap2-2.2.tar.bz2"
version('2.14', sha256='9088b785bb0c33488ca3a27c8994648ce21a8be54cb117f5ecee26343facd03b')
- version('2.10', sha256='52b36f726ec00bfca4a2ffc23036d1a2b5f96f0aae5a92fd826be6680c481c20')
+ version('2.10', sha256='52b36f726ec00bfca4a2ffc23036d1a2b5f96f0aae5a92fd826be6680c481c20')
version('2.2', sha256='7e8683aa74c4454a8cfe3821f405c4439082e24c152b4b834fdb56a117ecaed9')
conflicts('target=aarch64:', when='@:2.10')
diff --git a/var/spack/repos/builtin/packages/minimd/package.py b/var/spack/repos/builtin/packages/minimd/package.py
index ceac240146..0f71b46b78 100644
--- a/var/spack/repos/builtin/packages/minimd/package.py
+++ b/var/spack/repos/builtin/packages/minimd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/minio/package.py b/var/spack/repos/builtin/packages/minio/package.py
index 4485f650e7..90275e9b24 100644
--- a/var/spack/repos/builtin/packages/minio/package.py
+++ b/var/spack/repos/builtin/packages/minio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/miniqmc/package.py b/var/spack/repos/builtin/packages/miniqmc/package.py
index 4ac543c4dd..86b68b5fdd 100644
--- a/var/spack/repos/builtin/packages/miniqmc/package.py
+++ b/var/spack/repos/builtin/packages/miniqmc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/minisign/package.py b/var/spack/repos/builtin/packages/minisign/package.py
index 7bb02eb453..d0fa8705fd 100644
--- a/var/spack/repos/builtin/packages/minisign/package.py
+++ b/var/spack/repos/builtin/packages/minisign/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/minismac2d/package.py b/var/spack/repos/builtin/packages/minismac2d/package.py
index 5e89156278..b0c70a16d8 100644
--- a/var/spack/repos/builtin/packages/minismac2d/package.py
+++ b/var/spack/repos/builtin/packages/minismac2d/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/minitri/package.py b/var/spack/repos/builtin/packages/minitri/package.py
index ec7aff1530..0cb0e95f4f 100644
--- a/var/spack/repos/builtin/packages/minitri/package.py
+++ b/var/spack/repos/builtin/packages/minitri/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/minivite/package.py b/var/spack/repos/builtin/packages/minivite/package.py
index 6fb46e80c4..fa355fedf0 100644
--- a/var/spack/repos/builtin/packages/minivite/package.py
+++ b/var/spack/repos/builtin/packages/minivite/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/minixyce/package.py b/var/spack/repos/builtin/packages/minixyce/package.py
index 17d4a4b032..6514ee3a57 100644
--- a/var/spack/repos/builtin/packages/minixyce/package.py
+++ b/var/spack/repos/builtin/packages/minixyce/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/minizip/implicit.patch b/var/spack/repos/builtin/packages/minizip/implicit.patch
new file mode 100644
index 0000000000..86df7d46f0
--- /dev/null
+++ b/var/spack/repos/builtin/packages/minizip/implicit.patch
@@ -0,0 +1,10 @@
+--- a/contrib/minizip/miniunz.c 2010-07-18 11:04:24.000000000 -0500
++++ b/contrib/minizip/miniunz.c 2020-12-25 21:39:19.000000000 -0600
+@@ -45,6 +45,7 @@
+ #include <time.h>
+ #include <errno.h>
+ #include <fcntl.h>
++#include <sys/stat.h>
+
+ #ifdef _WIN32
+ # include <direct.h>
diff --git a/var/spack/repos/builtin/packages/minizip/package.py b/var/spack/repos/builtin/packages/minizip/package.py
index 0bf524da48..85c9fab4b7 100644
--- a/var/spack/repos/builtin/packages/minizip/package.py
+++ b/var/spack/repos/builtin/packages/minizip/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -22,6 +22,13 @@ class Minizip(AutotoolsPackage):
depends_on('m4', type='build')
depends_on('zlib')
+ # error: implicit declaration of function 'mkdir' is invalid in C99
+ patch('implicit.patch', when='%apple-clang@12:')
+
+ # statically link to libz.a
+ # https://github.com/Homebrew/homebrew-core/blob/master/Formula/minizip.rb
+ patch('static.patch')
+
# build minizip and miniunz
@run_before('autoreconf')
def build_minizip_binary(self):
diff --git a/var/spack/repos/builtin/packages/minizip/static.patch b/var/spack/repos/builtin/packages/minizip/static.patch
new file mode 100644
index 0000000000..3030a08e64
--- /dev/null
+++ b/var/spack/repos/builtin/packages/minizip/static.patch
@@ -0,0 +1,26 @@
+--- a/contrib/minizip/Makefile.am 2012-03-26 22:17:41.000000000 -0500
++++ b/contrib/minizip/Makefile.am 2020-12-26 12:48:31.000000000 -0600
+@@ -8,7 +8,7 @@
+ zlib_top_builddir = $(top_builddir)/../..
+
+ AM_CPPFLAGS = -I$(zlib_top_srcdir)
+-AM_LDFLAGS = -L$(zlib_top_builddir)
++AM_LDFLAGS = $(zlib_top_builddir)/libz.a
+
+ if WIN32
+ iowin32_src = iowin32.c
+@@ -22,7 +22,7 @@
+ zip.c \
+ ${iowin32_src}
+
+-libminizip_la_LDFLAGS = $(AM_LDFLAGS) -version-info 1:0:0 -lz
++libminizip_la_LDFLAGS = $(AM_LDFLAGS) -version-info 1:0:0
+
+ minizip_includedir = $(includedir)/minizip
+ minizip_include_HEADERS = \
+@@ -42,4 +42,4 @@
+ miniunzip_LDADD = libminizip.la
+
+ minizip_SOURCES = minizip.c
+-minizip_LDADD = libminizip.la -lz
++minizip_LDADD = libminizip.la
diff --git a/var/spack/repos/builtin/packages/minuit/package.py b/var/spack/repos/builtin/packages/minuit/package.py
index d385fe5f7d..21f5280b6a 100644
--- a/var/spack/repos/builtin/packages/minuit/package.py
+++ b/var/spack/repos/builtin/packages/minuit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/miopen-hip/0001-Add-rocm-path-and-rocm-device-lib-path-flags.patch b/var/spack/repos/builtin/packages/miopen-hip/0001-Add-rocm-path-and-rocm-device-lib-path-flags.patch
new file mode 100644
index 0000000000..b98304529f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/miopen-hip/0001-Add-rocm-path-and-rocm-device-lib-path-flags.patch
@@ -0,0 +1,14 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 985f59f..515e7e0 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -184,7 +184,8 @@ string(REGEX REPLACE --cuda-gpu-arch=[a-z0-9]+ "" HIP_COMPILER_FLAGS "${HIP_COMP
+ message(STATUS "Hip compiler flags: ${HIP_COMPILER_FLAGS}")
+
+ add_definitions("-DHIP_COMPILER_FLAGS=${HIP_COMPILER_FLAGS}")
+-
++add_definitions("--rocm-path=${HIP_PREFIX_PATH}")
++add_definitions("--rocm-device-lib-path=${DEVICELIBS_PREFIX_PATH}")
+
+
+ # HIP
diff --git a/var/spack/repos/builtin/packages/miopen-hip/package.py b/var/spack/repos/builtin/packages/miopen-hip/package.py
index 30577f58e5..37e9b20c69 100644
--- a/var/spack/repos/builtin/packages/miopen-hip/package.py
+++ b/var/spack/repos/builtin/packages/miopen-hip/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,10 +11,13 @@ class MiopenHip(CMakePackage):
"""AMD's library for high performance machine learning primitives."""
homepage = "https://github.com/ROCmSoftwarePlatform/MIOpen"
- url = "https://github.com/ROCmSoftwarePlatform/MIOpen/archive/rocm-3.8.0.tar.gz"
+ url = "https://github.com/ROCmSoftwarePlatform/MIOpen/archive/rocm-4.0.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ version('4.0.0', sha256='84c6c17be9c1a9cd0d3a2af283433f64b07a4b9941349f498e40fed82fb205a6')
+ version('3.10.0', sha256='926e43c5583cf70d6b247f9fe45971b8b1cc9668f9c8490c142c7e8b6e268f1a')
+ version('3.9.0', sha256='f57d75a220c1094395cc1dccab2185c759d779751ddbb5369a6f041ec77b2156')
version('3.8.0', sha256='612b30d4a967bf18c7fa7aa3ef12ed558314ed04cee2775b842bf6a96cd7276f')
version('3.7.0', sha256='f6a6ddd8d39bb76b7f7d91e68ade3b45e0201181145658c43b967065a354b103')
version('3.5.0', sha256='aa362e69c4dce7f5751f0ee04c745735ea5454c8101050e9b92cc60fa3c0fb82')
@@ -22,12 +25,16 @@ class MiopenHip(CMakePackage):
variant('build_type', default='Release', values=("Release", "Debug"), description='CMake build type')
depends_on('cmake@3:', type='build')
- depends_on('boost@1.58.0', type='link')
+ depends_on('boost@1.67.0:1.73.0', type='link')
depends_on('pkgconfig', type='build')
depends_on('bzip2', type='link')
depends_on('sqlite', type='link')
depends_on('half', type='build')
- for ver in ['3.5.0', '3.7.0', '3.8.0']:
+ depends_on('zlib', type='link', when='@3.9.0:')
+
+ patch('0001-Add-rocm-path-and-rocm-device-lib-path-flags.patch', when='@3.9.0:')
+
+ for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('hip@' + ver, type='build', when='@' + ver)
depends_on('rocm-cmake@' + ver, type='build', when='@' + ver)
depends_on('comgr@' + ver, type='link', when='@' + ver)
@@ -36,11 +43,21 @@ class MiopenHip(CMakePackage):
depends_on('rocblas@' + ver, type='link', when='@' + ver)
depends_on('rocm-device-libs@' + ver, type='link', when='@' + ver)
+ def setup_build_environment(self, env):
+ if '@3.9.0:' in self.spec:
+ lib_dir = self.spec['zlib'].libs.directories[0]
+ env.prepend_path('LIBRARY_PATH', lib_dir)
+
def cmake_args(self):
+ hip_prefix_dir = self.spec['hip'].prefix
+ devicelibs_prefix_dir = self.spec['rocm-device-libs'].prefix
args = [
'-DMIOPEN_BACKEND=HIP',
'-DCMAKE_CXX_COMPILER={0}/bin/clang++'
.format(self.spec['llvm-amdgpu'].prefix),
- '-DBoost_USE_STATIC_LIBS=Off'
+ '-DBoost_USE_STATIC_LIBS=Off',
+ '-DHIP_PREFIX_PATH={0}'.format(hip_prefix_dir),
+ '-DDEVICELIBS_PREFIX_PATH={0}/amdgcn/bitcode'
+ .format(devicelibs_prefix_dir)
]
return args
diff --git a/var/spack/repos/builtin/packages/miopen-opencl/package.py b/var/spack/repos/builtin/packages/miopen-opencl/package.py
index d9a4c755af..49cff41d39 100644
--- a/var/spack/repos/builtin/packages/miopen-opencl/package.py
+++ b/var/spack/repos/builtin/packages/miopen-opencl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,10 +11,12 @@ class MiopenOpencl(CMakePackage):
"""AMD's library for high performance machine learning primitives."""
homepage = "https://github.com/ROCmSoftwarePlatform/MIOpen"
- url = "https://github.com/ROCmSoftwarePlatform/MIOpen/archive/rocm-3.8.0.tar.gz"
+ url = "https://github.com/ROCmSoftwarePlatform/MIOpen/archive/rocm-4.0.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ version('4.0.0', sha256='84c6c17be9c1a9cd0d3a2af283433f64b07a4b9941349f498e40fed82fb205a6')
+ version('3.10.0', sha256='926e43c5583cf70d6b247f9fe45971b8b1cc9668f9c8490c142c7e8b6e268f1a')
version('3.9.0', sha256='f57d75a220c1094395cc1dccab2185c759d779751ddbb5369a6f041ec77b2156')
version('3.8.0', sha256='612b30d4a967bf18c7fa7aa3ef12ed558314ed04cee2775b842bf6a96cd7276f')
version('3.7.0', sha256='f6a6ddd8d39bb76b7f7d91e68ade3b45e0201181145658c43b967065a354b103')
@@ -23,13 +25,14 @@ class MiopenOpencl(CMakePackage):
variant('build_type', default='Release', values=("Release", "Debug"), description='CMake build type')
depends_on('cmake@3:', type='build')
- depends_on('boost@1.58.0', type='link')
+ depends_on('boost@1.67.0:1.73.0', type='link')
depends_on('pkgconfig', type='build')
depends_on('bzip2', type='link')
depends_on('sqlite', type='link')
depends_on('half', type='build')
+
depends_on('miopengemm@1.1.6', type='link', when='@3.5.0')
- for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0']:
+ for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('hip@' + ver, type='build', when='@' + ver)
depends_on('rocm-cmake@' + ver, type='build', when='@' + ver)
depends_on('comgr@' + ver, type='link', when='@' + ver)
@@ -37,7 +40,7 @@ class MiopenOpencl(CMakePackage):
depends_on('rocm-opencl@' + ver, type='build', when='@' + ver)
depends_on('rocm-device-libs@' + ver, type='link', when='@' + ver)
depends_on('hsa-rocr-dev@' + ver, type='link', when='@' + ver)
- for ver in ['3.7.0', '3.8.0', '3.9.0']:
+ for ver in ['3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('miopengemm@' + ver, type='link', when='@' + ver)
def cmake_args(self):
diff --git a/var/spack/repos/builtin/packages/miopengemm/package.py b/var/spack/repos/builtin/packages/miopengemm/package.py
index 44f94738cb..8d922a7fac 100644
--- a/var/spack/repos/builtin/packages/miopengemm/package.py
+++ b/var/spack/repos/builtin/packages/miopengemm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class Miopengemm(CMakePackage):
and kernel generator"""
homepage = "https://github.com/ROCmSoftwarePlatform/MIOpenGEMM"
- url = "https://github.com/ROCmSoftwarePlatform/MIOpenGEMM/archive/rocm-3.8.0.tar.gz"
+ url = "https://github.com/ROCmSoftwarePlatform/MIOpenGEMM/archive/rocm-4.0.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
@@ -21,6 +21,8 @@ class Miopengemm(CMakePackage):
url = "https://github.com/ROCmSoftwarePlatform/MIOpenGEMM/archive/rocm-{0}.tar.gz"
return url.format(version)
+ version('4.0.0', sha256='366d03facb1ec5f6f4894aa88859df1d7fea00fee0cbac5173d7577e9a8ba799')
+ version('3.10.0', sha256='66d844a17729ab25c1c2a243667d9714eb89fd51e42bfc014e2faf54a8642064')
version('3.9.0', sha256='8e1273c35d50e9fd92e303d9bcbdd42ddbfda20844b3248428e16b54928f6dc2')
version('3.8.0', sha256='d76f5b4b3b9d1e3589a92f667f39eab5b5ab54ec3c4e04d412035be3ec623547')
version('3.7.0', sha256='392b280ca564b120f6b24ec1fe8782cba08a8a5fb52938e8bc3dc887d3fd08fa')
@@ -31,6 +33,7 @@ class Miopengemm(CMakePackage):
depends_on('cmake@3:', type='build')
depends_on('rocm-cmake@3.5.0', type='build', when='@1.1.6')
depends_on('rocm-opencl@3.5.0', type='build', when='@1.1.6')
- for ver in ['3.7.0', '3.8.0', '3.9.0']:
+
+ for ver in ['3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('rocm-cmake@' + ver, type='build', when='@' + ver)
depends_on('rocm-opencl@' + ver, type='build', when='@' + ver)
diff --git a/var/spack/repos/builtin/packages/mira/package.py b/var/spack/repos/builtin/packages/mira/package.py
index beee0a4906..4caf029858 100644
--- a/var/spack/repos/builtin/packages/mira/package.py
+++ b/var/spack/repos/builtin/packages/mira/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/miranda/package.py b/var/spack/repos/builtin/packages/miranda/package.py
index 7f17619f4b..99aac453e9 100644
--- a/var/spack/repos/builtin/packages/miranda/package.py
+++ b/var/spack/repos/builtin/packages/miranda/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mirdeep2/package.py b/var/spack/repos/builtin/packages/mirdeep2/package.py
index b2c4cd60eb..8420e84c76 100644
--- a/var/spack/repos/builtin/packages/mirdeep2/package.py
+++ b/var/spack/repos/builtin/packages/mirdeep2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mitofates/package.py b/var/spack/repos/builtin/packages/mitofates/package.py
index 0fb356637e..78b88b9397 100644
--- a/var/spack/repos/builtin/packages/mitofates/package.py
+++ b/var/spack/repos/builtin/packages/mitofates/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mitos/package.py b/var/spack/repos/builtin/packages/mitos/package.py
index 080b6cd742..7ac17d906e 100644
--- a/var/spack/repos/builtin/packages/mitos/package.py
+++ b/var/spack/repos/builtin/packages/mitos/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mivisionx/package.py b/var/spack/repos/builtin/packages/mivisionx/package.py
index 64f1d13a23..ee556ce886 100644
--- a/var/spack/repos/builtin/packages/mivisionx/package.py
+++ b/var/spack/repos/builtin/packages/mivisionx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -23,6 +23,9 @@ class Mivisionx(CMakePackage):
url = "https://github.com/GPUOpen-ProfessionalCompute-Libraries/MIVisionX/archive/rocm-{0}.tar.gz"
return url.format(version)
+ version('4.0.0', sha256='e09d4890b729740ded056b3974daea84c8eb1fc93714c52bf89f853c2eef1fb5')
+ version('3.10.0', sha256='8a67fae77a05ef60a501e64a572a7bd2ccb9243518b1414112ccd1d1f78d08c8')
+ version('3.9.0', sha256='892812cc6e6977ed8cd4b69c63f4c17be43b83c78eeafd9549236c17f6eaa2af')
version('3.8.0', sha256='4e177a9b5dcae671d6ea9f0686cf5f73fcd1e3feb3c50425c8c6d43ac5d77feb')
version('3.7.0', sha256='3ce13c6449739c653139fc121411d94eaa9d764d3d339c4c78fab4b8aa199965')
version('1.7', sha256='ff77142fd4d4a93136fd0ac17348861f10e8f5d5f656fa9dacee08d8fcd2b1d8')
@@ -38,12 +41,13 @@ class Mivisionx(CMakePackage):
depends_on('ffmpeg@4.1.1', type='build')
depends_on('protobuf@3.5.0', type='build')
- depends_on('opencv@3.4.6', type='build')
+ depends_on('opencv@3.4.6 +calib3d+core+features2d+highgui+imgcodecs+imgproc+video+videoio+videostab+flann', type='build')
depends_on('rocm-opencl@3.5.0', type='build', when='@1.7')
depends_on('rocm-cmake@3.5.0', type='build', when='@1.7')
depends_on('miopen-opencl@3.5.0', type=('build', 'run', 'link'), when='@1.7')
depends_on('miopengemm@1.1.6', type=('build', 'run', 'link'), when='@1.7')
- for ver in ['3.7.0', '3.8.0']:
+ depends_on('openssl', type=('build', 'link'), when='@4.0.0')
+ for ver in ['3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('rocm-opencl@' + ver, type='build', when='@' + ver)
depends_on('rocm-cmake@' + ver, type='build', when='@' + ver)
depends_on('miopengemm@' + ver, type=('build', 'run', 'link'), when='@' + ver)
diff --git a/var/spack/repos/builtin/packages/mixcr/package.py b/var/spack/repos/builtin/packages/mixcr/package.py
index 1b0e781b45..5990f5e063 100644
--- a/var/spack/repos/builtin/packages/mixcr/package.py
+++ b/var/spack/repos/builtin/packages/mixcr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mkfontdir/package.py b/var/spack/repos/builtin/packages/mkfontdir/package.py
index ae9885002e..a6f8e9aaff 100644
--- a/var/spack/repos/builtin/packages/mkfontdir/package.py
+++ b/var/spack/repos/builtin/packages/mkfontdir/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mkfontscale/package.py b/var/spack/repos/builtin/packages/mkfontscale/package.py
index d3ba5e0861..aaae9efe69 100644
--- a/var/spack/repos/builtin/packages/mkfontscale/package.py
+++ b/var/spack/repos/builtin/packages/mkfontscale/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,6 +18,6 @@ class Mkfontscale(AutotoolsPackage, XorgPackage):
depends_on('libfontenc')
depends_on('freetype')
- depends_on('xproto@7.0.25:', type='build')
+ depends_on('xproto@7.0.25:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/mlhka/package.py b/var/spack/repos/builtin/packages/mlhka/package.py
index 32d259139c..9e3f16b02e 100644
--- a/var/spack/repos/builtin/packages/mlhka/package.py
+++ b/var/spack/repos/builtin/packages/mlhka/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mlocate/package.py b/var/spack/repos/builtin/packages/mlocate/package.py
index c33850fb31..ac0335fa11 100644
--- a/var/spack/repos/builtin/packages/mlocate/package.py
+++ b/var/spack/repos/builtin/packages/mlocate/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mlperf-deepcam/package.py b/var/spack/repos/builtin/packages/mlperf-deepcam/package.py
index 55c74fda45..47e741bac1 100644
--- a/var/spack/repos/builtin/packages/mlperf-deepcam/package.py
+++ b/var/spack/repos/builtin/packages/mlperf-deepcam/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mmg/package.py b/var/spack/repos/builtin/packages/mmg/package.py
index b48f969bc8..a420975bb3 100644
--- a/var/spack/repos/builtin/packages/mmg/package.py
+++ b/var/spack/repos/builtin/packages/mmg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/moab/package.py b/var/spack/repos/builtin/packages/moab/package.py
index 6ca3c70ba1..118b822d32 100644
--- a/var/spack/repos/builtin/packages/moab/package.py
+++ b/var/spack/repos/builtin/packages/moab/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -20,10 +20,13 @@ class Moab(AutotoolsPackage):
git = "https://bitbucket.org/fathomteam/moab.git"
url = "http://ftp.mcs.anl.gov/pub/fathom/moab-5.0.0.tar.gz"
+ maintainers = ['vijaysm', 'iulian787']
+
version('develop', branch='develop')
version('master', branch='master')
- # Version 5.0.2 disappeared from FTP server. Instead set temporary version
- # of MoAB to 5.0.2 set to current head of the master branch.
+ version('5.2.1', sha256='60d31762be3f0e5c89416c764e844ec88dac294169b59a5ead3c316b50f85c29')
+ version('5.2.0', sha256='805ed3546deff39e076be4d1f68aba1cf0dda8c34ce43e1fc179d1aff57c5d5d')
+ version('5.1.0', sha256='0371fc25d2594589e95700739f01614f097b6157fb6023ed8995e582726ca658')
version('5.0.2', commit='01d05b1805236ef44da36f67eb2701095f2e33c7')
version('5.0.1', commit='6cc12bd4ae3fa7c9ad81c595e4d38fa84f0884be')
version('5.0.0', sha256='df5d5eb8c0d0dbb046de2e60aa611f276cbf007c9226c44a24ed19c570244e64')
diff --git a/var/spack/repos/builtin/packages/mochi-margo/package.py b/var/spack/repos/builtin/packages/mochi-margo/package.py
new file mode 100644
index 0000000000..a98ee36d1a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/mochi-margo/package.py
@@ -0,0 +1,55 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class MochiMargo(AutotoolsPackage):
+ """A library that provides Argobots bindings to the Mercury RPC
+ implementation."""
+
+ homepage = 'https://xgitlab.cels.anl.gov/sds/margo'
+ git = 'https://xgitlab.cels.anl.gov/sds/margo.git'
+ url = 'https://xgitlab.cels.anl.gov/sds/margo/-/archive/v0.9/margo-v0.9.tar.gz'
+
+ maintainers = ['carns', 'mdorier', 'fbudin69500', 'chuckatkins']
+
+ version('master', branch='master')
+ version('0.9', sha256='a24376f66450cc8fd7a43043e189f8efce5a931585e53c1e2e41894a3e99b517')
+ version('0.7', sha256='492d1afe2e7984fa638614a5d34486d2ff761f5599b5984efd5ae3f55cafde54')
+ version('0.7.2', sha256='0ca796abdb82084813a5de033d92364910b5ad1a0df135534d6b1c36ef627859')
+ version('0.7.1', sha256='eebbe02c47ed4c65ef1d4f23ffdc6a8aa2e2348ca6c51bfc3c4dfbf78fbfc30b')
+ version('0.6', sha256='56feb718da2b155d7277a7b10b669516ebffaa034f811f3665ceed7ad0f19d1b')
+ version('0.6.4', sha256='5ba1c72ee05aa9738d3dc4d6d01bd59790284c6c77b909c5d7756fe7049d6177')
+ version('0.6.3', sha256='5f373cd554edd15cead58bd5d30093bd88d45039d06ff7738eb18b3674287c76')
+ version('0.6.2', sha256='c6a6909439e1d3ba1a1693d8da66057eb7e4ec4b239c04bc7f19fc487c4c58da')
+ version('0.6.1', sha256='80d8d15d0917b5522c31dc2d83136de2313d50ca05c71c5e5ad83c483a3214b7')
+ version('0.5', sha256='d3b768b8300bc2cb87964e74c39b4e8eb9822d8a2e56fc93dc475ddcb1a868e3')
+ version('0.5.2', sha256='73be3acaf012a85a91ac62824c93f5ee1ea0ffe4c25779ece19723f4baf9547d')
+ version('0.5.1', sha256='6fdf58e189538e22341c8361ab069fc80fe5460a6869882359b295a890febad7')
+ version('0.4.7', sha256='596d83b11fb2bd9950fd99c9ab12c14915ab2cda233084ae40ecae1e6c584333')
+ version('0.4.6', sha256='b27447a2050ae61091bae3ff6b4d23a56153947f18847face9f98facbdb4e329')
+ version('0.4.5', sha256='b0d02f73edf180f2393f54c5a980620b8d6dcd42b90efdea6866861824fa49cf')
+ version('0.4.4', sha256='2e2e6e2a8a7d7385e2fe204c113cb149f30847f0b1f48ec8dd708a74280bd89e')
+ version('0.4.3', sha256='61a634d6983bee2ffa06e1e2da4c541cb8f56ddd9dd9f8e04e8044fb38657475')
+ version('0.4.2', sha256='91085e28f50e373b9616e1ae5c3c8d40a19a7d3776259592d8f361766890bcaa')
+
+ depends_on('json-c', when='@0.9:')
+ depends_on('autoconf@2.65:', type=("build"))
+ depends_on('m4', type=('build'))
+ depends_on('automake', type=("build"))
+ depends_on('libtool', type=("build"))
+ depends_on('pkgconfig', type=("build"))
+ depends_on('argobots@1.0:')
+ # "breadcrumb" support not available in mercury-1.0
+ depends_on('mercury@1.0.0:', type=("build", "link", "run"), when='@:0.5.1')
+ depends_on('mercury@2.0.0:', type=("build", "link", "run"), when='@0.5.2:')
+
+ # dependencies for develop version
+ depends_on('mercury@master', type=("build", "link", "run"), when='@develop')
+
+ def autoreconf(self, spec, prefix):
+ sh = which('sh')
+ sh('./prepare.sh')
diff --git a/var/spack/repos/builtin/packages/modern-wheel/package.py b/var/spack/repos/builtin/packages/modern-wheel/package.py
index 9fae68cd0d..b63dcab8ec 100644
--- a/var/spack/repos/builtin/packages/modern-wheel/package.py
+++ b/var/spack/repos/builtin/packages/modern-wheel/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/modylas/package.py b/var/spack/repos/builtin/packages/modylas/package.py
index ada4bc7fed..026bf42f6e 100644
--- a/var/spack/repos/builtin/packages/modylas/package.py
+++ b/var/spack/repos/builtin/packages/modylas/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,6 +17,7 @@ class Modylas(AutotoolsPackage):
homepage = "https://www.modylas.org"
url = "file://{0}/MODYLAS_1.0.4.tar.gz".format(os.getcwd())
+ manual_download = True
version('1.0.4', 'e0b5cccf8e363c1182eced37aa31b06b1c5b1526da7d449a6142424ac4ea6311')
diff --git a/var/spack/repos/builtin/packages/mofem-cephas/package.py b/var/spack/repos/builtin/packages/mofem-cephas/package.py
index 24e8815084..15530f5df8 100644
--- a/var/spack/repos/builtin/packages/mofem-cephas/package.py
+++ b/var/spack/repos/builtin/packages/mofem-cephas/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mofem-fracture-module/package.py b/var/spack/repos/builtin/packages/mofem-fracture-module/package.py
index 784bb9931c..1abce3b805 100644
--- a/var/spack/repos/builtin/packages/mofem-fracture-module/package.py
+++ b/var/spack/repos/builtin/packages/mofem-fracture-module/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mofem-minimal-surface-equation/package.py b/var/spack/repos/builtin/packages/mofem-minimal-surface-equation/package.py
index 58e0342080..93bbdfdb23 100644
--- a/var/spack/repos/builtin/packages/mofem-minimal-surface-equation/package.py
+++ b/var/spack/repos/builtin/packages/mofem-minimal-surface-equation/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mofem-users-modules/package.py b/var/spack/repos/builtin/packages/mofem-users-modules/package.py
index f0acc98d94..3373a60a88 100644
--- a/var/spack/repos/builtin/packages/mofem-users-modules/package.py
+++ b/var/spack/repos/builtin/packages/mofem-users-modules/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mokutil/package.py b/var/spack/repos/builtin/packages/mokutil/package.py
index 6b7c4571f3..cc1722da72 100644
--- a/var/spack/repos/builtin/packages/mokutil/package.py
+++ b/var/spack/repos/builtin/packages/mokutil/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/molcas/package.py b/var/spack/repos/builtin/packages/molcas/package.py
index bbe92073ad..f90559b826 100644
--- a/var/spack/repos/builtin/packages/molcas/package.py
+++ b/var/spack/repos/builtin/packages/molcas/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/molden/for_aarch64.patch b/var/spack/repos/builtin/packages/molden/for_aarch64.patch
new file mode 100644
index 0000000000..8b2c6a8911
--- /dev/null
+++ b/var/spack/repos/builtin/packages/molden/for_aarch64.patch
@@ -0,0 +1,8 @@
+--- spack-src/src/xwin.c.bak 2020-09-18 19:13:33.000000000 +0900
++++ spack-src/src/xwin.c 2020-12-23 16:06:13.764560722 +0900
+@@ -1,4 +1,4 @@
+-#ifndef DARWIN
++#if 0
+ __asm__(".symver memcpy,memcpy@GLIBC_2.2.5");
+ __asm__(".symver memmove,memmove@GLIBC_2.2.5");
+ __asm__(".symver log,log@GLIBC_2.2.5");
diff --git a/var/spack/repos/builtin/packages/molden/package.py b/var/spack/repos/builtin/packages/molden/package.py
index e70bcb5632..dbbd0fe024 100644
--- a/var/spack/repos/builtin/packages/molden/package.py
+++ b/var/spack/repos/builtin/packages/molden/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -24,6 +24,9 @@ class Molden(MakefilePackage):
depends_on('makedepend', type='build')
parallel = False # building in parallel is broken
+ build_targets = ['clean', 'all']
+
+ patch('for_aarch64.patch', when='target=aarch64:')
def edit(self, spec, prefix):
makefile = FileFilter('makefile')
@@ -53,5 +56,9 @@ class Molden(MakefilePackage):
makefile.filter(r'CFLAGS = (.*)', r'CFLAGS = {0} \1'.format(cflags))
makefile.filter(r'FFLAGS = (.*)', r'FFLAGS = {0} \1'.format(fflags))
+ if spec.target.family == 'aarch64':
+ makefile.filter(r'AFLAG=*', r'AFLAG=')
+ makefile.filter(r'rm -f src/', r'rm -f ')
+
def install(self, spec, prefix):
install_tree('bin', prefix.bin)
diff --git a/var/spack/repos/builtin/packages/mongo-c-driver/package.py b/var/spack/repos/builtin/packages/mongo-c-driver/package.py
index a399cef77d..a586043220 100644
--- a/var/spack/repos/builtin/packages/mongo-c-driver/package.py
+++ b/var/spack/repos/builtin/packages/mongo-c-driver/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mongo-cxx-driver/package.py b/var/spack/repos/builtin/packages/mongo-cxx-driver/package.py
index 7184995b5b..240152ca4a 100644
--- a/var/spack/repos/builtin/packages/mongo-cxx-driver/package.py
+++ b/var/spack/repos/builtin/packages/mongo-cxx-driver/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mongodb-async-driver/package.py b/var/spack/repos/builtin/packages/mongodb-async-driver/package.py
index a2f6923b27..08ded87114 100644
--- a/var/spack/repos/builtin/packages/mongodb-async-driver/package.py
+++ b/var/spack/repos/builtin/packages/mongodb-async-driver/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mono/package.py b/var/spack/repos/builtin/packages/mono/package.py
index 8b4e36b2b6..80ab3c3db8 100644
--- a/var/spack/repos/builtin/packages/mono/package.py
+++ b/var/spack/repos/builtin/packages/mono/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/montage/package.py b/var/spack/repos/builtin/packages/montage/package.py
index e663fb418c..08c8253ae6 100644
--- a/var/spack/repos/builtin/packages/montage/package.py
+++ b/var/spack/repos/builtin/packages/montage/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/moosefs/package.py b/var/spack/repos/builtin/packages/moosefs/package.py
index c74de5a723..60f73013d4 100644
--- a/var/spack/repos/builtin/packages/moosefs/package.py
+++ b/var/spack/repos/builtin/packages/moosefs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/moreutils/package.py b/var/spack/repos/builtin/packages/moreutils/package.py
index 96e081c92a..a7bd53a1b1 100644
--- a/var/spack/repos/builtin/packages/moreutils/package.py
+++ b/var/spack/repos/builtin/packages/moreutils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mosh/package.py b/var/spack/repos/builtin/packages/mosh/package.py
index f741279159..33d4cb435c 100644
--- a/var/spack/repos/builtin/packages/mosh/package.py
+++ b/var/spack/repos/builtin/packages/mosh/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mothur/package.py b/var/spack/repos/builtin/packages/mothur/package.py
index 4e25a4dd3e..24e22dfa1b 100644
--- a/var/spack/repos/builtin/packages/mothur/package.py
+++ b/var/spack/repos/builtin/packages/mothur/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/motif/package.py b/var/spack/repos/builtin/packages/motif/package.py
index c64d35fc43..8491244146 100644
--- a/var/spack/repos/builtin/packages/motif/package.py
+++ b/var/spack/repos/builtin/packages/motif/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/motioncor2/package.py b/var/spack/repos/builtin/packages/motioncor2/package.py
index 8ef8a5719f..a689bbb102 100644
--- a/var/spack/repos/builtin/packages/motioncor2/package.py
+++ b/var/spack/repos/builtin/packages/motioncor2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mount-point-attributes/package.py b/var/spack/repos/builtin/packages/mount-point-attributes/package.py
index 3ab6808c3e..74bf697faa 100644
--- a/var/spack/repos/builtin/packages/mount-point-attributes/package.py
+++ b/var/spack/repos/builtin/packages/mount-point-attributes/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,10 @@ class MountPointAttributes(AutotoolsPackage):
homepage = "https://github.com/LLNL/MountPointAttributes"
url = 'https://github.com/LLNL/MountPointAttributes/files/2270601/mountpointattr-1.1.tar.gz'
+ git = "https://github.com/LLNL/MountPointAttributes.git"
+ maintainers = ['lee218llnl']
+ version('master', branch='master')
version('1.1', sha256='bff84c75c47b74ea09b6cff949dd699b185ddba0463cb1ff39ab138003c96e02')
depends_on('autoconf', type='build')
diff --git a/var/spack/repos/builtin/packages/mozjs/package.py b/var/spack/repos/builtin/packages/mozjs/package.py
index 4ba1faaa6a..abc52c3523 100644
--- a/var/spack/repos/builtin/packages/mozjs/package.py
+++ b/var/spack/repos/builtin/packages/mozjs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -34,7 +34,7 @@ class Mozjs(AutotoolsPackage):
patch('perl-bug.patch')
# Note: According to https://github.com/apache/couchdb-pkg/tree/master/js/rpm/SOURCES
# There is some patch for mozjs@1.8.5 to fix compile issue.
- # Patches required to fix the issue:https://bugzilla.mozilla.org/show_bug.cgi?id=638056
+ # Patches required to fix the issue:https://bugzilla.mozilla.org/show_bug.cgi?id=638056
patch('Bug-638056-Avoid-The-cacheFlush-support-is-missing-o.patch',
sha256='b1c869a65f5ebc10741d4631cc2e1e166c6ed53035cfa56bede55a4c19b7b118', when='@1.8.5')
patch('fix-811665.patch',
diff --git a/var/spack/repos/builtin/packages/mpark-variant/package.py b/var/spack/repos/builtin/packages/mpark-variant/package.py
index 67fd8249de..86f3cf3a4d 100644
--- a/var/spack/repos/builtin/packages/mpark-variant/package.py
+++ b/var/spack/repos/builtin/packages/mpark-variant/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mpas-model/makefile.patch b/var/spack/repos/builtin/packages/mpas-model/makefile.patch
new file mode 100644
index 0000000000..a03f40f397
--- /dev/null
+++ b/var/spack/repos/builtin/packages/mpas-model/makefile.patch
@@ -0,0 +1,13 @@
+--- spack-src/Makefile.org 2021-01-06 10:11:15.852202444 +0900
++++ spack-src/Makefile 2021-01-06 10:35:16.191769328 +0900
+@@ -459,8 +459,10 @@
+ # Keep open the possibility of shared libraries in future with, e.g., .so suffix
+ #
+ ifneq ($(wildcard $(PIO_LIB)/libpio\.*), )
++ifneq ($(wildcard $(PIO_LIB)/libpio\.*),$(PIO_LIB)/libpio.settings)
+ LIBS += -lpio
+ endif
++endif
+ ifneq ($(wildcard $(PIO_LIB)/libpiof\.*), )
+ LIBS += -lpiof
+ endif
diff --git a/var/spack/repos/builtin/packages/mpas-model/package.py b/var/spack/repos/builtin/packages/mpas-model/package.py
new file mode 100644
index 0000000000..1a14b800f0
--- /dev/null
+++ b/var/spack/repos/builtin/packages/mpas-model/package.py
@@ -0,0 +1,94 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class MpasModel(MakefilePackage):
+ """The Model for Prediction Across Scales (MPAS) is a collaborative
+ project for developing atmosphere, ocean and other earth-system
+ simulation components for use in climate, regional climate and weather
+ studies."""
+
+ homepage = "https://mpas-dev.github.io/"
+ url = "https://github.com/MPAS-Dev/MPAS-Model/archive/v7.0.tar.gz"
+
+ version('7.0', sha256='f898ce257e66cff9e29320458870570e55721d16cb000de7f2cc27de7fdef14f')
+ version('6.3', sha256='e7f1d9ebfeb6ada37d42a286aaedb2e69335cbc857049dc5c5544bb51e7a8db8')
+ version('6.2', sha256='2a81825a62a468bf5c56ef9d9677aa2eb88acf78d4f996cb49a7db98b94a6b16')
+
+ depends_on('mpi')
+ depends_on('parallelio')
+
+ patch('makefile.patch', when='@7.0')
+
+ parallel = False
+
+ resource(when='@6.2:6.3',
+ name='MPAS-Data',
+ git='https://github.com/MPAS-Dev/MPAS-Data.git',
+ commit='33561790de8b43087ab850be833f51a4e605f1bb')
+ resource(when='@7.0',
+ name='MPAS-Data',
+ git='https://github.com/MPAS-Dev/MPAS-Data.git',
+ tag='v7.0')
+
+ def target(self, model, action):
+ spec = self.spec
+ satisfies = spec.satisfies
+ fflags = [self.compiler.openmp_flag]
+ cppflags = ['-D_MPI']
+ if satisfies('%gcc'):
+ fflags.extend([
+ '-ffree-line-length-none',
+ '-fconvert=big-endian',
+ '-ffree-form',
+ '-fdefault-real-8',
+ '-fdefault-double-8',
+ ])
+ cppflags.append('-DUNDERSCORE')
+ elif satisfies('%fj'):
+ fflags.extend([
+ '-Free',
+ '-Fwide',
+ '-CcdRR8',
+ ])
+ cppflags.append('-DUNDERSCORE')
+ targets = [
+ 'FC_PARALLEL={0}'.format(spec['mpi'].mpifc),
+ 'CC_PARALLEL={0}'.format(spec['mpi'].mpicc),
+ 'CXX_PARALLEL={0}'.format(spec['mpi'].mpicxx),
+ 'FC_SERIAL={0}'.format(spack_fc),
+ 'CC_SERIAL={0}'.format(spack_cc),
+ 'CXX_SERIAL={0}'.format(spack_cxx),
+ 'CFLAGS_OMP={0}'.format(self.compiler.openmp_flag),
+ 'FFLAGS_OMP={0}'.format(' '.join(fflags)),
+ 'CPPFLAGS={0}'.format(' '.join(cppflags)),
+ 'PIO={0}'.format(spec['parallelio'].prefix),
+ 'NETCDF={0}'.format(spec['netcdf-c'].prefix),
+ 'NETCDFF={0}'.format(spec['netcdf-fortran'].prefix)
+ ]
+ if satisfies('^parallelio+pnetcdf'):
+ targets.append(
+ 'PNETCDF={0}'.format(spec['parallel-netcdf'].prefix)
+ )
+ targets.extend([
+ 'USE_PIO2=true', 'CPP_FLAGS=-D_MPI', 'OPENMP=true',
+ 'CORE={0}'.format(model), action
+ ])
+ return targets
+
+ def build(self, spec, prefix):
+ copy_tree(join_path('MPAS-Data', 'atmosphere'),
+ join_path('src', 'core_atmosphere', 'physics'))
+ make(*self.target('init_atmosphere', 'all'))
+ mkdir('bin')
+ copy('init_atmosphere_model', 'bin')
+ make(*self.target('init_atmosphere', 'clean'))
+ make(*self.target('atmosphere', 'all'))
+ copy('atmosphere_model', 'bin')
+
+ def install(self, spec, prefix):
+ install_tree('bin', prefix.bin)
diff --git a/var/spack/repos/builtin/packages/mpc/package.py b/var/spack/repos/builtin/packages/mpc/package.py
index adca4e3fcf..f5f84033f5 100644
--- a/var/spack/repos/builtin/packages/mpc/package.py
+++ b/var/spack/repos/builtin/packages/mpc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mpdecimal/package.py b/var/spack/repos/builtin/packages/mpdecimal/package.py
index a8ae10d5ff..2f0cbafbbd 100644
--- a/var/spack/repos/builtin/packages/mpdecimal/package.py
+++ b/var/spack/repos/builtin/packages/mpdecimal/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mpe2/package.py b/var/spack/repos/builtin/packages/mpe2/package.py
index 236b2550cc..88a477b644 100644
--- a/var/spack/repos/builtin/packages/mpe2/package.py
+++ b/var/spack/repos/builtin/packages/mpe2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mpest/package.py b/var/spack/repos/builtin/packages/mpest/package.py
index 17787761fb..17df8ca3be 100644
--- a/var/spack/repos/builtin/packages/mpest/package.py
+++ b/var/spack/repos/builtin/packages/mpest/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mpfi/package.py b/var/spack/repos/builtin/packages/mpfi/package.py
new file mode 100644
index 0000000000..c87e0006b4
--- /dev/null
+++ b/var/spack/repos/builtin/packages/mpfi/package.py
@@ -0,0 +1,31 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Mpfi(AutotoolsPackage):
+ """Library for arbitrary precision interval arithmetic based on MPFR"""
+
+ # Notice: no simple way to deduct URL from version
+ homepage = "https://perso.ens-lyon.fr/nathalie.revol/software.html"
+
+ version('1.5.4', url='https://gforge.inria.fr/frs/download.php/file/38111/mpfi-1.5.4.tgz',
+ sha256='3b3938595d720af17973deaf727cfc0dd41c8b16c20adc103a970f4a43ae3a56')
+ version('1.5.3', url='https://gforge.inria.fr/frs/download.php/file/37331/mpfi-1.5.3.tar.bz2',
+ sha256='2383d457b208c6cd3cf2e66b69c4ce47477b2a0db31fbec0cd4b1ebaa247192f')
+
+ depends_on('autoconf', type='build')
+ depends_on('automake', type='build')
+ depends_on('libtool', type='build')
+ depends_on('m4', type='build')
+ depends_on('texinfo', type='build')
+ depends_on('gmp', type=('build', 'link'))
+ depends_on('mpfr', type=('build', 'link'))
+
+ def configure_args(self):
+ args = ['--with-gmp=' + self.spec['gmp'].prefix,
+ '--with-mpfr=' + self.spec['mpfr'].prefix]
+ return args
diff --git a/var/spack/repos/builtin/packages/mpfr/package.py b/var/spack/repos/builtin/packages/mpfr/package.py
index fa97da76ed..054ffdfc23 100644
--- a/var/spack/repos/builtin/packages/mpfr/package.py
+++ b/var/spack/repos/builtin/packages/mpfr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mpi-bash/package.py b/var/spack/repos/builtin/packages/mpi-bash/package.py
index 0a3d9eb30a..e221beac84 100644
--- a/var/spack/repos/builtin/packages/mpi-bash/package.py
+++ b/var/spack/repos/builtin/packages/mpi-bash/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mpi/package.py b/var/spack/repos/builtin/packages/mpi/package.py
index 731a5ac731..c82af559b5 100644
--- a/var/spack/repos/builtin/packages/mpi/package.py
+++ b/var/spack/repos/builtin/packages/mpi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mpich/package.py b/var/spack/repos/builtin/packages/mpich/package.py
index d44d8a5a2d..44c94a6d8f 100644
--- a/var/spack/repos/builtin/packages/mpich/package.py
+++ b/var/spack/repos/builtin/packages/mpich/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -24,6 +24,8 @@ class Mpich(AutotoolsPackage):
executables = ['^mpichversion$']
version('develop', submodules=True)
+ version('3.4.1', sha256='8836939804ef6d492bcee7d54abafd6477d2beca247157d92688654d13779727')
+ version('3.4', sha256='ce5e238f0c3c13ab94a64936060cff9964225e3af99df1ea11b130f20036c24b')
version('3.3.2', sha256='4bfaf8837a54771d3e4922c84071ef80ffebddbb6971a006038d91ee7ef959b9')
version('3.3.1', sha256='fe551ef29c8eea8978f679484441ed8bb1d943f6ad25b63c235d4b9243d551e5')
version('3.3', sha256='329ee02fe6c3d101b6b30a7b6fb97ddf6e82b28844306771fa9dd8845108fa0b')
@@ -51,15 +53,16 @@ class Mpich(AutotoolsPackage):
)
variant(
'device',
- default='ch3',
+ default='ch4',
description='''Abstract Device Interface (ADI)
-implementation. The ch4 device is currently in experimental state''',
+implementation. The ch4 device is in experimental state for versions
+before 3.4.''',
values=('ch3', 'ch4'),
multi=False
)
variant(
'netmod',
- default='tcp',
+ default='ofi',
description='''Network module. Only single netmod builds are
supported. For ch3 device configurations, this presumes the
ch3:nemesis communication channel. ch3:sock is not supported by this
@@ -87,9 +90,10 @@ spack package at this time.''',
# Fix using an external hwloc
# See https://github.com/pmodels/mpich/issues/4038
# and https://github.com/pmodels/mpich/pull/3540
+ # landed in v3.4b1 v3.4a3
patch('https://github.com/pmodels/mpich/commit/8a851b317ee57366cd15f4f28842063d8eff4483.patch',
sha256='eb982de3366d48cbc55eb5e0df43373a45d9f51df208abf0835a72dc6c0b4774',
- when='@3.3 +hwloc')
+ when='@3.3:3.3.99 +hwloc')
# fix MPI_Barrier segmentation fault
# see https://lists.mpich.org/pipermail/discuss/2016-May/004764.html
@@ -159,10 +163,10 @@ spack package at this time.''',
depends_on("autoconf@2.67:", when='@develop', type=("build"))
# building with "+hwloc' also requires regenerating autotools files
- depends_on('automake@1.15:', when='@3.3 +hwloc', type="build")
- depends_on('libtool@2.4.4:', when='@3.3 +hwloc', type="build")
- depends_on("m4", when="@3.3 +hwloc", type="build"),
- depends_on("autoconf@2.67:", when='@3.3 +hwloc', type="build")
+ depends_on('automake@1.15:', when='@3.3:3.3.99 +hwloc', type="build")
+ depends_on('libtool@2.4.4:', when='@3.3:3.3.99 +hwloc', type="build")
+ depends_on("m4", when="@3.3:3.3.99 +hwloc", type="build"),
+ depends_on("autoconf@2.67:", when='@3.3:3.3.99 +hwloc', type="build")
# MPICH's Yaksa submodule requires python to configure
depends_on("python@3.0:", when="@develop", type="build")
@@ -183,6 +187,9 @@ spack package at this time.''',
conflicts('+pci', when='@:3.2~hydra')
conflicts('+libxml2', when='@:3.2~hydra')
+ # see https://github.com/pmodels/mpich/pull/5031
+ conflicts('%clang@:7', when='@3.4:')
+
@classmethod
def determine_version(cls, exe):
output = Executable(exe)(output=str, error=str)
@@ -304,6 +311,10 @@ spack package at this time.''',
# Cray MPIs always have cray in the module name, e.g. "cray-mpich"
external_modules = self.spec.external_modules
if external_modules and 'cray' in external_modules[0]:
+ # This is intended to support external MPICH instances registered
+ # by Spack on Cray machines prior to a879c87; users defining an
+ # external MPICH entry for Cray should generally refer to the
+ # "cray-mpich" package
env.set('MPICC', spack_cc)
env.set('MPICXX', spack_cxx)
env.set('MPIF77', spack_fc)
@@ -351,7 +362,7 @@ spack package at this time.''',
"""Not needed usually, configure should be already there"""
# If configure exists nothing needs to be done
if (os.path.exists(self.configure_abs_path) and
- not spec.satisfies('@3.3 +hwloc')):
+ not spec.satisfies('@3.3:3.3.99 +hwloc')):
return
# Else bootstrap with autotools
bash = which('bash')
diff --git a/var/spack/repos/builtin/packages/mpifileutils/package.py b/var/spack/repos/builtin/packages/mpifileutils/package.py
index e06f36ec54..6385f9270e 100644
--- a/var/spack/repos/builtin/packages/mpifileutils/package.py
+++ b/var/spack/repos/builtin/packages/mpifileutils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -21,6 +21,7 @@ class Mpifileutils(Package):
git = "https://github.com/hpc/mpifileutils.git"
version('develop', branch='master')
+ version('0.11', sha256='f5dc1b39077b3c04f79b2c335c4fd80306f8c57ecfbcacbb82cf532caf02b5fd')
version('0.10.1', sha256='4c8409ef4140f6f557d0e93f0c1267baf5d893c203b29fb7a33d9bc3c5a5d25c')
version('0.10', sha256='5a71a9acd9841c3c258fc0eaea942f18abcb40098714cc90462b57696c07e3c5')
version('0.9.1', sha256='15a22450f86b15e7dc4730950b880fda3ef6f59ac82af0b268674d272aa61c69')
@@ -38,7 +39,17 @@ class Mpifileutils(Package):
depends_on('dtcmp@1.0.3', when='@:0.7')
depends_on('dtcmp@1.1.0:', when='@0.8:')
+ # fixes were added to libarchive somewhere between 3.1.2 and 3.5.0
+ # which helps with file names that start with "._", bumping to newer
+ # libarchive, but in a way that does not disrupt older mpiFileUtils installs
depends_on('libarchive')
+ depends_on('libarchive@3.5.1:', when='@0.11:')
+
+ depends_on('bzip2')
+
+ depends_on('libcap')
+
+ depends_on('openssl')
depends_on('cmake@3.1:', when='@0.9:', type='build')
diff --git a/var/spack/repos/builtin/packages/mpilander/package.py b/var/spack/repos/builtin/packages/mpilander/package.py
index 9b72915180..3db8e6c3f3 100644
--- a/var/spack/repos/builtin/packages/mpilander/package.py
+++ b/var/spack/repos/builtin/packages/mpilander/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mpileaks/package.py b/var/spack/repos/builtin/packages/mpileaks/package.py
index e30a1d62fb..18018d226e 100644
--- a/var/spack/repos/builtin/packages/mpileaks/package.py
+++ b/var/spack/repos/builtin/packages/mpileaks/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mpip/package.py b/var/spack/repos/builtin/packages/mpip/package.py
index a9336086c2..e705bda43d 100644
--- a/var/spack/repos/builtin/packages/mpip/package.py
+++ b/var/spack/repos/builtin/packages/mpip/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mpir/package.py b/var/spack/repos/builtin/packages/mpir/package.py
index b2ec566f49..5f6a54d402 100644
--- a/var/spack/repos/builtin/packages/mpir/package.py
+++ b/var/spack/repos/builtin/packages/mpir/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mpix-launch-swift/package.py b/var/spack/repos/builtin/packages/mpix-launch-swift/package.py
index 801d298110..f5ee161777 100644
--- a/var/spack/repos/builtin/packages/mpix-launch-swift/package.py
+++ b/var/spack/repos/builtin/packages/mpix-launch-swift/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mpt/package.py b/var/spack/repos/builtin/packages/mpt/package.py
index b9634248c6..847edc0c38 100644
--- a/var/spack/repos/builtin/packages/mpt/package.py
+++ b/var/spack/repos/builtin/packages/mpt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mptensor/package.py b/var/spack/repos/builtin/packages/mptensor/package.py
new file mode 100644
index 0000000000..84c8eb82f1
--- /dev/null
+++ b/var/spack/repos/builtin/packages/mptensor/package.py
@@ -0,0 +1,55 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Mptensor(CMakePackage):
+ """mptensor is parallel C++ libarary for tensor calculations.
+ It provides similar interfaces as Numpy and Scipy in Python."""
+
+ homepage = "https://github.com/smorita/mptensor"
+ url = "https://github.com/smorita/mptensor/archive/v0.3.0.tar.gz"
+
+ version('0.3.0', sha256='819395a91551bddb77958615042fcb935a4b67ee37f912b9a2ca5b49c71befae')
+
+ variant('mpi', default=False, description='Build with MPI library')
+ variant("doc", default=False, description="build documentation with Doxygen")
+
+ depends_on('cmake@3.6:', type='build')
+ depends_on('mpi', when="+mpi")
+ depends_on('blas')
+ depends_on('lapack')
+ depends_on('scalapack', when="+mpi")
+ depends_on('doxygen@:1.8.11', type="build", when="+doc")
+
+ def cmake_args(self):
+ spec = self.spec
+ options = []
+
+ if "+mpi" in spec:
+ options.extend([
+ '-DCMAKE_C_COMPILER=%s' % spec['mpi'].mpicc,
+ '-DCMAKE_CXX_COMPILER=%s' % spec['mpi'].mpicxx,
+ '-DCMAKE_Fortran_COMPILER=%s' % spec['mpi'].mpifc,
+ '-DSCALAPACK_LIBRARIES=%s' % spec['scalapack'].libs,
+ ])
+ else:
+ options.extend([
+ '-DCMAKE_C_COMPILER=%s' % spack_cc,
+ '-DCMAKE_CXX_COMPILER=%s' % spack_cxx,
+ '-DCMAKE_Fortran_COMPILER=%s' % spack_fc,
+ ])
+
+ blas = spec['blas'].libs
+ lapack = spec['lapack'].libs
+ options.extend([
+ '-DLAPACK_LIBRARIES=%s' % ';'.join(lapack),
+ '-DBLAS_LIBRARIES=%s' % ';'.join(blas),
+ self.define_from_variant('ENABLE_MPI', 'mpi'),
+ self.define_from_variant('BUILD_DOC', 'doc')
+ ])
+
+ return options
diff --git a/var/spack/repos/builtin/packages/mrbayes/package.py b/var/spack/repos/builtin/packages/mrbayes/package.py
index bfc485eb31..c12c0df65a 100644
--- a/var/spack/repos/builtin/packages/mrbayes/package.py
+++ b/var/spack/repos/builtin/packages/mrbayes/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mrbench/package.py b/var/spack/repos/builtin/packages/mrbench/package.py
index 168dea6b7f..673ae0c2ce 100644
--- a/var/spack/repos/builtin/packages/mrbench/package.py
+++ b/var/spack/repos/builtin/packages/mrbench/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mrchem/package.py b/var/spack/repos/builtin/packages/mrchem/package.py
index e6281df881..440cb6e94d 100644
--- a/var/spack/repos/builtin/packages/mrchem/package.py
+++ b/var/spack/repos/builtin/packages/mrchem/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mrcpp/package.py b/var/spack/repos/builtin/packages/mrcpp/package.py
index f7f6d5e3d8..f4ee4ef494 100644
--- a/var/spack/repos/builtin/packages/mrcpp/package.py
+++ b/var/spack/repos/builtin/packages/mrcpp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mrnet/package.py b/var/spack/repos/builtin/packages/mrnet/package.py
index f18286118e..64de446e50 100644
--- a/var/spack/repos/builtin/packages/mrnet/package.py
+++ b/var/spack/repos/builtin/packages/mrnet/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mrtrix3/package.py b/var/spack/repos/builtin/packages/mrtrix3/package.py
index 4cb03770d6..34b6bf33f9 100644
--- a/var/spack/repos/builtin/packages/mrtrix3/package.py
+++ b/var/spack/repos/builtin/packages/mrtrix3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mscgen/package.py b/var/spack/repos/builtin/packages/mscgen/package.py
index a39bdc0e3c..c663e029bc 100644
--- a/var/spack/repos/builtin/packages/mscgen/package.py
+++ b/var/spack/repos/builtin/packages/mscgen/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/msgpack-c/package.py b/var/spack/repos/builtin/packages/msgpack-c/package.py
index d7bc4708d1..e81e6c8cf5 100644
--- a/var/spack/repos/builtin/packages/msgpack-c/package.py
+++ b/var/spack/repos/builtin/packages/msgpack-c/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mshadow/package.py b/var/spack/repos/builtin/packages/mshadow/package.py
index 235ed182fa..8b9ce4e277 100644
--- a/var/spack/repos/builtin/packages/mshadow/package.py
+++ b/var/spack/repos/builtin/packages/mshadow/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/msmc/package.py b/var/spack/repos/builtin/packages/msmc/package.py
index eec3682753..205bed71ee 100644
--- a/var/spack/repos/builtin/packages/msmc/package.py
+++ b/var/spack/repos/builtin/packages/msmc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/msmc2/package.py b/var/spack/repos/builtin/packages/msmc2/package.py
index efd0bec341..e5d8b0397a 100644
--- a/var/spack/repos/builtin/packages/msmc2/package.py
+++ b/var/spack/repos/builtin/packages/msmc2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mstk/package.py b/var/spack/repos/builtin/packages/mstk/package.py
index bb56729bd6..ac8bf2d2af 100644
--- a/var/spack/repos/builtin/packages/mstk/package.py
+++ b/var/spack/repos/builtin/packages/mstk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -23,11 +23,12 @@ class Mstk(CMakePackage):
homepage = "https://github.com/MeshToolkit/MSTK"
git = "https://github.com/MeshToolkit/MSTK"
- url = "https://github.com/MeshToolkit/MSTK/archive/3.3.1.tar.gz"
+ url = "https://github.com/MeshToolkit/MSTK/archive/3.3.6.tar.gz"
maintainers = ['raovgarimella', 'julienloiseau']
version('master', branch='master')
+ version('3.3.6', sha256='30041ee6f32d754e5d9b46db8f62609bb66d2686f8e6e16ad254f552849cb0f1')
version('3.3.5', sha256='64c976e12d1393aafd086ef941b176add6cfb963f463c33259596e7ef641cdd8')
version('3.3.4', sha256='bd34d31fc1fc468147a51e8d837d6bf9902ca8d38c7c0615e7f20968d4659da2')
version('3.3.3', sha256='54ea7929c9046915472f38367c83f75af634a6989ce0b89aad17fb9f4a25023e')
diff --git a/var/spack/repos/builtin/packages/mt-metis/package.py b/var/spack/repos/builtin/packages/mt-metis/package.py
index 805c86836c..1ed6ed421a 100644
--- a/var/spack/repos/builtin/packages/mt-metis/package.py
+++ b/var/spack/repos/builtin/packages/mt-metis/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/multitail/package.py b/var/spack/repos/builtin/packages/multitail/package.py
index 78fbdcfd33..c270ced021 100644
--- a/var/spack/repos/builtin/packages/multitail/package.py
+++ b/var/spack/repos/builtin/packages/multitail/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/multitime/package.py b/var/spack/repos/builtin/packages/multitime/package.py
index 00510c5cbc..51399a0bc8 100644
--- a/var/spack/repos/builtin/packages/multitime/package.py
+++ b/var/spack/repos/builtin/packages/multitime/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/multiverso/package.py b/var/spack/repos/builtin/packages/multiverso/package.py
index 35535eff51..e4941c256f 100644
--- a/var/spack/repos/builtin/packages/multiverso/package.py
+++ b/var/spack/repos/builtin/packages/multiverso/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mumax/package.py b/var/spack/repos/builtin/packages/mumax/package.py
index e221ece6bc..660b3d34f4 100644
--- a/var/spack/repos/builtin/packages/mumax/package.py
+++ b/var/spack/repos/builtin/packages/mumax/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mummer/package.py b/var/spack/repos/builtin/packages/mummer/package.py
index e1edf39b8e..cfcdd7f927 100644
--- a/var/spack/repos/builtin/packages/mummer/package.py
+++ b/var/spack/repos/builtin/packages/mummer/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mummer4/package.py b/var/spack/repos/builtin/packages/mummer4/package.py
index 2ba974dca9..b62701d2c5 100644
--- a/var/spack/repos/builtin/packages/mummer4/package.py
+++ b/var/spack/repos/builtin/packages/mummer4/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,6 +12,7 @@ class Mummer4(AutotoolsPackage):
homepage = "https://github.com/mummer4/mummer"
url = "https://github.com/mummer4/mummer/releases/download/v4.0.0beta2/mummer-4.0.0beta2.tar.gz"
+ version('4.0.0rc1', sha256='85006adb2d6539c2f738c3e3bb14b58bb6f62cd6c6ca5ede884a87ae76e07d1d')
version('4.0.0beta2', sha256='cece76e418bf9c294f348972e5b23a0230beeba7fd7d042d5584ce075ccd1b93')
conflicts('%gcc@:4.7')
diff --git a/var/spack/repos/builtin/packages/mumps/mumps.src-makefile.5.2.patch b/var/spack/repos/builtin/packages/mumps/mumps.src-makefile.5.2.patch
new file mode 100644
index 0000000000..70acfe6d08
--- /dev/null
+++ b/var/spack/repos/builtin/packages/mumps/mumps.src-makefile.5.2.patch
@@ -0,0 +1,29 @@
+# This patchfile modifies src/Makefile to allow for extra libraries to be
+# added to lib[cdsz]mumps.so (e.g,. libmumps_common.so and possible libmpiseq.so)
+#
+# It also adds flags to produce PIC code
+
+diff -Naur spack-src/src/Makefile spack-src.patched/src/Makefile
+--- spack-src/src/Makefile 2019-04-18 05:55:07.000000000 -0400
++++ spack-src.patched/src/Makefile 2020-10-31 15:19:49.927297524 -0400
+@@ -182,7 +182,7 @@
+ $(RANLIB) $@
+
+ $(libdir)/lib$(ARITH)mumps$(PLAT)$(LIBEXT): $(OBJS_MOD) $(OBJS_OTHER)
+- $(AR)$@ $?
++ $(AR)$@ $? $(EXTRA_LIBS4MUMPS)
+ $(RANLIB) $@
+
+ # Dependencies between modules:
+@@ -378,9 +378,9 @@
+
+ .SUFFIXES: .c .F .o
+ .F.o:
+- $(FC) $(OPTF) $(INCS) $(IORDERINGSF) $(ORDERINGSF) -I. -I../include -c $*.F $(OUTF)$*.o
++ $(FC) $(OPTF) $(FC_PIC_FLAG) $(INCS) $(IORDERINGSF) $(ORDERINGSF) -I. -I../include -c $*.F $(OUTF)$*.o
+ .c.o:
+- $(CC) $(OPTC) $(INCS) -I../include $(CDEFS) $(IORDERINGSC) $(ORDERINGSC) -c $*.c $(OUTC)$*.o
++ $(CC) $(OPTC) $(CC_PIC_FLAG) $(INCS) -I../include $(CDEFS) $(IORDERINGSC) $(ORDERINGSC) -c $*.c $(OUTC)$*.o
+
+ $(ARITH)mumps_c.o: mumps_c.c
+ $(CC) $(OPTC) $(INCS) $(CDEFS) -DMUMPS_ARITH=MUMPS_ARITH_$(ARITH) \
diff --git a/var/spack/repos/builtin/packages/mumps/mumps.src-makefile.5.3.patch b/var/spack/repos/builtin/packages/mumps/mumps.src-makefile.5.3.patch
new file mode 100644
index 0000000000..eb88806723
--- /dev/null
+++ b/var/spack/repos/builtin/packages/mumps/mumps.src-makefile.5.3.patch
@@ -0,0 +1,24 @@
+diff -Naur spack-src/src/Makefile spack-src.patched/src/Makefile
+--- spack-src/src/Makefile 2020-06-15 05:57:25.000000000 -0400
++++ spack-src.patched/src/Makefile 2021-01-08 14:43:28.655026604 -0500
+@@ -193,7 +193,7 @@
+ $(RANLIB) $@
+
+ $(libdir)/lib$(ARITH)mumps$(PLAT)$(LIBEXT): $(OBJS_MOD) $(OBJS_OTHER)
+- $(AR)$@ $?
++ $(AR)$@ $? $(EXTRA_LIBS4MUMPS)
+ $(RANLIB) $@
+
+ # Dependencies between modules:
+@@ -405,9 +405,9 @@
+
+ .SUFFIXES: .c .F .o
+ .F.o:
+- $(FC) $(OPTF) -I. -I../include $(INCS) $(IORDERINGSF) $(ORDERINGSF) -c $*.F $(OUTF)$*.o
++ $(FC) $(OPTF) $(FC_PIC_FLAG) -I. -I../include $(INCS) $(IORDERINGSF) $(ORDERINGSF) -c $*.F $(OUTF)$*.o
+ .c.o:
+- $(CC) $(OPTC) -I../include $(INCS) $(CDEFS) $(IORDERINGSC) $(ORDERINGSC) -c $*.c $(OUTC)$*.o
++ $(CC) $(OPTC) $(CC_PIC_FLAG) -I../include $(INCS) $(CDEFS) $(IORDERINGSC) $(ORDERINGSC) -c $*.c $(OUTC)$*.o
+
+ $(ARITH)mumps_c.o: mumps_c.c
+ $(CC) $(OPTC) -I../include $(INCS) $(CDEFS) -DMUMPS_ARITH=MUMPS_ARITH_$(ARITH) \
diff --git a/var/spack/repos/builtin/packages/mumps/package.py b/var/spack/repos/builtin/packages/mumps/package.py
index 51fe2a9f06..3ba3ca26b5 100644
--- a/var/spack/repos/builtin/packages/mumps/package.py
+++ b/var/spack/repos/builtin/packages/mumps/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -53,6 +53,10 @@ class Mumps(Package):
patch('examples.patch', when='@5.1.1%clang^spectrum-mpi')
patch('gfortran8.patch', when='@5.1.2')
+ # The following patches src/Makefile to fix some dependency
+ # issues in lib[cdsz]mumps.so
+ patch('mumps.src-makefile.5.2.patch', when='@5.2.0 +shared')
+ patch('mumps.src-makefile.5.3.patch', when='@5.3.0: +shared')
def write_makefile_inc(self):
if ('+parmetis' in self.spec or '+ptscotch' in self.spec) and (
@@ -74,6 +78,10 @@ class Mumps(Package):
lapack_blas.ld_flags if not shared else '']
orderings = ['-Dpord']
+ # All of the lib[cdsz]mumps.* libs depend on mumps_common
+ extra_libs4mumps = ['-L$(topdir)/lib', '-lmumps_common']
+ # and mumps_common depends on pord
+ extra_libs4mumps += ['-L$(topdir)/PORD/lib', '-lpord']
if '+ptscotch' in self.spec or '+scotch' in self.spec:
makefile_conf.extend([
@@ -131,6 +139,10 @@ class Mumps(Package):
# TODO: test this part, it needs a full blas, scalapack and
# partitionning environment with 64bit integers
+ # The mumps.src-makefile.patch wants us to set these PIC variables
+ makefile_conf.append('FC_PIC_FLAG={0}'.format(fpic))
+ makefile_conf.append('CC_PIC_FLAG={0}'.format(cpic))
+
opt_level = '3' if using_xl else ''
if '+int64' in self.spec:
@@ -143,8 +155,7 @@ class Mumps(Package):
makefile_conf.extend([
'OPTF = %s -O -DALLOW_NON_INIT %s' % (
fpic,
- '-fdefault-integer-8' if using_gcc
- else '-i8'), # noqa
+ '-fdefault-integer-8' if using_gcc else '-i8'), # noqa
])
makefile_conf.extend([
@@ -178,6 +189,8 @@ class Mumps(Package):
"FC = {0}".format(spack_fc),
"FL = {0}".format(spack_fc),
"MUMPS_TYPE = seq"])
+ # For sequential MUMPS, we need to link to a fake MPI lib
+ extra_libs4mumps += ['-L$(topdir)/libseq', '-lmpiseq']
# TODO: change the value to the correct one according to the
# compiler possible values are -DAdd_, -DAdd__ and/or -DUPPER
@@ -228,8 +241,8 @@ class Mumps(Package):
makefile_conf.extend([
'LIBEXT=.so',
'AR=link_cmd() { $(FL) -%s -Wl,-soname '
- '-Wl,%s/$(notdir $@) -o "$$@" %s; }; link_cmd ' %
- (build_shared_flag, prefix.lib, inject_libs),
+ '-Wl,$(notdir $@) -o "$$@" %s; }; link_cmd ' %
+ (build_shared_flag, inject_libs),
'RANLIB=ls'
])
# When building libpord, read AR from Makefile.inc instead of
@@ -247,6 +260,10 @@ class Mumps(Package):
'RANLIB = ranlib'
])
+ # The mumps.src-makefile.patch wants EXTRA_LIBS4MUMPS defined
+ makefile_conf.extend([
+ 'EXTRA_LIBS4MUMPS = {0}'.format(' '.join(extra_libs4mumps))
+ ])
makefile_inc_template = join_path(
os.path.dirname(self.module.__file__), 'Makefile.inc')
with open(makefile_inc_template, "r") as fh:
@@ -257,6 +274,15 @@ class Mumps(Package):
makefile_inc = '\n'.join(makefile_conf)
fh.write(makefile_inc)
+ def flag_handler(self, name, flags):
+ if name == 'fflags':
+ if self.spec.satisfies('%gcc@10:'):
+ if flags is None:
+ flags = []
+ flags.append('-fallow-argument-mismatch')
+
+ return (flags, None, None)
+
def install(self, spec, prefix):
self.write_makefile_inc()
diff --git a/var/spack/repos/builtin/packages/munge/package.py b/var/spack/repos/builtin/packages/munge/package.py
index 2b47716aa2..096c4ea860 100644
--- a/var/spack/repos/builtin/packages/munge/package.py
+++ b/var/spack/repos/builtin/packages/munge/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/muparser/package.py b/var/spack/repos/builtin/packages/muparser/package.py
index 3f0018e9d1..9458328022 100644
--- a/var/spack/repos/builtin/packages/muparser/package.py
+++ b/var/spack/repos/builtin/packages/muparser/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/muscle/package.py b/var/spack/repos/builtin/packages/muscle/package.py
index 0f5d5f5097..b5bb536109 100644
--- a/var/spack/repos/builtin/packages/muscle/package.py
+++ b/var/spack/repos/builtin/packages/muscle/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/muse/package.py b/var/spack/repos/builtin/packages/muse/package.py
index 4f1831416e..e9410ba938 100644
--- a/var/spack/repos/builtin/packages/muse/package.py
+++ b/var/spack/repos/builtin/packages/muse/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/musl/package.py b/var/spack/repos/builtin/packages/musl/package.py
index 05ec4eb5ff..c120e57214 100644
--- a/var/spack/repos/builtin/packages/musl/package.py
+++ b/var/spack/repos/builtin/packages/musl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/muster/package.py b/var/spack/repos/builtin/packages/muster/package.py
index 42c369f8d8..54d74b19c2 100644
--- a/var/spack/repos/builtin/packages/muster/package.py
+++ b/var/spack/repos/builtin/packages/muster/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mutationpp/package.py b/var/spack/repos/builtin/packages/mutationpp/package.py
index 94abb0fbc4..0435156c7a 100644
--- a/var/spack/repos/builtin/packages/mutationpp/package.py
+++ b/var/spack/repos/builtin/packages/mutationpp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mvapich2-gdr/package.py b/var/spack/repos/builtin/packages/mvapich2-gdr/package.py
index 45f834fac1..c58490d825 100755
--- a/var/spack/repos/builtin/packages/mvapich2-gdr/package.py
+++ b/var/spack/repos/builtin/packages/mvapich2-gdr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,10 +17,11 @@ class Mvapich2Gdr(AutotoolsPackage):
"""
homepage = 'http://mvapich.cse.ohio-state.edu'
- url = 'http://mvapich.cse.ohio-state.edu/download/mvapich/spack-mirror/mvapich2-gdr/mvapich2-gdr-2.3.4.tar.gz'
+ url = 'http://mvapich.cse.ohio-state.edu/download/mvapich/spack-mirror/mvapich2-gdr/mvapich2-gdr-2.3.5.tar.gz'
- maintainers = ['nithintsk', 'harisubramoni']
+ maintainers = ['apreifsteck', 'nithintsk', 'harisubramoni']
+ version('2.3.5', sha256='bcfe8197875405af0ddbf6462e585efc21668108bec9b481fe53616ad36a98b4')
version('2.3.4', sha256='ed78101e6bb807e979213006ee5f20ff466369b01f96b6d1cf0c471baf7e35aa')
version('2.3.3', sha256='9b7b5dd235dbf85099fba3b6f1ccb49bb755923efed66ddc335921f44cb1b8a8')
@@ -71,12 +72,29 @@ class Mvapich2Gdr(AutotoolsPackage):
default=False
)
+ variant(
+ 'cuda',
+ description='Enable/Disable support for cuda',
+ default=True
+ )
+
+ variant(
+ 'rocm',
+ description='Enable/Disable support for ROCM',
+ default=False
+ )
+ conflicts('+rocm', when='@:2.3.4', msg='MVAPICH2-GDR only supports ROCm in version >= 2.3.5')
+ conflicts('+cuda +rocm', msg='MVAPICH2-GDR can only be built with either CUDA or ROCm')
+ conflicts('~cuda ~rocm', msg='MVAPICH2-GDR must be built with either CUDA or ROCm')
+
depends_on('bison@3.4.2', type='build')
depends_on('libpciaccess@0.13.5', when=(sys.platform != 'darwin'))
depends_on('libxml2@2.9.10')
- depends_on('cuda@9.2.88:10.2.89')
+ depends_on('cuda@9.2.88:11.1.1', when='+cuda')
depends_on('pmix@3.1.3', when='pmi_version=pmix')
+ depends_on('hip@3.9.0', when='+rocm')
+
filter_compiler_wrappers(
'mpicc', 'mpicxx', 'mpif77', 'mpif90', 'mpifort', relative_root='bin'
)
@@ -108,6 +126,14 @@ class Mvapich2Gdr(AutotoolsPackage):
if '+openacc' in spec:
opts.append('--enable-openacc')
+ if '+cuda' in spec:
+ opts.append('--enable-cuda')
+ opts.append('--with-cuda={0}'.format(spec['cuda'].prefix))
+
+ if '+rocm' in spec:
+ opts.append('--enable-hip=basic')
+ opts.append('--enable-rocm')
+
# See: http://slurm.schedmd.com/mpi_guide.html#mvapich2
if 'process_managers=slurm' in spec:
opts.append('--with-pm=slurm')
@@ -124,12 +150,6 @@ class Mvapich2Gdr(AutotoolsPackage):
'--with-pm=hydra',
'--with-pbs=/opt/pbs'
])
- if '~mcast' in spec:
- opts.append('--disable-mcast')
- if '+core_direct' in spec:
- opts.append('--with-core-direct')
- if '+openacc' in spec:
- opts.append('--enable-openacc')
elif 'process_managers=jsrun' in spec:
opts.append([
@@ -184,8 +204,7 @@ class Mvapich2Gdr(AutotoolsPackage):
]
def configure_args(self):
- args = ['--enable-cuda',
- '--disable-hybrid',
+ args = ['--disable-hybrid',
'--with-ch3-rank-bits=32',
'--disable-gl',
'--without-hydra-ckpointlib',
diff --git a/var/spack/repos/builtin/packages/mvapich2/package.py b/var/spack/repos/builtin/packages/mvapich2/package.py
index 3031082ee7..afbc6feece 100644
--- a/var/spack/repos/builtin/packages/mvapich2/package.py
+++ b/var/spack/repos/builtin/packages/mvapich2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,8 +13,8 @@ class Mvapich2(AutotoolsPackage):
networks (InfiniBand, Omni-Path, Ethernet/iWARP, and RoCE) and computing
platforms (x86 (Intel and AMD), ARM and OpenPOWER)"""
- homepage = "http://mvapich.cse.ohio-state.edu/"
- url = "http://mvapich.cse.ohio-state.edu/download/mvapich/mv2/mvapich2-2.3.4.tar.gz"
+ homepage = "http://mvapich.cse.ohio-state.edu/userguide/userguide_spack/"
+ url = "http://mvapich.cse.ohio-state.edu/download/mvapich/mv2/mvapich2-2.3.5.tar.gz"
list_url = "http://mvapich.cse.ohio-state.edu/downloads/"
maintainers = ['nithintsk', 'harisubramoni']
@@ -22,6 +22,7 @@ class Mvapich2(AutotoolsPackage):
executables = ['^mpiname$']
# Prefer the latest stable release
+ version('2.3.5', sha256='f9f467fec5fc981a89a7beee0374347b10c683023c76880f92a1a0ad4b961a8c')
version('2.3.4', sha256='7226a45c7c98333c8e5d2888119cce186199b430c13b7b1dca1769909e68ea7a')
version('2.3.3', sha256='41d3261be57e5bc8aabf4e32981543c015c5443ff032a26f18205985e18c2b73')
version('2.3.2', sha256='30cc0d7bcaa075d204692f76bca4d65a539e0f661c7460ffa9f835d6249e1ebf')
@@ -83,7 +84,12 @@ class Mvapich2(AutotoolsPackage):
variant(
'fabrics',
- description='The fabric enabled for this build',
+ description='Select the fabric to be enabled for this build.'
+ 'If you have verbs (either from OFED or MOFED), PSM or PSM2 '
+ 'installed on the system already, you may need to setup external '
+ 'packages in the package.yaml file for rdma-core, psm or opa-psm2. '
+ 'This is recommended to avoid unexpected runtime failures. For '
+ 'more info, visit the homepage url.',
default='mrail',
values=(
'psm', 'psm2', 'sock', 'nemesisib', 'nemesis', 'mrail',
diff --git a/var/spack/repos/builtin/packages/mvapich2x/package.py b/var/spack/repos/builtin/packages/mvapich2x/package.py
index 01f82c057d..87084bbc95 100755
--- a/var/spack/repos/builtin/packages/mvapich2x/package.py
+++ b/var/spack/repos/builtin/packages/mvapich2x/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mxm/package.py b/var/spack/repos/builtin/packages/mxm/package.py
index ba8c0dfa1c..8fd002c45b 100644
--- a/var/spack/repos/builtin/packages/mxm/package.py
+++ b/var/spack/repos/builtin/packages/mxm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mxml/package.py b/var/spack/repos/builtin/packages/mxml/package.py
index 4fa90802a6..9a494928f3 100644
--- a/var/spack/repos/builtin/packages/mxml/package.py
+++ b/var/spack/repos/builtin/packages/mxml/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/mxnet/cmake_cuda_flags.patch b/var/spack/repos/builtin/packages/mxnet/cmake_cuda_flags.patch
new file mode 100644
index 0000000000..8019f7d423
--- /dev/null
+++ b/var/spack/repos/builtin/packages/mxnet/cmake_cuda_flags.patch
@@ -0,0 +1,14 @@
+https://github.com/apache/incubator-mxnet/pull/17645
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 437d01668..1049a53b2 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -662,7 +662,7 @@ add_subdirectory("3rdparty/mshadow")
+
+ set(MXNET_INSTALL_TARGETS mxnet)
+ if(UNIX)
+- string(APPEND CMAKE_CUDA_FLAGS "${CUDA_ARCH_FLAGS_SPACES}")
++ string(APPEND CMAKE_CUDA_FLAGS " ${CUDA_ARCH_FLAGS_SPACES}")
+ # Create dummy file since we want an empty shared library before linking
+ set(DUMMY_SOURCE ${CMAKE_BINARY_DIR}/dummy.c)
+ file(WRITE ${DUMMY_SOURCE} "")
diff --git a/var/spack/repos/builtin/packages/mxnet/makefile.opencv.patch b/var/spack/repos/builtin/packages/mxnet/makefile.opencv.patch
deleted file mode 100644
index 45e04ea626..0000000000
--- a/var/spack/repos/builtin/packages/mxnet/makefile.opencv.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-commit 638527ffaa35ffb0bf88a32910b809df09432406
-Author: Toyohisa Kameyama <kameyama@riken.jp>
-Date: Mon May 18 11:58:00 2020 +0900
-
- Makefile bug fix for opencv4.
-
-diff --git a/Makefile b/Makefile
-index 51930c782..7f5d4da39 100644
---- a/Makefile
-+++ b/Makefile
-@@ -165,7 +165,23 @@ endif
- ifeq ($(USE_OPENCV), 1)
- CFLAGS += -DMXNET_USE_OPENCV=1
- ifneq ($(filter-out NONE, $(USE_OPENCV_INC_PATH)),)
-- CFLAGS += -I$(USE_OPENCV_INC_PATH)/include
-+ ifneq ($(wildcard $(USE_OPENCV_INC_PATH)/include/opencv4/opencv2/opencv*),)
-+ opencv_inc = -I$(USE_OPENCV_INC_PATH)/include/opencv4
-+ endif
-+ ifneq ($(wildcard $(USE_OPENCV_INC_PATH)/include/opencv2/opencv*),)
-+ opencv_inc = -I$(USE_OPENCV_INC_PATH)/include
-+ endif
-+ ifneq ($(wildcard $(USE_OPENCV_INC_PATH)/opencv4/opencv2/opencv*),)
-+ opencv_inc = -I$(USE_OPENCV_INC_PATH)/opencv4
-+ endif
-+ ifneq ($(wildcard $(USE_OPENCV_INC_PATH)/opencv2/opencv*),)
-+ opencv_inc = -I$(USE_OPENCV_INC_PATH)
-+ endif
-+ ifneq ($(filter-out NONE, $(opencv_inc)),)
-+ CFLAGS += $(opencv_inc)
-+ else
-+$(error Cannot determine OpenCV include path)
-+ endif
- ifeq ($(filter-out NONE, $(USE_OPENCV_LIB_PATH)),)
- $(error Please add the path of OpenCV shared library path into `USE_OPENCV_LIB_PATH`, when `USE_OPENCV_INC_PATH` is not NONE)
- endif
diff --git a/var/spack/repos/builtin/packages/mxnet/makefile.patch b/var/spack/repos/builtin/packages/mxnet/makefile.patch
deleted file mode 100644
index ceebe21447..0000000000
--- a/var/spack/repos/builtin/packages/mxnet/makefile.patch
+++ /dev/null
@@ -1,81 +0,0 @@
-From 22b64127d7acc9c255b007e120e2a721f4e136d2 Mon Sep 17 00:00:00 2001
-From: Jianwen WEI <weijianwen@gmail.com>
-Date: Fri, 18 Aug 2017 23:32:16 +0800
-Subject: [PATCH] Enable customize CUB MSHADOW PSLITE CUDA paths.
-
----
- Makefile | 26 +++++++++++++++++++++-----
- 1 file changed, 21 insertions(+), 5 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index c71cb13..a53d072 100644
---- a/Makefile
-+++ b/Makefile
-@@ -14,6 +14,19 @@ ifndef DMLC_CORE
- DMLC_CORE = $(ROOTDIR)/dmlc-core
- endif
-
-+ifndef MSHADOW_PATH
-+ MSHADOW_PATH = $(ROOTDIR)/mshadow
-+endif
-+ifneq ("$(wildcard $(MSHADOW_PATH)/include/mshadow/base.h)","")
-+MSHADOW_INC = $(MSHADOW_PATH)/include
-+else
-+MSHADOW_INC = $(MSHADOW_PATH)
-+endif
-+
-+ifndef PS_PATH
-+ PS_PATH = $(ROOTDIR)/ps-lite
-+endif
-+
- ifndef NNVM_PATH
- NNVM_PATH = $(ROOTDIR)/nnvm
- endif
-@@ -32,7 +45,7 @@ ifeq ($(USE_MKL2017), 1)
- export USE_MKLML = $(lastword $(RETURN_STRING))
- endif
-
--include mshadow/make/mshadow.mk
-+include $(MSHADOW_PATH)/make/mshadow.mk
- include $(DMLC_CORE)/make/dmlc.mk
-
- # all tge possible warning tread
-@@ -49,7 +62,7 @@ ifeq ($(DEBUG), 1)
- else
- CFLAGS += -O3 -DNDEBUG=1
- endif
--CFLAGS += -I$(ROOTDIR)/mshadow/ -I$(ROOTDIR)/dmlc-core/include -fPIC -I$(NNVM_PATH)/include -Iinclude $(MSHADOW_CFLAGS)
-+CFLAGS += -I$(MSHADOW_INC) -I$(DMLC_CORE)/include -fPIC -I$(NNVM_PATH)/include -Iinclude $(MSHADOW_CFLAGS)
- LDFLAGS = -pthread $(MSHADOW_LDFLAGS) $(DMLC_LDFLAGS)
- ifeq ($(DEBUG), 1)
- NVCCFLAGS = -std=c++11 -Xcompiler -D_FORCE_INLINES -g -G -O0 -ccbin $(CXX) $(MSHADOW_NVCCFLAGS)
-@@ -125,8 +138,11 @@ ifneq ($(USE_CUDA_PATH), NONE)
- NVCC=$(USE_CUDA_PATH)/bin/nvcc
- endif
-
-+ifndef CUB_INCLUDE
-+ CUB_PATH = $(ROOTDIR)/cub
-+endif
-+
- # ps-lite
--PS_PATH=$(ROOTDIR)/ps-lite
- DEPS_PATH=$(shell pwd)/deps
- include $(PS_PATH)/make/ps.mk
- ifeq ($(USE_DIST_KVSTORE), 1)
-@@ -181,11 +197,11 @@ else
- endif
-
- # all dep
--LIB_DEP += $(DMLC_CORE)/libdmlc.a $(NNVM_PATH)/lib/libnnvm.a
-+LIB_DEP += $(DMLC_CORE)/lib/libdmlc.a $(NNVM_PATH)/lib/libnnvm.a
- ALL_DEP = $(OBJ) $(EXTRA_OBJ) $(PLUGIN_OBJ) $(LIB_DEP)
-
- ifeq ($(USE_CUDA), 1)
-- CFLAGS += -I$(ROOTDIR)/cub
-+ CFLAGS += -I$(CUB_INCLUDE) -I$(USE_CUDA_PATH)/include -I$(CUDNN_PATH)/include
- ALL_DEP += $(CUOBJ) $(EXTRA_CUOBJ) $(PLUGIN_CUOBJ)
- LDFLAGS += -lcuda -lcufft
- SCALA_PKG_PROFILE := $(SCALA_PKG_PROFILE)-gpu
---
-1.8.3.1
-
diff --git a/var/spack/repos/builtin/packages/mxnet/openblas-1.6.0.patch b/var/spack/repos/builtin/packages/mxnet/openblas-1.6.0.patch
new file mode 100644
index 0000000000..157b857c81
--- /dev/null
+++ b/var/spack/repos/builtin/packages/mxnet/openblas-1.6.0.patch
@@ -0,0 +1,14 @@
+https://github.com/apache/incubator-mxnet/pull/19174
+--- a/CMakeLists.txt 2020-01-30 17:45:22.000000000 -0600
++++ b/CMakeLists.txt 2021-02-03 11:11:30.000000000 -0600
+@@ -446,7 +446,9 @@
+ if(USE_LAPACK)
+ message("USE_LAPACK is ON")
+ add_definitions(-DMXNET_USE_LAPACK=1)
+- if (NOT MSVC)
++ # BLAS=open case is handled in ChooseBlas.cmake
++ if(NOT MSVC AND NOT CMAKE_BUILD_TYPE STREQUAL "Distribution"
++ AND NOT BLAS STREQUAL "Open" AND NOT BLAS STREQUAL "open")
+ list(APPEND mxnet_LINKER_LIBS lapack)
+ endif()
+ endif()
diff --git a/var/spack/repos/builtin/packages/mxnet/openblas-1.7.0.patch b/var/spack/repos/builtin/packages/mxnet/openblas-1.7.0.patch
new file mode 100644
index 0000000000..e143671a08
--- /dev/null
+++ b/var/spack/repos/builtin/packages/mxnet/openblas-1.7.0.patch
@@ -0,0 +1,16 @@
+https://github.com/apache/incubator-mxnet/pull/19174
+--- a/CMakeLists.txt 2020-07-16 00:32:00.000000000 -0500
++++ b/CMakeLists.txt 2021-02-02 15:30:13.000000000 -0600
+@@ -446,9 +446,9 @@
+ if(USE_LAPACK)
+ message("USE_LAPACK is ON")
+ add_definitions(-DMXNET_USE_LAPACK=1)
+- # In the CMAKE_BUILD_TYPE="Distribution" case, we link against Blas libraries
+- # that already provide lapack symbols. Thus -llapack would be wrong.
+- if (NOT MSVC AND NOT CMAKE_BUILD_TYPE STREQUAL "Distribution")
++ # BLAS=open case is handled in ChooseBlas.cmake
++ if(NOT MSVC AND NOT CMAKE_BUILD_TYPE STREQUAL "Distribution"
++ AND NOT BLAS STREQUAL "Open" AND NOT BLAS STREQUAL "open")
+ list(APPEND mxnet_LINKER_LIBS lapack)
+ endif()
+ endif()
diff --git a/var/spack/repos/builtin/packages/mxnet/package.py b/var/spack/repos/builtin/packages/mxnet/package.py
index 8ef5035c07..9da93e0154 100644
--- a/var/spack/repos/builtin/packages/mxnet/package.py
+++ b/var/spack/repos/builtin/packages/mxnet/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -6,120 +6,139 @@
from spack import *
-class Mxnet(MakefilePackage):
+class Mxnet(CMakePackage, CudaPackage):
"""MXNet is a deep learning framework
designed for both efficiency and flexibility."""
- homepage = "http://mxnet.io"
- url = "https://github.com/apache/incubator-mxnet/releases/download/1.3.0/apache-mxnet-src-1.3.0-incubating.tar.gz"
+ homepage = "https://mxnet.apache.org"
+ url = "https://archive.apache.org/dist/incubator/mxnet/1.7.0/apache-mxnet-src-1.7.0-incubating.tar.gz"
+ list_url = "https://mxnet.apache.org/get_started/download"
+ git = "https://github.com/apache/incubator-mxnet.git"
maintainers = ['adamjstewart']
-
+ import_modules = [
+ 'mxnet', 'mxnet.numpy_extension', 'mxnet.optimizer', 'mxnet.module',
+ 'mxnet.io', 'mxnet.cython', 'mxnet.ndarray', 'mxnet.gluon',
+ 'mxnet.symbol', 'mxnet._cy3', 'mxnet.contrib', 'mxnet.numpy',
+ 'mxnet._ffi', 'mxnet.image', 'mxnet.kvstore', 'mxnet.notebook',
+ 'mxnet._ctypes', 'mxnet.rnn', 'mxnet.ndarray.numpy_extension',
+ 'mxnet.ndarray.numpy', 'mxnet.gluon.nn', 'mxnet.gluon.model_zoo',
+ 'mxnet.gluon.contrib', 'mxnet.gluon.data', 'mxnet.gluon.rnn',
+ 'mxnet.gluon.model_zoo.vision', 'mxnet.gluon.contrib.nn',
+ 'mxnet.gluon.contrib.estimator', 'mxnet.gluon.contrib.cnn',
+ 'mxnet.gluon.contrib.data', 'mxnet.gluon.contrib.rnn',
+ 'mxnet.gluon.data.vision', 'mxnet.symbol.numpy_extension',
+ 'mxnet.symbol.numpy', 'mxnet.contrib.onnx',
+ 'mxnet.contrib.svrg_optimization', 'mxnet.contrib.amp',
+ 'mxnet.contrib.text', 'mxnet.contrib.onnx.mx2onnx',
+ 'mxnet.contrib.onnx.onnx2mx', 'mxnet.contrib.amp.lists',
+ 'mxnet._ffi._cy3', 'mxnet._ffi._ctypes'
+ ]
+
+ version('master', branch='master')
+ version('1.master', branch='v1.x')
+ version('1.7.0', sha256='1d20c9be7d16ccb4e830e9ee3406796efaf96b0d93414d676337b64bc59ced18')
version('1.6.0', sha256='01eb06069c90f33469c7354946261b0a94824bbaf819fd5d5a7318e8ee596def')
- version('1.3.0', sha256='c00d6fbb2947144ce36c835308e603f002c1eb90a9f4c5a62f4d398154eed4d2')
-
- variant('cuda', default=False, description='Enable CUDA support')
+ version('1.3.0', sha256='c00d6fbb2947144ce36c835308e603f002c1eb90a9f4c5a62f4d398154eed4d2', deprecated=True)
+
+ variant('build_type', default='Distribution',
+ description='CMake build type',
+ values=('Distribution', 'Debug', 'Release',
+ 'RelWithDebInfo', 'MinSizeRel'))
+ variant('cuda', default=True, description='Enable CUDA support')
+ variant('cudnn', default=True, description='Build with cudnn support')
+ variant('nccl', default=False, description='Use NVidia NCCL with CUDA')
variant('opencv', default=True, description='Enable OpenCV support')
variant('openmp', default=False, description='Enable OpenMP support')
- variant('profiler', default=False, description='Enable Profiler (for verification and debug only).')
+ variant('lapack', default=True, description='Build with lapack support')
+ variant('mkldnn', default=False, description='Build with MKL-DNN support')
variant('python', default=True, description='Install python bindings')
- depends_on('dmlc-core@20170508')
- depends_on('dmlc-core+openmp', when='+openmp')
- depends_on('dmlc-core~openmp', when='~openmp')
- depends_on('mshadow@20170721')
- depends_on('ps-lite@20170328')
- depends_on('nnvm~shared@20170418')
+ depends_on('cmake@3.13:', type='build')
+ depends_on('ninja', type='build')
+ depends_on('pkgconfig', when='@1.6.0', type='build')
depends_on('blas')
- depends_on('cudnn', when='+cuda')
- depends_on('cudnn', when='+cuda')
- depends_on('cub', when='+cuda')
- depends_on('opencv+core+imgproc+highgui+jpeg+png+tiff~eigen~ipp@3.0:3.4.99', when='@1.3.0 +opencv')
- depends_on('opencv+core+imgproc+highgui+jpeg+png+tiff~eigen~ipp@3.0:', when='+opencv')
-
- # python extensions
- depends_on('python@2.7:', type=('build', 'run'), when='+python')
- depends_on('py-setuptools', type='build', when='+python')
- depends_on('py-numpy@:1.15.0', type=('build', 'run'), when='@1.3.0 +python')
- depends_on('py-numpy@1.16:', type=('build', 'run'), when='@1.6.0 +python')
- extends('python', when='+python')
+ depends_on('cudnn', when='+cudnn')
+ depends_on('nccl', when='+nccl')
+ depends_on('opencv+core+highgui+imgproc+imgcodecs', when='+opencv')
+ depends_on('lapack', when='+lapack')
+ depends_on('onednn', when='+mkldnn')
- patch('makefile.patch', when='@0.10:0.11')
- patch('makefile.opencv.patch', when='@1.6.0')
+ # python/setup.py
+ extends('python', when='+python')
+ depends_on('python@2.7:2.8,3.4:', when='+python', type=('build', 'run'))
+ depends_on('py-setuptools', when='+python', type='build')
+ depends_on('py-cython', when='+python', type='build')
+ depends_on('py-numpy@1.16.1:1.999', when='@1.6:+python', type=('build', 'run'))
+ depends_on('py-numpy@1.8.2:1.15.0', when='@1.3.0+python', type=('build', 'run'))
+ depends_on('py-requests@2.20.0:2.999', when='@1.6:+python', type=('build', 'run'))
+ depends_on('py-requests@2.18.4:2.18.999', when='@1.3.0+python', type=('build', 'run'))
+ depends_on('py-graphviz@0.8.1:0.8.999', when='+python', type=('build', 'run'))
+
+ conflicts('+cudnn', when='~cuda')
+ conflicts('+nccl', when='~cuda')
+
+ patch('openblas-1.7.0.patch', when='@1.7.0:1.master')
+ patch('openblas-1.6.0.patch', when='@1.6.0')
+ patch('cmake_cuda_flags.patch', when='@1.6:1.7')
patch('parallell_shuffle.patch', when='@1.6.0')
- def build(self, spec, prefix):
- # copy template configuration file
- copy('make/config.mk', 'config.mk')
-
- # remove compiler overrides
- filter_file('export CC = gcc', '', 'config.mk', string=True)
- filter_file('export CXX = g++', '', 'config.mk', string=True)
+ # python/setup.py assumes libs can be found in build directory
+ build_directory = 'build'
+ generator = 'Ninja'
- # add blas prefix to include paths
- filter_file(
- '-I$(NNVM_PATH)/include',
- '-I$(NNVM_PATH)/include -I%s/include' % spec['blas'].prefix,
- 'Makefile', string=True
- )
+ def setup_run_environment(self, env):
+ env.set('MXNET_LIBRARY_PATH', self.spec['mxnet'].libs[0])
- # mxnet comes with its own version of nnvm and dmlc.
- # building it will fail if we use the spack paths
+ if self.spec.satisfies('+nccl ^nccl@2.1:'):
+ env.set('NCCL_LAUNCH_MODE', 'PARALLEL')
+ def cmake_args(self):
+ # https://mxnet.apache.org/get_started/build_from_source
args = [
- 'CC=%s' % self.compiler.cc,
- 'CXX=%s' % self.compiler.cxx,
- 'MSHADOW_PATH=%s' % spec['mshadow'].prefix,
- 'PS_PATH=%s' % spec['ps-lite'].prefix,
- 'USE_OPENMP=%s' % ('1' if '+openmp' in spec else '0'),
- 'USE_CUDA=%s' % ('1' if '+cuda' in spec else '0'),
- 'USE_CUDNN=%s' % ('1' if '+cuda' in spec else '0'),
- 'USE_OPENCV=%s' % ('1' if '+opencv' in spec else '0'),
- 'USE_PROFILER=%s' % ('1' if '+profiler' in spec else '0'),
+ self.define_from_variant('USE_CUDA', 'cuda'),
+ self.define_from_variant('USE_CUDNN', 'cudnn'),
+ self.define_from_variant('USE_OPENCV', 'opencv'),
+ self.define_from_variant('USE_OPENMP', 'openmp'),
+ self.define_from_variant('USE_LAPACK', 'lapack'),
+ self.define_from_variant('USE_MKLDNN', 'mkldnn'),
]
- if '+opencv' in spec:
- if spec.satisfies('@1.3.0'):
- filter_file(
- '$(shell pkg-config --cflags opencv)',
- spec['opencv'].headers.include_flags,
- 'Makefile', string=True
- )
- filter_file(
- '$(filter-out -lopencv_ts, '
- '$(shell pkg-config --libs opencv))',
- spec['opencv'].libs.link_flags,
- 'Makefile', string=True
- )
- else:
- args.extend(
- ['USE_OPENCV_INC_PATH=' +
- spec['opencv'].headers.directories[0],
- 'USE_OPENCV_LIB_PATH=' +
- spec['opencv'].libs.directories[0]]
- )
-
- if 'openblas' in spec:
- args.extend(['USE_BLAS=openblas'])
- elif 'atlas' in spec or 'cblas' in spec:
- args.extend(['USE_BLAS=atlas'])
- else:
- args.extend(['USE_BLAS=blas'])
-
- if '+cuda' in spec:
- args.extend(['USE_CUDA_PATH=%s' % spec['cuda'].prefix,
- 'CUDNN_PATH=%s' % spec['cudnn'].prefix,
- 'CUB_INCLUDE=%s' % spec['cub'].prefix.include])
-
- make(*args)
-
- def install(self, spec, prefix):
- # mxnet is just a shared library -- no need to install a bin tree
-
- install_tree('include', prefix.include)
- install_tree('lib', prefix.lib)
-
- # install python bindings
- if '+python' in spec:
- python = which('python')
- python('python/setup.py', 'install', '--prefix={0}'.format(prefix))
+ if '+cuda' in self.spec:
+ if 'cuda_arch=none' not in self.spec:
+ cuda_arch = ';'.join('{0:.1f}'.format(float(i) / 10.0) for i
+ in self.spec.variants['cuda_arch'].value)
+ args.append(self.define('MXNET_CUDA_ARCH', cuda_arch))
+
+ args.append(self.define_from_variant('USE_NCCL', 'nccl'))
+
+ # Workaround for bug in GCC 8+ and CUDA 10 on PowerPC
+ args.append(self.define(
+ 'CMAKE_CUDA_FLAGS', self.compiler.cxx11_flag))
+
+ return args
+
+ @run_after('build')
+ def build_python(self):
+ if '+python' in self.spec:
+ with working_dir('python'):
+ setup_py('build')
+
+ @run_after('install')
+ def install_python(self):
+ if '+python' in self.spec:
+ with working_dir('python'):
+ setup_py('install', '--prefix={0}'.format(self.prefix),
+ '--single-version-externally-managed', '--root=/')
+
+ def test(self):
+ """Attempts to import modules of the installed package."""
+
+ if '+python' in self.spec:
+ # Make sure we are importing the installed modules,
+ # not the ones in the source directory
+ for module in self.import_modules:
+ self.run_test(self.spec['python'].command.path,
+ ['-c', 'import {0}'.format(module)],
+ purpose='checking import of {0}'.format(module),
+ work_dir='spack-test')
diff --git a/var/spack/repos/builtin/packages/mysql/package.py b/var/spack/repos/builtin/packages/mysql/package.py
index c84c311b56..a324a5b157 100644
--- a/var/spack/repos/builtin/packages/mysql/package.py
+++ b/var/spack/repos/builtin/packages/mysql/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -81,7 +81,7 @@ class Mysql(CMakePackage):
# 8.0.19+
depends_on('boost@1.70.0 cxxstd=98', type='build', when='@8.0.19: cxxstd=98')
depends_on('boost@1.70.0 cxxstd=11', type='build', when='@8.0.19: cxxstd=11')
- depends_on('boost@1.70.0 cxxstd=11', type='build', when='@8.0.19: cxxstd=14')
+ depends_on('boost@1.70.0 cxxstd=14', type='build', when='@8.0.19: cxxstd=14')
depends_on('boost@1.70.0 cxxstd=17', type='build', when='@8.0.19: cxxstd=17')
# 8.0.16--8.0.18
depends_on('boost@1.69.0 cxxstd=98', type='build', when='@8.0.16:8.0.18 cxxstd=98')
@@ -117,6 +117,7 @@ class Mysql(CMakePackage):
depends_on('perl', type=['build', 'test'], when='@:7.99.99')
depends_on('bison@2.1:', type='build')
depends_on('m4', type='build', when='@develop platform=solaris')
+ depends_on('cyrus-sasl', when='@:5.7.999')
patch('fix-no-server-5.5.patch', level=1, when='@5.5.0:5.5.999')
diff --git a/var/spack/repos/builtin/packages/nacos/package.py b/var/spack/repos/builtin/packages/nacos/package.py
index 6aad25b31a..7688825a1f 100644
--- a/var/spack/repos/builtin/packages/nacos/package.py
+++ b/var/spack/repos/builtin/packages/nacos/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/nag/package.py b/var/spack/repos/builtin/packages/nag/package.py
index 4f39548065..fd477e4db2 100644
--- a/var/spack/repos/builtin/packages/nag/package.py
+++ b/var/spack/repos/builtin/packages/nag/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/nalu-wind/package.py b/var/spack/repos/builtin/packages/nalu-wind/package.py
index 1f54887dc7..2d0347e603 100644
--- a/var/spack/repos/builtin/packages/nalu-wind/package.py
+++ b/var/spack/repos/builtin/packages/nalu-wind/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -38,6 +38,9 @@ class NaluWind(CMakePackage):
variant('fftw', default=False,
description='Compile with FFTW support')
+ variant('wind-utils', default=False,
+ description='Build wind-utils')
+
# Required dependencies
depends_on('mpi')
depends_on('yaml-cpp@0.5.3:', when='+shared')
@@ -116,6 +119,11 @@ class NaluWind(CMakePackage):
else:
options.append('-DENABLE_FFTW:BOOL=OFF')
+ if '+wind-utils' in spec:
+ options.append('-DENABLE_WIND_UTILS=ON')
+ else:
+ options.append('-DENABLE_WIND_UTILS=OFF')
+
if 'darwin' in spec.architecture:
options.append('-DCMAKE_MACOSX_RPATH:BOOL=ON')
@@ -139,6 +147,6 @@ class NaluWind(CMakePackage):
@run_before('cmake')
def add_submodules(self):
- if self.run_tests:
+ if self.run_tests or '+wind-utils' in self.spec:
git = which('git')
git('submodule', 'update', '--init', '--recursive')
diff --git a/var/spack/repos/builtin/packages/nalu/package.py b/var/spack/repos/builtin/packages/nalu/package.py
index 8e6abea569..cebf38488f 100644
--- a/var/spack/repos/builtin/packages/nalu/package.py
+++ b/var/spack/repos/builtin/packages/nalu/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/namd/package.py b/var/spack/repos/builtin/packages/namd/package.py
index 1da71d20f5..aaa5529db5 100644
--- a/var/spack/repos/builtin/packages/namd/package.py
+++ b/var/spack/repos/builtin/packages/namd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ from spack import *
import llnl.util.tty as tty
-class Namd(MakefilePackage):
+class Namd(MakefilePackage, CudaPackage):
"""NAMDis a parallel molecular dynamics code designed for
high-performance simulation of large biomolecular systems."""
@@ -26,8 +26,8 @@ class Namd(MakefilePackage):
version('2.13', '9e3323ed856e36e34d5c17a7b0341e38')
version('2.12', '2a1191909b1ab03bf0205971ad4d8ee9')
- variant('fftw', default='3', values=('none', '2', '3', 'mkl'),
- description='Enable the use of FFTW/FFTW3/MKL FFT')
+ variant('fftw', default='3', values=('none', '2', '3', 'mkl', 'amdfftw'),
+ description='Enable the use of FFTW/FFTW3/MKL FFT/AMDFFTW')
variant('interface', default='none', values=('none', 'tcl', 'python'),
description='Enables TCL and/or python interface')
@@ -45,6 +45,8 @@ class Namd(MakefilePackage):
depends_on('fftw@:2.99', when="fftw=2")
depends_on('fftw@3:', when="fftw=3")
+ depends_on('amdfftw', when="fftw=amdfftw")
+
depends_on('intel-mkl', when="fftw=mkl")
depends_on('tcl', when='interface=tcl')
@@ -52,6 +54,12 @@ class Namd(MakefilePackage):
depends_on('tcl', when='interface=python')
depends_on('python', when='interface=python')
+ # https://www.ks.uiuc.edu/Research/namd/2.12/features.html
+ # https://www.ks.uiuc.edu/Research/namd/2.13/features.html
+ # https://www.ks.uiuc.edu/Research/namd/2.14/features.html
+ depends_on('cuda@6.5.14:7.5.18', when='@2.12 +cuda')
+ depends_on('cuda@8.0.61:', when='@2.13: +cuda')
+
def _copy_arch_file(self, lib):
config_filename = 'arch/{0}.{1}'.format(self.arch, lib)
copy('arch/Linux-x86_64.{0}'.format(lib),
@@ -97,12 +105,16 @@ class Namd(MakefilePackage):
optims_opts = {
'gcc': m64 + '-O3 -fexpensive-optimizations \
-ffast-math -lpthread ' + archopt,
- 'intel': '-O2 -ip -qopenmp-simd' + archopt}
+ 'intel': '-O2 -ip -qopenmp-simd' + archopt,
+ 'aocc': m64 + '-O3 -ffp-contract=fast -ffast-math \
+ -fopenmp ' + archopt}
else:
optims_opts = {
'gcc': m64 + '-O3 -fexpensive-optimizations \
- -ffast-math ' + archopt,
- 'intel': '-O2 -ip ' + archopt}
+ -ffast-math -lpthread ' + archopt,
+ 'intel': '-O2 -ip ' + archopt,
+ 'aocc': m64 + '-O3 -ffp-contract=fast \
+ -ffast-math ' + archopt}
optim_opts = optims_opts[self.compiler.name] \
if self.compiler.name in optims_opts else ''
@@ -187,6 +199,10 @@ class Namd(MakefilePackage):
opts.append('--without-fftw')
elif fftw_version == 'mkl':
self._append_option(opts, 'mkl')
+ elif fftw_version == 'amdfftw':
+ self._copy_arch_file('fftw3')
+ opts.extend(['--with-fftw3',
+ '--fftw-prefix', spec['amdfftw'].prefix])
else:
_fftw = 'fftw{0}'.format('' if fftw_version == '2' else '3')
@@ -206,6 +222,12 @@ class Namd(MakefilePackage):
'--without-python'
])
+ if '+cuda' in spec:
+ self._append_option(opts, 'cuda')
+ filter_file('^CUDADIR=.*$',
+ 'CUDADIR={0}'.format(spec['cuda'].prefix),
+ join_path('arch', self.arch + '.cuda'))
+
config = Executable('./config')
config(self.build_directory, *opts)
diff --git a/var/spack/repos/builtin/packages/nano/package.py b/var/spack/repos/builtin/packages/nano/package.py
index 9fce06f929..5c076e8909 100644
--- a/var/spack/repos/builtin/packages/nano/package.py
+++ b/var/spack/repos/builtin/packages/nano/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/nanoflann/package.py b/var/spack/repos/builtin/packages/nanoflann/package.py
index faeb5d7b16..8d80d79f3b 100644
--- a/var/spack/repos/builtin/packages/nanoflann/package.py
+++ b/var/spack/repos/builtin/packages/nanoflann/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/nanomsg/package.py b/var/spack/repos/builtin/packages/nanomsg/package.py
index c3c5bb05e6..f22c50134b 100644
--- a/var/spack/repos/builtin/packages/nanomsg/package.py
+++ b/var/spack/repos/builtin/packages/nanomsg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/nanopb/package.py b/var/spack/repos/builtin/packages/nanopb/package.py
index 60829cbd91..023184f101 100644
--- a/var/spack/repos/builtin/packages/nanopb/package.py
+++ b/var/spack/repos/builtin/packages/nanopb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/nasm/package.py b/var/spack/repos/builtin/packages/nasm/package.py
index ee0da70daf..620bae7c93 100644
--- a/var/spack/repos/builtin/packages/nasm/package.py
+++ b/var/spack/repos/builtin/packages/nasm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/nauty/package.py b/var/spack/repos/builtin/packages/nauty/package.py
index cccacd8e6c..4b485a580d 100644
--- a/var/spack/repos/builtin/packages/nauty/package.py
+++ b/var/spack/repos/builtin/packages/nauty/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/nbdkit/package.py b/var/spack/repos/builtin/packages/nbdkit/package.py
index 864af474a8..6df13e2c88 100644
--- a/var/spack/repos/builtin/packages/nbdkit/package.py
+++ b/var/spack/repos/builtin/packages/nbdkit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -24,3 +24,7 @@ class Nbdkit(AutotoolsPackage):
depends_on('automake', type='build')
depends_on('libtool', type='build')
depends_on('m4', type='build')
+
+ def configure_args(self):
+ args = ['bashcompdir={0}'.format(prefix)]
+ return args
diff --git a/var/spack/repos/builtin/packages/ncbi-magicblast/package.py b/var/spack/repos/builtin/packages/ncbi-magicblast/package.py
index 54588463bd..e9e7a42f37 100644
--- a/var/spack/repos/builtin/packages/ncbi-magicblast/package.py
+++ b/var/spack/repos/builtin/packages/ncbi-magicblast/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ncbi-rmblastn/package.py b/var/spack/repos/builtin/packages/ncbi-rmblastn/package.py
index a0f7873c33..9ee11128a6 100644
--- a/var/spack/repos/builtin/packages/ncbi-rmblastn/package.py
+++ b/var/spack/repos/builtin/packages/ncbi-rmblastn/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ncbi-toolkit/package.py b/var/spack/repos/builtin/packages/ncbi-toolkit/package.py
index c3be024e81..e8d62cb6c4 100644
--- a/var/spack/repos/builtin/packages/ncbi-toolkit/package.py
+++ b/var/spack/repos/builtin/packages/ncbi-toolkit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/nccl-tests/package.py b/var/spack/repos/builtin/packages/nccl-tests/package.py
index cb5c0cc9f0..2b2f1b8fab 100644
--- a/var/spack/repos/builtin/packages/nccl-tests/package.py
+++ b/var/spack/repos/builtin/packages/nccl-tests/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/nccl/package.py b/var/spack/repos/builtin/packages/nccl/package.py
index f805f55b1c..7505ecc8a6 100644
--- a/var/spack/repos/builtin/packages/nccl/package.py
+++ b/var/spack/repos/builtin/packages/nccl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,6 +14,7 @@ class Nccl(MakefilePackage, CudaPackage):
maintainers = ['adamjstewart']
+ version('2.8.3-1', sha256='3ae89ddb2956fff081e406a94ff54ae5e52359f5d645ce977c7eba09b3b782e6')
version('2.7.8-1', sha256='fa2bec307270f30fcf6280a85f24ea8801e0ce3b3027937c7325260a890b07e0')
version('2.7.6-1', sha256='60dd9b1743c2db6c05f60959edf98a4477f218115ef910d7ec2662f2fb5cf626')
version('2.7.5-1', sha256='26a8dec6fa0a776eb71205d618d58e26d372621719788a23b33db6fdce4426bf')
diff --git a/var/spack/repos/builtin/packages/nccmp/package.py b/var/spack/repos/builtin/packages/nccmp/package.py
index db9603b42f..6751a95b18 100644
--- a/var/spack/repos/builtin/packages/nccmp/package.py
+++ b/var/spack/repos/builtin/packages/nccmp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ncdu/package.py b/var/spack/repos/builtin/packages/ncdu/package.py
index 6218512e29..a4e5a19ef8 100644
--- a/var/spack/repos/builtin/packages/ncdu/package.py
+++ b/var/spack/repos/builtin/packages/ncdu/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ncftp/package.py b/var/spack/repos/builtin/packages/ncftp/package.py
index 386d90b01a..22a342219d 100644
--- a/var/spack/repos/builtin/packages/ncftp/package.py
+++ b/var/spack/repos/builtin/packages/ncftp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ncl/package.py b/var/spack/repos/builtin/packages/ncl/package.py
index 0046f425b8..b4626232e6 100644
--- a/var/spack/repos/builtin/packages/ncl/package.py
+++ b/var/spack/repos/builtin/packages/ncl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/nco/package.py b/var/spack/repos/builtin/packages/nco/package.py
index cd30f8742a..8e9b6e208c 100644
--- a/var/spack/repos/builtin/packages/nco/package.py
+++ b/var/spack/repos/builtin/packages/nco/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ncompress/package.py b/var/spack/repos/builtin/packages/ncompress/package.py
index c3d31ce682..f95dc9b7d4 100644
--- a/var/spack/repos/builtin/packages/ncompress/package.py
+++ b/var/spack/repos/builtin/packages/ncompress/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ncurses/package.py b/var/spack/repos/builtin/packages/ncurses/package.py
index 068bba6993..bc6a97ac4a 100644
--- a/var/spack/repos/builtin/packages/ncurses/package.py
+++ b/var/spack/repos/builtin/packages/ncurses/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ncview/package.py b/var/spack/repos/builtin/packages/ncview/package.py
index 3eb944ce9c..dd50c8fba2 100644
--- a/var/spack/repos/builtin/packages/ncview/package.py
+++ b/var/spack/repos/builtin/packages/ncview/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ndiff/package.py b/var/spack/repos/builtin/packages/ndiff/package.py
index a688a09241..f64c260ed4 100644
--- a/var/spack/repos/builtin/packages/ndiff/package.py
+++ b/var/spack/repos/builtin/packages/ndiff/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/neartree/package.py b/var/spack/repos/builtin/packages/neartree/package.py
new file mode 100644
index 0000000000..51da0d1813
--- /dev/null
+++ b/var/spack/repos/builtin/packages/neartree/package.py
@@ -0,0 +1,27 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Neartree(MakefilePackage):
+ """This is a release of an API for finding nearest neighbors among
+ points in spaces of arbitrary dimensions."""
+
+ homepage = "http://neartree.sourceforge.net/"
+ url = "https://downloads.sourceforge.net/project/neartree/neartree/NearTree-3.1/NearTree-3.1.tar.gz"
+
+ version('3.1', sha256='07b668516f15a7c13c219fd005b14e73bced5dc6b23857edcc24d3e5cf0d3be3')
+
+ depends_on('libtool', type='build')
+ depends_on('cvector')
+
+ def edit(self, spec, prefix):
+ mf = FileFilter('Makefile')
+ mf.filter(r'^CC.+', "CC = {0}".format(spack_cc))
+ mf.filter(r'^INSTALL_PREFIX .+', "INSTALL_PREFIX = {0}".format(prefix))
+
+ def build(self, spec, prefix):
+ pass
diff --git a/var/spack/repos/builtin/packages/nek5000/package.py b/var/spack/repos/builtin/packages/nek5000/package.py
index 221b21cbb5..2acabdcc7f 100644
--- a/var/spack/repos/builtin/packages/nek5000/package.py
+++ b/var/spack/repos/builtin/packages/nek5000/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -94,6 +94,11 @@ class Nek5000(Package):
else:
filter_file(r'^#MPI=0', 'MPI=0', 'makenek')
+ # Make sure nekmpi wrapper uses srun when we know OpenMPI
+ # is not built with mpiexec
+ if '^openmpi~legacylaunchers' in spec:
+ filter_file(r'mpiexec -np', 'srun -n', 'nekmpi')
+
if '+profiling' not in spec:
filter_file(r'^#PROFILING=0', 'PROFILING=0', 'makenek')
diff --git a/var/spack/repos/builtin/packages/nekbone/package.py b/var/spack/repos/builtin/packages/nekbone/package.py
index 6f8cd220ff..c70b3ffa84 100644
--- a/var/spack/repos/builtin/packages/nekbone/package.py
+++ b/var/spack/repos/builtin/packages/nekbone/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/nekcem/package.py b/var/spack/repos/builtin/packages/nekcem/package.py
index 09e1988224..3d099d16f0 100644
--- a/var/spack/repos/builtin/packages/nekcem/package.py
+++ b/var/spack/repos/builtin/packages/nekcem/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/nektar/package.py b/var/spack/repos/builtin/packages/nektar/package.py
index ed9a2bc966..43b73c731a 100644
--- a/var/spack/repos/builtin/packages/nektar/package.py
+++ b/var/spack/repos/builtin/packages/nektar/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/nektools/package.py b/var/spack/repos/builtin/packages/nektools/package.py
index d1f190e653..65920e76bc 100644
--- a/var/spack/repos/builtin/packages/nektools/package.py
+++ b/var/spack/repos/builtin/packages/nektools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/neo4j/package.py b/var/spack/repos/builtin/packages/neo4j/package.py
index 8f76eb8e64..517e06792e 100644
--- a/var/spack/repos/builtin/packages/neo4j/package.py
+++ b/var/spack/repos/builtin/packages/neo4j/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/neovim/package.py b/var/spack/repos/builtin/packages/neovim/package.py
index c920ae114b..30460ba1a6 100644
--- a/var/spack/repos/builtin/packages/neovim/package.py
+++ b/var/spack/repos/builtin/packages/neovim/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/nest/package.py b/var/spack/repos/builtin/packages/nest/package.py
index 6524931f5e..6cb604868c 100644
--- a/var/spack/repos/builtin/packages/nest/package.py
+++ b/var/spack/repos/builtin/packages/nest/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,6 +15,7 @@ class Nest(CMakePackage):
homepage = "http://www.nest-simulator.org"
url = "https://github.com/nest/nest-simulator/releases/download/v2.12.0/nest-2.12.0.tar.gz"
+ version('2.20.0', sha256='40e33187c22d6e843d80095b221fa7fd5ebe4dbc0116765a91fc5c425dd0eca4')
version('2.14.0', sha256='d6316d6c9153100a3220488abfa738958c4b65bf2622bd15540e4aa81e79f17f')
version('2.12.0', sha256='bac578f38bb0621618ee9d5f2f1febfee60cddc000ff32e51a5f5470bb3df40d')
version('2.10.0', sha256='2b6fc562cd6362e812d94bb742562a5a685fb1c7e08403765dbe123d59b0996c')
diff --git a/var/spack/repos/builtin/packages/netcdf-c/package.py b/var/spack/repos/builtin/packages/netcdf-c/package.py
index 12853dfc46..63e6617bd6 100644
--- a/var/spack/repos/builtin/packages/netcdf-c/package.py
+++ b/var/spack/repos/builtin/packages/netcdf-c/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/netcdf-cxx/package.py b/var/spack/repos/builtin/packages/netcdf-cxx/package.py
index 6a5f6aa183..b00cd17987 100644
--- a/var/spack/repos/builtin/packages/netcdf-cxx/package.py
+++ b/var/spack/repos/builtin/packages/netcdf-cxx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/netcdf-cxx4/package.py b/var/spack/repos/builtin/packages/netcdf-cxx4/package.py
index 66b294992f..20921a2f99 100644
--- a/var/spack/repos/builtin/packages/netcdf-cxx4/package.py
+++ b/var/spack/repos/builtin/packages/netcdf-cxx4/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/netcdf-fortran/package.py b/var/spack/repos/builtin/packages/netcdf-fortran/package.py
index 1178de8d57..3552101abf 100644
--- a/var/spack/repos/builtin/packages/netcdf-fortran/package.py
+++ b/var/spack/repos/builtin/packages/netcdf-fortran/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -136,6 +136,15 @@ class NetcdfFortran(AutotoolsPackage):
return config_args
+ @run_after('configure')
+ def patch_libtool(self):
+ """AOCC support for NETCDF-F"""
+ if '%aocc' in self.spec:
+ filter_file(
+ r'\${wl}-soname \$wl\$soname',
+ r'-fuse-ld=ld -Wl,-soname,\$soname',
+ 'libtool', string=True)
+
@when('@:4.4.5')
def check(self):
with working_dir(self.build_directory):
diff --git a/var/spack/repos/builtin/packages/netdata/package.py b/var/spack/repos/builtin/packages/netdata/package.py
index 830e233452..9e5c4c8550 100644
--- a/var/spack/repos/builtin/packages/netdata/package.py
+++ b/var/spack/repos/builtin/packages/netdata/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,4 +19,4 @@ class Netdata(AutotoolsPackage):
depends_on('automake', type='build')
depends_on('libtool', type='build')
depends_on('libuv')
- depends_on('libuuid')
+ depends_on('uuid')
diff --git a/var/spack/repos/builtin/packages/netgauge/package.py b/var/spack/repos/builtin/packages/netgauge/package.py
index 3c5d36e1fa..11e82d9db6 100644
--- a/var/spack/repos/builtin/packages/netgauge/package.py
+++ b/var/spack/repos/builtin/packages/netgauge/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/netgen/package.py b/var/spack/repos/builtin/packages/netgen/package.py
index f22ae4a168..63e51a22e5 100644
--- a/var/spack/repos/builtin/packages/netgen/package.py
+++ b/var/spack/repos/builtin/packages/netgen/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/netkit-ftp/package.py b/var/spack/repos/builtin/packages/netkit-ftp/package.py
index fe76bea86b..d2b6a69e61 100644
--- a/var/spack/repos/builtin/packages/netkit-ftp/package.py
+++ b/var/spack/repos/builtin/packages/netkit-ftp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/netlib-lapack/package.py b/var/spack/repos/builtin/packages/netlib-lapack/package.py
index 91358bf60f..e14ae18c04 100644
--- a/var/spack/repos/builtin/packages/netlib-lapack/package.py
+++ b/var/spack/repos/builtin/packages/netlib-lapack/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/netlib-scalapack/package.py b/var/spack/repos/builtin/packages/netlib-scalapack/package.py
index 51fa58d0e6..10f90a9dd9 100644
--- a/var/spack/repos/builtin/packages/netlib-scalapack/package.py
+++ b/var/spack/repos/builtin/packages/netlib-scalapack/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/netlib-xblas/package.py b/var/spack/repos/builtin/packages/netlib-xblas/package.py
index 1431b78494..b9ca43d64e 100644
--- a/var/spack/repos/builtin/packages/netlib-xblas/package.py
+++ b/var/spack/repos/builtin/packages/netlib-xblas/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/netperf/package.py b/var/spack/repos/builtin/packages/netperf/package.py
index 484c6b961c..8bbc48b578 100644
--- a/var/spack/repos/builtin/packages/netperf/package.py
+++ b/var/spack/repos/builtin/packages/netperf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/nettle/package.py b/var/spack/repos/builtin/packages/nettle/package.py
index 358294a22a..75f59b0b19 100644
--- a/var/spack/repos/builtin/packages/nettle/package.py
+++ b/var/spack/repos/builtin/packages/nettle/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/neuron/package.py b/var/spack/repos/builtin/packages/neuron/package.py
index a3c6cbec05..eddc32032c 100644
--- a/var/spack/repos/builtin/packages/neuron/package.py
+++ b/var/spack/repos/builtin/packages/neuron/package.py
@@ -1,187 +1,125 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
-import os
from spack import *
-class Neuron(Package):
+class Neuron(CMakePackage):
"""NEURON is a simulation environment for single and networks of neurons.
NEURON is a simulation environment for modeling individual and networks of
neurons. NEURON models individual neurons via the use of sections that are
automatically subdivided into individual compartments, instead of
- requiring the user to manually create compartments. The primary scripting
- language is hoc but a Python interface is also available.
+ requiring the user to manually create compartments.
"""
homepage = "https://www.neuron.yale.edu/"
- url = "http://www.neuron.yale.edu/ftp/neuron/versions/v7.5/nrn-7.5.tar.gz"
- git = "https://github.com/nrnhines/nrn.git"
-
- version('develop', branch='master')
- version('7.5', sha256='67642216a969fdc844da1bd56643edeed5e9f9ab8c2a3049dcbcbcccba29c336')
- version('7.4', sha256='1403ba16b2b329d2376f4bf007d96e6bf2992fa850f137f1068ad5b22b432de6')
- version('7.3', sha256='71cff5962966c5cd5d685d90569598a17b4b579d342126b31e2d431128cc8832')
- version('7.2', sha256='c777d73a58ff17a073e8ea25f140cb603b8b5f0df3c361388af7175e44d85b0e')
-
- variant('mpi', default=True, description='Enable MPI parallelism')
- variant('python', default=True, description='Enable python')
- variant('shared', default=False, description='Build shared libraries')
- variant('cross-compile', default=False, description='Build for cross-compile environment')
- variant('multisend', default=True, description="Enable multi-send spike exchange")
- variant('rx3d', default=False, description="Enable cython translated 3-d rxd")
-
- depends_on('flex', type='build')
- depends_on('bison', type='build')
- depends_on('automake', type='build')
- depends_on('automake', type='build')
- depends_on('autoconf', type='build')
- depends_on('libtool', type='build')
- depends_on('pkgconfig', type='build')
-
- depends_on('mpi', when='+mpi')
- depends_on('python@2.6:', when='+python')
- depends_on('ncurses', when='~cross-compile')
-
- conflicts('~shared', when='+python')
-
- filter_compiler_wrappers('*/bin/nrniv_makefile')
-
- def get_neuron_archdir(self):
- """Determine the architecture-specific neuron base directory.
-
- Instead of recreating the logic of the neuron's configure
- we dynamically find the architecture-specific directory by
- looking for a specific binary.
- """
- file_list = find(self.prefix, '*/bin/nrniv_makefile')
- # check needed as when initially evaluated the prefix is empty
- if file_list:
- neuron_archdir = os.path.dirname(os.path.dirname(file_list[0]))
+ url = "https://neuron.yale.edu/ftp/neuron/versions/v7.7/nrn-7.7.tar.gz"
+ git = "https://github.com/neuronsimulator/nrn"
+ maintainers = ['pramodk', 'nrnhines', 'iomaganaris', 'alexsavulescu']
+
+ version('develop', branch='master', submodules='True')
+ version("7.8.2", tag="7.8.2", submodules='True')
+ version("7.8.1", tag="7.8.1", submodules='True')
+
+ variant("coreneuron", default=False, description="Enable CoreNEURON as submodule")
+ variant("cross-compile", default=False, description="Build for cross-compile environment")
+ variant("interviews", default=False, description="Enable GUI with INTERVIEWS")
+ variant("legacy-unit", default=False, description="Enable legacy units")
+ variant("mpi", default=True, description="Enable MPI parallelism")
+ variant("python", default=True, description="Enable python")
+ variant("rx3d", default=False, description="Enable cython translated 3-d rxd")
+ variant("tests", default=False, description="Enable unit tests")
+
+ depends_on("bison", type="build")
+ depends_on("flex", type="build")
+ depends_on("py-cython", when="+rx3d", type="build")
+
+ depends_on("gettext")
+ depends_on("mpi", when="+mpi")
+ depends_on("ncurses")
+ depends_on("python@2.7:", when="+python")
+ depends_on("py-pytest", when="+python+tests")
+ depends_on("readline")
+
+ conflicts("+rx3d", when="~python")
+
+ patch("patch-v782-git-cmake-avx512.patch", when="@7.8.2")
+
+ def cmake_args(self):
+ spec = self.spec
+
+ def cmake_options(spec_options):
+ value = "TRUE" if spec_options in spec else "FALSE"
+ cmake_name = spec_options[1:].upper().replace("-", "_")
+ return "-DNRN_ENABLE_" + cmake_name + ":BOOL=" + value
+
+ args = [cmake_options(variant) for variant in ["+coreneuron",
+ "+interviews",
+ "+mpi",
+ "+python",
+ "+rx3d",
+ "+coreneuron",
+ "+tests"]]
+ args.append("-DNRN_ENABLE_BINARY_SPECIAL=ON")
+
+ if "~mpi" in spec and '+coreneuron' in spec:
+ args.append("-DCORENRN_ENABLE_MPI=OFF")
+
+ if "+python" in spec:
+ args.append("-DPYTHON_EXECUTABLE:FILEPATH="
+ + spec["python"].command.path)
+
+ if spec.variants['build_type'].value == 'Debug':
+ args.append("-DCMAKE_C_FLAGS=-g -O0")
+ args.append("-DCMAKE_CXX_FLAGS=-g -O0")
+ args.append("-DCMAKE_BUILD_TYPE=Custom")
+
+ if "+legacy-unit" in spec:
+ args.append('-DNRN_DYNAMIC_UNITS_USE_LEGACY=ON')
+
+ return args
+
+ @run_after("install")
+ def filter_compilers(self):
+ """run after install to avoid spack compiler wrappers
+ getting embded into nrnivmodl script"""
+
+ spec = self.spec
+
+ if "cray" in spec.architecture:
+ cc_compiler = "cc"
+ cxx_compiler = "CC"
+ elif spec.satisfies("+mpi"):
+ cc_compiler = spec["mpi"].mpicc
+ cxx_compiler = spec["mpi"].mpicxx
else:
- neuron_archdir = self.prefix
-
- return neuron_archdir
-
- def patch(self):
- # aclocal need complete include path (especially on os x)
- pkgconf_inc = '-I %s/share/aclocal/' % (self.spec['pkgconfig'].prefix)
- libtool_inc = '-I %s/share/aclocal/' % (self.spec['libtool'].prefix)
- newpath = 'aclocal -I m4 %s %s' % (pkgconf_inc, libtool_inc)
- filter_file(r'aclocal -I m4', r'%s' % newpath, "build.sh")
-
- def get_arch_options(self, spec):
- options = []
-
- if spec.satisfies('+cross-compile'):
- options.extend(['cross_compiling=yes',
- '--without-memacs',
- '--without-nmodl'])
-
- # on os-x disable building carbon 'click' utility
- if 'darwin' in self.spec.architecture:
- options.append('macdarwin=no')
-
- return options
-
- def get_python_options(self, spec):
- options = []
-
- if spec.satisfies('+python'):
- python_exec = spec['python'].command.path
- py_inc = spec['python'].headers.directories[0]
- py_lib = spec['python'].prefix.lib
-
- if not os.path.isdir(py_lib):
- py_lib = spec['python'].prefix.lib64
-
- options.extend(['--with-nrnpython=%s' % python_exec,
- '--disable-pysetup',
- 'PYINCDIR=%s' % py_inc,
- 'PYLIBDIR=%s' % py_lib])
-
- if spec.satisfies('~cross-compile'):
- options.append('PYTHON_BLD=%s' % python_exec)
-
- else:
- options.append('--without-nrnpython')
-
- return options
-
- def get_compiler_options(self, spec):
- flags = '-O2 -g'
-
- if self.spec.satisfies('%pgi'):
- flags += ' ' + self.compiler.cc_pic_flag
-
- return ['CFLAGS=%s' % flags,
- 'CXXFLAGS=%s' % flags]
-
- def build_nmodl(self, spec, prefix):
- # build components for front-end arch in cross compiling environment
- options = ['--prefix=%s' % prefix,
- '--with-nmodl-only',
- '--without-x']
-
- if 'cray' in self.spec.architecture:
- flags = '-target-cpu=x86_64 -target-network=none'
- options.extend(['CFLAGS=%s' % flags,
- 'CXXFLAGS=%s' % flags])
-
- configure = Executable(join_path(self.stage.source_path, 'configure'))
- configure(*options)
- make()
- make('install')
-
- def install(self, spec, prefix):
-
- options = ['--prefix=%s' % prefix,
- '--without-iv',
- '--without-x',
- '--without-readline']
-
- if spec.satisfies('+multisend'):
- options.append('--with-multisend')
-
- if spec.satisfies('~rx3d'):
- options.append('--disable-rx3d')
-
- if spec.satisfies('+mpi'):
- options.extend(['MPICC=%s' % spec['mpi'].mpicc,
- 'MPICXX=%s' % spec['mpi'].mpicxx,
- '--with-paranrn'])
- else:
- options.append('--without-paranrn')
-
- if spec.satisfies('~shared'):
- options.extend(['--disable-shared',
- 'linux_nrnmech=no'])
-
- options.extend(self.get_arch_options(spec))
- options.extend(self.get_python_options(spec))
- options.extend(self.get_compiler_options(spec))
-
- build = Executable('./build.sh')
- build()
-
- with working_dir('build', create=True):
- if spec.satisfies('+cross-compile'):
- self.build_nmodl(spec, prefix)
- srcpath = self.stage.source_path
- configure = Executable(join_path(srcpath, 'configure'))
- configure(*options)
- make('VERBOSE=1')
- make('install')
+ cc_compiler = self.compiler.cc
+ cxx_compiler = self.compiler.cxx
+
+ kwargs = {"backup": False, "string": True}
+ nrnmech_makefile = join_path(self.prefix,
+ "./bin/nrnmech_makefile")
+
+ assign_operator = "?="
+ filter_file("CC {0} {1}".format(assign_operator, env["CC"]),
+ "CC = {0}".format(cc_compiler),
+ nrnmech_makefile,
+ **kwargs)
+ filter_file("CXX {0} {1}".format(assign_operator, env["CXX"]),
+ "CXX = {0}".format(cxx_compiler),
+ nrnmech_makefile,
+ **kwargs)
+
+ if spec.satisfies("+coreneuron"):
+ corenrn_makefile = join_path(self.prefix,
+ "share/coreneuron/nrnivmodl_core_makefile")
+ filter_file(env["CXX"], cxx_compiler, corenrn_makefile, **kwargs)
def setup_run_environment(self, env):
- neuron_archdir = self.get_neuron_archdir()
- env.prepend_path('PATH', join_path(neuron_archdir, 'bin'))
- env.prepend_path('LD_LIBRARY_PATH', join_path(neuron_archdir, 'lib'))
-
- def setup_dependent_build_environment(self, env, dependent_spec):
- neuron_archdir = self.get_neuron_archdir()
- env.prepend_path('PATH', join_path(neuron_archdir, 'bin'))
- env.prepend_path('LD_LIBRARY_PATH', join_path(neuron_archdir, 'lib'))
+ env.prepend_path("PATH", join_path(self.prefix, "bin"))
+ env.prepend_path("LD_LIBRARY_PATH", join_path(self.prefix, "lib"))
+ if self.spec.satisfies("+python"):
+ env.prepend_path("PYTHONPATH", self.spec.prefix.lib.python)
diff --git a/var/spack/repos/builtin/packages/neuron/patch-v782-git-cmake-avx512.patch b/var/spack/repos/builtin/packages/neuron/patch-v782-git-cmake-avx512.patch
new file mode 100644
index 0000000000..dc2a4b8fe4
--- /dev/null
+++ b/var/spack/repos/builtin/packages/neuron/patch-v782-git-cmake-avx512.patch
@@ -0,0 +1,139 @@
+diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
+index 391d4daa..20b8b571 100644
+--- a/CONTRIBUTING.md
++++ b/CONTRIBUTING.md
+@@ -98,7 +98,7 @@ Currently we have enabled CMake code formatting using [cmake-format](https://git
+ * Make sure to install cmake-format utility with Python version you are using:
+
+ ```
+-pip3.7 install cmake-format==0.6.0 --user
++pip3.7 install cmake-format==0.6.0 pyyaml --user
+ ```
+ Now you should have `cmake-format` command available.
+
+diff --git a/cmake/ExternalProjectHelper.cmake b/cmake/ExternalProjectHelper.cmake
+index 57094e7e..eeb6dfc2 100644
+--- a/cmake/ExternalProjectHelper.cmake
++++ b/cmake/ExternalProjectHelper.cmake
+@@ -1,5 +1,15 @@
+ find_package(Git QUIET)
+
++if(${GIT_FOUND} AND EXISTS ${CMAKE_SOURCE_DIR}/.git)
++ execute_process(
++ COMMAND ${GIT_EXECUTABLE} --git-dir=.git describe --all
++ RESULT_VARIABLE NOT_A_GIT_REPO
++ ERROR_QUIET
++ WORKING_DIRECTORY ${PROJECT_SOURCE_DIR})
++else()
++ set(NOT_A_GIT_REPO "NotAGitRepo")
++endif()
++
+ # initialize submodule with given path
+ function(initialize_submodule path)
+ if(NOT ${GIT_FOUND})
+@@ -9,7 +19,7 @@ function(initialize_submodule path)
+ message(STATUS "Sub-module : missing ${path} : running git submodule update --init --recursive")
+ execute_process(
+ COMMAND
+- git submodule update --init --recursive -- ${path}
++ ${GIT_EXECUTABLE} submodule update --init --recursive -- ${path}
+ WORKING_DIRECTORY ${PROJECT_SOURCE_DIR})
+ endfunction()
+
+@@ -20,6 +30,9 @@ function(add_external_project name)
+ NAMES CMakeLists.txt
+ PATHS "${PROJECT_SOURCE_DIR}/external/${name}")
+ if(NOT EXISTS ${${name}_PATH})
++ if(NOT_A_GIT_REPO)
++ message(FATAL_ERROR "Looks like you are building from source. Git needed for ${name} feature.")
++ endif()
+ initialize_submodule(external/${name})
+ else()
+ message(STATUS "Sub-project : using ${name} from from external/${name}")
+diff --git a/git2nrnversion_h.sh b/git2nrnversion_h.sh
+index d62b7410..4d8e4015 100755
+--- a/git2nrnversion_h.sh
++++ b/git2nrnversion_h.sh
+@@ -20,10 +20,9 @@ if git log > /dev/null && test -d .git ; then
+ elif test -f src/nrnoc/nrnversion.h ; then
+ sed -n '1,$p' src/nrnoc/nrnversion.h
+ else
+- echo "#define GIT_DATE \"1999-12-31\""
+- echo "#define GIT_BRANCH \"?\""
+- echo "#define GIT_CHANGESET \"?\""
+- echo "#define GIT_DESCRIBE \"?\""
+- exit 1
++ echo "#define GIT_DATE \"Build Time: $(date "+%Y-%m-%d-%H:%M:%S")\""
++ echo "#define GIT_BRANCH \"unknown branch\""
++ echo "#define GIT_CHANGESET \"unknown commit id\""
++ echo "#define GIT_DESCRIBE \"${PROJECT_VERSION}.dev0\""
+ fi
+
+diff --git a/src/ivoc/ivocvect.cpp b/src/ivoc/ivocvect.cpp
+index 4884614a..4da9e17e 100644
+--- a/src/ivoc/ivocvect.cpp
++++ b/src/ivoc/ivocvect.cpp
+@@ -67,7 +67,26 @@ extern "C" {
+ #define FRead(arg1,arg2,arg3,arg4) if (fread(arg1,arg2,arg3,arg4) != arg3) {}
+ #endif
+
+-static double dmaxint_;
++/**
++ * As all parameters are passed from hoc as double, we need
++ * to calculate max integer that can fit into double variable.
++ *
++ * With IEEE 64-bit double has 52 bits of mantissa, so it's 2^53.
++ * calculating it with approach `while (dbl + 1 != dbl) dbl++;`
++ * has issues with SSE and other 32 bits platform. So we are using
++ * direct value here.
++ *
++ * The maximum mantissa 0xFFFFFFFFFFFFF which is 52 bits all 1.
++ * In Python it's:
++ *
++ * >>> (2.**53).hex()
++ * '0x1.0000000000000p+53'
++ * >>> (2.**53)
++ * 9007199254740992.0
++ *
++ * See https://stackoverflow.com/questions/1848700/biggest-integer-that-can-be-stored-in-a-double
++ */
++static double dmaxint_ = 9007199254740992;
+
+ // Definitions allow machine independent write and read
+ // note that must include BYTEHEADER at head of routine
+@@ -3776,20 +3795,7 @@ static void steer_x(void* v) {
+ }
+
+ void Vector_reg() {
+- dmaxint_ = 1073741824.;
+- for(;;) {
+- if (dmaxint_*2. == double(int(dmaxint_*2.))) {
+- dmaxint_ *= 2.;
+- }else{
+- if (dmaxint_*2. - 1. == double(int(dmaxint_*2. - 1.))) {
+- dmaxint_ = 2.*dmaxint_ - 1.;
+- }
+- break;
+- }
+- }
+- //printf("dmaxint=%30.20g %d\n", dmaxint_, (long)dmaxint_);
+- class2oc("Vector", v_cons, v_destruct, v_members, NULL, v_retobj_members,
+- v_retstr_members);
++ class2oc("Vector", v_cons, v_destruct, v_members, NULL, v_retobj_members, v_retstr_members);
+ svec_ = hoc_lookup("Vector");
+ // now make the x variable an actual double
+ Symbol* sv = hoc_lookup("Vector");
+diff --git a/src/nrniv/CMakeLists.txt b/src/nrniv/CMakeLists.txt
+index 30024d6e..26f76a98 100644
+--- a/src/nrniv/CMakeLists.txt
++++ b/src/nrniv/CMakeLists.txt
+@@ -139,7 +139,8 @@ set(NRN_INCLUDE_DIRS
+ # is different from the contents of nrnversion.h
+ # ~~~
+ add_custom_target(
+- nrnversion_h ${PROJECT_SOURCE_DIR}/git2nrnversion_h.sh ${PROJECT_SOURCE_DIR} > nrnversion.h.tmp
++ nrnversion_h
++ COMMAND ${CMAKE_COMMAND} -E env PROJECT_VERSION=${PROJECT_VERSION} $ENV{SHELL} ${PROJECT_SOURCE_DIR}/git2nrnversion_h.sh ${PROJECT_SOURCE_DIR} > nrnversion.h.tmp
+ COMMAND ${CMAKE_COMMAND} -E copy_if_different nrnversion.h.tmp ${NRN_NRNOC_SRC_DIR}/nrnversion.h
+ DEPENDS ${PROJECT_SOURCE_DIR}/git2nrnversion_h.sh)
+
diff --git a/var/spack/repos/builtin/packages/newt/package.py b/var/spack/repos/builtin/packages/newt/package.py
index 5458dd5510..061daaaf4f 100644
--- a/var/spack/repos/builtin/packages/newt/package.py
+++ b/var/spack/repos/builtin/packages/newt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/nextflow/package.py b/var/spack/repos/builtin/packages/nextflow/package.py
index b376a69820..1f14cf8d9d 100644
--- a/var/spack/repos/builtin/packages/nextflow/package.py
+++ b/var/spack/repos/builtin/packages/nextflow/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,6 +12,7 @@ class Nextflow(Package):
homepage = "http://www.nextflow.io"
url = "https://github.com/nextflow-io/nextflow/releases/download/v0.24.1/nextflow"
+ version('20.10.0', sha256='54f76c83cbabe8ec68d6a878dcf921e647284499f4ae917356e594d873cb78dd', expand=False)
version('20.07.1', sha256='de4db5747a801af645d9b021c7b36f4a25c3ce1a8fda7705a5f37e8f9357443a', expand=False)
version('0.25.6', sha256='9498806596c96ba87396194fa6f1d7d1cdb739990f83e7e89d1d055366c5a943', expand=False)
version('0.24.1', sha256='0bfde5335b385e3cff99bf4aab619e583de5dc0849767240f675037a2e7c1d83', expand=False)
diff --git a/var/spack/repos/builtin/packages/nfft/package.py b/var/spack/repos/builtin/packages/nfft/package.py
index ccd1a8ade0..8e02e1e16e 100644
--- a/var/spack/repos/builtin/packages/nfft/package.py
+++ b/var/spack/repos/builtin/packages/nfft/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/nfs-ganesha/package.py b/var/spack/repos/builtin/packages/nfs-ganesha/package.py
index 08bdfc8a43..9445c4c0c6 100644
--- a/var/spack/repos/builtin/packages/nfs-ganesha/package.py
+++ b/var/spack/repos/builtin/packages/nfs-ganesha/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/nfs-utils/package.py b/var/spack/repos/builtin/packages/nfs-utils/package.py
index b28a8596a5..69c9edd893 100644
--- a/var/spack/repos/builtin/packages/nfs-utils/package.py
+++ b/var/spack/repos/builtin/packages/nfs-utils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -25,6 +25,7 @@ class NfsUtils(AutotoolsPackage):
depends_on('lvm2')
depends_on('keyutils')
depends_on('sqlite')
+ depends_on('uuid')
depends_on('util-linux')
depends_on('gettext')
diff --git a/var/spack/repos/builtin/packages/nghttp2/package.py b/var/spack/repos/builtin/packages/nghttp2/package.py
index e5a6cb60dc..509ae8633a 100644
--- a/var/spack/repos/builtin/packages/nghttp2/package.py
+++ b/var/spack/repos/builtin/packages/nghttp2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/nginx/package.py b/var/spack/repos/builtin/packages/nginx/package.py
index 8c2c6a32dd..e9e32e91a5 100644
--- a/var/spack/repos/builtin/packages/nginx/package.py
+++ b/var/spack/repos/builtin/packages/nginx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ngmerge/package.py b/var/spack/repos/builtin/packages/ngmerge/package.py
index f471c2abd0..089061d1d1 100644
--- a/var/spack/repos/builtin/packages/ngmerge/package.py
+++ b/var/spack/repos/builtin/packages/ngmerge/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ngmlr/for_aarch64.patch b/var/spack/repos/builtin/packages/ngmlr/for_aarch64.patch
index 9db5bb838a..000ffa5503 100644
--- a/var/spack/repos/builtin/packages/ngmlr/for_aarch64.patch
+++ b/var/spack/repos/builtin/packages/ngmlr/for_aarch64.patch
@@ -5,7 +5,7 @@
#include <stdint.h>
#include <string.h>
-#include <emmintrin.h>
-+#include <SSE2NEON.h>
++#include <sse2neon.h>
#ifdef __cplusplus
extern "C" {
@@ -16,7 +16,7 @@
*/
-#include <emmintrin.h>
-+#include <SSE2NEON.h>
++#include <sse2neon.h>
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
@@ -27,7 +27,7 @@
#include <stdio.h>
#include <algorithm>
-#include <x86intrin.h>
-+#include <SSE2NEON.h>
++#include <sse2neon.h>
#include "IConfig.h"
diff --git a/var/spack/repos/builtin/packages/ngmlr/package.py b/var/spack/repos/builtin/packages/ngmlr/package.py
index 6dede65ee9..5329857a1f 100644
--- a/var/spack/repos/builtin/packages/ngmlr/package.py
+++ b/var/spack/repos/builtin/packages/ngmlr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ngspice/package.py b/var/spack/repos/builtin/packages/ngspice/package.py
new file mode 100644
index 0000000000..5d5dfd5746
--- /dev/null
+++ b/var/spack/repos/builtin/packages/ngspice/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+class Ngspice(AutotoolsPackage):
+ """ngspice is the open source spice simulator for electric and
+ electronic circuits."""
+
+ homepage = "http://ngspice.sourceforge.net/"
+ url = "https://sourceforge.net/projects/ngspice/files/ngspice-33.tar.gz"
+ version('33', sha256='b99db66cc1c57c44e9af1ef6ccb1dcbc8ae1df3e35acf570af578f606f8541f1')
+
+ depends_on('fftw')
+
+ def configure_args(self):
+ args = []
+ args.append('--without-x')
+ args.append('--with-ngshared')
+ return args
diff --git a/var/spack/repos/builtin/packages/nicstat/package.py b/var/spack/repos/builtin/packages/nicstat/package.py
index 054cc9c4d8..e8d45a3061 100644
--- a/var/spack/repos/builtin/packages/nicstat/package.py
+++ b/var/spack/repos/builtin/packages/nicstat/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/nim/package.py b/var/spack/repos/builtin/packages/nim/package.py
index bc5fb15916..bbf1489296 100644
--- a/var/spack/repos/builtin/packages/nim/package.py
+++ b/var/spack/repos/builtin/packages/nim/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,10 +15,12 @@ class Nim(Package):
homepage = "https://nim-lang.org/"
url = "https://nim-lang.org/download/nim-0.20.0.tar.xz"
- version('0.20.0', sha256='4be00d7dd47220da508b30ce3b4deade4ba39800ea4a1e574018b3c733359780')
- version('0.19.6', sha256='a09f0c58d29392434d4fd6d15d4059cf7e013ae948413cb9233b8233d67e3a29')
+ version('1.4.2', sha256='03a47583777dd81380a3407aa6a788c9aa8a67df4821025770c9ac4186291161')
+ version('0.20.0', sha256='51f479b831e87b9539f7264082bb6a64641802b54d2691b3c6e68ac7e2699a90', deprecated=True)
+ version('0.19.6', sha256='a09f0c58d29392434d4fd6d15d4059cf7e013ae948413cb9233b8233d67e3a29', deprecated=True)
version('0.19.9', sha256='154c440cb8f27da20b3d6b1a8cc03f63305073fb995bbf26ec9bc6ad891ce276',
- url='https://github.com/nim-lang/nightlies/releases/download/2019-06-02-devel-1255b3c/nim-0.19.9-linux_x64.tar.xz')
+ url='https://github.com/nim-lang/nightlies/releases/download/2019-06-02-devel-1255b3c/nim-0.19.9-linux_x64.tar.xz',
+ deprecated=True)
depends_on('pcre', type='build')
depends_on('openssl', type='build')
diff --git a/var/spack/repos/builtin/packages/ninja-fortran/package.py b/var/spack/repos/builtin/packages/ninja-fortran/package.py
index d85a5b4542..600a638826 100644
--- a/var/spack/repos/builtin/packages/ninja-fortran/package.py
+++ b/var/spack/repos/builtin/packages/ninja-fortran/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ninja/package.py b/var/spack/repos/builtin/packages/ninja/package.py
index 96cd0252a2..a354d9d254 100644
--- a/var/spack/repos/builtin/packages/ninja/package.py
+++ b/var/spack/repos/builtin/packages/ninja/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,6 +18,7 @@ class Ninja(Package):
version('kitware', branch='features-for-fortran', git='https://github.com/Kitware/ninja.git')
version('master', branch='master')
+ version('1.10.2', sha256='ce35865411f0490368a8fc383f29071de6690cbadc27704734978221f25e2bed')
version('1.10.1', sha256='a6b6f7ac360d4aabd54e299cc1d8fa7b234cd81b9401693da21221c62569a23e')
version('1.10.0', sha256='3810318b08489435f8efc19c05525e80a993af5a55baa0dfeae0465a9d45f99f')
version('1.9.0', sha256='5d7ec75828f8d3fd1a0c2f31b5b0cea780cdfe1031359228c428c1a48bfcd5b9')
diff --git a/var/spack/repos/builtin/packages/nix/package.py b/var/spack/repos/builtin/packages/nix/package.py
index 7025b65dc1..1dbd50d231 100644
--- a/var/spack/repos/builtin/packages/nix/package.py
+++ b/var/spack/repos/builtin/packages/nix/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/njet/njet-2.0.0.patch b/var/spack/repos/builtin/packages/njet/njet-2.0.0.patch
new file mode 100644
index 0000000000..30883e323f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/njet/njet-2.0.0.patch
@@ -0,0 +1,17 @@
+--- blha/njet_olp.cpp.orig 2016-06-09 15:09:37.024953173 +0200
++++ blha/njet_olp.cpp 2016-06-09 15:09:41.783999034 +0200
+@@ -1076,12 +1076,12 @@
+ string line;
+ int linenum = 0;
+
+- while (is_good && (is_good = getline(*input, line))) {
++ while (is_good && (is_good = getline(*input, line).good())) {
+ linenum++;
+ if (line.find(SIGNPREF) == 0) {
+ is_njet = true;
+ if (stringstream(line.substr(SIGNPREF.length())) >> signval) {
+- is_good = getline(*input, line);
++ is_good = getline(*input, line).good();
+ linenum++;
+ body.push_back(line);
+ continue;
diff --git a/var/spack/repos/builtin/packages/njet/package.py b/var/spack/repos/builtin/packages/njet/package.py
index a22e6de0e7..a29079288f 100644
--- a/var/spack/repos/builtin/packages/njet/package.py
+++ b/var/spack/repos/builtin/packages/njet/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,10 +13,15 @@ class Njet(AutotoolsPackage):
homepage = "https://bitbucket.org/njet/njet/wiki/Home"
url = "https://bitbucket.org/njet/njet/downloads/njet-2.1.1.tar.gz"
+ tags = ['hep']
+
version('2.1.1', sha256='3858ad37e84f3652711aa033819a6566352ecff04a1cb0189d6590af75b7bb56')
+ version('2.0.0', sha256='a1f5c171b8aff3553d9dde24d3ced5479bdaeec67f4c90c70a846ee3449b40ea')
depends_on('qd')
+ patch('njet-2.0.0.patch', when='@2.0.0', level=0)
+
def configure_args(self):
args = ['--with-qd=' + self.spec['qd'].prefix,
"FFLAGS=-ffixed-line-length-none -std=legacy"]
diff --git a/var/spack/repos/builtin/packages/nlcglib/package.py b/var/spack/repos/builtin/packages/nlcglib/package.py
index af001a6bd6..bc0481fe76 100644
--- a/var/spack/repos/builtin/packages/nlcglib/package.py
+++ b/var/spack/repos/builtin/packages/nlcglib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/nlohmann-json-schema-validator/package.py b/var/spack/repos/builtin/packages/nlohmann-json-schema-validator/package.py
index ff2af6fcea..a21b239f32 100644
--- a/var/spack/repos/builtin/packages/nlohmann-json-schema-validator/package.py
+++ b/var/spack/repos/builtin/packages/nlohmann-json-schema-validator/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/nlohmann-json/package.py b/var/spack/repos/builtin/packages/nlohmann-json/package.py
index 8cba1e2a09..a839bb18ac 100644
--- a/var/spack/repos/builtin/packages/nlohmann-json/package.py
+++ b/var/spack/repos/builtin/packages/nlohmann-json/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/nlopt/package.py b/var/spack/repos/builtin/packages/nlopt/package.py
index 509218ea83..3beb7d9966 100644
--- a/var/spack/repos/builtin/packages/nlopt/package.py
+++ b/var/spack/repos/builtin/packages/nlopt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/nmap/package.py b/var/spack/repos/builtin/packages/nmap/package.py
index a7e3d1a4b2..5c98b4bf09 100644
--- a/var/spack/repos/builtin/packages/nmap/package.py
+++ b/var/spack/repos/builtin/packages/nmap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/nn-c/package.py b/var/spack/repos/builtin/packages/nn-c/package.py
index 01f8e652b3..fb68df6e6f 100644
--- a/var/spack/repos/builtin/packages/nn-c/package.py
+++ b/var/spack/repos/builtin/packages/nn-c/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/nnvm/package.py b/var/spack/repos/builtin/packages/nnvm/package.py
index b341fc315a..40db801133 100644
--- a/var/spack/repos/builtin/packages/nnvm/package.py
+++ b/var/spack/repos/builtin/packages/nnvm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/node-js/package.py b/var/spack/repos/builtin/packages/node-js/package.py
index 28def78333..5ca807744e 100644
--- a/var/spack/repos/builtin/packages/node-js/package.py
+++ b/var/spack/repos/builtin/packages/node-js/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,13 +18,15 @@ class NodeJs(Package):
list_depth = 1
# Current (latest features)
+ version('15.3.0', sha256='cadfa384a5f14591b84ce07a1afe529f28deb0d43366fb0ae4e78afba96bfaf2')
version('14.13.0', sha256='8538b2e76aa06ee0e6eb1c118426c3c5ca53b2e49d66591738eacf76e89edd61')
version('14.10.0', sha256='7e0d7a1aa23697415e3588a1ca4f1c47496e6c88b9cf37c66be90353d3e4ac3e')
version('13.8.0', sha256='815b5e1b18114f35da89e4d98febeaba97555d51ef593bd5175db2b05f2e8be6')
version('13.5.0', sha256='4b8078d896a7550d7ed399c1b4ac9043e9f883be404d9b337185c8d8479f2db8')
# LTS (recommended for most users)
- version('12.18.4', sha256='a802d87e579e46fc52771ed6f2667048320caca867be3276f4c4f1bbb41389c3', preferred=True)
+ version('14.15.1', sha256='a1120472bf55aea745287693a6651e16973e1008c9d6107df350126adf9716fe', preferred=True)
+ version('12.18.4', sha256='a802d87e579e46fc52771ed6f2667048320caca867be3276f4c4f1bbb41389c3')
version('12.18.3', sha256='6ea85f80e01b007cc9b566b8836513bc5102667d833bad4c1092be60fa60c2d4')
version('12.16.0', sha256='ae2dfe74485d821d4fef7cf1802acd2322cd994c853a2327c4306952f4453441')
version('12.14.0', sha256='5c1939867228f3845c808ef84a89c8ee93cc35f857bf7587ecee1b5a6d9da67b')
diff --git a/var/spack/repos/builtin/packages/notmuch/package.py b/var/spack/repos/builtin/packages/notmuch/package.py
index 6a79d0b421..7366a44e06 100644
--- a/var/spack/repos/builtin/packages/notmuch/package.py
+++ b/var/spack/repos/builtin/packages/notmuch/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/npb/package.py b/var/spack/repos/builtin/packages/npb/package.py
index bc9a10cc0d..9dd5ab5185 100644
--- a/var/spack/repos/builtin/packages/npb/package.py
+++ b/var/spack/repos/builtin/packages/npb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/npm/package.py b/var/spack/repos/builtin/packages/npm/package.py
index 7b11e83911..fd1480ade0 100644
--- a/var/spack/repos/builtin/packages/npm/package.py
+++ b/var/spack/repos/builtin/packages/npm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,6 +16,7 @@ class Npm(Package):
# base http://www.npmjs.com/
url = "https://registry.npmjs.org/npm/-/npm-6.13.4.tgz"
+ version('6.14.9', sha256='1e0e880ce0d5adf0120fb3f92fc8e5ea5bac73681d37282615d074ff670f7703')
version('6.14.8', sha256='fe8e873cb606c06f67f666b4725eb9122c8927f677c8c0baf1477f0ff81f5a2c')
version('6.13.7', sha256='6adf71c198d61a5790cf0e057f4ab72c6ef6c345d72bed8bb7212cb9db969494')
version('6.13.4', sha256='a063290bd5fa06a8753de14169b7b243750432f42d01213fbd699e6b85916de7')
diff --git a/var/spack/repos/builtin/packages/npth/package.py b/var/spack/repos/builtin/packages/npth/package.py
index e5a82c4e83..0d2bbdebe7 100644
--- a/var/spack/repos/builtin/packages/npth/package.py
+++ b/var/spack/repos/builtin/packages/npth/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/nrm/package.py b/var/spack/repos/builtin/packages/nrm/package.py
index d4d5bb4914..cee2d89547 100644
--- a/var/spack/repos/builtin/packages/nrm/package.py
+++ b/var/spack/repos/builtin/packages/nrm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ns-3-dev/package.py b/var/spack/repos/builtin/packages/ns-3-dev/package.py
index 6f1d85f6db..1168e28134 100644
--- a/var/spack/repos/builtin/packages/ns-3-dev/package.py
+++ b/var/spack/repos/builtin/packages/ns-3-dev/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/nseg/package.py b/var/spack/repos/builtin/packages/nseg/package.py
index 76bf947f20..12a507cb4f 100644
--- a/var/spack/repos/builtin/packages/nseg/package.py
+++ b/var/spack/repos/builtin/packages/nseg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/nsimd/package.py b/var/spack/repos/builtin/packages/nsimd/package.py
index f9706f834d..84c6326bae 100644
--- a/var/spack/repos/builtin/packages/nsimd/package.py
+++ b/var/spack/repos/builtin/packages/nsimd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,6 +12,10 @@ class Nsimd(CMakePackage):
maintainers = ['eschnett']
+ version('2.2', sha256='7916bec6c8ea9ddc690a5bfc80fb1b9402f9e1b2a4b4bb6b6bb8eb5a07eb018e')
+ version('2.1', sha256='3274f1061d1fac170130b8c75378a6b94580629b3dc1d53db244b51500ee4695')
+ # Version 2.0 is disabled since it does not support cmake
+ # version('2.0', sha256='b239e98316f93257161b25c8232634884edcee358982a74742981cc9b68da642')
version('1.0', sha256='523dae83f1d93eab30114321f1c9a67e2006a52595da4c51f121ca139abe0857')
variant('simd',
@@ -21,17 +25,40 @@ class Nsimd(CMakePackage):
'none',
'CPU',
'SSE2', 'SSE42', 'AVX', 'AVX2', 'AVX512_KNL', 'AVX512_SKYLAKE',
- 'NEON128', 'AARCH64', 'SVE',
+ 'NEON128', 'AARCH64',
+ 'SVE', 'SVE128', 'SVE256', 'SVE512', 'SVE1024', 'SVE2048',
+ 'CUDA', 'ROCM',
),
multi=False)
variant('optionals', values=any_combination_of('FMA', 'FP16'),
description='Optional SIMD features',)
conflicts('simd=none', msg="SIMD instruction set not defined")
+ conflicts('simd=SVE128', when=('@:1'),
+ msg="SIMD extension not available in version @:1")
+ conflicts('simd=SVE256', when=('@:1'),
+ msg="SIMD extension not available in version @:1")
+ conflicts('simd=SVE512', when=('@:1'),
+ msg="SIMD extension not available in version @:1")
+ conflicts('simd=SVE1024', when=('@:1'),
+ msg="SIMD extension not available in version @:1")
+ conflicts('simd=SVE2048', when=('@:1'),
+ msg="SIMD extension not available in version @:1")
+ conflicts('simd=CUDA', when=('@:1'),
+ msg="SIMD extension not available in version @:1")
+ conflicts('simd=ROCM', when=('@:1'),
+ msg="SIMD extension not available in version @:1")
+ conflicts('optionals=FMA', when=('@2:'),
+ msg="SIMD optionals not available in version @2:")
+ conflicts('optionals=FP16', when=('@2:'),
+ msg="SIMD optionals not available in version @2:")
+ conflicts('optionals=FMA,FP16', when=('@2:'),
+ msg="SIMD optionals not available in version @2:")
# Requires a C++14 compiler for building.
# The C++ interface requires a C++11 compiler to use.
depends_on('cmake@2.8.7:', type='build')
+ depends_on('cmake@3.0.2:', type='build', when='@2:')
depends_on('python@3:', type='build')
# Add a 'generate_code' phase in the beginning
@@ -39,24 +66,28 @@ class Nsimd(CMakePackage):
def generate_code(self, spec, prefix):
"""Auto-generates code in the build directory"""
- options = [
- 'egg/hatch.py',
- '--all',
- '--force',
- '--disable-clang-format',
- ]
- python = spec['python'].command
- python(*options)
+ if self.spec.satisfies("@:1"):
+ options = [
+ 'egg/hatch.py',
+ '--all',
+ '--force',
+ ]
+ python = spec['python'].command
+ python(*options)
def cmake_args(self):
# Required SIMD argument
simd = self.spec.variants['simd'].value
- cmake_args = ["-DSIMD={0}".format(simd)]
+ if self.spec.satisfies("@:1"):
+ cmake_args = ["-DSIMD={0}".format(simd)]
+ else:
+ cmake_args = ["-Dsimd={0}".format(simd)]
- # Optional SIMD instructions to be turned on explicitly
- optionals_value = self.spec.variants['optionals'].value
- if optionals_value != 'none':
- optionals_arg = ';'.join(optionals_value)
- cmake_args.append("-DSIMD_OPTIONALS={0}".format(optionals_arg))
+ if self.spec.satisfies("@:1"):
+ # Optional SIMD instructions to be turned on explicitly
+ optionals_value = self.spec.variants['optionals'].value
+ if optionals_value != 'none':
+ optionals_arg = ';'.join(optionals_value)
+ cmake_args.append("-DSIMD_OPTIONALS={0}".format(optionals_arg))
return cmake_args
diff --git a/var/spack/repos/builtin/packages/nspr/package.py b/var/spack/repos/builtin/packages/nspr/package.py
index 5d697e6ddc..8bf72545b0 100644
--- a/var/spack/repos/builtin/packages/nspr/package.py
+++ b/var/spack/repos/builtin/packages/nspr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ntirpc/package.py b/var/spack/repos/builtin/packages/ntirpc/package.py
index fa29056e16..6d67a37777 100644
--- a/var/spack/repos/builtin/packages/ntirpc/package.py
+++ b/var/spack/repos/builtin/packages/ntirpc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ntpoly/package.py b/var/spack/repos/builtin/packages/ntpoly/package.py
index d83a0bba78..0d657b0d56 100644
--- a/var/spack/repos/builtin/packages/ntpoly/package.py
+++ b/var/spack/repos/builtin/packages/ntpoly/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/numactl/package.py b/var/spack/repos/builtin/packages/numactl/package.py
index 8fbfbdfeea..1eb23cf1f7 100644
--- a/var/spack/repos/builtin/packages/numactl/package.py
+++ b/var/spack/repos/builtin/packages/numactl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/numamma/package.py b/var/spack/repos/builtin/packages/numamma/package.py
index cc71495449..e188813ab7 100644
--- a/var/spack/repos/builtin/packages/numamma/package.py
+++ b/var/spack/repos/builtin/packages/numamma/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/numap/package.py b/var/spack/repos/builtin/packages/numap/package.py
index 2df4cfd995..45be5cea89 100644
--- a/var/spack/repos/builtin/packages/numap/package.py
+++ b/var/spack/repos/builtin/packages/numap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/numdiff/package.py b/var/spack/repos/builtin/packages/numdiff/package.py
index 5205d0e1ac..19fb8c4bfc 100644
--- a/var/spack/repos/builtin/packages/numdiff/package.py
+++ b/var/spack/repos/builtin/packages/numdiff/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/nut/package.py b/var/spack/repos/builtin/packages/nut/package.py
index 0cc637fbaa..1c833bc892 100644
--- a/var/spack/repos/builtin/packages/nut/package.py
+++ b/var/spack/repos/builtin/packages/nut/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -21,7 +21,7 @@ class Nut(CMakePackage):
version('master', branch='master')
version('0.1.1', sha256='9f1dca4a9d7003b170fd57d6720228ff25471616cf884e033652e90c49c089bb')
- depends_on('cmake@3.0:')
+ depends_on('cmake@3.0:', type='build')
depends_on('random123')
conflicts('%intel', when='@serial')
diff --git a/var/spack/repos/builtin/packages/nvdimmsim/package.py b/var/spack/repos/builtin/packages/nvdimmsim/package.py
index 0d0a0964d4..e08e9883cb 100644
--- a/var/spack/repos/builtin/packages/nvdimmsim/package.py
+++ b/var/spack/repos/builtin/packages/nvdimmsim/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/nvhpc/package.py b/var/spack/repos/builtin/packages/nvhpc/package.py
index 7a8ce0f36a..a8f5ca7e27 100644
--- a/var/spack/repos/builtin/packages/nvhpc/package.py
+++ b/var/spack/repos/builtin/packages/nvhpc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -21,6 +21,18 @@ import platform
# - package key must be in the form '{os}-{arch}' where 'os' is in the
# format returned by platform.system() and 'arch' by platform.machine()
_versions = {
+ '21.2': {
+ 'Linux-aarch64': ('fe19c0232f7c9534f8699b7432483c9cc649f1e92e7f0961d1aa7c54d83297ff', 'https://developer.download.nvidia.com/hpc-sdk/21.2/nvhpc_2021_212_Linux_aarch64_cuda_multi.tar.gz'),
+ 'Linux-ppc64le': ('6b69b6e4ebec6a91b9f1627384c50adad79ebdd25dfb20a5f64cf01c3a07f11a', 'https://developer.download.nvidia.com/hpc-sdk/21.2/nvhpc_2021_212_Linux_ppc64le_cuda_multi.tar.gz'),
+ 'Linux-x86_64': ('a3e3393040185ae844002fbc6c8eb4ffdfb97ce8b2ce29d796fe7e9a521fdc59', 'https://developer.download.nvidia.com/hpc-sdk/21.2/nvhpc_2021_212_Linux_x86_64_cuda_multi.tar.gz')},
+ '21.1': {
+ 'Linux-aarch64': ('b276e7c0ff78cee837a597d9136cd1d8ded27a9d1fdae1e7d674e2a072a9a6aa', 'https://developer.download.nvidia.com/hpc-sdk/21.1/nvhpc_2021_211_Linux_aarch64_cuda_multi.tar.gz'),
+ 'Linux-ppc64le': ('bc236c212097bac6b7d04d627d9cc6b75bb6cd473a0b6a1bf010559ce328a2b0', 'https://developer.download.nvidia.com/hpc-sdk/21.1/nvhpc_2021_211_Linux_ppc64le_cuda_multi.tar.gz'),
+ 'Linux-x86_64': ('d529daf46404724ac3f005be4239f2c30e53f5220bb9453f367dccc3a74d6b41', 'https://developer.download.nvidia.com/hpc-sdk/21.1/nvhpc_2021_211_Linux_x86_64_cuda_multi.tar.gz')},
+ '20.11': {
+ 'Linux-aarch64': ('2f26ca45b07b694b8669e4f761760d4f7faa8d032b21e430adee1af0a27032c1', 'https://developer.download.nvidia.com/hpc-sdk/20.11/nvhpc_2020_2011_Linux_aarch64_cuda_multi.tar.gz'),
+ 'Linux-ppc64le': ('99e5a5437e82f3914e0fe81feb761a5b599a3fe8b31f3c2cac8ae47e8cdc7b0f', 'https://developer.download.nvidia.com/hpc-sdk/20.11/nvhpc_2020_2011_Linux_ppc64le_cuda_multi.tar.gz'),
+ 'Linux-x86_64': ('c80fc26e5ba586696f7030f03054c1aaca0752a891c7923faf47eb23b66857ec', 'https://developer.download.nvidia.com/hpc-sdk/20.11/nvhpc_2020_2011_Linux_x86_64_cuda_multi.tar.gz')},
'20.9': {
'Linux-aarch64': ('3bfb3d17f5ee99998bcc30d738e818d3b94b828e2d8da7db48bf152a01e22023', 'https://developer.download.nvidia.com/hpc-sdk/20.9/nvhpc_2020_209_Linux_aarch64_cuda_11.0.tar.gz'),
'Linux-ppc64le': ('b2966d4047e1dfd981ce63b333ab9c0acbdc2a6a505fa217456ac9fa3b8e7474', 'https://developer.download.nvidia.com/hpc-sdk/20.9/nvhpc_2020_209_Linux_ppc64le_cuda_multi.tar.gz'),
diff --git a/var/spack/repos/builtin/packages/nvptx-tools/package.py b/var/spack/repos/builtin/packages/nvptx-tools/package.py
index 775b53e3fa..42d05cac0a 100644
--- a/var/spack/repos/builtin/packages/nvptx-tools/package.py
+++ b/var/spack/repos/builtin/packages/nvptx-tools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/nvshmem/package.py b/var/spack/repos/builtin/packages/nvshmem/package.py
new file mode 100644
index 0000000000..d669c8efce
--- /dev/null
+++ b/var/spack/repos/builtin/packages/nvshmem/package.py
@@ -0,0 +1,54 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+import re
+
+
+class Nvshmem(MakefilePackage, CudaPackage):
+ """NVSHMEM is a parallel programming interface based on OpenSHMEM that
+ provides efficient and scalable communication for NVIDIA GPU
+ clusters. NVSHMEM creates a global address space for data that spans
+ the memory of multiple GPUs and can be accessed with fine-grained
+ GPU-initiated operations, CPU-initiated operations, and operations on
+ CUDA streams."""
+
+ homepage = "https://developer.nvidia.com/nvshmem"
+ url = "https://developer.nvidia.com/nvshmem-src-203-0"
+
+ maintainers = ['bvanessen']
+
+ version('2.0.3-0', sha256='20da93e8508511e21aaab1863cb4c372a3bec02307b932144a7d757ea5a1bad2', extension='txz')
+
+ variant('cuda', default=True, description='Build with CUDA')
+ conflicts('~cuda')
+
+ def url_for_version(self, version):
+ ver_str = '{0}'.format(version)
+ ver = re.sub('[.]', '', ver_str)
+ url_fmt = "https://developer.nvidia.com/nvshmem-src-{0}"
+ return url_fmt.format(ver)
+
+ depends_on('mpi')
+ depends_on('gdrcopy')
+
+ def setup_build_environment(self, env):
+ env.append_flags(
+ 'NVSHMEM_PREFIX', self.prefix)
+ env.append_flags(
+ 'NVSHMEM_MPI_SUPPORT', '1')
+ env.append_flags(
+ 'NVSHMEM_USE_GDRCOPY', '1')
+
+ if self.spec.satisfies('^spectrum-mpi') or self.spec.satisfies('^openmpi'):
+ env.append_flags(
+ 'NVSHMEM_MPI_IS_OMPI', '1')
+ env.append_flags(
+ 'NVSHMEM_SHMEM_SUPPORT', '1')
+ else:
+ env.append_flags(
+ 'NVSHMEM_MPI_IS_OMPI', '0')
+ env.append_flags(
+ 'NVSHMEM_SHMEM_SUPPORT', '0')
diff --git a/var/spack/repos/builtin/packages/nvtop/package.py b/var/spack/repos/builtin/packages/nvtop/package.py
new file mode 100644
index 0000000000..a18d32188c
--- /dev/null
+++ b/var/spack/repos/builtin/packages/nvtop/package.py
@@ -0,0 +1,22 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Nvtop(CMakePackage, CudaPackage):
+ """Nvtop stands for NVidia TOP, a (h)top like task monitor for NVIDIA GPUs.
+ It can handle multiple GPUs and print information about them
+ in a htop familiar way."""
+
+ homepage = "https://github.com/Syllo/nvtop"
+ url = "https://github.com/Syllo/nvtop/archive/1.1.0.tar.gz"
+
+ version('1.1.0', sha256='00470cde8fc48d5a5ed7c96402607e474414d94b562b21189bdde1dbe6b1d1f3')
+
+ depends_on('ncurses')
+
+ def cmake_args(self):
+ return [self.define('NVML_RETRIEVE_HEADER_ONLINE', True)]
diff --git a/var/spack/repos/builtin/packages/nwchem/package.py b/var/spack/repos/builtin/packages/nwchem/package.py
index e31715ccd9..ccf985f911 100644
--- a/var/spack/repos/builtin/packages/nwchem/package.py
+++ b/var/spack/repos/builtin/packages/nwchem/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/nyancat/package.py b/var/spack/repos/builtin/packages/nyancat/package.py
index e96079814b..a89ba0e9a2 100644
--- a/var/spack/repos/builtin/packages/nyancat/package.py
+++ b/var/spack/repos/builtin/packages/nyancat/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ocaml/package.py b/var/spack/repos/builtin/packages/ocaml/package.py
index 406deeed36..0ddebf55c2 100644
--- a/var/spack/repos/builtin/packages/ocaml/package.py
+++ b/var/spack/repos/builtin/packages/ocaml/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ocamlbuild/package.py b/var/spack/repos/builtin/packages/ocamlbuild/package.py
new file mode 100644
index 0000000000..0bee1bfd19
--- /dev/null
+++ b/var/spack/repos/builtin/packages/ocamlbuild/package.py
@@ -0,0 +1,41 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Ocamlbuild(MakefilePackage):
+ """OCamlbuild is a generic build tool,
+ that has built-in rules for building OCaml library and programs."""
+
+ # Add a proper url for your package's homepage here.
+ homepage = "https://ocaml.org/learn/tutorials/ocamlbuild/"
+ url = "https://github.com/ocaml/ocamlbuild/archive/0.14.0.tar.gz"
+ git = "https://github.com/ocaml/ocamlbuild/ocamlbuild.git"
+
+ # Add a list of GitHub accounts to
+ # notify when the package is updated.
+ maintainers = ['scemama', 'cessenat']
+
+ # Add proper versions here.
+ version('master', branch='master')
+ version('0.14.0', sha256='87b29ce96958096c0a1a8eeafeb6268077b2d11e1bf2b3de0f5ebc9cf8d42e78')
+ version('0.13.1', sha256='79839544bcaebc8f9f0d73d029e2b67e2c898bba046c559ea53de81ea763408c')
+
+ # Add dependencies if required.
+ depends_on('ocaml')
+
+ # Installation : https://github.com/ocaml/ocamlbuild/
+ def edit(self, spec, prefix):
+ makefile_inc = [
+ 'BINDIR = bin',
+ 'LIBDIR = lib',
+ 'MANDIR = man',
+ ]
+ makefile_inc.append('OCAML_PREFIX = %s' % self.spec['ocaml'].prefix)
+ makefile_inc.append('DESTDIR = %s/' % self.spec.prefix)
+ with open('Makefile.config', 'a') as fh:
+ fh.write('\n'.join(makefile_inc))
+ make('configure')
diff --git a/var/spack/repos/builtin/packages/occa/package.py b/var/spack/repos/builtin/packages/occa/package.py
index 5d72517b3d..1868510c89 100644
--- a/var/spack/repos/builtin/packages/occa/package.py
+++ b/var/spack/repos/builtin/packages/occa/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/oce/package.py b/var/spack/repos/builtin/packages/oce/package.py
index dbd3f23182..931aa0bb47 100644
--- a/var/spack/repos/builtin/packages/oce/package.py
+++ b/var/spack/repos/builtin/packages/oce/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/oci-systemd-hook/package.py b/var/spack/repos/builtin/packages/oci-systemd-hook/package.py
index 3e45811b41..6938f5b4ff 100644
--- a/var/spack/repos/builtin/packages/oci-systemd-hook/package.py
+++ b/var/spack/repos/builtin/packages/oci-systemd-hook/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -23,6 +23,7 @@ class OciSystemdHook(AutotoolsPackage):
depends_on('m4', type='build')
depends_on('gettext')
depends_on('yajl')
+ depends_on('uuid')
depends_on('util-linux')
depends_on('go-md2man')
diff --git a/var/spack/repos/builtin/packages/ocl-icd/package.py b/var/spack/repos/builtin/packages/ocl-icd/package.py
index 88bd00a2e6..e12d2546b6 100644
--- a/var/spack/repos/builtin/packages/ocl-icd/package.py
+++ b/var/spack/repos/builtin/packages/ocl-icd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,6 +13,7 @@ OpenCL ICD loaders."""
homepage = "https://github.com/OCL-dev/ocl-icd"
url = "https://github.com/OCL-dev/ocl-icd/archive/v2.2.12.tar.gz"
+ version('2.2.14', sha256='46df23608605ad548e80b11f4ba0e590cef6397a079d2f19adf707a7c2fbfe1b')
version('2.2.13', sha256='f85d59f3e8327f15637b91e4ae8df0829e94daeff68c647b2927b8376b1f8d92')
version('2.2.12', sha256='17500e5788304eef5b52dbe784cec197bdae64e05eecf38317840d2d05484272')
version('2.2.11', sha256='c1865ef7701b8201ebc6930ed3ac757c7e5cb30f3aa4c1e742a6bc022f4f2292')
@@ -34,9 +35,10 @@ OpenCL ICD loaders."""
depends_on('ruby', type='build')
depends_on('asciidoc-py3', type='build')
depends_on('xmlto', type='build')
- depends_on('opencl-headers@2.2:', when='+headers')
+ depends_on('opencl-headers@3.0:', when='+headers')
- provides('opencl@:2.2', when='@2.2.12:+headers')
+ provides('opencl@:3.0', when='@2.2.13:+headers')
+ provides('opencl@:2.2', when='@2.2.12+headers')
provides('opencl@:2.1', when='@2.2.8:2.2.11+headers')
provides('opencl@:2.0', when='@2.2.3:2.2.7+headers')
diff --git a/var/spack/repos/builtin/packages/oclgrind/package.py b/var/spack/repos/builtin/packages/oclgrind/package.py
index c3b9302583..9fb81b0b93 100644
--- a/var/spack/repos/builtin/packages/oclgrind/package.py
+++ b/var/spack/repos/builtin/packages/oclgrind/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/oclint/package.py b/var/spack/repos/builtin/packages/oclint/package.py
index 8731f6b5ad..c38dc86396 100644
--- a/var/spack/repos/builtin/packages/oclint/package.py
+++ b/var/spack/repos/builtin/packages/oclint/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/oclock/package.py b/var/spack/repos/builtin/packages/oclock/package.py
index bf0345509d..76fdb6a382 100644
--- a/var/spack/repos/builtin/packages/oclock/package.py
+++ b/var/spack/repos/builtin/packages/oclock/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/octave-control/package.py b/var/spack/repos/builtin/packages/octave-control/package.py
new file mode 100644
index 0000000000..75b6406b54
--- /dev/null
+++ b/var/spack/repos/builtin/packages/octave-control/package.py
@@ -0,0 +1,18 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class OctaveControl(OctavePackage, SourceforgePackage):
+ """Computer-Aided Control System Design (CACSD) Tools for GNU Octave,
+ based on the proven SLICOT Library"""
+
+ homepage = "https://octave.sourceforge.io/control/"
+ sourceforge_mirror_path = "octave/control-3.2.0.tar.gz"
+
+ version('3.2.0', sha256='faf1d510d16ab46e4fa91a1288f4a7839ee05469c33e4698b7a007a0bb965e3e')
+
+ extends('octave@4.0.0:')
diff --git a/var/spack/repos/builtin/packages/octave-gsl/package.py b/var/spack/repos/builtin/packages/octave-gsl/package.py
new file mode 100644
index 0000000000..c5170f3397
--- /dev/null
+++ b/var/spack/repos/builtin/packages/octave-gsl/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class OctaveGsl(OctavePackage, SourceforgePackage):
+ """Octave bindings to the GNU Scientific Library"""
+
+ homepage = "https://octave.sourceforge.io/gsl/"
+ sourceforge_mirror_path = "octave/gsl-2.1.1.tar.gz"
+
+ version('2.1.1', sha256='d028c52579e251c3f21ebfdf065dffab3ad7893434efda33b501225ef1ea6ed3')
+
+ depends_on('gsl@2.4:')
+ extends('octave@2.9.7:')
+
+ def setup_build_environment(self, env):
+ env.prepend_path('PKG_CONFIG_PATH', self.spec['gsl'].prefix)
diff --git a/var/spack/repos/builtin/packages/octave-io/package.py b/var/spack/repos/builtin/packages/octave-io/package.py
new file mode 100644
index 0000000000..42fd686410
--- /dev/null
+++ b/var/spack/repos/builtin/packages/octave-io/package.py
@@ -0,0 +1,22 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class OctaveIo(OctavePackage, SourceforgePackage):
+ """The IO package is part of the Octave Forge project
+ and provides input/output from/in external formats."""
+
+ homepage = "https://octave.sourceforge.io/io/"
+ sourceforge_mirror_path = "octave/io-2.6.3.tar.gz"
+
+ version('2.6.3', sha256='6bc63c6498d79cada01a6c4446f793536e0bb416ddec2a5201dd8d741d459e10')
+ version('2.6.2', sha256='01dbf8885a8011e76c919e271727c1d44f625bf6b217948b79438039ba368ceb')
+ version('2.6.1', sha256='83253561f883c96ca3021a771223d23795122dc4cb800766e9cb893c6f8262dd')
+ version('2.6.0', sha256='27f26273ced0b42c098e900136bb0ab2e542baf98d02bc0176cf47edbd0e6d7f')
+ version('2.2.7', sha256='4eed2ee4c89b49ab160546c77ed66a384598f3bbb1c6e3833529c2c55aa479b6')
+
+ extends('octave@4.2.0:')
diff --git a/var/spack/repos/builtin/packages/octave-optim/package.py b/var/spack/repos/builtin/packages/octave-optim/package.py
index 4f94c18ac4..9b04e51327 100644
--- a/var/spack/repos/builtin/packages/octave-optim/package.py
+++ b/var/spack/repos/builtin/packages/octave-optim/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/octave-quaternion/package.py b/var/spack/repos/builtin/packages/octave-quaternion/package.py
new file mode 100644
index 0000000000..4a09b93f27
--- /dev/null
+++ b/var/spack/repos/builtin/packages/octave-quaternion/package.py
@@ -0,0 +1,20 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class OctaveQuaternion(OctavePackage, SourceforgePackage):
+ """Quaternion package for GNU Octave,
+ includes a quaternion class with overloaded operators."""
+
+ homepage = "https://octave.sourceforge.io/quaternion/"
+ sourceforge_mirror_path = "octave/quaternion-2.4.0.tar.gz"
+
+ version('2.4.0', sha256='4c2d4dd8f1d213f080519c6f9dfbbdca068087ee0411122b16e377e0f4641610')
+ version('2.2.2', sha256='261d51657bc729c8f9fe915532d91e75e48dce2af2b298781e78cc93a5067cbd')
+
+ conflicts('octave@6:')
+ extends('octave@3.8.0:5.2.0')
diff --git a/var/spack/repos/builtin/packages/octave-splines/package.py b/var/spack/repos/builtin/packages/octave-splines/package.py
index 5a9a5777c1..ebdd20e58c 100644
--- a/var/spack/repos/builtin/packages/octave-splines/package.py
+++ b/var/spack/repos/builtin/packages/octave-splines/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/octave-struct/package.py b/var/spack/repos/builtin/packages/octave-struct/package.py
index b428ce7872..e995a3c270 100644
--- a/var/spack/repos/builtin/packages/octave-struct/package.py
+++ b/var/spack/repos/builtin/packages/octave-struct/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/octave-symbolic/package.py b/var/spack/repos/builtin/packages/octave-symbolic/package.py
new file mode 100644
index 0000000000..223995fab1
--- /dev/null
+++ b/var/spack/repos/builtin/packages/octave-symbolic/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class OctaveSymbolic(OctavePackage, SourceforgePackage):
+ """Adds symbolic calculation features to GNU Octave.
+ These include common Computer Algebra System tools such as algebraic operations,
+ calculus, equation solving, Fourier and Laplace transforms, variable precision
+ arithmetic and other features.
+ Compatibility with other symbolic toolboxes is intended."""
+
+ homepage = "https://octave.sourceforge.io/symbolic/"
+ sourceforge_mirror_path = "octave/symbolic-2.9.0.tar.gz"
+
+ version('2.9.0', sha256='089ec44a0a49417a8b78797e87f338da6a6e227509f3080724996483d39b23cb')
+
+ extends('octave@4.2.0:')
diff --git a/var/spack/repos/builtin/packages/octave/package.py b/var/spack/repos/builtin/packages/octave/package.py
index 3d6d3e5ad9..2f12c5c0de 100644
--- a/var/spack/repos/builtin/packages/octave/package.py
+++ b/var/spack/repos/builtin/packages/octave/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -26,6 +26,8 @@ class Octave(AutotoolsPackage, GNUMirrorPackage):
extendable = True
+ version('6.2.0', sha256='457d1fda8634a839e2fd7cfc55b98bd56f36b6ae73d31bb9df43dde3012caa7c')
+ version('6.1.0', sha256='6ff34e401658622c44094ecb67e497672e4337ca2d36c0702d0403ecc60b0a57')
version('5.2.0', sha256='2fea62b3c78d6f38e9451da8a4d26023840725977dffee5250d3d180f56595e1')
version('5.1.0', sha256='e36b1124cac27c7caa51cc57de408c31676d5f0096349b4d50b57bfe1bcd7495')
version('4.4.1', sha256='09fbd0f212f4ef21e53f1d9c41cf30ce3d7f9450fb44911601e21ed64c67ae97')
diff --git a/var/spack/repos/builtin/packages/octopus/package.py b/var/spack/repos/builtin/packages/octopus/package.py
index b4cac8fbd5..7c962b129a 100644
--- a/var/spack/repos/builtin/packages/octopus/package.py
+++ b/var/spack/repos/builtin/packages/octopus/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/of-catalyst/package.py b/var/spack/repos/builtin/packages/of-catalyst/package.py
index eb036b0db9..58898c658a 100644
--- a/var/spack/repos/builtin/packages/of-catalyst/package.py
+++ b/var/spack/repos/builtin/packages/of-catalyst/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/of-precice/package.py b/var/spack/repos/builtin/packages/of-precice/package.py
index 3cc9927f4a..f20427d8f5 100644
--- a/var/spack/repos/builtin/packages/of-precice/package.py
+++ b/var/spack/repos/builtin/packages/of-precice/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/omega-h/package.py b/var/spack/repos/builtin/packages/omega-h/package.py
index b2ba6be1f2..e562f3836e 100644
--- a/var/spack/repos/builtin/packages/omega-h/package.py
+++ b/var/spack/repos/builtin/packages/omega-h/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,7 +17,7 @@ class OmegaH(CMakePackage):
maintainers = ['ibaned']
- version('develop', branch='master')
+ version('main', branch='main')
version('9.32.5', sha256='963a203e9117024cd48d829d82b8543cd9133477fdc15386113b594fdc3246d8')
version('9.29.0', sha256='b41964b018909ffe9cea91c23a0509b259bfbcf56874fcdf6bd9f6a179938014')
version('9.27.0', sha256='aa51f83508cbd14a41ae953bda7da98a6ad2979465c76e5b3a3d9a7a651cb34a')
diff --git a/var/spack/repos/builtin/packages/ompss/package.py b/var/spack/repos/builtin/packages/ompss/package.py
index 669116328c..9f25d7cbac 100644
--- a/var/spack/repos/builtin/packages/ompss/package.py
+++ b/var/spack/repos/builtin/packages/ompss/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ompt-openmp/package.py b/var/spack/repos/builtin/packages/ompt-openmp/package.py
index 7376efb76e..a3c65b3755 100644
--- a/var/spack/repos/builtin/packages/ompt-openmp/package.py
+++ b/var/spack/repos/builtin/packages/ompt-openmp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/onednn/package.py b/var/spack/repos/builtin/packages/onednn/package.py
index a10c409560..ee825deaad 100644
--- a/var/spack/repos/builtin/packages/onednn/package.py
+++ b/var/spack/repos/builtin/packages/onednn/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,9 +13,15 @@ class Onednn(CMakePackage):
homepage = "https://01.org/onednn"
url = "https://github.com/oneapi-src/oneDNN/archive/v1.7.tar.gz"
+ git = "https://github.com/oneapi-src/oneDNN.git"
maintainers = ['adamjstewart']
+ version('master', branch='master')
+ version('2.1-rc', sha256='13d293e7368a8fdd8dd3c11c73352cf5f564398658dd027ce0acde947440b4cb')
+ version('2.0', sha256='922b42c3ea7a7122a77c61568dc4512aa8130c264c0489283c989919d1f59a6d')
+ version('1.8.1', sha256='1883ccfb037bd31f916203a38e877899fc27ae10bc9ebad686f78d189ba506a7')
+ version('1.8', sha256='0a1bfbbc6fd86c6ea4cf0f7c36fe3e69b0bbefa74158c65a5db28d589cb5fbe9')
version('1.7', sha256='2dbd53578b36bd84bbc3e411d1a4cacc0eed832892818c5fa16b72cbf1dab015')
version('1.6.5', sha256='6258d961fe1757b70d10cf34f0925079401ffae264f056b15024270b11d5c1eb')
version('1.6.4', sha256='5369f7b2f0b52b40890da50c0632c3a5d1082d98325d0f2bff125d19d0dcaa1d')
diff --git a/var/spack/repos/builtin/packages/oniguruma/package.py b/var/spack/repos/builtin/packages/oniguruma/package.py
index 91259d7588..82692ef59f 100644
--- a/var/spack/repos/builtin/packages/oniguruma/package.py
+++ b/var/spack/repos/builtin/packages/oniguruma/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ont-albacore/package.py b/var/spack/repos/builtin/packages/ont-albacore/package.py
index b3bedf9da2..e920701550 100644
--- a/var/spack/repos/builtin/packages/ont-albacore/package.py
+++ b/var/spack/repos/builtin/packages/ont-albacore/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/opa-psm2/opa-psm2-install-prefix.patch b/var/spack/repos/builtin/packages/opa-psm2/opa-psm2-install-prefix.patch
deleted file mode 100644
index e03f7276b7..0000000000
--- a/var/spack/repos/builtin/packages/opa-psm2/opa-psm2-install-prefix.patch
+++ /dev/null
@@ -1,78 +0,0 @@
-diff -Naupr opa-psm2-PSM2_11.2.68/Makefile opa-psm2-PSM2_11.2.68-pathfix/Makefile
---- opa-psm2-PSM2_11.2.68/Makefile 2018-09-27 19:48:03.000000000 -0400
-+++ opa-psm2-PSM2_11.2.68-pathfix/Makefile 2019-06-07 11:34:37.658270976 -0400
-@@ -135,9 +135,9 @@ endif
-
- ifndef LIBDIR
- ifeq (${arch},x86_64)
-- INSTALL_LIB_TARG=/usr/lib64
-+ INSTALL_LIB_TARG=/lib64
- else
-- INSTALL_LIB_TARG=/usr/lib
-+ INSTALL_LIB_TARG=/lib
- endif
- else
- INSTALL_LIB_TARG=${LIBDIR}
-@@ -177,7 +177,7 @@ UDEV_40_PSM_RULES := %{_udevrulesdir}/40
-
- ifeq (fedora,$(DISTRO))
- # On Fedora, we change these two variables to these values:
-- LIBPSM2_COMPAT_CONF_DIR := /usr/lib
-+ LIBPSM2_COMPAT_CONF_DIR := /lib
- LIBPSM2_COMPAT_SYM_CONF_DIR := %{_prefix}/lib
- SPEC_FILE_RELEASE_DIST := %{?dist}
- UDEV_40_PSM_RULES :=#
-@@ -411,20 +411,20 @@ install: all
- ln -sf ${TARGLIB}.so.${MAJOR} ${TARGLIB}.so)
- install -D $(OUTDIR)/${TARGLIB}.a \
- ${DESTDIR}${INSTALL_LIB_TARG}/${TARGLIB}.a
-- install -m 0644 -D psm2.h ${DESTDIR}/usr/include/psm2.h
-- install -m 0644 -D psm2_mq.h ${DESTDIR}/usr/include/psm2_mq.h
-- install -m 0644 -D psm2_am.h ${DESTDIR}/usr/include/psm2_am.h
-+ install -m 0644 -D psm2.h ${DESTDIR}/include/psm2.h
-+ install -m 0644 -D psm2_mq.h ${DESTDIR}/include/psm2_mq.h
-+ install -m 0644 -D psm2_am.h ${DESTDIR}/include/psm2_am.h
- ifneq (fedora,${DISTRO})
- install -m 0644 -D 40-psm.rules ${DESTDIR}$(UDEVDIR)/rules.d/40-psm.rules
- endif
- # The following files and dirs were part of the noship rpm:
-- mkdir -p ${DESTDIR}/usr/include/hfi1diag
-- mkdir -p ${DESTDIR}/usr/include/hfi1diag/linux-x86_64
-- install -m 0644 -D include/linux-x86_64/bit_ops.h ${DESTDIR}/usr/include/hfi1diag/linux-x86_64/bit_ops.h
-- install -m 0644 -D include/linux-x86_64/sysdep.h ${DESTDIR}/usr/include/hfi1diag/linux-x86_64/sysdep.h
-- install -m 0644 -D include/opa_udebug.h ${DESTDIR}/usr/include/hfi1diag/opa_udebug.h
-- install -m 0644 -D include/opa_debug.h ${DESTDIR}/usr/include/hfi1diag/opa_debug.h
-- install -m 0644 -D include/opa_intf.h ${DESTDIR}/usr/include/hfi1diag/opa_intf.h
-+ mkdir -p ${DESTDIR}/include/hfi1diag
-+ mkdir -p ${DESTDIR}/include/hfi1diag/linux-x86_64
-+ install -m 0644 -D include/linux-x86_64/bit_ops.h ${DESTDIR}/include/hfi1diag/linux-x86_64/bit_ops.h
-+ install -m 0644 -D include/linux-x86_64/sysdep.h ${DESTDIR}/include/hfi1diag/linux-x86_64/sysdep.h
-+ install -m 0644 -D include/opa_udebug.h ${DESTDIR}/include/hfi1diag/opa_udebug.h
-+ install -m 0644 -D include/opa_debug.h ${DESTDIR}/include/hfi1diag/opa_debug.h
-+ install -m 0644 -D include/opa_intf.h ${DESTDIR}/include/hfi1diag/opa_intf.h
- for h in opa_user_gen1.h opa_service_gen1.h opa_common_gen1.h ; do \
- sed -e 's/#include "opa_user_gen1.h"/#include "opa_user.h"/' \
- -e 's/#include "opa_common_gen1.h"/#include "opa_common.h"/' \
-@@ -434,14 +434,14 @@ endif
- done
- cat include/opa_user.h $(TEMP_INST_DIR)/opa_user_gen1.h > $(TEMP_INST_DIR)/opa_user.h
- cat include/opa_service.h $(TEMP_INST_DIR)/opa_service_gen1.h > $(TEMP_INST_DIR)/opa_service.h
-- install -m 0644 -D $(TEMP_INST_DIR)/opa_user.h ${DESTDIR}/usr/include/hfi1diag/opa_user.h
-- install -m 0644 -D $(TEMP_INST_DIR)/opa_service.h ${DESTDIR}/usr/include/hfi1diag/opa_service.h
-- install -m 0644 -D $(TEMP_INST_DIR)/opa_common_gen1.h ${DESTDIR}/usr/include/hfi1diag/opa_common.h
-- install -m 0644 -D include/opa_byteorder.h ${DESTDIR}/usr/include/hfi1diag/opa_byteorder.h
-- install -m 0644 -D include/psm2_mock_testing.h ${DESTDIR}/usr/include/hfi1diag/psm2_mock_testing.h
-- install -m 0644 -D include/opa_revision.h ${DESTDIR}/usr/include/hfi1diag/opa_revision.h
-- install -m 0644 -D psmi_wrappers.h ${DESTDIR}/usr/include/hfi1diag/psmi_wrappers.h
-- install -m 0644 -D psm_hal_gen1/hfi1_deprecated_gen1.h ${DESTDIR}/usr/include/hfi1diag/hfi1_deprecated.h
-+ install -m 0644 -D $(TEMP_INST_DIR)/opa_user.h ${DESTDIR}/include/hfi1diag/opa_user.h
-+ install -m 0644 -D $(TEMP_INST_DIR)/opa_service.h ${DESTDIR}/include/hfi1diag/opa_service.h
-+ install -m 0644 -D $(TEMP_INST_DIR)/opa_common_gen1.h ${DESTDIR}/include/hfi1diag/opa_common.h
-+ install -m 0644 -D include/opa_byteorder.h ${DESTDIR}/include/hfi1diag/opa_byteorder.h
-+ install -m 0644 -D include/psm2_mock_testing.h ${DESTDIR}/include/hfi1diag/psm2_mock_testing.h
-+ install -m 0644 -D include/opa_revision.h ${DESTDIR}/include/hfi1diag/opa_revision.h
-+ install -m 0644 -D psmi_wrappers.h ${DESTDIR}/include/hfi1diag/psmi_wrappers.h
-+ install -m 0644 -D psm_hal_gen1/hfi1_deprecated_gen1.h ${DESTDIR}/include/hfi1diag/hfi1_deprecated.h
- rm -fr $(TEMP_INST_DIR)
-
- specfile: specfile_clean | $(OUTDIR)
diff --git a/var/spack/repos/builtin/packages/opa-psm2/package.py b/var/spack/repos/builtin/packages/opa-psm2/package.py
index 304c7adafe..9f9a248bdd 100644
--- a/var/spack/repos/builtin/packages/opa-psm2/package.py
+++ b/var/spack/repos/builtin/packages/opa-psm2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,11 +7,12 @@ from spack import *
class OpaPsm2(MakefilePackage):
- """ Intel Omni-Path Performance Scaled Messaging 2 (PSM2) library"""
+ """ Omni-Path Performance Scaled Messaging 2 (PSM2) library"""
- homepage = "http://github.com/intel/opa-psm2"
- url = "https://github.com/intel/opa-psm2/archive/PSM2_10.3-8.tar.gz"
+ homepage = "http://github.com/cornelisnetworks/opa-psm2"
+ url = "https://github.com/cornelisnetworks/opa-psm2/archive/PSM2_10.3-8.tar.gz"
+ version('11.2.185', sha256='8c0446e989feb4a3822791e4a3687060916f7c4612d1e8e493879be66f10db09')
version('11.2.77', sha256='5cc33d1e19d871a5861efe0bb897526f404b4bf2b88ac58bb277db96ac5ecb54')
version('11.2.68', sha256='42e16a14fc8c90b50855dcea46af3315bee32fb1ae89d83060f9b2ebdce1ec26')
version('10.3-37', sha256='43e46f6fb345db67bb45b48e2b2bb05f590f7ccbc3ee337b33312043b46946b9')
@@ -26,13 +27,8 @@ class OpaPsm2(MakefilePackage):
depends_on('numactl')
- # patch to prevent opa-psm2 from adding an additional "usr/"
- # subdirectory within the installation prefix, which breaks paths for
- # dependent packages like libfabric
- patch('opa-psm2-install-prefix.patch', when='@11.2.68:')
-
# patch to get the Makefile to use the spack compiler wrappers
- patch('opa-psm2-compiler.patch', when='@11.2.68:',
+ patch('opa-psm2-compiler.patch', when='@11.2.68:11.2.77',
sha256='fe31fda9aaee13acb87d178af2282446196d2cc0b21163034573706110b2e2d6')
def setup_build_environment(self, env):
@@ -46,7 +42,8 @@ class OpaPsm2(MakefilePackage):
# Change the makefile so libraries and includes are not
# placed under $PREFIX/usr
env['LIBDIR'] = '/lib'
- filter_file(r'${DESTDIR}/usr', '${DESTDIR}', 'Makefile')
+ filter_file(r'${DESTDIR}/usr', '${DESTDIR}', 'Makefile', string=True)
+ filter_file(r'/usr/lib', '/lib', 'Makefile', string=True)
if '~avx2' in spec:
env['PSM_DISABLE_AVX2'] = 'True'
diff --git a/var/spack/repos/builtin/packages/opam/package.py b/var/spack/repos/builtin/packages/opam/package.py
index d25999f89e..f88e2a570d 100644
--- a/var/spack/repos/builtin/packages/opam/package.py
+++ b/var/spack/repos/builtin/packages/opam/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/opari2/package.py b/var/spack/repos/builtin/packages/opari2/package.py
index 9899e51544..2bcadc6690 100644
--- a/var/spack/repos/builtin/packages/opari2/package.py
+++ b/var/spack/repos/builtin/packages/opari2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/open-iscsi/package.py b/var/spack/repos/builtin/packages/open-iscsi/package.py
index 0261105867..89c902072e 100644
--- a/var/spack/repos/builtin/packages/open-iscsi/package.py
+++ b/var/spack/repos/builtin/packages/open-iscsi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -20,6 +20,7 @@ class OpenIscsi(MakefilePackage):
version('2.0.876', sha256='9f01327d5e100ed794dc5083fc18dc4a06a0c29c77b252e21abd1b8f56edd9a7')
depends_on('gettext')
+ depends_on('uuid')
depends_on('util-linux+libmount')
depends_on('kmod')
depends_on('open-isns')
diff --git a/var/spack/repos/builtin/packages/open-isns/package.py b/var/spack/repos/builtin/packages/open-isns/package.py
index 220db25ce0..fbb2972c4b 100644
--- a/var/spack/repos/builtin/packages/open-isns/package.py
+++ b/var/spack/repos/builtin/packages/open-isns/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/openbabel/package.py b/var/spack/repos/builtin/packages/openbabel/package.py
index 4d3b66d680..79cc0e5b0b 100644
--- a/var/spack/repos/builtin/packages/openbabel/package.py
+++ b/var/spack/repos/builtin/packages/openbabel/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/openblas/package.py b/var/spack/repos/builtin/packages/openblas/package.py
index 4121d558b7..186630960b 100644
--- a/var/spack/repos/builtin/packages/openblas/package.py
+++ b/var/spack/repos/builtin/packages/openblas/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,6 +18,7 @@ class Openblas(MakefilePackage):
git = 'https://github.com/xianyi/OpenBLAS.git'
version('develop', branch='develop')
+ version('0.3.13', sha256='79197543b17cc314b7e43f7a33148c308b0807cd6381ee77f77e15acf3e6459e')
version('0.3.12', sha256='65a7d3a4010a4e3bd5c0baa41a234797cd3a1735449a4a5902129152601dc57b')
version('0.3.11', sha256='bc4617971179e037ae4e8ebcd837e46db88422f7b365325bd7aba31d1921a673')
version('0.3.10', sha256='0484d275f87e9b8641ff2eecaa9df2830cbe276ac79ad80494822721de6e1693')
@@ -108,9 +109,17 @@ class Openblas(MakefilePackage):
when='@0.3.8:0.3.10 %apple-clang@12.0.0:')
# Add conditions to f_check to determine the Fujitsu compiler
+ # See https://github.com/xianyi/OpenBLAS/pull/3010
+ # UPD: the patch has been merged starting version 0.3.13
patch('openblas_fujitsu.patch', when='@:0.3.10 %fj')
- patch('openblas_fujitsu_v0.3.11.patch', when='@0.3.11: %fj')
- patch('openblas_fujitsu2.patch', when='@0.3.10: %fj')
+ patch('openblas_fujitsu_v0.3.11.patch', when='@0.3.11:0.3.12 %fj')
+ patch('openblas_fujitsu2.patch', when='@0.3.10:0.3.12 %fj')
+
+ # See https://github.com/spack/spack/issues/19932#issuecomment-733452619
+ conflicts('%gcc@7.0.0:7.3.99,8.0.0:8.2.99', when='@0.3.11:')
+
+ # See https://github.com/xianyi/OpenBLAS/issues/3074
+ conflicts('%gcc@:10.1.99', when='@0.3.13 target=ppc64le:')
# See https://github.com/spack/spack/issues/3036
conflicts('%intel@16', when='@0.2.15:0.2.19')
@@ -271,6 +280,15 @@ class Openblas(MakefilePackage):
if self.spec.satisfies('%gcc@:4.8.4'):
make_defs.append('NO_AVX2=1')
+ # Fujitsu Compiler dose not add Fortran runtime in rpath.
+ if self.spec.satisfies('%fj'):
+ make_defs.append('LDFLAGS=-lfj90i -lfj90f -lfjsrcinfo -lelf')
+
+ # Newer versions of openblas will try to find ranlib in the compiler's
+ # prefix, for instance, .../lib/spack/env/gcc/ranlib, which will fail.
+ if self.spec.satisfies('@0.3.13:'):
+ make_defs.append('RANLIB=ranlib')
+
return make_defs
@property
diff --git a/var/spack/repos/builtin/packages/opencascade/package.py b/var/spack/repos/builtin/packages/opencascade/package.py
index 0cae5d3055..8600c94abe 100644
--- a/var/spack/repos/builtin/packages/opencascade/package.py
+++ b/var/spack/repos/builtin/packages/opencascade/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/opencl-c-headers/package.py b/var/spack/repos/builtin/packages/opencl-c-headers/package.py
index c93d5eb53d..e5b9aa826e 100644
--- a/var/spack/repos/builtin/packages/opencl-c-headers/package.py
+++ b/var/spack/repos/builtin/packages/opencl-c-headers/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,6 +14,7 @@ class OpenclCHeaders(Package):
homepage = "https://www.khronos.org/registry/OpenCL/"
url = "https://github.com/KhronosGroup/OpenCL-Headers/archive/v2020.06.16.tar.gz"
+ version('2020.12.18', sha256='5dad6d436c0d7646ef62a39ef6cd1f3eba0a98fc9157808dfc1d808f3705ebc2')
version('2020.06.16', sha256='2f5a60e5ac4b127650618c58a7e3b35a84dbf23c1a0ac72eb5e7baf221600e06')
version('2020.03.13', sha256='664bbe587e5a0a00aac267f645b7c413586e7bc56dca9ff3b00037050d06f476')
diff --git a/var/spack/repos/builtin/packages/opencl-clhpp/package.py b/var/spack/repos/builtin/packages/opencl-clhpp/package.py
index 3e335c2180..564e4e2c12 100644
--- a/var/spack/repos/builtin/packages/opencl-clhpp/package.py
+++ b/var/spack/repos/builtin/packages/opencl-clhpp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,6 +14,7 @@ class OpenclClhpp(CMakePackage):
homepage = "https://www.khronos.org/registry/OpenCL/"
url = "https://github.com/KhronosGroup/OpenCL-CLHPP/archive/v2.0.12.tar.gz"
+ version('2.0.13', sha256='8ff0d0cd94d728edd30c876db546bf13e370ee7863629b4b9b5e2ef8e130d23c')
version('2.0.12', sha256='20b28709ce74d3602f1a946d78a2024c1f6b0ef51358b9686612669897a58719')
version('2.0.11', sha256='ffc2ca08cf4ae90ee55f14ea3735ccc388f454f4422b69498b2e9b93a1d45181')
version('2.0.10', sha256='fa27456295c3fa534ce824eb0314190a8b3ebd3ba4d93a0b1270fc65bf378f2b')
diff --git a/var/spack/repos/builtin/packages/opencl-headers/package.py b/var/spack/repos/builtin/packages/opencl-headers/package.py
index dc6427d515..4e72e6d25e 100644
--- a/var/spack/repos/builtin/packages/opencl-headers/package.py
+++ b/var/spack/repos/builtin/packages/opencl-headers/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,10 +12,13 @@ class OpenclHeaders(BundlePackage):
homepage = "https://www.khronos.org/registry/OpenCL/"
+ version('3.0')
version('2.2')
version('2.1')
version('2.0')
- depends_on('opencl-c-headers@2020.03.13:')
- depends_on('opencl-clhpp@2.0.11:', when='@2.1:')
+ depends_on('opencl-c-headers@2020.12.18:', when='@3.0:')
+ depends_on('opencl-c-headers@2020.03.13:', when='@2.0:2.2')
+ depends_on('opencl-clhpp@2.0.13:', when='@3.0:')
+ depends_on('opencl-clhpp@2.0.11:', when='@2.1:2.2')
depends_on('opencl-clhpp@2.0.9:', when='@2.0')
diff --git a/var/spack/repos/builtin/packages/opencoarrays/package.py b/var/spack/repos/builtin/packages/opencoarrays/package.py
index d2d55add98..e00331c499 100644
--- a/var/spack/repos/builtin/packages/opencoarrays/package.py
+++ b/var/spack/repos/builtin/packages/opencoarrays/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/opencv/package.py b/var/spack/repos/builtin/packages/opencv/package.py
index 7282ffe5bd..2620757221 100644
--- a/var/spack/repos/builtin/packages/opencv/package.py
+++ b/var/spack/repos/builtin/packages/opencv/package.py
@@ -1,38 +1,29 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
class Opencv(CMakePackage, CudaPackage):
- """OpenCV is released under a BSD license and hence it's free for both
- academic and commercial use. It has C++, C, Python and Java interfaces and
- supports Windows, Linux, Mac OS, iOS and Android. OpenCV was designed for
- computational efficiency and with a strong focus on real-time applications.
- Written in optimized C/C++, the library can take advantage of multi-core
- processing. Enabled with OpenCL, it can take advantage of the hardware
- acceleration of the underlying heterogeneous compute platform. Adopted all
- around the world, OpenCV has more than 47 thousand people of user community
- and estimated number of downloads exceeding 9 million. Usage ranges from
- interactive art, to mines inspection, stitching maps on the web or through
- advanced robotics.
- """
-
- homepage = 'http://opencv.org/'
- url = 'https://github.com/Itseez/opencv/archive/3.1.0.tar.gz'
+ """OpenCV (Open Source Computer Vision Library) is an open source computer
+ vision and machine learning software library."""
+
+ homepage = 'https://opencv.org/'
+ url = 'https://github.com/opencv/opencv/archive/4.5.0.tar.gz'
git = 'https://github.com/opencv/opencv.git'
+ maintainers = ['bvanessen', 'adamjstewart']
+
version('master', branch='master')
- version('4.2.0', sha256='9ccb2192d7e8c03c58fee07051364d94ed7599363f3b0dce1c5e6cc11c1bb0ec')
- version('4.1.2', sha256='385dd0a9c25e67ef0dd60e022d2a2d7b17e2f36819cf3cb46aa8cdff5c5282c9')
- version('4.1.1', sha256='5de5d96bdfb9dad6e6061d70f47a0a91cee96bb35afb9afb9ecb3d43e243d217')
- version('4.1.0-openvino', sha256='58764d2487c6fb4cd950fb46483696ae7ae28e257223d6e44e162caa22ee9e5c')
- version('4.1.0', sha256='8f6e4ab393d81d72caae6e78bd0fd6956117ec9f006fba55fcdb88caf62989b7')
- version('4.0.1-openvino', sha256='8cbe32d12a70decad7a8327eb4fba46016a9c47ff3ba6e114d27b450f020716f')
- version('4.0.1', sha256='7b86a0ee804244e0c407321f895b15e4a7162e9c5c0d2efc85f1cadec4011af4')
- version('4.0.0-openvino', sha256='aa910078ed0b7e17bd10067e04995c131584a6ed6d0dcc9ca44a292aa8e296fc')
- version('4.0.0', sha256='3787b3cc7b21bba1441819cb00c636911a846c0392ddf6211d398040a1e4886c')
- version('3.4.6', sha256='e7d311ff97f376b8ee85112e2b536dbf4bdf1233673500175ed7cf21a0089f6d')
- version('3.4.5', sha256='0c57d9dd6d30cbffe68a09b03f4bebe773ee44dc8ff5cd6eaeb7f4d5ef3b428e')
- version('3.4.4', sha256='a35b00a71d77b484f73ec485c65fe56c7a6fa48acd5ce55c197aef2e13c78746')
+ version('4.5.0', sha256='dde4bf8d6639a5d3fe34d5515eab4a15669ded609a1d622350c7ff20dace1907')
+ version('4.2.0', sha256='9ccb2192d7e8c03c58fee07051364d94ed7599363f3b0dce1c5e6cc11c1bb0ec')
+ version('4.1.2', sha256='385dd0a9c25e67ef0dd60e022d2a2d7b17e2f36819cf3cb46aa8cdff5c5282c9')
+ version('4.1.1', sha256='5de5d96bdfb9dad6e6061d70f47a0a91cee96bb35afb9afb9ecb3d43e243d217')
+ version('4.1.0', sha256='8f6e4ab393d81d72caae6e78bd0fd6956117ec9f006fba55fcdb88caf62989b7')
+ version('4.0.1', sha256='7b86a0ee804244e0c407321f895b15e4a7162e9c5c0d2efc85f1cadec4011af4')
+ version('4.0.0', sha256='3787b3cc7b21bba1441819cb00c636911a846c0392ddf6211d398040a1e4886c')
+ version('3.4.12', sha256='c8919dfb5ead6be67534bf794cb0925534311f1cd5c6680f8164ad1813c88d13')
+ version('3.4.6', sha256='e7d311ff97f376b8ee85112e2b536dbf4bdf1233673500175ed7cf21a0089f6d')
+ version('3.4.5', sha256='0c57d9dd6d30cbffe68a09b03f4bebe773ee44dc8ff5cd6eaeb7f4d5ef3b428e')
+ version('3.4.4', sha256='a35b00a71d77b484f73ec485c65fe56c7a6fa48acd5ce55c197aef2e13c78746')
version('3.4.3', sha256='4eef85759d5450b183459ff216b4c0fa43e87a4f6aa92c8af649f89336f002ec')
version('3.4.1', sha256='f1b87684d75496a1054405ae3ee0b6573acaf3dad39eaf4f1d66fdd7e03dc852')
version('3.4.0', sha256='678cc3d2d1b3464b512b084a8cca1fad7de207c7abdf2caa1fed636c13e916da')
@@ -50,54 +41,57 @@ class Opencv(CMakePackage, CudaPackage):
# Standard variants
variant('shared', default=True,
description='Enables the build of shared libraries')
- variant('lapack', default=True, description='Include Lapack library support')
+ variant('lapack', default=False, description='Include Lapack library support')
variant('powerpc', default=False, description='Enable PowerPC for GCC')
variant('vsx', default=False, description='Enable POWER8 and above VSX (64-bit little-endian)')
variant('fast-math', default=False,
description='Enable -ffast-math (not recommended for GCC 4.6.x)')
# OpenCV modules
- variant('calib3d', default=True, description='calib3d module')
+ variant('calib3d', default=False, description='calib3d module')
variant('core', default=True, description='Include opencv_core module into the OpenCV build')
variant('cudacodec', default=False, description='Enable video encoding/decoding with CUDA')
- variant('dnn', default=True, description='Build DNN support')
- variant('features2d', default=True, description='features2d module')
- variant('flann', default=True, description='flann module')
- variant('highgui', default=True, description='Include opencv_highgui module into the OpenCV build')
- variant('imgproc', default=True, description='Include opencv_imgproc module into the OpenCV build')
- variant('java', default=True,
+ variant('dnn', default=False, description='Build DNN support')
+ variant('features2d', default=False, description='features2d module')
+ variant('flann', default=False, description='flann module')
+ variant('highgui', default=False, description='Include opencv_highgui module into the OpenCV build')
+ variant('imgcodecs', default=False, description='Include opencv_imgcodecs module into the OpenCV build')
+ variant('imgproc', default=False, description='Include opencv_imgproc module into the OpenCV build')
+ variant('java', default=False,
description='Activates support for Java')
- variant('ml', default=True, description='Build ML support')
- variant('python', default=True,
+ variant('ml', default=False, description='Build ML support')
+ variant('python', default=False,
description='Enables the build of Python extensions')
- variant('stitching', default=True, description='stitching module')
- variant('superres', default=True, description='superres module')
- variant('ts', default=True, description='Include opencv_ts module into the OpenCV build')
- variant('video', default=True, description='video module')
- variant('videostab', default=True, description='videostab module')
- variant('videoio', default=True, description='videoio module')
+ variant('stitching', default=False, description='stitching module')
+ variant('superres', default=False, description='superres module')
+ variant('ts', default=False, description='Include opencv_ts module into the OpenCV build')
+ variant('video', default=False, description='video module')
+ variant('videostab', default=False, description='videostab module')
+ variant('videoio', default=False, description='videoio module')
# Optional 3rd party components
- variant('eigen', default=True, description='Activates support for eigen')
- variant('ipp', default=True, description='Activates support for IPP')
- variant('ipp_iw', default=True, description='Build IPP IW from source')
- variant('jasper', default=True, description='Activates support for JasPer')
- variant('jpeg', default=True, description='Include JPEG support')
- variant('opencl', default=True, description='Include OpenCL Runtime support')
- variant('opencl_svm', default=True, description='Include OpenCL Shared Virtual Memory support')
- variant('openclamdfft', default=True, description='Include OpenCL AMD OpenCL FFT library support')
- variant('openclamdblas', default=True, description='Include OpenCL AMD OpenCL BLAS library support')
- variant('openmp', default=True, description='Activates support for OpenMP threads')
- variant('pthreads_pf', default=True, description='Use pthreads-based parallel_for')
- variant('png', default=True, description='Include PNG support')
+ variant('eigen', default=False, description='Activates support for eigen')
+ variant('ipp', default=False, description='Activates support for IPP')
+ variant('ipp_iw', default=False, description='Build IPP IW from source')
+ variant('jasper', default=False, description='Activates support for JasPer')
+ variant('jpeg', default=False, description='Include JPEG support')
+ variant('opencl', default=False, description='Include OpenCL Runtime support')
+ variant('opencl_svm', default=False, description='Include OpenCL Shared Virtual Memory support')
+ variant('openclamdfft', default=False, description='Include OpenCL AMD OpenCL FFT library support')
+ variant('openclamdblas', default=False, description='Include OpenCL AMD OpenCL BLAS library support')
+ variant('openmp', default=False, description='Activates support for OpenMP threads')
+ variant('pthreads_pf', default=False, description='Use pthreads-based parallel_for')
+ variant('png', default=False, description='Include PNG support')
variant('qt', default=False, description='Activates support for QT')
- variant('gtk', default=True, description='Activates support for GTK')
- variant('tiff', default=True, description='Include TIFF support')
- variant('vtk', default=True, description='Activates support for VTK')
- variant('zlib', default=True, description='Build zlib from source')
+ variant('gtk', default=False, description='Activates support for GTK')
+ variant('tiff', default=False, description='Include TIFF support')
+ variant('vtk', default=False, description='Activates support for VTK')
+ variant('zlib', default=False, description='Build zlib from source')
variant('contrib', default=False, description='Adds in code from opencv_contrib.')
- contrib_vers = ['4.1.0', '4.1.1', '4.2.0']
+ contrib_vers = [
+ '3.4.12', '4.0.0', '4.0.1', '4.1.0', '4.1.1', '4.1.2', '4.2.0', '4.5.0'
+ ]
for cv in contrib_vers:
resource(name="contrib",
git='https://github.com/opencv/opencv_contrib.git',
@@ -153,6 +147,10 @@ class Opencv(CMakePackage, CudaPackage):
# IPP is provided x86_64 only
conflicts('+ipp', when="arch=aarch64:")
+ # Module opencv_calib3d disabled because opencv_flann dependency
+ # can't be resolved!
+ conflicts('+calib3d', when='~flann')
+
extends('python', when='+python')
def cmake_args(self):
@@ -189,6 +187,8 @@ class Opencv(CMakePackage, CudaPackage):
'ON' if '+flann' in spec else 'OFF')),
'-DBUILD_opencv_highgui:BOOL={0}'.format((
'ON' if '+highgui' in spec else 'OFF')),
+ '-DBUILD_opencv_imgcodecs:BOOL={0}'.format((
+ 'ON' if '+imgcodecs' in spec else 'OFF')),
'-DBUILD_opencv_imgproc:BOOL={0}'.format((
'ON' if '+imgproc' in spec else 'OFF')),
'-DBUILD_opencv_java:BOOL={0}'.format((
diff --git a/var/spack/repos/builtin/packages/opendx/package.py b/var/spack/repos/builtin/packages/opendx/package.py
index 2cf5a9e5e3..f731c24246 100644
--- a/var/spack/repos/builtin/packages/opendx/package.py
+++ b/var/spack/repos/builtin/packages/opendx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/openexr/package.py b/var/spack/repos/builtin/packages/openexr/package.py
index 9663fd9ab7..db9f6a4b79 100644
--- a/var/spack/repos/builtin/packages/openexr/package.py
+++ b/var/spack/repos/builtin/packages/openexr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -6,7 +6,7 @@
from spack import *
-class Openexr(Package):
+class Openexr(AutotoolsPackage):
"""OpenEXR Graphics Tools (high dynamic-range image file format)"""
homepage = "http://www.openexr.com/"
@@ -39,9 +39,9 @@ class Openexr(Package):
depends_on('ilmbase')
depends_on('zlib', type=('build', 'link'))
- def install(self, spec, prefix):
- configure_options = ['--prefix={0}'.format(prefix)]
- if '+debug' not in spec:
- configure_options.append('--disable-debug')
- configure(*configure_options)
- make('install')
+ def configure_args(self):
+ configure_options = []
+
+ configure_options += self.enable_or_disable('debug')
+
+ return configure_options
diff --git a/var/spack/repos/builtin/packages/openfast/package.py b/var/spack/repos/builtin/packages/openfast/package.py
index 70e49a8c4f..25b5e0aa48 100644
--- a/var/spack/repos/builtin/packages/openfast/package.py
+++ b/var/spack/repos/builtin/packages/openfast/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/openfdtd/package.py b/var/spack/repos/builtin/packages/openfdtd/package.py
index 5af480448f..71f2f44755 100644
--- a/var/spack/repos/builtin/packages/openfdtd/package.py
+++ b/var/spack/repos/builtin/packages/openfdtd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,7 +16,9 @@ class Openfdtd(MakefilePackage):
homepage = "http://www.e-em.co.jp/OpenFDTD/"
url = "http://www.e-em.co.jp/OpenFDTD/OpenFDTD.zip"
- version('2.3.0', sha256='10ac70f2ed7160da87dd9222a5a17ca7b72365ee886235359afc48c4fb7b4be4')
+ version('2.6.0', sha256='92f7b92dc55ff6d8fc8c31eda77ca10fe25a5f54b002f2523a3d67f485d77e9f')
+ version('2.3.0', sha256='10ac70f2ed7160da87dd9222a5a17ca7b72365ee886235359afc48c4fb7b4be4',
+ url='http://www.e-em.co.jp/OpenFDTD/old/OpenFDTD_230.zip')
variant('mpi', default=False, description='Build with MPI Support')
diff --git a/var/spack/repos/builtin/packages/openfoam-org/package.py b/var/spack/repos/builtin/packages/openfoam-org/package.py
index d9bd136b2e..b398812f3c 100644
--- a/var/spack/repos/builtin/packages/openfoam-org/package.py
+++ b/var/spack/repos/builtin/packages/openfoam-org/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/openfoam/package.py b/var/spack/repos/builtin/packages/openfoam/package.py
index de5f766f3c..126de81f64 100644
--- a/var/spack/repos/builtin/packages/openfoam/package.py
+++ b/var/spack/repos/builtin/packages/openfoam/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -265,6 +265,7 @@ class Openfoam(Package):
version('develop', branch='develop', submodules='True')
version('master', branch='master', submodules='True')
+ version('2012', sha256='3d6e39e39e7ae61d321fbc6db6c3748e6e5e1c4886454207a7f1a7321469e65a')
version('2006_201012', sha256='9afb7eee072bfddcf7f3e58420c93463027db2394997ac4c3b87a8b07c707fb0')
version('2006', sha256='30c6376d6f403985fc2ab381d364522d1420dd58a42cb270d2ad86f8af227edc')
version('1912_200506', sha256='831a39ff56e268e88374d0a3922479fd80260683e141e51980242cc281484121')
@@ -313,7 +314,7 @@ class Openfoam(Package):
# conflicts('^openmpi~thread_multiple', when='@1712:')
depends_on('zlib')
- depends_on('fftw')
+ depends_on('fftw-api')
depends_on('boost')
depends_on('cgal')
# The flex restriction is ONLY to deal with a spec resolution clash
@@ -548,11 +549,11 @@ class Openfoam(Package):
rcfile,
backup=False)
- @when('@1906: %fj')
+ @when('@1812: %fj')
@run_before('configure')
def make_fujitsu_rules(self):
"""Create Fujitsu rules (clang variant) unless supplied upstream.
- Implemented for 1906 and later (older rules are too messy to edit).
+ Implemented for 1812 and later (older rules are too messy to edit).
Already included after 1912.
"""
general_rules = 'wmake/rules/General'
@@ -573,15 +574,22 @@ class Openfoam(Package):
tty.info('Add Fujitsu wmake rules')
copy_tree(src, dst)
- for cfg in ['c', 'c++', 'general']:
- rule = join_path(dst, cfg)
- filter_file('Clang', 'Fujitsu', rule, backup=False)
+ if self.spec.version >= Version('1906'):
+ for cfg in ['c', 'c++', 'general']:
+ rule = join_path(dst, cfg)
+ filter_file('Clang', 'Fujitsu', rule, backup=False)
+ else:
+ filter_file('clang', spack_cc, join_path(dst, 'c'),
+ backup=False, string=True)
+ filter_file('clang++', spack_cxx, join_path(dst, 'c++'),
+ backup=False, string=True)
src = join_path(general_rules, 'Clang')
dst = join_path(general_rules, 'Fujitsu') # self.compiler
copy_tree(src, dst)
- filter_file('clang', spack_cc, join_path(dst, 'c'),
- backup=False, string=True)
+ if self.spec.version >= Version('1906'):
+ filter_file('clang', spack_cc, join_path(dst, 'c'),
+ backup=False, string=True)
filter_file('clang++', spack_cxx, join_path(dst, 'c++'),
backup=False, string=True)
@@ -621,10 +629,10 @@ class Openfoam(Package):
pkglib(spec['cgal'], '${CGAL_ARCH_PATH}'))),
],
'FFTW': [
- ('FFTW_ARCH_PATH', spec['fftw'].prefix), # Absolute
+ ('FFTW_ARCH_PATH', spec['fftw-api'].prefix), # Absolute
('LD_LIBRARY_PATH',
foam_add_lib(
- pkglib(spec['fftw'], '${BOOST_ARCH_PATH}'))),
+ pkglib(spec['fftw-api'], '${BOOST_ARCH_PATH}'))),
],
# User-defined MPI
'mpi-user': [
@@ -847,7 +855,7 @@ class OpenfoamArch(object):
#: Map spack compiler names to OpenFOAM compiler names
# By default, simply capitalize the first letter
- compiler_mapping = {'intel': 'Icc', 'fj': 'Fujitsu'}
+ compiler_mapping = {'intel': 'Icc', 'fj': 'Fujitsu', 'aocc': 'Amd'}
def __init__(self, spec, **kwargs):
# Some user settings, to be adjusted manually or via variants
diff --git a/var/spack/repos/builtin/packages/openfst/package.py b/var/spack/repos/builtin/packages/openfst/package.py
index 8399c6fcb9..eed28c0962 100644
--- a/var/spack/repos/builtin/packages/openfst/package.py
+++ b/var/spack/repos/builtin/packages/openfst/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -31,7 +31,7 @@ class Openfst(AutotoolsPackage):
version('1.4.0', sha256='eb557f37560438f03912b4e43335c4c9e72aa486d4f2046127131185eb88f17a')
conflicts('%intel@16:')
- conflicts('%gcc@6:', when='@:1.6.7')
+ conflicts('%gcc@6:', when='@:1.6.1')
variant('far', default=False, description="Enable FAR support")
diff --git a/var/spack/repos/builtin/packages/opengl/package.py b/var/spack/repos/builtin/packages/opengl/package.py
index 8be03f2577..763e2281fb 100644
--- a/var/spack/repos/builtin/packages/opengl/package.py
+++ b/var/spack/repos/builtin/packages/opengl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -91,8 +91,5 @@ class Opengl(Package):
@property
def libs(self):
- for dir in ['lib64', 'lib']:
- libs = find_libraries('libGL', join_path(self.prefix, dir),
- shared=True, recursive=False)
- if libs:
- return libs
+ return find_libraries(
+ 'libGL', self.prefix, shared=True, recursive=True)
diff --git a/var/spack/repos/builtin/packages/openglu/package.py b/var/spack/repos/builtin/packages/openglu/package.py
index 77ddbce2b9..d929adacdb 100644
--- a/var/spack/repos/builtin/packages/openglu/package.py
+++ b/var/spack/repos/builtin/packages/openglu/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -61,8 +61,5 @@ class Openglu(Package):
@property
def libs(self):
- for dir in ['lib64', 'lib']:
- libs = find_libraries('libGLU', join_path(self.prefix, dir),
- shared=True, recursive=False)
- if libs:
- return libs
+ return find_libraries(
+ 'libGLU', self.prefix, shared=True, recursive=True)
diff --git a/var/spack/repos/builtin/packages/openimageio/package.py b/var/spack/repos/builtin/packages/openimageio/package.py
index 6b01cdaa4d..551d50ade9 100644
--- a/var/spack/repos/builtin/packages/openimageio/package.py
+++ b/var/spack/repos/builtin/packages/openimageio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/openipmi/package.py b/var/spack/repos/builtin/packages/openipmi/package.py
index 894897e9e7..bd54726c5e 100644
--- a/var/spack/repos/builtin/packages/openipmi/package.py
+++ b/var/spack/repos/builtin/packages/openipmi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,13 +14,18 @@ class Openipmi(AutotoolsPackage):
homepage = "https://sourceforge.net/projects/openipmi/"
url = "https://sourceforge.net/projects/openipmi/files/OpenIPMI%202.0%20Library/OpenIPMI-2.0.29.tar.gz"
+ version('2.0.29', sha256='2244124579afb14e569f34393e9ac61e658a28b6ffa8e5c0d2c1c12a8ce695cd')
version('2.0.28', sha256='8e8b1de2a9a041b419133ecb21f956e999841cf2e759e973eeba9a36f8b40996')
version('2.0.27', sha256='f3b1fafaaec2e2bac32fec5a86941ad8b8cb64543470bd6d819d7b166713d20b')
- depends_on('popt')
- depends_on('python')
- depends_on('termcap')
- depends_on('ncurses')
+ depends_on('popt', type='link')
+ depends_on('python', type=('build', 'link', 'run'))
+ depends_on('perl', type=('build', 'link', 'run'))
+ depends_on('termcap', type='link')
+ depends_on('ncurses', type='link')
+ depends_on('readline', type='link')
+
+ patch('readline.patch', when='@2.0.27')
def configure_args(self):
args = ['LIBS=' + self.spec['ncurses'].libs.link_flags]
diff --git a/var/spack/repos/builtin/packages/openipmi/readline.patch b/var/spack/repos/builtin/packages/openipmi/readline.patch
new file mode 100644
index 0000000000..193442101b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/openipmi/readline.patch
@@ -0,0 +1,11 @@
+--- spack-src/sample/ipmi_serial_bmc_emu.c.org 2020-12-07 17:08:39.907878381 +0900
++++ spack-src/sample/ipmi_serial_bmc_emu.c 2020-12-07 17:08:56.713276894 +0900
+@@ -42,7 +42,7 @@
+ #include <unistd.h>
+ #include <stdlib.h>
+ #include <sys/select.h>
+-#include <editline/readline.h>
++#include <readline/readline.h>
+
+ #define _GNU_SOURCE
+ #include <getopt.h>
diff --git a/var/spack/repos/builtin/packages/openjdk/package.py b/var/spack/repos/builtin/packages/openjdk/package.py
index 4c50bdfc2c..5643c5d8de 100644
--- a/var/spack/repos/builtin/packages/openjdk/package.py
+++ b/var/spack/repos/builtin/packages/openjdk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,12 +16,18 @@ import re
# format returned by platform.system() and 'arch' by platform.machine()
_versions = {
+ '11.0.9.1_1': {
+ 'Linux-ppc64le': ('d94b6b46a14ab0974b1c1b89661741126d8cf8a0068b471b8f5fa286a71636b1', 'https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.9.1%2B1/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.9.1_1.tar.gz')},
+ '11.0.8_10': {
+ 'Linux-x86_64': ('6e4cead158037cb7747ca47416474d4f408c9126be5b96f9befd532e0a762b47', 'https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.8%2B10/OpenJDK11U-jdk_x64_linux_hotspot_11.0.8_10.tar.gz')},
'11.0.0-2020-01-01': {
'Linux-aarch64': ('05c7d9c90edacd853850fbb0f52f8aa482809d0452c599cb9fe0b28b3b4bf329', 'https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk11u-2020-01-01-06-13/OpenJDK11U-jdk_aarch64_linux_hotspot_2020-01-01-06-13.tar.gz')},
'11.0.2': {
'Linux-x86_64': ('99be79935354f5c0df1ad293620ea36d13f48ec3ea870c838f20c504c9668b57', 'https://download.java.net/java/GA/jdk11/9/GPL/openjdk-11.0.2_linux-x64_bin.tar.gz')},
'11.0.1': {
'Linux-x86_64': ('7a6bb980b9c91c478421f865087ad2d69086a0583aeeb9e69204785e8e97dcfd', 'https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz')},
+ '1.8.0_265-b01': {
+ 'Linux-x86_64': ('1285da6278f2d38a790a21148d7e683f20de0799c44b937043830ef6b57f58c4', 'https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u265-b01/OpenJDK8U-jdk_x64_linux_hotspot_8u265b01.tar.gz')},
'1.8.0_191-b12': {
'Linux-aarch64': ('8eee0aede947b804f9a5f49c8a38b52aace8a30a9ebd9383b7d06042fb5a237c', 'https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u191-b12/OpenJDK8U-jdk_aarch64_linux_hotspot_8u191b12.tar.gz')},
'1.8.0_222-b10': {
@@ -49,8 +55,7 @@ class Openjdk(Package):
provides('java@9', when='@9.0:9.99')
provides('java@8', when='@1.8.0:1.8.999')
- conflicts('target=ppc64:', msg='openjdk is only available for x86_64 and aarch64')
- conflicts('target=ppc64le:', msg='openjdk is only available for x86_64 and aarch64')
+ conflicts('target=ppc64:', msg='openjdk is not available for ppc64 (big endian)')
# FIXME:
# 1. `extends('java')` doesn't work, you need to use `extends('openjdk')`
diff --git a/var/spack/repos/builtin/packages/openjpeg/package.py b/var/spack/repos/builtin/packages/openjpeg/package.py
index c451758ef0..676c567e35 100644
--- a/var/spack/repos/builtin/packages/openjpeg/package.py
+++ b/var/spack/repos/builtin/packages/openjpeg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/openkim-models/package.py b/var/spack/repos/builtin/packages/openkim-models/package.py
index 6e8819da66..9777513768 100644
--- a/var/spack/repos/builtin/packages/openkim-models/package.py
+++ b/var/spack/repos/builtin/packages/openkim-models/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,20 +19,24 @@ class OpenkimModels(CMakePackage):
compatible with the kim-api package.
"""
homepage = "https://openkim.org/"
- url = "https://s3.openkim.org/archives/collection/openkim-models-2019-07-25.txz"
+ url = "https://s3.openkim.org/archives/collection/openkim-models-2021-01-28.txz"
maintainers = ['ellio167']
extends('kim-api')
+ depends_on('kim-api@2.2.1:', when='@2021.01.28:')
depends_on('kim-api@2.1.0:', when='@2019-07-25:')
depends_on('kim-api@:2.0.2', when='@:2019-03-29')
version(
- '2019-07-25',
- sha256='50338084ece92ec0fb13b0bbdf357b5d7450e26068ba501f23c315f814befc26')
+ '2021.01.28',
+ sha256='8824adee02ae4583bd378cc81140fbb49515c5965708ee98d856d122d48dd95f')
version(
- '2019-03-29',
- sha256='053dda2023fe4bb6d7c1d66530c758c4e633bbf1f1be17b6b075b276fe8874f6')
+ '2019-07-25',
+ sha256='50338084ece92ec0fb13b0bbdf357b5d7450e26068ba501f23c315f814befc26')
+ version(
+ '2019-03-29',
+ sha256='053dda2023fe4bb6d7c1d66530c758c4e633bbf1f1be17b6b075b276fe8874f6')
def cmake_args(self):
args = []
diff --git a/var/spack/repos/builtin/packages/openldap/package.py b/var/spack/repos/builtin/packages/openldap/package.py
index 89d190ae27..e7724a7aa4 100644
--- a/var/spack/repos/builtin/packages/openldap/package.py
+++ b/var/spack/repos/builtin/packages/openldap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -47,7 +47,7 @@ class Openldap(AutotoolsPackage):
@when('+client_only')
def configure_args(self):
return ['CPPFLAGS=-D_GNU_SOURCE',
- '--disable-static',
+ '--enable-static',
'--enable-dynamic',
'--disable-debug',
'--disable-slapd',
@@ -57,7 +57,7 @@ class Openldap(AutotoolsPackage):
def configure_args(self):
# Ref: https://www.openldap.org/lists/openldap-technical/201009/msg00304.html
args = ['CPPFLAGS=-D_GNU_SOURCE', # fixes a build error, see Ref above
- '--disable-static',
+ '--enable-static',
'--disable-debug',
'--with-cyrus-sasl',
'--enable-dynamic',
diff --git a/var/spack/repos/builtin/packages/openloops/package.py b/var/spack/repos/builtin/packages/openloops/package.py
index 9a1081c2b6..d1523a3272 100644
--- a/var/spack/repos/builtin/packages/openloops/package.py
+++ b/var/spack/repos/builtin/packages/openloops/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,6 +17,8 @@ class Openloops(Package):
homepage = "https://openloops.hepforge.org/"
url = "https://openloops.hepforge.org/downloads?f=OpenLoops-2.1.1.tar.gz"
+ tags = ['hep']
+
version('2.1.1', sha256='f1c47ece812227eab584e2c695fef74423d2f212873f762b8658f728685bcb91')
all_processes = (
@@ -97,7 +99,11 @@ class Openloops(Package):
f.write('gfortran_f_flags = -ffree-line-length-none\n')
if self.spec.satisfies('@2.1.1') and not is_intel:
f.write('gfortran_f_flags = -ffree-line-length-none ' +
- '-fdollar-ok -mcmodel=medium\n')
+ '-fdollar-ok ')
+ if self.spec.target.family == 'aarch64':
+ f.write('-mcmodel=small\n')
+ else:
+ f.write('-mcmodel=medium\n')
if self.spec.satisfies('@:1.999.999 processes=lcg.coll'):
copy(join_path(os.path.dirname(__file__), 'sft1.coll'), 'lcg.coll')
diff --git a/var/spack/repos/builtin/packages/openmc/package.py b/var/spack/repos/builtin/packages/openmc/package.py
index 60ce6f4bba..1088aeec60 100644
--- a/var/spack/repos/builtin/packages/openmc/package.py
+++ b/var/spack/repos/builtin/packages/openmc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,12 +18,37 @@ class Openmc(CMakePackage):
url = "https://github.com/openmc-dev/openmc/tarball/v0.10.0"
git = "https://github.com/openmc-dev/openmc.git"
+ version('develop', branch='develop', submodules=True)
+ version('master', branch='master', submodules=True)
+ version('0.12.0', tag='v0.12.0', submodules=True)
+ version('0.11.0', sha256='19a9d8e9c3b581e9060fbd96d30f1098312d217cb5c925eb6372a5786d9175af')
version('0.10.0', sha256='47650cb45e2c326ae439208d6f137d75ad3e5c657055912d989592c6e216178f')
- version('develop')
- depends_on("hdf5+hl")
+ variant('mpi', default=False, description='Enable MPI support')
+ variant('openmp', default=True, description='Enable OpenMP support')
+ variant('optimize', default=False, description='Enable optimization flags')
+ variant('debug', default=False, description='Enable debug flags')
+
+ depends_on('git', type='build')
+ depends_on('hdf5+hl~mpi', when='~mpi')
+ depends_on('mpi', when='+mpi')
+ depends_on('hdf5+hl+mpi', when='+mpi')
def cmake_args(self):
- options = ['-DHDF5_ROOT:PATH=%s' % self.spec['hdf5'].prefix]
+ options = ['-DCMAKE_INSTALL_LIBDIR=lib'] # forcing bc sometimes goes to lib64
+
+ if '+mpi' in self.spec:
+ options += ['-DCMAKE_C_COMPILER=%s' % self.spec['mpi'].mpicc,
+ '-DCMAKE_CXX_COMPILER=%s' % self.spec['mpi'].mpicxx]
+
+ options += [self.define_from_variant('openmp')]
+ options += [self.define_from_variant('optimize')]
+ options += [self.define_from_variant('debug')]
+
+ if '+optimize' in self.spec:
+ self.spec.variants['build_type'].value = 'Release'
+
+ if '+debug' in self.spec:
+ self.spec.variants['build_type'].value = 'Debug'
return options
diff --git a/var/spack/repos/builtin/packages/openmm/package.py b/var/spack/repos/builtin/packages/openmm/package.py
index 2867af4538..41decab0d1 100644
--- a/var/spack/repos/builtin/packages/openmm/package.py
+++ b/var/spack/repos/builtin/packages/openmm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/openmolcas/package.py b/var/spack/repos/builtin/packages/openmolcas/package.py
index c8a6e2aaa0..5911bf6ac4 100644
--- a/var/spack/repos/builtin/packages/openmolcas/package.py
+++ b/var/spack/repos/builtin/packages/openmolcas/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/openmpi/package.py b/var/spack/repos/builtin/packages/openmpi/package.py
index 124973bbc1..cf1e72b214 100644
--- a/var/spack/repos/builtin/packages/openmpi/package.py
+++ b/var/spack/repos/builtin/packages/openmpi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -24,9 +24,9 @@ class Openmpi(AutotoolsPackage):
application developers and computer science researchers.
"""
- homepage = "http://www.open-mpi.org"
- url = "https://www.open-mpi.org/software/ompi/v4.0/downloads/openmpi-4.0.0.tar.bz2"
- list_url = "http://www.open-mpi.org/software/ompi/"
+ homepage = "https://www.open-mpi.org"
+ url = "https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.0.tar.bz2"
+ list_url = "https://www.open-mpi.org/software/ompi/"
git = "https://github.com/open-mpi/ompi.git"
maintainers = ['hppritcha']
@@ -36,15 +36,18 @@ class Openmpi(AutotoolsPackage):
version('master', branch='master')
# Current
- version('4.0.5', sha256='c58f3863b61d944231077f344fe6b4b8fbb83f3d1bc93ab74640bf3e5acac009') # libmpi.so.40.20.5
+ version('4.1.0', sha256='73866fb77090819b6a8c85cb8539638d37d6877455825b74e289d647a39fd5b5') # libmpi.so.40.30.0
+
+ # Still supported
+ version('4.0.5', preferred=True, sha256='c58f3863b61d944231077f344fe6b4b8fbb83f3d1bc93ab74640bf3e5acac009') # libmpi.so.40.20.5
version('4.0.4', sha256='47e24eb2223fe5d24438658958a313b6b7a55bb281563542e1afc9dec4a31ac4') # libmpi.so.40.20.4
version('4.0.3', sha256='1402feced8c3847b3ab8252165b90f7d1fa28c23b6b2ca4632b6e4971267fd03') # libmpi.so.40.20.3
version('4.0.2', sha256='900bf751be72eccf06de9d186f7b1c4b5c2fa9fa66458e53b77778dffdfe4057') # libmpi.so.40.20.2
version('4.0.1', sha256='cce7b6d20522849301727f81282201d609553103ac0b09162cf28d102efb9709') # libmpi.so.40.20.1
version('4.0.0', sha256='2f0b8a36cfeb7354b45dda3c5425ef8393c9b04115570b615213faaa3f97366b') # libmpi.so.40.20.0
- # Still supported
- version('3.1.6', preferred=True, sha256='50131d982ec2a516564d74d5616383178361c2f08fdd7d1202b80bdf66a0d279') # libmpi.so.40.10.4
+ # Retired
+ version('3.1.6', sha256='50131d982ec2a516564d74d5616383178361c2f08fdd7d1202b80bdf66a0d279') # libmpi.so.40.10.4
version('3.1.5', sha256='fbf0075b4579685eec8d56d34d4d9c963e6667825548554f5bf308610af72133') # libmpi.so.40.10.4
version('3.1.4', sha256='17a69e0054db530c7dc119f75bd07d079efa147cf94bf27e590905864fe379d6') # libmpi.so.40.10.4
version('3.1.3', sha256='8be04307c00f51401d3fb9d837321781ea7c79f2a5a4a2e5d4eaedc874087ab6') # libmpi.so.40.10.3
@@ -58,7 +61,6 @@ class Openmpi(AutotoolsPackage):
version('3.0.1', sha256='663450d1ee7838b03644507e8a76edfb1fba23e601e9e0b5b2a738e54acd785d') # libmpi.so.40.00.1
version('3.0.0', sha256='f699bff21db0125d8cccfe79518b77641cd83628725a1e1ed3e45633496a82d7') # libmpi.so.40.00.0
- # Retired
version('2.1.6', sha256='98b8e1b8597bbec586a0da79fcd54a405388190247aa04d48e8c40944d4ca86e') # libmpi.so.20.10.3
version('2.1.5', sha256='b807ccab801f27c3159a5edf29051cd3331d3792648919f9c4cee48e987e7794') # libmpi.so.20.10.3
version('2.1.4', sha256='3e03695ca8bd663bc2d89eda343c92bb3d4fc79126b178f5ddcb68a8796b24e2') # libmpi.so.20.10.3
@@ -73,6 +75,7 @@ class Openmpi(AutotoolsPackage):
version('2.0.1', sha256='fed74f4ae619b7ebcc18150bb5bdb65e273e14a8c094e78a3fea0df59b9ff8ff') # libmpi.so.20.0.1
version('2.0.0', sha256='08b64cf8e3e5f50a50b4e5655f2b83b54653787bd549b72607d9312be44c18e0') # libmpi.so.20.0.0
+ # Ancient
version('1.10.7', sha256='a089ece151fec974905caa35b0a59039b227bdea4e7933069e94bee4ed0e5a90') # libmpi.so.12.0.7
version('1.10.6', sha256='65606184a084a0eda6102b01e5a36a8f02d3195d15e91eabbb63e898bd110354') # libmpi.so.12.0.6
version('1.10.5', sha256='a95fa355ed3a905c7c187bc452529a9578e2d6bae2559d8197544ab4227b759e') # libmpi.so.12.0.5
@@ -106,7 +109,6 @@ class Openmpi(AutotoolsPackage):
version('1.6.1', sha256='077240dd1ab10f0caf26931e585db73848e9815c7119b993f91d269da5901e3a') # libmpi.so.1.0.3
version('1.6', sha256='6e0d8b336543fb9ab78c97d364484923167857d30b266dfde1ccf60f356b9e0e') # libmpi.so.1.0.3
- # Ancient
version('1.5.5', sha256='660e6e49315185f88a87b6eae3d292b81774eab7b29a9b058b10eb35d892ff23') # libmpi.so.1.0.3
version('1.5.4', sha256='81126a95a51b8af4bb0ad28790f852c30d22d989713ec30ad22e9e0a79587ef6') # libmpi.so.1.0.2
version('1.5.3', sha256='70745806cdbe9b945d47d9fa058f99e072328e41e40c0ced6dd75220885c5263') # libmpi.so.1.0.1
@@ -247,6 +249,8 @@ class Openmpi(AutotoolsPackage):
default=False,
description='Do not remove mpirun/mpiexec when building with slurm'
)
+ # Variants to use internal packages
+ variant('internal-hwloc', default=False, description='Use internal hwloc')
provides('mpi')
provides('mpi@:2.2', when='@1.6.5')
@@ -264,14 +268,16 @@ class Openmpi(AutotoolsPackage):
depends_on('pkgconfig', type='build')
- depends_on('hwloc@2.0:', when='@4:')
+ depends_on('libevent@2.0:', when='@4:')
+
+ depends_on('hwloc@2.0:', when='@4: ~internal-hwloc')
# ompi@:3.0.0 doesn't support newer hwloc releases:
# "configure: error: OMPI does not currently support hwloc v2 API"
# Future ompi releases may support it, needs to be verified.
# See #7483 for context.
- depends_on('hwloc@:1.999', when='@:3.999.9999')
+ depends_on('hwloc@:1.999', when='@:3.999.999 ~internal-hwloc')
- depends_on('hwloc +cuda', when='+cuda')
+ depends_on('hwloc +cuda', when='+cuda ~internal-hwloc')
depends_on('java', when='+java')
depends_on('sqlite', when='+sqlite3@:1.11')
depends_on('zlib', when='@3.0.0:')
@@ -442,15 +448,16 @@ class Openmpi(AutotoolsPackage):
# Get the appropriate compiler
match = re.search(r'\bC compiler absolute: (\S+)', output)
- compiler_spec = get_spack_compiler_spec(
- os.path.dirname(match.group(1)))
- if compiler_spec:
- variants += "%" + str(compiler_spec)
+ if match:
+ compiler_spec = get_spack_compiler_spec(
+ os.path.dirname(match.group(1)))
+ if compiler_spec:
+ variants += "%" + str(compiler_spec)
results.append(variants)
return results
def url_for_version(self, version):
- url = "http://www.open-mpi.org/software/ompi/v{0}/downloads/openmpi-{1}.tar.bz2"
+ url = "https://download.open-mpi.org/release/open-mpi/v{0}/openmpi-{1}.tar.bz2"
return url.format(version.up_to(2), version)
@property
@@ -674,8 +681,11 @@ class Openmpi(AutotoolsPackage):
if spec.satisfies('+lustre'):
lustre_opt = '--with-lustre={0}'.format(spec['lustre'].prefix)
config_args.append(lustre_opt)
+ # external libevent
+ if spec.satisfies('@4.0.0:'):
+ config_args.append('--with-libevent={0}'.format(spec['libevent'].prefix))
# Hwloc support
- if spec.satisfies('@1.5.2:'):
+ if '~internal-hwloc' in spec and spec.satisfies('@1.5.2:'):
config_args.append('--with-hwloc={0}'.format(spec['hwloc'].prefix))
# Java support
if spec.satisfies('@1.7.4:'):
diff --git a/var/spack/repos/builtin/packages/openmx/for_aarch64.patch b/var/spack/repos/builtin/packages/openmx/for_aarch64.patch
new file mode 100644
index 0000000000..33a80bf8ab
--- /dev/null
+++ b/var/spack/repos/builtin/packages/openmx/for_aarch64.patch
@@ -0,0 +1,11 @@
+--- spack-src/source/Krylov.c.bak 2016-03-27 15:53:28.000000000 +0900
++++ spack-src/source/Krylov.c 2021-01-28 15:31:32.660274698 +0900
+@@ -29,7 +29,7 @@
+ #ifdef nosse
+ #include "mimic_sse.h"
+ #else
+-#include <emmintrin.h>
++#include <sse2neon.h>
+ #endif
+
+ #ifdef kcomp
diff --git a/var/spack/repos/builtin/packages/openmx/package.py b/var/spack/repos/builtin/packages/openmx/package.py
index 5560820b59..f6a313c27b 100644
--- a/var/spack/repos/builtin/packages/openmx/package.py
+++ b/var/spack/repos/builtin/packages/openmx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -25,6 +25,9 @@ class Openmx(MakefilePackage):
depends_on('fftw')
depends_on('blas')
depends_on('lapack')
+ depends_on('sse2neon', when='target=aarch64:')
+
+ patch('for_aarch64.patch', when='@3.8 target=aarch64:')
parallel = False
diff --git a/var/spack/repos/builtin/packages/opennurbs/package.py b/var/spack/repos/builtin/packages/opennurbs/package.py
index 7b3496364f..ece24e66ef 100644
--- a/var/spack/repos/builtin/packages/opennurbs/package.py
+++ b/var/spack/repos/builtin/packages/opennurbs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/openpa/package.py b/var/spack/repos/builtin/packages/openpa/package.py
index 7271d579e1..f159f0e5ec 100644
--- a/var/spack/repos/builtin/packages/openpa/package.py
+++ b/var/spack/repos/builtin/packages/openpa/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/openpbs/package.py b/var/spack/repos/builtin/packages/openpbs/package.py
index 695e5ad595..4b24a5dfe5 100644
--- a/var/spack/repos/builtin/packages/openpbs/package.py
+++ b/var/spack/repos/builtin/packages/openpbs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/openpmd-api/package.py b/var/spack/repos/builtin/packages/openpmd-api/package.py
index 70cff5df46..b1bd25b5b2 100644
--- a/var/spack/repos/builtin/packages/openpmd-api/package.py
+++ b/var/spack/repos/builtin/packages/openpmd-api/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,18 +10,18 @@ class OpenpmdApi(CMakePackage):
"""API for easy reading and writing of openPMD files"""
homepage = "http://www.openPMD.org"
+ url = "https://github.com/openPMD/openPMD-api/archive/0.13.1.tar.gz"
git = "https://github.com/openPMD/openPMD-api.git"
maintainers = ['ax3l']
version('dev', branch='dev')
+ version('0.13.2', sha256='2e5170d41bb7b2c0608ec833eee7f9adf8175b46734743f6e46dcce6f6685fb0')
+ version('0.13.1', sha256='81ff79419982eb1b0865d1736f73f950f5d4c356d3c78200ceeab7f54dc07fd7')
+ version('0.13.0', sha256='97c2e43d80ee5c5288f278bd54f0dcb40e7f48a575b278fcef9660214b779bb0') # C++14 required
+ # C++11 up until here
version('0.12.0', tag='0.12.0-alpha')
version('0.11.1', tag='0.11.1-alpha')
- version('0.11.0', tag='0.11.0-alpha')
- version('0.10.3', tag='0.10.3-alpha')
- version('0.10.2', tag='0.10.2-alpha')
- version('0.10.1', tag='0.10.1-alpha')
- version('0.10.0', tag='0.10.0-alpha')
variant('shared', default=True,
description='Build a shared version of the library')
@@ -36,7 +36,7 @@ class OpenpmdApi(CMakePackage):
variant('python', default=False,
description='Enable Python bindings')
- depends_on('cmake@3.12.0:', type='build')
+ depends_on('cmake@3.15.0:', type='build')
depends_on('mpark-variant@1.4.0:')
depends_on('catch2@2.6.1:', type='test')
depends_on('mpi@2.3:', when='+mpi') # might become MPI 3.0+
@@ -50,18 +50,14 @@ class OpenpmdApi(CMakePackage):
depends_on('adios2@2.6.0:', when='+adios2 @0.12.0:')
depends_on('adios2@2.5.0: ~mpi', when='~mpi +adios2')
depends_on('adios2@2.5.0: +mpi', when='+mpi +adios2')
- depends_on('nlohmann-json@3.7.0:')
- depends_on('py-pybind11@2.3.0:', when='+python', type='link')
+ depends_on('nlohmann-json@3.9.1:')
+ depends_on('py-pybind11@2.6.1:', when='+python', type='link')
depends_on('py-numpy@1.15.1:', when='+python', type=['test', 'run'])
depends_on('py-mpi4py@2.1.0:', when='+python +mpi', type=['test', 'run'])
- depends_on('python@3.5:', when='+python', type=['link', 'test', 'run'])
+ depends_on('python@3.6:', when='+python', type=['link', 'test', 'run'])
extends('python', when='+python')
- # Fix breaking HDF5 1.12.0 API
- # https://github.com/openPMD/openPMD-api/pull/696
- patch('hdf5-1.12.0.patch', when='@:0.11.0 +hdf5')
-
def cmake_args(self):
spec = self.spec
@@ -89,8 +85,12 @@ class OpenpmdApi(CMakePackage):
# switch internally shipped third-party libraries for spack
if spec.satisfies('+python'):
args.append('-DopenPMD_USE_INTERNAL_PYBIND11:BOOL=OFF')
- args.append('-DPYTHON_EXECUTABLE:FILEPATH={0}'.format(
- self.spec['python'].command.path))
+ if spec.version >= Version('0.13.0'):
+ args.append('-DPython_ROOT_DIR:FILEPATH={0}'.format(
+ self.spec['python'].prefix))
+ else:
+ args.append('-DPYTHON_EXECUTABLE:FILEPATH={0}'.format(
+ self.spec['python'].command.path))
args.extend([
'-DopenPMD_USE_INTERNAL_JSON:BOOL=OFF',
diff --git a/var/spack/repos/builtin/packages/openrasmol/package.py b/var/spack/repos/builtin/packages/openrasmol/package.py
new file mode 100644
index 0000000000..76ff5de93e
--- /dev/null
+++ b/var/spack/repos/builtin/packages/openrasmol/package.py
@@ -0,0 +1,68 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Openrasmol(MakefilePackage):
+ """RasMol is a molecular graphics program intended for the
+ visualisation of proteins, nucleic acids and small molecules."""
+
+ homepage = "http://www.openrasmol.org/"
+ url = "https://sourceforge.net/projects/openrasmol/files/RasMol/RasMol_2.7.5/RasMol-2.7.5.2.tar.gz"
+
+ version('2.7.5.2', sha256='b975e6e69d5c6b161a81f04840945d2f220ac626245c61bcc6c56181b73a5718')
+
+ depends_on('imake', type='build')
+ depends_on('libxext', type='link')
+ depends_on('libxi', type='link')
+
+ depends_on('cbflib@0.9.2', type='link')
+ depends_on('cqrlib@1.1.2', type='link')
+ depends_on('cvector@1.0.3', type='link')
+ depends_on('neartree@3.1', type='link')
+ depends_on('xforms@1.0.91', type='link')
+
+ patch('rasmol_noqa.patch')
+ patch('rasmol_help.patch')
+
+ def edit(self, spec, prefix):
+ with working_dir('src'):
+ # Imakefile
+ bash = which('bash')
+ bash('./rasmol_build_options.sh')
+ # host.def
+ with open('host.def', 'w') as f:
+ f.write('#ifdef AfterVendorCF\n')
+ f.write('#define CcCmd {0}\n'.format(spack_cc))
+ f.write('#endif\n')
+
+ def setup_build_environment(self, env):
+ env.set('XFORMSLIB_DIR', self.spec['xforms'].prefix)
+ env.set('CBFLIB_DIR', self.spec['cbflib'].prefix)
+ env.set('CQRLIB_DIR', self.spec['cqrlib'].prefix)
+ env.set('CVECTOR_DIR', self.spec['cvector'].prefix)
+ env.set('NEARTREE_DIR', self.spec['neartree'].prefix)
+
+ def build(self, spec, prefix):
+ with working_dir('src'):
+ bash = which('bash')
+ bash('./build_all.sh')
+
+ def install(self, spec, prefix):
+ install_tree('./data', prefix.sample)
+ install_tree('./doc', prefix.doc)
+ with working_dir('src'):
+ bash = which('bash')
+ bash('./rasmol_install.sh', '--prefix={0}'.format(prefix))
+
+ def test(self):
+ testdir = self.test_suite.current_test_data_dir
+ opts = []
+ opts.append('-insecure')
+ opts.append('-script')
+ opts.append(join_path(testdir, 'test.rsc'))
+ opts.append(join_path(self.prefix.sample, '1crn.pdb'))
+ self.run_test('rasmol', options=opts)
diff --git a/var/spack/repos/builtin/packages/openrasmol/rasmol_help.patch b/var/spack/repos/builtin/packages/openrasmol/rasmol_help.patch
new file mode 100644
index 0000000000..5ced3123be
--- /dev/null
+++ b/var/spack/repos/builtin/packages/openrasmol/rasmol_help.patch
@@ -0,0 +1,22 @@
+--- a/src/command.c 2021-02-04 01:59:48.968985028 +0900
++++ b/src/command.c 2021-02-04 02:02:15.548984240 +0900
+@@ -118,6 +118,10 @@
+ #include <stdio.h>
+ #include <time.h>
+
++#include <limits.h>
++#ifndef PATH_MAX
++#define PATH_MAX 1024
++#endif
+
+ #if !defined(IBMPC) && !defined(VMS) && !defined(APPLEMAC)
+ #include <pwd.h>
+@@ -229,7 +233,7 @@
+
+ #define HelpPool 16
+ static char *HelpFileName;
+-static char HelpFileBuf[80];
++static char HelpFileBuf[PATH_MAX];
+ static HlpEntry __far *FreeInfo;
+ static HlpEntry __far *HelpInfo;
+
diff --git a/var/spack/repos/builtin/packages/openrasmol/rasmol_noqa.patch b/var/spack/repos/builtin/packages/openrasmol/rasmol_noqa.patch
new file mode 100644
index 0000000000..04c559b5cf
--- /dev/null
+++ b/var/spack/repos/builtin/packages/openrasmol/rasmol_noqa.patch
@@ -0,0 +1,26 @@
+--- a/src/rasmol_install.sh 2021-01-23 02:35:53.420843463 +0900
++++ b/src/rasmol_install.sh 2021-01-23 02:46:42.576839974 +0900
+@@ -226,11 +226,6 @@
+ fi
+ fi
+
+-echo -n "Install rasmol into \"$RASMOLPATH\"? [y/N] ";
+-read ok
+-if [ "$ok" != "y" ] && [ "$ok" != "Y" ] ; then exit 1 ;
+-fi
+-
+ savecurdir=`pwd` ;
+ cd $RASMOLPATH ;
+ rasmolpath=`pwd` ;
+@@ -245,11 +240,6 @@
+
+ fi
+
+-echo -n "Install rasmol program wrapper in \"$bindest/rasmol\"? [y/N] ";
+-read ok
+-if [ "$ok" != "y" ] && [ "$ok" != "Y" ]; then unset bindest ;
+-fi
+-
+
+ if ! [ -d $bindest ] ; then
+ mkdir -p $bindest ;
diff --git a/var/spack/repos/builtin/packages/openrasmol/test/test.rsc b/var/spack/repos/builtin/packages/openrasmol/test/test.rsc
new file mode 100644
index 0000000000..654f542115
--- /dev/null
+++ b/var/spack/repos/builtin/packages/openrasmol/test/test.rsc
@@ -0,0 +1,3 @@
+wireframe true
+write ps test.ps
+quit
diff --git a/var/spack/repos/builtin/packages/openresty/package.py b/var/spack/repos/builtin/packages/openresty/package.py
index 23708b280d..591b6c902b 100644
--- a/var/spack/repos/builtin/packages/openresty/package.py
+++ b/var/spack/repos/builtin/packages/openresty/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/openscenegraph/package.py b/var/spack/repos/builtin/packages/openscenegraph/package.py
index e22d7fc625..87747b6bc7 100644
--- a/var/spack/repos/builtin/packages/openscenegraph/package.py
+++ b/var/spack/repos/builtin/packages/openscenegraph/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -27,7 +27,7 @@ class Openscenegraph(CMakePackage):
depends_on('cmake@2.8.7:', type='build')
depends_on('gl')
depends_on('qt+opengl', when='@:3.5.4') # Qt windowing system was moved into separate osgQt project
- depends_on('qt@4:', when='@3.2:')
+ depends_on('qt@4:', when='@3.2:3.5.4')
depends_on('qt@:4', when='@:3.1')
depends_on('libxinerama')
depends_on('libxrandr')
diff --git a/var/spack/repos/builtin/packages/openslide/package.py b/var/spack/repos/builtin/packages/openslide/package.py
index c41da2461b..af1b19e6a3 100644
--- a/var/spack/repos/builtin/packages/openslide/package.py
+++ b/var/spack/repos/builtin/packages/openslide/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/openslp/package.py b/var/spack/repos/builtin/packages/openslp/package.py
index 5957777b5f..5a7d595f99 100644
--- a/var/spack/repos/builtin/packages/openslp/package.py
+++ b/var/spack/repos/builtin/packages/openslp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/openspeedshop-utils/package.py b/var/spack/repos/builtin/packages/openspeedshop-utils/package.py
index 6b3645148e..d1d3175a44 100644
--- a/var/spack/repos/builtin/packages/openspeedshop-utils/package.py
+++ b/var/spack/repos/builtin/packages/openspeedshop-utils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/openspeedshop/package.py b/var/spack/repos/builtin/packages/openspeedshop/package.py
index adb1d59ca0..e0106487de 100644
--- a/var/spack/repos/builtin/packages/openspeedshop/package.py
+++ b/var/spack/repos/builtin/packages/openspeedshop/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/openssh/package.py b/var/spack/repos/builtin/packages/openssh/package.py
index 41542691fc..cfd2bfb866 100644
--- a/var/spack/repos/builtin/packages/openssh/package.py
+++ b/var/spack/repos/builtin/packages/openssh/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/openssl/package.py b/var/spack/repos/builtin/packages/openssl/package.py
index 3e6c6b4f7e..611a6080d6 100644
--- a/var/spack/repos/builtin/packages/openssl/package.py
+++ b/var/spack/repos/builtin/packages/openssl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -28,6 +28,8 @@ class Openssl(Package): # Uses Fake Autotools, should subclass Package
# The latest stable version is the 1.1.1 series. This is also our Long Term
# Support (LTS) version, supported until 11th September 2023.
+ version('1.1.1j', sha256='aaf2fcb575cdf6491b98ab4829abf78a3dec8402b8b81efc8f23c00d443981bf')
+ version('1.1.1i', sha256='e8be6a35fe41d10603c3cc635e93289ed00bf34b79671a3a4de64fcee00d5242')
version('1.1.1h', sha256='5c9ca8774bd7b03e5784f26ae9e9e6d749c9da2438545077e6b3d755a06595d9')
version('1.1.1g', sha256='ddb04774f1e32f0c49751e21b67216ac87852ceb056b75209af2443400636d46')
version('1.1.1f', sha256='186c6bfe6ecfba7a5b48c47f8a1673d0f3b0e5ba2e25602dd23b629975da3f35')
@@ -39,39 +41,39 @@ class Openssl(Package): # Uses Fake Autotools, should subclass Package
version('1.1.1', sha256='2836875a0f89c03d0fdf483941512613a50cfb421d6fd94b9f41d7279d586a3d')
# The 1.1.0 series is out of support and should not be used.
- version('1.1.0l', sha256='74a2f756c64fd7386a29184dc0344f4831192d61dc2481a93a4c5dd727f41148')
- version('1.1.0k', sha256='efa4965f4f773574d6cbda1cf874dbbe455ab1c0d4f906115f867d30444470b1')
- version('1.1.0j', sha256='31bec6c203ce1a8e93d5994f4ed304c63ccf07676118b6634edded12ad1b3246')
- version('1.1.0i', sha256='ebbfc844a8c8cc0ea5dc10b86c9ce97f401837f3fa08c17b2cdadc118253cf99')
- version('1.1.0g', sha256='de4d501267da39310905cb6dc8c6121f7a2cad45a7707f76df828fe1b85073af')
- version('1.1.0e', sha256='57be8618979d80c910728cfc99369bf97b2a1abd8f366ab6ebdee8975ad3874c')
- version('1.1.0d', sha256='7d5ebb9e89756545c156ff9c13cf2aa6214193b010a468a3bc789c3c28fe60df')
- version('1.1.0c', sha256='fc436441a2e05752d31b4e46115eb89709a28aef96d4fe786abe92409b2fd6f5')
+ version('1.1.0l', sha256='74a2f756c64fd7386a29184dc0344f4831192d61dc2481a93a4c5dd727f41148', deprecated=True)
+ version('1.1.0k', sha256='efa4965f4f773574d6cbda1cf874dbbe455ab1c0d4f906115f867d30444470b1', deprecated=True)
+ version('1.1.0j', sha256='31bec6c203ce1a8e93d5994f4ed304c63ccf07676118b6634edded12ad1b3246', deprecated=True)
+ version('1.1.0i', sha256='ebbfc844a8c8cc0ea5dc10b86c9ce97f401837f3fa08c17b2cdadc118253cf99', deprecated=True)
+ version('1.1.0g', sha256='de4d501267da39310905cb6dc8c6121f7a2cad45a7707f76df828fe1b85073af', deprecated=True)
+ version('1.1.0e', sha256='57be8618979d80c910728cfc99369bf97b2a1abd8f366ab6ebdee8975ad3874c', deprecated=True)
+ version('1.1.0d', sha256='7d5ebb9e89756545c156ff9c13cf2aa6214193b010a468a3bc789c3c28fe60df', deprecated=True)
+ version('1.1.0c', sha256='fc436441a2e05752d31b4e46115eb89709a28aef96d4fe786abe92409b2fd6f5', deprecated=True)
# The 1.0.2 series is out of support and should not be used.
- version('1.0.2u', sha256='ecd0c6ffb493dd06707d38b14bb4d8c2288bb7033735606569d8f90f89669d16')
- version('1.0.2t', sha256='14cb464efe7ac6b54799b34456bd69558a749a4931ecfd9cf9f71d7881cac7bc')
- version('1.0.2s', sha256='cabd5c9492825ce5bd23f3c3aeed6a97f8142f606d893df216411f07d1abab96')
- version('1.0.2r', sha256='ae51d08bba8a83958e894946f15303ff894d75c2b8bbd44a852b64e3fe11d0d6')
- version('1.0.2p', sha256='50a98e07b1a89eb8f6a99477f262df71c6fa7bef77df4dc83025a2845c827d00')
- version('1.0.2o', sha256='ec3f5c9714ba0fd45cb4e087301eb1336c317e0d20b575a125050470e8089e4d')
- version('1.0.2n', sha256='370babb75f278c39e0c50e8c4e7493bc0f18db6867478341a832a982fd15a8fe')
- version('1.0.2m', sha256='8c6ff15ec6b319b50788f42c7abc2890c08ba5a1cdcd3810eb9092deada37b0f')
- version('1.0.2k', sha256='6b3977c61f2aedf0f96367dcfb5c6e578cf37e7b8d913b4ecb6643c3cb88d8c0')
- version('1.0.2j', sha256='e7aff292be21c259c6af26469c7a9b3ba26e9abaaffd325e3dccc9785256c431')
- version('1.0.2i', sha256='9287487d11c9545b6efb287cdb70535d4e9b284dd10d51441d9b9963d000de6f')
- version('1.0.2h', sha256='1d4007e53aad94a5b2002fe045ee7bb0b3d98f1a47f8b2bc851dcd1c74332919')
- version('1.0.2g', sha256='b784b1b3907ce39abf4098702dade6365522a253ad1552e267a9a0e89594aa33')
- version('1.0.2f', sha256='932b4ee4def2b434f85435d9e3e19ca8ba99ce9a065a61524b429a9d5e9b2e9c')
- version('1.0.2e', sha256='e23ccafdb75cfcde782da0151731aa2185195ac745eea3846133f2e05c0e0bff')
- version('1.0.2d', sha256='671c36487785628a703374c652ad2cebea45fa920ae5681515df25d9f2c9a8c8')
+ version('1.0.2u', sha256='ecd0c6ffb493dd06707d38b14bb4d8c2288bb7033735606569d8f90f89669d16', deprecated=True)
+ version('1.0.2t', sha256='14cb464efe7ac6b54799b34456bd69558a749a4931ecfd9cf9f71d7881cac7bc', deprecated=True)
+ version('1.0.2s', sha256='cabd5c9492825ce5bd23f3c3aeed6a97f8142f606d893df216411f07d1abab96', deprecated=True)
+ version('1.0.2r', sha256='ae51d08bba8a83958e894946f15303ff894d75c2b8bbd44a852b64e3fe11d0d6', deprecated=True)
+ version('1.0.2p', sha256='50a98e07b1a89eb8f6a99477f262df71c6fa7bef77df4dc83025a2845c827d00', deprecated=True)
+ version('1.0.2o', sha256='ec3f5c9714ba0fd45cb4e087301eb1336c317e0d20b575a125050470e8089e4d', deprecated=True)
+ version('1.0.2n', sha256='370babb75f278c39e0c50e8c4e7493bc0f18db6867478341a832a982fd15a8fe', deprecated=True)
+ version('1.0.2m', sha256='8c6ff15ec6b319b50788f42c7abc2890c08ba5a1cdcd3810eb9092deada37b0f', deprecated=True)
+ version('1.0.2k', sha256='6b3977c61f2aedf0f96367dcfb5c6e578cf37e7b8d913b4ecb6643c3cb88d8c0', deprecated=True)
+ version('1.0.2j', sha256='e7aff292be21c259c6af26469c7a9b3ba26e9abaaffd325e3dccc9785256c431', deprecated=True)
+ version('1.0.2i', sha256='9287487d11c9545b6efb287cdb70535d4e9b284dd10d51441d9b9963d000de6f', deprecated=True)
+ version('1.0.2h', sha256='1d4007e53aad94a5b2002fe045ee7bb0b3d98f1a47f8b2bc851dcd1c74332919', deprecated=True)
+ version('1.0.2g', sha256='b784b1b3907ce39abf4098702dade6365522a253ad1552e267a9a0e89594aa33', deprecated=True)
+ version('1.0.2f', sha256='932b4ee4def2b434f85435d9e3e19ca8ba99ce9a065a61524b429a9d5e9b2e9c', deprecated=True)
+ version('1.0.2e', sha256='e23ccafdb75cfcde782da0151731aa2185195ac745eea3846133f2e05c0e0bff', deprecated=True)
+ version('1.0.2d', sha256='671c36487785628a703374c652ad2cebea45fa920ae5681515df25d9f2c9a8c8', deprecated=True)
# The 1.0.1 version is out of support and should not be used.
- version('1.0.1u', sha256='4312b4ca1215b6f2c97007503d80db80d5157f76f8f7d3febbe6b4c56ff26739')
- version('1.0.1t', sha256='4a6ee491a2fdb22e519c76fdc2a628bb3cec12762cd456861d207996c8a07088')
- version('1.0.1r', sha256='784bd8d355ed01ce98b812f873f8b2313da61df7c7b5677fcf2e57b0863a3346')
- version('1.0.1h', sha256='9d1c8a9836aa63e2c6adb684186cbd4371c9e9dcc01d6e3bb447abf2d4d3d093')
- version('1.0.1e', sha256='f74f15e8c8ff11aa3d5bb5f276d202ec18d7246e95f961db76054199c69c1ae3')
+ version('1.0.1u', sha256='4312b4ca1215b6f2c97007503d80db80d5157f76f8f7d3febbe6b4c56ff26739', deprecated=True)
+ version('1.0.1t', sha256='4a6ee491a2fdb22e519c76fdc2a628bb3cec12762cd456861d207996c8a07088', deprecated=True)
+ version('1.0.1r', sha256='784bd8d355ed01ce98b812f873f8b2313da61df7c7b5677fcf2e57b0863a3346', deprecated=True)
+ version('1.0.1h', sha256='9d1c8a9836aa63e2c6adb684186cbd4371c9e9dcc01d6e3bb447abf2d4d3d093', deprecated=True)
+ version('1.0.1e', sha256='f74f15e8c8ff11aa3d5bb5f276d202ec18d7246e95f961db76054199c69c1ae3', deprecated=True)
variant('systemcerts', default=True, description='Use system certificates')
@@ -171,5 +173,13 @@ class Openssl(Package): # Uses Fake Autotools, should subclass Package
os.rmdir(pkg_certs)
os.symlink(sys_certs, pkg_certs)
+ def patch(self):
+ if self.spec.satisfies('%nvhpc'):
+ # Remove incompatible preprocessor flags
+ filter_file('-MF ', '',
+ 'Configurations/unix-Makefile.tmpl', string=True)
+ filter_file(r'-MT \$\@ ', '',
+ 'Configurations/unix-Makefile.tmpl', string=True)
+
def setup_build_environment(self, env):
env.set('PERL', self.spec['perl'].prefix.bin.perl)
diff --git a/var/spack/repos/builtin/packages/openstf/package.py b/var/spack/repos/builtin/packages/openstf/package.py
index 52f50b046a..3df68a3a42 100644
--- a/var/spack/repos/builtin/packages/openstf/package.py
+++ b/var/spack/repos/builtin/packages/openstf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,7 +14,9 @@ class Openstf(MakefilePackage):
homepage = "http://www.e-em.co.jp/OpenSTF/"
url = "http://www.e-em.co.jp/OpenSTF/OpenSTF.zip"
- version('1.3.1', sha256='4c39c81f70e3f8017fcb9cd457436c77d29e016d78bc5337f152f2eb078aa7b6')
+ version('1.7.0', sha256='50a0406dd452e3ec09d29aa362a426ca04c8a586d817ab1295988f578baeac2a')
+ version('1.3.1', sha256='4c39c81f70e3f8017fcb9cd457436c77d29e016d78bc5337f152f2eb078aa7b6',
+ url='http://www.e-em.co.jp/OpenSTF/old/OpenSTF_131.zip')
variant('mpi', default=False, description='Build with MPI Support')
diff --git a/var/spack/repos/builtin/packages/opensubdiv/package.py b/var/spack/repos/builtin/packages/opensubdiv/package.py
index 69f9aeba4c..bbbeaf337b 100644
--- a/var/spack/repos/builtin/packages/opensubdiv/package.py
+++ b/var/spack/repos/builtin/packages/opensubdiv/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/opentsdb/package.py b/var/spack/repos/builtin/packages/opentsdb/package.py
index 04ba715d8e..703575350d 100644
--- a/var/spack/repos/builtin/packages/opentsdb/package.py
+++ b/var/spack/repos/builtin/packages/opentsdb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/openvslam/package.py b/var/spack/repos/builtin/packages/openvslam/package.py
new file mode 100644
index 0000000000..505d838c61
--- /dev/null
+++ b/var/spack/repos/builtin/packages/openvslam/package.py
@@ -0,0 +1,33 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+class Openvslam(CMakePackage):
+ """OpenVSLAM is a monocular, stereo, and RGBD visual SLAM system."""
+
+ homepage = "https://openvslam.readthedocs.io/"
+ git = "https://github.com/xdspacelab/openvslam.git"
+
+ version('master', branch='master')
+
+ # https://openvslam.readthedocs.io/en/master/installation.html
+ depends_on('cmake@3.1:', type='build')
+ depends_on('eigen@3.3.0:')
+ depends_on('g2o')
+ depends_on('dbow2@shinsumicco')
+ depends_on('yaml-cpp@0.6.0:')
+ depends_on('opencv@3.3.1:+core+imgcodecs+videoio+features2d+calib3d+highgui')
+ depends_on('pangolin')
+
+ patch('https://github.com/xdspacelab/openvslam/commit/eeb58880443700fd79688d9646fd633c42fa60eb.patch',
+ sha256='131159b0042300614d039ceb3538defe4d302b59dc748b02287fc8ff895e6bbd')
+
+ @run_after('install')
+ def post_install(self):
+ # https://github.com/xdspacelab/openvslam/issues/501
+ mkdir(self.prefix.bin)
+ with working_dir(self.build_directory):
+ install('run_*', self.prefix.bin)
+ install(join_path('lib*', 'libpangolin_viewer.*'), self.prefix.lib)
diff --git a/var/spack/repos/builtin/packages/openwsman/package.py b/var/spack/repos/builtin/packages/openwsman/package.py
index c355e2627f..562f6455ec 100644
--- a/var/spack/repos/builtin/packages/openwsman/package.py
+++ b/var/spack/repos/builtin/packages/openwsman/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,10 +16,66 @@ class Openwsman(CMakePackage):
version('2.6.11', sha256='895eaaae62925f9416766ea3e71a5368210e6cfe13b23e4e0422fa0e75c2541c')
version('2.6.10', sha256='d3c624a03d7bc1835544ce1af56efd010f77cbee0c02b34e0755aa9c9b2c317b')
- depends_on('python@3:', type='build')
- depends_on('curl')
- depends_on('libxml2')
- depends_on('sblim-sfcc')
+ variant('python', default=True, description='Enable python')
+
+ extends('python', when='+python')
+
+ depends_on('python', type=('build', 'link', 'run'))
+ depends_on('curl', type='link')
+ depends_on('swig', type='build')
+ depends_on('libxml2', type='link')
+ depends_on('openssl', type='link')
+ depends_on('sblim-sfcc', type='link')
+
+ def patch(self):
+ """ Change python install directory. """
+ if self.spec.satisfies('+python'):
+ python_spec = self.spec['python']
+ python_libdir = join_path(
+ self.spec.prefix.lib,
+ 'python' + str(python_spec.version.up_to(2)),
+ 'site-packages'
+ )
+ filter_file(
+ 'DESTINATION .*',
+ 'DESTINATION {0} )'.format(python_libdir),
+ join_path('bindings', 'python', 'CMakeLists.txt')
+ )
def cmake_args(self):
- return ['-DBUILD_PYTHON=OFF', '-DUSE_PAM=NO']
+ define = self.define
+ spec = self.spec
+ arg = [
+ define('BUILD_PERL', False),
+ define('BUILD_JAVA', False),
+ define('BUILD_CSHARP', False),
+ define('USE_PAM', 'OFF'),
+ ]
+ if spec.satisfies('+python'):
+ if spec.satisfies('^python@3:'):
+ arg.extend([
+ define('BUILD_PYTHON', False),
+ define('BUILD_PYTHON3', True)
+ ])
+ else:
+ arg.extend([
+ define('BUILD_PYTHON', True),
+ define('BUILD_PYTHON3', False)
+ ])
+ arg.append(define('PYTHON_EXECUTABLE',
+ spec['python'].command.path))
+ else:
+ arg.extend([
+ define('BUILD_PYTHON', False),
+ define('BUILD_PYTHON3', False)
+ ])
+ return arg
+
+ def flag_handler(self, name, flags):
+ flags = list(flags)
+ if name == 'cflags':
+ if self.spec.satisfies('%gcc'):
+ flags.append('-std=gnu99')
+ else:
+ flags.append(self.compiler.c99_flag)
+ return (None, None, flags)
diff --git a/var/spack/repos/builtin/packages/opium/package.py b/var/spack/repos/builtin/packages/opium/package.py
index 19f3b8fcf6..df8d1a7166 100644
--- a/var/spack/repos/builtin/packages/opium/package.py
+++ b/var/spack/repos/builtin/packages/opium/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/optional-lite/package.py b/var/spack/repos/builtin/packages/optional-lite/package.py
index 347ed93e87..d779ddcb44 100644
--- a/var/spack/repos/builtin/packages/optional-lite/package.py
+++ b/var/spack/repos/builtin/packages/optional-lite/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/optipng/package.py b/var/spack/repos/builtin/packages/optipng/package.py
index 76e3b31834..5ccfd34ae7 100644
--- a/var/spack/repos/builtin/packages/optipng/package.py
+++ b/var/spack/repos/builtin/packages/optipng/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/opus/package.py b/var/spack/repos/builtin/packages/opus/package.py
index b59de759a7..a09528c59c 100644
--- a/var/spack/repos/builtin/packages/opus/package.py
+++ b/var/spack/repos/builtin/packages/opus/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/orbit2/package.py b/var/spack/repos/builtin/packages/orbit2/package.py
index 6fed395b84..34de749143 100644
--- a/var/spack/repos/builtin/packages/orbit2/package.py
+++ b/var/spack/repos/builtin/packages/orbit2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/orc/package.py b/var/spack/repos/builtin/packages/orc/package.py
index f67111cc6a..ee0ab451b6 100644
--- a/var/spack/repos/builtin/packages/orc/package.py
+++ b/var/spack/repos/builtin/packages/orc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/orca/package.py b/var/spack/repos/builtin/packages/orca/package.py
index 475998e876..b499cb647d 100644
--- a/var/spack/repos/builtin/packages/orca/package.py
+++ b/var/spack/repos/builtin/packages/orca/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,6 +18,7 @@ class Orca(Package):
homepage = "https://cec.mpg.de"
url = "file://{0}/orca_4_0_1_2_linux_x86-64_openmpi202.tar.zst".format(os.getcwd())
+ manual_download = True
version('4.2.1', sha256='9bbb3bfdca8220b417ee898b27b2885508d8c82799adfa63dde9e72eab49a6b2',
expand=False)
diff --git a/var/spack/repos/builtin/packages/orfm/package.py b/var/spack/repos/builtin/packages/orfm/package.py
index 8c98bd4f1b..02da11bf55 100644
--- a/var/spack/repos/builtin/packages/orfm/package.py
+++ b/var/spack/repos/builtin/packages/orfm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/orientdb/package.py b/var/spack/repos/builtin/packages/orientdb/package.py
index bc605566dd..2f7645a01d 100644
--- a/var/spack/repos/builtin/packages/orientdb/package.py
+++ b/var/spack/repos/builtin/packages/orientdb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/orthofiller/package.py b/var/spack/repos/builtin/packages/orthofiller/package.py
index b5376c7d2f..cbb5c2cb2d 100644
--- a/var/spack/repos/builtin/packages/orthofiller/package.py
+++ b/var/spack/repos/builtin/packages/orthofiller/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/orthofinder/package.py b/var/spack/repos/builtin/packages/orthofinder/package.py
index af6820cf16..1d6d0bdf97 100644
--- a/var/spack/repos/builtin/packages/orthofinder/package.py
+++ b/var/spack/repos/builtin/packages/orthofinder/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/orthomcl/package.py b/var/spack/repos/builtin/packages/orthomcl/package.py
index f06da0e2dc..5651124ec0 100644
--- a/var/spack/repos/builtin/packages/orthomcl/package.py
+++ b/var/spack/repos/builtin/packages/orthomcl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/osi/package.py b/var/spack/repos/builtin/packages/osi/package.py
index 16eaba412c..54525581c1 100644
--- a/var/spack/repos/builtin/packages/osi/package.py
+++ b/var/spack/repos/builtin/packages/osi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/osmctools/package.py b/var/spack/repos/builtin/packages/osmctools/package.py
index 84c23714bf..ebd1de09b1 100644
--- a/var/spack/repos/builtin/packages/osmctools/package.py
+++ b/var/spack/repos/builtin/packages/osmctools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/osqp/package.py b/var/spack/repos/builtin/packages/osqp/package.py
index 6597e9a701..7a053f7bbc 100644
--- a/var/spack/repos/builtin/packages/osqp/package.py
+++ b/var/spack/repos/builtin/packages/osqp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/uuid/package.py b/var/spack/repos/builtin/packages/ossp-uuid/package.py
index 3f7a7ec5a8..b01319e8f0 100644
--- a/var/spack/repos/builtin/packages/uuid/package.py
+++ b/var/spack/repos/builtin/packages/ossp-uuid/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -6,7 +6,7 @@
from spack import *
-class Uuid(AutotoolsPackage):
+class OsspUuid(AutotoolsPackage):
"""OSSP uuid is a ISO-C:1999 application programming interface (API) and
corresponding command line interface (CLI) for the generation of DCE 1.1,
ISO/IEC 11578:1996 and RFC 4122 compliant Universally Unique Identifier
@@ -16,3 +16,13 @@ class Uuid(AutotoolsPackage):
url = "http://www.mirrorservice.org/sites/ftp.ossp.org/pkg/lib/uuid/uuid-1.6.2.tar.gz"
version('1.6.2', sha256='11a615225baa5f8bb686824423f50e4427acd3f70d394765bdff32801f0fd5b0')
+
+ provides('uuid')
+
+ @property
+ def libs(self):
+ return find_libraries('libuuid', self.prefix, recursive=True)
+
+ @property
+ def headers(self):
+ return find_headers('uuid', self.prefix, recursive=True)
diff --git a/var/spack/repos/builtin/packages/osu-micro-benchmarks/package.py b/var/spack/repos/builtin/packages/osu-micro-benchmarks/package.py
index 273b02fd44..eec9f6f351 100644
--- a/var/spack/repos/builtin/packages/osu-micro-benchmarks/package.py
+++ b/var/spack/repos/builtin/packages/osu-micro-benchmarks/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,6 +17,7 @@ class OsuMicroBenchmarks(AutotoolsPackage):
homepage = "http://mvapich.cse.ohio-state.edu/benchmarks/"
url = "http://mvapich.cse.ohio-state.edu/download/mvapich/osu-micro-benchmarks-5.6.3.tar.gz"
+ version('5.7', sha256='1470ebe00eb6ca7f160b2c1efda57ca0fb26b5c4c61148a3f17e8e79fbf34590')
version('5.6.3', sha256='c5eaa8c5b086bde8514fa4cac345d66b397e02283bc06e44cb6402268a60aeb8')
version('5.6.2', sha256='2ecb90abd85398786823c0716d92448d7094657d3f017c65d270ffe39afc7b95')
version('5.6.1', sha256='943c426a653a6c56200193d747755efaa4c4e6f23b3571b0e3ef81ecd21b1063')
diff --git a/var/spack/repos/builtin/packages/otf/package.py b/var/spack/repos/builtin/packages/otf/package.py
index cb19e3ee1b..2524243156 100644
--- a/var/spack/repos/builtin/packages/otf/package.py
+++ b/var/spack/repos/builtin/packages/otf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/otf2/package.py b/var/spack/repos/builtin/packages/otf2/package.py
index a2c197e98b..c12c1fd352 100644
--- a/var/spack/repos/builtin/packages/otf2/package.py
+++ b/var/spack/repos/builtin/packages/otf2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/p11-kit/package.py b/var/spack/repos/builtin/packages/p11-kit/package.py
index 4b6a110498..5eab2fc81e 100644
--- a/var/spack/repos/builtin/packages/p11-kit/package.py
+++ b/var/spack/repos/builtin/packages/p11-kit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/p3dfft3/package.py b/var/spack/repos/builtin/packages/p3dfft3/package.py
index a4dfe41941..31d961256e 100644
--- a/var/spack/repos/builtin/packages/p3dfft3/package.py
+++ b/var/spack/repos/builtin/packages/p3dfft3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/p4est/package.py b/var/spack/repos/builtin/packages/p4est/package.py
index e5ec4998da..b7c2a80da3 100644
--- a/var/spack/repos/builtin/packages/p4est/package.py
+++ b/var/spack/repos/builtin/packages/p4est/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/p7zip/package.py b/var/spack/repos/builtin/packages/p7zip/package.py
index 5a0728eb29..7439723316 100644
--- a/var/spack/repos/builtin/packages/p7zip/package.py
+++ b/var/spack/repos/builtin/packages/p7zip/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pacbio-daligner/package.py b/var/spack/repos/builtin/packages/pacbio-daligner/package.py
index b3b6420ac1..81ec8cb9f8 100644
--- a/var/spack/repos/builtin/packages/pacbio-daligner/package.py
+++ b/var/spack/repos/builtin/packages/pacbio-daligner/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pacbio-damasker/package.py b/var/spack/repos/builtin/packages/pacbio-damasker/package.py
index 876e602a76..fcb8507c12 100644
--- a/var/spack/repos/builtin/packages/pacbio-damasker/package.py
+++ b/var/spack/repos/builtin/packages/pacbio-damasker/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pacbio-dazz-db/package.py b/var/spack/repos/builtin/packages/pacbio-dazz-db/package.py
index f5b0958bfb..e2369f9cdd 100644
--- a/var/spack/repos/builtin/packages/pacbio-dazz-db/package.py
+++ b/var/spack/repos/builtin/packages/pacbio-dazz-db/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pacbio-dextractor/package.py b/var/spack/repos/builtin/packages/pacbio-dextractor/package.py
index 5d4d1bcd7f..bab6f85501 100644
--- a/var/spack/repos/builtin/packages/pacbio-dextractor/package.py
+++ b/var/spack/repos/builtin/packages/pacbio-dextractor/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/packmol/package.py b/var/spack/repos/builtin/packages/packmol/package.py
index 0d4465c958..7bc1a415d1 100644
--- a/var/spack/repos/builtin/packages/packmol/package.py
+++ b/var/spack/repos/builtin/packages/packmol/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pacparser/package.py b/var/spack/repos/builtin/packages/pacparser/package.py
new file mode 100644
index 0000000000..6f8a03f736
--- /dev/null
+++ b/var/spack/repos/builtin/packages/pacparser/package.py
@@ -0,0 +1,32 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Pacparser(MakefilePackage):
+ """pacparser is a library to parse proxy auto-config (PAC) files."""
+
+ homepage = "http://pacparser.github.io/"
+ url = "https://github.com/manugarg/pacparser/releases/download/1.3.7/pacparser-1.3.7.tar.gz"
+
+ version('1.3.7', sha256='eb48ec2fc202d12a4b882133048c7590329849f32c2285bc4dbe418f29aad249')
+
+ depends_on('python', when='+python')
+ depends_on('py-setuptools', when='+python', type=('build', 'run'))
+
+ variant('python', default=False,
+ description='Build and install python bindings')
+
+ def build(self, spec, prefix):
+ make('-C', 'src')
+ if '+python' in spec:
+ make('-C', 'src', 'pymod')
+
+ def install(self, spec, prefix):
+ make('-C', 'src', 'install', 'PREFIX=' + self.prefix)
+ if '+python' in spec:
+ make('-C', 'src', 'install-pymod', 'PREFIX=' + self.prefix,
+ 'EXTRA_ARGS=--prefix={0}'.format(prefix))
diff --git a/var/spack/repos/builtin/packages/pacvim/package.py b/var/spack/repos/builtin/packages/pacvim/package.py
index 6df19aee63..a40b0730bf 100644
--- a/var/spack/repos/builtin/packages/pacvim/package.py
+++ b/var/spack/repos/builtin/packages/pacvim/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pagit/package.py b/var/spack/repos/builtin/packages/pagit/package.py
index e0fef6b568..3d1ffa1d69 100644
--- a/var/spack/repos/builtin/packages/pagit/package.py
+++ b/var/spack/repos/builtin/packages/pagit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pagmo/package.py b/var/spack/repos/builtin/packages/pagmo/package.py
index 406372843b..43da2bb969 100644
--- a/var/spack/repos/builtin/packages/pagmo/package.py
+++ b/var/spack/repos/builtin/packages/pagmo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pal/package.py b/var/spack/repos/builtin/packages/pal/package.py
index 53e092f70c..875e51ce0d 100644
--- a/var/spack/repos/builtin/packages/pal/package.py
+++ b/var/spack/repos/builtin/packages/pal/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/paml/package.py b/var/spack/repos/builtin/packages/paml/package.py
index b56da09036..fb50d05b48 100644
--- a/var/spack/repos/builtin/packages/paml/package.py
+++ b/var/spack/repos/builtin/packages/paml/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/panda/package.py b/var/spack/repos/builtin/packages/panda/package.py
index df0bf63a87..924807b5b0 100644
--- a/var/spack/repos/builtin/packages/panda/package.py
+++ b/var/spack/repos/builtin/packages/panda/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pandaseq/package.py b/var/spack/repos/builtin/packages/pandaseq/package.py
index a4693e7056..987d3639ff 100644
--- a/var/spack/repos/builtin/packages/pandaseq/package.py
+++ b/var/spack/repos/builtin/packages/pandaseq/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pandoc/package.py b/var/spack/repos/builtin/packages/pandoc/package.py
index c099ac3e6d..2784af64e1 100644
--- a/var/spack/repos/builtin/packages/pandoc/package.py
+++ b/var/spack/repos/builtin/packages/pandoc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -28,6 +28,8 @@ class Pandoc(Package):
variant('texlive', default=True, description='Use TeX Live to enable PDF output')
+ conflicts('target=aarch64:', msg='aarch64 is not supported.')
+
depends_on('texlive', when='+texlive')
def install(self, spec, prefix):
diff --git a/var/spack/repos/builtin/packages/pango/package.py b/var/spack/repos/builtin/packages/pango/package.py
index 850c3f8bed..e7c5d6d297 100644
--- a/var/spack/repos/builtin/packages/pango/package.py
+++ b/var/spack/repos/builtin/packages/pango/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pangolin/package.py b/var/spack/repos/builtin/packages/pangolin/package.py
new file mode 100644
index 0000000000..8c0ecfd0c2
--- /dev/null
+++ b/var/spack/repos/builtin/packages/pangolin/package.py
@@ -0,0 +1,23 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+class Pangolin(CMakePackage):
+ """Pangolin is a lightweight portable rapid development library for
+ managing OpenGL display / interaction and abstracting video input."""
+
+ homepage = "https://github.com/stevenlovegrove/Pangolin"
+ git = "https://github.com/stevenlovegrove/Pangolin.git"
+
+ version('master', branch='master')
+
+ # Required dependencies
+ depends_on('cmake@2.8.12:', type='build')
+ depends_on('gl')
+ depends_on('glew')
+ depends_on('glu', type='link')
+
+ # Optional dependencies
+ depends_on('eigen')
diff --git a/var/spack/repos/builtin/packages/pangomm/package.py b/var/spack/repos/builtin/packages/pangomm/package.py
index e77aaf711b..49c05abbdf 100644
--- a/var/spack/repos/builtin/packages/pangomm/package.py
+++ b/var/spack/repos/builtin/packages/pangomm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/papi/crayftn-fixes.patch b/var/spack/repos/builtin/packages/papi/crayftn-fixes.patch
new file mode 100644
index 0000000000..bd4aa652d5
--- /dev/null
+++ b/var/spack/repos/builtin/packages/papi/crayftn-fixes.patch
@@ -0,0 +1,57 @@
+From ddfa53f3e20218dceaed6e0bfbe307e531ae879f Mon Sep 17 00:00:00 2001
+From: Howard Pritchard <hppritcha@gmail.com>
+Date: Thu, 10 Dec 2020 15:05:33 -0700
+Subject: [PATCH] fix fixed form ftn argument for crayftn patch openmp.F
+
+Signed-off-by: Howard Pritchard <hppritcha@gmail.com>
+
+diff --git a/src/ftests/Makefile b/src/ftests/Makefile
+index 315e1e76..d45fbb6d 100644
+--- a/src/ftests/Makefile
++++ b/src/ftests/Makefile
+@@ -3,7 +3,7 @@
+ include Makefile.target
+
+ INCLUDE = -I../testlib -I. -I..
+-FFLAGS = $(CFLAGS) -ffixed-line-length-132
++FFLAGS = $(CFLAGS) -N132
+ testlibdir=../testlib
+ TESTLIB= $(testlibdir)/libtestlib.a
+ DOLOOPS= $(testlibdir)/do_loops.o
+diff --git a/src/ftests/openmp.F b/src/ftests/openmp.F
+index 6cd5af23..ccf9030a 100644
+--- a/src/ftests/openmp.F
++++ b/src/ftests/openmp.F
+@@ -18,7 +18,7 @@
+ tests_quiet = get_quiet()
+ es = PAPI_NULL
+
+- call PAPIF_thread_init(omp_get_thread_num, retval)
++ call PAPIF_thread_init(my_thread_num, retval)
+
+
+ retval = PAPI_VER_CURRENT
+@@ -64,7 +64,6 @@
+
+ !$OMP END PARALLEL
+
+-
+ call PAPIf_stop(es, values(1), retval)
+ if ( retval .NE. PAPI_OK ) then
+ call ftest_fail(__FILE__, __LINE__,
+@@ -80,3 +79,12 @@
+ call ftests_pass(__FILE__)
+ end
+
++ function my_thread_num()
++ use omp_lib
++ integer::my_thread_num
++
++ my_thread_num = omp_get_thread_num()
++
++ end function my_thread_num
++
++
+--
+2.26.2
+
diff --git a/var/spack/repos/builtin/packages/papi/package.py b/var/spack/repos/builtin/packages/papi/package.py
index 04a425b3ad..621b5121db 100644
--- a/var/spack/repos/builtin/packages/papi/package.py
+++ b/var/spack/repos/builtin/packages/papi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -62,6 +62,7 @@ class Papi(AutotoolsPackage):
# Does not build with newer versions of gcc, see
# https://bitbucket.org/icl/papi/issues/46/cannot-compile-on-arch-linux
patch('https://bitbucket.org/icl/papi/commits/53de184a162b8a7edff48fed01a15980664e15b1/raw', sha256='64c57b3ad4026255238cc495df6abfacc41de391a0af497c27d0ac819444a1f8', when='@5.4.0:5.6.99%gcc@8:')
+ patch('crayftn-fixes.patch', when='@6.0.0:%cce@9:')
configure_directory = 'src'
diff --git a/var/spack/repos/builtin/packages/papyrus/package.py b/var/spack/repos/builtin/packages/papyrus/package.py
index bb13155510..f7aa1a4c1d 100644
--- a/var/spack/repos/builtin/packages/papyrus/package.py
+++ b/var/spack/repos/builtin/packages/papyrus/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/paradiseo/package.py b/var/spack/repos/builtin/packages/paradiseo/package.py
index c235acbdc8..1b6ff11b20 100644
--- a/var/spack/repos/builtin/packages/paradiseo/package.py
+++ b/var/spack/repos/builtin/packages/paradiseo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/parallel-netcdf/package.py b/var/spack/repos/builtin/packages/parallel-netcdf/package.py
index 8f35ea98c6..648756d727 100644
--- a/var/spack/repos/builtin/packages/parallel-netcdf/package.py
+++ b/var/spack/repos/builtin/packages/parallel-netcdf/package.py
@@ -1,9 +1,10 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
+import os
class ParallelNetcdf(AutotoolsPackage):
@@ -19,6 +20,8 @@ class ParallelNetcdf(AutotoolsPackage):
maintainers = ['skosukhin']
+ test_requires_compiler = True
+
def url_for_version(self, version):
if version >= Version('1.11.0'):
url = "https://parallel-netcdf.github.io/Release/pnetcdf-{0}.tar.gz"
@@ -169,3 +172,32 @@ class ParallelNetcdf(AutotoolsPackage):
args.append('--enable-burst-buffering')
return args
+
+ examples_src_dir = 'examples/CXX'
+
+ @run_after('install')
+ def cache_test_sources(self):
+ """Copy the example source files after the package is installed to an
+ install test subdirectory for use during `spack test run`."""
+ self.cache_extra_test_sources([self.examples_src_dir])
+
+ def test(self):
+ test_dir = join_path(self.install_test_root, self.examples_src_dir)
+ # pnetcdf has many examples to serve as a suitable smoke check.
+ # column_wise was chosen based on the E4S test suite. Other
+ # examples should work as well.
+ test_exe = 'column_wise'
+ options = ['{0}.cpp'.format(test_exe), '-o', test_exe, '-lpnetcdf']
+ reason = 'test: compiling and linking pnetcdf example'
+ self.run_test(self.spec['mpi'].mpicxx, options, [],
+ installed=False, purpose=reason, work_dir=test_dir)
+ mpiexe_list = ['mpirun', 'mpiexec', 'srun']
+ for mpiexe in mpiexe_list:
+ if os.path.isfile(mpiexe):
+ self.run_test(mpiexe, ['-n', '4', test_exe], [],
+ installed=False,
+ purpose='test: pnetcdf smoke test',
+ skip_missing=True,
+ work_dir=test_dir)
+ break
+ self.run_test('rm', ['-f', test_exe], work_dir=test_dir)
diff --git a/var/spack/repos/builtin/packages/parallel/package.py b/var/spack/repos/builtin/packages/parallel/package.py
index 4346efcbbb..deb8686027 100644
--- a/var/spack/repos/builtin/packages/parallel/package.py
+++ b/var/spack/repos/builtin/packages/parallel/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/parallelio/package.py b/var/spack/repos/builtin/packages/parallelio/package.py
new file mode 100644
index 0000000000..378b79829e
--- /dev/null
+++ b/var/spack/repos/builtin/packages/parallelio/package.py
@@ -0,0 +1,52 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Parallelio(CMakePackage):
+ """The Parallel IO libraries (PIO) are high-level parallel I/O C and
+ Fortran libraries for applications that need to do netCDF I/O from
+ large numbers of processors on a HPC system."""
+
+ homepage = "https://ncar.github.io/ParallelIO/"
+ url = "https://github.com/NCAR/ParallelIO/archive/pio2_5_2.tar.gz"
+
+ maintainers = ['tkameyama']
+
+ version('2_5_2', sha256='935bc120ef3bf4fe09fb8bfdf788d05fb201a125d7346bf6b09e27ac3b5f345c')
+
+ variant('pnetcdf', default=False, description='enable pnetcdf')
+
+ depends_on('mpi')
+ depends_on('netcdf-c +mpi', type='link')
+ depends_on('netcdf-fortran', type='link')
+ depends_on('parallel-netcdf', type='link', when='+pnetcdf')
+
+ resource(name='CMake_Fortran_utils',
+ git='https://github.com/CESM-Development/CMake_Fortran_utils.git',
+ tag='master')
+ resource(name='genf90',
+ git='https://github.com/PARALLELIO/genf90.git',
+ tag='genf90_200608')
+
+ def cmake_args(self):
+ define = self.define
+ spec = self.spec
+ env['CC'] = spec['mpi'].mpicc
+ env['FC'] = spec['mpi'].mpifc
+ src = self.stage.source_path
+ args = [
+ define('NetCDF_C_PATH', spec['netcdf-c'].prefix),
+ define('NetCDF_Fortran_PATH', spec['netcdf-fortran'].prefix),
+ define('USER_CMAKE_MODULE_PATH', join_path(src, 'CMake_Fortran_utils')),
+ define('GENF90_PATH', join_path(src, 'genf90')),
+ ]
+ if spec.satisfies('+pnetcdf'):
+ args.extend([
+ define('PnetCDF_C_PATH', spec['parallel-netcdf'].prefix),
+ define('PnetCDF_Fortran_PATH', spec['parallel-netcdf'].prefix),
+ ])
+ return args
diff --git a/var/spack/repos/builtin/packages/parallelmergetree/package.py b/var/spack/repos/builtin/packages/parallelmergetree/package.py
index 36069e755f..2741becb1c 100644
--- a/var/spack/repos/builtin/packages/parallelmergetree/package.py
+++ b/var/spack/repos/builtin/packages/parallelmergetree/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/paraver/package.py b/var/spack/repos/builtin/packages/paraver/package.py
index fe305fc07e..1b8997d4ec 100644
--- a/var/spack/repos/builtin/packages/paraver/package.py
+++ b/var/spack/repos/builtin/packages/paraver/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/paraview/package.py b/var/spack/repos/builtin/packages/paraview/package.py
index 18b3c36e24..bd763c15d1 100644
--- a/var/spack/repos/builtin/packages/paraview/package.py
+++ b/var/spack/repos/builtin/packages/paraview/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,9 +17,10 @@ class Paraview(CMakePackage, CudaPackage):
list_depth = 1
git = "https://gitlab.kitware.com/paraview/paraview.git"
- maintainers = ['chuckatkins', 'danlipsa']
+ maintainers = ['chuckatkins', 'danlipsa', 'vicentebolea']
- version('develop', branch='master', submodules=True)
+ version('master', branch='master', submodules=True)
+ version('5.9.0', sha256='b03258b7cddb77f0ee142e3e77b377e5b1f503bcabc02bfa578298c99a06980d')
version('5.8.1', sha256='7653950392a0d7c0287c26f1d3a25cdbaa11baa7524b0af0e6a1a0d7d487d034')
version('5.8.0', sha256='219e4107abf40317ce054408e9c3b22fb935d464238c1c00c0161f1c8697a3f9')
version('5.7.0', sha256='e41e597e1be462974a03031380d9e5ba9a7efcdb22e4ca2f3fec50361f310874')
@@ -50,6 +51,10 @@ class Paraview(CMakePackage, CudaPackage):
description='Builds a shared version of the library')
variant('kits', default=True,
description='Use module kits')
+ variant('cuda_arch', default='native', multi=False,
+ values=('native', 'fermi', 'kepler', 'maxwell',
+ 'pascal', 'volta', 'turing', 'all', 'none'),
+ description='CUDA architecture')
conflicts('+python', when='+python3')
# Python 2 support dropped with 5.9.0
@@ -157,7 +162,7 @@ class Paraview(CMakePackage, CudaPackage):
@property
def paraview_subdir(self):
"""The paraview subdirectory name as paraview-major.minor"""
- if self.spec.version == Version('develop'):
+ if self.spec.version == Version('master'):
return 'paraview-5.9'
else:
return 'paraview-{0}'.format(self.spec.version.up_to(2))
@@ -176,6 +181,12 @@ class Paraview(CMakePackage, CudaPackage):
env.set('PARAVIEW_VTK_DIR',
join_path(lib_dir, 'cmake', self.paraview_subdir, 'vtk'))
+ def flag_handler(self, name, flags):
+ if name == 'ldflags' and self.spec.satisfies('%intel'):
+ flags.append('-shared-intel')
+ return(None, flags, None)
+ return(flags, None, None)
+
def setup_run_environment(self, env):
# paraview 5.5 and later
# - cmake under lib/cmake/paraview-5.5
@@ -256,6 +267,8 @@ class Paraview(CMakePackage, CudaPackage):
cmake_args.extend([
'-DPARAVIEW_USE_QT:BOOL=%s' % variant_bool('+qt'),
'-DPARAVIEW_BUILD_WITH_EXTERNAL=ON'])
+ if spec.satisfies('%cce'):
+ cmake_args.append('-DVTK_PYTHON_OPTIONAL_LINK:BOOL=OFF')
else: # @5.7:
cmake_args.extend([
'-DPARAVIEW_BUILD_QT_GUI:BOOL=%s' % variant_bool('+qt'),
@@ -333,6 +346,9 @@ class Paraview(CMakePackage, CudaPackage):
else:
cmake_args.append('-DVTKm_ENABLE_CUDA:BOOL=%s' %
variant_bool('+cuda'))
+ if spec.satisfies('+cuda') and not spec.satisfies('cuda_arch=native'):
+ cmake_args.append('-DVTKm_CUDA_Architecture=%s' %
+ spec.variants['cuda_arch'].value)
if 'darwin' in spec.architecture:
cmake_args.extend([
diff --git a/var/spack/repos/builtin/packages/parmetis/package.py b/var/spack/repos/builtin/packages/parmetis/package.py
index d1f9c434af..a7a3749afd 100644
--- a/var/spack/repos/builtin/packages/parmetis/package.py
+++ b/var/spack/repos/builtin/packages/parmetis/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/parmgridgen/package.py b/var/spack/repos/builtin/packages/parmgridgen/package.py
index eccaec1263..97dd2144cb 100644
--- a/var/spack/repos/builtin/packages/parmgridgen/package.py
+++ b/var/spack/repos/builtin/packages/parmgridgen/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/parquet-cpp/package.py b/var/spack/repos/builtin/packages/parquet-cpp/package.py
index 85222f83a2..19ebba1e8a 100644
--- a/var/spack/repos/builtin/packages/parquet-cpp/package.py
+++ b/var/spack/repos/builtin/packages/parquet-cpp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/parquet-format/package.py b/var/spack/repos/builtin/packages/parquet-format/package.py
index ae65ccd211..31977d5b8e 100644
--- a/var/spack/repos/builtin/packages/parquet-format/package.py
+++ b/var/spack/repos/builtin/packages/parquet-format/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/parsec/package.py b/var/spack/repos/builtin/packages/parsec/package.py
new file mode 100644
index 0000000000..fbc22b54e2
--- /dev/null
+++ b/var/spack/repos/builtin/packages/parsec/package.py
@@ -0,0 +1,55 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+#
+from spack import *
+
+
+class Parsec(CMakePackage, CudaPackage):
+ """PaRSEC: the Parallel Runtime Scheduler and Execution Controller
+
+ PaRSEC is a runtime and a programming toolbox that support the design and
+ parallel execution of micro-tasks on distributed, heterogeneous systems.
+ """
+
+ homepage = "https://icl.utk.edu/dte"
+ git = "https://bitbucket.org/icldistcomp/parsec.git"
+ url = "https://bitbucket.org/icldistcomp/parsec/get/parsec-3.0.2012.tar.bz2"
+ list_url = "https://bitbucket.org/icldistcomp/parsec/downloads/?tab=tags"
+ maintainers = ['abouteiller', 'bosilca', 'herault']
+
+ version('master', branch='master')
+ version('3.0.2012', sha256='f565bcfffe106be8237b6aea3e83a5770607b7236606414b6f270244fa6ec3bc')
+ version('1.1.0', sha256='d2928033c121000ae0a554f1e7f757c1f22274a8b74457ecd52744ae1f70b95a', url='https://bitbucket.org/icldistcomp/parsec/get/v1.1.0.tar.bz2')
+
+ variant('build_type', default='RelWithDebInfo', description='CMake build type', values=('Debug', 'Release', 'RelWithDebInfo'))
+ variant('shared', default=True, description='Build a shared library')
+ variant('cuda', default=True, description='Build with CUDA')
+ variant('profile', default=False, description='Generate profiling data')
+ variant('debug_verbose', default=False, description='Debug version with verbose and paranoid (incurs performance overhead!)')
+ conflicts('+debug_verbose build_type=Release', msg='You need to set build_type=Debug for +debug_verbose')
+ conflicts('+debug_verbose build_type=RelWithDebInfo', msg='You need to set build_type=Debug for +debug_verbose')
+ # TODO: Spack does not handle cross-compilation atm
+ # variant('xcompile', default=False, description='Cross compile')
+
+ depends_on('cmake@3.16.0:', type='build')
+ depends_on('python', type='build')
+ depends_on('hwloc')
+ depends_on('mpi')
+ depends_on('papi', when='+profile')
+ depends_on('python', type=('build', 'run'), when='+profile')
+ depends_on('py-cython', type=('build', 'run'), when='+profile')
+ depends_on('py-pandas', type=('build', 'run'), when='+profile')
+ depends_on('py-matplotlib', type=('build', 'run'), when='+profile')
+ depends_on('py-tables', type=('build', 'run'), when='+profile')
+
+ def cmake_args(self):
+ args = [
+ self.define_from_variant('BUILD_SHARED_LIBS', 'shared'),
+ self.define_from_variant('PARSEC_GPU_WITH_CUDA', 'cuda'),
+ self.define_from_variant('PARSEC_PROF_TRACE', 'profile'),
+ self.define_from_variant('PARSEC_DEBUG_HISTORY', 'debug_verbose'),
+ self.define_from_variant('PARSEC_DEBUG_PARANOID', 'debug_verbose'),
+ ]
+ return args
diff --git a/var/spack/repos/builtin/packages/parsimonator/package.py b/var/spack/repos/builtin/packages/parsimonator/package.py
index d83dbab338..fb17d2d39b 100644
--- a/var/spack/repos/builtin/packages/parsimonator/package.py
+++ b/var/spack/repos/builtin/packages/parsimonator/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/parsplice/package.py b/var/spack/repos/builtin/packages/parsplice/package.py
index 308bcd79f4..c1e1ed2e1f 100644
--- a/var/spack/repos/builtin/packages/parsplice/package.py
+++ b/var/spack/repos/builtin/packages/parsplice/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/partitionfinder/package.py b/var/spack/repos/builtin/packages/partitionfinder/package.py
index 302ead2b40..6ef6d5ef65 100644
--- a/var/spack/repos/builtin/packages/partitionfinder/package.py
+++ b/var/spack/repos/builtin/packages/partitionfinder/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pasta/package.py b/var/spack/repos/builtin/packages/pasta/package.py
index cb1c073c08..020897c6b2 100644
--- a/var/spack/repos/builtin/packages/pasta/package.py
+++ b/var/spack/repos/builtin/packages/pasta/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/patch/package.py b/var/spack/repos/builtin/packages/patch/package.py
index a5e9a0f4bc..673f49b5d8 100644
--- a/var/spack/repos/builtin/packages/patch/package.py
+++ b/var/spack/repos/builtin/packages/patch/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/patchelf/package.py b/var/spack/repos/builtin/packages/patchelf/package.py
index 796fd533eb..be605f1c42 100644
--- a/var/spack/repos/builtin/packages/patchelf/package.py
+++ b/var/spack/repos/builtin/packages/patchelf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/patchutils/package.py b/var/spack/repos/builtin/packages/patchutils/package.py
index f89e60b1cc..1d7d1ecb95 100644
--- a/var/spack/repos/builtin/packages/patchutils/package.py
+++ b/var/spack/repos/builtin/packages/patchutils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pathfinder/package.py b/var/spack/repos/builtin/packages/pathfinder/package.py
index 8ce7ecca1e..22b0659918 100644
--- a/var/spack/repos/builtin/packages/pathfinder/package.py
+++ b/var/spack/repos/builtin/packages/pathfinder/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pax-utils/package.py b/var/spack/repos/builtin/packages/pax-utils/package.py
index 62776831c0..7c7f1efbfa 100644
--- a/var/spack/repos/builtin/packages/pax-utils/package.py
+++ b/var/spack/repos/builtin/packages/pax-utils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pbbam/package.py b/var/spack/repos/builtin/packages/pbbam/package.py
index b84494d86d..425f7160b4 100644
--- a/var/spack/repos/builtin/packages/pbbam/package.py
+++ b/var/spack/repos/builtin/packages/pbbam/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pbmpi/package.py b/var/spack/repos/builtin/packages/pbmpi/package.py
index 205af53280..7dd8f14d5c 100644
--- a/var/spack/repos/builtin/packages/pbmpi/package.py
+++ b/var/spack/repos/builtin/packages/pbmpi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pbsuite/package.py b/var/spack/repos/builtin/packages/pbsuite/package.py
index fb81eb65dc..68dedeeb4e 100644
--- a/var/spack/repos/builtin/packages/pbsuite/package.py
+++ b/var/spack/repos/builtin/packages/pbsuite/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pciutils/package.py b/var/spack/repos/builtin/packages/pciutils/package.py
index da00975a02..dac91808e6 100644
--- a/var/spack/repos/builtin/packages/pciutils/package.py
+++ b/var/spack/repos/builtin/packages/pciutils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,8 +16,16 @@ class Pciutils(MakefilePackage):
version('3.6.4', sha256='551d0ac33f030868b7e95c29e58dc2b1882455dbc9c15c15adf7086e664131f1')
version('3.6.3', sha256='7ab0fbb35cffa326eb852539260562bac14f3d27cda8c70bc2cf3211ed97c014')
+ variant('lib', default=False, description='Install libraries with headers')
+
+ def build(self, spec, prefix):
+ make('PREFIX={0}'.format(prefix))
+
def install(self, spec, prefix):
- make('install', 'PREFIX={0}'.format(prefix))
+ if '+lib' in spec:
+ make('install-lib', 'install', 'PREFIX={0}'.format(prefix))
+ else:
+ make('install', 'PREFIX={0}'.format(prefix))
def setup_run_environment(self, env):
env.prepend_path('PATH', self.prefix.sbin)
diff --git a/var/spack/repos/builtin/packages/pcl/package.py b/var/spack/repos/builtin/packages/pcl/package.py
new file mode 100644
index 0000000000..5bd60d353f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/pcl/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Pcl(CMakePackage):
+ """The Point Cloud Library (PCL) is a standalone, large scale,
+ open project for 2D/3D image and point cloud processing."""
+
+ homepage = "https://pointclouds.org/"
+ url = "https://github.com/PointCloudLibrary/pcl/releases/download/pcl-1.11.1/source.tar.gz"
+
+ version('1.11.1', sha256='19d1a0bee2bc153de47c05da54fc6feb23393f306ab2dea2e25419654000336e')
+
+ depends_on('cmake@3.5:', type='build')
+ depends_on('eigen@3.1:')
+ depends_on('flann@1.7:')
+ depends_on('boost@1.55:+filesystem+date_time+iostreams+system')
diff --git a/var/spack/repos/builtin/packages/pcma/package.py b/var/spack/repos/builtin/packages/pcma/package.py
index efde640c07..095247dcb5 100644
--- a/var/spack/repos/builtin/packages/pcma/package.py
+++ b/var/spack/repos/builtin/packages/pcma/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pcre/package.py b/var/spack/repos/builtin/packages/pcre/package.py
index a4d1794148..0d2ee33522 100644
--- a/var/spack/repos/builtin/packages/pcre/package.py
+++ b/var/spack/repos/builtin/packages/pcre/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pcre2/package.py b/var/spack/repos/builtin/packages/pcre2/package.py
index 58a4e013f3..fb80c04096 100644
--- a/var/spack/repos/builtin/packages/pcre2/package.py
+++ b/var/spack/repos/builtin/packages/pcre2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pdf2svg/package.py b/var/spack/repos/builtin/packages/pdf2svg/package.py
index da10b3f5b0..116625cce4 100644
--- a/var/spack/repos/builtin/packages/pdf2svg/package.py
+++ b/var/spack/repos/builtin/packages/pdf2svg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pdftk/package.py b/var/spack/repos/builtin/packages/pdftk/package.py
index 0788be1861..9fe2e2fa8e 100644
--- a/var/spack/repos/builtin/packages/pdftk/package.py
+++ b/var/spack/repos/builtin/packages/pdftk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pdsh/package.py b/var/spack/repos/builtin/packages/pdsh/package.py
index d28c2f695d..6fa7b6e85e 100644
--- a/var/spack/repos/builtin/packages/pdsh/package.py
+++ b/var/spack/repos/builtin/packages/pdsh/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pdt/package.py b/var/spack/repos/builtin/packages/pdt/package.py
index bf3f954982..2322251e87 100644
--- a/var/spack/repos/builtin/packages/pdt/package.py
+++ b/var/spack/repos/builtin/packages/pdt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pegtl/package.py b/var/spack/repos/builtin/packages/pegtl/package.py
index 1b972e40e6..96cad29eec 100644
--- a/var/spack/repos/builtin/packages/pegtl/package.py
+++ b/var/spack/repos/builtin/packages/pegtl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pennant/package.py b/var/spack/repos/builtin/packages/pennant/package.py
index 80f79b0ecc..1cbe6b9c37 100644
--- a/var/spack/repos/builtin/packages/pennant/package.py
+++ b/var/spack/repos/builtin/packages/pennant/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/percept/package.py b/var/spack/repos/builtin/packages/percept/package.py
index 745643f335..a33c2f3667 100644
--- a/var/spack/repos/builtin/packages/percept/package.py
+++ b/var/spack/repos/builtin/packages/percept/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/percona-server/package.py b/var/spack/repos/builtin/packages/percona-server/package.py
index a718612603..22095246ab 100644
--- a/var/spack/repos/builtin/packages/percona-server/package.py
+++ b/var/spack/repos/builtin/packages/percona-server/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -26,4 +26,4 @@ class PerconaServer(CMakePackage):
depends_on('curl')
depends_on('bison', type='build')
depends_on('flex', type='build')
- depends_on('rpcsvc-proto', type='build')
+ depends_on('rpcsvc-proto')
diff --git a/var/spack/repos/builtin/packages/perfstubs/package.py b/var/spack/repos/builtin/packages/perfstubs/package.py
index 9162e749fc..2882d0c348 100644
--- a/var/spack/repos/builtin/packages/perfstubs/package.py
+++ b/var/spack/repos/builtin/packages/perfstubs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-acme-damn/package.py b/var/spack/repos/builtin/packages/perl-acme-damn/package.py
index ac5a5c0cad..79180eb922 100644
--- a/var/spack/repos/builtin/packages/perl-acme-damn/package.py
+++ b/var/spack/repos/builtin/packages/perl-acme-damn/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-algorithm-diff/package.py b/var/spack/repos/builtin/packages/perl-algorithm-diff/package.py
index 9936e43f85..f68efc3fad 100644
--- a/var/spack/repos/builtin/packages/perl-algorithm-diff/package.py
+++ b/var/spack/repos/builtin/packages/perl-algorithm-diff/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-alien-build/package.py b/var/spack/repos/builtin/packages/perl-alien-build/package.py
index 7e227821aa..9fff553333 100644
--- a/var/spack/repos/builtin/packages/perl-alien-build/package.py
+++ b/var/spack/repos/builtin/packages/perl-alien-build/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-alien-libxml2/package.py b/var/spack/repos/builtin/packages/perl-alien-libxml2/package.py
index 0ec9551e4a..6e5d36685f 100644
--- a/var/spack/repos/builtin/packages/perl-alien-libxml2/package.py
+++ b/var/spack/repos/builtin/packages/perl-alien-libxml2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-alien-svn/package.py b/var/spack/repos/builtin/packages/perl-alien-svn/package.py
new file mode 100644
index 0000000000..4daa44afc9
--- /dev/null
+++ b/var/spack/repos/builtin/packages/perl-alien-svn/package.py
@@ -0,0 +1,42 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+import sys
+
+from spack import *
+
+
+class PerlAlienSvn(PerlPackage):
+ """Perl SVN extension."""
+
+ homepage = "http://metacpan.org/source/MSCHWERN/Alien-SVN-v1.8.11.0"
+ url = "http://cpan.metacpan.org/authors/id/M/MS/MSCHWERN/Alien-SVN-v1.8.11.0.tar.gz"
+
+ version('1.8.11.0', sha256='acf8ebce1cb6958ef24611a453abee32b8e4dfe767563834362891ef3f30fc68')
+ version('1.7.19.0', sha256='80df1eef9ffb7b0fb0c45285eec05d15bcb45c349c441f97131c64b8697dceb0')
+ version('1.7.17.1', sha256='35ae83fda2ef9a5b48012ac8317ec063058d1e9fc5f2719fa141eecedf6baef8')
+ version('1.7.17.0', sha256='f3e11ac89453e91f9c298c43958f8115bbb49cb67bb22a0e92690a8e8447c3d0')
+ version('1.7.3.1', sha256='e85efca8f9519b2cef81f39e026d227c077c9531c41f44995b31550c3af02366')
+ version('1.7.3.0', sha256='02abbe17ad7db912001e6f1c5018cec08c3840e0c32700363a79274e144e74e5')
+ version('1.6.12.1', sha256='a89d8eeff61e34aa7b3d35dee3e6752b12dfa5f0f04bf69d796846cf0391f53d')
+
+ depends_on('perl-module-build', type='build')
+ depends_on('apr@1.6.2', type='build')
+ depends_on('apr-util', type=('build', 'link'))
+ depends_on('sqlite', type='build')
+ depends_on('zlib')
+ depends_on('libbsd')
+
+ def setup_build_environment(self, env):
+ # non-interactive build, use defaults
+ env.set('PERL_MM_USE_DEFAULT', '1')
+
+ def setup_run_environment(self, env):
+ # SVN libs are not RPATHed correctly...
+ # TODO: extend to other plaforms
+ if sys.platform.startswith('linux'):
+ env.prepend_path('LD_LIBRARY_PATH', join_path(
+ self.prefix, 'lib', 'perl4', 'x86_64-linux-thread-multi',
+ 'Alien', 'SVN'))
diff --git a/var/spack/repos/builtin/packages/perl-app-cmd/package.py b/var/spack/repos/builtin/packages/perl-app-cmd/package.py
index 39fe52402c..94e3eb27c7 100644
--- a/var/spack/repos/builtin/packages/perl-app-cmd/package.py
+++ b/var/spack/repos/builtin/packages/perl-app-cmd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-array-utils/package.py b/var/spack/repos/builtin/packages/perl-array-utils/package.py
index beb3619ecb..4a1dd58ddb 100644
--- a/var/spack/repos/builtin/packages/perl-array-utils/package.py
+++ b/var/spack/repos/builtin/packages/perl-array-utils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-b-hooks-endofscope/package.py b/var/spack/repos/builtin/packages/perl-b-hooks-endofscope/package.py
index 2fde7fc975..3f182d7caf 100644
--- a/var/spack/repos/builtin/packages/perl-b-hooks-endofscope/package.py
+++ b/var/spack/repos/builtin/packages/perl-b-hooks-endofscope/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-bio-searchio-hmmer/package.py b/var/spack/repos/builtin/packages/perl-bio-searchio-hmmer/package.py
index ae1c8c0c78..35841c28ec 100644
--- a/var/spack/repos/builtin/packages/perl-bio-searchio-hmmer/package.py
+++ b/var/spack/repos/builtin/packages/perl-bio-searchio-hmmer/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-bioperl/package.py b/var/spack/repos/builtin/packages/perl-bioperl/package.py
index 815eb8fcef..174bf4b94c 100644
--- a/var/spack/repos/builtin/packages/perl-bioperl/package.py
+++ b/var/spack/repos/builtin/packages/perl-bioperl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-bit-vector/package.py b/var/spack/repos/builtin/packages/perl-bit-vector/package.py
index 6d4fcbc44d..ad8e0ff50f 100644
--- a/var/spack/repos/builtin/packages/perl-bit-vector/package.py
+++ b/var/spack/repos/builtin/packages/perl-bit-vector/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-cairo/package.py b/var/spack/repos/builtin/packages/perl-cairo/package.py
index 6ac4f1e682..310dc5725c 100644
--- a/var/spack/repos/builtin/packages/perl-cairo/package.py
+++ b/var/spack/repos/builtin/packages/perl-cairo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-capture-tiny/package.py b/var/spack/repos/builtin/packages/perl-capture-tiny/package.py
index 0f6c7df5b3..8ec29b2040 100644
--- a/var/spack/repos/builtin/packages/perl-capture-tiny/package.py
+++ b/var/spack/repos/builtin/packages/perl-capture-tiny/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-carp-clan/package.py b/var/spack/repos/builtin/packages/perl-carp-clan/package.py
index 74058a6206..23a44b6144 100644
--- a/var/spack/repos/builtin/packages/perl-carp-clan/package.py
+++ b/var/spack/repos/builtin/packages/perl-carp-clan/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-cgi/package.py b/var/spack/repos/builtin/packages/perl-cgi/package.py
index 63b10b5ce2..76e071279b 100644
--- a/var/spack/repos/builtin/packages/perl-cgi/package.py
+++ b/var/spack/repos/builtin/packages/perl-cgi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-class-data-inheritable/package.py b/var/spack/repos/builtin/packages/perl-class-data-inheritable/package.py
index 71cd1db575..ec64e55ec6 100644
--- a/var/spack/repos/builtin/packages/perl-class-data-inheritable/package.py
+++ b/var/spack/repos/builtin/packages/perl-class-data-inheritable/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-class-inspector/package.py b/var/spack/repos/builtin/packages/perl-class-inspector/package.py
index a1d1b87605..7085b8b9a1 100644
--- a/var/spack/repos/builtin/packages/perl-class-inspector/package.py
+++ b/var/spack/repos/builtin/packages/perl-class-inspector/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-class-load-xs/package.py b/var/spack/repos/builtin/packages/perl-class-load-xs/package.py
index 6e4eb2b317..dd402bdb58 100644
--- a/var/spack/repos/builtin/packages/perl-class-load-xs/package.py
+++ b/var/spack/repos/builtin/packages/perl-class-load-xs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-class-load/package.py b/var/spack/repos/builtin/packages/perl-class-load/package.py
index e2890a406d..2717be5ee0 100644
--- a/var/spack/repos/builtin/packages/perl-class-load/package.py
+++ b/var/spack/repos/builtin/packages/perl-class-load/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-clone-choose/package.py b/var/spack/repos/builtin/packages/perl-clone-choose/package.py
index 903afa8800..8fd0307a83 100644
--- a/var/spack/repos/builtin/packages/perl-clone-choose/package.py
+++ b/var/spack/repos/builtin/packages/perl-clone-choose/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-clone/package.py b/var/spack/repos/builtin/packages/perl-clone/package.py
index baf0625396..9ad8fe1519 100644
--- a/var/spack/repos/builtin/packages/perl-clone/package.py
+++ b/var/spack/repos/builtin/packages/perl-clone/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-compress-raw-bzip2/package.py b/var/spack/repos/builtin/packages/perl-compress-raw-bzip2/package.py
index 4935df1e1c..7ede37807d 100644
--- a/var/spack/repos/builtin/packages/perl-compress-raw-bzip2/package.py
+++ b/var/spack/repos/builtin/packages/perl-compress-raw-bzip2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-compress-raw-zlib/package.py b/var/spack/repos/builtin/packages/perl-compress-raw-zlib/package.py
index 4e850c1ca7..e67a7aa9c4 100644
--- a/var/spack/repos/builtin/packages/perl-compress-raw-zlib/package.py
+++ b/var/spack/repos/builtin/packages/perl-compress-raw-zlib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-config-general/package.py b/var/spack/repos/builtin/packages/perl-config-general/package.py
index 3cbc8cf636..a68e8c2554 100644
--- a/var/spack/repos/builtin/packages/perl-config-general/package.py
+++ b/var/spack/repos/builtin/packages/perl-config-general/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-contextual-return/package.py b/var/spack/repos/builtin/packages/perl-contextual-return/package.py
index 1e7c993917..1568eff405 100644
--- a/var/spack/repos/builtin/packages/perl-contextual-return/package.py
+++ b/var/spack/repos/builtin/packages/perl-contextual-return/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-cpan-meta-check/package.py b/var/spack/repos/builtin/packages/perl-cpan-meta-check/package.py
index cdaf06be25..0b0a1c1fe8 100644
--- a/var/spack/repos/builtin/packages/perl-cpan-meta-check/package.py
+++ b/var/spack/repos/builtin/packages/perl-cpan-meta-check/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-data-dumper/package.py b/var/spack/repos/builtin/packages/perl-data-dumper/package.py
index 8c5d73a14e..8e09ebdf5c 100644
--- a/var/spack/repos/builtin/packages/perl-data-dumper/package.py
+++ b/var/spack/repos/builtin/packages/perl-data-dumper/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-data-optlist/package.py b/var/spack/repos/builtin/packages/perl-data-optlist/package.py
index d1e17f1ab8..f125cb9cd1 100644
--- a/var/spack/repos/builtin/packages/perl-data-optlist/package.py
+++ b/var/spack/repos/builtin/packages/perl-data-optlist/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-data-stag/package.py b/var/spack/repos/builtin/packages/perl-data-stag/package.py
index f18fb9f255..724a406a7f 100644
--- a/var/spack/repos/builtin/packages/perl-data-stag/package.py
+++ b/var/spack/repos/builtin/packages/perl-data-stag/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-date-manip/package.py b/var/spack/repos/builtin/packages/perl-date-manip/package.py
index 07f9850916..be1fedfa71 100644
--- a/var/spack/repos/builtin/packages/perl-date-manip/package.py
+++ b/var/spack/repos/builtin/packages/perl-date-manip/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-db-file/package.py b/var/spack/repos/builtin/packages/perl-db-file/package.py
index 47791806a6..8e6a6d2e15 100644
--- a/var/spack/repos/builtin/packages/perl-db-file/package.py
+++ b/var/spack/repos/builtin/packages/perl-db-file/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-dbd-mysql/package.py b/var/spack/repos/builtin/packages/perl-dbd-mysql/package.py
index d7358ccca9..22001616e1 100644
--- a/var/spack/repos/builtin/packages/perl-dbd-mysql/package.py
+++ b/var/spack/repos/builtin/packages/perl-dbd-mysql/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-dbd-pg/package.py b/var/spack/repos/builtin/packages/perl-dbd-pg/package.py
index 04ed9af3b3..a00f1315bc 100644
--- a/var/spack/repos/builtin/packages/perl-dbd-pg/package.py
+++ b/var/spack/repos/builtin/packages/perl-dbd-pg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-dbd-sqlite/package.py b/var/spack/repos/builtin/packages/perl-dbd-sqlite/package.py
index 9a082332aa..9c2c7549f0 100644
--- a/var/spack/repos/builtin/packages/perl-dbd-sqlite/package.py
+++ b/var/spack/repos/builtin/packages/perl-dbd-sqlite/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-dbi/package.py b/var/spack/repos/builtin/packages/perl-dbi/package.py
index 1bfb8c5f94..9eb37493b9 100644
--- a/var/spack/repos/builtin/packages/perl-dbi/package.py
+++ b/var/spack/repos/builtin/packages/perl-dbi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-devel-cycle/package.py b/var/spack/repos/builtin/packages/perl-devel-cycle/package.py
index 36d47053c2..a0d35cf8b6 100644
--- a/var/spack/repos/builtin/packages/perl-devel-cycle/package.py
+++ b/var/spack/repos/builtin/packages/perl-devel-cycle/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-devel-globaldestruction/package.py b/var/spack/repos/builtin/packages/perl-devel-globaldestruction/package.py
index 888d592842..6e79016d0d 100644
--- a/var/spack/repos/builtin/packages/perl-devel-globaldestruction/package.py
+++ b/var/spack/repos/builtin/packages/perl-devel-globaldestruction/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-devel-overloadinfo/package.py b/var/spack/repos/builtin/packages/perl-devel-overloadinfo/package.py
index a1d11b5d24..197b19d281 100644
--- a/var/spack/repos/builtin/packages/perl-devel-overloadinfo/package.py
+++ b/var/spack/repos/builtin/packages/perl-devel-overloadinfo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-devel-stacktrace/package.py b/var/spack/repos/builtin/packages/perl-devel-stacktrace/package.py
index 2f6a7c1696..56886ec65a 100644
--- a/var/spack/repos/builtin/packages/perl-devel-stacktrace/package.py
+++ b/var/spack/repos/builtin/packages/perl-devel-stacktrace/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-devel-symdump/package.py b/var/spack/repos/builtin/packages/perl-devel-symdump/package.py
index 83084c0d46..15395784fe 100644
--- a/var/spack/repos/builtin/packages/perl-devel-symdump/package.py
+++ b/var/spack/repos/builtin/packages/perl-devel-symdump/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-digest-md5/package.py b/var/spack/repos/builtin/packages/perl-digest-md5/package.py
index 577e223cf2..0d08f863ea 100644
--- a/var/spack/repos/builtin/packages/perl-digest-md5/package.py
+++ b/var/spack/repos/builtin/packages/perl-digest-md5/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-dist-checkconflicts/package.py b/var/spack/repos/builtin/packages/perl-dist-checkconflicts/package.py
index 7a11c4ca3b..f7bf21d68d 100644
--- a/var/spack/repos/builtin/packages/perl-dist-checkconflicts/package.py
+++ b/var/spack/repos/builtin/packages/perl-dist-checkconflicts/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-encode-locale/package.py b/var/spack/repos/builtin/packages/perl-encode-locale/package.py
index 225c8c7752..23b812c4b0 100644
--- a/var/spack/repos/builtin/packages/perl-encode-locale/package.py
+++ b/var/spack/repos/builtin/packages/perl-encode-locale/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-error/package.py b/var/spack/repos/builtin/packages/perl-error/package.py
index f274b4e78c..35812a7aba 100644
--- a/var/spack/repos/builtin/packages/perl-error/package.py
+++ b/var/spack/repos/builtin/packages/perl-error/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-eval-closure/package.py b/var/spack/repos/builtin/packages/perl-eval-closure/package.py
index 5341d59640..c891a0fd5d 100644
--- a/var/spack/repos/builtin/packages/perl-eval-closure/package.py
+++ b/var/spack/repos/builtin/packages/perl-eval-closure/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-exception-class/package.py b/var/spack/repos/builtin/packages/perl-exception-class/package.py
index 893c2f817a..bbeb153d85 100644
--- a/var/spack/repos/builtin/packages/perl-exception-class/package.py
+++ b/var/spack/repos/builtin/packages/perl-exception-class/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-exporter-tiny/package.py b/var/spack/repos/builtin/packages/perl-exporter-tiny/package.py
index f8fef2eada..e8a3f7916b 100644
--- a/var/spack/repos/builtin/packages/perl-exporter-tiny/package.py
+++ b/var/spack/repos/builtin/packages/perl-exporter-tiny/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-extutils-config/package.py b/var/spack/repos/builtin/packages/perl-extutils-config/package.py
index 65a426a239..bd8ca94557 100644
--- a/var/spack/repos/builtin/packages/perl-extutils-config/package.py
+++ b/var/spack/repos/builtin/packages/perl-extutils-config/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-extutils-depends/package.py b/var/spack/repos/builtin/packages/perl-extutils-depends/package.py
index e10e1848a3..4eb726d536 100644
--- a/var/spack/repos/builtin/packages/perl-extutils-depends/package.py
+++ b/var/spack/repos/builtin/packages/perl-extutils-depends/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-extutils-helpers/package.py b/var/spack/repos/builtin/packages/perl-extutils-helpers/package.py
index f6ba584389..61ac96b95c 100644
--- a/var/spack/repos/builtin/packages/perl-extutils-helpers/package.py
+++ b/var/spack/repos/builtin/packages/perl-extutils-helpers/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-extutils-installpaths/package.py b/var/spack/repos/builtin/packages/perl-extutils-installpaths/package.py
index 4688f37daf..63548278bb 100644
--- a/var/spack/repos/builtin/packages/perl-extutils-installpaths/package.py
+++ b/var/spack/repos/builtin/packages/perl-extutils-installpaths/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-extutils-makemaker/package.py b/var/spack/repos/builtin/packages/perl-extutils-makemaker/package.py
index 0a7668428d..49adea5bfe 100644
--- a/var/spack/repos/builtin/packages/perl-extutils-makemaker/package.py
+++ b/var/spack/repos/builtin/packages/perl-extutils-makemaker/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-extutils-pkgconfig/package.py b/var/spack/repos/builtin/packages/perl-extutils-pkgconfig/package.py
index bbe10419ce..41a22808b7 100644
--- a/var/spack/repos/builtin/packages/perl-extutils-pkgconfig/package.py
+++ b/var/spack/repos/builtin/packages/perl-extutils-pkgconfig/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-ffi-checklib/package.py b/var/spack/repos/builtin/packages/perl-ffi-checklib/package.py
index c2a83e1952..b5423df9e9 100644
--- a/var/spack/repos/builtin/packages/perl-ffi-checklib/package.py
+++ b/var/spack/repos/builtin/packages/perl-ffi-checklib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-file-chdir/package.py b/var/spack/repos/builtin/packages/perl-file-chdir/package.py
index d6d56f7760..173849fcca 100644
--- a/var/spack/repos/builtin/packages/perl-file-chdir/package.py
+++ b/var/spack/repos/builtin/packages/perl-file-chdir/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-file-copy-recursive/package.py b/var/spack/repos/builtin/packages/perl-file-copy-recursive/package.py
index d4f2fe9705..fc90dc89e2 100644
--- a/var/spack/repos/builtin/packages/perl-file-copy-recursive/package.py
+++ b/var/spack/repos/builtin/packages/perl-file-copy-recursive/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-file-homedir/package.py b/var/spack/repos/builtin/packages/perl-file-homedir/package.py
index 08ca6a0854..460c3e6064 100644
--- a/var/spack/repos/builtin/packages/perl-file-homedir/package.py
+++ b/var/spack/repos/builtin/packages/perl-file-homedir/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-file-listing/package.py b/var/spack/repos/builtin/packages/perl-file-listing/package.py
index f40ede5793..df8e5d71e7 100644
--- a/var/spack/repos/builtin/packages/perl-file-listing/package.py
+++ b/var/spack/repos/builtin/packages/perl-file-listing/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-file-pushd/package.py b/var/spack/repos/builtin/packages/perl-file-pushd/package.py
index 4d6ae057e1..5cbb81b548 100644
--- a/var/spack/repos/builtin/packages/perl-file-pushd/package.py
+++ b/var/spack/repos/builtin/packages/perl-file-pushd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-file-sharedir-install/package.py b/var/spack/repos/builtin/packages/perl-file-sharedir-install/package.py
index 89eec13d46..99def42f30 100644
--- a/var/spack/repos/builtin/packages/perl-file-sharedir-install/package.py
+++ b/var/spack/repos/builtin/packages/perl-file-sharedir-install/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-file-slurp-tiny/package.py b/var/spack/repos/builtin/packages/perl-file-slurp-tiny/package.py
index 881110d542..db0445b863 100644
--- a/var/spack/repos/builtin/packages/perl-file-slurp-tiny/package.py
+++ b/var/spack/repos/builtin/packages/perl-file-slurp-tiny/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-file-slurp/package.py b/var/spack/repos/builtin/packages/perl-file-slurp/package.py
index e759a60efc..623bd7acad 100644
--- a/var/spack/repos/builtin/packages/perl-file-slurp/package.py
+++ b/var/spack/repos/builtin/packages/perl-file-slurp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-file-slurper/package.py b/var/spack/repos/builtin/packages/perl-file-slurper/package.py
index 075ef52fe1..5498db5738 100644
--- a/var/spack/repos/builtin/packages/perl-file-slurper/package.py
+++ b/var/spack/repos/builtin/packages/perl-file-slurper/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-file-which/package.py b/var/spack/repos/builtin/packages/perl-file-which/package.py
index 636e8ae3ec..95ca303e7d 100644
--- a/var/spack/repos/builtin/packages/perl-file-which/package.py
+++ b/var/spack/repos/builtin/packages/perl-file-which/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-font-ttf/package.py b/var/spack/repos/builtin/packages/perl-font-ttf/package.py
index 20d1d374df..b564944744 100644
--- a/var/spack/repos/builtin/packages/perl-font-ttf/package.py
+++ b/var/spack/repos/builtin/packages/perl-font-ttf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-forks/package.py b/var/spack/repos/builtin/packages/perl-forks/package.py
index b4fddbdd5e..7fbd843ac2 100644
--- a/var/spack/repos/builtin/packages/perl-forks/package.py
+++ b/var/spack/repos/builtin/packages/perl-forks/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-gd/package.py b/var/spack/repos/builtin/packages/perl-gd/package.py
index 0990c198f8..dca605fab0 100644
--- a/var/spack/repos/builtin/packages/perl-gd/package.py
+++ b/var/spack/repos/builtin/packages/perl-gd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-gdgraph-histogram/package.py b/var/spack/repos/builtin/packages/perl-gdgraph-histogram/package.py
index 3c550e758c..8a18634fab 100644
--- a/var/spack/repos/builtin/packages/perl-gdgraph-histogram/package.py
+++ b/var/spack/repos/builtin/packages/perl-gdgraph-histogram/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-gdgraph/package.py b/var/spack/repos/builtin/packages/perl-gdgraph/package.py
index 3897af23cc..cc97f0f070 100644
--- a/var/spack/repos/builtin/packages/perl-gdgraph/package.py
+++ b/var/spack/repos/builtin/packages/perl-gdgraph/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-gdtextutil/package.py b/var/spack/repos/builtin/packages/perl-gdtextutil/package.py
index 4be0490125..a668049df5 100644
--- a/var/spack/repos/builtin/packages/perl-gdtextutil/package.py
+++ b/var/spack/repos/builtin/packages/perl-gdtextutil/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-graph-readwrite/package.py b/var/spack/repos/builtin/packages/perl-graph-readwrite/package.py
index b89ca46e9f..ec811a895c 100644
--- a/var/spack/repos/builtin/packages/perl-graph-readwrite/package.py
+++ b/var/spack/repos/builtin/packages/perl-graph-readwrite/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-graph/package.py b/var/spack/repos/builtin/packages/perl-graph/package.py
index 6022a74c66..2e4df81f77 100644
--- a/var/spack/repos/builtin/packages/perl-graph/package.py
+++ b/var/spack/repos/builtin/packages/perl-graph/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-hash-merge/package.py b/var/spack/repos/builtin/packages/perl-hash-merge/package.py
index 9fbcf05055..6649a8b88b 100644
--- a/var/spack/repos/builtin/packages/perl-hash-merge/package.py
+++ b/var/spack/repos/builtin/packages/perl-hash-merge/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-html-parser/package.py b/var/spack/repos/builtin/packages/perl-html-parser/package.py
index cef4f955cf..410711077f 100644
--- a/var/spack/repos/builtin/packages/perl-html-parser/package.py
+++ b/var/spack/repos/builtin/packages/perl-html-parser/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-html-tagset/package.py b/var/spack/repos/builtin/packages/perl-html-tagset/package.py
index 523a597370..53e04ef83c 100644
--- a/var/spack/repos/builtin/packages/perl-html-tagset/package.py
+++ b/var/spack/repos/builtin/packages/perl-html-tagset/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-http-cookies/package.py b/var/spack/repos/builtin/packages/perl-http-cookies/package.py
index 25e3a81d89..73440f1044 100644
--- a/var/spack/repos/builtin/packages/perl-http-cookies/package.py
+++ b/var/spack/repos/builtin/packages/perl-http-cookies/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-http-daemon/package.py b/var/spack/repos/builtin/packages/perl-http-daemon/package.py
index 18ba0e506c..00ac9d0226 100644
--- a/var/spack/repos/builtin/packages/perl-http-daemon/package.py
+++ b/var/spack/repos/builtin/packages/perl-http-daemon/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-http-date/package.py b/var/spack/repos/builtin/packages/perl-http-date/package.py
index ae330f69e5..08b3734b4e 100644
--- a/var/spack/repos/builtin/packages/perl-http-date/package.py
+++ b/var/spack/repos/builtin/packages/perl-http-date/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-http-message/package.py b/var/spack/repos/builtin/packages/perl-http-message/package.py
index bedcb7d315..1d5cefccc4 100644
--- a/var/spack/repos/builtin/packages/perl-http-message/package.py
+++ b/var/spack/repos/builtin/packages/perl-http-message/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-http-negotiate/package.py b/var/spack/repos/builtin/packages/perl-http-negotiate/package.py
index dbb407ac05..218f300901 100644
--- a/var/spack/repos/builtin/packages/perl-http-negotiate/package.py
+++ b/var/spack/repos/builtin/packages/perl-http-negotiate/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-inline-c/package.py b/var/spack/repos/builtin/packages/perl-inline-c/package.py
index f41c070d28..44cb397d07 100644
--- a/var/spack/repos/builtin/packages/perl-inline-c/package.py
+++ b/var/spack/repos/builtin/packages/perl-inline-c/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-inline/package.py b/var/spack/repos/builtin/packages/perl-inline/package.py
index 001553c399..91cc7648cf 100644
--- a/var/spack/repos/builtin/packages/perl-inline/package.py
+++ b/var/spack/repos/builtin/packages/perl-inline/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-io-all/package.py b/var/spack/repos/builtin/packages/perl-io-all/package.py
index 9e55fc06e8..fa8e8a5035 100644
--- a/var/spack/repos/builtin/packages/perl-io-all/package.py
+++ b/var/spack/repos/builtin/packages/perl-io-all/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-io-compress/package.py b/var/spack/repos/builtin/packages/perl-io-compress/package.py
index b28bf0c935..bd850ce981 100644
--- a/var/spack/repos/builtin/packages/perl-io-compress/package.py
+++ b/var/spack/repos/builtin/packages/perl-io-compress/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-io-html/package.py b/var/spack/repos/builtin/packages/perl-io-html/package.py
index 42950079dc..9de028a96c 100644
--- a/var/spack/repos/builtin/packages/perl-io-html/package.py
+++ b/var/spack/repos/builtin/packages/perl-io-html/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-io-prompt/package.py b/var/spack/repos/builtin/packages/perl-io-prompt/package.py
index 9947434642..2dbb63a3c8 100644
--- a/var/spack/repos/builtin/packages/perl-io-prompt/package.py
+++ b/var/spack/repos/builtin/packages/perl-io-prompt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-io-sessiondata/package.py b/var/spack/repos/builtin/packages/perl-io-sessiondata/package.py
index 6f94b59fd8..24c05ac63a 100644
--- a/var/spack/repos/builtin/packages/perl-io-sessiondata/package.py
+++ b/var/spack/repos/builtin/packages/perl-io-sessiondata/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-io-socket-ssl/package.py b/var/spack/repos/builtin/packages/perl-io-socket-ssl/package.py
index 71fa915734..ea5e6fc509 100644
--- a/var/spack/repos/builtin/packages/perl-io-socket-ssl/package.py
+++ b/var/spack/repos/builtin/packages/perl-io-socket-ssl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-io-string/package.py b/var/spack/repos/builtin/packages/perl-io-string/package.py
index 364e6eab6a..5a776ebde9 100644
--- a/var/spack/repos/builtin/packages/perl-io-string/package.py
+++ b/var/spack/repos/builtin/packages/perl-io-string/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-io-stringy/package.py b/var/spack/repos/builtin/packages/perl-io-stringy/package.py
index 063c7b747b..b116a997fe 100644
--- a/var/spack/repos/builtin/packages/perl-io-stringy/package.py
+++ b/var/spack/repos/builtin/packages/perl-io-stringy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-io-tty/package.py b/var/spack/repos/builtin/packages/perl-io-tty/package.py
index 1700a20c84..aaec88d7e1 100644
--- a/var/spack/repos/builtin/packages/perl-io-tty/package.py
+++ b/var/spack/repos/builtin/packages/perl-io-tty/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-ipc-run/package.py b/var/spack/repos/builtin/packages/perl-ipc-run/package.py
index 26247138ee..96ad0118ff 100644
--- a/var/spack/repos/builtin/packages/perl-ipc-run/package.py
+++ b/var/spack/repos/builtin/packages/perl-ipc-run/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-json/package.py b/var/spack/repos/builtin/packages/perl-json/package.py
index c1dbe2634d..a897682965 100644
--- a/var/spack/repos/builtin/packages/perl-json/package.py
+++ b/var/spack/repos/builtin/packages/perl-json/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-libwww-perl/package.py b/var/spack/repos/builtin/packages/perl-libwww-perl/package.py
index f82663cdef..ece14eb617 100644
--- a/var/spack/repos/builtin/packages/perl-libwww-perl/package.py
+++ b/var/spack/repos/builtin/packages/perl-libwww-perl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-libxml-perl/package.py b/var/spack/repos/builtin/packages/perl-libxml-perl/package.py
index 06b598b36f..2d17ffe7f1 100644
--- a/var/spack/repos/builtin/packages/perl-libxml-perl/package.py
+++ b/var/spack/repos/builtin/packages/perl-libxml-perl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-list-moreutils-xs/package.py b/var/spack/repos/builtin/packages/perl-list-moreutils-xs/package.py
index 36812e5efc..250ba32d08 100644
--- a/var/spack/repos/builtin/packages/perl-list-moreutils-xs/package.py
+++ b/var/spack/repos/builtin/packages/perl-list-moreutils-xs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-list-moreutils/package.py b/var/spack/repos/builtin/packages/perl-list-moreutils/package.py
index 9e11513683..0ef9f25725 100644
--- a/var/spack/repos/builtin/packages/perl-list-moreutils/package.py
+++ b/var/spack/repos/builtin/packages/perl-list-moreutils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-log-log4perl/package.py b/var/spack/repos/builtin/packages/perl-log-log4perl/package.py
index c63584e302..0db77d2a3c 100644
--- a/var/spack/repos/builtin/packages/perl-log-log4perl/package.py
+++ b/var/spack/repos/builtin/packages/perl-log-log4perl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-logger-simple/package.py b/var/spack/repos/builtin/packages/perl-logger-simple/package.py
index 4db26ae672..75f58b070a 100644
--- a/var/spack/repos/builtin/packages/perl-logger-simple/package.py
+++ b/var/spack/repos/builtin/packages/perl-logger-simple/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-lwp-mediatypes/package.py b/var/spack/repos/builtin/packages/perl-lwp-mediatypes/package.py
index 9fc269ae5d..73de57f933 100644
--- a/var/spack/repos/builtin/packages/perl-lwp-mediatypes/package.py
+++ b/var/spack/repos/builtin/packages/perl-lwp-mediatypes/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-lwp-protocol-https/package.py b/var/spack/repos/builtin/packages/perl-lwp-protocol-https/package.py
index 8d2da894b0..94ebb17494 100644
--- a/var/spack/repos/builtin/packages/perl-lwp-protocol-https/package.py
+++ b/var/spack/repos/builtin/packages/perl-lwp-protocol-https/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-mailtools/package.py b/var/spack/repos/builtin/packages/perl-mailtools/package.py
index ae53c07582..4201c8a66b 100644
--- a/var/spack/repos/builtin/packages/perl-mailtools/package.py
+++ b/var/spack/repos/builtin/packages/perl-mailtools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-math-bezier/package.py b/var/spack/repos/builtin/packages/perl-math-bezier/package.py
index d53aa00e33..01f1a818f7 100644
--- a/var/spack/repos/builtin/packages/perl-math-bezier/package.py
+++ b/var/spack/repos/builtin/packages/perl-math-bezier/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-math-cdf/package.py b/var/spack/repos/builtin/packages/perl-math-cdf/package.py
index 0572e5a8cd..a168161b00 100644
--- a/var/spack/repos/builtin/packages/perl-math-cdf/package.py
+++ b/var/spack/repos/builtin/packages/perl-math-cdf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-math-cephes/package.py b/var/spack/repos/builtin/packages/perl-math-cephes/package.py
index 70eea6616c..4919114baf 100644
--- a/var/spack/repos/builtin/packages/perl-math-cephes/package.py
+++ b/var/spack/repos/builtin/packages/perl-math-cephes/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-math-matrixreal/package.py b/var/spack/repos/builtin/packages/perl-math-matrixreal/package.py
index 66d742daad..7cd9098c9b 100644
--- a/var/spack/repos/builtin/packages/perl-math-matrixreal/package.py
+++ b/var/spack/repos/builtin/packages/perl-math-matrixreal/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-math-round/package.py b/var/spack/repos/builtin/packages/perl-math-round/package.py
index f9f94857be..46e4926c39 100644
--- a/var/spack/repos/builtin/packages/perl-math-round/package.py
+++ b/var/spack/repos/builtin/packages/perl-math-round/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-math-vecstat/package.py b/var/spack/repos/builtin/packages/perl-math-vecstat/package.py
index 404c92b762..c79d5c6dff 100644
--- a/var/spack/repos/builtin/packages/perl-math-vecstat/package.py
+++ b/var/spack/repos/builtin/packages/perl-math-vecstat/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-module-build-tiny/package.py b/var/spack/repos/builtin/packages/perl-module-build-tiny/package.py
index 8cbfbe2651..486c59bb13 100644
--- a/var/spack/repos/builtin/packages/perl-module-build-tiny/package.py
+++ b/var/spack/repos/builtin/packages/perl-module-build-tiny/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-module-build/package.py b/var/spack/repos/builtin/packages/perl-module-build/package.py
index 2bb7ee2014..b9a4cac078 100644
--- a/var/spack/repos/builtin/packages/perl-module-build/package.py
+++ b/var/spack/repos/builtin/packages/perl-module-build/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-module-implementation/package.py b/var/spack/repos/builtin/packages/perl-module-implementation/package.py
index 0f7fc9d2ea..ee0aa1a7ad 100644
--- a/var/spack/repos/builtin/packages/perl-module-implementation/package.py
+++ b/var/spack/repos/builtin/packages/perl-module-implementation/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-module-runtime-conflicts/package.py b/var/spack/repos/builtin/packages/perl-module-runtime-conflicts/package.py
index 3ee858b6e5..8fdd43653d 100644
--- a/var/spack/repos/builtin/packages/perl-module-runtime-conflicts/package.py
+++ b/var/spack/repos/builtin/packages/perl-module-runtime-conflicts/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-module-runtime/package.py b/var/spack/repos/builtin/packages/perl-module-runtime/package.py
index 811fc818a5..28cfcc4bbc 100644
--- a/var/spack/repos/builtin/packages/perl-module-runtime/package.py
+++ b/var/spack/repos/builtin/packages/perl-module-runtime/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-moose/package.py b/var/spack/repos/builtin/packages/perl-moose/package.py
index e6fe33a7a1..e6c20e5953 100644
--- a/var/spack/repos/builtin/packages/perl-moose/package.py
+++ b/var/spack/repos/builtin/packages/perl-moose/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-mozilla-ca/package.py b/var/spack/repos/builtin/packages/perl-mozilla-ca/package.py
index dcb7b7fbec..50a4c28060 100644
--- a/var/spack/repos/builtin/packages/perl-mozilla-ca/package.py
+++ b/var/spack/repos/builtin/packages/perl-mozilla-ca/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-mro-compat/package.py b/var/spack/repos/builtin/packages/perl-mro-compat/package.py
index 777dda8b19..1d72a34b28 100644
--- a/var/spack/repos/builtin/packages/perl-mro-compat/package.py
+++ b/var/spack/repos/builtin/packages/perl-mro-compat/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-namespace-clean/package.py b/var/spack/repos/builtin/packages/perl-namespace-clean/package.py
index 8434b43622..bfcecb5a9a 100644
--- a/var/spack/repos/builtin/packages/perl-namespace-clean/package.py
+++ b/var/spack/repos/builtin/packages/perl-namespace-clean/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-net-http/package.py b/var/spack/repos/builtin/packages/perl-net-http/package.py
index 95abf9018d..986eb30313 100644
--- a/var/spack/repos/builtin/packages/perl-net-http/package.py
+++ b/var/spack/repos/builtin/packages/perl-net-http/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-net-scp-expect/package.py b/var/spack/repos/builtin/packages/perl-net-scp-expect/package.py
index bb56e653ed..d7329e9149 100644
--- a/var/spack/repos/builtin/packages/perl-net-scp-expect/package.py
+++ b/var/spack/repos/builtin/packages/perl-net-scp-expect/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-net-ssleay/package.py b/var/spack/repos/builtin/packages/perl-net-ssleay/package.py
index 90d622752b..46ca769edd 100644
--- a/var/spack/repos/builtin/packages/perl-net-ssleay/package.py
+++ b/var/spack/repos/builtin/packages/perl-net-ssleay/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-number-format/package.py b/var/spack/repos/builtin/packages/perl-number-format/package.py
index 9743a62d0e..9050093576 100644
--- a/var/spack/repos/builtin/packages/perl-number-format/package.py
+++ b/var/spack/repos/builtin/packages/perl-number-format/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-object-insideout/package.py b/var/spack/repos/builtin/packages/perl-object-insideout/package.py
index 9eb1b1e216..8a8feb99b1 100644
--- a/var/spack/repos/builtin/packages/perl-object-insideout/package.py
+++ b/var/spack/repos/builtin/packages/perl-object-insideout/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-package-deprecationmanager/package.py b/var/spack/repos/builtin/packages/perl-package-deprecationmanager/package.py
index a230fb68b0..f986fbfeea 100644
--- a/var/spack/repos/builtin/packages/perl-package-deprecationmanager/package.py
+++ b/var/spack/repos/builtin/packages/perl-package-deprecationmanager/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-package-stash-xs/package.py b/var/spack/repos/builtin/packages/perl-package-stash-xs/package.py
index fc4638e5f9..defb35fbde 100644
--- a/var/spack/repos/builtin/packages/perl-package-stash-xs/package.py
+++ b/var/spack/repos/builtin/packages/perl-package-stash-xs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-package-stash/package.py b/var/spack/repos/builtin/packages/perl-package-stash/package.py
index d5691e3166..e862255e20 100644
--- a/var/spack/repos/builtin/packages/perl-package-stash/package.py
+++ b/var/spack/repos/builtin/packages/perl-package-stash/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-padwalker/package.py b/var/spack/repos/builtin/packages/perl-padwalker/package.py
index 8722fcd46f..824a644067 100644
--- a/var/spack/repos/builtin/packages/perl-padwalker/package.py
+++ b/var/spack/repos/builtin/packages/perl-padwalker/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-parallel-forkmanager/package.py b/var/spack/repos/builtin/packages/perl-parallel-forkmanager/package.py
index dd6f3e8e26..75793707a6 100644
--- a/var/spack/repos/builtin/packages/perl-parallel-forkmanager/package.py
+++ b/var/spack/repos/builtin/packages/perl-parallel-forkmanager/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-params-util/package.py b/var/spack/repos/builtin/packages/perl-params-util/package.py
index 4c21dff3f0..650a67ea28 100644
--- a/var/spack/repos/builtin/packages/perl-params-util/package.py
+++ b/var/spack/repos/builtin/packages/perl-params-util/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-params-validate/package.py b/var/spack/repos/builtin/packages/perl-params-validate/package.py
index e23f51433a..2ca31890ad 100644
--- a/var/spack/repos/builtin/packages/perl-params-validate/package.py
+++ b/var/spack/repos/builtin/packages/perl-params-validate/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-parse-recdescent/package.py b/var/spack/repos/builtin/packages/perl-parse-recdescent/package.py
index 7d3668fcef..570edfd8ff 100644
--- a/var/spack/repos/builtin/packages/perl-parse-recdescent/package.py
+++ b/var/spack/repos/builtin/packages/perl-parse-recdescent/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-path-tiny/package.py b/var/spack/repos/builtin/packages/perl-path-tiny/package.py
index 6579aa788c..3e45e4f14a 100644
--- a/var/spack/repos/builtin/packages/perl-path-tiny/package.py
+++ b/var/spack/repos/builtin/packages/perl-path-tiny/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-pdf-api2/package.py b/var/spack/repos/builtin/packages/perl-pdf-api2/package.py
index 5f80edeb0f..3cd836b07d 100644
--- a/var/spack/repos/builtin/packages/perl-pdf-api2/package.py
+++ b/var/spack/repos/builtin/packages/perl-pdf-api2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-pegex/package.py b/var/spack/repos/builtin/packages/perl-pegex/package.py
index af916be11e..d8916ea5a2 100644
--- a/var/spack/repos/builtin/packages/perl-pegex/package.py
+++ b/var/spack/repos/builtin/packages/perl-pegex/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-perl-unsafe-signals/package.py b/var/spack/repos/builtin/packages/perl-perl-unsafe-signals/package.py
index 36af1d8355..a4638d4ec8 100644
--- a/var/spack/repos/builtin/packages/perl-perl-unsafe-signals/package.py
+++ b/var/spack/repos/builtin/packages/perl-perl-unsafe-signals/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-perl-version/package.py b/var/spack/repos/builtin/packages/perl-perl-version/package.py
index d059adea86..2877516e38 100644
--- a/var/spack/repos/builtin/packages/perl-perl-version/package.py
+++ b/var/spack/repos/builtin/packages/perl-perl-version/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-perl4-corelibs/package.py b/var/spack/repos/builtin/packages/perl-perl4-corelibs/package.py
index 3f721225ef..21e0609979 100644
--- a/var/spack/repos/builtin/packages/perl-perl4-corelibs/package.py
+++ b/var/spack/repos/builtin/packages/perl-perl4-corelibs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-perl6-slurp/package.py b/var/spack/repos/builtin/packages/perl-perl6-slurp/package.py
index b6b4d1f154..75f730cb0e 100644
--- a/var/spack/repos/builtin/packages/perl-perl6-slurp/package.py
+++ b/var/spack/repos/builtin/packages/perl-perl6-slurp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-perlio-gzip/package.py b/var/spack/repos/builtin/packages/perl-perlio-gzip/package.py
index a25481e7e0..832369692b 100644
--- a/var/spack/repos/builtin/packages/perl-perlio-gzip/package.py
+++ b/var/spack/repos/builtin/packages/perl-perlio-gzip/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-perlio-utf8-strict/package.py b/var/spack/repos/builtin/packages/perl-perlio-utf8-strict/package.py
index f34077aca8..fa5e76c575 100644
--- a/var/spack/repos/builtin/packages/perl-perlio-utf8-strict/package.py
+++ b/var/spack/repos/builtin/packages/perl-perlio-utf8-strict/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-readonly/package.py b/var/spack/repos/builtin/packages/perl-readonly/package.py
index 83c47b1af3..8ae8f85836 100644
--- a/var/spack/repos/builtin/packages/perl-readonly/package.py
+++ b/var/spack/repos/builtin/packages/perl-readonly/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-regexp-common/package.py b/var/spack/repos/builtin/packages/perl-regexp-common/package.py
index 4468a61eb9..9bd3e7d9b0 100644
--- a/var/spack/repos/builtin/packages/perl-regexp-common/package.py
+++ b/var/spack/repos/builtin/packages/perl-regexp-common/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-scalar-list-utils/package.py b/var/spack/repos/builtin/packages/perl-scalar-list-utils/package.py
index a7e5af124c..cc4d242eb8 100644
--- a/var/spack/repos/builtin/packages/perl-scalar-list-utils/package.py
+++ b/var/spack/repos/builtin/packages/perl-scalar-list-utils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-scalar-util-numeric/package.py b/var/spack/repos/builtin/packages/perl-scalar-util-numeric/package.py
index 10047fbb8c..5eb82746f3 100644
--- a/var/spack/repos/builtin/packages/perl-scalar-util-numeric/package.py
+++ b/var/spack/repos/builtin/packages/perl-scalar-util-numeric/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-set-intervaltree/package.py b/var/spack/repos/builtin/packages/perl-set-intervaltree/package.py
index 222895ef49..9beca32318 100644
--- a/var/spack/repos/builtin/packages/perl-set-intervaltree/package.py
+++ b/var/spack/repos/builtin/packages/perl-set-intervaltree/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-set-intspan/package.py b/var/spack/repos/builtin/packages/perl-set-intspan/package.py
index eb02324284..63e468cd85 100644
--- a/var/spack/repos/builtin/packages/perl-set-intspan/package.py
+++ b/var/spack/repos/builtin/packages/perl-set-intspan/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-set-scalar/package.py b/var/spack/repos/builtin/packages/perl-set-scalar/package.py
index 9129381b0d..6443465a8a 100644
--- a/var/spack/repos/builtin/packages/perl-set-scalar/package.py
+++ b/var/spack/repos/builtin/packages/perl-set-scalar/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-soap-lite/package.py b/var/spack/repos/builtin/packages/perl-soap-lite/package.py
index 0d79c0f9c1..d06513d154 100644
--- a/var/spack/repos/builtin/packages/perl-soap-lite/package.py
+++ b/var/spack/repos/builtin/packages/perl-soap-lite/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-star-fusion/package.py b/var/spack/repos/builtin/packages/perl-star-fusion/package.py
index 17482f6e25..019598852c 100644
--- a/var/spack/repos/builtin/packages/perl-star-fusion/package.py
+++ b/var/spack/repos/builtin/packages/perl-star-fusion/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-statistics-basic/package.py b/var/spack/repos/builtin/packages/perl-statistics-basic/package.py
index 275ea7c29d..aa9fa59d65 100644
--- a/var/spack/repos/builtin/packages/perl-statistics-basic/package.py
+++ b/var/spack/repos/builtin/packages/perl-statistics-basic/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-statistics-descriptive/package.py b/var/spack/repos/builtin/packages/perl-statistics-descriptive/package.py
index a4567cb9ad..d381790ded 100644
--- a/var/spack/repos/builtin/packages/perl-statistics-descriptive/package.py
+++ b/var/spack/repos/builtin/packages/perl-statistics-descriptive/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-statistics-pca/package.py b/var/spack/repos/builtin/packages/perl-statistics-pca/package.py
index 9fd21bc7f3..ac8ccbdfdd 100644
--- a/var/spack/repos/builtin/packages/perl-statistics-pca/package.py
+++ b/var/spack/repos/builtin/packages/perl-statistics-pca/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-sub-exporter-progressive/package.py b/var/spack/repos/builtin/packages/perl-sub-exporter-progressive/package.py
index d583c203a7..4215970423 100644
--- a/var/spack/repos/builtin/packages/perl-sub-exporter-progressive/package.py
+++ b/var/spack/repos/builtin/packages/perl-sub-exporter-progressive/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-sub-exporter/package.py b/var/spack/repos/builtin/packages/perl-sub-exporter/package.py
index c500800417..b9395cb3c7 100644
--- a/var/spack/repos/builtin/packages/perl-sub-exporter/package.py
+++ b/var/spack/repos/builtin/packages/perl-sub-exporter/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-sub-identify/package.py b/var/spack/repos/builtin/packages/perl-sub-identify/package.py
index 8f7cfe8e83..fb2b283358 100644
--- a/var/spack/repos/builtin/packages/perl-sub-identify/package.py
+++ b/var/spack/repos/builtin/packages/perl-sub-identify/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-sub-install/package.py b/var/spack/repos/builtin/packages/perl-sub-install/package.py
index 6b3adf0925..4a3fddf245 100644
--- a/var/spack/repos/builtin/packages/perl-sub-install/package.py
+++ b/var/spack/repos/builtin/packages/perl-sub-install/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-sub-name/package.py b/var/spack/repos/builtin/packages/perl-sub-name/package.py
index 3d98a9d9ec..424b015779 100644
--- a/var/spack/repos/builtin/packages/perl-sub-name/package.py
+++ b/var/spack/repos/builtin/packages/perl-sub-name/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-sub-uplevel/package.py b/var/spack/repos/builtin/packages/perl-sub-uplevel/package.py
index 9efb3f8515..969816a1d4 100644
--- a/var/spack/repos/builtin/packages/perl-sub-uplevel/package.py
+++ b/var/spack/repos/builtin/packages/perl-sub-uplevel/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-svg/package.py b/var/spack/repos/builtin/packages/perl-svg/package.py
index 5f916455ef..4e10bdba77 100644
--- a/var/spack/repos/builtin/packages/perl-svg/package.py
+++ b/var/spack/repos/builtin/packages/perl-svg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-swissknife/package.py b/var/spack/repos/builtin/packages/perl-swissknife/package.py
index dcec6f3b78..ba09579fc0 100644
--- a/var/spack/repos/builtin/packages/perl-swissknife/package.py
+++ b/var/spack/repos/builtin/packages/perl-swissknife/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-sys-sigaction/package.py b/var/spack/repos/builtin/packages/perl-sys-sigaction/package.py
index d8c50b5c46..ccc88cb54e 100644
--- a/var/spack/repos/builtin/packages/perl-sys-sigaction/package.py
+++ b/var/spack/repos/builtin/packages/perl-sys-sigaction/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-task-weaken/package.py b/var/spack/repos/builtin/packages/perl-task-weaken/package.py
index 3ca09779a8..4822c777e1 100644
--- a/var/spack/repos/builtin/packages/perl-task-weaken/package.py
+++ b/var/spack/repos/builtin/packages/perl-task-weaken/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-term-readline-gnu/package.py b/var/spack/repos/builtin/packages/perl-term-readline-gnu/package.py
index 2db6ca8d1a..da09ecd513 100644
--- a/var/spack/repos/builtin/packages/perl-term-readline-gnu/package.py
+++ b/var/spack/repos/builtin/packages/perl-term-readline-gnu/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-termreadkey/package.py b/var/spack/repos/builtin/packages/perl-termreadkey/package.py
index dab402ed10..2ea2d24a76 100644
--- a/var/spack/repos/builtin/packages/perl-termreadkey/package.py
+++ b/var/spack/repos/builtin/packages/perl-termreadkey/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-test-cleannamespaces/package.py b/var/spack/repos/builtin/packages/perl-test-cleannamespaces/package.py
index 84239d7d57..397f21f23d 100644
--- a/var/spack/repos/builtin/packages/perl-test-cleannamespaces/package.py
+++ b/var/spack/repos/builtin/packages/perl-test-cleannamespaces/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-test-deep/package.py b/var/spack/repos/builtin/packages/perl-test-deep/package.py
index cb8aa6f76c..ab781859eb 100644
--- a/var/spack/repos/builtin/packages/perl-test-deep/package.py
+++ b/var/spack/repos/builtin/packages/perl-test-deep/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-test-differences/package.py b/var/spack/repos/builtin/packages/perl-test-differences/package.py
index 90d3a1f21f..3c9d4282d3 100644
--- a/var/spack/repos/builtin/packages/perl-test-differences/package.py
+++ b/var/spack/repos/builtin/packages/perl-test-differences/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-test-exception/package.py b/var/spack/repos/builtin/packages/perl-test-exception/package.py
index fffa271abc..41078facc3 100644
--- a/var/spack/repos/builtin/packages/perl-test-exception/package.py
+++ b/var/spack/repos/builtin/packages/perl-test-exception/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-test-fatal/package.py b/var/spack/repos/builtin/packages/perl-test-fatal/package.py
index b2ae23ddb2..8fbc58eb49 100644
--- a/var/spack/repos/builtin/packages/perl-test-fatal/package.py
+++ b/var/spack/repos/builtin/packages/perl-test-fatal/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-test-memory-cycle/package.py b/var/spack/repos/builtin/packages/perl-test-memory-cycle/package.py
index 497e0f6932..9675d19eca 100644
--- a/var/spack/repos/builtin/packages/perl-test-memory-cycle/package.py
+++ b/var/spack/repos/builtin/packages/perl-test-memory-cycle/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-test-most/package.py b/var/spack/repos/builtin/packages/perl-test-most/package.py
index 63fb0c8ea2..f0057b9d34 100644
--- a/var/spack/repos/builtin/packages/perl-test-most/package.py
+++ b/var/spack/repos/builtin/packages/perl-test-most/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-test-needs/package.py b/var/spack/repos/builtin/packages/perl-test-needs/package.py
index 5ac982eae2..11d46af928 100644
--- a/var/spack/repos/builtin/packages/perl-test-needs/package.py
+++ b/var/spack/repos/builtin/packages/perl-test-needs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-test-requires/package.py b/var/spack/repos/builtin/packages/perl-test-requires/package.py
index ac812e33f1..6a3a6157dc 100644
--- a/var/spack/repos/builtin/packages/perl-test-requires/package.py
+++ b/var/spack/repos/builtin/packages/perl-test-requires/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-test-requiresinternet/package.py b/var/spack/repos/builtin/packages/perl-test-requiresinternet/package.py
index 1300688bff..6fd9f90920 100644
--- a/var/spack/repos/builtin/packages/perl-test-requiresinternet/package.py
+++ b/var/spack/repos/builtin/packages/perl-test-requiresinternet/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-test-warn/package.py b/var/spack/repos/builtin/packages/perl-test-warn/package.py
index 0708909ba2..c93c285def 100644
--- a/var/spack/repos/builtin/packages/perl-test-warn/package.py
+++ b/var/spack/repos/builtin/packages/perl-test-warn/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-test-warnings/package.py b/var/spack/repos/builtin/packages/perl-test-warnings/package.py
index a9385eaae6..a7c0fe1b11 100644
--- a/var/spack/repos/builtin/packages/perl-test-warnings/package.py
+++ b/var/spack/repos/builtin/packages/perl-test-warnings/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-text-csv/package.py b/var/spack/repos/builtin/packages/perl-text-csv/package.py
index 8c86a4ccb6..fb9db890a6 100644
--- a/var/spack/repos/builtin/packages/perl-text-csv/package.py
+++ b/var/spack/repos/builtin/packages/perl-text-csv/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-text-diff/package.py b/var/spack/repos/builtin/packages/perl-text-diff/package.py
index 54b87ec592..b06e68be4b 100644
--- a/var/spack/repos/builtin/packages/perl-text-diff/package.py
+++ b/var/spack/repos/builtin/packages/perl-text-diff/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-text-format/package.py b/var/spack/repos/builtin/packages/perl-text-format/package.py
index 2f38503de9..5efb63365d 100644
--- a/var/spack/repos/builtin/packages/perl-text-format/package.py
+++ b/var/spack/repos/builtin/packages/perl-text-format/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-text-simpletable/package.py b/var/spack/repos/builtin/packages/perl-text-simpletable/package.py
index b0da48547e..4f67994028 100644
--- a/var/spack/repos/builtin/packages/perl-text-simpletable/package.py
+++ b/var/spack/repos/builtin/packages/perl-text-simpletable/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-text-soundex/package.py b/var/spack/repos/builtin/packages/perl-text-soundex/package.py
index 34c20e0f54..666097d7e0 100644
--- a/var/spack/repos/builtin/packages/perl-text-soundex/package.py
+++ b/var/spack/repos/builtin/packages/perl-text-soundex/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-text-unidecode/package.py b/var/spack/repos/builtin/packages/perl-text-unidecode/package.py
index e91f502234..f4efc023c6 100644
--- a/var/spack/repos/builtin/packages/perl-text-unidecode/package.py
+++ b/var/spack/repos/builtin/packages/perl-text-unidecode/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-time-hires/package.py b/var/spack/repos/builtin/packages/perl-time-hires/package.py
index dd628ecbe3..b7b4737d89 100644
--- a/var/spack/repos/builtin/packages/perl-time-hires/package.py
+++ b/var/spack/repos/builtin/packages/perl-time-hires/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-time-piece/package.py b/var/spack/repos/builtin/packages/perl-time-piece/package.py
index ec607ecef7..e8f346340d 100644
--- a/var/spack/repos/builtin/packages/perl-time-piece/package.py
+++ b/var/spack/repos/builtin/packages/perl-time-piece/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-timedate/package.py b/var/spack/repos/builtin/packages/perl-timedate/package.py
index f5891903c7..7cb2bdf6a1 100644
--- a/var/spack/repos/builtin/packages/perl-timedate/package.py
+++ b/var/spack/repos/builtin/packages/perl-timedate/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-try-tiny/package.py b/var/spack/repos/builtin/packages/perl-try-tiny/package.py
index 7c21b12f77..5c6398d47c 100644
--- a/var/spack/repos/builtin/packages/perl-try-tiny/package.py
+++ b/var/spack/repos/builtin/packages/perl-try-tiny/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-uri/package.py b/var/spack/repos/builtin/packages/perl-uri/package.py
index 057ff43d87..8304c7a13b 100644
--- a/var/spack/repos/builtin/packages/perl-uri/package.py
+++ b/var/spack/repos/builtin/packages/perl-uri/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-want/package.py b/var/spack/repos/builtin/packages/perl-want/package.py
index 82b926234a..fe7f20ae64 100644
--- a/var/spack/repos/builtin/packages/perl-want/package.py
+++ b/var/spack/repos/builtin/packages/perl-want/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-www-robotrules/package.py b/var/spack/repos/builtin/packages/perl-www-robotrules/package.py
index e1cda90585..69066a503a 100644
--- a/var/spack/repos/builtin/packages/perl-www-robotrules/package.py
+++ b/var/spack/repos/builtin/packages/perl-www-robotrules/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-xml-dom-xpath/package.py b/var/spack/repos/builtin/packages/perl-xml-dom-xpath/package.py
index 36408595df..4efaa15970 100644
--- a/var/spack/repos/builtin/packages/perl-xml-dom-xpath/package.py
+++ b/var/spack/repos/builtin/packages/perl-xml-dom-xpath/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-xml-dom/package.py b/var/spack/repos/builtin/packages/perl-xml-dom/package.py
index 3eeec70b70..6ed1bf7333 100644
--- a/var/spack/repos/builtin/packages/perl-xml-dom/package.py
+++ b/var/spack/repos/builtin/packages/perl-xml-dom/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-xml-filter-buffertext/package.py b/var/spack/repos/builtin/packages/perl-xml-filter-buffertext/package.py
index 28e9035034..5996757d83 100644
--- a/var/spack/repos/builtin/packages/perl-xml-filter-buffertext/package.py
+++ b/var/spack/repos/builtin/packages/perl-xml-filter-buffertext/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-xml-libxml/package.py b/var/spack/repos/builtin/packages/perl-xml-libxml/package.py
index 3a4a21727c..1e6bffdffe 100644
--- a/var/spack/repos/builtin/packages/perl-xml-libxml/package.py
+++ b/var/spack/repos/builtin/packages/perl-xml-libxml/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-xml-libxslt/package.py b/var/spack/repos/builtin/packages/perl-xml-libxslt/package.py
index 86312928e1..9aa3b64870 100644
--- a/var/spack/repos/builtin/packages/perl-xml-libxslt/package.py
+++ b/var/spack/repos/builtin/packages/perl-xml-libxslt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-xml-namespacesupport/package.py b/var/spack/repos/builtin/packages/perl-xml-namespacesupport/package.py
index 91f50a70d5..1946451cac 100644
--- a/var/spack/repos/builtin/packages/perl-xml-namespacesupport/package.py
+++ b/var/spack/repos/builtin/packages/perl-xml-namespacesupport/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-xml-parser-lite/package.py b/var/spack/repos/builtin/packages/perl-xml-parser-lite/package.py
index 6ba82d6eb9..34ff956881 100644
--- a/var/spack/repos/builtin/packages/perl-xml-parser-lite/package.py
+++ b/var/spack/repos/builtin/packages/perl-xml-parser-lite/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-xml-parser/package.py b/var/spack/repos/builtin/packages/perl-xml-parser/package.py
index 5f4aafa3fd..2bf04b0203 100644
--- a/var/spack/repos/builtin/packages/perl-xml-parser/package.py
+++ b/var/spack/repos/builtin/packages/perl-xml-parser/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-xml-quote/package.py b/var/spack/repos/builtin/packages/perl-xml-quote/package.py
index d08e170109..d78d50a28b 100644
--- a/var/spack/repos/builtin/packages/perl-xml-quote/package.py
+++ b/var/spack/repos/builtin/packages/perl-xml-quote/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-xml-regexp/package.py b/var/spack/repos/builtin/packages/perl-xml-regexp/package.py
index 1a7ad14196..f26c6700f3 100644
--- a/var/spack/repos/builtin/packages/perl-xml-regexp/package.py
+++ b/var/spack/repos/builtin/packages/perl-xml-regexp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-xml-sax-base/package.py b/var/spack/repos/builtin/packages/perl-xml-sax-base/package.py
index 3fa83dff5c..545794631c 100644
--- a/var/spack/repos/builtin/packages/perl-xml-sax-base/package.py
+++ b/var/spack/repos/builtin/packages/perl-xml-sax-base/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-xml-sax-writer/package.py b/var/spack/repos/builtin/packages/perl-xml-sax-writer/package.py
index ce276ea045..b14d443e64 100644
--- a/var/spack/repos/builtin/packages/perl-xml-sax-writer/package.py
+++ b/var/spack/repos/builtin/packages/perl-xml-sax-writer/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-xml-sax/package.py b/var/spack/repos/builtin/packages/perl-xml-sax/package.py
index 87646a73c1..56a175e7de 100644
--- a/var/spack/repos/builtin/packages/perl-xml-sax/package.py
+++ b/var/spack/repos/builtin/packages/perl-xml-sax/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-xml-simple/package.py b/var/spack/repos/builtin/packages/perl-xml-simple/package.py
index eb7d89b92c..688f17a454 100644
--- a/var/spack/repos/builtin/packages/perl-xml-simple/package.py
+++ b/var/spack/repos/builtin/packages/perl-xml-simple/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-xml-twig/package.py b/var/spack/repos/builtin/packages/perl-xml-twig/package.py
index f17251ea63..1593e05971 100644
--- a/var/spack/repos/builtin/packages/perl-xml-twig/package.py
+++ b/var/spack/repos/builtin/packages/perl-xml-twig/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-xml-writer/package.py b/var/spack/repos/builtin/packages/perl-xml-writer/package.py
index da5fdf7f6f..99ae3d6fe3 100644
--- a/var/spack/repos/builtin/packages/perl-xml-writer/package.py
+++ b/var/spack/repos/builtin/packages/perl-xml-writer/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-xml-xpathengine/package.py b/var/spack/repos/builtin/packages/perl-xml-xpathengine/package.py
index cf514e9b52..a7f68c56a6 100644
--- a/var/spack/repos/builtin/packages/perl-xml-xpathengine/package.py
+++ b/var/spack/repos/builtin/packages/perl-xml-xpathengine/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-yaml-libyaml/package.py b/var/spack/repos/builtin/packages/perl-yaml-libyaml/package.py
index 2e141c982b..5b5d02d6f7 100644
--- a/var/spack/repos/builtin/packages/perl-yaml-libyaml/package.py
+++ b/var/spack/repos/builtin/packages/perl-yaml-libyaml/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl-yaml/package.py b/var/spack/repos/builtin/packages/perl-yaml/package.py
index 7d55b590ef..a7ab45438b 100644
--- a/var/spack/repos/builtin/packages/perl-yaml/package.py
+++ b/var/spack/repos/builtin/packages/perl-yaml/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/perl/nvhpc.patch b/var/spack/repos/builtin/packages/perl/nvhpc-5.30.patch
index 5f3373bd1b..5f3373bd1b 100644
--- a/var/spack/repos/builtin/packages/perl/nvhpc.patch
+++ b/var/spack/repos/builtin/packages/perl/nvhpc-5.30.patch
diff --git a/var/spack/repos/builtin/packages/perl/package.py b/var/spack/repos/builtin/packages/perl/package.py
index 2532f97160..b68bc12bc6 100644
--- a/var/spack/repos/builtin/packages/perl/package.py
+++ b/var/spack/repos/builtin/packages/perl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -39,7 +39,8 @@ class Perl(Package): # Perl doesn't use Autotools, it should subclass Package
version('5.31.4', sha256='418a7e6fe6485cc713a86d1227ef112f0bb3f80322e3b715ffe42851d97804a5')
# Maintenance releases (even numbers, recommended)
- version('5.32.0', sha256='efeb1ce1f10824190ad1cadbcccf6fdb8a5d37007d0100d2d9ae5f2b5900c0b4', preferred=True)
+ version('5.32.1', sha256='03b693901cd8ae807231b1787798cf1f2e0b8a56218d07b7da44f784a7caeb2c', preferred=True)
+ version('5.32.0', sha256='efeb1ce1f10824190ad1cadbcccf6fdb8a5d37007d0100d2d9ae5f2b5900c0b4')
version('5.30.3', sha256='32e04c8bb7b1aecb2742a7f7ac0eabac100f38247352a73ad7fa104e39e7406f')
version('5.30.2', sha256='66db7df8a91979eb576fac91743644da878244cf8ee152f02cd6f5cd7a731689')
version('5.30.1', sha256='bf3d25571ff1ee94186177c2cdef87867fd6a14aa5a84f0b1fb7bf798f42f964')
@@ -77,7 +78,9 @@ class Perl(Package): # Perl doesn't use Autotools, it should subclass Package
patch('macos-11-version-check.patch', when='@5.24.1:5.32.0 platform=darwin')
# Enable builds with the NVIDIA compiler
- patch('nvhpc.patch', when='%nvhpc')
+ patch('nvhpc-5.30.patch', when='@5.30.0:5.30.99 %nvhpc')
+ conflicts('@5.32.0:', when='%nvhpc',
+ msg='The NVIDIA compilers are incompatible with version 5.32 and later')
# Installing cpanm alongside the core makes it safe and simple for
# people/projects to install their own sets of perl modules. Not
@@ -261,6 +264,13 @@ class Perl(Package): # Perl doesn't use Autotools, it should subclass Package
# if it does not exist already.
mkdirp(module.perl_lib_dir)
+ def setup_build_environment(self, env):
+ # This is to avoid failures when using -mmacosx-version-min=11.1
+ # since not all Apple Clang compilers support that version range
+ # See https://eclecticlight.co/2020/07/21/big-sur-is-both-10-16-and-11-0-its-official/
+ if self.spec.satisfies('os=bigsur'):
+ env.set('SYSTEM_VERSION_COMPAT', 1)
+
@run_after('install')
def filter_config_dot_pm(self):
"""Run after install so that Config.pm records the compiler that Spack
diff --git a/var/spack/repos/builtin/packages/pestpp/package.py b/var/spack/repos/builtin/packages/pestpp/package.py
index f888c66638..9c16abb1ca 100644
--- a/var/spack/repos/builtin/packages/pestpp/package.py
+++ b/var/spack/repos/builtin/packages/pestpp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/petsc/package.py b/var/spack/repos/builtin/packages/petsc/package.py
index 4c2c3d4d49..af6b518d03 100644
--- a/var/spack/repos/builtin/packages/petsc/package.py
+++ b/var/spack/repos/builtin/packages/petsc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,6 +19,9 @@ class Petsc(Package):
version('develop', branch='master')
version('xsdk-0.2.0', tag='xsdk-0.2.0')
+ version('3.14.4', sha256='b030969816e02c251a6d010c07a90b69ade44932f9ddfac3090ff5e95ab97d5c')
+ version('3.14.3', sha256='63ed7e3440f2bbc732a6c44aa878364f88f5016ab375d9b36d742893a049053d')
+ version('3.14.2', sha256='87a04fd05cac20a2ec47094b7d18b96e0651257d8c768ced2ef7db270ecfb9cb')
version('3.14.1', sha256='0b4681165a9af96594c794b97ac6993452ec902726679f6b50bb450f89d230ed')
version('3.14.0', sha256='a8f9caba03e0d57d8452c08505cf96be5f6949adaa266e819382162c03ddb9c5')
version('3.13.6', sha256='67ca2cf3040d08fdc51d27f660ea3157732b24c2f47aae1b19d63f62a39842c2')
@@ -78,6 +81,8 @@ class Petsc(Package):
variant('metis', default=True,
description='Activates support for metis and parmetis')
+ variant('ptscotch', default=False,
+ description='Activates support for PTScotch (only parallel)')
variant('hdf5', default=True,
description='Activates support for HDF5 (only parallel)')
variant('hypre', default=True,
@@ -90,6 +95,8 @@ class Petsc(Package):
description='Activates support for SuperluDist (only parallel)')
variant('trilinos', default=False,
description='Activates support for Trilinos (only parallel)')
+ variant('mkl-pardiso', default=False,
+ description='Activates support for MKL Pardiso')
variant('int64', default=False,
description='Compile with 64bit indices')
variant('clanguage', default='C', values=('C', 'C++'),
@@ -145,6 +152,7 @@ class Petsc(Package):
conflicts('+moab', when='~mpi', msg=mpi_msg)
conflicts('+mumps', when='~mpi', msg=mpi_msg)
conflicts('+p4est', when='~mpi', msg=mpi_msg)
+ conflicts('+ptscotch', when='~mpi', msg=mpi_msg)
conflicts('+superlu-dist', when='~mpi', msg=mpi_msg)
conflicts('+trilinos', when='~mpi', msg=mpi_msg)
@@ -191,6 +199,11 @@ class Petsc(Package):
depends_on('metis@5:~int64', when='@3.8:+metis~int64')
depends_on('metis@5:+int64', when='@3.8:+metis+int64')
+ # PTScotch: Currently disable Parmetis wrapper, this means
+ # nested disection won't be available thought PTScotch
+ depends_on('scotch+esmumps~metis+mpi', when='+ptscotch')
+ depends_on('scotch+int64', when='+ptscotch+int64')
+
depends_on('hdf5@:1.10.99+mpi', when='@:3.12.99+hdf5+mpi')
depends_on('hdf5+mpi', when='@3.13:+hdf5+mpi')
depends_on('hdf5+mpi', when='+exodusii+mpi')
@@ -198,7 +211,8 @@ class Petsc(Package):
depends_on('zlib', when='+hdf5')
depends_on('zlib', when='+libpng')
depends_on('zlib', when='+p4est')
- depends_on('parmetis', when='+metis+mpi')
+ depends_on('parmetis+int64', when='+metis+mpi+int64')
+ depends_on('parmetis~int64', when='+metis+mpi~int64')
depends_on('valgrind', when='+valgrind')
# Hypre does not support complex numbers.
# Also PETSc prefer to build it without internal superlu, likely due to
@@ -235,6 +249,7 @@ class Petsc(Package):
depends_on('trilinos@12.6.2:+mpi', when='@3.7.0:+trilinos+mpi')
depends_on('trilinos@xsdk-0.2.0+mpi', when='@xsdk-0.2.0+trilinos+mpi')
depends_on('trilinos@develop+mpi', when='@xdevelop+trilinos+mpi')
+ depends_on('mkl', when='+mkl-pardiso')
depends_on('fftw+mpi', when='+fftw+mpi')
depends_on('suite-sparse', when='+suite-sparse')
depends_on('libx11', when='+X')
@@ -409,6 +424,17 @@ class Petsc(Package):
else:
options.append('--with-suitesparse=0')
+ # PTScotch: Since we are not using the Parmetis wrapper for now,
+ # we cannot use '--with-ptscotch-dir=...'
+ if '+ptscotch' in spec:
+ options.extend([
+ '--with-ptscotch-include=%s' % spec['scotch'].prefix.include,
+ '--with-ptscotch-lib=%s' % spec['scotch'].libs.joined(),
+ '--with-ptscotch=1'
+ ])
+ else:
+ options.append('--with-ptscotch=0')
+
# hdf5: configure detection is convoluted for pflotran
if '+hdf5' in spec:
options.extend([
@@ -430,6 +456,11 @@ class Petsc(Package):
else:
options.append('--with-zlib=0')
+ if '+mkl-pardiso' in spec:
+ options.append(
+ '--with-mkl_pardiso-dir=%s' % spec['mkl'].prefix
+ )
+
python('configure', '--prefix=%s' % prefix, *options)
# PETSc has its own way of doing parallel make.
@@ -478,6 +509,13 @@ class Petsc(Package):
'-pc_type', 'hypre',
'-pc_hypre_type', 'boomeramg')
+ if 'mkl-pardiso' in spec:
+ run('ex50',
+ '-da_grid_x', '4',
+ '-da_grid_y', '4',
+ '-pc_type', 'lu',
+ '-pc_factor_mat_solver_package', 'mkl_pardiso')
+
def setup_build_environment(self, env):
# configure fails if these env vars are set outside of Spack
env.unset('PETSC_DIR')
diff --git a/var/spack/repos/builtin/packages/pexsi/package.py b/var/spack/repos/builtin/packages/pexsi/package.py
index aef5546c9f..e3803b8b98 100644
--- a/var/spack/repos/builtin/packages/pexsi/package.py
+++ b/var/spack/repos/builtin/packages/pexsi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pfapack/package.py b/var/spack/repos/builtin/packages/pfapack/package.py
new file mode 100644
index 0000000000..73c83aac92
--- /dev/null
+++ b/var/spack/repos/builtin/packages/pfapack/package.py
@@ -0,0 +1,66 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Pfapack(MakefilePackage):
+ """A library for numerically computing the Pfaffian of
+ a real or complex skew-symmetric matrix. This is based on
+ computing the tridiagonal form of the matrix under
+ unitary congruence transformations."""
+
+ homepage = "https://michaelwimmer.org/downloads.html"
+ url = "https://michaelwimmer.org/pfapack.tgz"
+
+ version('2014-09-17', sha256='b68fc35dda23ee24c358641b1a92ef701c4ffa0b3f0b0808b24e68afeb58ef07')
+
+ parallel = False
+
+ depends_on('lapack')
+ depends_on('blas')
+ depends_on('python', type=('build', 'run'))
+ depends_on('py-numpy', type=('build', 'run'))
+ depends_on('py-scipy', type=('build', 'run'))
+
+ def edit(self, spec, prefix):
+ filter_file('FORT =.*', 'FORT = {0}'.format(spack_fc),
+ join_path('fortran', 'makefile'))
+ filter_file('CC =.*', 'CC = {0}'.format(spack_cc),
+ join_path('c_interface', 'makefile'))
+
+ def build(self, spec, prefix):
+ source_directory = self.stage.source_path
+ with working_dir(join_path(source_directory, 'fortran')):
+ make()
+ with working_dir(join_path(source_directory, 'c_interface')):
+ make()
+
+ def install(self, spec, prefix):
+ source_directory = self.stage.source_path
+ mkdirp(prefix.fortran)
+ install(join_path(source_directory, 'fortran', 'libpfapack.a'),
+ prefix.fortran)
+ install(join_path(source_directory, 'fortran', '*.mod'),
+ prefix.fortran)
+ install_tree(join_path(source_directory, 'fortran', 'EXAMPLES'),
+ prefix.fortran.EXAMPLES)
+ install_tree(join_path(source_directory, 'fortran', 'TESTING'),
+ prefix.fortran.TESTING)
+ mkdirp(prefix.c_interface)
+ install(join_path(source_directory, 'c_interface', 'libcpfapack.a'),
+ prefix.c_interface)
+ install(join_path(source_directory, 'c_interface', 'fortran.h'),
+ prefix.c_interface)
+ install(join_path(source_directory, 'c_interface',
+ 'fortran_pfapack.h'),
+ prefix.c_interface)
+ install(join_path(source_directory, 'c_interface', 'pfapack.h'),
+ prefix.c_interface)
+ install_tree(join_path(source_directory, 'c_interface', 'EXAMPLES'),
+ prefix.c_interface.EXAMPLES)
+ install_tree(join_path(source_directory, 'c_interface', 'TESTING'),
+ prefix.c_interface.TESTING)
+ install_tree(join_path(source_directory, 'python'), prefix.python)
diff --git a/var/spack/repos/builtin/packages/pfft/package.py b/var/spack/repos/builtin/packages/pfft/package.py
index 0dcbd0bb71..3398abcdd0 100644
--- a/var/spack/repos/builtin/packages/pfft/package.py
+++ b/var/spack/repos/builtin/packages/pfft/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pflask/package.py b/var/spack/repos/builtin/packages/pflask/package.py
index bd2274eeae..f104bbe269 100644
--- a/var/spack/repos/builtin/packages/pflask/package.py
+++ b/var/spack/repos/builtin/packages/pflask/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pflotran/package.py b/var/spack/repos/builtin/packages/pflotran/package.py
index fd300f9285..ed1d37da31 100644
--- a/var/spack/repos/builtin/packages/pflotran/package.py
+++ b/var/spack/repos/builtin/packages/pflotran/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pfunit/package.py b/var/spack/repos/builtin/packages/pfunit/package.py
index 65d8b67365..a1103c118f 100644
--- a/var/spack/repos/builtin/packages/pfunit/package.py
+++ b/var/spack/repos/builtin/packages/pfunit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,6 +17,9 @@ class Pfunit(CMakePackage):
maintainers = ['citibeth']
+ version('4.1.14', sha256='bada2be8d7e69ca1f16209ba92293fa1c06748b78534d71b24b2c825450a495f')
+ version('4.1.13', sha256='f388e08c67c51cbfd9f3a3658baac912b5506d2fc651410cd34a21260c309630')
+ version('4.1.12', sha256='7d71b0fb996497fe9a20eb818d02d596cd0d3cded1033a89a9081fbd925c68f2')
version('4.1.11', sha256='16160bac223aaa3ed2b27e30287d25fdaec3cf6f2c570ebd8d61196e6aa6180f')
version('4.1.10', sha256='051c35ad9678002943f4a4f2ab532a6b44de86ca414751616f93e69f393f5373')
version('3.3.3', sha256='9f673b58d20ad23148040a100227b4f876458a9d9aee0f0d84a5f0eef209ced5')
diff --git a/var/spack/repos/builtin/packages/pgdspider/package.py b/var/spack/repos/builtin/packages/pgdspider/package.py
index 3c6f7ab1f3..efbab33f4d 100644
--- a/var/spack/repos/builtin/packages/pgdspider/package.py
+++ b/var/spack/repos/builtin/packages/pgdspider/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pgi/package.py b/var/spack/repos/builtin/packages/pgi/package.py
index 1ad53bb20b..fc6cf89a7c 100644
--- a/var/spack/repos/builtin/packages/pgi/package.py
+++ b/var/spack/repos/builtin/packages/pgi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,6 +19,7 @@ class Pgi(Package):
set up a mirror, see http://spack.readthedocs.io/en/latest/mirrors.html"""
homepage = "http://www.pgroup.com/"
+ manual_download = True
version('20.4', sha256='f3ecc2104b304cd5c8b20e3ffdb5da88f2b5f7cc148e8daf00561928a5cbbc2e')
version('19.10', sha256='ac9db73ba80a66fe3bc875f63aaa9e16f54674a4e88b25416432430ba8cf203d')
diff --git a/var/spack/repos/builtin/packages/phantompeakqualtools/package.py b/var/spack/repos/builtin/packages/phantompeakqualtools/package.py
index 317d0e753d..1b75780f4c 100644
--- a/var/spack/repos/builtin/packages/phantompeakqualtools/package.py
+++ b/var/spack/repos/builtin/packages/phantompeakqualtools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/phast/package.py b/var/spack/repos/builtin/packages/phast/package.py
index 7f787eb023..fac5739815 100644
--- a/var/spack/repos/builtin/packages/phast/package.py
+++ b/var/spack/repos/builtin/packages/phast/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/phasta/package.py b/var/spack/repos/builtin/packages/phasta/package.py
index 6040d3f875..993ea56fdb 100644
--- a/var/spack/repos/builtin/packages/phasta/package.py
+++ b/var/spack/repos/builtin/packages/phasta/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/phist/package.py b/var/spack/repos/builtin/packages/phist/package.py
index dbc620ff21..c0378765e3 100644
--- a/var/spack/repos/builtin/packages/phist/package.py
+++ b/var/spack/repos/builtin/packages/phist/package.py
@@ -1,10 +1,11 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
+import spack.hooks.sbang as sbang
class Phist(CMakePackage):
@@ -101,6 +102,8 @@ class Phist(CMakePackage):
patch('update_tpetra_gotypes.patch', when='@:1.8.99')
+ patch('sbang.patch', when='+fortran')
+
# ###################### Dependencies ##########################
depends_on('cmake@3.8:', type='build')
@@ -132,6 +135,9 @@ class Phist(CMakePackage):
# to compile some OpenMP statements
conflicts('%gcc@:4.9.1')
+ def setup_build_environment(self, env):
+ env.set('SPACK_SBANG', sbang.sbang_install_path())
+
def cmake_args(self):
spec = self.spec
diff --git a/var/spack/repos/builtin/packages/phist/sbang.patch b/var/spack/repos/builtin/packages/phist/sbang.patch
new file mode 100644
index 0000000000..331ebebabd
--- /dev/null
+++ b/var/spack/repos/builtin/packages/phist/sbang.patch
@@ -0,0 +1,8 @@
+diff --git a/fortran_bindings/cfwrapper.py.in b/fortran_bindings/cfwrapper.py.in
+index 6eb9051..874ce48 100755
+--- a/fortran_bindings/cfwrapper.py.in
++++ b/fortran_bindings/cfwrapper.py.in
+@@ -1,3 +1,4 @@
++#!/bin/bash $ENV{SPACK_SBANG}
+ #!${PYTHON_EXECUTABLE}
+ # -*- coding: utf-8 -*-
diff --git a/var/spack/repos/builtin/packages/phoenix/package.py b/var/spack/repos/builtin/packages/phoenix/package.py
index e6d5afd2b9..9ab52f2115 100644
--- a/var/spack/repos/builtin/packages/phoenix/package.py
+++ b/var/spack/repos/builtin/packages/phoenix/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/photos/package.py b/var/spack/repos/builtin/packages/photos/package.py
index 6304e194aa..7c7407ba66 100644
--- a/var/spack/repos/builtin/packages/photos/package.py
+++ b/var/spack/repos/builtin/packages/photos/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,15 +13,23 @@ class Photos(AutotoolsPackage):
homepage = "http://photospp.web.cern.ch/photospp/"
url = "http://photospp.web.cern.ch/photospp/resources/PHOTOS.3.61/PHOTOS.3.61-LHC.tar.gz"
+ tags = ['hep']
+
+ version('3.64', sha256='cb4096b4804289fc4d54a992caa566cbbd33f41f65f8906deb01200dc5163027')
version('3.61', sha256='acd3bcb769ba2a3e263de399e9b89fd6296405c9cbc5045b83baba3e60db4b26')
+ variant('hepmc', default=True, description='Build with HepMC2 support')
+ variant('hepmc3', default=False, description='Build with HepMC3 support')
+
maintainers = ['vvolkl']
- depends_on('hepmc@:2.99.99')
+ depends_on('hepmc', when='+hepmc')
+ depends_on('hepmc3', when='+hepmc3')
def configure_args(self):
args = []
- args.append('--with-hepmc=%s' % self.spec["hepmc"].prefix)
- args.append('--without-hepmc3')
+ args.extend(self.with_or_without('hepmc', 'prefix'))
+ args.extend(self.with_or_without('hepmc3', 'prefix'))
+
return args
diff --git a/var/spack/repos/builtin/packages/php/package.py b/var/spack/repos/builtin/packages/php/package.py
index d5da45eb94..839afd9d84 100644
--- a/var/spack/repos/builtin/packages/php/package.py
+++ b/var/spack/repos/builtin/packages/php/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/phrap-crossmatch-swat/package.py b/var/spack/repos/builtin/packages/phrap-crossmatch-swat/package.py
index 7cc86e5c7a..6b8f8ff918 100644
--- a/var/spack/repos/builtin/packages/phrap-crossmatch-swat/package.py
+++ b/var/spack/repos/builtin/packages/phrap-crossmatch-swat/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,6 +16,7 @@ class PhrapCrossmatchSwat(MakefilePackage):
homepage = "http://www.phrap.org/phredphrapconsed.html"
url = "file://{0}/phrap-crossmatch-swat-1.090518.tar.gz".format(os.getcwd())
+ manual_download = True
version('1.090518', sha256='81f50c4410e8604cdefcc34ef6dc7b037be3bb45b94c439611a5590c1cf83665')
diff --git a/var/spack/repos/builtin/packages/phred/package.py b/var/spack/repos/builtin/packages/phred/package.py
index cdfc8a41b3..3587bb25f1 100644
--- a/var/spack/repos/builtin/packages/phred/package.py
+++ b/var/spack/repos/builtin/packages/phred/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,6 +13,7 @@ class Phred(MakefilePackage):
homepage = "http://www.phrap.org/phredphrapconsed.html"
url = "file://{0}/phred.tar.gz".format(os.getcwd())
+ manual_download = True
version('071220', sha256='26212f13fa906c1ca0af61f48d52a5f2c1aacba802bf729ba65ca5222463abce')
diff --git a/var/spack/repos/builtin/packages/phylip/package.py b/var/spack/repos/builtin/packages/phylip/package.py
index 8eefcbe512..0639f9cfa6 100644
--- a/var/spack/repos/builtin/packages/phylip/package.py
+++ b/var/spack/repos/builtin/packages/phylip/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/phylobayesmpi/package.py b/var/spack/repos/builtin/packages/phylobayesmpi/package.py
index 9a10a82054..726e8e94e1 100644
--- a/var/spack/repos/builtin/packages/phylobayesmpi/package.py
+++ b/var/spack/repos/builtin/packages/phylobayesmpi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/phyluce/package.py b/var/spack/repos/builtin/packages/phyluce/package.py
index 2d6942b383..5fb589f485 100644
--- a/var/spack/repos/builtin/packages/phyluce/package.py
+++ b/var/spack/repos/builtin/packages/phyluce/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/picard/package.py b/var/spack/repos/builtin/packages/picard/package.py
index b8c0ac199d..d3acce0f18 100644
--- a/var/spack/repos/builtin/packages/picard/package.py
+++ b/var/spack/repos/builtin/packages/picard/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -21,6 +21,7 @@ class Picard(Package):
# They started distributing a single jar file at v2.6.0, prior to
# that it was a .zip file with multiple .jar and .so files
+ version('2.24.0', sha256='70e91039bccc6f6db60f18c41713218a8cdf45f591f02c1012c062152b27cd7b', expand=False)
version('2.20.8', sha256='aff92d618ee9e6bafc1ab4fbfa89fc557a0dbe596ae4b92fe3bf93ebf95c7105', expand=False)
version('2.19.0', sha256='f97fc3f7a73b55cceea8b6a6488efcf1b2fbf8cad61d88645704ddd45a8c5950', expand=False)
version('2.18.3', sha256='0e0fc45d9a822ee9fa562b3bb8f1525a439e4cd541429a1a4ca4646f37189b70', expand=False)
diff --git a/var/spack/repos/builtin/packages/picsar/package.py b/var/spack/repos/builtin/packages/picsar/package.py
index fc5335a91b..b8d7ede7d9 100644
--- a/var/spack/repos/builtin/packages/picsar/package.py
+++ b/var/spack/repos/builtin/packages/picsar/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/picsarlite/package.py b/var/spack/repos/builtin/packages/picsarlite/package.py
index a688bb6c30..a10b6461aa 100644
--- a/var/spack/repos/builtin/packages/picsarlite/package.py
+++ b/var/spack/repos/builtin/packages/picsarlite/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pidx/package.py b/var/spack/repos/builtin/packages/pidx/package.py
index 2f51f09301..eb5892141a 100644
--- a/var/spack/repos/builtin/packages/pidx/package.py
+++ b/var/spack/repos/builtin/packages/pidx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pig/package.py b/var/spack/repos/builtin/packages/pig/package.py
index 1a4e37b357..5a279dd66a 100644
--- a/var/spack/repos/builtin/packages/pig/package.py
+++ b/var/spack/repos/builtin/packages/pig/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pigz/package.py b/var/spack/repos/builtin/packages/pigz/package.py
index c54a518993..1af66b3b2e 100644
--- a/var/spack/repos/builtin/packages/pigz/package.py
+++ b/var/spack/repos/builtin/packages/pigz/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pilon/package.py b/var/spack/repos/builtin/packages/pilon/package.py
index 75600c5854..6bb4ed9ab7 100644
--- a/var/spack/repos/builtin/packages/pilon/package.py
+++ b/var/spack/repos/builtin/packages/pilon/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pindel/package.py b/var/spack/repos/builtin/packages/pindel/package.py
index ef7052b06f..c69c7768c8 100644
--- a/var/spack/repos/builtin/packages/pindel/package.py
+++ b/var/spack/repos/builtin/packages/pindel/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pinentry/package.py b/var/spack/repos/builtin/packages/pinentry/package.py
index 3a9e6e526c..26728fdff8 100644
--- a/var/spack/repos/builtin/packages/pinentry/package.py
+++ b/var/spack/repos/builtin/packages/pinentry/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pinfo/package.py b/var/spack/repos/builtin/packages/pinfo/package.py
index 698897949f..a4ada3a763 100644
--- a/var/spack/repos/builtin/packages/pinfo/package.py
+++ b/var/spack/repos/builtin/packages/pinfo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pipework/package.py b/var/spack/repos/builtin/packages/pipework/package.py
index ad92723f64..eeb19e2eb0 100644
--- a/var/spack/repos/builtin/packages/pipework/package.py
+++ b/var/spack/repos/builtin/packages/pipework/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/piranha/package.py b/var/spack/repos/builtin/packages/piranha/package.py
index c8681c1607..5e92f608db 100644
--- a/var/spack/repos/builtin/packages/piranha/package.py
+++ b/var/spack/repos/builtin/packages/piranha/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -23,8 +23,8 @@ class Piranha(CMakePackage):
# Build dependencies
depends_on('cmake@3.2.0:', type='build')
- extends('python', when='+pyranha')
- depends_on('python@2.6:', type='build', when='+pyranha')
+ extends('python', when='+python')
+ depends_on('python@2.6:', type='build', when='+python')
# Other dependencies
depends_on('boost+iostreams+regex+serialization',
diff --git a/var/spack/repos/builtin/packages/pism/package.py b/var/spack/repos/builtin/packages/pism/package.py
index e25fab43c6..5b672718e5 100644
--- a/var/spack/repos/builtin/packages/pism/package.py
+++ b/var/spack/repos/builtin/packages/pism/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pixman/package.py b/var/spack/repos/builtin/packages/pixman/package.py
index a145edc638..5cb50c6198 100644
--- a/var/spack/repos/builtin/packages/pixman/package.py
+++ b/var/spack/repos/builtin/packages/pixman/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pixz/package.py b/var/spack/repos/builtin/packages/pixz/package.py
index 5fad0583bb..b23b377ae8 100644
--- a/var/spack/repos/builtin/packages/pixz/package.py
+++ b/var/spack/repos/builtin/packages/pixz/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pkg-config/package.py b/var/spack/repos/builtin/packages/pkg-config/package.py
index 0863e920a6..f0f06d81ed 100644
--- a/var/spack/repos/builtin/packages/pkg-config/package.py
+++ b/var/spack/repos/builtin/packages/pkg-config/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,6 +11,7 @@ class PkgConfig(AutotoolsPackage):
and libraries"""
homepage = "http://www.freedesktop.org/wiki/Software/pkg-config/"
+ # URL must remain http:// so Spack can bootstrap curl
url = "http://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz"
version('0.29.2', sha256='6fc69c01688c9458a57eb9a1664c9aba372ccda420a02bf4429fe610e7e7d591')
@@ -30,6 +31,8 @@ class PkgConfig(AutotoolsPackage):
parallel = False
+ tags = ['build-tools']
+
executables = ['^pkg-config$']
@classmethod
diff --git a/var/spack/repos/builtin/packages/pkgconf/package.py b/var/spack/repos/builtin/packages/pkgconf/package.py
index 87978eef11..fdcddf7b56 100644
--- a/var/spack/repos/builtin/packages/pkgconf/package.py
+++ b/var/spack/repos/builtin/packages/pkgconf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -37,6 +37,8 @@ class Pkgconf(AutotoolsPackage):
# https://github.com/spack/spack/issues/3525
conflicts('%pgi')
+ tags = ['build-tools']
+
executables = ['^pkgconf$', '^pkg-config$']
@classmethod
diff --git a/var/spack/repos/builtin/packages/pktools/package.py b/var/spack/repos/builtin/packages/pktools/package.py
index ae26bba54a..c886fe4206 100644
--- a/var/spack/repos/builtin/packages/pktools/package.py
+++ b/var/spack/repos/builtin/packages/pktools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/planck-likelihood/package.py b/var/spack/repos/builtin/packages/planck-likelihood/package.py
index 7277ce5298..5079e7a3aa 100644
--- a/var/spack/repos/builtin/packages/planck-likelihood/package.py
+++ b/var/spack/repos/builtin/packages/planck-likelihood/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/plasma/package.py b/var/spack/repos/builtin/packages/plasma/package.py
index 99ee4cb3a1..8d192a4a38 100644
--- a/var/spack/repos/builtin/packages/plasma/package.py
+++ b/var/spack/repos/builtin/packages/plasma/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/platypus/package.py b/var/spack/repos/builtin/packages/platypus/package.py
index 841464d5ec..18e65260f6 100644
--- a/var/spack/repos/builtin/packages/platypus/package.py
+++ b/var/spack/repos/builtin/packages/platypus/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/plink-ng/package.py b/var/spack/repos/builtin/packages/plink-ng/package.py
index 27b4a4ca95..11a44f5f1c 100644
--- a/var/spack/repos/builtin/packages/plink-ng/package.py
+++ b/var/spack/repos/builtin/packages/plink-ng/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/plink/package.py b/var/spack/repos/builtin/packages/plink/package.py
index 83bc26409a..bf209fe0d2 100644
--- a/var/spack/repos/builtin/packages/plink/package.py
+++ b/var/spack/repos/builtin/packages/plink/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/plplot/package.py b/var/spack/repos/builtin/packages/plplot/package.py
index 166890da95..6ed1fb5eaf 100644
--- a/var/spack/repos/builtin/packages/plplot/package.py
+++ b/var/spack/repos/builtin/packages/plplot/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/plumed/package.py b/var/spack/repos/builtin/packages/plumed/package.py
index 0eae1ac429..ad14b7d2cd 100644
--- a/var/spack/repos/builtin/packages/plumed/package.py
+++ b/var/spack/repos/builtin/packages/plumed/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -25,9 +25,11 @@ class Plumed(AutotoolsPackage):
git = 'https://github.com/plumed/plumed2.git'
version('master', branch='master')
+ version('2.7.0', sha256='14450ea566c25ac9bf71fd77bb9c0c95e9038462b5739c73a515be82e2011cd6')
+ version('2.6.2', preferred=True, sha256='bbc2ef0cb08d404513b8b737c72333b6656389e15effd6a0f9ace2a5758c9a4a')
version('2.6.1', sha256='c1b3c397b2d971140aa240dde50e48a04ce78e3dedb02b6dca80fa53f8026e4e')
version('2.6.0', sha256='3d57ae460607a49547ef38a52c4ac93493a3966857c352280a9c05f5dcdb1820')
- version('2.5.5', preferred=True, sha256='70faa9ff1938e286dc388cb793b39840953e5646855b684f48df1bc864b737e8')
+ version('2.5.5', sha256='70faa9ff1938e286dc388cb793b39840953e5646855b684f48df1bc864b737e8')
version('2.5.4', sha256='a1647e598191f261e75d06351e607475d395af481315052a4c28563ac9989a7f')
version('2.5.3', sha256='543288be667dc4201fc461ecd2dd4878ddfbeac682d0c021c99ea8e501c7c9dc')
version('2.5.2', sha256='85d10cc46e2e37c7719cf51c0931278f56c2c8f8a9d86188b2bf97c2535a2ab4')
@@ -56,6 +58,9 @@ class Plumed(AutotoolsPackage):
variant('shared', default=True, description='Builds shared libraries')
variant('mpi', default=True, description='Activates MPI support')
variant('gsl', default=True, description='Activates GSL support')
+ variant('arrayfire', default='none',
+ values=('none', 'cpu', 'cuda', 'opencl'),
+ description='Activates FireArray support')
# Dependencies. LAPACK and BLAS are recommended but not essential.
depends_on('zlib')
@@ -64,6 +69,9 @@ class Plumed(AutotoolsPackage):
# For libmatheval support through the 'function' module
# which is enabled by default (or when optional_modules=all)
depends_on('libmatheval', when='@:2.4.99')
+ depends_on('arrayfire', when='arrayfire=cpu')
+ depends_on('arrayfire+cuda', when='arrayfire=cuda')
+ depends_on('arrayfire+opencl', when='arrayfire=opencl')
depends_on('mpi', when='+mpi')
depends_on('gsl', when='+gsl')
@@ -126,6 +134,14 @@ class Plumed(AutotoolsPackage):
# provided by optimized libraries due to linking order
filter_file('-lgslcblas', '', 'configure.ac')
+ def patch(self):
+ # Ensure Spack's wrappers are used to compile the Python interface
+ env = 'CXX={0} LDSHARED="{0} -pthread -shared" ' \
+ 'LDCXXSHARED="{0} -pthread -shared"'.format(spack_cxx)
+ filter_file('plumed_program_name=plumed',
+ '{0} plumed_program_name=plumed'.format(env),
+ 'src/lib/Makefile', 'python/Makefile')
+
def configure_args(self):
spec = self.spec
@@ -158,18 +174,31 @@ class Plumed(AutotoolsPackage):
'STATIC_LIBS=-mt_mpi'
])
+ extra_libs = []
# Set flags to help find gsl
- if '+gsl' in self.spec:
- gsl_libs = self.spec['gsl'].libs
- blas_libs = self.spec['blas'].libs
- configure_opts.append('LDFLAGS={0}'.format(
+ if '+gsl' in spec:
+ gsl_libs = spec['gsl'].libs
+ blas_libs = spec['blas'].libs
+ extra_libs.append(
(gsl_libs + blas_libs).ld_flags
+ )
+ # Set flags to help with ArrayFire
+ if 'arrayfire=none' not in spec:
+ libaf = 'arrayfire:{0}'.format(spec.variants['arrayfire'].value)
+ extra_libs.append(spec[libaf].libs.search_flags)
+
+ if extra_libs:
+ configure_opts.append('LDFLAGS={0}'.format(
+ ' '.join(extra_libs)
))
# Additional arguments
configure_opts.extend([
'--enable-shared={0}'.format('yes' if '+shared' in spec else 'no'),
- '--enable-gsl={0}'.format('yes' if '+gsl' in spec else 'no')
+ '--enable-gsl={0}'.format('yes' if '+gsl' in spec else 'no'),
+ '--enable-af_cpu={0}'.format('yes' if 'arrayfire=cpu' in spec else 'no'),
+ '--enable-af_cuda={0}'.format('yes' if 'arrayfire=cuda' in spec else 'no'),
+ '--enable-af_ocl={0}'.format('yes' if 'arrayfire=ocl' in spec else 'no')
])
# Construct list of optional modules
diff --git a/var/spack/repos/builtin/packages/ply/package.py b/var/spack/repos/builtin/packages/ply/package.py
new file mode 100644
index 0000000000..830a5ef718
--- /dev/null
+++ b/var/spack/repos/builtin/packages/ply/package.py
@@ -0,0 +1,26 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Ply(AutotoolsPackage):
+ """A light-weight dynamic tracer for Linux that leverages the
+ kernel's BPF VM in concert with kprobes and tracepoints to attach
+ probes to arbitrary points in the kernel."""
+
+ homepage = "https://github.com/iovisor/ply"
+ git = "https://github.com/iovisor/ply.git"
+
+ version('2.1.1', commit='899afb0c35ba2191dd7aa21f13bc7fde2655c475')
+
+ depends_on('autoconf', type='build')
+ depends_on('automake', type='build')
+ depends_on('libtool', type='build')
+ depends_on('m4', type='build')
+
+ def autoreconf(self, spec, prefix):
+ bash = which("bash")
+ bash('./autogen.sh')
diff --git a/var/spack/repos/builtin/packages/pmdk/package.py b/var/spack/repos/builtin/packages/pmdk/package.py
index 54e777bf52..9653653f8d 100644
--- a/var/spack/repos/builtin/packages/pmdk/package.py
+++ b/var/spack/repos/builtin/packages/pmdk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pmerge/package.py b/var/spack/repos/builtin/packages/pmerge/package.py
new file mode 100644
index 0000000000..91411de322
--- /dev/null
+++ b/var/spack/repos/builtin/packages/pmerge/package.py
@@ -0,0 +1,29 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Pmerge(AutotoolsPackage):
+ """PMERGE implements a new method that identifies candidate PSVs by
+ building networks of loci that share high levels of nucleotide
+ similarity. The PMERGE is embedded in the analysis pipeline of the
+ widely used Stacks software, and it is straightforward to apply it as
+ an additional filter in population-genomic studies using RAD-seq
+ data."""
+
+ homepage = "https://github.com/beiko-lab/PMERGE"
+ git = "https://github.com/beiko-lab/PMERGE.git"
+
+ version('master', branch='master')
+
+ depends_on('automake@1.14:1.14.99', type='build')
+ depends_on('autoconf', type='build')
+ depends_on('m4', type='build')
+ depends_on('perl', type='build')
+
+ @property
+ def configure_directory(self):
+ return 'Install'
diff --git a/var/spack/repos/builtin/packages/pmgr-collective/package.py b/var/spack/repos/builtin/packages/pmgr-collective/package.py
index 80cb96cfc3..47e60fa550 100644
--- a/var/spack/repos/builtin/packages/pmgr-collective/package.py
+++ b/var/spack/repos/builtin/packages/pmgr-collective/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pmix/package.py b/var/spack/repos/builtin/packages/pmix/package.py
index b752aca0bf..40baaa9d03 100644
--- a/var/spack/repos/builtin/packages/pmix/package.py
+++ b/var/spack/repos/builtin/packages/pmix/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -37,6 +37,8 @@ class Pmix(AutotoolsPackage):
maintainers = ['rhc54']
version('master', branch='master')
+ version('3.2.1', sha256='7e5db8ada5828cf85c12f70db6bfcf777d13e5c4c73b2206bb5e394d47066a2b')
+ version('3.1.5', sha256='88934195174455df478b996313095df25b51d0caf5a5cce01b22f0ccdc6c5cf7')
version('3.1.3', sha256='118acb9c4e10c4e481406dcffdfa762f314af50db75336bf8460e53b56dc439d')
version('3.1.2', sha256='28aed0392d4ca2cdfbdd721e6210c94dadc9830677fea37a0abe9d592c00f9c3')
version('3.0.2', sha256='df68f35a3ed9517eeade80b13855cebad8fde2772b36a3f6be87559b6d430670')
@@ -59,6 +61,10 @@ class Pmix(AutotoolsPackage):
description="allow a PMIx server to request services from "
"a system-level REST server")
+ variant('docs',
+ default=False,
+ description='Build manpages')
+
depends_on('libevent@2.0.20:2.0.22,2.1.8')
depends_on('hwloc@1.11.0:1.11.99,2.0.1:', when='@3.0.0:')
depends_on("m4", type=("build"), when="@master")
@@ -68,6 +74,7 @@ class Pmix(AutotoolsPackage):
depends_on("perl", type=("build"), when="@master")
depends_on('curl', when="+restful")
depends_on('jansson@2.11:', when="+restful")
+ depends_on('pandoc', type='build', when='+docs')
conflicts('@:3.9.9', when='+restful')
@@ -93,6 +100,9 @@ class Pmix(AutotoolsPackage):
else:
config_args.append('--disable-pmi-backward-compatibility')
+ if '~docs' in self.spec:
+ config_args.append('--disable-man-pages')
+
# libevent support
config_args.append(
'--with-libevent={0}'.format(spec['libevent'].prefix))
diff --git a/var/spack/repos/builtin/packages/pmlib/package.py b/var/spack/repos/builtin/packages/pmlib/package.py
index 3c7ea4a0ed..31cd0a2404 100644
--- a/var/spack/repos/builtin/packages/pmlib/package.py
+++ b/var/spack/repos/builtin/packages/pmlib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pnfft/package.py b/var/spack/repos/builtin/packages/pnfft/package.py
index 209263a440..ed8e7fac28 100644
--- a/var/spack/repos/builtin/packages/pnfft/package.py
+++ b/var/spack/repos/builtin/packages/pnfft/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pngquant/package.py b/var/spack/repos/builtin/packages/pngquant/package.py
index a6bcd69de7..7ceaaf4a88 100644
--- a/var/spack/repos/builtin/packages/pngquant/package.py
+++ b/var/spack/repos/builtin/packages/pngquant/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pngwriter/package.py b/var/spack/repos/builtin/packages/pngwriter/package.py
index a544f48247..49b4f46fa9 100644
--- a/var/spack/repos/builtin/packages/pngwriter/package.py
+++ b/var/spack/repos/builtin/packages/pngwriter/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pnmpi/package.py b/var/spack/repos/builtin/packages/pnmpi/package.py
index 8c936455b7..5efe1533eb 100644
--- a/var/spack/repos/builtin/packages/pnmpi/package.py
+++ b/var/spack/repos/builtin/packages/pnmpi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/poamsa/package.py b/var/spack/repos/builtin/packages/poamsa/package.py
index deba0f0544..5cb548b0ee 100644
--- a/var/spack/repos/builtin/packages/poamsa/package.py
+++ b/var/spack/repos/builtin/packages/poamsa/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pocl/package.py b/var/spack/repos/builtin/packages/pocl/package.py
index 121b240e28..e22b6b4747 100644
--- a/var/spack/repos/builtin/packages/pocl/package.py
+++ b/var/spack/repos/builtin/packages/pocl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -20,6 +20,7 @@ class Pocl(CMakePackage):
git = "https://github.com/pocl/pocl.git"
version("master", branch="master")
+ version('1.6', sha256='b0a4c0c056371b6f0db726b88fbb76bbee94948fb2abd4dbc8d958f7c42f766c')
version('1.5', sha256='4fcf4618171727d165fc044d465a66e3119217bb4577a97374f94fcd8aed330e')
version('1.4', sha256='ec237faa83bb1c803fbdf7c6e83d8a2ad68b6f0ed1879c3aa16c0e1dcc478742')
version('1.3', sha256='6527e3f47fab7c21e96bc757c4ae3303901f35e23f64642d6da5cc4c4fcc915a')
@@ -32,6 +33,9 @@ class Pocl(CMakePackage):
version('0.11', sha256='24bb801fb87d104b66faaa95d1890776fdeabb37ad1b12fb977281737c7f29bb')
version('0.10', sha256='e9c38f774a77e61f66d850b705a5ba42d49356c40e75733db4c4811e091e5088')
+ conflicts('@:1.5', when='target=a64fx',
+ msg='a64fx is supported by pocl v1.6 and above.')
+
# This is Github's pocl/pocl#373
patch("uint.patch", when="@:0.13")
patch("vecmathlib.patch", when="@:0.13")
@@ -51,7 +55,8 @@ class Pocl(CMakePackage):
# enabled by default, and also because they fail to build for us
# (see #1616)
# These are the supported LLVM versions
- depends_on("llvm +clang @6.0:10.0", when="@master")
+ depends_on("llvm +clang @6.0:11.0", when="@master")
+ depends_on("llvm +clang +shared_libs @6.0:11.0", when="@1.6")
depends_on("llvm +clang @6.0:10.0", when="@1.5")
depends_on("llvm +clang @6.0:9.0", when="@1.4")
depends_on("llvm +clang @5.0:8.0", when="@1.3")
diff --git a/var/spack/repos/builtin/packages/podio/package.py b/var/spack/repos/builtin/packages/podio/package.py
index ebb1c0e880..bec083e0c3 100644
--- a/var/spack/repos/builtin/packages/podio/package.py
+++ b/var/spack/repos/builtin/packages/podio/package.py
@@ -1,10 +1,8 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
-from spack import *
-
class Podio(CMakePackage):
"""PODIO, or plain-old-data I/O, is a C++ library to support the creation
@@ -16,13 +14,16 @@ class Podio(CMakePackage):
maintainers = ['vvolkl', 'drbenmorgan']
+ tags = ["hep", "key4hep"]
+
version('master', branch='master')
- version('0.12.0', sha256='1729a2ce21e8b307fc37dfb9a9f5ae031e9f4be4992385cf99dba3e5fdf5323a')
- version('0.11.0', sha256='4b2765566a14f0ddece2c894634e0a8e4f42f3e44392addb9110d856f6267fb6')
- version('0.10.0', sha256='b5b42770ec8b96bcd2748abc05669dd3e4d4cc84f81ed57d57d2eda1ade90ef2')
+ version('0.13', sha256='e9cbd4e25730003d3706ad82e28b15cb5bdc524a78b0a26e90b89ea852101498')
+ version('0.12', sha256='1729a2ce21e8b307fc37dfb9a9f5ae031e9f4be4992385cf99dba3e5fdf5323a')
+ version('0.11', sha256='4b2765566a14f0ddece2c894634e0a8e4f42f3e44392addb9110d856f6267fb6')
+ version('0.10', sha256='b5b42770ec8b96bcd2748abc05669dd3e4d4cc84f81ed57d57d2eda1ade90ef2')
version('0.9.2', sha256='8234d1b9636029124235ef81199a1220968dcc7fdaeab81cdc96a47af332d240')
- version('0.9.0', sha256='3cde67556b6b76fd2d004adfaa3b3b6173a110c0c209792bfdb5f9353e21076f')
- version('0.8.0', sha256='9d035a7f5ebfae5279a17405003206853271af692f762e2bac8e73825f2af327')
+ version('0.9', sha256='3cde67556b6b76fd2d004adfaa3b3b6173a110c0c209792bfdb5f9353e21076f')
+ version('0.8', sha256='9d035a7f5ebfae5279a17405003206853271af692f762e2bac8e73825f2af327')
variant('build_type', default='Release',
description='The build type to build',
@@ -41,29 +42,46 @@ class Podio(CMakePackage):
depends_on('python', type=('build', 'run'))
depends_on('py-pyyaml', type=('build', 'run'))
depends_on('py-jinja2@2.10.1:', type=('build', 'run'), when='@0.12.0:')
- depends_on('sio', type=('build', 'run'), when='+sio')
+ depends_on('sio', type=('build', 'link'), when='+sio')
conflicts('+sio', when='@:0.12', msg='sio support requires at least podio@0.13')
def cmake_args(self):
args = [
- self.define('BUILD_TESTING', self.run_tests),
self.define_from_variant('ENABLE_SIO', 'sio')
]
return args
+ def setup_run_environment(self, env):
+ env.prepend_path('PYTHONPATH', self.prefix.python)
+
def url_for_version(self, version):
- # podio releases are dashes and padded with a leading zero
- # the patch version is omitted when 0
- # so for example v01-12-01, v01-12 ...
- major = (str(version[0]).zfill(2))
- minor = (str(version[1]).zfill(2))
- patch = (str(version[2]).zfill(2))
- if version[2] == 0:
- url = "https://github.com/AIDASoft/podio/archive/v%s-%s.tar.gz" % (major, minor)
+ """Translate version numbers to ilcsoft conventions.
+ in spack, the convention is: 0.1 (or 0.1.0) 0.1.1, 0.2, 0.2.1 ...
+ in ilcsoft, releases are dashed and padded with a leading zero
+ the patch version is omitted when 0
+ so for example v01-12-01, v01-12 ...
+ :param self: spack package class that has a url
+ :type self: class: `spack.PackageBase`
+ :param version: version
+ :type param: str
+ """
+ base_url = self.url.rsplit('/', 1)[0]
+
+ if len(version) == 1:
+ major = version[0]
+ minor, patch = 0, 0
+ elif len(version) == 2:
+ major, minor = version
+ patch = 0
else:
- url = "https://github.com/AIDASoft/podio/archive/v%s-%s-%s.tar.gz" % (major, minor, patch)
- return url
+ major, minor, patch = version
- def setup_run_environment(self, env):
- env.prepend_path('PYTHONPATH', self.prefix.python)
+ # By now the data is normalized enough to handle it easily depending
+ # on the value of the patch version
+ if patch == 0:
+ version_str = 'v%02d-%02d.tar.gz' % (major, minor)
+ else:
+ version_str = 'v%02d-%02d-%02d.tar.gz' % (major, minor, patch)
+
+ return base_url + '/' + version_str
diff --git a/var/spack/repos/builtin/packages/polymake/package.py b/var/spack/repos/builtin/packages/polymake/package.py
index f32033188c..3bede01dad 100644
--- a/var/spack/repos/builtin/packages/polymake/package.py
+++ b/var/spack/repos/builtin/packages/polymake/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/poplddecay/package.py b/var/spack/repos/builtin/packages/poplddecay/package.py
index 6dbf55dc27..4a90da46b0 100644
--- a/var/spack/repos/builtin/packages/poplddecay/package.py
+++ b/var/spack/repos/builtin/packages/poplddecay/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/poppler-data/package.py b/var/spack/repos/builtin/packages/poppler-data/package.py
index 19d0c0e3c7..f6d5c29001 100644
--- a/var/spack/repos/builtin/packages/poppler-data/package.py
+++ b/var/spack/repos/builtin/packages/poppler-data/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/poppler/package.py b/var/spack/repos/builtin/packages/poppler/package.py
index 7368e73428..6123ff06a1 100644
--- a/var/spack/repos/builtin/packages/poppler/package.py
+++ b/var/spack/repos/builtin/packages/poppler/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/popt/package.py b/var/spack/repos/builtin/packages/popt/package.py
index 4256f4385f..2824706299 100644
--- a/var/spack/repos/builtin/packages/popt/package.py
+++ b/var/spack/repos/builtin/packages/popt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,7 +14,7 @@ class Popt(AutotoolsPackage):
version('1.16', sha256='e728ed296fe9f069a0e005003c3d6b2dde3d9cad453422a10d6558616d304cc8')
- depends_on('libiconv')
+ depends_on('iconv')
def patch(self):
# Remove flags not recognized by the NVIDIA compilers
diff --git a/var/spack/repos/builtin/packages/porta/package.py b/var/spack/repos/builtin/packages/porta/package.py
index b61ed84db0..41c5778ea0 100644
--- a/var/spack/repos/builtin/packages/porta/package.py
+++ b/var/spack/repos/builtin/packages/porta/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/portage/package.py b/var/spack/repos/builtin/packages/portage/package.py
index 95c881ae6c..29df97cbdb 100644
--- a/var/spack/repos/builtin/packages/portage/package.py
+++ b/var/spack/repos/builtin/packages/portage/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,52 +14,92 @@ class Portage(CMakePackage):
"""
homepage = "http://portage.lanl.gov/"
git = "https://github.com/laristra/portage.git"
+ url = "https://github.com/laristra/portage/releases/download/3.0.0/portage-3.0.0.tar.gz"
+
+ maintainers = ['raovgarimella']
# tarballs don't have submodules, so use git tags
- version('develop', branch='master', submodules=True)
- version('1.2.2', tag='v1.2.2', submodules=True)
- version('1.1.1', tag='v1.1.1', submodules=True)
- version('1.1.0', tag='v1.1.0', submodules=True)
-
- # fabs() needs math.h for gcc-7, got fixed in
- # versions above 1.2.2
- patch('gcc-7.patch', when='@:1.2.2 %gcc@7:')
- # part of https://github.com/laristra/cinch/commit/f87f848269fac25aa5b8d0bd5d9c9b2d2d6fb0ad
- # fixed in version above 1.2.2
- patch('p_lapacke_config.patch', when='@1.2.2')
- # don't enable debug prints in RelWithDebInfo build
- # fixed in version above 1.2.2
- patch('rel-with-deb-info.patch', when='@1.2.2')
-
- # intel/19.0.4 got an ICE (internal compiler error) compiling pairs.cc
- patch('p_intel_ice.patch', when='@1.2.2')
+ version('3.0.0', sha256='7a5a21ffbc35fa54a5136d937cfda6f836c7496ff2b5adf54deb4107501333da')
+ version('master', branch='master', submodules=True)
variant('mpi', default=True, description='Support MPI')
+ variant('tangram', default=False, description='Use Tangram interface reconstruction package')
+ variant('jali', default=False, description='Include support for Jali mesh framework')
+ variant('flecsisp', default=False, description='Include support for FleCSI mesh framework')
+ variant('thrust', default=False, description='Enable on-node parallelism using NVidia Thrust library')
+ variant('kokkos', default=False, description='Enable on-node or device parallelism with Kokkos')
+ variant('openmp', default=False, description="Enable on-node parallelism using OpenMP")
+ variant('cuda', default=False, description="Enable GPU parallelism using CUDA")
+
+ depends_on("cmake@3.13:", type='build')
- depends_on("cmake@3.1:", type='build')
depends_on('mpi', when='+mpi')
- depends_on('lapack')
- depends_on('boost')
+
+ depends_on('tangram', when='+tangram')
+ depends_on('tangram+mpi', when='+tangram+mpi')
+ depends_on('tangram+jali', when='+tangram+jali')
+ depends_on('tangram+flecsisp', when='+tangram+flecsisp')
+ depends_on('tangram+thrust', when='+tangram+thrust')
+ depends_on('tangram+kokkos', when='+tangram+kokkos')
+ depends_on('tangram+cuda', when='+tangram+cuda')
+
+ depends_on('wonton')
+ depends_on('wonton+mpi', when='+mpi')
+ depends_on('wonton+jali', when='+jali')
+ depends_on('wonton+flecsisp', when='+flecsisp')
+ depends_on('wonton+thrust', when='+thrust')
+ depends_on('wonton+kokkos', when='+kokkos')
+ depends_on('wonton+openmp', when='+openmp')
+ depends_on('wonton+cuda', when='+cuda')
+
+ # Jali needs MPI
+ conflicts('+jali ~mpi')
+
+ # Thrust with CUDA does not work as yet
+ conflicts('+thrust +cuda')
+
+ # Don't enable Kokkos and Thrust simultaneously
+ conflicts('+thrust +kokkos')
def cmake_args(self):
- options = ['-DENABLE_UNIT_TESTS=ON', '-DENABLE_APP_TESTS=ON']
+ options = []
if '+mpi' in self.spec:
- options.extend([
- '-DENABLE_MPI=ON',
- '-DENABLE_MPI_CXX_BINDINGS=ON',
- '-DCMAKE_CXX_COMPILER=%s' % self.spec['mpi'].mpicxx,
- '-DCMAKE_C_COMPILER=%s' % self.spec['mpi'].mpicc,
- ])
+ options.append('-DPORTAGE_ENABLE_MPI=ON')
else:
- options.append('-DENABLE_MPI=OFF')
+ options.append('-DPORTAGE_ENABLE_MPI=OFF')
- options.append('-DBLA_VENDOR=' + self.spec['blas'].name.upper())
- options.append('-DBLAS_LIBRARIES=' + self.spec['blas'].libs.joined())
- options.append('-DLAPACK_LIBRARIES=' +
- self.spec['lapack'].libs.joined())
+ if '+thrust' in self.spec:
+ options.append('-DPORTAGE_ENABLE_THRUST=ON')
+ else:
+ options.append('-DPORTAGE_ENABLE_THRUST=OFF')
- options.append("-DLAPACKE_LIBRARY=" +
- self.spec["lapack:c"].libs.joined(";"))
+ if '+kokkos' in self.spec:
+ options.append('-DPORTAGE_ENABLE_Kokkos=ON')
+ else:
+ options.append('-DPORTAGE_ENABLE_Kokkos=OFF')
+
+ if '+jali' in self.spec:
+ options.append('-DPORTAGE_ENABLE_Jali=ON')
+ else:
+ options.append('-DPORTAGE_ENABLE_Jali=OFF')
+
+ if '+flecsi' in self.spec:
+ options.append('-DPORTAGE_ENABLE_FleCSI=ON')
+ else:
+ options.append('-DPORTAGE_ENABLE_FleCSI=OFF')
+
+ if '+tangram' in self.spec:
+ options.append('-DPORTAGE_ENABLE_TANGRAM=ON')
+ else:
+ options.append('-DPORTAGE_ENABLE_TANGRAM=OFF')
+
+ # Unit test variant
+ if self.run_tests:
+ options.append('-DENABLE_UNIT_TESTS=ON')
+ options.append('-DENABLE_APP_TESTS=ON')
+ else:
+ options.append('-DENABLE_UNIT_TESTS=OFF')
+ options.append('-DENABLE_APP_TESTS=OFF')
return options
diff --git a/var/spack/repos/builtin/packages/portcullis/package.py b/var/spack/repos/builtin/packages/portcullis/package.py
index 6c4d0222c2..9f5b35a805 100644
--- a/var/spack/repos/builtin/packages/portcullis/package.py
+++ b/var/spack/repos/builtin/packages/portcullis/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/postgis/package.py b/var/spack/repos/builtin/packages/postgis/package.py
index 95d7faee98..a0f3ddd57d 100644
--- a/var/spack/repos/builtin/packages/postgis/package.py
+++ b/var/spack/repos/builtin/packages/postgis/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/postgresql/package.py b/var/spack/repos/builtin/packages/postgresql/package.py
index 328203138c..902d8e1258 100644
--- a/var/spack/repos/builtin/packages/postgresql/package.py
+++ b/var/spack/repos/builtin/packages/postgresql/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -44,6 +44,7 @@ class Postgresql(AutotoolsPackage):
variant('tcl', default=False, description='Enable Tcl bindings.')
variant('gssapi', default=False,
description='Build with GSSAPI functionality.')
+ variant('xml', default=False, description='Build with XML support.')
depends_on('readline', when='lineedit=readline')
depends_on('libedit', when='lineedit=libedit')
@@ -51,6 +52,7 @@ class Postgresql(AutotoolsPackage):
depends_on('tcl', when='+tcl')
depends_on('perl', when='+perl')
depends_on('python', when='+python')
+ depends_on('libxml2', when='+xml')
def configure_args(self):
config_args = ["--with-openssl"]
@@ -77,6 +79,9 @@ class Postgresql(AutotoolsPackage):
if '+tcl' in self.spec:
config_args.append('--with-tcl')
+ if '+xml' in self.spec:
+ config_args.append('--with-libxml')
+
return config_args
def install(self, spec, prefix):
diff --git a/var/spack/repos/builtin/packages/povray/fix_prebuild.sh.patch b/var/spack/repos/builtin/packages/povray/fix_prebuild.sh.patch
new file mode 100644
index 0000000000..785dc433b3
--- /dev/null
+++ b/var/spack/repos/builtin/packages/povray/fix_prebuild.sh.patch
@@ -0,0 +1,15 @@
+diff -Naur spack-src/unix/prebuild.sh spack-src.patched/unix/prebuild.sh
+--- spack-src/unix/prebuild.sh 2020-11-19 16:49:04.573263288 -0500
++++ spack-src.patched/unix/prebuild.sh 2020-11-19 16:51:35.599850471 -0500
+@@ -62,8 +62,9 @@
+
+ # Prevents running from another directory.
+ if test x"`dirname $0`" != x"."; then
+- echo "$0: must ran from POV-Ray's unix/ directory"
+- exit 1
++ wdir=`dirname $0`
++ echo >&2 "Changing directory to '$wdir' ..."
++ cd $wdir
+ fi
+
+ # Check optional argument.
diff --git a/var/spack/repos/builtin/packages/povray/package.py b/var/spack/repos/builtin/packages/povray/package.py
new file mode 100644
index 0000000000..4c622475af
--- /dev/null
+++ b/var/spack/repos/builtin/packages/povray/package.py
@@ -0,0 +1,157 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+# For getting fqdn for defaulting COMPILED_BY
+import socket
+# For getting username for defaulting COMPILED_BY
+import getpass
+
+
+class Povray(AutotoolsPackage):
+ """The Persistence of Vision Raytracer creates three-dimensional,
+ photo-realistic images using a rendering technique called ray-tracing. It
+ reads in a text file containing information describing the objects and
+ lighting in a scene and generates an image of that scene from the view
+ point of a camera also described in the text file. Ray-tracing is not a
+ fast process by any means, but it produces very high quality images with
+ realistic reflections, shading, perspective and other effects.
+ """
+
+ # Add a proper url for your package's homepage here.
+ homepage = "http://povray.org/download/"
+ url = "https://github.com/POV-Ray/povray/archive/v3.7.0.8.tar.gz"
+ git = "https://github.com/POV-Ray/povray.git"
+
+ # maintainers = ['payerle' ]
+
+ version('3.7.0.8', sha256='53d11ebd2972fc452af168a00eb83aefb61387662c10784e81b63e44aa575de4')
+
+ variant('boost', default=True, description='Build with boost support')
+ variant('debug', default=False,
+ description='Enable compiler debugging mode')
+ variant('io-restrictions', default=True,
+ description='Enable POV-Rays mechanism for control of I/O '
+ 'operations')
+ variant('jpeg', default=True, description='Build with jpeg support')
+ variant('libpng', default=True, description='Build with libpng support')
+ variant('libtiff', default=True, description='Build with libtiff support')
+ variant('mkl', default=True, description='Build with Intel MKL support')
+ variant('openexr', default=True, description='Build with OpenEXR support')
+ variant('profile', default=False,
+ description='Enable program execution profiling')
+ variant('static', default=False,
+ description='Build static instead shared binaries')
+ variant('zlib', default=True, description='Build with zlib support')
+ # SDL support is limited to sdl version 1, not sdl2, and spack currently
+ # only supports sdl2
+ # variant('sdl', default=True,
+ # description='Build with SDL support (for display preview)')
+ # X11 support requires SDL, and I believe therefore lacks support for
+ # remote displays. As we do not have SDL support, no X11 support
+ # variant('x11', default=True, description='Build with X11 support')
+
+ # Build dependencies
+ depends_on('autoconf@2.59:', type='build')
+ depends_on('automake@1.9:', type='build')
+ depends_on('perl', type='build')
+ depends_on('m4', type='build')
+ depends_on('boost@1.37:', when='+boost')
+ depends_on('zlib@1.2.1:', when='+zlib')
+ depends_on('libpng@1.2.5:', when='+libpng')
+ depends_on('jpeg', when='+jpeg')
+ depends_on('libtiff@3.6.1:', when='+libtiff')
+ depends_on('mkl', when='+mkl')
+ depends_on('openexr@1.2:', when='+openexr')
+
+ # MKL conflicts
+ conflicts('+mkl', when='target=aarch64:',
+ msg='Intel MKL only runs on x86')
+ conflicts('+mkl', when='target=ppc64:',
+ msg='Intel MKL only runs on x86')
+ conflicts('+mkl', when='target=ppc64le:',
+ msg='Intel MKL only runs on x86')
+
+ # This patch enables prebuild.sh to be invoked from any directory
+ # (it immediately cds to the directory containing prebuild.sh)
+ # This is better than a broken check that it was called from the
+ # containing directory
+ patch('fix_prebuild.sh.patch')
+
+ @run_before('autoreconf')
+ def run_prebuild_script(self):
+ # We need to run <build_dir>/unix/prebuild.sh
+ # and it must be run from within the directory containing it
+ unix_dir = join_path(self.build_directory, 'unix')
+ prebuild_path = join_path(unix_dir, 'prebuild.sh')
+ prebuild_script = which(prebuild_path)
+ prebuild_script()
+
+ def configure_args(self):
+ extra_args = []
+
+ # POVRay insists upon a COMPILED_BY value being passed to configure
+ # We generate a generic using process owner and fqdn of build host.
+ fqdn = socket.getfqdn()
+ uname = getpass.getuser()
+ compiled_by = 'Installed by spack <{0}@{1}>'.format(uname, fqdn)
+ extra_args.append('COMPILED_BY={0}'.format(compiled_by))
+
+ extra_args.append('--disable-silent-rules') # Verbose make output
+ extra_args += self.enable_or_disable('debug')
+ extra_args += self.enable_or_disable('io-restrictions')
+ extra_args += self.enable_or_disable('profile')
+ extra_args += self.enable_or_disable('static')
+
+ if '+boost' in self.spec:
+ extra_args.append('--with-boost={0}'.format(
+ self.spec['boost'].prefix))
+ else:
+ extra_args.append('--without-boost')
+
+ if '+jpeg' in self.spec:
+ extra_args.append('--with-libjpeg={0}'.format(
+ self.spec['jpeg'].prefix))
+ else:
+ extra_args.append('--without-libjpeg')
+
+ if '+libpng' in self.spec:
+ extra_args.append('--with-libpng={0}'.format(
+ self.spec['libpng'].prefix))
+ else:
+ extra_args.append('--without-libpng')
+
+ if '+libtiff' in self.spec:
+ extra_args.append('--with-libtiff={0}'.format(
+ self.spec['libtiff'].prefix))
+ else:
+ extra_args.append('--without-libtiff')
+
+ if '+mkl' in self.spec:
+ extra_args.append('--with-libmkl={0}'.format(
+ self.spec['mkl'].prefix))
+ else:
+ extra_args.append('--without-libmkl')
+
+ if '+openexr' in self.spec:
+ extra_args.append('--with-openexr={0}'.format(
+ self.spec['openexr'].prefix))
+ else:
+ extra_args.append('--without-openexr')
+
+ # POV-Ray only supports sdl v1, spack only supports sdl2 at this time
+ # and X11 support requires sdl
+ extra_args.append('--without-libsdl')
+ extra_args.append('--without-x')
+
+ return extra_args
+
+ def test(self):
+ povs = find(self.prefix.share, 'biscuit.pov')[0]
+ copy(povs, '.')
+ self.run_test('povray', options=['biscuit.pov'],
+ purpose="test: render sample file",
+ expected=['POV-Ray finished']
+ )
diff --git a/var/spack/repos/builtin/packages/powerapi/package.py b/var/spack/repos/builtin/packages/powerapi/package.py
index 4b4fb5e3a0..5b3a876afe 100644
--- a/var/spack/repos/builtin/packages/powerapi/package.py
+++ b/var/spack/repos/builtin/packages/powerapi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/powertop/package.py b/var/spack/repos/builtin/packages/powertop/package.py
index 8279ccf826..1c776afc6f 100644
--- a/var/spack/repos/builtin/packages/powertop/package.py
+++ b/var/spack/repos/builtin/packages/powertop/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,6 +16,7 @@ class Powertop(AutotoolsPackage):
version('2.9', sha256='aa7fb7d8e9a00f05e7d8a7a2866d85929741e0d03a5bf40cab22d2021c959250')
depends_on('libnl')
+ depends_on('ncurses', type='link')
def setup_run_environment(self, env):
env.prepend_path('PATH', self.prefix.sbin)
diff --git a/var/spack/repos/builtin/packages/ppl/package.py b/var/spack/repos/builtin/packages/ppl/package.py
index 0fc42092ae..2439710d1d 100644
--- a/var/spack/repos/builtin/packages/ppl/package.py
+++ b/var/spack/repos/builtin/packages/ppl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pplacer/package.py b/var/spack/repos/builtin/packages/pplacer/package.py
index af928f8247..251dffa965 100644
--- a/var/spack/repos/builtin/packages/pplacer/package.py
+++ b/var/spack/repos/builtin/packages/pplacer/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ppopen-appl-amr-fdm/package.py b/var/spack/repos/builtin/packages/ppopen-appl-amr-fdm/package.py
index 3b7df081a2..9e21fd66d1 100755
--- a/var/spack/repos/builtin/packages/ppopen-appl-amr-fdm/package.py
+++ b/var/spack/repos/builtin/packages/ppopen-appl-amr-fdm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ppopen-appl-bem-at/package.py b/var/spack/repos/builtin/packages/ppopen-appl-bem-at/package.py
index c4c90de105..b8c2d16b58 100644
--- a/var/spack/repos/builtin/packages/ppopen-appl-bem-at/package.py
+++ b/var/spack/repos/builtin/packages/ppopen-appl-bem-at/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ppopen-appl-bem/package.py b/var/spack/repos/builtin/packages/ppopen-appl-bem/package.py
index 4aae619b31..db914a5ca3 100644
--- a/var/spack/repos/builtin/packages/ppopen-appl-bem/package.py
+++ b/var/spack/repos/builtin/packages/ppopen-appl-bem/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ppopen-appl-dem-util/package.py b/var/spack/repos/builtin/packages/ppopen-appl-dem-util/package.py
index b76c5ed567..508a068c05 100755
--- a/var/spack/repos/builtin/packages/ppopen-appl-dem-util/package.py
+++ b/var/spack/repos/builtin/packages/ppopen-appl-dem-util/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ppopen-appl-fdm-at/package.py b/var/spack/repos/builtin/packages/ppopen-appl-fdm-at/package.py
index 625d81c7de..37820a5ce6 100755
--- a/var/spack/repos/builtin/packages/ppopen-appl-fdm-at/package.py
+++ b/var/spack/repos/builtin/packages/ppopen-appl-fdm-at/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ppopen-appl-fdm/package.py b/var/spack/repos/builtin/packages/ppopen-appl-fdm/package.py
index 0bc7fc94ca..f1a4348e17 100755
--- a/var/spack/repos/builtin/packages/ppopen-appl-fdm/package.py
+++ b/var/spack/repos/builtin/packages/ppopen-appl-fdm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ppopen-appl-fem/package.py b/var/spack/repos/builtin/packages/ppopen-appl-fem/package.py
index 8d6078bef8..216f055123 100644
--- a/var/spack/repos/builtin/packages/ppopen-appl-fem/package.py
+++ b/var/spack/repos/builtin/packages/ppopen-appl-fem/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ppopen-appl-fvm/package.py b/var/spack/repos/builtin/packages/ppopen-appl-fvm/package.py
index 944e6f6467..0c02922d18 100644
--- a/var/spack/repos/builtin/packages/ppopen-appl-fvm/package.py
+++ b/var/spack/repos/builtin/packages/ppopen-appl-fvm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ppopen-at/package.py b/var/spack/repos/builtin/packages/ppopen-at/package.py
index 8d907beaa2..bb1ee3b139 100644
--- a/var/spack/repos/builtin/packages/ppopen-at/package.py
+++ b/var/spack/repos/builtin/packages/ppopen-at/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ppopen-math-mp/package.py b/var/spack/repos/builtin/packages/ppopen-math-mp/package.py
index 317f364a71..470894c47b 100644
--- a/var/spack/repos/builtin/packages/ppopen-math-mp/package.py
+++ b/var/spack/repos/builtin/packages/ppopen-math-mp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ppopen-math-vis/package.py b/var/spack/repos/builtin/packages/ppopen-math-vis/package.py
index 48d838857d..581f378e45 100644
--- a/var/spack/repos/builtin/packages/ppopen-math-vis/package.py
+++ b/var/spack/repos/builtin/packages/ppopen-math-vis/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/prank/package.py b/var/spack/repos/builtin/packages/prank/package.py
index e87fca199e..718f17b1cb 100644
--- a/var/spack/repos/builtin/packages/prank/package.py
+++ b/var/spack/repos/builtin/packages/prank/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/precice/package.py b/var/spack/repos/builtin/packages/precice/package.py
index 68977cd7b9..3b9a5ff973 100644
--- a/var/spack/repos/builtin/packages/precice/package.py
+++ b/var/spack/repos/builtin/packages/precice/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,6 +19,7 @@ class Precice(CMakePackage):
maintainers = ['fsimonis', 'MakisH']
version('develop', branch='develop')
+ version('2.2.0', sha256='f8c4e0810dcaeb6a40a0fcab64b95c899f0121c968e0730416d4d2a97d39d0c4')
version('2.1.1', sha256='729b7c24a7a61b3953bb70d96a954ad3a85729a29a35a288b59ba25661117064')
version('2.1.0', sha256='1e6432724f70d0c6c05fdd645e0026754edbc547719a35bf1d3c12a779b1d00e')
version('2.0.2', sha256='72864480f32696e7b6da94fd404ef5cd6586e2e1640613e46b75f1afac8569ed')
@@ -45,6 +46,7 @@ class Precice(CMakePackage):
depends_on('boost@1.60.0:')
depends_on('boost@1.65.1:', when='@1.4:')
depends_on('boost@:1.72.99', when='@:2.0.2')
+ depends_on('boost@:1.74.99', when='@:2.1.1')
depends_on('eigen@3.2:')
depends_on('eigen@:3.3.7', type='build', when='@:1.5') # bug in prettyprint
depends_on('libxml2')
@@ -60,13 +62,12 @@ class Precice(CMakePackage):
depends_on('py-numpy@:1.16', when='@:1.9+python', type=('build', 'run'))
depends_on('py-numpy@1.17:', when='@2:+python', type=('build', 'run'))
- # We require C++11 compiler support as well as
- # library support for time manipulators (N2071, N2072)
+ # We require C++14 compiler support
conflicts('%gcc@:4')
- conflicts('%apple-clang@:4')
+ conflicts('%apple-clang@:5')
conflicts('%clang@:3.7')
- conflicts('%intel@:14')
- conflicts('%pgi@:14')
+ conflicts('%intel@:16')
+ conflicts('%pgi@:17.3')
def cmake_args(self):
"""Populate cmake arguments for precice."""
diff --git a/var/spack/repos/builtin/packages/predixy/package.py b/var/spack/repos/builtin/packages/predixy/package.py
index 1d0c8d0660..5f71ebd3d3 100644
--- a/var/spack/repos/builtin/packages/predixy/package.py
+++ b/var/spack/repos/builtin/packages/predixy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/premake-core/package.py b/var/spack/repos/builtin/packages/premake-core/package.py
index 7401375511..afb690dbea 100644
--- a/var/spack/repos/builtin/packages/premake-core/package.py
+++ b/var/spack/repos/builtin/packages/premake-core/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/presentproto/package.py b/var/spack/repos/builtin/packages/presentproto/package.py
index 704552d769..4b0fd96645 100644
--- a/var/spack/repos/builtin/packages/presentproto/package.py
+++ b/var/spack/repos/builtin/packages/presentproto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/preseq/package.py b/var/spack/repos/builtin/packages/preseq/package.py
index a446ad53c6..9ff1667d10 100644
--- a/var/spack/repos/builtin/packages/preseq/package.py
+++ b/var/spack/repos/builtin/packages/preseq/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/presto/package.py b/var/spack/repos/builtin/packages/presto/package.py
index 94b18d13d5..f32548f214 100644
--- a/var/spack/repos/builtin/packages/presto/package.py
+++ b/var/spack/repos/builtin/packages/presto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/price/package.py b/var/spack/repos/builtin/packages/price/package.py
index 746079fb17..1ce5789466 100644
--- a/var/spack/repos/builtin/packages/price/package.py
+++ b/var/spack/repos/builtin/packages/price/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/primer3/package.py b/var/spack/repos/builtin/packages/primer3/package.py
index b4f2ad849b..f930549559 100644
--- a/var/spack/repos/builtin/packages/primer3/package.py
+++ b/var/spack/repos/builtin/packages/primer3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/prinseq-lite/package.py b/var/spack/repos/builtin/packages/prinseq-lite/package.py
index a101a7dcfa..273c90aa37 100644
--- a/var/spack/repos/builtin/packages/prinseq-lite/package.py
+++ b/var/spack/repos/builtin/packages/prinseq-lite/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/printproto/package.py b/var/spack/repos/builtin/packages/printproto/package.py
index 028bfda890..6d0b1ac557 100644
--- a/var/spack/repos/builtin/packages/printproto/package.py
+++ b/var/spack/repos/builtin/packages/printproto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/prism/package.py b/var/spack/repos/builtin/packages/prism/package.py
index bc336c3174..0a2549feb0 100644
--- a/var/spack/repos/builtin/packages/prism/package.py
+++ b/var/spack/repos/builtin/packages/prism/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/prmon/package.py b/var/spack/repos/builtin/packages/prmon/package.py
index 4ae90c2531..b56b043e82 100644
--- a/var/spack/repos/builtin/packages/prmon/package.py
+++ b/var/spack/repos/builtin/packages/prmon/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,6 +17,7 @@ class Prmon(CMakePackage):
maintainers = ['vvolkl']
version("master", branch="master")
+ version('2.1.1', sha256='b3d9327717caa857dfda5bee2308375c0c000817275160ed09970d805a1ec9d6')
version('1.1.1', sha256='5f074b05af2a12e2726c33f6a6e9e8e59ee0c4fb5fe056deb38abacd1bb6bf03')
variant('plot', default=True,
diff --git a/var/spack/repos/builtin/packages/prng/package.py b/var/spack/repos/builtin/packages/prng/package.py
index b892c9bcb4..09eac076d4 100644
--- a/var/spack/repos/builtin/packages/prng/package.py
+++ b/var/spack/repos/builtin/packages/prng/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/probconsrna/package.py b/var/spack/repos/builtin/packages/probconsrna/package.py
index 8db95ecb53..545ef569ea 100644
--- a/var/spack/repos/builtin/packages/probconsrna/package.py
+++ b/var/spack/repos/builtin/packages/probconsrna/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/procenv/7cafed1316ddb16fe0689d54ba10c05dd2edd347.patch b/var/spack/repos/builtin/packages/procenv/7cafed1316ddb16fe0689d54ba10c05dd2edd347.patch
new file mode 100644
index 0000000000..a185ad2120
--- /dev/null
+++ b/var/spack/repos/builtin/packages/procenv/7cafed1316ddb16fe0689d54ba10c05dd2edd347.patch
@@ -0,0 +1,34 @@
+From 7cafed1316ddb16fe0689d54ba10c05dd2edd347 Mon Sep 17 00:00:00 2001
+From: Lukas Maerdian <lukas.maerdian@canonical.com>
+Date: Mon, 10 Aug 2020 15:11:23 +0200
+Subject: [PATCH] Fix GCC-10 build when used with -Werror=format-overflow=
+ (Fixes #15)
+
+Process names have a maximum length of 16 bytes and the buffer used has a
+length of 16 bytes, but the compiler is picky about writing and arbirary
+string into that small buffer. Tell the compiler to write max. 15 chars +
+'\0', to make it happy.
+https://stackoverflow.com/questions/23534263/what-is-the-maximum-allowed-limit-on-the-length-of-a-process-name
+---
+ src/platform/linux/platform.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/platform/linux/platform.c b/src/platform/linux/platform.c
+index a392bc0..49ea36c 100644
+--- a/src/platform/linux/platform.c
++++ b/src/platform/linux/platform.c
+@@ -1263,12 +1263,12 @@ handle_proc_branch_linux (void)
+
+ if ((p=strstr (buffer, "Name:")) == buffer) {
+ p += 1+strlen ("Name:"); /* jump over tab char */
+- sprintf (name, "%s", p);
++ sprintf (name, "%.15s", p);
+ }
+
+ if ((p=strstr (buffer, "PPid:")) == buffer) {
+ p += 1+strlen ("PPid:"); /* jump over tab char */
+- sprintf (ppid, "%s", p);
++ sprintf (ppid, "%.15s", p);
+
+ /* got all we need now */
+ break;
diff --git a/var/spack/repos/builtin/packages/procenv/package.py b/var/spack/repos/builtin/packages/procenv/package.py
new file mode 100644
index 0000000000..0192379f81
--- /dev/null
+++ b/var/spack/repos/builtin/packages/procenv/package.py
@@ -0,0 +1,29 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Procenv(AutotoolsPackage):
+ """A command-line tool that displays as much detail about itself and
+ its environment as possible. It can be used as a test tool, to
+ understand the type of environment a process runs in, and for
+ comparing system environments."""
+
+ homepage = "https://github.com/jamesodhunt/procenv/"
+ url = "https://github.com/jamesodhunt/procenv/archive/0.51.tar.gz"
+
+ version('0.51', sha256='b831c14729e06a285cc13eba095817ce3b6d0ddf484b1264951b03ee4fe25bc9')
+
+ # https://github.com/jamesodhunt/procenv/pull/16
+ patch("7cafed1316ddb16fe0689d54ba10c05dd2edd347.patch", when="@:0.51")
+
+ depends_on('expat')
+ depends_on('libpcap')
+ # Fixme: package these and use conditionally (on linux)
+ # depends_on('libselinux')
+ # depends_on('libapparmor')
+ depends_on('numactl')
+ depends_on('check', type='build')
diff --git a/var/spack/repos/builtin/packages/process-in-process/package.py b/var/spack/repos/builtin/packages/process-in-process/package.py
new file mode 100644
index 0000000000..5f9a3a5d02
--- /dev/null
+++ b/var/spack/repos/builtin/packages/process-in-process/package.py
@@ -0,0 +1,178 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class ProcessInProcess(Package):
+ """Process-in-Process"""
+
+ homepage = "https://github.com/RIKEN-SysSoft/PiP"
+ git = "https://github.com/RIKEN-SysSoft/PiP.git"
+
+ maintainers = ['ahori']
+
+ # PiP version 1 is obsolete
+ version('2', branch='pip-2', preferred=True)
+ version('3', branch='pip-3') # experimental
+
+ conflicts('%gcc@:3', when='os=centos7')
+ conflicts('%gcc@5:', when='os=centos7')
+ conflicts('%gcc@:3', when='os=rhel7')
+ conflicts('%gcc@5:', when='os=rhel7')
+ conflicts('%gcc@:7', when='os=centos8')
+ conflicts('%gcc@9:', when='os=centos8')
+ conflicts('%gcc@:7', when='os=rhel8')
+ conflicts('%gcc@9:', when='os=rhel8')
+
+ # packages required for building PiP-gdb
+ depends_on('texinfo', type='build')
+ depends_on('systemtap')
+
+ # resources for PiP version 2
+ # PiP-glibc resource
+ # for rhel/centos 7
+ resource(name='PiP-glibc',
+ git='https://github.com/RIKEN-SysSoft/PiP-glibc.git',
+ branch='centos/glibc-2.17-260.el7.pip.branch',
+ destination='PiP-glibc',
+ when='@2 os=centos7')
+ resource(name='PiP-glibc',
+ git='https://github.com/RIKEN-SysSoft/PiP-glibc.git',
+ branch='centos/glibc-2.17-260.el7.pip.branch',
+ destination='PiP-glibc',
+ when='@2 os=rhel7')
+ # for rhel/centos 8
+ resource(name='PiP-glibc',
+ git='https://github.com/RIKEN-SysSoft/PiP-glibc.git',
+ branch='centos/glibc-2.28-72.el8_1.1.pip.branch',
+ destination='PiP-glibc',
+ when='@2 os=centos8')
+ resource(name='PiP-glibc',
+ git='https://github.com/RIKEN-SysSoft/PiP-glibc.git',
+ branch='centos/glibc-2.28-72.el8_1.1.pip.branch',
+ destination='PiP-glibc',
+ when='@2 os=rhel8')
+
+ # PiP-gdb resource
+ # for rhel/centos 7
+ resource(name='PiP-gdb',
+ git='https://github.com/RIKEN-SysSoft/PiP-gdb.git',
+ branch='centos/gdb-7.6.1-94.el7.pip.branch',
+ destination='PiP-gdb',
+ when='@2 os=centos7')
+ resource(name='PiP-gdb',
+ git='https://github.com/RIKEN-SysSoft/PiP-gdb.git',
+ branch='centos/gdb-7.6.1-94.el7.pip.branch',
+ destination='PiP-gdb',
+ when='@2 os=rhel7')
+ # for rhel/centos 8
+ resource(name='PiP-gdb',
+ git='https://github.com/RIKEN-SysSoft/PiP-gdb.git',
+ branch='centos/gdb-8.2-12.el8.pip.branch',
+ destination='PiP-gdb',
+ when='@2 os=centos8')
+ resource(name='PiP-gdb',
+ git='https://github.com/RIKEN-SysSoft/PiP-gdb.git',
+ branch='centos/gdb-8.2-12.el8.pip.branch',
+ destination='PiP-gdb',
+ when='@2 os=rhel8')
+
+ # resources for PiP version 3
+ # PiP-glibc resource
+ # for rhel/centos 7
+ resource(name='PiP-glibc',
+ git='https://github.com/RIKEN-SysSoft/PiP-glibc.git',
+ branch='centos/glibc-2.17-260.el7.pip.branch',
+ destination='PiP-glibc',
+ when='@3 os=centos7')
+ resource(name='PiP-glibc',
+ git='https://github.com/RIKEN-SysSoft/PiP-glibc.git',
+ branch='centos/glibc-2.17-260.el7.pip.branch',
+ destination='PiP-glibc',
+ when='@3 os=rhel7')
+ # for rhel/centos 8
+ resource(name='PiP-glibc',
+ git='https://github.com/RIKEN-SysSoft/PiP-glibc.git',
+ branch='centos/glibc-2.28-72.el8_1.1.pip.branch',
+ destination='PiP-glibc',
+ when='@3 os=centos8')
+ resource(name='PiP-glibc',
+ git='https://github.com/RIKEN-SysSoft/PiP-glibc.git',
+ branch='centos/glibc-2.28-72.el8_1.1.pip.branch',
+ destination='PiP-glibc',
+ when='@3 os=rhel8')
+
+ # PiP-gdb resource
+ # for rhel/centos 7
+ resource(name='PiP-gdb',
+ git='https://github.com/RIKEN-SysSoft/PiP-gdb.git',
+ branch='centos/gdb-7.6.1-94.el7.pip.branch',
+ destination='PiP-gdb',
+ when='@3 os=centos7')
+ resource(name='PiP-gdb',
+ git='https://github.com/RIKEN-SysSoft/PiP-gdb.git',
+ branch='centos/gdb-7.6.1-94.el7.pip.branch',
+ destination='PiP-gdb',
+ when='@3 os=rhel7')
+ # for rhel/centos 8
+ resource(name='PiP-gdb',
+ git='https://github.com/RIKEN-SysSoft/PiP-gdb.git',
+ branch='centos/gdb-8.2-12.el8.pip.branch',
+ destination='PiP-gdb',
+ when='@3 os=centos8')
+ resource(name='PiP-gdb',
+ git='https://github.com/RIKEN-SysSoft/PiP-gdb.git',
+ branch='centos/gdb-8.2-12.el8.pip.branch',
+ destination='PiP-gdb',
+ when='@3 os=rhel8')
+
+ # PiP testsuite (agnostic with PiP and OS versions)
+ resource(name='PiP-Testsuite',
+ git='https://github.com/RIKEN-SysSoft/PiP-Testsuite.git',
+ destination='PiP-Testsuite')
+
+ def install(self, spec, prefix):
+ "Install Process-in-Process including PiP-glibc, PiP-gdb"
+
+ # checking os and arch
+ arch = self.spec.architecture
+ target = self.spec.target
+ if arch.os not in ['centos7', 'rhel7', 'centos8', 'rhel8']:
+ raise InstallError('PIP only supports rhel/centos 7 and 8')
+ if target.family not in ['x86_64', 'aarch64']:
+ raise InstallError('PIP only supports x86_64 and aarch64')
+
+ bash = which('bash')
+
+ # installing PiP-glibc
+ glibc_builddir = join_path('PiP-glibc', 'PiP-glibc.build')
+ with working_dir(glibc_builddir, create=True):
+ # build.sh does build and install
+ bash(join_path('..', 'PiP-glibc', 'build.sh'), prefix.glibc)
+
+ # installing PiP lib
+ configure('--prefix=%s' % prefix,
+ '--with-glibc-libdir=%s' % prefix.glibc.lib)
+ make()
+ make('install')
+ # installing already-doxygen-ed documents (man pages, html, ...)
+ make('doc')
+
+ # testing PiP by using PiP-Testsuite (another repo), no need install
+ with working_dir(join_path('PiP-Testsuite', 'PiP-Testsuite')):
+ bash('configure', '--with-pip=%s' % prefix)
+ # make test programs
+ make()
+ # and run the test programs
+ make('test10', parallel=False)
+
+ # installing PiP-gdb
+ with working_dir(join_path('PiP-gdb', 'PiP-gdb')):
+ # build.sh does build and install
+ bash('build.sh', '--prefix=%s' % prefix, '--with-pip=%s' % prefix)
+ # testing PiP-gdb
+ bash('test.sh', parallel=False)
+ # all done !!
diff --git a/var/spack/repos/builtin/packages/procps-ng/package.py b/var/spack/repos/builtin/packages/procps-ng/package.py
index 883a81df75..3932e4f56a 100644
--- a/var/spack/repos/builtin/packages/procps-ng/package.py
+++ b/var/spack/repos/builtin/packages/procps-ng/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/procps/package.py b/var/spack/repos/builtin/packages/procps/package.py
index e18d6206cf..bb6b4a3dc0 100644
--- a/var/spack/repos/builtin/packages/procps/package.py
+++ b/var/spack/repos/builtin/packages/procps/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/prodigal/package.py b/var/spack/repos/builtin/packages/prodigal/package.py
index 429d6d78a6..e6d6cc2611 100644
--- a/var/spack/repos/builtin/packages/prodigal/package.py
+++ b/var/spack/repos/builtin/packages/prodigal/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/profugusmc/package.py b/var/spack/repos/builtin/packages/profugusmc/package.py
index 0922b3f470..12113ecbc6 100644
--- a/var/spack/repos/builtin/packages/profugusmc/package.py
+++ b/var/spack/repos/builtin/packages/profugusmc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/proj/package.py b/var/spack/repos/builtin/packages/proj/package.py
index 3c8b30aa6c..a0a8f336c4 100644
--- a/var/spack/repos/builtin/packages/proj/package.py
+++ b/var/spack/repos/builtin/packages/proj/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,13 +13,15 @@ class Proj(AutotoolsPackage):
transformations."""
homepage = "https://proj.org/"
- url = "https://download.osgeo.org/proj/proj-7.1.0.tar.gz"
+ url = "https://download.osgeo.org/proj/proj-7.2.1.tar.gz"
maintainers = ['adamjstewart']
# Version 6 removes projects.h, while version 7 removes proj_api.h.
# Many packages that depend on proj do not yet support the newer API.
# See https://github.com/OSGeo/PROJ/wiki/proj.h-adoption-status
+ version('7.2.1', sha256='b384f42e5fb9c6d01fe5fa4d31da2e91329668863a684f97be5d4760dbbf0a14')
+ version('7.2.0', sha256='2957798e5fe295ff96a2af1889d0428e486363d210889422f76dd744f7885763')
version('7.1.0', sha256='876151e2279346f6bdbc63bd59790b48733496a957bccd5e51b640fdd26eaa8d')
version('7.0.1', sha256='a7026d39c9c80d51565cfc4b33d22631c11e491004e19020b3ff5a0791e1779f')
version('7.0.0', sha256='ee0e14c1bd2f9429b1a28999240304c0342ed739ebaea3d4ff44c585b1097be8')
@@ -44,10 +46,24 @@ class Proj(AutotoolsPackage):
# https://github.com/OSGeo/PROJ-data
resource(
name='proj-data',
+ url='https://download.osgeo.org/proj/proj-data-1.4.tar.gz',
+ sha256='76960d34d635aa127058ce654d89ea0eff91e2e4f2036482e677af5a88669b08',
+ placement='nad',
+ when='@7.2.1:',
+ )
+ resource(
+ name='proj-data',
+ url='https://download.osgeo.org/proj/proj-data-1.3.tar.gz',
+ sha256='0faa3e5ca6d816c907868c1ab2523668ccad27c6c4af9c7b00df9e4c3eb84398',
+ placement='nad',
+ when='@7.2.0',
+ )
+ resource(
+ name='proj-data',
url='https://download.osgeo.org/proj/proj-data-1.1.tar.gz',
sha256='df7c57e60f9e1d5bcc724f1def71d2a7cd33bd83c28f4b4bb71dbb2d8849c84a',
placement='nad',
- when='@7:',
+ when='@7:7.1',
)
# https://github.com/OSGeo/PROJ#distribution-files-and-format
diff --git a/var/spack/repos/builtin/packages/prokka/package.py b/var/spack/repos/builtin/packages/prokka/package.py
index eedb5fde08..8d2a65433b 100644
--- a/var/spack/repos/builtin/packages/prokka/package.py
+++ b/var/spack/repos/builtin/packages/prokka/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/prometheus/package.py b/var/spack/repos/builtin/packages/prometheus/package.py
index 10a9e956c3..12fedfdba6 100644
--- a/var/spack/repos/builtin/packages/prometheus/package.py
+++ b/var/spack/repos/builtin/packages/prometheus/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/protobuf-c/package.py b/var/spack/repos/builtin/packages/protobuf-c/package.py
index 020e6297df..276f897399 100644
--- a/var/spack/repos/builtin/packages/protobuf-c/package.py
+++ b/var/spack/repos/builtin/packages/protobuf-c/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/protobuf/package.py b/var/spack/repos/builtin/packages/protobuf/package.py
index 060d345b45..1c09bf2e82 100644
--- a/var/spack/repos/builtin/packages/protobuf/package.py
+++ b/var/spack/repos/builtin/packages/protobuf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -40,7 +40,7 @@ class Protobuf(Package):
version('3.2.0', sha256='a839d3f1519ff9d68ab908de5a0f269650ef1fc501c10f6eefd4cae51d29b86f')
version('3.1.0', sha256='fb2a314f4be897491bb2446697be693d489af645cb0e165a85e7e64e07eb134d')
version('3.0.2', sha256='a0a265bcc9d4e98c87416e59c33afc37cede9fb277292523739417e449b18c1e')
- version('2.5.0', sha256='c2665a7aa2ac1a206e61b28e014486e3de59009ea2be2bde9182e0847f38b62f')
+ version('2.5.0', sha256='c2665a7aa2ac1a206e61b28e014486e3de59009ea2be2bde9182e0847f38b62f', deprecated=True)
variant('shared', default=True,
description='Enables the build of shared libraries')
diff --git a/var/spack/repos/builtin/packages/proxymngr/package.py b/var/spack/repos/builtin/packages/proxymngr/package.py
index 7c3b9f0329..7547c7ace3 100644
--- a/var/spack/repos/builtin/packages/proxymngr/package.py
+++ b/var/spack/repos/builtin/packages/proxymngr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -21,7 +21,7 @@ class Proxymngr(AutotoolsPackage, XorgPackage):
depends_on('libxt')
depends_on('lbxproxy')
- depends_on('xproto@7.0.17:', type='build')
- depends_on('xproxymanagementprotocol', type='build')
+ depends_on('xproto@7.0.17:')
+ depends_on('xproxymanagementprotocol')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/prrte/package.py b/var/spack/repos/builtin/packages/prrte/package.py
index 58a3d10819..5e730479f9 100644
--- a/var/spack/repos/builtin/packages/prrte/package.py
+++ b/var/spack/repos/builtin/packages/prrte/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pruners-ninja/package.py b/var/spack/repos/builtin/packages/pruners-ninja/package.py
index 6ea2b448f7..aa810c56e5 100644
--- a/var/spack/repos/builtin/packages/pruners-ninja/package.py
+++ b/var/spack/repos/builtin/packages/pruners-ninja/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ps-lite/package.py b/var/spack/repos/builtin/packages/ps-lite/package.py
index 525633514e..e1fc7e7198 100644
--- a/var/spack/repos/builtin/packages/ps-lite/package.py
+++ b/var/spack/repos/builtin/packages/ps-lite/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/psi4/package.py b/var/spack/repos/builtin/packages/psi4/package.py
index bc2e6db011..105ade6b02 100644
--- a/var/spack/repos/builtin/packages/psi4/package.py
+++ b/var/spack/repos/builtin/packages/psi4/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pslib/package.py b/var/spack/repos/builtin/packages/pslib/package.py
index 38e1e40dc5..1c2fe3e337 100644
--- a/var/spack/repos/builtin/packages/pslib/package.py
+++ b/var/spack/repos/builtin/packages/pslib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/psm/package.py b/var/spack/repos/builtin/packages/psm/package.py
index bf31fc4c90..9ce5b45924 100644
--- a/var/spack/repos/builtin/packages/psm/package.py
+++ b/var/spack/repos/builtin/packages/psm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,7 +18,7 @@ class Psm(MakefilePackage):
conflicts('%gcc@6:', when='@3.3')
- depends_on('libuuid')
+ depends_on('uuid')
def edit(self, spec, prefix):
makefile = FileFilter('Makefile')
diff --git a/var/spack/repos/builtin/packages/psmc/package.py b/var/spack/repos/builtin/packages/psmc/package.py
index 243c740453..d282d85b42 100644
--- a/var/spack/repos/builtin/packages/psmc/package.py
+++ b/var/spack/repos/builtin/packages/psmc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pstreams/package.py b/var/spack/repos/builtin/packages/pstreams/package.py
index 48afbe9388..7ad2c6335a 100644
--- a/var/spack/repos/builtin/packages/pstreams/package.py
+++ b/var/spack/repos/builtin/packages/pstreams/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pugixml/package.py b/var/spack/repos/builtin/packages/pugixml/package.py
index 8ac943e398..094b1d3e7f 100644
--- a/var/spack/repos/builtin/packages/pugixml/package.py
+++ b/var/spack/repos/builtin/packages/pugixml/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,16 +13,19 @@ class Pugixml(CMakePackage):
homepage = "http://pugixml.org/"
url = "https://github.com/zeux/pugixml/releases/download/v1.10/pugixml-1.10.tar.gz"
- version('1.8.1', sha256='929c4657c207260f8cc28e5b788b7499dffdba60d83d59f55ea33d873d729cd4')
+ version('1.11.4', sha256='8ddf57b65fb860416979a3f0640c2ad45ddddbbafa82508ef0a0af3ce7061716')
+ version('1.11', sha256='26913d3e63b9c07431401cf826df17ed832a20d19333d043991e611d23beaa2c')
version('1.10', sha256='55f399fbb470942410d348584dc953bcaec926415d3462f471ef350f29b5870a')
+ version('1.8.1', sha256='929c4657c207260f8cc28e5b788b7499dffdba60d83d59f55ea33d873d729cd4')
- variant('shared', default=True, description='Enable shared libraries')
+ variant('pic', default=True, description='Build position-independent code')
+ variant('shared', default=True, description='Build shared libraries')
- def cmake_args(self):
- args = [
- '-DBUILD_SHARED_AND_STATIC_LIBS:BOOL=OFF',
- '-DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=ON',
- '-DBUILD_SHARED_LIBS:BOOL={0}'.format(
- 'ON' if '+shared' in self.spec else 'OFF')]
+ conflicts('+shared', when='~pic')
- return args
+ def cmake_args(self):
+ return [
+ self.define('BUILD_SHARED_AND_STATIC_LIBS', False),
+ self.define_from_variant('BUILD_SHARED_LIBS', 'shared'),
+ self.define_from_variant('CMAKE_POSITION_INDEPENDENT_CODE', 'pic'),
+ ]
diff --git a/var/spack/repos/builtin/packages/pulseaudio/package.py b/var/spack/repos/builtin/packages/pulseaudio/package.py
index 16f550c140..22400919bb 100644
--- a/var/spack/repos/builtin/packages/pulseaudio/package.py
+++ b/var/spack/repos/builtin/packages/pulseaudio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -42,7 +42,7 @@ class Pulseaudio(AutotoolsPackage):
depends_on('libsndfile@1.0.18:')
depends_on('libtool@2.4:') # links to libltdl.so
depends_on('libsm', when='+x11')
- depends_on('libuuid', when='+x11')
+ depends_on('uuid', when='+x11')
depends_on('libx11', when='+x11')
depends_on('libxcb', when='+x11')
depends_on('libxau', when='+x11')
diff --git a/var/spack/repos/builtin/packages/pumi/package.py b/var/spack/repos/builtin/packages/pumi/package.py
index 83560c2f45..1dbfad44b3 100644
--- a/var/spack/repos/builtin/packages/pumi/package.py
+++ b/var/spack/repos/builtin/packages/pumi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pv/package.py b/var/spack/repos/builtin/packages/pv/package.py
index 6b9ecb0e4a..383db4cb2c 100644
--- a/var/spack/repos/builtin/packages/pv/package.py
+++ b/var/spack/repos/builtin/packages/pv/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pvm/package.py b/var/spack/repos/builtin/packages/pvm/package.py
index cb76f739bb..661cc70edb 100644
--- a/var/spack/repos/builtin/packages/pvm/package.py
+++ b/var/spack/repos/builtin/packages/pvm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,19 +17,30 @@ class Pvm(MakefilePackage):
version('3.4.6', sha256='482665e9bc975d826bcdacf1df1d42e43deda9585a2c430fd3b7b7ed08eada44')
+ depends_on('m4', type='build')
+ depends_on('libtirpc', type='link')
+
parallel = False
@property
def pvm_arch(self):
"""Returns the appropriate PVM_ARCH."""
process = subprocess.Popen(['lib/pvmgetarch'], stdout=subprocess.PIPE)
- return process.communicate()[0].strip()
+ return process.communicate()[0].strip().decode()
def edit(self, spec, prefix):
# Before building PVM, you must set the environment
# variable "PVM_ROOT" to the path where PVM resides
env['PVM_ROOT'] = self.stage.source_path
+ def setup_build_environment(self, env):
+ tirpc = self.spec['libtirpc'].prefix
+ env.prepend_path(
+ 'SPACK_INCLUDE_DIRS',
+ tirpc.include.tirpc,
+ )
+ env.set('SPACK_LDLIBS', '-ltirpc')
+
def install(self, spec, prefix):
pvm_arch = self.pvm_arch
diff --git a/var/spack/repos/builtin/packages/pxz/package.py b/var/spack/repos/builtin/packages/pxz/package.py
index cbc64a0e88..8c0dea6e56 100644
--- a/var/spack/repos/builtin/packages/pxz/package.py
+++ b/var/spack/repos/builtin/packages/pxz/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-3to2/package.py b/var/spack/repos/builtin/packages/py-3to2/package.py
index facf4b4067..4ac91215fd 100644
--- a/var/spack/repos/builtin/packages/py-3to2/package.py
+++ b/var/spack/repos/builtin/packages/py-3to2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,6 @@ class Py3to2(PythonPackage):
"""lib3to2 is a set of fixers that are intended to backport code written
for Python version 3.x into Python version 2.x."""
- homepage = "https://pypi.python.org/pypi/3to2"
- url = "https://pypi.io/packages/source/3/3to2/3to2-1.1.1.zip"
+ pypi = "3to2/3to2-1.1.1.zip"
version('1.1.1', sha256='fef50b2b881ef743f269946e1090b77567b71bb9a9ce64b7f8e699b562ff685c')
diff --git a/var/spack/repos/builtin/packages/py-4suite-xml/package.py b/var/spack/repos/builtin/packages/py-4suite-xml/package.py
index a848e1a63a..60ce3b0fba 100644
--- a/var/spack/repos/builtin/packages/py-4suite-xml/package.py
+++ b/var/spack/repos/builtin/packages/py-4suite-xml/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class Py4suiteXml(PythonPackage):
XLink, XUpdate"""
homepage = "http://4suite.org/"
- url = "https://pypi.io/packages/source/4/4Suite-XML/4Suite-XML-1.0.2.tar.gz"
+ pypi = "4Suite-XML/4Suite-XML-1.0.2.tar.gz"
version('1.0.2', sha256='f0c24132eb2567e64b33568abff29a780a2f0236154074d0b8f5262ce89d8c03')
diff --git a/var/spack/repos/builtin/packages/py-abipy/package.py b/var/spack/repos/builtin/packages/py-abipy/package.py
index b9b476b096..f9b1d517c3 100644
--- a/var/spack/repos/builtin/packages/py-abipy/package.py
+++ b/var/spack/repos/builtin/packages/py-abipy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyAbipy(PythonPackage):
the results."""
homepage = "https://github.com/abinit/abipy"
- url = "https://pypi.io/packages/source/a/abipy/abipy-0.2.0.tar.gz"
+ pypi = "abipy/abipy-0.2.0.tar.gz"
version('0.2.0', sha256='c72b796ba0f9ea4299eac3085bede092d2652e9e5e8074d3badd19ef7b600792')
diff --git a/var/spack/repos/builtin/packages/py-absl-py/package.py b/var/spack/repos/builtin/packages/py-absl-py/package.py
index 5d77a4095e..80692b1635 100644
--- a/var/spack/repos/builtin/packages/py-absl-py/package.py
+++ b/var/spack/repos/builtin/packages/py-absl-py/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,9 +14,9 @@ class PyAbslPy(PythonPackage):
extensively tested and used in production.
"""
- homepage = "https://pypi.org/project/absl-py/"
- url = "https://pypi.io/packages/source/a/absl-py/absl-py-0.7.0.tar.gz"
+ pypi = "absl-py/absl-py-0.7.0.tar.gz"
+ version('0.10.0', sha256='b20f504a7871a580be5268a18fbad48af4203df5d33dbc9272426cb806245a45')
version('0.7.1', sha256='b943d1c567743ed0455878fcd60bc28ac9fae38d129d1ccfad58079da00b8951')
version('0.7.0', sha256='8718189e4bd6013bf79910b9d1cb0a76aecad8ce664f78e1144980fabdd2cd23')
version('0.1.6', sha256='02c577d618a8bc0a2a5d1a51f160d3649745d7a2516d87025322f46ac1391a22')
diff --git a/var/spack/repos/builtin/packages/py-accimage/package.py b/var/spack/repos/builtin/packages/py-accimage/package.py
index 3ef812704c..1006c946f9 100644
--- a/var/spack/repos/builtin/packages/py-accimage/package.py
+++ b/var/spack/repos/builtin/packages/py-accimage/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -22,6 +22,8 @@ class PyAccimage(PythonPackage):
depends_on('py-numpy', type='test')
depends_on('py-imageio', type='test')
- def test(self):
+ @run_after('build')
+ @on_package_attributes(run_tests=True)
+ def build_test(self):
pytest = which('pytest')
pytest('test.py')
diff --git a/var/spack/repos/builtin/packages/py-acme-tiny/package.py b/var/spack/repos/builtin/packages/py-acme-tiny/package.py
index 33db049299..beaaf6ec33 100644
--- a/var/spack/repos/builtin/packages/py-acme-tiny/package.py
+++ b/var/spack/repos/builtin/packages/py-acme-tiny/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-adal/package.py b/var/spack/repos/builtin/packages/py-adal/package.py
index b1fac54c0f..bf2bbc8d22 100644
--- a/var/spack/repos/builtin/packages/py-adal/package.py
+++ b/var/spack/repos/builtin/packages/py-adal/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyAdal(PythonPackage):
DEPRECATED: replaced by MSAL Python."""
homepage = "https://github.com/AzureAD/azure-activedirectory-library-for-python"
- url = "https://pypi.io/packages/source/a/adal/adal-1.2.4.tar.gz"
+ pypi = "adal/adal-1.2.4.tar.gz"
version('1.2.4', sha256='7a15d22b1ee7ce1be92441199958748982feba6b7dec35fbf60f9b607bad1bc0')
diff --git a/var/spack/repos/builtin/packages/py-adb-enhanced/package.py b/var/spack/repos/builtin/packages/py-adb-enhanced/package.py
index 92eff9a04a..96ba05d049 100644
--- a/var/spack/repos/builtin/packages/py-adb-enhanced/package.py
+++ b/var/spack/repos/builtin/packages/py-adb-enhanced/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -25,4 +25,3 @@ class PyAdbEnhanced(PythonPackage):
depends_on('py-future', type=('build', 'run'))
depends_on('py-psutil', type=('build', 'run'))
depends_on('py-asyncio', type=('build', 'run'))
- depends_on('py-pytest', type='test')
diff --git a/var/spack/repos/builtin/packages/py-addict/package.py b/var/spack/repos/builtin/packages/py-addict/package.py
index b4b27f9975..99daa3e067 100644
--- a/var/spack/repos/builtin/packages/py-addict/package.py
+++ b/var/spack/repos/builtin/packages/py-addict/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-adios/package.py b/var/spack/repos/builtin/packages/py-adios/package.py
index aace2cd98a..c2f65a757a 100644
--- a/var/spack/repos/builtin/packages/py-adios/package.py
+++ b/var/spack/repos/builtin/packages/py-adios/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-advancedhtmlparser/package.py b/var/spack/repos/builtin/packages/py-advancedhtmlparser/package.py
index 11daf7db41..111c241822 100644
--- a/var/spack/repos/builtin/packages/py-advancedhtmlparser/package.py
+++ b/var/spack/repos/builtin/packages/py-advancedhtmlparser/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyAdvancedhtmlparser(PythonPackage):
modification, and formatting"""
homepage = "https://github.com/kata198/AdvancedHTMLParser"
- url = "https://pypi.io/packages/source/a/advancedhtmlparser/AdvancedHTMLParser-8.1.4.tar.gz"
+ pypi = "advancedhtmlparser/AdvancedHTMLParser-8.1.4.tar.gz"
version('8.1.4', sha256='21a73137026c8ec3248c654a24cc40064196029256cdf71681149f6835e9ed39')
diff --git a/var/spack/repos/builtin/packages/py-aenum/package.py b/var/spack/repos/builtin/packages/py-aenum/package.py
index 3fa4c63a80..08841dafe0 100644
--- a/var/spack/repos/builtin/packages/py-aenum/package.py
+++ b/var/spack/repos/builtin/packages/py-aenum/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,9 +11,7 @@ class PyAenum(PythonPackage):
NamedTuples, and NamedConstants."""
homepage = "https://bitbucket.org/stoneleaf/aenum"
- url = "https://pypi.io/packages/source/a/aenum/aenum-2.1.2.tar.gz"
-
- import_modules = ['aenum']
+ pypi = "aenum/aenum-2.1.2.tar.gz"
version('2.1.2', sha256='a3208e4b28db3a7b232ff69b934aef2ea1bf27286d9978e1e597d46f490e4687')
diff --git a/var/spack/repos/builtin/packages/py-affine/package.py b/var/spack/repos/builtin/packages/py-affine/package.py
index d473915436..1a554a4ea4 100644
--- a/var/spack/repos/builtin/packages/py-affine/package.py
+++ b/var/spack/repos/builtin/packages/py-affine/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-agate-dbf/package.py b/var/spack/repos/builtin/packages/py-agate-dbf/package.py
index e5a64ed299..16e1bd09f6 100644
--- a/var/spack/repos/builtin/packages/py-agate-dbf/package.py
+++ b/var/spack/repos/builtin/packages/py-agate-dbf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyAgateDbf(PythonPackage):
"""agate-dbf adds read support for dbf files to agate."""
homepage = "https://agate-dbf.readthedocs.io/en/latest/"
- url = "https://pypi.io/packages/source/a/agate-dbf/agate-dbf-0.2.1.tar.gz"
+ pypi = "agate-dbf/agate-dbf-0.2.1.tar.gz"
version('0.2.1', sha256='00c93c498ec9a04cc587bf63dd7340e67e2541f0df4c9a7259d7cb3dd4ce372f')
diff --git a/var/spack/repos/builtin/packages/py-agate-excel/package.py b/var/spack/repos/builtin/packages/py-agate-excel/package.py
index f129ff9b5c..39fa0237d8 100644
--- a/var/spack/repos/builtin/packages/py-agate-excel/package.py
+++ b/var/spack/repos/builtin/packages/py-agate-excel/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyAgateExcel(PythonPackage):
agate."""
homepage = "https://agate-excel.readthedocs.io/en/latest/"
- url = "https://pypi.io/packages/source/a/agate-excel/agate-excel-0.2.3.tar.gz"
+ pypi = "agate-excel/agate-excel-0.2.3.tar.gz"
version('0.2.3', sha256='8f255ef2c87c436b7132049e1dd86c8e08bf82d8c773aea86f3069b461a17d52')
diff --git a/var/spack/repos/builtin/packages/py-agate-sql/package.py b/var/spack/repos/builtin/packages/py-agate-sql/package.py
index 340ac94245..51164b7514 100644
--- a/var/spack/repos/builtin/packages/py-agate-sql/package.py
+++ b/var/spack/repos/builtin/packages/py-agate-sql/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyAgateSql(PythonPackage):
"""agate-sql adds SQL read/write support to agate."""
homepage = "https://agate-sql.readthedocs.io/en/latest/"
- url = "https://pypi.io/packages/source/a/agate-sql/agate-sql-0.5.4.tar.gz"
+ pypi = "agate-sql/agate-sql-0.5.4.tar.gz"
version('0.5.4', sha256='9277490ba8b8e7c747a9ae3671f52fe486784b48d4a14e78ca197fb0e36f281b')
diff --git a/var/spack/repos/builtin/packages/py-agate/package.py b/var/spack/repos/builtin/packages/py-agate/package.py
index 849e65574b..ba7eda21e8 100644
--- a/var/spack/repos/builtin/packages/py-agate/package.py
+++ b/var/spack/repos/builtin/packages/py-agate/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyAgate(PythonPackage):
real-world problems with readable code."""
homepage = "https://agate.readthedocs.io/en/latest/"
- url = "https://pypi.io/packages/source/a/agate/agate-1.6.1.tar.gz"
+ pypi = "agate/agate-1.6.1.tar.gz"
version('1.6.1', sha256='c93aaa500b439d71e4a5cf088d0006d2ce2c76f1950960c8843114e5f361dfd3')
diff --git a/var/spack/repos/builtin/packages/py-aiofiles/package.py b/var/spack/repos/builtin/packages/py-aiofiles/package.py
index b6248f37e7..bc0b6d99c0 100644
--- a/var/spack/repos/builtin/packages/py-aiofiles/package.py
+++ b/var/spack/repos/builtin/packages/py-aiofiles/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyAiofiles(PythonPackage):
handling local disk files in asyncio applications."""
homepage = "https://github.com/Tinche/aiofiles"
- url = "https://pypi.io/packages/source/a/aiofiles/aiofiles-0.5.0.tar.gz"
+ pypi = "aiofiles/aiofiles-0.5.0.tar.gz"
version('0.5.0', sha256='98e6bcfd1b50f97db4980e182ddd509b7cc35909e903a8fe50d8849e02d815af')
diff --git a/var/spack/repos/builtin/packages/py-aiohttp-cors/package.py b/var/spack/repos/builtin/packages/py-aiohttp-cors/package.py
new file mode 100644
index 0000000000..e5c2f67f63
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-aiohttp-cors/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+class PyAiohttpCors(PythonPackage):
+ """aiohttp_cors library implements Cross Origin Resource Sharing (CORS)
+ support for aiohttp asyncio-powered asynchronous HTTP server."""
+
+ homepage = "https://github.com/aio-libs/aiohttp-cors"
+ pypi = "aiohttp_cors/aiohttp-cors-0.7.0.tar.gz"
+
+ version('0.7.0', sha256='4d39c6d7100fd9764ed1caf8cebf0eb01bf5e3f24e2e073fda6234bc48b19f5d')
+
+ depends_on('python@3.4.1:', type=('build', 'run'))
+ depends_on('py-setuptools@20.8.1:', type='build')
+ depends_on('py-aiohttp@1.1:', type=('build', 'run'))
+ depends_on('py-typing', when='^python@:3.4', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-aiohttp/package.py b/var/spack/repos/builtin/packages/py-aiohttp/package.py
index e29f467c29..a94fed955f 100644
--- a/var/spack/repos/builtin/packages/py-aiohttp/package.py
+++ b/var/spack/repos/builtin/packages/py-aiohttp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-aioredis/package.py b/var/spack/repos/builtin/packages/py-aioredis/package.py
index 6760e58471..0b7e678dff 100644
--- a/var/spack/repos/builtin/packages/py-aioredis/package.py
+++ b/var/spack/repos/builtin/packages/py-aioredis/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAioredis(PythonPackage):
"""asyncio (PEP 3156) Redis support."""
homepage = "https://github.com/aio-libs/aioredis"
- url = "https://pypi.io/packages/source/a/aioredis/aioredis-1.3.1.tar.gz"
+ pypi = "aioredis/aioredis-1.3.1.tar.gz"
version('1.3.1', sha256='15f8af30b044c771aee6787e5ec24694c048184c7b9e54c3b60c750a4b93273a')
diff --git a/var/spack/repos/builtin/packages/py-alabaster/package.py b/var/spack/repos/builtin/packages/py-alabaster/package.py
index 5d623519b7..a1606d6105 100644
--- a/var/spack/repos/builtin/packages/py-alabaster/package.py
+++ b/var/spack/repos/builtin/packages/py-alabaster/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,13 +11,10 @@ class PyAlabaster(PythonPackage):
for the Sphinx documentation system."""
homepage = "https://alabaster.readthedocs.io/"
- url = "https://pypi.io/packages/source/a/alabaster/alabaster-0.7.10.tar.gz"
-
- import_modules = ['alabaster']
+ pypi = "alabaster/alabaster-0.7.10.tar.gz"
version('0.7.12', sha256='a661d72d58e6ea8a57f7a86e37d86716863ee5e92788398526d58b26a4e4dc02')
version('0.7.10', sha256='37cdcb9e9954ed60912ebc1ca12a9d12178c26637abdf124e3cde2341c257fe0')
version('0.7.9', sha256='47afd43b08a4ecaa45e3496e139a193ce364571e7e10c6a87ca1a4c57eb7ea08')
depends_on('py-setuptools', type='build')
- depends_on('py-pygments', type='test')
diff --git a/var/spack/repos/builtin/packages/py-alembic/package.py b/var/spack/repos/builtin/packages/py-alembic/package.py
index 86b75bc361..ff87fe7995 100644
--- a/var/spack/repos/builtin/packages/py-alembic/package.py
+++ b/var/spack/repos/builtin/packages/py-alembic/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyAlembic(PythonPackage):
"""Alembic is a database migrations tool."""
- homepage = "https://pypi.org/project/alembic/"
- url = "https://pypi.io/packages/source/a/alembic/alembic-1.0.7.tar.gz"
+ pypi = "alembic/alembic-1.0.7.tar.gz"
version('1.0.7', sha256='16505782b229007ae905ef9e0ae6e880fddafa406f086ac7d442c1aaf712f8c2')
diff --git a/var/spack/repos/builtin/packages/py-altgraph/package.py b/var/spack/repos/builtin/packages/py-altgraph/package.py
index 221fc3de85..596bd1eff0 100644
--- a/var/spack/repos/builtin/packages/py-altgraph/package.py
+++ b/var/spack/repos/builtin/packages/py-altgraph/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,8 +13,7 @@ class PyAltgraph(PythonPackage):
topological sort, shortest paths, etc. with graphviz output.
"""
- homepage = "https://pypi.python.org/pypi/altgraph"
- url = "https://pypi.io/packages/source/a/altgraph/altgraph-0.16.1.tar.gz"
+ pypi = "altgraph/altgraph-0.16.1.tar.gz"
version('0.16.1', "ddf5320017147ba7b810198e0b6619bd7b5563aa034da388cea8546b877f9b0c")
diff --git a/var/spack/repos/builtin/packages/py-amqp/package.py b/var/spack/repos/builtin/packages/py-amqp/package.py
index 63f85069b0..ddd3a4dc7c 100644
--- a/var/spack/repos/builtin/packages/py-amqp/package.py
+++ b/var/spack/repos/builtin/packages/py-amqp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyAmqp(PythonPackage):
"""Low-level AMQP client for Python (fork of amqplib)."""
- homepage = "https://pypi.org/project/amqp/"
- url = "https://pypi.io/packages/source/a/amqp/amqp-2.4.1.tar.gz"
+ pypi = "amqp/amqp-2.4.1.tar.gz"
version('5.0.1', sha256='9881f8e6fe23e3db9faa6cfd8c05390213e1d1b95c0162bc50552cad75bffa5f')
version('2.6.1', sha256='70cdb10628468ff14e57ec2f751c7aa9e48e7e3651cfd62d431213c0c4e58f21')
diff --git a/var/spack/repos/builtin/packages/py-angel/package.py b/var/spack/repos/builtin/packages/py-angel/package.py
new file mode 100644
index 0000000000..31eb071227
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-angel/package.py
@@ -0,0 +1,23 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyAngel(PythonPackage):
+ """ANGEL: Robust Open Reading Frame prediction"""
+
+ homepage = "https://github.com/PacificBiosciences/ANGEL"
+ url = "https://github.com/PacificBiosciences/ANGEL/archive/v3.0.tar.gz"
+
+ version('3.0', sha256='a0319553055d3dfc84a4f732ed246c180c23ee9c397810c96acd7940721ae57d')
+
+ depends_on('python@3.7:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-cython', type='build')
+ depends_on('py-numpy@1.7:', type=('build', 'run'))
+ depends_on('py-scikit-learn', type=('build', 'run'))
+
+ depends_on('py-biopython@:1.72', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-ansible/package.py b/var/spack/repos/builtin/packages/py-ansible/package.py
index c3df51f2f2..ea3fa0357c 100644
--- a/var/spack/repos/builtin/packages/py-ansible/package.py
+++ b/var/spack/repos/builtin/packages/py-ansible/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-antlr4-python3-runtime/package.py b/var/spack/repos/builtin/packages/py-antlr4-python3-runtime/package.py
index 2684416f08..0689270ff1 100644
--- a/var/spack/repos/builtin/packages/py-antlr4-python3-runtime/package.py
+++ b/var/spack/repos/builtin/packages/py-antlr4-python3-runtime/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class PyAntlr4Python3Runtime(PythonPackage):
"""
homepage = "https://www.antlr.org"
- url = "https://pypi.io/packages/source/a/antlr4-python3-runtime/antlr4-python3-runtime-4.7.2.tar.gz"
+ pypi = "antlr4-python3-runtime/antlr4-python3-runtime-4.7.2.tar.gz"
version('4.7.2', sha256='168cdcec8fb9152e84a87ca6fd261b3d54c8f6358f42ab3b813b14a7193bb50b')
diff --git a/var/spack/repos/builtin/packages/py-anuga/package.py b/var/spack/repos/builtin/packages/py-anuga/package.py
new file mode 100644
index 0000000000..931a45160d
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-anuga/package.py
@@ -0,0 +1,32 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyAnuga(PythonPackage):
+ """ANUGA (pronounced "AHnooGAH") is open-source software for the simulation
+ of the shallow water equation, in particular it can be used to model
+ tsunamis and floods."""
+
+ homepage = "https://github.com/GeoscienceAustralia/anuga_core"
+ url = "https://github.com/GeoscienceAustralia/anuga_core/archive/2.1.tar.gz"
+
+ version('2.1', sha256='0e56c4a7d55570d7b2c36fa9b53ee4e7b85f62be0b4c03ad8ab5f51464321d2f')
+
+ variant('mpi', default=True, description='Install anuga_parallel')
+
+ # At present AnuGA has only been run and tested using python 2.x.
+ # We recommend python 2.7.
+ depends_on('python@2.6:2.8', type=('build', 'run'))
+ depends_on('py-setuptools@:44', type='build')
+ depends_on('py-numpy@:1.16', type=('build', 'run'))
+ depends_on('py-netcdf4', type=('build', 'run'))
+ depends_on('py-matplotlib@:2', type=('build', 'run'))
+ depends_on('gdal@:3.2+python', type=('build', 'run'))
+ depends_on('py-pypar', when='+mpi', type=('build', 'run'))
+
+ # https://github.com/GeoscienceAustralia/anuga_core/issues/247
+ conflicts('%apple-clang@12:')
diff --git a/var/spack/repos/builtin/packages/py-apache-beam/package.py b/var/spack/repos/builtin/packages/py-apache-beam/package.py
index d06ebd20bd..61070a2d14 100644
--- a/var/spack/repos/builtin/packages/py-apache-beam/package.py
+++ b/var/spack/repos/builtin/packages/py-apache-beam/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyApacheBeam(PythonPackage):
"""Apache Beam is a unified programming model for Batch and Streaming."""
homepage = "https://github.com/apache/beam"
- url = "https://pypi.io/packages/source/a/apache-beam/apache-beam-2.24.0.zip"
+ pypi = "apache-beam/apache-beam-2.24.0.zip"
version('2.24.0', sha256='55c50b1a964bacc840a5e4cc3b4a42c4ef09d12192d215ba3cad65d4d22e09dd')
diff --git a/var/spack/repos/builtin/packages/py-apache-libcloud/package.py b/var/spack/repos/builtin/packages/py-apache-libcloud/package.py
index 2b2034d98d..526ed5a651 100644
--- a/var/spack/repos/builtin/packages/py-apache-libcloud/package.py
+++ b/var/spack/repos/builtin/packages/py-apache-libcloud/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyApacheLibcloud(PythonPackage):
"""Python library for multiple cloud provider APIs"""
homepage = "http://libcloud.apache.org"
- url = "https://pypi.io/packages/source/a/apache-libcloud/apache-libcloud-1.2.1.tar.gz"
+ pypi = "apache-libcloud/apache-libcloud-1.2.1.tar.gz"
version('1.2.1', sha256='b26b542c6c9785dd4e34892d87421ffa4c043335c1cba301a97a8d9748c423f2')
diff --git a/var/spack/repos/builtin/packages/py-apex/package.py b/var/spack/repos/builtin/packages/py-apex/package.py
index 0132a01c4d..bed0e8a971 100644
--- a/var/spack/repos/builtin/packages/py-apex/package.py
+++ b/var/spack/repos/builtin/packages/py-apex/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,7 @@ class PyApex(PythonPackage):
"""apex: Pyramid toolkit to add Velruse, Flash Messages,CSRF,
ReCaptcha and Sessions."""
- homepage = "https://pypi.org/project/apex/"
- url = "https://pypi.io/packages/source/a/apex/apex-0.9.10dev.tar.gz"
+ pypi = "apex/apex-0.9.10dev.tar.gz"
version('0.9.10dev', sha256='48aa6d9e805e661e609161bd52e0d02d89a9a32f32dc29cde6c950df58129119')
diff --git a/var/spack/repos/builtin/packages/py-apipkg/package.py b/var/spack/repos/builtin/packages/py-apipkg/package.py
index 6799ad8f26..abbac3bae6 100644
--- a/var/spack/repos/builtin/packages/py-apipkg/package.py
+++ b/var/spack/repos/builtin/packages/py-apipkg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyApipkg(PythonPackage):
"""apipkg: namespace control and lazy-import mechanism"""
- homepage = "https://pypi.python.org/pypi/apipkg"
- url = "https://pypi.io/packages/source/a/apipkg/apipkg-1.4.tar.gz"
+ pypi = "apipkg/apipkg-1.4.tar.gz"
version('1.5', sha256='37228cda29411948b422fae072f57e31d3396d2ee1c9783775980ee9c9990af6')
version('1.4', sha256='2e38399dbe842891fe85392601aab8f40a8f4cc5a9053c326de35a1cc0297ac6')
@@ -18,5 +17,3 @@ class PyApipkg(PythonPackage):
depends_on('py-setuptools@30.3.0:', type='build')
depends_on('py-setuptools-scm', type='build')
depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
- depends_on('py-py', type='test')
- depends_on('py-pytest', type='test')
diff --git a/var/spack/repos/builtin/packages/py-appdirs/package.py b/var/spack/repos/builtin/packages/py-appdirs/package.py
index 29b6c4f85b..101f32f6b4 100644
--- a/var/spack/repos/builtin/packages/py-appdirs/package.py
+++ b/var/spack/repos/builtin/packages/py-appdirs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,18 +11,10 @@ class PyAppdirs(PythonPackage):
dirs, e.g. a "user data dir"."""
homepage = "https://github.com/ActiveState/appdirs"
- url = "https://pypi.io/packages/source/a/appdirs/appdirs-1.4.3.tar.gz"
-
- import_modules = ['appdirs']
+ pypi = "appdirs/appdirs-1.4.3.tar.gz"
version('1.4.3', sha256='9e5896d1372858f8dd3344faf4e5014d21849c756c8d5701f78f8a103b372d92')
version('1.4.0', sha256='8fc245efb4387a4e3e0ac8ebcc704582df7d72ff6a42a53f5600bbb18fdaadc5')
patch('setuptools-import.patch', when='@:1.4.0')
-
- # Newer versions of setuptools require appdirs. Although setuptools is an
- # optional dependency of appdirs, if it is not found, setup.py will
- # fallback on distutils.core instead. Don't add a setuptools dependency
- # or we won't be able to bootstrap setuptools.
-
- # depends_on('py-setuptools', type='build')
+ depends_on('py-setuptools', type='build')
diff --git a/var/spack/repos/builtin/packages/py-applicationinsights/package.py b/var/spack/repos/builtin/packages/py-applicationinsights/package.py
index a14808abab..5f52a52ef6 100644
--- a/var/spack/repos/builtin/packages/py-applicationinsights/package.py
+++ b/var/spack/repos/builtin/packages/py-applicationinsights/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ class PyApplicationinsights(PythonPackage):
Python."""
homepage = "https://github.com/Microsoft/ApplicationInsights-Python"
- url = "https://pypi.io/packages/source/a/applicationinsights/applicationinsights-0.11.9.tar.gz"
+ pypi = "applicationinsights/applicationinsights-0.11.9.tar.gz"
version('0.11.9', sha256='30a11aafacea34f8b160fbdc35254c9029c7e325267874e3c68f6bdbcd6ed2c3')
diff --git a/var/spack/repos/builtin/packages/py-appnope/package.py b/var/spack/repos/builtin/packages/py-appnope/package.py
index 07640da7f9..977942a7ba 100644
--- a/var/spack/repos/builtin/packages/py-appnope/package.py
+++ b/var/spack/repos/builtin/packages/py-appnope/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,6 +10,6 @@ class PyAppnope(PythonPackage):
"""Disable App Nap on OS X 10.9"""
homepage = "https://github.com/minrk/appnope"
- url = "https://pypi.io/packages/source/a/appnope/appnope-0.1.0.tar.gz"
+ pypi = "appnope/appnope-0.1.0.tar.gz"
version('0.1.0', sha256='8b995ffe925347a2138d7ac0fe77155e4311a0ea6d6da4f5128fe4b3cbe5ed71')
diff --git a/var/spack/repos/builtin/packages/py-apptools/package.py b/var/spack/repos/builtin/packages/py-apptools/package.py
index 4ac8da1c79..9fa3307bed 100644
--- a/var/spack/repos/builtin/packages/py-apptools/package.py
+++ b/var/spack/repos/builtin/packages/py-apptools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyApptools(PythonPackage):
that is commonly needed by many applications."""
homepage = "https://docs.enthought.com/apptools"
- url = "https://pypi.io/packages/source/a/apptools/apptools-4.5.0.tar.gz"
+ pypi = "apptools/apptools-4.5.0.tar.gz"
version('4.5.0', sha256='260ae0e2a86cb2df2fede631ab6ac8ece694a58a1def78cd015c890c57140582')
diff --git a/var/spack/repos/builtin/packages/py-apscheduler/package.py b/var/spack/repos/builtin/packages/py-apscheduler/package.py
index a4ba440e90..0269ed03c9 100644
--- a/var/spack/repos/builtin/packages/py-apscheduler/package.py
+++ b/var/spack/repos/builtin/packages/py-apscheduler/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyApscheduler(PythonPackage):
"""In-process task scheduler with Cron-like capabilities."""
homepage = "https://github.com/agronholm/apscheduler"
- url = "https://pypi.io/packages/source/A/APScheduler/APScheduler-3.3.1.tar.gz"
+ pypi = "APScheduler/APScheduler-3.3.1.tar.gz"
version('3.3.1', sha256='f68874dff1bdffcc6ce3adb7840c1e4d162c609a3e3f831351df30b75732767b')
version('2.1.0', sha256='3b4b44387616902ad6d13122961013630eb25519937e5aa7c450de85656c9753')
diff --git a/var/spack/repos/builtin/packages/py-archspec/package.py b/var/spack/repos/builtin/packages/py-archspec/package.py
index 54aaea8037..0d63a036bc 100644
--- a/var/spack/repos/builtin/packages/py-archspec/package.py
+++ b/var/spack/repos/builtin/packages/py-archspec/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,12 +8,10 @@ class PyArchspec(PythonPackage):
"""
homepage = "https://archspec.readthedocs.io/en/latest/"
- url = "https://pypi.io/packages/source/a/archspec/archspec-0.1.1.tar.gz"
+ pypi = "archspec/archspec-0.1.1.tar.gz"
maintainers = ['alalazo']
- import_modules = ['archspec']
-
version('0.1.1', sha256='34bafad493b41208857232e21776216d716de37ab051a6a4a1cc1653f7e26423')
depends_on('python@2.7:2.8,3.5:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-argcomplete/package.py b/var/spack/repos/builtin/packages/py-argcomplete/package.py
index f1362da76f..cb8d45fc77 100644
--- a/var/spack/repos/builtin/packages/py-argcomplete/package.py
+++ b/var/spack/repos/builtin/packages/py-argcomplete/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyArgcomplete(PythonPackage):
"""Bash tab completion for argparse."""
homepage = "https://github.com/kislyuk/argcomplete"
- url = "https://pypi.io/packages/source/a/argcomplete/argcomplete-1.12.0.tar.gz"
+ pypi = "argcomplete/argcomplete-1.12.0.tar.gz"
version('1.12.0', sha256='2fbe5ed09fd2c1d727d4199feca96569a5b50d44c71b16da9c742201f7cc295c')
version('1.1.1', sha256='cca45b5fe07000994f4f06a0b95bd71f7b51b04f81c3be0b4ea7b666e4f1f084')
diff --git a/var/spack/repos/builtin/packages/py-argon2-cffi/package.py b/var/spack/repos/builtin/packages/py-argon2-cffi/package.py
index 954c86331c..79c81f53eb 100644
--- a/var/spack/repos/builtin/packages/py-argon2-cffi/package.py
+++ b/var/spack/repos/builtin/packages/py-argon2-cffi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyArgon2Cffi(PythonPackage):
"""The secure Argon2 password hashing algorithm.."""
homepage = "https://argon2-cffi.readthedocs.io/"
- url = "https://pypi.io/packages/source/a/argon2-cffi/argon2-cffi-20.1.0.tar.gz"
+ pypi = "argon2-cffi/argon2-cffi-20.1.0.tar.gz"
version('20.1.0', sha256='d8029b2d3e4b4cea770e9e5a0104dd8fa185c1724a0f01528ae4826a6d25f97d')
@@ -16,6 +16,3 @@ class PyArgon2Cffi(PythonPackage):
depends_on('py-cffi@1.0.0:', type=('build', 'run'))
depends_on('py-six', type=('build', 'run'))
depends_on('py-enum34', when='^python@:3.3', type=('build', 'run'))
- depends_on('py-coverage@5.0.2:+toml', type='test')
- depends_on('py-hypothesis', type='test')
- depends_on('py-pytest', type='test')
diff --git a/var/spack/repos/builtin/packages/py-argparse/package.py b/var/spack/repos/builtin/packages/py-argparse/package.py
index 976e99d2a9..09cf35bf97 100644
--- a/var/spack/repos/builtin/packages/py-argparse/package.py
+++ b/var/spack/repos/builtin/packages/py-argparse/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyArgparse(PythonPackage):
"""Python command-line parsing library."""
homepage = "https://github.com/ThomasWaldmann/argparse/"
- url = "https://pypi.io/packages/source/a/argparse/argparse-1.4.0.tar.gz"
+ pypi = "argparse/argparse-1.4.0.tar.gz"
version('1.4.0', sha256='62b089a55be1d8949cd2bc7e0df0bddb9e028faefc8c32038cc84862aefdd6e4')
diff --git a/var/spack/repos/builtin/packages/py-args/package.py b/var/spack/repos/builtin/packages/py-args/package.py
index 08364481e8..58a3ffa61f 100644
--- a/var/spack/repos/builtin/packages/py-args/package.py
+++ b/var/spack/repos/builtin/packages/py-args/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,9 +10,8 @@ class PyArgs(PythonPackage):
"""Command Arguments for Humans."""
homepage = "https://github.com/kennethreitz/args"
- url = "https://pypi.io/packages/source/a/args/args-0.1.0.tar.gz"
+ pypi = "args/args-0.1.0.tar.gz"
version('0.1.0', sha256='a785b8d837625e9b61c39108532d95b85274acd679693b71ebb5156848fcf814')
depends_on('py-setuptools', type='build')
- depends_on('py-nose', type='test')
diff --git a/var/spack/repos/builtin/packages/py-arrow/package.py b/var/spack/repos/builtin/packages/py-arrow/package.py
index 32a9885f8f..830f8bdc95 100644
--- a/var/spack/repos/builtin/packages/py-arrow/package.py
+++ b/var/spack/repos/builtin/packages/py-arrow/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,7 +15,7 @@ class PyArrow(PythonPackage):
work with dates and times with fewer imports and a lot less code."""
homepage = "https://arrow.readthedocs.io/en/latest/"
- url = "https://pypi.io/packages/source/a/arrow/arrow-0.16.0.tar.gz"
+ pypi = "arrow/arrow-0.16.0.tar.gz"
version('0.16.0', sha256='92aac856ea5175c804f7ccb96aca4d714d936f1c867ba59d747a8096ec30e90a')
version('0.14.7', sha256='67f8be7c0cf420424bc62d8d7dc40b44e4bb2f7b515f9cc2954fb36e35797656')
@@ -25,6 +25,3 @@ class PyArrow(PythonPackage):
depends_on('py-setuptools', type='build')
depends_on('py-backports-functools-lru-cache@1.2.1:', type=('build', 'run'), when='^python@2.7:2.8')
depends_on('py-python-dateutil', type=('build', 'run'))
- depends_on('py-chai', type='test')
- depends_on('py-mock', type='test')
- depends_on('py-pytz@2019.0:', type='test')
diff --git a/var/spack/repos/builtin/packages/py-arviz/package.py b/var/spack/repos/builtin/packages/py-arviz/package.py
index 20e1be3839..2d3b7556ef 100644
--- a/var/spack/repos/builtin/packages/py-arviz/package.py
+++ b/var/spack/repos/builtin/packages/py-arviz/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyArviz(PythonPackage):
model checking, comparison and diagnostics."""
homepage = "http://github.com/arviz-devs/arviz"
- url = "https://pypi.io/packages/source/a/arviz/arviz-0.6.1.tar.gz"
+ pypi = "arviz/arviz-0.6.1.tar.gz"
version('0.6.1', sha256='435edf8db49c41a8fa198f959e7581063006c49a4efdef4755bb778db6fd4f72')
diff --git a/var/spack/repos/builtin/packages/py-asciitree/package.py b/var/spack/repos/builtin/packages/py-asciitree/package.py
index adbd103c5b..6b2a6d571c 100644
--- a/var/spack/repos/builtin/packages/py-asciitree/package.py
+++ b/var/spack/repos/builtin/packages/py-asciitree/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyAsciitree(PythonPackage):
"""Draws ASCII trees."""
homepage = "https://github.com/mbr/asciitree"
- url = "https://pypi.io/packages/source/a/asciitree/asciitree-0.3.3.tar.gz"
+ pypi = "asciitree/asciitree-0.3.3.tar.gz"
version('0.3.3', sha256='4aa4b9b649f85e3fcb343363d97564aa1fb62e249677f2e18a96765145cc0f6e')
diff --git a/var/spack/repos/builtin/packages/py-asdf/package.py b/var/spack/repos/builtin/packages/py-asdf/package.py
index 6fad12565d..51b0859025 100644
--- a/var/spack/repos/builtin/packages/py-asdf/package.py
+++ b/var/spack/repos/builtin/packages/py-asdf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyAsdf(PythonPackage):
implementation of the ASDF Standard."""
homepage = "https://github.com/spacetelescope/asdf"
- url = "https://pypi.io/packages/source/a/asdf/asdf-2.4.2.tar.gz"
+ pypi = "asdf/asdf-2.4.2.tar.gz"
version('2.4.2', sha256='6ff3557190c6a33781dae3fd635a8edf0fa0c24c6aca27d8679af36408ea8ff2')
diff --git a/var/spack/repos/builtin/packages/py-ase/package.py b/var/spack/repos/builtin/packages/py-ase/package.py
index 1e9c27921f..be8dc589dd 100644
--- a/var/spack/repos/builtin/packages/py-ase/package.py
+++ b/var/spack/repos/builtin/packages/py-ase/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyAse(PythonPackage):
visualizing and analyzing atomistic simulations."""
homepage = "https://wiki.fysik.dtu.dk/ase/"
- url = "https://pypi.io/packages/source/a/ase/ase-3.13.0.tar.gz"
+ pypi = "ase/ase-3.13.0.tar.gz"
version('3.18.0',
sha256='39d45f12def2669605bffc82926acfb13a0d0610e6d82740fa316aafa70f97f9')
diff --git a/var/spack/repos/builtin/packages/py-asgiref/package.py b/var/spack/repos/builtin/packages/py-asgiref/package.py
index 6819d27aa9..f60f7e7a4c 100644
--- a/var/spack/repos/builtin/packages/py-asgiref/package.py
+++ b/var/spack/repos/builtin/packages/py-asgiref/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-asn1crypto/package.py b/var/spack/repos/builtin/packages/py-asn1crypto/package.py
index 81caf85143..d245efcb04 100644
--- a/var/spack/repos/builtin/packages/py-asn1crypto/package.py
+++ b/var/spack/repos/builtin/packages/py-asn1crypto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyAsn1crypto(PythonPackage):
"""Python ASN.1 library with a focus on performance and a pythonic API """
homepage = "https://github.com/wbond/asn1crypto"
- url = "https://pypi.io/packages/source/a/asn1crypto/asn1crypto-0.22.0.tar.gz"
+ pypi = "asn1crypto/asn1crypto-0.22.0.tar.gz"
version('0.24.0', sha256='9d5c20441baf0cb60a4ac34cc447c6c189024b6b4c6cd7877034f4965c464e49')
version('0.22.0', sha256='cbbadd640d3165ab24b06ef25d1dca09a3441611ac15f6a6b452474fdf0aed1a')
diff --git a/var/spack/repos/builtin/packages/py-aspy-yaml/package.py b/var/spack/repos/builtin/packages/py-aspy-yaml/package.py
index fb697e1f75..5d24272b18 100644
--- a/var/spack/repos/builtin/packages/py-aspy-yaml/package.py
+++ b/var/spack/repos/builtin/packages/py-aspy-yaml/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyAspyYaml(PythonPackage):
"""Some extensions to pyyaml."""
homepage = "https://github.com/asottile/aspy.yaml/"
- url = "https://pypi.io/packages/source/a/aspy.yaml/aspy.yaml-1.3.0.tar.gz"
+ pypi = "aspy.yaml/aspy.yaml-1.3.0.tar.gz"
version('1.3.0', sha256='e7c742382eff2caed61f87a39d13f99109088e5e93f04d76eb8d4b28aa143f45')
diff --git a/var/spack/repos/builtin/packages/py-asserts/package.py b/var/spack/repos/builtin/packages/py-asserts/package.py
index 36f9b16d98..49f10de2e1 100644
--- a/var/spack/repos/builtin/packages/py-asserts/package.py
+++ b/var/spack/repos/builtin/packages/py-asserts/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-asteval/package.py b/var/spack/repos/builtin/packages/py-asteval/package.py
index 4f80a22789..d2cfb13f1c 100644
--- a/var/spack/repos/builtin/packages/py-asteval/package.py
+++ b/var/spack/repos/builtin/packages/py-asteval/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,10 +10,9 @@ class PyAsteval(PythonPackage):
"""Safe, minimalistic evaluator of python expression using ast module"""
homepage = "http://github.com/newville/asteval"
- url = "https://pypi.io/packages/source/a/asteval/asteval-0.9.18.tar.gz"
+ pypi = "asteval/asteval-0.9.18.tar.gz"
version('0.9.18', sha256='5d64e18b8a72c2c7ae8f9b70d1f80b68bbcaa98c1c0d7047c35489d03209bc86')
depends_on('python@3.5:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
- depends_on('py-pytest', type='test')
diff --git a/var/spack/repos/builtin/packages/py-astor/package.py b/var/spack/repos/builtin/packages/py-astor/package.py
index 38c77c5196..e476301fac 100644
--- a/var/spack/repos/builtin/packages/py-astor/package.py
+++ b/var/spack/repos/builtin/packages/py-astor/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,16 +10,13 @@ class PyAstor(PythonPackage):
astor is designed to allow easy manipulation of Python source via the AST.
"""
- homepage = "https://pypi.python.org/pypi/astor"
- url = "https://pypi.io/packages/source/a/astor/astor-0.8.0.tar.gz"
+ pypi = "astor/astor-0.8.0.tar.gz"
version('0.8.0', sha256='37a6eed8b371f1228db08234ed7f6cfdc7817a3ed3824797e20cbb11dc2a7862')
version('0.6', sha256='175ec395cde36aa0178c5a3120d03954c65d1ef4bb19ec4aa30e9d7a7cc426c4')
depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
- depends_on('py-nose', type='test')
- depends_on('py-astunparse', type='test')
# Build fails with newer versions of setuptools
# https://github.com/berkerpeksag/astor/issues/162
diff --git a/var/spack/repos/builtin/packages/py-astpretty/package.py b/var/spack/repos/builtin/packages/py-astpretty/package.py
index b6b4e9855f..40228b163e 100644
--- a/var/spack/repos/builtin/packages/py-astpretty/package.py
+++ b/var/spack/repos/builtin/packages/py-astpretty/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyAstpretty(PythonPackage):
"""Pretty print the output of python stdlib `ast.parse`."""
homepage = "https://github.com/asottile/astpretty"
- url = "https://pypi.io/packages/source/a/astpretty/astpretty-2.0.0.tar.gz"
+ pypi = "astpretty/astpretty-2.0.0.tar.gz"
version('2.0.0', sha256='e4724bfd753636ba4a84384702e9796e5356969f40af2596d846ce64addde086')
diff --git a/var/spack/repos/builtin/packages/py-astroid/package.py b/var/spack/repos/builtin/packages/py-astroid/package.py
index 3eb5aece5b..5940977f1a 100644
--- a/var/spack/repos/builtin/packages/py-astroid/package.py
+++ b/var/spack/repos/builtin/packages/py-astroid/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-astropy-healpix/package.py b/var/spack/repos/builtin/packages/py-astropy-healpix/package.py
index b83191ada3..e4482d3b30 100644
--- a/var/spack/repos/builtin/packages/py-astropy-healpix/package.py
+++ b/var/spack/repos/builtin/packages/py-astropy-healpix/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyAstropyHealpix(PythonPackage):
representing data on a sphere."""
homepage = 'https://astropy-healpix.readthedocs.io/en/latest/'
- url = 'https://pypi.io/packages/source/a/astropy-healpix/astropy-healpix-0.5.tar.gz'
+ pypi = 'astropy-healpix/astropy-healpix-0.5.tar.gz'
version('0.5', sha256='5ae15da796a840f221fb83e25de791e827b6921bc21a365d99bc1a59c7c0cdad')
diff --git a/var/spack/repos/builtin/packages/py-astropy-helpers/package.py b/var/spack/repos/builtin/packages/py-astropy-helpers/package.py
index 636fcb8b30..d08e018813 100644
--- a/var/spack/repos/builtin/packages/py-astropy-helpers/package.py
+++ b/var/spack/repos/builtin/packages/py-astropy-helpers/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-astropy/package.py b/var/spack/repos/builtin/packages/py-astropy/package.py
index 6e5dc8282b..83ad6961ec 100644
--- a/var/spack/repos/builtin/packages/py-astropy/package.py
+++ b/var/spack/repos/builtin/packages/py-astropy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,9 +13,7 @@ class PyAstropy(PythonPackage):
Python astronomy packages."""
homepage = 'https://astropy.org/'
- url = 'https://pypi.io/packages/source/a/astropy/astropy-4.0.1.post1.tar.gz'
-
- install_time_test_callbacks = ['install_test', 'import_module_test']
+ pypi = 'astropy/astropy-4.0.1.post1.tar.gz'
version('4.0.1.post1', sha256='5c304a6c1845ca426e7bc319412b0363fccb4928cb4ba59298acd1918eec44b5')
version('3.2.1', sha256='706c0457789c78285e5464a5a336f5f0b058d646d60f4e5f5ba1f7d5bf424b28')
@@ -87,6 +85,8 @@ class PyAstropy(PythonPackage):
return args
+ @run_after('install')
+ @on_package_attributes(run_tests=True)
def install_test(self):
with working_dir('spack-test', create=True):
python('-c', 'import astropy; astropy.test()')
diff --git a/var/spack/repos/builtin/packages/py-astunparse/package.py b/var/spack/repos/builtin/packages/py-astunparse/package.py
index 996a59183e..c411120ed7 100644
--- a/var/spack/repos/builtin/packages/py-astunparse/package.py
+++ b/var/spack/repos/builtin/packages/py-astunparse/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,8 +12,7 @@ class PyAstunparse(PythonPackage):
distribution; under Demo/parser in Python 2 and under Tools/parser in
Python 3."""
- homepage = "https://pypi.org/project/astunparse/"
- url = "https://pypi.io/packages/source/a/astunparse/astunparse-1.6.2.tar.gz"
+ pypi = "astunparse/astunparse-1.6.2.tar.gz"
version('1.6.3', sha256='5ad93a8456f0d084c3456d059fd9a92cce667963232cbf763eac3bc5b7940872')
version('1.6.2', sha256='dab3e426715373fd76cd08bb1abe64b550f5aa494cf1e32384f26fd60961eb67')
diff --git a/var/spack/repos/builtin/packages/py-async-generator/package.py b/var/spack/repos/builtin/packages/py-async-generator/package.py
index 45d452d1d1..b6145e3a02 100644
--- a/var/spack/repos/builtin/packages/py-async-generator/package.py
+++ b/var/spack/repos/builtin/packages/py-async-generator/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyAsyncGenerator(PythonPackage):
"""Provides async generator functionality to python 3.5."""
- homepage = "https://pypi.org/project/async_generator/"
- url = "https://pypi.io/packages/source/a/async_generator/async_generator-1.10.tar.gz"
+ pypi = "async_generator/async_generator-1.10.tar.gz"
version('1.10', sha256='6ebb3d106c12920aaae42ccb6f787ef5eefdcdd166ea3d628fa8476abe712144')
diff --git a/var/spack/repos/builtin/packages/py-async-timeout/package.py b/var/spack/repos/builtin/packages/py-async-timeout/package.py
index dd7ca9943c..31d4deb268 100644
--- a/var/spack/repos/builtin/packages/py-async-timeout/package.py
+++ b/var/spack/repos/builtin/packages/py-async-timeout/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-asyncio/package.py b/var/spack/repos/builtin/packages/py-asyncio/package.py
index 42de434cde..bb078bb958 100644
--- a/var/spack/repos/builtin/packages/py-asyncio/package.py
+++ b/var/spack/repos/builtin/packages/py-asyncio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-atomicwrites/package.py b/var/spack/repos/builtin/packages/py-atomicwrites/package.py
index de8ec7788b..a630545ebb 100644
--- a/var/spack/repos/builtin/packages/py-atomicwrites/package.py
+++ b/var/spack/repos/builtin/packages/py-atomicwrites/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,9 +10,7 @@ class PyAtomicwrites(PythonPackage):
"""Atomic file writes."""
homepage = "https://github.com/untitaker/python-atomicwrites"
- url = "https://pypi.io/packages/source/a/atomicwrites/atomicwrites-1.3.0.tar.gz"
-
- import_modules = ['atomicwrites']
+ pypi = "atomicwrites/atomicwrites-1.3.0.tar.gz"
version('1.3.0', sha256='75a9445bac02d8d058d5e1fe689654ba5a6556a1dfd8ce6ec55a0ed79866cfa6')
version('1.1.5', sha256='240831ea22da9ab882b551b31d4225591e5e447a68c5e188db5b89ca1d487585')
diff --git a/var/spack/repos/builtin/packages/py-atpublic/package.py b/var/spack/repos/builtin/packages/py-atpublic/package.py
new file mode 100644
index 0000000000..b32564285a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-atpublic/package.py
@@ -0,0 +1,22 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+from spack import *
+
+
+class PyAtpublic(PythonPackage):
+ """This library provides two very simple decorators that document
+ the publicness of the names in your module."""
+
+ homepage = "https://public.readthedocs.io"
+ pypi = "atpublic/atpublic-2.1.2.tar.gz"
+
+ version('2.1.2', sha256='82a2f2c0343ac67913f67cdee8fa4da294a4d6b863111527a459c8e4d1a646c8')
+ version('2.1.1', sha256='fa1d48bcb85bbed90f6ffee6936578f65ff0e93aa607397bd88eaeb408bd96d8')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-typing-extensions', when='^python@:3.7.999', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-atropos/package.py b/var/spack/repos/builtin/packages/py-atropos/package.py
index b08f3a818e..979bd9d250 100644
--- a/var/spack/repos/builtin/packages/py-atropos/package.py
+++ b/var/spack/repos/builtin/packages/py-atropos/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyAtropos(PythonPackage):
reads. It is a fork of the venerable Cutadapt read trimmer."""
homepage = "https://atropos.readthedocs.io"
- url = "https://pypi.io/packages/source/a/atropos/atropos-1.1.22.tar.gz"
+ pypi = "atropos/atropos-1.1.22.tar.gz"
git = "https://github.com/jdidion/atropos.git"
version('1.1.22', sha256='05e40cb9337421479c692e1154b962fbf811d7939b72c197a024929b7ae88b78')
diff --git a/var/spack/repos/builtin/packages/py-attrs/package.py b/var/spack/repos/builtin/packages/py-attrs/package.py
index cdb3d490c5..7c9ea1d1c0 100644
--- a/var/spack/repos/builtin/packages/py-attrs/package.py
+++ b/var/spack/repos/builtin/packages/py-attrs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,9 +10,7 @@ class PyAttrs(PythonPackage):
"""Classes Without Boilerplate"""
homepage = "http://attrs.org/"
- url = "https://pypi.io/packages/source/a/attrs/attrs-20.3.0.tar.gz"
-
- import_modules = ['attr']
+ pypi = "attrs/attrs-20.3.0.tar.gz"
version('20.3.0', sha256='832aa3cde19744e49938b91fea06d69ecb9e649c93ba974535d08ad92164f700')
version('20.2.0', sha256='26b54ddbbb9ee1d34d5d3668dd37d6cf74990ab23c828c2888dccdceee395594')
@@ -25,11 +23,3 @@ class PyAttrs(PythonPackage):
depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
-
- depends_on('py-coverage', type='test')
- depends_on('py-hypothesis', type='test')
- depends_on('py-pympler', type='test')
- depends_on('py-pytest', type='test')
- depends_on('py-pytest@4.3.0:', type='test', when='@19.3.0:')
- depends_on('py-six', type='test')
- depends_on('py-zope-interface', type='test')
diff --git a/var/spack/repos/builtin/packages/py-audioread/package.py b/var/spack/repos/builtin/packages/py-audioread/package.py
index b69f22b720..d2afde94ae 100644
--- a/var/spack/repos/builtin/packages/py-audioread/package.py
+++ b/var/spack/repos/builtin/packages/py-audioread/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyAudioread(PythonPackage):
Python."""
homepage = "https://github.com/beetbox/audioread"
- url = "https://pypi.io/packages/source/a/audioread/audioread-2.1.8.tar.gz"
+ pypi = "audioread/audioread-2.1.8.tar.gz"
version('2.1.8', sha256='073904fabc842881e07bd3e4a5776623535562f70b1655b635d22886168dd168')
diff --git a/var/spack/repos/builtin/packages/py-autograd-gamma/package.py b/var/spack/repos/builtin/packages/py-autograd-gamma/package.py
index 75436ea4c9..9d586c6a9c 100644
--- a/var/spack/repos/builtin/packages/py-autograd-gamma/package.py
+++ b/var/spack/repos/builtin/packages/py-autograd-gamma/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ class PyAutogradGamma(PythonPackage):
Gamma-family of functions."""
homepage = "https://github.com/CamDavidsonPilon/autograd-gamma"
- url = "https://pypi.io/packages/source/a/autograd-gamma/autograd-gamma-0.4.3.tar.gz"
+ pypi = "autograd-gamma/autograd-gamma-0.4.3.tar.gz"
version('0.4.3', sha256='2cb570cbb8da61ede937ccc004d87d3924108f754b351a86cdd2ad31ace6cdf6')
diff --git a/var/spack/repos/builtin/packages/py-autograd/package.py b/var/spack/repos/builtin/packages/py-autograd/package.py
index 86aba0132d..48e4e9cd55 100644
--- a/var/spack/repos/builtin/packages/py-autograd/package.py
+++ b/var/spack/repos/builtin/packages/py-autograd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,7 +18,7 @@ class PyAutograd(PythonPackage):
examples directory."""
homepage = "https://github.com/HIPS/autograd"
- url = "https://pypi.io/packages/source/a/autograd/autograd-1.3.tar.gz"
+ pypi = "autograd/autograd-1.3.tar.gz"
version('1.3', sha256='a15d147577e10de037de3740ca93bfa3b5a7cdfbc34cfb9105429c3580a33ec4')
diff --git a/var/spack/repos/builtin/packages/py-autopep8/package.py b/var/spack/repos/builtin/packages/py-autopep8/package.py
index 296d0bd4c3..979b206019 100644
--- a/var/spack/repos/builtin/packages/py-autopep8/package.py
+++ b/var/spack/repos/builtin/packages/py-autopep8/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyAutopep8(PythonPackage):
PEP 8 style guide."""
homepage = "https://github.com/hhatto/autopep8"
- url = "https://pypi.io/packages/source/a/autopep8/autopep8-1.2.4.tar.gz"
+ pypi = "autopep8/autopep8-1.2.4.tar.gz"
version('1.4.4', sha256='4d8eec30cc81bc5617dbf1218201d770dc35629363547f17577c61683ccfb3ee')
version('1.3.3', sha256='ff787bffb812818c3071784b5ce9a35f8c481a0de7ea0ce4f8b68b8788a12f30')
diff --git a/var/spack/repos/builtin/packages/py-auxlib/package.py b/var/spack/repos/builtin/packages/py-auxlib/package.py
index 4d18101e5d..a263eaadde 100644
--- a/var/spack/repos/builtin/packages/py-auxlib/package.py
+++ b/var/spack/repos/builtin/packages/py-auxlib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyAuxlib(PythonPackage):
"""Auxlib is an auxiliary library to the python standard library."""
homepage = "https://github.com/kalefranz/auxlib"
- url = "https://pypi.io/packages/source/a/auxlib/auxlib-0.0.43.tar.gz"
+ pypi = "auxlib/auxlib-0.0.43.tar.gz"
version('0.0.43', sha256='0f175637e96a090a785767ce28483cf1aeec316a19afce9b2fbd113e1122786a')
diff --git a/var/spack/repos/builtin/packages/py-avro-json-serializer/package.py b/var/spack/repos/builtin/packages/py-avro-json-serializer/package.py
index 614d29196d..af1fb402ed 100644
--- a/var/spack/repos/builtin/packages/py-avro-json-serializer/package.py
+++ b/var/spack/repos/builtin/packages/py-avro-json-serializer/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyAvroJsonSerializer(PythonPackage):
"""Serializes data into a JSON format using AVRO schema."""
homepage = "https://github.com/linkedin/python-avro-json-serializer"
- url = "https://pypi.io/packages/source/a/avro_json_serializer/avro_json_serializer-0.4.tar.gz"
+ pypi = "avro_json_serializer/avro_json_serializer-0.4.tar.gz"
version('0.4', sha256='f9dac2dac92036c5dd5aba8c716545fc0a0630cc365a51ab15bc2ac47eac28f1')
diff --git a/var/spack/repos/builtin/packages/py-avro-python3/package.py b/var/spack/repos/builtin/packages/py-avro-python3/package.py
index 2c62f35825..224bcec05e 100644
--- a/var/spack/repos/builtin/packages/py-avro-python3/package.py
+++ b/var/spack/repos/builtin/packages/py-avro-python3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyAvroPython3(PythonPackage):
functions will be made available for both python2 and python3."""
homepage = "https://github.com/apache/avro/tree/master/lang/py3"
- url = "https://pypi.io/packages/source/a/avro-python3/avro-python3-1.10.0.tar.gz"
+ pypi = "avro-python3/avro-python3-1.10.0.tar.gz"
version('1.10.0', sha256='a455c215540b1fceb1823e2a918e94959b54cb363307c97869aa46b5b55bde05')
diff --git a/var/spack/repos/builtin/packages/py-avro/package.py b/var/spack/repos/builtin/packages/py-avro/package.py
index 35c903a411..8e33156b24 100644
--- a/var/spack/repos/builtin/packages/py-avro/package.py
+++ b/var/spack/repos/builtin/packages/py-avro/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyAvro(PythonPackage):
"""Avro is a serialization and RPC framework."""
homepage = "http://avro.apache.org/docs/current/"
- url = "https://pypi.io/packages/source/a/avro/avro-1.8.2.tar.gz"
+ pypi = "avro/avro-1.8.2.tar.gz"
version('1.8.2', sha256='8f9ee40830b70b5fb52a419711c9c4ad0336443a6fba7335060805f961b04b59')
diff --git a/var/spack/repos/builtin/packages/py-awesome-slugify/package.py b/var/spack/repos/builtin/packages/py-awesome-slugify/package.py
index 2d8ac680e4..1db30c5296 100644
--- a/var/spack/repos/builtin/packages/py-awesome-slugify/package.py
+++ b/var/spack/repos/builtin/packages/py-awesome-slugify/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyAwesomeSlugify(PythonPackage):
"""Python flexible slugify function"""
homepage = "https://github.com/dimka665/awesome-slugify"
- url = "https://pypi.io/packages/source/a/awesome-slugify/awesome-slugify-1.6.5.tar.gz"
+ pypi = "awesome-slugify/awesome-slugify-1.6.5.tar.gz"
version('1.6.5', sha256='bbdec3fa2187917473a2efad092b57f7125a55f841a7cf6a1773178d32ccfd71')
@@ -18,4 +18,3 @@ class PyAwesomeSlugify(PythonPackage):
depends_on('py-regex', type=('build', 'run'))
depends_on('py-unidecode@0.04.14:0.04.99', type=('build', 'run'))
- depends_on('py-nose', type='test')
diff --git a/var/spack/repos/builtin/packages/py-awkward1/package.py b/var/spack/repos/builtin/packages/py-awkward1/package.py
index 515ef90a04..ccfaccdf0f 100644
--- a/var/spack/repos/builtin/packages/py-awkward1/package.py
+++ b/var/spack/repos/builtin/packages/py-awkward1/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -25,4 +25,4 @@ class PyAwkward1(PythonPackage):
depends_on('py-numpy@1.13.1:')
depends_on('py-pybind11')
depends_on('rapidjson')
- depends_on('cmake')
+ depends_on('cmake', type='build')
diff --git a/var/spack/repos/builtin/packages/py-azote/package.py b/var/spack/repos/builtin/packages/py-azote/package.py
index 60fdc86e5b..736ae9609d 100644
--- a/var/spack/repos/builtin/packages/py-azote/package.py
+++ b/var/spack/repos/builtin/packages/py-azote/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-azure-batch/package.py b/var/spack/repos/builtin/packages/py-azure-batch/package.py
index b201ec7660..f2bc719c30 100644
--- a/var/spack/repos/builtin/packages/py-azure-batch/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-batch/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureBatch(PythonPackage):
"""Microsoft Azure Batch Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-batch/azure-batch-9.0.0.zip"
+ pypi = "azure-batch/azure-batch-9.0.0.zip"
version('9.0.0', sha256='47ca6f50a640915e1cdc5ce3c1307abe5fa3a636236e561119cf62d9df384d84')
diff --git a/var/spack/repos/builtin/packages/py-azure-cli-command-modules-nspkg/package.py b/var/spack/repos/builtin/packages/py-azure-cli-command-modules-nspkg/package.py
index 0a40cf2e44..027281f528 100644
--- a/var/spack/repos/builtin/packages/py-azure-cli-command-modules-nspkg/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-cli-command-modules-nspkg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureCliCommandModulesNspkg(PythonPackage):
"""Microsoft Azure CLI Command Modules Namespace Package."""
homepage = "https://github.com/Azure/azure-cli"
- url = "https://pypi.io/packages/source/a/azure-cli-command-modules-nspkg/azure-cli-command-modules-nspkg-2.0.3.tar.gz"
+ pypi = "azure-cli-command-modules-nspkg/azure-cli-command-modules-nspkg-2.0.3.tar.gz"
version('2.0.3', sha256='4bd62bf5facb92dd4f89080e75eaee2ea1d3dd4e57a3d2a760ce501cf53f4e7d')
diff --git a/var/spack/repos/builtin/packages/py-azure-cli-core/package.py b/var/spack/repos/builtin/packages/py-azure-cli-core/package.py
index 07e520c530..c638326957 100644
--- a/var/spack/repos/builtin/packages/py-azure-cli-core/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-cli-core/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureCliCore(PythonPackage):
"""Microsoft Azure Command-Line Tools Core Module."""
homepage = "https://github.com/Azure/azure-cli"
- url = "https://pypi.io/packages/source/a/azure-cli-core/azure-cli-core-2.9.1.tar.gz"
+ pypi = "azure-cli-core/azure-cli-core-2.9.1.tar.gz"
version('2.9.1', sha256='8618a30f7ea2188506f29801220c06396d731c26e4de92c327e6b0e8cc790db5')
@@ -36,4 +36,3 @@ class PyAzureCliCore(PythonPackage):
depends_on('py-ndg-httpsclient', when='^python@:2.7.8', type=('build', 'run'))
depends_on('py-pyasn1', when='^python@:2.7.8', type=('build', 'run'))
depends_on('py-futures', when='^python@:2', type=('build', 'run'))
- depends_on('py-mock', type='test')
diff --git a/var/spack/repos/builtin/packages/py-azure-cli-nspkg/package.py b/var/spack/repos/builtin/packages/py-azure-cli-nspkg/package.py
index 31fab8f659..c5a9f8eaa3 100644
--- a/var/spack/repos/builtin/packages/py-azure-cli-nspkg/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-cli-nspkg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureCliNspkg(PythonPackage):
"""Microsoft Azure CLI Namespace Package."""
homepage = "https://github.com/Azure/azure-cli"
- url = "https://pypi.io/packages/source/a/azure-cli-nspkg/azure-cli-nspkg-3.0.4.tar.gz"
+ pypi = "azure-cli-nspkg/azure-cli-nspkg-3.0.4.tar.gz"
version('3.0.4', sha256='1bde56090f548c6435bd3093995cf88e4c445fb040604df8b5b5f70780d79181')
diff --git a/var/spack/repos/builtin/packages/py-azure-cli-telemetry/package.py b/var/spack/repos/builtin/packages/py-azure-cli-telemetry/package.py
index bb379686be..327c3e4688 100644
--- a/var/spack/repos/builtin/packages/py-azure-cli-telemetry/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-cli-telemetry/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,11 +8,10 @@ class PyAzureCliTelemetry(PythonPackage):
"""Microsoft Azure CLI Telemetry Package."""
homepage = "https://github.com/Azure/azure-cli"
- url = "https://pypi.io/packages/source/a/azure-cli-telemetry/azure-cli-telemetry-1.0.4.tar.gz"
+ pypi = "azure-cli-telemetry/azure-cli-telemetry-1.0.4.tar.gz"
version('1.0.4', sha256='1f239d544d309c29e827982cc20113eb57037dba16db6cdd2e0283e437e0e577')
depends_on('py-setuptools', type='build')
depends_on('py-applicationinsights@0.11.1:0.11.999', type=('build', 'run'))
depends_on('py-portalocker@1.2:1.999', type=('build', 'run'))
- depends_on('py-mock', type='test')
diff --git a/var/spack/repos/builtin/packages/py-azure-cli/package.py b/var/spack/repos/builtin/packages/py-azure-cli/package.py
index faa09d1cfd..cc5ed8aeef 100644
--- a/var/spack/repos/builtin/packages/py-azure-cli/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-cli/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureCli(PythonPackage):
"""Microsoft Azure Command-Line Tools."""
homepage = "https://github.com/Azure/azure-cli"
- url = "https://pypi.io/packages/source/a/azure-cli/azure-cli-2.9.1.tar.gz"
+ pypi = "azure-cli/azure-cli-2.9.1.tar.gz"
version('2.9.1', sha256='749d850f73ea8956ab510288c1061dd7066180a8583081a6d560fdc7ac8314d6')
@@ -99,4 +99,3 @@ class PyAzureCli(PythonPackage):
depends_on('py-xmltodict@0.12:0.999', type=('build', 'run'))
depends_on('py-javaproperties@0.5.1', type=('build', 'run'))
depends_on('py-jsondiff@1.2.0', type=('build', 'run'))
- depends_on('py-mock@4.0:4.999', type='test')
diff --git a/var/spack/repos/builtin/packages/py-azure-common/package.py b/var/spack/repos/builtin/packages/py-azure-common/package.py
index 72410b447e..6979ce1cfb 100644
--- a/var/spack/repos/builtin/packages/py-azure-common/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-common/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureCommon(PythonPackage):
"""Microsoft Azure Client Library for Python (Common)."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-common/azure-common-1.1.25.zip"
+ pypi = "azure-common/azure-common-1.1.25.zip"
version('1.1.25', sha256='ce0f1013e6d0e9faebaf3188cc069f4892fc60a6ec552e3f817c1a2f92835054')
diff --git a/var/spack/repos/builtin/packages/py-azure-core/package.py b/var/spack/repos/builtin/packages/py-azure-core/package.py
index e45bfcabfb..a7c9e591cc 100644
--- a/var/spack/repos/builtin/packages/py-azure-core/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-core/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureCore(PythonPackage):
"""Microsoft Azure Core Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/core/azure-core"
- url = "https://pypi.io/packages/source/a/azure-core/azure-core-1.7.0.zip"
+ pypi = "azure-core/azure-core-1.7.0.zip"
version('1.7.0', sha256='a66da240a287f447f9867f54ba09ea235895cec13ea38c5f490ce4eedefdd75c')
version('1.6.0', sha256='d10b74e783cff90d56360e61162afdd22276d62dc9467e657ae866449eae7648')
diff --git a/var/spack/repos/builtin/packages/py-azure-cosmos/package.py b/var/spack/repos/builtin/packages/py-azure-cosmos/package.py
index 56ed2ae59f..3d8ce9a111 100644
--- a/var/spack/repos/builtin/packages/py-azure-cosmos/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-cosmos/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureCosmos(PythonPackage):
"""Microsoft Azure Cosmos Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-cosmos/azure-cosmos-4.0.0.zip"
+ pypi = "azure-cosmos/azure-cosmos-4.0.0.zip"
version('4.0.0', sha256='c4e40e0d378fd0c96664f46f1ad08e6c8aaaac31c463726a74aae9eae724442d')
version('3.2.0', sha256='4f77cc558fecffac04377ba758ac4e23f076dc1c54e2cf2515f85bc15cbde5c6',
diff --git a/var/spack/repos/builtin/packages/py-azure-datalake-store/package.py b/var/spack/repos/builtin/packages/py-azure-datalake-store/package.py
index 84dc392932..d6f8199b43 100644
--- a/var/spack/repos/builtin/packages/py-azure-datalake-store/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-datalake-store/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureDatalakeStore(PythonPackage):
"""Azure Data Lake Store Filesystem Client Library for Python."""
homepage = "https://github.com/Azure/azure-data-lake-store-python"
- url = "https://pypi.io/packages/source/a/azure-datalake-store/azure-datalake-store-0.0.48.tar.gz"
+ pypi = "azure-datalake-store/azure-datalake-store-0.0.48.tar.gz"
version('0.0.48', sha256='d27c335783d4add00b3a5f709341e4a8009857440209e15a739a9a96b52386f7')
diff --git a/var/spack/repos/builtin/packages/py-azure-functions-devops-build/package.py b/var/spack/repos/builtin/packages/py-azure-functions-devops-build/package.py
index ee70dc2f03..9da4a4dd10 100644
--- a/var/spack/repos/builtin/packages/py-azure-functions-devops-build/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-functions-devops-build/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ class PyAzureFunctionsDevopsBuild(PythonPackage):
Specifically made for the Azure CLI."""
homepage = "https://github.com/Azure/azure-functions-devops-build"
- url = "https://pypi.io/packages/source/a/azure-functions-devops-build/azure-functions-devops-build-0.0.22.tar.gz"
+ pypi = "azure-functions-devops-build/azure-functions-devops-build-0.0.22.tar.gz"
version('0.0.22', sha256='c6341abda6098813f8fa625acd1e925410a17a8a1c7aaabdf975bb7cecb14edf')
diff --git a/var/spack/repos/builtin/packages/py-azure-graphrbac/package.py b/var/spack/repos/builtin/packages/py-azure-graphrbac/package.py
index 4cd0dd661f..d051d5f68a 100644
--- a/var/spack/repos/builtin/packages/py-azure-graphrbac/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-graphrbac/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureGraphrbac(PythonPackage):
"""Microsoft Azure Graph RBAC Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-graphrbac/azure-graphrbac-0.61.1.zip"
+ pypi = "azure-graphrbac/azure-graphrbac-0.61.1.zip"
version('0.61.1', sha256='53e98ae2ca7c19b349e9e9bb1b6a824aeae8dcfcbe17190d20fe69c0f185b2e2')
version('0.60.0', sha256='d0bb62d8bf8e196b903f3971ba4afa448e4fe14e8394ebfcdd941d84d62ecafe')
diff --git a/var/spack/repos/builtin/packages/py-azure-identity/package.py b/var/spack/repos/builtin/packages/py-azure-identity/package.py
index e3835d9cef..79371fde83 100644
--- a/var/spack/repos/builtin/packages/py-azure-identity/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-identity/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureIdentity(PythonPackage):
"""Microsoft Azure Identity Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/identity/azure-identity"
- url = "https://pypi.io/packages/source/a/azure-identity/azure-identity-1.3.1.zip"
+ pypi = "azure-identity/azure-identity-1.3.1.zip"
version('1.3.1', sha256='5a59c36b4b05bdaec455c390feda71b6495fc828246593404351b9a41c2e877a')
version('1.2.0', sha256='b32acd1cdb6202bfe10d9a0858dc463d8960295da70ae18097eb3b85ab12cb91')
diff --git a/var/spack/repos/builtin/packages/py-azure-keyvault-certificates/package.py b/var/spack/repos/builtin/packages/py-azure-keyvault-certificates/package.py
index 49ad0b0ea6..0a3142140c 100644
--- a/var/spack/repos/builtin/packages/py-azure-keyvault-certificates/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-keyvault-certificates/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureKeyvaultCertificates(PythonPackage):
"""Microsoft Azure Key Vault Certificates Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-certificates"
- url = "https://pypi.io/packages/source/a/azure-keyvault-certificates/azure-keyvault-certificates-4.1.0.zip"
+ pypi = "azure-keyvault-certificates/azure-keyvault-certificates-4.1.0.zip"
version('4.1.0', sha256='544f56480619e1db350f2e7b117b22af778e02174bd6bcb0af9ae00c50353419')
diff --git a/var/spack/repos/builtin/packages/py-azure-keyvault-keys/package.py b/var/spack/repos/builtin/packages/py-azure-keyvault-keys/package.py
index 7fa65939ac..ce910ec577 100644
--- a/var/spack/repos/builtin/packages/py-azure-keyvault-keys/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-keyvault-keys/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureKeyvaultKeys(PythonPackage):
"""Microsoft Azure Key Vault Keys Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-keys"
- url = "https://pypi.io/packages/source/a/azure-keyvault-keys/azure-keyvault-keys-4.1.0.zip"
+ pypi = "azure-keyvault-keys/azure-keyvault-keys-4.1.0.zip"
version('4.1.0', sha256='f9967b4deb48e619f6c40558f69e48978779cc09c8a7fad33d536cfc41cd68f9')
diff --git a/var/spack/repos/builtin/packages/py-azure-keyvault-nspkg/package.py b/var/spack/repos/builtin/packages/py-azure-keyvault-nspkg/package.py
index 16200150de..22632d0d66 100644
--- a/var/spack/repos/builtin/packages/py-azure-keyvault-nspkg/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-keyvault-nspkg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureKeyvaultNspkg(PythonPackage):
"""Microsoft Azure Key Vault Namespace Package."""
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault"
- url = "https://pypi.io/packages/source/a/azure-keyvault-nspkg/azure-keyvault-nspkg-1.0.0.zip"
+ pypi = "azure-keyvault-nspkg/azure-keyvault-nspkg-1.0.0.zip"
version('1.0.0', sha256='ac68b88aab9c6caf54a23da2a1d1c718d7520bae5adff04dd0a743228269b641')
diff --git a/var/spack/repos/builtin/packages/py-azure-keyvault-secrets/package.py b/var/spack/repos/builtin/packages/py-azure-keyvault-secrets/package.py
index cbc91cde3d..5761fd83f5 100644
--- a/var/spack/repos/builtin/packages/py-azure-keyvault-secrets/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-keyvault-secrets/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureKeyvaultSecrets(PythonPackage):
"""Microsoft Azure Key Vault Secrets Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault-secrets"
- url = "https://pypi.io/packages/source/a/azure-keyvault-secrets/azure-keyvault-secrets-4.1.0.zip"
+ pypi = "azure-keyvault-secrets/azure-keyvault-secrets-4.1.0.zip"
version('4.1.0', sha256='4f3bfac60e025e01dd1c1998b73649d45d706975356c0cf147174cf5a6ddf8be')
diff --git a/var/spack/repos/builtin/packages/py-azure-keyvault/package.py b/var/spack/repos/builtin/packages/py-azure-keyvault/package.py
index b18a562226..7ab2dfb767 100644
--- a/var/spack/repos/builtin/packages/py-azure-keyvault/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-keyvault/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureKeyvault(PythonPackage):
"""Microsoft Azure Key Vault Client Libraries for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/keyvault/azure-keyvault"
- url = "https://pypi.io/packages/source/a/azure-keyvault/azure-keyvault-4.1.0.zip"
+ pypi = "azure-keyvault/azure-keyvault-4.1.0.zip"
version('4.1.0', sha256='69002a546921a8290eb54d9a3805cfc515c321bc1d4c0bfcfb463620245eca40')
version('1.1.0', sha256='37a8e5f376eb5a304fcd066d414b5d93b987e68f9212b0c41efa37d429aadd49')
diff --git a/var/spack/repos/builtin/packages/py-azure-loganalytics/package.py b/var/spack/repos/builtin/packages/py-azure-loganalytics/package.py
index 25a4e42317..606c5ee879 100644
--- a/var/spack/repos/builtin/packages/py-azure-loganalytics/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-loganalytics/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureLoganalytics(PythonPackage):
"""Microsoft Azure Log Analytics Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-loganalytics/azure-loganalytics-0.1.0.zip"
+ pypi = "azure-loganalytics/azure-loganalytics-0.1.0.zip"
version('0.1.0', sha256='3ceb350def677a351f34b0a0d1637df6be0c6fe87ff32a5270b17f540f6da06e')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-advisor/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-advisor/package.py
index 5e19a89dea..ab5cb79d26 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-advisor/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-advisor/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtAdvisor(PythonPackage):
"""Microsoft Azure Advisor Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-advisor/azure-mgmt-advisor-4.0.0.zip"
+ pypi = "azure-mgmt-advisor/azure-mgmt-advisor-4.0.0.zip"
version('4.0.0', sha256='1ecea7a9dc48c099c06aab68aace7fdbded91a5522932882b1707c29fa055054')
version('2.0.1', sha256='1929d6d5ba49d055fdc806e981b93cf75ea42ba35f78222aaf42d8dcf29d4ef3')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-apimanagement/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-apimanagement/package.py
index 538bfed522..f816f5fade 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-apimanagement/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-apimanagement/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtApimanagement(PythonPackage):
"""Microsoft Azure API Management Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-apimanagement/azure-mgmt-apimanagement-0.2.0.zip"
+ pypi = "azure-mgmt-apimanagement/azure-mgmt-apimanagement-0.2.0.zip"
version('0.2.0', sha256='790f01c0b32583706b8b8c59667c0f5a51cd70444eee76474e23a598911e1d72')
version('0.1.0', sha256='5d45d3438c6a11bae6bb8d4d5173cdb44b85683695f9f3433f22f45aecc47819')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-appconfiguration/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-appconfiguration/package.py
index 96f7a6dfff..9fd889dc10 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-appconfiguration/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-appconfiguration/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ class PyAzureMgmtAppconfiguration(PythonPackage):
"""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-appconfiguration/azure-mgmt-appconfiguration-0.5.0.zip"
+ pypi = "azure-mgmt-appconfiguration/azure-mgmt-appconfiguration-0.5.0.zip"
version('0.5.0', sha256='211527511d7616a383cc196956eaf2b7ee016f2367d367924b3715f2a41106da')
version('0.4.0', sha256='85f6202ba235fde6be274f3dec1578b90235cf31979abea3fcfa476d0b2ac5b6')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-applicationinsights/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-applicationinsights/package.py
index b7b4089b9d..8289b7a2aa 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-applicationinsights/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-applicationinsights/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ class PyAzureMgmtApplicationinsights(PythonPackage):
Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-applicationinsights/azure-mgmt-applicationinsights-0.3.0.zip"
+ pypi = "azure-mgmt-applicationinsights/azure-mgmt-applicationinsights-0.3.0.zip"
version('0.3.0', sha256='3c788a54db4fbca1a8850151462ec1471ff59c86b3a10d6082952bbdaa7e6651')
version('0.1.1', sha256='f10229eb9e3e9d0ad20188b8d14d67055e86f3815b43b75eedf96b654bee2a9b')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-authorization/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-authorization/package.py
index 5a5089966c..6990814ac1 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-authorization/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-authorization/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtAuthorization(PythonPackage):
"""Microsoft Azure Authorization Management Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-authorization/azure-mgmt-authorization-0.60.0.zip"
+ pypi = "azure-mgmt-authorization/azure-mgmt-authorization-0.60.0.zip"
version('0.60.0', sha256='31e875a34ac2c5d6fefe77b4a8079a8b2bdbe9edb957e47e8b44222fb212d6a7')
version('0.52.0', sha256='16a618c4357c11e96de376856c396f09e76a56473920cdf7a66735fabaa2a70c')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-batch/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-batch/package.py
index f11c869362..e4a9a7682c 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-batch/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-batch/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtBatch(PythonPackage):
"""Microsoft Azure Batch Management Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-batch/azure-mgmt-batch-9.0.0.zip"
+ pypi = "azure-mgmt-batch/azure-mgmt-batch-9.0.0.zip"
version('9.0.0', sha256='03417eecfa1fac906e674cb1cb43ed7da27a96277277b091d7c389ba39f6c3fe')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-batchai/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-batchai/package.py
index ec279bfc50..301398f80f 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-batchai/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-batchai/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtBatchai(PythonPackage):
"""Microsoft Azure Batch AI Management Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-batchai/azure-mgmt-batchai-2.0.0.zip"
+ pypi = "azure-mgmt-batchai/azure-mgmt-batchai-2.0.0.zip"
version('2.0.0', sha256='f1870b0f97d5001cdb66208e5a236c9717a0ed18b34dbfdb238a828f3ca2a683')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-billing/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-billing/package.py
index a124ac5931..a4ceadbe96 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-billing/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-billing/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtBilling(PythonPackage):
"""Microsoft Azure Billing Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-billing/azure-mgmt-billing-0.2.0.zip"
+ pypi = "azure-mgmt-billing/azure-mgmt-billing-0.2.0.zip"
version('0.2.0', sha256='85f73bb3808a7d0d2543307e8f41e5b90a170ad6eeedd54fe7fcaac61b5b22d2')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-botservice/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-botservice/package.py
index 168259dac0..10f403f43f 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-botservice/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-botservice/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtBotservice(PythonPackage):
"""Microsoft Azure Bot Service Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-botservice/azure-mgmt-botservice-0.2.0.zip"
+ pypi = "azure-mgmt-botservice/azure-mgmt-botservice-0.2.0.zip"
version('0.2.0', sha256='b21d8858e69aa16d25b908c40116a1f773c127ec4dd602cbb8542ebf39a55d83')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-cdn/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-cdn/package.py
index 916934c841..7d181e5c3e 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-cdn/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-cdn/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtCdn(PythonPackage):
"""Microsoft Azure CDN Management Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-cdn/azure-mgmt-cdn-4.0.0.zip"
+ pypi = "azure-mgmt-cdn/azure-mgmt-cdn-4.0.0.zip"
# Release candidate needed for py-azure-cli
version('4.1.0rc1', sha256='853c73d612f5d97387e079c5841a9f1a05702173d0c7c0c59ba7b0fd86380503')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-cognitiveservices/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-cognitiveservices/package.py
index 067f980c7d..8d27014d96 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-cognitiveservices/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-cognitiveservices/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ class PyAzureMgmtCognitiveservices(PythonPackage):
Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-cognitiveservices/azure-mgmt-cognitiveservices-6.2.0.zip"
+ pypi = "azure-mgmt-cognitiveservices/azure-mgmt-cognitiveservices-6.2.0.zip"
version('6.2.0', sha256='93503507ba87c18fe24cd3dfcd54e6e69a4daf7636f38b7537e09cee9a4c13ce')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-compute/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-compute/package.py
index 4b47781334..732010eb3d 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-compute/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-compute/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtCompute(PythonPackage):
"""Microsoft Azure Compute Management Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-compute/azure-mgmt-compute-13.0.0.zip"
+ pypi = "azure-mgmt-compute/azure-mgmt-compute-13.0.0.zip"
version('13.0.0', sha256='7f331bafcbedf25d65aa42038f7553747dab18d7f10a5af3297192d31c45339e')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-consumption/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-consumption/package.py
index 8974a4500d..eb9e8d1e39 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-consumption/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-consumption/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtConsumption(PythonPackage):
"""Microsoft Azure Consumption Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-consumption/azure-mgmt-consumption-3.0.0.zip"
+ pypi = "azure-mgmt-consumption/azure-mgmt-consumption-3.0.0.zip"
version('3.0.0', sha256='035d4b74ca7c47e2683bea17105fd9014c27060336fb6255324ac86b27f70f5b')
version('2.0.0', sha256='9a85a89f30f224d261749be20b4616a0eb8948586f7f0f20573b8ea32f265189')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-containerinstance/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-containerinstance/package.py
index c2ce7566d4..035b88f33c 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-containerinstance/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-containerinstance/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtContainerinstance(PythonPackage):
"""Microsoft Azure Container Instance Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-containerinstance/azure-mgmt-containerinstance-2.0.0.zip"
+ pypi = "azure-mgmt-containerinstance/azure-mgmt-containerinstance-2.0.0.zip"
version('2.0.0', sha256='5ad247d186c3c040da7a1d40ad39c9881e99afc58271f673abb602abb0b6b85b')
version('1.5.0', sha256='b055386f04ba8433112b0df7fcbc260b5208828d7bb8c057e760fe596aa7a8cd')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-containerregistry/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-containerregistry/package.py
index 1a337d7a4a..947ee794ac 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-containerregistry/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-containerregistry/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtContainerregistry(PythonPackage):
"""Microsoft Azure Container Registry Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-containerregistry/azure-mgmt-containerregistry-2.8.0.zip"
+ pypi = "azure-mgmt-containerregistry/azure-mgmt-containerregistry-2.8.0.zip"
# Release candidate needed for py-azure-cli
version('3.0.0rc14', sha256='d23ce93ec5903d00f79f0ac995e16bf47197130239f7f182509add3277b73071')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-containerservice/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-containerservice/package.py
index 3e592e4a13..6c4daf4775 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-containerservice/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-containerservice/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ class PyAzureMgmtContainerservice(PythonPackage):
"""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-containerservice/azure-mgmt-containerservice-9.2.0.zip"
+ pypi = "azure-mgmt-containerservice/azure-mgmt-containerservice-9.2.0.zip"
version('9.2.0', sha256='e7904b60c42a153b64b1604f3c698602686b38787bebdaed6e808cd43b6e5967')
version('9.0.1', sha256='7e4459679bdba4aa67a4b5848e63d94e965a304a7418ef7607eb7a9ce295d886')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-core/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-core/package.py
index 4dfca888f6..07b9620797 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-core/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-core/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtCore(PythonPackage):
"""Microsoft Azure Management Core Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/core/azure-mgmt-core"
- url = "https://pypi.io/packages/source/a/azure-mgmt-core/azure-mgmt-core-1.2.0.zip"
+ pypi = "azure-mgmt-core/azure-mgmt-core-1.2.0.zip"
version('1.2.0', sha256='8fe3b59446438f27e34f7b24ea692a982034d9e734617ca1320eedeee1939998')
version('1.0.0', sha256='510faf49a10daec8346cc086143d8e667ef3b4f8c8022a8e710091027631a55e')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-cosmosdb/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-cosmosdb/package.py
index 978d659b9e..903fd1963c 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-cosmosdb/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-cosmosdb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtCosmosdb(PythonPackage):
"""Microsoft Azure Cosmos DB Management Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-cosmosdb/azure-mgmt-cosmosdb-0.15.0.zip"
+ pypi = "azure-mgmt-cosmosdb/azure-mgmt-cosmosdb-0.15.0.zip"
version('0.15.0', sha256='e70fe9b3d9554c501d46e69f18b73de18d77fbcb98a7a87b965b3dd027cada0f')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-datalake-analytics/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-datalake-analytics/package.py
index bcb73cd655..a96112a8b3 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-datalake-analytics/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-datalake-analytics/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ class PyAzureMgmtDatalakeAnalytics(PythonPackage):
Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-datalake-analytics/azure-mgmt-datalake-analytics-0.6.0.zip"
+ pypi = "azure-mgmt-datalake-analytics/azure-mgmt-datalake-analytics-0.6.0.zip"
version('0.6.0', sha256='0d64c4689a67d6138eb9ffbaff2eda2bace7d30b846401673183dcb42714de8f')
version('0.2.1', sha256='4c7960d094f5847d9a456c18b8a3c8e60c428e3080a3905f1c943d81ba6351a4')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-datalake-store/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-datalake-store/package.py
index 994c8a60c1..7e1cf9bd11 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-datalake-store/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-datalake-store/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtDatalakeStore(PythonPackage):
"""Microsoft Azure Data Lake Store Management Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-datalake-store/azure-mgmt-datalake-store-0.5.0.zip"
+ pypi = "azure-mgmt-datalake-store/azure-mgmt-datalake-store-0.5.0.zip"
version('0.5.0', sha256='9376d35495661d19f8acc5604f67b0bc59493b1835bbc480f9a1952f90017a4c')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-datamigration/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-datamigration/package.py
index 7eaf2e926b..e774c3a15d 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-datamigration/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-datamigration/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtDatamigration(PythonPackage):
"""Microsoft Azure Data Migration Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-datamigration/azure-mgmt-datamigration-4.0.0.zip"
+ pypi = "azure-mgmt-datamigration/azure-mgmt-datamigration-4.0.0.zip"
version('4.0.0', sha256='1efda568d67af911156591eb308432b5f9a56075b57ac0a5dd9f7aee17d79217')
version('0.1.0', sha256='e754928992743f54d999800a5e0679ee3e91d804d23a25f12c2e6f2f86cd05df')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-deploymentmanager/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-deploymentmanager/package.py
index 57d08f8805..fa28bd3a97 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-deploymentmanager/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-deploymentmanager/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtDeploymentmanager(PythonPackage):
"""Microsoft Azure Deployment Manager Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-deploymentmanager/azure-mgmt-deploymentmanager-0.2.0.zip"
+ pypi = "azure-mgmt-deploymentmanager/azure-mgmt-deploymentmanager-0.2.0.zip"
version('0.2.0', sha256='46e342227993fc9acab1dda42f2eb566b522a8c945ab9d0eea56276b46f6d730')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-devtestlabs/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-devtestlabs/package.py
index 10094a24da..9a556a713d 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-devtestlabs/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-devtestlabs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtDevtestlabs(PythonPackage):
"""Microsoft Azure DevTestLabs Management Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-devtestlabs/azure-mgmt-devtestlabs-4.0.0.zip"
+ pypi = "azure-mgmt-devtestlabs/azure-mgmt-devtestlabs-4.0.0.zip"
version('4.0.0', sha256='59549c4c4068f26466b1097b574a8e5099fb2cd6c8be0a00395b06d3b29e278d')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-dns/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-dns/package.py
index ef7bab9ef7..35dc48f3e2 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-dns/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-dns/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtDns(PythonPackage):
"""Microsoft Azure DNS Management Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-dns/azure-mgmt-dns-3.0.0.zip"
+ pypi = "azure-mgmt-dns/azure-mgmt-dns-3.0.0.zip"
version('3.0.0', sha256='6ecdf4e67d8eb5db593ec331e6d9f350616e77c31225c91d266605e03e63b37f')
version('2.1.0', sha256='3730b1b3f545a5aa43c0fff07418b362a789eb7d81286e2bed90ffef88bfa5d0')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-eventgrid/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-eventgrid/package.py
index d1dc0f2264..93ad191352 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-eventgrid/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-eventgrid/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtEventgrid(PythonPackage):
"""Microsoft Azure EventGrid Management Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-eventgrid/azure-mgmt-eventgrid-2.2.0.zip"
+ pypi = "azure-mgmt-eventgrid/azure-mgmt-eventgrid-2.2.0.zip"
# Release candidate needed for py-azure-cli
version('3.0.0rc7', sha256='68f9eb18b74fa86e07cf4e4d1a2ed16fe549bdd53f21a707b05798616b01a9d4')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-eventhub/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-eventhub/package.py
index bd25960c8c..a5b9a45639 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-eventhub/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-eventhub/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtEventhub(PythonPackage):
"""Microsoft Azure EventHub Management Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-eventhub/azure-mgmt-eventhub-4.0.0.zip"
+ pypi = "azure-mgmt-eventhub/azure-mgmt-eventhub-4.0.0.zip"
version('4.0.0', sha256='65223196cf132899656c2f9cb71a14c972d99e5ecd815ee050dae1072cb73ae2')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-hdinsight/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-hdinsight/package.py
index 4107d2f68b..c35ed71e9d 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-hdinsight/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-hdinsight/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtHdinsight(PythonPackage):
"""Microsoft Azure HDInsight Management Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-hdinsight/azure-mgmt-hdinsight-1.5.1.zip"
+ pypi = "azure-mgmt-hdinsight/azure-mgmt-hdinsight-1.5.1.zip"
version('1.5.1', sha256='76b94f3e43fdc6698023d79be731937dc645dc3178dc134854768528ecc0aea3')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-imagebuilder/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-imagebuilder/package.py
index 44e3e311e4..ae171d1b92 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-imagebuilder/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-imagebuilder/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtImagebuilder(PythonPackage):
"""Microsoft Azure Image Builder Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-imagebuilder/azure-mgmt-imagebuilder-0.4.0.zip"
+ pypi = "azure-mgmt-imagebuilder/azure-mgmt-imagebuilder-0.4.0.zip"
version('0.4.0', sha256='4c9291bf16b40b043637e5e4f15650f71418ac237393e62219cab478a7951733')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-iotcentral/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-iotcentral/package.py
index 80154d6528..7f18068803 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-iotcentral/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-iotcentral/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtIotcentral(PythonPackage):
"""Microsoft Azure IoTCentral Management Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-iotcentral/azure-mgmt-iotcentral-3.1.0.zip"
+ pypi = "azure-mgmt-iotcentral/azure-mgmt-iotcentral-3.1.0.zip"
version('3.1.0', sha256='c175f6642be514ad0efd3dc03d09e50d923596fd9e634381793dcc46bb8a57c7')
version('3.0.0', sha256='f6dacf442ccae2f18f1082e80bcbdcaa8c0efa2ba92b48c5db6ee01d37240047')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-iothub/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-iothub/package.py
index a1954a9751..bcd3c93b88 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-iothub/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-iothub/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtIothub(PythonPackage):
"""Microsoft Azure IoTHub Management Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-iothub/azure-mgmt-iothub-0.12.0.zip"
+ pypi = "azure-mgmt-iothub/azure-mgmt-iothub-0.12.0.zip"
version('0.12.0', sha256='da20ee2b9b9a2c2f89be9037c3ee5421152e7f6d718eafbf50a91dbf0a07ffa0')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-iothubprovisioningservices/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-iothubprovisioningservices/package.py
index 37845cee5d..e9adf65bb9 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-iothubprovisioningservices/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-iothubprovisioningservices/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ class PyAzureMgmtIothubprovisioningservices(PythonPackage):
"""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-iothubprovisioningservices/azure-mgmt-iothubprovisioningservices-0.2.0.zip"
+ pypi = "azure-mgmt-iothubprovisioningservices/azure-mgmt-iothubprovisioningservices-0.2.0.zip"
version('0.2.0', sha256='8c37acfd1c33aba845f2e0302ef7266cad31cba503cc990a48684659acb7b91d')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-keyvault/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-keyvault/package.py
index 5273aec0ff..7a8f3bef2f 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-keyvault/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-keyvault/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtKeyvault(PythonPackage):
"""Microsoft Azure Key Vault Management Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-keyvault/azure-mgmt-keyvault-2.2.0.zip"
+ pypi = "azure-mgmt-keyvault/azure-mgmt-keyvault-2.2.0.zip"
version('2.2.0', sha256='1883e12eeb5819064dc52bf3a3ade05c791f4b66e4aeec948bda28df6ce2bce4')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-kusto/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-kusto/package.py
index faadc899cf..46a66a3ce0 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-kusto/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-kusto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtKusto(PythonPackage):
"""Microsoft Azure Kusto Management Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-kusto/azure-mgmt-kusto-0.9.0.zip"
+ pypi = "azure-mgmt-kusto/azure-mgmt-kusto-0.9.0.zip"
version('0.9.0', sha256='9210db89fa18ee8ed53339cd63bbe6fe1d9624cd793b54b7451ddbda8ae92ef3')
version('0.3.0', sha256='9eb8b7781fd4410ee9e207cd0c3983baf9e58414b5b4a18849d09856e36bacde')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-loganalytics/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-loganalytics/package.py
index 925db35fa1..c3b68318dc 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-loganalytics/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-loganalytics/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtLoganalytics(PythonPackage):
"""Microsoft Azure Log Analytics Management Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-loganalytics/azure-mgmt-loganalytics-0.7.0.zip"
+ pypi = "azure-mgmt-loganalytics/azure-mgmt-loganalytics-0.7.0.zip"
version('0.7.0', sha256='50fb7f714685d170ce9607e3c30488e194015845ef7f0a717b80609837a6c2a2')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-managedservices/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-managedservices/package.py
index d7ac227ef3..c031eade9d 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-managedservices/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-managedservices/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtManagedservices(PythonPackage):
"""Microsoft Azure Managed Services Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-managedservices/azure-mgmt-managedservices-1.0.0.zip"
+ pypi = "azure-mgmt-managedservices/azure-mgmt-managedservices-1.0.0.zip"
version('1.0.0', sha256='fed8399fc6773aada37c1d0496a46f59410d77c9494d0ca5967c531c3376ad19')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-managementgroups/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-managementgroups/package.py
index 6ce865aaba..2ac5535384 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-managementgroups/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-managementgroups/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtManagementgroups(PythonPackage):
"""Microsoft Azure Management Groups Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-managementgroups/azure-mgmt-managementgroups-0.2.0.zip"
+ pypi = "azure-mgmt-managementgroups/azure-mgmt-managementgroups-0.2.0.zip"
version('0.2.0', sha256='3d5237947458dc94b4a392141174b1c1258d26611241ee104e9006d1d798f682')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-maps/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-maps/package.py
index 8448f6fde4..60f3ec3909 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-maps/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-maps/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtMaps(PythonPackage):
"""Microsoft Azure Maps Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-maps/azure-mgmt-maps-0.1.0.zip"
+ pypi = "azure-mgmt-maps/azure-mgmt-maps-0.1.0.zip"
version('0.1.0', sha256='c120e210bb61768da29de24d28b82f8d42ae24e52396eb6569b499709e22f006')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-marketplaceordering/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-marketplaceordering/package.py
index a09eaf331c..1e83ee1596 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-marketplaceordering/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-marketplaceordering/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtMarketplaceordering(PythonPackage):
"""Microsoft Azure Market Place Ordering Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-marketplaceordering/azure-mgmt-marketplaceordering-0.2.1.zip"
+ pypi = "azure-mgmt-marketplaceordering/azure-mgmt-marketplaceordering-0.2.1.zip"
version('0.2.1', sha256='dc765cde7ec03efe456438c85c6207c2f77775a8ce8a7adb19b0df5c5dc513c2')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-media/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-media/package.py
index 7ef8dd5201..9cbd96be7d 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-media/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-media/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtMedia(PythonPackage):
"""Microsoft Azure Media Services Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-media/azure-mgmt-media-2.2.0.zip"
+ pypi = "azure-mgmt-media/azure-mgmt-media-2.2.0.zip"
version('2.2.0', sha256='0adeee9e654a9011f5107def06fea6838864a3514a1e5a9ed495f3a56a687cc7')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-monitor/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-monitor/package.py
index 681dbf6c22..013d79c517 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-monitor/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-monitor/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtMonitor(PythonPackage):
"""Microsoft Azure Monitor Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-monitor/azure-mgmt-monitor-0.11.0.zip"
+ pypi = "azure-mgmt-monitor/azure-mgmt-monitor-0.11.0.zip"
version('0.11.0', sha256='c6e1fe83dd2ddffa7f6d90c7aa63b3128042396a3893c14dc4816ad28cb15016')
version('0.10.0', sha256='d57d604cc1a7a9ce35eb7cf8a00d4924887c688aa78dc035ea1f80066b297464')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-msi/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-msi/package.py
index abdbdc640a..ddc265158b 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-msi/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-msi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtMsi(PythonPackage):
"""Microsoft Azure MSI Management Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-msi/azure-mgmt-msi-1.0.0.zip"
+ pypi = "azure-mgmt-msi/azure-mgmt-msi-1.0.0.zip"
version('1.0.0', sha256='d46f3aab25db3dad520e4055c1d67afe4fcc6d66335c762134e60f82265f8f58')
version('0.2.0', sha256='8622bc9a164169a0113728ebe7fd43a88189708ce6e10d4507247d6907987167')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-netapp/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-netapp/package.py
index 401b2078c3..e8422694cc 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-netapp/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-netapp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtNetapp(PythonPackage):
"""Microsoft Azure NetApp Files Management Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-netapp/azure-mgmt-netapp-0.11.0.zip"
+ pypi = "azure-mgmt-netapp/azure-mgmt-netapp-0.11.0.zip"
version('0.11.0', sha256='621a76b06c97e858d49b68953e66eb718ac24f91aa6bf090f32a335a38f02305')
version('0.8.0', sha256='67df7c7391c2179423a95927a639492c3a177bff8f3a80e4b2d666a86e2d6f6d')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-network/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-network/package.py
index 549160d7ea..b4f0403f54 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-network/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-network/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtNetwork(PythonPackage):
"""Microsoft Azure Network Management Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-network/azure-mgmt-network-11.0.0.zip"
+ pypi = "azure-mgmt-network/azure-mgmt-network-11.0.0.zip"
version('11.0.0', sha256='7fdfc631c660cb173eee88abbb7b8be7742f91b522be6017867f217409cd69bc')
version('10.2.0', sha256='d50c74cdc1c9be6861ddef9adffd3b05afc5a5092baf0209eea30f4439cba2d9')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-nspkg/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-nspkg/package.py
index 4c4dda2d0d..0fc10037e9 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-nspkg/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-nspkg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtNspkg(PythonPackage):
"""Microsoft Azure Resource Management Namespace Package [Internal]."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-nspkg/azure-mgmt-nspkg-3.0.2.zip"
+ pypi = "azure-mgmt-nspkg/azure-mgmt-nspkg-3.0.2.zip"
version('3.0.2', sha256='8b2287f671529505b296005e6de9150b074344c2c7d1c805b3f053d081d58c52')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-policyinsights/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-policyinsights/package.py
index c0532b307a..95ac19a79e 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-policyinsights/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-policyinsights/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtPolicyinsights(PythonPackage):
"""Microsoft Azure Policy Insights Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-policyinsights/azure-mgmt-policyinsights-0.5.0.zip"
+ pypi = "azure-mgmt-policyinsights/azure-mgmt-policyinsights-0.5.0.zip"
version('0.5.0', sha256='ed229e3845c477e88dde413825d4fba0d38b3a5ffab4e694c7d0da995f3db0f3')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-privatedns/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-privatedns/package.py
index 5aa65aec57..5d18ecef62 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-privatedns/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-privatedns/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtPrivatedns(PythonPackage):
"""Microsoft Azure DNS Private Zones Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-privatedns/azure-mgmt-privatedns-0.1.0.zip"
+ pypi = "azure-mgmt-privatedns/azure-mgmt-privatedns-0.1.0.zip"
version('0.1.0', sha256='d29cfd8cec806e06673d9382d3f5766fc65d9a9de75b424705094a34a7db8d23')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-rdbms/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-rdbms/package.py
index c375a82622..3d0e8ca4fa 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-rdbms/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-rdbms/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtRdbms(PythonPackage):
"""Microsoft Azure RDBMS Management Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-rdbms/azure-mgmt-rdbms-2.2.0.zip"
+ pypi = "azure-mgmt-rdbms/azure-mgmt-rdbms-2.2.0.zip"
version('2.2.0', sha256='f93344897a9bfa6ebc57dd0c10ad79602ff7965c322c65115e3f4b8584bbe1c7')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-recoveryservices/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-recoveryservices/package.py
index 67a5987b8f..ec590b3a56 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-recoveryservices/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-recoveryservices/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtRecoveryservices(PythonPackage):
"""Microsoft Azure Recovery Services Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-recoveryservices/azure-mgmt-recoveryservices-0.5.0.zip"
+ pypi = "azure-mgmt-recoveryservices/azure-mgmt-recoveryservices-0.5.0.zip"
version('0.5.0', sha256='3c90e6b2e358dbe6d5c6d7204955bdf52c3e977c6f8b727cbbb8811427d7fd52')
version('0.4.0', sha256='e1e794760232239f8a9328d5de1740565ff70d1612a2921c9609746ba5671e6c')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-recoveryservicesbackup/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-recoveryservicesbackup/package.py
index 96b755acef..2a03def283 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-recoveryservicesbackup/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-recoveryservicesbackup/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ class PyAzureMgmtRecoveryservicesbackup(PythonPackage):
Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-recoveryservicesbackup/azure-mgmt-recoveryservicesbackup-0.8.0.zip"
+ pypi = "azure-mgmt-recoveryservicesbackup/azure-mgmt-recoveryservicesbackup-0.8.0.zip"
version('0.8.0', sha256='a0ee89691b21945cc4b892a9194320f50c1cd242d98f00a82d7e3848c28517a5')
version('0.6.0', sha256='4df62479c90a6f93e7689f9d58e0a139899f0407f5e3298d5ce014442599428f')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-redhatopenshift/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-redhatopenshift/package.py
index 6503254cd8..1056c043e1 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-redhatopenshift/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-redhatopenshift/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ class PyAzureMgmtRedhatopenshift(PythonPackage):
"""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-redhatopenshift/azure-mgmt-redhatopenshift-0.1.0.zip"
+ pypi = "azure-mgmt-redhatopenshift/azure-mgmt-redhatopenshift-0.1.0.zip"
version('0.1.0', sha256='565afbc63f5283f37c76135174f2ca20dd417da3e24b3fb1e132c4a0e2a2c5bc')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-redis/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-redis/package.py
index 90d0e95241..99875a7902 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-redis/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-redis/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtRedis(PythonPackage):
"""Microsoft Azure Redis Cache Management Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-redis/azure-mgmt-redis-6.0.0.zip"
+ pypi = "azure-mgmt-redis/azure-mgmt-redis-6.0.0.zip"
# Release candidate needed for py-azure-cli
version('7.0.0rc1', sha256='d3cc259c507b79962495ed00d0a3432a45e4e90a0fb48b49e80d51cdc398dc20')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-relay/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-relay/package.py
index fee12b519b..7eea1a44f0 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-relay/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-relay/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtRelay(PythonPackage):
"""Microsoft Azure Relay Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-relay/azure-mgmt-relay-0.2.0.zip"
+ pypi = "azure-mgmt-relay/azure-mgmt-relay-0.2.0.zip"
version('0.2.0', sha256='a7e8341b2920d1d45bdf73d2b7825c44427d33fb0d820aceb11c94432323bf68')
version('0.1.0', sha256='d9f987cf2998b8a354f331b2a71082c049193f1e1cd345812e14b9b821365acb')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-reservations/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-reservations/package.py
index b14a6d83dc..303e51db0a 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-reservations/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-reservations/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtReservations(PythonPackage):
"""Microsoft Azure Reservations Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-reservations/azure-mgmt-reservations-0.7.0.zip"
+ pypi = "azure-mgmt-reservations/azure-mgmt-reservations-0.7.0.zip"
version('0.7.0', sha256='f65c1985a47e0ac55e7d5d9cc1bd5e95335a111566edc289d460aa2bc8f80991')
version('0.6.0', sha256='83a9a70d6fd78b8b3e92ca64bbc1fde8d1bc5e2efea54076052c51c946b4cc9b')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-resource/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-resource/package.py
index f22f77fd46..4fd05cf350 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-resource/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-resource/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtResource(PythonPackage):
"""Microsoft Azure Resource Management Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-resource/azure-mgmt-resource-10.0.0.zip"
+ pypi = "azure-mgmt-resource/azure-mgmt-resource-10.0.0.zip"
version('10.0.0', sha256='bd9a3938f5423741329436d2da09693845c2fad96c35fadbd7c5ae5213208345')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-search/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-search/package.py
index 42e7eae43d..1444f58443 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-search/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-search/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtSearch(PythonPackage):
"""Microsoft Azure Search Management Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-search/azure-mgmt-search-2.1.0.zip"
+ pypi = "azure-mgmt-search/azure-mgmt-search-2.1.0.zip"
version('2.1.0', sha256='92a40a1a7a9e3a82b6fa302042799e8d5a67d3996c20835af72afc14f1610501')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-security/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-security/package.py
index 27778ebcba..191dcd3345 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-security/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-security/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtSecurity(PythonPackage):
"""Microsoft Azure Security Center Management Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-security/azure-mgmt-security-0.4.1.zip"
+ pypi = "azure-mgmt-security/azure-mgmt-security-0.4.1.zip"
version('0.4.1', sha256='391c8df5400485049a6c19d50e536304c186bb64fd569eec0c6d01d20220ee21')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-servicebus/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-servicebus/package.py
index 22fba6dcf8..8890fab404 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-servicebus/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-servicebus/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtServicebus(PythonPackage):
"""Microsoft Azure Service Bus Management Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-servicebus/azure-mgmt-servicebus-0.6.0.zip"
+ pypi = "azure-mgmt-servicebus/azure-mgmt-servicebus-0.6.0.zip"
version('0.6.0', sha256='f20920b8fb119ef4abeda4d2dac765a4fc48cd0bcf30c27f8c4cc6d890bc08b1')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-servicefabric/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-servicefabric/package.py
index 519f7c632f..d8a6de79d4 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-servicefabric/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-servicefabric/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtServicefabric(PythonPackage):
"""Microsoft Azure Service Fabric Management Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-servicefabric/azure-mgmt-servicefabric-0.4.0.zip"
+ pypi = "azure-mgmt-servicefabric/azure-mgmt-servicefabric-0.4.0.zip"
version('0.4.0', sha256='a2cbd2797e796a550a93d37229b2ded22765f50166730a63c8e20a27677e28f4')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-signalr/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-signalr/package.py
index 298f1b7b05..19797f4d56 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-signalr/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-signalr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtSignalr(PythonPackage):
"""Microsoft Azure SignalR Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-signalr/azure-mgmt-signalr-0.4.0.zip"
+ pypi = "azure-mgmt-signalr/azure-mgmt-signalr-0.4.0.zip"
version('0.4.0', sha256='6503ddda9d6f4b634dfeb8eb4bcd14ede5e0900585f6c83bf9010cf82215c126')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-sql/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-sql/package.py
index 8bfe3781bb..524886b480 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-sql/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-sql/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtSql(PythonPackage):
"""Microsoft Azure SQL Management Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-sql/azure-mgmt-sql-0.19.0.zip"
+ pypi = "azure-mgmt-sql/azure-mgmt-sql-0.19.0.zip"
version('0.19.0', sha256='694649d4c9c5f89e543f23ec10e450b6382b2f1bc5843ef266cfc302276038c6')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-sqlvirtualmachine/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-sqlvirtualmachine/package.py
index 03565edb89..c5ac853281 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-sqlvirtualmachine/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-sqlvirtualmachine/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ class PyAzureMgmtSqlvirtualmachine(PythonPackage):
Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-sqlvirtualmachine/azure-mgmt-sqlvirtualmachine-0.5.0.zip"
+ pypi = "azure-mgmt-sqlvirtualmachine/azure-mgmt-sqlvirtualmachine-0.5.0.zip"
version('0.5.0', sha256='b5a9423512a7b12844ac014366a1d53c81017a14f39676beedf004a532aa2aad')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-storage/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-storage/package.py
index f53822ef94..47f7bd3b57 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-storage/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-storage/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtStorage(PythonPackage):
"""Microsoft Azure Storage Management Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-storage/azure-mgmt-storage-11.1.0.zip"
+ pypi = "azure-mgmt-storage/azure-mgmt-storage-11.1.0.zip"
version('11.1.0', sha256='ef23587c1b6dc0866ebf0e91e83ba05d7f7e4fea7951b704781b9cd9f5f27f1c')
version('11.0.0', sha256='f9791c2a84eee0a55bbf757632a2a4d1e102db958e75422d5e0e7306041129b8')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-trafficmanager/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-trafficmanager/package.py
index fa6dc2c756..2890197a95 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-trafficmanager/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-trafficmanager/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtTrafficmanager(PythonPackage):
"""Microsoft Azure Traffic Manager Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-trafficmanager/azure-mgmt-trafficmanager-0.51.0.zip"
+ pypi = "azure-mgmt-trafficmanager/azure-mgmt-trafficmanager-0.51.0.zip"
version('0.51.0', sha256='fc8ae77022cfe52fda4379a2f31e0b857574d536e41291a7b569b5c0f4104186')
diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-web/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-web/package.py
index b4d7f2ba45..2fbee188d1 100644
--- a/var/spack/repos/builtin/packages/py-azure-mgmt-web/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-mgmt-web/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureMgmtWeb(PythonPackage):
"""Microsoft Azure Web Apps Management Client Library for Python."""
homepage = "https://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-mgmt-web/azure-mgmt-web-0.47.0.zip"
+ pypi = "azure-mgmt-web/azure-mgmt-web-0.47.0.zip"
version('0.47.0', sha256='789a328e2a60df48a82452ca6fbc1a7b4adf3c38d4701d278efe4e81cf21cce8')
diff --git a/var/spack/repos/builtin/packages/py-azure-multiapi-storage/package.py b/var/spack/repos/builtin/packages/py-azure-multiapi-storage/package.py
index 5d5a8442b5..06c3892b94 100644
--- a/var/spack/repos/builtin/packages/py-azure-multiapi-storage/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-multiapi-storage/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ class PyAzureMultiapiStorage(PythonPackage):
version support."""
homepage = "https://github.com/Azure/azure-multiapi-storage-python"
- url = "https://pypi.io/packages/source/a/azure-multiapi-storage/azure-multiapi-storage-0.3.5.tar.gz"
+ pypi = "azure-multiapi-storage/azure-multiapi-storage-0.3.5.tar.gz"
version('0.3.5', sha256='71c238c785786a159b3ffd587a5e7fa1d9a517b66b592ae277fed73a9fbfa2b0')
diff --git a/var/spack/repos/builtin/packages/py-azure-nspkg/package.py b/var/spack/repos/builtin/packages/py-azure-nspkg/package.py
index 8e1b468565..a74afd4925 100644
--- a/var/spack/repos/builtin/packages/py-azure-nspkg/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-nspkg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureNspkg(PythonPackage):
"""Microsoft Azure Namespace Package [Internal]."""
homepage = "hhttps://github.com/Azure/azure-sdk-for-python"
- url = "https://pypi.io/packages/source/a/azure-nspkg/azure-nspkg-3.0.2.zip"
+ pypi = "azure-nspkg/azure-nspkg-3.0.2.zip"
version('3.0.2', sha256='e7d3cea6af63e667d87ba1ca4f8cd7cb4dfca678e4c55fc1cedb320760e39dd0')
diff --git a/var/spack/repos/builtin/packages/py-azure-storage-common/package.py b/var/spack/repos/builtin/packages/py-azure-storage-common/package.py
index 70902f28d9..f98a0a281f 100644
--- a/var/spack/repos/builtin/packages/py-azure-storage-common/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-storage-common/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureStorageCommon(PythonPackage):
"""Microsoft Azure Storage Common Client Library for Python."""
homepage = "https://github.com/Azure/azure-storage-python"
- url = "https://pypi.io/packages/source/a/azure-storage-common/azure-storage-common-2.1.0.tar.gz"
+ pypi = "azure-storage-common/azure-storage-common-2.1.0.tar.gz"
version('2.1.0', sha256='ccedef5c67227bc4d6670ffd37cec18fb529a1b7c3a5e53e4096eb0cf23dc73f')
version('1.4.2', sha256='4ec87c7537d457ec95252e0e46477e2c1ccf33774ffefd05d8544682cb0ae401')
diff --git a/var/spack/repos/builtin/packages/py-azure-storage-nspkg/package.py b/var/spack/repos/builtin/packages/py-azure-storage-nspkg/package.py
index da8878813f..eb495ef64e 100644
--- a/var/spack/repos/builtin/packages/py-azure-storage-nspkg/package.py
+++ b/var/spack/repos/builtin/packages/py-azure-storage-nspkg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyAzureStorageNspkg(PythonPackage):
"""Microsoft Azure Storage Namespace Package."""
homepage = "https://github.com/Azure/azure-storage-python"
- url = "https://pypi.io/packages/source/a/azure-storage-nspkg/azure-storage-nspkg-3.1.0.tar.gz"
+ pypi = "azure-storage-nspkg/azure-storage-nspkg-3.1.0.tar.gz"
version('3.1.0', sha256='6f3bbe8652d5f542767d8433e7f96b8df7f518774055ac7c92ed7ca85f653811')
diff --git a/var/spack/repos/builtin/packages/py-azureml-automl-core/package.py b/var/spack/repos/builtin/packages/py-azureml-automl-core/package.py
index 9a50fbe3cc..0a6fd61963 100644
--- a/var/spack/repos/builtin/packages/py-azureml-automl-core/package.py
+++ b/var/spack/repos/builtin/packages/py-azureml-automl-core/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-azureml-core/package.py b/var/spack/repos/builtin/packages/py-azureml-core/package.py
index 673b7542de..7e88cb4855 100644
--- a/var/spack/repos/builtin/packages/py-azureml-core/package.py
+++ b/var/spack/repos/builtin/packages/py-azureml-core/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-azureml-dataprep-native/package.py b/var/spack/repos/builtin/packages/py-azureml-dataprep-native/package.py
index afd1a43272..815d42a9d6 100644
--- a/var/spack/repos/builtin/packages/py-azureml-dataprep-native/package.py
+++ b/var/spack/repos/builtin/packages/py-azureml-dataprep-native/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-azureml-dataprep/package.py b/var/spack/repos/builtin/packages/py-azureml-dataprep/package.py
index 18a4dcfd72..dcdf3a17ef 100644
--- a/var/spack/repos/builtin/packages/py-azureml-dataprep/package.py
+++ b/var/spack/repos/builtin/packages/py-azureml-dataprep/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-azureml-dataset-runtime/package.py b/var/spack/repos/builtin/packages/py-azureml-dataset-runtime/package.py
index e7849b8b7e..1410f4db55 100644
--- a/var/spack/repos/builtin/packages/py-azureml-dataset-runtime/package.py
+++ b/var/spack/repos/builtin/packages/py-azureml-dataset-runtime/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-azureml-pipeline-core/package.py b/var/spack/repos/builtin/packages/py-azureml-pipeline-core/package.py
index 2df7e538ac..b1ac5aa003 100644
--- a/var/spack/repos/builtin/packages/py-azureml-pipeline-core/package.py
+++ b/var/spack/repos/builtin/packages/py-azureml-pipeline-core/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-azureml-pipeline-steps/package.py b/var/spack/repos/builtin/packages/py-azureml-pipeline-steps/package.py
index 5cb949660c..309786caaa 100644
--- a/var/spack/repos/builtin/packages/py-azureml-pipeline-steps/package.py
+++ b/var/spack/repos/builtin/packages/py-azureml-pipeline-steps/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-azureml-pipeline/package.py b/var/spack/repos/builtin/packages/py-azureml-pipeline/package.py
index e66b510d68..7887543890 100644
--- a/var/spack/repos/builtin/packages/py-azureml-pipeline/package.py
+++ b/var/spack/repos/builtin/packages/py-azureml-pipeline/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-azureml-sdk/package.py b/var/spack/repos/builtin/packages/py-azureml-sdk/package.py
index cd7f504fd3..e2b29a9d38 100644
--- a/var/spack/repos/builtin/packages/py-azureml-sdk/package.py
+++ b/var/spack/repos/builtin/packages/py-azureml-sdk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-azureml-telemetry/package.py b/var/spack/repos/builtin/packages/py-azureml-telemetry/package.py
index 510ea5ec5d..4fe3fe8339 100644
--- a/var/spack/repos/builtin/packages/py-azureml-telemetry/package.py
+++ b/var/spack/repos/builtin/packages/py-azureml-telemetry/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-azureml-train-automl-client/package.py b/var/spack/repos/builtin/packages/py-azureml-train-automl-client/package.py
index 51f977dcf8..96eee9767e 100644
--- a/var/spack/repos/builtin/packages/py-azureml-train-automl-client/package.py
+++ b/var/spack/repos/builtin/packages/py-azureml-train-automl-client/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-azureml-train-core/package.py b/var/spack/repos/builtin/packages/py-azureml-train-core/package.py
index b15cd2e82b..88e8af05d5 100644
--- a/var/spack/repos/builtin/packages/py-azureml-train-core/package.py
+++ b/var/spack/repos/builtin/packages/py-azureml-train-core/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-azureml-train-restclients-hyperdrive/package.py b/var/spack/repos/builtin/packages/py-azureml-train-restclients-hyperdrive/package.py
index 36ce557724..1b528f530a 100644
--- a/var/spack/repos/builtin/packages/py-azureml-train-restclients-hyperdrive/package.py
+++ b/var/spack/repos/builtin/packages/py-azureml-train-restclients-hyperdrive/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-azureml-train/package.py b/var/spack/repos/builtin/packages/py-azureml-train/package.py
index c8917a5700..f19a088521 100644
--- a/var/spack/repos/builtin/packages/py-azureml-train/package.py
+++ b/var/spack/repos/builtin/packages/py-azureml-train/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-babel/package.py b/var/spack/repos/builtin/packages/py-babel/package.py
index f95746fe8f..976051f151 100644
--- a/var/spack/repos/builtin/packages/py-babel/package.py
+++ b/var/spack/repos/builtin/packages/py-babel/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,9 +12,7 @@ class PyBabel(PythonPackage):
emphasis on web-based applications."""
homepage = "http://babel.pocoo.org/en/latest/"
- url = "https://pypi.io/packages/source/B/Babel/Babel-2.7.0.tar.gz"
-
- import_modules = ['babel', 'babel.localtime', 'babel.messages']
+ pypi = "Babel/Babel-2.7.0.tar.gz"
version('2.7.0', sha256='e86135ae101e31e2c8ec20a4e0c5220f4eed12487d5cf3f78be7e98d3a57fc28')
version('2.6.0', sha256='8cba50f48c529ca3fa18cf81fa9403be176d374ac4d60738b839122dfaaa3d23')
@@ -24,5 +22,3 @@ class PyBabel(PythonPackage):
depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
depends_on('py-setuptools', type=('build', 'run'))
depends_on('py-pytz@2015.7:', type=('build', 'run'))
- depends_on('py-pytest', type='test')
- depends_on('py-freezegun', type='test')
diff --git a/var/spack/repos/builtin/packages/py-backcall/package.py b/var/spack/repos/builtin/packages/py-backcall/package.py
index 084f6f833b..77c19b44d8 100644
--- a/var/spack/repos/builtin/packages/py-backcall/package.py
+++ b/var/spack/repos/builtin/packages/py-backcall/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,6 +10,6 @@ class PyBackcall(PythonPackage):
"""Specifications for callback functions passed in to an API"""
homepage = "https://github.com/takluyver/backcall"
- url = "https://pypi.io/packages/source/b/backcall/backcall-0.1.0.tar.gz"
+ pypi = "backcall/backcall-0.1.0.tar.gz"
version('0.1.0', sha256='38ecd85be2c1e78f77fd91700c76e14667dc21e2713b63876c0eb901196e01e4')
diff --git a/var/spack/repos/builtin/packages/py-backports-abc/package.py b/var/spack/repos/builtin/packages/py-backports-abc/package.py
index 6457b6b320..695768f064 100644
--- a/var/spack/repos/builtin/packages/py-backports-abc/package.py
+++ b/var/spack/repos/builtin/packages/py-backports-abc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-backports-functools-lru-cache/package.py b/var/spack/repos/builtin/packages/py-backports-functools-lru-cache/package.py
index aedc9c9ca7..ec8b9c9de0 100644
--- a/var/spack/repos/builtin/packages/py-backports-functools-lru-cache/package.py
+++ b/var/spack/repos/builtin/packages/py-backports-functools-lru-cache/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyBackportsFunctoolsLruCache(PythonPackage):
"""Backport of functools.lru_cache from Python 3.3"""
homepage = "https://github.com/jaraco/backports.functools_lru_cache"
- url = "https://pypi.io/packages/source/b/backports.functools_lru_cache/backports.functools_lru_cache-1.4.tar.gz"
+ pypi = "backports.functools_lru_cache/backports.functools_lru_cache-1.4.tar.gz"
py_namespace = 'backports'
diff --git a/var/spack/repos/builtin/packages/py-backports-lzma/package.py b/var/spack/repos/builtin/packages/py-backports-lzma/package.py
index b13c4167bb..899c33716f 100644
--- a/var/spack/repos/builtin/packages/py-backports-lzma/package.py
+++ b/var/spack/repos/builtin/packages/py-backports-lzma/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-backports-shutil-get-terminal-size/package.py b/var/spack/repos/builtin/packages/py-backports-shutil-get-terminal-size/package.py
index 43ea3b0cca..64da7c3c9e 100644
--- a/var/spack/repos/builtin/packages/py-backports-shutil-get-terminal-size/package.py
+++ b/var/spack/repos/builtin/packages/py-backports-shutil-get-terminal-size/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,7 @@ class PyBackportsShutilGetTerminalSize(PythonPackage):
"""A backport of the get_terminal_size function
from Python 3.3's shutil."""
- homepage = "https://pypi.python.org/pypi/backports.shutil_get_terminal_size"
- url = "https://pypi.io/packages/source/b/backports.shutil_get_terminal_size/backports.shutil_get_terminal_size-1.0.0.tar.gz"
+ pypi = "backports.shutil_get_terminal_size/backports.shutil_get_terminal_size-1.0.0.tar.gz"
py_namespace = 'backports'
diff --git a/var/spack/repos/builtin/packages/py-backports-ssl-match-hostname/package.py b/var/spack/repos/builtin/packages/py-backports-ssl-match-hostname/package.py
index 5a3559edef..977fea79c0 100644
--- a/var/spack/repos/builtin/packages/py-backports-ssl-match-hostname/package.py
+++ b/var/spack/repos/builtin/packages/py-backports-ssl-match-hostname/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyBackportsSslMatchHostname(PythonPackage):
"""The ssl.match_hostname() function from Python 3.5"""
- homepage = "https://pypi.python.org/pypi/backports.ssl_match_hostname"
- url = "https://pypi.io/packages/source/b/backports.ssl_match_hostname/backports.ssl_match_hostname-3.5.0.1.tar.gz"
+ pypi = "backports.ssl_match_hostname/backports.ssl_match_hostname-3.5.0.1.tar.gz"
py_namespace = 'backports'
diff --git a/var/spack/repos/builtin/packages/py-backports-tempfile/package.py b/var/spack/repos/builtin/packages/py-backports-tempfile/package.py
index b3771f02e1..3eefd9587c 100644
--- a/var/spack/repos/builtin/packages/py-backports-tempfile/package.py
+++ b/var/spack/repos/builtin/packages/py-backports-tempfile/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyBackportsTempfile(PythonPackage):
"""
homepage = "https://github.com/PiDelport/backports.tempfile"
- url = "https://pypi.io/packages/source/b/backports.tempfile/backports.tempfile-1.0.tar.gz"
+ pypi = "backports.tempfile/backports.tempfile-1.0.tar.gz"
version('1.0', sha256='1c648c452e8770d759bdc5a5e2431209be70d25484e1be24876cf2168722c762')
diff --git a/var/spack/repos/builtin/packages/py-backports-weakref/package.py b/var/spack/repos/builtin/packages/py-backports-weakref/package.py
index ef88d79256..8879650884 100644
--- a/var/spack/repos/builtin/packages/py-backports-weakref/package.py
+++ b/var/spack/repos/builtin/packages/py-backports-weakref/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyBackportsWeakref(PythonPackage):
"""Backports of new features in Python's weakref module"""
homepage = "https://github.com/PiDelport/backports.weakref"
- url = "https://pypi.io/packages/source/b/backports.weakref/backports.weakref-1.0.post1.tar.gz"
+ pypi = "backports.weakref/backports.weakref-1.0.post1.tar.gz"
version('1.0.post1', sha256='bc4170a29915f8b22c9e7c4939701859650f2eb84184aee80da329ac0b9825c2', preferred=True)
version('1.0rc1', sha256='8813bf712a66b3d8b85dc289e1104ed220f1878cf981e2fe756dfaabe9a82892')
diff --git a/var/spack/repos/builtin/packages/py-basemap/package.py b/var/spack/repos/builtin/packages/py-basemap/package.py
index 95dda66b30..23b1a64372 100644
--- a/var/spack/repos/builtin/packages/py-basemap/package.py
+++ b/var/spack/repos/builtin/packages/py-basemap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-bash-kernel/package.py b/var/spack/repos/builtin/packages/py-bash-kernel/package.py
new file mode 100644
index 0000000000..8d2b28af6b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-bash-kernel/package.py
@@ -0,0 +1,18 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+from spack import *
+
+
+class PyBashKernel(PythonPackage):
+ """A Jupyter kernel for bash."""
+
+ homepage = "https://github.com/takluyver/bash_kernel"
+ pypi = "bash_kernel/bash_kernel-0.7.2.tar.gz"
+
+ version('0.7.2', sha256='a08c84eddd8179de5234105821fd5cc210015671a0bd3cd0bc4f631c475e1670')
+
+ depends_on('py-pexpect@4.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-basis-set-exchange/package.py b/var/spack/repos/builtin/packages/py-basis-set-exchange/package.py
index 92cd2b6d72..891aa4084a 100644
--- a/var/spack/repos/builtin/packages/py-basis-set-exchange/package.py
+++ b/var/spack/repos/builtin/packages/py-basis-set-exchange/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -29,5 +29,3 @@ class PyBasisSetExchange(PythonPackage):
depends_on('py-jsonschema', type=('build', 'run'))
depends_on('py-setuptools', type='build')
depends_on('python@3:', type=('build', 'run'))
- depends_on('py-pytest@4.0:', type='test')
- depends_on('py-pytest-cov', type='test')
diff --git a/var/spack/repos/builtin/packages/py-bayesian-optimization/package.py b/var/spack/repos/builtin/packages/py-bayesian-optimization/package.py
new file mode 100644
index 0000000000..301b79e3cf
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-bayesian-optimization/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyBayesianOptimization(PythonPackage):
+ """Pure Python implementation of bayesian global
+ optimization with gaussian processes."""
+
+ homepage = "https://github.com/fmfn/BayesianOptimization"
+ pypi = 'bayesian-optimization/bayesian-optimization-1.2.0.tar.gz'
+
+ version('1.2.0', sha256='c2fd3af4b6cc24ee1c145295b2a900ffb9b455cad924e8185a8d5784712bc935')
+
+ depends_on('py-setuptools', type='build')
+ depends_on("py-numpy@1.9.0:", type=('build', 'run'))
+ depends_on("py-scipy@0.14.0:", type=('build', 'run'))
+ depends_on("py-scikit-learn@0.18.0:", type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-bcbio-gff/package.py b/var/spack/repos/builtin/packages/py-bcbio-gff/package.py
index 68e6abd7a3..4bb8588792 100644
--- a/var/spack/repos/builtin/packages/py-bcbio-gff/package.py
+++ b/var/spack/repos/builtin/packages/py-bcbio-gff/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,7 @@ class PyBcbioGff(PythonPackage):
"""Read and write Generic Feature Format (GFF) with Biopython
integration."""
- homepage = "https://pypi.python.org/pypi/bcbio-gff/0.6.2"
- url = "https://pypi.io/packages/source/b/bcbio-gff/bcbio-gff-0.6.2.tar.gz"
+ pypi = "bcbio-gff/bcbio-gff-0.6.2.tar.gz"
version('0.6.2', sha256='c682dc46a90e9fdb124ab5723797a5f71b2e3534542ceff9f6572b64b9814e68')
diff --git a/var/spack/repos/builtin/packages/py-bcolz/package.py b/var/spack/repos/builtin/packages/py-bcolz/package.py
index 74791dcdc4..cab6554f96 100644
--- a/var/spack/repos/builtin/packages/py-bcolz/package.py
+++ b/var/spack/repos/builtin/packages/py-bcolz/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,7 +16,7 @@ class PyBcolz(PythonPackage):
"""
homepage = "https://github.com/Blosc/bcolz"
- url = "https://pypi.io/packages/source/b/bcolz/bcolz-1.2.1.tar.gz"
+ pypi = "bcolz/bcolz-1.2.1.tar.gz"
version('1.2.1', sha256='c017d09bb0cb5bbb07f2ae223a3f3638285be3b574cb328e91525b2880300bd1')
diff --git a/var/spack/repos/builtin/packages/py-bcrypt/package.py b/var/spack/repos/builtin/packages/py-bcrypt/package.py
index 1b64063991..f0e3513fc9 100644
--- a/var/spack/repos/builtin/packages/py-bcrypt/package.py
+++ b/var/spack/repos/builtin/packages/py-bcrypt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-beancount/package.py b/var/spack/repos/builtin/packages/py-beancount/package.py
new file mode 100644
index 0000000000..92460452fa
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-beancount/package.py
@@ -0,0 +1,31 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyBeancount(PythonPackage):
+ """A double-entry bookkeeping computer language that lets you define
+ financial transaction records in a text file, read them in memory,
+ generate a variety of reports from them, and provides a web
+ interface.."""
+
+ homepage = "http://furius.ca/beancount/"
+ pypi = "beancount/beancount-2.3.3.tar.gz"
+
+ version('2.3.3', sha256='d9a29839ea867d1dda7af1f4bf5d3959aa7c1574cd4a0bc86f69ee64c555c71c')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-setuptools', type=('build'))
+
+ depends_on('py-bottle', type=('build', 'run'))
+ depends_on('py-lxml+htmlsoup', type=('build', 'run'))
+ depends_on('py-ply', type=('build', 'run'))
+ depends_on('py-python-dateutil', type=('build', 'run'))
+ depends_on('py-python-magic', type=('build', 'run'))
+ depends_on('py-beautifulsoup4', type=('build', 'run'))
+ depends_on('py-requests', type=('build', 'run'))
+ depends_on('py-chardet', type=('build', 'run'))
+ depends_on('py-google-api-python-client', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-beautifulsoup4/package.py b/var/spack/repos/builtin/packages/py-beautifulsoup4/package.py
index 5544150207..db9b938ae0 100644
--- a/var/spack/repos/builtin/packages/py-beautifulsoup4/package.py
+++ b/var/spack/repos/builtin/packages/py-beautifulsoup4/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyBeautifulsoup4(PythonPackage):
of navigating, searching, and modifying the parse tree."""
homepage = "https://www.crummy.com/software/BeautifulSoup"
- url = "https://pypi.io/packages/source/b/beautifulsoup4/beautifulsoup4-4.8.0.tar.gz"
+ pypi = "beautifulsoup4/beautifulsoup4-4.8.0.tar.gz"
version('4.8.0', sha256='25288c9e176f354bf277c0a10aa96c782a6a18a17122dba2e8cec4a97e03343b')
version('4.5.3', sha256='b21ca09366fa596043578fd4188b052b46634d22059e68dd0077d9ee77e08a3e')
diff --git a/var/spack/repos/builtin/packages/py-bigfloat/package.py b/var/spack/repos/builtin/packages/py-bigfloat/package.py
new file mode 100644
index 0000000000..d6f709e769
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-bigfloat/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyBigfloat(PythonPackage):
+ """Arbitrary-precision correctly-rounded floating-point arithmetic, via MPFR."""
+
+ homepage = "http://github.com/mdickinson/bigfloat"
+ pypi = "bigfloat/bigfloat-0.4.0.tar.gz"
+
+ version('0.4.0', sha256='58b96bde872aca5989d13d82eba3acf2aa1b94e22117dd72a16ba5911b0c0cb8')
+
+ depends_on('python@2.7:2.8,3.5:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-six', type=('build', 'run'))
+ depends_on('gmp', type='link')
+ depends_on('mpfr', type=('build', 'link'))
diff --git a/var/spack/repos/builtin/packages/py-billiard/package.py b/var/spack/repos/builtin/packages/py-billiard/package.py
index 93d717a9f9..3a4d4148af 100644
--- a/var/spack/repos/builtin/packages/py-billiard/package.py
+++ b/var/spack/repos/builtin/packages/py-billiard/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyBilliard(PythonPackage):
"""Python multiprocessing fork with improvements and bugfixes"""
- homepage = "https://pypi.org/project/billiard/"
- url = "https://pypi.io/packages/source/b/billiard/billiard-3.5.0.5.tar.gz"
+ pypi = "billiard/billiard-3.5.0.5.tar.gz"
version('3.6.3.0', sha256='d91725ce6425f33a97dfa72fb6bfef0e47d4652acd98a032bd1a7fbf06d5fa6a')
version('3.6.1.0', sha256='b8809c74f648dfe69b973c8e660bcec00603758c9db8ba89d7719f88d5f01f26')
diff --git a/var/spack/repos/builtin/packages/py-binaryornot/package.py b/var/spack/repos/builtin/packages/py-binaryornot/package.py
index 9b096c9def..de4922c501 100644
--- a/var/spack/repos/builtin/packages/py-binaryornot/package.py
+++ b/var/spack/repos/builtin/packages/py-binaryornot/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-bintrees/package.py b/var/spack/repos/builtin/packages/py-bintrees/package.py
index b832d60d87..7fbc6e2f26 100644
--- a/var/spack/repos/builtin/packages/py-bintrees/package.py
+++ b/var/spack/repos/builtin/packages/py-bintrees/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyBintrees(PythonPackage):
"""
homepage = "https://github.com/mozman/bintrees"
- url = "https://pypi.io/packages/source/b/bintrees/bintrees-2.0.7.zip"
+ pypi = "bintrees/bintrees-2.0.7.zip"
version('2.0.7', sha256='60675e6602cef094abcd38bf4aecc067d78ae2d5e1645615c789724542d11270')
diff --git a/var/spack/repos/builtin/packages/py-binwalk/package.py b/var/spack/repos/builtin/packages/py-binwalk/package.py
index fce4309425..b92a2751c5 100644
--- a/var/spack/repos/builtin/packages/py-binwalk/package.py
+++ b/var/spack/repos/builtin/packages/py-binwalk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyBinwalk(PythonPackage):
and extracting firmware images."""
homepage = "https://github.com/devttys0/binwalk"
- url = "https://pypi.io/packages/source/b/binwalk/binwalk-2.1.0.tar.gz"
+ pypi = "binwalk/binwalk-2.1.0.tar.gz"
version('2.1.0', sha256='218c8045c6cb3ed6e21814fb89cdb913808b02dfe5a6cc30f85f4a59e8129f6b')
diff --git a/var/spack/repos/builtin/packages/py-biom-format/package.py b/var/spack/repos/builtin/packages/py-biom-format/package.py
index fae9305010..a298bff954 100644
--- a/var/spack/repos/builtin/packages/py-biom-format/package.py
+++ b/var/spack/repos/builtin/packages/py-biom-format/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,20 +11,22 @@ class PyBiomFormat(PythonPackage):
a general-use format for representing biological sample by observation
contingency tables."""
- homepage = "https://pypi.python.org/pypi/biom-format/2.1.6"
- url = "https://pypi.io/packages/source/b/biom-format/biom-format-2.1.6.tar.gz"
+ pypi = "biom-format/biom-format-2.1.6.tar.gz"
+ version('2.1.10', sha256='f5a277a8144f0b114606852c42f657b9cfde44b3cefa0b2638ab1c1d5e1d0488')
+ version('2.1.9', sha256='18a6e4d4b4b2a6bf2d5544fa357ad168bedeac93f0837015ef9c72f41fa89491')
+ version('2.1.7', sha256='b47e54282ef13cddffdb00aea9183a87175a2372c91a915259086a3f444c42f4')
version('2.1.6', sha256='8eefc275a85cc937f6d6f408d91b7b45eae854cd5d1cbda411a3af51f5b49b0d')
- variant('h5py', default=True, description='For use with BIOM 2.0+ files')
-
+ depends_on('python@2.7:', type=('build', 'run'))
+ depends_on('python@3:', type=('build', 'run'), when='@2.1.9:')
depends_on('py-setuptools', type=('build', 'run'))
- depends_on('py-cython', type='build')
- depends_on('py-h5py', type=('build', 'run'), when='+h5py')
- depends_on('py-click', type=('build', 'run'))
- depends_on('py-numpy@1.3.0:', type=('build', 'run'))
+ depends_on('py-cython@0.29:', type='build')
+ depends_on('py-h5py', type=('build', 'run'))
+ depends_on('py-click', type=('build', 'run'), when='@2.1.5:')
+ depends_on('py-numpy@1.9.2:', type=('build', 'run'))
depends_on('py-future@0.16.0:', type=('build', 'run'))
- depends_on('py-scipy@0.13.0:', type=('build', 'run'))
- depends_on('py-pandas@0.19.2:', type=('build', 'run'))
+ depends_on('py-scipy@1.3.1:', type=('build', 'run'))
+ depends_on('py-pandas@0.20.0:', type=('build', 'run'))
depends_on('py-six@1.10.0:', type=('build', 'run'))
- depends_on('py-pyqi', type=('build', 'run'))
+ depends_on('py-pyqi', type=('build', 'run'), when='^python@:2')
diff --git a/var/spack/repos/builtin/packages/py-biomine/package.py b/var/spack/repos/builtin/packages/py-biomine/package.py
index 8326bf8e99..8275ab3c48 100644
--- a/var/spack/repos/builtin/packages/py-biomine/package.py
+++ b/var/spack/repos/builtin/packages/py-biomine/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-biopandas/package.py b/var/spack/repos/builtin/packages/py-biopandas/package.py
index 720bd34d28..93fb63e45a 100644
--- a/var/spack/repos/builtin/packages/py-biopandas/package.py
+++ b/var/spack/repos/builtin/packages/py-biopandas/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyBiopandas(PythonPackage):
"""Working with molecular structures in pandas DataFrames"""
homepage = "http://rasbt.github.io/biopandas"
- url = "https://pypi.io/packages/source/b/biopandas/biopandas-0.2.5.tar.gz"
+ pypi = "biopandas/biopandas-0.2.5.tar.gz"
git = "https://github.com/rasbt/biopandas.git"
# Note that the source package on PyPi is broken as it
diff --git a/var/spack/repos/builtin/packages/py-biopython/package.py b/var/spack/repos/builtin/packages/py-biopython/package.py
index df5694de42..964904b568 100644
--- a/var/spack/repos/builtin/packages/py-biopython/package.py
+++ b/var/spack/repos/builtin/packages/py-biopython/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,9 +15,11 @@ class PyBiopython(PythonPackage):
homepage = "http://biopython.org/wiki/Main_Page"
url = "http://biopython.org/DIST/biopython-1.65.tar.gz"
+ version('1.78', sha256='1ee0a0b6c2376680fea6642d5080baa419fd73df104a62d58a8baf7a8bbe4564')
version('1.73', sha256='70c5cc27dc61c23d18bb33b6d38d70edc4b926033aea3b7434737c731c94a5e0')
version('1.70', sha256='4a7c5298f03d1a45523f32bae1fffcff323ea9dce007fb1241af092f5ab2e45b')
version('1.65', sha256='463cc81db84e9bfcdfb15629511c81ed556a6c0287e670dbfe80f03c65d2a88e')
depends_on('py-numpy', type=('build', 'run'))
depends_on('py-setuptools', type='build')
+ depends_on('python@3.6:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-bitarray/package.py b/var/spack/repos/builtin/packages/py-bitarray/package.py
index e0efb22763..db9523c7f1 100644
--- a/var/spack/repos/builtin/packages/py-bitarray/package.py
+++ b/var/spack/repos/builtin/packages/py-bitarray/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyBitarray(PythonPackage):
"""Efficient array of booleans - C extension"""
- homepage = "https://pypi.python.org/pypi/bitarray"
- url = "https://pypi.io/packages/source/b/bitarray/bitarray-0.8.1.tar.gz"
+ pypi = "bitarray/bitarray-0.8.1.tar.gz"
version('0.8.1', sha256='7da501356e48a83c61f479393681c1bc4b94e5a34ace7e08cb29e7dd9290ab18')
diff --git a/var/spack/repos/builtin/packages/py-bitstring/package.py b/var/spack/repos/builtin/packages/py-bitstring/package.py
index 7d96b435dd..e1e7f55fce 100644
--- a/var/spack/repos/builtin/packages/py-bitstring/package.py
+++ b/var/spack/repos/builtin/packages/py-bitstring/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,6 +10,6 @@ class PyBitstring(PythonPackage):
"""Simple construction, analysis and modification of binary data."""
homepage = "http://pythonhosted.org/bitstring"
- url = "https://pypi.io/packages/source/b/bitstring/bitstring-3.1.5.zip"
+ pypi = "bitstring/bitstring-3.1.5.zip"
version('3.1.5', sha256='c163a86fcef377c314690051885d86b47419e3e1770990c212e16723c1c08faa')
diff --git a/var/spack/repos/builtin/packages/py-black/package.py b/var/spack/repos/builtin/packages/py-black/package.py
index 913b2592c8..b15f52f8da 100644
--- a/var/spack/repos/builtin/packages/py-black/package.py
+++ b/var/spack/repos/builtin/packages/py-black/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,18 +13,40 @@ class PyBlack(PythonPackage):
"""
homepage = "https://github.com/psf/black"
- url = "https://pypi.io/packages/source/b/black/black-18.9b0.tar.gz"
+ pypi = "black/black-20.8b1.tar.gz"
+ version('20.8b1', sha256='1c02557aa099101b9d21496f8a914e9ed2222ef70336404eeeac8edba836fbea')
version('19.3b0', sha256='68950ffd4d9169716bcb8719a56c07a2f4485354fec061cdd5910aa07369731c')
version('18.9b0', sha256='e030a9a28f542debc08acceb273f228ac422798e5215ba2a791a6ddeaaca22a5')
+ variant('d', default=False, description='enable blackd HTTP server')
+
depends_on('python@3.6.0:')
# Needs setuptools at runtime so that `import pkg_resources` succeeds
# See #8843 and #8689 for examples of setuptools added as a runtime dep
depends_on('py-setuptools', type=('build', 'run'))
# Translated from black's setup.py:
# https://github.com/ambv/black/blob/master/setup.py
- depends_on('py-attrs@18.1.0:', type=('build', 'run'))
depends_on('py-click@6.5:', type=('build', 'run'))
+ depends_on('py-click@7.1.2:', when='@20.8b1:', type=('build', 'run'))
+ depends_on('py-attrs@18.1.0:', when='@:20.8b0', type=('build', 'run'))
depends_on('py-appdirs', type=('build', 'run'))
depends_on('py-toml@0.9.4:', type=('build', 'run'))
+ depends_on('py-toml@0.10.1:', when='@20.8b1:', type=('build', 'run'))
+ depends_on('py-typed-ast@1.4.0:', when='@19.10b0:', type=('build', 'run'))
+ depends_on('py-regex@2020.1.8:', when='@20.8b0:', type=('build', 'run'))
+ depends_on('py-pathspec@0.6:0.999', when='@19.10b0:', type=('build', 'run'))
+ depends_on('py-dataclasses@0.6:', when='@20.8b0:^python@:3.6', type=('build', 'run'))
+ depends_on('py-typing-extensions@3.7.4:', when='@20.8b0:', type=('build', 'run'))
+ depends_on('py-mypy-extensions@0.4.3:', when='@20.8b0:', type=('build', 'run'))
+ depends_on('py-aiohttp@3.3.2:', when='+d', type=('build', 'run'))
+ depends_on('py-aiohttp-cors', when='+d', type=('build', 'run'))
+
+ @property
+ def import_modules(self):
+ modules = ['blib2to3', 'blib2to3.pgen2', 'black']
+
+ if '+d' in self.spec:
+ modules.append('blackd')
+
+ return modules
diff --git a/var/spack/repos/builtin/packages/py-bleach/package.py b/var/spack/repos/builtin/packages/py-bleach/package.py
index bf01b9f223..e9b260b8bb 100644
--- a/var/spack/repos/builtin/packages/py-bleach/package.py
+++ b/var/spack/repos/builtin/packages/py-bleach/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,12 +10,12 @@ class PyBleach(PythonPackage):
"""An easy whitelist-based HTML-sanitizing tool."""
homepage = "http://github.com/mozilla/bleach"
- url = "https://pypi.io/packages/source/b/bleach/bleach-3.1.0.tar.gz"
+ pypi = "bleach/bleach-3.1.0.tar.gz"
version('3.1.0', sha256='3fdf7f77adcf649c9911387df51254b813185e32b2c6619f690b593a617e19fa')
version('1.5.0', sha256='978e758599b54cd3caa2e160d74102879b230ea8dc93871d0783721eef58bc65')
depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
- depends_on('py-setuptools', type='build')
+ depends_on('py-setuptools', type=('build', 'run'))
depends_on('py-six@1.9.0:', type=('build', 'run'))
depends_on('py-webencodings', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-blessed/package.py b/var/spack/repos/builtin/packages/py-blessed/package.py
index 45b5b3b84c..3ce9f3e8be 100644
--- a/var/spack/repos/builtin/packages/py-blessed/package.py
+++ b/var/spack/repos/builtin/packages/py-blessed/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyBlessed(PythonPackage):
Python."""
homepage = "https://github.com/jquast/blessed"
- url = "https://pypi.io/packages/source/b/blessed/blessed-1.15.0.tar.gz"
+ pypi = "blessed/blessed-1.15.0.tar.gz"
version('1.15.0', sha256='777b0b6b5ce51f3832e498c22bc6a093b6b5f99148c7cbf866d26e2dec51ef21')
diff --git a/var/spack/repos/builtin/packages/py-blessings/package.py b/var/spack/repos/builtin/packages/py-blessings/package.py
index 9f563b308e..4dd301ece3 100644
--- a/var/spack/repos/builtin/packages/py-blessings/package.py
+++ b/var/spack/repos/builtin/packages/py-blessings/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ from spack import *
class PyBlessings(PythonPackage):
"""A nicer, kinder way to write to the terminal """
homepage = "https://github.com/erikrose/blessings"
- url = "https://pypi.io/packages/source/b/blessings/blessings-1.6.tar.gz"
+ pypi = "blessings/blessings-1.6.tar.gz"
version('1.6', sha256='edc5713061f10966048bf6b40d9a514b381e0ba849c64e034c4ef6c1847d3007')
diff --git a/var/spack/repos/builtin/packages/py-blinker/package.py b/var/spack/repos/builtin/packages/py-blinker/package.py
index dd77fedbe0..26a0071fba 100644
--- a/var/spack/repos/builtin/packages/py-blinker/package.py
+++ b/var/spack/repos/builtin/packages/py-blinker/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyBlinker(PythonPackage):
"""Fast, simple object-to-object and broadcast signaling"""
homepage = "https://pythonhosted.org/blinker/"
- url = "https://pypi.io/packages/source/b/blinker/blinker-1.4.tar.gz"
+ pypi = "blinker/blinker-1.4.tar.gz"
version('1.4', sha256='471aee25f3992bd325afa3772f1063dbdbbca947a041b8b89466dc00d606f8b6')
diff --git a/var/spack/repos/builtin/packages/py-blis/package.py b/var/spack/repos/builtin/packages/py-blis/package.py
index ce7f6c4c65..a296d0933a 100644
--- a/var/spack/repos/builtin/packages/py-blis/package.py
+++ b/var/spack/repos/builtin/packages/py-blis/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,10 +9,9 @@ class PyBlis(PythonPackage):
without the tears"""
homepage = "https://github.com/explosion/cython-blis"
- url = "https://pypi.io/packages/source/b/blis/blis-0.4.1.tar.gz"
+ pypi = "blis/blis-0.4.1.tar.gz"
version('0.4.1', sha256='d69257d317e86f34a7f230a2fd1f021fd2a1b944137f40d8cdbb23bd334cd0c4')
depends_on('py-setuptools', type='build')
depends_on('py-numpy@1.15:', type=('build', 'run'))
- depends_on('py-hypothesis', type='test')
diff --git a/var/spack/repos/builtin/packages/py-blosc/package.py b/var/spack/repos/builtin/packages/py-blosc/package.py
index da185302ff..841e3ad5a3 100644
--- a/var/spack/repos/builtin/packages/py-blosc/package.py
+++ b/var/spack/repos/builtin/packages/py-blosc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,5 +19,3 @@ class PyBlosc(PythonPackage):
depends_on('python@3.6:', type=('build', 'run'))
depends_on('py-scikit-build', type='build')
# depends_on('c-blosc') # shipped internally
- depends_on('py-numpy', type='test')
- depends_on('py-psutil', type='test')
diff --git a/var/spack/repos/builtin/packages/py-bmap-tools/package.py b/var/spack/repos/builtin/packages/py-bmap-tools/package.py
index 9a3fe50d4b..e955abdd4a 100644
--- a/var/spack/repos/builtin/packages/py-bmap-tools/package.py
+++ b/var/spack/repos/builtin/packages/py-bmap-tools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-bokeh/package.py b/var/spack/repos/builtin/packages/py-bokeh/package.py
index 7b42fde368..3cb10d1b9e 100644
--- a/var/spack/repos/builtin/packages/py-bokeh/package.py
+++ b/var/spack/repos/builtin/packages/py-bokeh/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyBokeh(PythonPackage):
"""Statistical and novel interactive HTML plots for Python"""
homepage = "http://github.com/bokeh/bokeh"
- url = "https://pypi.io/packages/source/b/bokeh/bokeh-0.12.2.tar.gz"
+ pypi = "bokeh/bokeh-0.12.2.tar.gz"
version('1.3.4', sha256='e2d97bed5b199a10686486001fed5c854e4c04ebe28859923f27c52b93904754')
version('0.12.2', sha256='0a840f6267b6d342e1bd720deee30b693989538c49644142521d247c0f2e6939')
diff --git a/var/spack/repos/builtin/packages/py-boltons/package.py b/var/spack/repos/builtin/packages/py-boltons/package.py
index 3ecf04e2c1..0513e82575 100644
--- a/var/spack/repos/builtin/packages/py-boltons/package.py
+++ b/var/spack/repos/builtin/packages/py-boltons/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,7 +15,7 @@ class PyBoltons(PythonPackage):
Otherwise known as, "everyone's util.py," but cleaned up and tested.
"""
homepage = "https://boltons.readthedocs.io/"
- url = "https://pypi.io/packages/source/b/boltons/boltons-16.5.1.tar.gz"
+ pypi = "boltons/boltons-16.5.1.tar.gz"
version('16.5.1', sha256='fcded58596fa79bd1ada4488178e79fd11c7cb449f29ff9a6532411fb2db19b7')
diff --git a/var/spack/repos/builtin/packages/py-boom-boot-manager/package.py b/var/spack/repos/builtin/packages/py-boom-boot-manager/package.py
index 643d5ddb7c..77e3a0992c 100644
--- a/var/spack/repos/builtin/packages/py-boom-boot-manager/package.py
+++ b/var/spack/repos/builtin/packages/py-boom-boot-manager/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-boto/package.py b/var/spack/repos/builtin/packages/py-boto/package.py
index 005ba180ed..7b57a1cc45 100644
--- a/var/spack/repos/builtin/packages/py-boto/package.py
+++ b/var/spack/repos/builtin/packages/py-boto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-boto3/package.py b/var/spack/repos/builtin/packages/py-boto3/package.py
index e31d3b8110..c9238df601 100644
--- a/var/spack/repos/builtin/packages/py-boto3/package.py
+++ b/var/spack/repos/builtin/packages/py-boto3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,12 +10,7 @@ class PyBoto3(PythonPackage):
"""The AWS SDK for Python."""
homepage = "https://github.com/boto/boto3"
- url = "https://pypi.io/packages/source/b/boto3/boto3-1.10.44.tar.gz"
-
- import_modules = [
- 'boto3', 'boto3.s3', 'boto3.resources', 'boto3.dynamodb',
- 'boto3.docs', 'boto3.ec2'
- ]
+ pypi = "boto3/boto3-1.10.44.tar.gz"
version('1.10.44', sha256='adc0c0269bd65967fd528d7cd826304f381d40d94f2bf2b09f58167e5ac05d86')
version('1.10.38', sha256='6cdb063b2ae5ac7b93ded6b6b17e3da1325b32232d5ff56e6800018d4786bba6')
diff --git a/var/spack/repos/builtin/packages/py-botocore/package.py b/var/spack/repos/builtin/packages/py-botocore/package.py
index 7b05bf0c72..e67c48da80 100644
--- a/var/spack/repos/builtin/packages/py-botocore/package.py
+++ b/var/spack/repos/builtin/packages/py-botocore/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,9 +10,7 @@ class PyBotocore(PythonPackage):
"""Low-level, data-driven core of boto 3."""
homepage = "https://github.com/boto/botocore"
- url = "https://pypi.io/packages/source/b/botocore/botocore-1.13.44.tar.gz"
-
- import_modules = ['botocore']
+ pypi = "botocore/botocore-1.13.44.tar.gz"
version('1.13.44', sha256='a4409008c32a3305b9c469c5cc92edb5b79d6fcbf6f56fe126886b545f0a4f3f')
version('1.13.38', sha256='15766a367f39dba9de3c6296aaa7da31030f08a0117fd12685e7df682d8acee2')
@@ -28,5 +26,3 @@ class PyBotocore(PythonPackage):
depends_on('py-urllib3@1.20:1.25', type=('build', 'run'))
depends_on('py-urllib3@1.20:1.23', type=('build', 'run'), when='^python@2.6.0:2.6.999')
depends_on('py-urllib3@1.20:1.22', type=('build', 'run'), when='^python@3.3.0:3.3.999')
- depends_on('py-mock', type='test')
- depends_on('py-nose', type='test')
diff --git a/var/spack/repos/builtin/packages/py-bottle/package.py b/var/spack/repos/builtin/packages/py-bottle/package.py
index 5301354d8d..e41196bd1a 100644
--- a/var/spack/repos/builtin/packages/py-bottle/package.py
+++ b/var/spack/repos/builtin/packages/py-bottle/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-bottleneck/package.py b/var/spack/repos/builtin/packages/py-bottleneck/package.py
index 8870b3197c..e839979b11 100644
--- a/var/spack/repos/builtin/packages/py-bottleneck/package.py
+++ b/var/spack/repos/builtin/packages/py-bottleneck/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,12 +8,10 @@ from spack import *
class PyBottleneck(PythonPackage):
"""A collection of fast NumPy array functions written in Cython."""
- homepage = "https://pypi.python.org/pypi/Bottleneck/1.0.0"
- url = "https://pypi.io/packages/source/B/Bottleneck/Bottleneck-1.0.0.tar.gz"
+ pypi = "Bottleneck/Bottleneck-1.0.0.tar.gz"
version('1.2.1', sha256='6efcde5f830aed64feafca0359b51db0e184c72af8ba6675b4a99f263922eb36')
version('1.0.0', sha256='8d9b7ad4fadf9648acc924a6ee522c7cb5b474e75faaad9d90dfd55e2805b495')
depends_on('py-setuptools', type='build')
depends_on('py-numpy', type=('build', 'run'))
- depends_on('py-nose', type='test')
diff --git a/var/spack/repos/builtin/packages/py-breakseq2/package.py b/var/spack/repos/builtin/packages/py-breakseq2/package.py
index 9c295e7023..f653a52412 100644
--- a/var/spack/repos/builtin/packages/py-breakseq2/package.py
+++ b/var/spack/repos/builtin/packages/py-breakseq2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-breathe/package.py b/var/spack/repos/builtin/packages/py-breathe/package.py
index 7ddebbdb10..fe8121eeb3 100644
--- a/var/spack/repos/builtin/packages/py-breathe/package.py
+++ b/var/spack/repos/builtin/packages/py-breathe/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-brian/package.py b/var/spack/repos/builtin/packages/py-brian/package.py
index 770c19340f..4bbe434c2d 100644
--- a/var/spack/repos/builtin/packages/py-brian/package.py
+++ b/var/spack/repos/builtin/packages/py-brian/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyBrian(PythonPackage):
"""A clock-driven simulator for spiking neural networks"""
homepage = "http://www.briansimulator.org"
- url = "https://pypi.io/packages/source/b/brian/brian-1.4.3.tar.gz"
+ pypi = "brian/brian-1.4.3.tar.gz"
version('1.4.3', sha256='c881dcfcd1a21990f9cb3cca76cdd868111cfd9e227ef5c1b13bb372d2efeaa4')
diff --git a/var/spack/repos/builtin/packages/py-brian2/package.py b/var/spack/repos/builtin/packages/py-brian2/package.py
index 0e7a7bf31d..36df1101cc 100644
--- a/var/spack/repos/builtin/packages/py-brian2/package.py
+++ b/var/spack/repos/builtin/packages/py-brian2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyBrian2(PythonPackage):
"""A clock-driven simulator for spiking neural networks"""
homepage = "http://www.briansimulator.org"
- url = "https://pypi.io/packages/source/B/Brian2/Brian2-2.2.2.1.tar.gz"
+ pypi = "Brian2/Brian2-2.2.2.1.tar.gz"
version('2.2.2.1', sha256='02075f66d42fd243fc5e28e1add8862709ae9fdabaffb69858e6d7f684a91525')
version('2.0.1', sha256='195d8ced0d20e9069917776948f92aa70b7457bbc6b5222b8199654402ee1153')
@@ -26,7 +26,6 @@ class PyBrian2(PythonPackage):
depends_on('py-jinja2@2.7:', type=('build', 'run'))
depends_on('py-setuptools@21:', type=('build', 'run'))
depends_on('py-sphinx@1.5:', type=('build', 'run'), when='+docs')
- depends_on('py-nose@1.0:', type='test')
def build_args(self, spec, prefix):
return ['--with-cython']
diff --git a/var/spack/repos/builtin/packages/py-brotlipy/package.py b/var/spack/repos/builtin/packages/py-brotlipy/package.py
index e83bcafea0..e4e288b7a3 100644
--- a/var/spack/repos/builtin/packages/py-brotlipy/package.py
+++ b/var/spack/repos/builtin/packages/py-brotlipy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyBrotlipy(PythonPackage):
"""Python binding to the Brotli library."""
homepage = "https://github.com/python-hyper/brotlipy/"
- url = "https://pypi.io/packages/source/b/brotlipy/brotlipy-0.7.0.tar.gz"
+ pypi = "brotlipy/brotlipy-0.7.0.tar.gz"
version('0.7.0', sha256='36def0b859beaf21910157b4c33eb3b06d8ce459c942102f16988cca6ea164df')
diff --git a/var/spack/repos/builtin/packages/py-bsddb3/package.py b/var/spack/repos/builtin/packages/py-bsddb3/package.py
index 9dcff4735c..038f2c7eab 100644
--- a/var/spack/repos/builtin/packages/py-bsddb3/package.py
+++ b/var/spack/repos/builtin/packages/py-bsddb3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,8 +12,7 @@ class PyBsddb3(PythonPackage):
Sequence and Transaction objects, and each of these is exposed
as a Python type in the bsddb3.db module."""
- homepage = "https://pypi.python.org/pypi/bsddb3/6.2.5"
- url = "https://pypi.io/packages/source/b/bsddb3/bsddb3-6.2.5.tar.gz"
+ pypi = "bsddb3/bsddb3-6.2.5.tar.gz"
version('6.2.5', sha256='784bf40ad935258507594a89b32ea11f362cde120751c8b96de163955ced7db8')
diff --git a/var/spack/repos/builtin/packages/py-bx-python/package.py b/var/spack/repos/builtin/packages/py-bx-python/package.py
index 3d73b21d18..bf0ffcacd6 100644
--- a/var/spack/repos/builtin/packages/py-bx-python/package.py
+++ b/var/spack/repos/builtin/packages/py-bx-python/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyBxPython(PythonPackage):
to allow for rapid implementation of genome scale analyses."""
homepage = "https://github.com/bxlab/bx-python"
- url = "https://pypi.io/packages/source/b/bx-python/bx-python-0.8.8.tar.gz"
+ pypi = "bx-python/bx-python-0.8.8.tar.gz"
version('0.8.8', sha256='ad0808ab19c007e8beebadc31827e0d7560ac0e935f1100fb8cc93607400bb47')
version('0.7.4',
diff --git a/var/spack/repos/builtin/packages/py-bz2file/package.py b/var/spack/repos/builtin/packages/py-bz2file/package.py
index 796e08250f..f883842822 100644
--- a/var/spack/repos/builtin/packages/py-bz2file/package.py
+++ b/var/spack/repos/builtin/packages/py-bz2file/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,6 +10,6 @@ class PyBz2file(PythonPackage):
"""Python library for reading and writing bzip2-compressed files."""
homepage = "https://github.com/nvawda/bz2file"
- url = "https://pypi.io/packages/source/b/bz2file/bz2file-0.98.tar.gz"
+ pypi = "bz2file/bz2file-0.98.tar.gz"
version('0.98', sha256='64c1f811e31556ba9931953c8ec7b397488726c63e09a4c67004f43bdd28da88')
diff --git a/var/spack/repos/builtin/packages/py-cached-property/package.py b/var/spack/repos/builtin/packages/py-cached-property/package.py
index e5e120e7dd..1fcf4ebfca 100644
--- a/var/spack/repos/builtin/packages/py-cached-property/package.py
+++ b/var/spack/repos/builtin/packages/py-cached-property/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyCachedProperty(PythonPackage):
"""A decorator for caching properties in classes."""
- homepage = "https://pypi.org/project/cached-property/"
- url = "https://pypi.io/packages/source/c/cached-property/cached-property-1.5.1.tar.gz"
+ pypi = "cached-property/cached-property-1.5.1.tar.gz"
version('1.5.2', sha256="9fa5755838eecbb2d234c3aa390bd80fbd3ac6b6869109bfc1b499f7bd89a130")
version('1.5.1', sha256="9217a59f14a5682da7c4b8829deadbfc194ac22e9908ccf7c8820234e80a1504")
diff --git a/var/spack/repos/builtin/packages/py-cachetools/package.py b/var/spack/repos/builtin/packages/py-cachetools/package.py
index a35b423504..03c9e260eb 100644
--- a/var/spack/repos/builtin/packages/py-cachetools/package.py
+++ b/var/spack/repos/builtin/packages/py-cachetools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyCachetools(PythonPackage):
decorator."""
homepage = "https://github.com/tkem/cachetools"
- url = "https://pypi.io/packages/source/c/cachetools/cachetools-3.1.1.tar.gz"
+ pypi = "cachetools/cachetools-3.1.1.tar.gz"
version('3.1.1', sha256='8ea2d3ce97850f31e4a08b0e2b5e6c34997d7216a9d2c98e0f3978630d4da69a')
diff --git a/var/spack/repos/builtin/packages/py-cairocffi/package.py b/var/spack/repos/builtin/packages/py-cairocffi/package.py
index d4cf1ca37c..8e524842e8 100644
--- a/var/spack/repos/builtin/packages/py-cairocffi/package.py
+++ b/var/spack/repos/builtin/packages/py-cairocffi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,15 +13,10 @@ class PyCairocffi(PythonPackage):
buffers, PNG, PostScript, PDF, and SVG file output."""
homepage = "https://github.com/Kozea/cairocffi"
- url = "https://pypi.io/packages/source/c/cairocffi/cairocffi-1.0.2.tar.gz"
- import_modules = ['cairocffi']
+ pypi = "cairocffi/cairocffi-1.0.2.tar.gz"
version('1.0.2', sha256='01ac51ae12c4324ca5809ce270f9dd1b67f5166fe63bd3e497e9ea3ca91946ff')
depends_on('python@3.5:', type=('build', 'run'))
depends_on('py-setuptools@39.2.0:', type='build')
depends_on('py-cffi@1.1.0:', type=('build', 'run'))
- depends_on('py-pytest-runner', type='test')
- depends_on('py-pytest-cov', type='test')
- depends_on('py-pytest-flake8', type='test')
- depends_on('py-pytest-isort', type='test')
diff --git a/var/spack/repos/builtin/packages/py-cantoolz/package.py b/var/spack/repos/builtin/packages/py-cantoolz/package.py
index 60e47cad32..1659190854 100644
--- a/var/spack/repos/builtin/packages/py-cantoolz/package.py
+++ b/var/spack/repos/builtin/packages/py-cantoolz/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-cartopy/package.py b/var/spack/repos/builtin/packages/py-cartopy/package.py
index 1d19b4da2d..39bbc32415 100644
--- a/var/spack/repos/builtin/packages/py-cartopy/package.py
+++ b/var/spack/repos/builtin/packages/py-cartopy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,9 +13,11 @@ class PyCartopy(PythonPackage):
url = "https://github.com/SciTools/cartopy/archive/v0.18.0.tar.gz"
maintainers = ['adamjstewart']
+
+ # Skip test files in cartopy.tests
import_modules = [
'cartopy', 'cartopy.sphinxext', 'cartopy.io', 'cartopy.geodesic',
- 'cartopy.examples', 'cartopy.mpl', 'cartopy.feature',
+ 'cartopy.examples', 'cartopy.mpl', 'cartopy.feature'
]
version('0.18.0', sha256='493ced4698361ffabec1a213d2b711dc836117242c304f3b93f5406182fd8bc2')
@@ -48,15 +50,32 @@ class PyCartopy(PythonPackage):
depends_on('pil@1.7.8:', type=('build', 'run'), when='+plotting')
depends_on('py-scipy@0.10:', type=('build', 'run'), when='+plotting')
- # Testing dependencies
- depends_on('py-filelock', type='test')
- depends_on('py-mock@1.0.1:', type='test')
- depends_on('py-pytest@3.0.0:', type='test')
-
patch('proj6.patch', when='@0.17.0')
phases = ['build_ext', 'install']
+ def setup_build_environment(self, env):
+ # Needed for `spack install --test=root py-cartopy`
+ library_dirs = []
+ for dep in self.spec.dependencies(deptype='link'):
+ query = self.spec[dep.name]
+ library_dirs.extend(query.libs.directories)
+
+ # Cartopy uses ctypes.util.find_library, which searches LD_LIBRARY_PATH
+ # Our RPATH logic works fine, but the unit tests fail without this
+ libs = ':'.join(library_dirs)
+ if self.spec.satisfies('platform=darwin'):
+ env.prepend_path('DYLD_FALLBACK_LIBRARY_PATH', libs)
+ else:
+ env.prepend_path('LD_LIBRARY_PATH', libs)
+
+ # Needed for `spack test run py-cartopy`
+ setup_run_environment = setup_build_environment
+
+ # Needed for `spack test run py-foo` where `py-foo` depends on `py-cartopy`
+ def setup_dependent_run_environment(self, env, dependent_spec):
+ self.setup_build_environment(env)
+
def build_ext_args(self, spec, prefix):
args = [
spec['geos'].headers.include_flags,
@@ -74,8 +93,6 @@ class PyCartopy(PythonPackage):
return args
# Tests need to be re-added since `phases` was overridden
- run_after('build_ext')(
- PythonPackage._run_default_build_time_test_callbacks)
run_after('install')(
PythonPackage._run_default_install_time_test_callbacks)
run_after('install')(PythonPackage.sanity_check_prefix)
diff --git a/var/spack/repos/builtin/packages/py-catalogue/package.py b/var/spack/repos/builtin/packages/py-catalogue/package.py
index 799f5bb2ff..42671fd164 100644
--- a/var/spack/repos/builtin/packages/py-catalogue/package.py
+++ b/var/spack/repos/builtin/packages/py-catalogue/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyCatalogue(PythonPackage):
"""catalogue: Super lightweight function registries for your library."""
homepage = "https://github.com/explosion/catalogue"
- url = "https://pypi.io/packages/source/c/catalogue/catalogue-2.0.0.tar.gz"
+ pypi = "catalogue/catalogue-2.0.0.tar.gz"
version('2.0.0', sha256='34f8416ec5e7ed08e55c10414416e67c3f4d66edf83bc67320c3290775293816')
version('1.0.0', sha256='d74d1d856c6b36a37bf14aa6dbbc27d0582667b7ab979a6108e61a575e8723f5')
diff --git a/var/spack/repos/builtin/packages/py-catkin-pkg/package.py b/var/spack/repos/builtin/packages/py-catkin-pkg/package.py
new file mode 100644
index 0000000000..0bf04a7b57
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-catkin-pkg/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+class PyCatkinPkg(PythonPackage):
+ """Library for retrieving information about catkin packages."""
+
+ homepage = "https://wiki.ros.org/catkin_pkg"
+ pypi = "catkin-pkg/catkin_pkg-0.4.23.tar.gz"
+
+ version('0.4.23', sha256='28ee181cca827c0aabf9397351f58a97e1475ca5ac7c106a5916e3ee191cd3d0')
+
+ depends_on('py-setuptools', type=('build', 'run'))
+ depends_on('py-docutils', type=('build', 'run'))
+ depends_on('py-python-dateutil', type=('build', 'run'))
+ depends_on('py-pyparsing', type=('build', 'run'))
+ depends_on('py-argparse', when='^python@:2.6', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-cclib/package.py b/var/spack/repos/builtin/packages/py-cclib/package.py
index c7801a86a0..2f5fea76e2 100644
--- a/var/spack/repos/builtin/packages/py-cclib/package.py
+++ b/var/spack/repos/builtin/packages/py-cclib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-cdat-lite/package.py b/var/spack/repos/builtin/packages/py-cdat-lite/package.py
index db51d6e3ec..0c46ae53be 100644
--- a/var/spack/repos/builtin/packages/py-cdat-lite/package.py
+++ b/var/spack/repos/builtin/packages/py-cdat-lite/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class PyCdatLite(PythonPackage):
developed by PCMDI at Lawrence Livermore National Laboratory."""
homepage = "http://proj.badc.rl.ac.uk/cedaservices/wiki/CdatLite"
- url = "https://pypi.io/packages/source/c/cdat-lite/cdat-lite-6.0.1.tar.gz"
+ pypi = "cdat-lite/cdat-lite-6.0.1.tar.gz"
version('6.0.1', sha256='092ae4ff1fb03dee00096e8dd595b769b422759ce972d96525950adf8e1c9374')
diff --git a/var/spack/repos/builtin/packages/py-cdo/package.py b/var/spack/repos/builtin/packages/py-cdo/package.py
index 674900d87d..fcd3203850 100644
--- a/var/spack/repos/builtin/packages/py-cdo/package.py
+++ b/var/spack/repos/builtin/packages/py-cdo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,7 @@ class PyCdo(PythonPackage):
"""The cdo package provides an interface to the Climate Data
Operators from Python."""
- homepage = "https://pypi.python.org/pypi/cdo"
- url = "https://pypi.io/packages/source/c/cdo/cdo-1.3.2.tar.gz"
+ pypi = "cdo/cdo-1.3.2.tar.gz"
version('1.3.2', sha256='9f78879d90d14134f2320565016d0d371b7dfe7ec71110fd313868ec1db34aee')
diff --git a/var/spack/repos/builtin/packages/py-cdsapi/package.py b/var/spack/repos/builtin/packages/py-cdsapi/package.py
index 7d5ed6c865..4b5699ae49 100644
--- a/var/spack/repos/builtin/packages/py-cdsapi/package.py
+++ b/var/spack/repos/builtin/packages/py-cdsapi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyCdsapi(PythonPackage):
"""The Climate Data Store Application Program Interface is a service providing programmatic access to CDS data. Get your UID and API key from the CDS portal at the address https://cds.climate.copernicus.eu/user and write it into the configuration file. Look at https://pypi.org/project/cdsapi/ for an example"""
homepage = "https://cds.climate.copernicus.eu"
- url = "https://pypi.io/packages/source/c/cdsapi/cdsapi-0.2.3.tar.gz"
+ pypi = "cdsapi/cdsapi-0.2.3.tar.gz"
version('0.2.3', sha256='333b31ec263224399635db9b21a2e1a50cd73451f5179f8d967437e7c9161d9b')
diff --git a/var/spack/repos/builtin/packages/py-cekit/package.py b/var/spack/repos/builtin/packages/py-cekit/package.py
index a51203aac9..f393d95bf5 100644
--- a/var/spack/repos/builtin/packages/py-cekit/package.py
+++ b/var/spack/repos/builtin/packages/py-cekit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-celery/package.py b/var/spack/repos/builtin/packages/py-celery/package.py
index ff0eab1b63..ae99dcf6a1 100644
--- a/var/spack/repos/builtin/packages/py-celery/package.py
+++ b/var/spack/repos/builtin/packages/py-celery/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyCelery(PythonPackage):
"""Celery - Distributed Task Queue."""
- homepage = "https://pypi.org/project/celery/"
- url = "https://pypi.io/packages/source/c/celery/celery-4.2.1.tar.gz"
+ pypi = "celery/celery-4.2.1.tar.gz"
version('5.0.0', sha256='313930fddde703d8e37029a304bf91429cd11aeef63c57de6daca9d958e1f255')
version('4.4.7', sha256='d220b13a8ed57c78149acf82c006785356071844afe0b27012a4991d44026f9f')
diff --git a/var/spack/repos/builtin/packages/py-certifi/package.py b/var/spack/repos/builtin/packages/py-certifi/package.py
index 033ac47a88..79fb7ca72d 100644
--- a/var/spack/repos/builtin/packages/py-certifi/package.py
+++ b/var/spack/repos/builtin/packages/py-certifi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,9 +12,7 @@ class PyCertifi(PythonPackage):
hosts."""
homepage = "http://certifi.io/"
- url = "https://pypi.io/packages/source/c/certifi/certifi-2020.6.20.tar.gz"
-
- import_modules = ['certifi']
+ pypi = "certifi/certifi-2020.6.20.tar.gz"
version('2020.6.20', sha256='5930595817496dd21bb8dc35dad090f1c2cd0adfaf21204bf6732ca5d8ee34d3')
version('2019.9.11', sha256='e4f3620cfea4f83eedc95b24abd9cd56f3c4b146dd0177e83a21b4eb49e21e50')
diff --git a/var/spack/repos/builtin/packages/py-certipy/package.py b/var/spack/repos/builtin/packages/py-certipy/package.py
index 1fe73e8dc7..4c79879695 100644
--- a/var/spack/repos/builtin/packages/py-certipy/package.py
+++ b/var/spack/repos/builtin/packages/py-certipy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,7 @@ class PyCertipy(PythonPackage):
"""A simple python tool for creating certificate authorities
and certificates on the fly."""
- homepage = "https://pypi.org/project/certipy/"
- url = "https://pypi.io/packages/source/c/certipy/certipy-0.1.3.tar.gz"
+ pypi = "certipy/certipy-0.1.3.tar.gz"
version('0.1.3', sha256='695704b7716b033375c9a1324d0d30f27110a28895c40151a90ec07ff1032859')
diff --git a/var/spack/repos/builtin/packages/py-cf-units/package.py b/var/spack/repos/builtin/packages/py-cf-units/package.py
index 54d6e909b3..ca14b17a26 100644
--- a/var/spack/repos/builtin/packages/py-cf-units/package.py
+++ b/var/spack/repos/builtin/packages/py-cf-units/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyCfUnits(PythonPackage):
"""
homepage = "https://scitools.org.uk"
- url = "https://pypi.io/packages/source/c/cf-units/cf-units-2.1.1.tar.gz"
+ pypi = "cf-units/cf-units-2.1.1.tar.gz"
git = "https://github.com/SciTools/cf-units.git"
version('master', branch='master')
diff --git a/var/spack/repos/builtin/packages/py-cffi/package.py b/var/spack/repos/builtin/packages/py-cffi/package.py
index f333c73ffa..617fd1a5d1 100644
--- a/var/spack/repos/builtin/packages/py-cffi/package.py
+++ b/var/spack/repos/builtin/packages/py-cffi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,9 +11,7 @@ class PyCffi(PythonPackage):
"""Foreign Function Interface for Python calling C code"""
homepage = "https://cffi.readthedocs.io/en/latest/"
- url = "https://pypi.io/packages/source/c/cffi/cffi-1.13.0.tar.gz"
-
- import_modules = ['cffi']
+ pypi = "cffi/cffi-1.13.0.tar.gz"
version('1.14.3', sha256='f92f789e4f9241cd262ad7a555ca2c648a98178a953af117ef7fad46aa1d5591')
version('1.13.0', sha256='8fe230f612c18af1df6f348d02d682fe2c28ca0a6c3856c99599cdacae7cf226')
@@ -27,8 +25,6 @@ class PyCffi(PythonPackage):
depends_on('py-pycparser', type=('build', 'run'))
depends_on('py-pycparser@2.19:', when='^python@:2.6', type=('build', 'run'))
depends_on('libffi')
- depends_on('py-py', type='test')
- depends_on('py-pytest', type='test')
def setup_build_environment(self, env):
# This sets the compiler (and flags) that distutils will use
diff --git a/var/spack/repos/builtin/packages/py-cfgv/package.py b/var/spack/repos/builtin/packages/py-cfgv/package.py
index a9465eb0fc..2ed399e835 100644
--- a/var/spack/repos/builtin/packages/py-cfgv/package.py
+++ b/var/spack/repos/builtin/packages/py-cfgv/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyCfgv(PythonPackage):
"""Validate configuration and produce human readable error messages."""
homepage = "https://github.com/asottile/cfgv/"
- url = "https://pypi.io/packages/source/c/cfgv/cfgv-2.0.1.tar.gz"
+ pypi = "cfgv/cfgv-2.0.1.tar.gz"
version('2.0.1', sha256='edb387943b665bf9c434f717bf630fa78aecd53d5900d2e05da6ad6048553144')
diff --git a/var/spack/repos/builtin/packages/py-cftime/package.py b/var/spack/repos/builtin/packages/py-cftime/package.py
index 284284391a..c90bd32176 100644
--- a/var/spack/repos/builtin/packages/py-cftime/package.py
+++ b/var/spack/repos/builtin/packages/py-cftime/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-chai/package.py b/var/spack/repos/builtin/packages/py-chai/package.py
index f2e7ff7f54..15f6a1e623 100644
--- a/var/spack/repos/builtin/packages/py-chai/package.py
+++ b/var/spack/repos/builtin/packages/py-chai/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyChai(PythonPackage):
"""Chai - Python Mocking Made Easy"""
homepage = "https://github.com/agoragames/chai"
- url = "https://pypi.io/packages/source/c/chai/chai-1.1.2.tar.gz"
+ pypi = "chai/chai-1.1.2.tar.gz"
version('1.1.2', sha256='ff8d2b6855f660cd23cd5ec79bd10264d39f24f6235773331b48e7fcd637d6cc')
diff --git a/var/spack/repos/builtin/packages/py-chainer/package.py b/var/spack/repos/builtin/packages/py-chainer/package.py
index c75383b469..5f640cb3e5 100644
--- a/var/spack/repos/builtin/packages/py-chainer/package.py
+++ b/var/spack/repos/builtin/packages/py-chainer/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-chainmap/package.py b/var/spack/repos/builtin/packages/py-chainmap/package.py
index f68782e7b4..f41fe19a7c 100644
--- a/var/spack/repos/builtin/packages/py-chainmap/package.py
+++ b/var/spack/repos/builtin/packages/py-chainmap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyChainmap(PythonPackage):
ChainMap implementations."""
homepage = "https://bitbucket.org/jeunice/chainmap/src/default/"
- url = "https://pypi.io/packages/source/c/chainmap/chainmap-1.0.3.tar.gz"
+ pypi = "chainmap/chainmap-1.0.3.tar.gz"
version('1.0.3', sha256='e42aaa4b3e2f66102a11bfd563069704bfbfd84fdcb517b564effd736bf53cd9')
version('1.0.2', sha256='405da3bce9913bfb33e6e497803b447b60d12ab44031ca357626143e087e0526')
diff --git a/var/spack/repos/builtin/packages/py-chalice/package.py b/var/spack/repos/builtin/packages/py-chalice/package.py
index 348b09c5e5..527f6cd9a1 100644
--- a/var/spack/repos/builtin/packages/py-chalice/package.py
+++ b/var/spack/repos/builtin/packages/py-chalice/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -27,7 +27,7 @@ class PyChalice(PythonPackage):
depends_on('py-setuptools', type='build')
depends_on('py-click@7.0:8.0', type=('build', 'run'))
depends_on('py-botocore@1.12.86:2.0.0', type=('build', 'run'))
- depends_on('py-typing@3.6.4', type=('build', 'run'))
+ depends_on('py-typing@3.6.4', type=('build', 'run'), when='^python@:3.6.999')
depends_on('py-mypy-extensions@0.4.3', type=('build', 'run'))
depends_on('py-six@1.10.0:2.0.0', type=('build', 'run'))
depends_on('py-pip@9:20.0', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-chardet/package.py b/var/spack/repos/builtin/packages/py-chardet/package.py
index 8cd829597d..71f38e420b 100644
--- a/var/spack/repos/builtin/packages/py-chardet/package.py
+++ b/var/spack/repos/builtin/packages/py-chardet/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyChardet(PythonPackage):
"""Universal encoding detector for Python 2 and 3"""
homepage = "https://github.com/chardet/chardet"
- url = "https://pypi.io/packages/source/c/chardet/chardet-3.0.4.tar.gz"
+ pypi = "chardet/chardet-3.0.4.tar.gz"
version('3.0.4', sha256='84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae')
version('3.0.2', sha256='4f7832e7c583348a9eddd927ee8514b3bf717c061f57b21dbe7697211454d9bb')
@@ -18,5 +18,3 @@ class PyChardet(PythonPackage):
depends_on('py-setuptools', type=('build', 'run'))
depends_on('py-pytest-runner', type='build')
- depends_on('py-pytest', type='test')
- depends_on('py-hypothesis', type='test')
diff --git a/var/spack/repos/builtin/packages/py-charm4py/package.py b/var/spack/repos/builtin/packages/py-charm4py/package.py
index 7ebea4ddef..ebe181bcea 100644
--- a/var/spack/repos/builtin/packages/py-charm4py/package.py
+++ b/var/spack/repos/builtin/packages/py-charm4py/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,7 +17,7 @@ class PyCharm4py(PythonPackage):
from small multi-core devices up to the largest supercomputers."""
homepage = "https://charmpy.readthedocs.io"
- url = "https://pypi.io/packages/source/c/charm4py/charm4py-1.0.tar.gz"
+ pypi = "charm4py/charm4py-1.0.tar.gz"
# Add a list of GitHub accounts to
# notify when the package is updated.
diff --git a/var/spack/repos/builtin/packages/py-checkm-genome/package.py b/var/spack/repos/builtin/packages/py-checkm-genome/package.py
index cc1bee25c9..7960cfa8c2 100644
--- a/var/spack/repos/builtin/packages/py-checkm-genome/package.py
+++ b/var/spack/repos/builtin/packages/py-checkm-genome/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyCheckmGenome(PythonPackage):
cells, and metagenomes"""
homepage = "https://ecogenomics.github.io/CheckM"
- url = "https://pypi.io/packages/source/c/checkm-genome/checkm-genome-1.0.11.tar.gz"
+ pypi = "checkm-genome/checkm-genome-1.0.11.tar.gz"
version('1.0.13', sha256='ffb7e4966c0fac07c7e6e7db6f6eb5b48587fa83987f8a68efbaff2afb7da82e')
version('1.0.11', sha256='e475d9817d12fa771dbccc80f47758b742fc67c25261dc8ca0c0dc898c2a5190')
diff --git a/var/spack/repos/builtin/packages/py-cheetah/package.py b/var/spack/repos/builtin/packages/py-cheetah/package.py
index d150293c56..6b5b76813f 100644
--- a/var/spack/repos/builtin/packages/py-cheetah/package.py
+++ b/var/spack/repos/builtin/packages/py-cheetah/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,11 @@ from spack import *
class PyCheetah(PythonPackage):
"""Cheetah is a template engine and code generation tool."""
- homepage = "https://pypi.python.org/pypi/Cheetah/2.4.4"
- url = "https://pypi.io/packages/source/C/Cheetah/Cheetah-2.3.0.tar.gz"
+ pypi = "Cheetah/Cheetah-2.3.0.tar.gz"
+ version('2.4.4', sha256='be308229f0c1e5e5af4f27d7ee06d90bb19e6af3059794e5fd536a6f29a9b550')
version('2.3.0', sha256='2a32d7f7f70be98c2d57aa581f979bc799d4bf17d09fc0e7d77280501edf3e53')
+
+ depends_on('python@2:2.99.999', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-markdown@2.0.1:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-cheetah3/package.py b/var/spack/repos/builtin/packages/py-cheetah3/package.py
new file mode 100644
index 0000000000..28e739934f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-cheetah3/package.py
@@ -0,0 +1,17 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyCheetah3(PythonPackage):
+ """Cheetah3 is a template engine and code generation tool."""
+
+ pypi = "Cheetah3/Cheetah3-3.2.6.tar.gz"
+
+ version('3.2.6', sha256='f1c2b693cdcac2ded2823d363f8459ae785261e61c128d68464c8781dba0466b')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-markdown@2.0.1:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-cheroot/package.py b/var/spack/repos/builtin/packages/py-cheroot/package.py
index f75ef07b58..263b80e497 100644
--- a/var/spack/repos/builtin/packages/py-cheroot/package.py
+++ b/var/spack/repos/builtin/packages/py-cheroot/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyCheroot(PythonPackage):
""" Highly-optimized, pure-python HTTP server """
homepage = "https://cheroot.cherrypy.org/"
- url = "https://pypi.io/packages/source/c/cheroot/cheroot-6.5.5.tar.gz"
+ pypi = "cheroot/cheroot-6.5.5.tar.gz"
version('8.3.0', sha256='a0577e1f28661727d472671a7cc4e0c12ea0cbc5220265e70f00a8b8cb628931')
version('6.5.5', sha256='f6a85e005adb5bc5f3a92b998ff0e48795d4d98a0fbb7edde47a7513d4100601')
@@ -23,4 +23,5 @@ class PyCheroot(PythonPackage):
depends_on('py-six@1.11.0:', type=('build', 'run'))
depends_on('py-backports-functools-lru-cache', type=('build', 'run'),
when='^python@:3.3')
+ depends_on('py-jaraco-functools', when='@8.3.0:', type=('build', 'run'))
depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-cherrypy/package.py b/var/spack/repos/builtin/packages/py-cherrypy/package.py
index 848d185303..311b683b2d 100644
--- a/var/spack/repos/builtin/packages/py-cherrypy/package.py
+++ b/var/spack/repos/builtin/packages/py-cherrypy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyCherrypy(PythonPackage):
"""CherryPy is a pythonic, object-oriented HTTP framework."""
homepage = "https://cherrypy.org/"
- url = "https://pypi.io/packages/source/C/CherryPy/CherryPy-18.1.1.tar.gz"
+ pypi = "CherryPy/CherryPy-18.1.1.tar.gz"
version('18.1.1', sha256='6585c19b5e4faffa3613b5bf02c6a27dcc4c69a30d302aba819639a2af6fa48b')
diff --git a/var/spack/repos/builtin/packages/py-chronyk/package.py b/var/spack/repos/builtin/packages/py-chronyk/package.py
index 9523814f8e..a1a81ae552 100644
--- a/var/spack/repos/builtin/packages/py-chronyk/package.py
+++ b/var/spack/repos/builtin/packages/py-chronyk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-cinema-lib/package.py b/var/spack/repos/builtin/packages/py-cinema-lib/package.py
index 8034e9c7a1..9e5e1fd30c 100644
--- a/var/spack/repos/builtin/packages/py-cinema-lib/package.py
+++ b/var/spack/repos/builtin/packages/py-cinema-lib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-cinemasci/package.py b/var/spack/repos/builtin/packages/py-cinemasci/package.py
new file mode 100644
index 0000000000..83ddb8b648
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-cinemasci/package.py
@@ -0,0 +1,27 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyCinemasci(PythonPackage):
+ """A set of python tools for reading, writing and viewing Cinema
+ databases"""
+
+ homepage = "https://github.com/cinemascience"
+ pypi = "cinemasci/cinemasci-1.3.tar.gz"
+
+ maintainers = ['EthanS94']
+
+ version('1.3', sha256='c024ca9791de9d78e5dad3fd11e8f87d8bc1afa5830f2697d7ec4116a5d23c20')
+
+ depends_on('hdf5~mpi')
+ depends_on('pil', type=('build', 'run'))
+ depends_on('python@3:', type=('build', 'run'))
+ depends_on('py-h5py~mpi', type=('build', 'run'))
+ depends_on('py-ipywidgets', type=('build', 'run'))
+ depends_on('py-jupyterlab', type=('build', 'run'))
+ depends_on('py-pandas', type=('build', 'run'))
+ depends_on('py-setuptools', type=('build'))
diff --git a/var/spack/repos/builtin/packages/py-click-didyoumean/package.py b/var/spack/repos/builtin/packages/py-click-didyoumean/package.py
index 10052f429f..492ee04b2b 100644
--- a/var/spack/repos/builtin/packages/py-click-didyoumean/package.py
+++ b/var/spack/repos/builtin/packages/py-click-didyoumean/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ class PyClickDidyoumean(PythonPackage):
"""Enable git-like did-you-mean feature in click"""
homepage = "https://github.com/click-contrib/click-didyoumean"
- url = "https://files.pythonhosted.org/packages/9f/79/d265d783dd022541b744d002745d9e55d84c04a41930e35d8795934f6526/click-didyoumean-0.0.3.tar.gz"
+ pypi = "click-didyoumean/click-didyoumean-0.0.3.tar.gz"
version('0.0.3', sha256='112229485c9704ff51362fe34b2d4f0b12fc71cc20f6d2b3afabed4b8bfa6aeb')
diff --git a/var/spack/repos/builtin/packages/py-click-plugins/package.py b/var/spack/repos/builtin/packages/py-click-plugins/package.py
index 33ec97c648..cf15ed4638 100644
--- a/var/spack/repos/builtin/packages/py-click-plugins/package.py
+++ b/var/spack/repos/builtin/packages/py-click-plugins/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,7 @@ class PyClickPlugins(PythonPackage):
"""An extension module for py-click to register external CLI
commands via setuptools entry-points."""
- homepage = "https://pypi.org/project/click-plugins/"
- url = "https://pypi.io/packages/source/c/click-plugins/click-plugins-1.0.4.tar.gz"
+ pypi = "click-plugins/click-plugins-1.0.4.tar.gz"
version('1.0.4', sha256='dfed74b5063546a137de99baaaf742b4de4337ad2b3e1df5ec7c8a256adc0847')
diff --git a/var/spack/repos/builtin/packages/py-click-repl/package.py b/var/spack/repos/builtin/packages/py-click-repl/package.py
index 11e1a693ae..0eff678cf7 100644
--- a/var/spack/repos/builtin/packages/py-click-repl/package.py
+++ b/var/spack/repos/builtin/packages/py-click-repl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ class PyClickRepl(PythonPackage):
"""Subcommand REPL for click apps """
homepage = "https://github.com/click-contrib/click-repl"
- url = "https://files.pythonhosted.org/packages/51/99/6a722e232f92fdc21c46fd042fea63e7c2fcda3086ff5db62edd595d3f49/click-repl-0.1.6.tar.gz"
+ pypi = "click-repl/click-repl-0.1.6.tar.gz"
version('0.1.6', sha256='b9f29d52abc4d6059f8e276132a111ab8d94980afe6a5432b9d996544afa95d5')
diff --git a/var/spack/repos/builtin/packages/py-click/package.py b/var/spack/repos/builtin/packages/py-click/package.py
index 52e616dbfc..260fb5e752 100644
--- a/var/spack/repos/builtin/packages/py-click/package.py
+++ b/var/spack/repos/builtin/packages/py-click/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -6,7 +6,7 @@ class PyClick(PythonPackage):
"""A simple wrapper around optparse for powerful command line utilities."""
homepage = "http://github.com/mitsuhiko/click"
- url = "https://pypi.io/packages/source/c/click/click-7.1.2.tar.gz"
+ pypi = "click/click-7.1.2.tar.gz"
version('7.1.2', sha256='d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a')
version('7.0', sha256='5b94b49521f6456670fdb30cd82a4eca9412788a93fa6dd6df72c94d5a8ff2d7',
diff --git a/var/spack/repos/builtin/packages/py-cligj/package.py b/var/spack/repos/builtin/packages/py-cligj/package.py
index f35a0ef68f..9f0cc7a391 100644
--- a/var/spack/repos/builtin/packages/py-cligj/package.py
+++ b/var/spack/repos/builtin/packages/py-cligj/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-clint/package.py b/var/spack/repos/builtin/packages/py-clint/package.py
index e8a82f5ddf..600e83d4e2 100644
--- a/var/spack/repos/builtin/packages/py-clint/package.py
+++ b/var/spack/repos/builtin/packages/py-clint/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyClint(PythonPackage):
"""Python Command-line Application Tools"""
homepage = "https://github.com/kennethreitz-archive/clint"
- url = "https://pypi.io/packages/source/c/clint/clint-0.5.1.tar.gz"
+ pypi = "clint/clint-0.5.1.tar.gz"
version('0.5.1', sha256='05224c32b1075563d0b16d0015faaf9da43aa214e4a2140e51f08789e7a4c5aa')
diff --git a/var/spack/repos/builtin/packages/py-clipboard/package.py b/var/spack/repos/builtin/packages/py-clipboard/package.py
index b80f58d098..7b9373e787 100644
--- a/var/spack/repos/builtin/packages/py-clipboard/package.py
+++ b/var/spack/repos/builtin/packages/py-clipboard/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyClipboard(PythonPackage):
"""A cross platform clipboard operation library of Python."""
homepage = "https://github.com/terryyin/clipboard"
- url = "https://pypi.io/packages/source/c/clipboard/clipboard-0.0.4.tar.gz"
+ pypi = "clipboard/clipboard-0.0.4.tar.gz"
version('0.0.4', sha256='a72a78e9c9bf68da1c3f29ee022417d13ec9e3824b511559fd2b702b1dd5b817')
diff --git a/var/spack/repos/builtin/packages/py-cloudpickle/package.py b/var/spack/repos/builtin/packages/py-cloudpickle/package.py
index 0f7e525290..453535a8ea 100644
--- a/var/spack/repos/builtin/packages/py-cloudpickle/package.py
+++ b/var/spack/repos/builtin/packages/py-cloudpickle/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,15 +10,11 @@ class PyCloudpickle(PythonPackage):
"""Extended pickling support for Python objects."""
homepage = "https://github.com/cloudpipe/cloudpickle"
- url = "https://pypi.io/packages/source/c/cloudpickle/cloudpickle-0.5.2.tar.gz"
-
- import_modules = ['cloudpickle']
+ pypi = "cloudpickle/cloudpickle-0.5.2.tar.gz"
+ version('1.6.0', sha256='9bc994f9e9447593bd0a45371f0e7ac7333710fcf64a4eb9834bf149f4ef2f32')
version('1.2.1', sha256='603244e0f552b72a267d47a7d9b347b27a3430f58a0536037a290e7e0e212ecf')
version('0.5.2', sha256='b0e63dd89ed5285171a570186751bc9b84493675e99e12789e9a5dc5490ef554')
+ depends_on('python@3.5:', type=('build', 'run'), when='@1.6.0:')
depends_on('py-setuptools', type='build')
-
- def build_test(self):
- # PyPI tarball does not come with unit tests
- pass
diff --git a/var/spack/repos/builtin/packages/py-clustershell/package.py b/var/spack/repos/builtin/packages/py-clustershell/package.py
index 5fd696ce89..2134827ae9 100644
--- a/var/spack/repos/builtin/packages/py-clustershell/package.py
+++ b/var/spack/repos/builtin/packages/py-clustershell/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-cmake-format/package.py b/var/spack/repos/builtin/packages/py-cmake-format/package.py
index b300b97379..cab5dc3e02 100644
--- a/var/spack/repos/builtin/packages/py-cmake-format/package.py
+++ b/var/spack/repos/builtin/packages/py-cmake-format/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,8 +11,7 @@ class PyCmakeFormat(PythonPackage):
cmake. Tools include cmake-annotate, cmake-format, cmake-lint,
and ctest-to."""
- homepage = "https://pypi.python.org/pypi/cmake-format"
- url = "https://pypi.io/packages/source/c/cmake_format/cmake_format-0.6.9.tar.gz"
+ pypi = "cmake_format/cmake_format-0.6.9.tar.gz"
version('0.6.10', sha256='82f0ef16236225cb43f45bfb6983ef7f6f72634727a1a6c26290402527bdd793')
version('0.6.9', sha256='b2f8bf2e9c6651126f2f2954b7803222b0faf6b8649eabc4d965ea97483a4d20')
diff --git a/var/spack/repos/builtin/packages/py-cmake/package.py b/var/spack/repos/builtin/packages/py-cmake/package.py
index fc2ab57044..fab0dda083 100644
--- a/var/spack/repos/builtin/packages/py-cmake/package.py
+++ b/var/spack/repos/builtin/packages/py-cmake/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyCmake(PythonPackage):
"""
homepage = "https://cmake.org/"
- url = "https://pypi.io/packages/source/c/cmake/cmake-3.18.0.tar.gz"
+ pypi = "cmake/cmake-3.18.0.tar.gz"
version('3.18.0', sha256='52b98c5ee70b5fa30a8623e96482227e065292f78794eb085fdf0fecb204b79b')
diff --git a/var/spack/repos/builtin/packages/py-cmocean/package.py b/var/spack/repos/builtin/packages/py-cmocean/package.py
index aca64870cc..ba33dd142f 100644
--- a/var/spack/repos/builtin/packages/py-cmocean/package.py
+++ b/var/spack/repos/builtin/packages/py-cmocean/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,11 +8,10 @@ class PyCmocean(PythonPackage):
"""Colormaps for Oceanography."""
homepage = "https://matplotlib.org/cmocean/"
- url = "https://pypi.io/packages/source/c/cmocean/cmocean-2.0.tar.gz"
+ pypi = "cmocean/cmocean-2.0.tar.gz"
version('2.0', sha256='13eea3c8994d8e303e32a2db0b3e686f6edfb41cb21e7b0e663c2b17eea9b03a')
depends_on('py-setuptools', type='build')
depends_on('py-matplotlib', type=('build', 'run'))
depends_on('py-numpy', type=('build', 'run'))
- depends_on('py-pytest', type='test')
diff --git a/var/spack/repos/builtin/packages/py-cnvkit/package.py b/var/spack/repos/builtin/packages/py-cnvkit/package.py
index 17d4508b15..a18fe650ef 100644
--- a/var/spack/repos/builtin/packages/py-cnvkit/package.py
+++ b/var/spack/repos/builtin/packages/py-cnvkit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyCnvkit(PythonPackage):
"""Copy number variation toolkit for high-throughput sequencing."""
homepage = "https://github.com/etal/cnvkit"
- url = "https://pypi.io/packages/source/C/CNVkit/CNVkit-0.9.6.tar.gz"
+ pypi = "CNVkit/CNVkit-0.9.6.tar.gz"
version('0.9.6', sha256='be889c98a5cf0a994330b8c31c0a65151fb0095fe4e75a1e04118da2516248c2')
diff --git a/var/spack/repos/builtin/packages/py-coapthon3/package.py b/var/spack/repos/builtin/packages/py-coapthon3/package.py
index 2697b8e16a..22173535eb 100644
--- a/var/spack/repos/builtin/packages/py-coapthon3/package.py
+++ b/var/spack/repos/builtin/packages/py-coapthon3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-codecov/package.py b/var/spack/repos/builtin/packages/py-codecov/package.py
index afced5c19b..9025209f78 100644
--- a/var/spack/repos/builtin/packages/py-codecov/package.py
+++ b/var/spack/repos/builtin/packages/py-codecov/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,9 +10,7 @@ class PyCodecov(PythonPackage):
"""Hosted coverage reports for Github, Bitbucket and Gitlab."""
homepage = "https://github.com/codecov/codecov-python"
- url = "https://pypi.io/packages/source/c/codecov/codecov-2.0.15.tar.gz"
-
- import_modules = ['codecov']
+ pypi = "codecov/codecov-2.0.15.tar.gz"
version('2.0.15', sha256='8ed8b7c6791010d359baed66f84f061bba5bd41174bf324c31311e8737602788')
@@ -20,5 +18,3 @@ class PyCodecov(PythonPackage):
depends_on('py-requests@2.7.9:', type=('build', 'run'))
depends_on('py-coverage', type=('build', 'run'))
depends_on('py-argparse', when='^python@:2.6', type=('build', 'run'))
- depends_on('py-unittest2', type='test')
- depends_on('py-linecache2', type='test')
diff --git a/var/spack/repos/builtin/packages/py-cogent/package.py b/var/spack/repos/builtin/packages/py-cogent/package.py
index 8605e05bea..ef791daad6 100644
--- a/var/spack/repos/builtin/packages/py-cogent/package.py
+++ b/var/spack/repos/builtin/packages/py-cogent/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,11 +10,11 @@ class PyCogent(PythonPackage):
"""A toolkit for statistical analysis of biological sequences."""
homepage = "http://pycogent.org"
- url = "https://pypi.io/packages/source/c/cogent/cogent-1.9.tar.gz"
+ pypi = "cogent/cogent-1.9.tar.gz"
version('1.9', sha256='57d8c58e0273ffe4f2b907874f9b49dadfd0600f5507b7666369f4e44d56ce14')
version('1.5.3', url="https://pypi.io/packages/source/c/cogent/cogent-1.5.3.tgz",
- sha256='1215ac219070b7b2207b0b47b4388510f3e30ccd88160aa9f02f25d24bcbcd95')
+ sha256='1215ac219070b7b2207b0b47b4388510f3e30ccd88160aa9f02f25d24bcbcd95')
variant('matplotlib', default=False, description="graphs related to codon usage")
variant('mpi', default=False, description='MPI required for parallel computation.')
diff --git a/var/spack/repos/builtin/packages/py-coilmq/package.py b/var/spack/repos/builtin/packages/py-coilmq/package.py
index fc2f404e51..a341d1f979 100644
--- a/var/spack/repos/builtin/packages/py-coilmq/package.py
+++ b/var/spack/repos/builtin/packages/py-coilmq/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-colorama/package.py b/var/spack/repos/builtin/packages/py-colorama/package.py
index be101dc938..fe372be465 100644
--- a/var/spack/repos/builtin/packages/py-colorama/package.py
+++ b/var/spack/repos/builtin/packages/py-colorama/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyColorama(PythonPackage):
"""Cross-platform colored terminal text."""
homepage = "https://github.com/tartley/colorama"
- url = "https://pypi.io/packages/source/c/colorama/colorama-0.3.7.tar.gz"
+ pypi = "colorama/colorama-0.3.7.tar.gz"
version('0.4.1', sha256='05eed71e2e327246ad6b38c540c4a3117230b19679b875190486ddd2d721422d')
version('0.3.7', sha256='e043c8d32527607223652021ff648fbb394d5e19cba9f1a698670b338c9d782b')
diff --git a/var/spack/repos/builtin/packages/py-colored-traceback/package.py b/var/spack/repos/builtin/packages/py-colored-traceback/package.py
new file mode 100644
index 0000000000..e643af79e0
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-colored-traceback/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+from spack import *
+
+
+class PyColoredTraceback(PythonPackage):
+ """Automatically color Python's uncaught exception tracebacks."""
+
+ homepage = "https://github.com/staticshock/colored-traceback.py"
+ pypi = "colored-traceback/colored-traceback-0.3.0.tar.gz"
+
+ version('0.3.0', sha256='6da7ce2b1da869f6bb54c927b415b95727c4bb6d9a84c4615ea77d9872911b05')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-pygments', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-coloredlogs/package.py b/var/spack/repos/builtin/packages/py-coloredlogs/package.py
index bc4b8f1434..1cd4a1e14a 100644
--- a/var/spack/repos/builtin/packages/py-coloredlogs/package.py
+++ b/var/spack/repos/builtin/packages/py-coloredlogs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyColoredlogs(PythonPackage):
"""Colored terminal output for Python's logging module"""
- homepage = "https://pypi.org/project/coloredlogs/"
- url = "https://pypi.io/packages/source/c/coloredlogs/coloredlogs-10.0.tar.gz"
+ pypi = "coloredlogs/coloredlogs-10.0.tar.gz"
version('14.0', sha256='a1fab193d2053aa6c0a97608c4342d031f1f93a3d1218432c59322441d31a505')
version('10.0', sha256='b869a2dda3fa88154b9dd850e27828d8755bfab5a838a1c97fbc850c6e377c36')
diff --git a/var/spack/repos/builtin/packages/py-colorful/package.py b/var/spack/repos/builtin/packages/py-colorful/package.py
index 377b9e1c46..a2f767afad 100644
--- a/var/spack/repos/builtin/packages/py-colorful/package.py
+++ b/var/spack/repos/builtin/packages/py-colorful/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyColorful(PythonPackage):
"""Terminal string styling done right, in Python."""
homepage = "https://github.com/timofurrer/colorful"
- url = "https://pypi.io/packages/source/c/colorful/colorful-0.5.4.tar.gz"
+ pypi = "colorful/colorful-0.5.4.tar.gz"
version('0.5.4', sha256='86848ad4e2eda60cd2519d8698945d22f6f6551e23e95f3f14dfbb60997807ea')
diff --git a/var/spack/repos/builtin/packages/py-colorlog/package.py b/var/spack/repos/builtin/packages/py-colorlog/package.py
index 05268384f2..2e8f2b7f75 100644
--- a/var/spack/repos/builtin/packages/py-colorlog/package.py
+++ b/var/spack/repos/builtin/packages/py-colorlog/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyColorlog(PythonPackage):
"""A colored formatter for the python logging module"""
homepage = "https://github.com/borntyping/python-colorlog"
- url = "https://pypi.io/packages/source/c/colorlog/colorlog-4.0.2.tar.gz"
+ pypi = "colorlog/colorlog-4.0.2.tar.gz"
version('4.0.2', sha256='3cf31b25cbc8f86ec01fef582ef3b840950dea414084ed19ab922c8b493f9b42')
version('3.1.4', sha256='418db638c9577f37f0fae4914074f395847a728158a011be2a193ac491b9779d')
diff --git a/var/spack/repos/builtin/packages/py-colormath/package.py b/var/spack/repos/builtin/packages/py-colormath/package.py
index b190cdd418..8e584938fa 100644
--- a/var/spack/repos/builtin/packages/py-colormath/package.py
+++ b/var/spack/repos/builtin/packages/py-colormath/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyColormath(PythonPackage):
"""Color math and conversion library."""
- homepage = "https://pypi.python.org/pypi/colormath/2.1.1"
- url = "https://pypi.io/packages/source/c/colormath/colormath-2.1.1.tar.gz"
+ pypi = "colormath/colormath-2.1.1.tar.gz"
version('3.0.0', sha256='3d4605af344527da0e4f9f504fad7ddbebda35322c566a6c72e28edb1ff31217')
version('2.1.1', sha256='003a2b2d9c1f43aa7d90addf1863fb2d822463c839b1166ae3092950792f9707')
diff --git a/var/spack/repos/builtin/packages/py-colorpy/package.py b/var/spack/repos/builtin/packages/py-colorpy/package.py
index 909ad673ef..2aee0a5c97 100644
--- a/var/spack/repos/builtin/packages/py-colorpy/package.py
+++ b/var/spack/repos/builtin/packages/py-colorpy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,7 +15,7 @@ class PyColorpy(PythonPackage):
"""
homepage = "http://markkness.net/colorpy/ColorPy.html"
- url = "https://pypi.io/packages/source/c/colorpy/colorpy-0.1.1.tar.gz"
+ pypi = "colorpy/colorpy-0.1.1.tar.gz"
version('0.1.1', sha256='e400a7e879adc83c6098dde13cdd093723f3936778c245b1caf88f5f1411170d')
diff --git a/var/spack/repos/builtin/packages/py-colorspacious/package.py b/var/spack/repos/builtin/packages/py-colorspacious/package.py
index 9efa00007f..4ace96ea36 100644
--- a/var/spack/repos/builtin/packages/py-colorspacious/package.py
+++ b/var/spack/repos/builtin/packages/py-colorspacious/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyColorspacious(PythonPackage):
"""
homepage = "https://github.com/njsmith/colorspacious"
- url = "https://pypi.io/packages/source/c/colorspacious/colorspacious-1.1.2.tar.gz"
+ pypi = "colorspacious/colorspacious-1.1.2.tar.gz"
version('1.1.2', sha256='5e9072e8cdca889dac445c35c9362a22ccf758e97b00b79ff0d5a7ba3e11b618')
diff --git a/var/spack/repos/builtin/packages/py-commonmark/package.py b/var/spack/repos/builtin/packages/py-commonmark/package.py
index 20d2b605a4..09fcc65150 100644
--- a/var/spack/repos/builtin/packages/py-commonmark/package.py
+++ b/var/spack/repos/builtin/packages/py-commonmark/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyCommonmark(PythonPackage):
modules."""
homepage = "https://github.com/readthedocs/commonmark.py"
- url = "https://pypi.io/packages/source/c/commonmark/commonmark-0.9.0.tar.gz"
+ pypi = "commonmark/commonmark-0.9.0.tar.gz"
version('0.9.0', sha256='867fc5db078ede373ab811e16b6789e9d033b15ccd7296f370ca52d1ee792ce0')
diff --git a/var/spack/repos/builtin/packages/py-configargparse/package.py b/var/spack/repos/builtin/packages/py-configargparse/package.py
index acaf0cc4bb..9871f2e4a6 100644
--- a/var/spack/repos/builtin/packages/py-configargparse/package.py
+++ b/var/spack/repos/builtin/packages/py-configargparse/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-configobj/package.py b/var/spack/repos/builtin/packages/py-configobj/package.py
index 350695780d..262fe83b05 100644
--- a/var/spack/repos/builtin/packages/py-configobj/package.py
+++ b/var/spack/repos/builtin/packages/py-configobj/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyConfigobj(PythonPackage):
"""
homepage = "https://github.com/DiffSK/configobj"
- url = "https://pypi.io/packages/source/c/configobj/configobj-5.0.6.tar.gz"
+ pypi = "configobj/configobj-5.0.6.tar.gz"
version('5.0.6', sha256='a2f5650770e1c87fb335af19a9b7eb73fc05ccf22144eb68db7d00cd2bcb0902')
version('4.7.2', sha256='515ff923462592e8321df8b48c47e3428f8d406ee22b8de77bef969d1af11171')
diff --git a/var/spack/repos/builtin/packages/py-configparser/package.py b/var/spack/repos/builtin/packages/py-configparser/package.py
index 7a4109552c..fd5349f3d3 100644
--- a/var/spack/repos/builtin/packages/py-configparser/package.py
+++ b/var/spack/repos/builtin/packages/py-configparser/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyConfigparser(PythonPackage):
Python 2.6-3.5."""
homepage = "https://docs.python.org/3/library/configparser.html"
- url = "https://pypi.io/packages/source/c/configparser/configparser-3.5.0.tar.gz"
+ pypi = "configparser/configparser-3.5.0.tar.gz"
version('3.5.1', sha256='f41e19cb29bebfccb1a78627b3f328ec198cc8f39510c7c55e7dfc0ab58c8c62')
version('3.5.0', sha256='5308b47021bc2340965c371f0f058cc6971a04502638d4244225c49d80db273a')
diff --git a/var/spack/repos/builtin/packages/py-contextily/package.py b/var/spack/repos/builtin/packages/py-contextily/package.py
new file mode 100644
index 0000000000..d5bcfa3dee
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-contextily/package.py
@@ -0,0 +1,27 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyContextily(PythonPackage):
+ """Context geo-tiles in Python."""
+
+ homepage = "https://github.com/darribas/contextily"
+ pypi = "contextily/contextily-1.0.1.tar.gz"
+
+ maintainers = ['adamjstewart']
+
+ version('1.0.1', sha256='f7dc25dbc8e01163be6cdeedb49a56da9cd0d586c838861f442ef2ee45eba9d4')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-geopy', type=('build', 'run'))
+ depends_on('py-matplotlib', type=('build', 'run'))
+ depends_on('py-mercantile', type=('build', 'run'))
+ depends_on('pil', type=('build', 'run'))
+ depends_on('py-rasterio', type=('build', 'run'))
+ depends_on('py-requests', type=('build', 'run'))
+ depends_on('py-joblib', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-contextlib2/package.py b/var/spack/repos/builtin/packages/py-contextlib2/package.py
index 7231512b35..6bc59bb426 100644
--- a/var/spack/repos/builtin/packages/py-contextlib2/package.py
+++ b/var/spack/repos/builtin/packages/py-contextlib2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-contextvars/package.py b/var/spack/repos/builtin/packages/py-contextvars/package.py
index a0c1a87499..189d38cf0f 100644
--- a/var/spack/repos/builtin/packages/py-contextvars/package.py
+++ b/var/spack/repos/builtin/packages/py-contextvars/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ class PyContextvars(PythonPackage):
(see PEP 567) for Python 3.6."""
homepage = "https://github.com/MagicStack/contextvars"
- url = "https://pypi.io/packages/source/c/contextvars/contextvars-2.4.tar.gz"
+ pypi = "contextvars/contextvars-2.4.tar.gz"
version('2.4', sha256='f38c908aaa59c14335eeea12abea5f443646216c4e29380d7bf34d2018e2c39e')
diff --git a/var/spack/repos/builtin/packages/py-convertdate/package.py b/var/spack/repos/builtin/packages/py-convertdate/package.py
index b75b839ad0..14fdb922b2 100644
--- a/var/spack/repos/builtin/packages/py-convertdate/package.py
+++ b/var/spack/repos/builtin/packages/py-convertdate/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyConvertdate(PythonPackage):
Indian Civil, Islamic, ISO, Julian, Mayan and Persian."""
homepage = "https://github.com/fitnr/convertdate/"
- url = "https://pypi.io/packages/source/c/convertdate/convertdate-2.2.0.tar.gz"
+ pypi = "convertdate/convertdate-2.2.0.tar.gz"
version('2.2.0', sha256='9d2b0cd8d5382d2458d4cfa59665abba398a9e9bfd3a01c6f61b7b47768d28bf')
diff --git a/var/spack/repos/builtin/packages/py-cookiecutter/package.py b/var/spack/repos/builtin/packages/py-cookiecutter/package.py
index 4a39c6ea3d..efe34d3fb6 100644
--- a/var/spack/repos/builtin/packages/py-cookiecutter/package.py
+++ b/var/spack/repos/builtin/packages/py-cookiecutter/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-counter/package.py b/var/spack/repos/builtin/packages/py-counter/package.py
index f751818caa..2f949c5536 100644
--- a/var/spack/repos/builtin/packages/py-counter/package.py
+++ b/var/spack/repos/builtin/packages/py-counter/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,10 +10,8 @@ class PyCounter(PythonPackage):
"""Counter package defines the "counter.Counter" class similar to
bags or multisets in other languages."""
- import_modules = ['counter']
-
homepage = "https://github.com/KelSolaar/Counter"
- url = "https://pypi.io/packages/source/C/Counter/Counter-1.0.0.tar.gz"
+ pypi = "Counter/Counter-1.0.0.tar.gz"
version('1.0.0', sha256='9e008590e360936a66c98e1a01e7a9a0ecf6af19cc588107121f5fb4613bb60c')
diff --git a/var/spack/repos/builtin/packages/py-cov-core/package.py b/var/spack/repos/builtin/packages/py-cov-core/package.py
index 8ecc781755..6214952e07 100644
--- a/var/spack/repos/builtin/packages/py-cov-core/package.py
+++ b/var/spack/repos/builtin/packages/py-cov-core/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyCovCore(PythonPackage):
"""plugin core for use by pytest-cov, nose-cov and nose2-cov"""
homepage = "https://github.com/schlamar/cov-core"
- url = "https://pypi.io/packages/source/c/cov-core/cov-core-1.15.0.tar.gz"
+ pypi = "cov-core/cov-core-1.15.0.tar.gz"
version('1.15.0', sha256='4a14c67d520fda9d42b0da6134638578caae1d374b9bb462d8de00587dba764c')
diff --git a/var/spack/repos/builtin/packages/py-coverage/package.py b/var/spack/repos/builtin/packages/py-coverage/package.py
index 9ec93625d3..09e98526be 100644
--- a/var/spack/repos/builtin/packages/py-coverage/package.py
+++ b/var/spack/repos/builtin/packages/py-coverage/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyCoverage(PythonPackage):
""" Testing coverage checker for python """
homepage = "http://nedbatchelder.com/code/coverage/"
- url = "https://pypi.io/packages/source/c/coverage/coverage-4.5.4.tar.gz"
+ pypi = "coverage/coverage-4.5.4.tar.gz"
version('5.3', sha256='280baa8ec489c4f542f8940f9c4c2181f0306a8ee1a54eceba071a449fb870a0')
version('4.5.4', sha256='e07d9f1a23e9e93ab5c62902833bf3e4b1f65502927379148b6622686223125c')
diff --git a/var/spack/repos/builtin/packages/py-cppheaderparser/package.py b/var/spack/repos/builtin/packages/py-cppheaderparser/package.py
index 23e4c1a700..a8f80896d3 100644
--- a/var/spack/repos/builtin/packages/py-cppheaderparser/package.py
+++ b/var/spack/repos/builtin/packages/py-cppheaderparser/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,7 @@ class PyCppheaderparser(PythonPackage):
"""Parse C++ header files and generate a data structure
representing the class"""
- homepage = "https://pypi.org/project/CppHeaderParser"
- url = "https://pypi.io/packages/source/C/CppHeaderParser/CppHeaderParser-2.7.4.tar.gz"
+ pypi = "CppHeaderParser/CppHeaderParser-2.7.4.tar.gz"
version('2.7.4', sha256='382b30416d95b0a5e8502b214810dcac2a56432917e2651447d3abe253e3cc42')
diff --git a/var/spack/repos/builtin/packages/py-crcmod/package.py b/var/spack/repos/builtin/packages/py-crcmod/package.py
index 4ca6189b9e..bd5b86470c 100644
--- a/var/spack/repos/builtin/packages/py-crcmod/package.py
+++ b/var/spack/repos/builtin/packages/py-crcmod/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyCrcmod(PythonPackage):
compute the Cyclic Redundancy Check (CRC)"""
homepage = "http://crcmod.sourceforge.net/"
- url = "https://pypi.io/packages/source/c/crcmod/crcmod-1.7.tar.gz"
+ pypi = "crcmod/crcmod-1.7.tar.gz"
version('1.7', sha256='dc7051a0db5f2bd48665a990d3ec1cc305a466a77358ca4492826f41f283601e')
version('1.6', sha256='56d27d035ea029c6ed96779ca042c0136d39d106e3c30baa6422738c7d86aaa5')
diff --git a/var/spack/repos/builtin/packages/py-crispresso/package.py b/var/spack/repos/builtin/packages/py-crispresso/package.py
index fb46dca86a..093c52c323 100644
--- a/var/spack/repos/builtin/packages/py-crispresso/package.py
+++ b/var/spack/repos/builtin/packages/py-crispresso/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyCrispresso(PythonPackage):
outcomes from deep sequencing data."""
homepage = "https://github.com/lucapinello/CRISPResso"
- url = "https://pypi.io/packages/source/C/CRISPResso/CRISPResso-1.0.8.tar.gz"
+ pypi = "CRISPResso/CRISPResso-1.0.8.tar.gz"
version('1.0.8', sha256='b04ac8781ff8ed56d018c357e741f146b72ad7e0d23c9e5bc1e1bcd1a873ebc3')
diff --git a/var/spack/repos/builtin/packages/py-crossmap/package.py b/var/spack/repos/builtin/packages/py-crossmap/package.py
index 14298c3a67..c2eee33fec 100644
--- a/var/spack/repos/builtin/packages/py-crossmap/package.py
+++ b/var/spack/repos/builtin/packages/py-crossmap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-cryptography/package.py b/var/spack/repos/builtin/packages/py-cryptography/package.py
index ee433a9d87..ccd240519a 100644
--- a/var/spack/repos/builtin/packages/py-cryptography/package.py
+++ b/var/spack/repos/builtin/packages/py-cryptography/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyCryptography(PythonPackage):
and primitives to Python developers"""
homepage = "https://github.com/pyca/cryptography"
- url = "https://pypi.io/packages/source/c/cryptography/cryptography-1.8.1.tar.gz"
+ pypi = "cryptography/cryptography-1.8.1.tar.gz"
version('2.7', sha256='e6347742ac8f35ded4a46ff835c60e68c22a536a8ae5c4422966d06946b6d4c6')
version('2.3.1', sha256='8d10113ca826a4c29d5b85b2c4e045ffa8bad74fb525ee0eceb1d38d4c70dfd6')
diff --git a/var/spack/repos/builtin/packages/py-cssselect/package.py b/var/spack/repos/builtin/packages/py-cssselect/package.py
index 6eec358501..5cf408f223 100644
--- a/var/spack/repos/builtin/packages/py-cssselect/package.py
+++ b/var/spack/repos/builtin/packages/py-cssselect/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-csvkit/package.py b/var/spack/repos/builtin/packages/py-csvkit/package.py
index 217a5174f7..1bdf4fb282 100644
--- a/var/spack/repos/builtin/packages/py-csvkit/package.py
+++ b/var/spack/repos/builtin/packages/py-csvkit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyCsvkit(PythonPackage):
formats"""
homepage = 'http://csvkit.rtfd.org/'
- url = "https://pypi.io/packages/source/c/csvkit/csvkit-0.9.1.tar.gz"
+ pypi = "csvkit/csvkit-0.9.1.tar.gz"
version('1.0.4', sha256='1353a383531bee191820edfb88418c13dfe1cdfa9dd3dc46f431c05cd2a260a0')
version('0.9.1', sha256='92f8b8647becb5cb1dccb3af92a13a4e85702d42ba465ce8447881fb38c9f93a')
diff --git a/var/spack/repos/builtin/packages/py-cudf/package.py b/var/spack/repos/builtin/packages/py-cudf/package.py
index 7d6e42db01..38cfe7d750 100644
--- a/var/spack/repos/builtin/packages/py-cudf/package.py
+++ b/var/spack/repos/builtin/packages/py-cudf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-cuml/package.py b/var/spack/repos/builtin/packages/py-cuml/package.py
index 05d09fe3d5..1becd4d192 100644
--- a/var/spack/repos/builtin/packages/py-cuml/package.py
+++ b/var/spack/repos/builtin/packages/py-cuml/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-cupy/package.py b/var/spack/repos/builtin/packages/py-cupy/package.py
index 3ed5b9f557..26b06235e2 100644
--- a/var/spack/repos/builtin/packages/py-cupy/package.py
+++ b/var/spack/repos/builtin/packages/py-cupy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,7 +14,7 @@ class PyCupy(PythonPackage):
full use of the GPU architecture."""
homepage = "https://cupy.dev/"
- url = "https://pypi.io/packages/source/c/cupy/cupy-8.0.0.tar.gz"
+ pypi = "cupy/cupy-8.0.0.tar.gz"
version('8.0.0', sha256='d1dcba5070dfa754445d010cdc952ff6b646d5f9bdcd7a63e8246e2472c3ddb8')
diff --git a/var/spack/repos/builtin/packages/py-current/package.py b/var/spack/repos/builtin/packages/py-current/package.py
index 3604d3ca14..5eb287a38e 100644
--- a/var/spack/repos/builtin/packages/py-current/package.py
+++ b/var/spack/repos/builtin/packages/py-current/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyCurrent(PythonPackage):
"""Current module relative paths and imports"""
homepage = "http://github.com/xflr6/current"
- url = "https://pypi.io/packages/source/c/current/current-0.3.1.zip"
+ pypi = "current/current-0.3.1.zip"
version('0.3.1', sha256='207613dc19a6cc8e1a756f26e416733c8f82a70e4ae81103d22f483aae6492a8')
diff --git a/var/spack/repos/builtin/packages/py-cutadapt/package.py b/var/spack/repos/builtin/packages/py-cutadapt/package.py
index 056d112aa8..ff1d146cb6 100644
--- a/var/spack/repos/builtin/packages/py-cutadapt/package.py
+++ b/var/spack/repos/builtin/packages/py-cutadapt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyCutadapt(PythonPackage):
reads."""
homepage = "https://cutadapt.readthedocs.io"
- url = "https://pypi.io/packages/source/c/cutadapt/cutadapt-1.13.tar.gz"
+ pypi = "cutadapt/cutadapt-1.13.tar.gz"
git = "https://github.com/marcelm/cutadapt.git"
version('2.10', sha256='936b88374b5b393a954852a0fe317a85b798dd4faf5ec52cf3ef4f3c062c242a')
diff --git a/var/spack/repos/builtin/packages/py-cvxopt/package.py b/var/spack/repos/builtin/packages/py-cvxopt/package.py
index 1cc1a932c1..c23bb2c640 100644
--- a/var/spack/repos/builtin/packages/py-cvxopt/package.py
+++ b/var/spack/repos/builtin/packages/py-cvxopt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,9 +11,7 @@ class PyCvxopt(PythonPackage):
Python programming language."""
homepage = "http://cvxopt.org/"
- url = "https://pypi.io/packages/source/c/cvxopt/cvxopt-1.1.9.tar.gz"
-
- import_modules = ['cvxopt']
+ pypi = "cvxopt/cvxopt-1.1.9.tar.gz"
version('1.2.5', sha256='94ec8c36bd6628a11de9014346692daeeef99b3b7bae28cef30c7490bbcb2d72')
version('1.1.9', sha256='8f157e7397158812cabd340b68546f1baa55a486ed0aad8bc26877593dc2983d')
diff --git a/var/spack/repos/builtin/packages/py-cvxpy/package.py b/var/spack/repos/builtin/packages/py-cvxpy/package.py
index 68b82e8a59..a66058a72c 100644
--- a/var/spack/repos/builtin/packages/py-cvxpy/package.py
+++ b/var/spack/repos/builtin/packages/py-cvxpy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,18 +11,15 @@ class PyCvxpy(PythonPackage):
"""Convex optimization, for everyone."""
homepage = "https://www.cvxpy.org/index.html"
- url = "https://www.pypi.io/packages/source/c/cvxpy/cvxpy-1.0.25.tar.gz"
+ pypi = "cvxpy/cvxpy-1.0.25.tar.gz"
version('1.0.25', sha256='8535529ddb807067b0d59661dce1d9a6ddb2a218398a38ea7772328ad8a6ea13')
depends_on('py-setuptools', type='build')
- depends_on('py-nose', type='test')
-
depends_on('py-numpy@1.15:', type=('build', 'run'))
depends_on('py-scipy@1.1.0:', type=('build', 'run'))
depends_on('py-ecos@2:', type=('build', 'run'))
depends_on('py-scs@1.1.3:', type=('build', 'run'))
depends_on('py-osqp@0.4.1', type=('build', 'run'))
-
depends_on('py-multiprocess', type=('build', 'run'))
depends_on('py-six', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-cycler/package.py b/var/spack/repos/builtin/packages/py-cycler/package.py
index 9deebea972..1681b56a1e 100644
--- a/var/spack/repos/builtin/packages/py-cycler/package.py
+++ b/var/spack/repos/builtin/packages/py-cycler/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-cymem/package.py b/var/spack/repos/builtin/packages/py-cymem/package.py
index fa076b8836..674b530642 100644
--- a/var/spack/repos/builtin/packages/py-cymem/package.py
+++ b/var/spack/repos/builtin/packages/py-cymem/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyCymem(PythonPackage):
"""Manage calls to calloc/free through Cython."""
homepage = "https://github.com/explosion/cymem"
- url = "https://pypi.io/packages/source/c/cymem/cymem-2.0.3.tar.gz"
+ pypi = "cymem/cymem-2.0.3.tar.gz"
version('2.0.3', sha256='5083b2ab5fe13ced094a82e0df465e2dbbd9b1c013288888035e24fd6eb4ed01')
diff --git a/var/spack/repos/builtin/packages/py-cyordereddict/package.py b/var/spack/repos/builtin/packages/py-cyordereddict/package.py
index 19640edae8..ec5fd981dc 100644
--- a/var/spack/repos/builtin/packages/py-cyordereddict/package.py
+++ b/var/spack/repos/builtin/packages/py-cyordereddict/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,5 +11,5 @@ class PyCyordereddict(PythonPackage):
A drop-in replacement that is 2-6x faster."""
homepage = "https://github.com/shoyer/cyordereddict"
- url = "https://pypi.io/packages/source/c/cyordereddict/cyordereddict-1.0.0.tar.gz"
+ pypi = "cyordereddict/cyordereddict-1.0.0.tar.gz"
version('1.0.0', sha256='d9b2c31796999770801a9a49403b8cb49510ecb64e5d1e9d4763ed44f2d5a76e')
diff --git a/var/spack/repos/builtin/packages/py-cython/package.py b/var/spack/repos/builtin/packages/py-cython/package.py
index 2dd532be2f..a7a56fcded 100644
--- a/var/spack/repos/builtin/packages/py-cython/package.py
+++ b/var/spack/repos/builtin/packages/py-cython/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,18 +9,10 @@ from spack import *
class PyCython(PythonPackage):
"""The Cython compiler for writing C extensions for the Python language."""
- homepage = "https://pypi.python.org/pypi/cython"
- url = "https://pypi.io/packages/source/c/cython/Cython-0.29.21.tar.gz"
-
- import_modules = [
- 'cython', 'Cython', 'Cython.Build', 'Cython.Compiler',
- 'Cython.Runtime', 'Cython.Distutils', 'Cython.Debugger',
- 'Cython.Debugger.Tests', 'Cython.Plex', 'Cython.Tests',
- 'Cython.Build.Tests', 'Cython.Compiler.Tests', 'Cython.Utility',
- 'Cython.Tempita', 'pyximport',
- ]
+ pypi = "cython/Cython-0.29.21.tar.gz"
version('0.29.21', sha256='e57acb89bd55943c8d8bf813763d20b9099cc7165c0f16b707631a7654be9cad')
+ version('0.29.20', sha256='22d91af5fc2253f717a1b80b8bb45acb655f643611983fd6f782b9423f8171c7')
version('0.29.16', sha256='232755284f942cbb3b43a06cd85974ef3c970a021aef19b5243c03ee2b08fa05')
version('0.29.15', sha256='60d859e1efa5cc80436d58aecd3718ff2e74b987db0518376046adedba97ac30')
version('0.29.14', sha256='e4d6bb8703d0319eb04b7319b12ea41580df44fd84d83ccda13ea463c6801414')
@@ -47,6 +39,8 @@ class PyCython(PythonPackage):
"""Returns the Cython command"""
return Executable(self.prefix.bin.cython)
+ @run_after('build')
+ @on_package_attributes(run_tests=True)
def build_test(self):
# Warning: full suite of unit tests takes a very long time
python('runtests.py', '-j', str(make_jobs))
diff --git a/var/spack/repos/builtin/packages/py-cyvcf2/package.py b/var/spack/repos/builtin/packages/py-cyvcf2/package.py
index 153d00fe29..c9af6c2bac 100644
--- a/var/spack/repos/builtin/packages/py-cyvcf2/package.py
+++ b/var/spack/repos/builtin/packages/py-cyvcf2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyCyvcf2(PythonPackage):
"""fast vcf parsing with cython + htslib"""
homepage = "https://github.com/brentp/cyvcf2"
- url = "https://pypi.io/packages/source/c/cyvcf2/cyvcf2-0.11.7.tar.gz"
+ pypi = "cyvcf2/cyvcf2-0.11.7.tar.gz"
version('0.11.7', sha256='a4b6229b89a0a1043684c65cbdd702c366a8800dc3591fb44c4b5a08640cbeec')
diff --git a/var/spack/repos/builtin/packages/py-d2to1/package.py b/var/spack/repos/builtin/packages/py-d2to1/package.py
index 040d0b8d4b..59f4b3c496 100644
--- a/var/spack/repos/builtin/packages/py-d2to1/package.py
+++ b/var/spack/repos/builtin/packages/py-d2to1/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-dadi/package.py b/var/spack/repos/builtin/packages/py-dadi/package.py
new file mode 100644
index 0000000000..9f3a2071ea
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-dadi/package.py
@@ -0,0 +1,27 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyDadi(PythonPackage):
+ """Fit population genetic models of demography and selection using
+ diffusion approximations to the allele frequency spectrum """
+
+ homepage = "https://bitbucket.org/gutenkunstlab/dadi/src/master/"
+ git = "https://bitbucket.org/gutenkunstlab/dadi.git"
+ pypi = "dadi/dadi-2.1.0.tar.gz"
+
+ maintainers = ['dorton21']
+
+ version('2020-12-02', commit='047bac0')
+ version('2.1.0', sha256='97a15aa7ef501850cad4cff66b11b66ecb65d5d68acbf2ff713585c81c3a1038')
+
+ depends_on('py-setuptools', type=('build'))
+ depends_on('python@3:', type=('build', 'run'))
+ depends_on('py-scipy', type=('build', 'run'))
+ depends_on('py-numpy', type=('build', 'run'))
+ depends_on('py-matplotlib', type=('build', 'run'))
+ depends_on('nlopt', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-dask-glm/package.py b/var/spack/repos/builtin/packages/py-dask-glm/package.py
new file mode 100644
index 0000000000..82b6431054
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-dask-glm/package.py
@@ -0,0 +1,24 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyDaskGlm(PythonPackage):
+ """Dask-glm is a library for fitting Generalized Linear Models on
+ large datasets."""
+
+ homepage = "https://dask-glm.readthedocs.io/en/latest/"
+ pypi = "dask-glm/dask-glm-0.2.0.tar.gz"
+
+ version('0.2.0', sha256='58b86cebf04fe5b9e58092e1c467e32e60d01e11b71fdc628baaa9fc6d1adee5')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-setuptools-scm', type='build')
+ depends_on('py-cloudpickle@0.2.2:', type=('build', 'run'))
+ depends_on('py-dask+array', type=('build', 'run'))
+ depends_on('py-multipledispatch@0.4.9:', type=('build', 'run'))
+ depends_on('py-scipy@0.18.1:', type=('build', 'run'))
+ depends_on('py-scikit-learn@0.18:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-dask-ml/package.py b/var/spack/repos/builtin/packages/py-dask-ml/package.py
new file mode 100644
index 0000000000..6662eabe9c
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-dask-ml/package.py
@@ -0,0 +1,65 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyDaskMl(PythonPackage):
+ """Scalable Machine Learning with Dask."""
+
+ homepage = "https://ml.dask.org/"
+ pypi = "dask-ml/dask-ml-1.8.0.tar.gz"
+
+ version('1.8.0', sha256='8fc4ac3ec1915e382fb8cae9ff1ec9b5ac1bee0b6f4c6975d6e6cb7191a4a815')
+
+ variant('docs', default=False, description='Build HTML documentation')
+ variant('xgboost', default=False, description='Deploys XGBoost alongside Dask')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-setuptools-scm', type='build')
+
+ depends_on('py-dask+array+dataframe@2.4.0:', type=('build', 'run'))
+ depends_on('py-distributed@2.4.0:', type=('build', 'run'))
+ depends_on('py-numba', type=('build', 'run'))
+ depends_on('py-numpy@1.17.3:', type=('build', 'run'))
+ depends_on('py-pandas@0.24.2:', type=('build', 'run'))
+ depends_on('py-scikit-learn@0.23:', type=('build', 'run'))
+ depends_on('py-scipy', type=('build', 'run'))
+ depends_on('py-dask-glm@0.2.0:', type=('build', 'run'))
+ depends_on('py-multipledispatch@0.4.9:', type=('build', 'run'))
+ depends_on('py-packaging', type=('build', 'run'))
+
+ depends_on('py-graphviz', type=('build', 'run'), when='+docs')
+ depends_on('py-heapdict', type=('build', 'run'), when='+docs')
+ depends_on('py-ipykernel', type=('build', 'run'), when='+docs')
+ depends_on('py-ipython', type=('build', 'run'), when='+docs')
+ depends_on('py-nbsphinx', type=('build', 'run'), when='+docs')
+ depends_on('py-nose', type=('build', 'run'), when='+docs')
+ depends_on('py-numpydoc', type=('build', 'run'), when='+docs')
+ depends_on('py-sortedcontainers', type=('build', 'run'), when='+docs')
+ depends_on('py-sphinx', type=('build', 'run'), when='+docs')
+ depends_on('py-sphinx-rtd-theme', type=('build', 'run'), when='+docs')
+ depends_on('py-sphinx-gallery', type=('build', 'run'), when='+docs')
+ depends_on('py-testpath', type=('build', 'run'), when='+docs')
+ depends_on('py-tornado', type=('build', 'run'), when='+docs')
+ depends_on('py-zict', type=('build', 'run'), when='+docs')
+ depends_on('py-dask-sphinx-theme@1.1.0:', type=('build', 'run'), when='+docs')
+ depends_on('py-nbsphinx', type=('build', 'run'), when='+docs')
+
+ depends_on('py-xgboost+dask', type=('build', 'run'), when='+docs')
+ depends_on('py-xgboost+dask', type=('build', 'run'), when='+xgboost')
+
+ patch('xgboost_dependency.patch')
+
+ conflicts('+docs', when='%gcc target=aarch64:')
+
+ @run_after('install')
+ def install_docs(self):
+ if '+docs' in self.spec:
+ with working_dir('docs'):
+ make('html')
+ install_tree('docs', self.prefix.docs)
diff --git a/var/spack/repos/builtin/packages/py-dask-ml/xgboost_dependency.patch b/var/spack/repos/builtin/packages/py-dask-ml/xgboost_dependency.patch
new file mode 100644
index 0000000000..39fa59c943
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-dask-ml/xgboost_dependency.patch
@@ -0,0 +1,23 @@
+diff --git a/dask_ml/xgboost.py b/dask_ml/xgboost.py
+index 86e841db..70551df7 100644
+--- a/dask_ml/xgboost.py
++++ b/dask_ml/xgboost.py
+@@ -4,4 +4,4 @@ This may be used for training an XGBoost model on a cluster. XGBoost
+ will be setup in distributed mode alongside your existing
+ ``dask.distributed`` cluster.
+ """
+-from dask_xgboost import * # noqa
++from xgboost import * # noqa
+diff --git a/setup.py b/setup.py
+index 857f6911..fb280973 100644
+--- a/setup.py
++++ b/setup.py
+@@ -35,7 +35,7 @@ test_requires = [
+ "pytest-mock",
+ ]
+ dev_requires = doc_requires + test_requires
+-xgboost_requires = ["dask-xgboost", "xgboost"]
++xgboost_requires = ["xgboost[dask]"]
+ complete_requires = xgboost_requires
+
+ extras_require = {
diff --git a/var/spack/repos/builtin/packages/py-dask-sphinx-theme/package.py b/var/spack/repos/builtin/packages/py-dask-sphinx-theme/package.py
new file mode 100644
index 0000000000..38f213b9d8
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-dask-sphinx-theme/package.py
@@ -0,0 +1,18 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyDaskSphinxTheme(PythonPackage):
+ """Sphinx theme for Dask documentation."""
+
+ homepage = "https://github.com/dask/dask-sphinx-theme/"
+ pypi = "dask_sphinx_theme/dask_sphinx_theme-1.3.5.tar.gz"
+
+ version('1.3.5', sha256='151970cf0efedeb398fd6ca080407d3e81b4584d333e24498262d954171baa33')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-sphinx-rtd-theme', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-dask-xgboost/package.py b/var/spack/repos/builtin/packages/py-dask-xgboost/package.py
new file mode 100644
index 0000000000..4bbe21486f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-dask-xgboost/package.py
@@ -0,0 +1,25 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyDaskXgboost(PythonPackage):
+ """Distributed training with XGBoost and Dask.distributed."""
+
+ homepage = "https://github.com/dask/dask-xgboost/"
+ pypi = "dask-xgboost/dask-xgboost-0.1.11.tar.gz"
+
+ version('0.1.11', sha256='3fbe1bf4344dc74edfbe9f928c7e3e6acc26dc57cefd8da8ae56a15469c6941c')
+
+ variant('sparse', default=False, description='Add sparse support')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-xgboost@:0.90', type=('build', 'run'))
+ depends_on('py-dask', type=('build', 'run'))
+ depends_on('py-distributed@1.15.2:', type=('build', 'run'))
+
+ depends_on('py-sparse', type=('build', 'run'), when='+sparse')
+ depends_on('py-scipy', type=('build', 'run'), when='+sparse')
diff --git a/var/spack/repos/builtin/packages/py-dask/package.py b/var/spack/repos/builtin/packages/py-dask/package.py
index b6f3a07f10..20900d20c3 100644
--- a/var/spack/repos/builtin/packages/py-dask/package.py
+++ b/var/spack/repos/builtin/packages/py-dask/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,10 +10,11 @@ class PyDask(PythonPackage):
"""Dask is a flexible parallel computing library for analytics."""
homepage = "https://github.com/dask/dask/"
- url = "https://pypi.io/packages/source/d/dask/dask-1.1.0.tar.gz"
+ pypi = "dask/dask-1.1.0.tar.gz"
maintainers = ['skosukhin']
+ version('2020.12.0', sha256='43e745afd4b464e6c0113131e430a16dce6ac42460b06e24d799093d098f7ab0')
version('2.16.0', sha256='2af5b0dcd48ce679ce0321cf91de623f4fe376262789b951fefa3c334002f350')
version('1.2.2', sha256='5e7876bae2a01b355d1969b73aeafa23310febd8c353163910b73e93dc7e492c')
version('1.1.2', sha256='93b355b9a9c9a3ddbb39fab99d5759aad5cfd346f4520b87788970e80cf97256')
@@ -32,20 +33,19 @@ class PyDask(PythonPackage):
conflicts('+distributed', when='@:0.4.0,0.7.6:0.8.1')
conflicts('+diagnostics', when='@:0.5.0')
conflicts('+yaml', when='@:0.17.5')
+ conflicts('~yaml', when='@2.17.1:')
depends_on('python@2.7:2.8,3.5:', type=('build', 'run'))
depends_on('python@3.5:', type=('build', 'run'), when='@2.0.0:')
depends_on('python@3.6:', type=('build', 'run'), when='@2.7.0:')
depends_on('py-setuptools', type='build')
- depends_on('py-pytest@3.1.0:', type='test')
- depends_on('py-requests', type='test')
- depends_on('py-pytest-runner', type='test')
# Requirements for dask.array
depends_on('py-numpy@1.10.4:', type=('build', 'run'), when='+array')
depends_on('py-numpy@1.11.0:', type=('build', 'run'), when='@0.17.3: +array')
depends_on('py-numpy@1.13.0:', type=('build', 'run'), when='@1.2.1: +array')
+ depends_on('py-numpy@1.15.1:', type=('build', 'run'), when='@2020.12.0: +array')
depends_on('py-toolz', type=('build', 'run'), when='+array')
depends_on('py-toolz@0.7.2:', type=('build', 'run'), when='@0.7.0: +array')
@@ -80,12 +80,14 @@ class PyDask(PythonPackage):
depends_on('py-numpy@1.10.4:', type=('build', 'run'), when='+dataframe')
depends_on('py-numpy@1.11.0:', type=('build', 'run'), when='@0.17.3: +dataframe')
depends_on('py-numpy@1.13.0:', type=('build', 'run'), when='@1.2.1: +dataframe')
+ depends_on('py-numpy@1.15.1:', type=('build', 'run'), when='@2020.12.0: +dataframe')
depends_on('py-pandas@0.16.0:', type=('build', 'run'), when='+dataframe')
depends_on('py-pandas@0.18.0:', type=('build', 'run'), when='@0.9.0: +dataframe')
depends_on('py-pandas@0.19.0:', type=('build', 'run'), when='@0.14.0: +dataframe')
depends_on('py-pandas@0.21.0:', type=('build', 'run'), when='@1.2.1: +dataframe')
depends_on('py-pandas@0.23.0:', type=('build', 'run'), when='@2.11.0: +dataframe')
+ depends_on('py-pandas@0.25.0:', type=('build', 'run'), when='@2020.12.0: +dataframe')
depends_on('py-toolz', type=('build', 'run'), when='+dataframe')
depends_on('py-toolz@0.7.2:', type=('build', 'run'), when='@0.7.0: +dataframe')
@@ -123,6 +125,7 @@ class PyDask(PythonPackage):
# Requirements for dask.diagnostics
depends_on('py-bokeh', type=('build', 'run'), when='+diagnostics')
depends_on('py-bokeh@1.0.0:', type=('build', 'run'), when='@2.0.0: +diagnostics')
+ depends_on('py-bokeh@1.0.0:1.999,2.0.1:', type=('build', 'run'), when='@2.26.0: +diagnostics')
# Requirements for dask.delayed
depends_on('py-cloudpickle@0.2.1:', type=('build', 'run'), when='@2,7.0: +delayed')
diff --git a/var/spack/repos/builtin/packages/py-dataclasses/package.py b/var/spack/repos/builtin/packages/py-dataclasses/package.py
index c79947953d..33ec35fca1 100644
--- a/var/spack/repos/builtin/packages/py-dataclasses/package.py
+++ b/var/spack/repos/builtin/packages/py-dataclasses/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyDataclasses(PythonPackage):
"""A backport of the dataclasses module for Python 3.6"""
homepage = "https://github.com/ericvsmith/dataclasses"
- url = "https://pypi.io/packages/source/d/dataclasses/dataclasses-0.7.tar.gz"
+ pypi = "dataclasses/dataclasses-0.7.tar.gz"
version('0.7', sha256='494a6dcae3b8bcf80848eea2ef64c0cc5cd307ffc263e17cdf42f3e5420808e6')
diff --git a/var/spack/repos/builtin/packages/py-dateparser/package.py b/var/spack/repos/builtin/packages/py-dateparser/package.py
index 5d233e6377..ac977d938d 100644
--- a/var/spack/repos/builtin/packages/py-dateparser/package.py
+++ b/var/spack/repos/builtin/packages/py-dateparser/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyDateparser(PythonPackage):
"""dateparser -- python parser for human readable dates"""
homepage = "https://github.com/scrapinghub/dateparser"
- url = "https://pypi.io/packages/source/d/dateparser/dateparser-0.7.2.tar.gz"
+ pypi = "dateparser/dateparser-0.7.2.tar.gz"
version('0.7.2', sha256='e1eac8ef28de69a554d5fcdb60b172d526d61924b1a40afbbb08df459a36006b')
@@ -26,8 +26,3 @@ class PyDateparser(PythonPackage):
depends_on('py-ruamel-yaml', type=('build', 'run'), when='+calendars')
depends_on('py-convertdate', type=('build', 'run'), when='+calendars')
depends_on('py-jdatetime', type=('build', 'run'), when='+calendars')
- depends_on('py-mock', type='test')
- depends_on('py-nose', type='test')
- depends_on('py-parameterized', type='test')
- depends_on('py-six', type='test')
- depends_on('py-coverage', type='test')
diff --git a/var/spack/repos/builtin/packages/py-dbf/package.py b/var/spack/repos/builtin/packages/py-dbf/package.py
index d5d2f3b5e7..c729c652b1 100644
--- a/var/spack/repos/builtin/packages/py-dbf/package.py
+++ b/var/spack/repos/builtin/packages/py-dbf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,7 @@ class PyDbf(PythonPackage):
"""Pure python package for reading/writing dBase, FoxPro, and Visual FoxPro
.dbf files (including memos)"""
- homepage = 'https://pypi.python.org/pypi/dbf'
- url = "https://pypi.io/packages/source/d/dbf/dbf-0.96.005.tar.gz"
+ pypi = "dbf/dbf-0.96.005.tar.gz"
version('0.96.005', sha256='d6e03f1dca40488c37cf38be9cb28b694c46cec747a064dcb0591987de58ed02')
version('0.94.003', sha256='c95b688d2f28944004368799cc6e2999d78af930a69bb2643ae098c721294444')
diff --git a/var/spack/repos/builtin/packages/py-dbfread/package.py b/var/spack/repos/builtin/packages/py-dbfread/package.py
index 338382d127..80ad1d8062 100644
--- a/var/spack/repos/builtin/packages/py-dbfread/package.py
+++ b/var/spack/repos/builtin/packages/py-dbfread/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class PyDbfread(PythonPackage):
batch jobs and one-off scripts."""
homepage = "https://dbfread.readthedocs.io/en/latest/"
- url = "https://pypi.io/packages/source/d/dbfread/dbfread-2.0.7.tar.gz"
+ pypi = "dbfread/dbfread-2.0.7.tar.gz"
version('2.0.7', sha256='07c8a9af06ffad3f6f03e8fe91ad7d2733e31a26d2b72c4dd4cfbae07ee3b73d')
diff --git a/var/spack/repos/builtin/packages/py-deap/package.py b/var/spack/repos/builtin/packages/py-deap/package.py
index 9940120413..7024581278 100644
--- a/var/spack/repos/builtin/packages/py-deap/package.py
+++ b/var/spack/repos/builtin/packages/py-deap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyDeap(PythonPackage):
"""Distributed Evolutionary Algorithms in Python."""
homepage = "http://deap.readthedocs.org/"
- url = "https://pypi.io/packages/source/d/deap/deap-1.3.1.tar.gz"
+ pypi = "deap/deap-1.3.1.tar.gz"
version('1.3.1', sha256='11f54493ceb54aae10dde676577ef59fc52d52f82729d5a12c90b0813c857a2f')
diff --git a/var/spack/repos/builtin/packages/py-decorator/package.py b/var/spack/repos/builtin/packages/py-decorator/package.py
index d174fc8a1f..1c1c53c41f 100644
--- a/var/spack/repos/builtin/packages/py-decorator/package.py
+++ b/var/spack/repos/builtin/packages/py-decorator/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyDecorator(PythonPackage):
various non-trivial examples."""
homepage = "https://github.com/micheles/decorator"
- url = "https://pypi.io/packages/source/d/decorator/decorator-4.4.2.tar.gz"
+ pypi = "decorator/decorator-4.4.2.tar.gz"
version('4.4.2', sha256='e3a62f0520172440ca0dcc823749319382e377f37f140a0b99ef45fecb84bfe7')
version('4.4.0', sha256='86156361c50488b84a3f148056ea716ca587df2f0de1d34750d35c21312725de')
diff --git a/var/spack/repos/builtin/packages/py-deeptools/package.py b/var/spack/repos/builtin/packages/py-deeptools/package.py
index 35103a5e5d..f820b8d3e4 100644
--- a/var/spack/repos/builtin/packages/py-deeptools/package.py
+++ b/var/spack/repos/builtin/packages/py-deeptools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,8 @@ class PyDeeptools(PythonPackage):
"""deepTools addresses the challenge of handling the large amounts of data
that are now routinely generated from DNA sequencing centers."""
- homepage = "https://pypi.io/packages/source/d/deepTools"
# The test suite and associated test data is missing in the pypi tarball.
+ homepage = "https://pypi.python.org/pypi/deepTools/"
url = "https://github.com/deeptools/deepTools/archive/3.3.0.tar.gz"
version('3.3.0', sha256='a7aaf79fe939ca307fe6ec5e156750389fdfa4324bf0dd6bf5f53d5fda109358')
@@ -30,8 +30,6 @@ class PyDeeptools(PythonPackage):
depends_on('py-plotly@2.0.0:', type=('build', 'run'))
depends_on('py-deeptoolsintervals@0.1.8:', type=('build', 'run'))
- depends_on('py-nose', type='test')
-
def patch(self):
# Add nosetest hook for "python setup.py test" argument.
filter_file(r'^setup\(',
diff --git a/var/spack/repos/builtin/packages/py-deeptoolsintervals/package.py b/var/spack/repos/builtin/packages/py-deeptoolsintervals/package.py
index 09e5a32a58..576ae51692 100644
--- a/var/spack/repos/builtin/packages/py-deeptoolsintervals/package.py
+++ b/var/spack/repos/builtin/packages/py-deeptoolsintervals/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,7 @@ class PyDeeptoolsintervals(PythonPackage):
"""A python module creating/accessing GTF-based interval trees with
associated meta-data."""
- homepage = 'https://pypi.org/project/deeptoolsintervals/'
- url = 'https://pypi.io/packages/source/d/deeptoolsintervals/deeptoolsintervals-0.1.9.tar.gz'
+ pypi = 'deeptoolsintervals/deeptoolsintervals-0.1.9.tar.gz'
version('0.1.9', sha256='7d94c36fd2b6f10d8b99e536d2672e8228971f1fc810497d33527bba2c40d4f6')
diff --git a/var/spack/repos/builtin/packages/py-defusedxml/package.py b/var/spack/repos/builtin/packages/py-defusedxml/package.py
index 0b8261f6e5..f911614d29 100644
--- a/var/spack/repos/builtin/packages/py-defusedxml/package.py
+++ b/var/spack/repos/builtin/packages/py-defusedxml/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyDefusedxml(PythonPackage):
"""defusing XML bombs and other exploits"""
homepage = "https://github.com/tiran/defusedxml"
- url = "https://pypi.io/packages/source/d/defusedxml/defusedxml-0.5.0.tar.gz"
+ pypi = "defusedxml/defusedxml-0.5.0.tar.gz"
version('0.6.0', sha256='f684034d135af4c6cbb949b8a4d2ed61634515257a67299e5f940fbaa34377f5')
version('0.5.0', sha256='24d7f2f94f7f3cb6061acb215685e5125fbcdc40a857eff9de22518820b0a4f4')
diff --git a/var/spack/repos/builtin/packages/py-dendropy/package.py b/var/spack/repos/builtin/packages/py-dendropy/package.py
index aa58be0d77..e7515b8f68 100644
--- a/var/spack/repos/builtin/packages/py-dendropy/package.py
+++ b/var/spack/repos/builtin/packages/py-dendropy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,7 +14,7 @@ class PyDendropy(PythonPackage):
NeXML, Phylip, FASTA, etc."""
homepage = "https://www.dendropy.org"
- url = "https://pypi.io/packages/source/d/dendropy/DendroPy-4.3.0.tar.gz"
+ pypi = "dendropy/DendroPy-4.3.0.tar.gz"
version('4.3.0', sha256='bd5b35ce1a1c9253209b7b5f3939ac22beaa70e787f8129149b4f7ffe865d510')
version('3.12.0', sha256='38a0f36f2f7aae43ec5599408b0d0a4c80996b749589f025940d955a70fc82d4')
diff --git a/var/spack/repos/builtin/packages/py-deprecated/package.py b/var/spack/repos/builtin/packages/py-deprecated/package.py
index 7d1fe4af93..992523088f 100644
--- a/var/spack/repos/builtin/packages/py-deprecated/package.py
+++ b/var/spack/repos/builtin/packages/py-deprecated/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-deprecation/package.py b/var/spack/repos/builtin/packages/py-deprecation/package.py
index 2128e78233..86dfeb1502 100644
--- a/var/spack/repos/builtin/packages/py-deprecation/package.py
+++ b/var/spack/repos/builtin/packages/py-deprecation/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyDeprecation(PythonPackage):
fail_if_not_removed decorator for your tests. """
homepage = "http://deprecation.readthedocs.io/"
- url = "https://pypi.io/packages/source/d/deprecation/deprecation-2.0.7.tar.gz"
+ pypi = "deprecation/deprecation-2.0.7.tar.gz"
version('2.0.7', sha256='c0392f676a6146f0238db5744d73e786a43510d54033f80994ef2f4c9df192ed')
diff --git a/var/spack/repos/builtin/packages/py-descartes/package.py b/var/spack/repos/builtin/packages/py-descartes/package.py
index fb834d07c1..4a92a44ca8 100644
--- a/var/spack/repos/builtin/packages/py-descartes/package.py
+++ b/var/spack/repos/builtin/packages/py-descartes/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,7 @@ class PyDescartes(PythonPackage):
"""Use Shapely or GeoJSON-like geometric objects as matplotlib paths
and patches"""
- homepage = "https://pypi.org/project/descartes/"
- url = "https://pypi.io/packages/source/d/descartes/descartes-1.1.0.tar.gz"
+ pypi = "descartes/descartes-1.1.0.tar.gz"
version('1.1.0', sha256='135a502146af5ed6ff359975e2ebc5fa4b71b5432c355c2cafdc6dea1337035b')
diff --git a/var/spack/repos/builtin/packages/py-devlib/package.py b/var/spack/repos/builtin/packages/py-devlib/package.py
index 5a9bb49486..f4cc8823f1 100644
--- a/var/spack/repos/builtin/packages/py-devlib/package.py
+++ b/var/spack/repos/builtin/packages/py-devlib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-dgl/package.py b/var/spack/repos/builtin/packages/py-dgl/package.py
index 9ef1bd9ed8..e2fd91ff98 100644
--- a/var/spack/repos/builtin/packages/py-dgl/package.py
+++ b/var/spack/repos/builtin/packages/py-dgl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-dictdiffer/package.py b/var/spack/repos/builtin/packages/py-dictdiffer/package.py
new file mode 100644
index 0000000000..3d7fd248f3
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-dictdiffer/package.py
@@ -0,0 +1,20 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyDictdiffer(PythonPackage):
+ """Dictdiffer is a helper module that helps you to diff and patch dictionares."""
+
+ homepage = "https://github.com/inveniosoftware/dictdiffer"
+ pypi = "dictdiffer/dictdiffer-0.8.1.tar.gz"
+
+ version('0.8.1', sha256='1adec0d67cdf6166bda96ae2934ddb5e54433998ceab63c984574d187cc563d2')
+
+ depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
+ depends_on('py-setuptools', type=('build', 'run'))
+ depends_on('py-setuptools-scm@3.1.0:', type='build')
+ depends_on('py-pytest-runner@2.7:', type='build')
diff --git a/var/spack/repos/builtin/packages/py-dill/package.py b/var/spack/repos/builtin/packages/py-dill/package.py
index 0afa8d329c..f492e8c773 100644
--- a/var/spack/repos/builtin/packages/py-dill/package.py
+++ b/var/spack/repos/builtin/packages/py-dill/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyDill(PythonPackage):
"""Serialize all of python """
homepage = "https://github.com/uqfoundation/dill"
- url = "https://pypi.io/packages/source/d/dill/dill-0.2.7.tar.gz"
+ pypi = "dill/dill-0.2.7.tar.gz"
version('0.3.1', sha256='d3ddddf2806a7bc9858b20c02dc174396795545e9d62f243b34481fd26eb3e2c')
version('0.2.9', sha256='f6d6046f9f9195206063dd0415dff185ad593d6ee8b0e67f12597c0f4df4986f')
diff --git a/var/spack/repos/builtin/packages/py-discover/package.py b/var/spack/repos/builtin/packages/py-discover/package.py
index 8512294724..d0618e8783 100644
--- a/var/spack/repos/builtin/packages/py-discover/package.py
+++ b/var/spack/repos/builtin/packages/py-discover/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,6 @@ from spack import *
class PyDiscover(PythonPackage):
"""Test discovery for unittest."""
- homepage = "https://pypi.python.org/pypi/discover"
- url = "https://pypi.io/packages/source/d/discover/discover-0.4.0.tar.gz"
+ pypi = "discover/discover-0.4.0.tar.gz"
version('0.4.0', sha256='05c3fa9199e57d4b16fb653e02d65713adc1f89ef55324fb0c252b1cf9070d79')
diff --git a/var/spack/repos/builtin/packages/py-diskcache/package.py b/var/spack/repos/builtin/packages/py-diskcache/package.py
index 042183cdf3..c25bcb47ca 100644
--- a/var/spack/repos/builtin/packages/py-diskcache/package.py
+++ b/var/spack/repos/builtin/packages/py-diskcache/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,9 +8,8 @@ class PyDiskcache(PythonPackage):
"""Disk Cache -- Disk and file backed persistent cache."""
homepage = "http://www.grantjenks.com/docs/diskcache/"
- url = "https://pypi.io/packages/source/d/diskcache/diskcache-4.1.0.tar.gz"
+ pypi = "diskcache/diskcache-4.1.0.tar.gz"
version('4.1.0', sha256='bcee5a59f9c264e2809e58d01be6569a3bbb1e36a1e0fb83f7ef9b2075f95ce0')
depends_on('py-setuptools', type='build')
- depends_on('py-tox', type='test')
diff --git a/var/spack/repos/builtin/packages/py-distributed/package.py b/var/spack/repos/builtin/packages/py-distributed/package.py
index be4fb3b1c6..93c2825fc3 100644
--- a/var/spack/repos/builtin/packages/py-distributed/package.py
+++ b/var/spack/repos/builtin/packages/py-distributed/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,9 @@ class PyDistributed(PythonPackage):
"""Distributed scheduler for Dask"""
homepage = "https://distributed.dask.org/"
- url = "https://pypi.io/packages/source/d/distributed/distributed-2.10.0.tar.gz"
+ pypi = "distributed/distributed-2.10.0.tar.gz"
+ version('2020.12.0', sha256='2a0b6acc921cd4e0143a7c4383cdcbed7defbc4bd9dc3aab0c7f1c45f14f80e1')
version('2.10.0', sha256='2f8cca741a20f776929cbad3545f2df64cf60207fb21f774ef24aad6f6589e8b')
version('1.28.1', sha256='3bd83f8b7eb5938af5f2be91ccff8984630713f36f8f66097e531a63f141c48a')
@@ -20,14 +21,21 @@ class PyDistributed(PythonPackage):
depends_on('py-setuptools', type=('build', 'run'))
depends_on('py-click@6.6:', type=('build', 'run'))
- depends_on('py-cloudpickle@0.2.2:', type=('build', 'run'))
- depends_on('py-msgpack', type=('build', 'run'))
+ depends_on('py-cloudpickle@0.2.2:', type=('build', 'run'), when='@:2.16.0')
+ depends_on('py-cloudpickle@1.3.0:', type=('build', 'run'), when='@2.17.0:2.20.0')
+ depends_on('py-cloudpickle@1.5.0:', type=('build', 'run'), when='@2.21.0:')
+ depends_on('py-contextvars', type=('build', 'run'), when='^python@:3.6')
+ depends_on('py-msgpack', type=('build', 'run'), when='@:2.10.0')
+ depends_on('py-msgpack@0.6.0:', type=('build', 'run'), when='@2.11.0:')
depends_on('py-psutil@5.0:', type=('build', 'run'))
depends_on('py-six', type=('build', 'run'), when='@:1')
depends_on('py-sortedcontainers@:1.999,2.0.2:', type=('build', 'run'))
- depends_on('py-tblib', type=('build', 'run'))
- depends_on('py-toolz@0.7.4:', type=('build', 'run'))
- depends_on('py-tornado@5:', type=('build', 'run'))
+ depends_on('py-tblib', type=('build', 'run'), when='@:2.10.0')
+ depends_on('py-tblib@1.6.0:', type=('build', 'run'), when='@2.11.0:')
+ depends_on('py-toolz@0.7.4:', type=('build', 'run'), when='@:2.12.0')
+ depends_on('py-toolz@0.8.2:', type=('build', 'run'), when='@2.13.0:')
+ depends_on('py-tornado@5:', type=('build', 'run'), when='^python@:3.7')
+ depends_on('py-tornado@6.0.3:', type=('build', 'run'), when='^python@3.8:')
depends_on('py-zict@0.1.3:', type=('build', 'run'))
depends_on('py-pyyaml', type=('build', 'run'))
depends_on('py-futures', when='@:1 ^python@2.7:2.8', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-distro/package.py b/var/spack/repos/builtin/packages/py-distro/package.py
index 4bda8e4085..e8b944c8b4 100644
--- a/var/spack/repos/builtin/packages/py-distro/package.py
+++ b/var/spack/repos/builtin/packages/py-distro/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyDistro(PythonPackage):
"""Distro - an OS platform information API."""
homepage = "https://github.com/nir0s/distro"
- url = "https://pypi.io/packages/source/d/distro/distro-1.5.0.tar.gz"
+ pypi = "distro/distro-1.5.0.tar.gz"
version('1.5.0', sha256='0e58756ae38fbd8fc3020d54badb8eae17c5b9dcbed388b17bb55b8a5928df92')
diff --git a/var/spack/repos/builtin/packages/py-django/package.py b/var/spack/repos/builtin/packages/py-django/package.py
index 0dc1fa1388..aa89dea5ce 100644
--- a/var/spack/repos/builtin/packages/py-django/package.py
+++ b/var/spack/repos/builtin/packages/py-django/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-dlcpar/package.py b/var/spack/repos/builtin/packages/py-dlcpar/package.py
index 53f8aa5547..fa3b9b571a 100644
--- a/var/spack/repos/builtin/packages/py-dlcpar/package.py
+++ b/var/spack/repos/builtin/packages/py-dlcpar/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-dnaio/package.py b/var/spack/repos/builtin/packages/py-dnaio/package.py
index c8e3250a15..34e47c774d 100644
--- a/var/spack/repos/builtin/packages/py-dnaio/package.py
+++ b/var/spack/repos/builtin/packages/py-dnaio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyDnaio(PythonPackage):
"""Read and write FASTQ and FASTA"""
homepage = "https://github.com/marcelm/dnaio"
- url = "https://pypi.io/packages/source/d/dnaio/dnaio-0.3.tar.gz"
+ pypi = "dnaio/dnaio-0.3.tar.gz"
git = "https://github.com/marcelm/dnaio.git"
version('0.4.2', sha256='fa55a45bfd5d9272409b714158fb3a7de5dceac1034a0af84502c7f503ee84f8')
diff --git a/var/spack/repos/builtin/packages/py-docker/package.py b/var/spack/repos/builtin/packages/py-docker/package.py
index 148da74a95..fe1f667fae 100644
--- a/var/spack/repos/builtin/packages/py-docker/package.py
+++ b/var/spack/repos/builtin/packages/py-docker/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyDocker(PythonPackage):
"""A Python library for the Docker Engine API."""
homepage = "https://github.com/docker/docker-py"
- url = "https://pypi.io/packages/source/d/docker/docker-4.2.1.tar.gz"
+ pypi = "docker/docker-4.2.1.tar.gz"
version('4.2.1', sha256='380a20d38fbfaa872e96ee4d0d23ad9beb0f9ed57ff1c30653cbeb0c9c0964f2')
diff --git a/var/spack/repos/builtin/packages/py-dockerpy-creds/package.py b/var/spack/repos/builtin/packages/py-dockerpy-creds/package.py
index 01f681be87..44e85058a9 100644
--- a/var/spack/repos/builtin/packages/py-dockerpy-creds/package.py
+++ b/var/spack/repos/builtin/packages/py-dockerpy-creds/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-docopt/package.py b/var/spack/repos/builtin/packages/py-docopt/package.py
index ce0dcd40ad..1ba7f43d16 100644
--- a/var/spack/repos/builtin/packages/py-docopt/package.py
+++ b/var/spack/repos/builtin/packages/py-docopt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,9 +10,7 @@ class PyDocopt(PythonPackage):
"""Command-line interface description language."""
homepage = "http://docopt.org/"
- url = "https://pypi.io/packages/source/d/docopt/docopt-0.6.2.tar.gz"
-
- import_modules = ['docopt']
+ pypi = "docopt/docopt-0.6.2.tar.gz"
version('0.6.2', sha256='49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491')
diff --git a/var/spack/repos/builtin/packages/py-docutils-stubs/package.py b/var/spack/repos/builtin/packages/py-docutils-stubs/package.py
index 02c7f99d47..f1f634ae68 100644
--- a/var/spack/repos/builtin/packages/py-docutils-stubs/package.py
+++ b/var/spack/repos/builtin/packages/py-docutils-stubs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyDocutilsStubs(PythonPackage):
"""PEP 561 based Type information for docutils."""
homepage = "https://github.com/tk0miya/docutils-stubs"
- url = "https://pypi.io/packages/source/d/docutils-stubs/docutils-stubs-0.0.21.tar.gz"
+ pypi = "docutils-stubs/docutils-stubs-0.0.21.tar.gz"
version('0.0.21', sha256='e0d3d2588a0c0b47bf66b917bf4ff2c100cf4cf77bbe2f518d97b8f4d63e735c')
diff --git a/var/spack/repos/builtin/packages/py-docutils/package.py b/var/spack/repos/builtin/packages/py-docutils/package.py
index 07b0da2534..78f5e696b2 100644
--- a/var/spack/repos/builtin/packages/py-docutils/package.py
+++ b/var/spack/repos/builtin/packages/py-docutils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,18 +15,7 @@ class PyDocutils(PythonPackage):
markup language."""
homepage = "http://docutils.sourceforge.net/"
- url = "https://pypi.io/packages/source/d/docutils/docutils-0.15.2.tar.gz"
-
- import_modules = [
- 'docutils', 'docutils.languages', 'docutils.parsers',
- 'docutils.readers', 'docutils.transforms', 'docutils.utils',
- 'docutils.writers', 'docutils.parsers.rst',
- 'docutils.parsers.rst.directives', 'docutils.parsers.rst.languages',
- 'docutils.utils.math', 'docutils.writers.html4css1',
- 'docutils.writers.html5_polyglot', 'docutils.writers.latex2e',
- 'docutils.writers.odf_odt', 'docutils.writers.pep_html',
- 'docutils.writers.s5_html', 'docutils.writers.xetex'
- ]
+ pypi = "docutils/docutils-0.15.2.tar.gz"
version('0.15.2', sha256='a2aeea129088da402665e92e0b25b04b073c04b2dce4ab65caaa38b7ce2e1a99')
version('0.14', sha256='51e64ef2ebfb29cae1faa133b3710143496eca21c530f3f71424d77687764274')
diff --git a/var/spack/repos/builtin/packages/py-dominate/package.py b/var/spack/repos/builtin/packages/py-dominate/package.py
index 2d3f438ea5..5e844e743a 100644
--- a/var/spack/repos/builtin/packages/py-dominate/package.py
+++ b/var/spack/repos/builtin/packages/py-dominate/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,7 +15,7 @@ class PyDominate(PythonPackage):
powerful features of Python."""
homepage = "https://github.com/Knio/dominate"
- url = "https://pypi.io/packages/source/d/dominate/dominate-2.6.0.tar.gz"
+ pypi = "dominate/dominate-2.6.0.tar.gz"
# license = "LGPL-3.0"
version('2.6.0', sha256='76ec2cde23700a6fc4fee098168b9dee43b99c2f1dd0ca6a711f683e8eb7e1e4')
diff --git a/var/spack/repos/builtin/packages/py-dotnetcore2/package.py b/var/spack/repos/builtin/packages/py-dotnetcore2/package.py
index 6ee28f6b68..ee671dc5d4 100644
--- a/var/spack/repos/builtin/packages/py-dotnetcore2/package.py
+++ b/var/spack/repos/builtin/packages/py-dotnetcore2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-doxypy/package.py b/var/spack/repos/builtin/packages/py-doxypy/package.py
index 103ac0488f..9effe56993 100644
--- a/var/spack/repos/builtin/packages/py-doxypy/package.py
+++ b/var/spack/repos/builtin/packages/py-doxypy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyDoxypy(PythonPackage):
"""doxypy is an input filter for Doxygen."""
- homepage = "https://pypi.python.org/pypi/doxypy"
- url = "https://pypi.io/packages/source/d/doxypy/doxypy-0.3.tar.gz"
+ pypi = "doxypy/doxypy-0.3.tar.gz"
version('0.3', sha256='55d621b0edebd9e2a58a266c0a1d086fc9892de8e07e04dfbb93880a7ae91f00')
diff --git a/var/spack/repos/builtin/packages/py-doxypypy/package.py b/var/spack/repos/builtin/packages/py-doxypypy/package.py
index e28970409e..1e841763a8 100644
--- a/var/spack/repos/builtin/packages/py-doxypypy/package.py
+++ b/var/spack/repos/builtin/packages/py-doxypypy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class PyDoxypypy(PythonPackage):
"""
homepage = "https://github.com/Feneric/doxypypy"
- url = "https://pypi.io/packages/source/d/doxypypy/doxypypy-0.8.8.6.tar.gz"
+ pypi = "doxypypy/doxypypy-0.8.8.6.tar.gz"
version('0.8.8.6', sha256='627571455c537eb91d6998d95b32efc3c53562b2dbadafcb17e49593e0dae01b')
diff --git a/var/spack/repos/builtin/packages/py-dp-gp-cluster/package.py b/var/spack/repos/builtin/packages/py-dp-gp-cluster/package.py
index 42e56516d1..fd6628cd7e 100644
--- a/var/spack/repos/builtin/packages/py-dp-gp-cluster/package.py
+++ b/var/spack/repos/builtin/packages/py-dp-gp-cluster/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-dpath/package.py b/var/spack/repos/builtin/packages/py-dpath/package.py
new file mode 100644
index 0000000000..ceab57e57b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-dpath/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+from spack import *
+
+
+class PyDpath(PythonPackage):
+ """A python library for accessing and searching dictionaries via
+ /slashed/paths ala xpath."""
+
+ homepage = "https://github.com/akesterson/dpath-python"
+ pypi = "dpath/dpath-2.0.1.tar.gz"
+
+ version('2.0.1', sha256='bea06b5f4ff620a28dfc9848cf4d6b2bfeed34238edeb8ebe815c433b54eb1fa')
+
+ depends_on('python@2.7:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-drmaa/package.py b/var/spack/repos/builtin/packages/py-drmaa/package.py
index c7df76190d..ee5ee1c192 100644
--- a/var/spack/repos/builtin/packages/py-drmaa/package.py
+++ b/var/spack/repos/builtin/packages/py-drmaa/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyDrmaa(PythonPackage):
"""Python wrapper around the C DRMAA library."""
homepage = "https://github.com/pygridtools/drmaa-python"
- url = "https://pypi.io/packages/source/d/drmaa/drmaa-0.7.9.tar.gz"
+ pypi = "drmaa/drmaa-0.7.9.tar.gz"
version('0.7.9', sha256='12540cd98afc40d5c0b2f38d7b0e46468d1c45192a2f401f41fc2eda9c9f5542')
diff --git a/var/spack/repos/builtin/packages/py-dryscrape/package.py b/var/spack/repos/builtin/packages/py-dryscrape/package.py
index 8aa002bf7b..683266b624 100644
--- a/var/spack/repos/builtin/packages/py-dryscrape/package.py
+++ b/var/spack/repos/builtin/packages/py-dryscrape/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyDryscrape(PythonPackage):
for Python"""
homepage = "https://github.com/niklasb/dryscrape"
- url = "https://pypi.io/packages/source/d/dryscrape/dryscrape-1.0.tar.gz"
+ pypi = "dryscrape/dryscrape-1.0.tar.gz"
git = "https://github.com/niklasb/dryscrape.git"
version('develop', branch='master')
diff --git a/var/spack/repos/builtin/packages/py-dulwich/package.py b/var/spack/repos/builtin/packages/py-dulwich/package.py
new file mode 100644
index 0000000000..b0dca56e9e
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-dulwich/package.py
@@ -0,0 +1,24 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+from spack import *
+
+
+class PyDulwich(PythonPackage):
+ """Dulwich aims to provide an interface to Git repos
+ (both local and remote) that doesn't call out to Git
+ directory, but instead uses pure Python."""
+
+ homepage = "https://www.dulwich.io"
+ pypi = "dulwich/dulwich-0.20.15.tar.gz"
+
+ version('0.20.15', sha256='fb1773373ec2af896031f8312af6962a1b8b0176a2de3fb3d84a84ec04498888')
+ version('0.20.14', sha256='21d6ee82708f7c67ce3fdcaf1f1407e524f7f4f7411a410a972faa2176baec0d')
+
+ depends_on('python@3.5.0:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-certifi', type=('build', 'run'))
+ depends_on('py-urllib3@1.24.1:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-dvc/package.py b/var/spack/repos/builtin/packages/py-dvc/package.py
new file mode 100644
index 0000000000..9fc758687b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-dvc/package.py
@@ -0,0 +1,61 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+from spack import *
+
+
+class PyDvc(PythonPackage):
+ """Git for data scientists - manage your code and data together."""
+
+ homepage = "https://www.dvc.org"
+ pypi = "dvc/dvc-1.11.10.tar.gz"
+
+ version('1.11.10', sha256='6b53ebf1bd5619836f131181402bb21f7b44109166e9db8f8d6a0d8c7ce9458d')
+ version('1.11.6', sha256='41ba76c51c6142b28dae3aab039cb12423ba52fed6bd2a838f8308f315cfc20b')
+
+ variant('ssh', default=False, description='Enable ssh storage support')
+ variant('s3', default=False, description='Enable s3 storage support')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-ply@3.9:', type=('build', 'run'))
+ depends_on('py-colorama@0.3.9:', type=('build', 'run'))
+ depends_on('py-configobj@5.0.6:', type=('build', 'run'))
+ depends_on('py-gitpython@3.1:', type=('build', 'run'))
+ depends_on('py-dulwich@0.20.14:', type=('build', 'run'))
+ depends_on('py-setuptools@34.0.0:', type=('build', 'run'))
+ depends_on('py-nanotime@0.5.2:', type=('build', 'run'))
+ depends_on('py-pyasn1@0.4.1:', type=('build', 'run'))
+ depends_on('py-voluptuous@0.11.7:', type=('build', 'run'))
+ depends_on('py-jsonpath-ng@1.5.1:', type=('build', 'run'))
+ depends_on('py-grandalf@0.6', type=('build', 'run'))
+ depends_on('py-distro@1.3.0:', type=('build', 'run'))
+ depends_on('py-appdirs@1.4.3:', type=('build', 'run'))
+ depends_on('py-ruamel-yaml@0.16.1:', type=('build', 'run'))
+ depends_on('py-toml@0.10.1:', type=('build', 'run'))
+ depends_on('py-funcy@1.14:', type=('build', 'run'))
+ depends_on('py-pathspec@0.6.0:', type=('build', 'run'))
+ depends_on('py-shortuuid@0.5.0:', type=('build', 'run'))
+ depends_on('py-tqdm@4.45.0:4.99', type=('build', 'run'))
+ depends_on('py-packaging@19.0:', type=('build', 'run'))
+ depends_on('py-flufl-lock@3.2:3.999', type=('build', 'run'))
+ depends_on('py-zc-lockfile@1.2.1:', type=('build', 'run'))
+ depends_on('py-networkx@2.1:2.4', when='@:1.11.6', type=('build', 'run'))
+ depends_on('py-networkx@2.1:', when='@1.11.7:', type=('build', 'run'))
+ depends_on('py-pydot@1.2.4:', type=('build', 'run'))
+ depends_on('py-dataclasses@0.7', when='python@:3.6.999', type=('build', 'run'))
+ depends_on('py-flatten-dict@0.3.0:0.99', type=('build', 'run'))
+ depends_on('py-tabulate@0.8.7:', type=('build', 'run'))
+ depends_on('py-pygtrie@2.3.2', type=('build', 'run'))
+ depends_on('py-dpath@2.0.1:2.99', type=('build', 'run'))
+ depends_on('py-shtab@1.3.2:1.99', type=('build', 'run'))
+ depends_on('py-rich@3.0.5:', type=('build', 'run'))
+ depends_on('py-dictdiffer@0.8.1:', type=('build', 'run'))
+ depends_on('py-python-benedict@0.21.1:', type=('build', 'run'))
+ depends_on('py-pyparsing@2.4.7', type=('build', 'run'))
+ depends_on('py-typing-extensions@3.7.4:', type=('build', 'run'))
+
+ depends_on('py-paramiko@2.7.0:+invoke', when='+ssh', type=('build', 'run'))
+ depends_on('py-boto3@1.9.201:', when='+s3', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-dxchange/package.py b/var/spack/repos/builtin/packages/py-dxchange/package.py
index be0a23916c..06e362a16a 100644
--- a/var/spack/repos/builtin/packages/py-dxchange/package.py
+++ b/var/spack/repos/builtin/packages/py-dxchange/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,8 +14,6 @@ class PyDxchange(PythonPackage):
homepage = "https://github.com/data-exchange/dxchange"
url = "https://github.com/data-exchange/dxchange/archive/v0.1.2.tar.gz"
- import_modules = ['dxchange']
-
version('0.1.2', sha256='d005b036b6323d0dffd5944c3da0b8a90496d96277654e72b53717058dd5fd87')
depends_on('py-setuptools', type='build')
diff --git a/var/spack/repos/builtin/packages/py-dxfile/package.py b/var/spack/repos/builtin/packages/py-dxfile/package.py
index aa7eac9d91..b4df041a6c 100644
--- a/var/spack/repos/builtin/packages/py-dxfile/package.py
+++ b/var/spack/repos/builtin/packages/py-dxfile/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,8 +13,6 @@ class PyDxfile(PythonPackage):
homepage = "https://github.com/data-exchange/dxfile"
url = "https://github.com/data-exchange/dxfile/archive/v0.4.tar.gz"
- import_modules = ['dxfile']
-
version('0.4', sha256='b7729eebdc7c99a66a8b339fc10019aa8565e02bd12708540fb3f47935f004c7')
depends_on('py-setuptools', type='build')
diff --git a/var/spack/repos/builtin/packages/py-earthengine-api/package.py b/var/spack/repos/builtin/packages/py-earthengine-api/package.py
index 6125d918b6..7f61286ac2 100644
--- a/var/spack/repos/builtin/packages/py-earthengine-api/package.py
+++ b/var/spack/repos/builtin/packages/py-earthengine-api/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyEarthengineApi(PythonPackage):
using the Python programming language."""
homepage = "https://github.com/google/earthengine-api"
- url = "https://pypi.io/packages/source/e/earthengine-api/earthengine-api-0.1.186.tar.gz"
+ pypi = "earthengine-api/earthengine-api-0.1.186.tar.gz"
version('0.1.186', sha256='ced86dc969f5db13eea91944e29c39146bacbb7026a46f4b4ac349b365979627')
diff --git a/var/spack/repos/builtin/packages/py-easybuild-easyblocks/package.py b/var/spack/repos/builtin/packages/py-easybuild-easyblocks/package.py
index dcc295c63e..485c26d777 100644
--- a/var/spack/repos/builtin/packages/py-easybuild-easyblocks/package.py
+++ b/var/spack/repos/builtin/packages/py-easybuild-easyblocks/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyEasybuildEasyblocks(PythonPackage):
"""
homepage = 'https://easybuilders.github.io/easybuild'
- url = 'https://pypi.io/packages/source/e/easybuild-easyblocks/easybuild-easyblocks-4.0.0.tar.gz'
+ pypi = 'easybuild-easyblocks/easybuild-easyblocks-4.0.0.tar.gz'
maintainers = ['boegel']
version('4.0.0', sha256='a0fdef6c33c786e323bde1b28bab942fd8e535c26842877d705e692e85b31b07')
diff --git a/var/spack/repos/builtin/packages/py-easybuild-easyconfigs/package.py b/var/spack/repos/builtin/packages/py-easybuild-easyconfigs/package.py
index 83c55889b5..167dc02f8e 100644
--- a/var/spack/repos/builtin/packages/py-easybuild-easyconfigs/package.py
+++ b/var/spack/repos/builtin/packages/py-easybuild-easyconfigs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyEasybuildEasyconfigs(PythonPackage):
"""
homepage = 'https://easybuilders.github.io/easybuild'
- url = 'https://pypi.io/packages/source/e/easybuild-easyconfigs/easybuild-easyconfigs-4.0.0.tar.gz'
+ pypi = 'easybuild-easyconfigs/easybuild-easyconfigs-4.0.0.tar.gz'
maintainers = ['boegel']
version('4.0.0', sha256='90d4e8f8abb11e7ae2265745bbd1241cd69d02570e9b4530175c4b2e2aba754e')
diff --git a/var/spack/repos/builtin/packages/py-easybuild-framework/package.py b/var/spack/repos/builtin/packages/py-easybuild-framework/package.py
index 9096f62708..762fe7a3c7 100644
--- a/var/spack/repos/builtin/packages/py-easybuild-framework/package.py
+++ b/var/spack/repos/builtin/packages/py-easybuild-framework/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyEasybuildFramework(PythonPackage):
"""
homepage = 'https://easybuilders.github.io/easybuild'
- url = 'https://pypi.io/packages/source/e/easybuild-framework/easybuild-framework-4.0.0.tar.gz'
+ pypi = 'easybuild-framework/easybuild-framework-4.0.0.tar.gz'
maintainers = ['boegel']
version('4.0.0', sha256='f5c40345cc8b9b5750f53263ade6c9c3a8cd3dfab488d58f76ac61a8ca7c5a77')
@@ -22,6 +22,3 @@ class PyEasybuildFramework(PythonPackage):
depends_on('python@2.6:2.8,3.5:', when='@4:', type=('build', 'run'))
depends_on('py-setuptools', when='@:3', type=('build', 'run'))
depends_on('py-vsc-base@2.5.4:', when='@2.9:3', type='run')
-
- # Only required for tests (python -O -m test.framework.suite)
- depends_on('py-vsc-install', when='@:3', type='test')
diff --git a/var/spack/repos/builtin/packages/py-ecdsa/package.py b/var/spack/repos/builtin/packages/py-ecdsa/package.py
index 2401b9bd27..77e0487f91 100644
--- a/var/spack/repos/builtin/packages/py-ecdsa/package.py
+++ b/var/spack/repos/builtin/packages/py-ecdsa/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyEcdsa(PythonPackage):
"""ECDSA cryptographic signature library (pure python)"""
homepage = "https://github.com/warner/python-ecdsa"
- url = "https://pypi.io/packages/source/e/ecdsa/ecdsa-0.15.tar.gz"
+ pypi = "ecdsa/ecdsa-0.15.tar.gz"
version('0.15', sha256='8f12ac317f8a1318efa75757ef0a651abe12e51fc1af8838fb91079445227277')
version('0.13.2', sha256='5c034ffa23413ac923541ceb3ac14ec15a0d2530690413bff58c12b80e56d884')
@@ -18,4 +18,3 @@ class PyEcdsa(PythonPackage):
depends_on('python@2.6:2.8,3.3:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
depends_on('py-six@1.9.0:', type=('build', 'run'))
- depends_on('openssl', type='test')
diff --git a/var/spack/repos/builtin/packages/py-ecos/package.py b/var/spack/repos/builtin/packages/py-ecos/package.py
index 84e3bcd9eb..b71a96ba2d 100644
--- a/var/spack/repos/builtin/packages/py-ecos/package.py
+++ b/var/spack/repos/builtin/packages/py-ecos/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,11 +11,10 @@ class PyEcos(PythonPackage):
"""This is the Python package for ECOS: Embedded Cone Solver."""
homepage = "https://github.com/embotech/ecos"
- url = "https://www.pypi.io/packages/source/e/ecos/ecos-2.0.7.post1.tar.gz"
+ pypi = "ecos/ecos-2.0.7.post1.tar.gz"
version('2.0.7.post1', sha256='83e90f42b3f32e2a93f255c3cfad2da78dbd859119e93844c45d2fca20bdc758')
depends_on('py-setuptools', type='build')
- depends_on('py-nose', type='test')
depends_on('py-numpy@1.6:', type=('build', 'run'))
depends_on('py-scipy@0.9:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-edffile/package.py b/var/spack/repos/builtin/packages/py-edffile/package.py
index ab4a9f9ed9..97bd01212a 100644
--- a/var/spack/repos/builtin/packages/py-edffile/package.py
+++ b/var/spack/repos/builtin/packages/py-edffile/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,8 +12,6 @@ class PyEdffile(PythonPackage):
homepage = "https://github.com/vasole/pymca/blob/master/PyMca5/PyMcaIO/EdfFile.py"
git = "https://github.com/conda-forge/edffile-feedstock.git"
- import_modules = ['EdfFile']
-
version('5.0.0', commit='be5ab4199db9f8209c59e31874934b8536b52301')
depends_on('py-setuptools', type='build')
diff --git a/var/spack/repos/builtin/packages/py-editdistance/package.py b/var/spack/repos/builtin/packages/py-editdistance/package.py
index ccedeef495..d38930ea3f 100644
--- a/var/spack/repos/builtin/packages/py-editdistance/package.py
+++ b/var/spack/repos/builtin/packages/py-editdistance/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyEditdistance(PythonPackage):
"""Fast implementation of the edit distance (Levenshtein distance)."""
homepage = "https://github.com/aflc/editdistance"
- url = "https://pypi.io/packages/source/e/editdistance/editdistance-0.4.tar.gz"
+ pypi = "editdistance/editdistance-0.4.tar.gz"
version('0.4', sha256='c765db6f8817d38922e4a50be4b9ab338b2c539377b6fcf0bca11dea72eeb8c1')
diff --git a/var/spack/repos/builtin/packages/py-eg/package.py b/var/spack/repos/builtin/packages/py-eg/package.py
index a6ba806690..9146d1aa40 100644
--- a/var/spack/repos/builtin/packages/py-eg/package.py
+++ b/var/spack/repos/builtin/packages/py-eg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-elasticsearch/package.py b/var/spack/repos/builtin/packages/py-elasticsearch/package.py
index b87dd19f43..7429f21748 100644
--- a/var/spack/repos/builtin/packages/py-elasticsearch/package.py
+++ b/var/spack/repos/builtin/packages/py-elasticsearch/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyElasticsearch(PythonPackage):
"""Python client for Elasticsearch"""
homepage = "https://github.com/elastic/elasticsearch-py"
- url = "https://pypi.io/packages/source/e/elasticsearch/elasticsearch-5.2.0.tar.gz"
+ pypi = "elasticsearch/elasticsearch-5.2.0.tar.gz"
version('7.5.1', sha256='2a0ca516378ae9b87ac840e7bb529ec508f3010360dd9feed605dff2a898aff5')
version('6.4.0', sha256='fb5ab15ee283f104b5a7a5695c7e879cb2927e4eb5aed9c530811590b41259ad')
diff --git a/var/spack/repos/builtin/packages/py-elephant/package.py b/var/spack/repos/builtin/packages/py-elephant/package.py
index 7d2477ef40..7e5798aa20 100644
--- a/var/spack/repos/builtin/packages/py-elephant/package.py
+++ b/var/spack/repos/builtin/packages/py-elephant/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyElephant(PythonPackage):
"""
homepage = "http://neuralensemble.org/elephant"
- url = "https://pypi.io/packages/source/e/elephant/elephant-0.3.0.tar.gz"
+ pypi = "elephant/elephant-0.3.0.tar.gz"
version('0.4.1', sha256='86b21a44cbacdc09a6ba6f51738dcd5b42ecd553d73acb29f71a0be7c82eac81')
version('0.3.0', sha256='747251ccfb5820bdead6391411b5faf205b4ddf3ababaefe865f50b16540cfef')
@@ -27,4 +27,3 @@ class PyElephant(PythonPackage):
depends_on('py-pandas@0.14.1:', type=('build', 'run'), when='+pandas')
depends_on('py-numpydoc@0.5:', type=('build', 'run'), when='+docs')
depends_on('py-sphinx@1.2.2:', type=('build', 'run'), when='+docs')
- depends_on('py-nose@1.3.3:', type='test')
diff --git a/var/spack/repos/builtin/packages/py-emcee/package.py b/var/spack/repos/builtin/packages/py-emcee/package.py
index 093a662b2b..7e0687f228 100644
--- a/var/spack/repos/builtin/packages/py-emcee/package.py
+++ b/var/spack/repos/builtin/packages/py-emcee/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyEmcee(PythonPackage):
Affine Invariant Markov chain Monte Carlo (MCMC) Ensemble sampler."""
homepage = "http://dan.iel.fm/emcee/current/"
- url = "https://pypi.io/packages/source/e/emcee/emcee-2.2.1.tar.gz"
+ pypi = "emcee/emcee-2.2.1.tar.gz"
version('2.2.1', sha256='b83551e342b37311897906b3b8acf32979f4c5542e0a25786ada862d26241172')
version('2.1.0', sha256='5ce1039a3d78fb9e7d53fcd768517585c5998193743bfcfaac407927d375ca63')
diff --git a/var/spack/repos/builtin/packages/py-empy/package.py b/var/spack/repos/builtin/packages/py-empy/package.py
index 54b1bd759a..557ddb48ef 100644
--- a/var/spack/repos/builtin/packages/py-empy/package.py
+++ b/var/spack/repos/builtin/packages/py-empy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,6 +11,6 @@ class PyEmpy(PythonPackage):
"""A powerful and robust templating system for Python"""
homepage = "http://www.alcyone.com/software/empy"
- url = "https://pypi.io/packages/source/e/empy/empy-3.3.4.tar.gz"
+ pypi = "empy/empy-3.3.4.tar.gz"
version('3.3.4', sha256='73ac49785b601479df4ea18a7c79bc1304a8a7c34c02b9472cf1206ae88f01b3')
diff --git a/var/spack/repos/builtin/packages/py-entrypoints/package.py b/var/spack/repos/builtin/packages/py-entrypoints/package.py
index 84bc7c20f4..a86adfd36b 100644
--- a/var/spack/repos/builtin/packages/py-entrypoints/package.py
+++ b/var/spack/repos/builtin/packages/py-entrypoints/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,10 +9,7 @@ from spack import *
class PyEntrypoints(PythonPackage):
"""Discover and load entry points from installed packages."""
- homepage = "https://pypi.python.org/pypi/entrypoints"
- url = "https://pypi.io/packages/source/e/entrypoints/entrypoints-0.2.3.tar.gz"
-
- import_modules = ['entrypoints']
+ pypi = "entrypoints/entrypoints-0.2.3.tar.gz"
version('0.3', sha256='c70dd71abe5a8c85e55e12c19bd91ccfeec11a6e99044204511f9ed547d48451')
version('0.2.3', sha256='d2d587dde06f99545fb13a383d2cd336a8ff1f359c5839ce3a64c917d10c029f')
diff --git a/var/spack/repos/builtin/packages/py-enum34/package.py b/var/spack/repos/builtin/packages/py-enum34/package.py
index 7bcdf462b3..0628fa762b 100644
--- a/var/spack/repos/builtin/packages/py-enum34/package.py
+++ b/var/spack/repos/builtin/packages/py-enum34/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyEnum34(PythonPackage):
"""Python 3.4 Enum backported to 3.3, 3.2, 3.1, 2.7, 2.6, 2.5, and 2.4."""
homepage = "https://bitbucket.org/stoneleaf/enum34/src"
- url = "https://pypi.io/packages/source/e/enum34/enum34-1.1.6.tar.gz"
+ pypi = "enum34/enum34-1.1.6.tar.gz"
version('1.1.6', sha256='8ad8c4783bf61ded74527bffb48ed9b54166685e4230386a9ed9b1279e2df5b1')
diff --git a/var/spack/repos/builtin/packages/py-envisage/package.py b/var/spack/repos/builtin/packages/py-envisage/package.py
index 06783c8fcb..7068987db6 100644
--- a/var/spack/repos/builtin/packages/py-envisage/package.py
+++ b/var/spack/repos/builtin/packages/py-envisage/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,7 +14,7 @@ class PyEnvisage(PythonPackage):
to the Eclipse and Netbeans frameworks for Java applications."""
homepage = "https://docs.enthought.com/envisage"
- url = "https://pypi.io/packages/source/e/envisage/envisage-4.9.2.tar.gz"
+ pypi = "envisage/envisage-4.9.2.tar.gz"
version('4.9.2', sha256='ed9580ac6ea17b333f1cce5b94656aed584798d56d8bd364f996a06fe1ac32eb')
diff --git a/var/spack/repos/builtin/packages/py-ephem/package.py b/var/spack/repos/builtin/packages/py-ephem/package.py
index b3f62ae3cf..fdbcb4cb8c 100644
--- a/var/spack/repos/builtin/packages/py-ephem/package.py
+++ b/var/spack/repos/builtin/packages/py-ephem/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-epydoc/package.py b/var/spack/repos/builtin/packages/py-epydoc/package.py
index cfd14fa4eb..da62e048aa 100644
--- a/var/spack/repos/builtin/packages/py-epydoc/package.py
+++ b/var/spack/repos/builtin/packages/py-epydoc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,6 @@ from spack import *
class PyEpydoc(PythonPackage):
"""Epydoc is a tool for generating API documentation documentation for
Python modules, based on their docstrings."""
- homepage = "https://pypi.python.org/pypi/epydoc"
- url = "https://pypi.io/packages/source/e/epydoc/epydoc-3.0.1.tar.gz"
+ pypi = "epydoc/epydoc-3.0.1.tar.gz"
version('3.0.1', sha256='c81469b853fab06ec42b39e35dd7cccbe9938dfddef324683d89c1e5176e48f2')
diff --git a/var/spack/repos/builtin/packages/py-espresso/package.py b/var/spack/repos/builtin/packages/py-espresso/package.py
index 4891b8c53e..581a670a2a 100644
--- a/var/spack/repos/builtin/packages/py-espresso/package.py
+++ b/var/spack/repos/builtin/packages/py-espresso/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-espressopp/package.py b/var/spack/repos/builtin/packages/py-espressopp/package.py
index f243fcb4d2..6b42aa70c9 100644
--- a/var/spack/repos/builtin/packages/py-espressopp/package.py
+++ b/var/spack/repos/builtin/packages/py-espressopp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-et-xmlfile/package.py b/var/spack/repos/builtin/packages/py-et-xmlfile/package.py
index 49c508e32b..e80e144278 100644
--- a/var/spack/repos/builtin/packages/py-et-xmlfile/package.py
+++ b/var/spack/repos/builtin/packages/py-et-xmlfile/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyEtXmlfile(PythonPackage):
"""An implementation of lxml.xmlfile for the standard library."""
homepage = "https://bitbucket.org/openpyxl/et_xmlfile"
- url = "https://pypi.io/packages/source/e/et_xmlfile/et_xmlfile-1.0.1.tar.gz"
+ pypi = "et_xmlfile/et_xmlfile-1.0.1.tar.gz"
version('1.0.1', sha256='614d9722d572f6246302c4491846d2c393c199cfa4edc9af593437691683335b')
diff --git a/var/spack/repos/builtin/packages/py-eventlet/package.py b/var/spack/repos/builtin/packages/py-eventlet/package.py
index fa7f734348..54ca8e5710 100644
--- a/var/spack/repos/builtin/packages/py-eventlet/package.py
+++ b/var/spack/repos/builtin/packages/py-eventlet/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-execnet/package.py b/var/spack/repos/builtin/packages/py-execnet/package.py
index 96c26f7717..b8d0a4b5fc 100644
--- a/var/spack/repos/builtin/packages/py-execnet/package.py
+++ b/var/spack/repos/builtin/packages/py-execnet/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyExecnet(PythonPackage):
across version, platform and network barriers."""
homepage = "http://codespeak.net/execnet"
- url = "https://pypi.io/packages/source/e/execnet/execnet-1.7.1.tar.gz"
+ pypi = "execnet/execnet-1.7.1.tar.gz"
version('1.7.1', sha256='cacb9df31c9680ec5f95553976c4da484d407e85e41c83cb812aa014f0eddc50')
version('1.4.1', sha256='f66dd4a7519725a1b7e14ad9ae7d3df8e09b2da88062386e08e941cafc0ef3e6')
diff --git a/var/spack/repos/builtin/packages/py-exodus-bundler/package.py b/var/spack/repos/builtin/packages/py-exodus-bundler/package.py
index eddb3da88f..4f31ce3574 100644
--- a/var/spack/repos/builtin/packages/py-exodus-bundler/package.py
+++ b/var/spack/repos/builtin/packages/py-exodus-bundler/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyExodusBundler(PythonPackage):
ELF binaries from one system to another."""
homepage = "https://github.com/intoli/exodus"
- url = "https://pypi.io/packages/source/e/exodus-bundler/exodus-bundler-2.0.2.tar.gz"
+ pypi = "exodus-bundler/exodus-bundler-2.0.2.tar.gz"
version('2.0.2', sha256='4e896a2034b94cf7b4fb33d86a68e29a7d3b08e57541e444db34dddc6ac1ef68')
diff --git a/var/spack/repos/builtin/packages/py-extension-helpers/package.py b/var/spack/repos/builtin/packages/py-extension-helpers/package.py
index 698af27a49..f03d1a7ff3 100644
--- a/var/spack/repos/builtin/packages/py-extension-helpers/package.py
+++ b/var/spack/repos/builtin/packages/py-extension-helpers/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyExtensionHelpers(PythonPackage):
to be general and usable by any Python package."""
homepage = 'https://github.com/astropy/astropy-helpers'
- url = 'https://pypi.io/packages/source/e/extension-helpers/extension-helpers-0.1.tar.gz'
+ pypi = 'extension-helpers/extension-helpers-0.1.tar.gz'
version('0.1', sha256='ac8a6fe91c6d98986a51a9f08ca0c7945f8fd70d95b662ced4040ae5eb973882')
diff --git a/var/spack/repos/builtin/packages/py-extras/package.py b/var/spack/repos/builtin/packages/py-extras/package.py
index 5705b0dfe6..ab4f9c1f6c 100644
--- a/var/spack/repos/builtin/packages/py-extras/package.py
+++ b/var/spack/repos/builtin/packages/py-extras/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyExtras(PythonPackage):
library."""
homepage = "https://github.com/testing-cabal/extras"
- url = "https://pypi.io/packages/source/e/extras/extras-1.0.0.tar.gz"
+ pypi = "extras/extras-1.0.0.tar.gz"
version('1.0.0', sha256='132e36de10b9c91d5d4cc620160a476e0468a88f16c9431817a6729611a81b4e')
diff --git a/var/spack/repos/builtin/packages/py-ez-setup/package.py b/var/spack/repos/builtin/packages/py-ez-setup/package.py
new file mode 100644
index 0000000000..41c2b34658
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-ez-setup/package.py
@@ -0,0 +1,18 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyEzSetup(PythonPackage):
+ """Setuptools bootstrap module, which is not always packaged with
+ setuptools."""
+
+ homepage = "https://github.com/ActiveState/ez_setup"
+ url = "https://github.com/ActiveState/ez_setup/archive/v0.9.tar.gz"
+
+ version('0.9', sha256='a35cb03142cc10b6bb2cf59999cf2f4e127ec0901606d02be57da5b34e6897fb')
+
+ depends_on('py-setuptools', type='build')
diff --git a/var/spack/repos/builtin/packages/py-f90wrap/package.py b/var/spack/repos/builtin/packages/py-f90wrap/package.py
new file mode 100644
index 0000000000..e81a60a6d9
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-f90wrap/package.py
@@ -0,0 +1,22 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+from spack import *
+
+
+class PyF90wrap(PythonPackage):
+ """f90wrap is a tool to automatically generate Python extension
+ modules which interface to Fortran code that makes use of derived types."""
+
+ homepage = "https://github.com/jameskermode/f90wrap"
+ pypi = "f90wrap/f90wrap-0.2.3.tar.gz"
+
+ version('0.2.3', sha256='5577ea92934c5aad378df21fb0805b5fb433d6f2b8b9c1bf1a9ec1e3bf842cff')
+
+ # TODO errors with python 3.6 due to UnicodeDecodeError
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-numpy@1.3.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-fabric/package.py b/var/spack/repos/builtin/packages/py-fabric/package.py
index b8ccb624bb..1f63b06bdb 100644
--- a/var/spack/repos/builtin/packages/py-fabric/package.py
+++ b/var/spack/repos/builtin/packages/py-fabric/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyFabric(PythonPackage):
"""High level SSH command execution."""
homepage = "http://fabfile.org/"
- url = "https://pypi.io/packages/source/f/fabric/fabric-2.5.0.tar.gz"
+ pypi = "fabric/fabric-2.5.0.tar.gz"
version('2.5.0', sha256='24842d7d51556adcabd885ac3cf5e1df73fc622a1708bf3667bf5927576cdfa6')
diff --git a/var/spack/repos/builtin/packages/py-falcon/package.py b/var/spack/repos/builtin/packages/py-falcon/package.py
index c1003d9bbf..7100d9f77c 100644
--- a/var/spack/repos/builtin/packages/py-falcon/package.py
+++ b/var/spack/repos/builtin/packages/py-falcon/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-fallocate/package.py b/var/spack/repos/builtin/packages/py-fallocate/package.py
index 0e0a442f2b..aee4656d7d 100644
--- a/var/spack/repos/builtin/packages/py-fallocate/package.py
+++ b/var/spack/repos/builtin/packages/py-fallocate/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,6 +11,6 @@ class PyFallocate(PythonPackage):
"""
homepage = "https://github.com/trbs/fallocate"
- url = "https://pypi.io/packages/source/f/fallocate/fallocate-1.6.4.tar.gz"
+ pypi = "fallocate/fallocate-1.6.4.tar.gz"
version('1.6.4', sha256='85ebeb2786761fbe80d88c52590a610bd3425fc89e188c208a3f261a5bd6acb3')
diff --git a/var/spack/repos/builtin/packages/py-fastaindex/package.py b/var/spack/repos/builtin/packages/py-fastaindex/package.py
index 8b37fd3a4e..f5c091c50e 100644
--- a/var/spack/repos/builtin/packages/py-fastaindex/package.py
+++ b/var/spack/repos/builtin/packages/py-fastaindex/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyFastaindex(PythonPackage):
with 4 columns storing counts for A, C, G & T for each sequence.."""
homepage = "https://github.com/lpryszcz/FastaIndex"
- url = "https://pypi.io/packages/source/F/FastaIndex/FastaIndex-0.11rc7.tar.gz"
+ pypi = "FastaIndex/FastaIndex-0.11rc7.tar.gz"
version('0.11rc7', sha256='c130a2146bb178ea4f9d228e0d360787046ab4cb0ab53b5b43711dd57e31aff7')
diff --git a/var/spack/repos/builtin/packages/py-fastavro/package.py b/var/spack/repos/builtin/packages/py-fastavro/package.py
index e103a8cbac..6c13cc70f6 100644
--- a/var/spack/repos/builtin/packages/py-fastavro/package.py
+++ b/var/spack/repos/builtin/packages/py-fastavro/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-fastcache/package.py b/var/spack/repos/builtin/packages/py-fastcache/package.py
index bd58a14702..bb4b861f1f 100644
--- a/var/spack/repos/builtin/packages/py-fastcache/package.py
+++ b/var/spack/repos/builtin/packages/py-fastcache/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyFastcache(PythonPackage):
"""C implementation of Python 3 functools.lru_cache"""
homepage = "https://github.com/pbrady/fastcache"
- url = "https://pypi.io/packages/source/f/fastcache/fastcache-1.1.0.tar.gz"
+ pypi = "fastcache/fastcache-1.1.0.tar.gz"
version('1.1.0', sha256='6de1b16e70335b7bde266707eb401a3aaec220fb66c5d13b02abf0eab8be782b')
diff --git a/var/spack/repos/builtin/packages/py-fastcluster/package.py b/var/spack/repos/builtin/packages/py-fastcluster/package.py
index bc09681527..f7bc397880 100644
--- a/var/spack/repos/builtin/packages/py-fastcluster/package.py
+++ b/var/spack/repos/builtin/packages/py-fastcluster/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyFastcluster(PythonPackage):
"""Fast hierarchical clustering routines for R and Python."""
homepage = "http://danifold.net/"
- url = "https://pypi.io/packages/source/f/fastcluster/fastcluster-1.1.26.tar.gz"
+ pypi = "fastcluster/fastcluster-1.1.26.tar.gz"
version('1.1.26', sha256='a202f44a3b06f5cf9cdba3c67d6c523288922d6e6a1cdf737292f93759aa82f7')
diff --git a/var/spack/repos/builtin/packages/py-fastdtw/package.py b/var/spack/repos/builtin/packages/py-fastdtw/package.py
index dbe31960f5..122c2f93cc 100644
--- a/var/spack/repos/builtin/packages/py-fastdtw/package.py
+++ b/var/spack/repos/builtin/packages/py-fastdtw/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyFastdtw(PythonPackage):
complexity."""
homepage = "https://github.com/slaypni/fastdtw"
- url = "https://pypi.io/packages/source/f/fastdtw/fastdtw-0.3.4.tar.gz"
+ pypi = "fastdtw/fastdtw-0.3.4.tar.gz"
version('0.3.4', sha256='2350fa6ec36bcad186eaf81f46eff35181baf04e324f522de8aeb43d0243f64f')
diff --git a/var/spack/repos/builtin/packages/py-fasteners/package.py b/var/spack/repos/builtin/packages/py-fasteners/package.py
index 685b1dca0e..6c65b8b023 100644
--- a/var/spack/repos/builtin/packages/py-fasteners/package.py
+++ b/var/spack/repos/builtin/packages/py-fasteners/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyFasteners(PythonPackage):
"""A python package that provides useful locks."""
homepage = "https://github.com/harlowja/fasteners"
- url = "https://pypi.io/packages/source/f/fasteners/fasteners-0.14.1.tar.gz"
+ pypi = "fasteners/fasteners-0.14.1.tar.gz"
version('0.14.1', sha256='427c76773fe036ddfa41e57d89086ea03111bbac57c55fc55f3006d027107e18')
diff --git a/var/spack/repos/builtin/packages/py-fastrlock/package.py b/var/spack/repos/builtin/packages/py-fastrlock/package.py
index 83825227c5..c27e5c54a3 100644
--- a/var/spack/repos/builtin/packages/py-fastrlock/package.py
+++ b/var/spack/repos/builtin/packages/py-fastrlock/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-faststructure/package.py b/var/spack/repos/builtin/packages/py-faststructure/package.py
index 60e123738f..07160c8e8c 100644
--- a/var/spack/repos/builtin/packages/py-faststructure/package.py
+++ b/var/spack/repos/builtin/packages/py-faststructure/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-fava/package.py b/var/spack/repos/builtin/packages/py-fava/package.py
new file mode 100644
index 0000000000..86b4860f6b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-fava/package.py
@@ -0,0 +1,44 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyFava(PythonPackage):
+ """Fava is a web interface for the double-entry bookkeeping software
+ Beancount with a focus on features and usability."""
+
+ homepage = "https://beancount.github.io/fava/"
+ pypi = "fava/fava-1.18.tar.gz"
+
+ version('1.18', sha256='21336b695708497e6f00cab77135b174c51feb2713b657e0e208282960885bf5')
+
+ # For some reason Fava adds a whole bunch of executables to
+ # its bin directory, and this causes clashes when loading
+ # the module.
+ extends('python', ignore='bin/^(?!fava).*')
+
+ # Some of the dependencies are not listed as required at
+ # build or run time, but actually are.
+ # - py-setuptools
+ # - py-importlib
+ # - py-pytest
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-setuptools', type=('build', 'run'))
+ depends_on('py-setuptools-scm', type=('build'))
+
+ depends_on('py-babel@2.6.0:', type=('build', 'run'))
+ depends_on('py-beancount@2.3.0:', type=('build', 'run'))
+ depends_on('py-cheroot', type=('build', 'run'))
+ depends_on('py-click', type=('build', 'run'))
+ depends_on('py-flask@0.10.1:', type=('build', 'run'))
+ depends_on('py-flask-babel@1.0.0:', type=('build', 'run'))
+ depends_on('py-importlib', type=('build', 'run'))
+ depends_on('py-jinja2@2.10:', type=('build', 'run'))
+ depends_on('py-markdown2@2.3.0:', type=('build', 'run'))
+ depends_on('py-ply', type=('build', 'run'))
+ depends_on('py-pytest', type=('build', 'run'))
+ depends_on('py-simplejson@3.2.0:', type=('build', 'run'))
+ depends_on('py-werkzeug@0.15.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-fenics-basix/package.py b/var/spack/repos/builtin/packages/py-fenics-basix/package.py
new file mode 100644
index 0000000000..581dabfcf3
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-fenics-basix/package.py
@@ -0,0 +1,26 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyFenicsBasix(PythonPackage):
+ """Python basis evaluation library for Next generation FEniCS problem solving
+ environment"""
+
+ homepage = "https://github.com/FEniCS/basix"
+ git = "https://github.com/FEniCS/basix.git"
+ maintainers = ["chrisrichardson", "mscroggs"]
+
+ version("main", branch="main")
+
+ depends_on("cmake@3.9:", type="build")
+ depends_on("eigen@3.3.7:")
+ depends_on("python@3.5:", type=('build', 'run'))
+ depends_on("py-setuptools", type="build")
+ depends_on("py-scikit-build", type="build")
+ depends_on("py-pybind11", type="build")
+
+ phases = ['build', 'install']
diff --git a/var/spack/repos/builtin/packages/py-fenics-dijitso/package.py b/var/spack/repos/builtin/packages/py-fenics-dijitso/package.py
index d2cd6865d3..9b0edc2cd8 100644
--- a/var/spack/repos/builtin/packages/py-fenics-dijitso/package.py
+++ b/var/spack/repos/builtin/packages/py-fenics-dijitso/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,15 +10,16 @@ class PyFenicsDijitso(PythonPackage):
"""A Python module for distributed just-in-time shared library building"""
homepage = "https://bitbucket.org/fenics-project/dijitso"
- url = "https://bitbucket.org/fenics-project/dijitso/downloads/dijitso-2018.1.0.tar.gz"
+ url = "https://bitbucket.org/fenics-project/dijitso/downloads/dijitso-2019.1.0.tar.gz"
git = "https://bitbucket.org/fenics-project/dijitso.git"
maintainers = ["js947", "chrisrichardson"]
version("master", branch="master")
- version("2018.1.0", sha256="2084ada1e7bd6ecec0999b15a17db98c72e26f1ccbf3fcbe240b1a035a1a2e64")
- version("2017.2.0", sha256="05a893d17f8a50067d303b232e41592dce2840d6499677ad8b457ba58a679b58")
- version("2017.1.0", sha256="ef23952539d349fbd384d41302abc94413d485ca7e8c29e8a0debc2aadaf8657")
- version("2016.2.0", sha256="1bfa0ac0d47dae75bbde8fabb1145d3caa2e6c28a1e4097ad5550a91a8a205e4")
+ version('2019.1.0', sha256='eaa45eec4457f3f865d72a926b7cba86df089410e78de04cd89b15bb405e8fd9')
+ version('2018.1.0', sha256='2084ada1e7bd6ecec0999b15a17db98c72e26f1ccbf3fcbe240b1a035a1a2e64')
+ version('2017.2.0', sha256='05a893d17f8a50067d303b232e41592dce2840d6499677ad8b457ba58a679b58')
+ version('2017.1.0', sha256='ef23952539d349fbd384d41302abc94413d485ca7e8c29e8a0debc2aadaf8657')
+ version('2016.2.0', sha256='1bfa0ac0d47dae75bbde8fabb1145d3caa2e6c28a1e4097ad5550a91a8a205e4')
depends_on("py-setuptools", type="build")
depends_on("python@3.5:", type=("build", "run"))
diff --git a/var/spack/repos/builtin/packages/py-fenics-dolfinx/package.py b/var/spack/repos/builtin/packages/py-fenics-dolfinx/package.py
index f84f9ce565..9532b4da86 100644
--- a/var/spack/repos/builtin/packages/py-fenics-dolfinx/package.py
+++ b/var/spack/repos/builtin/packages/py-fenics-dolfinx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -30,7 +30,6 @@ class PyFenicsDolfinx(PythonPackage):
depends_on("py-cffi", type=("run"))
depends_on("py-numpy", type=("run"))
- import_modules = ['dolfinx']
phases = ['build_ext', 'build', 'install']
build_directory = 'python'
diff --git a/var/spack/repos/builtin/packages/py-fenics-ffc/package.py b/var/spack/repos/builtin/packages/py-fenics-ffc/package.py
new file mode 100644
index 0000000000..0c3b9fbf66
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-fenics-ffc/package.py
@@ -0,0 +1,39 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyFenicsFfc(PythonPackage):
+ """The FEniCS Form Compiler FFC is a compiler for finite element
+ variational forms, translating high-level mathematical descriptions
+ of variational forms into efficient low-level C++ code for finite
+ element assembly."""
+
+ homepage = "https://fenicsproject.org/"
+ git = "https://bitbucket.org/fenics-project/ffc.git"
+ url = "https://bitbucket.org/fenics-project/ffc/downloads/ffc-2019.1.0.post0.tar.gz"
+ maintainers = ['emai-imcs']
+
+ version('2019.1.0.post0', sha256='306e1179630200a34202975a5369194939b3482eebfc34bc44ad74dab1f109e8')
+ version('2018.1.0', sha256='c5a6511693106d1cd2fc013148d0cd01cd1b99fc65dab461ca0b95851a9ea271')
+ version('2017.2.0.post0', sha256='1969a5460cb866c478df64874ce213f81cb5c893b89f991a578e258b1a64fee5')
+ version('2016.2.0', sha256='097c284780447ea7bb47d4d51956648a1efb2cb9047eb1382944421dde351ecb')
+
+ depends_on('python@3.5:', type=('build', 'run'))
+
+ depends_on('py-setuptools', type=('build', 'run'))
+ depends_on('py-numpy', type=('build', 'run'))
+
+ for ver in ['2019.1.0.post0', '2018.1.0', '2017.2.0.post0', '2016.2.0']:
+ if ver in ['2019.1.0.post0', '2017.2.0.post0']:
+ ver = ver[:ver.rfind('.post')]
+ wver = '@' + ver
+ depends_on('py-fenics-fiat{0}'.format(wver), type=('build', 'run'), when=wver)
+ if(Version(ver) < Version('2017.2.0')):
+ depends_on('py-fenics-instant{0}'.format(wver), type=('build', 'run'), when=wver)
+ else:
+ depends_on('py-fenics-dijitso{0}'.format(wver), type=('build', 'run'), when=wver)
+ depends_on('py-fenics-ufl{0}'.format(wver), type=('build', 'run'), when=wver)
diff --git a/var/spack/repos/builtin/packages/py-fenics-ffcx/package.py b/var/spack/repos/builtin/packages/py-fenics-ffcx/package.py
index abc7792afb..b74de19508 100644
--- a/var/spack/repos/builtin/packages/py-fenics-ffcx/package.py
+++ b/var/spack/repos/builtin/packages/py-fenics-ffcx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,5 +19,5 @@ class PyFenicsFfcx(PythonPackage):
depends_on("py-setuptools", type=("build", "run"))
depends_on("py-cffi", type=("build", "run"))
depends_on("py-fenics-ufl@master", type=("build", "run"))
- depends_on("py-fenics-fiat@master", type=("build", "run"))
+ depends_on("py-fenics-basix@main", type=("build", "run"))
depends_on("py-numpy", type=("build", "run"))
diff --git a/var/spack/repos/builtin/packages/py-fenics-fiat/package.py b/var/spack/repos/builtin/packages/py-fenics-fiat/package.py
index f6f9aa5825..135565888c 100644
--- a/var/spack/repos/builtin/packages/py-fenics-fiat/package.py
+++ b/var/spack/repos/builtin/packages/py-fenics-fiat/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -27,8 +27,11 @@ class PyFenicsFiat(PythonPackage):
version('2017.2.0', sha256='e4d3ffc86a0a717b3f17b9bb2d922214c342be27e5bdfbe50f110030bfff9729')
version('2017.1.0.post1', sha256='1784fe1cb9479ca7cd85f63b0afa6e07634feec8d8e82fa8be4c480649cb9621')
version('2017.1.0', sha256='d4288401ad16c4598720f9db0810a522f7f0eadad35d8211bac7120bce5fde94')
+ version('2016.2.0', tag='fiat-2016.2.0')
depends_on('python@3:', type=('build', 'run'))
depends_on('py-setuptools', type="build")
depends_on('py-numpy', type=("build", "run"))
- depends_on('py-sympy', type=("build", "run"))
+ depends_on('py-sympy', type=("build", "run"), when='@2019.1.0')
+ # avoid compilation error of dolfin (ffc fails with latest sympy)
+ depends_on('py-sympy@1.0', type=("build", "run"), when='@:2018.1.0')
diff --git a/var/spack/repos/builtin/packages/py-fenics-instant/package.py b/var/spack/repos/builtin/packages/py-fenics-instant/package.py
new file mode 100644
index 0000000000..10de314363
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-fenics-instant/package.py
@@ -0,0 +1,28 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyFenicsInstant(PythonPackage):
+ """Instant is a Python module that allows for instant inlining of C and C++
+ code in Python. It is a small Python module built on top of SWIG and
+ Distutils. Instant has been retired after 2017.2.0 release. It is no longer
+ needed in FEniCS and hence no longer maintained and tested. """
+
+ homepage = "https://fenicsproject.org"
+ url = "https://bitbucket.org/fenics-project/instant/downloads/instant-2017.2.0.tar.gz"
+ maintainers = ['emai-imcs']
+
+ version('2017.2.0', sha256='be24f162fd1a89b82fae002db8df0b4f111fd50db83d78c0c121015c02e45b7b')
+ version('2016.2.0', sha256='df5e8ca306546fd1ee1a28e36b61c5d46456dc8b07e3293d674ddff62cf8d953')
+
+ depends_on('python@2.7:', type=("build", "run"))
+ depends_on('py-six', type=('build', 'run'))
+ depends_on('py-subprocess32', when='^python@:2.999', type=('build', 'run'))
+ depends_on('py-setuptools', type="build")
+ depends_on('py-numpy', type=("build", "run"))
+ depends_on('cmake', type="run")
+ depends_on('swig', type=("build", "run"))
diff --git a/var/spack/repos/builtin/packages/py-fenics-ufl/package.py b/var/spack/repos/builtin/packages/py-fenics-ufl/package.py
index 0476cd33c6..7d3aeb9a67 100644
--- a/var/spack/repos/builtin/packages/py-fenics-ufl/package.py
+++ b/var/spack/repos/builtin/packages/py-fenics-ufl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -24,6 +24,7 @@ class PyFenicsUfl(PythonPackage):
version('2017.2.0.post0', sha256='111e77707cd6731584b1041f405c2fd3f1752a86c51fd9c430524bd396f293b0')
version('2017.2.0', sha256='0adff7a511185b20c38ddaccdeed6c1b2ecafe4b163c688bfd1316d5c3b1c00d')
version('2017.1.0.post1', sha256='82c8170f44c2392c7e60aa86495df22cc209af50735af8115dc35aeda4b0ca96')
+ version('2016.2.0', tag='ufl-2016.2.0')
depends_on("python@3.5:", type=('build', 'run'))
depends_on("py-setuptools", type="build")
diff --git a/var/spack/repos/builtin/packages/py-filelock/package.py b/var/spack/repos/builtin/packages/py-filelock/package.py
index 27d9735598..ffa7a37685 100644
--- a/var/spack/repos/builtin/packages/py-filelock/package.py
+++ b/var/spack/repos/builtin/packages/py-filelock/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyFilelock(PythonPackage):
inter-process communication"""
homepage = "https://github.com/benediktschmitt/py-filelock"
- url = "https://pypi.io/packages/source/f/filelock/filelock-3.0.4.tar.gz"
+ pypi = "filelock/filelock-3.0.4.tar.gz"
version('3.0.12', sha256='18d82244ee114f543149c66a6e0c14e9c4f8a1044b5cdaadd0f82159d6a6ff59')
version('3.0.4', sha256='011327d4ed939693a5b28c0fdf2fd9bda1f68614c1d6d0643a89382ce9843a71')
diff --git a/var/spack/repos/builtin/packages/py-filemagic/package.py b/var/spack/repos/builtin/packages/py-filemagic/package.py
index 8d425dfb37..cc3701a427 100644
--- a/var/spack/repos/builtin/packages/py-filemagic/package.py
+++ b/var/spack/repos/builtin/packages/py-filemagic/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,10 +10,8 @@ class PyFilemagic(PythonPackage):
"""A Python API for libmagic, the library behind the Unix file command"""
homepage = "https://filemagic.readthedocs.io/en/latest/"
- url = "https://pypi.io/packages/source/f/filemagic/filemagic-1.6.tar.gz"
+ pypi = "filemagic/filemagic-1.6.tar.gz"
version('1.6', sha256='e684359ef40820fe406f0ebc5bf8a78f89717bdb7fed688af68082d991d6dbf3')
depends_on('py-setuptools', type='build')
- depends_on('py-mock', type='test', when='^python@3:')
- depends_on('py-unittest2', type='test')
diff --git a/var/spack/repos/builtin/packages/py-filterpy/package.py b/var/spack/repos/builtin/packages/py-filterpy/package.py
new file mode 100644
index 0000000000..4e161722d0
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-filterpy/package.py
@@ -0,0 +1,22 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyFilterpy(PythonPackage):
+ """This library provides Kalman filtering and various
+ related optimal and non-optimal filtering software written
+ in Python."""
+
+ homepage = "https://github.com/rlabbe/filterpy/"
+ pypi = "filterpy/filterpy-1.4.5.zip"
+
+ version('1.4.5', sha256='4f2a4d39e4ea601b9ab42b2db08b5918a9538c168cff1c6895ae26646f3d73b1')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-numpy', type=('build', 'run'))
+ depends_on('py-scipy', type=('build', 'run'))
+ depends_on('py-matplotlib', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-fiona/package.py b/var/spack/repos/builtin/packages/py-fiona/package.py
index b4213d5f61..1365749c13 100644
--- a/var/spack/repos/builtin/packages/py-fiona/package.py
+++ b/var/spack/repos/builtin/packages/py-fiona/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,24 +7,28 @@ from spack import *
class PyFiona(PythonPackage):
- """Alternative Python binding for OGR"""
+ """Fiona reads and writes spatial data files."""
- homepage = "http://toblerity.org/fiona/"
- url = "https://pypi.io/packages/source/F/Fiona/Fiona-1.8.6.tar.gz"
+ homepage = "https://github.com/Toblerity/Fiona"
+ pypi = "Fiona/Fiona-1.8.18.tar.gz"
+ git = "https://github.com/Toblerity/Fiona.git"
maintainers = ['adamjstewart']
- import_modules = ['fiona', 'fiona.fio']
+ version('master', branch='master')
+ version('1.8.18', sha256='b732ece0ff8886a29c439723a3e1fc382718804bb057519d537a81308854967a')
version('1.8.6', sha256='fa31dfe8855b9cd0b128b47a4df558f1b8eda90d2181bff1dd9854e5556efb3e')
version('1.7.12', sha256='8b54eb8422d7c502bb7776b184018186bede1a489cf438a7a47f992ade6a0e51')
- depends_on('python@3:', type=('build', 'run'), when='@1.9:')
- depends_on('python@2.6:', type=('build', 'run'))
- depends_on('gdal@1.8:', type=('build', 'run'))
+ depends_on('python@3.6:', type=('build', 'link', 'run'), when='@1.9:')
+ depends_on('python@2.6:', type=('build', 'link', 'run'))
+ depends_on('gdal@1.11:', type=('build', 'link', 'run'), when='@1.9:')
+ depends_on('gdal@1.8:', type=('build', 'link', 'run'))
- depends_on('py-setuptools', type='build')
- depends_on('py-cython', type='build')
+ depends_on('py-setuptools', type=('build', 'run'))
+ depends_on('py-cython', type='build', when='@master')
depends_on('py-attrs@17:', type=('build', 'run'))
+ depends_on('py-certifi', type=('build', 'run'), when='@1.8.18')
depends_on('py-click@4:7', type=('build', 'run'))
depends_on('py-cligj@0.5:', type=('build', 'run'))
depends_on('py-click-plugins@1:', type=('build', 'run'))
@@ -33,7 +37,3 @@ class PyFiona(PythonPackage):
depends_on('py-argparse', type=('build', 'run'), when='^python@:2.6')
depends_on('py-ordereddict', type=('build', 'run'), when='^python@:2.6')
depends_on('py-enum34', type=('build', 'run'), when='^python@:3.3')
-
- def build_test(self):
- # PyPI tarball does not come with unit tests
- pass
diff --git a/var/spack/repos/builtin/packages/py-fiscalyear/package.py b/var/spack/repos/builtin/packages/py-fiscalyear/package.py
index 407caa7ce5..9b26ea824b 100644
--- a/var/spack/repos/builtin/packages/py-fiscalyear/package.py
+++ b/var/spack/repos/builtin/packages/py-fiscalyear/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,24 +8,23 @@ from spack import *
class PyFiscalyear(PythonPackage):
"""fiscalyear is a small, lightweight Python module providing helpful
- utilities for managing the fiscal calendar. It is designed as an extension
- of the built-in datetime and calendar modules, adding the ability to query
- the fiscal year and fiscal quarter of a date or datetime object."""
+ utilities for managing the fiscal calendar.
+
+ It is designed as an extension of the built-in datetime and calendar
+ modules, adding the ability to query the fiscal year, fiscal quarter,
+ fiscal month, and fiscal day of a date or datetime object."""
homepage = "https://github.com/adamjstewart/fiscalyear"
- url = "https://pypi.io/packages/source/f/fiscalyear/fiscalyear-0.2.0.tar.gz"
- git = "https://github.com/adamjstewart/fiscalyear.git"
+ pypi = "fiscalyear/fiscalyear-0.2.0.tar.gz"
+ git = "https://github.com/adamjstewart/fiscalyear.git"
maintainers = ['adamjstewart']
- import_modules = ['fiscalyear']
version('master', branch='master')
+ version('0.3.1', sha256='5964b4be71453c1fa5da804343cea866e0299aff874aa59ae186a8a9b9ff62d0')
+ version('0.3.0', sha256='64f97b3a0ab6b2857d09f0016bd3aae37646a454a5c2c66e907fef03ae54a816')
version('0.2.0', sha256='f513616aeb03046406c56d7c69cd9e26f6a12963c71c1410cc3d4532a5bfee71')
version('0.1.0', sha256='3fde4a12eeb72da446beb487e078adf1223a92d130520e589b82d7d1509701a2')
depends_on('python@2.5:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
-
- depends_on('py-pytest', type='test')
- depends_on('py-pytest-runner', type='test')
- depends_on('py-pytest-mock', type='test')
diff --git a/var/spack/repos/builtin/packages/py-fisher/package.py b/var/spack/repos/builtin/packages/py-fisher/package.py
index 45e0fc5110..776ba03af6 100644
--- a/var/spack/repos/builtin/packages/py-fisher/package.py
+++ b/var/spack/repos/builtin/packages/py-fisher/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,10 +12,9 @@ class PyFisher(PythonPackage):
Simple, fast implementation of Fisher's exact test."""
homepage = "https://github.com/brentp/fishers_exact_test"
- url = "https://pypi.io/packages/source/f/fisher/fisher-0.1.9.tar.gz"
+ pypi = "fisher/fisher-0.1.9.tar.gz"
version('0.1.9', sha256='d378b3f7e488e2a679c6d0e5ea1bce17bc931c2bfe8ec8424ee47a74f251968d')
depends_on('py-setuptools', type='build')
depends_on('py-numpy', type=('build', 'run'))
- depends_on('py-pytest', type='test')
diff --git a/var/spack/repos/builtin/packages/py-fits-tools/package.py b/var/spack/repos/builtin/packages/py-fits-tools/package.py
index 5127d88727..abe29b1a90 100644
--- a/var/spack/repos/builtin/packages/py-fits-tools/package.py
+++ b/var/spack/repos/builtin/packages/py-fits-tools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-fixtures/package.py b/var/spack/repos/builtin/packages/py-fixtures/package.py
index 2cc0362c4e..c594f7bf60 100644
--- a/var/spack/repos/builtin/packages/py-fixtures/package.py
+++ b/var/spack/repos/builtin/packages/py-fixtures/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyFixtures(PythonPackage):
"""Fixtures, reusable state for writing clean tests and more."""
homepage = "https://launchpad.net/python-fixtures"
- url = "https://pypi.io/packages/source/f/fixtures/fixtures-3.0.0.tar.gz"
+ pypi = "fixtures/fixtures-3.0.0.tar.gz"
version('3.0.0', sha256='fcf0d60234f1544da717a9738325812de1f42c2fa085e2d9252d8fff5712b2ef')
diff --git a/var/spack/repos/builtin/packages/py-flake8-import-order/package.py b/var/spack/repos/builtin/packages/py-flake8-import-order/package.py
index a93236e60f..f11c20ff95 100644
--- a/var/spack/repos/builtin/packages/py-flake8-import-order/package.py
+++ b/var/spack/repos/builtin/packages/py-flake8-import-order/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyFlake8ImportOrder(PythonPackage):
"""
homepage = "https://github.com/PyCQA/flake8-import-order"
- url = "https://pypi.io/packages/source/f/flake8-import-order/flake8-import-order-0.18.1.tar.gz"
+ pypi = "flake8-import-order/flake8-import-order-0.18.1.tar.gz"
version('0.18.1', sha256='a28dc39545ea4606c1ac3c24e9d05c849c6e5444a50fb7e9cdd430fc94de6e92')
diff --git a/var/spack/repos/builtin/packages/py-flake8-polyfill/package.py b/var/spack/repos/builtin/packages/py-flake8-polyfill/package.py
index cc61a2e936..882ba736c0 100644
--- a/var/spack/repos/builtin/packages/py-flake8-polyfill/package.py
+++ b/var/spack/repos/builtin/packages/py-flake8-polyfill/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyFlake8Polyfill(PythonPackage):
simultaneously.
"""
homepage = "https://gitlab.com/pycqa/flake8-polyfill"
- url = "https://pypi.io/packages/source/f/flake8-polyfill/flake8-polyfill-1.0.2.tar.gz"
+ pypi = "flake8-polyfill/flake8-polyfill-1.0.2.tar.gz"
version('1.0.2', sha256='e44b087597f6da52ec6393a709e7108b2905317d0c0b744cdca6208e670d8eda')
diff --git a/var/spack/repos/builtin/packages/py-flake8/package.py b/var/spack/repos/builtin/packages/py-flake8/package.py
index 4c585ee755..a0da2f0c38 100644
--- a/var/spack/repos/builtin/packages/py-flake8/package.py
+++ b/var/spack/repos/builtin/packages/py-flake8/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-flask-babel/package.py b/var/spack/repos/builtin/packages/py-flask-babel/package.py
new file mode 100644
index 0000000000..4d91e33c96
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-flask-babel/package.py
@@ -0,0 +1,22 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyFlaskBabel(PythonPackage):
+ """Implements i18n and l10n support for Flask."""
+
+ homepage = "https://pythonhosted.org/Flask-Babel/"
+ pypi = "Flask-Babel/Flask-Babel-2.0.0.tar.gz"
+
+ version('2.0.0', sha256='f9faf45cdb2e1a32ea2ec14403587d4295108f35017a7821a2b1acb8cfd9257d')
+
+ depends_on('python@3.5:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-flask', type=('build', 'run'))
+ depends_on('py-babel@2.3:', type=('build', 'run'))
+ depends_on('py-pytz', type=('build', 'run'))
+ depends_on('py-jinja2@2.5:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-flask-compress/package.py b/var/spack/repos/builtin/packages/py-flask-compress/package.py
index c8a2f4ea06..797f512740 100644
--- a/var/spack/repos/builtin/packages/py-flask-compress/package.py
+++ b/var/spack/repos/builtin/packages/py-flask-compress/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyFlaskCompress(PythonPackage):
responses with gzip."""
homepage = "https://github.com/libwilliam/flask-compress"
- url = "https://pypi.io/packages/source/F/Flask-Compress/Flask-Compress-1.4.0.tar.gz"
+ pypi = "Flask-Compress/Flask-Compress-1.4.0.tar.gz"
version('1.4.0', sha256='468693f4ddd11ac6a41bca4eb5f94b071b763256d54136f77957cfee635badb3')
diff --git a/var/spack/repos/builtin/packages/py-flask-cors/package.py b/var/spack/repos/builtin/packages/py-flask-cors/package.py
new file mode 100644
index 0000000000..625a9bc6ce
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-flask-cors/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyFlaskCors(PythonPackage):
+ """A Flask extension for handling Cross Origin Resource Sharing (CORS),
+ making cross-origin AJAX possible.
+ """
+
+ homepage = "https://flask-cors.corydolphin.com/en/latest/index.html"
+ pypi = "Flask-Cors/Flask-Cors-3.0.10.tar.gz"
+
+ version('3.0.10', sha256='b60839393f3b84a0f3746f6cdca56c1ad7426aa738b70d6c61375857823181de')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-flask@0.9:', type=('build', 'run'))
+ depends_on('py-six', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-flask-socketio/package.py b/var/spack/repos/builtin/packages/py-flask-socketio/package.py
index 5a31755694..a084643c4a 100644
--- a/var/spack/repos/builtin/packages/py-flask-socketio/package.py
+++ b/var/spack/repos/builtin/packages/py-flask-socketio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,7 +15,7 @@ class PyFlaskSocketio(PythonPackage):
"""
homepage = "https://flask-socketio.readthedocs.io"
- url = "https://pypi.io/packages/source/F/Flask-SocketIO/Flask-SocketIO-2.9.6.tar.gz"
+ pypi = "Flask-SocketIO/Flask-SocketIO-2.9.6.tar.gz"
version('2.9.6', sha256='f49edfd3a44458fbb9f7a04a57069ffc0c37f000495194f943a25d370436bb69')
diff --git a/var/spack/repos/builtin/packages/py-flask/package.py b/var/spack/repos/builtin/packages/py-flask/package.py
index 4be2b1e1e1..53f5c6d3be 100644
--- a/var/spack/repos/builtin/packages/py-flask/package.py
+++ b/var/spack/repos/builtin/packages/py-flask/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyFlask(PythonPackage):
"""A simple framework for building complex web applications."""
homepage = "https://palletsprojects.com/p/flask/"
- url = "https://pypi.io/packages/source/F/Flask/Flask-1.1.1.tar.gz"
+ pypi = "Flask/Flask-1.1.1.tar.gz"
version('1.1.2', sha256='4efa1ae2d7c9865af48986de8aeb8504bf32c7f3d6fdc9353d34b21f4b127060')
version('1.1.1', sha256='13f9f196f330c7c2c5d7a5cf91af894110ca0215ac051b5844701f2bfd934d52')
diff --git a/var/spack/repos/builtin/packages/py-flatten-dict/package.py b/var/spack/repos/builtin/packages/py-flatten-dict/package.py
new file mode 100644
index 0000000000..6b2eeb1d0a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-flatten-dict/package.py
@@ -0,0 +1,22 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+from spack import *
+
+
+class PyFlattenDict(PythonPackage):
+ """A flexible utility for flattening and unflattening dict-lik objects
+ in Python"""
+
+ homepage = "https://github.com/ianlini/flatten-dict"
+ pypi = "flatten-dict/flatten-dict-0.3.0.tar.gz"
+
+ version('0.3.0', sha256='0ccc43f15c7c84c5ef387ad19254f6769a32d170313a1bcbf4ce582089313d7e')
+
+ depends_on('python@2.7:2.8,3.5:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-six@1.12:1.999', type=('build', 'run'))
+ depends_on('py-pathlib2@2.3:2.999', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-flexx/package.py b/var/spack/repos/builtin/packages/py-flexx/package.py
index 127c97f1ad..f8ec0d645f 100644
--- a/var/spack/repos/builtin/packages/py-flexx/package.py
+++ b/var/spack/repos/builtin/packages/py-flexx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyFlexx(PythonPackage):
"""Write desktop and web apps in pure Python."""
homepage = "http://flexx.readthedocs.io"
- url = "https://pypi.io/packages/source/f/flexx/flexx-0.4.1.zip"
+ pypi = "flexx/flexx-0.4.1.zip"
version('0.4.1', sha256='54be868f01d943018d0907821f2562f6eb31c568b3932abfd8518f75c29b8be1')
diff --git a/var/spack/repos/builtin/packages/py-flufl-lock/package.py b/var/spack/repos/builtin/packages/py-flufl-lock/package.py
new file mode 100644
index 0000000000..70b57ff62f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-flufl-lock/package.py
@@ -0,0 +1,24 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+from spack import *
+
+
+class PyFluflLock(PythonPackage):
+ """NFS-safe file locking with timeouts for POSIX and Windows"""
+
+ homepage = "https://fluflock.readthedocs.io"
+ pypi = "flufl.lock/flufl.lock-5.0.4.tar.gz"
+
+ version('5.0.4', sha256='09ffef831d57c4d182e398e97bb74ad8c8ffbd1710175a5a0b0f057095db12f1')
+ version('5.0.3', sha256='94df161caa489d74afc26df8c0b640770923ecc0c6c5d331fbeabe7b91d306cb')
+ version('3.2', sha256='a8d66accc9ab41f09961cd8f8db39f9c28e97e2769659a3567c63930a869ff5b')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-atpublic', type=('build', 'run'))
+ depends_on('py-psutil', type=('build', 'run'))
+ depends_on('py-typing-extensions', when='^python@:3.7.999', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-flye/package.py b/var/spack/repos/builtin/packages/py-flye/package.py
index be8821ca27..2105f86f73 100644
--- a/var/spack/repos/builtin/packages/py-flye/package.py
+++ b/var/spack/repos/builtin/packages/py-flye/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-fn-py/package.py b/var/spack/repos/builtin/packages/py-fn-py/package.py
index bc8e2f85a0..aa26aec47c 100644
--- a/var/spack/repos/builtin/packages/py-fn-py/package.py
+++ b/var/spack/repos/builtin/packages/py-fn-py/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-fortran-language-server/package.py b/var/spack/repos/builtin/packages/py-fortran-language-server/package.py
index dcb2344977..b0154d9655 100644
--- a/var/spack/repos/builtin/packages/py-fortran-language-server/package.py
+++ b/var/spack/repos/builtin/packages/py-fortran-language-server/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-fortranformat/package.py b/var/spack/repos/builtin/packages/py-fortranformat/package.py
index d193494b6a..7170833816 100644
--- a/var/spack/repos/builtin/packages/py-fortranformat/package.py
+++ b/var/spack/repos/builtin/packages/py-fortranformat/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,6 +10,6 @@ class PyFortranformat(PythonPackage):
"""Mimics Fortran textual IO in Python"""
homepage = "http://bitbucket.org/brendanarnold/py-fortranformat"
- url = "https://pypi.io/packages/source/f/fortranformat/fortranformat-0.2.5.tar.gz"
+ pypi = "fortranformat/fortranformat-0.2.5.tar.gz"
version('0.2.5', sha256='6b5fbc1f129c7a70543c3a81f334fb4d57f07df2834b22ce69f6d7e8539cd3f9')
diff --git a/var/spack/repos/builtin/packages/py-fparser/package.py b/var/spack/repos/builtin/packages/py-fparser/package.py
index e83f4b78ac..553e7cc4e7 100644
--- a/var/spack/repos/builtin/packages/py-fparser/package.py
+++ b/var/spack/repos/builtin/packages/py-fparser/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-fprettify/package.py b/var/spack/repos/builtin/packages/py-fprettify/package.py
index 404c688b09..3855af1d06 100644
--- a/var/spack/repos/builtin/packages/py-fprettify/package.py
+++ b/var/spack/repos/builtin/packages/py-fprettify/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyFprettify(PythonPackage):
Python."""
homepage = "https://github.com/pseewald/fprettify"
- url = "https://pypi.io/packages/source/f/fprettify/fprettify-0.3.6.tar.gz"
+ pypi = "fprettify/fprettify-0.3.6.tar.gz"
version('0.3.6', sha256='5ee954763eba2bc54ee7444c1f592944f1c1933223bb0c07957d60d44f7f0b75')
diff --git a/var/spack/repos/builtin/packages/py-freezegun/package.py b/var/spack/repos/builtin/packages/py-freezegun/package.py
index 3329c975bc..7ad47c106e 100644
--- a/var/spack/repos/builtin/packages/py-freezegun/package.py
+++ b/var/spack/repos/builtin/packages/py-freezegun/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,9 +11,7 @@ class PyFreezegun(PythonPackage):
through time by mocking the datetime module."""
homepage = "https://github.com/spulec/freezegun"
- url = "https://pypi.io/packages/source/f/freezegun/freezegun-0.3.12.tar.gz"
-
- import_modules = ['freezegun']
+ pypi = "freezegun/freezegun-0.3.12.tar.gz"
version('0.3.12', sha256='2a4d9c8cd3c04a201e20c313caf8b6338f1cfa4cda43f46a94cc4a9fd13ea5e7')
@@ -21,5 +19,3 @@ class PyFreezegun(PythonPackage):
depends_on('py-six', type=('build', 'run'))
depends_on('py-python-dateutil@1.0:1.999', type=('build', 'run'), when='^python@:2')
depends_on('py-python-dateutil@2:', type=('build', 'run'), when='^python@3:')
- depends_on('py-mock', type='test')
- depends_on('py-nose', type='test')
diff --git a/var/spack/repos/builtin/packages/py-fsspec/package.py b/var/spack/repos/builtin/packages/py-fsspec/package.py
index bf82fc803a..2fcf0beb63 100644
--- a/var/spack/repos/builtin/packages/py-fsspec/package.py
+++ b/var/spack/repos/builtin/packages/py-fsspec/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,9 +10,7 @@ class PyFsspec(PythonPackage):
"""A specification for pythonic filesystems."""
homepage = "https://github.com/intake/filesystem_spec"
- url = "https://pypi.io/packages/source/f/fsspec/fsspec-0.4.4.tar.gz"
-
- import_modules = ['fsspec', 'fsspec.implementations']
+ pypi = "fsspec/fsspec-0.4.4.tar.gz"
version('0.7.3', sha256='1b540552c93b47e83c568e87507d6e02993e6d1b30bc7285f2336c81c5014103')
version('0.4.4', sha256='97697a46e8bf8be34461c2520d6fc4bfca0ed749b22bb2b7c21939fd450a7d63')
diff --git a/var/spack/repos/builtin/packages/py-ftfy/package.py b/var/spack/repos/builtin/packages/py-ftfy/package.py
new file mode 100644
index 0000000000..3d1594f80d
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-ftfy/package.py
@@ -0,0 +1,20 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+from spack import *
+
+
+class PyFtfy(PythonPackage):
+ """Fixes Unicode that's broken in various ways."""
+
+ homepage = "https://ftfy.readthedocs.io"
+ pypi = "ftfy/ftfy-5.8.tar.gz"
+
+ version('5.8', sha256='51c7767f8c4b47d291fcef30b9625fb5341c06a31e6a3b627039c706c42f3720')
+
+ depends_on('python@3.5:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-wcwidth', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-funcsigs/package.py b/var/spack/repos/builtin/packages/py-funcsigs/package.py
index ec53173d15..56c8ed60bc 100644
--- a/var/spack/repos/builtin/packages/py-funcsigs/package.py
+++ b/var/spack/repos/builtin/packages/py-funcsigs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,13 +9,9 @@ from spack import *
class PyFuncsigs(PythonPackage):
"""Python function signatures from PEP362 for Python 2.6, 2.7 and 3.2."""
- homepage = "https://pypi.python.org/pypi/funcsigs"
- url = "https://pypi.io/packages/source/f/funcsigs/funcsigs-1.0.2.tar.gz"
-
- import_modules = ['funcsigs']
+ pypi = "funcsigs/funcsigs-1.0.2.tar.gz"
version('1.0.2', sha256='a7bb0f2cf3a3fd1ab2732cb49eba4252c2af4240442415b4abce3b87022a8f50')
version('0.4', sha256='d83ce6df0b0ea6618700fe1db353526391a8a3ada1b7aba52fed7a61da772033')
depends_on('py-setuptools@17.1:', type='build')
- depends_on('py-unittest2', type='test')
diff --git a/var/spack/repos/builtin/packages/py-functools32/package.py b/var/spack/repos/builtin/packages/py-functools32/package.py
index bcec6385a8..6dd79b73fd 100644
--- a/var/spack/repos/builtin/packages/py-functools32/package.py
+++ b/var/spack/repos/builtin/packages/py-functools32/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,6 +11,6 @@ class PyFunctools32(PythonPackage):
PyPy."""
homepage = "https://github.com/MiCHiLU/python-functools32"
- url = "https://pypi.io/packages/source/f/functools32/functools32-3.2.3-2.tar.gz"
+ pypi = "functools32/functools32-3.2.3-2.tar.gz"
version('3.2.3-2', sha256='f6253dfbe0538ad2e387bd8fdfd9293c925d63553f5813c4e587745416501e6d')
diff --git a/var/spack/repos/builtin/packages/py-funcy/package.py b/var/spack/repos/builtin/packages/py-funcy/package.py
new file mode 100644
index 0000000000..e918f2e3d2
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-funcy/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyFuncy(PythonPackage):
+ """A collection of fancy functional tools focused on practicality"""
+
+ homepage = "https://funcy.readthedocs.io"
+ pypi = "funcy/funcy-1.15.tar.gz"
+
+ version('1.15', sha256='65b746fed572b392d886810a98d56939c6e0d545abb750527a717c21ced21008')
+ version('1.14', sha256='75ee84c3b446f92e68a857c2267b15a1b49c631c9d5a87a5f063cd2d6761a5c4')
+
+ depends_on('python@2.7.0:2.7.999,3.4:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
diff --git a/var/spack/repos/builtin/packages/py-fusepy/package.py b/var/spack/repos/builtin/packages/py-fusepy/package.py
index c9df4ba5ba..2c3ba9a971 100644
--- a/var/spack/repos/builtin/packages/py-fusepy/package.py
+++ b/var/spack/repos/builtin/packages/py-fusepy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyFusepy(PythonPackage):
MacFUSE. It's just one file and is implemented using ctypes."""
homepage = "https://github.com/fusepy/fusepy"
- url = "https://pypi.io/packages/source/f/fusepy/fusepy-3.0.1.tar.gz"
+ pypi = "fusepy/fusepy-3.0.1.tar.gz"
version('3.0.1', sha256='72ff783ec2f43de3ab394e3f7457605bf04c8cf288a2f4068b4cde141d4ee6bd')
version('2.0.4', sha256='10f5c7f5414241bffecdc333c4d3a725f1d6605cae6b4eaf86a838ff49cdaf6c')
diff --git a/var/spack/repos/builtin/packages/py-future/package.py b/var/spack/repos/builtin/packages/py-future/package.py
index af2bce85f0..0f6a65007b 100644
--- a/var/spack/repos/builtin/packages/py-future/package.py
+++ b/var/spack/repos/builtin/packages/py-future/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyFuture(PythonPackage):
"""Clean single-source support for Python 3 and 2"""
homepage = "https://python-future.org/"
- url = "https://pypi.io/packages/source/f/future/future-0.18.2.tar.gz"
+ pypi = "future/future-0.18.2.tar.gz"
version('0.18.2', sha256='b1bead90b70cf6ec3f0710ae53a525360fa360d306a86583adc6bf83a4db537d')
version('0.17.1', sha256='67045236dcfd6816dc439556d009594abf643e5eb48992e36beac09c2ca659b8')
@@ -21,3 +21,29 @@ class PyFuture(PythonPackage):
depends_on('py-setuptools', type='build')
depends_on('py-importlib', type=('build', 'run'), when='^python@:2.6')
depends_on('py-argparse', type=('build', 'run'), when='^python@:2.6')
+
+ @property
+ def import_modules(self):
+ modules = [
+ 'copyreg', '_thread', 'past', 'past.types', 'past.translation',
+ 'past.utils', 'past.builtins', 'reprlib', 'html', 'builtins',
+ 'http', '_dummy_thread', 'queue', 'xmlrpc', 'libfuturize',
+ 'libfuturize.fixes', 'future', 'future.moves', 'future.moves.test',
+ 'future.moves.urllib', 'future.moves.html', 'future.moves.http',
+ 'future.moves.dbm', 'future.moves.xmlrpc', 'future.types',
+ 'future.tests', 'future.utils', 'future.builtins',
+ 'future.backports', 'future.backports.test',
+ 'future.backports.urllib', 'future.backports.html',
+ 'future.backports.http', 'future.backports.xmlrpc',
+ 'future.backports.email', 'future.backports.email.mime',
+ 'future.standard_library', 'libpasteurize', 'libpasteurize.fixes',
+ 'socketserver', '_markupbase'
+ ]
+
+ if 'platform=windows' in self.spec:
+ modules.append('winreg')
+
+ if '+tkinter' in self.spec['python']:
+ modules.extend(['tkinter', 'future.moves.tkinter'])
+
+ return modules
diff --git a/var/spack/repos/builtin/packages/py-futures/package.py b/var/spack/repos/builtin/packages/py-futures/package.py
index 5d3c82aacd..6556c510b8 100644
--- a/var/spack/repos/builtin/packages/py-futures/package.py
+++ b/var/spack/repos/builtin/packages/py-futures/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyFutures(PythonPackage):
"""Backport of the concurrent.futures package from Python 3.2"""
- homepage = "https://pypi.python.org/pypi/futures"
- url = "https://pypi.io/packages/source/f/futures/futures-3.0.5.tar.gz"
+ pypi = "futures/futures-3.0.5.tar.gz"
version('3.2.0', sha256='9ec02aa7d674acb8618afb127e27fde7fc68994c0437ad759fa094a574adb265')
version('3.0.5', sha256='0542525145d5afc984c88f914a0c85c77527f65946617edb5274f72406f981df')
diff --git a/var/spack/repos/builtin/packages/py-fypp/package.py b/var/spack/repos/builtin/packages/py-fypp/package.py
index e28f8b5250..bdaab57c5d 100644
--- a/var/spack/repos/builtin/packages/py-fypp/package.py
+++ b/var/spack/repos/builtin/packages/py-fypp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-gast/package.py b/var/spack/repos/builtin/packages/py-gast/package.py
index c69b9bc475..688fd260ac 100644
--- a/var/spack/repos/builtin/packages/py-gast/package.py
+++ b/var/spack/repos/builtin/packages/py-gast/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyGast(PythonPackage):
"""Python AST that abstracts the underlying Python version"""
homepage = "https://github.com/serge-sans-paille/gast"
- url = "https://pypi.io/packages/source/g/gast/gast-0.3.2.tar.gz"
+ pypi = "gast/gast-0.3.2.tar.gz"
version('0.3.3', sha256='b881ef288a49aa81440d2c5eb8aeefd4c2bb8993d5f50edae7413a85bfdb3b57')
version('0.3.2', sha256='5c7617f1f6c8b8b426819642b16b9016727ddaecd16af9a07753e537eba8a3a5')
diff --git a/var/spack/repos/builtin/packages/py-gcovr/package.py b/var/spack/repos/builtin/packages/py-gcovr/package.py
index f5110bf31b..181f0b6d68 100644
--- a/var/spack/repos/builtin/packages/py-gcovr/package.py
+++ b/var/spack/repos/builtin/packages/py-gcovr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class PyGcovr(PythonPackage):
Python."""
homepage = "https://gcovr.com/"
- url = "https://pypi.io/packages/source/g/gcovr/gcovr-4.2.tar.gz"
+ pypi = "gcovr/gcovr-4.2.tar.gz"
version('4.2', sha256='5aae34dc81e51600cfecbbbce3c3a80ce3f7548bc0aa1faa4b74ecd18f6fca3f')
diff --git a/var/spack/repos/builtin/packages/py-gdbgui/package.py b/var/spack/repos/builtin/packages/py-gdbgui/package.py
index 551e0ef206..2bac7009ea 100644
--- a/var/spack/repos/builtin/packages/py-gdbgui/package.py
+++ b/var/spack/repos/builtin/packages/py-gdbgui/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyGdbgui(PythonPackage):
"""gdbgui is a modern, free, browser-based frontend to gdb"""
homepage = "https://gdbgui.com"
- url = "https://pypi.io/packages/source/g/gdbgui/gdbgui-0.11.2.1.tar.gz"
+ pypi = "gdbgui/gdbgui-0.11.2.1.tar.gz"
version('0.13.2.0', sha256='80e347a08b8cc630ab9f68482a1ed92c844fbfde46dc21fd39f3e6ef14b72e54')
version('0.11.2.1', sha256='280945a37414c31a798f68f70c1bffbedd12dfb0ce77418357e7d42b667491c7')
diff --git a/var/spack/repos/builtin/packages/py-gdc-client/package.py b/var/spack/repos/builtin/packages/py-gdc-client/package.py
index 37bae78010..15f84364e6 100644
--- a/var/spack/repos/builtin/packages/py-gdc-client/package.py
+++ b/var/spack/repos/builtin/packages/py-gdc-client/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-gee-asset-manager/package.py b/var/spack/repos/builtin/packages/py-gee-asset-manager/package.py
index f32108bccd..d67224ee90 100644
--- a/var/spack/repos/builtin/packages/py-gee-asset-manager/package.py
+++ b/var/spack/repos/builtin/packages/py-gee-asset-manager/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -22,6 +22,5 @@ class PyGeeAssetManager(PythonPackage):
depends_on('py-retrying@1.3.3:', type=('build', 'run'))
depends_on('py-beautifulsoup4@4.5.1:', type=('build', 'run'))
depends_on('py-requests-toolbelt@0.7.0:', type=('build', 'run'))
- depends_on('py-pytest@3.0.0:', type=('build', 'test'))
depends_on('py-future@0.16.0:', type=('build', 'run'))
depends_on('py-google-cloud-storage@1.1.1:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-geeadd/package.py b/var/spack/repos/builtin/packages/py-geeadd/package.py
index 78c260243b..aa47e37cbe 100644
--- a/var/spack/repos/builtin/packages/py-geeadd/package.py
+++ b/var/spack/repos/builtin/packages/py-geeadd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyGeeadd(PythonPackage):
"""Google Earth Engine Batch Assets Manager with Addons."""
homepage = "https://github.com/samapriya/gee_asset_manager_addon"
- url = "https://pypi.io/packages/source/g/geeadd/geeadd-0.3.0.tar.gz"
+ pypi = "geeadd/geeadd-0.3.0.tar.gz"
version('0.3.0', sha256='591e6ff2847122598ed5b0452a892a76e332ce227d4ba75e4d03eca2c7a4beea')
@@ -22,7 +22,6 @@ class PyGeeadd(PythonPackage):
depends_on('py-clipboard@0.0.4:', type=('build', 'run'))
depends_on('py-beautifulsoup4@4.5.1:', type=('build', 'run'))
depends_on('py-requests-toolbelt@0.7.0:', type=('build', 'run'))
- depends_on('py-pytest@3.0.0:', type=('build', 'test'))
depends_on('py-future@0.16.0:', type=('build', 'run'))
depends_on('py-google-cloud-storage@1.1.1:', type=('build', 'run'))
depends_on('py-oauth2client@4.1.3:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-geeup/package.py b/var/spack/repos/builtin/packages/py-geeup/package.py
index 6ac2cc37d0..e0b2f3975f 100644
--- a/var/spack/repos/builtin/packages/py-geeup/package.py
+++ b/var/spack/repos/builtin/packages/py-geeup/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyGeeup(PythonPackage):
"""Simple Client for Earth Engine Uploads with Selenium Support."""
homepage = "https://github.com/samapriya/geeup"
- url = "https://pypi.io/packages/source/g/geeup/geeup-0.2.4.tar.gz"
+ pypi = "geeup/geeup-0.2.4.tar.gz"
version('0.2.4', sha256='20f62306ea900d7fa28a97cc92204716212dc030c50a6ac8214772a61a1a83fe')
diff --git a/var/spack/repos/builtin/packages/py-gemini/package.py b/var/spack/repos/builtin/packages/py-gemini/package.py
new file mode 100644
index 0000000000..cbb26e77e3
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-gemini/package.py
@@ -0,0 +1,58 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyGemini(PythonPackage):
+ """GEMINI (GEnome MINIng) is a flexible framework for exploring genetic
+ variation in the context of the wealth of genome annotations available
+ for the human genome.
+ """
+
+ homepage = "https://gemini.readthedocs.org"
+ url = "https://github.com/arq5x/gemini/archive/v0.30.2.tar.gz"
+
+ maintainers = ['robqiao']
+
+ version('0.30.2', sha256='c7af06a4cc475a846aeeb3cd7fcfb39d6cdd0b76e3b07abab2e5e6e68a3fe431')
+ version('0.30.1', sha256='af835ca33bc6d7865def2467c34cb1d539ec542f9514044435bd2252b25a046d')
+ version('0.30.0', sha256='a55d0c77342bf650f7e1300cb6ba485407ea3b42f4137a5197248d397a026030')
+ version('0.20.1', sha256='cd84aa45ace7a9ffb13ba4176122eab5b9fcc0445b1c0944ecec017f88f2b7f1')
+ version('0.20.0', sha256='640b40186fa00f54c1a0cdfab3fc3076b1d3bdf5c6327fcb2a0c51aa1b05878b')
+ version('0.19.1', sha256='1154bcb48b1bc78819c5a5e710f5cb0747b01fa0f3113e6081a5a2747c8703e5')
+ version('0.19.0', sha256='5146d1b5ed52139c50473aa3625d8df29f2db6d198cfd2c966469e7d585cccf2')
+ version('0.18.3', sha256='7c2f99069385547c656021fbb43e0bae4f9fb8a56ad3f6a61235b44fbc1ba6eb')
+ version('0.18.2', sha256='cf8a83d48d966a800aa2569076d52c307f4d8264a6ae804c176d61e705c0017e')
+ version('0.18.1', sha256='1d3d3b9d47555e1f62c1a870d8fd2ecbfc0bed25910cab31af5b585db3144a68')
+
+ depends_on('python@2.5:2.8', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('tabix', type=('build', 'run'))
+ depends_on('grabix', type=('build', 'run'))
+ depends_on('bedtools2', type=('build', 'run'))
+
+ depends_on('py-numpy@1.7.1:', type=('build', 'run'))
+ depends_on('py-inheritance@0.1.3:', type=('build', 'run'))
+ depends_on('py-geneimpacts@0.1.3:', type=('build', 'run'))
+ depends_on('py-cython@0.22.1:', type=('build', 'run'))
+ depends_on('py-sqlalchemy@1:', type=('build', 'run'))
+ depends_on('py-pysam@0.6:', type=('build', 'run'))
+ depends_on('py-cyvcf2@0.7.2:', type=('build', 'run'))
+ depends_on('py-pyyaml@3.10:', type=('build', 'run'))
+ depends_on('py-pybedtools@0.6.2:', type=('build', 'run'))
+ depends_on('py-jinja2@2.7.1:', type=('build', 'run'))
+ depends_on('py-networkx@1.10:', type=('build', 'run'))
+ depends_on('py-bottle@0.11.6:', type=('build', 'run'))
+ depends_on('py-ipyparallel@4.0:', type=('build', 'run'))
+ depends_on('py-ipython-cluster-helper@0.5.1:', type=('build', 'run'))
+ depends_on('py-bx-python@0.7.1:', type=('build', 'run'))
+ depends_on('py-pandas@0.11.0:', type=('build', 'run'))
+ depends_on('py-openpyxl@1.6.1:1.999', type=('build', 'run'))
+ depends_on('py-scipy@0.12.0:', type=('build', 'run'))
+ depends_on('py-unidecode@0.04.14:', type=('build', 'run'))
+ depends_on('py-cyordereddict@0.2.2', type=('build', 'run'))
+ depends_on('py-bcolz@0.11.3:', type=('build', 'run'))
+ depends_on('py-numexpr@2.4.3:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-genders/package.py b/var/spack/repos/builtin/packages/py-genders/package.py
index 33452991fd..f6f34137c0 100644
--- a/var/spack/repos/builtin/packages/py-genders/package.py
+++ b/var/spack/repos/builtin/packages/py-genders/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-geneimpacts/package.py b/var/spack/repos/builtin/packages/py-geneimpacts/package.py
index a5ef2fa91e..f38824a074 100644
--- a/var/spack/repos/builtin/packages/py-geneimpacts/package.py
+++ b/var/spack/repos/builtin/packages/py-geneimpacts/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-genshi/package.py b/var/spack/repos/builtin/packages/py-genshi/package.py
index e43cf5d6e1..30d2efa821 100644
--- a/var/spack/repos/builtin/packages/py-genshi/package.py
+++ b/var/spack/repos/builtin/packages/py-genshi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-gensim/package.py b/var/spack/repos/builtin/packages/py-gensim/package.py
index fe3e4a192c..ad3c4d68bf 100644
--- a/var/spack/repos/builtin/packages/py-gensim/package.py
+++ b/var/spack/repos/builtin/packages/py-gensim/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyGensim(PythonPackage):
language processing (NLP) and information retrieval (IR) community."""
homepage = "https://radimrehurek.com/gensim"
- url = "https://pypi.io/packages/source/g/gensim/gensim-3.8.1.tar.gz"
+ pypi = "gensim/gensim-3.8.1.tar.gz"
maintainers = ['adamjstewart']
diff --git a/var/spack/repos/builtin/packages/py-geoalchemy2/package.py b/var/spack/repos/builtin/packages/py-geoalchemy2/package.py
index dad20c8e16..d8a0903013 100644
--- a/var/spack/repos/builtin/packages/py-geoalchemy2/package.py
+++ b/var/spack/repos/builtin/packages/py-geoalchemy2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyGeoalchemy2(PythonPackage):
"""Using SQLAlchemy with Spatial Databases"""
homepage = "https://geoalchemy-2.readthedocs.io/en/latest"
- url = "https://pypi.io/packages/source/G/GeoAlchemy2/GeoAlchemy2-0.6.3.tar.gz"
+ pypi = "GeoAlchemy2/GeoAlchemy2-0.6.3.tar.gz"
version('0.6.3', sha256='4dc4c6c2bda0fc82cccab4aaff185a6570e13a5351d85e29e12984a55d4138ee')
version('0.4.2', sha256='17fa10b0c01bd2ab036ea56975dfa850098aa394a5d6ee04d88b2aefc16751cb')
@@ -20,9 +20,3 @@ class PyGeoalchemy2(PythonPackage):
depends_on('py-setuptools', type='build')
depends_on('py-sqlalchemy@0.8:', type=('build', 'run'))
depends_on('py-shapely@1.3.0:', type=('build', 'run'), when='+dev')
-
- depends_on('py-pycodestyle@2.2.0', type='test')
- depends_on('py-flake8@3.2.0', type='test')
- depends_on('py-pytest@3.7.4', type='test', when='@0.6.3')
- depends_on('py-pytest@3.1.3', type='test', when='@0.4.2')
- depends_on('py-pytest-cov@2.5.1', type='test')
diff --git a/var/spack/repos/builtin/packages/py-geographiclib/package.py b/var/spack/repos/builtin/packages/py-geographiclib/package.py
new file mode 100644
index 0000000000..f1a16e0c7a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-geographiclib/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyGeographiclib(PythonPackage):
+ """The geodesic routines from GeographicLib."""
+
+ homepage = "https://geographiclib.sourceforge.io/1.50/python"
+ pypi = "geographiclib/geographiclib-1.50.tar.gz"
+
+ maintainers = ['adamjstewart']
+
+ version('1.50', sha256='12bd46ee7ec25b291ea139b17aa991e7ef373e21abd053949b75c0e9ca55c632')
+
+ depends_on('py-setuptools', type='build')
diff --git a/var/spack/repos/builtin/packages/py-geopandas/package.py b/var/spack/repos/builtin/packages/py-geopandas/package.py
index 3373e961e5..1522bf497d 100644
--- a/var/spack/repos/builtin/packages/py-geopandas/package.py
+++ b/var/spack/repos/builtin/packages/py-geopandas/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,24 +13,28 @@ class PyGeopandas(PythonPackage):
performed by shapely. Geopandas further depends on fiona for file access
and descartes and matplotlib for plotting."""
- homepage = "http://geopandas.org/"
- url = "https://pypi.io/packages/source/g/geopandas/geopandas-0.5.0.tar.gz"
+ homepage = "https://geopandas.org/"
+ pypi = "geopandas/geopandas-0.8.1.tar.gz"
+ git = "https://github.com/geopandas/geopandas.git"
maintainers = ['adamjstewart']
- import_modules = [
- 'geopandas', 'geopandas.io', 'geopandas.tools', 'geopandas.datasets'
- ]
+ version('master', branch='master')
+ version('0.8.2', sha256='aa9ae82e4e6b52efa244bd4b8bd2363d66693e5592ad1a0f52b6afa8c36348cb')
+ version('0.8.1', sha256='e28a729e44ac53c1891b54b1aca60e3bc0bb9e88ad0f2be8e301a03b9510f6e2')
version('0.5.0', sha256='d075d2ab61a502ab92ec6b72aaf9610a1340ec24ed07264fcbdbe944b9e68954')
version('0.4.0', sha256='9f5d24d23f33e6d3267a633025e4d9e050b3a1e86d41a96d3ccc5ad95afec3db')
version('0.3.0', sha256='e63bb32a3e516d8c9bcd149c22335575defdc5896c8bdf15c836608f152a920b')
- variant('plotting', default=False, description='Include dependencies required for plotting')
-
+ depends_on('python@3.5:', type=('build', 'run'), when='@0.7:')
+ depends_on('python@3.6:', type=('build', 'run'), when='@0.9:')
depends_on('py-setuptools', type='build')
depends_on('py-pandas', type=('build', 'run'))
+ depends_on('py-pandas@0.23.0:', type=('build', 'run'), when='@0.6:')
+ depends_on('py-pandas@0.24.0:', type=('build', 'run'), when='@0.9:')
depends_on('py-shapely', type=('build', 'run'))
+ depends_on('py-shapely@1.6:', type=('build', 'run'), when='@0.9:')
depends_on('py-fiona', type=('build', 'run'))
+ depends_on('py-fiona@1.8:', type=('build', 'run'), when='@0.9:')
depends_on('py-pyproj', type=('build', 'run'))
- depends_on('py-descartes', type=('build', 'run'), when='+plotting')
- depends_on('py-matplotlib', type=('build', 'run'), when='+plotting')
+ depends_on('py-pyproj@2.2.0:', type=('build', 'run'), when='@0.7:')
diff --git a/var/spack/repos/builtin/packages/py-geoplot/package.py b/var/spack/repos/builtin/packages/py-geoplot/package.py
new file mode 100644
index 0000000000..90a3893c19
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-geoplot/package.py
@@ -0,0 +1,31 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyGeoplot(PythonPackage):
+ """geoplot is a high-level Python geospatial plotting library.
+
+ It's an extension to cartopy and matplotlib which makes mapping easy:
+ like seaborn for geospatial."""
+
+ homepage = "https://github.com/ResidentMario/geoplot"
+ pypi = "geoplot/geoplot-0.4.1.tar.gz"
+
+ maintainers = ['adamjstewart']
+
+ version('0.4.1', sha256='eb073436c5a1cb7f97caa217cdb109e6cad4f3774e657757005e3f0f5a3183ca')
+
+ depends_on('python@3.6.0:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-matplotlib', type=('build', 'run'))
+ depends_on('py-seaborn', type=('build', 'run'))
+ depends_on('py-pandas', type=('build', 'run'))
+ depends_on('py-geopandas', type=('build', 'run'))
+ depends_on('py-cartopy', type=('build', 'run'))
+ depends_on('py-descartes', type=('build', 'run'))
+ depends_on('py-mapclassify@2.1:', type=('build', 'run'))
+ depends_on('py-contextily@1.0.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-geopy/package.py b/var/spack/repos/builtin/packages/py-geopy/package.py
new file mode 100644
index 0000000000..89a0075536
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-geopy/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyGeopy(PythonPackage):
+ """geopy is a Python client for several popular geocoding web services."""
+
+ homepage = "https://github.com/geopy/geopy"
+ pypi = "geopy/geopy-2.1.0.tar.gz"
+
+ maintainers = ['adamjstewart']
+
+ version('2.1.0', sha256='892b219413e7955587b029949af3a1949c6fbac9d5ad17b79d850718f6a9550f')
+
+ depends_on('python@3.5:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-geographiclib@1.49:1.999', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-gevent/package.py b/var/spack/repos/builtin/packages/py-gevent/package.py
index e1f28b445b..a7bf95a17b 100644
--- a/var/spack/repos/builtin/packages/py-gevent/package.py
+++ b/var/spack/repos/builtin/packages/py-gevent/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyGevent(PythonPackage):
"""gevent is a coroutine-based Python networking library."""
homepage = "http://www.gevent.org"
- url = "https://pypi.io/packages/source/g/gevent/gevent-1.3a2.tar.gz"
+ pypi = "gevent/gevent-1.3a2.tar.gz"
version('1.3a2', sha256='f7ab82697111ea233c7beeadf5240f669dfad9c4bbc89a3ec80a49e2c48a65bd')
diff --git a/var/spack/repos/builtin/packages/py-gf256/package.py b/var/spack/repos/builtin/packages/py-gf256/package.py
index 9527477a3f..be7051abcc 100644
--- a/var/spack/repos/builtin/packages/py-gf256/package.py
+++ b/var/spack/repos/builtin/packages/py-gf256/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-git-review/package.py b/var/spack/repos/builtin/packages/py-git-review/package.py
index 5f4caa3b5c..5be8c82c75 100644
--- a/var/spack/repos/builtin/packages/py-git-review/package.py
+++ b/var/spack/repos/builtin/packages/py-git-review/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyGitReview(PythonPackage):
"""git-review is a tool that helps submitting git branches to gerrit"""
homepage = "http://docs.openstack.org/infra/git-review"
- url = "https://pypi.io/packages/source/g/git-review/git-review-1.25.0.tar.gz"
+ pypi = "git-review/git-review-1.25.0.tar.gz"
version('1.28.0', sha256='8e3aabb7b9484063e49c2504d137609401e32ad5128ff2a5cf43e98d5d3dc15a')
version('1.26.0', sha256='487c3c1d7cc81d02b303a1245e432579f683695c827ad454685b3953f70f0b94')
@@ -22,7 +22,6 @@ class PyGitReview(PythonPackage):
depends_on('py-pbr', type=('build', 'run'))
depends_on('py-requests@1.1:', type=('build', 'run'))
depends_on('git', type=('run'))
- depends_on('tk', type=('run'))
def setup_run_environment(self, env):
env.set('PBR_VERSION', str(self.spec.version))
diff --git a/var/spack/repos/builtin/packages/py-gitdb/package.py b/var/spack/repos/builtin/packages/py-gitdb/package.py
index 50670dbcbf..0af83c876c 100644
--- a/var/spack/repos/builtin/packages/py-gitdb/package.py
+++ b/var/spack/repos/builtin/packages/py-gitdb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyGitdb(PythonPackage):
to git repositories."""
homepage = "https://gitdb.readthedocs.io"
- url = "https://pypi.io/packages/source/g/gitdb/gitdb-4.0.5.tar.gz"
+ pypi = "gitdb/gitdb-4.0.5.tar.gz"
version('4.0.5', sha256='c9e1f2d0db7ddb9a704c2a0217be31214e91a4fe1dea1efad19ae42ba0c285c9')
diff --git a/var/spack/repos/builtin/packages/py-gitpython/package.py b/var/spack/repos/builtin/packages/py-gitpython/package.py
index 8e75089c46..1dbadb69d1 100644
--- a/var/spack/repos/builtin/packages/py-gitpython/package.py
+++ b/var/spack/repos/builtin/packages/py-gitpython/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,18 +10,22 @@ class PyGitpython(PythonPackage):
"""GitPython is a python library used to interact with Git repositories."""
homepage = "http://gitpython.readthedocs.org"
- url = "https://pypi.io/packages/source/g/gitpython/GitPython-3.1.7.tar.gz"
+ pypi = "GitPython/GitPython-3.1.12.tar.gz"
- version('3.1.8', sha256='49d4f859bda7bd6ef9ce72d9a2cddb6a59dd70f34a18ce409670bc655431c517')
- version('3.1.6', sha256='00d459b1fd2d4a2106252867701f7303485654bdb115275fa6f788756d18879e')
- version('3.1.5', sha256='2f7f9716afecc099bebf4d1a5e4a7df96f32c8255254e83642d8acf70f1b82c3')
- version('3.1.4', sha256='946e9c1daa755b8d4aaaad7f96c3fb4ac99ba36379b4355d6a3a4966ba68ca12')
- version('3.1.3', sha256='12da19250d1db60a9562780c3ecd8a9713da59ec69a3e207db2af1a0afe87c96')
- version('3.1.2', sha256='ce862c2c5e569728eae2d2441d358ab99a2492c7418cb3bdba1517c46a625cc1')
- version('3.1.1', sha256='76f35b8d99f02432632d33c0d64419c65d04377cb68b80bfc1819c421a3c05ca')
- version('3.1.0', sha256='a7d97b664ac61474147db23671aa8cc12be16248a405e3db15538d619d15cb51')
- version('3.0.9', sha256='d92bed79c12ce4198efe34337c55d85984def3d648ea465049e0ec6935e23c21')
- version('0.3.6', sha256='e6599fcb939cb9b25a015a429702db39de10f2b493655ed5669c49c37707d233')
+ version('3.1.12', sha256='42dbefd8d9e2576c496ed0059f3103dcef7125b9ce16f9d5f9c834aed44a1dac')
+ version('3.1.11', sha256='befa4d101f91bad1b632df4308ec64555db684c360bd7d2130b4807d49ce86b8')
+ version('3.1.10', sha256='f488d43600d7299567b59fe41497d313e7c1253a9f2a8ebd2df8af2a1151c71d')
+ version('3.1.9', sha256='a03f728b49ce9597a6655793207c6ab0da55519368ff5961e4a74ae475b9fa8e')
+ version('3.1.8', sha256='080bf8e2cf1a2b907634761c2eaefbe83b69930c94c66ad11b65a8252959f912')
+ version('3.1.7', sha256='2db287d71a284e22e5c2846042d0602465c7434d910406990d5b74df4afb0858')
+ version('3.1.6', sha256='b54969b3262d4647f80ace8e9dd4e3f99ac30cc0f3e766415b349208f810908f')
+ version('3.1.5', sha256='90400ecfa87bac36ac75dfa7b62e83a02017b51759f6eef4494e4de775b2b4be')
+ version('3.1.4', sha256='fa98ce1f05805d59bbc3adb16c0780e5ca43b5ea9422feecf1cd0949a61d947e')
+ version('3.1.3', sha256='e107af4d873daed64648b4f4beb89f89f0cfbe3ef558fc7821ed2331c2f8da1a')
+ version('3.1.2', sha256='864a47472548f3ba716ca202e034c1900f197c0fb3a08f641c20c3cafd15ed94')
+ version('3.1.1', sha256='6d4f10e2aaad1864bb0f17ec06a2c2831534140e5883c350d58b4e85189dab74')
+ version('3.1.0', sha256='e426c3b587bd58c482f0b7fe6145ff4ac7ae6c82673fc656f489719abca6f4cb')
+ version('3.0.9', sha256='7e5df21bfef38505115ad92544fb379e6fedb2753f3b709174c4358cecd0cb97')
depends_on('python@3.4:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
diff --git a/var/spack/repos/builtin/packages/py-gluoncv/package.py b/var/spack/repos/builtin/packages/py-gluoncv/package.py
index a584605d28..daf315726f 100644
--- a/var/spack/repos/builtin/packages/py-gluoncv/package.py
+++ b/var/spack/repos/builtin/packages/py-gluoncv/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-gnuplot/package.py b/var/spack/repos/builtin/packages/py-gnuplot/package.py
index 38e5522370..6889ce41ab 100644
--- a/var/spack/repos/builtin/packages/py-gnuplot/package.py
+++ b/var/spack/repos/builtin/packages/py-gnuplot/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-goatools/package.py b/var/spack/repos/builtin/packages/py-goatools/package.py
index 863e329169..2b6c27343e 100644
--- a/var/spack/repos/builtin/packages/py-goatools/package.py
+++ b/var/spack/repos/builtin/packages/py-goatools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyGoatools(PythonPackage):
"""Python scripts to find enrichment of GO terms"""
homepage = "https://github.com/tanghaibao/goatools"
- url = "https://pypi.io/packages/source/g/goatools/goatools-0.7.11.tar.gz"
+ pypi = "goatools/goatools-0.7.11.tar.gz"
version('0.7.11', sha256='753c6fb8c901367aa5d64ce5ad487d82903e424cf8ec7bac50ee069b307f6364')
diff --git a/var/spack/repos/builtin/packages/py-google-api-core/package.py b/var/spack/repos/builtin/packages/py-google-api-core/package.py
index f8ca4ea2b5..b0fff59ac0 100644
--- a/var/spack/repos/builtin/packages/py-google-api-core/package.py
+++ b/var/spack/repos/builtin/packages/py-google-api-core/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,11 @@ class PyGoogleApiCore(PythonPackage):
"""Google API client core library."""
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python"
- url = "https://pypi.io/packages/source/g/google-api-core/google-api-core-1.14.2.tar.gz"
+ pypi = "google-api-core/google-api-core-1.14.2.tar.gz"
+
+ # google.api_core.operations_v1 and google.api_core.gapic_v1 require
+ # grpc optional dependency
+ import_modules = ['google.api_core', 'google.api_core.future']
version('1.14.2', sha256='2c23fbc81c76b941ffb71301bb975ed66a610e9b03f918feacd1ed59cf43a6ec')
diff --git a/var/spack/repos/builtin/packages/py-google-api-python-client/package.py b/var/spack/repos/builtin/packages/py-google-api-python-client/package.py
index 5e85f7181c..86ddee05bb 100644
--- a/var/spack/repos/builtin/packages/py-google-api-python-client/package.py
+++ b/var/spack/repos/builtin/packages/py-google-api-python-client/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyGoogleApiPythonClient(PythonPackage):
Plus, Moderator, and many other Google APIs."""
homepage = "http://github.com/google/google-api-python-client/"
- url = "https://pypi.io/packages/source/g/google-api-python-client/google-api-python-client-1.7.10.tar.gz"
+ pypi = "google-api-python-client/google-api-python-client-1.7.10.tar.gz"
version('1.7.10', sha256='2e55a5c7b56233c68945b6804c73e253445933f4d485d4e69e321b38772b9dd6')
diff --git a/var/spack/repos/builtin/packages/py-google-auth-httplib2/package.py b/var/spack/repos/builtin/packages/py-google-auth-httplib2/package.py
index ab4c3c7e72..c7b6612d55 100644
--- a/var/spack/repos/builtin/packages/py-google-auth-httplib2/package.py
+++ b/var/spack/repos/builtin/packages/py-google-auth-httplib2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyGoogleAuthHttplib2(PythonPackage):
"""Google Authentication Library: httplib2 transport."""
homepage = "https://github.com/GoogleCloudPlatform/google-auth-library-python-httplib2"
- url = "https://pypi.io/packages/source/g/google-auth-httplib2/google-auth-httplib2-0.0.3.tar.gz"
+ pypi = "google-auth-httplib2/google-auth-httplib2-0.0.3.tar.gz"
version('0.0.3', sha256='098fade613c25b4527b2c08fa42d11f3c2037dda8995d86de0745228e965d445')
diff --git a/var/spack/repos/builtin/packages/py-google-auth-oauthlib/package.py b/var/spack/repos/builtin/packages/py-google-auth-oauthlib/package.py
index 416c9f7098..9caead3c5e 100644
--- a/var/spack/repos/builtin/packages/py-google-auth-oauthlib/package.py
+++ b/var/spack/repos/builtin/packages/py-google-auth-oauthlib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyGoogleAuthOauthlib(PythonPackage):
"""This library provides oauthlib integration with google-auth."""
homepage = "https://github.com/googleapis/google-auth-library-python-oauthlib"
- url = "https://pypi.io/packages/source/g/google-auth-oauthlib/google-auth-oauthlib-0.4.1.tar.gz"
+ pypi = "google-auth-oauthlib/google-auth-oauthlib-0.4.1.tar.gz"
version('0.4.1', sha256='88d2cd115e3391eb85e1243ac6902e76e77c5fe438b7276b297fbe68015458dd')
diff --git a/var/spack/repos/builtin/packages/py-google-auth/package.py b/var/spack/repos/builtin/packages/py-google-auth/package.py
index 1bf19bdb08..cd0f8c3228 100644
--- a/var/spack/repos/builtin/packages/py-google-auth/package.py
+++ b/var/spack/repos/builtin/packages/py-google-auth/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyGoogleAuth(PythonPackage):
authentication mechanisms to access Google APIs."""
homepage = "https://github.com/GoogleCloudPlatform/google-auth-library-python"
- url = "https://pypi.io/packages/source/g/google-auth/google-auth-1.6.3.tar.gz"
+ pypi = "google-auth/google-auth-1.6.3.tar.gz"
version('1.6.3', sha256='0f7c6a64927d34c1a474da92cfc59e552a5d3b940d3266606c6a28b72888b9e4')
diff --git a/var/spack/repos/builtin/packages/py-google-cloud-core/package.py b/var/spack/repos/builtin/packages/py-google-cloud-core/package.py
index d32a1dbf15..f88f90a808 100644
--- a/var/spack/repos/builtin/packages/py-google-cloud-core/package.py
+++ b/var/spack/repos/builtin/packages/py-google-cloud-core/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyGoogleCloudCore(PythonPackage):
"""Google Cloud API client core library."""
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python"
- url = "https://pypi.io/packages/source/g/google-cloud-core/google-cloud-core-1.0.3.tar.gz"
+ pypi = "google-cloud-core/google-cloud-core-1.0.3.tar.gz"
version('1.0.3', sha256='10750207c1a9ad6f6e082d91dbff3920443bdaf1c344a782730489a9efa802f1')
diff --git a/var/spack/repos/builtin/packages/py-google-cloud-storage/package.py b/var/spack/repos/builtin/packages/py-google-cloud-storage/package.py
index d89b32b0d4..e605b58076 100644
--- a/var/spack/repos/builtin/packages/py-google-cloud-storage/package.py
+++ b/var/spack/repos/builtin/packages/py-google-cloud-storage/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyGoogleCloudStorage(PythonPackage):
"""Google Cloud Storage API client library."""
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python"
- url = "https://pypi.io/packages/source/g/google-cloud-storage/google-cloud-storage-1.18.0.tar.gz"
+ pypi = "google-cloud-storage/google-cloud-storage-1.18.0.tar.gz"
version('1.18.0', sha256='9fb3dc68948f4c893c2b16f5a3db3daea2d2f3b8e9d5c2d505fe1523758009b6')
diff --git a/var/spack/repos/builtin/packages/py-google-pasta/package.py b/var/spack/repos/builtin/packages/py-google-pasta/package.py
index ee19406005..60db5b040d 100644
--- a/var/spack/repos/builtin/packages/py-google-pasta/package.py
+++ b/var/spack/repos/builtin/packages/py-google-pasta/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,9 @@ class PyGooglePasta(PythonPackage):
"""pasta is an AST-based Python refactoring library."""
homepage = "https://github.com/google/pasta"
- url = "https://pypi.io/packages/source/g/google-pasta/google-pasta-0.1.8.tar.gz"
+ pypi = "google-pasta/google-pasta-0.1.8.tar.gz"
+ version('0.2.0', sha256='c9f2c8dfc8f96d0d5808299920721be30c9eec37f2389f28904f454565c8a16e')
version('0.1.8', sha256='713813a9f7d6589e5defdaf21e80e4392eb124662f8bd829acd51a4f8735c0cb')
depends_on('py-setuptools', type='build')
diff --git a/var/spack/repos/builtin/packages/py-google-resumable-media/package.py b/var/spack/repos/builtin/packages/py-google-resumable-media/package.py
index ea84fc077a..86f726b124 100644
--- a/var/spack/repos/builtin/packages/py-google-resumable-media/package.py
+++ b/var/spack/repos/builtin/packages/py-google-resumable-media/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyGoogleResumableMedia(PythonPackage):
"""Utilities for Google Media Downloads and Resumable Uploads."""
homepage = "https://github.com/GoogleCloudPlatform/google-resumable-media-python"
- url = "https://pypi.io/packages/source/g/google-resumable-media/google-resumable-media-0.3.2.tar.gz"
+ pypi = "google-resumable-media/google-resumable-media-0.3.2.tar.gz"
version('0.3.2', sha256='3e38923493ca0d7de0ad91c31acfefc393c78586db89364e91cb4f11990e51ba')
diff --git a/var/spack/repos/builtin/packages/py-google/package.py b/var/spack/repos/builtin/packages/py-google/package.py
index d0b70ba0a1..2ea3f0c709 100644
--- a/var/spack/repos/builtin/packages/py-google/package.py
+++ b/var/spack/repos/builtin/packages/py-google/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyGoogle(PythonPackage):
"""Python bindings to the Google search engine."""
homepage = "http://breakingcode.wordpress.com/"
- url = "https://pypi.io/packages/source/g/google/google-3.0.0.tar.gz"
+ pypi = "google/google-3.0.0.tar.gz"
version('3.0.0', sha256='143530122ee5130509ad5e989f0512f7cb218b2d4eddbafbad40fd10e8d8ccbe')
diff --git a/var/spack/repos/builtin/packages/py-googleapis-common-protos/package.py b/var/spack/repos/builtin/packages/py-googleapis-common-protos/package.py
index ce116afc5c..21b61eddc9 100644
--- a/var/spack/repos/builtin/packages/py-googleapis-common-protos/package.py
+++ b/var/spack/repos/builtin/packages/py-googleapis-common-protos/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyGoogleapisCommonProtos(PythonPackage):
"""Common protobufs used in Google APIs."""
homepage = "https://github.com/googleapis/googleapis"
- url = "https://pypi.io/packages/source/g/googleapis-common-protos/googleapis-common-protos-1.6.0.tar.gz"
+ pypi = "googleapis-common-protos/googleapis-common-protos-1.6.0.tar.gz"
version('1.6.0', sha256='e61b8ed5e36b976b487c6e7b15f31bb10c7a0ca7bd5c0e837f4afab64b53a0c6')
diff --git a/var/spack/repos/builtin/packages/py-googledrivedownloader/package.py b/var/spack/repos/builtin/packages/py-googledrivedownloader/package.py
index 96710e1a17..a35bdd76cc 100644
--- a/var/spack/repos/builtin/packages/py-googledrivedownloader/package.py
+++ b/var/spack/repos/builtin/packages/py-googledrivedownloader/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyGoogledrivedownloader(PythonPackage):
"""Minimal class to download shared files from Google Drive."""
homepage = "https://github.com/ndrplz/google-drive-downloader"
- url = "https://pypi.io/packages/source/g/googledrivedownloader/googledrivedownloader-0.4.tar.gz"
+ pypi = "googledrivedownloader/googledrivedownloader-0.4.tar.gz"
version('0.4', sha256='4b34c1337b2ff3bf2bd7581818efbdcaea7d50ffd484ccf80809688f5ca0e204')
diff --git a/var/spack/repos/builtin/packages/py-gosam/package.py b/var/spack/repos/builtin/packages/py-gosam/package.py
index 75d8cee2a8..e9ea4dfe08 100644
--- a/var/spack/repos/builtin/packages/py-gosam/package.py
+++ b/var/spack/repos/builtin/packages/py-gosam/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,6 +14,8 @@ class PyGosam(PythonPackage):
homepage = "https://gosam.hepforge.org"
url = "https://gosam.hepforge.org/downloads/?f=gosam-2.0.4-6d9f1cba.tar.gz"
+ tags = ['hep']
+
version('2.0.4', sha256='faf621c70f66d9dffc16ac5cce66258067f39f686d722a4867eeb759fcde4f44')
depends_on('form', type='run')
diff --git a/var/spack/repos/builtin/packages/py-gpaw/package.py b/var/spack/repos/builtin/packages/py-gpaw/package.py
index 4bb61361f6..2449a9bd35 100644
--- a/var/spack/repos/builtin/packages/py-gpaw/package.py
+++ b/var/spack/repos/builtin/packages/py-gpaw/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyGpaw(PythonPackage):
(ASE)."""
homepage = "https://wiki.fysik.dtu.dk/gpaw/index.html"
- url = "https://pypi.io/packages/source/g/gpaw/gpaw-1.3.0.tar.gz"
+ pypi = "gpaw/gpaw-1.3.0.tar.gz"
version('19.8.1', sha256='79dee367d695d68409c4d69edcbad5c8679137d6715da403f6c2500cb2178c2a')
version('1.3.0', sha256='cf601c69ac496421e36111682bcc1d23da2dba2aabc96be51accf73dea30655c')
diff --git a/var/spack/repos/builtin/packages/py-gpustat/package.py b/var/spack/repos/builtin/packages/py-gpustat/package.py
index 1bfab1ba35..740af6eb55 100644
--- a/var/spack/repos/builtin/packages/py-gpustat/package.py
+++ b/var/spack/repos/builtin/packages/py-gpustat/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyGpustat(PythonPackage):
"""An utility to monitor NVIDIA GPU status and usage."""
homepage = "https://github.com/wookayin/gpustat"
- url = "https://pypi.io/packages/source/g/gpustat/gpustat-0.6.0.tar.gz"
+ pypi = "gpustat/gpustat-0.6.0.tar.gz"
version('0.6.0', sha256='f69135080b2668b662822633312c2180002c10111597af9631bb02e042755b6c')
@@ -19,5 +19,3 @@ class PyGpustat(PythonPackage):
depends_on('py-nvidia-ml-py3@7.352.0:', when='^python@3:', type=('build', 'run'))
depends_on('py-psutil', type=('build', 'run'))
depends_on('py-blessings@1.6:', type=('build', 'run'))
- depends_on('py-mock@2:', type='test')
- depends_on('py-pytest@:4', type='test')
diff --git a/var/spack/repos/builtin/packages/py-gputil/package.py b/var/spack/repos/builtin/packages/py-gputil/package.py
index 22a16dda7b..fd4e3af69b 100644
--- a/var/spack/repos/builtin/packages/py-gputil/package.py
+++ b/var/spack/repos/builtin/packages/py-gputil/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyGputil(PythonPackage):
using nvidia-smi."""
homepage = "https://github.com/anderskm/gputil"
- url = "https://pypi.io/packages/source/G/GPUtil/GPUtil-1.4.0.tar.gz"
+ pypi = "GPUtil/GPUtil-1.4.0.tar.gz"
version('1.4.0', sha256='099e52c65e512cdfa8c8763fca67f5a5c2afb63469602d5dcb4d296b3661efb9')
diff --git a/var/spack/repos/builtin/packages/py-gpy/package.py b/var/spack/repos/builtin/packages/py-gpy/package.py
index d85c28b52d..84f5e117cb 100644
--- a/var/spack/repos/builtin/packages/py-gpy/package.py
+++ b/var/spack/repos/builtin/packages/py-gpy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyGpy(PythonPackage):
"""The Gaussian Process Toolbox."""
homepage = "http://sheffieldml.github.com/GPy/"
- url = "https://pypi.io/packages/source/g/gpy/GPy-1.9.9.tar.gz"
+ pypi = "gpy/GPy-1.9.9.tar.gz"
version('1.9.9', sha256='04faf0c24eacc4dea60727c50a48a07ddf9b5751a3b73c382105e2a31657c7ed')
version('0.8.8', sha256='e135d928cf170e2ec7fb058a035b5a7e334dc6b84d0bfb981556782528341988')
diff --git a/var/spack/repos/builtin/packages/py-gpytorch/package.py b/var/spack/repos/builtin/packages/py-gpytorch/package.py
index 7635c07e60..649711c354 100644
--- a/var/spack/repos/builtin/packages/py-gpytorch/package.py
+++ b/var/spack/repos/builtin/packages/py-gpytorch/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyGpytorch(PythonPackage):
process models with ease."""
homepage = "https://gpytorch.ai/"
- url = "https://pypi.io/packages/source/g/gpytorch/gpytorch-1.2.1.tar.gz"
+ pypi = "gpytorch/gpytorch-1.2.1.tar.gz"
maintainers = ['adamjstewart']
diff --git a/var/spack/repos/builtin/packages/py-gql/package.py b/var/spack/repos/builtin/packages/py-gql/package.py
index a3962bc649..6443a003d4 100644
--- a/var/spack/repos/builtin/packages/py-gql/package.py
+++ b/var/spack/repos/builtin/packages/py-gql/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-grandalf/package.py b/var/spack/repos/builtin/packages/py-grandalf/package.py
new file mode 100644
index 0000000000..a4e98b1776
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-grandalf/package.py
@@ -0,0 +1,22 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyGrandalf(PythonPackage):
+ """Grandalf is a Python package made for experimentations with graph
+ drawing algorithms."""
+
+ homepage = "https://github.com/bdcht/grandalf"
+ url = "https://github.com/bdcht/grandalf/archive/v0.7.tar.gz"
+
+ version('0.7', sha256='b3112299fe0a9123c088a16bf2f1b541d0d91199b77170a9739b569bd16a828e')
+ version('0.6', sha256='928db4b90f7aff01e252a833951086b20d5958c00083411193c794de7bf59df2')
+
+ depends_on('python@3:', type=('build', 'run'))
+ depends_on('py-pyparsing', type=('build', 'run'))
+ depends_on('py-pytest-runner', type='build')
+ depends_on('py-setuptools', type='build')
diff --git a/var/spack/repos/builtin/packages/py-graphql-core/package.py b/var/spack/repos/builtin/packages/py-graphql-core/package.py
index 6b74fa9095..b5243409d0 100644
--- a/var/spack/repos/builtin/packages/py-graphql-core/package.py
+++ b/var/spack/repos/builtin/packages/py-graphql-core/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-graphviz/package.py b/var/spack/repos/builtin/packages/py-graphviz/package.py
index 144321cccf..70b73593e2 100644
--- a/var/spack/repos/builtin/packages/py-graphviz/package.py
+++ b/var/spack/repos/builtin/packages/py-graphviz/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,13 +11,14 @@ class PyGraphviz(PythonPackage):
"""Simple Python interface for Graphviz"""
homepage = "https://github.com/xflr6/graphviz"
- url = "https://pypi.io/packages/source/g/graphviz/graphviz-0.10.1.zip"
+ pypi = "graphviz/graphviz-0.10.1.zip"
version('0.13.2', sha256='60acbeee346e8c14555821eab57dbf68a169e6c10bce40e83c1bf44f63a62a01')
version('0.13', sha256='dc08677f37c65a4a480f00df4bd0d19a0a103c06aad95f21a37f0b7fd440de81')
version('0.12', sha256='c60e232a66e4847f9f644fbaa94730ca4f78385a1314a2cc1e7f4cb2d7461298')
version('0.11.1', sha256='914b8b124942d82e3e1dcef499c9fe77c10acd3d18a1cfeeb2b9de05f6d24805')
version('0.10.1', sha256='d311be4fddfe832a56986ac5e1d6e8715d7fcb0208560da79d1bb0f72abef41f')
+ version('0.8.4', sha256='4958a19cbd8461757a08db308a4a15c3d586660417e1e364f0107d2fe481689f')
variant('dev', default=False, description='development mode')
variant('docs', default=False, description='build documentation')
@@ -30,10 +31,5 @@ class PyGraphviz(PythonPackage):
depends_on('py-pep8-naming', type=('build', 'run'), when='+dev')
depends_on('py-wheel', type=('build', 'run'), when='+dev')
depends_on('py-twine', type=('build', 'run'), when='+dev')
- depends_on('py-mock@2:', type='test')
- depends_on('py-pytest@3.4:', type='test')
- depends_on('py-pytest@3.4:3.9,3.11:', when='@0.11.1', type='test')
- depends_on('py-pytest-mock@1.8:', type='test')
- depends_on('py-pytest-cov', type='test')
depends_on('py-sphinx@1.7:', type=('build', 'run'), when='+docs')
depends_on('py-sphinx-rtd-theme', type=('build', 'run'), when='+docs')
diff --git a/var/spack/repos/builtin/packages/py-greenlet/package.py b/var/spack/repos/builtin/packages/py-greenlet/package.py
index cda196c519..9af8f00180 100644
--- a/var/spack/repos/builtin/packages/py-greenlet/package.py
+++ b/var/spack/repos/builtin/packages/py-greenlet/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,6 +10,9 @@ class PyGreenlet(PythonPackage):
"""Lightweight in-process concurrent programming"""
homepage = "https://github.com/python-greenlet/greenlet"
- url = "https://pypi.io/packages/source/g/greenlet/greenlet-0.4.13.tar.gz"
+ pypi = "greenlet/greenlet-0.4.17.tar.gz"
+ version('0.4.17', sha256='41d8835c69a78de718e466dd0e6bfd4b46125f21a67c3ff6d76d8d8059868d6b')
version('0.4.13', sha256='0fef83d43bf87a5196c91e73cb9772f945a4caaff91242766c5916d1dd1381e4')
+
+ depends_on('python', type=('build', 'link', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-grequests/package.py b/var/spack/repos/builtin/packages/py-grequests/package.py
index 53b804bd6f..94ac957d72 100644
--- a/var/spack/repos/builtin/packages/py-grequests/package.py
+++ b/var/spack/repos/builtin/packages/py-grequests/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,7 +14,7 @@ class PyGrequests(PythonPackage):
"""
homepage = "https://github.com/spyoungtech/grequests"
- url = "https://pypi.io/packages/source/g/grequests/grequests-0.4.0.tar.gz"
+ pypi = "grequests/grequests-0.4.0.tar.gz"
version('0.4.0', sha256='8aeccc15e60ec65c7e67ee32e9c596ab2196979815497f85cf863465a1626490')
version('0.3.0', sha256='0f41c4eee83bab39f5543af49665c08681637a0562a5704a3f7b2e4a996531c9')
@@ -22,4 +22,3 @@ class PyGrequests(PythonPackage):
depends_on('py-setuptools', type='build')
depends_on('py-gevent', type=('build', 'run'))
depends_on('py-requests', type=('build', 'run'))
- depends_on('py-nose', type='test')
diff --git a/var/spack/repos/builtin/packages/py-griddataformats/package.py b/var/spack/repos/builtin/packages/py-griddataformats/package.py
index f7c8584ac0..c9b808bf60 100644
--- a/var/spack/repos/builtin/packages/py-griddataformats/package.py
+++ b/var/spack/repos/builtin/packages/py-griddataformats/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class PyGriddataformats(PythonPackage):
data again."""
homepage = "http://www.mdanalysis.org/GridDataFormats"
- url = "https://pypi.io/packages/source/G/GridDataFormats/GridDataFormats-0.5.0.tar.gz"
+ pypi = "GridDataFormats/GridDataFormats-0.5.0.tar.gz"
version('0.5.0', sha256='f317ed60708de22d1b2a76ce89a00f722d903291b1055ff1018d441870c39d69')
version('0.4.1', sha256='b362662c2dc475e2a3895fe044eaaa9a707bd660fd109a63dac84a47236690a3')
diff --git a/var/spack/repos/builtin/packages/py-grpcio/package.py b/var/spack/repos/builtin/packages/py-grpcio/package.py
index b53cb4a0f1..123a029edb 100644
--- a/var/spack/repos/builtin/packages/py-grpcio/package.py
+++ b/var/spack/repos/builtin/packages/py-grpcio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyGrpcio(PythonPackage):
"""HTTP/2-based RPC framework."""
homepage = "https://grpc.io/"
- url = "https://pypi.io/packages/source/g/grpcio/grpcio-1.32.0.tar.gz"
+ pypi = "grpcio/grpcio-1.32.0.tar.gz"
version('1.32.0', sha256='01d3046fe980be25796d368f8fc5ff34b7cf5e1444f3789a017a7fe794465639')
version('1.30.0', sha256='e8f2f5d16e0164c415f1b31a8d9a81f2e4645a43d1b261375d6bab7b0adf511f')
diff --git a/var/spack/repos/builtin/packages/py-gsd/package.py b/var/spack/repos/builtin/packages/py-gsd/package.py
index f130265d82..2cfd8719cc 100644
--- a/var/spack/repos/builtin/packages/py-gsd/package.py
+++ b/var/spack/repos/builtin/packages/py-gsd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,7 +16,7 @@ class PyGsd(PythonPackage):
tool to explore the behavior of the simulation."""
homepage = "https://gsd.readthedocs.io/en/stable/#"
- url = "https://pypi.io/packages/source/g/gsd/gsd-1.9.3.tar.gz"
+ pypi = "gsd/gsd-1.9.3.tar.gz"
version('1.9.3', sha256='c6b37344e69020f69fda2b8d97f894cb41fd720840abeda682edd680d1cff838')
diff --git a/var/spack/repos/builtin/packages/py-gsi/package.py b/var/spack/repos/builtin/packages/py-gsi/package.py
index 3f09ff3b55..aa4a6b3b43 100644
--- a/var/spack/repos/builtin/packages/py-gsi/package.py
+++ b/var/spack/repos/builtin/packages/py-gsi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyGsi(PythonPackage):
"""Python interface for GSI authentication"""
homepage = "https://github.com/DIRACGrid/pyGSI"
- url = "https://pypi.io/packages/source/g/gsi/GSI-0.6.5.tar.gz"
+ pypi = "gsi/GSI-0.6.5.tar.gz"
version('0.6.5', sha256='8291dd2fab2be12626272629f7f9661487c4e29f1f9ab8c61614c54b06cb0643')
diff --git a/var/spack/repos/builtin/packages/py-guidata/package.py b/var/spack/repos/builtin/packages/py-guidata/package.py
index 40ddc445b2..e5d76a7c03 100644
--- a/var/spack/repos/builtin/packages/py-guidata/package.py
+++ b/var/spack/repos/builtin/packages/py-guidata/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyGuidata(PythonPackage):
and display"""
homepage = "https://github.com/PierreRaybaut/guidata"
- url = "https://pypi.io/packages/source/g/guidata/guidata-1.7.5.zip"
+ pypi = "guidata/guidata-1.7.5.zip"
version('1.7.5', sha256='531d5e9ea784120c2e14212cfbd9c63f78fc7a77bcb9c5497be984584ee455c0')
diff --git a/var/spack/repos/builtin/packages/py-guiqwt/package.py b/var/spack/repos/builtin/packages/py-guiqwt/package.py
index 86cb35e37f..dcdbb22570 100644
--- a/var/spack/repos/builtin/packages/py-guiqwt/package.py
+++ b/var/spack/repos/builtin/packages/py-guiqwt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyGuiqwt(PythonPackage):
(extension to PythonQwt)"""
homepage = "https://github.com/PierreRaybaut/guiqwt"
- url = "https://pypi.io/packages/source/g/guiqwt/guiqwt-3.0.2.zip"
+ pypi = "guiqwt/guiqwt-3.0.2.zip"
version('3.0.2', sha256='387c0b9430624ecc87931e33ff963785194968c9f848337eb050eca48c6cd858')
diff --git a/var/spack/repos/builtin/packages/py-h11/package.py b/var/spack/repos/builtin/packages/py-h11/package.py
index e31e940b7f..9864e1617a 100644
--- a/var/spack/repos/builtin/packages/py-h11/package.py
+++ b/var/spack/repos/builtin/packages/py-h11/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyH11(PythonPackage):
"""A pure-Python, bring-your-own-I/O implementation of HTTP/1.1"""
homepage = "https://github.com/python-hyper/h11"
- url = "https://pypi.io/packages/source/h/h11/h11-0.10.0.tar.gz"
+ pypi = "h11/h11-0.10.0.tar.gz"
version('0.10.0', sha256='311dc5478c2568cc07262e0381cdfc5b9c6ba19775905736c87e81ae6662b9fd')
version('0.9.0', sha256='33d4bca7be0fa039f4e84d50ab00531047e53d6ee8ffbc83501ea602c169cae1')
diff --git a/var/spack/repos/builtin/packages/py-h2/package.py b/var/spack/repos/builtin/packages/py-h2/package.py
index 375f36c27d..ae263f1ff0 100644
--- a/var/spack/repos/builtin/packages/py-h2/package.py
+++ b/var/spack/repos/builtin/packages/py-h2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyH2(PythonPackage):
"""HTTP/2 State-Machine based protocol implementation"""
homepage = "https://github.com/python-hyper/hyper-h2"
- url = "https://pypi.io/packages/source/h/h2/h2-4.0.0.tar.gz"
+ pypi = "h2/h2-4.0.0.tar.gz"
version('4.0.0', sha256='bb7ac7099dd67a857ed52c815a6192b6b1f5ba6b516237fc24a085341340593d')
diff --git a/var/spack/repos/builtin/packages/py-h5glance/package.py b/var/spack/repos/builtin/packages/py-h5glance/package.py
index 9d3c3c9171..885929a09e 100644
--- a/var/spack/repos/builtin/packages/py-h5glance/package.py
+++ b/var/spack/repos/builtin/packages/py-h5glance/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,11 +13,11 @@ class PyH5glance(PythonPackage):
"""
homepage = "https://github.com/European-XFEL/h5glance"
- url = "https://pypi.io/packages/source/h/h5glance/h5glance-0.4.tar.gz"
+ pypi = "h5glance/h5glance-0.4.tar.gz"
version('0.6', sha256='203369ab614273aaad3419f151e234609bb8390b201b65f678d7e17c57633e35')
version('0.5', sha256='bc34ee42429f0440b329083e3f67fbf3d7016a4aed9e8b30911e5905217bc8d9')
- version('0.4', sha256='03babaee0d481991062842796126bc9e6b11e2e6e7daba57c26f2b58bf3bbd32')
+ version('0.4', sha256='03babaee0d481991062842796126bc9e6b11e2e6e7daba57c26f2b58bf3bbd32')
depends_on('python@3.5:', type=('build', 'run'))
depends_on('py-h5py', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-h5py/package.py b/var/spack/repos/builtin/packages/py-h5py/package.py
index 2b7d34cc4b..384eb4f059 100644
--- a/var/spack/repos/builtin/packages/py-h5py/package.py
+++ b/var/spack/repos/builtin/packages/py-h5py/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,12 +11,12 @@ class PyH5py(PythonPackage):
HDF5 library from Python."""
homepage = "http://www.h5py.org/"
- url = "https://pypi.io/packages/source/h/h5py/h5py-2.10.0.tar.gz"
+ pypi = "h5py/h5py-3.1.0.tar.gz"
git = "https://github.com/h5py/h5py.git"
- import_modules = ['h5py', 'h5py._hl']
-
version('master', branch='master')
+ version('3.1.0', sha256='1e2516f190652beedcb8c7acfa1c6fa92d99b42331cbef5e5c7ec2d65b0fc3c2')
+ version('3.0.0', sha256='7d3803be1b530c68c2955faba726dc0f591079b68941a0c0269b5384a42ab519')
version('2.10.0', sha256='84412798925dc870ffd7107f045d7659e60f5d46d1c70c700375248bf6bf512d')
version('2.9.0', sha256='9d41ca62daf36d6b6515ab8765e4c8c4388ee18e2a665701fef2b41563821002')
version('2.8.0', sha256='e626c65a8587921ebc7fb8d31a49addfdd0b9a9aa96315ea484c09803337b955')
@@ -28,18 +28,24 @@ class PyH5py(PythonPackage):
variant('mpi', default=True, description='Build with MPI support')
+ # Python versions
+ depends_on('python@3.6:', type=('build', 'run'), when='@3.0.0:')
+
# Build dependencies
- depends_on('py-cython@0.23:', type='build')
+ depends_on('py-cython@0.23:', type='build', when='@:2.99')
+ depends_on('py-cython@0.29:', type=('build'), when='@3.0.0:')
depends_on('py-pkgconfig', type='build')
depends_on('py-setuptools', type='build')
+ depends_on('py-wheel', type='build', when='@3.0.0:')
# Build and runtime dependencies
depends_on('py-cached-property@1.5:', type=('build', 'run'))
depends_on('py-numpy@1.7:', type=('build', 'run'))
- depends_on('py-six', type=('build', 'run'))
+ depends_on('py-six', type=('build', 'run'), when='@:2.99')
# Link dependencies
- depends_on('hdf5@1.8.4:+hl')
+ depends_on('hdf5@1.8.4:1.11+hl', when='@:2.99')
+ depends_on('hdf5@1.8.4:+hl', when='@3.0.0:')
# MPI dependencies
depends_on('hdf5+mpi', when='+mpi')
@@ -48,10 +54,19 @@ class PyH5py(PythonPackage):
phases = ['configure', 'install']
+ def setup_build_environment(self, env):
+ env.set('HDF5_DIR', self.spec['hdf5'].prefix)
+ if '+mpi' in self.spec:
+ env.set('CC', self.spec['mpi'].mpicc)
+ env.set('HDF5_MPI', 'ON')
+
+ @when('@3.0.0:')
+ def configure(self, spec, prefix):
+ pass
+
+ @when('@:2.99')
def configure(self, spec, prefix):
self.setup_py('configure', '--hdf5={0}'.format(spec['hdf5'].prefix),
'--hdf5-version={0}'.format(spec['hdf5'].version))
-
if '+mpi' in spec:
- env['CC'] = spec['mpi'].mpicc
self.setup_py('configure', '--mpi')
diff --git a/var/spack/repos/builtin/packages/py-h5sh/package.py b/var/spack/repos/builtin/packages/py-h5sh/package.py
index a85c123475..042d595b99 100644
--- a/var/spack/repos/builtin/packages/py-h5sh/package.py
+++ b/var/spack/repos/builtin/packages/py-h5sh/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ from spack import *
class PyH5sh(PythonPackage):
"""Shell-like environment for HDF5."""
- homepage = "https://pypi.python.org/pypi/h5sh"
+ homepage = "https://github.com/sethrj/h5sh"
url = "https://github.com/sethrj/h5sh/archive/v0.1.1.tar.gz"
maintainers = ['sethrj']
@@ -22,4 +22,3 @@ class PyH5sh(PythonPackage):
depends_on('py-prompt-toolkit@2:', type=('build', 'run'))
depends_on('py-pygments', type=('build', 'run'))
depends_on('py-six', type=('build', 'run'))
- depends_on('py-pytest', type='test')
diff --git a/var/spack/repos/builtin/packages/py-hacking/package.py b/var/spack/repos/builtin/packages/py-hacking/package.py
index dae3f8b281..01b0c0f79c 100644
--- a/var/spack/repos/builtin/packages/py-hacking/package.py
+++ b/var/spack/repos/builtin/packages/py-hacking/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,9 +10,7 @@ class PyHacking(PythonPackage):
"""OpenStack Hacking Guideline Enforcement."""
homepage = "https://docs.openstack.org/hacking/latest/"
- url = "https://pypi.io/packages/source/h/hacking/hacking-1.1.0.tar.gz"
-
- import_modules = ['hacking']
+ pypi = "hacking/hacking-1.1.0.tar.gz"
version('1.1.0', sha256='23a306f3a1070a4469a603886ba709780f02ae7e0f1fc7061e5c6fb203828fee')
diff --git a/var/spack/repos/builtin/packages/py-hatchet/package.py b/var/spack/repos/builtin/packages/py-hatchet/package.py
index 91df70b61b..b5c85f678f 100644
--- a/var/spack/repos/builtin/packages/py-hatchet/package.py
+++ b/var/spack/repos/builtin/packages/py-hatchet/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,14 +7,18 @@ from spack import *
class PyHatchet(PythonPackage):
- """Hatchet is an analysis tool for structured tree or graph performance data
- using an indexed Pandas dataframe."""
+ """Hatchet is a performance tool for analyzing hierarchical performance data
+ using a graph-indexed Pandas dataframe."""
- homepage = "https://github.com/LLNL/hatchet"
- url = "https://github.com/LLNL/hatchet/archive/v1.0.0.tar.gz"
+ homepage = "https://github.com/hatchet/hatchet"
+ url = "https://github.com/hatchet/hatchet/archive/v1.0.0.tar.gz"
maintainers = ["slabasan", "bhatele", "tgamblin"]
+ version('1.3.0', sha256='d38212aec6272558e25538ff23b54ec0f2b4dbf6ef4b0e77f7f05c37c0d17815')
+ version('1.2.0', sha256='1d5f80abfa69d1a379dff7263908c5c915023f18f26d50b639556e2f43ac755e')
+ version('1.1.0', sha256='71bfa2881ef295294e5b4493acb8cce98d14c354e9ae59b42fb56a76d8ec7056')
+ version('1.0.1', sha256='e5a4b455ab6bfbccbce3260673d9af8d1e4b21e19a2b6d0b6c1e1d7727613b7a')
version('1.0.0', sha256='efd218bc9152abde0a8006489a2c432742f00283a114c1eeb6d25abc10f5862d')
depends_on('python@2.7,3:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-hdbscan/package.py b/var/spack/repos/builtin/packages/py-hdbscan/package.py
index 1d093dbf55..be6a532871 100644
--- a/var/spack/repos/builtin/packages/py-hdbscan/package.py
+++ b/var/spack/repos/builtin/packages/py-hdbscan/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-hdfs/package.py b/var/spack/repos/builtin/packages/py-hdfs/package.py
index c84c3faca9..5c28dc6827 100644
--- a/var/spack/repos/builtin/packages/py-hdfs/package.py
+++ b/var/spack/repos/builtin/packages/py-hdfs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ from spack import *
class PyHdfs(PythonPackage):
"""API and command line interface for HDFS"""
homepage = "https://hdfscli.readthedocs.io/en/latest/"
- url = "https://pypi.io/packages/source/h/hdfs/hdfs-2.1.0.tar.gz"
+ pypi = "hdfs/hdfs-2.1.0.tar.gz"
version('2.1.0', sha256='a40fe99ccb03b5c3247b33a4110eb21b57405dd7c3f1b775e362e66c19b44bc6')
diff --git a/var/spack/repos/builtin/packages/py-healpy/package.py b/var/spack/repos/builtin/packages/py-healpy/package.py
index d1781d13a1..b2920aeb41 100644
--- a/var/spack/repos/builtin/packages/py-healpy/package.py
+++ b/var/spack/repos/builtin/packages/py-healpy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,9 @@ class PyHealpy(PythonPackage):
"""healpy is a Python package to handle pixelated data on the sphere."""
homepage = "https://healpy.readthedocs.io/"
- url = "https://pypi.python.org/packages/source/h/healpy/healpy-1.13.0.tar.gz"
+ pypi = "healpy/healpy-1.13.0.tar.gz"
+ version('1.14.0', sha256='2720b5f96c314bdfdd20b6ffc0643ac8091faefcf8fd20a4083cedff85a66c5e')
version('1.13.0', sha256='d0ae02791c2404002a09c643e9e50bc58e3d258f702c736dc1f39ce1e6526f73')
version('1.7.4', sha256='3cca7ed7786ffcca70e2f39f58844667ffb8521180ac890d4da651b459f51442')
diff --git a/var/spack/repos/builtin/packages/py-heapdict/package.py b/var/spack/repos/builtin/packages/py-heapdict/package.py
index 7333f24c7a..99f27ce27e 100644
--- a/var/spack/repos/builtin/packages/py-heapdict/package.py
+++ b/var/spack/repos/builtin/packages/py-heapdict/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyHeapdict(PythonPackage):
"""A heap with decrease-key and increase-key operations"""
homepage = "http://stutzbachenterprises.com/"
- url = "https://pypi.io/packages/source/H/HeapDict/HeapDict-1.0.1.tar.gz"
+ pypi = "HeapDict/HeapDict-1.0.1.tar.gz"
version('1.0.1', sha256='8495f57b3e03d8e46d5f1b2cc62ca881aca392fd5cc048dc0aa2e1a6d23ecdb6')
diff --git a/var/spack/repos/builtin/packages/py-hepdata-validator/package.py b/var/spack/repos/builtin/packages/py-hepdata-validator/package.py
index ca4daefff5..71a027085e 100644
--- a/var/spack/repos/builtin/packages/py-hepdata-validator/package.py
+++ b/var/spack/repos/builtin/packages/py-hepdata-validator/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,9 @@ class PyHepdataValidator(PythonPackage):
"""Validation schema and code for HEPdata submissions."""
homepage = "https://github.com/hepdata/hepdata-validator"
- url = "https://pypi.io/packages/source/h/hepdata_validator/hepdata_validator-0.1.16.tar.gz"
+ pypi = "hepdata_validator/hepdata_validator-0.1.16.tar.gz"
+
+ tags = ['hep']
version('0.1.16', sha256='3d7f725328ecdbb66826bff2e48a40a1d9234249859c8092ca0e92be7fb78111')
version('0.1.15', sha256='1030654b1a1cfc387c2759f8613f033da467c8182dc027e181227aeb52854bb2')
diff --git a/var/spack/repos/builtin/packages/py-hepunits/package.py b/var/spack/repos/builtin/packages/py-hepunits/package.py
index d30fb48126..3841cb579a 100644
--- a/var/spack/repos/builtin/packages/py-hepunits/package.py
+++ b/var/spack/repos/builtin/packages/py-hepunits/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,9 +10,11 @@ class PyHepunits(PythonPackage):
"""Units and constants in the HEP system of units."""
git = "https://github.com/scikit-hep/hepunits.git"
- url = "https://pypi.io/packages/source/h/hepunits/hepunits-1.2.1.tar.gz"
+ pypi = "hepunits/hepunits-1.2.1.tar.gz"
homepage = "https://github.com/scikit-hep/hepunits"
+ tags = ['hep']
+
maintainers = ['vvolkl']
version('master', branch='master')
diff --git a/var/spack/repos/builtin/packages/py-hieroglyph/package.py b/var/spack/repos/builtin/packages/py-hieroglyph/package.py
index fa8a0dab06..454e72fd65 100644
--- a/var/spack/repos/builtin/packages/py-hieroglyph/package.py
+++ b/var/spack/repos/builtin/packages/py-hieroglyph/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyHieroglyph(PythonPackage):
"""
homepage = "https://github.com/nyergler/hieroglyph"
- url = "https://pypi.io/packages/source/h/hieroglyph/hieroglyph-1.0.0.tar.gz"
+ pypi = "hieroglyph/hieroglyph-1.0.0.tar.gz"
version('1.0.0', sha256='8e137f0b1cd60c47b870011089790d3c8ddb74fcf409a75ddf2c7f2516ff337c')
version('master')
diff --git a/var/spack/repos/builtin/packages/py-hiredis/package.py b/var/spack/repos/builtin/packages/py-hiredis/package.py
index add8083916..2da29cd190 100644
--- a/var/spack/repos/builtin/packages/py-hiredis/package.py
+++ b/var/spack/repos/builtin/packages/py-hiredis/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ class PyHiredis(PythonPackage):
It primarily speeds up parsing of multi bulk replies."""
homepage = "https://github.com/redis/hiredis-py"
- url = "https://pypi.io/packages/source/h/hiredis/hiredis-1.1.0.tar.gz"
+ pypi = "hiredis/hiredis-1.1.0.tar.gz"
version('1.1.0', sha256='996021ef33e0f50b97ff2d6b5f422a0fe5577de21a8873b58a779a5ddd1c3132')
diff --git a/var/spack/repos/builtin/packages/py-holland-backup/package.py b/var/spack/repos/builtin/packages/py-holland-backup/package.py
new file mode 100644
index 0000000000..737824ae26
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-holland-backup/package.py
@@ -0,0 +1,23 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+from spack import *
+
+
+class PyHollandBackup(PythonPackage):
+ """Holland is an Open Source backup framework originally developed
+ by Rackspace and written in Python. Its goal is to help facilitate
+ backing up databases with greater configurability, consistency, and ease.
+ Holland currently focuses on MySQL, however future development will include
+ other database platforms and even non-database related applications.
+ Because of its plugin structure, Holland can be used to backup anything
+ you want by whatever means you want."""
+
+ homepage = "http://hollandbackup.org/"
+ url = "https://github.com/holland-backup/holland/archive/1.2.2.tar.gz"
+
+ version('1.2.2', sha256='836337c243b2dff5ff6a3ce0b647f123ab24697a5de8ac8ae8b7839aa23dff68')
+
+ depends_on('py-setuptools', type=('build', 'run'))
+ depends_on('py-configobj@4.6.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-horovod/package.py b/var/spack/repos/builtin/packages/py-horovod/package.py
index f377b6fcda..0da00e92b3 100644
--- a/var/spack/repos/builtin/packages/py-horovod/package.py
+++ b/var/spack/repos/builtin/packages/py-horovod/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,6 +14,10 @@ class PyHorovod(PythonPackage, CudaPackage):
maintainers = ['adamjstewart', 'aweits', 'tgaddair']
version('master', branch='master', submodules=True)
+ version('0.21.3', tag='v0.21.3', submodules=True)
+ version('0.21.2', tag='v0.21.2', submodules=True)
+ version('0.21.1', tag='v0.21.1', submodules=True)
+ version('0.21.0', tag='v0.21.0', submodules=True)
version('0.20.3', tag='v0.20.3', submodules=True)
version('0.20.2', tag='v0.20.2', submodules=True)
version('0.20.1', tag='v0.20.1', submodules=True)
@@ -65,12 +69,14 @@ class PyHorovod(PythonPackage, CudaPackage):
depends_on('py-cffi@1.4.0:', type=('build', 'run'), when='frameworks=pytorch')
depends_on('mxnet@1.4.1:+python', type=('build', 'link', 'run'), when='frameworks=mxnet')
depends_on('py-keras@2.0.8,2.1.2:', type=('build', 'run'), when='frameworks=keras')
- depends_on('py-h5py@2.9:', type=('build', 'run'), when='frameworks=spark')
+ depends_on('py-h5py@:2.999', type=('build', 'run'), when='frameworks=spark')
depends_on('py-numpy', type=('build', 'run'), when='frameworks=spark')
depends_on('py-petastorm@0.8.2', type=('build', 'run'), when='frameworks=spark @:0.19.1')
- depends_on('py-petastorm@0.9.0:', type=('build', 'run'), when='frameworks=spark @0.19.2:')
+ depends_on('py-petastorm@0.9.0:', type=('build', 'run'), when='frameworks=spark @0.19.2:0.21.0')
+ depends_on('py-petastorm@0.9.8:', type=('build', 'run'), when='frameworks=spark @0.21.1:')
depends_on('py-pyarrow@0.15.0:', type=('build', 'run'), when='frameworks=spark')
- depends_on('py-pyspark@2.3.2:', type=('build', 'run'), when='frameworks=spark')
+ depends_on('py-pyspark@2.3.2:', type=('build', 'run'), when='frameworks=spark ^python@:3.7')
+ depends_on('py-pyspark@3.0.0:', type=('build', 'run'), when='frameworks=spark ^python@3.8:')
depends_on('py-ray', type=('build', 'run'), when='frameworks=ray')
# Build dependencies
@@ -89,12 +95,6 @@ class PyHorovod(PythonPackage, CudaPackage):
# There does not appear to be a way to use an external Gloo installation
depends_on('cmake', type='build', when='tensor_ops=gloo')
- # Test dependencies
- depends_on('py-mock', type='test')
- depends_on('py-pytest', type='test')
- depends_on('py-pytest-forked', type='test')
- depends_on('py-parameterized', type='test', when='@0.20:')
-
conflicts('cuda_arch=none', when='+cuda',
msg='Must specify CUDA compute capabilities of your GPU, see '
'https://developer.nvidia.com/cuda-gpus')
@@ -105,6 +105,51 @@ class PyHorovod(PythonPackage, CudaPackage):
# https://github.com/horovod/horovod/pull/1835
patch('fma.patch', when='@0.19.0:0.19.1')
+ @property
+ def import_modules(self):
+ modules = [
+ 'horovod', 'horovod.runner', 'horovod.runner.util',
+ 'horovod.runner.elastic', 'horovod.runner.driver',
+ 'horovod.runner.common', 'horovod.runner.common.util',
+ 'horovod.runner.common.service', 'horovod.runner.http',
+ 'horovod.runner.task', 'horovod.common'
+ ]
+
+ if 'frameworks=tensorflow' in self.spec:
+ modules.append('horovod.tensorflow')
+
+ if 'frameworks=pytorch' in self.spec:
+ modules.extend([
+ 'horovod.torch', 'horovod.torch.mpi_lib',
+ 'horovod.torch.elastic', 'horovod.torch.mpi_lib_impl'
+ ])
+
+ if 'frameworks=mxnet' in self.spec:
+ modules.append('horovod.mxnet')
+
+ if 'frameworks=keras' in self.spec:
+ modules.extend(['horovod.keras', 'horovod._keras'])
+
+ if 'frameworks=spark' in self.spec:
+ modules.extend([
+ 'horovod.spark', 'horovod.spark.driver',
+ 'horovod.spark.common', 'horovod.spark.task'
+ ])
+
+ if 'frameworks=ray' in self.spec:
+ modules.append('horovod.ray')
+
+ if 'frameworks=tensorflow,keras' in self.spec:
+ modules.append('horovod.tensorflow.keras')
+
+ if 'frameworks=spark,pytorch' in self.spec:
+ modules.append('horovod.spark.torch')
+
+ if 'frameworks=spark,keras' in self.spec:
+ modules.append('horovod.spark.keras')
+
+ return modules
+
def setup_build_environment(self, env):
# https://github.com/horovod/horovod/blob/master/docs/install.rst#environment-variables
@@ -167,8 +212,6 @@ class PyHorovod(PythonPackage, CudaPackage):
env.set('HOROVOD_CPU_OPERATIONS',
self.spec.variants['tensor_ops'].value.upper())
- @run_after('install')
- @on_package_attributes(run_tests=True)
- def install_test(self):
- horovodrun = Executable(self.prefix.bin.horovodrun)
- horovodrun('--check-build')
+ def test(self):
+ super(PyHorovod, self).test()
+ run_test(self.prefix.bin.horovodrun, '--check-build')
diff --git a/var/spack/repos/builtin/packages/py-hpack/package.py b/var/spack/repos/builtin/packages/py-hpack/package.py
index 8aae974133..b4621c40ae 100644
--- a/var/spack/repos/builtin/packages/py-hpack/package.py
+++ b/var/spack/repos/builtin/packages/py-hpack/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyHpack(PythonPackage):
"""Pure-Python HPACK header compression"""
homepage = "https://github.com/python-hyper/hpack"
- url = "https://pypi.io/packages/source/h/hpack/hpack-4.0.0.tar.gz"
+ pypi = "hpack/hpack-4.0.0.tar.gz"
version('4.0.0', sha256='fc41de0c63e687ebffde81187a948221294896f6bdc0ae2312708df339430095')
diff --git a/var/spack/repos/builtin/packages/py-hpcbench/package.py b/var/spack/repos/builtin/packages/py-hpcbench/package.py
index 7721655824..b53c1df5d6 100644
--- a/var/spack/repos/builtin/packages/py-hpcbench/package.py
+++ b/var/spack/repos/builtin/packages/py-hpcbench/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyHpcbench(PythonPackage):
homepage = "https://github.com/BlueBrain/hpcbench"
- url = "https://pypi.io/packages/source/h/hpcbench/hpcbench-0.8.tar.gz"
+ pypi = "hpcbench/hpcbench-0.8.tar.gz"
git = "https://github.com/BlueBrain/hpcbench.git"
version('master', branch='master')
diff --git a/var/spack/repos/builtin/packages/py-hpccm/package.py b/var/spack/repos/builtin/packages/py-hpccm/package.py
index db041ef65a..887df9d8cf 100644
--- a/var/spack/repos/builtin/packages/py-hpccm/package.py
+++ b/var/spack/repos/builtin/packages/py-hpccm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyHpccm(PythonPackage):
tool to make it easier to generate container specification files."""
homepage = "https://github.com/NVIDIA/hpc-container-maker"
- url = "https://pypi.io/packages/source/h/hpccm/hpccm-19.2.0.tar.gz"
+ pypi = "hpccm/hpccm-19.2.0.tar.gz"
version('19.2.0', sha256='c60eec914a802b0a76596cfd5fdf7122d3f8665fcef06ef928323f5dfb5219a6')
diff --git a/var/spack/repos/builtin/packages/py-hstspreload/package.py b/var/spack/repos/builtin/packages/py-hstspreload/package.py
index f3c304395b..88cde592d3 100644
--- a/var/spack/repos/builtin/packages/py-hstspreload/package.py
+++ b/var/spack/repos/builtin/packages/py-hstspreload/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyHstspreload(PythonPackage):
"""Chromium HSTS Preload list as a Python package and updated daily"""
homepage = "https://github.com/sethmlarson/hstspreload"
- url = "https://pypi.io/packages/source/h/hstspreload/hstspreload-2020.9.23.tar.gz"
+ pypi = "hstspreload/hstspreload-2020.9.23.tar.gz"
version('2020.9.23', sha256='35822733ba67cfb4efc6cd7d1230b509f0bd42c90eeb329faf2fe679f801e40f')
diff --git a/var/spack/repos/builtin/packages/py-html2text/package.py b/var/spack/repos/builtin/packages/py-html2text/package.py
index 69895a7361..3adc4770cd 100644
--- a/var/spack/repos/builtin/packages/py-html2text/package.py
+++ b/var/spack/repos/builtin/packages/py-html2text/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyHtml2text(PythonPackage):
"""Turn HTML into equivalent Markdown-structured text."""
homepage = "https://github.com/Alir3z4/html2text/"
- url = "https://pypi.io/packages/source/h/html2text/html2text-2016.9.19.tar.gz"
+ pypi = "html2text/html2text-2016.9.19.tar.gz"
version('2016.9.19', sha256='554ef5fd6c6cf6e3e4f725a62a3e9ec86a0e4d33cd0928136d1c79dbeb7b2d55')
diff --git a/var/spack/repos/builtin/packages/py-html5lib/package.py b/var/spack/repos/builtin/packages/py-html5lib/package.py
index e9e8b485ab..ea81a8beae 100644
--- a/var/spack/repos/builtin/packages/py-html5lib/package.py
+++ b/var/spack/repos/builtin/packages/py-html5lib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyHtml5lib(PythonPackage):
"""HTML parser based on the WHATWG HTML specification."""
homepage = "https://github.com/html5lib/html5lib-python"
- url = "https://pypi.io/packages/source/h/html5lib/html5lib-0.9999999.tar.gz"
+ pypi = "html5lib/html5lib-0.9999999.tar.gz"
version('1.0.1', sha256='66cb0dcfdbbc4f9c3ba1a63fdb511ffdbd4f513b2b6d81b80cd26ce6b3fb3736')
version('0.9999999', sha256='2612a191a8d5842bfa057e41ba50bbb9dcb722419d2408c78cff4758d0754868')
diff --git a/var/spack/repos/builtin/packages/py-htmlgen/package.py b/var/spack/repos/builtin/packages/py-htmlgen/package.py
index b15fe69769..6beb4732f4 100644
--- a/var/spack/repos/builtin/packages/py-htmlgen/package.py
+++ b/var/spack/repos/builtin/packages/py-htmlgen/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,5 +18,3 @@ class PyHtmlgen(PythonPackage):
depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
- depends_on('py-asserts@0.8.0:0.8.999', type='test')
- depends_on('py-typing', type='test')
diff --git a/var/spack/repos/builtin/packages/py-htseq/package.py b/var/spack/repos/builtin/packages/py-htseq/package.py
index 693c12840c..f604ab6118 100644
--- a/var/spack/repos/builtin/packages/py-htseq/package.py
+++ b/var/spack/repos/builtin/packages/py-htseq/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-httpbin/package.py b/var/spack/repos/builtin/packages/py-httpbin/package.py
index 815f748885..912ec6529d 100644
--- a/var/spack/repos/builtin/packages/py-httpbin/package.py
+++ b/var/spack/repos/builtin/packages/py-httpbin/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyHttpbin(PythonPackage):
"""HTTP Request and Response Service"""
homepage = "https://github.com/Runscope/httpbin"
- url = "https://pypi.io/packages/source/h/httpbin/httpbin-0.7.0.tar.gz"
+ pypi = "httpbin/httpbin-0.7.0.tar.gz"
version('0.7.0', sha256='cbb37790c91575f4f15757f42ad41d9f729eb227d5edbe89e4ec175486db8dfa')
version('0.5.0', sha256='79fbc5d27e4194ea908b0fa18e09a59d95d287c91667aa69bcd010342d1589b5')
diff --git a/var/spack/repos/builtin/packages/py-httpcore/package.py b/var/spack/repos/builtin/packages/py-httpcore/package.py
index a161d9a171..311aa58924 100644
--- a/var/spack/repos/builtin/packages/py-httpcore/package.py
+++ b/var/spack/repos/builtin/packages/py-httpcore/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyHttpcore(PythonPackage):
which does one thing only. Sending HTTP requests."""
homepage = "https://github.com/encode/httpcore"
- url = "https://pypi.io/packages/source/h/httpcore/httpcore-0.11.0.tar.gz"
+ pypi = "httpcore/httpcore-0.11.0.tar.gz"
version('0.11.0', sha256='35ffc735d746b83f8fc6d36f82600e56117b9e8adc65d0c0423264b6ebfef7bf')
diff --git a/var/spack/repos/builtin/packages/py-httplib2/package.py b/var/spack/repos/builtin/packages/py-httplib2/package.py
index 73877056ac..62cfe2a587 100644
--- a/var/spack/repos/builtin/packages/py-httplib2/package.py
+++ b/var/spack/repos/builtin/packages/py-httplib2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyHttplib2(PythonPackage):
"""A comprehensive HTTP client library."""
homepage = "https://github.com/httplib2/httplib2"
- url = "https://pypi.io/packages/source/h/httplib2/httplib2-0.13.1.tar.gz"
+ pypi = "httplib2/httplib2-0.13.1.tar.gz"
version('0.13.1', sha256='6901c8c0ffcf721f9ce270ad86da37bc2b4d32b8802d4a9cec38274898a64044')
diff --git a/var/spack/repos/builtin/packages/py-httptools/package.py b/var/spack/repos/builtin/packages/py-httptools/package.py
index 9cb1f5df43..20afa6eec4 100644
--- a/var/spack/repos/builtin/packages/py-httptools/package.py
+++ b/var/spack/repos/builtin/packages/py-httptools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyHttptools(PythonPackage):
"""httptools is a Python binding for the nodejs HTTP parser."""
homepage = "https://github.com/MagicStack/httptools"
- url = "https://pypi.io/packages/source/h/httptools/httptools-0.1.1.tar.gz"
+ pypi = "httptools/httptools-0.1.1.tar.gz"
version('0.1.1', sha256='41b573cf33f64a8f8f3400d0a7faf48e1888582b6f6e02b82b9bd4f0bf7497ce')
diff --git a/var/spack/repos/builtin/packages/py-httpx/package.py b/var/spack/repos/builtin/packages/py-httpx/package.py
index 50dca9b2fb..ec3268461f 100644
--- a/var/spack/repos/builtin/packages/py-httpx/package.py
+++ b/var/spack/repos/builtin/packages/py-httpx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyHttpx(PythonPackage):
and async APIs, and support for both HTTP/1.1 and HTTP/2."""
homepage = "https://github.com/encode/httpx"
- url = "https://pypi.io/packages/source/h/httpx/httpx-0.15.2.tar.gz"
+ pypi = "httpx/httpx-0.15.2.tar.gz"
version('0.15.2', sha256='713a2deaf96d85bbd4a1fbdf0edb27d6b4ee2c9aaeda8433042367e4b9e1628d')
version('0.11.1', sha256='7d2bfb726eeed717953d15dddb22da9c2fcf48a4d70ba1456aa0a7faeda33cf7')
diff --git a/var/spack/repos/builtin/packages/py-humanfriendly/package.py b/var/spack/repos/builtin/packages/py-humanfriendly/package.py
index d6129f4db8..60e177e46a 100644
--- a/var/spack/repos/builtin/packages/py-humanfriendly/package.py
+++ b/var/spack/repos/builtin/packages/py-humanfriendly/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ class PyHumanfriendly(PythonPackage):
"""Human friendly output for text interfaces using Python"""
homepage = "https://humanfriendly.readthedocs.io/"
- url = "https://pypi.io/packages/source/h/humanfriendly/humanfriendly-8.1.tar.gz"
+ pypi = "humanfriendly/humanfriendly-8.1.tar.gz"
version('8.2', sha256='bf52ec91244819c780341a3438d5d7b09f431d3f113a475147ac9b7b167a3d12')
version('8.1', sha256='25c2108a45cfd1e8fbe9cdb30b825d34ef5d5675c8e11e4775c9aedbfb0bdee2')
diff --git a/var/spack/repos/builtin/packages/py-humanize/package.py b/var/spack/repos/builtin/packages/py-humanize/package.py
index c83200de00..8240561773 100644
--- a/var/spack/repos/builtin/packages/py-humanize/package.py
+++ b/var/spack/repos/builtin/packages/py-humanize/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,9 +14,8 @@ class PyHumanize(PythonPackage):
"""
homepage = "https://github.com/jmoiron/humanize"
- url = "https://pypi.io/packages/source/h/humanize/humanize-0.5.1.tar.gz"
+ pypi = "humanize/humanize-0.5.1.tar.gz"
version('0.5.1', sha256='a43f57115831ac7c70de098e6ac46ac13be00d69abbf60bdcac251344785bb19')
depends_on('py-setuptools', type='build')
- depends_on('py-mock', type='test')
diff --git a/var/spack/repos/builtin/packages/py-hvac/package.py b/var/spack/repos/builtin/packages/py-hvac/package.py
index 968fef45e6..6358045a0d 100644
--- a/var/spack/repos/builtin/packages/py-hvac/package.py
+++ b/var/spack/repos/builtin/packages/py-hvac/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-hyperframe/package.py b/var/spack/repos/builtin/packages/py-hyperframe/package.py
index 046a0b828c..065add01cb 100644
--- a/var/spack/repos/builtin/packages/py-hyperframe/package.py
+++ b/var/spack/repos/builtin/packages/py-hyperframe/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyHyperframe(PythonPackage):
"""HTTP/2 framing layer for Python"""
homepage = "https://github.com/python-hyper/hyperframe/"
- url = "https://pypi.io/packages/source/h/hyperframe/hyperframe-6.0.0.tar.gz"
+ pypi = "hyperframe/hyperframe-6.0.0.tar.gz"
version('6.0.0', sha256='742d2a4bc3152a340a49d59f32e33ec420aa8e7054c1444ef5c7efff255842f1')
diff --git a/var/spack/repos/builtin/packages/py-hyperopt/package.py b/var/spack/repos/builtin/packages/py-hyperopt/package.py
new file mode 100644
index 0000000000..68dec3ba2b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-hyperopt/package.py
@@ -0,0 +1,35 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyHyperopt(PythonPackage):
+ """Hyperopt is a Python library for serial and parallel optimization over
+ awkward search spaces, which may include real-valued, discrete, and
+ conditional dimensions."""
+
+ homepage = "http://hyperopt.github.io/hyperopt/"
+ pypi = "hyperopt/hyperopt-0.2.5.tar.gz"
+
+ version('0.2.5', sha256='bc6047d50f956ae64eebcb34b1fd40f186a93e214957f20e87af2f10195295cc')
+
+ variant('spark', default=False, description="SparkTrials")
+ variant('mongo', default=False, description="MongoTrials")
+ variant('atpe', default=False, description="ATPE")
+
+ depends_on('python@2.7:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-numpy', type=('build', 'run'))
+ depends_on('py-scipy', type=('build', 'run'))
+ depends_on('py-six', type=('build', 'run'))
+ depends_on('py-networkx@2.2:', type=('build', 'run'))
+ depends_on('py-future', type=('build', 'run'))
+ depends_on('py-tqdm', type=('build', 'run'))
+ depends_on('py-cloudpickle', type=('build', 'run'))
+ depends_on('py-pyspark', when="+spark", type=('build', 'run'))
+ depends_on('py-pymongo', when="+mongo", type=('build', 'run'))
+ depends_on('py-scikit-learn', when="+atpe", type=('build', 'run'))
+ depends_on('py-lightgbm', when="+atpe", type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-hypothesis/package.py b/var/spack/repos/builtin/packages/py-hypothesis/package.py
index 79a39055d0..825e37e981 100644
--- a/var/spack/repos/builtin/packages/py-hypothesis/package.py
+++ b/var/spack/repos/builtin/packages/py-hypothesis/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,15 +10,7 @@ class PyHypothesis(PythonPackage):
"""A library for property based testing."""
homepage = "https://github.com/HypothesisWorks/hypothesis-python"
- url = "https://pypi.io/packages/source/h/hypothesis/hypothesis-4.41.2.tar.gz"
-
- import_modules = [
- 'hypothesis', 'hypothesis.searchstrategy', 'hypothesis.extra',
- 'hypothesis.utils', 'hypothesis.vendor', 'hypothesis.internal',
- 'hypothesis.internal.conjecture'
- ]
-
- # TODO: Add missing dependency required to import hypothesis.extra.django
+ pypi = "hypothesis/hypothesis-4.41.2.tar.gz"
version('5.3.0', sha256='c9fdb53fe3bf1f8e7dcca1a7dd6e430862502f088aca2903d141511212e79429')
version('4.57.1', sha256='3c4369a4b0a1348561048bcda5f1db951a1b8e2a514ea8e8c70d36e656bf6fa0')
diff --git a/var/spack/repos/builtin/packages/py-ics/package.py b/var/spack/repos/builtin/packages/py-ics/package.py
index c2c4a71346..db0df6608f 100644
--- a/var/spack/repos/builtin/packages/py-ics/package.py
+++ b/var/spack/repos/builtin/packages/py-ics/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-identify/package.py b/var/spack/repos/builtin/packages/py-identify/package.py
index 3ffafe94d7..210a1550b7 100644
--- a/var/spack/repos/builtin/packages/py-identify/package.py
+++ b/var/spack/repos/builtin/packages/py-identify/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class PyIdentify(PythonPackage):
standardized tags identifying what the file is."""
homepage = "https://github.com/chriskuehl/identify"
- url = "https://pypi.io/packages/source/i/identify/identify-1.4.7.tar.gz"
+ pypi = "identify/identify-1.4.7.tar.gz"
version('1.4.7', sha256='d8919589bd2a5f99c66302fec0ef9027b12ae150b0b0213999ad3f695fc7296e')
diff --git a/var/spack/repos/builtin/packages/py-idna-ssl/package.py b/var/spack/repos/builtin/packages/py-idna-ssl/package.py
index 273cdd9bc5..c79d2b46b6 100644
--- a/var/spack/repos/builtin/packages/py-idna-ssl/package.py
+++ b/var/spack/repos/builtin/packages/py-idna-ssl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-idna/package.py b/var/spack/repos/builtin/packages/py-idna/package.py
index 95498e38a6..619d8894b9 100644
--- a/var/spack/repos/builtin/packages/py-idna/package.py
+++ b/var/spack/repos/builtin/packages/py-idna/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyIdna(PythonPackage):
"""Internationalized Domain Names for Python (IDNA 2008 and UTS #46) """
homepage = "https://github.com/kjd/idna"
- url = "https://pypi.io/packages/source/i/idna/idna-2.8.tar.gz"
+ pypi = "idna/idna-2.8.tar.gz"
version('2.8', sha256='c357b3f628cf53ae2c4c05627ecc484553142ca23264e593d327bcde5e9c3407')
version('2.5', sha256='3cb5ce08046c4e3a560fc02f138d0ac63e00f8ce5901a56b32ec8b7994082aab')
diff --git a/var/spack/repos/builtin/packages/py-illumina-utils/package.py b/var/spack/repos/builtin/packages/py-illumina-utils/package.py
index 081b14163a..f978230888 100644
--- a/var/spack/repos/builtin/packages/py-illumina-utils/package.py
+++ b/var/spack/repos/builtin/packages/py-illumina-utils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyIlluminaUtils(PythonPackage):
data (for CASAVA 1.8+)."""
homepage = "https://github.com/meren/illumina-utils"
- url = "https://pypi.io/packages/source/i/illumina-utils/illumina-utils-2.2.tar.gz"
+ pypi = "illumina-utils/illumina-utils-2.2.tar.gz"
version('2.3', sha256='0e8407b91d530d9a53d8ec3c83e60f25e7f8f80d06ce17b8e4f57a02d3262441')
version('2.2', sha256='6039c72d077c101710fe4fdbfeaa30caa1c3c2c84ffa6295456927d82def8e6d')
diff --git a/var/spack/repos/builtin/packages/py-imageio-ffmpeg/package.py b/var/spack/repos/builtin/packages/py-imageio-ffmpeg/package.py
new file mode 100644
index 0000000000..24f3ef2a5a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-imageio-ffmpeg/package.py
@@ -0,0 +1,25 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyImageioFfmpeg(PythonPackage):
+ """The purpose of this project is to provide a simple and
+ reliable ffmpeg wrapper for working with video files. It
+ implements two simple generator functions for reading and
+ writing data from/to ffmpeg, which reliably terminate the
+ ffmpeg process when done. It also takes care of publishing
+ platform-specific wheels that include the binary ffmpeg
+ executables."""
+
+ homepage = "https://github.com/imageio/imageio-ffmpeg"
+ pypi = "imageio-ffmpeg/imageio-ffmpeg-0.4.3.tar.gz"
+
+ version('0.4.3', sha256='f826260a3207b872f1a4ba87ec0c8e02c00afba4fd03348a59049bdd8215841e')
+
+ depends_on('python@3.4:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('ffmpeg', type='run')
diff --git a/var/spack/repos/builtin/packages/py-imageio/package.py b/var/spack/repos/builtin/packages/py-imageio/package.py
index 8dd09b1f3f..cc725ccaaa 100644
--- a/var/spack/repos/builtin/packages/py-imageio/package.py
+++ b/var/spack/repos/builtin/packages/py-imageio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class PyImageio(PythonPackage):
cross-platform, runs on Python 2.7 and 3.4+, and is easy to install."""
homepage = "http://imageio.github.io/"
- url = "https://pypi.io/packages/source/i/imageio/imageio-2.3.0.tar.gz"
+ pypi = "imageio/imageio-2.3.0.tar.gz"
version('2.5.0', sha256='42e65aadfc3d57a1043615c92bdf6319b67589e49a0aae2b985b82144aceacad')
version('2.4.1', sha256='16b8077bc8a5fa7a58b3e744f7ecbb156d8c088132df31e0f4f546c98de3514a')
diff --git a/var/spack/repos/builtin/packages/py-imagesize/package.py b/var/spack/repos/builtin/packages/py-imagesize/package.py
index e9f2033413..78b4fe8477 100644
--- a/var/spack/repos/builtin/packages/py-imagesize/package.py
+++ b/var/spack/repos/builtin/packages/py-imagesize/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,9 +11,7 @@ class PyImagesize(PythonPackage):
JPEG2000, and GIF image file formats."""
homepage = "https://github.com/shibukawa/imagesize_py"
- url = "https://pypi.io/packages/source/i/imagesize/imagesize-0.7.1.tar.gz"
-
- import_modules = ['imagesize']
+ pypi = "imagesize/imagesize-0.7.1.tar.gz"
version('1.1.0', sha256='f3832918bc3c66617f92e35f5d70729187676313caa60c187eb0f28b8fe5e3b5')
version('0.7.1', sha256='0ab2c62b87987e3252f89d30b7cedbec12a01af9274af9ffa48108f2c13c6062')
diff --git a/var/spack/repos/builtin/packages/py-iminuit/package.py b/var/spack/repos/builtin/packages/py-iminuit/package.py
index e9ec1b73bf..787cf7e2fe 100644
--- a/var/spack/repos/builtin/packages/py-iminuit/package.py
+++ b/var/spack/repos/builtin/packages/py-iminuit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,18 +9,13 @@ from spack import *
class PyIminuit(PythonPackage):
"""Interactive IPython-Friendly Minimizer based on SEAL Minuit2."""
- homepage = "https://pypi.python.org/pypi/iminuit"
- url = "https://pypi.io/packages/source/i/iminuit/iminuit-1.2.tar.gz"
+ pypi = "iminuit/iminuit-1.2.tar.gz"
+ version('1.3.7', sha256='9173e52cc4a0c0bda13ebfb862f9b074dc5de345b23cb15c1150863aafd8a26c')
version('1.3.6', sha256='d79a197f305d4708a0e3e52b0a6748c1a6997360d2fbdfd09c022995a6963b5e')
version('1.2', sha256='7651105fc3f186cfb5742f075ffebcc5088bf7797d8ed124c00977eebe0d1c64')
# Required dependencies
depends_on('py-setuptools', type='build')
- depends_on('py-numpy', type=('build', 'run'), when='@1.3:')
-
- # Optional dependencies
- depends_on('py-matplotlib', type='test', when='@1.3:')
- depends_on('py-cython', type='test', when='@1.3:')
- depends_on('py-pytest', type='test', when='@1.3:')
- depends_on('py-scipy', type='test', when='@1.3:')
+ depends_on('py-numpy', type=('build', 'run'), when='@1.3:1.3.6')
+ depends_on('py-numpy@1.11.3:', type=('build', 'run'), when='@1.3.7:')
diff --git a/var/spack/repos/builtin/packages/py-immutables/package.py b/var/spack/repos/builtin/packages/py-immutables/package.py
index 24a92efc3c..85199833fd 100644
--- a/var/spack/repos/builtin/packages/py-immutables/package.py
+++ b/var/spack/repos/builtin/packages/py-immutables/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyImmutables(PythonPackage):
"""An immutable mapping type for Python."""
homepage = "https://github.com/MagicStack/immutables"
- url = "https://pypi.io/packages/source/i/immutables/immutables-0.14.tar.gz"
+ pypi = "immutables/immutables-0.14.tar.gz"
version('0.14', sha256='a0a1cc238b678455145bae291d8426f732f5255537ed6a5b7645949704c70a78')
diff --git a/var/spack/repos/builtin/packages/py-importlib-metadata/package.py b/var/spack/repos/builtin/packages/py-importlib-metadata/package.py
index f22a812605..cc03267799 100644
--- a/var/spack/repos/builtin/packages/py-importlib-metadata/package.py
+++ b/var/spack/repos/builtin/packages/py-importlib-metadata/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyImportlibMetadata(PythonPackage):
"""Read metadata from Python packages."""
homepage = "https://importlib-metadata.readthedocs.io/"
- url = "https://pypi.io/packages/source/i/importlib_metadata/importlib_metadata-1.2.0.tar.gz"
+ pypi = "importlib_metadata/importlib_metadata-1.2.0.tar.gz"
version('2.0.0', sha256='77a540690e24b0305878c37ffd421785a6f7e53c8b5720d211b211de8d0e95da')
version('1.2.0', sha256='41e688146d000891f32b1669e8573c57e39e5060e7f5f647aa617cd9a9568278')
@@ -25,5 +25,3 @@ class PyImportlibMetadata(PythonPackage):
depends_on('py-pathlib2', when='^python@:2', type=('build', 'run'))
depends_on('py-contextlib2', when='^python@:2', type=('build', 'run'))
depends_on('py-configparser@3.5:', when='^python@:2', type=('build', 'run'))
- depends_on('py-importlib-resources', when='^python@:3.6', type='test')
- depends_on('py-packaging', type='test')
diff --git a/var/spack/repos/builtin/packages/py-importlib-resources/package.py b/var/spack/repos/builtin/packages/py-importlib-resources/package.py
index 4c0a6e1243..67d4c70b41 100644
--- a/var/spack/repos/builtin/packages/py-importlib-resources/package.py
+++ b/var/spack/repos/builtin/packages/py-importlib-resources/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyImportlibResources(PythonPackage):
"""Read resources from Python packages"""
- homepage = "https://pypi.org/project/importlib_resources/"
- url = "https://pypi.io/packages/source/i/importlib_resources/importlib_resources-1.0.2.tar.gz"
+ pypi = "importlib_resources/importlib_resources-1.0.2.tar.gz"
version('1.0.2', sha256='d3279fd0f6f847cced9f7acc19bd3e5df54d34f93a2e7bb5f238f81545787078')
diff --git a/var/spack/repos/builtin/packages/py-importlib/package.py b/var/spack/repos/builtin/packages/py-importlib/package.py
index 723eb00c05..5883bd20b2 100644
--- a/var/spack/repos/builtin/packages/py-importlib/package.py
+++ b/var/spack/repos/builtin/packages/py-importlib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,6 +10,6 @@ class PyImportlib(PythonPackage):
"""Packaging for importlib from Python 2.7"""
homepage = "https://github.com/brettcannon/importlib"
- url = "https://pypi.io/packages/source/i/importlib/importlib-1.0.4.zip"
+ pypi = "importlib/importlib-1.0.4.zip"
version('1.0.4', sha256='b6ee7066fea66e35f8d0acee24d98006de1a0a8a94a8ce6efe73a9a23c8d9826')
diff --git a/var/spack/repos/builtin/packages/py-inference-schema/package.py b/var/spack/repos/builtin/packages/py-inference-schema/package.py
index 5d9795145e..b807709689 100644
--- a/var/spack/repos/builtin/packages/py-inference-schema/package.py
+++ b/var/spack/repos/builtin/packages/py-inference-schema/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-inheritance/package.py b/var/spack/repos/builtin/packages/py-inheritance/package.py
index 1620794a7b..f6bcc6ea3a 100644
--- a/var/spack/repos/builtin/packages/py-inheritance/package.py
+++ b/var/spack/repos/builtin/packages/py-inheritance/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-iniconfig/package.py b/var/spack/repos/builtin/packages/py-iniconfig/package.py
new file mode 100644
index 0000000000..e658aba1d6
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-iniconfig/package.py
@@ -0,0 +1,18 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyIniconfig(PythonPackage):
+ """
+ iniconfig: brain-dead simple parsing of ini files
+ """
+
+ pypi = "iniconfig/iniconfig-1.1.1.tar.gz"
+
+ version('1.1.1', sha256='bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32')
+
+ depends_on('py-setuptools', type='build')
diff --git a/var/spack/repos/builtin/packages/py-iniparse/package.py b/var/spack/repos/builtin/packages/py-iniparse/package.py
index f8083f0c5f..945d1a030a 100644
--- a/var/spack/repos/builtin/packages/py-iniparse/package.py
+++ b/var/spack/repos/builtin/packages/py-iniparse/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyIniparse(PythonPackage):
"""Accessing and Modifying INI files"""
homepage = "https://github.com/candlepin/python-iniparse"
- url = "https://pypi.io/packages/source/i/iniparse/iniparse-0.4.tar.gz"
+ pypi = "iniparse/iniparse-0.4.tar.gz"
git = "https://github.com/candlepin/python-iniparse.git"
version('master', branch='master')
diff --git a/var/spack/repos/builtin/packages/py-intel-openmp/package.py b/var/spack/repos/builtin/packages/py-intel-openmp/package.py
new file mode 100644
index 0000000000..5c304fcec1
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-intel-openmp/package.py
@@ -0,0 +1,36 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+import sys
+from spack import *
+
+
+class PyIntelOpenmp(Package):
+ """Intel OpenMP* Runtime Library x86_64 dynamic libraries
+ for macOS*. Intel OpenMP* Runtime Library provides OpenMP
+ API specification support in Intel C Compiler, Intel C++
+ Compiler and Intel Fortran Compiler. It helps to improve
+ performance by creating multithreaded software using shared
+ memory and running on multi-core processor systems."""
+
+ homepage = "https://pypi.org/project/intel-openmp/"
+
+ if sys.platform.startswith('linux'):
+ version('2021.1.2',
+ url='https://pypi.io/packages/py2.py3/i/intel-openmp/intel_openmp-2021.1.2-py2.py3-none-manylinux1_x86_64.whl',
+ sha256='8796797ecae99f39b27065e4a7f1f435e2ca08afba654ca57a77a2717f864dca',
+ expand=False)
+
+ if sys.platform.startswith('darwin'):
+ version('2021.1.2',
+ url='https://pypi.io/packages/py2.py3/i/intel-openmp/intel_openmp-2021.1.2-py2.py3-none-macosx_10_15_x86_64.whl',
+ sha256='2af893738b4b06cb0183746f2992169111031340b59c84a0fd4dec1ed66b80f2',
+ expand=False)
+
+ depends_on('py-pip', type='build')
+
+ def install(self, spec, prefix):
+ pip = which('pip')
+ pip('install', self.stage.archive_file, '--prefix={0}'.format(prefix))
diff --git a/var/spack/repos/builtin/packages/py-intervaltree/package.py b/var/spack/repos/builtin/packages/py-intervaltree/package.py
index f5d4501dd7..333d3de4e7 100644
--- a/var/spack/repos/builtin/packages/py-intervaltree/package.py
+++ b/var/spack/repos/builtin/packages/py-intervaltree/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,5 +15,4 @@ class PyIntervaltree(PythonPackage):
version('3.0.2', sha256='e8ab75b66077f2e5fb85ac56cb6df834689edb048d38601d53d8867cce3b77d1')
depends_on('py-sortedcontainers@2:2.999', type=('build', 'run'))
- depends_on('py-pytest', type='test')
depends_on('py-setuptools', type='build')
diff --git a/var/spack/repos/builtin/packages/py-invoke/package.py b/var/spack/repos/builtin/packages/py-invoke/package.py
index 29414d5fbc..1b98a89008 100644
--- a/var/spack/repos/builtin/packages/py-invoke/package.py
+++ b/var/spack/repos/builtin/packages/py-invoke/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyInvoke(PythonPackage):
"""Pythonic task execution"""
homepage = "http://www.pyinvoke.org/"
- url = "https://pypi.io/packages/source/i/invoke/invoke-1.4.1.tar.gz"
+ pypi = "invoke/invoke-1.4.1.tar.gz"
version('1.4.1', sha256='de3f23bfe669e3db1085789fd859eb8ca8e0c5d9c20811e2407fa042e8a5e15d')
version('1.2.0', sha256='dc492f8f17a0746e92081aec3f86ae0b4750bf41607ea2ad87e5a7b5705121b7')
diff --git a/var/spack/repos/builtin/packages/py-ipaddress/package.py b/var/spack/repos/builtin/packages/py-ipaddress/package.py
index 142bddd5fe..4b8aa5dc38 100644
--- a/var/spack/repos/builtin/packages/py-ipaddress/package.py
+++ b/var/spack/repos/builtin/packages/py-ipaddress/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyIpaddress(PythonPackage):
"""Python 3.3's ipaddress for older Python versions"""
homepage = "https://github.com/phihag/ipaddress"
- url = "https://pypi.io/packages/source/i/ipaddress/ipaddress-1.0.23.tar.gz"
+ pypi = "ipaddress/ipaddress-1.0.23.tar.gz"
version('1.0.23', sha256='b7f8e0369580bb4a24d5ba1d7cc29660a4a6987763faf1d8a8046830e020e7e2')
version('1.0.22', sha256='b146c751ea45cad6188dd6cf2d9b757f6f4f8d6ffb96a023e6f2e26eea02a72c')
diff --git a/var/spack/repos/builtin/packages/py-ipdb/package.py b/var/spack/repos/builtin/packages/py-ipdb/package.py
index 81c4bfb705..f47c041be4 100644
--- a/var/spack/repos/builtin/packages/py-ipdb/package.py
+++ b/var/spack/repos/builtin/packages/py-ipdb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,7 @@ class PyIpdb(PythonPackage):
"""ipdb is the iPython debugger and has many additional features, including
a better interactive debugging experience via colorized output."""
- homepage = "https://pypi.python.org/pypi/ipdb"
- url = "https://pypi.io/packages/source/i/ipdb/ipdb-0.10.1.tar.gz"
+ pypi = "ipdb/ipdb-0.10.1.tar.gz"
version('0.10.1', sha256='bb2948e726dbfb2687f4a582088b3f170b2556ba8e54ae1231c783c97e99ec87')
diff --git a/var/spack/repos/builtin/packages/py-ipykernel/package.py b/var/spack/repos/builtin/packages/py-ipykernel/package.py
index 1428f7d804..3d3d98530b 100644
--- a/var/spack/repos/builtin/packages/py-ipykernel/package.py
+++ b/var/spack/repos/builtin/packages/py-ipykernel/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,8 +7,7 @@
class PyIpykernel(PythonPackage):
"""IPython Kernel for Jupyter"""
- homepage = "https://pypi.python.org/pypi/ipykernel"
- url = "https://pypi.io/packages/source/i/ipykernel/ipykernel-5.3.4.tar.gz"
+ pypi = "ipykernel/ipykernel-5.3.4.tar.gz"
version('5.3.4', sha256='9b2652af1607986a1b231c62302d070bc0534f564c393a5d9d130db9abbbe89d')
version('5.1.1', sha256='f0e962052718068ad3b1d8bcc703794660858f58803c3798628817f492a8769c')
@@ -36,10 +35,6 @@ class PyIpykernel(PythonPackage):
depends_on('py-tornado@4.0:', when='@:4.999', type=('build', 'run'))
depends_on('py-tornado@4.2:', when='@5.0.0:', type=('build', 'run'))
depends_on('py-appnope', when='platform=darwin', type=('build', 'run'))
- depends_on('py-pytest@:5.3.3,5.3.5:', type='test')
- depends_on('py-pytest-cov', type='test')
- # depends_on('py-flaky', type='test')
- depends_on('py-nose', type='test')
phases = ['build', 'install', 'install_data']
diff --git a/var/spack/repos/builtin/packages/py-ipyparallel/package.py b/var/spack/repos/builtin/packages/py-ipyparallel/package.py
index f208ac646a..9644a11939 100644
--- a/var/spack/repos/builtin/packages/py-ipyparallel/package.py
+++ b/var/spack/repos/builtin/packages/py-ipyparallel/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-ipython-cluster-helper/package.py b/var/spack/repos/builtin/packages/py-ipython-cluster-helper/package.py
index b2555cabe2..02f2a1e563 100644
--- a/var/spack/repos/builtin/packages/py-ipython-cluster-helper/package.py
+++ b/var/spack/repos/builtin/packages/py-ipython-cluster-helper/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-ipython-genutils/package.py b/var/spack/repos/builtin/packages/py-ipython-genutils/package.py
index b6a5d66085..b91e3fd3e2 100644
--- a/var/spack/repos/builtin/packages/py-ipython-genutils/package.py
+++ b/var/spack/repos/builtin/packages/py-ipython-genutils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyIpythonGenutils(PythonPackage):
"""Vestigial utilities from IPython"""
- homepage = "https://pypi.python.org/pypi/ipython_genutils"
- url = "https://pypi.io/packages/source/i/ipython_genutils/ipython_genutils-0.1.0.tar.gz"
+ pypi = "ipython_genutils/ipython_genutils-0.1.0.tar.gz"
version('0.2.0', sha256='eb2e116e75ecef9d4d228fdc66af54269afa26ab4463042e33785b887c628ba8')
version('0.1.0', sha256='3a0624a251a26463c9dfa0ffa635ec51c4265380980d9a50d65611c3c2bd82a6')
diff --git a/var/spack/repos/builtin/packages/py-ipython/package.py b/var/spack/repos/builtin/packages/py-ipython/package.py
index 2f10a7dddf..93bf8f9c12 100644
--- a/var/spack/repos/builtin/packages/py-ipython/package.py
+++ b/var/spack/repos/builtin/packages/py-ipython/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,8 +8,18 @@ class PyIpython(PythonPackage):
"""IPython provides a rich toolkit to help you make the most out of using
Python interactively."""
- homepage = "https://pypi.python.org/pypi/ipython"
- url = "https://pypi.io/packages/source/i/ipython/ipython-7.18.1.tar.gz"
+ pypi = "ipython/ipython-7.18.1.tar.gz"
+
+ # IPython.kernel is deprecated and fails to import
+ import_modules = [
+ 'IPython', 'IPython.core', 'IPython.core.tests', 'IPython.core.magics',
+ 'IPython.sphinxext', 'IPython.terminal',
+ 'IPython.terminal.pt_inputhooks', 'IPython.terminal.tests',
+ 'IPython.utils', 'IPython.utils.tests', 'IPython.extensions',
+ 'IPython.extensions.tests', 'IPython.testing', 'IPython.testing.tests',
+ 'IPython.testing.plugin', 'IPython.lib', 'IPython.lib.tests',
+ 'IPython.external', 'IPython.external.decorators'
+ ]
version('7.18.1', sha256='a331e78086001931de9424940699691ad49dfb457cea31f5471eae7b78222d5e')
version('7.5.0', sha256='e840810029224b56cd0d9e7719dc3b39cf84d577f8ac686547c8ba7a06eeab26')
@@ -41,9 +51,3 @@ class PyIpython(PythonPackage):
depends_on('py-backports-shutil-get-terminal-size', type=('build', 'run'), when="^python@:3.2")
depends_on('py-pathlib2', type=('build', 'run'), when="^python@:3.3")
depends_on('py-simplegeneric@0.8:', type=('build', 'run'), when='@:7.0.0')
- depends_on('py-nose@0.10.1:', type='test')
- depends_on('py-requests', type='test')
- depends_on('py-testpath', type='test')
- depends_on('py-nbformat', type='test')
- depends_on('py-ipykernel', type='test')
- depends_on('py-numpy@1.14:', type='test')
diff --git a/var/spack/repos/builtin/packages/py-ipywidgets/package.py b/var/spack/repos/builtin/packages/py-ipywidgets/package.py
index 11b0989069..3936363119 100644
--- a/var/spack/repos/builtin/packages/py-ipywidgets/package.py
+++ b/var/spack/repos/builtin/packages/py-ipywidgets/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -30,5 +30,3 @@ class PyIpywidgets(PythonPackage):
when='@7.4.2')
depends_on('py-widgetsnbextension@3.5.0:3.5.999', type=('build', 'run'),
when='@7.5.1')
- depends_on('py-mock', type='test', when='^python@2.7:2.8')
- depends_on('py-nose', type='test')
diff --git a/var/spack/repos/builtin/packages/py-irpf90/package.py b/var/spack/repos/builtin/packages/py-irpf90/package.py
index ffab335699..a4e6d6e9ce 100644
--- a/var/spack/repos/builtin/packages/py-irpf90/package.py
+++ b/var/spack/repos/builtin/packages/py-irpf90/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class PyIrpf90(PythonPackage):
performance computing."""
homepage = "http://irpf90.ups-tlse.fr"
- url = "https://pypi.io/packages/source/i/irpf90/irpf90-1.7.7.tar.gz"
+ pypi = "irpf90/irpf90-1.7.7.tar.gz"
maintainers = ['scemama']
diff --git a/var/spack/repos/builtin/packages/py-isodate/package.py b/var/spack/repos/builtin/packages/py-isodate/package.py
index bac6f2b44d..e2bf62fad2 100644
--- a/var/spack/repos/builtin/packages/py-isodate/package.py
+++ b/var/spack/repos/builtin/packages/py-isodate/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class PyIsodate(PythonPackage):
there, then it is treated as non existent, and not as an allowed option."""
homepage = "https://github.com/gweis/isodate/"
- url = "https://pypi.io/packages/source/i/isodate/isodate-0.6.0.tar.gz"
+ pypi = "isodate/isodate-0.6.0.tar.gz"
version('0.6.0', sha256='2e364a3d5759479cdb2d37cce6b9376ea504db2ff90252a2e5b7cc89cc9ff2d8')
diff --git a/var/spack/repos/builtin/packages/py-isort/package.py b/var/spack/repos/builtin/packages/py-isort/package.py
index 1446f70979..9eedf82418 100644
--- a/var/spack/repos/builtin/packages/py-isort/package.py
+++ b/var/spack/repos/builtin/packages/py-isort/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,14 +10,12 @@ class PyIsort(PythonPackage):
"""A Python utility / library to sort Python imports."""
homepage = "https://github.com/timothycrosley/isort"
- url = "https://pypi.io/packages/source/i/isort/isort-4.2.15.tar.gz"
+ pypi = "isort/isort-4.2.15.tar.gz"
version('4.3.20', sha256='c40744b6bc5162bbb39c1257fe298b7a393861d50978b565f3ccd9cb9de0182a')
version('4.2.15', sha256='79f46172d3a4e2e53e7016e663cc7a8b538bec525c36675fcfd2767df30b3983')
depends_on('py-setuptools', type=('build', 'run'))
- depends_on('py-pytest', type='test')
- depends_on('py-mock', type='test')
depends_on('python@2.6:2.8,3.3:', type=('build', 'run'))
depends_on('python@2.7:2.8,3.4:', type=('build', 'run'), when='@4.3.0:')
depends_on('py-futures', type=('build', 'run'), when='@4.3.0: ^python@:3.1')
diff --git a/var/spack/repos/builtin/packages/py-itsdangerous/package.py b/var/spack/repos/builtin/packages/py-itsdangerous/package.py
index 27278a879a..566850cee6 100644
--- a/var/spack/repos/builtin/packages/py-itsdangerous/package.py
+++ b/var/spack/repos/builtin/packages/py-itsdangerous/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyItsdangerous(PythonPackage):
"""Various helpers to pass trusted data to untrusted environments."""
homepage = "http://github.com/mitsuhiko/itsdangerous"
- url = "https://pypi.io/packages/source/i/itsdangerous/itsdangerous-1.1.0.tar.gz"
+ pypi = "itsdangerous/itsdangerous-1.1.0.tar.gz"
version('1.1.0', sha256='321b033d07f2a4136d3ec762eac9f16a10ccd60f53c0c91af90217ace7ba1f19')
version('0.24', sha256='cbb3fcf8d3e33df861709ecaf89d9e6629cff0a217bc2848f1b41cd30d360519')
diff --git a/var/spack/repos/builtin/packages/py-jaraco-functools/package.py b/var/spack/repos/builtin/packages/py-jaraco-functools/package.py
index 4b8af85094..52c85a5cea 100644
--- a/var/spack/repos/builtin/packages/py-jaraco-functools/package.py
+++ b/var/spack/repos/builtin/packages/py-jaraco-functools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyJaracoFunctools(PythonPackage):
"""Functools like those found in stdlib"""
homepage = "https://github.com/jaraco/jaraco.functools"
- url = "https://pypi.io/packages/source/j/jaraco.functools/jaraco.functools-2.0.tar.gz"
+ pypi = "jaraco.functools/jaraco.functools-2.0.tar.gz"
version(
'2.0', sha256='35ba944f52b1a7beee8843a5aa6752d1d5b79893eeb7770ea98be6b637bf9345')
diff --git a/var/spack/repos/builtin/packages/py-javaproperties/package.py b/var/spack/repos/builtin/packages/py-javaproperties/package.py
index 89358b1b67..d68bbd225a 100644
--- a/var/spack/repos/builtin/packages/py-javaproperties/package.py
+++ b/var/spack/repos/builtin/packages/py-javaproperties/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyJavaproperties(PythonPackage):
"""Read & write Java .properties files."""
homepage = "https://github.com/jwodder/javaproperties"
- url = "https://pypi.io/packages/source/j/javaproperties/javaproperties-0.7.0.tar.gz"
+ pypi = "javaproperties/javaproperties-0.7.0.tar.gz"
version('0.7.0', sha256='cf45b39fcbaeced1dfc0b7f2bda16e34fc0349116269e001dada42fd2e145d87')
version('0.5.1', sha256='2b0237b054af4d24c74f54734b7d997ca040209a1820e96fb4a82625f7bd40cf')
diff --git a/var/spack/repos/builtin/packages/py-jdatetime/package.py b/var/spack/repos/builtin/packages/py-jdatetime/package.py
index 1efdc373a5..fff18c8315 100644
--- a/var/spack/repos/builtin/packages/py-jdatetime/package.py
+++ b/var/spack/repos/builtin/packages/py-jdatetime/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,6 +10,6 @@ class PyJdatetime(PythonPackage):
"""jdatetime is Jalali implementation of Python's datetime module"""
homepage = "https://github.com/slashmili/python-jalali"
- url = "https://pypi.io/packages/source/j/jdatetime/jdatetime-3.6.2.tar.gz"
+ pypi = "jdatetime/jdatetime-3.6.2.tar.gz"
version('3.6.2', sha256='a589e35f0dab89283c1a3de9d70ed6cf657932aaed8e8ce1b0e5801aaab1da67')
diff --git a/var/spack/repos/builtin/packages/py-jdcal/package.py b/var/spack/repos/builtin/packages/py-jdcal/package.py
index 06e1eba505..852f136866 100644
--- a/var/spack/repos/builtin/packages/py-jdcal/package.py
+++ b/var/spack/repos/builtin/packages/py-jdcal/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyJdcal(PythonPackage):
"""Julian dates from proleptic Gregorian and Julian calendars"""
homepage = "http://github.com/phn/jdcal"
- url = "https://pypi.io/packages/source/j/jdcal/jdcal-1.3.tar.gz"
+ pypi = "jdcal/jdcal-1.3.tar.gz"
version('1.3', sha256='b760160f8dc8cc51d17875c6b663fafe64be699e10ce34b6a95184b5aa0fdc9e')
version('1.2', sha256='5ebedb58b95ebabd30f56abef65139c6f69ec1687cf1d2f3a7c503f9a2cdfa4d')
diff --git a/var/spack/repos/builtin/packages/py-jedi/package.py b/var/spack/repos/builtin/packages/py-jedi/package.py
index 009b4c9d65..6b59132e94 100644
--- a/var/spack/repos/builtin/packages/py-jedi/package.py
+++ b/var/spack/repos/builtin/packages/py-jedi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,12 +10,12 @@ class PyJedi(PythonPackage):
"""An autocompletion tool for Python that can be used for text editors."""
homepage = "https://github.com/davidhalter/jedi"
- url = "https://pypi.io/packages/source/j/jedi/jedi-0.9.0.tar.gz"
+ pypi = "jedi/jedi-0.9.0.tar.gz"
version('0.13.3', sha256='2bb0603e3506f708e792c7f4ad8fc2a7a9d9c2d292a358fbbd58da531695595b')
# unfortunately pypi.io only offers a .whl for 0.10.0
version('0.10.0', sha256='d6a7344df9c80562c3f62199278004ccc7c5889be9f1a6aa5abde117ec085123',
- url='https://github.com/davidhalter/jedi/archive/v0.10.0.tar.gz')
+ url='https://github.com/davidhalter/jedi/archive/v0.10.0.tar.gz')
version('0.9.0', sha256='3b4c19fba31bdead9ab7350fb9fa7c914c59b0a807dcdd5c00a05feb85491d31')
depends_on('py-setuptools', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-jeepney/package.py b/var/spack/repos/builtin/packages/py-jeepney/package.py
index c44cc4c3d5..d202a5e9f9 100644
--- a/var/spack/repos/builtin/packages/py-jeepney/package.py
+++ b/var/spack/repos/builtin/packages/py-jeepney/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyJeepney(PythonPackage):
"""Low-level, pure Python DBus protocol wrapper."""
homepage = "https://gitlab.com/takluyver/jeepney"
- url = "https://pypi.io/packages/source/j/jeepney/jeepney-0.4.3.tar.gz"
+ pypi = "jeepney/jeepney-0.4.3.tar.gz"
version('0.4.3', sha256='3479b861cc2b6407de5188695fa1a8d57e5072d7059322469b62628869b8e36e')
diff --git a/var/spack/repos/builtin/packages/py-jellyfish/package.py b/var/spack/repos/builtin/packages/py-jellyfish/package.py
index 6316162289..8a0aaf3ff1 100644
--- a/var/spack/repos/builtin/packages/py-jellyfish/package.py
+++ b/var/spack/repos/builtin/packages/py-jellyfish/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,7 @@ from spack import *
class PyJellyfish(PythonPackage):
"""a library for doing approximate and phonetic matching of strings."""
- homepage = "https://pypi.org/project/jellyfish/"
- url = "https://pypi.io/packages/source/j/jellyfish/jellyfish-0.6.1.tar.gz"
+ pypi = "jellyfish/jellyfish-0.6.1.tar.gz"
version('0.6.1', sha256='5104e45a2b804b48a46a92a5e6d6e86830fe60ae83b1da32c867402c8f4c2094')
version('0.5.6', sha256='887a9a49d0caee913a883c3e7eb185f6260ebe2137562365be422d1316bd39c9')
diff --git a/var/spack/repos/builtin/packages/py-jinja2-time/package.py b/var/spack/repos/builtin/packages/py-jinja2-time/package.py
index df57e84129..411881a770 100644
--- a/var/spack/repos/builtin/packages/py-jinja2-time/package.py
+++ b/var/spack/repos/builtin/packages/py-jinja2-time/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-jinja2/package.py b/var/spack/repos/builtin/packages/py-jinja2/package.py
index 588367c0f5..791fd18351 100644
--- a/var/spack/repos/builtin/packages/py-jinja2/package.py
+++ b/var/spack/repos/builtin/packages/py-jinja2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,9 +12,7 @@ class PyJinja2(PythonPackage):
and an optional sandboxed environment."""
homepage = "https://palletsprojects.com/p/jinja/"
- url = "https://pypi.io/packages/source/J/Jinja2/Jinja2-2.10.3.tar.gz"
-
- import_modules = ['jinja2']
+ pypi = "Jinja2/Jinja2-2.10.3.tar.gz"
version('2.10.3', sha256='9fe95f19286cfefaa917656583d020be14e7859c6b0252588391e47db34527de')
version('2.10.1', sha256='065c4f02ebe7f7cf559e49ee5a95fb800a9e4528727aec6f24402a5374c65013')
diff --git a/var/spack/repos/builtin/packages/py-jmespath/package.py b/var/spack/repos/builtin/packages/py-jmespath/package.py
index ed5da676f2..c2d2262f5c 100644
--- a/var/spack/repos/builtin/packages/py-jmespath/package.py
+++ b/var/spack/repos/builtin/packages/py-jmespath/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,11 +10,8 @@ class PyJmespath(PythonPackage):
"""JSON Matching Expressions."""
homepage = "https://github.com/jmespath/jmespath.py"
- url = "https://pypi.io/packages/source/j/jmespath/jmespath-0.9.4.tar.gz"
-
- import_modules = ['jmespath']
+ pypi = "jmespath/jmespath-0.9.4.tar.gz"
version('0.9.4', sha256='bde2aef6f44302dfb30320115b17d030798de8c4110e28d5cf6cf91a7a31074c')
depends_on('py-setuptools', type='build')
- depends_on('py-nose', type='test')
diff --git a/var/spack/repos/builtin/packages/py-joblib/package.py b/var/spack/repos/builtin/packages/py-joblib/package.py
index 43ea04ed99..1ee85dd25a 100644
--- a/var/spack/repos/builtin/packages/py-joblib/package.py
+++ b/var/spack/repos/builtin/packages/py-joblib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyJoblib(PythonPackage):
"""Python function as pipeline jobs"""
homepage = "http://packages.python.org/joblib/"
- url = "https://pypi.io/packages/source/j/joblib/joblib-0.14.0.tar.gz"
+ pypi = "joblib/joblib-0.14.0.tar.gz"
import_modules = [
'joblib', 'joblib.externals', 'joblib.externals.cloudpickle',
@@ -24,4 +24,4 @@ class PyJoblib(PythonPackage):
version('0.10.2', sha256='3123553bdad83b143428033537c9e1939caf4a4d8813dade6a2246948c94494b')
version('0.10.0', sha256='49b3a0ba956eaa2f077e1ebd230b3c8d7b98afc67520207ada20a4d8b8efd071')
- depends_on('py-setuptools', when='@0.14:', type='build')
+ depends_on('py-setuptools', when='@0.14:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-jplephem/package.py b/var/spack/repos/builtin/packages/py-jplephem/package.py
index fb4456d800..08508f7458 100644
--- a/var/spack/repos/builtin/packages/py-jplephem/package.py
+++ b/var/spack/repos/builtin/packages/py-jplephem/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,8 +11,7 @@ class PyJplephem(PythonPackage):
ephemeris for predicting the position and velocity of a planet or other
Solar System body."""
- homepage = "https://pypi.org/project/jplephem/"
- url = "https://pypi.io/packages/source/j/jplephem/jplephem-2.9.tar.gz"
+ pypi = "jplephem/jplephem-2.9.tar.gz"
version('2.9', sha256='9dffb9f3d3f6d996ade875102431fe385e8ea422da25c8ba17b0508d9ca1282b')
diff --git a/var/spack/repos/builtin/packages/py-jprops/package.py b/var/spack/repos/builtin/packages/py-jprops/package.py
index 2e6749077f..ae0113d8e1 100644
--- a/var/spack/repos/builtin/packages/py-jprops/package.py
+++ b/var/spack/repos/builtin/packages/py-jprops/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyJprops(PythonPackage):
"""Java properties file parser for Python"""
homepage = "https://github.com/mgood/jprops/"
- url = "https://pypi.io/packages/source/j/jprops/jprops-2.0.2.tar.gz"
+ pypi = "jprops/jprops-2.0.2.tar.gz"
version('2.0.2', sha256='d297231833b6cd0a3f982a48fe148a7f9817f2895661743d166b267e4d3d5b2c')
diff --git a/var/spack/repos/builtin/packages/py-jpype1/package.py b/var/spack/repos/builtin/packages/py-jpype1/package.py
index 4a27b24018..e9802cc963 100644
--- a/var/spack/repos/builtin/packages/py-jpype1/package.py
+++ b/var/spack/repos/builtin/packages/py-jpype1/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyJpype1(PythonPackage):
libraries."""
homepage = "https://github.com/originell/jpype"
- url = "https://pypi.io/packages/source/J/JPype1/JPype1-0.6.2.tar.gz"
+ pypi = "JPype1/JPype1-0.6.2.tar.gz"
version('0.6.3', sha256='6841523631874a731e1f94e1b1f130686ad3772030eaa3b6946256eeb1d10dd1')
version('0.6.2', sha256='99206412d80b9d5a81a7cc205267ca63554403eb57f13420302e2f39bfad7f25')
diff --git a/var/spack/repos/builtin/packages/py-jsmin/package.py b/var/spack/repos/builtin/packages/py-jsmin/package.py
index b0ace422ee..ba9b90f02c 100644
--- a/var/spack/repos/builtin/packages/py-jsmin/package.py
+++ b/var/spack/repos/builtin/packages/py-jsmin/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyJsmin(PythonPackage):
"""JavaScript minifier."""
homepage = "https://github.com/tikitu/jsmin/"
- url = "https://pypi.io/packages/source/j/jsmin/jsmin-2.2.2.tar.gz"
+ pypi = "jsmin/jsmin-2.2.2.tar.gz"
version('2.2.2', sha256='b6df99b2cd1c75d9d342e4335b535789b8da9107ec748212706ef7bbe5c2553b')
diff --git a/var/spack/repos/builtin/packages/py-json-get/package.py b/var/spack/repos/builtin/packages/py-json-get/package.py
index 2e178d1fa8..c66a717a3d 100644
--- a/var/spack/repos/builtin/packages/py-json-get/package.py
+++ b/var/spack/repos/builtin/packages/py-json-get/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-json5/package.py b/var/spack/repos/builtin/packages/py-json5/package.py
index b204b3016e..dd57aa26a3 100644
--- a/var/spack/repos/builtin/packages/py-json5/package.py
+++ b/var/spack/repos/builtin/packages/py-json5/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyJson5(PythonPackage):
include some productions from ECMAScript 5.1."""
homepage = "https://github.com/dpranke/pyjson5"
- url = "https://pypi.io/packages/source/j/json5/json5-0.9.4.tar.gz"
+ pypi = "json5/json5-0.9.4.tar.gz"
version('0.9.4', sha256='2ebfad1cd502dca6aecab5b5c36a21c732c3461ddbc412fb0e9a52b07ddfe586')
diff --git a/var/spack/repos/builtin/packages/py-jsondiff/package.py b/var/spack/repos/builtin/packages/py-jsondiff/package.py
index a6bad6fa93..25f9e35e36 100644
--- a/var/spack/repos/builtin/packages/py-jsondiff/package.py
+++ b/var/spack/repos/builtin/packages/py-jsondiff/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyJsondiff(PythonPackage):
"""Diff JSON and JSON-like structures in Python."""
homepage = "https://github.com/ZoomerAnalytics/jsondiff"
- url = "https://pypi.io/packages/source/j/jsondiff/jsondiff-1.2.0.tar.gz"
+ pypi = "jsondiff/jsondiff-1.2.0.tar.gz"
version('1.2.0', sha256='34941bc431d10aa15828afe1cbb644977a114e75eef6cc74fb58951312326303')
diff --git a/var/spack/repos/builtin/packages/py-jsonpatch/package.py b/var/spack/repos/builtin/packages/py-jsonpatch/package.py
index eab7421ffb..233e3b1262 100644
--- a/var/spack/repos/builtin/packages/py-jsonpatch/package.py
+++ b/var/spack/repos/builtin/packages/py-jsonpatch/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyJsonpatch(PythonPackage):
"""Library to apply JSON Patches according to RFC 6902"""
homepage = "https://github.com/stefankoegl/python-json-patch"
- url = "https://pypi.io/packages/source/j/jsonpatch/jsonpatch-1.23.tar.gz"
+ pypi = "jsonpatch/jsonpatch-1.23.tar.gz"
version('1.23', sha256='49f29cab70e9068db3b1dc6b656cbe2ee4edf7dfe9bf5a0055f17a4b6804a4b9')
diff --git a/var/spack/repos/builtin/packages/py-jsonpath-ng/package.py b/var/spack/repos/builtin/packages/py-jsonpath-ng/package.py
new file mode 100644
index 0000000000..4929e20a1c
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-jsonpath-ng/package.py
@@ -0,0 +1,23 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+from spack import *
+
+
+class PyJsonpathNg(PythonPackage):
+ """A final implementation of JSONPath for Python that aims to be
+ standard compliant, including arithmetic and binary comparison
+ operators."""
+
+ homepage = "https://github.com/h2non/jsonpath-ng"
+ pypi = "jsonpath-ng/jsonpath-ng-1.5.2.tar.gz"
+
+ version('1.5.2', sha256='144d91379be14d9019f51973bd647719c877bfc07dc6f3f5068895765950c69d')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-ply', type=('build', 'run'))
+ depends_on('py-decorator', type=('build', 'run'))
+ depends_on('py-six', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-jsonpickle/package.py b/var/spack/repos/builtin/packages/py-jsonpickle/package.py
index 7bc9aeda58..d86ec9f5d5 100644
--- a/var/spack/repos/builtin/packages/py-jsonpickle/package.py
+++ b/var/spack/repos/builtin/packages/py-jsonpickle/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyJsonpickle(PythonPackage):
"""Python library for serializing any arbitrary object graph into JSON."""
homepage = "https://github.com/jsonpickle/jsonpickle"
- url = "https://pypi.io/packages/source/j/jsonpickle/jsonpickle-1.4.1.tar.gz"
+ pypi = "jsonpickle/jsonpickle-1.4.1.tar.gz"
version('1.4.1', sha256='e8d4b7cd0bd6826001a74377df1079a76ad8bae0f909282de2554164c837c8ba')
diff --git a/var/spack/repos/builtin/packages/py-jsonpointer/package.py b/var/spack/repos/builtin/packages/py-jsonpointer/package.py
index a9307fd3f6..558930ebe7 100644
--- a/var/spack/repos/builtin/packages/py-jsonpointer/package.py
+++ b/var/spack/repos/builtin/packages/py-jsonpointer/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyJsonpointer(PythonPackage):
"""Library to resolve JSON Pointers according to RFC 6901"""
homepage = "https://github.com/stefankoegl/python-json-pointer"
- url = "https://pypi.io/packages/source/j/jsonpointer/jsonpointer-2.0.tar.gz"
+ pypi = "jsonpointer/jsonpointer-2.0.tar.gz"
version('2.0', sha256='c192ba86648e05fdae4f08a17ec25180a9aef5008d973407b581798a83975362')
diff --git a/var/spack/repos/builtin/packages/py-jsonref/package.py b/var/spack/repos/builtin/packages/py-jsonref/package.py
index 405d2155d7..88056cdb47 100644
--- a/var/spack/repos/builtin/packages/py-jsonref/package.py
+++ b/var/spack/repos/builtin/packages/py-jsonref/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyJsonref(PythonPackage):
"""An implementation of JSON Reference for Python"""
homepage = "https://github.com/gazpachoking/jsonref"
- url = "https://pypi.io/packages/source/j/jsonref/jsonref-0.2.tar.gz"
+ pypi = "jsonref/jsonref-0.2.tar.gz"
version('0.2', sha256='f3c45b121cf6257eafabdc3a8008763aed1cd7da06dbabc59a9e4d2a5e4e6697')
diff --git a/var/spack/repos/builtin/packages/py-jsonschema/package.py b/var/spack/repos/builtin/packages/py-jsonschema/package.py
index c33cfc63e4..7cc0ca3354 100644
--- a/var/spack/repos/builtin/packages/py-jsonschema/package.py
+++ b/var/spack/repos/builtin/packages/py-jsonschema/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyJsonschema(PythonPackage):
"""Jsonschema: An(other) implementation of JSON Schema for Python."""
homepage = "http://github.com/Julian/jsonschema"
- url = "https://pypi.io/packages/source/j/jsonschema/jsonschema-3.2.0.tar.gz"
+ pypi = "jsonschema/jsonschema-3.2.0.tar.gz"
version('3.2.0', sha256='c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a')
version('3.1.1', sha256='2fa0684276b6333ff3c0b1b27081f4b2305f0a36cf702a23db50edb141893c3f')
diff --git a/var/spack/repos/builtin/packages/py-junit-xml/package.py b/var/spack/repos/builtin/packages/py-junit-xml/package.py
index 7d59fe205c..e3f1b2a421 100644
--- a/var/spack/repos/builtin/packages/py-junit-xml/package.py
+++ b/var/spack/repos/builtin/packages/py-junit-xml/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyJunitXml(PythonPackage):
such as Jenkins"""
homepage = "https://github.com/kyrus/python-junit-xml"
- url = "https://pypi.io/packages/source/j/junit-xml/junit-xml-1.7.tar.gz"
+ pypi = "junit-xml/junit-xml-1.7.tar.gz"
version('1.7', sha256='5bc851b53e3e2153dcc62278ce2aa796a8ae9208f1dec36d1507b5af445ce355')
diff --git a/var/spack/repos/builtin/packages/py-jupyter-client/package.py b/var/spack/repos/builtin/packages/py-jupyter-client/package.py
index d14077195b..165cdaa71a 100644
--- a/var/spack/repos/builtin/packages/py-jupyter-client/package.py
+++ b/var/spack/repos/builtin/packages/py-jupyter-client/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyJupyterClient(PythonPackage):
"""Jupyter protocol client APIs"""
homepage = "https://github.com/jupyter/jupyter_client"
- url = "https://pypi.io/packages/source/j/jupyter-client/jupyter_client-6.1.7.tar.gz"
+ pypi = "jupyter-client/jupyter_client-6.1.7.tar.gz"
version('6.1.7', sha256='49e390b36fe4b4226724704ea28d9fb903f1a3601b6882ce3105221cd09377a1')
version('5.3.4', sha256='60e6faec1031d63df57f1cc671ed673dced0ed420f4377ea33db37b1c188b910')
diff --git a/var/spack/repos/builtin/packages/py-jupyter-console/package.py b/var/spack/repos/builtin/packages/py-jupyter-console/package.py
index 0f06d1422d..9bed10217d 100644
--- a/var/spack/repos/builtin/packages/py-jupyter-console/package.py
+++ b/var/spack/repos/builtin/packages/py-jupyter-console/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-jupyter-core/package.py b/var/spack/repos/builtin/packages/py-jupyter-core/package.py
index 42adbc81b4..647d86b125 100644
--- a/var/spack/repos/builtin/packages/py-jupyter-core/package.py
+++ b/var/spack/repos/builtin/packages/py-jupyter-core/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyJupyterCore(PythonPackage):
"""Core Jupyter functionality"""
homepage = "http://jupyter-core.readthedocs.io/"
- url = "https://pypi.io/packages/source/j/jupyter-core/jupyter_core-4.6.0.tar.gz"
+ pypi = "jupyter-core/jupyter_core-4.6.0.tar.gz"
version('4.6.3', sha256='394fd5dd787e7c8861741880bdf8a00ce39f95de5d18e579c74b882522219e7e')
version('4.6.1', sha256='a183e0ec2e8f6adddf62b0a3fc6a2237e3e0056d381e536d3e7c7ecc3067e244')
diff --git a/var/spack/repos/builtin/packages/py-jupyter/package.py b/var/spack/repos/builtin/packages/py-jupyter/package.py
index 4c6f0d9a07..b1b15ffdad 100644
--- a/var/spack/repos/builtin/packages/py-jupyter/package.py
+++ b/var/spack/repos/builtin/packages/py-jupyter/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyJupyter(PythonPackage):
"""Jupyter metapackage. Install all the Jupyter components in one go."""
homepage = "https://jupyter.org/"
- url = "https://pypi.io/packages/source/j/jupyter/jupyter-1.0.0.tar.gz"
+ pypi = "jupyter/jupyter-1.0.0.tar.gz"
version('1.0.0', sha256='d9dc4b3318f310e34c82951ea5d6683f67bed7def4b259fafbfe4f1beb1d8e5f')
diff --git a/var/spack/repos/builtin/packages/py-jupyterhub/package.py b/var/spack/repos/builtin/packages/py-jupyterhub/package.py
index 3e95b7496f..cfcfd295d9 100644
--- a/var/spack/repos/builtin/packages/py-jupyterhub/package.py
+++ b/var/spack/repos/builtin/packages/py-jupyterhub/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyJupyterhub(PythonPackage):
"""Multi-user server for Jupyter notebooks."""
- homepage = "https://pypi.org/project/jupyterhub"
- url = "https://pypi.io/packages/source/j/jupyterhub/jupyterhub-1.0.0.tar.gz"
+ pypi = "jupyterhub/jupyterhub-1.0.0.tar.gz"
version('1.0.0', sha256='33541a515a041b9a518ca057c1c4ab4215a7450fdddc206401713ee8137fa67f')
version('0.9.4', sha256='7848bbb299536641a59eb1977ec3c7c95d931bace4a2803d7e9b28b9256714da')
diff --git a/var/spack/repos/builtin/packages/py-jupyterlab-pygments/package.py b/var/spack/repos/builtin/packages/py-jupyterlab-pygments/package.py
index fc4bf5f6d4..0e6bbeddfe 100644
--- a/var/spack/repos/builtin/packages/py-jupyterlab-pygments/package.py
+++ b/var/spack/repos/builtin/packages/py-jupyterlab-pygments/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyJupyterlabPygments(PythonPackage):
"""Pygments theme using JupyterLab CSS variables."""
homepage = "https://jupyter.org/"
- url = "https://pypi.io/packages/source/j/jupyterlab-pygments/jupyterlab_pygments-0.1.1.tar.gz"
+ pypi = "jupyterlab-pygments/jupyterlab_pygments-0.1.1.tar.gz"
version('0.1.1', sha256='19a0ccde7daddec638363cd3d60b63a4f6544c9181d65253317b2fb492a797b9')
diff --git a/var/spack/repos/builtin/packages/py-jupyterlab-server/package.py b/var/spack/repos/builtin/packages/py-jupyterlab-server/package.py
index 09bfce1b1f..35496e3a41 100644
--- a/var/spack/repos/builtin/packages/py-jupyterlab-server/package.py
+++ b/var/spack/repos/builtin/packages/py-jupyterlab-server/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,8 +8,7 @@ class PyJupyterlabServer(PythonPackage):
"""A set of server components for JupyterLab and JupyterLab
like applications"""
- homepage = "https://pypi.org/project/jupyterlab-server/"
- url = "https://pypi.io/packages/source/j/jupyterlab_server/jupyterlab_server-1.2.0.tar.gz"
+ pypi = "jupyterlab_server/jupyterlab_server-1.2.0.tar.gz"
version('1.2.0', sha256='5431d9dde96659364b7cc877693d5d21e7b80cea7ae3959ecc2b87518e5f5d8c')
version('1.1.0', sha256='bac27e2ea40f686e592d6429877e7d46947ea76c08c878081b028c2c89f71733')
@@ -22,5 +21,3 @@ class PyJupyterlabServer(PythonPackage):
depends_on('py-jsonschema@3.0.1:', type=('build', 'run'))
depends_on('py-notebook@4.2.0:', type=('build', 'run'))
depends_on('py-jinja2@2.10:', type=('build', 'run'))
-
- depends_on('py-pytest', type='test')
diff --git a/var/spack/repos/builtin/packages/py-jupyterlab/package.py b/var/spack/repos/builtin/packages/py-jupyterlab/package.py
index f19c1b8174..69fbc175ca 100644
--- a/var/spack/repos/builtin/packages/py-jupyterlab/package.py
+++ b/var/spack/repos/builtin/packages/py-jupyterlab/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ class PyJupyterlab(PythonPackage):
for Project Jupyter."""
homepage = "https://jupyterlab.readthedocs.io/"
- url = "https://pypi.io/packages/source/j/jupyterlab/jupyterlab-2.2.7.tar.gz"
+ pypi = "jupyterlab/jupyterlab-2.2.7.tar.gz"
version('2.2.7', sha256='a72ffd0d919cba03a5ef8422bc92c3332a957ff97b0490494209c83ad93826da')
version('2.1.0', sha256='8c239aababf5baa0b3d36e375fddeb9fd96f3a9a24a8cda098d6a414f5bbdc81')
@@ -20,8 +20,3 @@ class PyJupyterlab(PythonPackage):
depends_on('py-tornado@:5,6.0.3:', type=('build', 'run'))
depends_on('py-jupyterlab-server@1.1.5:1.999', type=('build', 'run'))
depends_on('py-jinja2@2.10:', type=('build', 'run'))
- depends_on('py-pytest', type='test')
- depends_on('py-pytest-check-links', type='test')
- depends_on('py-requests', type='test')
- depends_on('py-wheel', type='test')
- depends_on('py-virtualenv', type='test')
diff --git a/var/spack/repos/builtin/packages/py-keras-applications/package.py b/var/spack/repos/builtin/packages/py-keras-applications/package.py
index a26a4e8a26..5f79fd59be 100644
--- a/var/spack/repos/builtin/packages/py-keras-applications/package.py
+++ b/var/spack/repos/builtin/packages/py-keras-applications/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-keras-preprocessing/package.py b/var/spack/repos/builtin/packages/py-keras-preprocessing/package.py
index 5129e92201..717dd61b91 100644
--- a/var/spack/repos/builtin/packages/py-keras-preprocessing/package.py
+++ b/var/spack/repos/builtin/packages/py-keras-preprocessing/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyKerasPreprocessing(PythonPackage):
"""Utilities for working with image data, text data, and sequence data."""
homepage = "https://github.com/keras-team/keras-preprocessing"
- url = "https://pypi.io/packages/source/K/Keras-Preprocessing/Keras_Preprocessing-1.1.2.tar.gz"
+ pypi = "Keras-Preprocessing/Keras_Preprocessing-1.1.2.tar.gz"
version('1.1.2', sha256='add82567c50c8bc648c14195bf544a5ce7c1f76761536956c3d2978970179ef3')
version('1.1.0', sha256='5a8debe01d840de93d49e05ccf1c9b81ae30e210d34dacbcc47aeb3049b528e5')
diff --git a/var/spack/repos/builtin/packages/py-keras/package.py b/var/spack/repos/builtin/packages/py-keras/package.py
index fc9eeaa8a4..d8fbf7d566 100644
--- a/var/spack/repos/builtin/packages/py-keras/package.py
+++ b/var/spack/repos/builtin/packages/py-keras/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyKeras(PythonPackage):
and more. Runs on Theano or TensorFlow."""
homepage = "http://keras.io"
- url = "https://pypi.io/packages/source/K/Keras/Keras-1.2.2.tar.gz"
+ pypi = "Keras/Keras-1.2.2.tar.gz"
version('2.2.4', sha256='90b610a3dbbf6d257b20a079eba3fdf2eed2158f64066a7c6f7227023fd60bc9')
version('2.2.3', sha256='694aee60a6f8e0d3d6d3e4967e063b4623e3ca90032f023fd6d16bb5f81d18de')
diff --git a/var/spack/repos/builtin/packages/py-kerberos/package.py b/var/spack/repos/builtin/packages/py-kerberos/package.py
index 74cbc56a4c..5191188f48 100644
--- a/var/spack/repos/builtin/packages/py-kerberos/package.py
+++ b/var/spack/repos/builtin/packages/py-kerberos/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class PyKerberos(PythonPackage):
<http://www.ietf.org/rfc/rfc4559.txt>."""
homepage = "https://github.com/apple/ccs-pykerberos"
- url = "https://pypi.io/packages/source/k/kerberos/kerberos-1.3.0.tar.gz"
+ pypi = "kerberos/kerberos-1.3.0.tar.gz"
version('1.3.0', sha256='f039b7dd4746df56f6102097b3dc250fe0078be75130b9dc4211a85a3b1ec6a4')
diff --git a/var/spack/repos/builtin/packages/py-kitchen/package.py b/var/spack/repos/builtin/packages/py-kitchen/package.py
index 0e8683d5d8..71c781cf9d 100644
--- a/var/spack/repos/builtin/packages/py-kitchen/package.py
+++ b/var/spack/repos/builtin/packages/py-kitchen/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyKitchen(PythonPackage):
"""
homepage = "https://fedorahosted.org/kitchen"
- url = "https://pypi.io/packages/source/k/kitchen/kitchen-1.2.6.tar.gz"
+ pypi = "kitchen/kitchen-1.2.6.tar.gz"
version('1.2.6', sha256='b84cf582f1bd1556b60ebc7370b9d331eb9247b6b070ce89dfe959cba2c0b03c')
version('1.1.1', sha256='25670f80bcbabd0656946125cfad310980d5a5900d6c160d4f0187292120284e')
diff --git a/var/spack/repos/builtin/packages/py-kiwisolver/package.py b/var/spack/repos/builtin/packages/py-kiwisolver/package.py
index ebf05e6702..b8b0196db0 100644
--- a/var/spack/repos/builtin/packages/py-kiwisolver/package.py
+++ b/var/spack/repos/builtin/packages/py-kiwisolver/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyKiwisolver(PythonPackage):
"""A fast implementation of the Cassowary constraint solver"""
homepage = "https://github.com/nucleic/kiwi"
- url = "https://pypi.io/packages/source/k/kiwisolver/kiwisolver-1.1.0.tar.gz"
+ pypi = "kiwisolver/kiwisolver-1.1.0.tar.gz"
version('1.1.0', sha256='53eaed412477c836e1b9522c19858a8557d6e595077830146182225613b11a75')
version('1.0.1', sha256='ce3be5d520b4d2c3e5eeb4cd2ef62b9b9ab8ac6b6fedbaa0e39cdb6f50644278')
diff --git a/var/spack/repos/builtin/packages/py-kmodes/package.py b/var/spack/repos/builtin/packages/py-kmodes/package.py
index a3bbe8ea75..6f43ac5390 100644
--- a/var/spack/repos/builtin/packages/py-kmodes/package.py
+++ b/var/spack/repos/builtin/packages/py-kmodes/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,9 +11,7 @@ class PyKmodes(PythonPackage):
algorithms for clustering categorical data."""
homepage = "https://github.com/nicodv/kmodes"
- url = "https://pypi.io/packages/source/k/kmodes/kmodes-0.10.1.tar.gz"
-
- import_modules = ['kmodes', 'kmodes.util']
+ pypi = "kmodes/kmodes-0.10.1.tar.gz"
version('0.10.1', sha256='3222c2f672a6356be353955c02d1e38472d9f6074744b4ffb0c058e8c2235ea1')
diff --git a/var/spack/repos/builtin/packages/py-knack/package.py b/var/spack/repos/builtin/packages/py-knack/package.py
index 4fb7ce188f..a11267ca89 100644
--- a/var/spack/repos/builtin/packages/py-knack/package.py
+++ b/var/spack/repos/builtin/packages/py-knack/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyKnack(PythonPackage):
"""A Command-Line Interface framework."""
homepage = "https://github.com/microsoft/knack"
- url = "https://pypi.io/packages/source/k/knack/knack-0.7.1.tar.gz"
+ pypi = "knack/knack-0.7.1.tar.gz"
version('0.7.1', sha256='fcef6040164ebe7d69629e4e089b398c9b980791446496301befcf8381dba0fc')
diff --git a/var/spack/repos/builtin/packages/py-kombu/package.py b/var/spack/repos/builtin/packages/py-kombu/package.py
index a4d3af4019..92d4ce9c86 100644
--- a/var/spack/repos/builtin/packages/py-kombu/package.py
+++ b/var/spack/repos/builtin/packages/py-kombu/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyKombu(PythonPackage):
"""Messaging library for Python."""
- homepage = "https://pypi.org/project/kombu/"
- url = "https://pypi.io/packages/source/k/kombu/kombu-4.3.0.tar.gz"
+ pypi = "kombu/kombu-4.3.0.tar.gz"
version('5.0.2', sha256='f4965fba0a4718d47d470beeb5d6446e3357a62402b16c510b6a2f251e05ac3c')
version('4.6.11', sha256='ca1b45faac8c0b18493d02a8571792f3c40291cf2bcf1f55afed3d8f3aa7ba74')
diff --git a/var/spack/repos/builtin/packages/py-labours/package.py b/var/spack/repos/builtin/packages/py-labours/package.py
index b33748ed0e..df8af5bc30 100644
--- a/var/spack/repos/builtin/packages/py-labours/package.py
+++ b/var/spack/repos/builtin/packages/py-labours/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-lark-parser/package.py b/var/spack/repos/builtin/packages/py-lark-parser/package.py
index d84e320f1f..937b27daa7 100644
--- a/var/spack/repos/builtin/packages/py-lark-parser/package.py
+++ b/var/spack/repos/builtin/packages/py-lark-parser/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyLarkParser(PythonPackage):
"""Lark is a modern general-purpose parsing library for Python."""
homepage = "https://github.com/lark-parser/lark/"
- url = "https://pypi.io/packages/source/l/lark-parser/lark-parser-0.6.2.tar.gz"
+ pypi = "lark-parser/lark-parser-0.6.2.tar.gz"
version('0.7.1', sha256='8455e05d062fa7f9d59a2735583cf02291545f944955c4056bf1144c4e625344')
version('0.6.2', sha256='7e2934371e0e3a5daf9afc2e3ddda76117cabcd3c3f2edf7987c1e4e9b9e503c')
diff --git a/var/spack/repos/builtin/packages/py-latexcodec/package.py b/var/spack/repos/builtin/packages/py-latexcodec/package.py
index d379022142..a782c56a03 100644
--- a/var/spack/repos/builtin/packages/py-latexcodec/package.py
+++ b/var/spack/repos/builtin/packages/py-latexcodec/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,9 +10,7 @@ class PyLatexcodec(PythonPackage):
"""A lexer and codec to work with LaTeX code in Python."""
homepage = "http://latexcodec.readthedocs.io"
- url = "https://pypi.io/packages/source/l/latexcodec/latexcodec-1.0.4.tar.gz"
-
- import_modules = ['latexcodec']
+ pypi = "latexcodec/latexcodec-1.0.4.tar.gz"
version('1.0.4', sha256='62bf8a3ee298f169a4d014dad5522bc1325b54dc98789a453fd338620387cb6c')
diff --git a/var/spack/repos/builtin/packages/py-lazy-object-proxy/package.py b/var/spack/repos/builtin/packages/py-lazy-object-proxy/package.py
index 36cac03c58..7cf1467458 100644
--- a/var/spack/repos/builtin/packages/py-lazy-object-proxy/package.py
+++ b/var/spack/repos/builtin/packages/py-lazy-object-proxy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyLazyObjectProxy(PythonPackage):
"""A fast and thorough lazy object proxy."""
homepage = "https://github.com/ionelmc/python-lazy-object-proxy"
- url = "https://pypi.io/packages/source/l/lazy-object-proxy/lazy-object-proxy-1.3.1.tar.gz"
+ pypi = "lazy-object-proxy/lazy-object-proxy-1.3.1.tar.gz"
version('1.4.3', sha256='f3900e8a5de27447acbf900b4750b0ddfd7ec1ea7fbaf11dfa911141bc522af0')
version('1.3.1', sha256='eb91be369f945f10d3a49f5f9be8b3d0b93a4c2be8f8a5b83b0571b8123e0a7a')
diff --git a/var/spack/repos/builtin/packages/py-lazy-property/package.py b/var/spack/repos/builtin/packages/py-lazy-property/package.py
index b6acd6a82e..b8d4e54743 100644
--- a/var/spack/repos/builtin/packages/py-lazy-property/package.py
+++ b/var/spack/repos/builtin/packages/py-lazy-property/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-lazy/package.py b/var/spack/repos/builtin/packages/py-lazy/package.py
index d8f2a46022..1d0d2c2255 100644
--- a/var/spack/repos/builtin/packages/py-lazy/package.py
+++ b/var/spack/repos/builtin/packages/py-lazy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyLazy(PythonPackage):
"""Lazy attributes for Python objects"""
- homepage = "https://pypi.python.org/pypi/lazy"
- url = "https://pypi.io/packages/source/l/lazy/lazy-1.2.zip"
+ pypi = "lazy/lazy-1.2.zip"
version('1.2', sha256='127ea610418057b953f0d102bed83f2c367be13b59f8d0ddf3b8a86c7d31b970')
diff --git a/var/spack/repos/builtin/packages/py-lazyarray/package.py b/var/spack/repos/builtin/packages/py-lazyarray/package.py
index cc9e68f8f3..1df8ff9089 100644
--- a/var/spack/repos/builtin/packages/py-lazyarray/package.py
+++ b/var/spack/repos/builtin/packages/py-lazyarray/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyLazyarray(PythonPackage):
larray, based on and compatible with NumPy arrays."""
homepage = "http://bitbucket.org/apdavison/lazyarray/"
- url = "https://pypi.io/packages/source/l/lazyarray/lazyarray-0.2.8.tar.gz"
+ pypi = "lazyarray/lazyarray-0.2.8.tar.gz"
version('0.2.10', sha256='7a53f81b5f3a098c04003d2ad179fc197451fd96bc921510f8534c6af8cc8e19')
version('0.2.8', sha256='aaee4e18117cc512de7a4e64522f37bc6f4bf125ecffdbdbf4e4e390fbdd9ba2')
diff --git a/var/spack/repos/builtin/packages/py-leather/package.py b/var/spack/repos/builtin/packages/py-leather/package.py
index 96aecebd96..9747940972 100644
--- a/var/spack/repos/builtin/packages/py-leather/package.py
+++ b/var/spack/repos/builtin/packages/py-leather/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyLeather(PythonPackage):
don't care if they're perfect."""
homepage = "https://leather.readthedocs.io/en/stable/"
- url = "https://pypi.io/packages/source/l/leather/leather-0.3.3.tar.gz"
+ pypi = "leather/leather-0.3.3.tar.gz"
version('0.3.3', sha256='076d1603b5281488285718ce1a5ce78cf1027fe1e76adf9c548caf83c519b988')
diff --git a/var/spack/repos/builtin/packages/py-libconf/package.py b/var/spack/repos/builtin/packages/py-libconf/package.py
index 4cfeb251da..998f35e476 100644
--- a/var/spack/repos/builtin/packages/py-libconf/package.py
+++ b/var/spack/repos/builtin/packages/py-libconf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyLibconf(PythonPackage):
"""A pure-Python libconfig reader/writer with permissive license"""
- homepage = "https://pypi.python.org/pypi/libconf"
- url = "https://pypi.io/packages/source/l/libconf/libconf-1.0.1.tar.gz"
+ pypi = "libconf/libconf-1.0.1.tar.gz"
version('1.0.1', sha256='6dd62847bb69ab5a09155cb8be2328cce01e7ef88a35e7c37bea2b1a70f8bd58')
diff --git a/var/spack/repos/builtin/packages/py-libensemble/package.py b/var/spack/repos/builtin/packages/py-libensemble/package.py
index 55e7b46e59..2aed33b4c8 100644
--- a/var/spack/repos/builtin/packages/py-libensemble/package.py
+++ b/var/spack/repos/builtin/packages/py-libensemble/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyLibensemble(PythonPackage):
"""Library for managing ensemble-like collections of computations."""
homepage = "https://libensemble.readthedocs.io"
- url = "https://pypi.io/packages/source/l/libensemble/libensemble-0.7.1.tar.gz"
+ pypi = "libensemble/libensemble-0.7.1.tar.gz"
git = "https://github.com/Libensemble/libensemble.git"
version('develop', branch='develop')
@@ -20,7 +20,7 @@ class PyLibensemble(PythonPackage):
version('0.6.0', sha256='3f6a926d3868da53835ed93fc2e2a047b368dacb648c7608ee3a66debcee4d38')
version('0.5.2', sha256='3e36c29a4a2adc0984ecfcc998cb5bb8a2cdfbe7a1ae92f7b35b06e41d21b889')
version('0.5.1', sha256='522e0cc086a3ed75a101b704c0fe01eae07f2684bd8d6da7bdfe9371d3187362')
- version('0.5.0', sha256='c4623171dee049bfaa38a9c433609299a56b1afb774db8b71321247bc7556b8f')
+ version('0.5.0', sha256='c4623171dee049bfaa38a9c433609299a56b1afb774db8b71321247bc7556b8f')
version('0.4.1', sha256='282c32ffb79d84cc80b5cc7043c202d5f0b8ebff10f63924752f092e3938db5e')
version('0.4.0', sha256='9384aa3a58cbc20bbd1c6fddfadb5e6a943d593a3a81c8665f030dbc6d76e76e')
version('0.3.0', sha256='c8efdf45d0da0ef6299ee778cea1c285c95972af70d3a729ee6dc855e66f9294')
diff --git a/var/spack/repos/builtin/packages/py-librosa/package.py b/var/spack/repos/builtin/packages/py-librosa/package.py
index c720c12e63..ca3e62973f 100644
--- a/var/spack/repos/builtin/packages/py-librosa/package.py
+++ b/var/spack/repos/builtin/packages/py-librosa/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyLibrosa(PythonPackage):
"""A python package for music and audio analysis."""
homepage = "http://github.com/librosa/librosa"
- url = "https://pypi.io/packages/source/l/librosa/librosa-0.7.2.tar.gz"
+ pypi = "librosa/librosa-0.7.2.tar.gz"
version('0.7.2', sha256='656bbda80e98e6330db1ead79cd084b13a762284834d7603fcf7cf7c0dc65f3c')
diff --git a/var/spack/repos/builtin/packages/py-lifelines/package.py b/var/spack/repos/builtin/packages/py-lifelines/package.py
index ddbe26a06e..581a66c339 100644
--- a/var/spack/repos/builtin/packages/py-lifelines/package.py
+++ b/var/spack/repos/builtin/packages/py-lifelines/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class PyLifelines(PythonPackage):
parts of survival analysis."""
homepage = "https://github.com/CamDavidsonPilon/lifelines"
- url = "https://pypi.io/packages/source/l/lifelines/lifelines-0.25.5.tar.gz"
+ pypi = "lifelines/lifelines-0.25.5.tar.gz"
version('0.25.5', sha256='f24260aa371829354440dfc2c1be8d59d9e841cce7a933230213cecd67787b89')
version('0.9.4', sha256='0f19a8b18ace80c231de60487b2b1a3de3eb418445c6a6d0d72c1110d860f676')
diff --git a/var/spack/repos/builtin/packages/py-lightgbm/package.py b/var/spack/repos/builtin/packages/py-lightgbm/package.py
new file mode 100644
index 0000000000..5bcef6498c
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-lightgbm/package.py
@@ -0,0 +1,36 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyLightgbm(PythonPackage):
+ """LightGBM is a gradient boosting framework that uses tree
+ based learning algorithms."""
+
+ homepage = "https://github.com/microsoft/LightGBM"
+ pypi = "lightgbm/lightgbm-3.1.1.tar.gz"
+
+ version('3.1.1', sha256='babece2e3613e97748a67ed45387bb0e984bdb1f4126e39f010fbfe7503c7b20')
+
+ variant('mpi', default=False, description="Build with mpi support")
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-wheel', type=('build', 'run'))
+ depends_on('py-numpy', type=('build', 'run'))
+ depends_on('py-scipy', type=('build', 'run'))
+ depends_on('py-scikit-learn@:0.21.999,0.22.1:', type=('build', 'run'))
+
+ depends_on('cmake@3.8:', type='build')
+
+ depends_on('mpi', when='+mpi')
+
+ def install_args(self, spec, prefix):
+ args = []
+
+ if spec.satisfies('+mpi'):
+ args.append('--mpi')
+
+ return args
diff --git a/var/spack/repos/builtin/packages/py-ligo-segments/package.py b/var/spack/repos/builtin/packages/py-ligo-segments/package.py
index aacb0affc5..997e509f01 100644
--- a/var/spack/repos/builtin/packages/py-ligo-segments/package.py
+++ b/var/spack/repos/builtin/packages/py-ligo-segments/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyLigoSegments(PythonPackage):
"""Representations of semi-open intervals."""
- homepage = "https://pypi.org/project/ligo-segments/"
- url = "https://pypi.io/packages/source/l/ligo-segments/ligo-segments-1.2.0.tar.gz"
+ pypi = "ligo-segments/ligo-segments-1.2.0.tar.gz"
version('1.2.0', sha256='5edbcb88cae007c4e154a61cb2c9d0a6d6d4016c1ecaf0a59a667a267bd20e7a')
diff --git a/var/spack/repos/builtin/packages/py-line-profiler/package.py b/var/spack/repos/builtin/packages/py-line-profiler/package.py
index c252dca53f..dd6167db48 100644
--- a/var/spack/repos/builtin/packages/py-line-profiler/package.py
+++ b/var/spack/repos/builtin/packages/py-line-profiler/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyLineProfiler(PythonPackage):
"""Line-by-line profiler."""
homepage = "https://github.com/rkern/line_profiler"
- url = "https://pypi.io/packages/source/l/line_profiler/line_profiler-2.0.tar.gz"
+ pypi = "line_profiler/line_profiler-2.0.tar.gz"
version('2.1.2', sha256='efa66e9e3045aa7cb1dd4bf0106e07dec9f80bc781a993fbaf8162a36c20af5c')
version('2.0', sha256='739f8ad0e4bcd0cb82e99afc09e00a0351234f6b3f0b1f7f0090a8a2fbbf8381')
diff --git a/var/spack/repos/builtin/packages/py-linecache2/package.py b/var/spack/repos/builtin/packages/py-linecache2/package.py
index b490059705..4ddd9f49a5 100644
--- a/var/spack/repos/builtin/packages/py-linecache2/package.py
+++ b/var/spack/repos/builtin/packages/py-linecache2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,11 +10,9 @@ class PyLinecache2(PythonPackage):
"""Backports of the linecache module"""
homepage = "https://github.com/testing-cabal/linecache2"
- url = "https://pypi.io/packages/source/l/linecache2/linecache2-1.0.0.tar.gz"
+ pypi = "linecache2/linecache2-1.0.0.tar.gz"
version('1.0.0', sha256='4b26ff4e7110db76eeb6f5a7b64a82623839d595c2038eeda662f2a2db78e97c')
depends_on('py-setuptools', type='build')
depends_on('py-pbr', type='build')
- depends_on('py-fixtures', type='test')
- depends_on('py-unittest2', type='test')
diff --git a/var/spack/repos/builtin/packages/py-lit/package.py b/var/spack/repos/builtin/packages/py-lit/package.py
index b09f8cb956..1c2eacfafb 100644
--- a/var/spack/repos/builtin/packages/py-lit/package.py
+++ b/var/spack/repos/builtin/packages/py-lit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,8 +12,7 @@ class PyLit(PythonPackage):
designed to be a lightweight testing tool with as simple a user
interface as possible."""
- homepage = "https://pypi.python.org/pypi/lit"
- url = "https://pypi.io/packages/source/l/lit/lit-0.5.0.tar.gz"
+ pypi = "lit/lit-0.5.0.tar.gz"
version('0.7.1', sha256='ecef2833aef7f411cb923dac109c7c9dcc7dbe7cafce0650c1e8d19c243d955f')
version('0.5.0', sha256='3ea4251e78ebeb2e07be2feb33243d1f8931d956efc96ccc2b0846ced212b58c')
diff --git a/var/spack/repos/builtin/packages/py-llvmlite/package.py b/var/spack/repos/builtin/packages/py-llvmlite/package.py
index fcfcd0407e..ff1d401351 100644
--- a/var/spack/repos/builtin/packages/py-llvmlite/package.py
+++ b/var/spack/repos/builtin/packages/py-llvmlite/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyLlvmlite(PythonPackage):
"""A lightweight LLVM python binding for writing JIT compilers"""
homepage = "http://llvmlite.readthedocs.io/en/latest/index.html"
- url = "https://pypi.io/packages/source/l/llvmlite/llvmlite-0.23.0.tar.gz"
+ pypi = "llvmlite/llvmlite-0.23.0.tar.gz"
version('0.34.0', sha256='f03ee0d19bca8f2fe922bb424a909d05c28411983b0c2bc58b020032a0d11f63')
version('0.33.0', sha256='9c8aae96f7fba10d9ac864b443d1e8c7ee4765c31569a2b201b3d0b67d8fc596')
@@ -28,15 +28,22 @@ class PyLlvmlite(PythonPackage):
depends_on('py-enum34', type=('build', 'run'), when='^python@:3.3.99')
# llvmlite compatibility information taken from https://github.com/numba/llvmlite#compatibility
- depends_on('llvm@10.0:10.0.99', when='@0.34.0:')
- depends_on('llvm@9.0:9.0.99', when='@0.33.0:0.33.99')
- depends_on('llvm@7.0:8.0.99', when='@0.29.0:0.32.99')
- depends_on('llvm@7.0:7.0.99', when='@0.27.0:0.28.99')
- depends_on('llvm@6.0:6.0.99', when='@0.23.0:0.26.99')
- depends_on('llvm@4.0:4.0.99', when='@0.17.0:0.20.99')
+ for t in ['arm:', 'ppc:', 'ppc64:', 'ppc64le:', 'ppcle:',
+ 'sparc:', 'sparc64:', 'x86:', 'x86_64:']:
+ depends_on('llvm@10.0:10.0.99~flang', when='@0.34.0: target={0}'.format(t))
+ depends_on('llvm@9.0:9.0.99~flang', when='@0.34.0: target=aarch64:')
+ depends_on('llvm@9.0:9.0.99~flang', when='@0.33.0:0.33.99')
+ depends_on('llvm@7.0:8.0.99~flang', when='@0.29.0:0.32.99')
+ depends_on('llvm@7.0:7.0.99~flang', when='@0.27.0:0.28.99')
+ depends_on('llvm@6.0:6.0.99~flang', when='@0.23.0:0.26.99')
+ depends_on('llvm@4.0:4.0.99~flang', when='@0.17.0:0.20.99')
depends_on('binutils', type='build')
def setup_build_environment(self, env):
- # Need to set PIC flag since this is linking statically with LLVM
- env.set('CXX_FLTO_FLAGS', '-flto {0}'.format(
- self.compiler.cxx_pic_flag))
+ if self.spec.satisfies('%fj'):
+ env.set('CXX_FLTO_FLAGS', '{0}'.format(self.compiler.cxx_pic_flag))
+ env.set('LD_FLTO_FLAGS', '-Wl,--exclude-libs=ALL')
+ else:
+ # Need to set PIC flag since this is linking statically with LLVM
+ env.set('CXX_FLTO_FLAGS', '-flto {0}'.format(
+ self.compiler.cxx_pic_flag))
diff --git a/var/spack/repos/builtin/packages/py-lmfit/package.py b/var/spack/repos/builtin/packages/py-lmfit/package.py
index 9f70b89aa0..668de222c2 100644
--- a/var/spack/repos/builtin/packages/py-lmfit/package.py
+++ b/var/spack/repos/builtin/packages/py-lmfit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyLmfit(PythonPackage):
"""Least-Squares Minimization with Bounds and Constraints"""
homepage = "http://lmfit.github.io/lmfit-py/"
- url = "https://pypi.io/packages/source/l/lmfit/lmfit-0.9.5.tar.gz"
+ pypi = "lmfit/lmfit-0.9.5.tar.gz"
version('1.0.1', sha256='d249eb756899360f4d2a544c9458f47fc8f765ac22c09e099530585fd64e286e')
version('0.9.15', sha256='cd7bdf47c09a3d49f30dff9a1c7f778973d15d1e1b5dc642f14c22f6630eaf2f')
diff --git a/var/spack/repos/builtin/packages/py-lmodule/package.py b/var/spack/repos/builtin/packages/py-lmodule/package.py
index 13574e88d6..36d0f20174 100644
--- a/var/spack/repos/builtin/packages/py-lmodule/package.py
+++ b/var/spack/repos/builtin/packages/py-lmodule/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class PyLmodule(PythonPackage):
environment-modules to interact with module using the Module class."""
homepage = "https://lmodule.readthedocs.io/en/latest/"
- url = "https://pypi.io/packages/source/l/lmodule/lmodule-0.1.0.tar.gz"
+ pypi = "lmodule/lmodule-0.1.0.tar.gz"
git = "https://github.com/buildtesters/lmodule"
maintainers = ['shahzebsiddiqui']
diff --git a/var/spack/repos/builtin/packages/py-localcider/package.py b/var/spack/repos/builtin/packages/py-localcider/package.py
index 7603a6045d..679343d584 100644
--- a/var/spack/repos/builtin/packages/py-localcider/package.py
+++ b/var/spack/repos/builtin/packages/py-localcider/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyLocalcider(PythonPackage):
"""Tools for calculating sequence properties of disordered proteins"""
homepage = "http://pappulab.github.io/localCIDER"
- url = "https://pypi.io/packages/source/l/localcider/localcider-0.1.14.tar.gz"
+ pypi = "localcider/localcider-0.1.14.tar.gz"
version('0.1.14', sha256='54ff29e8a011947cca5df79e96f3c69a76c49c4db41dcf1608663992be3e3f5f')
diff --git a/var/spack/repos/builtin/packages/py-locket/package.py b/var/spack/repos/builtin/packages/py-locket/package.py
index 2ef69b2992..d71a265e6e 100644
--- a/var/spack/repos/builtin/packages/py-locket/package.py
+++ b/var/spack/repos/builtin/packages/py-locket/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,6 @@ class PyLocket(PythonPackage):
"""File-based locks for Python for Linux and Windows."""
homepage = "http://github.com/mwilliamson/locket.py"
- url = "https://pypi.io/packages/source/l/locket/locket-0.2.0.tar.gz"
-
- import_modules = ['locket']
+ pypi = "locket/locket-0.2.0.tar.gz"
version('0.2.0', sha256='1fee63c1153db602b50154684f5725564e63a0f6d09366a1cb13dffcec179fb4')
diff --git a/var/spack/repos/builtin/packages/py-lockfile/package.py b/var/spack/repos/builtin/packages/py-lockfile/package.py
index 9731208b51..8de746add6 100644
--- a/var/spack/repos/builtin/packages/py-lockfile/package.py
+++ b/var/spack/repos/builtin/packages/py-lockfile/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,8 +17,7 @@ class PyLockfile(PythonPackage):
SQLite is also provided, more as a demonstration of the
possibilities it provides than as production-quality code.
"""
- homepage = "https://pypi.python.org/pypi/lockfile"
- url = "https://pypi.io/packages/source/l/lockfile/lockfile-0.10.2.tar.gz"
+ pypi = "lockfile/lockfile-0.10.2.tar.gz"
version('0.10.2', sha256='9e42252f17d1dd89ee31745e0c4fbe58862c25147eb0ef5295c9cd9bcb4ea2c1')
diff --git a/var/spack/repos/builtin/packages/py-logilab-common/package.py b/var/spack/repos/builtin/packages/py-logilab-common/package.py
index ad55892341..69c09f6fce 100644
--- a/var/spack/repos/builtin/packages/py-logilab-common/package.py
+++ b/var/spack/repos/builtin/packages/py-logilab-common/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ from spack import *
class PyLogilabCommon(PythonPackage):
"""Common modules used by Logilab projects"""
homepage = "https://www.logilab.org/project/logilab-common"
- url = "https://pypi.io/packages/source/l/logilab-common/logilab-common-1.2.0.tar.gz"
+ pypi = "logilab-common/logilab-common-1.2.0.tar.gz"
version('1.4.2', sha256='cdda9ed0deca7c68f87f7a404ad742e47aaa1ca5956d12988236a5ec3bda13a0')
version('1.2.0', sha256='d4e5cec3be3a89f06ff05e359a221e69bd1da33cb7096cad648ddcccea8465b7')
@@ -18,4 +18,3 @@ class PyLogilabCommon(PythonPackage):
depends_on("py-setuptools", type=('build', 'run'))
depends_on("py-six@1.4.0:", type=('build', 'run'))
depends_on("py-unittest2@0.5.1:", type=('build', 'run'), when='^python@:2.7')
- depends_on("py-pytz", type='test')
diff --git a/var/spack/repos/builtin/packages/py-louie/package.py b/var/spack/repos/builtin/packages/py-louie/package.py
index dc23bd7a4d..f514e77c7f 100644
--- a/var/spack/repos/builtin/packages/py-louie/package.py
+++ b/var/spack/repos/builtin/packages/py-louie/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-lru-dict/package.py b/var/spack/repos/builtin/packages/py-lru-dict/package.py
index aa31ec491e..e618fb48e6 100644
--- a/var/spack/repos/builtin/packages/py-lru-dict/package.py
+++ b/var/spack/repos/builtin/packages/py-lru-dict/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyLruDict(PythonPackage):
"""A fast LRU cache"""
homepage = "https://github.com/amitdev/lru-dict"
- url = "https://pypi.io/packages/source/l/lru-dict/lru-dict-1.1.6.tar.gz"
+ pypi = "lru-dict/lru-dict-1.1.6.tar.gz"
version('1.1.6', sha256='365457660e3d05b76f1aba3e0f7fedbfcd6528e97c5115a351ddd0db488354cc')
diff --git a/var/spack/repos/builtin/packages/py-lscsoft-glue/package.py b/var/spack/repos/builtin/packages/py-lscsoft-glue/package.py
index f746285d3a..a8dab0ad45 100644
--- a/var/spack/repos/builtin/packages/py-lscsoft-glue/package.py
+++ b/var/spack/repos/builtin/packages/py-lscsoft-glue/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyLscsoftGlue(PythonPackage):
certain metadata services, such as the LSC segment database."""
homepage = "https://www.lsc-group.phys.uwm.edu/daswg/projects/glue.html"
- url = "https://pypi.io/packages/source/l/lscsoft-glue/lscsoft-glue-2.0.0.tar.gz"
+ pypi = "lscsoft-glue/lscsoft-glue-2.0.0.tar.gz"
version('2.0.0', sha256='9bdfaebe4c921d83d1e3d1ca24379a644665e9d7530e7070665f387767c66923')
diff --git a/var/spack/repos/builtin/packages/py-luigi/package.py b/var/spack/repos/builtin/packages/py-luigi/package.py
index 18adbff049..1a3b27b254 100644
--- a/var/spack/repos/builtin/packages/py-luigi/package.py
+++ b/var/spack/repos/builtin/packages/py-luigi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyLuigi(PythonPackage):
"""Workflow mgmgt + task scheduling + dependency resolution"""
homepage = "https://github.com/spotify/luigi"
- url = "https://pypi.io/packages/source/l/luigi/luigi-2.8.3.tar.gz"
+ pypi = "luigi/luigi-2.8.3.tar.gz"
version('2.8.3', sha256='8b5c84a3c3f4df07309056d3b98348b93c054f1931b7ee22fc29e7989f645c9e')
@@ -19,5 +19,3 @@ class PyLuigi(PythonPackage):
depends_on('py-tornado@4.0:4.99', type=('build', 'run'))
depends_on('py-python-daemon@:2.1', type=('build', 'run'))
depends_on('py-python-dateutil@2.7.5', when='@2.8.3:', type=('build', 'run'))
-
- depends_on('py-pytest@3.3.0:', type='test')
diff --git a/var/spack/repos/builtin/packages/py-lxml/package.py b/var/spack/repos/builtin/packages/py-lxml/package.py
index 78b82ccbf8..e33810d7c0 100644
--- a/var/spack/repos/builtin/packages/py-lxml/package.py
+++ b/var/spack/repos/builtin/packages/py-lxml/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,9 +10,10 @@ class PyLxml(PythonPackage):
"""lxml is the most feature-rich and easy-to-use library for processing
XML and HTML in the Python language."""
- homepage = "http://lxml.de/"
- url = "https://pypi.io/packages/source/l/lxml/lxml-4.4.1.tar.gz"
+ homepage = "https://lxml.de/"
+ pypi = "lxml/lxml-4.6.1.tar.gz"
+ version('4.6.1', sha256='c152b2e93b639d1f36ec5a8ca24cde4a8eefb2b6b83668fcd8e83a67badcb367')
version('4.5.2', sha256='cdc13a1682b2a6241080745b1953719e7fe0850b40a5c71ca574f090a1391df6')
version('4.4.1', sha256='c81cb40bff373ab7a7446d6bbca0190bccc5be3448b47b51d729e37799bb5692')
version('4.3.3', sha256='4a03dd682f8e35a10234904e0b9508d705ff98cf962c5851ed052e9340df3d90')
diff --git a/var/spack/repos/builtin/packages/py-lz4/package.py b/var/spack/repos/builtin/packages/py-lz4/package.py
index 656b7e0266..57fcf26afe 100644
--- a/var/spack/repos/builtin/packages/py-lz4/package.py
+++ b/var/spack/repos/builtin/packages/py-lz4/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyLz4(PythonPackage):
"""lz4 (compression library) bindings for Python"""
homepage = "https://github.com/python-lz4/python-lz4"
- url = "https://pypi.io/packages/source/l/lz4/lz4-3.1.0.tar.gz"
+ pypi = "lz4/lz4-3.1.0.tar.gz"
version('3.1.0', sha256='debe75513db3eb9e5cdcd82a329ff38374b6316ab65b848b571e0404746c1e05')
diff --git a/var/spack/repos/builtin/packages/py-lzstring/package.py b/var/spack/repos/builtin/packages/py-lzstring/package.py
index 33eb630918..296e34f94e 100644
--- a/var/spack/repos/builtin/packages/py-lzstring/package.py
+++ b/var/spack/repos/builtin/packages/py-lzstring/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyLzstring(PythonPackage):
"""lz-string for python."""
homepage = "https://github.com/gkovacs/lz-string-python"
- url = "https://pypi.io/packages/source/l/lzstring/lzstring-1.0.3.tar.gz"
+ pypi = "lzstring/lzstring-1.0.3.tar.gz"
version('1.0.3', sha256='d54dd5a5f86837ccfc1343cc9f1cb0674d2d6ebd4b49f6408c35104f0a996cb4')
diff --git a/var/spack/repos/builtin/packages/py-m2r/package.py b/var/spack/repos/builtin/packages/py-m2r/package.py
index a107f6d18e..619e3128a8 100644
--- a/var/spack/repos/builtin/packages/py-m2r/package.py
+++ b/var/spack/repos/builtin/packages/py-m2r/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-macholib/package.py b/var/spack/repos/builtin/packages/py-macholib/package.py
index 702ea07e0b..fe59bcce3e 100644
--- a/var/spack/repos/builtin/packages/py-macholib/package.py
+++ b/var/spack/repos/builtin/packages/py-macholib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyMacholib(PythonPackage):
"""Python package for Mach-O header analysis and editing"""
- homepage = "https://pypi.python.org/pypi/macholib"
- url = "https://pypi.io/packages/source/m/macholib/macholib-1.11.tar.gz"
+ pypi = "macholib/macholib-1.11.tar.gz"
version('1.11', 'c4180ffc6f909bf8db6cd81cff4b6f601d575568f4d5dee148c830e9851eb9db')
diff --git a/var/spack/repos/builtin/packages/py-machotools/package.py b/var/spack/repos/builtin/packages/py-machotools/package.py
index a0b4337892..a322edb5b7 100644
--- a/var/spack/repos/builtin/packages/py-machotools/package.py
+++ b/var/spack/repos/builtin/packages/py-machotools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyMachotools(PythonPackage):
"""Python package for editing Mach-O headers using macholib"""
- homepage = "https://pypi.python.org/pypi/machotools"
- url = "https://pypi.io/packages/source/m/machotools/machotools-0.2.0.tar.gz"
+ pypi = "machotools/machotools-0.2.0.tar.gz"
version('0.2.0', sha256='e3950fa263169087d44a3d0521a3267d5128efd1b85252670c7171955939ab58')
diff --git a/var/spack/repos/builtin/packages/py-macs2/package.py b/var/spack/repos/builtin/packages/py-macs2/package.py
index b9703842b5..62c21dfa36 100644
--- a/var/spack/repos/builtin/packages/py-macs2/package.py
+++ b/var/spack/repos/builtin/packages/py-macs2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyMacs2(PythonPackage):
"""MACS2 Model-based Analysis of ChIP-Seq"""
homepage = "https://github.com/taoliu/MACS"
- url = "https://pypi.io/packages/source/M/MACS2/MACS2-2.2.4.tar.gz"
+ pypi = "MACS2/MACS2-2.2.4.tar.gz"
version('2.2.4', sha256='b131aadc8f5fd94bec35308b821e1f7585def788d2e7c756fc8cac402ffee25b')
version('2.1.4', sha256='e4966d001914320829ab859c7bc8e92c6410aa7bdbddfd00b7625e9a0fb15c97')
diff --git a/var/spack/repos/builtin/packages/py-maestrowf/package.py b/var/spack/repos/builtin/packages/py-maestrowf/package.py
index 69812a6b38..90826e746f 100644
--- a/var/spack/repos/builtin/packages/py-maestrowf/package.py
+++ b/var/spack/repos/builtin/packages/py-maestrowf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyMaestrowf(PythonPackage):
simulation studies."""
homepage = "https://github.com/LLNL/maestrowf/"
- url = "https://pypi.io/packages/source/m/maestrowf/maestrowf-1.1.8.tar.gz"
+ pypi = "maestrowf/maestrowf-1.1.8.tar.gz"
git = "https://github.com/LLNL/maestrowf/"
maintainers = ['FrankD412']
diff --git a/var/spack/repos/builtin/packages/py-magic/package.py b/var/spack/repos/builtin/packages/py-magic/package.py
index ed29fdcdbb..dcc5d9a1ba 100644
--- a/var/spack/repos/builtin/packages/py-magic/package.py
+++ b/var/spack/repos/builtin/packages/py-magic/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-mailchecker/package.py b/var/spack/repos/builtin/packages/py-mailchecker/package.py
new file mode 100644
index 0000000000..f4191dfe99
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-mailchecker/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+from spack import *
+
+
+class PyMailchecker(PythonPackage):
+ """Cross-language email validation. Backed by a database of thousands
+ throwable email providers"""
+
+ homepage = "https://github.com/FGRibreau/mailchecker"
+ pypi = "mailchecker/mailchecker-4.0.3.tar.gz"
+
+ version('4.0.3', sha256='00dbe9739c754366233eb3887c5deef987672482a26e814314c3e749fc7b1d1f')
+
+ depends_on('py-setuptools', type='build')
diff --git a/var/spack/repos/builtin/packages/py-mako/package.py b/var/spack/repos/builtin/packages/py-mako/package.py
index b60dd8d184..ed2c56d2d6 100644
--- a/var/spack/repos/builtin/packages/py-mako/package.py
+++ b/var/spack/repos/builtin/packages/py-mako/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,13 +10,10 @@ class PyMako(PythonPackage):
"""A super-fast templating language that borrows the best
ideas from the existing templating languages."""
- homepage = "https://pypi.python.org/pypi/mako"
- url = "https://pypi.io/packages/source/M/Mako/Mako-1.0.1.tar.gz"
+ pypi = "Mako/Mako-1.0.1.tar.gz"
version('1.0.4', sha256='fed99dbe4d0ddb27a33ee4910d8708aca9ef1fe854e668387a9ab9a90cbf9059')
version('1.0.1', sha256='45f0869febea59dab7efd256fb451c377cbb7947bef386ff0bb44627c31a8d1c')
depends_on('py-setuptools', type='build')
- depends_on('py-mock', type='test')
- depends_on('py-pytest', type='test')
depends_on('py-markupsafe@0.9.2:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-mapclassify/package.py b/var/spack/repos/builtin/packages/py-mapclassify/package.py
new file mode 100644
index 0000000000..b3974e42b7
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-mapclassify/package.py
@@ -0,0 +1,24 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyMapclassify(PythonPackage):
+ """Classification Schemes for Choropleth Maps."""
+
+ homepage = "https://github.com/pysal/mapclassify"
+ pypi = "mapclassify/mapclassify-2.4.2.tar.gz"
+
+ maintainers = ['adamjstewart']
+
+ version('2.4.2', sha256='bc20954aa433466f5fbc572e3f23b05f9606b59209f40b0ded93ac1ca983d24e')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-scipy@1.0:', type=('build', 'run'))
+ depends_on('py-numpy@1.3:', type=('build', 'run'))
+ depends_on('py-scikit-learn', type=('build', 'run'))
+ depends_on('py-pandas@1.0:', type=('build', 'run'))
+ depends_on('py-networkx', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-markdown/package.py b/var/spack/repos/builtin/packages/py-markdown/package.py
index 665d94dee4..12378f098e 100644
--- a/var/spack/repos/builtin/packages/py-markdown/package.py
+++ b/var/spack/repos/builtin/packages/py-markdown/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,7 +15,7 @@ class PyMarkdown(PythonPackage):
"""
homepage = "https://pythonhosted.org/Markdown/"
- url = "https://pypi.io/packages/source/m/markdown/Markdown-2.6.11.tar.gz"
+ pypi = "markdown/Markdown-2.6.11.tar.gz"
version('3.1.1', sha256='2e50876bcdd74517e7b71f3e7a76102050edec255b3983403f1a63e7c8a41e7a')
version('2.6.11', sha256='a856869c7ff079ad84a3e19cd87a64998350c2b94e9e08e44270faef33400f81')
diff --git a/var/spack/repos/builtin/packages/py-markdown2/package.py b/var/spack/repos/builtin/packages/py-markdown2/package.py
new file mode 100644
index 0000000000..b3cf580238
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-markdown2/package.py
@@ -0,0 +1,18 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyMarkdown2(PythonPackage):
+ """A fast and complete Python implementation of Markdown."""
+
+ homepage = "https://github.com/trentm/python-markdown2"
+ pypi = "markdown2/markdown2-2.3.9.tar.gz"
+
+ version('2.4.0', sha256='28d769f0e544e6f68f684f01e9b186747b079a6927d9ca77ebc8c640a2829b1b')
+
+ depends_on('python@3.5:3.999', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
diff --git a/var/spack/repos/builtin/packages/py-markovify/package.py b/var/spack/repos/builtin/packages/py-markovify/package.py
index d7b93c1e3d..bb18d7ec74 100644
--- a/var/spack/repos/builtin/packages/py-markovify/package.py
+++ b/var/spack/repos/builtin/packages/py-markovify/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyMarkovify(PythonPackage):
corpora of text and generating random sentences from that."""
homepage = "https://github.com/jsvine/markovify"
- url = "https://pypi.io/packages/source/m/markovify/markovify-0.8.3.tar.gz"
+ pypi = "markovify/markovify-0.8.3.tar.gz"
version('0.8.3', sha256='254405c5b2f819ae388c39a53e6bc038bfbc24713441869ce90a1cd67e4a89ce')
diff --git a/var/spack/repos/builtin/packages/py-markupsafe/package.py b/var/spack/repos/builtin/packages/py-markupsafe/package.py
index f334d03cee..ae95876b9d 100644
--- a/var/spack/repos/builtin/packages/py-markupsafe/package.py
+++ b/var/spack/repos/builtin/packages/py-markupsafe/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,9 +13,7 @@ class PyMarkupsafe(PythonPackage):
Mako templating engine, the Pylons web framework and many more."""
homepage = "http://www.pocoo.org/projects/markupsafe/"
- url = "https://pypi.io/packages/source/M/MarkupSafe/MarkupSafe-1.1.1.tar.gz"
-
- import_modules = ['markupsafe']
+ pypi = "MarkupSafe/MarkupSafe-1.1.1.tar.gz"
version('1.1.1', sha256='29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8bb116b')
version('1.0', sha256='a6be69091dac236ea9c6bc7d012beab42010fa914c459791d627dad4910eb665')
diff --git a/var/spack/repos/builtin/packages/py-matplotlib/package.py b/var/spack/repos/builtin/packages/py-matplotlib/package.py
index ebb95033cf..14df0a05e9 100644
--- a/var/spack/repos/builtin/packages/py-matplotlib/package.py
+++ b/var/spack/repos/builtin/packages/py-matplotlib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,20 +11,20 @@ class PyMatplotlib(PythonPackage):
and interactive visualizations in Python."""
homepage = "https://matplotlib.org/"
- url = "https://pypi.io/packages/source/m/matplotlib/matplotlib-3.3.2.tar.gz"
+ pypi = "matplotlib/matplotlib-3.3.2.tar.gz"
maintainers = ['adamjstewart']
-
import_modules = [
- 'mpl_toolkits', 'matplotlib', 'mpl_toolkits.axes_grid1',
- 'mpl_toolkits.axes_grid', 'mpl_toolkits.mplot3d',
- 'mpl_toolkits.axisartist', 'matplotlib.compat', 'matplotlib.tri',
- 'matplotlib.axes', 'matplotlib.sphinxext', 'matplotlib.cbook',
- 'matplotlib.backends', 'matplotlib.style', 'matplotlib.projections',
- 'matplotlib.testing', 'matplotlib.backends.qt_editor',
- 'matplotlib.testing.jpl_units'
+ 'mpl_toolkits.axes_grid1', 'mpl_toolkits.axes_grid',
+ 'mpl_toolkits.mplot3d', 'mpl_toolkits.axisartist', 'matplotlib',
+ 'matplotlib.compat', 'matplotlib.tri', 'matplotlib.axes',
+ 'matplotlib.sphinxext', 'matplotlib.cbook', 'matplotlib.backends',
+ 'matplotlib.backends.qt_editor', 'matplotlib.style',
+ 'matplotlib.projections', 'matplotlib.testing',
+ 'matplotlib.testing.jpl_units', 'pylab'
]
+ version('3.3.4', sha256='3e477db76c22929e4c6876c44f88d790aacdf3c3f8f3a90cb1975c0bf37825b0')
version('3.3.3', sha256='b1b60c6476c4cfe9e5cf8ab0d3127476fd3d5f05de0f343a452badaad0e4bdec')
version('3.3.2', sha256='3d2edbf59367f03cd9daf42939ca06383a7d7803e3993eb5ff1bee8e8a3fbb6b')
version('3.3.1', sha256='87f53bcce90772f942c2db56736788b39332d552461a5cb13f05ff45c1680f0e')
@@ -44,10 +44,10 @@ class PyMatplotlib(PythonPackage):
version('2.2.2', sha256='4dc7ef528aad21f22be85e95725234c5178c0f938e2228ca76640e5e84d8cde8')
version('2.0.2', sha256='0ffbc44faa34a8b1704bc108c451ecf87988f900ef7ce757b8e2e84383121ff1')
version('2.0.0', sha256='36cf0985829c1ab2b8b1dae5e2272e53ae681bf33ab8bedceed4f0565af5f813')
- version('1.5.3', sha256='a0a5dc39f785014f2088fed2c6d2d129f0444f71afbb9c44f7bdf1b14d86ebbc')
- version('1.5.1', sha256='3ab8d968eac602145642d0db63dd8d67c85e9a5444ce0e2ecb2a8fedc7224d40')
- version('1.4.3', sha256='61f201c6a82e89e4d9e324266203fad44f95fd8f36d8eec0d8690273e1182f75')
- version('1.4.2', sha256='17a3c7154f152d8dfed1f37517c0a8c5db6ade4f6334f684989c36dab84ddb54')
+ version('1.5.3', sha256='a0a5dc39f785014f2088fed2c6d2d129f0444f71afbb9c44f7bdf1b14d86ebbc', deprecated=True)
+ version('1.5.1', sha256='3ab8d968eac602145642d0db63dd8d67c85e9a5444ce0e2ecb2a8fedc7224d40', deprecated=True)
+ version('1.4.3', sha256='61f201c6a82e89e4d9e324266203fad44f95fd8f36d8eec0d8690273e1182f75', deprecated=True)
+ version('1.4.2', sha256='17a3c7154f152d8dfed1f37517c0a8c5db6ade4f6334f684989c36dab84ddb54', deprecated=True)
# https://matplotlib.org/tutorials/introductory/usage.html#backends
# From `lib/matplotlib/rcsetup.py`:
@@ -65,7 +65,9 @@ class PyMatplotlib(PythonPackage):
if sys.platform == 'darwin':
default_backend = 'macosx'
- variant('backend', default=default_backend, description='Default backend',
+ variant('backend', default=default_backend,
+ description='Default backend. All backends are installed and ' +
+ 'functional as long as dependencies are found at run-time',
values=all_backends, multi=False)
variant('movies', default=False,
description='Enable support for saving movies')
@@ -183,6 +185,8 @@ class PyMatplotlib(PythonPackage):
setup.write('system_freetype = True\n')
setup.write('system_qhull = True\n')
+ @run_after('build')
+ @on_package_attributes(run_tests=True)
def build_test(self):
pytest = which('pytest')
pytest()
diff --git a/var/spack/repos/builtin/packages/py-mayavi/package.py b/var/spack/repos/builtin/packages/py-mayavi/package.py
index 1fe477bbc7..1d74cdbf0b 100644
--- a/var/spack/repos/builtin/packages/py-mayavi/package.py
+++ b/var/spack/repos/builtin/packages/py-mayavi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyMayavi(PythonPackage):
"""Mayavi: 3D visualization of scientific data in Python."""
homepage = "https://docs.enthought.com/mayavi/mayavi/index.html"
- url = "https://pypi.io/packages/source/m/mayavi/mayavi-4.7.1.tar.bz2"
+ pypi = "mayavi/mayavi-4.7.1.tar.bz2"
version('4.7.1', sha256='be51fb6f886f304f7c593c907e6a2e88d7919f8f446cdccfcd184fa35b3db724')
diff --git a/var/spack/repos/builtin/packages/py-mccabe/package.py b/var/spack/repos/builtin/packages/py-mccabe/package.py
index cd4c0df089..898ec641d1 100644
--- a/var/spack/repos/builtin/packages/py-mccabe/package.py
+++ b/var/spack/repos/builtin/packages/py-mccabe/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -28,7 +28,6 @@ class PyMccabe(PythonPackage):
depends_on('python@2.7:2.8,3.3:')
depends_on('py-setuptools', type='build')
- depends_on('py-pytest', type='test')
def patch(self):
"""Filter pytest-runner requirement out of setup.py."""
diff --git a/var/spack/repos/builtin/packages/py-mdanalysis/package.py b/var/spack/repos/builtin/packages/py-mdanalysis/package.py
index 0651123ef3..666f3b87f1 100644
--- a/var/spack/repos/builtin/packages/py-mdanalysis/package.py
+++ b/var/spack/repos/builtin/packages/py-mdanalysis/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,7 +14,7 @@ class PyMdanalysis(PythonPackage):
topology formats.)"""
homepage = "http://www.mdanalysis.org"
- url = "https://pypi.io/packages/source/M/MDAnalysis/MDAnalysis-0.19.2.tar.gz"
+ pypi = "MDAnalysis/MDAnalysis-0.19.2.tar.gz"
version('1.0.0', sha256='f45a024aca45e390ff1c45ca90beb2180b78881be377e2a1aa9cd6c109bcfa81')
version('0.20.1', sha256='d04b71b193b9716d2597ffb9938b93f43487fa535da1bb5c1f2baccf356d7df9')
@@ -41,7 +41,7 @@ class PyMdanalysis(PythonPackage):
depends_on('py-six@1.4.0:', type=('build', 'run'))
depends_on('py-networkx@1.0:', type=('build', 'run'))
- depends_on('py-gsd@1.4.0:', when='@1.17.0:', type=('build', 'run'))
+ depends_on('py-gsd@1.4.0:', when='@0.17.0:', type=('build', 'run'))
depends_on('py-mmtf-python@1.0.0:', when='@0.16.0:', type=('build', 'run'))
depends_on('py-mock', when='@0.18.0:', type=('build', 'run'))
depends_on('py-tqdm@4.43.0:', when='@1.0.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-mechanize/package.py b/var/spack/repos/builtin/packages/py-mechanize/package.py
index 06ae015836..a85bdf4ccf 100644
--- a/var/spack/repos/builtin/packages/py-mechanize/package.py
+++ b/var/spack/repos/builtin/packages/py-mechanize/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyMechanize(PythonPackage):
"""Stateful programmatic web browsing."""
homepage = "https://github.com/python-mechanize/mechanize"
- url = "https://pypi.io/packages/source/m/mechanize/mechanize-0.4.3.tar.gz"
+ pypi = "mechanize/mechanize-0.4.3.tar.gz"
version('0.4.3', sha256='d7d7068be5e1b3069575c98c870aaa96dd26603fe8c8697b470e2f65259fddbf')
version('0.2.5', sha256='2e67b20d107b30c00ad814891a095048c35d9d8cb9541801cebe85684cc84766')
diff --git a/var/spack/repos/builtin/packages/py-memory-profiler/package.py b/var/spack/repos/builtin/packages/py-memory-profiler/package.py
index ee3f3ec760..cb942d458b 100644
--- a/var/spack/repos/builtin/packages/py-memory-profiler/package.py
+++ b/var/spack/repos/builtin/packages/py-memory-profiler/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyMemoryProfiler(PythonPackage):
"""A module for monitoring memory usage of a python program"""
homepage = "https://github.com/fabianp/memory_profiler"
- url = "https://pypi.io/packages/source/m/memory_profiler/memory_profiler-0.57.0.tar.gz"
+ pypi = "memory_profiler/memory_profiler-0.57.0.tar.gz"
version('0.57.0', sha256='23b196f91ea9ac9996e30bfab1e82fecc30a4a1d24870e81d1e81625f786a2c3')
version('0.47', sha256='e992f2a341a5332dad1ad4a008eeac7cfe78c7ea4abdf7535a3e7e79093328cb')
diff --git a/var/spack/repos/builtin/packages/py-memprof/package.py b/var/spack/repos/builtin/packages/py-memprof/package.py
new file mode 100644
index 0000000000..fd2eddb798
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-memprof/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyMemprof(PythonPackage):
+ """memprof logs and plots the memory usage of all the
+ variables during the execution of the decorated methods."""
+
+ homepage = "http://jmdana.github.io/memprof/"
+ pypi = "memprof/memprof-0.3.6.tar.gz"
+
+ version('0.3.6', sha256='a8376ce476bf82a5eb465d1a30b8ffc86cc55b0b6de7aa4cdeccb4c99586d967')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-cython', type='build')
+ depends_on('py-argparse', when='^python@:2.6', type=('build', 'run'))
+ depends_on('py-matplotlib', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-mercantile/package.py b/var/spack/repos/builtin/packages/py-mercantile/package.py
new file mode 100644
index 0000000000..dc752b3477
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-mercantile/package.py
@@ -0,0 +1,20 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyMercantile(PythonPackage):
+ """Web mercator XYZ tile utilities."""
+
+ homepage = "https://github.com/mapbox/mercantile"
+ pypi = "mercantile/mercantile-1.1.6.tar.gz"
+
+ maintainers = ['adamjstewart']
+
+ version('1.1.6', sha256='0dff4cbc2c92ceca0e0dfbb3dc74392a96d33cfa29afb1bdfcc80283d3ef4207')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-click@3.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-merlin/package.py b/var/spack/repos/builtin/packages/py-merlin/package.py
index 199c0bcd5f..0d0aef7c8a 100644
--- a/var/spack/repos/builtin/packages/py-merlin/package.py
+++ b/var/spack/repos/builtin/packages/py-merlin/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyMerlin(PythonPackage):
"""Merlin Workflow for HPC."""
homepage = "https://github.com/LLNL/merlin"
- url = "https://pypi.io/packages/source/m/merlin/merlin-1.4.1.tar.gz"
+ pypi = "merlin/merlin-1.4.1.tar.gz"
git = "https://github.com/LLNL/merlin.git"
version('1.7.5', sha256='1994c1770ec7fc9da216f9d0ca8214684dcc0daa5fd55337b96e308b2e68daaa')
@@ -21,9 +21,6 @@ class PyMerlin(PythonPackage):
depends_on('python@3.6:', type=('build', 'run'))
depends_on('py-setuptools', type=('build', 'run'))
-
- depends_on('py-pytest', type='test')
-
depends_on('py-cached-property', type=('build', 'run'))
depends_on('py-celery@5.0.0+redis+sqlalchemy', when="@1.7.5:", type=('build', 'run'))
depends_on('py-celery@4.3.0:4.999+redis+sqlalchemy', when="@:1.7.4", type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-metasv/package.py b/var/spack/repos/builtin/packages/py-metasv/package.py
index f9b81e4209..72b5a31925 100644
--- a/var/spack/repos/builtin/packages/py-metasv/package.py
+++ b/var/spack/repos/builtin/packages/py-metasv/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-methylcode/package.py b/var/spack/repos/builtin/packages/py-methylcode/package.py
index 698588600a..1de785fbc3 100644
--- a/var/spack/repos/builtin/packages/py-methylcode/package.py
+++ b/var/spack/repos/builtin/packages/py-methylcode/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-mg-rast-tools/package.py b/var/spack/repos/builtin/packages/py-mg-rast-tools/package.py
index 80f444c207..a30d0d4738 100644
--- a/var/spack/repos/builtin/packages/py-mg-rast-tools/package.py
+++ b/var/spack/repos/builtin/packages/py-mg-rast-tools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-mido/package.py b/var/spack/repos/builtin/packages/py-mido/package.py
index 695d21623e..7bc86cf73f 100644
--- a/var/spack/repos/builtin/packages/py-mido/package.py
+++ b/var/spack/repos/builtin/packages/py-mido/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-mikado/package.py b/var/spack/repos/builtin/packages/py-mikado/package.py
new file mode 100644
index 0000000000..83a32b846f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-mikado/package.py
@@ -0,0 +1,41 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyMikado(PythonPackage):
+ """Mikado is a lightweight Python3 pipeline whose purpose is to facilitate
+ the identification of expressed loci from RNA-Seq data * and to select
+ the best models in each locus."""
+
+ homepage = "https://github.com/EI-CoreBioinformatics/mikado"
+ pypi = "Mikado/Mikado-1.2.4.tar.gz"
+
+ version('1.2.4', sha256='c0485dba3b7c285599809e058c83f33b5efa9522d20d9f980423410604207f61')
+
+ depends_on('py-wheel@0.28.0:', type='build')
+ depends_on('py-pyyaml', type=('build', 'run'))
+ depends_on('py-jsonschema', type=('build', 'run'))
+ depends_on('py-cython@0.25:', type='build')
+ depends_on('py-numpy', type=('build', 'run'))
+ depends_on('py-networkx@1.10:', type=('build', 'run'))
+ depends_on('py-sqlalchemy@1:', type=('build', 'run'))
+ depends_on('py-sqlalchemy-utils', type=('build', 'run'))
+ depends_on('py-biopython@1.66:', type=('build', 'run'))
+ depends_on('py-intervaltree', type=('build', 'run'))
+ depends_on('py-nose', type=('build', 'run'))
+ depends_on('py-pyfaidx', type=('build', 'run'))
+ depends_on('py-scikit-learn@0.17.0:', type=('build', 'run'))
+ depends_on('py-scipy@0.15.0:', type=('build', 'run'))
+ depends_on('py-python-magic', type=('build', 'run'))
+ depends_on('py-drmaa', type=('build', 'run'))
+ depends_on('snakemake', type=('build', 'run'))
+ depends_on('py-docutils@:0.13.0,0.13.2:', type=('build', 'run'))
+ depends_on('py-tabulate', type=('build', 'run'))
+ depends_on('py-ujson', type=('build', 'run'))
+ depends_on('py-simplejson', type=('build', 'run'))
+ depends_on('python@3.4:', type=('build', 'run'))
+ depends_on('py-typing', when='^python@:3.4', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-minrpc/package.py b/var/spack/repos/builtin/packages/py-minrpc/package.py
index 606c3c987b..5832f976e4 100644
--- a/var/spack/repos/builtin/packages/py-minrpc/package.py
+++ b/var/spack/repos/builtin/packages/py-minrpc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyMinrpc(PythonPackage):
"""Minimalistic RPC utility (only used within cpymad and pytao)."""
homepage = "https://github.com/hibtc/minrpc"
- url = "https://pypi.io/packages/source/m/minrpc/minrpc-0.0.11.tar.gz"
+ pypi = "minrpc/minrpc-0.0.11.tar.gz"
version('0.0.11', sha256='bed53160f2774fdae7bd3d0fb5d1c77d17395394ec28a9e95a5859f486b54893')
diff --git a/var/spack/repos/builtin/packages/py-misopy/package.py b/var/spack/repos/builtin/packages/py-misopy/package.py
index d55896c680..181481aeef 100644
--- a/var/spack/repos/builtin/packages/py-misopy/package.py
+++ b/var/spack/repos/builtin/packages/py-misopy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class PyMisopy(PythonPackage):
across samples."""
homepage = "http://miso.readthedocs.io/en/fastmiso/"
- url = "https://pypi.io/packages/source/m/misopy/misopy-0.5.4.tar.gz"
+ pypi = "misopy/misopy-0.5.4.tar.gz"
version('0.5.4', sha256='377a28b0c254b1920ffdc2d89cf96c3a21cadf1cf148ee6d6ef7a88ada067dfc')
diff --git a/var/spack/repos/builtin/packages/py-mistune/package.py b/var/spack/repos/builtin/packages/py-mistune/package.py
index f500e469d9..eeab123626 100644
--- a/var/spack/repos/builtin/packages/py-mistune/package.py
+++ b/var/spack/repos/builtin/packages/py-mistune/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-mixedhtseq/package.py b/var/spack/repos/builtin/packages/py-mixedhtseq/package.py
index c01348a099..ae74d6cca0 100644
--- a/var/spack/repos/builtin/packages/py-mixedhtseq/package.py
+++ b/var/spack/repos/builtin/packages/py-mixedhtseq/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-mlperf-logging/package.py b/var/spack/repos/builtin/packages/py-mlperf-logging/package.py
index 8511471c37..2db75fac19 100644
--- a/var/spack/repos/builtin/packages/py-mlperf-logging/package.py
+++ b/var/spack/repos/builtin/packages/py-mlperf-logging/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-mlxtend/package.py b/var/spack/repos/builtin/packages/py-mlxtend/package.py
index 3fb1aef151..c2bc8523b4 100644
--- a/var/spack/repos/builtin/packages/py-mlxtend/package.py
+++ b/var/spack/repos/builtin/packages/py-mlxtend/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-mmcv/package.py b/var/spack/repos/builtin/packages/py-mmcv/package.py
index c98d9014fc..d8a5ac91e0 100644
--- a/var/spack/repos/builtin/packages/py-mmcv/package.py
+++ b/var/spack/repos/builtin/packages/py-mmcv/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-mmtf-python/package.py b/var/spack/repos/builtin/packages/py-mmtf-python/package.py
index e86f4b7f8e..2ad6ad5204 100644
--- a/var/spack/repos/builtin/packages/py-mmtf-python/package.py
+++ b/var/spack/repos/builtin/packages/py-mmtf-python/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyMmtfPython(PythonPackage):
biological structures."""
homepage = "https://github.com/rcsb/mmtf-python"
- url = "https://pypi.io/packages/source/m/mmtf-python/mmtf-python-1.1.2.tar.gz"
+ pypi = "mmtf-python/mmtf-python-1.1.2.tar.gz"
version('1.1.2', sha256='a5caa7fcd2c1eaa16638b5b1da2d3276cbd3ed3513f0c2322957912003b6a8df')
diff --git a/var/spack/repos/builtin/packages/py-mo-pack/package.py b/var/spack/repos/builtin/packages/py-mo-pack/package.py
index c880d5d584..dc50292bb9 100644
--- a/var/spack/repos/builtin/packages/py-mo-pack/package.py
+++ b/var/spack/repos/builtin/packages/py-mo-pack/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-mock/package.py b/var/spack/repos/builtin/packages/py-mock/package.py
index 1f35d26020..e5a97fc89e 100644
--- a/var/spack/repos/builtin/packages/py-mock/package.py
+++ b/var/spack/repos/builtin/packages/py-mock/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyMock(PythonPackage):
they have been used."""
homepage = "https://github.com/testing-cabal/mock"
- url = "https://pypi.io/packages/source/m/mock/mock-3.0.5.tar.gz"
+ pypi = "mock/mock-3.0.5.tar.gz"
version('3.0.5', sha256='83657d894c90d5681d62155c82bda9c1187827525880eda8ff5df4ec813437c3')
version('2.0.0', sha256='b158b6df76edd239b8208d481dc46b6afd45a846b7812ff0ce58971cf5bc8bba')
@@ -23,5 +23,3 @@ class PyMock(PythonPackage):
depends_on('py-six@1.7:', type=('build', 'run'))
depends_on('py-six@1.9:', type=('build', 'run'), when='@2.0.0:')
depends_on('py-funcsigs@1:', type=('build', 'run'), when='^python@:3.2')
- depends_on('py-pytest', type='test')
- depends_on('py-pytest-cov', type='test')
diff --git a/var/spack/repos/builtin/packages/py-modred/package.py b/var/spack/repos/builtin/packages/py-modred/package.py
index e4715365c7..cf93181d4d 100644
--- a/var/spack/repos/builtin/packages/py-modred/package.py
+++ b/var/spack/repos/builtin/packages/py-modred/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-moltemplate/package.py b/var/spack/repos/builtin/packages/py-moltemplate/package.py
index ea2fed2e4f..894ba1f5d0 100644
--- a/var/spack/repos/builtin/packages/py-moltemplate/package.py
+++ b/var/spack/repos/builtin/packages/py-moltemplate/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-monotonic/package.py b/var/spack/repos/builtin/packages/py-monotonic/package.py
index fec3f99f96..42736d0b84 100644
--- a/var/spack/repos/builtin/packages/py-monotonic/package.py
+++ b/var/spack/repos/builtin/packages/py-monotonic/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyMonotonic(PythonPackage):
"""An implementation of time.monotonic() for Python 2 & < 3.3"""
- homepage = "https://pypi.python.org/pypi/monotonic"
- url = "https://pypi.io/packages/source/m/monotonic/monotonic-1.2.tar.gz"
+ pypi = "monotonic/monotonic-1.2.tar.gz"
version('1.2', sha256='c0e1ceca563ca6bb30b0fb047ee1002503ae6ad3585fc9c6af37a8f77ec274ba')
diff --git a/var/spack/repos/builtin/packages/py-monty/package.py b/var/spack/repos/builtin/packages/py-monty/package.py
index 8b4d406242..394bfa3779 100644
--- a/var/spack/repos/builtin/packages/py-monty/package.py
+++ b/var/spack/repos/builtin/packages/py-monty/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyMonty(PythonPackage):
"""Monty is the missing complement to Python."""
homepage = "https://github.com/materialsvirtuallab/monty"
- url = "https://pypi.io/packages/source/m/monty/monty-0.9.6.tar.gz"
+ pypi = "monty/monty-0.9.6.tar.gz"
version('0.9.6', sha256='bbf05646c4e86731c2398a57b1044add7487fc4ad03122578599ddd9a8892780')
diff --git a/var/spack/repos/builtin/packages/py-more-itertools/package.py b/var/spack/repos/builtin/packages/py-more-itertools/package.py
index dba18e66b3..d96651f47a 100644
--- a/var/spack/repos/builtin/packages/py-more-itertools/package.py
+++ b/var/spack/repos/builtin/packages/py-more-itertools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,9 +10,7 @@ class PyMoreItertools(PythonPackage):
"""Additions to the standard Python itertools package."""
homepage = "https://github.com/erikrose/more-itertools"
- url = "https://pypi.io/packages/source/m/more-itertools/more-itertools-7.2.0.tar.gz"
-
- import_modules = ['more_itertools', 'more_itertools.tests']
+ pypi = "more-itertools/more-itertools-7.2.0.tar.gz"
version('7.2.0', sha256='409cd48d4db7052af495b09dec721011634af3753ae1ef92d2b32f73a745f832')
version('7.0.0', sha256='c3e4748ba1aad8dba30a4886b0b1a2004f9a863837b8654e7059eebf727afa5a')
diff --git a/var/spack/repos/builtin/packages/py-moviepy/package.py b/var/spack/repos/builtin/packages/py-moviepy/package.py
new file mode 100644
index 0000000000..6be652dd71
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-moviepy/package.py
@@ -0,0 +1,31 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyMoviepy(PythonPackage):
+ """MoviePy is a Python module for video editing, which can
+ be used for basic operations (like cuts, concatenations,
+ title insertions), video compositing (a.k.a. non-linear
+ editing), video processing, or to create advanced effects.
+ It can read and write the most common video formats,
+ including GIF."""
+
+ homepage = "https://zulko.github.io/moviepy/"
+ pypi = "moviepy/moviepy-1.0.3.tar.gz"
+
+ version('1.0.3', sha256='2884e35d1788077db3ff89e763c5ba7bfddbd7ae9108c9bc809e7ba58fa433f5')
+ version('1.0.1', sha256='9d5b0a0e884c0eb92c431baa110e560059720aab15d2ef3e4cba3892c34cf1ed')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-decorator@4.0.2:4.9999', type=('build', 'run'))
+ depends_on('py-imageio@2.5:2.9999', when='^python@3.4:', type=('build', 'run'))
+ depends_on('py-imageio@2.0:2.4.9999', when='^python@:3.3.9999', type=('build', 'run'))
+ depends_on('py-imageio-ffmpeg@0.2.0:', when='^python@3.4:', type=('build', 'run'))
+ depends_on('py-tqdm@4.11.2:4.9999', type=('build', 'run'))
+ depends_on('py-numpy', type=('build', 'run'))
+ depends_on('py-requests@2.8.1:2.99999', type=('build', 'run'))
+ depends_on('py-proglog@:1.0.0', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-mpi4py/package.py b/var/spack/repos/builtin/packages/py-mpi4py/package.py
index f4af51fcfe..154669a671 100644
--- a/var/spack/repos/builtin/packages/py-mpi4py/package.py
+++ b/var/spack/repos/builtin/packages/py-mpi4py/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,8 +12,7 @@ class PyMpi4py(PythonPackage):
MPI-1/MPI-2 specification and exposes an API which grounds on the
standard MPI-2 C++ bindings.
"""
- homepage = "https://pypi.python.org/pypi/mpi4py"
- url = "https://pypi.io/packages/source/m/mpi4py/mpi4py-3.0.3.tar.gz"
+ pypi = "mpi4py/mpi4py-3.0.3.tar.gz"
git = "https://github.com/mpi4py/mpi4py.git"
version('develop', branch='master')
diff --git a/var/spack/repos/builtin/packages/py-mpld3/package.py b/var/spack/repos/builtin/packages/py-mpld3/package.py
index 9b5ba868cf..77a433c2f7 100644
--- a/var/spack/repos/builtin/packages/py-mpld3/package.py
+++ b/var/spack/repos/builtin/packages/py-mpld3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyMpld3(PythonPackage):
to the browser."""
homepage = "http://mpld3.github.com/"
- url = "https://pypi.io/packages/source/m/mpld3/mpld3-0.3.tar.gz"
+ pypi = "mpld3/mpld3-0.3.tar.gz"
version('0.3', sha256='4d455884a211bf99b37ecc760759435c7bb6a5955de47d8daf4967e301878ab7')
diff --git a/var/spack/repos/builtin/packages/py-mpmath/package.py b/var/spack/repos/builtin/packages/py-mpmath/package.py
index c6c4e02646..3e73b5aed8 100644
--- a/var/spack/repos/builtin/packages/py-mpmath/package.py
+++ b/var/spack/repos/builtin/packages/py-mpmath/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ from spack import *
class PyMpmath(PythonPackage):
"""A Python library for arbitrary-precision floating-point arithmetic."""
homepage = "http://mpmath.org"
- url = "https://pypi.io/packages/source/m/mpmath/mpmath-1.0.0.tar.gz"
+ pypi = "mpmath/mpmath-1.0.0.tar.gz"
version('1.1.0', sha256='fc17abe05fbab3382b61a123c398508183406fa132e0223874578e20946499f6')
version('1.0.0', sha256='04d14803b6875fe6d69e6dccea87d5ae5599802e4b1df7997bddd2024001050c')
diff --git a/var/spack/repos/builtin/packages/py-msal-extensions/package.py b/var/spack/repos/builtin/packages/py-msal-extensions/package.py
index 75e6740f35..5c657ddcea 100644
--- a/var/spack/repos/builtin/packages/py-msal-extensions/package.py
+++ b/var/spack/repos/builtin/packages/py-msal-extensions/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyMsalExtensions(PythonPackage):
Microsoft Authentication Library for Python (MSAL)."""
homepage = "https://github.com/AzureAD/microsoft-authentication-library-for-python"
- url = "https://pypi.io/packages/source/m/msal-extensions/msal-extensions-0.2.2.tar.gz"
+ pypi = "msal-extensions/msal-extensions-0.2.2.tar.gz"
version('0.2.2', sha256='31414753c484679bb3b6c6401623eb4c3ccab630af215f2f78c1d5c4f8e1d1a9')
version('0.1.3', sha256='59e171a9a4baacdbf001c66915efeaef372fb424421f1a4397115a3ddd6205dc')
@@ -20,4 +20,3 @@ class PyMsalExtensions(PythonPackage):
depends_on('py-msal@0.4.1:1.999', type=('build', 'run'))
depends_on('py-portalocker@1.0:1.999', type=('build', 'run'))
depends_on('py-pathlib2', when='@0.2:^python@:2', type=('build', 'run'))
- depends_on('py-pytest', type='test')
diff --git a/var/spack/repos/builtin/packages/py-msal/package.py b/var/spack/repos/builtin/packages/py-msal/package.py
index 7b870ed9d0..f71ecfff9c 100644
--- a/var/spack/repos/builtin/packages/py-msal/package.py
+++ b/var/spack/repos/builtin/packages/py-msal/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyMsal(PythonPackage):
Accounts (MSA) using industry standard OAuth2 and OpenID Connect."""
homepage = "https://github.com/AzureAD/microsoft-authentication-library-for-python"
- url = "https://pypi.io/packages/source/m/msal/msal-1.3.0.tar.gz"
+ pypi = "msal/msal-1.3.0.tar.gz"
version('1.3.0', sha256='5442a3a9d006506e653d3c4daff40538bdf067bf07b6b73b32d1b231d5e77a92')
version('1.0.0', sha256='ecbe3f5ac77facad16abf08eb9d8562af3bc7184be5d4d90c9ef4db5bde26340')
diff --git a/var/spack/repos/builtin/packages/py-msgpack-numpy/package.py b/var/spack/repos/builtin/packages/py-msgpack-numpy/package.py
new file mode 100644
index 0000000000..de13608eb2
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-msgpack-numpy/package.py
@@ -0,0 +1,23 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyMsgpackNumpy(PythonPackage):
+ """This package provides encoding and decoding routines
+ that enable the serialization and deserialization of
+ numerical and array data types provided by numpy using the
+ highly efficient msgpack format. Serialization of Python's
+ native complex data types is also supported."""
+
+ homepage = "https://github.com/lebedov/msgpack-numpy"
+ pypi = "msgpack-numpy/msgpack-numpy-0.4.7.1.tar.gz"
+
+ version('0.4.7.1', sha256='7eaf51acf82d7c467d21aa71df94e1c051b2055e54b755442051b474fa7cf5e1')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-numpy@1.9:', type=('build', 'run'))
+ depends_on('py-msgpack@0.5.2:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-msgpack/package.py b/var/spack/repos/builtin/packages/py-msgpack/package.py
index 77442a5421..b556e0d1e3 100644
--- a/var/spack/repos/builtin/packages/py-msgpack/package.py
+++ b/var/spack/repos/builtin/packages/py-msgpack/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyMsgpack(PythonPackage):
"""MessagePack (de)serializer."""
homepage = "https://msgpack.org/"
- url = "https://pypi.io/packages/source/m/msgpack/msgpack-1.0.0.tar.gz"
+ pypi = "msgpack/msgpack-1.0.0.tar.gz"
version('1.0.0', sha256='9534d5cc480d4aff720233411a1f765be90885750b07df772380b34c10ecb5c0')
version('0.6.2', sha256='ea3c2f859346fcd55fc46e96885301d9c2f7a36d453f5d8f2967840efa1e1830')
diff --git a/var/spack/repos/builtin/packages/py-msrest/package.py b/var/spack/repos/builtin/packages/py-msrest/package.py
index f589d152e7..27b6171661 100644
--- a/var/spack/repos/builtin/packages/py-msrest/package.py
+++ b/var/spack/repos/builtin/packages/py-msrest/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyMsrest(PythonPackage):
"""AutoRest swagger generator Python client runtime."""
homepage = "https://github.com/Azure/msrest-for-python"
- url = "https://pypi.io/packages/source/m/msrest/msrest-0.6.16.tar.gz"
+ pypi = "msrest/msrest-0.6.16.tar.gz"
version('0.6.16', sha256='214c5be98954cb45feb6a6a858a7ae6d41a664e80294b65db225bbaa33d9ca3c')
diff --git a/var/spack/repos/builtin/packages/py-msrestazure/package.py b/var/spack/repos/builtin/packages/py-msrestazure/package.py
index 40208cfa67..2ab33f4bf7 100644
--- a/var/spack/repos/builtin/packages/py-msrestazure/package.py
+++ b/var/spack/repos/builtin/packages/py-msrestazure/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ class PyMsrestazure(PythonPackage):
Azure-specific module."""
homepage = "https://github.com/Azure/msrestazure-for-python"
- url = "https://pypi.io/packages/source/m/msrestazure/msrestazure-0.6.3.tar.gz"
+ pypi = "msrestazure/msrestazure-0.6.3.tar.gz"
version('0.6.3', sha256='0ec9db93eeea6a6cf1240624a04f49cd8bbb26b98d84a63a8220cfda858c2a96')
diff --git a/var/spack/repos/builtin/packages/py-multi-key-dict/package.py b/var/spack/repos/builtin/packages/py-multi-key-dict/package.py
index d30777b9ef..37ab4f83fe 100644
--- a/var/spack/repos/builtin/packages/py-multi-key-dict/package.py
+++ b/var/spack/repos/builtin/packages/py-multi-key-dict/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,6 +10,6 @@ class PyMultiKeyDict(PythonPackage):
"""Multi key dictionary implementation"""
homepage = "https://github.com/formiaczek/multi_key_dict"
- url = "https://pypi.io/packages/source/m/multi_key_dict/multi_key_dict-2.0.3.tar.gz"
+ pypi = "multi_key_dict/multi_key_dict-2.0.3.tar.gz"
version('2.0.3', sha256='deebdec17aa30a1c432cb3f437e81f8621e1c0542a0c0617a74f71e232e9939e')
diff --git a/var/spack/repos/builtin/packages/py-multidict/package.py b/var/spack/repos/builtin/packages/py-multidict/package.py
index fe0d0ae627..0ea09e54c3 100644
--- a/var/spack/repos/builtin/packages/py-multidict/package.py
+++ b/var/spack/repos/builtin/packages/py-multidict/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-multipledispatch/package.py b/var/spack/repos/builtin/packages/py-multipledispatch/package.py
new file mode 100644
index 0000000000..939d2c94ef
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-multipledispatch/package.py
@@ -0,0 +1,18 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyMultipledispatch(PythonPackage):
+ """A relatively sane approach to multiple dispatch in Python."""
+
+ homepage = "https://multiple-dispatch.readthedocs.io/"
+ url = "https://github.com/mrocklin/multipledispatch/archive/0.6.0.tar.gz"
+
+ version('0.6.0', sha256='649f6e61b8a6ce581c75f32365c926b55495c01b8177135408b83aa03886cde0')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-six', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-multiprocess/package.py b/var/spack/repos/builtin/packages/py-multiprocess/package.py
index f382ff050f..c4ff2c8487 100644
--- a/var/spack/repos/builtin/packages/py-multiprocess/package.py
+++ b/var/spack/repos/builtin/packages/py-multiprocess/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyMultiprocess(PythonPackage):
"""Better multiprocessing and multithreading in Python"""
homepage = "https://github.com/uqfoundation/multiprocess"
- url = "https://pypi.io/packages/source/m/multiprocess/multiprocess-0.70.5.zip"
+ pypi = "multiprocess/multiprocess-0.70.5.zip"
version('0.70.9', sha256='9fd5bd990132da77e73dec6e9613408602a4612e1d73caf2e2b813d2b61508e5')
version('0.70.7', sha256='3394f1fbd0d87112690a877e49eb7917d851ee8d822294d522dd4deae12febdb')
diff --git a/var/spack/repos/builtin/packages/py-multiqc/package.py b/var/spack/repos/builtin/packages/py-multiqc/package.py
index a1ab08fae8..fb1c620204 100644
--- a/var/spack/repos/builtin/packages/py-multiqc/package.py
+++ b/var/spack/repos/builtin/packages/py-multiqc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyMultiqc(PythonPackage):
for a large number of common bioinformatics tools."""
homepage = "https://multiqc.info"
- url = "https://pypi.io/packages/source/m/multiqc/multiqc-1.0.tar.gz"
+ pypi = "multiqc/multiqc-1.0.tar.gz"
version('1.7', sha256='02e6a7fac7cd9ed036dcc6c92b8f8bcacbd28983ba6be53afb35e08868bd2d68')
version('1.5', sha256='fe0ffd2b0d1067365ba4e54ae8991f2f779c7c684b037549b617020ea883310a')
diff --git a/var/spack/repos/builtin/packages/py-munch/package.py b/var/spack/repos/builtin/packages/py-munch/package.py
index 9360e01efb..8c03a24d48 100644
--- a/var/spack/repos/builtin/packages/py-munch/package.py
+++ b/var/spack/repos/builtin/packages/py-munch/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-murmurhash/package.py b/var/spack/repos/builtin/packages/py-murmurhash/package.py
index 3cb59de262..a21cabd104 100644
--- a/var/spack/repos/builtin/packages/py-murmurhash/package.py
+++ b/var/spack/repos/builtin/packages/py-murmurhash/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyMurmurhash(PythonPackage):
"""Cython bindings for MurmurHash."""
homepage = "https://github.com/explosion/murmurhash"
- url = "https://pypi.io/packages/source/m/murmurhash/murmurhash-1.0.2.tar.gz"
+ pypi = "murmurhash/murmurhash-1.0.2.tar.gz"
version('1.0.2', sha256='c7a646f6b07b033642b4f52ae2e45efd8b80780b3b90e8092a0cec935fbf81e2')
diff --git a/var/spack/repos/builtin/packages/py-mx/package.py b/var/spack/repos/builtin/packages/py-mx/package.py
index 6dfdddc487..8ee8a766ca 100644
--- a/var/spack/repos/builtin/packages/py-mx/package.py
+++ b/var/spack/repos/builtin/packages/py-mx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-myhdl/package.py b/var/spack/repos/builtin/packages/py-myhdl/package.py
index 98056266b8..c5c2b8589e 100644
--- a/var/spack/repos/builtin/packages/py-myhdl/package.py
+++ b/var/spack/repos/builtin/packages/py-myhdl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyMyhdl(PythonPackage):
"""Python as a Hardware Description Language"""
homepage = "http://www.myhdl.org"
- url = "https://pypi.io/packages/source/m/myhdl/myhdl-0.9.0.tar.gz"
+ pypi = "myhdl/myhdl-0.9.0.tar.gz"
version('0.9.0', sha256='52d12a5fe2cda22558806272af3c2b519b6f7095292b8e6c8ad255fb604507a5')
diff --git a/var/spack/repos/builtin/packages/py-mypy-extensions/package.py b/var/spack/repos/builtin/packages/py-mypy-extensions/package.py
index 4a31b6816b..d7b657ede5 100644
--- a/var/spack/repos/builtin/packages/py-mypy-extensions/package.py
+++ b/var/spack/repos/builtin/packages/py-mypy-extensions/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyMypyExtensions(PythonPackage):
mypy typechecker."""
homepage = "https://github.com/python/mypy_extensions"
- url = "https://pypi.io/packages/source/m/mypy-extensions/mypy_extensions-0.4.3.tar.gz"
+ pypi = "mypy-extensions/mypy_extensions-0.4.3.tar.gz"
version('0.4.3', sha256='2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8')
diff --git a/var/spack/repos/builtin/packages/py-mypy/package.py b/var/spack/repos/builtin/packages/py-mypy/package.py
index f822ea567e..bfe8cfe0f2 100644
--- a/var/spack/repos/builtin/packages/py-mypy/package.py
+++ b/var/spack/repos/builtin/packages/py-mypy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,17 +10,13 @@ class PyMypy(PythonPackage):
"""Optional static typing for Python."""
homepage = "http://www.mypy-lang.org/"
- url = "https://pypi.io/packages/source/m/mypy/mypy-0.740.tar.gz"
+ pypi = "mypy/mypy-0.740.tar.gz"
+ version('0.800', sha256='e0202e37756ed09daf4b0ba64ad2c245d357659e014c3f51d8cd0681ba66940a')
version('0.740', sha256='48c8bc99380575deb39f5d3400ebb6a8a1cb5cc669bbba4d3bb30f904e0a0e7d')
depends_on('python@3.5:', type=('build', 'run'))
depends_on('py-setuptools', type=('build', 'run'))
depends_on('py-typed-ast@1.4.0:1.4.999', type=('build', 'run'))
depends_on('py-typing-extensions@3.7.4:', type=('build', 'run'))
- depends_on('py-mypy-extensions@0.4.0:0.4.999', type=('build', 'run'))
- depends_on('py-pytest', type='test')
- depends_on('py-virtualenv', type='test')
- depends_on('py-pip', type='test')
- depends_on('py-lxml', type='test')
- depends_on('googletest', type='test')
+ depends_on('py-mypy-extensions@0.4.3:0.4.999', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-mysql-connector-python/package.py b/var/spack/repos/builtin/packages/py-mysql-connector-python/package.py
index 2ebd16a459..9a51999d80 100644
--- a/var/spack/repos/builtin/packages/py-mysql-connector-python/package.py
+++ b/var/spack/repos/builtin/packages/py-mysql-connector-python/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-mysqlclient/package.py b/var/spack/repos/builtin/packages/py-mysqlclient/package.py
index a1f1d09e13..5af4bf64ca 100644
--- a/var/spack/repos/builtin/packages/py-mysqlclient/package.py
+++ b/var/spack/repos/builtin/packages/py-mysqlclient/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class PyMysqlclient(PythonPackage):
# The documentation is misleading about this.
homepage = "https://github.com/PyMySQL/mysqlclient-python"
- url = "https://pypi.io/packages/source/m/mysqlclient/mysqlclient-1.4.4.tar.gz"
+ pypi = "mysqlclient/mysqlclient-1.4.4.tar.gz"
version('1.4.6', sha256='f3fdaa9a38752a3b214a6fe79d7cae3653731a53e577821f9187e67cbecb2e16')
version('1.4.5', sha256='e80109b0ae8d952b900b31b623181532e5e89376d707dcbeb63f99e69cefe559')
diff --git a/var/spack/repos/builtin/packages/py-mysqldb1/package.py b/var/spack/repos/builtin/packages/py-mysqldb1/package.py
index daa13088f6..0765a663bb 100644
--- a/var/spack/repos/builtin/packages/py-mysqldb1/package.py
+++ b/var/spack/repos/builtin/packages/py-mysqldb1/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-nanotime/package.py b/var/spack/repos/builtin/packages/py-nanotime/package.py
new file mode 100644
index 0000000000..8b206f7ad4
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-nanotime/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+from spack import *
+
+
+class PyNanotime(PythonPackage):
+ """The nanotime module provides a time object that keeps time as the
+ number of nanoseconds since the UNIX epoch. In other words, it is
+ a 64bit UNIX timestamp with nanosecond precision.
+ """
+
+ homepage = "https://github.com/jbenet/nanotime"
+ pypi = "nanotime/nanotime-0.5.2.tar.gz"
+
+ version('0.5.2', sha256='c7cc231fc5f6db401b448d7ab51c96d0a4733f4b69fabe569a576f89ffdf966b')
+
+ depends_on('py-setuptools', type='build')
diff --git a/var/spack/repos/builtin/packages/py-natsort/package.py b/var/spack/repos/builtin/packages/py-natsort/package.py
index 32358db64f..e248cf5bd5 100644
--- a/var/spack/repos/builtin/packages/py-natsort/package.py
+++ b/var/spack/repos/builtin/packages/py-natsort/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ from spack import *
class PyNatsort(PythonPackage):
"""Simple yet flexible natural sorting in Python."""
- homepage = "https://pypi.org/project/natsort/"
+ homepage = "https://github.com/SethMMorton/natsort"
url = "https://github.com/SethMMorton/natsort/archive/5.2.0.zip"
version('5.2.0', sha256='0ae15082842e8a3598750b4bbaa4f7c138caf004e59c7040429d56bf9e9631bd')
diff --git a/var/spack/repos/builtin/packages/py-nbclient/package.py b/var/spack/repos/builtin/packages/py-nbclient/package.py
index e5284508b5..d181f2ae4b 100644
--- a/var/spack/repos/builtin/packages/py-nbclient/package.py
+++ b/var/spack/repos/builtin/packages/py-nbclient/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyNbclient(PythonPackage):
Formally nbconvert's ExecutePreprocessor."""
homepage = "https://jupyter.org/"
- url = "https://pypi.io/packages/source/n/nbclient/nbclient-0.5.0.tar.gz"
+ pypi = "nbclient/nbclient-0.5.0.tar.gz"
version('0.5.0', sha256='8ad52d27ba144fca1402db014857e53c5a864a2f407be66ca9d74c3a56d6591d')
diff --git a/var/spack/repos/builtin/packages/py-nbconvert/package.py b/var/spack/repos/builtin/packages/py-nbconvert/package.py
index 1cb8b009ad..f75cf1d1cb 100644
--- a/var/spack/repos/builtin/packages/py-nbconvert/package.py
+++ b/var/spack/repos/builtin/packages/py-nbconvert/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyNbconvert(PythonPackage):
"""Jupyter Notebook Conversion"""
homepage = "https://github.com/jupyter/nbconvert"
- url = "https://pypi.io/packages/source/n/nbconvert/nbconvert-6.0.1.tar.gz"
+ pypi = "nbconvert/nbconvert-6.0.1.tar.gz"
version('6.0.1', sha256='db94117fbac29153834447e31b30cda337d4450e46e0bdb1a36eafbbf4435156')
version('5.6.0', sha256='427a468ec26e7d68a529b95f578d5cbf018cb4c1f889e897681c2b6d11897695')
@@ -49,3 +49,12 @@ class PyNbconvert(PythonPackage):
# doesn't try to download it.
install(join_path(self.package_dir, 'style.min.css'),
join_path('nbconvert', 'resources', 'style.min.css'))
+
+ def setup_run_environment(self, env):
+ env.prepend_path("JUPYTER_PATH", self.prefix.share.jupyter)
+
+ def setup_dependent_build_environment(self, env, dependent_spec):
+ env.prepend_path("JUPYTER_PATH", self.prefix.share.jupyter)
+
+ def setup_dependent_run_environment(self, env, dependent_spec):
+ env.prepend_path("JUPYTER_PATH", self.prefix.share.jupyter)
diff --git a/var/spack/repos/builtin/packages/py-nbformat/package.py b/var/spack/repos/builtin/packages/py-nbformat/package.py
index d8f93315c3..64b860a072 100644
--- a/var/spack/repos/builtin/packages/py-nbformat/package.py
+++ b/var/spack/repos/builtin/packages/py-nbformat/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyNbformat(PythonPackage):
"""The Jupyter Notebook format"""
homepage = "https://github.com/jupyter/nbformat"
- url = "https://pypi.io/packages/source/n/nbformat/nbformat-5.0.7.tar.gz"
+ pypi = "nbformat/nbformat-5.0.7.tar.gz"
version('5.0.7', sha256='54d4d6354835a936bad7e8182dcd003ca3dc0cedfee5a306090e04854343b340')
version('4.4.0', sha256='f7494ef0df60766b7cabe0a3651556345a963b74dbc16bc7c18479041170d402')
diff --git a/var/spack/repos/builtin/packages/py-nbsphinx/package.py b/var/spack/repos/builtin/packages/py-nbsphinx/package.py
new file mode 100644
index 0000000000..96f08cc062
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-nbsphinx/package.py
@@ -0,0 +1,31 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+from spack import *
+
+
+class PyNbsphinx(PythonPackage):
+ """nbsphinx is a Sphinx extension that provides a source parser for
+ *.ipynb files.
+ """
+
+ # It should be noted that in order to have nbsphinx work,
+ # one must create a Spack view of the dependencies.
+
+ homepage = "https://nbsphinx.readthedocs.io"
+ pypi = "nbsphinx/nbsphinx-0.8.0.tar.gz"
+
+ version('0.8.1', sha256='24d59aa3a1077ba58d9769c64c38fb05b761a1af21c1ac15f6393500cd008ea6')
+ version('0.8.0', sha256='369c16fe93af14c878d61fb3e81d838196fb35b27deade2cd7b95efe1fe56ea0')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-docutils', type=('build', 'run'))
+ depends_on('py-jinja2', type=('build', 'run'))
+ depends_on('py-nbconvert@:5.3,5.5:', type=('build', 'run'))
+ depends_on('py-traitlets', type=('build', 'run'))
+ depends_on('py-nbformat', type=('build', 'run'))
+ depends_on('py-sphinx@1.8:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-nc-time-axis/package.py b/var/spack/repos/builtin/packages/py-nc-time-axis/package.py
index 0703e25af7..2e3a81c80a 100644
--- a/var/spack/repos/builtin/packages/py-nc-time-axis/package.py
+++ b/var/spack/repos/builtin/packages/py-nc-time-axis/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyNcTimeAxis(PythonPackage):
"""cftime support for matplotlib axis."""
homepage = "https://github.com/scitools/nc-time-axis"
- url = "https://pypi.io/packages/source/n/nc-time-axis/nc-time-axis-1.1.0.tar.gz"
+ pypi = "nc-time-axis/nc-time-axis-1.1.0.tar.gz"
version('1.1.0', sha256='ea9d4f7f9e9189c96f7d320235ac6c4be7f63dc5aa256b3ee5d5cca5845e6e26')
diff --git a/var/spack/repos/builtin/packages/py-ndg-httpsclient/package.py b/var/spack/repos/builtin/packages/py-ndg-httpsclient/package.py
index 91a815ce99..168b8ca2b4 100644
--- a/var/spack/repos/builtin/packages/py-ndg-httpsclient/package.py
+++ b/var/spack/repos/builtin/packages/py-ndg-httpsclient/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ class PyNdgHttpsclient(PythonPackage):
PyOpenSSL."""
homepage = "https://github.com/cedadev/ndg_httpsclient/"
- url = "https://pypi.io/packages/source/n/ndg_httpsclient/ndg_httpsclient-0.5.1.tar.gz"
+ pypi = "ndg_httpsclient/ndg_httpsclient-0.5.1.tar.gz"
version('0.5.1', sha256='d72faed0376ab039736c2ba12e30695e2788c4aa569c9c3e3d72131de2592210')
diff --git a/var/spack/repos/builtin/packages/py-neo/package.py b/var/spack/repos/builtin/packages/py-neo/package.py
index 9015a53edf..da76f0ce74 100644
--- a/var/spack/repos/builtin/packages/py-neo/package.py
+++ b/var/spack/repos/builtin/packages/py-neo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyNeo(PythonPackage):
file formats"""
homepage = "http://neuralensemble.org/neo"
- url = "https://pypi.io/packages/source/n/neo/neo-0.4.1.tar.gz"
+ pypi = "neo/neo-0.4.1.tar.gz"
version('0.5.2', sha256='1de436b7d5e72a5b4f1baa68bae5b790624a9ac44b2673811cb0b6ef554d3f8b')
version('0.4.1', sha256='a5a4f3aa31654d52789f679717c9fb622ad4f59b56d227dca490357b9de0a1ce')
diff --git a/var/spack/repos/builtin/packages/py-neobolt/package.py b/var/spack/repos/builtin/packages/py-neobolt/package.py
index 7e19e529fd..fe871734c1 100644
--- a/var/spack/repos/builtin/packages/py-neobolt/package.py
+++ b/var/spack/repos/builtin/packages/py-neobolt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyNeobolt(PythonPackage):
"""Neo4j Bolt connector for Python"""
homepage = "https://github.com/neo4j-drivers/neobolt"
- url = "https://pypi.io/packages/source/n/neobolt/neobolt-1.7.16.tar.gz"
+ pypi = "neobolt/neobolt-1.7.16.tar.gz"
version('1.7.16', sha256='ca4e87679fe3ed39aec23638658e02dbdc6bbc3289a04e826f332e05ab32275d')
diff --git a/var/spack/repos/builtin/packages/py-neotime/package.py b/var/spack/repos/builtin/packages/py-neotime/package.py
index 31769361c1..2a03b0ad45 100644
--- a/var/spack/repos/builtin/packages/py-neotime/package.py
+++ b/var/spack/repos/builtin/packages/py-neotime/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyNeotime(PythonPackage):
"""Nanosecond resolution temporal types"""
homepage = "https://neotime.readthedocs.io/"
- url = "https://pypi.io/packages/source/n/neotime/neotime-1.7.4.tar.gz"
+ pypi = "neotime/neotime-1.7.4.tar.gz"
version('1.7.4', sha256='4e0477ba0f24e004de2fa79a3236de2bd941f20de0b5db8d976c52a86d7363eb')
diff --git a/var/spack/repos/builtin/packages/py-nest-asyncio/package.py b/var/spack/repos/builtin/packages/py-nest-asyncio/package.py
index 5ffcde84d9..74a8fc7fe3 100644
--- a/var/spack/repos/builtin/packages/py-nest-asyncio/package.py
+++ b/var/spack/repos/builtin/packages/py-nest-asyncio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyNestAsyncio(PythonPackage):
"""Patch asyncio to allow nested event loops."""
homepage = "https://github.com/erdewit/nest_asyncio"
- url = "https://pypi.io/packages/source/n/nest-asyncio/nest_asyncio-1.4.0.tar.gz"
+ pypi = "nest-asyncio/nest_asyncio-1.4.0.tar.gz"
version('1.4.0', sha256='5773054bbc14579b000236f85bc01ecced7ffd045ec8ca4a9809371ec65a59c8')
diff --git a/var/spack/repos/builtin/packages/py-nestle/package.py b/var/spack/repos/builtin/packages/py-nestle/package.py
index 941e5b0234..66a5045385 100644
--- a/var/spack/repos/builtin/packages/py-nestle/package.py
+++ b/var/spack/repos/builtin/packages/py-nestle/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyNestle(PythonPackage):
"""Nested sampling algorithms for evaluating Bayesian evidence."""
homepage = "http://kbarbary.github.io/nestle/"
- url = "https://pypi.io/packages/source/n/nestle/nestle-0.1.1.tar.gz"
+ pypi = "nestle/nestle-0.1.1.tar.gz"
version('0.1.1', sha256='d236a04f25494af5cda572eecf62729592b3231fbd874b1f72aff54718a3bb08')
diff --git a/var/spack/repos/builtin/packages/py-netcdf4/package.py b/var/spack/repos/builtin/packages/py-netcdf4/package.py
index 93fa8641cc..81a7f538de 100644
--- a/var/spack/repos/builtin/packages/py-netcdf4/package.py
+++ b/var/spack/repos/builtin/packages/py-netcdf4/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyNetcdf4(PythonPackage):
"""Python interface to the netCDF Library."""
homepage = "https://github.com/Unidata/netcdf4-python"
- url = "https://pypi.io/packages/source/n/netCDF4/netCDF4-1.2.7.tar.gz"
+ pypi = "netCDF4/netCDF4-1.2.7.tar.gz"
maintainers = ['skosukhin']
diff --git a/var/spack/repos/builtin/packages/py-netifaces/package.py b/var/spack/repos/builtin/packages/py-netifaces/package.py
index 08d8200904..a0f20b295f 100644
--- a/var/spack/repos/builtin/packages/py-netifaces/package.py
+++ b/var/spack/repos/builtin/packages/py-netifaces/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyNetifaces(PythonPackage):
"""Portable network interface information"""
homepage = "https://bitbucket.org/al45tair/netifaces"
- url = "https://pypi.io/packages/source/n/netifaces/netifaces-0.10.5.tar.gz"
+ pypi = "netifaces/netifaces-0.10.5.tar.gz"
version('0.10.5', sha256='59d8ad52dd3116fcb6635e175751b250dc783fb011adba539558bd764e5d628b')
diff --git a/var/spack/repos/builtin/packages/py-netket/package.py b/var/spack/repos/builtin/packages/py-netket/package.py
index d8950057a4..e9ece8d7de 100644
--- a/var/spack/repos/builtin/packages/py-netket/package.py
+++ b/var/spack/repos/builtin/packages/py-netket/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-networkit/package.py b/var/spack/repos/builtin/packages/py-networkit/package.py
index 3fabec5089..568406c674 100644
--- a/var/spack/repos/builtin/packages/py-networkit/package.py
+++ b/var/spack/repos/builtin/packages/py-networkit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,14 +18,18 @@ class PyNetworkit(PythonPackage):
parallelism and scalability."""
homepage = "https://networkit.github.io/"
- url = "https://pypi.io/packages/source/n/networkit/networkit-6.1.tar.gz"
+ pypi = "networkit/networkit-6.1.tar.gz"
+ maintainers = ['fabratu']
+
+ version('8.0', sha256='36c30e894e835bf93f0aa0fb0b526758234e74318150820911e024ffe5ec1fd2')
version('7.1', sha256='8609dc7a574a8a82d8880b8b1e3dfdd9c59ad67cd02135628e675c482fe98a96')
version('7.0', sha256='eea4b5e565d6990b674e1c7f4d598be9377d57b61d0d82883ecc39edabaf3631')
version('6.1', sha256='f7fcb50dec66a8253f85c10ff9314100de013c7578d531c81d3f71bc6cf8f093')
# Required dependencies
depends_on('cmake', type='build')
+ depends_on('libnetworkit@8.0', type=('build', 'link'), when='@8.0')
depends_on('libnetworkit@7.1', type=('build', 'link'), when='@7.1')
depends_on('libnetworkit@7.0', type=('build', 'link'), when='@7.0')
depends_on('libnetworkit@6.1', type=('build', 'link'), when='@6.1')
@@ -35,6 +39,7 @@ class PyNetworkit(PythonPackage):
depends_on('py-numpy', type=('build', 'run'))
depends_on('py-scipy', type=('build', 'run'))
depends_on('py-setuptools', type='build')
+ depends_on('python@3:', type=('build', 'run'))
phases = ['build_ext', 'install']
diff --git a/var/spack/repos/builtin/packages/py-networkx/package.py b/var/spack/repos/builtin/packages/py-networkx/package.py
index 04f82dac03..05a1072c0b 100644
--- a/var/spack/repos/builtin/packages/py-networkx/package.py
+++ b/var/spack/repos/builtin/packages/py-networkx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyNetworkx(PythonPackage):
of the structure, dynamics, and functions of complex networks."""
homepage = "http://networkx.github.io/"
- url = "https://pypi.io/packages/source/n/networkx/networkx-2.4.tar.gz"
+ pypi = "networkx/networkx-2.4.tar.gz"
version('2.4', sha256='f8f4ff0b6f96e4f9b16af6b84622597b5334bf9cae8cf9b2e42e7985d5c95c64')
version('2.3', sha256='8311ddef63cf5c5c5e7c1d0212dd141d9a1fe3f474915281b73597ed5f1d4e3d')
diff --git a/var/spack/repos/builtin/packages/py-nltk/package.py b/var/spack/repos/builtin/packages/py-nltk/package.py
index a19244e5fc..b6835a8edf 100644
--- a/var/spack/repos/builtin/packages/py-nltk/package.py
+++ b/var/spack/repos/builtin/packages/py-nltk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ class PyNltk(PythonPackage):
natural language processing."""
homepage = "https://www.nltk.org/"
- url = "https://pypi.io/packages/source/n/nltk/nltk-3.5.zip"
+ pypi = "nltk/nltk-3.5.zip"
version('3.5', sha256='845365449cd8c5f9731f7cb9f8bd6fd0767553b9d53af9eb1b3abf7700936b35')
diff --git a/var/spack/repos/builtin/packages/py-nodeenv/package.py b/var/spack/repos/builtin/packages/py-nodeenv/package.py
index 03120dd227..80c974dd20 100644
--- a/var/spack/repos/builtin/packages/py-nodeenv/package.py
+++ b/var/spack/repos/builtin/packages/py-nodeenv/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyNodeenv(PythonPackage):
"""Node.js virtual environment"""
homepage = "https://github.com/ekalinin/nodeenv"
- url = "https://pypi.io/packages/source/n/nodeenv/nodeenv-1.3.3.tar.gz"
+ pypi = "nodeenv/nodeenv-1.3.3.tar.gz"
version('1.3.3', sha256='ad8259494cf1c9034539f6cced78a1da4840a4b157e23640bc4a0c0546b0cb7a')
diff --git a/var/spack/repos/builtin/packages/py-nose-cov/package.py b/var/spack/repos/builtin/packages/py-nose-cov/package.py
index 88431ff9e5..b2abbd0002 100644
--- a/var/spack/repos/builtin/packages/py-nose-cov/package.py
+++ b/var/spack/repos/builtin/packages/py-nose-cov/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyNoseCov(PythonPackage):
"""This plugin produces coverage reports."""
homepage = "http://bitbucket.org/memedough/nose-cov/overview"
- url = "https://pypi.io/packages/source/n/nose-cov/nose-cov-1.6.tar.gz"
+ pypi = "nose-cov/nose-cov-1.6.tar.gz"
version('1.6', sha256='8bec0335598f1cc69e3262cc50d7678c1a6010fa44625ce343c4ec1500774412')
diff --git a/var/spack/repos/builtin/packages/py-nose/package.py b/var/spack/repos/builtin/packages/py-nose/package.py
index fcafc521c7..542931d39c 100644
--- a/var/spack/repos/builtin/packages/py-nose/package.py
+++ b/var/spack/repos/builtin/packages/py-nose/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,12 +10,7 @@ class PyNose(PythonPackage):
"""nose extends the test loading and running features of unittest,
making it easier to write, find and run tests."""
- homepage = "https://pypi.python.org/pypi/nose"
- url = "https://pypi.io/packages/source/n/nose/nose-1.3.4.tar.gz"
-
- import_modules = [
- 'nose', 'nose.ext', 'nose.plugins', 'nose.sphinx', 'nose.tools'
- ]
+ pypi = "nose/nose-1.3.4.tar.gz"
version('1.3.7', sha256='f1bffef9cbc82628f6e7d7b40d7e255aefaa1adb6a1b1d26c69a8b79e6208a98')
version('1.3.6', sha256='f61e0909a743eed37b1207e38a8e7b4a2fe0a82185e36f2be252ef1b3f901758')
diff --git a/var/spack/repos/builtin/packages/py-nose2/package.py b/var/spack/repos/builtin/packages/py-nose2/package.py
index 510fbd8850..287bfee0de 100644
--- a/var/spack/repos/builtin/packages/py-nose2/package.py
+++ b/var/spack/repos/builtin/packages/py-nose2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyNose2(PythonPackage):
"""unittest2 with plugins, the succesor to nose"""
homepage = "https://github.com/nose-devs/nose2"
- url = "https://pypi.io/packages/source/n/nose2/nose2-0.9.1.tar.gz"
+ pypi = "nose2/nose2-0.9.1.tar.gz"
version('0.9.1', sha256='0ede156fd7974fa40893edeca0b709f402c0ccacd7b81b22e76f73c116d1b999')
version('0.6.0', sha256='daa633e92a52e0db60ade7e105a2ba5cad7ac819f3608740dcfc6140b9fd0a94')
diff --git a/var/spack/repos/builtin/packages/py-nosexcover/package.py b/var/spack/repos/builtin/packages/py-nosexcover/package.py
index c92b5f9d77..df6e91579f 100644
--- a/var/spack/repos/builtin/packages/py-nosexcover/package.py
+++ b/var/spack/repos/builtin/packages/py-nosexcover/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyNosexcover(PythonPackage):
out an XML coverage report to a file named coverage.xml."""
homepage = "https://github.com/cmheisel/nose-xcover"
- url = "https://pypi.io/packages/source/n/nosexcover/nosexcover-1.0.11.tar.gz"
+ pypi = "nosexcover/nosexcover-1.0.11.tar.gz"
version('1.0.11', sha256='298c3c655da587f6cab8a666e9f4b150320032431062dea91353988d45c8b883')
diff --git a/var/spack/repos/builtin/packages/py-notebook/package.py b/var/spack/repos/builtin/packages/py-notebook/package.py
index aa9b8799c0..92ff735e73 100644
--- a/var/spack/repos/builtin/packages/py-notebook/package.py
+++ b/var/spack/repos/builtin/packages/py-notebook/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyNotebook(PythonPackage):
"""Jupyter Interactive Notebook"""
homepage = "https://github.com/jupyter/notebook"
- url = "https://pypi.io/packages/source/n/notebook/notebook-6.1.4.tar.gz"
+ pypi = "notebook/notebook-6.1.4.tar.gz"
version('6.1.4', sha256='687d01f963ea20360c0b904ee7a37c3d8cda553858c8d6e33fd0afd13e89de32')
version('6.0.3', sha256='47a9092975c9e7965ada00b9a20f0cf637d001db60d241d479f53c0be117ad48')
diff --git a/var/spack/repos/builtin/packages/py-numba/package.py b/var/spack/repos/builtin/packages/py-numba/package.py
index a108341740..83347b7983 100644
--- a/var/spack/repos/builtin/packages/py-numba/package.py
+++ b/var/spack/repos/builtin/packages/py-numba/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,9 @@ class PyNumba(PythonPackage):
"""NumPy aware dynamic Python compiler using LLVM"""
homepage = "https://numba.pydata.org/"
- url = "https://pypi.io/packages/source/n/numba/numba-0.35.0.tar.gz"
+ pypi = "numba/numba-0.35.0.tar.gz"
+ version('0.51.1', sha256='1e765b1a41535684bf3b0465c1d0a24dcbbff6af325270c8f4dad924c0940160')
version('0.50.1', sha256='89e81b51b880f9b18c82b7095beaccc6856fcf84ba29c4f0ced42e4e5748a3a7')
version('0.48.0', sha256='9d21bc77e67006b5723052840c88cc59248e079a907cc68f1a1a264e1eaba017')
version('0.40.1', sha256='52d046c13bcf0de79dbfb936874b7228f141b9b8e3447cc35855e9ad3e12aa33')
@@ -28,10 +29,11 @@ class PyNumba(PythonPackage):
# That's why it was chosen as an upper bound in the following depends_on
# calls. If newer versions maintain backwards compatibility, the calls
# can be updated accordingly.
- depends_on('py-llvmlite@0.33:0.34', type=('build', 'run'), when='@0.50.1')
- depends_on('py-llvmlite@0.31.0:0.32.0', type=('build', 'run'), when='@0.48.0')
- depends_on('py-llvmlite@0.25:', type=('build', 'run'), when='@0.40.1:')
- depends_on('py-llvmlite@0.20:0.25', type=('build', 'run'), when='@0.35.1')
+ depends_on('py-llvmlite@0.34.0:0.34.999', type=('build', 'run'), when='@0.51.1')
+ depends_on('py-llvmlite@0.33.0:0.33.999', type=('build', 'run'), when='@0.50.1')
+ depends_on('py-llvmlite@0.31.0:0.31.999', type=('build', 'run'), when='@0.48.0')
+ depends_on('py-llvmlite@0.25.0:', type=('build', 'run'), when='@0.40.1')
+ depends_on('py-llvmlite@0.20:0.25', type=('build', 'run'), when='@0.35.1')
depends_on('py-argparse', type=('build', 'run'), when='^python@:2.6')
depends_on('py-funcsigs', type=('build', 'run'), when='^python@:3.3.99')
diff --git a/var/spack/repos/builtin/packages/py-numcodecs/package.py b/var/spack/repos/builtin/packages/py-numcodecs/package.py
index 2fd992447e..ccd7c9ceb2 100644
--- a/var/spack/repos/builtin/packages/py-numcodecs/package.py
+++ b/var/spack/repos/builtin/packages/py-numcodecs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class PyNumcodecs(PythonPackage):
"""
homepage = "https://github.com/zarr-developers/numcodecs"
- url = "https://pypi.io/packages/source/n/numcodecs/numcodecs-0.6.4.tar.gz"
+ pypi = "numcodecs/numcodecs-0.6.4.tar.gz"
version('0.6.4', sha256='ef4843d5db4d074e607e9b85156835c10d006afc10e175bda62ff5412fca6e4d')
diff --git a/var/spack/repos/builtin/packages/py-numexpr/package.py b/var/spack/repos/builtin/packages/py-numexpr/package.py
index 21fd4bf81a..5c824f3774 100644
--- a/var/spack/repos/builtin/packages/py-numexpr/package.py
+++ b/var/spack/repos/builtin/packages/py-numexpr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,9 +8,11 @@ from spack import *
class PyNumexpr(PythonPackage):
"""Fast numerical expression evaluator for NumPy"""
- homepage = "https://pypi.python.org/pypi/numexpr"
+
+ homepage = "https://github.com/pydata/numexpr"
url = "https://github.com/pydata/numexpr/archive/v2.7.0.tar.gz"
+ version('2.7.2', sha256='7d1b3790103221feda07f4a93a4fa5c6654f46865197a677ca6f27eb5cb4e5ef')
version('2.7.0', sha256='1923f038b90cc69635871968ed742be7775c879451c612f173c2547c823c9561')
version('2.6.9', sha256='d57267bbdf10906f5ed7841b3484bec4af0494102b50e89ba316924cc7a7fd46')
version('2.6.5', sha256='fe78a78e002806e87e012b6105f3b3d52d47fc7a72bafb56341fcec7ce02cfd7')
diff --git a/var/spack/repos/builtin/packages/py-numexpr3/package.py b/var/spack/repos/builtin/packages/py-numexpr3/package.py
index f58baaf3f9..991f24a245 100644
--- a/var/spack/repos/builtin/packages/py-numexpr3/package.py
+++ b/var/spack/repos/builtin/packages/py-numexpr3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,7 +18,7 @@ class PyNumexpr3(PythonPackage):
SSE2 or AVX2, if your processor supports them. Use of a newer version of
gcc such as 5.4 is strongly recommended."""
homepage = "https://github.com/pydata/numexpr/tree/numexpr-3.0"
- url = "https://pypi.io/packages/source/n/numexpr3/numexpr3-3.0.1a1.tar.gz"
+ pypi = "numexpr3/numexpr3-3.0.1a1.tar.gz"
version('3.0.1a1', sha256='de06f1b4206704b5bc19ea09b5c94350b97c211c26bc866f275252a8461b87e6')
# TODO: Add CMake build system for better control of passing flags related
diff --git a/var/spack/repos/builtin/packages/py-numpy/add_fj_compiler.patch b/var/spack/repos/builtin/packages/py-numpy/add_fj_compiler.patch
index 75ae8cb93a..50df963581 100644
--- a/var/spack/repos/builtin/packages/py-numpy/add_fj_compiler.patch
+++ b/var/spack/repos/builtin/packages/py-numpy/add_fj_compiler.patch
@@ -1,13 +1,13 @@
-diff -urN numpy-1.19.4.org/numpy/distutils/fcompiler/fj.py numpy-1.19.4/numpy/distutils/fcompiler/fj.py
---- numpy-1.19.4.org/numpy/distutils/fcompiler/fj.py 1970-01-01 09:00:00.000000000 +0900
-+++ numpy-1.19.4/numpy/distutils/fcompiler/fj.py 2020-11-10 17:21:43.324928283 +0900
-@@ -0,0 +1,38 @@
+diff -urN numpy-1.19.4.org/numpy/distutils/fcompiler/fujitsu.py numpy-1.19.4/numpy/distutils/fcompiler/fujitsu.py
+--- numpy-1.19.4.org/numpy/distutils/fcompiler/fujitsu.py 1970-01-01 09:00:00.000000000 +0900
++++ numpy-1.19.4/numpy/distutils/fcompiler/fujitsu.py 2020-11-10 17:21:43.324928283 +0900
+@@ -0,0 +1,40 @@
+from numpy.distutils.fcompiler import FCompiler
+
-+compilers = ['FJFCompiler']
++compilers = ['FujitsuFCompiler']
+
-+class FJFCompiler(FCompiler):
-+ compiler_type = 'fj'
++class FujitsuFCompiler(FCompiler):
++ compiler_type = 'fujitsu'
+ description = 'Fujitsu Fortran Compiler'
+
+ possible_executables = ['frt']
@@ -34,12 +34,14 @@ diff -urN numpy-1.19.4.org/numpy/distutils/fcompiler/fj.py numpy-1.19.4/numpy/di
+ return ['-g']
+ def runtime_library_dir_option(self, dir):
+ return f'-Wl,-rpath={dir}'
++ def get_libraries(self):
++ return ['fj90f', 'fj90i', 'fjsrcinfo']
+
+if __name__ == '__main__':
+ from distutils import log
+ from numpy.distutils import customized_fcompiler
+ log.set_verbosity(2)
-+ print(customized_fcompiler('fj').get_version())
++ print(customized_fcompiler('fujitsu').get_version())
diff -urN numpy-1.19.4.org/numpy/distutils/fcompiler/__init__.py numpy-1.19.4/numpy/distutils/fcompiler/__init__.py
--- numpy-1.19.4.org/numpy/distutils/fcompiler/__init__.py 2020-11-09 10:51:35.693490207 +0900
+++ numpy-1.19.4/numpy/distutils/fcompiler/__init__.py 2020-11-16 17:48:49.316744476 +0900
@@ -48,7 +50,7 @@ diff -urN numpy-1.19.4.org/numpy/distutils/fcompiler/__init__.py numpy-1.19.4/nu
('cygwin.*', ('gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95')),
('linux.*', ('gnu95', 'intel', 'lahey', 'pg', 'nv', 'absoft', 'nag', 'vast', 'compaq',
- 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor')),
-+ 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor', 'fj')),
++ 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor', 'fujitsu')),
('darwin.*', ('gnu95', 'nag', 'absoft', 'ibm', 'intel', 'gnu', 'g95', 'pg')),
('sunos.*', ('sun', 'gnu', 'gnu95', 'g95')),
('irix.*', ('mips', 'gnu', 'gnu95',)),
diff --git a/var/spack/repos/builtin/packages/py-numpy/add_fj_compiler2.patch b/var/spack/repos/builtin/packages/py-numpy/add_fj_compiler2.patch
index 6e605cb137..4526ddeadb 100644
--- a/var/spack/repos/builtin/packages/py-numpy/add_fj_compiler2.patch
+++ b/var/spack/repos/builtin/packages/py-numpy/add_fj_compiler2.patch
@@ -1,13 +1,13 @@
-diff -urN spack-src.org/numpy/distutils/fcompiler/fj.py spack-src/numpy/distutils/fcompiler/fj.py
---- spack-src.org/numpy/distutils/fcompiler/fj.py 1970-01-01 09:00:00.000000000 +0900
-+++ spack-src/numpy/distutils/fcompiler/fj.py 2020-11-16 17:55:57.608802456 +0900
-@@ -0,0 +1,38 @@
+diff -urN spack-src.org/numpy/distutils/fcompiler/fujitsu.py spack-src/numpy/distutils/fcompiler/fujitsu.py
+--- spack-src.org/numpy/distutils/fcompiler/fujitsu.py 1970-01-01 09:00:00.000000000 +0900
++++ spack-src/numpy/distutils/fcompiler/fujitsu.py 2020-11-16 17:55:57.608802456 +0900
+@@ -0,0 +1,40 @@
+from numpy.distutils.fcompiler import FCompiler
+
-+compilers = ['FJFCompiler']
++compilers = ['FujitsuFCompiler']
+
-+class FJFCompiler(FCompiler):
-+ compiler_type = 'fj'
++class FujitsuFCompiler(FCompiler):
++ compiler_type = 'fujitsu'
+ description = 'Fujitsu Fortran Compiler'
+
+ possible_executables = ['frt']
@@ -34,12 +34,14 @@ diff -urN spack-src.org/numpy/distutils/fcompiler/fj.py spack-src/numpy/distutil
+ return ['-g']
+ def runtime_library_dir_option(self, dir):
+ return f'-Wl,-rpath={dir}'
++ def get_libraries(self):
++ return ['fj90f', 'fj90i', 'fjsrcinfo']
+
+if __name__ == '__main__':
+ from distutils import log
+ from numpy.distutils import customized_fcompiler
+ log.set_verbosity(2)
-+ print(customized_fcompiler('fj').get_version())
++ print(customized_fcompiler('fujitsu').get_version())
diff -urN spack-src.org/numpy/distutils/fcompiler/__init__.py spack-src/numpy/distutils/fcompiler/__init__.py
--- spack-src.org/numpy/distutils/fcompiler/__init__.py 2020-11-16 17:55:31.638677631 +0900
+++ spack-src/numpy/distutils/fcompiler/__init__.py 2020-11-16 17:56:29.978957954 +0900
@@ -48,7 +50,7 @@ diff -urN spack-src.org/numpy/distutils/fcompiler/__init__.py spack-src/numpy/di
('cygwin.*', ('gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95')),
('linux.*', ('gnu95', 'intel', 'lahey', 'pg', 'absoft', 'nag', 'vast', 'compaq',
- 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor')),
-+ 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor', 'fj')),
++ 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor', 'fujitsu')),
('darwin.*', ('gnu95', 'nag', 'absoft', 'ibm', 'intel', 'gnu', 'g95', 'pg')),
('sunos.*', ('sun', 'gnu', 'gnu95', 'g95')),
('irix.*', ('mips', 'gnu', 'gnu95',)),
diff --git a/var/spack/repos/builtin/packages/py-numpy/add_fj_compiler3.patch b/var/spack/repos/builtin/packages/py-numpy/add_fj_compiler3.patch
index 710720b5c5..034cac069b 100644
--- a/var/spack/repos/builtin/packages/py-numpy/add_fj_compiler3.patch
+++ b/var/spack/repos/builtin/packages/py-numpy/add_fj_compiler3.patch
@@ -1,13 +1,13 @@
-diff -urN spack-src.org/numpy/distutils/fcompiler/fj.py spack-src/numpy/distutils/fcompiler/fj.py
---- spack-src.org/numpy/distutils/fcompiler/fj.py 1970-01-01 09:00:00.000000000 +0900
-+++ spack-src/numpy/distutils/fcompiler/fj.py 2020-11-16 18:30:06.698641953 +0900
-@@ -0,0 +1,38 @@
+diff -urN spack-src.org/numpy/distutils/fcompiler/fujitsu.py spack-src/numpy/distutils/fcompiler/fujitsu.py
+--- spack-src.org/numpy/distutils/fcompiler/fujitsu.py 1970-01-01 09:00:00.000000000 +0900
++++ spack-src/numpy/distutils/fcompiler/fujitsu.py 2020-11-16 18:30:06.698641953 +0900
+@@ -0,0 +1,40 @@
+from numpy.distutils.fcompiler import FCompiler
+
-+compilers = ['FJFCompiler']
++compilers = ['FujitsuFCompiler']
+
-+class FJFCompiler(FCompiler):
-+ compiler_type = 'fj'
++class FujitsuFCompiler(FCompiler):
++ compiler_type = 'fujitsu'
+ description = 'Fujitsu Fortran Compiler'
+
+ possible_executables = ['frt']
@@ -34,12 +34,14 @@ diff -urN spack-src.org/numpy/distutils/fcompiler/fj.py spack-src/numpy/distutil
+ return ['-g']
+ def runtime_library_dir_option(self, dir):
+ return '-Wl,-rpath=%s' %dir
++ def get_libraries(self):
++ return ['fj90f', 'fj90i', 'fjsrcinfo']
+
+if __name__ == '__main__':
+ from distutils import log
+ from numpy.distutils import customized_fcompiler
+ log.set_verbosity(2)
-+ print(customized_fcompiler('fj').get_version())
++ print(customized_fcompiler('fujitsu').get_version())
diff -urN spack-src.org/numpy/distutils/fcompiler/__init__.py spack-src/numpy/distutils/fcompiler/__init__.py
--- spack-src.org/numpy/distutils/fcompiler/__init__.py 2020-11-16 18:25:26.087294181 +0900
+++ spack-src/numpy/distutils/fcompiler/__init__.py 2020-11-16 18:26:19.987553070 +0900
@@ -48,7 +50,7 @@ diff -urN spack-src.org/numpy/distutils/fcompiler/__init__.py spack-src/numpy/di
('cygwin.*', ('gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95')),
('linux.*', ('gnu95', 'intel', 'lahey', 'pg', 'absoft', 'nag', 'vast', 'compaq',
- 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor')),
-+ 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor', 'fj')),
++ 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor', 'fujitsu')),
('darwin.*', ('gnu95', 'nag', 'absoft', 'ibm', 'intel', 'gnu', 'g95', 'pg')),
('sunos.*', ('sun', 'gnu', 'gnu95', 'g95')),
('irix.*', ('mips', 'gnu', 'gnu95',)),
diff --git a/var/spack/repos/builtin/packages/py-numpy/add_fj_compiler4.patch b/var/spack/repos/builtin/packages/py-numpy/add_fj_compiler4.patch
index 9b8d56c8d5..83f2be5d82 100644
--- a/var/spack/repos/builtin/packages/py-numpy/add_fj_compiler4.patch
+++ b/var/spack/repos/builtin/packages/py-numpy/add_fj_compiler4.patch
@@ -1,13 +1,13 @@
-diff -urN spack-src.org/numpy/distutils/fcompiler/fj.py spack-src/numpy/distutils/fcompiler/fj.py
---- spack-src.org/numpy/distutils/fcompiler/fj.py 1970-01-01 09:00:00.000000000 +0900
-+++ spack-src/numpy/distutils/fcompiler/fj.py 2020-11-16 18:42:47.672297372 +0900
-@@ -0,0 +1,38 @@
+diff -urN spack-src.org/numpy/distutils/fcompiler/fujitsu.py spack-src/numpy/distutils/fcompiler/fujitsu.py
+--- spack-src.org/numpy/distutils/fcompiler/fujitsu.py 1970-01-01 09:00:00.000000000 +0900
++++ spack-src/numpy/distutils/fcompiler/fujitsu.py 2020-11-16 18:42:47.672297372 +0900
+@@ -0,0 +1,40 @@
+from numpy.distutils.fcompiler import FCompiler
+
-+compilers = ['FJFCompiler']
++compilers = ['FujitsuFCompiler']
+
-+class FJFCompiler(FCompiler):
-+ compiler_type = 'fj'
++class FujitsuFCompiler(FCompiler):
++ compiler_type = 'fujitsu'
+ description = 'Fujitsu Fortran Compiler'
+
+ possible_executables = ['frt']
@@ -34,12 +34,14 @@ diff -urN spack-src.org/numpy/distutils/fcompiler/fj.py spack-src/numpy/distutil
+ return ['-g']
+ def runtime_library_dir_option(self, dir):
+ return '-Wl,-rpath=%s' %dir
++ def get_libraries(self):
++ return ['fj90f', 'fj90i', 'fjsrcinfo']
+
+if __name__ == '__main__':
+ from distutils import log
+ from numpy.distutils import customized_fcompiler
+ log.set_verbosity(2)
-+ print(customized_fcompiler('fj').get_version())
++ print(customized_fcompiler('fujitsu').get_version())
diff -urN spack-src.org/numpy/distutils/fcompiler/__init__.py spack-src/numpy/distutils/fcompiler/__init__.py
--- spack-src.org/numpy/distutils/fcompiler/__init__.py 2020-11-16 18:43:18.112443626 +0900
+++ spack-src/numpy/distutils/fcompiler/__init__.py 2020-11-16 18:44:54.062904636 +0900
@@ -48,7 +50,7 @@ diff -urN spack-src.org/numpy/distutils/fcompiler/__init__.py spack-src/numpy/di
('cygwin.*', ('gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95')),
('linux.*', ('gnu95', 'intel', 'lahey', 'pg', 'absoft', 'nag', 'vast', 'compaq',
- 'intele', 'intelem', 'gnu', 'g95', 'pathf95')),
-+ 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'fj')),
++ 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'fujitsu')),
('darwin.*', ('gnu95', 'nag', 'absoft', 'ibm', 'intel', 'gnu', 'g95', 'pg')),
('sunos.*', ('sun', 'gnu', 'gnu95', 'g95')),
('irix.*', ('mips', 'gnu', 'gnu95',)),
diff --git a/var/spack/repos/builtin/packages/py-numpy/check_executables.patch b/var/spack/repos/builtin/packages/py-numpy/check_executables.patch
new file mode 100644
index 0000000000..ee4ac1b45e
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-numpy/check_executables.patch
@@ -0,0 +1,16 @@
+--- numpy-1.20.0/numpy/distutils/fcompiler/__init__.py.org 2021-02-04 17:38:42.000000000 +0900
++++ numpy-1.20.0/numpy/distutils/fcompiler/__init__.py 2021-02-04 18:29:21.000000000 +0900
+@@ -314,7 +314,12 @@
+ if not exe_from_environ:
+ possibles = [f90, f77] + self.possible_executables
+ else:
+- possibles = [exe_from_environ] + self.possible_executables
++ matching_executables = []
++ for e in exe_from_environ:
++ for p in self.possible_executables:
++ if p in e:
++ matching_executables.append(e)
++ possibles = [matching_executables] + self.possible_executables
+
+ seen = set()
+ unique_possibles = []
diff --git a/var/spack/repos/builtin/packages/py-numpy/check_executables2.patch b/var/spack/repos/builtin/packages/py-numpy/check_executables2.patch
new file mode 100644
index 0000000000..0d0b78f647
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-numpy/check_executables2.patch
@@ -0,0 +1,16 @@
+--- spack-src/numpy/distutils/fcompiler/__init__.py.orig 2021-01-04 15:16:38.000000000 +0900
++++ spack-src/numpy/distutils/fcompiler/__init__.py 2021-02-12 17:20:07.327563118 +0900
+@@ -316,7 +316,12 @@
+ if not exe_from_environ:
+ possibles = [f90, f77] + self.possible_executables
+ else:
+- possibles = [exe_from_environ] + self.possible_executables
++ matching_executables = []
++ for e in exe_from_environ:
++ for p in self.possible_executables:
++ if p in e:
++ matching_executables.append(e)
++ possibles = [matching_executables] + self.possible_executables
+
+ seen = set()
+ unique_possibles = []
diff --git a/var/spack/repos/builtin/packages/py-numpy/check_executables3.patch b/var/spack/repos/builtin/packages/py-numpy/check_executables3.patch
new file mode 100644
index 0000000000..078211e337
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-numpy/check_executables3.patch
@@ -0,0 +1,16 @@
+--- spack-src/numpy/distutils/fcompiler/__init__.py.orig 2020-06-02 17:24:58.000000000 +0900
++++ spack-src/numpy/distutils/fcompiler/__init__.py 2021-02-12 17:33:11.483728471 +0900
+@@ -320,7 +320,12 @@
+ if not exe_from_environ:
+ possibles = [f90, f77] + self.possible_executables
+ else:
+- possibles = [exe_from_environ] + self.possible_executables
++ matching_executables = []
++ for e in exe_from_environ:
++ for p in self.possible_executables:
++ if p in e:
++ matching_executables.append(e)
++ possibles = [matching_executables] + self.possible_executables
+
+ seen = set()
+ unique_possibles = []
diff --git a/var/spack/repos/builtin/packages/py-numpy/check_executables4.patch b/var/spack/repos/builtin/packages/py-numpy/check_executables4.patch
new file mode 100644
index 0000000000..b553acb46f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-numpy/check_executables4.patch
@@ -0,0 +1,16 @@
+--- spack-src/numpy/distutils/fcompiler/__init__.py.orig 2018-11-03 10:49:58.000000000 +0900
++++ spack-src/numpy/distutils/fcompiler/__init__.py 2021-02-12 17:57:50.632263931 +0900
+@@ -318,7 +318,12 @@
+ if not exe_from_environ:
+ possibles = [f90, f77] + self.possible_executables
+ else:
+- possibles = [exe_from_environ] + self.possible_executables
++ matching_executables = []
++ for e in exe_from_environ:
++ for p in self.possible_executables:
++ if p in e:
++ matching_executables.append(e)
++ possibles = [matching_executables] + self.possible_executables
+
+ seen = set()
+ unique_possibles = []
diff --git a/var/spack/repos/builtin/packages/py-numpy/check_executables5.patch b/var/spack/repos/builtin/packages/py-numpy/check_executables5.patch
new file mode 100644
index 0000000000..4ae9fe4009
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-numpy/check_executables5.patch
@@ -0,0 +1,16 @@
+--- spack-src/numpy/distutils/fcompiler/__init__.py.orig 2017-09-29 13:31:46.000000000 +0900
++++ spack-src/numpy/distutils/fcompiler/__init__.py 2021-02-12 18:06:12.001479417 +0900
+@@ -322,7 +322,12 @@
+ if not exe_from_environ:
+ possibles = [f90, f77] + self.possible_executables
+ else:
+- possibles = [exe_from_environ] + self.possible_executables
++ matching_executables = []
++ for e in exe_from_environ:
++ for p in self.possible_executables:
++ if p in e:
++ matching_executables.append(e)
++ possibles = [matching_executables] + self.possible_executables
+
+ seen = set()
+ unique_possibles = []
diff --git a/var/spack/repos/builtin/packages/py-numpy/package.py b/var/spack/repos/builtin/packages/py-numpy/package.py
index fd09019469..1c0c222885 100644
--- a/var/spack/repos/builtin/packages/py-numpy/package.py
+++ b/var/spack/repos/builtin/packages/py-numpy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,20 +16,15 @@ class PyNumpy(PythonPackage):
number capabilities"""
homepage = "https://numpy.org/"
- url = "https://pypi.io/packages/source/n/numpy/numpy-1.19.4.zip"
+ pypi = "numpy/numpy-1.19.4.zip"
git = "https://github.com/numpy/numpy.git"
maintainers = ['adamjstewart']
- install_time_test_callbacks = ['install_test', 'import_module_test']
-
- import_modules = [
- 'numpy', 'numpy.compat', 'numpy.core', 'numpy.distutils', 'numpy.doc',
- 'numpy.f2py', 'numpy.fft', 'numpy.lib', 'numpy.linalg', 'numpy.ma',
- 'numpy.matrixlib', 'numpy.polynomial', 'numpy.random', 'numpy.testing',
- 'numpy.distutils.command', 'numpy.distutils.fcompiler'
- ]
version('master', branch='master')
+ version('1.20.1', sha256='3bc63486a870294683980d76ec1e3efc786295ae00128f9ea38e2c6e74d5a60a')
+ version('1.20.0', sha256='3d8233c03f116d068d5365fed4477f2947c7229582dad81e5953088989294cec')
+ version('1.19.5', sha256='a76f502430dd98d7546e1ea2250a7360c065a5fdea52b2dffe8ae7180909b6f4')
version('1.19.4', sha256='141ec3a3300ab89c7f2b0775289954d193cc8edb621ea05f99db9cb181530512')
version('1.19.3', sha256='35bf5316af8dc7c7db1ad45bec603e5fb28671beb98ebd1d65e8059efcfd3b72')
version('1.19.2', sha256='0d310730e1e793527065ad7dde736197b705d0e4c9999775f212b03c44a8484c')
@@ -84,10 +79,11 @@ class PyNumpy(PythonPackage):
variant('blas', default=True, description='Build with BLAS support')
variant('lapack', default=True, description='Build with LAPACK support')
- depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
- depends_on('python@2.7:2.8,3.5:', type=('build', 'run'), when='@1.16:')
- depends_on('python@3.5:', type=('build', 'run'), when='@1.17:')
- depends_on('python@3.6:', type=('build', 'run'), when='@1.19:')
+ depends_on('python@2.7:2.8,3.4:', type=('build', 'link', 'run'))
+ depends_on('python@2.7:2.8,3.5:', type=('build', 'link', 'run'), when='@1.16:')
+ depends_on('python@3.5:', type=('build', 'link', 'run'), when='@1.17:')
+ depends_on('python@3.6:', type=('build', 'link', 'run'), when='@1.19:')
+ depends_on('python@3.7:', type=('build', 'link', 'run'), when='@1.20:')
depends_on('py-setuptools', type=('build', 'run'))
# Check pyproject.toml for updates to the required cython version
depends_on('py-cython@0.29.13:', when='@1.18.0:', type='build')
@@ -105,14 +101,23 @@ class PyNumpy(PythonPackage):
patch('blas-lapack-order.patch', when='@1.15:1.16')
# Add Fujitsu Fortran compiler
- patch('add_fj_compiler.patch', when='@1.19.3:%fj')
+ patch('add_fj_compiler.patch', when='@1.19.3:1.19.5%fj')
patch('add_fj_compiler2.patch', when='@1.19.0:1.19.2%fj')
patch('add_fj_compiler3.patch', when='@1.14.0:1.18.5%fj')
patch('add_fj_compiler4.patch', when='@:1.13.3%fj')
+ patch('check_executables.patch', when='@1.20.0:')
+ patch('check_executables2.patch', when='@1.19.0:1.19.5')
+ patch('check_executables3.patch', when='@1.16.0:1.18.5')
+ patch('check_executables4.patch', when='@1.14.0:1.15.4')
+ patch('check_executables5.patch', when='@:1.13.3')
+
# GCC 4.8 is the minimum version that works
conflicts('%gcc@:4.7', msg='GCC 4.8+ required')
+ # NVHPC support added in https://github.com/numpy/numpy/pull/17344
+ conflicts('%nvhpc', when='@:1.19.999')
+
def flag_handler(self, name, flags):
# -std=c99 at least required, old versions of GCC default to -std=c90
if self.spec.satisfies('%gcc@:5.1') and name == 'cflags':
@@ -306,21 +311,8 @@ class PyNumpy(PythonPackage):
return args
- def build_test(self):
- # `setup.py test` is not supported. Use one of the following
- # instead:
- #
- # - `python runtests.py` (to build and test)
- # - `python runtests.py --no-build` (to test installed numpy)
- # - `>>> numpy.test()` (run tests for installed numpy
- # from within an interpreter)
- pass
-
+ @run_after('install')
+ @on_package_attributes(run_tests=True)
def install_test(self):
- # Change directories due to the following error:
- #
- # ImportError: Error importing numpy: you should not try to import
- # numpy from its source directory; please exit the numpy
- # source tree, and relaunch your python interpreter from there.
with working_dir('spack-test', create=True):
python('-c', 'import numpy; numpy.test("full", verbose=2)')
diff --git a/var/spack/repos/builtin/packages/py-numpydoc/package.py b/var/spack/repos/builtin/packages/py-numpydoc/package.py
index cef8a2f7d2..86babbd46a 100644
--- a/var/spack/repos/builtin/packages/py-numpydoc/package.py
+++ b/var/spack/repos/builtin/packages/py-numpydoc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,10 +10,14 @@ class PyNumpydoc(PythonPackage):
"""numpydoc - Numpy's Sphinx extensions"""
homepage = "https://github.com/numpy/numpydoc"
- url = "https://pypi.io/packages/source/n/numpydoc/numpydoc-0.6.0.tar.gz"
+ pypi = "numpydoc/numpydoc-0.6.0.tar.gz"
+ version('1.1.0', sha256='c36fd6cb7ffdc9b4e165a43f67bf6271a7b024d0bb6b00ac468c9e2bfc76448e')
version('0.6.0', sha256='1ec573e91f6d868a9940d90a6599f3e834a2d6c064030fbe078d922ee21dcfa1')
- depends_on('python@2.6:2.8,3.3:')
+ depends_on('python@2.6:2.8,3.3:', when='@0.6.0')
+ depends_on('python@3.5:', when='@1.1.0')
depends_on('py-setuptools', type='build')
- depends_on('py-sphinx@1.0.1:', type='build')
+ depends_on('py-sphinx@1.0.1:1.6.7', type='build', when='@0.6.0')
+ depends_on('py-sphinx@1.6.5:', type='build', when='@1.1.0')
+ depends_on('py-jinja2@2.3:', type='build', when='@1.1.0')
diff --git a/var/spack/repos/builtin/packages/py-nvidia-ml-py/package.py b/var/spack/repos/builtin/packages/py-nvidia-ml-py/package.py
index a37a50366b..fbe922ffac 100644
--- a/var/spack/repos/builtin/packages/py-nvidia-ml-py/package.py
+++ b/var/spack/repos/builtin/packages/py-nvidia-ml-py/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,6 +8,6 @@ class PyNvidiaMlPy(PythonPackage):
"""Python Bindings for the NVIDIA Management Library."""
homepage = "http://www.nvidia.com/"
- url = "https://pypi.io/packages/source/n/nvidia-ml-py/nvidia-ml-py-11.450.51.tar.gz"
+ pypi = "nvidia-ml-py/nvidia-ml-py-11.450.51.tar.gz"
version('11.450.51', sha256='5aa6dd23a140b1ef2314eee5ca154a45397b03e68fd9ebc4f72005979f511c73')
diff --git a/var/spack/repos/builtin/packages/py-nvidia-ml-py3/package.py b/var/spack/repos/builtin/packages/py-nvidia-ml-py3/package.py
index 711f579dc9..735331b373 100644
--- a/var/spack/repos/builtin/packages/py-nvidia-ml-py3/package.py
+++ b/var/spack/repos/builtin/packages/py-nvidia-ml-py3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,6 +8,6 @@ class PyNvidiaMlPy3(PythonPackage):
"""Python Bindings for the NVIDIA Management Library."""
homepage = "http://www.nvidia.com/"
- url = "https://pypi.io/packages/source/n/nvidia-ml-py3/nvidia-ml-py3-7.352.0.tar.gz"
+ pypi = "nvidia-ml-py3/nvidia-ml-py3-7.352.0.tar.gz"
version('7.352.0', sha256='390f02919ee9d73fe63a98c73101061a6b37fa694a793abf56673320f1f51277')
diff --git a/var/spack/repos/builtin/packages/py-oauth2client/package.py b/var/spack/repos/builtin/packages/py-oauth2client/package.py
index 2b05c982fc..c239617583 100644
--- a/var/spack/repos/builtin/packages/py-oauth2client/package.py
+++ b/var/spack/repos/builtin/packages/py-oauth2client/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,7 +14,7 @@ class PyOauth2client(PythonPackage):
use google-auth and oauthlib."""
homepage = "http://github.com/google/oauth2client/"
- url = "https://pypi.io/packages/source/o/oauth2client/oauth2client-4.1.3.tar.gz"
+ pypi = "oauth2client/oauth2client-4.1.3.tar.gz"
version('4.1.3', sha256='d486741e451287f69568a4d26d70d9acd73a2bbfa275746c535b4209891cccc6')
diff --git a/var/spack/repos/builtin/packages/py-oauthlib/package.py b/var/spack/repos/builtin/packages/py-oauthlib/package.py
index 93fbb9aacc..be59718198 100644
--- a/var/spack/repos/builtin/packages/py-oauthlib/package.py
+++ b/var/spack/repos/builtin/packages/py-oauthlib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class PyOauthlib(PythonPackage):
"""
homepage = "https://github.com/oauthlib/oauthlib"
- url = "https://pypi.io/packages/source/o/oauthlib/oauthlib-3.1.0.tar.gz"
+ pypi = "oauthlib/oauthlib-3.1.0.tar.gz"
version('3.1.0', sha256='bee41cc35fcca6e988463cacc3bcb8a96224f470ca547e697b604cc697b2f889')
version('3.0.1', sha256='0ce32c5d989a1827e3f1148f98b9085ed2370fc939bf524c9c851d8714797298')
@@ -22,16 +22,7 @@ class PyOauthlib(PythonPackage):
variant('extras', default=True, description='Build with pyjwt, blinker, cryptography')
depends_on('py-setuptools', type='build')
-
depends_on('py-pyjwt@1.0.0:', type=('build', 'run'), when='+extras')
depends_on('py-blinker', type=('build', 'run'), when='+extras')
depends_on('py-cryptography', type=('build', 'run'), when='+extras')
-
- depends_on('py-mock@2.0:', type='test')
- depends_on('py-pytest@4.0:', type='test')
- depends_on('py-pytest-cov@2.6:', type='test')
-
- depends_on('py-nose', type='test', when='@2.0.2')
- depends_on('py-unittest2', type='test', when='^python@2.0.2')
-
depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-olefile/package.py b/var/spack/repos/builtin/packages/py-olefile/package.py
index 4e9826b18b..2db8fcad6c 100644
--- a/var/spack/repos/builtin/packages/py-olefile/package.py
+++ b/var/spack/repos/builtin/packages/py-olefile/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,9 +10,7 @@ class PyOlefile(PythonPackage):
"""Python package to parse, read and write Microsoft OLE2 files"""
homepage = "https://www.decalage.info/python/olefileio"
- url = "https://pypi.io/packages/source/o/olefile/olefile-0.44.zip"
-
- import_modules = ['olefile']
+ pypi = "olefile/olefile-0.44.zip"
version('0.44', sha256='61f2ca0cd0aa77279eb943c07f607438edf374096b66332fae1ee64a6f0f73ad')
diff --git a/var/spack/repos/builtin/packages/py-onnx/package.py b/var/spack/repos/builtin/packages/py-onnx/package.py
index f0a5838462..86355dd317 100644
--- a/var/spack/repos/builtin/packages/py-onnx/package.py
+++ b/var/spack/repos/builtin/packages/py-onnx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,7 +17,7 @@ class PyOnnx(PythonPackage):
on the capabilities needed for inferencing (scoring)."""
homepage = "https://github.com/onnx/onnx"
- url = "https://pypi.io/packages/source/O/Onnx/onnx-1.6.0.tar.gz"
+ pypi = "Onnx/onnx-1.6.0.tar.gz"
version('1.6.0', sha256='3b88c3fe521151651a0403c4d131cb2e0311bd28b753ef692020a432a81ce345')
version('1.5.0', sha256='1a584a4ef62a6db178c257fffb06a9d8e61b41c0a80bfd8bcd8a253d72c4b0b4')
diff --git a/var/spack/repos/builtin/packages/py-ont-fast5-api/package.py b/var/spack/repos/builtin/packages/py-ont-fast5-api/package.py
index 9c71274e60..df0883ea8c 100644
--- a/var/spack/repos/builtin/packages/py-ont-fast5-api/package.py
+++ b/var/spack/repos/builtin/packages/py-ont-fast5-api/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,7 +15,7 @@ class PyOntFast5Api(PythonPackage):
API, without having to directly invoke the h5py library."""
homepage = "https://github.com/nanoporetech/ont_fast5_api"
- url = "https://pypi.io/packages/source/o/ont-fast5-api/ont-fast5-api-0.3.2.tar.gz"
+ pypi = "ont-fast5-api/ont-fast5-api-0.3.2.tar.gz"
version('0.3.2', sha256='ae44b1bcd812e8acf8beff3db92456647c343cf19340f97cff4847de5cc905d8')
diff --git a/var/spack/repos/builtin/packages/py-opencensus-context/package.py b/var/spack/repos/builtin/packages/py-opencensus-context/package.py
index 87d7d25c30..5e8a66c622 100644
--- a/var/spack/repos/builtin/packages/py-opencensus-context/package.py
+++ b/var/spack/repos/builtin/packages/py-opencensus-context/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-opencensus/package.py b/var/spack/repos/builtin/packages/py-opencensus/package.py
index ef8222c9ae..76643d9fc1 100644
--- a/var/spack/repos/builtin/packages/py-opencensus/package.py
+++ b/var/spack/repos/builtin/packages/py-opencensus/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyOpencensus(PythonPackage):
"""A stats collection and distributed tracing framework."""
homepage = "https://github.com/census-instrumentation/opencensus-python"
- url = "https://pypi.io/packages/source/o/opencensus/opencensus-0.7.10.tar.gz"
+ pypi = "opencensus/opencensus-0.7.10.tar.gz"
version('0.7.10', sha256='2921e3e570cfadfd123cd8e3636a405031367fddff74c55d3fe627a4cf8b981c')
diff --git a/var/spack/repos/builtin/packages/py-openmc/package.py b/var/spack/repos/builtin/packages/py-openmc/package.py
new file mode 100644
index 0000000000..e3ffcba6c6
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-openmc/package.py
@@ -0,0 +1,56 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyOpenmc(PythonPackage):
+ """The OpenMC project aims to provide a fully-featured Monte Carlo particle
+ transport code based on modern methods. It is a constructive solid
+ geometry, continuous-energy transport code that uses ACE format cross
+ sections. The project started under the Computational Reactor Physics
+ Group at MIT."""
+
+ homepage = "http://openmc.readthedocs.io/"
+ url = "https://github.com/openmc-dev/openmc/tarball/v0.11.0"
+ git = "https://github.com/openmc-dev/openmc.git"
+
+ version('develop', branch='develop')
+ version('master', branch='master')
+ version('0.12.0', tag='v0.12.0', submodules=True)
+ version('0.11.0', sha256='19a9d8e9c3b581e9060fbd96d30f1098312d217cb5c925eb6372a5786d9175af')
+
+ variant('mpi', default=False, description='Enable MPI support')
+
+ # keep py-openmc and openmc at the same version
+ for ver in ['develop', 'master', '0.12.0', '0.11.0']:
+ depends_on(
+ 'openmc+mpi@{0}'.format(ver), when='@{0}+mpi'.format(ver),
+ type=('build', 'run')
+ )
+ depends_on(
+ 'openmc~mpi@{0}'.format(ver), when='@{0}~mpi'.format(ver),
+ type=('build', 'run')
+ )
+
+ depends_on('git', type='build')
+ depends_on('python@3.5:', type=('build', 'run'))
+ depends_on('py-cython', type='build')
+ depends_on('py-h5py~mpi', when='~mpi', type=('build', 'run'))
+ depends_on('py-h5py+mpi', when='+mpi', type=('build', 'run'))
+ depends_on('py-ipython', type=('build', 'run'))
+ depends_on('py-lxml', type=('build', 'run'))
+ depends_on('py-matplotlib', type=('build', 'run'))
+ depends_on('py-mpi4py', when='+mpi', type=('build', 'run'))
+ depends_on('py-numpy@1.9:', type=('build', 'run'))
+ depends_on('py-pandas', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-scipy', type=('build', 'run'))
+ depends_on('py-uncertainties', type=('build', 'run'))
+
+ @run_after('install')
+ def install_lib(self):
+ install(join_path(self.spec['openmc'].prefix.lib, 'libopenmc.*'),
+ self.prefix.lib)
diff --git a/var/spack/repos/builtin/packages/py-openpmd-validator/package.py b/var/spack/repos/builtin/packages/py-openpmd-validator/package.py
index 3da15810d5..cede47169f 100644
--- a/var/spack/repos/builtin/packages/py-openpmd-validator/package.py
+++ b/var/spack/repos/builtin/packages/py-openpmd-validator/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-openpyxl/package.py b/var/spack/repos/builtin/packages/py-openpyxl/package.py
index f929fe6a9b..45ad7e7293 100644
--- a/var/spack/repos/builtin/packages/py-openpyxl/package.py
+++ b/var/spack/repos/builtin/packages/py-openpyxl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyOpenpyxl(PythonPackage):
"""A Python library to read/write Excel 2010 xlsx/xlsm files"""
homepage = "http://openpyxl.readthedocs.org/"
- url = "https://pypi.io/packages/source/o/openpyxl/openpyxl-3.0.3.tar.gz"
+ pypi = "openpyxl/openpyxl-3.0.3.tar.gz"
version('3.0.3', sha256='547a9fc6aafcf44abe358b89ed4438d077e9d92e4f182c87e2dc294186dc4b64')
version('2.4.5', sha256='78c331e819fb0a63a1339d452ba0b575d1a31f09fdcce793a31bec7e9ef4ef21')
diff --git a/var/spack/repos/builtin/packages/py-openslide-python/package.py b/var/spack/repos/builtin/packages/py-openslide-python/package.py
index 371b218cb3..9cc665e367 100644
--- a/var/spack/repos/builtin/packages/py-openslide-python/package.py
+++ b/var/spack/repos/builtin/packages/py-openslide-python/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,8 +14,6 @@ class PyOpenslidePython(PythonPackage):
version('1.1.1', sha256='33c390fe43e3d7d443fafdd66969392d3e9efd2ecd5d4af73c3dbac374485ed5')
- import_modules = ['openslide']
-
depends_on('openslide@3.4.0:')
depends_on('python@2.6:2.8,3.3:')
depends_on('py-setuptools', type='build')
diff --git a/var/spack/repos/builtin/packages/py-opentuner/package.py b/var/spack/repos/builtin/packages/py-opentuner/package.py
index b55a9073c4..0e367bf55d 100644
--- a/var/spack/repos/builtin/packages/py-opentuner/package.py
+++ b/var/spack/repos/builtin/packages/py-opentuner/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-opppy/package.py b/var/spack/repos/builtin/packages/py-opppy/package.py
index 0ba7aecaf2..68a992f5d7 100644
--- a/var/spack/repos/builtin/packages/py-opppy/package.py
+++ b/var/spack/repos/builtin/packages/py-opppy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-opt-einsum/package.py b/var/spack/repos/builtin/packages/py-opt-einsum/package.py
index 0f430c76f8..cb71c6d7c8 100644
--- a/var/spack/repos/builtin/packages/py-opt-einsum/package.py
+++ b/var/spack/repos/builtin/packages/py-opt-einsum/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,9 @@ class PyOptEinsum(PythonPackage):
"""Optimized Einsum: A tensor contraction order optimizer."""
homepage = "https://github.com/dgasmith/opt_einsum"
- url = "https://pypi.io/packages/source/o/opt_einsum/opt_einsum-3.1.0.tar.gz"
+ pypi = "opt_einsum/opt_einsum-3.1.0.tar.gz"
+ version('3.3.0', sha256='59f6475f77bbc37dcf7cd748519c0ec60722e91e63ca114e68821c0c54a46549')
version('3.2.1', sha256='83b76a98d18ae6a5cc7a0d88955a7f74881f0e567a0f4c949d24c942753eb998')
version('3.2.0', sha256='738b0a1db1d3084d360081bb64d826f9db06d2df7cc0bf8e2c9356028da1fa31')
version('3.1.0', sha256='edfada4b1d0b3b782ace8bc14e80618ff629abf53143e1e6bbf9bd00b11ece77')
@@ -21,6 +22,3 @@ class PyOptEinsum(PythonPackage):
depends_on('python@3.5:', type=('build', 'run'), when='@3:')
depends_on('py-setuptools', type='build')
depends_on('py-numpy@1.7:', type=('build', 'run'))
- depends_on('py-pytest', type='test')
- depends_on('py-pytest-cov', type='test')
- depends_on('py-pytest-pep8', type='test')
diff --git a/var/spack/repos/builtin/packages/py-or-tools/package.py b/var/spack/repos/builtin/packages/py-or-tools/package.py
index 068a22d165..8f79c14c3d 100644
--- a/var/spack/repos/builtin/packages/py-or-tools/package.py
+++ b/var/spack/repos/builtin/packages/py-or-tools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-ordereddict/package.py b/var/spack/repos/builtin/packages/py-ordereddict/package.py
index afba6ee6f3..490aaf5560 100644
--- a/var/spack/repos/builtin/packages/py-ordereddict/package.py
+++ b/var/spack/repos/builtin/packages/py-ordereddict/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,9 +10,6 @@ class PyOrdereddict(PythonPackage):
"""A drop-in substitute for Py2.7's new collections.
OrderedDict that works in Python 2.4-2.6."""
- homepage = "https://pypi.python.org/pypi/ordereddict"
- url = "https://pypi.io/packages/source/o/ordereddict/ordereddict-1.1.tar.gz"
-
- import_modules = ['ordereddict']
+ pypi = "ordereddict/ordereddict-1.1.tar.gz"
version('1.1', sha256='1c35b4ac206cef2d24816c89f89cf289dd3d38cf7c449bb3fab7bf6d43f01b1f')
diff --git a/var/spack/repos/builtin/packages/py-oset/package.py b/var/spack/repos/builtin/packages/py-oset/package.py
index 9dfb7c47db..37b623aeb4 100644
--- a/var/spack/repos/builtin/packages/py-oset/package.py
+++ b/var/spack/repos/builtin/packages/py-oset/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,10 +9,7 @@ from spack import *
class PyOset(PythonPackage):
"""Set that remembers original insertion order."""
- homepage = "https://pypi.python.org/pypi/oset"
- url = "https://pypi.io/packages/source/o/oset/oset-0.1.3.tar.gz"
-
- import_modules = ['oset']
+ pypi = "oset/oset-0.1.3.tar.gz"
version('0.1.3', sha256='4c1fd7dec96eeff9d3260995a8e37f9f415d0bdb79975f57824e68716ac8f904')
diff --git a/var/spack/repos/builtin/packages/py-osqp/package.py b/var/spack/repos/builtin/packages/py-osqp/package.py
index 1bec5cdf49..1e4b0f9d4c 100644
--- a/var/spack/repos/builtin/packages/py-osqp/package.py
+++ b/var/spack/repos/builtin/packages/py-osqp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyOsqp(PythonPackage):
"""OSQP: The Operator Splitting QP Solver"""
homepage = "https://osqp.org/"
- url = "https://pypi.io/packages/source/o/osqp/osqp-0.6.1.tar.gz"
+ pypi = "osqp/osqp-0.6.1.tar.gz"
version('0.6.1', sha256='47b17996526d6ecdf35cfaead6e3e05d34bc2ad48bcb743153cefe555ecc0e8c')
diff --git a/var/spack/repos/builtin/packages/py-overpy/package.py b/var/spack/repos/builtin/packages/py-overpy/package.py
index 24b3186e17..f34b2c4c8d 100644
--- a/var/spack/repos/builtin/packages/py-overpy/package.py
+++ b/var/spack/repos/builtin/packages/py-overpy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,12 +10,11 @@ class PyOverpy(PythonPackage):
"""A Python Wrapper to access the Overpass API."""
homepage = "https://github.com/DinoTools/python-overpy"
- url = "https://pypi.io/packages/source/o/overpy/overpy-0.4.tar.gz"
+ pypi = "overpy/overpy-0.4.tar.gz"
version('0.4', sha256='6e5bfcd9368f0c33a5d7615b18dbcac18444157f447639287c6743aa2de8964d')
version('0.3.1', sha256='3c6f6afe262ccf50c983617fc4ec5f381c2e1f6391aa974fbcc39203802bc3ff')
depends_on('py-setuptools', type='build')
depends_on('py-pytest-runner', type='build')
- depends_on('py-pytest', type='test')
depends_on('python@2.7:2.8,3.2:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-owslib/package.py b/var/spack/repos/builtin/packages/py-owslib/package.py
index 459dab7727..3b44452959 100644
--- a/var/spack/repos/builtin/packages/py-owslib/package.py
+++ b/var/spack/repos/builtin/packages/py-owslib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyOwslib(PythonPackage):
related content models."""
homepage = "http://http://geopython.github.io/OWSLib/#installation"
- url = "https://pypi.io/packages/source/O/OWSLib/OWSLib-0.16.0.tar.gz"
+ pypi = "OWSLib/OWSLib-0.16.0.tar.gz"
version('0.17.1', sha256='b2e7fd694d3cffcee79317bad492d60c0aa887aea6916517c051c3247b33b5a5')
version('0.16.0', sha256='ec95a5e93c145a5d84b0074b9ea27570943486552a669151140debf08a100554')
diff --git a/var/spack/repos/builtin/packages/py-packaging/package.py b/var/spack/repos/builtin/packages/py-packaging/package.py
index 30b44d9522..4c2bcc47bb 100644
--- a/var/spack/repos/builtin/packages/py-packaging/package.py
+++ b/var/spack/repos/builtin/packages/py-packaging/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,9 +10,7 @@ class PyPackaging(PythonPackage):
"""Core utilities for Python packages."""
homepage = "https://github.com/pypa/packaging"
- url = "https://pypi.io/packages/source/p/packaging/packaging-19.2.tar.gz"
-
- import_modules = ['packaging']
+ pypi = "packaging/packaging-19.2.tar.gz"
version('19.2', sha256='28b924174df7a2fa32c1953825ff29c61e2f5e082343165438812f00d3a7fc47')
version('19.1', sha256='c491ca87294da7cc01902edbe30a5bc6c4c28172b5138ab4e4aa1b9d7bfaeafe')
@@ -20,14 +18,8 @@ class PyPackaging(PythonPackage):
version('17.1', sha256='f019b770dd64e585a99714f1fd5e01c7a8f11b45635aa953fd41c689a657375b')
version('16.8', sha256='5d50835fdf0a7edf0b55e311b7c887786504efea1177abd7e69329a8e5ea619e')
+ depends_on('py-setuptools', type='build')
depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
depends_on('py-attrs', when='@19.1', type=('build', 'run'))
depends_on('py-pyparsing@2.0.2:', type=('build', 'run'))
depends_on('py-six', type=('build', 'run'))
-
- # Newer versions of setuptools require packaging. Although setuptools is an
- # optional dependency of packaging, if it is not found, setup.py will
- # fallback on distutils.core instead. Don't add a setuptools dependency
- # or we won't be able to bootstrap setuptools.
-
- # depends_on('py-setuptools', type='build')
diff --git a/var/spack/repos/builtin/packages/py-palettable/package.py b/var/spack/repos/builtin/packages/py-palettable/package.py
index aa17c77c4b..df2d34ac25 100644
--- a/var/spack/repos/builtin/packages/py-palettable/package.py
+++ b/var/spack/repos/builtin/packages/py-palettable/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPalettable(PythonPackage):
"""Color palettes for Python."""
homepage = "https://jiffyclub.github.io/palettable/"
- url = "https://pypi.io/packages/source/p/palettable/palettable-3.0.0.tar.gz"
+ pypi = "palettable/palettable-3.0.0.tar.gz"
version('3.3.0', sha256='72feca71cf7d79830cd6d9181b02edf227b867d503bec953cf9fa91bf44896bd')
version('3.0.0', sha256='eed9eb0399386ff42f90ca61d4fa38a1819a93d5adfc2d546e3e2869d9972c31')
diff --git a/var/spack/repos/builtin/packages/py-pamela/package.py b/var/spack/repos/builtin/packages/py-pamela/package.py
index 58312ce3c3..7f80ae8091 100644
--- a/var/spack/repos/builtin/packages/py-pamela/package.py
+++ b/var/spack/repos/builtin/packages/py-pamela/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyPamela(PythonPackage):
"""Python wrapper for PAM"""
- homepage = "https://pypi.org/project/pamela/"
- url = "https://pypi.io/packages/source/p/pamela/pamela-1.0.0.tar.gz"
+ pypi = "pamela/pamela-1.0.0.tar.gz"
version('1.0.0', sha256='65c9389bef7d1bb0b168813b6be21964df32016923aac7515bdf05366acbab6c')
diff --git a/var/spack/repos/builtin/packages/py-pandas/package.py b/var/spack/repos/builtin/packages/py-pandas/package.py
index 154cbcba06..db75c27e07 100644
--- a/var/spack/repos/builtin/packages/py-pandas/package.py
+++ b/var/spack/repos/builtin/packages/py-pandas/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,23 +10,29 @@ class PyPandas(PythonPackage):
programming language."""
homepage = "https://pandas.pydata.org/"
- url = "https://pypi.io/packages/source/p/pandas/pandas-1.1.4.tar.gz"
+ pypi = "pandas/pandas-1.2.0.tar.gz"
maintainers = ['adamjstewart']
import_modules = [
- 'pandas', 'pandas.compat', 'pandas.core', 'pandas.util', 'pandas.io',
- 'pandas.tseries', 'pandas._libs', 'pandas.plotting', 'pandas.arrays',
- 'pandas.api', 'pandas.errors', 'pandas._config', 'pandas.compat.numpy',
+ 'pandas', 'pandas.compat', 'pandas.compat.numpy', 'pandas.core',
'pandas.core.reshape', 'pandas.core.tools', 'pandas.core.util',
- 'pandas.core.dtypes', 'pandas.core.groupby', 'pandas.core.internals',
- 'pandas.core.computation', 'pandas.core.arrays', 'pandas.core.ops',
- 'pandas.core.sparse', 'pandas.core.indexes', 'pandas.io.msgpack',
- 'pandas.io.formats', 'pandas.io.excel', 'pandas.io.json',
- 'pandas.io.sas', 'pandas.io.clipboard', 'pandas._libs.tslibs',
- 'pandas.plotting._matplotlib', 'pandas.api.types',
- 'pandas.api.extensions'
+ 'pandas.core.array_algos', 'pandas.core.dtypes', 'pandas.core.groupby',
+ 'pandas.core.internals', 'pandas.core.computation',
+ 'pandas.core.window', 'pandas.core.arrays',
+ 'pandas.core.arrays.sparse', 'pandas.core.ops', 'pandas.core.sparse',
+ 'pandas.core.indexes', 'pandas.util', 'pandas.io', 'pandas.io.formats',
+ 'pandas.io.excel', 'pandas.io.json', 'pandas.io.sas',
+ 'pandas.io.clipboard', 'pandas.tseries', 'pandas._libs',
+ 'pandas._libs.window', 'pandas._libs.tslibs', 'pandas.plotting',
+ 'pandas.arrays', 'pandas.api', 'pandas.api.indexers',
+ 'pandas.api.types', 'pandas.api.extensions', 'pandas.errors',
+ 'pandas._config'
]
+ version('1.2.2', sha256='14ed84b463e9b84c8ff9308a79b04bf591ae3122a376ee0f62c68a1bd917a773')
+ version('1.2.1', sha256='5527c5475d955c0bc9689c56865aaa2a7b13c504d6c44f0aadbf57b565af5ebd')
+ version('1.2.0', sha256='e03386615b970b8b41da6a68afe717626741bb2431cec993640685614c0680e4')
+ version('1.1.5', sha256='f10fc41ee3c75a474d3bdf68d396f10782d013d7f67db99c0efbfd0acb99701b')
version('1.1.4', sha256='a979d0404b135c63954dea79e6246c45dd45371a88631cdbb4877d844e6de3b6')
version('1.1.3', sha256='babbeda2f83b0686c9ad38d93b10516e68cdcd5771007eb80a763e98aaf44613')
version('1.1.2', sha256='b64ffd87a2cfd31b40acd4b92cb72ea9a52a48165aec4c140e78fd69c45d1444')
@@ -55,6 +61,7 @@ class PyPandas(PythonPackage):
# Required dependencies
# https://pandas.pydata.org/pandas-docs/stable/getting_started/install.html#dependencies
+ depends_on('python@3.7.1:', type=('build', 'run'), when='@1.2:')
depends_on('python@3.6.1:', type=('build', 'run'), when='@1:')
depends_on('python@3.5.3:', type=('build', 'run'), when='@0.25:')
# https://pandas.pydata.org/docs/whatsnew/v1.0.0.html#build-changes
@@ -65,24 +72,20 @@ class PyPandas(PythonPackage):
depends_on('py-numpy', type=('build', 'run'))
depends_on('py-numpy@1.13.3:', type=('build', 'run'), when='@0.25:')
depends_on('py-numpy@1.15.4:', type=('build', 'run'), when='@1.1:')
+ depends_on('py-numpy@1.16.5:', type=('build', 'run'), when='@1.2:')
depends_on('py-python-dateutil', type=('build', 'run'))
depends_on('py-python-dateutil@2.6.1:', type=('build', 'run'), when='@0.25:')
depends_on('py-python-dateutil@2.7.3:', type=('build', 'run'), when='@1.1:')
depends_on('py-pytz@2017.2:', type=('build', 'run'))
+ depends_on('py-pytz@2017.3:', type=('build', 'run'), when='@1.2:')
# Recommended dependencies
# https://pandas.pydata.org/pandas-docs/stable/getting_started/install.html#recommended-dependencies
depends_on('py-numexpr', type=('build', 'run'))
depends_on('py-numexpr@2.6.2:', type=('build', 'run'), when='@0.25:')
+ depends_on('py-numexpr@2.6.8:', type=('build', 'run'), when='@1.2:')
depends_on('py-bottleneck', type=('build', 'run'))
depends_on('py-bottleneck@1.2.1:', type=('build', 'run'), when='@0.25:')
# Optional dependencies
# https://pandas.pydata.org/pandas-docs/stable/getting_started/install.html#optional-dependencies
-
- # Test dependencies
- # https://pandas.pydata.org/pandas-docs/stable/development/contributing.html#running-the-test-suite
- depends_on('py-pytest@4.0.2:', type='test')
- depends_on('py-pytest-xdist', type='test')
- depends_on('py-hypothesis@3.58:', type='test')
- depends_on('py-pyarrow@0.10.0:', type='test')
diff --git a/var/spack/repos/builtin/packages/py-pandocfilters/package.py b/var/spack/repos/builtin/packages/py-pandocfilters/package.py
index 168a2363f3..719ac3163f 100644
--- a/var/spack/repos/builtin/packages/py-pandocfilters/package.py
+++ b/var/spack/repos/builtin/packages/py-pandocfilters/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,6 +10,6 @@ class PyPandocfilters(PythonPackage):
"""A python module for writing pandoc filters"""
homepage = "https://github.com/jgm/pandocfilters"
- url = "https://pypi.io/packages/source/p/pandocfilters/pandocfilters-1.4.2.tar.gz"
+ pypi = "pandocfilters/pandocfilters-1.4.2.tar.gz"
version('1.4.2', sha256='b3dd70e169bb5449e6bc6ff96aea89c5eea8c5f6ab5e207fc2f521a2cf4a0da9')
diff --git a/var/spack/repos/builtin/packages/py-parameterized/package.py b/var/spack/repos/builtin/packages/py-parameterized/package.py
index ff68c38080..9dfcd7a4b5 100644
--- a/var/spack/repos/builtin/packages/py-parameterized/package.py
+++ b/var/spack/repos/builtin/packages/py-parameterized/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyParameterized(PythonPackage):
"""Parameterized testing with any Python test framework."""
homepage = "https://github.com/wolever/parameterized"
- url = "https://pypi.io/packages/source/p/parameterized/parameterized-0.7.1.tar.gz"
+ pypi = "parameterized/parameterized-0.7.1.tar.gz"
version('0.7.1', sha256='6a94dbea30c6abde99fd4c2f2042c1bf7f980e48908bf92ead62394f93cf57ed')
diff --git a/var/spack/repos/builtin/packages/py-paramiko/package.py b/var/spack/repos/builtin/packages/py-paramiko/package.py
index db07fccd09..598d002d79 100644
--- a/var/spack/repos/builtin/packages/py-paramiko/package.py
+++ b/var/spack/repos/builtin/packages/py-paramiko/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,14 +11,19 @@ class PyParamiko(PythonPackage):
"""SSH2 protocol library"""
homepage = "http://www.paramiko.org/"
- url = "https://pypi.io/packages/source/p/paramiko/paramiko-2.7.1.tar.gz"
+ pypi = "paramiko/paramiko-2.7.1.tar.gz"
version('2.7.1', sha256='920492895db8013f6cc0179293147f830b8c7b21fdfc839b6bad760c27459d9f')
version('2.1.2', sha256='5fae49bed35e2e3d45c4f7b0db2d38b9ca626312d91119b3991d0ecf8125e310')
+ variant('invoke', default=False, description='Enable invoke support')
+
depends_on('py-setuptools', type='build')
depends_on('py-bcrypt@3.1.3:', when='@2.7:', type=('build', 'run'))
depends_on('py-cryptography@1.1:', type=('build', 'run'))
depends_on('py-cryptography@2.5:', when='@2.7:', type=('build', 'run'))
depends_on('py-pyasn1@0.1.7:', when='@:2.1', type=('build', 'run'))
depends_on('py-pynacl@1.0.1:', when='@2.7:', type=('build', 'run'))
+
+ depends_on('py-invoke@1.3:', when='+invoke', type=('build', 'run'))
+ conflicts('+invoke', when='@2.1.2')
diff --git a/var/spack/repos/builtin/packages/py-paramz/package.py b/var/spack/repos/builtin/packages/py-paramz/package.py
index 77c5996d12..14e88bfbde 100644
--- a/var/spack/repos/builtin/packages/py-paramz/package.py
+++ b/var/spack/repos/builtin/packages/py-paramz/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyParamz(PythonPackage):
"""The Parameterization Framework."""
homepage = "https://github.com/sods/paramz"
- url = "https://pypi.io/packages/source/p/paramz/paramz-0.9.5.tar.gz"
+ pypi = "paramz/paramz-0.9.5.tar.gz"
version('0.9.5', sha256='0917211c0f083f344e7f1bc997e0d713dbc147b6380bc19f606119394f820b9a')
diff --git a/var/spack/repos/builtin/packages/py-parse/package.py b/var/spack/repos/builtin/packages/py-parse/package.py
index da7323e510..cea8db54b2 100644
--- a/var/spack/repos/builtin/packages/py-parse/package.py
+++ b/var/spack/repos/builtin/packages/py-parse/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyParse(PythonPackage):
"""parse() is the opposite of format()"""
- homepage = "https://pypi.org/project/parse/"
- url = "https://pypi.io/packages/source/p/parse/parse-1.11.1.tar.gz"
+ pypi = "parse/parse-1.11.1.tar.gz"
version('1.18.0', sha256='91666032d6723dc5905248417ef0dc9e4c51df9526aaeef271eacad6491f06a4')
version('1.12.1', sha256='a5fca7000c6588d77bc65c28f3f21bfce03b5e44daa8f9f07c17fe364990d717')
diff --git a/var/spack/repos/builtin/packages/py-parsedatetime/package.py b/var/spack/repos/builtin/packages/py-parsedatetime/package.py
index afb8db85bb..4edd86f58b 100644
--- a/var/spack/repos/builtin/packages/py-parsedatetime/package.py
+++ b/var/spack/repos/builtin/packages/py-parsedatetime/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyParsedatetime(PythonPackage):
"""Parse human-readable date/time strings."""
homepage = "https://github.com/bear/parsedatetime"
- url = "https://pypi.io/packages/source/p/parsedatetime/parsedatetime-2.5.tar.gz"
+ pypi = "parsedatetime/parsedatetime-2.5.tar.gz"
version('2.5', sha256='d2e9ddb1e463de871d32088a3f3cea3dc8282b1b2800e081bd0ef86900451667')
diff --git a/var/spack/repos/builtin/packages/py-parso/package.py b/var/spack/repos/builtin/packages/py-parso/package.py
index 3f54eca9ce..8ba9866223 100644
--- a/var/spack/repos/builtin/packages/py-parso/package.py
+++ b/var/spack/repos/builtin/packages/py-parso/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,12 +12,13 @@ class PyParso(PythonPackage):
Parso is also able to list multiple syntax errors
in your python file."""
- homepage = "https://pypi.org/project/parso/"
- url = "https://pypi.io/packages/source/p/parso/parso-0.6.1.tar.gz"
+ pypi = "parso/parso-0.6.1.tar.gz"
+ version('0.8.1', sha256='8519430ad07087d4c997fda3a7918f7cfa27cb58972a8c89c2a0295a1c940e9e')
version('0.6.1', sha256='56b2105a80e9c4df49de85e125feb6be69f49920e121406f15e7acde6c9dfc57')
+ version('0.4.0', sha256='2e9574cb12e7112a87253e14e2c380ce312060269d04bd018478a3c92ea9a376')
- depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
+ depends_on('python@3.6:', type=('build', 'run'), when='@0.8.1:')
+ depends_on('python@2.7:2.8,3.4:', type=('build', 'run'), when='@0.6.1:')
+ depends_on('python@2.6:2.8,3.3:', type=('build', 'run'), when='@0.4.0:')
depends_on('py-setuptools', type='build')
- depends_on('py-pytest@3.0.7:', type='test')
- depends_on('py-docopt', type='test')
diff --git a/var/spack/repos/builtin/packages/py-partd/package.py b/var/spack/repos/builtin/packages/py-partd/package.py
index 8e99413822..f822141cff 100644
--- a/var/spack/repos/builtin/packages/py-partd/package.py
+++ b/var/spack/repos/builtin/packages/py-partd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,9 +10,7 @@ class PyPartd(PythonPackage):
"""Key-value byte store with appendable values."""
homepage = "http://github.com/dask/partd/"
- url = "https://pypi.io/packages/source/p/partd/partd-0.3.8.tar.gz"
-
- import_modules = ['partd']
+ pypi = "partd/partd-0.3.8.tar.gz"
version('1.1.0', sha256='6e258bf0810701407ad1410d63d1a15cfd7b773fd9efe555dac6bb82cc8832b0')
version('0.3.10', sha256='33722a228ebcd1fa6f44b1631bdd4cff056376f89eb826d7d880b35b637bcfba')
diff --git a/var/spack/repos/builtin/packages/py-particle/package.py b/var/spack/repos/builtin/packages/py-particle/package.py
index b8b03b21d0..8576afb6ea 100644
--- a/var/spack/repos/builtin/packages/py-particle/package.py
+++ b/var/spack/repos/builtin/packages/py-particle/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,11 +12,13 @@ class PyParticle(PythonPackage):
particle information and extra goodies."""
git = "https://github.com/scikit-hep/particle.git"
- url = "https://pypi.io/packages/source/p/particle/particle-0.11.0.tar.gz"
+ pypi = "particle/particle-0.11.0.tar.gz"
homepage = "https://github.com/scikit-hep/particle"
maintainers = ['vvolkl']
+ tags = ['hep']
+
version('master', branch='master')
version('0.11.0', sha256='e90dc36c8b7d7431bd14ee5a28486d28b6c0708555845d1d7bdf59a165405f12')
diff --git a/var/spack/repos/builtin/packages/py-path-py/package.py b/var/spack/repos/builtin/packages/py-path-py/package.py
index 6d578b2d8b..9b694a5305 100644
--- a/var/spack/repos/builtin/packages/py-path-py/package.py
+++ b/var/spack/repos/builtin/packages/py-path-py/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPathPy(PythonPackage):
"""A module wrapper for os.path"""
homepage = "https://github.com/jaraco/path.py"
- url = "https://pypi.io/packages/source/p/path.py/path.py-12.0.1.tar.gz"
+ pypi = "path.py/path.py-12.0.1.tar.gz"
version('12.0.1', sha256='9f2169633403aa0423f6ec000e8701dd1819526c62465f5043952f92527fea0f')
version('5.2', sha256='9916ae9aa603ce7e131e4ac76c25bcdbf6208f8fe5cc565a5022b85dc9d7022c')
diff --git a/var/spack/repos/builtin/packages/py-pathlib/package.py b/var/spack/repos/builtin/packages/py-pathlib/package.py
index a0676b0494..e9579aa4b9 100644
--- a/var/spack/repos/builtin/packages/py-pathlib/package.py
+++ b/var/spack/repos/builtin/packages/py-pathlib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,6 +14,6 @@ class PyPathlib(PythonPackage):
instead."""
homepage = "https://pathlib.readthedocs.org/"
- url = "https://pypi.io/packages/source/p/pathlib/pathlib-1.0.1.tar.gz"
+ pypi = "pathlib/pathlib-1.0.1.tar.gz"
version('1.0.1', sha256='6940718dfc3eff4258203ad5021090933e5c04707d5ca8cc9e73c94a7894ea9f')
diff --git a/var/spack/repos/builtin/packages/py-pathlib2/package.py b/var/spack/repos/builtin/packages/py-pathlib2/package.py
index 5da1abbe18..c8a2427603 100644
--- a/var/spack/repos/builtin/packages/py-pathlib2/package.py
+++ b/var/spack/repos/builtin/packages/py-pathlib2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,10 +9,7 @@ from spack import *
class PyPathlib2(PythonPackage):
"""Backport of pathlib from python 3.4"""
- homepage = "https://pypi.python.org/pypi/pathlib2"
- url = "https://pypi.io/packages/source/p/pathlib2/pathlib2-2.3.2.tar.gz"
-
- import_modules = ['pathlib2']
+ pypi = "pathlib2/pathlib2-2.3.2.tar.gz"
version('2.3.3', sha256='25199318e8cc3c25dcb45cbe084cc061051336d5a9ea2a12448d3d8cb748f742')
version('2.3.2', sha256='8eb170f8d0d61825e09a95b38be068299ddeda82f35e96c3301a8a5e7604cb83')
diff --git a/var/spack/repos/builtin/packages/py-pathos/package.py b/var/spack/repos/builtin/packages/py-pathos/package.py
index e4b2bc6c4f..d79aeb9c72 100644
--- a/var/spack/repos/builtin/packages/py-pathos/package.py
+++ b/var/spack/repos/builtin/packages/py-pathos/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPathos(PythonPackage):
"""Parallel graph management and execution in heterogeneous computing """
homepage = "https://github.com/uqfoundation/pathos"
- url = "https://pypi.io/packages/source/p/pathos/pathos-0.2.3.tar.gz"
+ pypi = "pathos/pathos-0.2.3.tar.gz"
version('0.2.3', sha256='954c5b0a8b257c375e35d311c65fa62a210a3d65269195557de38418ac9f61f9')
version('0.2.0', sha256='2f4e67e7914c95fb0cce766bab173eb2c5860ee420108fa183099557ac2e50e9')
diff --git a/var/spack/repos/builtin/packages/py-pathspec/package.py b/var/spack/repos/builtin/packages/py-pathspec/package.py
index fdf65b9484..7e1a586775 100644
--- a/var/spack/repos/builtin/packages/py-pathspec/package.py
+++ b/var/spack/repos/builtin/packages/py-pathspec/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,9 +10,10 @@ class PyPathspec(PythonPackage):
"""pathspec extends the test loading and running features of unittest,
making it easier to write, find and run tests."""
- homepage = "https://pypi.python.org/pypi/pathspec"
- url = "https://pypi.io/packages/source/p/pathspec/pathspec-0.3.4.tar.gz"
+ pypi = "pathspec/pathspec-0.8.1.tar.gz"
+ version('0.8.1', sha256='86379d6b86d75816baba717e64b1a3a3469deb93bb76d613c9ce79edc5cb68fd')
version('0.3.4', sha256='7605ca5c26f554766afe1d177164a2275a85bb803b76eba3428f422972f66728')
+ depends_on('python@2.7:2.8,3.5:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
diff --git a/var/spack/repos/builtin/packages/py-patsy/package.py b/var/spack/repos/builtin/packages/py-patsy/package.py
index eb20c74049..0c5b5ce35b 100644
--- a/var/spack/repos/builtin/packages/py-patsy/package.py
+++ b/var/spack/repos/builtin/packages/py-patsy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ class PyPatsy(PythonPackage):
building design matrices."""
homepage = "https://github.com/pydata/patsy"
- url = "https://pypi.io/packages/source/p/patsy/patsy-0.4.1.zip"
+ pypi = "patsy/patsy-0.4.1.zip"
version('0.5.1', sha256='f115cec4201e1465cd58b9866b0b0e7b941caafec129869057405bfe5b5e3991',
url="https://pypi.io/packages/source/p/patsy/patsy-0.5.1.tar.gz")
@@ -21,5 +21,3 @@ class PyPatsy(PythonPackage):
depends_on('py-numpy', type=('build', 'run'))
depends_on('py-scipy', type=('build', 'run'), when="+splines")
depends_on('py-six', type=('build', 'run'))
-
- depends_on('py-nose', type='test')
diff --git a/var/spack/repos/builtin/packages/py-pauvre/package.py b/var/spack/repos/builtin/packages/py-pauvre/package.py
index d022d882c4..af1b630c0e 100644
--- a/var/spack/repos/builtin/packages/py-pauvre/package.py
+++ b/var/spack/repos/builtin/packages/py-pauvre/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-pbr/package.py b/var/spack/repos/builtin/packages/py-pbr/package.py
index 80abed9db0..701d8a835d 100644
--- a/var/spack/repos/builtin/packages/py-pbr/package.py
+++ b/var/spack/repos/builtin/packages/py-pbr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,7 @@ class PyPbr(PythonPackage):
"""PBR is a library that injects some useful and sensible default
behaviors into your setuptools run."""
- homepage = "https://pypi.python.org/pypi/pbr"
- url = "https://pypi.io/packages/source/p/pbr/pbr-5.4.3.tar.gz"
+ pypi = "pbr/pbr-5.4.3.tar.gz"
version('5.4.3', sha256='2c8e420cd4ed4cec4e7999ee47409e876af575d4c35a45840d59e8b5f3155ab8')
version('5.2.1', sha256='93d2dc6ee0c9af4dbc70bc1251d0e545a9910ca8863774761f92716dece400b6')
@@ -22,19 +21,3 @@ class PyPbr(PythonPackage):
depends_on('python@2.6:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
-
- # test-requirements.txt
- depends_on('py-wheel@0.32.0:', type='test')
- depends_on('py-fixtures@3.0.0:', type='test')
- depends_on('py-hacking@0.12.0:0.12.999,0.13.1:0.13.999', type='test')
- depends_on('py-mock@2.0.0:', type='test')
- depends_on('py-six@1.10.0:', type='test')
- depends_on('py-stestr@2.1.0:', type='test')
- depends_on('py-testresources@2.0.0:', type='test')
- depends_on('py-testscenarios@0.4:', type='test')
- depends_on('py-testtools@2.2.0:', type='test')
- depends_on('py-virtualenv@14.0.6:', type='test')
- depends_on('py-coverage@4.0:4.3,4.5:', type='test')
- depends_on('py-sphinx@1.6.2:1.6.5,1.6.8:1.999', when='^python@:2', type='test')
- depends_on('py-sphinx@1.6.2:1.6.5,1.6.8:', type='test')
- depends_on('py-testrepository@0.0.18:', type='test')
diff --git a/var/spack/repos/builtin/packages/py-pem/package.py b/var/spack/repos/builtin/packages/py-pem/package.py
new file mode 100644
index 0000000000..b2eea492a4
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pem/package.py
@@ -0,0 +1,29 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyPem(PythonPackage):
+ """
+ pem is an MIT-licensed Python module for parsing and splitting of PEM
+ files, i.e. Base64 encoded DER keys and certificates.
+ """
+
+ homepage = "https://pem.readthedocs.io/en/stable/"
+ url = "https://github.com/hynek/pem/archive/20.1.0.tar.gz"
+
+ version('20.1.0', sha256='140df7388f72bdf95d5a40e152cfda4fd62856b8320a9a808ffdc2bee37d5c36')
+ version('19.3.0', sha256='22c526314db05559d5a6b0661aa6a21f26a1ad9f6f10a6ba2d386534ad12b175')
+ version('19.2.0', sha256='93772e1574c8ff3442e553025fe42ed66cea3abff7ce75363baffa8eb606e596')
+ version('19.1.0', sha256='da4035ce675c0bd572e9e1b75e30c38553610a7d861460299ee18d72928379de')
+ version('18.2.0', sha256='18d8440b62ae264343da72b0f6df934291c2fcdaffbeaf249150a3fe76751ed5')
+ version('18.1.0', sha256='6bcb3474d112c9dc4aca6900e6b4967cbc1db11f693c8e535f728be2f5620604')
+ version('17.1.0', sha256='f33191c11e0bcba2c3d36dc5cfeefe5cc692778a4d33e2a51e56ed7c2c22a4ce')
+ version('16.1.0', sha256='5204e85da8561e98f96fa0be9aec6e15ee9fd40499fb4ec533e0513a42effa0b')
+ version('16.0.0', sha256='a7a00aa4e1e82d39ae78f7705b0e5dfc7d7b2cf8a16ee073c24af330f75b421e')
+ version('15.0.0', sha256='e93e3cfc017fca98223e9842f9ce5df1ad58bf5b4fb1fe82092fd1b778c187e1')
+
+ depends_on('py-setuptools', type='build')
diff --git a/var/spack/repos/builtin/packages/py-pep8-naming/package.py b/var/spack/repos/builtin/packages/py-pep8-naming/package.py
index fe3e929996..ba90bad4f1 100644
--- a/var/spack/repos/builtin/packages/py-pep8-naming/package.py
+++ b/var/spack/repos/builtin/packages/py-pep8-naming/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPep8Naming(PythonPackage):
"""Check PEP-8 naming conventions, plugin for flake8."""
homepage = "https://github.com/PyCQA/pep8-naming"
- url = "https://pypi.io/packages/source/p/pep8-naming/pep8-naming-0.10.0.tar.gz"
+ pypi = "pep8-naming/pep8-naming-0.10.0.tar.gz"
version('0.10.0', sha256='f3b4a5f9dd72b991bf7d8e2a341d2e1aa3a884a769b5aaac4f56825c1763bf3a')
version('0.7.0', sha256='624258e0dd06ef32a9daf3c36cc925ff7314da7233209c5b01f7e5cdd3c34826')
diff --git a/var/spack/repos/builtin/packages/py-pep8/package.py b/var/spack/repos/builtin/packages/py-pep8/package.py
index d1eaa13470..fdd6d1f92a 100644
--- a/var/spack/repos/builtin/packages/py-pep8/package.py
+++ b/var/spack/repos/builtin/packages/py-pep8/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,9 +10,7 @@ class PyPep8(PythonPackage):
"""Python style guide checker (deprecated, use py-pycodestyle instead)."""
homepage = "https://pep8.readthedocs.org/"
- url = "https://pypi.io/packages/source/p/pep8/pep8-1.7.1.tar.gz"
-
- import_modules = ['pep8']
+ pypi = "pep8/pep8-1.7.1.tar.gz"
version('1.7.1', sha256='fe249b52e20498e59e0b5c5256aa52ee99fc295b26ec9eaa85776ffdb9fe6374')
diff --git a/var/spack/repos/builtin/packages/py-performance/package.py b/var/spack/repos/builtin/packages/py-performance/package.py
index 41c12556d3..1fe0a2472d 100644
--- a/var/spack/repos/builtin/packages/py-performance/package.py
+++ b/var/spack/repos/builtin/packages/py-performance/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-periodictable/package.py b/var/spack/repos/builtin/packages/py-periodictable/package.py
index 253a808c0b..0e48f6fa70 100644
--- a/var/spack/repos/builtin/packages/py-periodictable/package.py
+++ b/var/spack/repos/builtin/packages/py-periodictable/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,7 @@ class PyPeriodictable(PythonPackage):
"""nose extends the test loading and running features of unittest,
making it easier to write, find and run tests."""
- homepage = "https://pypi.python.org/pypi/periodictable"
- url = "https://pypi.io/packages/source/p/periodictable/periodictable-1.4.1.tar.gz"
+ pypi = "periodictable/periodictable-1.4.1.tar.gz"
version('1.5.0', sha256='b020c04c6765d21903e4604a76ca33cda98677003fe6eb48ed3690cfb03253b2')
version('1.4.1', sha256='f42e66f6efca33caec4f27dad8d6a6d4e59da147ecf5adfce152cb84e7bd160b')
diff --git a/var/spack/repos/builtin/packages/py-petastorm/package.py b/var/spack/repos/builtin/packages/py-petastorm/package.py
index 2c6cc5e34f..a7dcca0ba1 100644
--- a/var/spack/repos/builtin/packages/py-petastorm/package.py
+++ b/var/spack/repos/builtin/packages/py-petastorm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,12 +9,13 @@ class PyPetastorm(PythonPackage):
Tensorflow, Pytorch, and other Python-based ML training frameworks."""
homepage = "https://github.com/uber/petastorm"
- url = "https://pypi.io/packages/source/p/petastorm/petastorm-0.8.2.tar.gz"
+ pypi = "petastorm/petastorm-0.8.2.tar.gz"
maintainers = ['adamjstewart']
-
+ version('0.9.8', sha256='66009b7ad3f08b0485a748f12b2095a0d2470e04f0c63de43cd5b099f270c268')
version('0.8.2', sha256='7782c315e1ee8d15c7741e3eea41e77b9efce661cf58aa0220a801db64f52f91')
+ depends_on('python@3:', when='@0.9.8:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
depends_on('py-dill@0.2.1:', type=('build', 'run'))
depends_on('py-diskcache@3.0.0:', type=('build', 'run'))
@@ -26,5 +27,6 @@ class PyPetastorm(PythonPackage):
depends_on('py-psutil@4.0.0:', type=('build', 'run'))
depends_on('py-pyspark@2.1.0:', type=('build', 'run'))
depends_on('py-pyzmq@14.0.0:', type=('build', 'run'))
- depends_on('py-pyarrow@0.12.0:', type=('build', 'run'))
+ depends_on('py-pyarrow@0.12.0:', type=('build', 'run'), when='@:0.8.2')
+ depends_on('py-pyarrow@0.17.1:', type=('build', 'run'), when='@0.9.8:')
depends_on('py-six@1.5.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-petsc4py/ldshared-dev.patch b/var/spack/repos/builtin/packages/py-petsc4py/ldshared-dev.patch
new file mode 100644
index 0000000000..46a403d1ff
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-petsc4py/ldshared-dev.patch
@@ -0,0 +1,13 @@
+diff --git a/src/binding/petsc4py/conf/baseconf.py b/src/binding/petsc4py/conf/baseconf.py
+index 8a2466a5bd..73c08b923a 100644
+--- a/src/binding/petsc4py/conf/baseconf.py
++++ b/src/binding/petsc4py/conf/baseconf.py
+@@ -211,7 +211,7 @@ class PetscConfig:
+ ldshared = getenv('LDSHARED', ldshared)
+ ldflags = getenv('LDFLAGS', cflags + ' ' + (ldflags or ''))
+ ldcmd = split_quoted(ld) + split_quoted(ldflags)
+- ldshared = [flg for flg in split_quoted(ldshared) if flg not in ldcmd]
++ ldshared = [flg for flg in split_quoted(ldshared) if flg not in ldcmd and (flg.find('/lib/spack/env')<0)]
+ ldshared = str.join(' ', ldshared)
+ #
+ def get_flags(cmd):
diff --git a/var/spack/repos/builtin/packages/py-petsc4py/ldshared.patch b/var/spack/repos/builtin/packages/py-petsc4py/ldshared.patch
new file mode 100644
index 0000000000..026a48722e
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-petsc4py/ldshared.patch
@@ -0,0 +1,13 @@
+diff --git a/conf/baseconf.py b/conf/baseconf.py
+index 8a2466a5bd..73c08b923a 100644
+--- a/conf/baseconf.py
++++ b/conf/baseconf.py
+@@ -211,7 +211,7 @@ class PetscConfig:
+ ldshared = getenv('LDSHARED', ldshared)
+ ldflags = getenv('LDFLAGS', cflags + ' ' + (ldflags or ''))
+ ldcmd = split_quoted(ld) + split_quoted(ldflags)
+- ldshared = [flg for flg in split_quoted(ldshared) if flg not in ldcmd]
++ ldshared = [flg for flg in split_quoted(ldshared) if flg not in ldcmd and (flg.find('/lib/spack/env')<0)]
+ ldshared = str.join(' ', ldshared)
+ #
+ def get_flags(cmd):
diff --git a/var/spack/repos/builtin/packages/py-petsc4py/package.py b/var/spack/repos/builtin/packages/py-petsc4py/package.py
index f9d1d09f42..ba25eebf12 100644
--- a/var/spack/repos/builtin/packages/py-petsc4py/package.py
+++ b/var/spack/repos/builtin/packages/py-petsc4py/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,12 +11,13 @@ class PyPetsc4py(PythonPackage):
"""
homepage = "https://gitlab.com/petsc/petsc4py"
- url = "https://pypi.io/packages/source/p/petsc4py/petsc4py-3.14.0.tar.gz"
- git = "https://gitlab.com/petsc/petsc4py.git"
+ pypi = "petsc4py/petsc4py-3.14.0.tar.gz"
+ git = "https://gitlab.com/petsc/petsc.git"
maintainers = ['dalcinl', 'balay']
version('develop', branch='master')
+ version('3.14.1', sha256='f5f8daf3a4cd1dfc945876b0d83a05b25f3c54e08046312eaa3e3036b24139c0')
version('3.14.0', sha256='33ac9fb55a541e4c1deabd6e2144da96d5ae70e70c830a55de558000cf3f0ec5')
version('3.13.0', sha256='0e11679353c0c2938336a3c8d1a439b853e20d3bccd7d614ad1dbea3ec5cb31f')
version('3.12.0', sha256='4c94a1dbbf244b249436b266ac5fa4e67080d205420805deab5ec162b979df8d')
@@ -31,6 +32,9 @@ class PyPetsc4py(PythonPackage):
variant('mpi', default=True, description='Activates MPI support')
+ patch('ldshared.patch', when='@:99')
+ patch('ldshared-dev.patch', when='@develop')
+
depends_on('py-cython', type='build', when='@develop')
depends_on('python@2.6:2.8,3.3:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
@@ -40,7 +44,8 @@ class PyPetsc4py(PythonPackage):
depends_on('petsc+mpi', when='+mpi')
depends_on('petsc~mpi', when='~mpi')
depends_on('petsc@develop', when='@develop')
- depends_on('petsc@3.14:3.14.99', when='@3.14:3.14.99')
+ depends_on('petsc@3.14.2:3.14.99', when='@3.14.1:3.14.99')
+ depends_on('petsc@3.14.0:3.14.1', when='@3.14.0')
depends_on('petsc@3.13:3.13.99', when='@3.13:3.13.99')
depends_on('petsc@3.12:3.12.99', when='@3.12:3.12.99')
depends_on('petsc@3.11:3.11.99', when='@3.11:3.11.99')
@@ -50,3 +55,11 @@ class PyPetsc4py(PythonPackage):
depends_on('petsc@3.8:3.8.99', when='@3.8:3.8.99')
depends_on('petsc@3.7:3.7.99', when='@3.7:3.7.99')
depends_on('petsc@3.6:3.6.99', when='@3.6:3.6.99')
+
+ @property
+ def build_directory(self):
+ import os
+ if self.spec.satisfies('@develop'):
+ return os.path.join(self.stage.source_path, 'src', 'binding', 'petsc4py')
+ else:
+ return self.stage.source_path
diff --git a/var/spack/repos/builtin/packages/py-pexpect/package.py b/var/spack/repos/builtin/packages/py-pexpect/package.py
index 174edadffc..431219bf4e 100644
--- a/var/spack/repos/builtin/packages/py-pexpect/package.py
+++ b/var/spack/repos/builtin/packages/py-pexpect/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,8 +8,7 @@ from spack import *
class PyPexpect(PythonPackage):
"""Pexpect allows easy control of interactive console applications."""
- homepage = "https://pypi.python.org/pypi/pexpect"
- url = "https://pypi.io/packages/source/p/pexpect/pexpect-4.2.1.tar.gz"
+ pypi = "pexpect/pexpect-4.2.1.tar.gz"
version('4.7.0', sha256='9e2c1fd0e6ee3a49b28f95d4b33bc389c89b20af6a1255906e90ff1262ce62eb')
version('4.6.0', sha256='2a8e88259839571d1251d278476f3eec5db26deb73a70be5ed5dc5435e418aba')
diff --git a/var/spack/repos/builtin/packages/py-phonenumbers/package.py b/var/spack/repos/builtin/packages/py-phonenumbers/package.py
new file mode 100644
index 0000000000..c614550f2a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-phonenumbers/package.py
@@ -0,0 +1,22 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+from spack import *
+
+
+class PyPhonenumbers(PythonPackage):
+ """Python version of Google's common library for parsing, formatting
+ and validating international phone numbers."""
+
+ homepage = "https://github.com/daviddrysdale/python-phonenumbers"
+ pypi = "phonenumbers/phonenumbers-8.12.16.tar.gz"
+
+ version('8.12.16', sha256='a820ab08c980ef24a2d2a1ead4f8d7016fdf008e484d1aecf7ff0b32cc475e16')
+ version('8.12.15', sha256='b734bfcf33e87ddae72196a40b3d1af35abd0beb263816ae18e1bff612926406')
+ version('8.12.14', sha256='58817072cf2b80fcc8710e7a2c395cd32fce2b70a259e36ff81916862f578d61')
+
+ depends_on('python@2.5:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
diff --git a/var/spack/repos/builtin/packages/py-phonopy/package.py b/var/spack/repos/builtin/packages/py-phonopy/package.py
index f297faf44d..35e064e641 100644
--- a/var/spack/repos/builtin/packages/py-phonopy/package.py
+++ b/var/spack/repos/builtin/packages/py-phonopy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-pickleshare/package.py b/var/spack/repos/builtin/packages/py-pickleshare/package.py
index 3e1b7b6f01..050f3b0ee4 100644
--- a/var/spack/repos/builtin/packages/py-pickleshare/package.py
+++ b/var/spack/repos/builtin/packages/py-pickleshare/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyPickleshare(PythonPackage):
"""Tiny 'shelve'-like database with concurrency support"""
- homepage = "https://pypi.python.org/pypi/pickleshare"
- url = "https://pypi.io/packages/source/p/pickleshare/pickleshare-0.7.4.tar.gz"
+ pypi = "pickleshare/pickleshare-0.7.4.tar.gz"
version('0.7.5', sha256='87683d47965c1da65cdacaf31c8441d12b8044cdec9aca500cd78fc2c683afca')
version('0.7.4', sha256='84a9257227dfdd6fe1b4be1319096c20eb85ff1e82c7932f36efccfe1b09737b')
diff --git a/var/spack/repos/builtin/packages/py-picrust/package.py b/var/spack/repos/builtin/packages/py-picrust/package.py
index e346e5b012..3db338577f 100644
--- a/var/spack/repos/builtin/packages/py-picrust/package.py
+++ b/var/spack/repos/builtin/packages/py-picrust/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-picrust2/package.py b/var/spack/repos/builtin/packages/py-picrust2/package.py
new file mode 100644
index 0000000000..fb897bc257
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-picrust2/package.py
@@ -0,0 +1,26 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyPicrust2(PythonPackage):
+ """PICRUSt2 is a software for predicting functional
+ abundances based only on marker gene sequences."""
+
+ homepage = "https://github.com/picrust/picrust2"
+ url = "https://github.com/picrust/picrust2/archive/v2.3.0-b.tar.gz"
+
+ maintainers = ['dorton21']
+
+ version('2.3.0-b', sha256='ac12c372bc263e750d9101eca0cd0e57de37089b661fa1a13caf5a544d293737')
+ version('2.2.0-b', sha256='c41e1f487b33179f4aecede50cfd8b652aa3cef2ea1ae5fd022f531c7d549097')
+ version('2.1.4-b', sha256='f781eb323914979b6d3bca088a5152f085f53e6e38f1c3be94b35f99fc1db2d8')
+
+ depends_on('py-setuptools', type=('build'))
+ depends_on('py-numpy', type=('build', 'run'))
+ depends_on('py-h5py', type=('build', 'run'))
+ depends_on('py-joblib', type=('build', 'run'))
+ depends_on('py-biom-format', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-pid/package.py b/var/spack/repos/builtin/packages/py-pid/package.py
index b9b20428a9..5ab1f6a3da 100644
--- a/var/spack/repos/builtin/packages/py-pid/package.py
+++ b/var/spack/repos/builtin/packages/py-pid/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPid(PythonPackage):
"""Pidfile featuring stale detection and file-locking, can also be
used as context-manager or decorator."""
- homepage = "https://pypi.org/project/pid/"
+ homepage = "https://github.com/trbs/pid/"
url = "https://github.com/trbs/pid/archive/3.0.3.tar.gz"
version('3.0.3', sha256='082281e2f6b99b4aaa02a24ae4796c604ac17f19cdd0327b8c1ba9c2e73aadc8')
diff --git a/var/spack/repos/builtin/packages/py-pil/package.py b/var/spack/repos/builtin/packages/py-pil/package.py
index 0fd20fdb4c..6f429f83b5 100644
--- a/var/spack/repos/builtin/packages/py-pil/package.py
+++ b/var/spack/repos/builtin/packages/py-pil/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-pillow-simd/package.py b/var/spack/repos/builtin/packages/py-pillow-simd/package.py
index f1f6939d4c..5298685150 100644
--- a/var/spack/repos/builtin/packages/py-pillow-simd/package.py
+++ b/var/spack/repos/builtin/packages/py-pillow-simd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class PyPillowSimd(PyPillowBase):
# See https://github.com/spack/spack/pull/15566
_name = 'py-pillow-simd'
homepage = "https://github.com/uploadcare/pillow-simd"
- url = "https://pypi.io/packages/source/P/Pillow-SIMD/Pillow-SIMD-7.0.0.post3.tar.gz"
+ pypi = "Pillow-SIMD/Pillow-SIMD-7.0.0.post3.tar.gz"
version('7.0.0.post3', sha256='c27907af0e7ede1ceed281719e722e7dbf3e1dbfe561373978654a6b64896cb7')
version('6.2.2.post1', sha256='d29b673ac80091797f1e8334458be307e4ac4ab871b0e495cfe56cb7b1d7704e')
diff --git a/var/spack/repos/builtin/packages/py-pillow/package.py b/var/spack/repos/builtin/packages/py-pillow/package.py
index 5ff2621c2d..4388a6d8dd 100644
--- a/var/spack/repos/builtin/packages/py-pillow/package.py
+++ b/var/spack/repos/builtin/packages/py-pillow/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,6 @@ class PyPillowBase(PythonPackage):
"""Base class for Pillow and its fork Pillow-SIMD."""
maintainers = ['adamjstewart']
- import_modules = ['PIL']
provides('pil')
@@ -36,9 +35,6 @@ class PyPillowBase(PythonPackage):
depends_on('python@2.6:2.8,3.2:3.5', when='@2:3', type=('build', 'run'))
depends_on('python@2.4:2.7', when='@:1', type=('build', 'run'))
depends_on('py-setuptools', type='build')
- depends_on('py-pytest', type='test')
- depends_on('py-pytest-runner', type='test')
- depends_on('imagemagick', type='test')
# Optional dependencies
depends_on('zlib', when='+zlib')
@@ -98,8 +94,6 @@ class PyPillowBase(PythonPackage):
env.set('MAX_CONCURRENCY', str(make_jobs))
# Tests need to be re-added since `phases` was overridden
- run_after('build_ext')(
- PythonPackage._run_default_build_time_test_callbacks)
run_after('install')(
PythonPackage._run_default_install_time_test_callbacks)
run_after('install')(PythonPackage.sanity_check_prefix)
@@ -112,7 +106,7 @@ class PyPillow(PyPillowBase):
capabilities."""
homepage = "https://python-pillow.org/"
- url = "https://pypi.io/packages/source/P/Pillow/Pillow-7.2.0.tar.gz"
+ pypi = "Pillow/Pillow-7.2.0.tar.gz"
version('8.0.0', sha256='59304c67d12394815331eda95ec892bf54ad95e0aa7bc1ccd8e0a4a5a25d4bf3')
version('7.2.0', sha256='97f9e7953a77d5a70f49b9a48da7776dc51e9b738151b22dacf101641594a626')
diff --git a/var/spack/repos/builtin/packages/py-pint/package.py b/var/spack/repos/builtin/packages/py-pint/package.py
index fd2736f7c6..3a31aa86a5 100644
--- a/var/spack/repos/builtin/packages/py-pint/package.py
+++ b/var/spack/repos/builtin/packages/py-pint/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,8 +12,7 @@ class PyPint(PythonPackage):
It allows arithmetic operations between them and conversions from and
to different units."""
- homepage = "https://pypi.org/project/Pint"
- url = "https://pypi.io/packages/source/p/pint/Pint-0.11.tar.gz"
+ pypi = "pint/Pint-0.11.tar.gz"
version('0.11', sha256='308f1070500e102f83b6adfca6db53debfce2ffc5d3cbe3f6c367da359b5cf4d')
version('0.10.1', sha256='d739c364b8326fe3d70773d5720fa8b005ea6158695cad042677a588480c86e6')
diff --git a/var/spack/repos/builtin/packages/py-pip/package.py b/var/spack/repos/builtin/packages/py-pip/package.py
index ed5171411c..06c2ac05c7 100644
--- a/var/spack/repos/builtin/packages/py-pip/package.py
+++ b/var/spack/repos/builtin/packages/py-pip/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPip(PythonPackage):
"""The PyPA recommended tool for installing Python packages."""
homepage = "https://pip.pypa.io/"
- url = "https://pypi.io/packages/source/p/pip/pip-20.2.tar.gz"
+ pypi = "pip/pip-20.2.tar.gz"
version('20.2', sha256='912935eb20ea6a3b5ed5810dde9754fde5563f5ca9be44a8a6e5da806ade970b')
version('19.3', sha256='324d234b8f6124846b4e390df255cacbe09ce22791c3b714aa1ea6e44a4f2861')
diff --git a/var/spack/repos/builtin/packages/py-pipits/package.py b/var/spack/repos/builtin/packages/py-pipits/package.py
index f1a4067f8d..36b550aa3d 100644
--- a/var/spack/repos/builtin/packages/py-pipits/package.py
+++ b/var/spack/repos/builtin/packages/py-pipits/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-pispino/package.py b/var/spack/repos/builtin/packages/py-pispino/package.py
index c216c220a5..bf282e2576 100644
--- a/var/spack/repos/builtin/packages/py-pispino/package.py
+++ b/var/spack/repos/builtin/packages/py-pispino/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-pkgconfig/package.py b/var/spack/repos/builtin/packages/py-pkgconfig/package.py
index f519422138..199ead0819 100644
--- a/var/spack/repos/builtin/packages/py-pkgconfig/package.py
+++ b/var/spack/repos/builtin/packages/py-pkgconfig/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPkgconfig(PythonPackage):
"""Interface Python with pkg-config."""
homepage = "http://github.com/matze/pkgconfig"
- url = "https://pypi.io/packages/source/p/pkgconfig/pkgconfig-1.2.2.tar.gz"
+ pypi = "pkgconfig/pkgconfig-1.2.2.tar.gz"
version('1.5.1', sha256='97bfe3d981bab675d5ea3ef259045d7919c93897db7d3b59d4e8593cba8d354f')
version('1.4.0', sha256='048c3b457da7b6f686b647ab10bf09e2250e4c50acfe6f215398a8b5e6fcdb52')
@@ -19,7 +19,4 @@ class PyPkgconfig(PythonPackage):
depends_on('python@2.6:2.8,3.3:', type=('build', 'run'))
depends_on('python@2.7:2.8,3.3:', when='@1.5:', type=('build', 'run'))
depends_on('py-setuptools', when='@:1.4', type=('build', 'run'))
-
depends_on('pkgconfig', type=('build', 'run'))
-
- depends_on('py-nose@1.0:', type=('build', 'test'))
diff --git a/var/spack/repos/builtin/packages/py-pkginfo/package.py b/var/spack/repos/builtin/packages/py-pkginfo/package.py
index ed00f37a5d..7d6efa869e 100644
--- a/var/spack/repos/builtin/packages/py-pkginfo/package.py
+++ b/var/spack/repos/builtin/packages/py-pkginfo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,10 +10,8 @@ class PyPkginfo(PythonPackage):
"""Query metadatdata from sdists / bdists / installed packages."""
homepage = "https://code.launchpad.net/~tseaver/pkginfo/trunk"
- url = "https://pypi.io/packages/source/p/pkginfo/pkginfo-1.5.0.1.tar.gz"
+ pypi = "pkginfo/pkginfo-1.5.0.1.tar.gz"
version('1.5.0.1', sha256='7424f2c8511c186cd5424bbf31045b77435b37a8d604990b79d4e70d741148bb')
depends_on('py-setuptools', type=('build', 'run'))
- depends_on('py-nose', type='test')
- depends_on('py-coverage', type='test')
diff --git a/var/spack/repos/builtin/packages/py-plac/package.py b/var/spack/repos/builtin/packages/py-plac/package.py
index 18d18cf5dd..746e8ead71 100644
--- a/var/spack/repos/builtin/packages/py-plac/package.py
+++ b/var/spack/repos/builtin/packages/py-plac/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyPlac(PythonPackage):
"""The smartest command line arguments parser in the world."""
homepage = "https://github.com/micheles/plac"
- url = "https://pypi.io/packages/source/p/plac/plac-1.1.3.tar.gz"
+ pypi = "plac/plac-1.1.3.tar.gz"
version('1.1.3', sha256='398cb947c60c4c25e275e1f1dadf027e7096858fb260b8ece3b33bcff90d985f')
diff --git a/var/spack/repos/builtin/packages/py-planar/package.py b/var/spack/repos/builtin/packages/py-planar/package.py
index b01737828f..ac3cedffd6 100644
--- a/var/spack/repos/builtin/packages/py-planar/package.py
+++ b/var/spack/repos/builtin/packages/py-planar/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,6 +10,6 @@ class PyPlanar(PythonPackage):
"""2D planar geometry library for Python."""
homepage = "https://bitbucket.org/caseman/planar/src/default/"
- url = "https://pypi.io/packages/source/p/planar/planar-0.4.zip"
+ pypi = "planar/planar-0.4.zip"
version('0.4', sha256='cbfb9cbae8b0e296e6e7e3552b7d685c7ed5cae295b7a61f2b2b096b231dad76')
diff --git a/var/spack/repos/builtin/packages/py-planet/package.py b/var/spack/repos/builtin/packages/py-planet/package.py
index 89b888097e..5f0c89b1fe 100644
--- a/var/spack/repos/builtin/packages/py-planet/package.py
+++ b/var/spack/repos/builtin/packages/py-planet/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,13 +10,10 @@ class PyPlanet(PythonPackage):
"""Python client library and CLI for Planet's public API"""
homepage = "https://github.com/planetlabs/planet-client-python"
- url = "https://pypi.io/packages/source/p/planet/planet-1.4.6.tar.gz"
+ pypi = "planet/planet-1.4.6.tar.gz"
version('1.4.6', sha256='43ff6a765f465302f500aaf65b81a46ac6aad7bb42899e4a7543bdc293d4ca0d')
depends_on('py-setuptools', type='build')
- depends_on('py-mock', type='test')
- depends_on('py-pytest', type='test')
- depends_on('py-requests-mock', type='test')
depends_on('py-click', type=('build', 'run'))
depends_on('py-requests', type=('build', 'run'))
depends_on('py-requests-futures@0.9.7', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-plotly/package.py b/var/spack/repos/builtin/packages/py-plotly/package.py
index 7a62596eea..24666f278f 100644
--- a/var/spack/repos/builtin/packages/py-plotly/package.py
+++ b/var/spack/repos/builtin/packages/py-plotly/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPlotly(PythonPackage):
"""An interactive, browser-based graphing library for Python"""
homepage = "https://plot.ly/python/"
- url = "https://pypi.io/packages/source/p/plotly/plotly-2.2.0.tar.gz"
+ pypi = "plotly/plotly-2.2.0.tar.gz"
version('2.2.0', sha256='ca668911ffb4d11fed6d7fbb12236f8ecc6a7209db192326bcb64bdb41451a58')
diff --git a/var/spack/repos/builtin/packages/py-pluggy/package.py b/var/spack/repos/builtin/packages/py-pluggy/package.py
index 1e2fb3f2bd..c9b3ba7064 100644
--- a/var/spack/repos/builtin/packages/py-pluggy/package.py
+++ b/var/spack/repos/builtin/packages/py-pluggy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,9 +10,7 @@ class PyPluggy(PythonPackage):
"""Plugin and hook calling mechanisms for python."""
homepage = "https://github.com/pytest-dev/pluggy"
- url = "https://pypi.io/packages/source/p/pluggy/pluggy-0.13.0.tar.gz"
-
- import_modules = ['pluggy']
+ pypi = "pluggy/pluggy-0.13.0.tar.gz"
version('0.13.0', sha256='fa5fa1622fa6dd5c030e9cad086fa19ef6a0cf6d7a2d12318e10cb49d6d68f34')
version('0.12.0', sha256='0825a152ac059776623854c1543d65a4ad408eb3d33ee114dff91e57ec6ae6fc')
diff --git a/var/spack/repos/builtin/packages/py-ply/package.py b/var/spack/repos/builtin/packages/py-ply/package.py
index 6149a4f9de..b187f50833 100644
--- a/var/spack/repos/builtin/packages/py-ply/package.py
+++ b/var/spack/repos/builtin/packages/py-ply/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-pmw/package.py b/var/spack/repos/builtin/packages/py-pmw/package.py
index 3ccc11fef4..c553196f6c 100644
--- a/var/spack/repos/builtin/packages/py-pmw/package.py
+++ b/var/spack/repos/builtin/packages/py-pmw/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyPmw(PythonPackage):
"""Pmw is a toolkit for building high-level compound widgets, or
megawidgets, constructed using other widgets as component parts."""
- homepage = "https://pypi.python.org/pypi/Pmw"
- url = "https://pypi.io/packages/source/P/Pmw/Pmw-2.0.0.tar.gz"
+ pypi = "Pmw/Pmw-2.0.0.tar.gz"
version('2.0.1', sha256='0b9d28f52755a7a081b44591c3dd912054f896e56c9a627db4dd228306ad1120')
version('2.0.0', sha256='2babb2855feaabeea1003c6908b61c9d39cff606d418685f0559952714c680bb')
diff --git a/var/spack/repos/builtin/packages/py-pomegranate/package.py b/var/spack/repos/builtin/packages/py-pomegranate/package.py
index 91085ba554..14a97f842d 100644
--- a/var/spack/repos/builtin/packages/py-pomegranate/package.py
+++ b/var/spack/repos/builtin/packages/py-pomegranate/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPomegranate(PythonPackage):
"""Fast, flexible and easy to use probabilistic modelling in Python."""
homepage = "https://github.com/jmschrei/pomegranate"
- url = "https://pypi.io/packages/source/p/pomegranate/pomegranate-0.12.0.tar.gz"
+ pypi = "pomegranate/pomegranate-0.12.0.tar.gz"
version('0.12.0', sha256='8b00c88f7cf9cad8d38ea00ea5274821376fefb217a1128afe6b1fcac54c975a')
diff --git a/var/spack/repos/builtin/packages/py-portalocker/package.py b/var/spack/repos/builtin/packages/py-portalocker/package.py
index f4aa514550..84f964b4a7 100644
--- a/var/spack/repos/builtin/packages/py-portalocker/package.py
+++ b/var/spack/repos/builtin/packages/py-portalocker/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-portend/package.py b/var/spack/repos/builtin/packages/py-portend/package.py
index b039fb06aa..eb271ea4a6 100644
--- a/var/spack/repos/builtin/packages/py-portend/package.py
+++ b/var/spack/repos/builtin/packages/py-portend/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPortend(PythonPackage):
"""TCP port monitoring and discovery """
homepage = "https://github.com/jaraco/portend"
- url = "https://pypi.io/packages/source/p/portend/portend-2.5.tar.gz"
+ pypi = "portend/portend-2.5.tar.gz"
version(
'2.5', sha256='19dc27bfb3c72471bd30a235a4d5fbefef8a7e31cab367744b5d87a205e7bfd9')
diff --git a/var/spack/repos/builtin/packages/py-poster/package.py b/var/spack/repos/builtin/packages/py-poster/package.py
index a5fde5f22d..36b90fde28 100644
--- a/var/spack/repos/builtin/packages/py-poster/package.py
+++ b/var/spack/repos/builtin/packages/py-poster/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ from spack import *
class PyPoster(PythonPackage):
"""Streaming HTTP uploads and multipart/form-data encoding."""
- homepage = "https://pypi.org/project/poster/"
+ homepage = "https://atlee.ca/software/poster"
url = "https://atlee.ca/software/poster/dist/0.8.1/poster-0.8.1.tar.gz"
version('0.8.1', sha256='af5bf45da4a916db2b638cffd9e9d6668b33020e2b8ca9f864db79b49331c6ff')
diff --git a/var/spack/repos/builtin/packages/py-pox/package.py b/var/spack/repos/builtin/packages/py-pox/package.py
index 5ab43df6b4..ca2debbd75 100644
--- a/var/spack/repos/builtin/packages/py-pox/package.py
+++ b/var/spack/repos/builtin/packages/py-pox/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPox(PythonPackage):
"""Utilities for filesystem exploration and automated builds."""
homepage = "https://github.com/uqfoundation/pox"
- url = "https://pypi.io/packages/source/p/pox/pox-0.2.5.tar.gz"
+ pypi = "pox/pox-0.2.5.tar.gz"
version('0.2.5', sha256='2b53fbdf02596240483dc2cb94f94cc21252ad1b1858c7b1c151afeec9022cc8')
version('0.2.3', sha256='d3e8167a1ebe08ae56262a0b9359118d90bc4648cd284b5d10ae240343100a75')
diff --git a/var/spack/repos/builtin/packages/py-poyo/package.py b/var/spack/repos/builtin/packages/py-poyo/package.py
index a1be8b682f..5e21bf855d 100644
--- a/var/spack/repos/builtin/packages/py-poyo/package.py
+++ b/var/spack/repos/builtin/packages/py-poyo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-ppft/package.py b/var/spack/repos/builtin/packages/py-ppft/package.py
index 810d61c315..b59359b1d6 100644
--- a/var/spack/repos/builtin/packages/py-ppft/package.py
+++ b/var/spack/repos/builtin/packages/py-ppft/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPpft(PythonPackage):
"""Distributed and parallel python """
homepage = "https://github.com/uqfoundation/ppft"
- url = "https://pypi.io/packages/source/p/ppft/ppft-1.6.4.9.tar.gz"
+ pypi = "ppft/ppft-1.6.4.9.tar.gz"
version('1.6.4.9', sha256='5537b00afb7b247da0f59cc57ee5680178be61c8b2e21b5a0672b70a3d247791')
version('1.6.4.7.1', sha256='f94b26491b4a36adc975fc51dba7568089a24756007a3a4ef3414a98d7337651')
diff --git a/var/spack/repos/builtin/packages/py-pre-commit/package.py b/var/spack/repos/builtin/packages/py-pre-commit/package.py
index 5a6c381118..502f2adabd 100644
--- a/var/spack/repos/builtin/packages/py-pre-commit/package.py
+++ b/var/spack/repos/builtin/packages/py-pre-commit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyPreCommit(PythonPackage):
hooks."""
homepage = "https://github.com/pre-commit/pre-commit"
- url = "https://pypi.io/packages/source/p/pre_commit/pre_commit-1.20.0.tar.gz"
+ pypi = "pre_commit/pre_commit-1.20.0.tar.gz"
version('1.20.0', sha256='9f152687127ec90642a2cc3e4d9e1e6240c4eb153615cb02aa1ad41d331cbb6e')
diff --git a/var/spack/repos/builtin/packages/py-preshed/package.py b/var/spack/repos/builtin/packages/py-preshed/package.py
index cb8cc2ed10..27c70ec90e 100644
--- a/var/spack/repos/builtin/packages/py-preshed/package.py
+++ b/var/spack/repos/builtin/packages/py-preshed/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,11 +8,10 @@ class PyPreshed(PythonPackage):
"""preshed: Cython Hash Table for Pre-Hashed Keys."""
homepage = "https://github.com/explosion/preshed"
- url = "https://pypi.io/packages/source/p/preshed/preshed-3.0.2.tar.gz"
+ pypi = "preshed/preshed-3.0.2.tar.gz"
version('3.0.2', sha256='61d73468c97c1d6d5a048de0b01d5a6fd052123358aca4823cdb277e436436cb')
depends_on('py-setuptools', type='build')
depends_on('py-cymem@2.0.2:2.0.999', type=('build', 'run'))
depends_on('py-murmurhash@0.28:1.0', type=('build', 'run'))
- depends_on('py-pytest', type='test')
diff --git a/var/spack/repos/builtin/packages/py-prettytable/package.py b/var/spack/repos/builtin/packages/py-prettytable/package.py
index b2969b6e1f..cad349dc3e 100644
--- a/var/spack/repos/builtin/packages/py-prettytable/package.py
+++ b/var/spack/repos/builtin/packages/py-prettytable/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class PyPrettytable(PythonPackage):
"""
homepage = "https://code.google.com/archive/p/prettytable/"
- url = "https://pypi.io/packages/source/p/prettytable/prettytable-0.7.2.tar.gz"
+ pypi = "prettytable/prettytable-0.7.2.tar.gz"
version('0.7.2', sha256='2d5460dc9db74a32bcc8f9f67de68b2c4f4d2f01fa3bd518764c69156d9cacd9')
diff --git a/var/spack/repos/builtin/packages/py-profilehooks/package.py b/var/spack/repos/builtin/packages/py-profilehooks/package.py
index 47b52a455c..af77a67391 100644
--- a/var/spack/repos/builtin/packages/py-profilehooks/package.py
+++ b/var/spack/repos/builtin/packages/py-profilehooks/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyProfilehooks(PythonPackage):
"""Python decorators for profiling/tracing/timing a single function"""
homepage = "https://mg.pov.lt/profilehooks/"
- url = "https://pypi.io/packages/source/p/profilehooks/profilehooks-1.11.2.tar.gz"
+ pypi = "profilehooks/profilehooks-1.11.2.tar.gz"
git = "https://github.com/mgedmin/profilehooks.git"
diff --git a/var/spack/repos/builtin/packages/py-proglog/package.py b/var/spack/repos/builtin/packages/py-proglog/package.py
new file mode 100644
index 0000000000..9a57f8d5ed
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-proglog/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyProglog(PythonPackage):
+ """Proglog is a progress logging system for Python. It
+ allows to build complex libraries while giving the user
+ control on the management of logs, callbacks and progress
+ bars."""
+
+ homepage = "https://pypi.org/project/proglog/"
+ pypi = "proglog/proglog-0.1.9.tar.gz"
+
+ version('0.1.9', sha256='d8c4ccbf2138e0c5e3f3fc0d80dc51d7e69dcfe8bfde4cacb566725092a5b18d')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-tqdm', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-progress/package.py b/var/spack/repos/builtin/packages/py-progress/package.py
index cff57e9f77..0e0be1a15c 100644
--- a/var/spack/repos/builtin/packages/py-progress/package.py
+++ b/var/spack/repos/builtin/packages/py-progress/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyProgress(PythonPackage):
"""Easy progress reporting for Python"""
homepage = "https://github.com/verigak/progress/"
- url = "https://pypi.io/packages/source/p/progress/progress-1.4.tar.gz"
+ pypi = "progress/progress-1.4.tar.gz"
version('1.4', sha256='5e2f9da88ed8236a76fffbee3ceefd259589cf42dfbc2cec2877102189fae58a')
diff --git a/var/spack/repos/builtin/packages/py-progressbar2/package.py b/var/spack/repos/builtin/packages/py-progressbar2/package.py
index 196d303591..b64ab06dff 100644
--- a/var/spack/repos/builtin/packages/py-progressbar2/package.py
+++ b/var/spack/repos/builtin/packages/py-progressbar2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyProgressbar2(PythonPackage):
"""A progress bar for Python 2 and Python 3"""
homepage = "https://github.com/WoLpH/python-progressbar"
- url = "https://pypi.io/packages/source/p/progressbar2/progressbar2-3.50.1.tar.gz"
+ pypi = "progressbar2/progressbar2-3.50.1.tar.gz"
version('3.50.1', sha256='2c21c14482016162852c8265da03886c2b4dea6f84e5a817ad9b39f6bd82a772')
version('3.39.3', sha256='8e5b5419e04193bb7c3fea71579937bbbcd64c26472b929718c2fe7ec420fe39')
diff --git a/var/spack/repos/builtin/packages/py-projectq/package.py b/var/spack/repos/builtin/packages/py-projectq/package.py
index d22a51584f..90e40d6f6f 100644
--- a/var/spack/repos/builtin/packages/py-projectq/package.py
+++ b/var/spack/repos/builtin/packages/py-projectq/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,11 +19,6 @@ class PyProjectq(PythonPackage):
homepage = "https://projectq.ch"
git = "https://github.com/projectq-framework/projectq.git"
- # Provided python modules
- import_modules = ['projectq', 'projectq.backends', 'projectq.cengines',
- 'projectq.libs', 'projectq.meta', 'projectq.ops',
- 'projectq.setups', 'projectq.types']
-
# Versions
version('develop', branch='develop')
version('0.3.6', commit='fa484fe037a3a1772127bbd00fe4628ddba34611')
@@ -33,7 +28,6 @@ class PyProjectq(PythonPackage):
depends_on('py-numpy', type=('build', 'run'))
depends_on('py-scipy', type=('build', 'run'))
depends_on('py-future', type=('build', 'run'))
- depends_on('py-pytest@3.1.0:', type=('test'))
depends_on('py-requests', type=('build', 'run'))
# conflict with pybind11@2.2.0 -> see requirements.txt
depends_on('py-pybind11@1.7:2.1,2.2.1:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-prometheus-client/package.py b/var/spack/repos/builtin/packages/py-prometheus-client/package.py
index 86733359cf..9bd8df3a64 100644
--- a/var/spack/repos/builtin/packages/py-prometheus-client/package.py
+++ b/var/spack/repos/builtin/packages/py-prometheus-client/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyPrometheusClient(PythonPackage):
"""Prometheus instrumentation library for Python applications."""
- homepage = "https://pypi.org/project/prometheus_client/"
- url = "https://pypi.io/packages/source/p/prometheus_client/prometheus_client-0.7.1.tar.gz"
+ pypi = "prometheus_client/prometheus_client-0.7.1.tar.gz"
version('0.7.1', sha256='71cd24a2b3eb335cb800c7159f423df1bd4dcd5171b234be15e3f31ec9f622da')
version('0.7.0', sha256='ee0c90350595e4a9f36591f291e6f9933246ea67d7cd7d1d6139a9781b14eaae')
@@ -20,3 +19,15 @@ class PyPrometheusClient(PythonPackage):
depends_on('py-setuptools', type='build')
depends_on('py-twisted', type=('build', 'run'), when='+twisted')
+
+ @property
+ def import_modules(self):
+ modules = [
+ 'prometheus_client', 'prometheus_client.openmetrics',
+ 'prometheus_client.bridge'
+ ]
+
+ if '+twisted' in self.spec:
+ modules.append('prometheus_client.twisted')
+
+ return modules
diff --git a/var/spack/repos/builtin/packages/py-prompt-toolkit/package.py b/var/spack/repos/builtin/packages/py-prompt-toolkit/package.py
index ea23b23181..e8825c1a23 100644
--- a/var/spack/repos/builtin/packages/py-prompt-toolkit/package.py
+++ b/var/spack/repos/builtin/packages/py-prompt-toolkit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,14 +9,17 @@ from spack import *
class PyPromptToolkit(PythonPackage):
"""Library for building powerful interactive command lines in Python"""
- homepage = "https://pypi.python.org/pypi/prompt_toolkit"
- url = "https://pypi.io/packages/source/p/prompt_toolkit/prompt_toolkit-1.0.9.tar.gz"
+ pypi = "prompt_toolkit/prompt_toolkit-1.0.9.tar.gz"
+ version('3.0.16', sha256='0fa02fa80363844a4ab4b8d6891f62dd0645ba672723130423ca4037b80c1974')
version('3.0.7', sha256='822f4605f28f7d2ba6b0b09a31e25e140871e96364d1d377667b547bb3bf4489')
+ version('2.0.10', sha256='f15af68f66e664eaa559d4ac8a928111eebd5feda0c11738b5998045224829db')
version('2.0.9', sha256='2519ad1d8038fd5fc8e770362237ad0364d16a7650fb5724af6997ed5515e3c1')
version('1.0.16', sha256='c1cedd626e08b8ee830ee65897de754113ff3f3035880030c08b01674d85c5b4')
version('1.0.9', sha256='cd6523b36adc174cc10d54b1193eb626b4268609ff6ea92c15bcf1996609599c')
+ depends_on('python@3.6.1:', when='@3:', type=('build', 'run'))
+ depends_on('python@2.6:2.8,3.3:', when='@:2.999', type=('build', 'run'))
depends_on('py-setuptools', type='build')
- depends_on('py-six@1.9.0:', type=('build', 'run'))
+ depends_on('py-six@1.9.0:', when='@:2.999', type=('build', 'run'))
depends_on('py-wcwidth', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-protobuf/package.py b/var/spack/repos/builtin/packages/py-protobuf/package.py
index 4876832dcf..4ad2b3a331 100644
--- a/var/spack/repos/builtin/packages/py-protobuf/package.py
+++ b/var/spack/repos/builtin/packages/py-protobuf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,7 +15,7 @@ class PyProtobuf(PythonPackage):
and using a variety of languages."""
homepage = 'https://developers.google.com/protocol-buffers/'
- url = 'https://pypi.io/packages/source/p/protobuf/protobuf-3.11.0.tar.gz'
+ pypi = 'protobuf/protobuf-3.11.0.tar.gz'
variant('cpp', default=False,
description='Enable the cpp implementation')
@@ -58,6 +58,11 @@ class PyProtobuf(PythonPackage):
return '.'
@when('+cpp')
+ def setup_build_environment(self, env):
+ protobuf_dir = self.spec['protobuf'].libs.directories[0]
+ env.prepend_path('LIBRARY_PATH', protobuf_dir)
+
+ @when('+cpp')
def build_args(self, spec, prefix):
return ['--cpp_implementation']
diff --git a/var/spack/repos/builtin/packages/py-psutil/package.py b/var/spack/repos/builtin/packages/py-psutil/package.py
index ba64a0e0eb..0684f430e3 100644
--- a/var/spack/repos/builtin/packages/py-psutil/package.py
+++ b/var/spack/repos/builtin/packages/py-psutil/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,8 +11,7 @@ class PyPsutil(PythonPackage):
running processes and system utilization (CPU, memory, disks, network)
in Python."""
- homepage = "https://pypi.python.org/pypi/psutil"
- url = "https://pypi.io/packages/source/p/psutil/psutil-5.6.3.tar.gz"
+ pypi = "psutil/psutil-5.6.3.tar.gz"
version('5.7.2', sha256='90990af1c3c67195c44c9a889184f84f5b2320dce3ee3acbd054e3ba0b4a7beb')
version('5.6.3', sha256='863a85c1c0a5103a12c05a35e59d336e1d665747e531256e061213e2e90f63f3')
@@ -23,6 +22,3 @@ class PyPsutil(PythonPackage):
depends_on('python@2.6:2.8,3.4:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
- depends_on('py-unittest2', when='^python@:2.6', type='test')
- depends_on('py-mock', when='^python@:2.7', type='test')
- depends_on('py-ipaddress', when='^python@:3.2', type='test')
diff --git a/var/spack/repos/builtin/packages/py-psyclone/package.py b/var/spack/repos/builtin/packages/py-psyclone/package.py
index 0a1510677c..c3c6d766ca 100644
--- a/var/spack/repos/builtin/packages/py-psyclone/package.py
+++ b/var/spack/repos/builtin/packages/py-psyclone/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-psycopg2/package.py b/var/spack/repos/builtin/packages/py-psycopg2/package.py
index ff478455fb..5f67ad7cae 100644
--- a/var/spack/repos/builtin/packages/py-psycopg2/package.py
+++ b/var/spack/repos/builtin/packages/py-psycopg2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-ptyprocess/package.py b/var/spack/repos/builtin/packages/py-ptyprocess/package.py
index 2e8c3cd5c6..7fa5f0bbb0 100644
--- a/var/spack/repos/builtin/packages/py-ptyprocess/package.py
+++ b/var/spack/repos/builtin/packages/py-ptyprocess/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyPtyprocess(PythonPackage):
"""Run a subprocess in a pseudo terminal"""
- homepage = "https://pypi.python.org/pypi/ptyprocess"
- url = "https://pypi.io/packages/source/p/ptyprocess/ptyprocess-0.5.1.tar.gz"
+ pypi = "ptyprocess/ptyprocess-0.5.1.tar.gz"
version('0.6.0', sha256='923f299cc5ad920c68f2bc0bc98b75b9f838b93b599941a6b63ddbc2476394c0')
version('0.5.1', sha256='0530ce63a9295bfae7bd06edc02b6aa935619f486f0f1dc0972f516265ee81a6')
diff --git a/var/spack/repos/builtin/packages/py-pudb/package.py b/var/spack/repos/builtin/packages/py-pudb/package.py
index 4d7b43b7f0..d9c49a06dd 100644
--- a/var/spack/repos/builtin/packages/py-pudb/package.py
+++ b/var/spack/repos/builtin/packages/py-pudb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyPudb(PythonPackage):
"""Full-screen console debugger for Python"""
homepage = "http://mathema.tician.de/software/pudb"
- url = "https://pypi.io/packages/source/p/pudb/pudb-2017.1.1.tar.gz"
+ pypi = "pudb/pudb-2017.1.1.tar.gz"
version('2017.1.1', sha256='87117640902c5f602c8517d0167eb5c953a5bdede97975ba29ff17e3d570442c')
version('2016.2', sha256='e958d7f7b1771cf297714e95054075df3b2a47455d7a740be4abbbd41289505a')
diff --git a/var/spack/repos/builtin/packages/py-pure-eval/package.py b/var/spack/repos/builtin/packages/py-pure-eval/package.py
index 9fcf6b0746..40d9d9315a 100644
--- a/var/spack/repos/builtin/packages/py-pure-eval/package.py
+++ b/var/spack/repos/builtin/packages/py-pure-eval/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-pure-sasl/package.py b/var/spack/repos/builtin/packages/py-pure-sasl/package.py
index 81149d3889..845fda74b6 100644
--- a/var/spack/repos/builtin/packages/py-pure-sasl/package.py
+++ b/var/spack/repos/builtin/packages/py-pure-sasl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyPureSasl(PythonPackage):
DIGEST-MD5, and GSSAPI are provided."""
homepage = "http://github.com/thobbs/pure-sasl"
- url = "https://pypi.io/packages/source/p/pure-sasl/pure-sasl-0.6.2.tar.gz"
+ pypi = "pure-sasl/pure-sasl-0.6.2.tar.gz"
version('0.6.2', sha256='53c1355f5da95e2b85b2cc9a6af435518edc20c81193faa0eea65fdc835138f4')
diff --git a/var/spack/repos/builtin/packages/py-py-cpuinfo/package.py b/var/spack/repos/builtin/packages/py-py-cpuinfo/package.py
index 9e56235f18..b45c374057 100644
--- a/var/spack/repos/builtin/packages/py-py-cpuinfo/package.py
+++ b/var/spack/repos/builtin/packages/py-py-cpuinfo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPyCpuinfo(PythonPackage):
"""Get CPU info with pure Python 2 & 3"""
homepage = "https://github.com/workhorsy/py-cpuinfo"
- url = "https://pypi.io/packages/source/p/py-cpuinfo/py-cpuinfo-0.2.3.tar.gz"
+ pypi = "py-cpuinfo/py-cpuinfo-0.2.3.tar.gz"
version('0.2.3', sha256='f6a016fdbc4e7fadf2d519090fcb4fa9d0831bad4e85245d938e5c2fe7623ca6')
diff --git a/var/spack/repos/builtin/packages/py-py-spy/package.py b/var/spack/repos/builtin/packages/py-py-spy/package.py
index 63cd99dfe3..ec11a6a7ee 100644
--- a/var/spack/repos/builtin/packages/py-py-spy/package.py
+++ b/var/spack/repos/builtin/packages/py-py-spy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-py/package.py b/var/spack/repos/builtin/packages/py-py/package.py
index 995612d20a..f122e5cdb6 100644
--- a/var/spack/repos/builtin/packages/py-py/package.py
+++ b/var/spack/repos/builtin/packages/py-py/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,13 +10,10 @@ class PyPy(PythonPackage):
"""Library with cross-python path, ini-parsing, io, code, log facilities"""
homepage = "http://pylib.readthedocs.io/en/latest/"
- url = "https://pypi.io/packages/source/p/py/py-1.8.0.tar.gz"
-
- import_modules = [
- 'py', 'py._process', 'py._vendored_packages', 'py._path',
- 'py._log', 'py._code', 'py._io'
- ]
+ pypi = "py/py-1.8.0.tar.gz"
+ version('1.9.0', sha256='9ca6883ce56b4e8da7e79ac18787889fa5206c79dcc67fb065376cd2fe03f342')
+ version('1.8.2', sha256='f3b3a4c36512a4c4f024041ab51866f11761cc169670204b235f6b20523d4e6b')
version('1.8.0', sha256='dc639b046a6e2cff5bbe40194ad65936d6ba360b52b3c3fe1d08a82dd50b5e53')
version('1.5.4', sha256='3fd59af7435864e1a243790d322d763925431213b6b8529c6ca71081ace3bbf7')
version('1.5.3', sha256='29c9fab495d7528e80ba1e343b958684f4ace687327e6f789a94bf3d1915f881')
@@ -27,7 +24,3 @@ class PyPy(PythonPackage):
depends_on('py-setuptools', type='build')
depends_on('py-setuptools-scm', type='build')
-
- def build_test(self):
- # Tests require pytest, creating a circular dependency
- pass
diff --git a/var/spack/repos/builtin/packages/py-py2bit/package.py b/var/spack/repos/builtin/packages/py-py2bit/package.py
index 7df420e00d..4ec515541a 100644
--- a/var/spack/repos/builtin/packages/py-py2bit/package.py
+++ b/var/spack/repos/builtin/packages/py-py2bit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyPy2bit(PythonPackage):
"""A package for accessing 2bit files using lib2bit."""
- homepage = "https://pypi.python.org/pypi/py2bit"
- url = "https://pypi.io/packages/source/p/py2bit/py2bit-0.2.1.tar.gz"
+ pypi = "py2bit/py2bit-0.2.1.tar.gz"
version('0.2.1', sha256='34f7ac22be0eb4b5493063826bcc2016a78eb216bb7130890b50f3572926aeb1')
diff --git a/var/spack/repos/builtin/packages/py-py2cairo/package.py b/var/spack/repos/builtin/packages/py-py2cairo/package.py
index 5c492a9167..82d413398e 100644
--- a/var/spack/repos/builtin/packages/py-py2cairo/package.py
+++ b/var/spack/repos/builtin/packages/py-py2cairo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -23,6 +23,8 @@ class PyPy2cairo(WafPackage):
depends_on('py-pytest', type='test')
+ @run_after('install')
+ @on_package_attributes(run_tests=True)
def install_test(self):
with working_dir('test'):
pytest = which('py.test')
diff --git a/var/spack/repos/builtin/packages/py-py2neo/package.py b/var/spack/repos/builtin/packages/py-py2neo/package.py
index 69e98d7b0b..7cbd6eae23 100644
--- a/var/spack/repos/builtin/packages/py-py2neo/package.py
+++ b/var/spack/repos/builtin/packages/py-py2neo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyPy2neo(PythonPackage):
within Python applications and from the command line."""
homepage = "http://py2neo.org/"
- url = "https://pypi.io/packages/source/p/py2neo/py2neo-2.0.8.tar.gz"
+ pypi = "py2neo/py2neo-2.0.8.tar.gz"
version('4.3.0', sha256='a218ccb4b636e3850faa6b74ebad80f00600217172a57f745cf223d38a219222')
version('2.0.8', sha256='06167f5a91a0d9b9b73431baacd876f2d507650a681fdce1fcf3b383a9b991c1')
diff --git a/var/spack/repos/builtin/packages/py-py4j/package.py b/var/spack/repos/builtin/packages/py-py4j/package.py
index e67f5a3ec7..8260ad5648 100644
--- a/var/spack/repos/builtin/packages/py-py4j/package.py
+++ b/var/spack/repos/builtin/packages/py-py4j/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,12 +11,14 @@ class PyPy4j(PythonPackage):
objects."""
homepage = "https://www.py4j.org/"
- url = "https://pypi.io/packages/source/p/py4j/py4j-0.10.4.zip"
+ pypi = "py4j/py4j-0.10.4.zip"
+ version('0.10.9',
+ url='https://files.pythonhosted.org/packages/10/ed/9dad8808c34bc5b0b1a44b13c0bddeea0c8df59956eb20ac2fecc373f322/py4j-0.10.9.tar.gz',
+ sha256='36ec57f43ff8ced260a18aa9a4e46c3500a730cac8860e259cbaa546c2b9db2f')
version('0.10.7', sha256='721189616b3a7d28212dfb2e7c6a1dd5147b03105f1fc37ff2432acd0e863fa5')
version('0.10.6', sha256='d3e7ac7c2171c290eba87e70aa5095b7eb6d6ad34789c007c88d550d9f575083')
version('0.10.4', sha256='406fbfdbcbbb398739f61fafd25724670a405a668eb08c1721d832eadce06aae')
version('0.10.3', sha256='f4570108ad014dd52a65c2288418e31cb8227b5ecc39ad7fc7fe98314f7a26f2')
depends_on('py-setuptools', type='build')
- depends_on('py-nose@1.3.7:', type='test')
diff --git a/var/spack/repos/builtin/packages/py-py6s/package.py b/var/spack/repos/builtin/packages/py-py6s/package.py
index 4afd65d000..c780284f62 100644
--- a/var/spack/repos/builtin/packages/py-py6s/package.py
+++ b/var/spack/repos/builtin/packages/py-py6s/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,7 +14,7 @@ class PyPy6s(PythonPackage):
"""
homepage = "http://py6s.rtwilson.com/"
- url = "https://pypi.io/packages/source/p/py6s/Py6S-1.8.0.tar.gz"
+ pypi = "py6s/Py6S-1.8.0.tar.gz"
version('1.8.0', sha256='256162d2f1f558e601d4f79022c037a0051838ba307b9f4d1f5fcf0b46a0c277')
diff --git a/var/spack/repos/builtin/packages/py-pyamg/package.py b/var/spack/repos/builtin/packages/py-pyamg/package.py
new file mode 100644
index 0000000000..24e0d7732c
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pyamg/package.py
@@ -0,0 +1,25 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyPyamg(PythonPackage):
+ """PyAMG is a library of Algebraic Multigrid (AMG) solvers with
+ a convenient Python interface."""
+
+ homepage = "https://github.com/pyamg/pyamg"
+ url = "https://github.com/pyamg/pyamg/archive/v4.0.0.zip"
+
+ # A list of GitHub accounts to notify when the package is updated.
+ maintainers = ['benc303']
+
+ version('4.0.0', sha256="015d5e706e6e54d3de82e05fdb173c30d8b27cb8a117ab584cd62ad41d9ea042")
+
+ # Dependencies. A generic python dependency is added implicity by the
+ # PythonPackage class.
+ depends_on("py-setuptools", type="build")
+ depends_on("py-numpy", type=("build", "run"))
+ depends_on("py-scipy", type=("build", "run"))
diff --git a/var/spack/repos/builtin/packages/py-pyani/package.py b/var/spack/repos/builtin/packages/py-pyani/package.py
index afa5fdf640..12f3518acc 100644
--- a/var/spack/repos/builtin/packages/py-pyani/package.py
+++ b/var/spack/repos/builtin/packages/py-pyani/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,7 +14,7 @@ class PyPyani(PythonPackage):
with SGE/OGE-type job schedulers for the sequence comparisons."""
homepage = "http://widdowquinn.github.io/pyani"
- url = "https://pypi.io/packages/source/p/pyani/pyani-0.2.7.tar.gz"
+ pypi = "pyani/pyani-0.2.7.tar.gz"
version('0.2.7', sha256='dbc6c71c46fbbfeced3f8237b84474221268b51170caf044bec8559987a7deb9')
version('0.2.6', sha256='e9d899bccfefaabe7bfa17d48eef9c713d321d2d15465f7328c8984807c3dd8d')
diff --git a/var/spack/repos/builtin/packages/py-pyarrow/for_aarch64.patch b/var/spack/repos/builtin/packages/py-pyarrow/for_aarch64.patch
new file mode 100644
index 0000000000..b269aa09a6
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pyarrow/for_aarch64.patch
@@ -0,0 +1,14 @@
+--- spack-src/CMakeLists.txt.bak 2020-05-14 19:42:00.000000000 +0900
++++ spack-src/CMakeLists.txt 2020-12-11 14:02:52.645857641 +0900
+@@ -97,6 +97,11 @@
+ # Cython generated code emits way to many warnings at CHECKIN and EVERYTHING
+ set(BUILD_WARNING_LEVEL "PRODUCTION")
+
++# This must be synchronized with the definition in
++# cmake_modules/DefineOptions.cmake.
++set(ARROW_ARMV8_ARCH
++ "armv8-a"
++ CACHE STRING "Arm64 arch and extensions: armv8-a, armv8-a or armv8-a+crc+crypto")
+ include(SetupCxxFlags)
+
+ # Add common flags
diff --git a/var/spack/repos/builtin/packages/py-pyarrow/package.py b/var/spack/repos/builtin/packages/py-pyarrow/package.py
index 8e4514b8f3..212b5a5eed 100644
--- a/var/spack/repos/builtin/packages/py-pyarrow/package.py
+++ b/var/spack/repos/builtin/packages/py-pyarrow/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class PyPyarrow(PythonPackage, CudaPackage):
"""
homepage = "https://arrow.apache.org"
- url = 'https://pypi.io/packages/source/p/pyarrow/pyarrow-0.17.1.tar.gz'
+ pypi = 'pyarrow/pyarrow-0.17.1.tar.gz'
version('0.17.1', sha256='278d11800c2e0f9bea6314ef718b2368b4046ba24b6c631c14edad5a1d351e49')
version('0.15.1', sha256='7ad074690ba38313067bf3bbda1258966d38e2037c035d08b9ffe3cce07747a5')
@@ -31,11 +31,6 @@ class PyPyarrow(PythonPackage, CudaPackage):
depends_on('py-setuptools-scm', type='build', when='@0.15.0:')
depends_on('py-cython', type='build')
depends_on('py-cython@0.29:', type='build', when='@0.15.0:')
- depends_on('py-pytest-runner', type='test', when='@0.17:')
- depends_on('py-pytest', type='test', when='@0.15.0:')
- depends_on('py-pandas', type='test', when='@0.15.0:')
- depends_on('py-hypothesis', type='test', when='@0.15.0:')
- depends_on('py-pathlib2', type='test', when='@0.15.0: ^python@:3.3.99')
depends_on('py-numpy@1.14:', type=('build', 'run'), when='@0.15.0:')
depends_on('py-six@1.0.0:', type=('build', 'run'), when='@0.15.0:')
depends_on('py-futures', type=('build', 'run'), when='@0.15.0:^python@:3.1.99')
@@ -49,6 +44,8 @@ class PyPyarrow(PythonPackage, CudaPackage):
phases = ['build_ext', 'install']
+ patch('for_aarch64.patch', when='target=aarch64:')
+
def build_ext_args(self, spec, prefix):
args = []
if spec.satisfies('+parquet'):
diff --git a/var/spack/repos/builtin/packages/py-pyasn1-modules/package.py b/var/spack/repos/builtin/packages/py-pyasn1-modules/package.py
index 649d0e367e..e1d4fa7c96 100644
--- a/var/spack/repos/builtin/packages/py-pyasn1-modules/package.py
+++ b/var/spack/repos/builtin/packages/py-pyasn1-modules/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyPyasn1Modules(PythonPackage):
structures (X.509, PKCS etc.)."""
homepage = "https://github.com/etingof/pyasn1-modules"
- url = "https://pypi.io/packages/source/p/pyasn1-modules/pyasn1-modules-0.2.6.tar.gz"
+ pypi = "pyasn1-modules/pyasn1-modules-0.2.6.tar.gz"
version('0.2.6', sha256='43c17a83c155229839cc5c6b868e8d0c6041dba149789b6d6e28801c64821722')
version('0.2.5', sha256='ef721f68f7951fab9b0404d42590f479e30d9005daccb1699b0a51bb4177db96')
diff --git a/var/spack/repos/builtin/packages/py-pyasn1/package.py b/var/spack/repos/builtin/packages/py-pyasn1/package.py
index ea95f32844..7b982c014d 100644
--- a/var/spack/repos/builtin/packages/py-pyasn1/package.py
+++ b/var/spack/repos/builtin/packages/py-pyasn1/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyPyasn1(PythonPackage):
(X.208)."""
homepage = "https://github.com/etingof/pyasn1"
- url = "https://pypi.io/packages/source/p/pyasn1/pyasn1-0.4.6.tar.gz"
+ pypi = "pyasn1/pyasn1-0.4.6.tar.gz"
version('0.4.6', sha256='b773d5c9196ffbc3a1e13bdf909d446cad80a039aa3340bcad72f395b76ebc86')
version('0.4.5', sha256='da2420fe13a9452d8ae97a0e478adde1dee153b11ba832a95b223a2ba01c10f7')
diff --git a/var/spack/repos/builtin/packages/py-pybedtools/package.py b/var/spack/repos/builtin/packages/py-pybedtools/package.py
index fc8e0fe7c7..f309f9109b 100644
--- a/var/spack/repos/builtin/packages/py-pybedtools/package.py
+++ b/var/spack/repos/builtin/packages/py-pybedtools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,12 +12,24 @@ class PyPybedtools(PythonPackage):
homepage = "http://daler.github.io/pybedtools"
url = "https://github.com/daler/pybedtools/archive/v0.6.9.tar.gz"
- version('0.6.9', sha256='2639e80917999e76572017fd93757e8d7ceb384f0b92647ccfdd23a0d60def7c')
+ version('0.8.0', sha256='f0d9f24135d13d6d02d5c0d1bded771848d3642b00a2d3c3d86b2a1fcd5ce532')
+ version('0.7.10', sha256='bc81c1655e998d8090d852f109925fc7fd3dad3ff90371cf80807dd4438a826a')
+ version('0.7.9', sha256='49cdb62b81bb6bf28fecf6fc9519aa31e333d150347ca4ce2d2cd2aa5ec2ca57')
+ version('0.7.8', sha256='0d49d92ba6d6cec85956cc4f947c9f431dc30aeea05125643a1b8786a59dc402')
+ version('0.7.7', sha256='e4f87da5009928046ac233d2c8a7c2121820aa6d74de45922ec1405464c62862')
+ version('0.7.6', sha256='639880a45ef60bd10d4ed31e6e7f7e901a6dbd909373df8f63f5aeccde446754')
+ version('0.7.5', sha256='ef221c38281cb9be1e8014d6513f6fd9b2722306a70e4ac2484d0d7034bc5b03')
+ version('0.7.4', sha256='39172a31c59ccf355fcff885f652cdc825341cabbab4ba78ac03862c42caa9da')
+ version('0.7.3', sha256='ba6875297116b776cb1eb79ddb9fe24db9cbee8f6922940f84984d533ef9000b')
+ version('0.7.2', sha256='0d0a80a42667742d53b1ef1947f4645dc16b060c7aacb4721c48f8028cc33c5e')
+ version('0.6.9', sha256='2639e80917999e76572017fd93757e8d7ceb384f0b92647ccfdd23a0d60def7c')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-cython', type='build')
depends_on('bedtools2', type='run')
- depends_on('py-cython', type=('build', 'run'))
- depends_on('py-pysam', type=('build', 'run'))
+
+ depends_on('py-numpy', type=('build', 'run'))
depends_on('py-pandas', type=('build', 'run'))
+ depends_on('py-pysam', type=('build', 'run'))
depends_on('py-six', type=('build', 'run'))
- depends_on('py-numpy', type=('build', 'run'))
- depends_on('py-setuptools', type='build')
diff --git a/var/spack/repos/builtin/packages/py-pybigwig/package.py b/var/spack/repos/builtin/packages/py-pybigwig/package.py
index 41f6ee7ffa..1a4e198097 100644
--- a/var/spack/repos/builtin/packages/py-pybigwig/package.py
+++ b/var/spack/repos/builtin/packages/py-pybigwig/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyPybigwig(PythonPackage):
"""A package for accessing bigWig files using libBigWig."""
- homepage = "https://pypi.python.org/pypi/pyBigWig"
- url = "https://pypi.io/packages/source/p/pyBigWig/pyBigWig-0.3.4.tar.gz"
+ pypi = "pyBigWig/pyBigWig-0.3.4.tar.gz"
version('0.3.12', sha256='e01991790ece496bf6d3f00778dcfb136dd9ca0fd28acc1b3fb43051ad9b8403')
version('0.3.4', sha256='8c97a19218023190041c0e426f1544f7a4944a7bb4568faca1d85f1975af9ee2')
diff --git a/var/spack/repos/builtin/packages/py-pybind11/package.py b/var/spack/repos/builtin/packages/py-pybind11/package.py
index 1c07734e6f..718d7b2c61 100644
--- a/var/spack/repos/builtin/packages/py-pybind11/package.py
+++ b/var/spack/repos/builtin/packages/py-pybind11/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -24,7 +24,8 @@ class PyPybind11(CMakePackage):
maintainers = ['ax3l']
version('master', branch='master')
- version('2.5.0', sha256='97504db65640570f32d3fdf701c25a340c8643037c3b69aec469c10c93dc8504')
+ version('2.6.1', sha256='cdbe326d357f18b83d10322ba202d69f11b2f49e2d87ade0dc2be0c5c34f8e2a')
+ version('2.5.0', sha256='97504db65640570f32d3fdf701c25a340c8643037c3b69aec469c10c93dc8504', preferred=True)
version('2.4.3', sha256='1eed57bc6863190e35637290f97a20c81cfe4d9090ac0a24f3bbf08f265eb71d')
version('2.3.0', sha256='0f34838f2c8024a6765168227ba587b3687729ebf03dc912f88ff75c7aa9cfe8')
version('2.2.4', sha256='b69e83658513215b8d1443544d0549b7d231b9f201f6fc787a2b2218b408181e')
@@ -35,7 +36,6 @@ class PyPybind11(CMakePackage):
version('2.1.1', sha256='f2c6874f1ea5b4ad4ffffe352413f7d2cd1a49f9050940805c2a082348621540')
version('2.1.0', sha256='2860f2b8d0c9f65f0698289a161385f59d099b7ead1bf64e8993c486f2b93ee0')
- depends_on('py-pytest', type='test')
depends_on('py-setuptools', type='build')
extends('python')
diff --git a/var/spack/repos/builtin/packages/py-pybtex-docutils/package.py b/var/spack/repos/builtin/packages/py-pybtex-docutils/package.py
index ba93a2a994..25d78a99c7 100644
--- a/var/spack/repos/builtin/packages/py-pybtex-docutils/package.py
+++ b/var/spack/repos/builtin/packages/py-pybtex-docutils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,13 +9,12 @@ from spack import *
class PyPybtexDocutils(PythonPackage):
"""A docutils backend for pybtex."""
- homepage = "https://pypi.python.org/pypi/pybtex-docutils/"
- url = "https://pypi.io/packages/source/p/pybtex-docutils/pybtex-docutils-0.2.1.tar.gz"
-
- import_modules = ['pybtex_docutils']
+ pypi = "pybtex-docutils/pybtex-docutils-0.2.1.tar.gz"
+ version('0.2.2', sha256='ea90935da188a0f4de2fe6b32930e185c33a0e306154322ccc12e519ebb5fa7d')
version('0.2.1', sha256='e4b075641c1d68a3e98a6d73ad3d029293fcf9e0773512315ef9c8482f251337')
+ depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
depends_on('py-docutils@0.8:', type=('build', 'run'))
depends_on('py-pybtex@0.16:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-pybtex/package.py b/var/spack/repos/builtin/packages/py-pybtex/package.py
index 56bfb42a50..980393ae07 100644
--- a/var/spack/repos/builtin/packages/py-pybtex/package.py
+++ b/var/spack/repos/builtin/packages/py-pybtex/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,19 +12,7 @@ class PyPybtex(PythonPackage):
Python."""
homepage = "https://pybtex.org"
- url = "https://pypi.io/packages/source/P/Pybtex/pybtex-0.21.tar.gz"
-
- import_modules = [
- 'custom_fixers', 'pybtex', 'pybtex.style', 'pybtex.tests',
- 'pybtex.database', 'pybtex.backends', 'pybtex.bibtex',
- 'pybtex.charwidths', 'pybtex.markup', 'pybtex.plugin',
- 'pybtex.style.sorting', 'pybtex.style.names',
- 'pybtex.style.labels', 'pybtex.style.formatting',
- 'pybtex.tests.database_test', 'pybtex.tests.bst_parser_test',
- 'pybtex.tests.data', 'pybtex.database.output',
- 'pybtex.database.input', 'pybtex.database.format',
- 'pybtex.database.convert'
- ]
+ pypi = "Pybtex/pybtex-0.21.tar.gz"
version('0.21', sha256='af8a6c7c74954ad305553b118d2757f68bc77c5dd5d5de2cc1fd16db90046000')
diff --git a/var/spack/repos/builtin/packages/py-pycairo/package.py b/var/spack/repos/builtin/packages/py-pycairo/package.py
index a8838cfa19..6575945cb0 100644
--- a/var/spack/repos/builtin/packages/py-pycairo/package.py
+++ b/var/spack/repos/builtin/packages/py-pycairo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,16 +11,19 @@ class PyPycairo(PythonPackage):
"""Pycairo is a set of Python bindings for the cairo graphics library."""
homepage = "https://www.cairographics.org/pycairo/"
- url = "https://pypi.io/packages/source/p/pycairo/pycairo-1.17.1.tar.gz"
+ pypi = "pycairo/pycairo-1.17.1.tar.gz"
+ version('1.20.0', sha256='5695a10cb7f9ae0d01f665b56602a845b0a8cb17e2123bfece10c2e58552468c')
version('1.18.1', sha256='70172e58b6bad7572a3518c26729b074acdde15e6fee6cbab6d3528ad552b786')
version('1.17.1', sha256='0f0a35ec923d87bc495f6753b1e540fd046d95db56a35250c44089fbce03b698')
- depends_on('cairo@1.13.1:')
+ depends_on('cairo@1.15.10: +pdf', when='@1.20.0:')
+ depends_on('cairo@1.13.1: +pdf', when='@:1.18.1')
depends_on('pkgconfig', type='build')
depends_on('py-setuptools', type='build')
depends_on('python@2.7:2.8,3.3:', when='@:1.17.1', type=('build', 'run'))
- depends_on('python@2.7:2.8,3.4:', when='@1.18.1:', type=('build', 'run'))
+ depends_on('python@2.7:2.8,3.4:3.7.999', when='@1.18.1:1.19.999', type=('build', 'run'))
+ depends_on('python@3.6:3.999', when='@1.20.0:', type=('build', 'run'))
@run_after('install')
def post_install(self):
diff --git a/var/spack/repos/builtin/packages/py-pycares/package.py b/var/spack/repos/builtin/packages/py-pycares/package.py
index c782f719b4..96f899802d 100644
--- a/var/spack/repos/builtin/packages/py-pycares/package.py
+++ b/var/spack/repos/builtin/packages/py-pycares/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-pycbc/package.py b/var/spack/repos/builtin/packages/py-pycbc/package.py
index d315133885..6f8b4dd64c 100644
--- a/var/spack/repos/builtin/packages/py-pycbc/package.py
+++ b/var/spack/repos/builtin/packages/py-pycbc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,7 +15,7 @@ class PyPycbc(PythonPackage):
the flagship analysis of LIGO and Virgo data."""
homepage = "https://pycbc.org/"
- url = "https://pypi.io/packages/source/P/PyCBC/PyCBC-1.14.1.tar.gz"
+ pypi = "PyCBC/PyCBC-1.14.1.tar.gz"
version('1.14.1', sha256='4b0a309cb6209837aaebbd691413a286dd7200ccf4b977ffed1462a65ac35dc0')
diff --git a/var/spack/repos/builtin/packages/py-pychecker/package.py b/var/spack/repos/builtin/packages/py-pychecker/package.py
index 04e06a50fc..6e94a041de 100644
--- a/var/spack/repos/builtin/packages/py-pychecker/package.py
+++ b/var/spack/repos/builtin/packages/py-pychecker/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-pycifrw/package.py b/var/spack/repos/builtin/packages/py-pycifrw/package.py
index c16a3b2894..0b38275ec2 100644
--- a/var/spack/repos/builtin/packages/py-pycifrw/package.py
+++ b/var/spack/repos/builtin/packages/py-pycifrw/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyPycifrw(PythonPackage):
Framework (CIF) files."""
homepage = "https://bitbucket.org/jamesrhester/pycifrw/src/development/"
- url = "https://pypi.io/packages/source/P/PyCifRW/PyCifRW-4.4.1.tar.gz"
+ pypi = "PyCifRW/PyCifRW-4.4.1.tar.gz"
version('4.4.1', sha256='cef7662f475e0eb78a55c2d55774d474e888c96b0539e5f08550afa902cdc4e1')
diff --git a/var/spack/repos/builtin/packages/py-pycmd/package.py b/var/spack/repos/builtin/packages/py-pycmd/package.py
index 791852e95b..620fce5c12 100644
--- a/var/spack/repos/builtin/packages/py-pycmd/package.py
+++ b/var/spack/repos/builtin/packages/py-pycmd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,7 @@ class PyPycmd(PythonPackage):
"""pycmd is a collection of command line tools for helping with Python
development."""
- homepage = "https://pypi.org/project/pycmd/"
- url = "https://pypi.io/packages/source/p/pycmd/pycmd-1.2.tar.gz"
+ pypi = "pycmd/pycmd-1.2.tar.gz"
version('1.2', sha256='adc1976c0106919e9338db20102b91009256dcfec924a66928d7297026f72477')
diff --git a/var/spack/repos/builtin/packages/py-pycodestyle/package.py b/var/spack/repos/builtin/packages/py-pycodestyle/package.py
index 48e833ec2f..d9bb3ced5d 100644
--- a/var/spack/repos/builtin/packages/py-pycodestyle/package.py
+++ b/var/spack/repos/builtin/packages/py-pycodestyle/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-pycosat/package.py b/var/spack/repos/builtin/packages/py-pycosat/package.py
index ac10891cef..94bb571b2f 100644
--- a/var/spack/repos/builtin/packages/py-pycosat/package.py
+++ b/var/spack/repos/builtin/packages/py-pycosat/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,6 +15,6 @@ class PyPycosat(PythonPackage):
extracted from the picosat source (picosat-965.tar.gz)."""
homepage = "https://github.com/ContinuumIO/pycosat"
- url = "https://pypi.io/packages/source/p/pycosat/pycosat-0.6.3.zip"
+ pypi = "pycosat/pycosat-0.6.3.zip"
version('0.6.3', sha256='4c99874946a7e939bb941bbb019dd2c20e6068e3107c91366e7779c69d70e0ed')
diff --git a/var/spack/repos/builtin/packages/py-pycparser/package.py b/var/spack/repos/builtin/packages/py-pycparser/package.py
index 6d8c217e91..035b432ad6 100644
--- a/var/spack/repos/builtin/packages/py-pycparser/package.py
+++ b/var/spack/repos/builtin/packages/py-pycparser/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,9 +10,7 @@ class PyPycparser(PythonPackage):
"""A complete parser of the C language, written in pure python."""
homepage = "https://github.com/eliben/pycparser"
- url = "https://pypi.io/packages/source/p/pycparser/pycparser-2.19.tar.gz"
-
- import_modules = ['pycparser', 'pycparser.ply']
+ pypi = "pycparser/pycparser-2.19.tar.gz"
version('2.20', sha256='2d475327684562c3a96cc71adf7dc8c4f0565175cf86b6d7a404ff4c771f15f0')
version('2.19', sha256='a988718abfad80b6b157acce7bf130a30876d27603738ac39f140993246b25b3')
diff --git a/var/spack/repos/builtin/packages/py-pycrypto/package.py b/var/spack/repos/builtin/packages/py-pycrypto/package.py
index 4de3bca71f..245095f711 100644
--- a/var/spack/repos/builtin/packages/py-pycrypto/package.py
+++ b/var/spack/repos/builtin/packages/py-pycrypto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyPycrypto(PythonPackage):
"""The Python Cryptography Toolkit"""
homepage = "https://www.dlitz.net/software/pycrypto/"
- url = "https://pypi.io/packages/source/p/pycrypto/pycrypto-2.6.1.tar.gz"
+ pypi = "pycrypto/pycrypto-2.6.1.tar.gz"
version('2.6.1', sha256='f2ce1e989b272cfcb677616763e0a2e7ec659effa67a88aa92b3a65528f60a3c')
diff --git a/var/spack/repos/builtin/packages/py-pycuda/package.py b/var/spack/repos/builtin/packages/py-pycuda/package.py
index a5f2153d9d..154a0d2d47 100644
--- a/var/spack/repos/builtin/packages/py-pycuda/package.py
+++ b/var/spack/repos/builtin/packages/py-pycuda/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyPycuda(PythonPackage):
"""
homepage = "https://mathema.tician.de/software/pycuda/"
- url = "https://pypi.io/packages/source/p/pycuda/pycuda-2019.1.2.tar.gz"
+ pypi = "pycuda/pycuda-2019.1.2.tar.gz"
version('2019.1.2', sha256='ada56ce98a41f9f95fe18809f38afbae473a5c62d346cfa126a2d5477f24cc8a')
version('2016.1.2', sha256='a7dbdac7e2f0c0d2ad98f5f281d5a9d29d6673b3c20210e261b96e9a2d0b6e37')
@@ -27,5 +27,3 @@ class PyPycuda(PythonPackage):
depends_on('py-mako', type='run')
depends_on('cuda@:8.0.61', when='@2016.1.2')
-
- depends_on('py-pytest@2:', type='test')
diff --git a/var/spack/repos/builtin/packages/py-pycurl/package.py b/var/spack/repos/builtin/packages/py-pycurl/package.py
index ba23c5238a..b82974139b 100644
--- a/var/spack/repos/builtin/packages/py-pycurl/package.py
+++ b/var/spack/repos/builtin/packages/py-pycurl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyPycurl(PythonPackage):
objects identified by a URL from a Python program."""
homepage = "http://pycurl.io/"
- url = "https://pypi.io/packages/source/p/pycurl/pycurl-7.43.0.tar.gz"
+ pypi = "pycurl/pycurl-7.43.0.tar.gz"
version('7.43.0', sha256='aa975c19b79b6aa6c0518c0cc2ae33528900478f0b500531dbcdbf05beec584c')
diff --git a/var/spack/repos/builtin/packages/py-pydatalog/package.py b/var/spack/repos/builtin/packages/py-pydatalog/package.py
index 41b6a26993..fe8f253105 100644
--- a/var/spack/repos/builtin/packages/py-pydatalog/package.py
+++ b/var/spack/repos/builtin/packages/py-pydatalog/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,6 @@ from spack import *
class PyPydatalog(PythonPackage):
"""pyDatalog adds logic programming to Python."""
- homepage = 'https://pypi.python.org/pypi/pyDatalog/'
- url = 'https://pypi.io/packages/source/p/pyDatalog/pyDatalog-0.17.1.zip'
+ pypi = 'pyDatalog/pyDatalog-0.17.1.zip'
version('0.17.1', sha256='b3d9cff0b9431e0fd0b2d5eefe4414c3d3c20bd18fdd7d1b42b2f01f25bac808')
diff --git a/var/spack/repos/builtin/packages/py-pydeps/package.py b/var/spack/repos/builtin/packages/py-pydeps/package.py
index 65eafb46cd..b56662392c 100644
--- a/var/spack/repos/builtin/packages/py-pydeps/package.py
+++ b/var/spack/repos/builtin/packages/py-pydeps/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,8 +7,7 @@
class PyPydeps(PythonPackage):
"""Python module dependency visualization."""
- homepage = "https://pypi.python.org/project/pydeps"
- url = "https://pypi.io/packages/source/p/pydeps/pydeps-1.7.1.tar.gz"
+ pypi = "pydeps/pydeps-1.7.1.tar.gz"
version('1.9.0', sha256='ba9b8c7d72cb4dfd3f4dd6b8a250c240d15824850a415fd428f2660ed371361f')
version('1.7.1', sha256='7eeb8d0ec2713befe81dd0d15eac540e843b1daae13613df1c572528552d6340')
diff --git a/var/spack/repos/builtin/packages/py-pydispatcher/package.py b/var/spack/repos/builtin/packages/py-pydispatcher/package.py
index 8cb0218bd9..b344744e9f 100644
--- a/var/spack/repos/builtin/packages/py-pydispatcher/package.py
+++ b/var/spack/repos/builtin/packages/py-pydispatcher/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPydispatcher(PythonPackage):
"""Multi-producer-multi-consumer signal dispatching mechanism."""
homepage = "http://pydispatcher.sourceforge.net/"
- url = "https://pypi.io/packages/source/P/PyDispatcher/PyDispatcher-2.0.5.tar.gz"
+ pypi = "PyDispatcher/PyDispatcher-2.0.5.tar.gz"
version('2.0.5', sha256='5570069e1b1769af1fe481de6dd1d3a388492acddd2cdad7a3bde145615d5caf')
diff --git a/var/spack/repos/builtin/packages/py-pydmd/isuue-133.patch b/var/spack/repos/builtin/packages/py-pydmd/isuue-133.patch
new file mode 100644
index 0000000000..a7a55260ef
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pydmd/isuue-133.patch
@@ -0,0 +1,31 @@
+diff --git a/pydmd/dmdbase.py b/pydmd/dmdbase.py
+index 17f3662..778a6b8 100644
+--- a/pydmd/dmdbase.py
++++ b/pydmd/dmdbase.py
+@@ -201,7 +201,7 @@ class DMDBase(object):
+ else:
+ input_shapes = [np.asarray(x).shape for x in X]
+
+- if len(set(input_shapes)) is not 1:
++ if len(set(input_shapes)) != 1:
+ raise ValueError('Snapshots have not the same dimension.')
+
+ snapshots_shape = input_shapes[0]
+@@ -235,7 +235,7 @@ class DMDBase(object):
+ https://arxiv.org/pdf/1502.03854.pdf
+ """
+ # Do not perform tlsq
+- if tlsq_rank is 0:
++ if tlsq_rank == 0:
+ return X, Y
+
+ V = np.linalg.svd(np.append(X, Y, axis=0), full_matrices=False)[-1]
+@@ -269,7 +269,7 @@ class DMDBase(object):
+ U, s, V = np.linalg.svd(X, full_matrices=False)
+ V = V.conj().T
+
+- if svd_rank is 0:
++ if svd_rank == 0:
+ omega = lambda x: 0.56 * x ** 3 - 0.95 * x ** 2 + 1.82 * x + 1.43
+ beta = np.divide(*sorted(X.shape))
+ tau = np.median(s) * omega(beta)
diff --git a/var/spack/repos/builtin/packages/py-pydmd/package.py b/var/spack/repos/builtin/packages/py-pydmd/package.py
new file mode 100644
index 0000000000..cc0cee1185
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pydmd/package.py
@@ -0,0 +1,49 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyPydmd(PythonPackage):
+ """PyDMD is a Python package that uses Dynamic Mode Decomposition
+ for a data-driven model simplification based on spatiotemporal
+ coherent structures."""
+
+ homepage = "https://mathlab.github.io/PyDMD/"
+ url = "https://github.com/mathLab/PyDMD/archive/v0.3.tar.gz"
+
+ version('0.3', sha256='f490fc139677e4d9fc1240636a2c5992d22879517c9574d13164dc5179b0f785')
+
+ variant('docs', default=False, description='Build HTML documentation')
+
+ depends_on('python@3:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-numpy', type=('build', 'run'))
+ depends_on('py-scipy', type=('build', 'run'))
+ depends_on('py-matplotlib', type=('build', 'run'))
+ depends_on('py-future', type=('build', 'run'))
+ depends_on('py-nose', type='test')
+ depends_on('texlive', type='build', when='+docs')
+ depends_on('py-sphinx@1.4.0:1.4.99', type='build', when='+docs')
+ depends_on('py-sphinx-rtd-theme', type='build', when='+docs')
+
+ # https://github.com/mathLab/PyDMD/pull/133
+ patch('isuue-133.patch', when='@0.3')
+
+ @run_after('build')
+ def build_docs(self):
+ if '+docs' in self.spec:
+ with working_dir('docs'):
+ make('html')
+
+ @run_after('install')
+ def install_docs(self):
+ if '+docs' in self.spec:
+ install_tree('docs', self.prefix.docs)
+
+ @run_after('build')
+ @on_package_attributes(run_tests=True)
+ def build_test(self):
+ python('test.py')
diff --git a/var/spack/repos/builtin/packages/py-pydot/package.py b/var/spack/repos/builtin/packages/py-pydot/package.py
index a9989cdeab..75c587047e 100644
--- a/var/spack/repos/builtin/packages/py-pydot/package.py
+++ b/var/spack/repos/builtin/packages/py-pydot/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPydot(PythonPackage):
"""Python interface to Graphviz's Dot language"""
homepage = "https://github.com/erocarrera/pydot/"
- url = "https://pypi.io/packages/source/p/pydot/pydot-1.2.3.tar.gz"
+ pypi = "pydot/pydot-1.2.3.tar.gz"
version('1.4.1', sha256='d49c9d4dd1913beec2a997f831543c8cbd53e535b1a739e921642fe416235f01')
version('1.2.3', sha256='edb5d3f249f97fbd9c4bb16959e61bc32ecf40eee1a9f6d27abe8d01c0a73502')
diff --git a/var/spack/repos/builtin/packages/py-pydot2/package.py b/var/spack/repos/builtin/packages/py-pydot2/package.py
index 9894d47659..1d9e8a1910 100644
--- a/var/spack/repos/builtin/packages/py-pydot2/package.py
+++ b/var/spack/repos/builtin/packages/py-pydot2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyPydot2(PythonPackage):
"""Python interface to Graphviz's Dot"""
- homepage = "https://pypi.org/project/pydot2/"
- url = "https://pypi.io/packages/source/p/pydot2/pydot2-1.0.33.tar.gz"
+ pypi = "pydot2/pydot2-1.0.33.tar.gz"
version('1.0.33', sha256='02c0e681a1c437077e2bb2522fb81fa322e53ba7002cfda8b894db0392a1bc9b')
diff --git a/var/spack/repos/builtin/packages/py-pydotplus/package.py b/var/spack/repos/builtin/packages/py-pydotplus/package.py
index 07370cbc1c..e1119049b1 100644
--- a/var/spack/repos/builtin/packages/py-pydotplus/package.py
+++ b/var/spack/repos/builtin/packages/py-pydotplus/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPydotplus(PythonPackage):
"""Python interface to Graphviz's Dot language"""
homepage = "https://pydotplus.readthedocs.io/"
- url = "https://pypi.io/packages/source/p/pydotplus/pydotplus-2.0.2.tar.gz"
+ pypi = "pydotplus/pydotplus-2.0.2.tar.gz"
version('2.0.2', sha256='91e85e9ee9b85d2391ead7d635e3d9c7f5f44fd60a60e59b13e2403fa66505c4')
@@ -18,7 +18,6 @@ class PyPydotplus(PythonPackage):
depends_on('py-setuptools', type='build')
depends_on('py-pyparsing@2.0.1:', type=('build', 'run'))
- depends_on('py-pytest', type='test')
depends_on('py-sphinx', type='build', when='+docs')
depends_on('py-sphinx-rtd-theme', type='build', when='+docs')
depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-pydv/package.py b/var/spack/repos/builtin/packages/py-pydv/package.py
index 147b6374a6..b43ae2a9fd 100644
--- a/var/spack/repos/builtin/packages/py-pydv/package.py
+++ b/var/spack/repos/builtin/packages/py-pydv/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-pyeda/package.py b/var/spack/repos/builtin/packages/py-pyeda/package.py
index d6f3b4a3f9..df966f50ca 100644
--- a/var/spack/repos/builtin/packages/py-pyeda/package.py
+++ b/var/spack/repos/builtin/packages/py-pyeda/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPyeda(PythonPackage):
"""PyEDA is a Python library for electronic design automation."""
homepage = "https://github.com/cjdrake/pyeda"
- url = "https://pypi.io//packages/source/p/pyeda/pyeda-0.28.0.tar.gz"
+ pypi = "pyeda/pyeda-0.28.0.tar.gz"
version('0.28.0', sha256='07185f458d5d0b2ba5058da8b95dad6ab7684ceaf41237a25bcd3f005490f59d')
diff --git a/var/spack/repos/builtin/packages/py-pyelftools/package.py b/var/spack/repos/builtin/packages/py-pyelftools/package.py
index 0607560e0b..eeb7144893 100644
--- a/var/spack/repos/builtin/packages/py-pyelftools/package.py
+++ b/var/spack/repos/builtin/packages/py-pyelftools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyPyelftools(PythonPackage):
"""A pure-Python library for parsing and analyzing ELF files and DWARF
debugging information"""
- homepage = "https://pypi.python.org/pypi/pyelftools"
- url = "https://pypi.io/packages/source/p/pyelftools/pyelftools-0.26.tar.gz"
+ pypi = "pyelftools/pyelftools-0.26.tar.gz"
version('0.26', sha256='86ac6cee19f6c945e8dedf78c6ee74f1112bd14da5a658d8c9d4103aed5756a2')
version('0.23', sha256='fc57aadd096e8f9b9b03f1a9578f673ee645e1513a5ff0192ef439e77eab21de')
diff --git a/var/spack/repos/builtin/packages/py-pyepsg/package.py b/var/spack/repos/builtin/packages/py-pyepsg/package.py
index 2b0ecd21a4..4a41536d43 100644
--- a/var/spack/repos/builtin/packages/py-pyepsg/package.py
+++ b/var/spack/repos/builtin/packages/py-pyepsg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPyepsg(PythonPackage):
"""Provides simple access to http://epsg.io/."""
homepage = "https://pyepsg.readthedocs.io/en/latest/"
- url = "https://pypi.io/packages/source/p/pyepsg/pyepsg-0.3.2.tar.gz"
+ pypi = "pyepsg/pyepsg-0.3.2.tar.gz"
version('0.3.2', sha256='597ef8c0e8c1be3db8f68c5985bcfbbc32e22f087e93e81ceb03ff094898e059')
diff --git a/var/spack/repos/builtin/packages/py-pyface/package.py b/var/spack/repos/builtin/packages/py-pyface/package.py
index 197e3d9ab2..2f768975aa 100644
--- a/var/spack/repos/builtin/packages/py-pyface/package.py
+++ b/var/spack/repos/builtin/packages/py-pyface/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyPyface(PythonPackage):
care of the details of displaying them."""
homepage = "https://docs.enthought.com/pyface"
- url = "https://pypi.io/packages/source/p/pyface/pyface-6.1.2.tar.gz"
+ pypi = "pyface/pyface-6.1.2.tar.gz"
version('6.1.2', sha256='7c2ac3d5cbec85e8504b3b0b63e9307be12c6d710b46bae372ce6562d41f4fbc')
diff --git a/var/spack/repos/builtin/packages/py-pyfaidx/package.py b/var/spack/repos/builtin/packages/py-pyfaidx/package.py
index 22740a4f83..04093d655f 100644
--- a/var/spack/repos/builtin/packages/py-pyfaidx/package.py
+++ b/var/spack/repos/builtin/packages/py-pyfaidx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyPyfaidx(PythonPackage):
"""pyfaidx: efficient pythonic random access to fasta subsequences"""
- homepage = "https://pypi.org/project/pyfaidx/"
- url = "https://pypi.io/packages/source/p/pyfaidx/pyfaidx-0.5.5.2.tar.gz"
+ pypi = "pyfaidx/pyfaidx-0.5.5.2.tar.gz"
version('0.5.5.2', sha256='9ac22bdc7b9c5d995d32eb9dc278af9ba970481636ec75c0d687d38c26446caa')
diff --git a/var/spack/repos/builtin/packages/py-pyfasta/package.py b/var/spack/repos/builtin/packages/py-pyfasta/package.py
index 961bc0f75e..e24e25693f 100644
--- a/var/spack/repos/builtin/packages/py-pyfasta/package.py
+++ b/var/spack/repos/builtin/packages/py-pyfasta/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,7 @@ class PyPyfasta(PythonPackage):
"""Pyfasta: fast, memory-efficient, pythonic (and command-line)
access to fasta sequence files"""
- homepage = "https://pypi.python.org/pypi/pyfasta/"
- url = "https://pypi.io/packages/source/p/pyfasta/pyfasta-0.5.2.tar.gz"
+ pypi = "pyfasta/pyfasta-0.5.2.tar.gz"
version('0.5.2', sha256='ab08d75fa90253bc91933d10567d5d9cca2718f4796ef3bdc36b68df0e45b258')
diff --git a/var/spack/repos/builtin/packages/py-pyfftw/package.py b/var/spack/repos/builtin/packages/py-pyfftw/package.py
index 41d9db5b74..ac36287931 100644
--- a/var/spack/repos/builtin/packages/py-pyfftw/package.py
+++ b/var/spack/repos/builtin/packages/py-pyfftw/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyPyfftw(PythonPackage):
presenting a unified interface for all the supported transforms."""
homepage = "http://hgomersall.github.com/pyFFTW"
- url = "https://pypi.io/packages/source/p/pyFFTW/pyFFTW-0.10.4.tar.gz"
+ pypi = "pyFFTW/pyFFTW-0.10.4.tar.gz"
version('0.12.0', sha256='60988e823ca75808a26fd79d88dbae1de3699e72a293f812aa4534f8a0a58cb0')
version('0.11.1', sha256='05ea28dede4c3aaaf5c66f56eb0f71849d0d50f5bc0f53ca0ffa69534af14926')
diff --git a/var/spack/repos/builtin/packages/py-pyfiglet/package.py b/var/spack/repos/builtin/packages/py-pyfiglet/package.py
new file mode 100644
index 0000000000..c7c9f9a379
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pyfiglet/package.py
@@ -0,0 +1,22 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyPyfiglet(PythonPackage):
+ """ pyfiglet is a full port of FIGlet (http://www.figlet.org/)
+ into purepython. It takes ASCII text and renders it in ASCII
+ art font."""
+
+ homepage = "https://github.com/pwaller/pyfiglet"
+ pypi = "pyfiglet/pyfiglet-0.7.tar.gz"
+
+ version('0.8.post1', sha256='c6c2321755d09267b438ec7b936825a4910fec696292139e664ca8670e103639')
+ version('0.8.post0', sha256='2994451ea67c77cd97f81f52087ccae6921d78d9402920995419893a979b5ace')
+ version('0.7.6', sha256='97d59651b40da6ddf7e961157c480a7a04b48214d8c7231adc8c15e43aa5d722')
+ version('0.7.5', sha256='446194e1fc3257ffc8024eafd3b486394847597f6210278d76bd582850205e12')
+
+ depends_on('py-setuptools', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-pyfits/package.py b/var/spack/repos/builtin/packages/py-pyfits/package.py
index f013175d33..dcbddbfe07 100644
--- a/var/spack/repos/builtin/packages/py-pyfits/package.py
+++ b/var/spack/repos/builtin/packages/py-pyfits/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-pyflakes/package.py b/var/spack/repos/builtin/packages/py-pyflakes/package.py
index 402a6c525b..5cbd268fdf 100644
--- a/var/spack/repos/builtin/packages/py-pyflakes/package.py
+++ b/var/spack/repos/builtin/packages/py-pyflakes/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-pygdal/package.py b/var/spack/repos/builtin/packages/py-pygdal/package.py
index 403e020043..2e74f36f34 100644
--- a/var/spack/repos/builtin/packages/py-pygdal/package.py
+++ b/var/spack/repos/builtin/packages/py-pygdal/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,7 +18,7 @@ class PyPygdal(PythonPackage):
"""
homepage = "https://github.com/nextgis/pygdal"
- url = "https://pypi.io/packages/source/p/pygdal/pygdal-3.0.1.5.tar.gz"
+ pypi = "pygdal/pygdal-3.0.1.5.tar.gz"
version('3.0.4.6', sha256='8e39b58cd9465bb5f41786a7cf6a62df93334c104db05a5bfb8181a0be276b86')
version('3.0.1.5', sha256='1222f69fe5e6b632d0d2a42d3acb8fac80fb4577c05e01969d8cd5548192ccaa')
diff --git a/var/spack/repos/builtin/packages/py-pygdbmi/package.py b/var/spack/repos/builtin/packages/py-pygdbmi/package.py
index 8bf181f4a7..13f32c68ee 100644
--- a/var/spack/repos/builtin/packages/py-pygdbmi/package.py
+++ b/var/spack/repos/builtin/packages/py-pygdbmi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPygdbmi(PythonPackage):
"""Parse gdb machine interface output with Python"""
homepage = "https://github.com/cs01/pygdbmi"
- url = "https://pypi.io/packages/source/p/pygdbmi/pygdbmi-0.8.2.0.tar.gz"
+ pypi = "pygdbmi/pygdbmi-0.8.2.0.tar.gz"
version('0.9.0.3', sha256='5bdf2f072e8f2f6471f19f8dcd87d6425c5d8069d47c0a5ffe8d0eff48cb171e')
version('0.8.2.0', sha256='47cece65808ca42edf6966ac48e2aedca7ae1c675c4d2f0d001c7f3a7fa245fe')
diff --git a/var/spack/repos/builtin/packages/py-pygelf/package.py b/var/spack/repos/builtin/packages/py-pygelf/package.py
index c2b20b5703..b7502d2870 100644
--- a/var/spack/repos/builtin/packages/py-pygelf/package.py
+++ b/var/spack/repos/builtin/packages/py-pygelf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,11 +11,12 @@ class PyPygelf(PythonPackage):
support."""
homepage = "https://github.com/keeprocking/pygelf"
- url = "https://pypi.io/packages/source/p/pygelf/pygelf-0.3.6.tar.gz"
+ pypi = "pygelf/pygelf-0.3.6.tar.gz"
# notify when the package is updated.
maintainers = ['victorusu', 'vkarak']
+ version('0.4.0', sha256='3693da38794561d42b0556a78af7dcb22d92ea450125577e58089ab89a890ee5')
version('0.3.6', sha256='3e5bc59e3b5a754556a76ff2c69fcf2003218ad7b5ff8417482fa1f6a7eba5f9')
depends_on('python', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-pygeos/package.py b/var/spack/repos/builtin/packages/py-pygeos/package.py
new file mode 100644
index 0000000000..254e5c09ac
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pygeos/package.py
@@ -0,0 +1,28 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyPygeos(PythonPackage):
+ """PyGEOS is a C/Python library with vectorized geometry functions.
+
+ The geometry operations are done in the open-source geometry library GEOS.
+ PyGEOS wraps these operations in NumPy ufuncs providing a performance
+ improvement when operating on arrays of geometries."""
+
+ homepage = "https://github.com/pygeos/pygeos"
+ pypi = "pygeos/pygeos-0.8.tar.gz"
+
+ maintainers = ['adamjstewart']
+
+ version('0.9', sha256='c0584b20e95f80ee57277a6eb1e5d7f86600f8b1ef3c627d238e243afdcc0cc7')
+ version('0.8', sha256='45b7e1aaa5fc9ff53565ef089fb75c53c419ace8cee18385ec1d7c1515c17cbc')
+
+ depends_on('python@3:', type=('build', 'link', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-numpy@1.13:', when='@0.9:', type=('build', 'link', 'run'))
+ depends_on('py-numpy@1.10:', type=('build', 'link', 'run'))
+ depends_on('geos@3.5:')
diff --git a/var/spack/repos/builtin/packages/py-pygit2/package.py b/var/spack/repos/builtin/packages/py-pygit2/package.py
index b90652fa33..8240819fef 100644
--- a/var/spack/repos/builtin/packages/py-pygit2/package.py
+++ b/var/spack/repos/builtin/packages/py-pygit2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,17 +12,28 @@ class PyPygit2(PythonPackage):
"""
homepage = "http://www.pygit2.org/"
- url = "https://pypi.io/packages/source/p/pygit2/pygit2-0.24.1.tar.gz"
+ pypi = "pygit2/pygit2-0.24.1.tar.gz"
+ version('1.4.0', sha256='cbeb38ab1df9b5d8896548a11e63aae8a064763ab5f1eabe4475e6b8a78ee1c8')
+ version('1.3.0', sha256='0be93f6a8d7cbf0cc79ae2f0afb1993fc055fc0018c27e2bd01ba143e51d4452')
+ version('0.28.2', sha256='4d8c3fbbf2e5793a9984681a94e6ac2f1bc91a92cbac762dbdfbea296b917f86')
version('0.24.1', sha256='4d1d0196b38d6012faf0a7c45e235c208315672b6035da504566c605ba494064')
- extends('python')
depends_on('py-setuptools', type='build')
# Version must match with libgit2
# See: http://www.pygit2.org/install.html
- depends_on('libgit2@0.24:', when='@0.24:')
+ depends_on('libgit2@1.1:1.1.99', when='@1.4:')
+ depends_on('libgit2@1.0:1.0.99', when='@1.2:1.3.99')
+ depends_on('libgit2@0.99:1.0.99', when='@1.1:1.1.99')
+ depends_on('libgit2@0.28:0.28.99', when='@0.28:1.0.99')
+ depends_on('libgit2@0.24:0.27.99', when='@0.24:0.27.99')
+ depends_on('python@3.6:', when='@1.4.0:')
+ depends_on('python@3.6:3.8.99', when='@1.2:1.3.99')
+ depends_on('python@3.5:3.8.99', when='@1.0:1.1.99')
+ depends_on('python@2.7:3.7.99', when='@0.28:0.99.99')
depends_on('py-six', type=('build', 'run'))
- depends_on('py-cffi', type=('build', 'run'))
+ depends_on('py-cffi@1.4.0:', type=('build', 'run'))
+ depends_on('py-cached-property', when='@1.1.0:', type=('build', 'run'))
def setup_build_environment(self, env):
spec = self.spec
diff --git a/var/spack/repos/builtin/packages/py-pyglet/package.py b/var/spack/repos/builtin/packages/py-pyglet/package.py
index ff01b7f2d6..a2b2ff7e4f 100644
--- a/var/spack/repos/builtin/packages/py-pyglet/package.py
+++ b/var/spack/repos/builtin/packages/py-pyglet/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyPyglet(PythonPackage):
"""
homepage = "https://github.com/pyglet/pygle://github.com/pyglet/pyglet"
- url = "https://pypi.io/packages/source/p/pyglet/pyglet-1.4.2.tar.gz"
+ pypi = "pyglet/pyglet-1.4.2.tar.gz"
version('1.4.2', sha256='fda25ae5e99057f05bd339ea7972196d2f44e6fe8fb210951ab01f6609cdbdb7')
version('1.2.1', sha256='d1afb253d6de230e73698377566da333ef42e1c82190216aa7a0c1b729d6ff4d')
diff --git a/var/spack/repos/builtin/packages/py-pygments-pytest/package.py b/var/spack/repos/builtin/packages/py-pygments-pytest/package.py
index 3808bb80b7..59378a4309 100644
--- a/var/spack/repos/builtin/packages/py-pygments-pytest/package.py
+++ b/var/spack/repos/builtin/packages/py-pygments-pytest/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPygmentsPytest(PythonPackage):
"""A pygments lexer for pytest output."""
homepage = "https://github.com/asottile/pygments-pytest"
- url = "https://pypi.io/packages/source/P/pygments-pytest-1.2.0.tar.gz"
+ pypi = "pygments-pytest/pygments_pytest-1.2.0.tar.gz"
version('1.2.0', sha256='fc48e2fffd6d3c047a61c1db8b88ab069983f50e733fe70a7846098eb28bc955')
diff --git a/var/spack/repos/builtin/packages/py-pygments/package.py b/var/spack/repos/builtin/packages/py-pygments/package.py
index d7559b36d8..6bd338b88d 100644
--- a/var/spack/repos/builtin/packages/py-pygments/package.py
+++ b/var/spack/repos/builtin/packages/py-pygments/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,12 +10,7 @@ class PyPygments(PythonPackage):
"""Pygments is a syntax highlighting package written in Python."""
homepage = "http://pygments.org/"
- url = "https://pypi.io/packages/source/P/Pygments/Pygments-2.4.2.tar.gz"
-
- import_modules = [
- 'pygments', 'pygments.filters', 'pygments.formatters',
- 'pygments.lexers', 'pygments.styles'
- ]
+ pypi = "Pygments/Pygments-2.4.2.tar.gz"
version('2.6.1', sha256='647344a061c249a3b74e230c739f434d7ea4d8b1d5f3721bc0f3558049b38f44')
version('2.4.2', sha256='881c4c157e45f30af185c1ffe8d549d48ac9127433f2c380c24b84572ad66297')
@@ -28,7 +23,3 @@ class PyPygments(PythonPackage):
depends_on('python@2.7:2.8,3.5:', type=('build', 'run'), when='@:2.5')
depends_on('python@3.5:', type=('build', 'run'), when='@2.6:')
depends_on('py-setuptools', type=('build', 'run'))
-
- def build_test(self):
- # Unit tests require sphinx, but that creates a circular dependency
- pass
diff --git a/var/spack/repos/builtin/packages/py-pygobject/package.py b/var/spack/repos/builtin/packages/py-pygobject/package.py
index 27b41f6c9c..02e283806e 100644
--- a/var/spack/repos/builtin/packages/py-pygobject/package.py
+++ b/var/spack/repos/builtin/packages/py-pygobject/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-pygps/package.py b/var/spack/repos/builtin/packages/py-pygps/package.py
index ffb556c007..41657612ca 100644
--- a/var/spack/repos/builtin/packages/py-pygps/package.py
+++ b/var/spack/repos/builtin/packages/py-pygps/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyPygps(PythonPackage):
Regression and Classification."""
homepage = "https://github.com/marionmari/pyGPs"
- url = "https://pypi.io/packages/source/p/pygps/pyGPs-1.3.5.tar.gz"
+ pypi = "pygps/pyGPs-1.3.5.tar.gz"
version('1.3.5', sha256='5af668415a7bf1666c7c6da3bb09d29e48c395862c6feb23964b476972a015d4')
diff --git a/var/spack/repos/builtin/packages/py-pygpu/package.py b/var/spack/repos/builtin/packages/py-pygpu/package.py
index aea5939995..69da808072 100644
--- a/var/spack/repos/builtin/packages/py-pygpu/package.py
+++ b/var/spack/repos/builtin/packages/py-pygpu/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-pygresql/package.py b/var/spack/repos/builtin/packages/py-pygresql/package.py
index 9db0bc7d20..250411ff5a 100644
--- a/var/spack/repos/builtin/packages/py-pygresql/package.py
+++ b/var/spack/repos/builtin/packages/py-pygresql/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-pygtk/package.py b/var/spack/repos/builtin/packages/py-pygtk/package.py
index 661661a39e..db4274a8c9 100644
--- a/var/spack/repos/builtin/packages/py-pygtk/package.py
+++ b/var/spack/repos/builtin/packages/py-pygtk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-pygtrie/package.py b/var/spack/repos/builtin/packages/py-pygtrie/package.py
new file mode 100644
index 0000000000..ce1479f46c
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pygtrie/package.py
@@ -0,0 +1,17 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyPygtrie(PythonPackage):
+ """A pure Python implementation of a trie data structure."""
+
+ homepage = "https://github.com/mina86/pygtrie"
+ pypi = "pygtrie/pygtrie-2.4.2.tar.gz"
+
+ version('2.4.2', sha256='43205559d28863358dbbf25045029f58e2ab357317a59b11f11ade278ac64692')
+ version('2.4.0', sha256='77700d2fcaab321ac65e86c2969fb4b64c116796baf52ab12d07de2e1f6cfc5d')
+ version('2.3.2', sha256='6299cdedd2cbdfda0895c2dbc43efe8828e698c62b574f3ef7e14b3253f80e23')
diff --git a/var/spack/repos/builtin/packages/py-pyheadtail/package.py b/var/spack/repos/builtin/packages/py-pyheadtail/package.py
index 811bf63b4b..2316cd2dbb 100644
--- a/var/spack/repos/builtin/packages/py-pyheadtail/package.py
+++ b/var/spack/repos/builtin/packages/py-pyheadtail/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyPyheadtail(PythonPackage):
macro-particle beam dynamics with collective effects."""
homepage = "https://github.com/PyCOMPLETE/PyHEADTAIL"
- url = "https://pypi.io/packages/source/P/PyHEADTAIL/PyHEADTAIL-1.14.1.tar.gz"
+ pypi = "PyHEADTAIL/PyHEADTAIL-1.14.1.tar.gz"
version('1.14.1', sha256='bf90ac7e8764176c55e82c363cad7ab43543863b6ef482760ced23b78e917bb4')
version('1.13.1', sha256='29c742573a918126b5a9c21806ee0ec6a34ec642a0e6ad200f6d4551bf1bb310')
diff --git a/var/spack/repos/builtin/packages/py-pyinstrument-cext/package.py b/var/spack/repos/builtin/packages/py-pyinstrument-cext/package.py
index 4eb2f799c1..bd1625e9f7 100644
--- a/var/spack/repos/builtin/packages/py-pyinstrument-cext/package.py
+++ b/var/spack/repos/builtin/packages/py-pyinstrument-cext/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,9 +10,8 @@ class PyPyinstrumentCext(PythonPackage):
"""A CPython extension supporting pyinstrument."""
homepage = "https://github.com/joerick/pyinstrument_cext"
- url = "https://pypi.io/packages/source/p/pyinstrument_cext/pyinstrument_cext-0.2.2.tar.gz"
+ pypi = "pyinstrument_cext/pyinstrument_cext-0.2.2.tar.gz"
version('0.2.2', sha256='f29e25f71d74c0415ca9310e5567fff0f5d29f4240a09a885abf8b0eed71cc5b')
depends_on('py-setuptools', type='build')
- depends_on('py-nose', type='test')
diff --git a/var/spack/repos/builtin/packages/py-pyinstrument/package.py b/var/spack/repos/builtin/packages/py-pyinstrument/package.py
index ffc4c9ef0b..dbc30c7875 100644
--- a/var/spack/repos/builtin/packages/py-pyinstrument/package.py
+++ b/var/spack/repos/builtin/packages/py-pyinstrument/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,4 +19,3 @@ class PyPyinstrument(PythonPackage):
depends_on('py-pytest-runner', type='build')
depends_on('npm', type='build')
depends_on('py-pyinstrument-cext@0.2.2:', type=('build', 'run'))
- depends_on('py-pytest', type='test')
diff --git a/var/spack/repos/builtin/packages/py-pyjnius/package.py b/var/spack/repos/builtin/packages/py-pyjnius/package.py
new file mode 100644
index 0000000000..78ee5467a5
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pyjnius/package.py
@@ -0,0 +1,20 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyPyjnius(PythonPackage):
+ """Pyjnius is a Python library for accessing Java classes."""
+
+ homepage = "https://pyjnius.readthedocs.io/en/stable"
+ pypi = "pyjnius/pyjnius-1.3.0.0.tar.gz"
+
+ version('1.3.0.0', sha256='d20845e75a2d18224e661d0e2bc2ce9141f17472e685cd6579847b0a7b5da6ad')
+
+ depends_on('py-setuptools', type=('build', 'run'))
+ depends_on('py-six@1.7:', type=('build', 'run'))
+ depends_on('py-cython', type=('build', 'run'))
+ depends_on('java', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-pyjwt/package.py b/var/spack/repos/builtin/packages/py-pyjwt/package.py
index a8006ef623..debff4d760 100644
--- a/var/spack/repos/builtin/packages/py-pyjwt/package.py
+++ b/var/spack/repos/builtin/packages/py-pyjwt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPyjwt(PythonPackage):
"""JSON Web Token implementation in Python"""
homepage = "https://github.com/jpadilla/pyjwt"
- url = "https://pypi.io/packages/source/P/PyJWT/PyJWT-1.7.1.tar.gz"
+ pypi = "PyJWT/PyJWT-1.7.1.tar.gz"
version('1.7.1', sha256='8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96')
@@ -19,6 +19,3 @@ class PyPyjwt(PythonPackage):
depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
depends_on('py-cryptography@1.4:', when='+crypto', type=('build', 'run'))
- depends_on('py-pytest@4.0.1:4.99.99', type='test')
- depends_on('py-pytest-cov@2.6.0:2.99.99', type='test')
- depends_on('py-pytest-runner@4.2:4.99', type='test')
diff --git a/var/spack/repos/builtin/packages/py-pyke/package.py b/var/spack/repos/builtin/packages/py-pyke/package.py
index 634e109e20..88629df9d9 100644
--- a/var/spack/repos/builtin/packages/py-pyke/package.py
+++ b/var/spack/repos/builtin/packages/py-pyke/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-pykml/package.py b/var/spack/repos/builtin/packages/py-pykml/package.py
index bfa1359ebf..2f389166cf 100644
--- a/var/spack/repos/builtin/packages/py-pykml/package.py
+++ b/var/spack/repos/builtin/packages/py-pykml/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,11 +12,9 @@ class PyPykml(PythonPackage):
XML documents.
"""
- homepage = "https://pypi.org/project/pykml/"
- url = "https://pypi.io/packages/source/p/pykml/pykml-0.1.3.tar.gz"
+ pypi = "pykml/pykml-0.1.3.tar.gz"
version('0.1.3', sha256='e1a133e582f0b4652a6b00bac970b446d90580664e5a634a670731c990ff9f05')
depends_on('py-setuptools', type='build')
depends_on('py-lxml@2.2.6:', type=('build', 'run'))
- depends_on('py-nose', type='test')
diff --git a/var/spack/repos/builtin/packages/py-pykwalify/package.py b/var/spack/repos/builtin/packages/py-pykwalify/package.py
index 4439f1d0f4..46c3195640 100644
--- a/var/spack/repos/builtin/packages/py-pykwalify/package.py
+++ b/var/spack/repos/builtin/packages/py-pykwalify/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyPykwalify(PythonPackage):
"""
homepage = "https://github.com/grokzen/pykwalify"
- url = "https://pypi.io/packages/source/p/pykwalify/pykwalify-1.7.0.tar.gz"
+ pypi = "pykwalify/pykwalify-1.7.0.tar.gz"
version('1.7.0', sha256='7e8b39c5a3a10bc176682b3bd9a7422c39ca247482df198b402e8015defcceb2')
version('1.6.1', sha256='191fd3f457f23c0aa8538c3a5c0249f70eeb1046e88d0eaaef928e09c44dff8d')
diff --git a/var/spack/repos/builtin/packages/py-pyliblzma/package.py b/var/spack/repos/builtin/packages/py-pyliblzma/package.py
index 5630768af5..5533795e52 100644
--- a/var/spack/repos/builtin/packages/py-pyliblzma/package.py
+++ b/var/spack/repos/builtin/packages/py-pyliblzma/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPyliblzma(PythonPackage):
"""Python bindings for liblzma"""
homepage = "https://launchpad.net/pyliblzma"
- url = "https://pypi.io/packages/source/p/pyliblzma/pyliblzma-0.5.3.tar.bz2"
+ pypi = "pyliblzma/pyliblzma-0.5.3.tar.bz2"
version('0.5.3', sha256='08d762f36d5e59fb9bb0e22e000c300b21f97e35b713321ee504cfb442667957')
diff --git a/var/spack/repos/builtin/packages/py-pylikwid/package.py b/var/spack/repos/builtin/packages/py-pylikwid/package.py
new file mode 100644
index 0000000000..01869732e1
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pylikwid/package.py
@@ -0,0 +1,31 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyPylikwid(PythonPackage):
+ """Python interface to the LIKWID tools library with calls for system
+ topology, process/thread affinity, hardware performance monitoring
+ and the manipulation of system features like frequencies and
+ prefetchers."""
+
+ homepage = "https://github.com/RRZE-HPC/pylikwid"
+ pypi = "pylikwid/pylikwid-0.4.0.tar.gz"
+ git = "https://github.com/RRZE-HPC/pylikwid.git"
+
+ maintainers = ['TomTheBear']
+
+ version('0.4.0', sha256='f7894a6d7ebcea7da133ef639599a314f850f55cd6c5ffdd630bb879bd2aa0b8')
+
+ variant('cuda',
+ default=False,
+ description='with Nvidia GPU profiling support')
+
+ depends_on('likwid', when='~cuda')
+ depends_on('likwid+cuda', when='+cuda')
+
+ def setup_build_environment(self, env):
+ env.set('LIKWID_PREFIX', self.spec['likwid'].prefix)
diff --git a/var/spack/repos/builtin/packages/py-pylint/package.py b/var/spack/repos/builtin/packages/py-pylint/package.py
index 23cbfcf93a..46d5e7b8b5 100644
--- a/var/spack/repos/builtin/packages/py-pylint/package.py
+++ b/var/spack/repos/builtin/packages/py-pylint/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyPylint(PythonPackage):
"""python code static checker"""
- homepage = "https://pypi.python.org/pypi/pylint"
- url = "https://pypi.io/packages/source/p/pylint/pylint-1.6.5.tar.gz"
+ pypi = "pylint/pylint-1.6.5.tar.gz"
version('2.3.1', sha256='723e3db49555abaf9bf79dc474c6b9e2935ad82230b10c1138a71ea41ac0fff1')
version('2.3.0', sha256='ee80c7af4f127b2a480d83010c9f0e97beb8eaa652b78c2837d3ed30b12e1182')
diff --git a/var/spack/repos/builtin/packages/py-pylops/package.py b/var/spack/repos/builtin/packages/py-pylops/package.py
new file mode 100644
index 0000000000..0a4092084b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pylops/package.py
@@ -0,0 +1,37 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyPylops(PythonPackage):
+ """Many useful operators, however, do not lend themselves to an explicit
+ matrix representation when used to solve large-scale problems. PyLops operators,
+ on the other hand, still represent a matrix and can be treated in a similar way,
+ but do not rely on the explicit creation of a dense (or sparse) matrix itself.
+ Conversely, the forward and adjoint operators are represented by small pieces of
+ codes that mimic the effect of the matrix on a vector or another matrix."""
+
+ pypi = "pylops/pylops-1.12.0.tar.gz"
+ git = "https://github.com/PyLops/pylops.git"
+
+ maintainers = ['archxlith']
+
+ version('master', branch='master')
+ version('1.12.0', sha256='0e9caef46bbef9691acd133cb9b6d13e19510e8682aaa8f4eb15d9bd9ff9ebb6')
+ version('1.11.1', sha256='87010358b1119ebe1f8a601b2768d16d7bd26d55bd0c91a6e83db763e5715f7c')
+
+ variant('advanced', default=False, description='Install optional libraries')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-numpy@1.15:', type=('build', 'run'))
+ depends_on('py-scipy@1.4:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-llvmlite', when='+advanced', type=('build', 'run'))
+ depends_on('py-numba', when='+advanced', type=('build', 'run'))
+ depends_on('py-pyfftw', when='+advanced', type=('build', 'run'))
+ depends_on('py-pywavelets', when='+advanced', type=('build', 'run'))
+ depends_on('py-scikit-fmm', when='+advanced', type=('build', 'run'))
+ depends_on('py-spgl1', when='+advanced', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-pymatgen/package.py b/var/spack/repos/builtin/packages/py-pymatgen/package.py
index 5da5c1bee3..c0e8710772 100644
--- a/var/spack/repos/builtin/packages/py-pymatgen/package.py
+++ b/var/spack/repos/builtin/packages/py-pymatgen/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class PyPymatgen(PythonPackage):
analysis code powering the Materials Project."""
homepage = "http://www.pymatgen.org/"
- url = "https://pypi.io/packages/source/p/pymatgen/pymatgen-4.7.2.tar.gz"
+ pypi = "pymatgen/pymatgen-4.7.2.tar.gz"
version('4.7.2', sha256='e439b78cc3833a03963c3c3efe349d8a0e52a1550c8a05c56a89aa1b86657436')
version('4.6.2', sha256='f34349090c6f604f7d402cb09cd486830b38523639d7160d7fd282d504036a0e')
diff --git a/var/spack/repos/builtin/packages/py-pymc3/package.py b/var/spack/repos/builtin/packages/py-pymc3/package.py
index 5f4fbce9a6..b329f9b78b 100644
--- a/var/spack/repos/builtin/packages/py-pymc3/package.py
+++ b/var/spack/repos/builtin/packages/py-pymc3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class PyPymc3(PythonPackage):
extensibility make it applicable to a large suite of problems."""
homepage = "http://github.com/pymc-devs/pymc3"
- url = "https://pypi.io/packages/source/p/pymc3/pymc3-3.8.tar.gz"
+ pypi = "pymc3/pymc3-3.8.tar.gz"
version('3.8', sha256='1bb2915e4a29877c681ead13932b0b7d276f7f496e9c3f09ba96b977c99caf00')
diff --git a/var/spack/repos/builtin/packages/py-pymeeus/package.py b/var/spack/repos/builtin/packages/py-pymeeus/package.py
index 7dc522bd51..7fed1f69c2 100644
--- a/var/spack/repos/builtin/packages/py-pymeeus/package.py
+++ b/var/spack/repos/builtin/packages/py-pymeeus/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPymeeus(PythonPackage):
"""Library of astronomical algorithms in Python."""
homepage = "https://github.com/architest/pymeeus"
- url = "https://pypi.io/packages/source/P/PyMeeus/PyMeeus-0.3.6.tar.gz"
+ pypi = "PyMeeus/PyMeeus-0.3.6.tar.gz"
version('0.3.6', sha256='1f1ba0682e1b5c6b0cd6432c966e8bc8acc31737ea6f0ae79917a2189a98bb87')
diff --git a/var/spack/repos/builtin/packages/py-pyminifier/package.py b/var/spack/repos/builtin/packages/py-pyminifier/package.py
index edff48c36c..0bd7e0b272 100644
--- a/var/spack/repos/builtin/packages/py-pyminifier/package.py
+++ b/var/spack/repos/builtin/packages/py-pyminifier/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPyminifier(PythonPackage):
"""Pyminifier is a Python code minifier, obfuscator, and compressor."""
homepage = "http://liftoff.github.io/pyminifier/"
- url = "https://pypi.io/packages/source/p/pyminifier/pyminifier-2.1.tar.gz"
+ pypi = "pyminifier/pyminifier-2.1.tar.gz"
version('2.1', sha256='e192618fe901830e9298825b32828bc9555ae8649e05af37bfab2db328546777')
diff --git a/var/spack/repos/builtin/packages/py-pymol/package.py b/var/spack/repos/builtin/packages/py-pymol/package.py
index ba0d0e9275..557caf7692 100644
--- a/var/spack/repos/builtin/packages/py-pymol/package.py
+++ b/var/spack/repos/builtin/packages/py-pymol/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-pymongo/package.py b/var/spack/repos/builtin/packages/py-pymongo/package.py
index 41e13d305f..5804ffc1be 100644
--- a/var/spack/repos/builtin/packages/py-pymongo/package.py
+++ b/var/spack/repos/builtin/packages/py-pymongo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,8 +15,7 @@ class PyPymongo(PythonPackage):
PyMongo supports MongoDB 2.6, 3.0, 3.2, 3.4, 3.6, 4.0 and 4.2."""
- homepage = "https://pypi.org/project/pymongo/"
- url = "https://pypi.io/packages/source/p/pymongo/pymongo-3.9.0.tar.gz"
+ pypi = "pymongo/pymongo-3.9.0.tar.gz"
version('3.9.0', sha256='4249c6ba45587b959292a727532826c5032d59171f923f7f823788f413c2a5a3')
version('3.6.0', sha256='c6de26d1e171cdc449745b82f1addbc873d105b8e7335097da991c0fc664a4a8')
diff --git a/var/spack/repos/builtin/packages/py-pymorph/package.py b/var/spack/repos/builtin/packages/py-pymorph/package.py
index 5ef91f7f3f..d17509d76a 100644
--- a/var/spack/repos/builtin/packages/py-pymorph/package.py
+++ b/var/spack/repos/builtin/packages/py-pymorph/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyPymorph(PythonPackage):
"""
homepage = "http://luispedro.org/software/pymorph/"
- url = "https://pypi.io/packages/source/p/pymorph/pymorph-0.96.tar.gz"
+ pypi = "pymorph/pymorph-0.96.tar.gz"
version('0.96', sha256='5dd648e4cb4c3495ee6031bc8020ed8216f3d6cb8c0dcd0427b215b75d7d29ad')
diff --git a/var/spack/repos/builtin/packages/py-pympler/package.py b/var/spack/repos/builtin/packages/py-pympler/package.py
index 0aa7d03986..35c1abca04 100644
--- a/var/spack/repos/builtin/packages/py-pympler/package.py
+++ b/var/spack/repos/builtin/packages/py-pympler/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyPympler(PythonPackage):
"""
homepage = "https://github.com/pympler/pympler"
- url = "https://pypi.io/packages/source/P/Pympler/Pympler-0.4.3.tar.gz"
+ pypi = "Pympler/Pympler-0.4.3.tar.gz"
version('0.4.3', sha256='430528fff6cde1bae0a305e8df647b158c3cc4930cff122bf228293829ee1e56')
version('0.4.2', sha256='3c3f9d8eb3dddf4f29c433433ea77c9c3f2f0dcc06575c0c2a9d81b2602893b2')
diff --git a/var/spack/repos/builtin/packages/py-pymysql/package.py b/var/spack/repos/builtin/packages/py-pymysql/package.py
index 96f23fa088..63f5ed2a42 100644
--- a/var/spack/repos/builtin/packages/py-pymysql/package.py
+++ b/var/spack/repos/builtin/packages/py-pymysql/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPymysql(PythonPackage):
"""Pure-Python MySQL client library"""
homepage = "https://github.com/PyMySQL/PyMySQL/"
- url = "https://pypi.io/packages/source/p/pymysql/PyMySQL-0.9.2.tar.gz"
+ pypi = "pymysql/PyMySQL-0.9.2.tar.gz"
version('0.9.2', sha256='9ec760cbb251c158c19d6c88c17ca00a8632bac713890e465b2be01fdc30713f')
diff --git a/var/spack/repos/builtin/packages/py-pynacl/package.py b/var/spack/repos/builtin/packages/py-pynacl/package.py
index a428b3756e..5840ac831e 100644
--- a/var/spack/repos/builtin/packages/py-pynacl/package.py
+++ b/var/spack/repos/builtin/packages/py-pynacl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyPynacl(PythonPackage):
"""Python binding to the Networking and Cryptography (NaCl) library."""
homepage = "https://github.com/pyca/pynacl/"
- url = "https://pypi.io/packages/source/P/PyNaCl/PyNaCl-1.4.0.tar.gz"
+ pypi = "PyNaCl/PyNaCl-1.4.0.tar.gz"
version('1.4.0', sha256='54e9a2c849c742006516ad56a88f5c74bf2ce92c9f67435187c3c5953b346505')
@@ -16,3 +16,4 @@ class PyPynacl(PythonPackage):
depends_on('py-setuptools', type='build')
depends_on('py-six', type=('build', 'run'))
depends_on('py-cffi@1.4.1:', type=('build', 'run'))
+ depends_on('py-wheel', type='build')
diff --git a/var/spack/repos/builtin/packages/py-pynio/package.py b/var/spack/repos/builtin/packages/py-pynio/package.py
index 3f24c7165f..2ff4cd7085 100644
--- a/var/spack/repos/builtin/packages/py-pynio/package.py
+++ b/var/spack/repos/builtin/packages/py-pynio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-pynn/package.py b/var/spack/repos/builtin/packages/py-pynn/package.py
index 12304f9c9c..4044ddb940 100644
--- a/var/spack/repos/builtin/packages/py-pynn/package.py
+++ b/var/spack/repos/builtin/packages/py-pynn/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyPynn(PythonPackage):
"""
homepage = "http://neuralensemble.org/PyNN/"
- url = "https://pypi.io/packages/source/P/PyNN/PyNN-0.8.3.tar.gz"
+ pypi = "PyNN/PyNN-0.8.3.tar.gz"
git = "https://github.com/NeuralEnsemble/PyNN.git"
version('0.9.1', sha256='bbc60fea3235427191feb2daa0e2fa07eb1c3946104c068ac8a2a0501263b0b1')
@@ -30,5 +30,3 @@ class PyPynn(PythonPackage):
depends_on('py-neo@0.3:0.4.1', type=('build', 'run'), when="@:0.8.3")
depends_on('py-neo@0.5.0:', type=('build', 'run'), when="@0.9.0:")
-
- depends_on('py-mock@1.0:', type='test')
diff --git a/var/spack/repos/builtin/packages/py-pynvml/package.py b/var/spack/repos/builtin/packages/py-pynvml/package.py
new file mode 100644
index 0000000000..a719194ccc
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pynvml/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+class PyPynvml(PythonPackage):
+ """Provides a Python interface to GPU management and monitoring
+ functions. This is a wrapper around the NVML library. For
+ information about the NVML library, see the NVML developer page
+ http://developer.nvidia.com/nvidia-management-library-nvml"""
+
+ homepage = "http://www.nvidia.com/"
+ pypi = "pynvml/pynvml-8.0.4.tar.gz"
+
+ version('8.0.4', sha256='c8d4eadc648c7e12a3c9182a9750afd8481b76412f83747bcc01e2aa829cde5d')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('python@3.6:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-pyodbc/package.py b/var/spack/repos/builtin/packages/py-pyodbc/package.py
index 68a83caf2c..459968a038 100644
--- a/var/spack/repos/builtin/packages/py-pyodbc/package.py
+++ b/var/spack/repos/builtin/packages/py-pyodbc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyPyodbc(PythonPackage):
decimal."""
homepage = "https://github.com/mkleehammer/pyodbc"
- url = "https://pypi.io/packages/source/p/pyodbc/pyodbc-4.0.26.tar.gz"
+ pypi = "pyodbc/pyodbc-4.0.26.tar.gz"
version('4.0.26', sha256='e52700b5d24a846483b5ab80acd9153f8e593999c9184ffea11596288fb33de3')
diff --git a/var/spack/repos/builtin/packages/py-pyomo/package.py b/var/spack/repos/builtin/packages/py-pyomo/package.py
index c56f5b9d77..32cb85b9f3 100644
--- a/var/spack/repos/builtin/packages/py-pyomo/package.py
+++ b/var/spack/repos/builtin/packages/py-pyomo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-pyopencl/package.py b/var/spack/repos/builtin/packages/py-pyopencl/package.py
index 78baa07ea5..d73bc1419d 100644
--- a/var/spack/repos/builtin/packages/py-pyopencl/package.py
+++ b/var/spack/repos/builtin/packages/py-pyopencl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyPyopencl(PythonPackage):
"""Python wrapper for OpenCL."""
homepage = "https://documen.tician.de/pyopencl/"
- url = "https://pypi.io/packages/source/p/pyopencl/pyopencl-2020.2.2.tar.gz"
+ pypi = "pyopencl/pyopencl-2020.2.2.tar.gz"
maintainers = ['matthiasdiener']
diff --git a/var/spack/repos/builtin/packages/py-pyopenssl/package.py b/var/spack/repos/builtin/packages/py-pyopenssl/package.py
index 70e0c86c72..424d815685 100644
--- a/var/spack/repos/builtin/packages/py-pyopenssl/package.py
+++ b/var/spack/repos/builtin/packages/py-pyopenssl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,7 +15,7 @@ class PyPyopenssl(PythonPackage):
drop your pyOpenSSL dependency."""
homepage = "https://pyopenssl.org/"
- url = "https://pypi.io/packages/source/p/pyOpenSSL/pyOpenSSL-19.0.0.tar.gz"
+ pypi = "pyOpenSSL/pyOpenSSL-19.0.0.tar.gz"
version('19.0.0', sha256='aeca66338f6de19d1aa46ed634c3b9ae519a64b458f8468aec688e7e3c20f200')
diff --git a/var/spack/repos/builtin/packages/py-pypar/package.py b/var/spack/repos/builtin/packages/py-pypar/package.py
index b8ead69dbb..3b5658be05 100644
--- a/var/spack/repos/builtin/packages/py-pypar/package.py
+++ b/var/spack/repos/builtin/packages/py-pypar/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-pyparsing/package.py b/var/spack/repos/builtin/packages/py-pyparsing/package.py
index ea7efac809..e0bdfbd9df 100644
--- a/var/spack/repos/builtin/packages/py-pyparsing/package.py
+++ b/var/spack/repos/builtin/packages/py-pyparsing/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,10 +9,9 @@ from spack import *
class PyPyparsing(PythonPackage):
"""A Python Parsing Module."""
homepage = "http://pyparsing.wikispaces.com/"
- url = "https://pypi.io/packages/source/p/pyparsing/pyparsing-2.4.2.tar.gz"
-
- import_modules = ['pyparsing']
+ pypi = "pyparsing/pyparsing-2.4.2.tar.gz"
+ version('2.4.7', sha256='c203ec8783bf771a155b207279b9bccb8dea02d8f0c9e5f8ead507bc3246ecc1')
version('2.4.2', sha256='6f98a7b9397e206d78cc01df10131398f1c8b8510a2f4d97d9abd82e1aacdd80')
version('2.4.0', sha256='1873c03321fc118f4e9746baf201ff990ceb915f433f23b395f5580d1840cb2a')
version('2.3.1', sha256='66c9268862641abcac4a96ba74506e594c884e3f57690a696d21ad8210ed667a')
diff --git a/var/spack/repos/builtin/packages/py-pypeflow/package.py b/var/spack/repos/builtin/packages/py-pypeflow/package.py
index 225ad550fa..444767d2de 100644
--- a/var/spack/repos/builtin/packages/py-pypeflow/package.py
+++ b/var/spack/repos/builtin/packages/py-pypeflow/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-pypeg2/package.py b/var/spack/repos/builtin/packages/py-pypeg2/package.py
index 344f9cd5c1..3b4d77c881 100644
--- a/var/spack/repos/builtin/packages/py-pypeg2/package.py
+++ b/var/spack/repos/builtin/packages/py-pypeg2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPypeg2(PythonPackage):
"""A PEG Parser-Interpreter in Python"""
homepage = "https://fdik.org/pyPEG2/"
- url = "https://pypi.io/packages/source/p/pypeg2/pyPEG2-2.15.2.tar.gz"
+ pypi = "pypeg2/pyPEG2-2.15.2.tar.gz"
version('2.15.2', sha256='2b2d4f80d8e1a9370b2a91f4a25f4abf7f69b85c8da84cd23ec36451958a1f6d')
diff --git a/var/spack/repos/builtin/packages/py-pyperclip/package.py b/var/spack/repos/builtin/packages/py-pyperclip/package.py
index 441f5fca3a..1d0ac973cf 100644
--- a/var/spack/repos/builtin/packages/py-pyperclip/package.py
+++ b/var/spack/repos/builtin/packages/py-pyperclip/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPyperclip(PythonPackage):
"""A cross-platform clipboard module for Python."""
homepage = "https://github.com/asweigart/pyperclip"
- url = "https://pypi.io/packages/source/p/pyperclip/pyperclip-1.7.0.tar.gz"
+ pypi = "pyperclip/pyperclip-1.7.0.tar.gz"
version('1.7.0', sha256='979325468ccf682104d5dcaf753f869868100631301d3e72f47babdea5700d1c')
diff --git a/var/spack/repos/builtin/packages/py-pyperf/package.py b/var/spack/repos/builtin/packages/py-pyperf/package.py
index 435e1d8255..802742d63a 100644
--- a/var/spack/repos/builtin/packages/py-pyperf/package.py
+++ b/var/spack/repos/builtin/packages/py-pyperf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyPyperf(PythonPackage):
analyze benchmarks.
"""
- homepage = "https://pypi.python.org/pypi/pyperf"
+ homepage = "https://github.com/vstinner/pyperf"
url = "https://github.com/vstinner/pyperf/archive/1.5.1.tar.gz"
version('1.6.1', sha256='fbe793f6f2e036ab4dcca105b5c5aa34fd331dd881e7a3e158e5e218c63cfc32')
diff --git a/var/spack/repos/builtin/packages/py-pyprecice/package.py b/var/spack/repos/builtin/packages/py-pyprecice/package.py
index 36cb9957f5..12d43042f5 100644
--- a/var/spack/repos/builtin/packages/py-pyprecice/package.py
+++ b/var/spack/repos/builtin/packages/py-pyprecice/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -26,9 +26,6 @@ class PyPyprecice(PythonPackage):
version("2.0.0.2", sha256="5f055d809d65ec2e81f4d001812a250f50418de59990b47d6bcb12b88da5f5d7")
version("2.0.0.1", sha256="96eafdf421ec61ad6fcf0ab1d3cf210831a815272984c470b2aea57d4d0c9e0e")
- # Import module as a test
- import_modules = ["precice"]
-
patch("deactivate-version-check-via-pip.patch")
variant("mpi", default=True, description="Enables MPI support")
diff --git a/var/spack/repos/builtin/packages/py-pyprof2html/package.py b/var/spack/repos/builtin/packages/py-pyprof2html/package.py
index 1ed3728834..df3585369d 100644
--- a/var/spack/repos/builtin/packages/py-pyprof2html/package.py
+++ b/var/spack/repos/builtin/packages/py-pyprof2html/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyPyprof2html(PythonPackage):
"""Python cProfile and hotshot profile's data to HTML Converter"""
- homepage = "https://pypi.python.org/pypi/pyprof2html/"
- url = "https://pypi.io/packages/source/p/pyprof2html/pyprof2html-0.3.1.tar.gz"
+ pypi = "pyprof2html/pyprof2html-0.3.1.tar.gz"
version('0.3.1', sha256='db2d37e21d8c76f2fd25fb1ba9273c9b3ff4a98a327e37d943fed1ea225a6720')
diff --git a/var/spack/repos/builtin/packages/py-pyproj/package.py b/var/spack/repos/builtin/packages/py-pyproj/package.py
index dfc0edf924..c7f00b4fc7 100644
--- a/var/spack/repos/builtin/packages/py-pyproj/package.py
+++ b/var/spack/repos/builtin/packages/py-pyproj/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,11 +10,10 @@ class PyPyproj(PythonPackage):
"""Python interface to the PROJ.4 Library."""
homepage = "https://github.com/pyproj4/pyproj"
- url = "https://pypi.io/packages/source/p/pyproj/pyproj-2.2.0.tar.gz"
+ pypi = "pyproj/pyproj-2.2.0.tar.gz"
git = "https://github.com/pyproj4/pyproj.git"
maintainers = ['citibeth', 'adamjstewart']
- import_modules = ['pyproj']
version('2.6.0', sha256='977542d2f8cf2981cf3ad72cedfebcd6ac56977c7aa830d9b49fa7888b56e83d')
version('2.2.0', sha256='0a4f793cc93539c2292638c498e24422a2ec4b25cb47545addea07724b2a56e5')
diff --git a/var/spack/repos/builtin/packages/py-pyqi/package.py b/var/spack/repos/builtin/packages/py-pyqi/package.py
index 9cca0d591b..dfd1c0e613 100644
--- a/var/spack/repos/builtin/packages/py-pyqi/package.py
+++ b/var/spack/repos/builtin/packages/py-pyqi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyPyqi(PythonPackage):
including at the command line, HTML, and API levels."""
homepage = "https://pyqi.readthedocs.io"
- url = "https://pypi.io/packages/source/p/pyqi/pyqi-0.3.2.tar.gz"
+ pypi = "pyqi/pyqi-0.3.2.tar.gz"
version('0.3.2', sha256='8f1711835779704e085e62194833fed9ac2985e398b4ceac6faf6c7f40f5d15f')
diff --git a/var/spack/repos/builtin/packages/py-pyqt4/package.py b/var/spack/repos/builtin/packages/py-pyqt4/package.py
index 5405911401..73a72efcb8 100644
--- a/var/spack/repos/builtin/packages/py-pyqt4/package.py
+++ b/var/spack/repos/builtin/packages/py-pyqt4/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,13 +16,6 @@ class PyPyqt4(SIPPackage):
url = "http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.12.3/PyQt4_gpl_x11-4.12.3.tar.gz"
sip_module = 'PyQt4.sip'
- import_modules = [
- 'PyQt4', 'PyQt4.Qt', 'PyQt4.QtCore', 'PyQt4.QtDeclarative',
- 'PyQt4.QtDesigner', 'PyQt4.QtGui', 'PyQt4.QtHelp',
- 'PyQt4.QtMultimedia', 'PyQt4.QtNetwork', 'PyQt4.QtOpenGL',
- 'PyQt4.QtScript', 'PyQt4.QtScriptTools', 'PyQt4.QtSql', 'PyQt4.QtSvg',
- 'PyQt4.QtTest', 'PyQt4.QtWebKit', 'PyQt4.QtXml', 'PyQt4.QtXmlPatterns'
- ]
version('4.12.3', sha256='a00f5abef240a7b5852b7924fa5fdf5174569525dc076cd368a566619e56d472')
version('4.11.3', sha256='853780dcdbe2e6ba785d703d059b096e1fc49369d3e8d41a060be874b8745686',
diff --git a/var/spack/repos/builtin/packages/py-pyqt5/package.py b/var/spack/repos/builtin/packages/py-pyqt5/package.py
index e26c66a891..86493358e9 100644
--- a/var/spack/repos/builtin/packages/py-pyqt5/package.py
+++ b/var/spack/repos/builtin/packages/py-pyqt5/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,14 +16,6 @@ class PyPyqt5(SIPPackage):
list_url = "https://www.riverbankcomputing.com/software/pyqt/download5"
sip_module = 'PyQt5.sip'
- import_modules = [
- 'PyQt5', 'PyQt5.QtCore', 'PyQt5.QtGui', 'PyQt5.QtHelp',
- 'PyQt5.QtMultimedia', 'PyQt5.QtMultimediaWidgets', 'PyQt5.QtNetwork',
- 'PyQt5.QtOpenGL', 'PyQt5.QtPrintSupport', 'PyQt5.QtQml',
- 'PyQt5.QtQuick', 'PyQt5.QtSvg', 'PyQt5.QtTest', 'PyQt5.QtWebChannel',
- 'PyQt5.QtWebSockets', 'PyQt5.QtWidgets', 'PyQt5.QtXml',
- 'PyQt5.QtXmlPatterns'
- ]
version('5.13.1', sha256='54b7f456341b89eeb3930e786837762ea67f235e886512496c4152ebe106d4af')
version('5.13.0', sha256='0cdbffe5135926527b61cc3692dd301cd0328dd87eeaf1313e610787c46faff9')
diff --git a/var/spack/repos/builtin/packages/py-pyquaternion/package.py b/var/spack/repos/builtin/packages/py-pyquaternion/package.py
index 82dc26d796..399f7ad994 100644
--- a/var/spack/repos/builtin/packages/py-pyquaternion/package.py
+++ b/var/spack/repos/builtin/packages/py-pyquaternion/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyPyquaternion(PythonPackage):
"""Python morphology manipulation toolkit"""
homepage = "https://kieranwynn.github.io/pyquaternion/"
- url = "https://pypi.org/packages/source/p/pyquaternion/pyquaternion-0.9.5.tar.gz"
+ pypi = "pyquaternion/pyquaternion-0.9.5.tar.gz"
version('0.9.5', sha256='2d89d19259d62a8fbd25219eee7dacc1f6bb570becb70e1e883f622597c7d81d')
diff --git a/var/spack/repos/builtin/packages/py-pyrad/package.py b/var/spack/repos/builtin/packages/py-pyrad/package.py
index cb16b4296d..758699b0aa 100644
--- a/var/spack/repos/builtin/packages/py-pyrad/package.py
+++ b/var/spack/repos/builtin/packages/py-pyrad/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-pyrosar/package.py b/var/spack/repos/builtin/packages/py-pyrosar/package.py
index b0af64b270..5c82d856dc 100644
--- a/var/spack/repos/builtin/packages/py-pyrosar/package.py
+++ b/var/spack/repos/builtin/packages/py-pyrosar/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-pyrsistent/package.py b/var/spack/repos/builtin/packages/py-pyrsistent/package.py
index 0a1baafdd8..72708b8fab 100644
--- a/var/spack/repos/builtin/packages/py-pyrsistent/package.py
+++ b/var/spack/repos/builtin/packages/py-pyrsistent/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyPyrsistent(PythonPackage):
Persistent in the sense that they are immutable."""
homepage = "http://github.com/tobgu/pyrsistent/"
- url = "https://pypi.io/packages/source/p/pyrsistent/pyrsistent-0.15.7.tar.gz"
+ pypi = "pyrsistent/pyrsistent-0.15.7.tar.gz"
version('0.15.7', sha256='cdc7b5e3ed77bed61270a47d35434a30617b9becdf2478af76ad2c6ade307280')
diff --git a/var/spack/repos/builtin/packages/py-pysam/package.py b/var/spack/repos/builtin/packages/py-pysam/package.py
index 5459ef0a16..a11b6fd5e7 100644
--- a/var/spack/repos/builtin/packages/py-pysam/package.py
+++ b/var/spack/repos/builtin/packages/py-pysam/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,9 +10,10 @@ class PyPysam(PythonPackage):
"""A python module for reading, manipulating and writing genomic data
sets."""
- homepage = "https://pypi.python.org/pypi/pysam"
+ homepage = "https://github.com/pysam-developers/pysam"
url = "https://github.com/pysam-developers/pysam/archive/v0.14.1.tar.gz"
+ version('0.15.3', sha256='f553d48d0345404b6b103d0b82bad09c8d78420e1cc6bef33040553fc579e284')
version('0.15.2', sha256='8cb3dd70f0d825086ac059ec2445ebd2ec5f14af73e7f1f4bd358966aaee5ed3')
version('0.15.1', sha256='12221285af17e32b8f3fed033f90c6177a798afe41420eb5c3352d4e18ee12ed')
version('0.14.1', sha256='d2bb40cd083c1357768e4683377f03471d160cfe8421136630bfa47f5adb3219')
diff --git a/var/spack/repos/builtin/packages/py-pyscaf/package.py b/var/spack/repos/builtin/packages/py-pyscaf/package.py
index 53a9adfc56..7bcff058f4 100644
--- a/var/spack/repos/builtin/packages/py-pyscaf/package.py
+++ b/var/spack/repos/builtin/packages/py-pyscaf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,7 @@ class PyPyscaf(PythonPackage):
"""pyScaf orders contigs from genome assemblies utilising several types of
information"""
- homepage = "https://pypi.python.org/pypi/pyScaf"
- url = "https://pypi.io/packages/source/p/pyScaf/pyScaf-0.12a4.tar.gz"
+ pypi = "pyScaf/pyScaf-0.12a4.tar.gz"
version('0.12a4', sha256='3ce3f6fe80bd058831b6a38a56d464ef10f3ebbdd6bc3dcb0d7f127c0b2c1b36')
diff --git a/var/spack/repos/builtin/packages/py-pyscf/package.py b/var/spack/repos/builtin/packages/py-pyscf/package.py
index d0c36d5a79..0afc825828 100644
--- a/var/spack/repos/builtin/packages/py-pyscf/package.py
+++ b/var/spack/repos/builtin/packages/py-pyscf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,6 +16,7 @@ class PyPyscf(PythonPackage):
maintainers = ['naromero77']
+ version('1.7.5', tag='v1.7.5')
version('1.7.3', tag='v1.7.3')
# dependencies
@@ -27,7 +28,8 @@ class PyPyscf(PythonPackage):
depends_on('blas')
depends_on('libcint+coulomb_erf+f12')
depends_on('libxc')
- depends_on('xcfun@:2.0.0a2') # PySCF does not support recent version of the xcfun API'
+ depends_on('xcfun')
+ depends_on('xcfun@2.0.0a2', when='@:1.7.4')
def setup_build_environment(self, env):
# Tell PSCF where supporting libraries are located."
@@ -36,6 +38,7 @@ class PyPyscf(PythonPackage):
pyscf_search_dir = []
pyscf_search_dir.append(spec['blas'].prefix)
pyscf_search_dir.append(spec['libcint'].prefix)
+ pyscf_search_dir.append(spec['libcint'].prefix.lib64)
pyscf_search_dir.append(spec['libxc'].prefix)
pyscf_search_dir.append(spec['xcfun'].prefix)
pyscf_search_dir.append(spec['xcfun'].prefix.include.XCFun)
diff --git a/var/spack/repos/builtin/packages/py-pyserial/package.py b/var/spack/repos/builtin/packages/py-pyserial/package.py
index 07534b8c6b..43fe374209 100644
--- a/var/spack/repos/builtin/packages/py-pyserial/package.py
+++ b/var/spack/repos/builtin/packages/py-pyserial/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPyserial(PythonPackage):
"""Python Serial Port Extension"""
homepage = "https://github.com/pyserial/pyserial"
- url = "https://pypi.io/packages/source/p/pyserial/pyserial-3.1.1.tar.gz"
+ pypi = "pyserial/pyserial-3.1.1.tar.gz"
version('3.1.1', sha256='d657051249ce3cbd0446bcfb2be07a435e1029da4d63f53ed9b4cdde7373364c')
diff --git a/var/spack/repos/builtin/packages/py-pyshp/package.py b/var/spack/repos/builtin/packages/py-pyshp/package.py
index 1c0ff61d21..3ffaaeadd6 100644
--- a/var/spack/repos/builtin/packages/py-pyshp/package.py
+++ b/var/spack/repos/builtin/packages/py-pyshp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyPyshp(PythonPackage):
pure Python."""
homepage = "https://github.com/GeospatialPython/pyshp"
- url = "https://pypi.io/packages/source/p/pyshp/pyshp-1.2.12.tar.gz"
+ pypi = "pyshp/pyshp-1.2.12.tar.gz"
version('2.1.0', sha256='e65c7f24d372b97d0920b864bbeb78322bb37b83f2606e2a2212631d5d51e5c0')
version('1.2.12', sha256='8dcd65e0aa2aa2951527ddb7339ea6e69023543d8a20a73fc51e2829b9ed6179')
diff --git a/var/spack/repos/builtin/packages/py-pyside/package.py b/var/spack/repos/builtin/packages/py-pyside/package.py
index f6c86506c1..52c1dcdcaf 100644
--- a/var/spack/repos/builtin/packages/py-pyside/package.py
+++ b/var/spack/repos/builtin/packages/py-pyside/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ import os
class PyPyside(PythonPackage):
"""Python bindings for Qt."""
- homepage = "https://pypi.python.org/pypi/pyside"
- url = "https://pypi.io/packages/source/P/PySide/PySide-1.2.2.tar.gz"
+ pypi = "PySide/PySide-1.2.2.tar.gz"
# More recent versions of PySide2 (for Qt5) have been taken under
# the offical Qt umbrella. For more information, see:
diff --git a/var/spack/repos/builtin/packages/py-pyside2/package.py b/var/spack/repos/builtin/packages/py-pyside2/package.py
index fa70f45b0b..f6d17bf8aa 100644
--- a/var/spack/repos/builtin/packages/py-pyside2/package.py
+++ b/var/spack/repos/builtin/packages/py-pyside2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,8 +8,8 @@ from spack import *
class PyPyside2(PythonPackage):
"""Python bindings for Qt."""
- homepage = "https://pypi.org/project/PySide2/"
- url = "https://code.qt.io/pyside/pyside-setup.git"
+
+ homepage = "https://www.pyside.org/"
git = "https://code.qt.io/pyside/pyside-setup.git"
# More recent versions of PySide2 (for Qt5) have been taken under
diff --git a/var/spack/repos/builtin/packages/py-pysmartdl/package.py b/var/spack/repos/builtin/packages/py-pysmartdl/package.py
index 16ba79f983..0508546226 100644
--- a/var/spack/repos/builtin/packages/py-pysmartdl/package.py
+++ b/var/spack/repos/builtin/packages/py-pysmartdl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyPysmartdl(PythonPackage):
"""A Smart Download Manager for Python."""
- homepage = "https://pypi.python.org/pypi/pySmartDL/"
- url = "https://pypi.io/packages/source/p/pySmartDL/pySmartDL-1.3.2.tar.gz"
+ pypi = "pySmartDL/pySmartDL-1.3.2.tar.gz"
version('1.3.2', sha256='9a96deb3ee4f4ab2279b22eb908d506f57215e1fbad290d540adcebff187a52c')
version('1.2.5', sha256='d3968ce59412f99d8e17ca532a1d949d2aa770a914e3f5eb2c0385579dc2b6b8')
diff --git a/var/spack/repos/builtin/packages/py-pysocks/package.py b/var/spack/repos/builtin/packages/py-pysocks/package.py
index 200902f536..80866b0215 100644
--- a/var/spack/repos/builtin/packages/py-pysocks/package.py
+++ b/var/spack/repos/builtin/packages/py-pysocks/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPysocks(PythonPackage):
"""A Python SOCKS client module."""
homepage = "https://github.com/Anorov/PySocks"
- url = "https://pypi.io/packages/source/P/PySocks/PySocks-1.7.1.tar.gz"
+ pypi = "PySocks/PySocks-1.7.1.tar.gz"
version('1.7.1', sha256='3f8804571ebe159c380ac6de37643bb4685970655d3bba243530d6558b799aa0')
version('1.6.6', sha256='02419a225ff5dcfc3c9695ef8fc9b4d8cc99658e650c6d4718d4c8f451e63f41')
@@ -18,5 +18,3 @@ class PyPysocks(PythonPackage):
depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
- depends_on('py-psutil', type='test')
- depends_on('py-pytest', type='test')
diff --git a/var/spack/repos/builtin/packages/py-pysolar/package.py b/var/spack/repos/builtin/packages/py-pysolar/package.py
index 54edb7fd87..8208908e14 100644
--- a/var/spack/repos/builtin/packages/py-pysolar/package.py
+++ b/var/spack/repos/builtin/packages/py-pysolar/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyPysolar(PythonPackage):
for extremely precise ephemeris calculations, and more."""
homepage = "http://pysolar.readthedocs.io"
- url = "https://pypi.io/packages/source/p/pysolar/pysolar-0.8.tar.gz"
+ pypi = "pysolar/pysolar-0.8.tar.gz"
version('0.8', sha256='548c05177acd2845143d9624e670635cd3e5c3a63782449ca35e090ca755c617')
diff --git a/var/spack/repos/builtin/packages/py-pyspark/package.py b/var/spack/repos/builtin/packages/py-pyspark/package.py
index 8b25e54c4b..1dfb3204c1 100644
--- a/var/spack/repos/builtin/packages/py-pyspark/package.py
+++ b/var/spack/repos/builtin/packages/py-pyspark/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,10 +10,15 @@ class PyPyspark(PythonPackage):
"""Python bindings for Apache Spark"""
homepage = "http://spark.apache.org"
- url = "https://pypi.io/packages/source/p/pyspark/pyspark-2.3.0.tar.gz"
+ pypi = "pyspark/pyspark-3.0.1.tar.gz"
+ version('3.0.1', sha256='38b485d3634a86c9a2923c39c8f08f003fdd0e0a3d7f07114b2fb4392ce60479')
version('2.4.4', sha256='13655eb113b8cf5f3f85b24fd92f86c4668a723723bd68949d028fa0df2cf694')
version('2.3.0', sha256='0b3536910e154c36a94239f0ba0a201f476aadc72006409e5787198ffd01986e')
+ depends_on('python@2.7:3.7', when='@:2.999', type=('build', 'run'))
+ depends_on('python@2.7:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
- depends_on('py-py4j', type=('build', 'run'))
+ depends_on('py-py4j@0.10.9', when='@3.0.1', type=('build', 'run'))
+ depends_on('py-py4j@0.10.7', when='@2.4.4', type=('build', 'run'))
+ depends_on('py-py4j@0.10.6', when='@2.3.0', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-pysqlite/package.py b/var/spack/repos/builtin/packages/py-pysqlite/package.py
index a624f47dd6..ea470f7350 100644
--- a/var/spack/repos/builtin/packages/py-pysqlite/package.py
+++ b/var/spack/repos/builtin/packages/py-pysqlite/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPysqlite(PythonPackage):
"""Python DB-API module for SQLite 3."""
homepage = "https://github.com/ghaering/pysqlite"
- url = "https://pypi.io/packages/source/p/pysqlite/pysqlite-2.8.3.tar.gz"
+ pypi = "pysqlite/pysqlite-2.8.3.tar.gz"
version('2.8.3', sha256='17d3335863e8cf8392eea71add33dab3f96d060666fe68ab7382469d307f4490')
diff --git a/var/spack/repos/builtin/packages/py-pytailf/package.py b/var/spack/repos/builtin/packages/py-pytailf/package.py
index 0b08866c12..a5bcdbe68f 100644
--- a/var/spack/repos/builtin/packages/py-pytailf/package.py
+++ b/var/spack/repos/builtin/packages/py-pytailf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPytailf(PythonPackage):
"""Simple python tail -f wrapper"""
homepage = "https://bitbucket.org/angry_elf/pytailf/src/default/"
- url = "https://pypi.io/packages/source/p/pytailf/pytailf-1.1.tar.bz2"
+ pypi = "pytailf/pytailf-1.1.tar.bz2"
version('1.1', sha256='d97135ef28ac4a51dfd98887131ce2bffd5d0d6ba757793a4b79740dfb067ace')
diff --git a/var/spack/repos/builtin/packages/py-pytest-arraydiff/package.py b/var/spack/repos/builtin/packages/py-pytest-arraydiff/package.py
new file mode 100644
index 0000000000..3dba597714
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pytest-arraydiff/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+from spack import *
+
+
+class PyPytestArraydiff(PythonPackage):
+ """pytest plugin to help with comparing array output from tests"""
+
+ homepage = "https://github.com/astropy/pytest-arraydiff"
+ pypi = "pytest-arraydiff/pytest-arraydiff-0.3.tar.gz"
+
+ version('0.3', sha256='de2d62f53ecc107ed754d70d562adfa7573677a263216a7f19aa332f20dc6c15')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-numpy', type=('build', 'run'))
+ depends_on('py-six', type=('build', 'run'))
+ depends_on('py-pytest', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-pytest-benchmark/package.py b/var/spack/repos/builtin/packages/py-pytest-benchmark/package.py
new file mode 100644
index 0000000000..80c0b0c70d
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pytest-benchmark/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+from spack import *
+
+
+class PyPytestBenchmark(PythonPackage):
+ """A pytest fixture for benchmarking code."""
+
+ homepage = "https://github.com/ionelmc/pytest-benchmark"
+ pypi = "pytest-benchmark/pytest-benchmark-3.2.3.tar.gz"
+
+ version('3.2.3', sha256='ad4314d093a3089701b24c80a05121994c7765ce373478c8f4ba8d23c9ba9528')
+
+ depends_on('python@2.7:2.8,3.5:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-pytest@3.8:', type=('build', 'run'))
+ depends_on('py-py-cpuinfo', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-pytest-cache/package.py b/var/spack/repos/builtin/packages/py-pytest-cache/package.py
index c74cd44384..b844f356bc 100644
--- a/var/spack/repos/builtin/packages/py-pytest-cache/package.py
+++ b/var/spack/repos/builtin/packages/py-pytest-cache/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyPytestCache(PythonPackage):
"""
homepage = "https://bitbucket.org/hpk42/pytest-cache/src/default/"
- url = "https://pypi.io/packages/source/p/pytest-cache/pytest-cache-1.0.tar.gz"
+ pypi = "pytest-cache/pytest-cache-1.0.tar.gz"
version('1.0', sha256='be7468edd4d3d83f1e844959fd6e3fd28e77a481440a7118d430130ea31b07a9')
diff --git a/var/spack/repos/builtin/packages/py-pytest-check-links/package.py b/var/spack/repos/builtin/packages/py-pytest-check-links/package.py
index 49269ce1f2..64688b7e19 100644
--- a/var/spack/repos/builtin/packages/py-pytest-check-links/package.py
+++ b/var/spack/repos/builtin/packages/py-pytest-check-links/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyPytestCheckLinks(PythonPackage):
"""pytest plugin that checks URLs for HTML-containing files."""
homepage = "https://github.com/jupyterlab/pytest-check-links"
- url = "https://pypi.io/packages/source/p/pytest-check-links/pytest_check_links-0.3.4.tar.gz"
+ pypi = "pytest-check-links/pytest_check_links-0.3.4.tar.gz"
version('0.3.4', sha256='4b3216548431bf9796557e8ee8fd8e5e77a69a4690b3b2f9bcf6fb5af16a502b')
diff --git a/var/spack/repos/builtin/packages/py-pytest-cov/package.py b/var/spack/repos/builtin/packages/py-pytest-cov/package.py
index 154547cda9..d0cd2f2fe3 100644
--- a/var/spack/repos/builtin/packages/py-pytest-cov/package.py
+++ b/var/spack/repos/builtin/packages/py-pytest-cov/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPytestCov(PythonPackage):
"""Pytest plugin for measuring coverage."""
homepage = "https://github.com/pytest-dev/pytest-cov"
- url = "https://pypi.io/packages/source/p/pytest-cov/pytest-cov-2.8.1.tar.gz"
+ pypi = "pytest-cov/pytest-cov-2.8.1.tar.gz"
version('2.8.1', sha256='cc6742d8bac45070217169f5f72ceee1e0e55b0221f54bcf24845972d3a47f2b')
version('2.3.1', sha256='fa0a212283cdf52e2eecc24dd6459bb7687cc29adb60cb84258fab73be8dda0f')
diff --git a/var/spack/repos/builtin/packages/py-pytest-cpp/package.py b/var/spack/repos/builtin/packages/py-pytest-cpp/package.py
new file mode 100644
index 0000000000..78bf707499
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pytest-cpp/package.py
@@ -0,0 +1,22 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+from spack import *
+
+
+class PyPytestCpp(PythonPackage):
+ """Use pytest runner to discover and execute C++ tests."""
+
+ homepage = "https://github.com/pytest-dev/pytest-cpp"
+ pypi = "pytest-cpp/pytest-cpp-1.4.0.tar.gz"
+
+ version('1.5.0', sha256='efb7eaac30f9f61515be181d04b70d80d60ce8871426f726ef1844e2db4f3353')
+ version('1.4.0', sha256='aa3a04fe7906e50094d1a9b8d38bc10eb59d0a8330a11a0f7a660405228b48ca')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-setuptools-scm', type='build')
+ depends_on('py-pytest@:5.3.999,5.4.2:', type=('build', 'run'))
+ depends_on('py-colorama', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-pytest-doctestplus/package.py b/var/spack/repos/builtin/packages/py-pytest-doctestplus/package.py
new file mode 100644
index 0000000000..bab8fabb89
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pytest-doctestplus/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+from spack import *
+
+
+class PyPytestDoctestplus(PythonPackage):
+ """Pytest plugin with advanced doctest features."""
+
+ homepage = "https://www.astropy.org/"
+ pypi = "pytest-doctestplus/pytest-doctestplus-0.8.0.tar.gz"
+
+ version('0.9.0', sha256='6fe747418461d7b202824a3486ba8f4fa17a9bd0b1eddc743ba1d6d87f03391a')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-setuptools@30.3.0:', type=('build', 'run'))
+ depends_on('py-setuptools-scm', type='build')
+ depends_on('py-pytest@4.6:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-pytest-flake8/package.py b/var/spack/repos/builtin/packages/py-pytest-flake8/package.py
index 108196f7cc..6c3ea2498d 100644
--- a/var/spack/repos/builtin/packages/py-pytest-flake8/package.py
+++ b/var/spack/repos/builtin/packages/py-pytest-flake8/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPytestFlake8(PythonPackage):
"""pytest plugin to check FLAKE8 requirements."""
homepage = "https://github.com/tholo/pytest-flake8"
- url = "https://pypi.io/packages/source/p/pytest-flake8/pytest-flake8-0.8.1.tar.gz"
+ pypi = "pytest-flake8/pytest-flake8-0.8.1.tar.gz"
version('0.8.1', sha256='aa10a6db147485d71dad391d4149388904c3072194d51755f64784ff128845fd')
diff --git a/var/spack/repos/builtin/packages/py-pytest-flakes/package.py b/var/spack/repos/builtin/packages/py-pytest-flakes/package.py
new file mode 100644
index 0000000000..47bfb13ebd
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pytest-flakes/package.py
@@ -0,0 +1,22 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+from spack import *
+
+
+class PyPytestFlakes(PythonPackage):
+ """py.test plugin for efficiently checking python source with pyflakes."""
+
+ homepage = "https://github.com/asmeurer/pytest-flakes"
+ pypi = "pytest-flakes/pytest-flakes-4.0.2.tar.gz"
+
+ version('4.0.3', sha256='bf070c5485dad82d5b5f5d0eb08d269737e378492d9a68f5223b0a90924c7754')
+ version('4.0.2', sha256='6733db47937d9689032876359e5ee0ee6926e3638546c09220e2f86b3581d4c1')
+
+ depends_on('python@3.5:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-pytest@5:', type=('build', 'run'))
+ depends_on('py-pyflakes', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-pytest-forked/package.py b/var/spack/repos/builtin/packages/py-pytest-forked/package.py
index 9fe5556428..879d1d3e1d 100644
--- a/var/spack/repos/builtin/packages/py-pytest-forked/package.py
+++ b/var/spack/repos/builtin/packages/py-pytest-forked/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPytestForked(PythonPackage):
"""Run tests in isolated forked subprocesses."""
homepage = "https://github.com/pytest-dev/pytest-forked"
- url = "https://pypi.io/packages/source/p/pytest-forked/pytest-forked-1.1.1.tar.gz"
+ pypi = "pytest-forked/pytest-forked-1.1.1.tar.gz"
version('1.1.1', sha256='e2d46f319c8063a3a0536b18f9cdea6eea3bc9fe2cb16c94e1d6fad3abc37300')
diff --git a/var/spack/repos/builtin/packages/py-pytest-httpbin/package.py b/var/spack/repos/builtin/packages/py-pytest-httpbin/package.py
index 5e270bf4df..80c0c68946 100644
--- a/var/spack/repos/builtin/packages/py-pytest-httpbin/package.py
+++ b/var/spack/repos/builtin/packages/py-pytest-httpbin/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPytestHttpbin(PythonPackage):
"""Easily test your HTTP library against a local copy of httpbin"""
homepage = "https://github.com/kevin1024/pytest-httpbin"
- url = "https://pypi.io/packages/source/p/pytest-httpbin/pytest-httpbin-1.0.0.tar.gz"
+ pypi = "pytest-httpbin/pytest-httpbin-1.0.0.tar.gz"
version('1.0.0', sha256='d8ce547f42423026550ed7765f6c6d50c033b43025e8592270a7abf970e19b72')
version('0.2.3', sha256='c5b698dfa474ffc9caebcb35e34346b753eb226aea5c2e1b69fefedbcf161bf8')
@@ -23,4 +23,3 @@ class PyPytestHttpbin(PythonPackage):
depends_on('py-decorator', when='@:0.2', type=('build', 'run'))
depends_on('py-httpbin', type=('build', 'run'))
depends_on('py-six', type=('build', 'run'))
- depends_on('py-pytest', type='test')
diff --git a/var/spack/repos/builtin/packages/py-pytest-isort/package.py b/var/spack/repos/builtin/packages/py-pytest-isort/package.py
index d55b9550e2..e51634f8bf 100644
--- a/var/spack/repos/builtin/packages/py-pytest-isort/package.py
+++ b/var/spack/repos/builtin/packages/py-pytest-isort/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,7 @@ class PyPytestIsort(PythonPackage):
"""py.test plugin to check import ordering using isort"""
homepage = "http://github.com/moccu/pytest-isort/"
- url = "https://pypi.io/packages/source/p/pytest-isort/pytest-isort-0.3.1.tar.gz"
- import_modules = ['pytest_isort']
+ pypi = "pytest-isort/pytest-isort-0.3.1.tar.gz"
version('0.3.1', sha256='4bfee60dad1870b51700d55a85f5ceda766bd9d3d2878c1bbabee80e61b1be1a')
diff --git a/var/spack/repos/builtin/packages/py-pytest-mock/package.py b/var/spack/repos/builtin/packages/py-pytest-mock/package.py
index e5a3240d99..125623ef75 100644
--- a/var/spack/repos/builtin/packages/py-pytest-mock/package.py
+++ b/var/spack/repos/builtin/packages/py-pytest-mock/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPytestMock(PythonPackage):
"""Thin-wrapper around the mock package for easier use with py.test"""
homepage = "https://github.com/pytest-dev/pytest-mock"
- url = "https://pypi.io/packages/source/p/pytest-mock/pytest-mock-1.11.1.tar.gz"
+ pypi = "pytest-mock/pytest-mock-1.11.1.tar.gz"
version('1.11.1', sha256='f1ab8aefe795204efe7a015900296d1719e7bf0f4a0558d71e8599da1d1309d0')
version('1.2', sha256='f78971ed376fcb265255d1e4bb313731b3a1be92d7f3ecb19ea7fedc4a56fd0f',
diff --git a/var/spack/repos/builtin/packages/py-pytest-mypy/package.py b/var/spack/repos/builtin/packages/py-pytest-mypy/package.py
index 1f7cc82af8..6cb84feccb 100644
--- a/var/spack/repos/builtin/packages/py-pytest-mypy/package.py
+++ b/var/spack/repos/builtin/packages/py-pytest-mypy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPytestMypy(PythonPackage):
"""Mypy static type checker plugin for Pytest."""
homepage = "https://github.com/dbader/pytest-mypy"
- url = "https://pypi.io/packages/source/p/pytest-mypy/pytest-mypy-0.4.2.tar.gz"
+ pypi = "pytest-mypy/pytest-mypy-0.4.2.tar.gz"
version('0.4.2', sha256='5a5338cecff17f005b181546a13e282761754b481225df37f33d37f86ac5b304')
diff --git a/var/spack/repos/builtin/packages/py-pytest-openfiles/package.py b/var/spack/repos/builtin/packages/py-pytest-openfiles/package.py
new file mode 100644
index 0000000000..4707c3cd1a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pytest-openfiles/package.py
@@ -0,0 +1,24 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+from spack import *
+
+
+class PyPytestOpenfiles(PythonPackage):
+ """A plugin for the pytest framework that allows developers to detect
+ whether any file handles or other file-like objects were inadvertently
+ left open at the end of a unit test"""
+
+ homepage = "https://github.com/astropy/pytest-openfiles"
+ pypi = "pytest-openfiles/pytest-openfiles-0.5.0.tar.gz"
+
+ version('0.5.0', sha256='179c2911d8aee3441fee051aba08e0d9b4dab61b829ae4811906d5c49a3b0a58')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-setuptools@30.3.1:', type='build')
+ depends_on('py-setuptools-scm', type='build')
+ depends_on('py-pytest@4.6:', type=('build', 'run'))
+ depends_on('py-psutil', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-pytest-pep8/package.py b/var/spack/repos/builtin/packages/py-pytest-pep8/package.py
index f365a172eb..e2ff74e2fc 100644
--- a/var/spack/repos/builtin/packages/py-pytest-pep8/package.py
+++ b/var/spack/repos/builtin/packages/py-pytest-pep8/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,9 +10,7 @@ class PyPytestPep8(PythonPackage):
"""pytest plugin for efficiently checking PEP8 compliance"""
homepage = "https://bitbucket.org/pytest-dev/pytest-pep8"
- url = "https://pypi.io/packages/source/p/pytest-pep8/pytest-pep8-1.0.6.tar.gz"
-
- import_modules = ['pytest_pep8']
+ pypi = "pytest-pep8/pytest-pep8-1.0.6.tar.gz"
version('1.0.6', sha256='032ef7e5fa3ac30f4458c73e05bb67b0f036a8a5cb418a534b3170f89f120318')
diff --git a/var/spack/repos/builtin/packages/py-pytest-runner/package.py b/var/spack/repos/builtin/packages/py-pytest-runner/package.py
index d3337bcac9..1221464219 100644
--- a/var/spack/repos/builtin/packages/py-pytest-runner/package.py
+++ b/var/spack/repos/builtin/packages/py-pytest-runner/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,12 +10,10 @@ class PyPytestRunner(PythonPackage):
"""Invoke py.test as distutils command with dependency resolution."""
homepage = "https://github.com/pytest-dev/pytest-runner"
- url = "https://pypi.io/packages/source/p/pytest-runner/pytest-runner-5.1.tar.gz"
-
- import_modules = ['ptr']
+ pypi = "pytest-runner/pytest-runner-5.1.tar.gz"
version('5.1', sha256='25a013c8d84f0ca60bb01bd11913a3bcab420f601f0f236de4423074af656e7a')
version('2.11.1', sha256='983a31eab45e375240e250161a556163bc8d250edaba97960909338c273a89b3')
- depends_on('py-setuptools', type='build')
+ depends_on('py-setuptools', type=('build', 'run'))
depends_on('py-setuptools-scm@1.15:', type='build')
diff --git a/var/spack/repos/builtin/packages/py-pytest-timeout/package.py b/var/spack/repos/builtin/packages/py-pytest-timeout/package.py
new file mode 100644
index 0000000000..a9de608856
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pytest-timeout/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+from spack import *
+
+
+class PyPytestTimeout(PythonPackage):
+ """A plugin which will terminate tests after a certain timeout,
+ assuming the test session isn't being debugged."""
+
+ homepage = "https://github.com/pytest-dev/pytest-timeout/"
+ pypi = "pytest-timeout/pytest-timeout-1.4.2.tar.gz"
+
+ version('1.4.2', sha256='20b3113cf6e4e80ce2d403b6fb56e9e1b871b510259206d40ff8d609f48bda76')
+
+ depends_on('python@2.7:2.8,3.5:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-pytest@3.6.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-pytest-xdist/package.py b/var/spack/repos/builtin/packages/py-pytest-xdist/package.py
index 389d7c7689..ed112cc47b 100644
--- a/var/spack/repos/builtin/packages/py-pytest-xdist/package.py
+++ b/var/spack/repos/builtin/packages/py-pytest-xdist/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPytestXdist(PythonPackage):
"""py.test xdist plugin for distributed testing and loop-on-failing mode"""
homepage = "https://github.com/pytest-dev/pytest-xdist"
- url = "https://pypi.io/packages/source/p/pytest-xdist/pytest-xdist-1.30.0.tar.gz"
+ pypi = "pytest-xdist/pytest-xdist-1.30.0.tar.gz"
version('1.30.0', sha256='5d1b1d4461518a6023d56dab62fb63670d6f7537f23e2708459a557329accf48')
version('1.29.0', sha256='3489d91516d7847db5eaecff7a2e623dba68984835dbe6cedb05ae126c4fb17f')
diff --git a/var/spack/repos/builtin/packages/py-pytest/package.py b/var/spack/repos/builtin/packages/py-pytest/package.py
index b6d2c914c5..6a453178a5 100644
--- a/var/spack/repos/builtin/packages/py-pytest/package.py
+++ b/var/spack/repos/builtin/packages/py-pytest/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,10 +10,10 @@ class PyPytest(PythonPackage):
"""pytest: simple powerful testing with Python."""
homepage = "http://pytest.org/"
- url = "https://pypi.io/packages/source/p/pytest/pytest-5.2.1.tar.gz"
-
- import_modules = ['pytest']
+ pypi = "pytest/pytest-5.2.1.tar.gz"
+ version('6.2.1', sha256='66e419b1899bc27346cb2c993e12c5e5e8daba9073c1fbce33b9807abc95c306')
+ version('6.1.1', sha256='8f593023c1a0f916110285b6efd7f99db07d59546e3d8c36fc60e2ab05d3be92')
version('5.3.4', sha256='1d122e8be54d1a709e56f82e2d85dcba3018313d64647f38a91aec88c239b600')
version('5.2.1', sha256='ca563435f4941d0cb34767301c27bc65c510cb82e90b9ecf9cb52dc2c63caaa0')
version('5.1.1', sha256='c3d5020755f70c82eceda3feaf556af9a341334414a8eca521a18f463bcead88')
@@ -27,7 +27,8 @@ class PyPytest(PythonPackage):
version('3.0.7', sha256='b70696ebd1a5e6b627e7e3ac1365a4bc60aaf3495e843c1e70448966c5224cab')
version('3.0.2', sha256='64d8937626dd2a4bc15ef0edd307d26636a72a3f3f9664c424d78e40efb1e339')
- depends_on('python@3.5:', when='@5:', type=('build', 'run'))
+ depends_on('python@3.6:', when='@6.2.0', type=('build', 'run'))
+ depends_on('python@3.5:', when='@5:6.1.999', type=('build', 'run'))
depends_on('python@2.7:2.8,3.4:', when='@3.3:4', type=('build', 'run'))
depends_on('python@2.6:2.8,3.3:', when='@:3.2', type=('build', 'run'))
@@ -35,21 +36,26 @@ class PyPytest(PythonPackage):
# However, pytest requires setuptools during runtime as well.
# FIXME: May no longer be needed at runtime, see:
# https://github.com/pytest-dev/pytest/pull/5063
- depends_on('py-setuptools@40.0:', when='@3.9.2:', type=('build', 'run'))
+ depends_on('py-setuptools@42.0:', when='@6.2:', type=('build', 'run'))
+ depends_on('py-setuptools@40.0:', when='@3.9.2:6.1.999', type=('build', 'run'))
depends_on('py-setuptools@30.3:', when='@3.9.0:3.9.1', type=('build', 'run'))
depends_on('py-setuptools', type=('build', 'run'))
+ depends_on('py-setuptools-scm@3.4:', when='@6.2:', type=('build', 'run'))
depends_on('py-setuptools-scm', when='@3.1:', type='build')
- depends_on('py-py@1.5.0:', when='@3.3:', type=('build', 'run'))
+ depends_on('py-py@1.8.2:', when='@6:', type=('build', 'run'))
+ depends_on('py-py@1.5.0:', when='@3.3:5.999', type=('build', 'run'))
depends_on('py-py@1.4.33:', when='@3.1.2:3.2.3,3.2.5:3.2.999', type=('build', 'run'))
depends_on('py-py@1.4.33:1.4.999', when='@3.2.4', type=('build', 'run'))
depends_on('py-py@1.4.29:', when='@:3.1.1', type=('build', 'run'))
depends_on('py-six@1.10.0:', when='@3.3:4', type=('build', 'run'))
depends_on('py-packaging', when='@4.6:', type=('build', 'run'))
+ depends_on('py-attrs@19.2.0:', when='@6.2:', type=('build', 'run'))
+ depends_on('py-attrs@17.4.0:', when='@3.5:6.1.999', type=('build', 'run'))
depends_on('py-attrs@17.2.0:', when='@3.3:3.4', type=('build', 'run'))
- depends_on('py-attrs@17.4.0:', when='@3.5:', type=('build', 'run'))
- depends_on('py-more-itertools@4.0.0:', when='@3.5.1:', type=('build', 'run'))
+ depends_on('py-more-itertools@4.0.0:', when='@3.5.1:5.999', type=('build', 'run'))
depends_on('py-more-itertools@4.0.0:6.0.0', when='@4.2.1:4.6.9 ^python@:2', type=('build', 'run'))
depends_on('py-atomicwrites@1.0:', when='@3.6:5.2.999', type=('build', 'run'))
+ depends_on('py-pluggy@0.12:1.0.0', when='@6.2.1.', type=('build', 'run'))
depends_on('py-pluggy@0.12:0.999', when='@4.6:', type=('build', 'run'))
depends_on('py-pluggy@0.9.0:0.9.999,0.11:0.999', when='@4.5.0:4.5.999', type=('build', 'run'))
depends_on('py-pluggy@0.11:', when='@4.4.2:4.4.999', type=('build', 'run'))
@@ -63,4 +69,6 @@ class PyPytest(PythonPackage):
depends_on('py-pathlib2', when='@3.7.0 ^python@:3.5', type=('build', 'run'))
depends_on('py-importlib-metadata@0.12:', when='@4.6:5.0', type=('build', 'run'))
depends_on('py-importlib-metadata@0.12:', when='@5.1: ^python@:3.7', type=('build', 'run'))
- depends_on('py-wcwidth', when='@4.5:', type=('build', 'run'))
+ depends_on('py-wcwidth', when='@4.5:5.999', type=('build', 'run'))
+ depends_on('py-iniconfig', when='@6.0:', type=('build', 'run'))
+ depends_on('py-toml', when='@6.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-python-benedict/package.py b/var/spack/repos/builtin/packages/py-python-benedict/package.py
new file mode 100644
index 0000000000..ae7bd82821
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-python-benedict/package.py
@@ -0,0 +1,31 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyPythonBenedict(PythonPackage):
+ """A dict subclass with keylist/keypath support, I/O shortcuts
+ and many utilities."""
+
+ homepage = "https://github.com/fabiocaccamo/python-benedict"
+ pypi = "python-benedict/python-benedict-0.22.2.tar.gz"
+
+ version('0.23.2', sha256='b7bdffd92ba1c9b9e044bda08ed545a48a45bd7a5207f93b4b2a8eb2660d1b4c')
+
+ depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-ftfy@4.4.3', when='python@:3.3.999', type=('build', 'run'))
+ depends_on('py-ftfy', when='python@3.4:', type=('build', 'run'))
+ depends_on('py-mailchecker', type=('build', 'run'))
+ depends_on('py-phonenumbers', type=('build', 'run'))
+ depends_on('py-python-dateutil', type=('build', 'run'))
+ depends_on('py-python-fsutil', type=('build', 'run'))
+ depends_on('py-python-slugify', type=('build', 'run'))
+ depends_on('py-pyyaml', type=('build', 'run'))
+ depends_on('py-requests', type=('build', 'run'))
+ depends_on('py-six', type=('build', 'run'))
+ depends_on('py-toml', type=('build', 'run'))
+ depends_on('py-xmltodict', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-python-daemon/package.py b/var/spack/repos/builtin/packages/py-python-daemon/package.py
index 6b70c03234..8185918c75 100644
--- a/var/spack/repos/builtin/packages/py-python-daemon/package.py
+++ b/var/spack/repos/builtin/packages/py-python-daemon/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,8 +18,7 @@ class PyPythonDaemon(PythonPackage):
environment for the program; use the instance as a context manager
to enter a daemon state.
"""
- homepage = "https://pypi.python.org/pypi/python-daemon/"
- url = "https://pypi.io/packages/source/p/python-daemon/python-daemon-2.0.5.tar.gz"
+ pypi = "python-daemon/python-daemon-2.0.5.tar.gz"
version('2.0.5', sha256='afde4fa433d94d007206ee31a0941d55b5eb232a5422b670aad628547b46bf68')
diff --git a/var/spack/repos/builtin/packages/py-python-dateutil/package.py b/var/spack/repos/builtin/packages/py-python-dateutil/package.py
index 16bff6858d..d3ba1d1e6c 100644
--- a/var/spack/repos/builtin/packages/py-python-dateutil/package.py
+++ b/var/spack/repos/builtin/packages/py-python-dateutil/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,11 +10,7 @@ class PyPythonDateutil(PythonPackage):
"""Extensions to the standard Python datetime module."""
homepage = "https://dateutil.readthedocs.io/"
- url = "https://pypi.io/packages/source/p/python-dateutil/python-dateutil-2.8.0.tar.gz"
-
- import_modules = [
- 'dateutil', 'dateutil.zoneinfo', 'dateutil.parser', 'dateutil.tz'
- ]
+ pypi = "python-dateutil/python-dateutil-2.8.0.tar.gz"
version('2.8.0', sha256='c89805f6f4d64db21ed966fda138f8a5ed7a4fdbc1a8ee329ce1b74e3c74da9e')
version('2.7.5', sha256='88f9287c0174266bb0d8cedd395cfba9c58e87e5ad86b2ce58859bc11be3cf02')
@@ -27,13 +23,3 @@ class PyPythonDateutil(PythonPackage):
depends_on('py-setuptools@24.3:', type='build')
depends_on('py-setuptools-scm', type='build', when='@2.7.0:')
depends_on('py-six@1.5:', type=('build', 'run'))
- # depends_on('py-pytest', type='test')
- # depends_on('py-hypothesis', type='test')
- # depends_on('py-freezegun', type='test')
-
- def build_test(self):
- # Tests require freezegun, which depends on python-dateutil,
- # creating circular dependency
- # pytest = which('pytest')
- # pytest()
- pass
diff --git a/var/spack/repos/builtin/packages/py-python-docs-theme/package.py b/var/spack/repos/builtin/packages/py-python-docs-theme/package.py
index 4b1b7232b4..21350e73ab 100644
--- a/var/spack/repos/builtin/packages/py-python-docs-theme/package.py
+++ b/var/spack/repos/builtin/packages/py-python-docs-theme/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyPythonDocsTheme(PythonPackage):
"""
homepage = "https://docs.python.org/3/"
- url = "https://pypi.io/packages/source/p/python-docs-theme/python-docs-theme-2018.7.tar.gz"
+ pypi = "python-docs-theme/python-docs-theme-2018.7.tar.gz"
version('2020.1', sha256='29c33ba393bdb9377910116a0c1cc329573a4e040227c58a3293d27928d8262a')
version('2018.7', sha256='018a5bf2a7318c9c9a8346303dac8afc6bc212d92e86561c9b95a3372714155a')
diff --git a/var/spack/repos/builtin/packages/py-python-editor/package.py b/var/spack/repos/builtin/packages/py-python-editor/package.py
index 3db92f7a21..1fbc451c5f 100644
--- a/var/spack/repos/builtin/packages/py-python-editor/package.py
+++ b/var/spack/repos/builtin/packages/py-python-editor/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,7 @@ class PyPythonEditor(PythonPackage):
"""python-editor is a library that provides the editor module for
programmatically interfacing with your system's EDITOR variable."""
- homepage = "https://pypi.org/project/python-editor/"
- url = "https://pypi.io/packages/source/p/python-editor/python-editor-1.0.4.tar.gz"
+ pypi = "python-editor/python-editor-1.0.4.tar.gz"
version('1.0.4', sha256='51fda6bcc5ddbbb7063b2af7509e43bd84bfc32a4ff71349ec7847713882327b')
diff --git a/var/spack/repos/builtin/packages/py-python-engineio/package.py b/var/spack/repos/builtin/packages/py-python-engineio/package.py
index 3d6ccca57b..fd7e8c1e22 100644
--- a/var/spack/repos/builtin/packages/py-python-engineio/package.py
+++ b/var/spack/repos/builtin/packages/py-python-engineio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-python-fmask/package.py b/var/spack/repos/builtin/packages/py-python-fmask/package.py
index fe914a5a3b..c0af4d3db9 100644
--- a/var/spack/repos/builtin/packages/py-python-fmask/package.py
+++ b/var/spack/repos/builtin/packages/py-python-fmask/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-python-fsutil/package.py b/var/spack/repos/builtin/packages/py-python-fsutil/package.py
new file mode 100644
index 0000000000..eda87766f2
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-python-fsutil/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyPythonFsutil(PythonPackage):
+ """file-system utilities for lazy devs."""
+
+ homepage = "https://github.com/fabiocaccamo/python-fsutil"
+ pypi = "python-fsutil/python-fsutil-0.4.0.tar.gz"
+
+ version('0.4.0', sha256='873eceb11fb488fc2d7675cd1bc74a743502f674f0be88f5e7b920c7baeefed6')
+
+ depends_on('python@2.7:2.8,3.5:', type=('build', 'run'))
+ depends_on('py-requests', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
diff --git a/var/spack/repos/builtin/packages/py-python-gitlab/package.py b/var/spack/repos/builtin/packages/py-python-gitlab/package.py
index e21c10b24d..42b41db0d5 100644
--- a/var/spack/repos/builtin/packages/py-python-gitlab/package.py
+++ b/var/spack/repos/builtin/packages/py-python-gitlab/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPythonGitlab(PythonPackage):
"""Python wrapper for the GitLab API"""
homepage = "https://github.com/gpocentek/python-gitlab"
- url = "https://pypi.io/packages/source/p/python-gitlab/python-gitlab-0.19.tar.gz"
+ pypi = "python-gitlab/python-gitlab-0.19.tar.gz"
version('1.8.0', sha256='a6b03bc53f6e2e22b88d5ff9772b1bb360570ec82752f1def3d6eb60cda093e7')
version('0.19', sha256='88b65591db7a10a0d9979797e4e654a113e2b93b3a559309f6092b27ab93934a')
diff --git a/var/spack/repos/builtin/packages/py-python-igraph/package.py b/var/spack/repos/builtin/packages/py-python-igraph/package.py
index 88da5b0656..a437d06f68 100644
--- a/var/spack/repos/builtin/packages/py-python-igraph/package.py
+++ b/var/spack/repos/builtin/packages/py-python-igraph/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-python-jenkins/package.py b/var/spack/repos/builtin/packages/py-python-jenkins/package.py
index 601951c90e..5a152de56e 100644
--- a/var/spack/repos/builtin/packages/py-python-jenkins/package.py
+++ b/var/spack/repos/builtin/packages/py-python-jenkins/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPythonJenkins(PythonPackage):
"""Python bindings for the remote Jenkins API"""
homepage = "https://opendev.org/jjb/python-jenkins/"
- url = "https://pypi.io/packages/source/p/python-jenkins/python-jenkins-1.5.0.tar.gz"
+ pypi = "python-jenkins/python-jenkins-1.5.0.tar.gz"
version('1.5.0', sha256='0b11f7c1dffc48579afefa8a310cba5b1c98785b9132892ff8cf5312f32ebc90')
version('1.0.2', sha256='54aba30cf49f78f9eb64e9717ad8049dacf090731a3e0c27e6035f9ec52ff78e')
diff --git a/var/spack/repos/builtin/packages/py-python-json-logger/package.py b/var/spack/repos/builtin/packages/py-python-json-logger/package.py
index b3aa3efbca..913f871939 100644
--- a/var/spack/repos/builtin/packages/py-python-json-logger/package.py
+++ b/var/spack/repos/builtin/packages/py-python-json-logger/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPythonJsonLogger(PythonPackage):
""""A python library adding a json log formatter."""
homepage = "https://github.com/madzak/python-json-logger"
- url = "https://pypi.io/packages/source/p/python-json-logger/python-json-logger-0.1.11.tar.gz"
+ pypi = "python-json-logger/python-json-logger-0.1.11.tar.gz"
version('0.1.11', sha256='b7a31162f2a01965a5efb94453ce69230ed208468b0bbc7fdfc56e6d8df2e281')
diff --git a/var/spack/repos/builtin/packages/py-python-ldap/package.py b/var/spack/repos/builtin/packages/py-python-ldap/package.py
index e4f8cc1938..190f467cdc 100644
--- a/var/spack/repos/builtin/packages/py-python-ldap/package.py
+++ b/var/spack/repos/builtin/packages/py-python-ldap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyPythonLdap(PythonPackage):
"""
homepage = "https://www.python-ldap.org/en/python-ldap-3.2.0/"
- url = "https://pypi.io/packages/source/p/python-ldap/python-ldap-3.2.0.tar.gz"
+ pypi = "python-ldap/python-ldap-3.2.0.tar.gz"
version('3.2.0', sha256='7d1c4b15375a533564aad3d3deade789221e450052b21ebb9720fb822eccdb8e')
version('3.0.0', sha256='86746b912a2cd37a54b06c694f021b0c8556d4caeab75ef50435ada152e2fbe1')
diff --git a/var/spack/repos/builtin/packages/py-python-levenshtein/package.py b/var/spack/repos/builtin/packages/py-python-levenshtein/package.py
index 5dc3a4305d..83449ca44a 100644
--- a/var/spack/repos/builtin/packages/py-python-levenshtein/package.py
+++ b/var/spack/repos/builtin/packages/py-python-levenshtein/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyPythonLevenshtein(PythonPackage):
similarities."""
homepage = "https://github.com/ztane/python-Levenshtein"
- url = "https://pypi.io/packages/source/p/python-Levenshtein/python-Levenshtein-0.12.0.tar.gz"
+ pypi = "python-Levenshtein/python-Levenshtein-0.12.0.tar.gz"
version('0.12.0', sha256='033a11de5e3d19ea25c9302d11224e1a1898fe5abd23c61c7c360c25195e3eb1')
diff --git a/var/spack/repos/builtin/packages/py-python-logstash/package.py b/var/spack/repos/builtin/packages/py-python-logstash/package.py
index 5eb60590d2..73fcc8c617 100644
--- a/var/spack/repos/builtin/packages/py-python-logstash/package.py
+++ b/var/spack/repos/builtin/packages/py-python-logstash/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,6 +10,6 @@ class PyPythonLogstash(PythonPackage):
"""Python logging handler for Logstash."""
homepage = "https://github.com/vklochan/python-logstash"
- url = "https://pypi.io/packages/source/p/python-logstash/python-logstash-0.4.6.tar.gz"
+ pypi = "python-logstash/python-logstash-0.4.6.tar.gz"
version('0.4.6', sha256='10943e5df83f592b4d61b63ad1afff855ccc8c9467f78718f0a59809ba1fe68c')
diff --git a/var/spack/repos/builtin/packages/py-python-lzo/package.py b/var/spack/repos/builtin/packages/py-python-lzo/package.py
index acf60351b7..8a18db57d1 100644
--- a/var/spack/repos/builtin/packages/py-python-lzo/package.py
+++ b/var/spack/repos/builtin/packages/py-python-lzo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyPythonLzo(PythonPackage):
library."""
homepage = "https://github.com/jd-boyd/python-lzo"
- url = "https://pypi.io/packages/source/p/python-lzo/python-lzo-1.12.tar.gz"
+ pypi = "python-lzo/python-lzo-1.12.tar.gz"
version('1.12', sha256='97a8e46825e8f1abd84c2a3372bc09adae9745a5be5d3af2692cd850dac35345')
diff --git a/var/spack/repos/builtin/packages/py-python-magic/package.py b/var/spack/repos/builtin/packages/py-python-magic/package.py
index 7fe5bab70c..f3ac87c720 100644
--- a/var/spack/repos/builtin/packages/py-python-magic/package.py
+++ b/var/spack/repos/builtin/packages/py-python-magic/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyPythonMagic(PythonPackage):
"""A python wrapper for libmagic"""
homepage = "https://github.com/ahupp/python-magic"
- url = "https://pypi.io/packages/source/p/python-magic/python-magic-0.4.15.tar.gz"
+ pypi = "python-magic/python-magic-0.4.15.tar.gz"
version('0.4.15', sha256='f3765c0f582d2dfc72c15f3b5a82aecfae9498bd29ca840d72f37d7bd38bfcd5')
diff --git a/var/spack/repos/builtin/packages/py-python-mapnik/package.py b/var/spack/repos/builtin/packages/py-python-mapnik/package.py
index 79e2bc41a6..1df131f814 100644
--- a/var/spack/repos/builtin/packages/py-python-mapnik/package.py
+++ b/var/spack/repos/builtin/packages/py-python-mapnik/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-python-meep/package.py b/var/spack/repos/builtin/packages/py-python-meep/package.py
index d7e50e8509..4b8d7b0c2f 100644
--- a/var/spack/repos/builtin/packages/py-python-meep/package.py
+++ b/var/spack/repos/builtin/packages/py-python-meep/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-python-memcached/package.py b/var/spack/repos/builtin/packages/py-python-memcached/package.py
index 9347aea117..29f58a19b5 100644
--- a/var/spack/repos/builtin/packages/py-python-memcached/package.py
+++ b/var/spack/repos/builtin/packages/py-python-memcached/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,8 +12,7 @@ class PyPythonMemcached(PythonPackage):
or more, possibly remote, memcached servers. Search google for memcached
for more information."""
- homepage = "https://pypi.org/project/python-memcached/"
- url = "https://pypi.io/packages/source/p/python-memcached/python-memcached-1.59.tar.gz"
+ pypi = "python-memcached/python-memcached-1.59.tar.gz"
version('1.59', sha256='a2e28637be13ee0bf1a8b6843e7490f9456fd3f2a4cb60471733c7b5d5557e4f')
diff --git a/var/spack/repos/builtin/packages/py-python-oauth2/package.py b/var/spack/repos/builtin/packages/py-python-oauth2/package.py
index 1ced77c542..4214067dbd 100644
--- a/var/spack/repos/builtin/packages/py-python-oauth2/package.py
+++ b/var/spack/repos/builtin/packages/py-python-oauth2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,7 @@ class PyPythonOauth2(PythonPackage):
"""python-oauth2 is a framework that aims at making it easy to
provide authentication via OAuth 2.0 within an application stack."""
- homepage = "https://pypi.org/project/python-oauth2/"
- url = "https://pypi.io/packages/source/p/python-oauth2/python-oauth2-1.1.1.tar.gz"
+ pypi = "python-oauth2/python-oauth2-1.1.1.tar.gz"
version('1.1.1', sha256='d7a8544927ac18215ba5317edd8f640a5f1f0593921bcf3ce862178312c8c9a4')
diff --git a/var/spack/repos/builtin/packages/py-python-rapidjson/package.py b/var/spack/repos/builtin/packages/py-python-rapidjson/package.py
index 3715c34b64..0df7feb954 100644
--- a/var/spack/repos/builtin/packages/py-python-rapidjson/package.py
+++ b/var/spack/repos/builtin/packages/py-python-rapidjson/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPythonRapidjson(PythonPackage):
"""Python wrapper around rapidjson."""
homepage = "https://github.com/python-rapidjson/python-rapidjson"
- url = "https://pypi.io/packages/source/p/python-rapidjson/python-rapidjson-0.9.1.tar.gz"
+ pypi = "python-rapidjson/python-rapidjson-0.9.1.tar.gz"
version('0.9.1', sha256='ad80bd7e4bb15d9705227630037a433e2e2a7982b54b51de2ebabdd1611394a1')
diff --git a/var/spack/repos/builtin/packages/py-python-slugify/package.py b/var/spack/repos/builtin/packages/py-python-slugify/package.py
index 506fb66810..739836c8ae 100644
--- a/var/spack/repos/builtin/packages/py-python-slugify/package.py
+++ b/var/spack/repos/builtin/packages/py-python-slugify/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPythonSlugify(PythonPackage):
"""A Python Slugify application that handles Unicode"""
homepage = "https://github.com/un33k/python-slugify"
- url = "https://pypi.io/packages/source/p/python-slugify/python-slugify-4.0.0.tar.gz"
+ pypi = "python-slugify/python-slugify-4.0.0.tar.gz"
version('4.0.0', sha256='a8fc3433821140e8f409a9831d13ae5deccd0b033d4744d94b31fea141bdd84c')
diff --git a/var/spack/repos/builtin/packages/py-python-socketio/package.py b/var/spack/repos/builtin/packages/py-python-socketio/package.py
index dad0618940..311ec2f078 100644
--- a/var/spack/repos/builtin/packages/py-python-socketio/package.py
+++ b/var/spack/repos/builtin/packages/py-python-socketio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPythonSocketio(PythonPackage):
"""Python implementation of the Socket.IO realtime server."""
homepage = "https://github.com/miguelgrinberg/python-socketio"
- url = "https://pypi.io/packages/source/p/python-socketio/python-socketio-1.8.4.tar.gz"
+ pypi = "python-socketio/python-socketio-1.8.4.tar.gz"
version('1.8.4', sha256='13807ce17e85371d15b31295a43b1fac1c0dba1eb5fc233353a3efd53aa122cc')
diff --git a/var/spack/repos/builtin/packages/py-python-subunit/package.py b/var/spack/repos/builtin/packages/py-python-subunit/package.py
index e894ae2b71..8f1a0d3d0a 100644
--- a/var/spack/repos/builtin/packages/py-python-subunit/package.py
+++ b/var/spack/repos/builtin/packages/py-python-subunit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPythonSubunit(PythonPackage):
"""Python implementation of subunit test streaming protocol."""
homepage = "https://launchpad.net/subunit"
- url = "https://pypi.io/packages/source/p/python-subunit/python-subunit-1.3.0.tar.gz"
+ pypi = "python-subunit/python-subunit-1.3.0.tar.gz"
version('1.3.0', sha256='9607edbee4c1e5a30ff88549ce8d9feb0b9bcbcb5e55033a9d76e86075465cbb')
diff --git a/var/spack/repos/builtin/packages/py-python-swiftclient/package.py b/var/spack/repos/builtin/packages/py-python-swiftclient/package.py
index a016686406..5463601695 100644
--- a/var/spack/repos/builtin/packages/py-python-swiftclient/package.py
+++ b/var/spack/repos/builtin/packages/py-python-swiftclient/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,12 +10,10 @@ class PyPythonSwiftclient(PythonPackage):
"""This is a python client for the Swift API."""
homepage = "https://docs.openstack.org/python-swiftclient"
- url = "https://pypi.io/packages/source/p/python-swiftclient/python-swiftclient-3.9.0.tar.gz"
+ pypi = "python-swiftclient/python-swiftclient-3.9.0.tar.gz"
maintainers = ['ajkotobi']
- import_modules = ['sys', 'setuptools', 'requests']
-
version('3.10.0', sha256='66227eaf29a691c70675fb9982022980b92797c273dd5e6dc7e680425e9a3634')
version('3.9.0', sha256='4f2097492e4c76e948882fc859bfa033ade09bed72f8e6b328e34a3467d9a377')
version('3.8.1', sha256='3a013303643f77a99befa05582dfb93671e1fba1aed9f4a517418129700aedb8')
diff --git a/var/spack/repos/builtin/packages/py-python-utils/package.py b/var/spack/repos/builtin/packages/py-python-utils/package.py
index 6c8e3aa732..9cc0a44d6d 100644
--- a/var/spack/repos/builtin/packages/py-python-utils/package.py
+++ b/var/spack/repos/builtin/packages/py-python-utils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,12 +12,10 @@ class PyPythonUtils(PythonPackage):
which make common patterns shorter and easier."""
homepage = "https://github.com/WoLpH/python-utils"
- url = "https://pypi.io/packages/source/p/python-utils/python-utils-2.4.0.tar.gz"
+ pypi = "python-utils/python-utils-2.4.0.tar.gz"
version('2.4.0', sha256='f21fc09ff58ea5ebd1fd2e8ef7f63e39d456336900f26bdc9334a03a3f7d8089')
version('2.3.0', sha256='34aaf26b39b0b86628008f2ae0ac001b30e7986a8d303b61e1357dfcdad4f6d3')
depends_on('py-setuptools', type='build')
depends_on('py-six', type=('build', 'run'))
- depends_on('py-pytest', type='test')
- depends_on('py-pytest-runner', type='test')
diff --git a/var/spack/repos/builtin/packages/py-pythonqwt/package.py b/var/spack/repos/builtin/packages/py-pythonqwt/package.py
index 8de66c15bb..8f7678a6e3 100644
--- a/var/spack/repos/builtin/packages/py-pythonqwt/package.py
+++ b/var/spack/repos/builtin/packages/py-pythonqwt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPythonqwt(PythonPackage):
"""Qt plotting widgets for Python"""
homepage = "https://github.com/PierreRaybaut/PythonQwt"
- url = "https://pypi.io/packages/source/P/PythonQwt/PythonQwt-0.5.5.zip"
+ pypi = "PythonQwt/PythonQwt-0.5.5.zip"
version('0.5.5', sha256='1f13cc8b555a57f8fe0f806d6c2f6d847050e4d837649503932b81316d12788a')
diff --git a/var/spack/repos/builtin/packages/py-pythonsollya/package.py b/var/spack/repos/builtin/packages/py-pythonsollya/package.py
new file mode 100644
index 0000000000..02decf6b86
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pythonsollya/package.py
@@ -0,0 +1,25 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyPythonsollya(PythonPackage):
+ """Python wrapper for the Sollya library"""
+
+ homepage = "Python wrapper for the Sollya library"
+ url = "https://gitlab.com/metalibm-dev/pythonsollya/-/archive/release-0.4.0-alpha0/pythonsollya-release-0.4.0-alpha0.tar.gz"
+
+ version('0.4.0-alpha0', sha256='faac899744c92b1d20980cadef309cd5610d79722322e97940ff142c207c41b5')
+ version('0.3.0', url='https://gitlab.com/metalibm-dev/pythonsollya/-/archive/0.3/pythonsollya-0.3.tar.gz',
+ sha256='cdccd0c5549247ad7498546095544d8d01e78bcb4a3e55c32d6daea6b845b6b9', preferred=True)
+
+ depends_on('py-cython', type='build')
+ depends_on('py-six', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('libffi', type='build')
+ depends_on('sollya', type=('build', 'link'))
+ depends_on('py-bigfloat', type=('build', 'run'))
+ depends_on('mpfi', type=('build', 'link'))
diff --git a/var/spack/repos/builtin/packages/py-pytimeparse/package.py b/var/spack/repos/builtin/packages/py-pytimeparse/package.py
index ef2a2e8196..af392a6bd7 100644
--- a/var/spack/repos/builtin/packages/py-pytimeparse/package.py
+++ b/var/spack/repos/builtin/packages/py-pytimeparse/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPytimeparse(PythonPackage):
"""A small Python library to parse various kinds of time expressions."""
homepage = "https://github.com/wroberts/pytimeparse"
- url = "https://pypi.io/packages/source/p/pytimeparse/pytimeparse-1.1.8.tar.gz"
+ pypi = "pytimeparse/pytimeparse-1.1.8.tar.gz"
version('1.1.8', sha256='e86136477be924d7e670646a98561957e8ca7308d44841e21f5ddea757556a0a')
diff --git a/var/spack/repos/builtin/packages/py-pytools/package.py b/var/spack/repos/builtin/packages/py-pytools/package.py
index 95b33b9707..22a380fa34 100644
--- a/var/spack/repos/builtin/packages/py-pytools/package.py
+++ b/var/spack/repos/builtin/packages/py-pytools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyPytools(PythonPackage):
"""A collection of tools for Python"""
- homepage = "https://pypi.org/project/pytools/"
- url = "https://pypi.io/packages/source/p/pytools/pytools-2019.1.1.tar.gz"
+ pypi = "pytools/pytools-2019.1.1.tar.gz"
version('2019.1.1', sha256='ce2d702ae4ef10a70197b00b93141461140d00578f2a862fa946ca1446a300db')
version('2016.2.6', sha256='6dd49932b8f81a8b622685cff3dd515e351a9290aef0fd5d020e4df00c06aa95')
diff --git a/var/spack/repos/builtin/packages/py-pytorch-gradual-warmup-lr/package.py b/var/spack/repos/builtin/packages/py-pytorch-gradual-warmup-lr/package.py
index d6f7d6cc50..231fee0cff 100644
--- a/var/spack/repos/builtin/packages/py-pytorch-gradual-warmup-lr/package.py
+++ b/var/spack/repos/builtin/packages/py-pytorch-gradual-warmup-lr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-pytz/package.py b/var/spack/repos/builtin/packages/py-pytz/package.py
index d4d752fdaa..bcc1a8327e 100644
--- a/var/spack/repos/builtin/packages/py-pytz/package.py
+++ b/var/spack/repos/builtin/packages/py-pytz/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,9 +10,7 @@ class PyPytz(PythonPackage):
"""World timezone definitions, modern and historical."""
homepage = "http://pythonhosted.org/pytz"
- url = "https://pypi.io/packages/source/p/pytz/pytz-2019.3.tar.gz"
-
- import_modules = ['pytz']
+ pypi = "pytz/pytz-2019.3.tar.gz"
version('2020.1', sha256='c35965d010ce31b23eeb663ed3cc8c906275d6be1a34393a1d73a41febf4a048')
version('2019.3', sha256='b02c06db6cf09c12dd25137e563b31700d3b80fcc4ad23abb7a315f2789819be')
diff --git a/var/spack/repos/builtin/packages/py-pyudev/package.py b/var/spack/repos/builtin/packages/py-pyudev/package.py
index 700eec6b62..c9609a223f 100644
--- a/var/spack/repos/builtin/packages/py-pyudev/package.py
+++ b/var/spack/repos/builtin/packages/py-pyudev/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPyudev(PythonPackage):
"""Pure Python libudev binding"""
homepage = "https://pyudev.readthedocs.io/en/latest/"
- url = "https://pypi.io/packages/source/p/pyudev/pyudev-0.9.tar.gz"
+ pypi = "pyudev/pyudev-0.9.tar.gz"
version('0.21.0', sha256='094b7a100150114748aaa3b70663485dd360457a709bfaaafe5a977371033f2b')
version('0.15', sha256='12f462b777388c447edaac9e4b423a38a76eeb43f36b1a42288e771309d663c2')
diff --git a/var/spack/repos/builtin/packages/py-pyugrid/package.py b/var/spack/repos/builtin/packages/py-pyugrid/package.py
index c411460ea6..c6e9949797 100644
--- a/var/spack/repos/builtin/packages/py-pyugrid/package.py
+++ b/var/spack/repos/builtin/packages/py-pyugrid/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPyugrid(PythonPackage):
"""Work with triangular unstructured grids and the data on them."""
homepage = "https://github.com/pyugrid/pyugrid"
- url = "https://pypi.io/packages/source/p/pyugrid/pyugrid-0.3.1.tar.gz"
+ pypi = "pyugrid/pyugrid-0.3.1.tar.gz"
version('0.3.1', sha256='eddadc1e88c0e801f780b1e6f636fbfc00e3d14cdab82b43300fde0918310053')
diff --git a/var/spack/repos/builtin/packages/py-pyutilib/package.py b/var/spack/repos/builtin/packages/py-pyutilib/package.py
index 0fc62c07a4..79318b3deb 100644
--- a/var/spack/repos/builtin/packages/py-pyutilib/package.py
+++ b/var/spack/repos/builtin/packages/py-pyutilib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-pyvcf/package.py b/var/spack/repos/builtin/packages/py-pyvcf/package.py
index f1a3f7201d..47ecbb5df9 100644
--- a/var/spack/repos/builtin/packages/py-pyvcf/package.py
+++ b/var/spack/repos/builtin/packages/py-pyvcf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-pywavelets/package.py b/var/spack/repos/builtin/packages/py-pywavelets/package.py
index 460c6011e7..a735566afb 100644
--- a/var/spack/repos/builtin/packages/py-pywavelets/package.py
+++ b/var/spack/repos/builtin/packages/py-pywavelets/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,13 +12,11 @@ class PyPywavelets(PythonPackage):
in Python"""
homepage = "https://github.com/PyWavelets"
- url = "https://pypi.io/packages/source/P/PyWavelets/PyWavelets-0.5.2.tar.gz"
+ pypi = "PyWavelets/PyWavelets-0.5.2.tar.gz"
version('1.1.1', sha256='1a64b40f6acb4ffbaccce0545d7fc641744f95351f62e4c6aaa40549326008c9')
version('0.5.2', sha256='ce36e2f0648ea1781490b09515363f1f64446b0eac524603e5db5e180113bed9')
- import_modules = ['pywt', 'pywt.data']
-
depends_on('python@3.5:', type=('build', 'run'), when='@1.1.1:')
depends_on('py-setuptools', type='build')
depends_on('py-cython', type='build')
diff --git a/var/spack/repos/builtin/packages/py-pywcs/package.py b/var/spack/repos/builtin/packages/py-pywcs/package.py
index dea2adb2d9..a7bb6e4fc4 100644
--- a/var/spack/repos/builtin/packages/py-pywcs/package.py
+++ b/var/spack/repos/builtin/packages/py-pywcs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-pyyaml/package.py b/var/spack/repos/builtin/packages/py-pyyaml/package.py
index 00b3d848b7..1c5e7d02eb 100644
--- a/var/spack/repos/builtin/packages/py-pyyaml/package.py
+++ b/var/spack/repos/builtin/packages/py-pyyaml/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyPyyaml(PythonPackage):
"""PyYAML is a YAML parser and emitter for Python."""
homepage = "https://pyyaml.org/wiki/PyYAML"
- url = "https://pypi.io/packages/source/P/PyYAML/PyYAML-5.3.1.tar.gz"
+ pypi = "PyYAML/PyYAML-5.3.1.tar.gz"
git = "https://github.com/yaml/pyyaml.git"
maintainers = ['adamjstewart']
@@ -61,8 +61,6 @@ class PyPyyaml(PythonPackage):
return args
# Tests need to be re-added since `phases` was overridden
- run_after('build_ext')(
- PythonPackage._run_default_build_time_test_callbacks)
run_after('install')(
PythonPackage._run_default_install_time_test_callbacks)
run_after('install')(PythonPackage.sanity_check_prefix)
diff --git a/var/spack/repos/builtin/packages/py-pyzmq/package.py b/var/spack/repos/builtin/packages/py-pyzmq/package.py
index 9cd9e46242..9230b285e3 100644
--- a/var/spack/repos/builtin/packages/py-pyzmq/package.py
+++ b/var/spack/repos/builtin/packages/py-pyzmq/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,6 +11,14 @@ class PyPyzmq(PythonPackage):
homepage = "https://github.com/zeromq/pyzmq"
url = "https://github.com/zeromq/pyzmq/archive/v14.7.0.tar.gz"
+ import_modules = [
+ 'zmq', 'zmq.green', 'zmq.green.eventloop', 'zmq.sugar', 'zmq.auth',
+ 'zmq.auth.asyncio', 'zmq.utils', 'zmq.backend', 'zmq.backend.cffi',
+ 'zmq.backend.cython', 'zmq.ssh', 'zmq.eventloop',
+ 'zmq.eventloop.minitornado', 'zmq.eventloop.minitornado.platform',
+ 'zmq.log', 'zmq.asyncio', 'zmq.devices'
+ ]
+
version('18.1.0', sha256='32f7618b8104021bc96cbd60be4330bdf37b929e8061dbce362c9f3478a08e21')
version('18.0.1', sha256='7b0107992d8cc4c43d9af1c2e13d573ea761c7feb23d7e0e7da9dc963811e68f')
version('17.1.2', sha256='77a32350440e321466b1748e6063b34a8a73768b62cb674e7d799fbc654b7c45')
@@ -18,9 +26,21 @@ class PyPyzmq(PythonPackage):
version('14.7.0', sha256='809a5fcc720d286c840f7f64696e60322b5b2544795a73db626f09b344d16a15')
depends_on('python@2.7:2.8,3.3:', type=('build', 'run'), when='@18:')
- depends_on('py-cython@0.16:', type=('build', 'run'))
- depends_on('py-cython@0.20:', type=('build', 'run'), when='@18:')
- # these dependencies might only be needed for pypy
+ depends_on('py-cython@0.16:', type='build')
+ depends_on('py-cython@0.20:', type='build', when='@18:')
depends_on('py-py', type=('build', 'run'))
depends_on('py-cffi', type=('build', 'run'))
+ depends_on('py-gevent', type=('build', 'run'))
depends_on('libzmq')
+
+ def setup_build_environment(self, env):
+ # Needed for `spack install --test=root py-pyzmq`
+ # Fixes import failure for zmq.backend.cffi
+ # https://github.com/zeromq/pyzmq/issues/395#issuecomment-22041019
+ env.prepend_path(
+ 'C_INCLUDE_PATH', self.spec['libzmq'].headers.directories[0])
+ env.prepend_path(
+ 'LIBRARY_PATH', self.spec['libzmq'].libs.directories[0])
+
+ # Needed for `spack test run py-pyzmq`
+ setup_run_environment = setup_build_environment
diff --git a/var/spack/repos/builtin/packages/py-qsymm/package.py b/var/spack/repos/builtin/packages/py-qsymm/package.py
new file mode 100644
index 0000000000..7c7f3e5f7f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-qsymm/package.py
@@ -0,0 +1,30 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyQsymm(PythonPackage):
+ """Qsymm is a symmetry finder and symmetric Hamiltonian generator.
+ It automatically generates model Hamiltonians from symmetry
+ constraints and finds the full symmetry group of your Hamiltonian."""
+
+ homepage = "https://gitlab.kwant-project.org/qt/qsymm"
+ pypi = "qsymm/qsymm-1.2.7.tar.gz"
+ git = "https://gitlab.kwant-project.org/qt/qsymm.git"
+
+ # Add a list of GitHub accounts to notify when the
+ # package is updated
+ maintainers = ['payerle']
+
+ version('1.2.7', sha256='9af92a30c3f72883c744d4717e4ec30c8b48121e208c10553e8e0e428fe43bbc')
+
+ depends_on('python@3.5:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-numpy@1.13:', type=('build', 'run'))
+ depends_on('py-scipy@0.19:', type=('build', 'run'))
+ depends_on('py-sympy@1.1:', type=('build', 'run'))
+ depends_on('py-tinyarray', type=('build', 'run'))
+ depends_on('py-pytest-runner', type='build')
diff --git a/var/spack/repos/builtin/packages/py-qtawesome/package.py b/var/spack/repos/builtin/packages/py-qtawesome/package.py
index 962a74654a..68d7ddb5af 100644
--- a/var/spack/repos/builtin/packages/py-qtawesome/package.py
+++ b/var/spack/repos/builtin/packages/py-qtawesome/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyQtawesome(PythonPackage):
"""FontAwesome icons in PyQt and PySide applications"""
homepage = "https://github.com/spyder-ide/qtawesome"
- url = "https://pypi.io/packages/source/Q/QtAwesome/QtAwesome-0.4.1.tar.gz"
+ pypi = "QtAwesome/QtAwesome-0.4.1.tar.gz"
version('0.4.1', sha256='9ea91efeb83e8b73f814aeca898c29cade0c087acec58e91b4f384595aeb4cfd')
version('0.3.3', sha256='c3c98ee4df0133ae42d202fea20253f8746266b4541c5df4269ca4131792ce0f')
diff --git a/var/spack/repos/builtin/packages/py-qtconsole/package.py b/var/spack/repos/builtin/packages/py-qtconsole/package.py
index 046e04c2e5..5effe1cc02 100644
--- a/var/spack/repos/builtin/packages/py-qtconsole/package.py
+++ b/var/spack/repos/builtin/packages/py-qtconsole/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyQtconsole(PythonPackage):
"""Jupyter Qt console"""
homepage = "http://ipython.org"
- url = "https://pypi.io/packages/source/q/qtconsole/qtconsole-4.2.1.tar.gz"
+ pypi = "qtconsole/qtconsole-4.2.1.tar.gz"
version('4.5.1', sha256='4af84facdd6f00a6b9b2927255f717bb23ae4b7a20ba1d9ef0a5a5a8dbe01ae2')
version('4.2.1', sha256='25ec7d345528b3e8f3c91be349dd3c699755f206dc4b6ec668e2e5dd60ea18ef')
@@ -26,5 +26,3 @@ class PyQtconsole(PythonPackage):
depends_on('py-ipython-genutils', type=('build', 'run'), when='@4.5.1:')
depends_on('py-sphinx@1.3:', type=('build', 'run'), when='+docs')
depends_on('py-pyqt5', type='run')
-
- depends_on('py-mock', type='test', when='^python@2.7:2.8')
diff --git a/var/spack/repos/builtin/packages/py-qtpy/package.py b/var/spack/repos/builtin/packages/py-qtpy/package.py
index 6acb27f6cf..794f62e60a 100644
--- a/var/spack/repos/builtin/packages/py-qtpy/package.py
+++ b/var/spack/repos/builtin/packages/py-qtpy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyQtpy(PythonPackage):
"""QtPy: Abtraction layer for PyQt5/PyQt4/PySide/PySide2"""
homepage = "https://github.com/spyder-ide/qtpy"
- url = "https://pypi.io/packages/source/Q/QtPy/QtPy-1.2.1.tar.gz"
+ pypi = "QtPy/QtPy-1.2.1.tar.gz"
version('1.7.1', sha256='e97275750934b3a1f4d8e263f5b889ae817ed36f26867ab0ce52be731ab1ed9e')
version('1.2.1', sha256='5803ce31f50b24295e8e600b76cc91d7f2a3140a5a0d526d40226f9ec5e9097d')
diff --git a/var/spack/repos/builtin/packages/py-quantities/package.py b/var/spack/repos/builtin/packages/py-quantities/package.py
index 0f46396aff..1bee1ac00f 100644
--- a/var/spack/repos/builtin/packages/py-quantities/package.py
+++ b/var/spack/repos/builtin/packages/py-quantities/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyQuantities(PythonPackage):
"""Support for physical quantities with units, based on numpy"""
homepage = "http://python-quantities.readthedocs.org"
- url = "https://pypi.io/packages/source/q/quantities/quantities-0.12.1.tar.gz"
+ pypi = "quantities/quantities-0.12.1.tar.gz"
version('0.12.1', sha256='0a03e8511db603c57ca80dee851c43f08d0457f4d592bcac2e154570756cb934')
version('0.11.1', sha256='4382098a501b55bf0fdb3dba2061a161041253697d78811ecfd7c55449836660',
diff --git a/var/spack/repos/builtin/packages/py-quast/package.py b/var/spack/repos/builtin/packages/py-quast/package.py
index 5f8962ab78..e605d1bfb7 100644
--- a/var/spack/repos/builtin/packages/py-quast/package.py
+++ b/var/spack/repos/builtin/packages/py-quast/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-queryablelist/package.py b/var/spack/repos/builtin/packages/py-queryablelist/package.py
index f69e621e83..e8bd2b713c 100644
--- a/var/spack/repos/builtin/packages/py-queryablelist/package.py
+++ b/var/spack/repos/builtin/packages/py-queryablelist/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyQueryablelist(PythonPackage):
items"""
homepage = "https://github.com/kata198/QueryableList"
- url = "https://pypi.io/packages/source/q/queryablelist/QueryableList-3.1.0.tar.gz"
+ pypi = "queryablelist/QueryableList-3.1.0.tar.gz"
version('3.1.0', sha256='8891dccbadc69a35f5944e1826d8f8db224522aa3af913e301a7a448f5b411e9')
diff --git a/var/spack/repos/builtin/packages/py-questionary/package.py b/var/spack/repos/builtin/packages/py-questionary/package.py
new file mode 100644
index 0000000000..62b21eed9e
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-questionary/package.py
@@ -0,0 +1,20 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyQuestionary(PythonPackage):
+ """Questionary is a Python library for effortlessly building pretty
+ command line interfaces."""
+
+ homepage = "https://github.com/tmbo/questionary"
+ pypi = "questionary/questionary-1.9.0.tar.gz"
+
+ version('1.9.0', sha256='a050fdbb81406cddca679a6f492c6272da90cb09988963817828f697cf091c55')
+
+ depends_on('python@3.6:3.9.999', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-prompt-toolkit@2.0:3.99', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-radical-utils/package.py b/var/spack/repos/builtin/packages/py-radical-utils/package.py
index c0c38ecd40..995dfbfd5d 100644
--- a/var/spack/repos/builtin/packages/py-radical-utils/package.py
+++ b/var/spack/repos/builtin/packages/py-radical-utils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyRadicalUtils(PythonPackage):
"""Shared code and tools for various RADICAL Projects"""
homepage = "http://radical.rutgers.edu"
- url = "https://pypi.io/packages/source/r/radical.utils/radical.utils-0.45.tar.gz"
+ pypi = "radical.utils/radical.utils-0.45.tar.gz"
version('0.45', sha256='1333cff1a69532e51d4484fbac3fad6b172d415d2055a3141117c7cf8bdee6c5')
version('0.41.1', sha256='582900e0434f49b69885a89bc65dc787362756e1014d52a4afac0bb61bcaa3ce')
diff --git a/var/spack/repos/builtin/packages/py-ranger-fm/package.py b/var/spack/repos/builtin/packages/py-ranger-fm/package.py
index 92485a649b..2b61107f9d 100644
--- a/var/spack/repos/builtin/packages/py-ranger-fm/package.py
+++ b/var/spack/repos/builtin/packages/py-ranger-fm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,7 @@ from spack import *
class PyRangerFm(PythonPackage):
"""A VIM-inspired filemanager for the console"""
- homepage = "https://pypi.python.org/pypi/ranger-fm"
- url = "https://pypi.io/packages/source/r/ranger-fm/ranger-fm-1.9.2.tar.gz"
+ pypi = "ranger-fm/ranger-fm-1.9.2.tar.gz"
git = "https://github.com/ranger/ranger.git"
version('1.9.2', sha256='0ec62031185ad1f40b9faebd5a2d517c8597019c2eee919e3f1c60ce466d8625')
diff --git a/var/spack/repos/builtin/packages/py-rasterio/package.py b/var/spack/repos/builtin/packages/py-rasterio/package.py
index 8d3b131b4e..32c771a500 100644
--- a/var/spack/repos/builtin/packages/py-rasterio/package.py
+++ b/var/spack/repos/builtin/packages/py-rasterio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,17 +8,20 @@ from spack import *
class PyRasterio(PythonPackage):
"""Rasterio reads and writes geospatial raster data.
+
Geographic information systems use GeoTIFF and other formats to
organize and store gridded, or raster, datasets. Rasterio reads
and writes these formats and provides a Python API based on N-D
arrays."""
homepage = "https://github.com/mapbox/rasterio"
- url = "https://pypi.io/packages/source/r/rasterio/rasterio-1.1.5.tar.gz"
+ pypi = "rasterio/rasterio-1.1.8.tar.gz"
+ git = "https://github.com/mapbox/rasterio.git"
maintainers = ['adamjstewart']
- import_modules = ['rasterio', 'rasterio.rio']
+ version('master', branch='master')
+ version('1.1.8', sha256='f7cac7e2ecf65b4b1eb78c994c63bd429b67dc679b0bc0ecfe487d3d5bf88fd5')
version('1.1.5', sha256='ebe75c71f9257c780615caaec8ef81fa4602702cf9290a65c213e1639284acc9')
version('1.0.24', sha256='4839479621045211f66868ec49625979693450bc2e476f23e7e8ac4804eaf452')
version('1.0a12', sha256='47d460326e04c64590ff56952271a184a6307f814efc34fb319c12e690585f3c')
@@ -26,7 +29,8 @@ class PyRasterio(PythonPackage):
depends_on('python@3.5:', type=('build', 'link', 'run'), when='@1.2:')
depends_on('python@2.7:2.8,3.5:3.8', type=('build', 'link', 'run'), when='@1.1.0:1.1.999')
depends_on('python@2.7:2.8,3.5:3.7', type=('build', 'link', 'run'), when='@:1.0')
- depends_on('py-setuptools', type='build')
+ depends_on('py-setuptools', type=('build', 'run'))
+ depends_on('py-cython', type='build', when='@master')
depends_on('py-affine', type=('build', 'run'))
depends_on('py-attrs', type=('build', 'run'))
depends_on('py-click@4:7', type=('build', 'run'))
@@ -35,12 +39,7 @@ class PyRasterio(PythonPackage):
depends_on('py-snuggs@1.4.1:', type=('build', 'run'))
depends_on('py-click-plugins', type=('build', 'run'))
depends_on('py-enum34', type='run', when='^python@:3.3')
- depends_on('gdal@1.11:3.0', when='@1.0.25:')
+ depends_on('gdal@3.0:', when='@1.2.0:')
+ depends_on('gdal@1.11:3.2', when='@1.1.0:1.1.999')
+ depends_on('gdal@1.11:3.0', when='@1.0.25:1.0.999')
depends_on('gdal@1.11:2', when='@:1.0.24')
- depends_on('py-pytest@2.8.2:', type='test')
- depends_on('py-pytest-cov@2.2.0:', type='test')
- depends_on('py-boto3@1.2.4:', type='test')
- depends_on('py-packaging', type='test')
- depends_on('py-hypothesis', type='test')
- depends_on('py-futures', type='test', when='^python@:3.1')
- depends_on('py-mock', type='test', when='^python@:3.1')
diff --git a/var/spack/repos/builtin/packages/py-ratelim/package.py b/var/spack/repos/builtin/packages/py-ratelim/package.py
index 30653282cb..354739a68d 100644
--- a/var/spack/repos/builtin/packages/py-ratelim/package.py
+++ b/var/spack/repos/builtin/packages/py-ratelim/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyRatelim(PythonPackage):
"""Makes it easy to respect rate limits."""
homepage = "https://github.com/themiurgo/ratelim"
- url = "https://pypi.io/packages/source/r/ratelim/ratelim-0.1.6.tar.gz"
+ pypi = "ratelim/ratelim-0.1.6.tar.gz"
version('0.1.6', sha256='826d32177e11f9a12831901c9fda6679fd5bbea3605910820167088f5acbb11d')
diff --git a/var/spack/repos/builtin/packages/py-raven/package.py b/var/spack/repos/builtin/packages/py-raven/package.py
index a78fc59f0a..dc3b40977f 100644
--- a/var/spack/repos/builtin/packages/py-raven/package.py
+++ b/var/spack/repos/builtin/packages/py-raven/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyRaven(PythonPackage):
"""Raven is a client for Sentry."""
homepage = "https://github.com/getsentry/raven-python"
- url = "https://pypi.io/packages/source/r/raven/raven-6.10.0.tar.gz"
+ pypi = "raven/raven-6.10.0.tar.gz"
version('6.10.0', sha256='3fa6de6efa2493a7c827472e984ce9b020797d0da16f1db67197bcc23c8fae54')
diff --git a/var/spack/repos/builtin/packages/py-ray/package.py b/var/spack/repos/builtin/packages/py-ray/package.py
index 8d7b1c2769..ec10016c3b 100644
--- a/var/spack/repos/builtin/packages/py-ray/package.py
+++ b/var/spack/repos/builtin/packages/py-ray/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-rbtools/package.py b/var/spack/repos/builtin/packages/py-rbtools/package.py
index 4315936c80..1f46324100 100644
--- a/var/spack/repos/builtin/packages/py-rbtools/package.py
+++ b/var/spack/repos/builtin/packages/py-rbtools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-rdflib/package.py b/var/spack/repos/builtin/packages/py-rdflib/package.py
index 5e1b8da03a..ae79ffa481 100644
--- a/var/spack/repos/builtin/packages/py-rdflib/package.py
+++ b/var/spack/repos/builtin/packages/py-rdflib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,7 +16,7 @@ class PyRdflib(PythonPackage):
statements """
homepage = "https://github.com/RDFLib/rdflib"
- url = "https://pypi.io/packages/source/r/rdflib/rdflib-5.0.0.tar.gz"
+ pypi = "rdflib/rdflib-5.0.0.tar.gz"
version('5.0.0', sha256='78149dd49d385efec3b3adfbd61c87afaf1281c30d3fcaf1b323b34f603fb155')
diff --git a/var/spack/repos/builtin/packages/py-readme-renderer/package.py b/var/spack/repos/builtin/packages/py-readme-renderer/package.py
index edfdfa6d46..fc5c2dcb44 100644
--- a/var/spack/repos/builtin/packages/py-readme-renderer/package.py
+++ b/var/spack/repos/builtin/packages/py-readme-renderer/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyReadmeRenderer(PythonPackage):
for Warehouse."""
homepage = "https://github.com/pypa/readme_renderer"
- url = "https://pypi.io/packages/source/r/readme_renderer/readme_renderer-24.0.tar.gz"
+ pypi = "readme_renderer/readme_renderer-24.0.tar.gz"
version('24.0', sha256='bb16f55b259f27f75f640acf5e00cf897845a8b3e4731b5c1a436e4b8529202f')
version('16.0', sha256='c46b3418ddef3c3c3f819a4a9cfd56ede15c03d12197962a7e7a89edf1823dd5')
@@ -21,5 +21,3 @@ class PyReadmeRenderer(PythonPackage):
depends_on('py-docutils@0.13.1:', type=('build', 'run'))
depends_on('py-pygments', type=('build', 'run'))
depends_on('py-six', type=('build', 'run'))
- depends_on('py-pytest', type='test')
- depends_on('py-mock', type='test')
diff --git a/var/spack/repos/builtin/packages/py-recommonmark/package.py b/var/spack/repos/builtin/packages/py-recommonmark/package.py
index ad27abc0c1..056f448a34 100644
--- a/var/spack/repos/builtin/packages/py-recommonmark/package.py
+++ b/var/spack/repos/builtin/packages/py-recommonmark/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,7 +15,7 @@ class PyRecommonmark(PythonPackage):
http://recommonmark.readthedocs.org"""
homepage = "https://github.com/readthedocs/recommonmark"
- url = "https://pypi.io/packages/source/r/recommonmark/recommonmark-0.6.0.tar.gz"
+ pypi = "recommonmark/recommonmark-0.6.0.tar.gz"
version('0.6.0', sha256='29cd4faeb6c5268c633634f2d69aef9431e0f4d347f90659fd0aab20e541efeb')
diff --git a/var/spack/repos/builtin/packages/py-redis/package.py b/var/spack/repos/builtin/packages/py-redis/package.py
index 970f97f12e..2d99d04e4b 100644
--- a/var/spack/repos/builtin/packages/py-redis/package.py
+++ b/var/spack/repos/builtin/packages/py-redis/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,14 +9,13 @@ from spack import *
class PyRedis(PythonPackage):
"""The Python interface to the Redis key-value store."""
- homepage = "https://pypi.org/project/redis/"
- url = "https://pypi.io/packages/source/r/redis/redis-3.3.8.tar.gz"
+ pypi = "redis/redis-3.3.8.tar.gz"
version('3.5.3', sha256='0e7e0cfca8660dea8b7d5cd8c4f6c5e29e11f31158c0b0ae91a397f00e5a05a2')
version('3.5.0', sha256='7378105cd8ea20c4edc49f028581e830c01ad5f00be851def0f4bc616a83cd89')
version('3.3.8', sha256='98a22fb750c9b9bb46e75e945dc3f61d0ab30d06117cbb21ff9cd1d315fedd3b')
- variant("hiredis", default=False, description="Support for hiredis which speeds up parsing of multi bulk replies")
+ variant("hiredis", default=False, description="Support for hiredis which speeds up parsing of multi bulk replies")
depends_on('python@2.7:2.8,3.4:', when="@3.3.0:3.3.99", type=('build', 'run'))
depends_on('python@2.7:2.8,3.5:', when="@3.4.0:", type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-regex/package.py b/var/spack/repos/builtin/packages/py-regex/package.py
index a6ab78adb7..563475bb2c 100644
--- a/var/spack/repos/builtin/packages/py-regex/package.py
+++ b/var/spack/repos/builtin/packages/py-regex/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,10 +9,10 @@ from spack import *
class PyRegex(PythonPackage):
"""Alternative regular expression module, to replace re."""
- homepage = "https://pypi.python.org/pypi/regex/"
- url = "https://pypi.io/packages/source/r/regex/regex-2017.07.11.tar.gz"
+ pypi = "regex/regex-2020.11.13.tar.gz"
- version('2019.11.1', sha256='720e34a539a76a1fedcebe4397290604cc2bdf6f81eca44adb9fb2ea071c0c69')
+ version('2020.11.13', sha256='83d6b356e116ca119db8e7c6fc2983289d87b27b3fac238cfe5dca529d884562')
+ version('2019.11.1', sha256='720e34a539a76a1fedcebe4397290604cc2bdf6f81eca44adb9fb2ea071c0c69')
version('2017.07.11', sha256='dbda8bdc31a1c85445f1a1b29d04abda46e5c690f8f933a9cc3a85a358969616')
- depends_on('py-setuptools', type='build', when='@2017.07.11')
+ depends_on('py-setuptools', type='build', when='@:2018,2020:')
diff --git a/var/spack/repos/builtin/packages/py-reportlab/package.py b/var/spack/repos/builtin/packages/py-reportlab/package.py
index 222890124f..34f7d31169 100644
--- a/var/spack/repos/builtin/packages/py-reportlab/package.py
+++ b/var/spack/repos/builtin/packages/py-reportlab/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,7 @@ class PyReportlab(PythonPackage):
"""The ReportLab Toolkit. An Open Source Python library for generating
PDFs and graphics."""
- homepage = "https://pypi.python.org/pypi/reportlab"
- url = "https://pypi.io/packages/source/r/reportlab/reportlab-3.4.0.tar.gz"
+ pypi = "reportlab/reportlab-3.4.0.tar.gz"
version('3.4.0', sha256='5beaf35e59dfd5ebd814fdefd76908292e818c982bd7332b5d347dfd2f01c343')
diff --git a/var/spack/repos/builtin/packages/py-repoze-lru/package.py b/var/spack/repos/builtin/packages/py-repoze-lru/package.py
index ceec2fcb87..49e6a98d53 100644
--- a/var/spack/repos/builtin/packages/py-repoze-lru/package.py
+++ b/var/spack/repos/builtin/packages/py-repoze-lru/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyRepozeLru(PythonPackage):
"""A tiny LRU cache implementation and decorator"""
- homepage = "https://pypi.org/project/repoze.lru/"
- url = "https://pypi.io/packages/source/r/repoze.lru/repoze.lru-0.7.tar.gz"
+ pypi = "repoze.lru/repoze.lru-0.7.tar.gz"
version('0.7', sha256='0429a75e19380e4ed50c0694e26ac8819b4ea7851ee1fc7583c8572db80aff77')
diff --git a/var/spack/repos/builtin/packages/py-reproject/package.py b/var/spack/repos/builtin/packages/py-reproject/package.py
index 3b73633641..0fea64d769 100644
--- a/var/spack/repos/builtin/packages/py-reproject/package.py
+++ b/var/spack/repos/builtin/packages/py-reproject/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,7 +17,7 @@ class PyReproject(PythonPackage):
astropy-healpix package."""
homepage = 'https://reproject.readthedocs.io/'
- url = 'https://pypi.io/packages/source/r/reproject/reproject-0.7.1.tar.gz'
+ pypi = 'reproject/reproject-0.7.1.tar.gz'
version('0.7.1', sha256='95c0fa49e6b4e36455b91fa09ad1b71b230c990ad91d948af67ea3509a1a4ccb')
diff --git a/var/spack/repos/builtin/packages/py-requests-futures/package.py b/var/spack/repos/builtin/packages/py-requests-futures/package.py
index a11d577e1c..dd69b2ff03 100644
--- a/var/spack/repos/builtin/packages/py-requests-futures/package.py
+++ b/var/spack/repos/builtin/packages/py-requests-futures/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyRequestsFutures(PythonPackage):
"""Asynchronous Python HTTP Requests for Humans using Futures"""
homepage = "https://github.com/ross/requests-futures"
- url = "https://pypi.io/packages/source/r/requests-futures/requests-futures-1.0.0.tar.gz"
+ pypi = "requests-futures/requests-futures-1.0.0.tar.gz"
version('1.0.0', sha256='35547502bf1958044716a03a2f47092a89efe8f9789ab0c4c528d9c9c30bc148')
diff --git a/var/spack/repos/builtin/packages/py-requests-mock/package.py b/var/spack/repos/builtin/packages/py-requests-mock/package.py
index 94807b5cbd..8b44cbf5f7 100644
--- a/var/spack/repos/builtin/packages/py-requests-mock/package.py
+++ b/var/spack/repos/builtin/packages/py-requests-mock/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,9 +10,7 @@ class PyRequestsMock(PythonPackage):
"""Mock out responses from the requests package."""
homepage = "https://requests-mock.readthedocs.io/"
- url = "https://pypi.io/packages/source/r/requests-mock/requests-mock-1.7.0.tar.gz"
-
- import_modules = ['requests_mock']
+ pypi = "requests-mock/requests-mock-1.7.0.tar.gz"
version('1.7.0', sha256='88d3402dd8b3c69a9e4f9d3a73ad11b15920c6efd36bc27bf1f701cf4a8e4646')
diff --git a/var/spack/repos/builtin/packages/py-requests-oauthlib/package.py b/var/spack/repos/builtin/packages/py-requests-oauthlib/package.py
index 6c6a633e47..09d8de87e5 100644
--- a/var/spack/repos/builtin/packages/py-requests-oauthlib/package.py
+++ b/var/spack/repos/builtin/packages/py-requests-oauthlib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyRequestsOauthlib(PythonPackage):
"""
homepage = "https://github.com/requests/requests-oauthlib"
- url = "https://pypi.io/packages/source/r/requests-oauthlib/requests-oauthlib-1.2.0.tar.gz"
+ pypi = "requests-oauthlib/requests-oauthlib-1.2.0.tar.gz"
version('1.2.0', sha256='bd6533330e8748e94bf0b214775fed487d309b8b8fe823dc45641ebcd9a32f57')
version('0.3.3', sha256='37557b4de3eef50d2a4c65dc9382148b8331f04b1c637c414b3355feb0f007e9')
@@ -20,5 +20,3 @@ class PyRequestsOauthlib(PythonPackage):
depends_on('py-oauthlib@3.0.0:', type=('build', 'run'))
depends_on('py-requests@2.0.0:', type=('build', 'run'))
depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
- depends_on('py-mock', type='test')
- depends_on('py-requests-mock', type='test')
diff --git a/var/spack/repos/builtin/packages/py-requests-toolbelt/package.py b/var/spack/repos/builtin/packages/py-requests-toolbelt/package.py
index e34d1c5a73..100efc5020 100644
--- a/var/spack/repos/builtin/packages/py-requests-toolbelt/package.py
+++ b/var/spack/repos/builtin/packages/py-requests-toolbelt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyRequestsToolbelt(PythonPackage):
python-requests"""
homepage = "https://toolbelt.readthedocs.org/"
- url = "https://pypi.io/packages/source/r/requests-toolbelt/requests-toolbelt-0.9.1.tar.gz"
+ pypi = "requests-toolbelt/requests-toolbelt-0.9.1.tar.gz"
version('0.9.1', sha256='968089d4584ad4ad7c171454f0a5c6dac23971e9472521ea3b6d49d610aa6fc0')
version('0.8.0', sha256='f6a531936c6fa4c6cfce1b9c10d5c4f498d16528d2a54a22ca00011205a187b5')
diff --git a/var/spack/repos/builtin/packages/py-requests/package.py b/var/spack/repos/builtin/packages/py-requests/package.py
index 30af0cd73f..ab0400ca48 100644
--- a/var/spack/repos/builtin/packages/py-requests/package.py
+++ b/var/spack/repos/builtin/packages/py-requests/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,18 +10,7 @@ class PyRequests(PythonPackage):
"""Python HTTP for Humans."""
homepage = "http://python-requests.org"
- url = "https://pypi.io/packages/source/r/requests/requests-2.24.0.tar.gz"
-
- import_modules = [
- 'requests', 'requests.packages', 'requests.packages.chardet',
- 'requests.packages.urllib3', 'requests.packages.idna',
- 'requests.packages.chardet.cli', 'requests.packages.urllib3.util',
- 'requests.packages.urllib3.packages',
- 'requests.packages.urllib3.contrib',
- 'requests.packages.urllib3.packages.ssl_match_hostname',
- 'requests.packages.urllib3.packages.backports',
- 'requests.packages.urllib3.contrib._securetransport'
- ]
+ pypi = "requests/requests-2.24.0.tar.gz"
version('2.24.0', sha256='b3559a131db72c33ee969480840fff4bb6dd111de7dd27c8ee1f820f4f00231b')
version('2.23.0', sha256='b3f43d496c6daba4493e7c431722aeb7dbc6288f52a6e04e7b6023b0247817e6')
@@ -41,10 +30,3 @@ class PyRequests(PythonPackage):
depends_on('py-idna@2.5:2.999', type=('build', 'run'), when='@2.23.0:')
depends_on('py-urllib3@1.21.1:1.24,1.25.2:1.25.999', type=('build', 'run'), when='@2.16.0:')
depends_on('py-certifi@2017.4.17:', type=('build', 'run'), when='@2.16.0:')
-
- depends_on('py-pytest-httpbin@0.0.7', type='test')
- depends_on('py-pytest-cov', type='test')
- depends_on('py-pytest-mock', type='test')
- depends_on('py-pytest-xdist', type='test')
- depends_on('py-pysocks@1.5.6,1.5.8:', type='test')
- depends_on('py-pytest@2.8.0:', type='test')
diff --git a/var/spack/repos/builtin/packages/py-resampy/package.py b/var/spack/repos/builtin/packages/py-resampy/package.py
index 35249c8acc..d591a22fb4 100644
--- a/var/spack/repos/builtin/packages/py-resampy/package.py
+++ b/var/spack/repos/builtin/packages/py-resampy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyResampy(PythonPackage):
"""Efficient sample rate conversion in python"""
homepage = "https://github.com/bmcfee/resampy"
- url = "https://pypi.io/packages/source/r/resampy/resampy-0.2.2.tar.gz"
+ pypi = "resampy/resampy-0.2.2.tar.gz"
version('0.2.2', sha256='62af020d8a6674d8117f62320ce9470437bb1d738a5d06cd55591b69b463929e')
diff --git a/var/spack/repos/builtin/packages/py-restview/package.py b/var/spack/repos/builtin/packages/py-restview/package.py
index 40d2765aec..48e951944f 100644
--- a/var/spack/repos/builtin/packages/py-restview/package.py
+++ b/var/spack/repos/builtin/packages/py-restview/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyRestview(PythonPackage):
"""A viewer for ReStructuredText documents that renders them on the fly."""
homepage = "https://mg.pov.lt/restview/"
- url = "https://pypi.io/packages/source/r/restview/restview-2.6.1.tar.gz"
+ pypi = "restview/restview-2.6.1.tar.gz"
version('2.6.1', sha256='14d261ee0edf30e0ebc1eb320428ef4898e97422b00337863556966b851fb5af')
diff --git a/var/spack/repos/builtin/packages/py-resultsfile/package.py b/var/spack/repos/builtin/packages/py-resultsfile/package.py
index 6f00a3ab1d..0b1b862416 100644
--- a/var/spack/repos/builtin/packages/py-resultsfile/package.py
+++ b/var/spack/repos/builtin/packages/py-resultsfile/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-retrying/package.py b/var/spack/repos/builtin/packages/py-retrying/package.py
index ef5a7d05ca..401431d860 100644
--- a/var/spack/repos/builtin/packages/py-retrying/package.py
+++ b/var/spack/repos/builtin/packages/py-retrying/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyRetrying(PythonPackage):
about anything."""
homepage = "https://github.com/rholder/retrying"
- url = "https://pypi.io/packages/source/r/retrying/retrying-1.3.3.tar.gz"
+ pypi = "retrying/retrying-1.3.3.tar.gz"
version('1.3.3', sha256='08c039560a6da2fe4f2c426d0766e284d3b736e355f8dd24b37367b0bb41973b')
diff --git a/var/spack/repos/builtin/packages/py-rfc3986/package.py b/var/spack/repos/builtin/packages/py-rfc3986/package.py
index 1650562db2..c7d6353ec7 100644
--- a/var/spack/repos/builtin/packages/py-rfc3986/package.py
+++ b/var/spack/repos/builtin/packages/py-rfc3986/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyRfc3986(PythonPackage):
validation and authority parsing."""
homepage = "http://rfc3986.readthedocs.io/"
- url = "https://pypi.io/packages/source/r/rfc3986/rfc3986-1.4.0.tar.gz"
+ pypi = "rfc3986/rfc3986-1.4.0.tar.gz"
version('1.4.0', sha256='112398da31a3344dc25dbf477d8df6cb34f9278a94fee2625d89e4514be8bb9d')
diff --git a/var/spack/repos/builtin/packages/py-rich/package.py b/var/spack/repos/builtin/packages/py-rich/package.py
new file mode 100644
index 0000000000..d49823f733
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-rich/package.py
@@ -0,0 +1,35 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyRich(PythonPackage):
+ """Rich is a Python library for rich text and beautiful formatting
+ in the terminal.
+ """
+
+ homepage = "https://github.com/willmcgugan/rich"
+ pypi = "rich/rich-9.4.0.tar.gz"
+
+ version('9.9.0', sha256='0bd8f42c3a03b7ef5e311d5e37f47bea9d268f541981c169072be5869c007957')
+ version('9.8.2', sha256='c0d5903b463f015b254d6f52da82af3821d266fe516ae05fdc266e6abba5c3a8')
+ version('9.8.1', sha256='0ec853f882613e75a5e46d545ddaa48cad235c616eaeb094792012fe22e8b2c6')
+ version('9.8.0', sha256='c91c2587dba9aa8dd30c5f090e700f54433ccd73e209f4737e10385c4c1cbf19')
+ version('9.7.0', sha256='25583ce533afae71de086ca97cf0aa883a5e1a220dfcc6049a2809a74bc79ca0')
+ version('9.6.2', sha256='b6a7f9ef1a35c248498952d3454fb4f88de415dd989f97c3e5c5e2235d66e3a5')
+ version('9.6.1', sha256='5ac9f4f7f6b0e32e7e412de127f15b94144e22c9a7896551474d640143bbaa7b')
+ version('9.6.0', sha256='ae7f5f24fc90c76ccb54883f4bd633cbd146e0bbe3e070275ca97038ce53cf2f')
+ version('9.5.1', sha256='8b937e2d2c4ff9dcfda8a5910a8cd384bd30f50ec92346d616f62065c662df5f')
+ version('9.5.0', sha256='a65a9d003cb6e87e6fa5d1b53bff6f43a8d7475524c58873acdbf5bba0683fa3')
+ version('9.4.0', sha256='bde23a1761373fed2802502ff98292c5d735a5389ed96f4fe1be5fb4c2cde8ea')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-typing-extensions@3.7.4:3.99', type=('build', 'run'))
+ depends_on('py-dataclasses@0.7:0.8', when='python@:3.6', type=('build', 'run'))
+ depends_on('py-pygments@2.6:2.99', type=('build', 'run'))
+ depends_on('py-commonmark@0.9.0:0.9.999', type=('build', 'run'))
+ depends_on('py-colorama@0.4.0:0.4.999', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-rios/package.py b/var/spack/repos/builtin/packages/py-rios/package.py
index a2b56e941a..b4b3ac4a18 100644
--- a/var/spack/repos/builtin/packages/py-rios/package.py
+++ b/var/spack/repos/builtin/packages/py-rios/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-rise/package.py b/var/spack/repos/builtin/packages/py-rise/package.py
index e9eba520ef..596893f274 100644
--- a/var/spack/repos/builtin/packages/py-rise/package.py
+++ b/var/spack/repos/builtin/packages/py-rise/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyRise(PythonPackage):
"""Reveal.js - Jupyter/IPython Slideshow Extension"""
homepage = "http://rise.readthedocs.io/"
- url = "https://pypi.io/packages/source/r/rise/rise-5.6.1.tar.gz"
+ pypi = "rise/rise-5.6.1.tar.gz"
version('5.6.1', sha256='1343f068d01adc4dd0226d9b278ce93fc92f365d827431a57e8d5679eb39f4d6')
diff --git a/var/spack/repos/builtin/packages/py-rmm/package.py b/var/spack/repos/builtin/packages/py-rmm/package.py
index 96631d3fbb..69d88ebb19 100644
--- a/var/spack/repos/builtin/packages/py-rmm/package.py
+++ b/var/spack/repos/builtin/packages/py-rmm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-rnacocktail/package.py b/var/spack/repos/builtin/packages/py-rnacocktail/package.py
index 13c05186e4..b8673a0e2a 100644
--- a/var/spack/repos/builtin/packages/py-rnacocktail/package.py
+++ b/var/spack/repos/builtin/packages/py-rnacocktail/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-robotframework/package.py b/var/spack/repos/builtin/packages/py-robotframework/package.py
index 6eaa479102..8db83f3f8b 100644
--- a/var/spack/repos/builtin/packages/py-robotframework/package.py
+++ b/var/spack/repos/builtin/packages/py-robotframework/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,7 +16,3 @@ class PyRobotframework(PythonPackage):
version('3.2.1', sha256='9805faa0990125ff2c9689b673448d5f47e78470e7a8e95af1606a775fa8379f')
depends_on('py-setuptools', type=('build', 'run'))
- depends_on('py-enum34', type='test')
- depends_on('py-ipaddress', type='test')
- depends_on('py-mock', type='test')
- depends_on('py-unittest2', type='test')
diff --git a/var/spack/repos/builtin/packages/py-rope/package.py b/var/spack/repos/builtin/packages/py-rope/package.py
index 7ea1eea1fc..4ee57419b0 100644
--- a/var/spack/repos/builtin/packages/py-rope/package.py
+++ b/var/spack/repos/builtin/packages/py-rope/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyRope(PythonPackage):
"""a python refactoring library."""
homepage = "https://github.com/python-rope/rope"
- url = "https://pypi.io/packages/source/r/rope/rope-0.10.5.tar.gz"
+ pypi = "rope/rope-0.10.5.tar.gz"
version('0.11.0', sha256='a108c445e1cd897fe19272ab7877d172e7faf3d4148c80e7d20faba42ea8f7b2')
version('0.10.7', sha256='a09edfd2034fd50099a67822f9bd851fbd0f4e98d3b87519f6267b60e50d80d1')
diff --git a/var/spack/repos/builtin/packages/py-rosdep/package.py b/var/spack/repos/builtin/packages/py-rosdep/package.py
new file mode 100644
index 0000000000..83ddbc5ef9
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-rosdep/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+class PyRosdep(PythonPackage):
+ """rosdep package manager abstraction tool for ROS."""
+
+ homepage = "https://wiki.ros.org/rosdep"
+ pypi = "rosdep/rosdep-0.20.0.tar.gz"
+
+ version('0.20.0', sha256='1de76e41ef17c7289a11d9de594f6c08e8422f26ad09bc855b4f1f4da5e9bfe7')
+
+ depends_on('py-setuptools', type=('build', 'run'))
+ depends_on('py-catkin-pkg@0.4.0:', type=('build', 'run'))
+ depends_on('py-rospkg@1.2.7:', type=('build', 'run'))
+ depends_on('py-rosdistro@0.7.5:', type=('build', 'run'))
+ depends_on('py-pyyaml@3.1:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-rosdistro/package.py b/var/spack/repos/builtin/packages/py-rosdistro/package.py
new file mode 100644
index 0000000000..70ba8cd13d
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-rosdistro/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+class PyRosdistro(PythonPackage):
+ """A tool to work with rosdistro files."""
+
+ homepage = "https://wiki.ros.org/rosdistro"
+ pypi = "rosdistro/rosdistro-0.8.3.tar.gz"
+
+ version('0.8.3', sha256='e14893e0408a2e1fb3ecaef0a9fc978a3675519b828c1fff29ba6a78299b37bd')
+
+ depends_on('py-pyyaml', type=('build', 'run'))
+ depends_on('py-setuptools', type=('build', 'run'))
+ depends_on('py-argparse', when='^python@:2.6', type=('build', 'run'))
+ depends_on('py-catkin-pkg', type=('build', 'run'))
+ depends_on('py-rospkg', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-rosinstall-generator/package.py b/var/spack/repos/builtin/packages/py-rosinstall-generator/package.py
new file mode 100644
index 0000000000..e534eacfcc
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-rosinstall-generator/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+class PyRosinstallGenerator(PythonPackage):
+ """A tool for generating rosinstall files."""
+
+ homepage = "https://wiki.ros.org/rosinstall_generator"
+ pypi = "rosinstall-generator/rosinstall_generator-0.1.22.tar.gz"
+
+ version('0.1.22', sha256='22d22599cd3f08a1f77fb2b1d9464cc8062ede50752a75564d459fcf5447b8c5')
+
+ depends_on('py-catkin-pkg@0.1.28:', type=('build', 'run'))
+ depends_on('py-rosdistro@0.7.3:', type=('build', 'run'))
+ depends_on('py-rospkg', type=('build', 'run'))
+ depends_on('py-pyyaml', type=('build', 'run'))
+ depends_on('py-setuptools', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-rosinstall/package.py b/var/spack/repos/builtin/packages/py-rosinstall/package.py
new file mode 100644
index 0000000000..eb5e58b661
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-rosinstall/package.py
@@ -0,0 +1,20 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+class PyRosinstall(PythonPackage):
+ """The installer for ROS."""
+
+ homepage = "https://wiki.ros.org/rosinstall"
+ pypi = "rosinstall/rosinstall-0.7.8.tar.gz"
+
+ version('0.7.8', sha256='2ba808bf8bac2cc3f13af9745184b9714c1426e11d09eb96468611b2ad47ed40')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-vcstools@0.1.38:', type=('build', 'run'))
+ depends_on('py-pyyaml', type=('build', 'run'))
+ depends_on('py-rosdistro@0.3.0:', type=('build', 'run'))
+ depends_on('py-catkin-pkg', type=('build', 'run'))
+ depends_on('py-wstool@0.1.12:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-rospkg/package.py b/var/spack/repos/builtin/packages/py-rospkg/package.py
new file mode 100644
index 0000000000..8ce4dfe107
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-rospkg/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+class PyRospkg(PythonPackage):
+ """Library for retrieving information about ROS packages and stacks."""
+
+ homepage = "https://wiki.ros.org/rospkg"
+ pypi = "rospkg/rospkg-1.2.9.tar.gz"
+
+ version('1.2.9', sha256='d57aea0e7fdbf42e8189ef5e21b9fb4f8a70ecb6cd1a56a278eab301f6a2b074')
+
+ depends_on('py-setuptools', type=('build', 'run'))
+ depends_on('py-catkin-pkg', type=('build', 'run'))
+ depends_on('py-pyyaml', type=('build', 'run'))
+ depends_on('py-distro', type=('build', 'run'))
+ depends_on('py-argparse', when='^python@:2.6', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-rpy2/package.py b/var/spack/repos/builtin/packages/py-rpy2/package.py
index ef9b847b00..87a7b9d003 100644
--- a/var/spack/repos/builtin/packages/py-rpy2/package.py
+++ b/var/spack/repos/builtin/packages/py-rpy2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,8 +13,7 @@ class PyRpy2(PythonPackage):
structures and functions.
"""
- homepage = "https://pypi.python.org/pypi/rpy2"
- url = "https://pypi.io/packages/source/r/rpy2/rpy2-2.5.4.tar.gz"
+ pypi = "rpy2/rpy2-2.5.4.tar.gz"
version('3.0.4', sha256='2af5158a5d56af7f7bf5e54d8d7e87b6f115ff40f056d82f93cad0cbf6acc0cb')
version('3.0.0', sha256='34efc2935d9015527837d6b1de29641863d184b19d39ad415d5384be8a015bce')
diff --git a/var/spack/repos/builtin/packages/py-rq/package.py b/var/spack/repos/builtin/packages/py-rq/package.py
index 13fc0493a3..ac3c01eccb 100644
--- a/var/spack/repos/builtin/packages/py-rq/package.py
+++ b/var/spack/repos/builtin/packages/py-rq/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-rsa/package.py b/var/spack/repos/builtin/packages/py-rsa/package.py
index 85e2b84d00..45fbc3fa9e 100644
--- a/var/spack/repos/builtin/packages/py-rsa/package.py
+++ b/var/spack/repos/builtin/packages/py-rsa/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,9 +10,7 @@ class PyRsa(PythonPackage):
"""Pure-Python RSA implementation"""
homepage = "https://stuvel.eu/rsa"
- url = "https://pypi.io/packages/source/r/rsa/rsa-3.4.2.tar.gz"
-
- import_modules = ['rsa']
+ pypi = "rsa/rsa-3.4.2.tar.gz"
version('4.0', sha256='1a836406405730121ae9823e19c6e806c62bbad73f890574fff50efa4122c487')
version('3.4.2', sha256='25df4e10c263fb88b5ace923dd84bf9aa7f5019687b5e55382ffcdb8bede9db5')
diff --git a/var/spack/repos/builtin/packages/py-rseqc/package.py b/var/spack/repos/builtin/packages/py-rseqc/package.py
index fa9fc581b4..194a3145de 100644
--- a/var/spack/repos/builtin/packages/py-rseqc/package.py
+++ b/var/spack/repos/builtin/packages/py-rseqc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyRseqc(PythonPackage):
data."""
homepage = "http://rseqc.sourceforge.net"
- url = "https://pypi.io/packages/source/R/RSeQC/RSeQC-2.6.4.tar.gz"
+ pypi = "RSeQC/RSeQC-2.6.4.tar.gz"
version('3.0.1', sha256='d5f4cb2c24a7348929f5c4947d84c5869e8cd2cba5ba5248d991ebb37c4c6b3d')
version('2.6.4', sha256='e11df661bda1c24fc950f0bce06f586a68ab5f4a2c356f43e4a0dfdc1e184315')
diff --git a/var/spack/repos/builtin/packages/py-rtree/package.py b/var/spack/repos/builtin/packages/py-rtree/package.py
index 1c62efb500..ea15601698 100644
--- a/var/spack/repos/builtin/packages/py-rtree/package.py
+++ b/var/spack/repos/builtin/packages/py-rtree/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ from spack import *
class PyRtree(PythonPackage):
"""Python interface to the RTREE.4 Library."""
homepage = "http://toblerity.org/rtree/"
- url = "https://pypi.io/packages/source/R/Rtree/Rtree-0.8.3.tar.gz"
+ pypi = "Rtree/Rtree-0.8.3.tar.gz"
version('0.8.3', sha256='6cb9cf3000963ea6a3db777a597baee2bc55c4fc891e4f1967f262cc96148649')
diff --git a/var/spack/repos/builtin/packages/py-ruamel-ordereddict/package.py b/var/spack/repos/builtin/packages/py-ruamel-ordereddict/package.py
index 88cdd59914..fcb4529745 100644
--- a/var/spack/repos/builtin/packages/py-ruamel-ordereddict/package.py
+++ b/var/spack/repos/builtin/packages/py-ruamel-ordereddict/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyRuamelOrdereddict(PythonPackage):
implements a subset of ordereddict functionality."""
homepage = "https://bitbucket.org/ruamel/ordereddict"
- url = "https://pypi.io/packages/source/r/ruamel.ordereddict/ruamel.ordereddict-0.4.14.tar.gz"
+ pypi = "ruamel.ordereddict/ruamel.ordereddict-0.4.14.tar.gz"
version('0.4.14', sha256='281051d26eb2b18ef3d920e1e260716a52bd058a6b1a2f324102fc6a15cb8d4a')
diff --git a/var/spack/repos/builtin/packages/py-ruamel-yaml-clib/package.py b/var/spack/repos/builtin/packages/py-ruamel-yaml-clib/package.py
index 9724bff0af..6d18dca9a6 100644
--- a/var/spack/repos/builtin/packages/py-ruamel-yaml-clib/package.py
+++ b/var/spack/repos/builtin/packages/py-ruamel-yaml-clib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ class PyRuamelYamlClib(PythonPackage):
libyaml."""
homepage = "https://bitbucket.org/ruamel/yaml.clib"
- url = "https://pypi.io/packages/source/r/ruamel.yaml.clib/ruamel.yaml.clib-0.2.0.tar.gz"
+ pypi = "ruamel.yaml.clib/ruamel.yaml.clib-0.2.0.tar.gz"
version('0.2.0', sha256='b66832ea8077d9b3f6e311c4a53d06273db5dc2db6e8a908550f3c14d67e718c')
diff --git a/var/spack/repos/builtin/packages/py-ruamel-yaml/package.py b/var/spack/repos/builtin/packages/py-ruamel-yaml/package.py
index 68e9348936..3375827faf 100644
--- a/var/spack/repos/builtin/packages/py-ruamel-yaml/package.py
+++ b/var/spack/repos/builtin/packages/py-ruamel-yaml/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class PyRuamelYaml(PythonPackage):
"""
homepage = "https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree"
- url = "https://pypi.io/packages/source/r/ruamel.yaml/ruamel.yaml-0.16.10.tar.gz"
+ pypi = "ruamel.yaml/ruamel.yaml-0.16.10.tar.gz"
version('0.16.10', sha256='099c644a778bf72ffa00524f78dd0b6476bca94a1da344130f4bf3381ce5b954')
version('0.16.5', sha256='412a6f5cfdc0525dee6a27c08f5415c7fd832a7afcb7a0ed7319628aed23d408')
diff --git a/var/spack/repos/builtin/packages/py-s3cmd/package.py b/var/spack/repos/builtin/packages/py-s3cmd/package.py
index 469ee29703..fc8391c561 100644
--- a/var/spack/repos/builtin/packages/py-s3cmd/package.py
+++ b/var/spack/repos/builtin/packages/py-s3cmd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-s3transfer/package.py b/var/spack/repos/builtin/packages/py-s3transfer/package.py
index 5db6bd28a3..ad69eb0ee1 100644
--- a/var/spack/repos/builtin/packages/py-s3transfer/package.py
+++ b/var/spack/repos/builtin/packages/py-s3transfer/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,13 +10,10 @@ class PyS3transfer(PythonPackage):
"""S3transfer is a Python library for managing Amazon S3 transfers."""
homepage = "https://github.com/boto/s3transfer"
- url = "https://pypi.io/packages/source/s/s3transfer/s3transfer-0.2.1.tar.gz"
-
- import_modules = ['s3transfer']
+ pypi = "s3transfer/s3transfer-0.2.1.tar.gz"
version('0.2.1', sha256='6efc926738a3cd576c2a79725fed9afde92378aa5c6a957e3af010cb019fac9d')
depends_on('py-setuptools', type='build')
depends_on('py-botocore@1.12.36:1.999', type=('build', 'run'))
depends_on('py-futures@2.2:3', type=('build', 'run'), when='^python@:2')
- depends_on('py-mock', type='test')
diff --git a/var/spack/repos/builtin/packages/py-sacremoses/package.py b/var/spack/repos/builtin/packages/py-sacremoses/package.py
index 35166e245c..4a92ca03e8 100644
--- a/var/spack/repos/builtin/packages/py-sacremoses/package.py
+++ b/var/spack/repos/builtin/packages/py-sacremoses/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PySacremoses(PythonPackage):
"""LGPL MosesTokenizer in Python."""
homepage = "https://github.com/alvations/sacremoses"
- url = "https://pypi.io/packages/source/s/sacremoses/sacremoses-0.0.39.tar.gz"
+ pypi = "sacremoses/sacremoses-0.0.39.tar.gz"
version('0.0.39', sha256='53fad38b93dd5bf1657a68d52bcca5d681d4246477a764b7791a2abd5c7d1f4c')
diff --git a/var/spack/repos/builtin/packages/py-saga-python/package.py b/var/spack/repos/builtin/packages/py-saga-python/package.py
index 96fb39c3f5..2dc7172023 100644
--- a/var/spack/repos/builtin/packages/py-saga-python/package.py
+++ b/var/spack/repos/builtin/packages/py-saga-python/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PySagaPython(PythonPackage):
"""A light-weight access layer for distributed computing infrastructure"""
homepage = "http://radical.rutgers.edu"
- url = "https://pypi.io/packages/source/s/saga-python/saga-python-0.41.3.tar.gz"
+ pypi = "saga-python/saga-python-0.41.3.tar.gz"
version('0.41.3', sha256='b30961e634f32f6008e292aa1fe40560f257d5294b0cda95baac1cf5391feb5d')
diff --git a/var/spack/repos/builtin/packages/py-sanic/package.py b/var/spack/repos/builtin/packages/py-sanic/package.py
index e97622a750..facb5a13be 100644
--- a/var/spack/repos/builtin/packages/py-sanic/package.py
+++ b/var/spack/repos/builtin/packages/py-sanic/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PySanic(PythonPackage):
It is based on the work done by the amazing folks at magicstack"""
homepage = "https://github.com/huge-success/sanic"
- url = "https://pypi.io/packages/source/s/sanic/sanic-20.6.3.tar.gz"
+ pypi = "sanic/sanic-20.6.3.tar.gz"
version('20.6.3', sha256='30e83d9f677b609d6b8ccab7c9551ca7e9a5f19ac0579f5aa10199ab6d4138ed')
diff --git a/var/spack/repos/builtin/packages/py-scandir/package.py b/var/spack/repos/builtin/packages/py-scandir/package.py
index a32b03a06e..e990b80f5d 100644
--- a/var/spack/repos/builtin/packages/py-scandir/package.py
+++ b/var/spack/repos/builtin/packages/py-scandir/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,9 +10,7 @@ class PyScandir(PythonPackage):
"""scandir, a better directory iterator and faster os.walk()."""
homepage = "https://github.com/benhoyt/scandir"
- url = "https://pypi.io/packages/source/s/scandir/scandir-1.9.0.tar.gz"
-
- import_modules = ['scandir']
+ pypi = "scandir/scandir-1.9.0.tar.gz"
version('1.10.0', sha256='4d4631f6062e658e9007ab3149a9b914f3548cb38bfb021c64f39a025ce578ae')
version('1.9.0', sha256='44975e209c4827fc18a3486f257154d34ec6eaec0f90fef0cca1caa482db7064')
diff --git a/var/spack/repos/builtin/packages/py-scientificpython/package.py b/var/spack/repos/builtin/packages/py-scientificpython/package.py
index 58a142ccbd..1ddfbb493f 100644
--- a/var/spack/repos/builtin/packages/py-scientificpython/package.py
+++ b/var/spack/repos/builtin/packages/py-scientificpython/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-scikit-build/package.py b/var/spack/repos/builtin/packages/py-scikit-build/package.py
index 911a6edf15..f6fab07c95 100644
--- a/var/spack/repos/builtin/packages/py-scikit-build/package.py
+++ b/var/spack/repos/builtin/packages/py-scikit-build/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-scikit-fmm/package.py b/var/spack/repos/builtin/packages/py-scikit-fmm/package.py
new file mode 100644
index 0000000000..fb80e46f69
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-scikit-fmm/package.py
@@ -0,0 +1,22 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyScikitFmm(PythonPackage):
+ """scikit-fmm is a Python extension module which implements the fast marching
+ method."""
+
+ pypi = "scikit-fmm/scikit-fmm-2019.1.30.tar.gz"
+ git = "https://github.com/scikit-fmm/scikit-fmm.git"
+
+ maintainers = ['archxlith']
+
+ version('master', branch='master')
+ version('2019.1.30', sha256='eb64b6d8e30b8df8f8636d5fc4fd7ca6a9b05938ccd62518c80c1d9e823069dd')
+
+ depends_on('py-numpy@1.0.2:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
diff --git a/var/spack/repos/builtin/packages/py-scikit-image/package.py b/var/spack/repos/builtin/packages/py-scikit-image/package.py
index 90f1470e96..a3113ababc 100644
--- a/var/spack/repos/builtin/packages/py-scikit-image/package.py
+++ b/var/spack/repos/builtin/packages/py-scikit-image/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyScikitImage(PythonPackage):
filtering, warping, color manipulation, object detection, etc."""
homepage = "http://scikit-image.org/"
- url = "https://pypi.io/packages/source/s/scikit-image/scikit-image-0.17.2.tar.gz"
+ pypi = "scikit-image/scikit-image-0.17.2.tar.gz"
version('0.17.2', sha256='bd954c0588f0f7e81d9763dc95e06950e68247d540476e06cb77bcbcd8c2d8b3')
version('0.14.2', sha256='1afd0b84eefd77afd1071c5c1c402553d67be2d7db8950b32d6f773f25850c1f')
diff --git a/var/spack/repos/builtin/packages/py-scikit-learn/package.py b/var/spack/repos/builtin/packages/py-scikit-learn/package.py
index 0a9bf34523..e99cd8f156 100644
--- a/var/spack/repos/builtin/packages/py-scikit-learn/package.py
+++ b/var/spack/repos/builtin/packages/py-scikit-learn/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,30 +7,14 @@
class PyScikitLearn(PythonPackage):
"""A set of python modules for machine learning and data mining."""
- homepage = "https://pypi.python.org/pypi/scikit-learn"
- url = "https://pypi.io/packages/source/s/scikit-learn/scikit-learn-0.23.2.tar.gz"
+ pypi = "scikit-learn/scikit-learn-0.24.0.tar.gz"
git = "https://github.com/scikit-learn/scikit-learn.git"
maintainers = ['adamjstewart']
- install_time_test_callbacks = ['install_test', 'import_module_test']
-
- import_modules = [
- 'sklearn', 'sklearn.tree', 'sklearn.metrics', 'sklearn.ensemble',
- 'sklearn.experimental', 'sklearn.cluster',
- 'sklearn.feature_extraction', 'sklearn.__check_build',
- 'sklearn.semi_supervised', 'sklearn.gaussian_process',
- 'sklearn.compose', 'sklearn.datasets', 'sklearn.externals',
- 'sklearn.linear_model', 'sklearn.impute', 'sklearn.utils',
- 'sklearn.covariance', 'sklearn.neural_network',
- 'sklearn.feature_selection', 'sklearn.inspection', 'sklearn.svm',
- 'sklearn.manifold', 'sklearn.mixture', 'sklearn.preprocessing',
- 'sklearn.model_selection', 'sklearn._build_utils',
- 'sklearn.decomposition', 'sklearn.cross_decomposition',
- 'sklearn.neighbors', 'sklearn.metrics.cluster',
- 'sklearn.ensemble._hist_gradient_boosting'
- ]
version('master', branch='master')
+ version('0.24.1', sha256='a0334a1802e64d656022c3bfab56a73fbd6bf4b1298343f3688af2151810bbdf')
+ version('0.24.0', sha256='076369634ee72b5a5941440661e2f306ff4ac30903802dc52031c7e9199ac640')
version('0.23.2', sha256='20766f515e6cd6f954554387dfae705d93c7b544ec0e6c6a5d8e006f6f7ef480')
version('0.23.1', sha256='e3fec1c8831f8f93ad85581ca29ca1bb88e2da377fb097cf8322aa89c21bc9b8')
version('0.23.0', sha256='639a53df6273acc6a7510fb0c658b94e0c70bb13dafff9d14932c981ff9baff4')
@@ -67,7 +51,7 @@ class PyScikitLearn(PythonPackage):
depends_on('py-threadpoolctl@2.0.0:', when='@0.23:', type=('build', 'run'))
depends_on('py-cython@0.23:', type='build')
depends_on('py-cython@0.28.5:', when='@0.21:', type='build')
- depends_on('py-pytest@3.3.0:', type='test')
+ depends_on('py-pytest@5.0.1:', type='test')
depends_on('py-pandas', type='test')
depends_on('py-setuptools', type='build')
depends_on('llvm-openmp', when='@0.21: %apple-clang +openmp')
@@ -79,6 +63,9 @@ class PyScikitLearn(PythonPackage):
conflicts('~openmp', when='@:999', msg='Only master supports ~openmp')
def setup_build_environment(self, env):
+ # enable parallel builds of the sklearn backend
+ env.append_flags("SKLEARN_BUILD_PARALLEL", str(make_jobs))
+
# https://scikit-learn.org/stable/developers/advanced_installation.html#building-from-source
if self.spec.satisfies('~openmp'):
env.set('SKLEARN_NO_OPENMP', 'True')
@@ -93,6 +80,8 @@ class PyScikitLearn(PythonPackage):
env.append_flags(
'LDFLAGS', self.spec['llvm-openmp'].libs.ld_flags)
+ @run_after('install')
+ @on_package_attributes(run_tests=True)
def install_test(self):
# https://scikit-learn.org/stable/developers/advanced_installation.html#testing
with working_dir('spack-test', create=True):
diff --git a/var/spack/repos/builtin/packages/py-scikit-optimize/package.py b/var/spack/repos/builtin/packages/py-scikit-optimize/package.py
index 6f148d5fe1..b3d62fc1d3 100644
--- a/var/spack/repos/builtin/packages/py-scikit-optimize/package.py
+++ b/var/spack/repos/builtin/packages/py-scikit-optimize/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,7 +15,7 @@ class PyScikitOptimize(PythonPackage):
The library is built on top of NumPy, SciPy and Scikit-Learn."""
homepage = "https://scikit-optimize.github.io"
- url = "https://pypi.io/packages/source/s/scikit-optimize/scikit-optimize-0.5.2.tar.gz"
+ pypi = "scikit-optimize/scikit-optimize-0.5.2.tar.gz"
version('0.5.2', sha256='1d7657a4b8ef9aa6d81e49b369c677c584e83269f11710557741d3b3f8fa0a75')
@@ -28,4 +28,3 @@ class PyScikitOptimize(PythonPackage):
depends_on('py-scikit-learn@0.19.1:', type=('build', 'run'))
depends_on('py-matplotlib', when='+plots')
- depends_on('py-pytest@3.3.0:', type='test')
diff --git a/var/spack/repos/builtin/packages/py-scipy/package.py b/var/spack/repos/builtin/packages/py-scipy/package.py
index afeae0dd1c..f09c0db7ee 100644
--- a/var/spack/repos/builtin/packages/py-scipy/package.py
+++ b/var/spack/repos/builtin/packages/py-scipy/package.py
@@ -1,8 +1,10 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+import platform
+
class PyScipy(PythonPackage):
"""SciPy (pronounced "Sigh Pie") is a Scientific Library for Python.
@@ -10,26 +12,14 @@ class PyScipy(PythonPackage):
as routines for numerical integration and optimization."""
homepage = "https://www.scipy.org/"
- url = "https://pypi.io/packages/source/s/scipy/scipy-1.5.4.tar.gz"
+ pypi = "scipy/scipy-1.5.4.tar.gz"
git = "https://github.com/scipy/scipy.git"
maintainers = ['adamjstewart']
- install_time_test_callbacks = ['install_test', 'import_module_test']
-
- import_modules = [
- 'scipy', 'scipy._build_utils', 'scipy._lib', 'scipy.cluster',
- 'scipy.constants', 'scipy.fftpack', 'scipy.integrate',
- 'scipy.interpolate', 'scipy.io', 'scipy.linalg', 'scipy.misc',
- 'scipy.ndimage', 'scipy.odr', 'scipy.optimize', 'scipy.signal',
- 'scipy.sparse', 'scipy.spatial', 'scipy.special', 'scipy.stats',
- 'scipy.io.arff', 'scipy.io.harwell_boeing', 'scipy.io.matlab',
- 'scipy.optimize._lsq', 'scipy.sparse.csgraph', 'scipy.sparse.linalg',
- 'scipy.sparse.linalg.dsolve', 'scipy.sparse.linalg.eigen',
- 'scipy.sparse.linalg.isolve', 'scipy.sparse.linalg.eigen.arpack',
- 'scipy.sparse.linalg.eigen.lobpcg', 'scipy.special._precompute'
- ]
version('master', branch='master')
+ version('1.6.1', sha256='c4fceb864890b6168e79b0e714c585dbe2fd4222768ee90bc1aa0f8218691b11')
+ version('1.6.0', sha256='cb6dc9f82dfd95f6b9032a8d7ea70efeeb15d5b5fd6ed4e8537bb3c673580566')
version('1.5.4', sha256='4a453d5e5689de62e5d38edf40af3f17560bfd63c9c5bd228c18c1f99afa155b')
version('1.5.3', sha256='ddae76784574cc4c172f3d5edd7308be16078dd3b977e8746860c76c195fa707')
version('1.5.2', sha256='066c513d90eb3fd7567a9e150828d39111ebd88d3e924cdfc9f8ce19ab6f90c9')
@@ -56,6 +46,7 @@ class PyScipy(PythonPackage):
depends_on('python@2.7:2.8,3.4:', when='@0.18:', type=('build', 'link', 'run'))
depends_on('python@3.5:', when='@1.3:', type=('build', 'link', 'run'))
depends_on('python@3.6:', when='@1.5:', type=('build', 'link', 'run'))
+ depends_on('python@3.7:', when='@1.6:', type=('build', 'link', 'run'))
depends_on('py-setuptools', type='build')
depends_on('py-pybind11@2.2.4:', when='@1.4.0:', type=('build', 'link'))
depends_on('py-pybind11@2.4.0:', when='@1.4.1:', type=('build', 'link'))
@@ -66,6 +57,7 @@ class PyScipy(PythonPackage):
depends_on('py-numpy@1.8.2:+blas+lapack', when='@0.19:', type=('build', 'link', 'run'))
depends_on('py-numpy@1.13.3:+blas+lapack', when='@1.3:', type=('build', 'link', 'run'))
depends_on('py-numpy@1.14.5:+blas+lapack', when='@1.5:', type=('build', 'link', 'run'))
+ depends_on('py-numpy@1.16.5:+blas+lapack', when='@1.6:', type=('build', 'link', 'run'))
depends_on('py-pytest', type='test')
# NOTE: scipy picks up Blas/Lapack from numpy, see
@@ -85,10 +77,16 @@ class PyScipy(PythonPackage):
if self.spec.satisfies('@:1.4 %gcc@10:'):
env.set('FFLAGS', '-fallow-argument-mismatch')
+ # Kluge to get the gfortran linker to work correctly on Big
+ # Sur, at least until a gcc release > 10.2 is out with a fix.
+ # (There is a fix in their development tree.)
+ if platform.mac_ver()[0][0:2] == '11':
+ env.set('MACOSX_DEPLOYMENT_TARGET', '10.15')
+
def build_args(self, spec, prefix):
args = []
if spec.satisfies('%fj'):
- args.extend(['config_fc', '--fcompiler=fj'])
+ args.extend(['config_fc', '--fcompiler=fujitsu'])
# Build in parallel
# Known problems with Python 3.5+
@@ -99,21 +97,8 @@ class PyScipy(PythonPackage):
return args
- def build_test(self):
- # `setup.py test` is not supported. Use one of the following
- # instead:
- #
- # - `python runtests.py` (to build and test)
- # - `python runtests.py --no-build` (to test installed scipy)
- # - `>>> scipy.test()` (run tests for installed scipy
- # from within an interpreter)
- pass
-
+ @run_after('install')
+ @on_package_attributes(run_tests=True)
def install_test(self):
- # Change directories due to the following error:
- #
- # ImportError: Error importing scipy: you should not try to import
- # scipy from its source directory; please exit the scipy
- # source tree, and relaunch your python interpreter from there.
with working_dir('spack-test', create=True):
python('-c', 'import scipy; scipy.test("full", verbose=2)')
diff --git a/var/spack/repos/builtin/packages/py-scoop/package.py b/var/spack/repos/builtin/packages/py-scoop/package.py
index e1e25abd01..f47c66c798 100644
--- a/var/spack/repos/builtin/packages/py-scoop/package.py
+++ b/var/spack/repos/builtin/packages/py-scoop/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class PyScoop(PythonPackage):
environments, from heterogeneous grids to supercomputers."""
homepage = "https://github.com/soravux/scoop"
- url = "https://pypi.io/packages/source/s/scoop/scoop-0.7.1.1.tar.gz"
+ pypi = "scoop/scoop-0.7.1.1.tar.gz"
version('0.7.1.1', sha256='d8b6444c7bac901171e3327a97e241dde63f060354e162a65551fd8083ca62b4')
diff --git a/var/spack/repos/builtin/packages/py-scp/package.py b/var/spack/repos/builtin/packages/py-scp/package.py
index 85bb112cd4..e137055426 100644
--- a/var/spack/repos/builtin/packages/py-scp/package.py
+++ b/var/spack/repos/builtin/packages/py-scp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyScp(PythonPackage):
"""scp module for paramiko"""
homepage = "https://github.com/jbardin/scp.py"
- url = "https://pypi.io/packages/source/s/scp/scp-0.13.2.tar.gz"
+ pypi = "scp/scp-0.13.2.tar.gz"
version('0.13.2', sha256='ef9d6e67c0331485d3db146bf9ee9baff8a48f3eb0e6c08276a8584b13bf34b3')
diff --git a/var/spack/repos/builtin/packages/py-scs/package.py b/var/spack/repos/builtin/packages/py-scs/package.py
index 7715349fb3..42fb916091 100644
--- a/var/spack/repos/builtin/packages/py-scs/package.py
+++ b/var/spack/repos/builtin/packages/py-scs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyScs(PythonPackage):
"""SCS: splitting conic solver"""
homepage = "https://github.com/cvxgrp/scs"
- url = "https://www.pypi.io/packages/source/s/scs/scs-2.1.1-2.tar.gz"
+ pypi = "scs/scs-2.1.1-2.tar.gz"
version('2.1.1-2', sha256='f816cfe3d4b4cff3ac2b8b96588c5960ddd2a3dc946bda6b09db04e7bc6577f2')
diff --git a/var/spack/repos/builtin/packages/py-seaborn/package.py b/var/spack/repos/builtin/packages/py-seaborn/package.py
index feaf12abb2..58f0a85fbf 100644
--- a/var/spack/repos/builtin/packages/py-seaborn/package.py
+++ b/var/spack/repos/builtin/packages/py-seaborn/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,7 +15,7 @@ class PySeaborn(PythonPackage):
data structures and statistical routines from scipy and statsmodels."""
homepage = "http://seaborn.pydata.org/"
- url = "https://pypi.io/packages/source/s/seaborn/seaborn-0.7.1.tar.gz"
+ pypi = "seaborn/seaborn-0.7.1.tar.gz"
version('0.9.0', sha256='76c83f794ca320fb6b23a7c6192d5e185a5fcf4758966a0c0a54baee46d41e2f')
version('0.7.1', sha256='fa274344b1ee72f723bab751c40a5c671801d47a29ee9b5e69fcf63a18ce5c5d')
diff --git a/var/spack/repos/builtin/packages/py-secretstorage/package.py b/var/spack/repos/builtin/packages/py-secretstorage/package.py
index 36be45cd0e..5d1458a155 100644
--- a/var/spack/repos/builtin/packages/py-secretstorage/package.py
+++ b/var/spack/repos/builtin/packages/py-secretstorage/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PySecretstorage(PythonPackage):
"""Python bindings to FreeDesktop.org Secret Service API."""
homepage = "https://github.com/mitya57/secretstorage"
- url = "https://pypi.io/packages/source/S/SecretStorage/SecretStorage-3.1.2.tar.gz"
+ pypi = "SecretStorage/SecretStorage-3.1.2.tar.gz"
version('3.1.2', sha256='15da8a989b65498e29be338b3b279965f1b8f09b9668bd8010da183024c8bff6')
diff --git a/var/spack/repos/builtin/packages/py-selenium/package.py b/var/spack/repos/builtin/packages/py-selenium/package.py
index 33082ec78f..7bd73d39fa 100644
--- a/var/spack/repos/builtin/packages/py-selenium/package.py
+++ b/var/spack/repos/builtin/packages/py-selenium/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class PySelenium(PythonPackage):
Python."""
homepage = "https://github.com/SeleniumHQ/selenium/"
- url = "https://pypi.io/packages/source/s/selenium/selenium-3.141.0.tar.gz"
+ pypi = "selenium/selenium-3.141.0.tar.gz"
version('3.141.0', sha256='deaf32b60ad91a4611b98d8002757f29e6f2c2d5fcaf202e1c9ad06d6772300d')
diff --git a/var/spack/repos/builtin/packages/py-semantic-version/package.py b/var/spack/repos/builtin/packages/py-semantic-version/package.py
index d05d902e10..fb0f0940d3 100644
--- a/var/spack/repos/builtin/packages/py-semantic-version/package.py
+++ b/var/spack/repos/builtin/packages/py-semantic-version/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PySemanticVersion(PythonPackage):
Python. It follows strictly the 2.0.0 version of the SemVer scheme."""
homepage = "https://github.com/rbarrois/python-semanticversion"
- url = "https://pypi.io/packages/source/s/semantic_version/semantic_version-2.8.2.tar.gz"
+ pypi = "semantic_version/semantic_version-2.8.2.tar.gz"
version('2.8.2', sha256='71c716e99086c44d068262b86e4775aa6db7fabee0743e4e33b00fbf6f672585')
version('2.6.0', sha256='2a4328680073e9b243667b201119772aefc5fc63ae32398d6afafff07c4f54c0')
diff --git a/var/spack/repos/builtin/packages/py-semver/package.py b/var/spack/repos/builtin/packages/py-semver/package.py
index a73401d254..ced20b28e8 100644
--- a/var/spack/repos/builtin/packages/py-semver/package.py
+++ b/var/spack/repos/builtin/packages/py-semver/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PySemver(PythonPackage):
Simplifies comparing versions."""
homepage = "https://semver.org/"
- url = "https://pypi.io/packages/source/s/semver/semver-2.8.1.tar.gz"
+ pypi = "semver/semver-2.8.1.tar.gz"
version('2.8.1', sha256='5b09010a66d9a3837211bb7ae5a20d10ba88f8cb49e92cb139a69ef90d5060d8')
diff --git a/var/spack/repos/builtin/packages/py-send2trash/package.py b/var/spack/repos/builtin/packages/py-send2trash/package.py
index c4882b8e95..ef8b88a9ed 100644
--- a/var/spack/repos/builtin/packages/py-send2trash/package.py
+++ b/var/spack/repos/builtin/packages/py-send2trash/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-sentencepiece/package.py b/var/spack/repos/builtin/packages/py-sentencepiece/package.py
index 9d9552a47b..02c99cc9fe 100644
--- a/var/spack/repos/builtin/packages/py-sentencepiece/package.py
+++ b/var/spack/repos/builtin/packages/py-sentencepiece/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-sentry-sdk/package.py b/var/spack/repos/builtin/packages/py-sentry-sdk/package.py
index 6214b0c7d8..c283ee7f1b 100644
--- a/var/spack/repos/builtin/packages/py-sentry-sdk/package.py
+++ b/var/spack/repos/builtin/packages/py-sentry-sdk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PySentrySdk(PythonPackage):
"""The new Python SDK for Sentry.io"""
homepage = "https://github.com/getsentry/sentry-python"
- url = "https://pypi.io/packages/source/s/sentry-sdk/sentry-sdk-0.17.6.tar.gz"
+ pypi = "sentry-sdk/sentry-sdk-0.17.6.tar.gz"
version('0.17.6', sha256='1a086486ff9da15791f294f6e9915eb3747d161ef64dee2d038a4d0b4a369b24')
diff --git a/var/spack/repos/builtin/packages/py-seriate/package.py b/var/spack/repos/builtin/packages/py-seriate/package.py
index c1c81e97af..0e2740b7a8 100644
--- a/var/spack/repos/builtin/packages/py-seriate/package.py
+++ b/var/spack/repos/builtin/packages/py-seriate/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-setproctitle/package.py b/var/spack/repos/builtin/packages/py-setproctitle/package.py
index 972e595cad..137919dd05 100644
--- a/var/spack/repos/builtin/packages/py-setproctitle/package.py
+++ b/var/spack/repos/builtin/packages/py-setproctitle/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PySetproctitle(PythonPackage):
displayed by system tools such as ps and top)."""
homepage = "https://github.com/dvarrazzo/py-setproctitle"
- url = "https://pypi.io/packages/source/s/setproctitle/setproctitle-1.1.10.tar.gz"
+ pypi = "setproctitle/setproctitle-1.1.10.tar.gz"
version('1.1.10', sha256='6283b7a58477dd8478fbb9e76defb37968ee4ba47b05ec1c053cb39638bd7398')
diff --git a/var/spack/repos/builtin/packages/py-setuptools-git/package.py b/var/spack/repos/builtin/packages/py-setuptools-git/package.py
index fa8a51908e..b3962c48a1 100644
--- a/var/spack/repos/builtin/packages/py-setuptools-git/package.py
+++ b/var/spack/repos/builtin/packages/py-setuptools-git/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PySetuptoolsGit(PythonPackage):
"""Setuptools revision control system plugin for Git"""
- homepage = "https://pypi.python.org/pypi/setuptools-git"
- url = "https://pypi.io/packages/source/s/setuptools-git/setuptools-git-1.2.tar.gz"
+ pypi = "setuptools-git/setuptools-git-1.2.tar.gz"
version('1.2', sha256='ff64136da01aabba76ae88b050e7197918d8b2139ccbf6144e14d472b9c40445')
diff --git a/var/spack/repos/builtin/packages/py-setuptools-rust/package.py b/var/spack/repos/builtin/packages/py-setuptools-rust/package.py
index 262ea03bbe..b7f36d6b01 100644
--- a/var/spack/repos/builtin/packages/py-setuptools-rust/package.py
+++ b/var/spack/repos/builtin/packages/py-setuptools-rust/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-setuptools-scm-git-archive/package.py b/var/spack/repos/builtin/packages/py-setuptools-scm-git-archive/package.py
index 2fb6a9e267..86545dd628 100644
--- a/var/spack/repos/builtin/packages/py-setuptools-scm-git-archive/package.py
+++ b/var/spack/repos/builtin/packages/py-setuptools-scm-git-archive/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PySetuptoolsScmGitArchive(PythonPackage):
(for example the ones GitHub automatically generates)."""
homepage = "https://github.com/Changaco/setuptools_scm_git_archive/"
- url = "https://pypi.io/packages/source/s/setuptools_scm_git_archive/setuptools_scm_git_archive-1.1.tar.gz"
+ pypi = "setuptools_scm_git_archive/setuptools_scm_git_archive-1.1.tar.gz"
maintainers = ['marcmengel']
diff --git a/var/spack/repos/builtin/packages/py-setuptools-scm/package.py b/var/spack/repos/builtin/packages/py-setuptools-scm/package.py
index eb157f8ef5..c6ab32f452 100644
--- a/var/spack/repos/builtin/packages/py-setuptools-scm/package.py
+++ b/var/spack/repos/builtin/packages/py-setuptools-scm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,9 +10,7 @@ class PySetuptoolsScm(PythonPackage):
"""The blessed package to manage your versions by scm tags."""
homepage = "https://github.com/pypa/setuptools_scm"
- url = "https://pypi.io/packages/source/s/setuptools_scm/setuptools_scm-4.1.2.tar.gz"
-
- import_modules = ['setuptools_scm']
+ pypi = "setuptools_scm/setuptools_scm-4.1.2.tar.gz"
version('4.1.2', sha256='a8994582e716ec690f33fec70cca0f85bd23ec974e3f783233e4879090a7faa8')
version('3.3.3', sha256='bd25e1fb5e4d603dcf490f1fde40fb4c595b357795674c3e5cb7f6217ab39ea5')
diff --git a/var/spack/repos/builtin/packages/py-setuptools/package.py b/var/spack/repos/builtin/packages/py-setuptools/package.py
index 1a2930498b..fcefc483fa 100644
--- a/var/spack/repos/builtin/packages/py-setuptools/package.py
+++ b/var/spack/repos/builtin/packages/py-setuptools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,15 +11,7 @@ class PySetuptools(PythonPackage):
upgrading, installing, and uninstalling Python packages."""
homepage = "https://github.com/pypa/setuptools"
- url = "https://pypi.io/packages/source/s/setuptools/setuptools-49.2.0.zip"
-
- import_modules = [
- 'setuptools', 'pkg_resources', 'setuptools._vendor',
- 'setuptools.command', 'setuptools.extern',
- 'setuptools._vendor.packaging', 'pkg_resources._vendor',
- 'pkg_resources.extern', 'pkg_resources._vendor.packaging',
- 'easy_install'
- ]
+ pypi = "setuptools/setuptools-49.2.0.zip"
version('50.3.2', sha256='ed0519d27a243843b05d82a5e9d01b0b083d9934eaa3d02779a23da18077bd3c')
version('50.1.0', sha256='4a7708dafd2d360ce5e2ac7577374da9fb65fc867bc4cdaf461f9f834dfa6ac3')
@@ -35,9 +27,6 @@ class PySetuptools(PythonPackage):
version('40.2.0', sha256='47881d54ede4da9c15273bac65f9340f8929d4f0213193fa7894be384f2dcfa6')
version('39.2.0', sha256='f7cddbb5f5c640311eb00eab6e849f7701fa70bf6a183fc8a2c33dd1d1672fb2')
version('39.0.1', sha256='bec7badf0f60e7fc8153fac47836edc41b74e5d541d7692e614e635720d6a7c7')
- version('35.0.2', sha256='1e55496ca8058db68ae12ac29a985d1ee2c2483a5901f7692fb68fa2f9a250fd')
- version('34.4.1', sha256='704cc0c9fe6c97edd3c6370d165c5a754dfde318b671058523ed3226d944ea1b')
- version('34.2.0', sha256='7b551f5070f9414d48c08dda58bcb879c8d9276199283a99dc8e1362e2f378a2')
version('25.2.0', sha256='b2757ddac2c41173140b111e246d200768f6dd314110e1e40661d0ecf9b4d6a6')
version('20.7.0', sha256='505cdf282c5f6e3a056e79f0244b8945f3632257bba8469386c6b9b396400233')
version('20.6.7', sha256='d20152ee6337323d3b6d95cd733fb719d6b4f3fbc40f61f7a48e5a1bb96478b2')
@@ -50,16 +39,6 @@ class PySetuptools(PythonPackage):
depends_on('python@2.7:2.8,3.5:', type=('build', 'run'), when='@44.0.0:44.99.99')
depends_on('python@2.7:2.8,3.4:', type=('build', 'run'), when='@:43.99.99')
- # Previously, setuptools vendored all of its dependencies to allow
- # easy bootstrapping. As of version 34.0.0, this is no longer done
- # and the dependencies need to be installed externally. As of version
- # 36.0.0, setuptools now vendors its dependencies again. See
- # https://github.com/pypa/setuptools/issues/980 for the reason they
- # reverted back to vendoring again.
- depends_on('py-packaging@16.8:', when='@34:35', type=('build', 'run'))
- depends_on('py-six@1.6.0:', when='@34:35', type=('build', 'run'))
- depends_on('py-appdirs@1.4.0:', when='@34:35', type=('build', 'run'))
-
def url_for_version(self, version):
url = 'https://pypi.io/packages/source/s/setuptools/setuptools-{0}'
url = url.format(version)
@@ -70,7 +49,3 @@ class PySetuptools(PythonPackage):
url += '.tar.gz'
return url
-
- def build_test(self):
- # Unit tests require pytest, creating a circular dependency
- pass
diff --git a/var/spack/repos/builtin/packages/py-sfepy/package.py b/var/spack/repos/builtin/packages/py-sfepy/package.py
index 579f11b1b7..aa9845c3fe 100644
--- a/var/spack/repos/builtin/packages/py-sfepy/package.py
+++ b/var/spack/repos/builtin/packages/py-sfepy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-sgp4/package.py b/var/spack/repos/builtin/packages/py-sgp4/package.py
index 79af5e7112..e8a563110a 100644
--- a/var/spack/repos/builtin/packages/py-sgp4/package.py
+++ b/var/spack/repos/builtin/packages/py-sgp4/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PySgp4(PythonPackage):
"""
homepage = "https://github.com/brandon-rhodes/python-sgp4"
- url = "https://pypi.io/packages/source/s/sgp4/sgp4-1.4.tar.gz"
+ pypi = "sgp4/sgp4-1.4.tar.gz"
version('1.4', sha256='1fb3cdbc11981a9ff34a032169f83c1f4a2877d1b6c295aed044e1d890b73892')
diff --git a/var/spack/repos/builtin/packages/py-sh/package.py b/var/spack/repos/builtin/packages/py-sh/package.py
index 7f8b639fbf..ba0fbc8f41 100644
--- a/var/spack/repos/builtin/packages/py-sh/package.py
+++ b/var/spack/repos/builtin/packages/py-sh/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PySh(PythonPackage):
"""Python subprocess interface"""
homepage = "https://github.com/amoffat/sh"
- url = "https://pypi.io/packages/source/s/sh/sh-1.12.9.tar.gz"
+ pypi = "sh/sh-1.12.9.tar.gz"
version('1.12.9', sha256='579aa19bae7fe86b607df1afaf4e8537c453d2ce3d84e1d3957e099359a51677')
version('1.11', sha256='590fb9b84abf8b1f560df92d73d87965f1e85c6b8330f8a5f6b336b36f0559a4')
diff --git a/var/spack/repos/builtin/packages/py-shapely/package.py b/var/spack/repos/builtin/packages/py-shapely/package.py
index c03106a6be..ec8bd6af9c 100644
--- a/var/spack/repos/builtin/packages/py-shapely/package.py
+++ b/var/spack/repos/builtin/packages/py-shapely/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,26 +12,22 @@ class PyShapely(PythonPackage):
"""
homepage = "https://github.com/Toblerity/Shapely"
- url = "https://pypi.io/packages/source/S/Shapely/Shapely-1.7.1.tar.gz"
+ pypi = "Shapely/Shapely-1.7.1.tar.gz"
git = "https://github.com/Toblerity/Shapely.git"
maintainers = ['adamjstewart']
- import_modules = [
- 'shapely', 'shapely.geometry', 'shapely.algorithms',
- 'shapely.examples', 'shapely.speedups', 'shapely.vectorized',
- ]
version('master', branch='master')
version('1.7.1', sha256='1641724c1055459a7e2b8bbe47ba25bdc89554582e62aec23cb3f3ca25f9b129')
version('1.7.0', sha256='e21a9fe1a416463ff11ae037766fe410526c95700b9e545372475d2361cc951e')
version('1.6.4', sha256='b10bc4199cfefcf1c0e5d932eac89369550320ca4bdf40559328d85f1ca4f655')
- depends_on('python@3.5:', when='@1.8:', type=('build', 'run'))
- depends_on('python@2.7:2.8,3.4:', when='@1.7:', type=('build', 'run'))
- depends_on('python@2.6:', type=('build', 'run'))
+ depends_on('python@3.5:', when='@1.8:', type=('build', 'link', 'run'))
+ depends_on('python@2.7:2.8,3.4:', when='@1.7:', type=('build', 'link', 'run'))
+ depends_on('python@2.6:', type=('build', 'link', 'run'))
depends_on('py-setuptools', type='build')
depends_on('py-cython', type='build')
- depends_on('py-numpy', type=('build', 'run'))
+ depends_on('py-numpy', type=('build', 'link', 'run'))
depends_on('geos')
depends_on('geos@3.3:', when='@1.3:')
depends_on('py-pytest', type='test')
@@ -64,5 +60,7 @@ class PyShapely(PythonPackage):
else:
env.prepend_path('LD_LIBRARY_PATH', libs)
+ @run_after('install')
+ @on_package_attributes(run_tests=True)
def test_install(self):
python('-m', 'pytest')
diff --git a/var/spack/repos/builtin/packages/py-shiboken/package.py b/var/spack/repos/builtin/packages/py-shiboken/package.py
index e7403bbfd6..af6bfe5669 100644
--- a/var/spack/repos/builtin/packages/py-shiboken/package.py
+++ b/var/spack/repos/builtin/packages/py-shiboken/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ import os
class PyShiboken(PythonPackage):
"""Shiboken generates bindings for C++ libraries using CPython."""
homepage = "https://shiboken.readthedocs.org/"
- url = "https://pypi.io/packages/source/S/Shiboken/Shiboken-1.2.2.tar.gz"
+ pypi = "Shiboken/Shiboken-1.2.2.tar.gz"
version('1.2.2', sha256='0baee03c6244ab56e42e4200d0cb5e234682b11cc296ed0a192fe457d054972f')
diff --git a/var/spack/repos/builtin/packages/py-shortuuid/package.py b/var/spack/repos/builtin/packages/py-shortuuid/package.py
index 4bf5e9d7db..d81c68befa 100644
--- a/var/spack/repos/builtin/packages/py-shortuuid/package.py
+++ b/var/spack/repos/builtin/packages/py-shortuuid/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-shroud/package.py b/var/spack/repos/builtin/packages/py-shroud/package.py
index 0e66ca1a23..993a629181 100644
--- a/var/spack/repos/builtin/packages/py-shroud/package.py
+++ b/var/spack/repos/builtin/packages/py-shroud/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-shtab/package.py b/var/spack/repos/builtin/packages/py-shtab/package.py
new file mode 100644
index 0000000000..20d8086edc
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-shtab/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyShtab(PythonPackage):
+ """Automatically generate shell tab completion scripts for python CLI apps."""
+
+ homepage = "https://github.com/iterative/shtab"
+ pypi = "shtab/shtab-1.3.3.tar.gz"
+
+ version('1.3.4', sha256='353f2a3a5178cd2df8eb746e7ab26a5039a9989e4386de8fd239d8c1653a8887')
+ version('1.3.3', sha256='1f7f263631acdf0a9e685bbf7126a0fa711c2d663db12441670b1cea3fa431d4')
+
+ # setuptools and setuptools_scm imported in shtab/__init__.py
+ depends_on('python@2.7:2.8,3.2:', type=('build', 'run'))
+ depends_on('py-setuptools@42:', type='build')
+ depends_on('py-setuptools-scm@3.4:+toml', type='build')
diff --git a/var/spack/repos/builtin/packages/py-simplegeneric/package.py b/var/spack/repos/builtin/packages/py-simplegeneric/package.py
index eb92c5d8de..74dac1f7f4 100644
--- a/var/spack/repos/builtin/packages/py-simplegeneric/package.py
+++ b/var/spack/repos/builtin/packages/py-simplegeneric/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,7 @@ class PySimplegeneric(PythonPackage):
"""Simple generic functions (similar to Python's own len(),
pickle.dump(), etc.)"""
- homepage = "https://pypi.python.org/pypi/simplegeneric"
- url = "https://pypi.io/packages/source/s/simplegeneric/simplegeneric-0.8.zip"
+ pypi = "simplegeneric/simplegeneric-0.8.zip"
version('0.8.1', sha256='dc972e06094b9af5b855b3df4a646395e43d1c9d0d39ed345b7393560d0b9173')
version('0.8', sha256='8c0c4963da2695ba7c0f953f2cdac31d2c41d619fe9419e9d75432f8a231f966')
diff --git a/var/spack/repos/builtin/packages/py-simplejson/package.py b/var/spack/repos/builtin/packages/py-simplejson/package.py
index 7206102d2e..aef9c8ce0e 100644
--- a/var/spack/repos/builtin/packages/py-simplejson/package.py
+++ b/var/spack/repos/builtin/packages/py-simplejson/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PySimplejson(PythonPackage):
Python"""
homepage = "https://github.com/simplejson/simplejson"
- url = "https://pypi.io/packages/source/s/simplejson/simplejson-3.10.0.tar.gz"
+ pypi = "simplejson/simplejson-3.10.0.tar.gz"
version('3.16.0', sha256='b1f329139ba647a9548aa05fb95d046b4a677643070dc2afc05fa2e975d09ca5')
version('3.10.0', sha256='953be622e88323c6f43fad61ffd05bebe73b9fd9863a46d68b052d2aa7d71ce2')
diff --git a/var/spack/repos/builtin/packages/py-simplekml/package.py b/var/spack/repos/builtin/packages/py-simplekml/package.py
index 23b309f670..8613346177 100644
--- a/var/spack/repos/builtin/packages/py-simplekml/package.py
+++ b/var/spack/repos/builtin/packages/py-simplekml/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PySimplekml(PythonPackage):
"""
homepage = "https://readthedocs.org/projects/simplekml/"
- url = "https://pypi.io/packages/source/s/simplekml/simplekml-1.3.1.tar.gz"
+ pypi = "simplekml/simplekml-1.3.1.tar.gz"
version('1.3.1', sha256='30c121368ce1d73405721730bf766721e580cae6fbb7424884c734c89ec62ad7')
diff --git a/var/spack/repos/builtin/packages/py-singledispatch/package.py b/var/spack/repos/builtin/packages/py-singledispatch/package.py
index 21c91a6465..aba411640f 100644
--- a/var/spack/repos/builtin/packages/py-singledispatch/package.py
+++ b/var/spack/repos/builtin/packages/py-singledispatch/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PySingledispatch(PythonPackage):
"""This library brings functools.singledispatch to Python 2.6-3.3."""
- homepage = "https://pypi.python.org/pypi/singledispatch"
- url = "https://pypi.io/packages/source/s/singledispatch/singledispatch-3.4.0.3.tar.gz"
+ pypi = "singledispatch/singledispatch-3.4.0.3.tar.gz"
version('3.4.0.3', sha256='5b06af87df13818d14f08a028e42f566640aef80805c3b50c5056b086e3c2b9c')
diff --git a/var/spack/repos/builtin/packages/py-sip/package.py b/var/spack/repos/builtin/packages/py-sip/package.py
index d454f05740..e5fb2735d1 100644
--- a/var/spack/repos/builtin/packages/py-sip/package.py
+++ b/var/spack/repos/builtin/packages/py-sip/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,17 +12,17 @@ class PySip(Package):
and C++ libraries."""
homepage = "https://www.riverbankcomputing.com/software/sip/intro"
- url = "https://www.riverbankcomputing.com/static/Downloads/sip/4.19.18/sip-4.19.18.tar.gz"
- list_url = "https://www.riverbankcomputing.com/software/sip/download"
+ url = "https://www.riverbankcomputing.com/hg/sip/archive/4.19.21.tar.gz"
+ list_url = "https://www.riverbankcomputing.com/hg/sip/archive"
hg = "https://www.riverbankcomputing.com/hg/sip"
version('develop', hg=hg) # wasn't actually able to clone this
- version('4.19.21', sha256='6af9979ab41590e8311b8cc94356718429ef96ba0e3592bdd630da01211200ae')
- version('4.19.20', sha256='04cc2f87ac97e8718d8e1ef036e3ec26050ab44c21f9277618d5b67432fcbfd6')
- version('4.19.19', sha256='5436b61a78f48c7e8078e93a6b59453ad33780f80c644e5f3af39f94be1ede44')
- version('4.19.18', sha256='c0bd863800ed9b15dcad477c4017cdb73fa805c25908b0240564add74d697e1e')
- version('4.19.15', sha256='2b5c0b2c0266b467b365c21376d50dde61a3236722ab87ff1e8dacec283eb610')
- version('4.19.13', sha256='e353a7056599bf5fbd5d3ff9842a6ab2ea3cf4e0304a0f925ec5862907c0d15e')
+ version('4.19.21', sha256='3bfd58e875a87471c00e008f25a01d8312885aa01efc4f688e5cac861c8676e4')
+ version('4.19.20', sha256='475f85277a6601c406ade508b6c935b9f2a170c16fd3ae9dd4cdee7a4f7f340d')
+ version('4.19.19', sha256='348cd6229b095a3090e851555814f5147bffcb601cec891f1038eb6b38c9d856')
+ version('4.19.18', sha256='e274a8b9424047c094a40a8e70fc5e596c191cb8820472846d7bf739e461b2e8')
+ version('4.19.15', sha256='02bff1ac89253e12cdf1406ad39f841d0e264b0d96a7de13dfe9e29740df2053')
+ version('4.19.13', sha256='92193fcf990503bf29f03e290efc4ee1812d556efc18acf5c8b88c090177a630')
variant('module', default='sip', description='Name of private SIP module',
values=str, multi=False)
@@ -37,7 +37,7 @@ class PySip(Package):
@run_before('configure')
def prepare(self):
- if self.spec.satisfies('@develop'):
+ if not os.path.exists('configure.py'):
python('build.py', 'prepare')
def configure(self, spec, prefix):
diff --git a/var/spack/repos/builtin/packages/py-six/package.py b/var/spack/repos/builtin/packages/py-six/package.py
index 22490eb9a2..121d71df58 100644
--- a/var/spack/repos/builtin/packages/py-six/package.py
+++ b/var/spack/repos/builtin/packages/py-six/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,11 +9,9 @@ from spack import *
class PySix(PythonPackage):
"""Python 2 and 3 compatibility utilities."""
- homepage = "https://pypi.python.org/pypi/six"
- url = "https://pypi.io/packages/source/s/six/six-1.11.0.tar.gz"
-
- import_modules = ['six']
+ pypi = "six/six-1.11.0.tar.gz"
+ version('1.15.0', sha256='30639c035cdb23534cd4aa2dd52c3bf48f06e5f4a941509c8bafd8ce11080259')
version('1.14.0', sha256='236bdbdce46e6e6a3d61a337c0f8b763ca1e8717c03b369e87a7ec7ce1319c0a')
version('1.12.0', sha256='d16a0141ec1a18405cd4ce8b4613101da75da0e9a7aec5bdd4fa804d0e0eba73')
version('1.11.0', sha256='70e8a77beed4562e7f14fe23a786b54f6296e34344c23bc42f07b15018ff98e9')
@@ -22,10 +20,5 @@ class PySix(PythonPackage):
version('1.8.0', sha256='047bbbba41bac37c444c75ddfdf0573dd6e2f1fbd824e6247bb26fa7d8fa3830')
extends('python', ignore=r'bin/pytest')
-
- # Newer versions of setuptools require six. Although setuptools is an
- # optional dependency of six, if it is not found, setup.py will fallback
- # on distutils.core instead. Don't add a setuptools dependency or we
- # won't be able to bootstrap setuptools.
-
- # depends_on('py-setuptools', type='build')
+ depends_on('python@2.7:2.8,3.3:', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
diff --git a/var/spack/repos/builtin/packages/py-slepc4py/package.py b/var/spack/repos/builtin/packages/py-slepc4py/package.py
index 58b00ce02b..5e96694bf9 100644
--- a/var/spack/repos/builtin/packages/py-slepc4py/package.py
+++ b/var/spack/repos/builtin/packages/py-slepc4py/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-slurm-pipeline/package.py b/var/spack/repos/builtin/packages/py-slurm-pipeline/package.py
index a04d974aa8..bb9f3ac3c6 100644
--- a/var/spack/repos/builtin/packages/py-slurm-pipeline/package.py
+++ b/var/spack/repos/builtin/packages/py-slurm-pipeline/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PySlurmPipeline(PythonPackage):
"""A Python class for scheduling SLURM jobs"""
homepage = "https://github.com/acorg/slurm-pipeline"
- url = "https://pypi.io/packages/source/s/slurm-pipeline/slurm-pipeline-1.1.13.tar.gz"
+ pypi = "slurm-pipeline/slurm-pipeline-1.1.13.tar.gz"
version('2.0.9', sha256='2360e43965ecfa3701f287b7d597c99b4accd4dc8faf9d55cfdcc2228c4054cc')
version('1.1.13', sha256='6d6ca2e96a16780fd9520957166afd06272c57abd962e76bfe74c4d394b38da1')
diff --git a/var/spack/repos/builtin/packages/py-smart-open/package.py b/var/spack/repos/builtin/packages/py-smart-open/package.py
index f58683af38..5fbf871dc6 100644
--- a/var/spack/repos/builtin/packages/py-smart-open/package.py
+++ b/var/spack/repos/builtin/packages/py-smart-open/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class PySmartOpen(PythonPackage):
different formats."""
homepage = "https://github.com/piskvorky/smart_open"
- url = "https://pypi.io/packages/source/s/smart_open/smart_open-1.10.0.tar.gz"
+ pypi = "smart_open/smart_open-1.10.0.tar.gz"
version('1.10.0', sha256='bea5624c0c2e49987c227bdf3596573157eccd96fd1d53198856c8d53948fa2c')
version('1.8.4', sha256='788e07f035defcbb62e3c1e313329a70b0976f4f65406ee767db73ad5d2d04f9')
diff --git a/var/spack/repos/builtin/packages/py-smmap/package.py b/var/spack/repos/builtin/packages/py-smmap/package.py
index f8baa0de0e..589bdf2263 100644
--- a/var/spack/repos/builtin/packages/py-smmap/package.py
+++ b/var/spack/repos/builtin/packages/py-smmap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PySmmap(PythonPackage):
"""
homepage = "https://github.com/gitpython-developers/smmap"
- url = "https://pypi.io/packages/source/s/smmap/smmap-3.0.4.tar.gz"
+ pypi = "smmap/smmap-3.0.4.tar.gz"
version('3.0.4', sha256='9c98bbd1f9786d22f14b3d4126894d56befb835ec90cef151af566c7e19b5d24')
diff --git a/var/spack/repos/builtin/packages/py-snappy/package.py b/var/spack/repos/builtin/packages/py-snappy/package.py
index bcb9c5d749..699eb45cf1 100644
--- a/var/spack/repos/builtin/packages/py-snappy/package.py
+++ b/var/spack/repos/builtin/packages/py-snappy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-sncosmo/package.py b/var/spack/repos/builtin/packages/py-sncosmo/package.py
index 3108b961cf..ded2773787 100644
--- a/var/spack/repos/builtin/packages/py-sncosmo/package.py
+++ b/var/spack/repos/builtin/packages/py-sncosmo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PySncosmo(PythonPackage):
analysis."""
homepage = "http://sncosmo.readthedocs.io/"
- url = "https://pypi.io/packages/source/s/sncosmo/sncosmo-1.2.0.tar.gz"
+ pypi = "sncosmo/sncosmo-1.2.0.tar.gz"
version('1.2.0', sha256='f3969eec5b25f60c70418dbd64765a2b4735bb53c210c61d0aab68916daea588')
diff --git a/var/spack/repos/builtin/packages/py-sniffio/package.py b/var/spack/repos/builtin/packages/py-sniffio/package.py
index 7ededd453a..280179cf11 100644
--- a/var/spack/repos/builtin/packages/py-sniffio/package.py
+++ b/var/spack/repos/builtin/packages/py-sniffio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PySniffio(PythonPackage):
async library your code is running under."""
homepage = "https://github.com/python-trio/sniffio"
- url = "https://pypi.io/packages/source/s/sniffio/sniffio-1.1.0.tar.gz"
+ pypi = "sniffio/sniffio-1.1.0.tar.gz"
version('1.1.0', sha256='8e3810100f69fe0edd463d02ad407112542a11ffdc29f67db2bf3771afb87a21')
diff --git a/var/spack/repos/builtin/packages/py-snowballstemmer/package.py b/var/spack/repos/builtin/packages/py-snowballstemmer/package.py
index 80af93c40a..621becfe68 100644
--- a/var/spack/repos/builtin/packages/py-snowballstemmer/package.py
+++ b/var/spack/repos/builtin/packages/py-snowballstemmer/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,9 +11,7 @@ class PySnowballstemmer(PythonPackage):
English stemmer) generated from Snowball algorithms."""
homepage = "https://github.com/shibukawa/snowball_py"
- url = "https://pypi.io/packages/source/s/snowballstemmer/snowballstemmer-2.0.0.tar.gz"
-
- import_modules = ['snowballstemmer']
+ pypi = "snowballstemmer/snowballstemmer-2.0.0.tar.gz"
version('2.0.0', sha256='df3bac3df4c2c01363f3dd2cfa78cce2840a79b9f1c2d2de9ce8d31683992f52')
version('1.2.1', sha256='919f26a68b2c17a7634da993d91339e288964f93c274f1343e3bbbe2096e1128')
diff --git a/var/spack/repos/builtin/packages/py-snuggs/package.py b/var/spack/repos/builtin/packages/py-snuggs/package.py
index 181ae5d11c..53b746ffb7 100644
--- a/var/spack/repos/builtin/packages/py-snuggs/package.py
+++ b/var/spack/repos/builtin/packages/py-snuggs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,6 +14,7 @@ class PySnuggs(PythonPackage):
version('1.4.1', sha256='b37ed4e11c5f372695dc6fe66fce6cede124c90a920fe4726c970c9293b71233')
+ depends_on('py-setuptools', type='build')
depends_on('py-numpy', type=('build', 'run'))
depends_on('py-click', type=('build', 'run'))
depends_on('py-pyparsing', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-sonlib/package.py b/var/spack/repos/builtin/packages/py-sonlib/package.py
index 68710835c7..a6ecbdb2bd 100644
--- a/var/spack/repos/builtin/packages/py-sonlib/package.py
+++ b/var/spack/repos/builtin/packages/py-sonlib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-sortedcollections/package.py b/var/spack/repos/builtin/packages/py-sortedcollections/package.py
new file mode 100644
index 0000000000..1024d0d220
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-sortedcollections/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+from spack import *
+
+
+class PySortedcollections(PythonPackage):
+ """Sorted Collections is an Apache2 licensed Python sorted collections library."""
+
+ homepage = "http://www.grantjenks.com/docs/sortedcollections/"
+ pypi = "sortedcollections/sortedcollections-1.2.1.tar.gz"
+
+ version('1.2.1', sha256='58c31f35e3d052ada6a1fbfc235a408e9ec5e2cfc64a02731cf97cac4afd306a')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-sortedcontainers', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-sortedcontainers/package.py b/var/spack/repos/builtin/packages/py-sortedcontainers/package.py
index 33ab9ee443..32ca17ca4b 100644
--- a/var/spack/repos/builtin/packages/py-sortedcontainers/package.py
+++ b/var/spack/repos/builtin/packages/py-sortedcontainers/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PySortedcontainers(PythonPackage):
written in pure-Python, and fast as C-extensions."""
homepage = "http://www.grantjenks.com/docs/sortedcontainers/"
- url = "https://pypi.io/packages/source/s/sortedcontainers/sortedcontainers-2.1.0.tar.gz"
+ pypi = "sortedcontainers/sortedcontainers-2.1.0.tar.gz"
version('2.1.0', sha256='974e9a32f56b17c1bac2aebd9dcf197f3eb9cd30553c5852a3187ad162e1a03a')
diff --git a/var/spack/repos/builtin/packages/py-soundfile/package.py b/var/spack/repos/builtin/packages/py-soundfile/package.py
index aa485deca3..207746fd8c 100644
--- a/var/spack/repos/builtin/packages/py-soundfile/package.py
+++ b/var/spack/repos/builtin/packages/py-soundfile/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PySoundfile(PythonPackage):
"""SoundFile is an audio library based on libsndfile, CFFI and NumPy."""
homepage = "https://github.com/bastibe/PySoundFile"
- url = "https://pypi.io/packages/source/S/SoundFile/SoundFile-0.10.3.post1.tar.gz"
+ pypi = "SoundFile/SoundFile-0.10.3.post1.tar.gz"
version('0.10.3.post1', sha256='490cff42650733d1832728b937fe99fa1802896f5ef4d61bcf78cf7ebecb107b')
diff --git a/var/spack/repos/builtin/packages/py-soupsieve/package.py b/var/spack/repos/builtin/packages/py-soupsieve/package.py
index be9d52e208..4b147e9c0a 100644
--- a/var/spack/repos/builtin/packages/py-soupsieve/package.py
+++ b/var/spack/repos/builtin/packages/py-soupsieve/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PySoupsieve(PythonPackage):
"""A modern CSS selector implementation for Beautiful Soup."""
homepage = "https://github.com/facelessuser/soupsieve"
- url = "https://pypi.io/packages/source/s/soupsieve/soupsieve-1.9.3.tar.gz"
+ pypi = "soupsieve/soupsieve-1.9.3.tar.gz"
version('1.9.3', sha256='8662843366b8d8779dec4e2f921bebec9afd856a5ff2e82cd419acc5054a1a92')
diff --git a/var/spack/repos/builtin/packages/py-spacy-models-en-core-web-sm/package.py b/var/spack/repos/builtin/packages/py-spacy-models-en-core-web-sm/package.py
index 24c3af8d74..e0e236fe76 100644
--- a/var/spack/repos/builtin/packages/py-spacy-models-en-core-web-sm/package.py
+++ b/var/spack/repos/builtin/packages/py-spacy-models-en-core-web-sm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-spacy-models-en-vectors-web-lg/package.py b/var/spack/repos/builtin/packages/py-spacy-models-en-vectors-web-lg/package.py
index cbaf1027bc..05409a3901 100644
--- a/var/spack/repos/builtin/packages/py-spacy-models-en-vectors-web-lg/package.py
+++ b/var/spack/repos/builtin/packages/py-spacy-models-en-vectors-web-lg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-spacy/package.py b/var/spack/repos/builtin/packages/py-spacy/package.py
index 74e3a35708..c120ba17fe 100644
--- a/var/spack/repos/builtin/packages/py-spacy/package.py
+++ b/var/spack/repos/builtin/packages/py-spacy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ class PySpacy(PythonPackage):
Python and Cython."""
homepage = "https://spacy.io/"
- url = "https://pypi.io/packages/source/s/spacy/spacy-2.3.2.tar.gz"
+ pypi = "spacy/spacy-2.3.2.tar.gz"
version('2.3.2', sha256='818de26e0e383f64ccbe3db185574920de05923d8deac8bbb12113b9e33cee1f')
version('2.2.4', sha256='f0f3a67c5841e6e35d62c98f40ebb3d132587d3aba4f4dccac5056c4e90ff5b9')
diff --git a/var/spack/repos/builtin/packages/py-sparse/package.py b/var/spack/repos/builtin/packages/py-sparse/package.py
new file mode 100644
index 0000000000..814b5aa6e5
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-sparse/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PySparse(PythonPackage):
+ """This library provides multi-dimensional sparse arrays."""
+
+ homepage = "https://sparse.pydata.org"
+ url = "https://github.com/pydata/sparse/archive/0.11.2.tar.gz"
+
+ version('0.11.2', sha256='365b6f038c4d331b3913e5fb00f5bc5dc5eadc49ef2feef332214f9bf33dbc82')
+
+ depends_on('python@3.6:3.999', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
+ depends_on('py-numpy', type=('build', 'run'))
+ depends_on('py-scipy@0.19:', type=('build', 'run'))
+ depends_on('py-numba@0.49:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-spatialist/package.py b/var/spack/repos/builtin/packages/py-spatialist/package.py
index ff7386fd00..1925711eda 100644
--- a/var/spack/repos/builtin/packages/py-spatialist/package.py
+++ b/var/spack/repos/builtin/packages/py-spatialist/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PySpatialist(PythonPackage):
processing using GDAL and OGR."""
homepage = "https://github.com/johntruckenbrodt/spatialist"
- url = "https://pypi.io/packages/source/s/spatialist/spatialist-0.4.tar.gz"
+ pypi = "spatialist/spatialist-0.4.tar.gz"
maintainers = ['adamjstewart']
diff --git a/var/spack/repos/builtin/packages/py-spatialite/package.py b/var/spack/repos/builtin/packages/py-spatialite/package.py
index e78cff81ad..88fd83e183 100644
--- a/var/spack/repos/builtin/packages/py-spatialite/package.py
+++ b/var/spack/repos/builtin/packages/py-spatialite/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PySpatialite(PythonPackage):
"""
homepage = "https://github.com/malexer/spatialite"
- url = "https://pypi.io/packages/source/s/spatialite/spatialite-0.0.3.tar.gz"
+ pypi = "spatialite/spatialite-0.0.3.tar.gz"
version('0.0.3', sha256='a0761f239a52f326b14ce41ba61b6614dfcc808b978a0bec4a37c1de9ad9071e')
diff --git a/var/spack/repos/builtin/packages/py-spdlog/package.py b/var/spack/repos/builtin/packages/py-spdlog/package.py
index 2e149b6b30..26886f4d1e 100644
--- a/var/spack/repos/builtin/packages/py-spdlog/package.py
+++ b/var/spack/repos/builtin/packages/py-spdlog/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PySpdlog(PythonPackage):
to the C++ spdlog library."""
homepage = 'https://github.com/bodgergely/spdlog-python'
- url = 'https://pypi.io/packages/source/s/spdlog/spdlog-2.0.0.tar.gz'
+ pypi = 'spdlog/spdlog-2.0.0.tar.gz'
git = 'https://github.com/bodgergely/spdlog-python.git'
# NOTE: Righ now py-spdlog works with a git submodule containing a copy
@@ -25,4 +25,3 @@ class PySpdlog(PythonPackage):
depends_on('py-pybind11@2.2:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
depends_on('py-pytest-runner', type='build')
- depends_on('py-pytest', type='test')
diff --git a/var/spack/repos/builtin/packages/py-spectra/package.py b/var/spack/repos/builtin/packages/py-spectra/package.py
index 063680bb7c..365c597a00 100644
--- a/var/spack/repos/builtin/packages/py-spectra/package.py
+++ b/var/spack/repos/builtin/packages/py-spectra/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PySpectra(PythonPackage):
"""Color scales and color conversion made easy for Python."""
- homepage = "https://pypi.python.org/pypi/spectra/0.0.8"
- url = "https://pypi.io/packages/source/s/spectra/spectra-0.0.8.tar.gz"
+ pypi = "spectra/spectra-0.0.8.tar.gz"
version('0.0.11', sha256='8eb362a5187cb63cee13cd01186799c0c791a3ad3bec57b279132e12521762b8')
version('0.0.8', sha256='851b88c9c0bba84e0be1fce5b9c02a7b4ef139a2b3e590b0d082d679e19f0759')
diff --git a/var/spack/repos/builtin/packages/py-spefile/package.py b/var/spack/repos/builtin/packages/py-spefile/package.py
index 54eec9ff91..6a9a645ea1 100644
--- a/var/spack/repos/builtin/packages/py-spefile/package.py
+++ b/var/spack/repos/builtin/packages/py-spefile/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,8 +13,6 @@ class PySpefile(PythonPackage):
homepage = "https://github.com/conda-forge/spefile-feedstock"
git = "https://github.com/conda-forge/spefile-feedstock.git"
- import_modules = ['spefile']
-
version('1.6', commit='24394e066da8dee5e7608f556ca0203c9db217f9')
depends_on('py-setuptools', type='build')
diff --git a/var/spack/repos/builtin/packages/py-spgl1/package.py b/var/spack/repos/builtin/packages/py-spgl1/package.py
new file mode 100644
index 0000000000..185576f848
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-spgl1/package.py
@@ -0,0 +1,30 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PySpgl1(PythonPackage):
+ """SPGL1 is a solver for large-scale one-norm regularized least squares. It is
+ designed to solve any of the following three problems: Basis pursuit denoise
+ (BPDN): minimize ||x||_1 subject to ||Ax - b||_2 <= sigma, Basis pursuit (BP):
+ minimize ||x||_1 subject to Ax = b Lasso: minimize ||Ax - b||_2 subject to
+ ||x||_1 <= tau, The matrix A can be defined explicitly, or as an operator that
+ returns both both Ax and A'b. SPGL1 can solve these three problems in both
+ the real and complex domains."""
+
+ pypi = "spgl1/spgl1-0.0.2.tar.gz"
+ git = "https://github.com/drrelyea/spgl1.git"
+
+ maintainers = ['archxlith']
+
+ version('master', branch='master')
+ version('0.0.2', sha256='a2a524724097bad18dd88a306dbcc99124c6c46ffcbb1a96d6ba6dd6fe2f7404')
+ version('0.0.1', sha256='24ff37ab5be57f0ccf14c53090b171e019c3c12799c80f368e628e1cc9ac9a1f')
+
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-numpy@1.15:', type=('build', 'run'))
+ depends_on('py-scipy', type=('build', 'run'))
+ depends_on('py-setuptools', type='build')
diff --git a/var/spack/repos/builtin/packages/py-spglib/package.py b/var/spack/repos/builtin/packages/py-spglib/package.py
index c1b6cf6981..39db973083 100644
--- a/var/spack/repos/builtin/packages/py-spglib/package.py
+++ b/var/spack/repos/builtin/packages/py-spglib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PySpglib(PythonPackage):
crystal symmetries."""
homepage = "http://atztogo.github.io/spglib/"
- url = "https://pypi.io/packages/source/s/spglib/spglib-1.9.9.18.tar.gz"
+ pypi = "spglib/spglib-1.9.9.18.tar.gz"
version('1.9.9.18', sha256='cbbb8383320b500dc6100b83d5e914a26a97ef8fc97c82d8921b10220e4126cd')
diff --git a/var/spack/repos/builtin/packages/py-sphinx-bootstrap-theme/package.py b/var/spack/repos/builtin/packages/py-sphinx-bootstrap-theme/package.py
index f24af6bbb7..dcffde6815 100644
--- a/var/spack/repos/builtin/packages/py-sphinx-bootstrap-theme/package.py
+++ b/var/spack/repos/builtin/packages/py-sphinx-bootstrap-theme/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PySphinxBootstrapTheme(PythonPackage):
"""Sphinx Bootstrap Theme."""
- homepage = "https://pypi.python.org/pypi/sphinx-bootstrap-theme/"
- url = "https://pypi.io/packages/source/s/sphinx-bootstrap-theme/sphinx-bootstrap-theme-0.4.13.tar.gz"
+ pypi = "sphinx-bootstrap-theme/sphinx-bootstrap-theme-0.4.13.tar.gz"
version('0.4.13', sha256='47f7719e56304026f285455bbb115525d227a6e23341d4b7f6f0b48b2eface82')
diff --git a/var/spack/repos/builtin/packages/py-sphinx-copybutton/package.py b/var/spack/repos/builtin/packages/py-sphinx-copybutton/package.py
index 12d4df06dd..2a334adee5 100644
--- a/var/spack/repos/builtin/packages/py-sphinx-copybutton/package.py
+++ b/var/spack/repos/builtin/packages/py-sphinx-copybutton/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PySphinxCopybutton(PythonPackage):
"""A small sphinx extension to add a "copy" button to code blocks."""
homepage = "https://github.com/choldgraf/sphinx-copybutton"
- url = "https://files.pythonhosted.org/packages/b7/74/da355d8a909a7934b5f1711fce6f056e0c398094918dec3a23703662a0fe/sphinx-copybutton-0.2.12.tar.gz"
+ pypi = "sphinx-copybutton/sphinx-copybutton-0.2.12.tar.gz"
version('0.2.12', sha256='9492883786984b6179c92c07ab0410237b26efa826adfa792acfd17b91a63e5c')
diff --git a/var/spack/repos/builtin/packages/py-sphinx-gallery/package.py b/var/spack/repos/builtin/packages/py-sphinx-gallery/package.py
index 067ea9b40c..7f4e9b0c8e 100644
--- a/var/spack/repos/builtin/packages/py-sphinx-gallery/package.py
+++ b/var/spack/repos/builtin/packages/py-sphinx-gallery/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PySphinxGallery(PythonPackage):
"""
homepage = "https://sphinx-gallery.github.io"
- url = "https://files.pythonhosted.org/packages/9d/20/79118154e64a5280060b55c7ad025ad16f89b8192a6a9f0ffdbf71717bf0/sphinx-gallery-0.7.0.tar.gz"
+ pypi = "sphinx-gallery/sphinx-gallery-0.7.0.tar.gz"
version('0.7.0', sha256='05ead72c947718ab4183c33a598e29743e771dcf75aec84c53048423bd2f4580')
version('0.4.0', sha256='a286cf2eea47ce838a0754ecef617616afb1f40e41e52fe765723464f52e0c2f')
diff --git a/var/spack/repos/builtin/packages/py-sphinx-rtd-theme/package.py b/var/spack/repos/builtin/packages/py-sphinx-rtd-theme/package.py
index bc09b3324b..150450f5b7 100644
--- a/var/spack/repos/builtin/packages/py-sphinx-rtd-theme/package.py
+++ b/var/spack/repos/builtin/packages/py-sphinx-rtd-theme/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,17 +9,17 @@ from spack import *
class PySphinxRtdTheme(PythonPackage):
"""ReadTheDocs.org theme for Sphinx."""
- homepage = "https://github.com/rtfd/sphinx_rtd_theme/"
- url = "https://github.com/readthedocs/sphinx_rtd_theme/archive/0.5.0.tar.gz"
+ homepage = "https://github.com/readthedocs/sphinx_rtd_theme"
+ pypi = "sphinx-rtd-theme/sphinx_rtd_theme-0.5.1.tar.gz"
- import_modules = ['sphinx_rtd_theme']
-
- version('0.5.0', sha256='f5c77e9026e2bd0b3d2530f9f8a6681808b216ba70195fe56e7ad89f641ac447')
- version('0.4.3', sha256='3412195caad06e4537ad741596d57706c3ed29073d1e0e6b46f25e344d0f393b')
- version('0.2.5b1', sha256='31924cdaa5232d1d573423ebebeb1e8f02c8b3cd8cd0662b8a91f3b12efbc12e')
- version('0.1.10-alpha', sha256='a4c120c0d5c87a2541da9d5e48d3c43b96ea7d7867eacbd5dbf125cdeaa0b4f0')
+ version('0.5.1', sha256='eda689eda0c7301a80cf122dad28b1861e5605cbf455558f3775e1e8200e83a5')
+ version('0.5.0', sha256='22c795ba2832a169ca301cd0a083f7a434e09c538c70beb42782c073651b707d')
+ version('0.4.3', sha256='728607e34d60456d736cc7991fd236afb828b21b82f956c5ea75f94c8414040a')
depends_on('py-setuptools', type='build')
- depends_on('npm', when='@0.5.0:', type='build')
depends_on('py-sphinx', when='@0.4.1:', type=('build', 'run'))
- depends_on('py-pytest', when='@0.5.0:', type='test')
+
+ def setup_build_environment(self, env):
+ # Hack to prevent usage of npm in 0.5+
+ # https://github.com/readthedocs/sphinx_rtd_theme/issues/1014
+ env.set('CI', True)
diff --git a/var/spack/repos/builtin/packages/py-sphinx/package.py b/var/spack/repos/builtin/packages/py-sphinx/package.py
index d326c53f4c..873d010532 100644
--- a/var/spack/repos/builtin/packages/py-sphinx/package.py
+++ b/var/spack/repos/builtin/packages/py-sphinx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,17 +10,7 @@ class PySphinx(PythonPackage):
"""Sphinx Documentation Generator."""
homepage = "https://sphinx-doc.org/"
- url = "https://pypi.io/packages/source/S/Sphinx/Sphinx-3.2.0.tar.gz"
-
- import_modules = [
- 'sphinx', 'sphinx.testing', 'sphinx.ext', 'sphinx.pycode',
- 'sphinx.search', 'sphinx.transforms', 'sphinx.builders',
- 'sphinx.directives', 'sphinx.util', 'sphinx.environment',
- 'sphinx.writers', 'sphinx.domains', 'sphinx.locale',
- 'sphinx.ext.napoleon', 'sphinx.ext.autosummary', 'sphinx.pycode.pgen2',
- 'sphinx.transforms.post_transforms', 'sphinx.util.stemmer',
- 'sphinx.environment.collectors', 'sphinx.environment.adapters'
- ]
+ pypi = "Sphinx/Sphinx-3.2.0.tar.gz"
version('3.2.0', sha256='cf2d5bc3c6c930ab0a1fbef3ad8a82994b1bf4ae923f8098a05c7e5516f07177')
version('3.0.0', sha256='6a099e6faffdc3ceba99ca8c2d09982d43022245e409249375edf111caf79ed3')
@@ -64,11 +54,3 @@ class PySphinx(PythonPackage):
depends_on('py-packaging', when='@1.7.4:', type=('build', 'run'))
depends_on('py-typing', when='@1.6.1', type=('build', 'run'))
depends_on('py-typing', when='@1.6.2:^python@2.7:3.4', type=('build', 'run'))
-
- depends_on('py-pytest', type='test')
- depends_on('py-pytest-cov', type='test')
- depends_on('py-html5lib', type='test')
- depends_on('py-flake8@3.5.0:', type='test')
- depends_on('py-flake8-import-order', type='test')
- depends_on('py-mypy@0.720:', type='test')
- depends_on('py-docutils-stubs', type='test')
diff --git a/var/spack/repos/builtin/packages/py-sphinxautomodapi/package.py b/var/spack/repos/builtin/packages/py-sphinxautomodapi/package.py
index 7538121854..503c77d831 100644
--- a/var/spack/repos/builtin/packages/py-sphinxautomodapi/package.py
+++ b/var/spack/repos/builtin/packages/py-sphinxautomodapi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PySphinxautomodapi(PythonPackage):
"""Provides Sphinx directives to autogenerate API documentation pages"""
homepage = "https://sphinx-automodapi.readthedocs.io/en/latest/"
- url = "https://pypi.io/packages/source/s/sphinx-automodapi/sphinx-automodapi-0.9.tar.gz"
+ pypi = "sphinx-automodapi/sphinx-automodapi-0.9.tar.gz"
version('0.9', sha256='71a69e1a7ab8d849f416d7431db854d7b1925f749ba6345bc7d88f288892871d')
diff --git a/var/spack/repos/builtin/packages/py-sphinxcontrib-applehelp/package.py b/var/spack/repos/builtin/packages/py-sphinxcontrib-applehelp/package.py
index 67ba38134c..ae12f64e14 100644
--- a/var/spack/repos/builtin/packages/py-sphinxcontrib-applehelp/package.py
+++ b/var/spack/repos/builtin/packages/py-sphinxcontrib-applehelp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,13 +11,13 @@ class PySphinxcontribApplehelp(PythonPackage):
help books."""
homepage = "http://sphinx-doc.org/"
- url = "https://pypi.io/packages/source/s/sphinxcontrib-applehelp/sphinxcontrib-applehelp-1.0.1.tar.gz"
+ pypi = "sphinxcontrib-applehelp/sphinxcontrib-applehelp-1.0.1.tar.gz"
+
+ # Sphinx requires sphinxcontrib-applehelp at build-time, but
+ # sphinxcontrib-applehelp requires sphinx at run-time
+ import_modules = []
version('1.0.1', sha256='edaa0ab2b2bc74403149cb0209d6775c96de797dfd5b5e2a71981309efab3897')
depends_on('python@3.5:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
-
- def build_test(self):
- # Requires sphinx, creating a circular dependency
- pass
diff --git a/var/spack/repos/builtin/packages/py-sphinxcontrib-bibtex/package.py b/var/spack/repos/builtin/packages/py-sphinxcontrib-bibtex/package.py
index d7820786b0..9cfc4e8e65 100644
--- a/var/spack/repos/builtin/packages/py-sphinxcontrib-bibtex/package.py
+++ b/var/spack/repos/builtin/packages/py-sphinxcontrib-bibtex/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,19 +9,23 @@ from spack import *
class PySphinxcontribBibtex(PythonPackage):
"""A Sphinx extension for BibTeX style citations."""
- homepage = "https://pypi.python.org/pypi/sphinxcontrib-bibtex"
- url = "https://pypi.io/packages/source/s/sphinxcontrib-bibtex/sphinxcontrib-bibtex-0.3.5.tar.gz"
-
- import_modules = ['sphinxcontrib', 'sphinxcontrib.bibtex']
+ pypi = "sphinxcontrib-bibtex/sphinxcontrib-bibtex-0.3.5.tar.gz"
+ version('2.0.0', sha256='98e18eb0b088d3f556199f3fbb91d3d48ebb7596fe86b6c37cc4c4dc5419b7a1')
version('1.0.0', sha256='629612b001f86784669d65e662377a482052decfd9a0a17c46860878eef7b9e0')
version('0.3.5', sha256='c93e2b4a0d14f0ab726f95f0a33c1675965e9df3ed04839635577b8f978206cd')
+ depends_on('python@2.7:2.8,3.3:', type=('build', 'run'))
+ depends_on('python@3.5:', type=('build', 'run'), when='@1:')
+ depends_on('python@3.6:', type=('build', 'run'), when='@2:')
depends_on('py-setuptools', type='build')
depends_on('py-latexcodec@0.3.0:', type=('build', 'run'))
- depends_on('py-pybtex@0.17:', type=('build', 'run'))
- depends_on('py-pybtex-docutils@0.2.0:', type=('build', 'run'))
- depends_on('py-six@1.4.1:', type=('build', 'run'))
- depends_on('py-sphinx@1.0:', type=('build', 'run'))
+ depends_on('py-pybtex@0.17:', type=('build', 'run'), when='@:1.9.9')
+ depends_on('py-pybtex@0.20:', type=('build', 'run'), when='@2.0.0:')
+ depends_on('py-pybtex-docutils@0.2.0:', type=('build', 'run'), when='@:1.9.9')
+ depends_on('py-pybtex-docutils@0.2.2:', type=('build', 'run'), when='@2.0.0:')
+ depends_on('py-six@1.4.1:', type=('build', 'run'), when='@0.3.5')
+ depends_on('py-sphinx@1.0:', type=('build', 'run'), when='@:1.9.9')
+ depends_on('py-sphinx@2.0:', type=('build', 'run'), when='@2.0.0:')
depends_on('py-oset@0.1.3:', type=('build', 'run'))
depends_on('py-ordereddict@1.1:', when='^python@:2.6', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-sphinxcontrib-devhelp/package.py b/var/spack/repos/builtin/packages/py-sphinxcontrib-devhelp/package.py
index 1954fc9677..488dd07c08 100644
--- a/var/spack/repos/builtin/packages/py-sphinxcontrib-devhelp/package.py
+++ b/var/spack/repos/builtin/packages/py-sphinxcontrib-devhelp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,13 +11,13 @@ class PySphinxcontribDevhelp(PythonPackage):
Devhelp document."""
homepage = "http://sphinx-doc.org/"
- url = "https://pypi.io/packages/source/s/sphinxcontrib-devhelp/sphinxcontrib-devhelp-1.0.1.tar.gz"
+ pypi = "sphinxcontrib-devhelp/sphinxcontrib-devhelp-1.0.1.tar.gz"
+
+ # Sphinx requires sphinxcontrib-devhelp at build-time, but
+ # sphinxcontrib-devhelp requires sphinx at run-time
+ import_modules = []
version('1.0.1', sha256='6c64b077937330a9128a4da74586e8c2130262f014689b4b89e2d08ee7294a34')
depends_on('python@3.5:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
-
- def build_test(self):
- # Requires sphinx, creating a circular dependency
- pass
diff --git a/var/spack/repos/builtin/packages/py-sphinxcontrib-htmlhelp/package.py b/var/spack/repos/builtin/packages/py-sphinxcontrib-htmlhelp/package.py
index 95f6819d59..1199b88a5a 100644
--- a/var/spack/repos/builtin/packages/py-sphinxcontrib-htmlhelp/package.py
+++ b/var/spack/repos/builtin/packages/py-sphinxcontrib-htmlhelp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,13 +11,13 @@ class PySphinxcontribHtmlhelp(PythonPackage):
document."""
homepage = "http://sphinx-doc.org/"
- url = "https://pypi.io/packages/source/s/sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp-1.0.2.tar.gz"
+ pypi = "sphinxcontrib-htmlhelp/sphinxcontrib-htmlhelp-1.0.2.tar.gz"
+
+ # Sphinx requires sphinxcontrib-htmlhelp at build-time, but
+ # sphinxcontrib-htmlhelp requires sphinx at run-time
+ import_modules = []
version('1.0.2', sha256='4670f99f8951bd78cd4ad2ab962f798f5618b17675c35c5ac3b2132a14ea8422')
depends_on('python@3.5:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
-
- def build_test(self):
- # Requires sphinx, creating a circular dependency
- pass
diff --git a/var/spack/repos/builtin/packages/py-sphinxcontrib-issuetracker/package.py b/var/spack/repos/builtin/packages/py-sphinxcontrib-issuetracker/package.py
index 2197c3080c..dad1b340c5 100644
--- a/var/spack/repos/builtin/packages/py-sphinxcontrib-issuetracker/package.py
+++ b/var/spack/repos/builtin/packages/py-sphinxcontrib-issuetracker/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PySphinxcontribIssuetracker(PythonPackage):
"""Sphinx integration with different issuetrackers."""
homepage = "https://sphinxcontrib-issuetracker.readthedocs.org/"
- url = "https://pypi.io/packages/source/s/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.11.tar.gz"
+ pypi = "sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-0.11.tar.gz"
version('0.11', sha256='843753d8b5e989116378ab45ecccb368fb78dc56eaa1554ed25e4fbf22745f4e')
diff --git a/var/spack/repos/builtin/packages/py-sphinxcontrib-jsmath/package.py b/var/spack/repos/builtin/packages/py-sphinxcontrib-jsmath/package.py
index add0160ac8..501cd16fae 100644
--- a/var/spack/repos/builtin/packages/py-sphinxcontrib-jsmath/package.py
+++ b/var/spack/repos/builtin/packages/py-sphinxcontrib-jsmath/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,13 +10,13 @@ class PySphinxcontribJsmath(PythonPackage):
"""A sphinx extension which renders display math in HTML via JavaScript."""
homepage = "http://sphinx-doc.org/"
- url = "https://pypi.io/packages/source/s/sphinxcontrib-jsmath/sphinxcontrib-jsmath-1.0.1.tar.gz"
+ pypi = "sphinxcontrib-jsmath/sphinxcontrib-jsmath-1.0.1.tar.gz"
+
+ # Sphinx requires sphinxcontrib-jsmath at build-time, but
+ # sphinxcontrib-jsmath requires sphinx at run-time
+ import_modules = []
version('1.0.1', sha256='a9925e4a4587247ed2191a22df5f6970656cb8ca2bd6284309578f2153e0c4b8')
depends_on('python@3.5:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
-
- def build_test(self):
- # Requires sphinx, creating a circular dependency
- pass
diff --git a/var/spack/repos/builtin/packages/py-sphinxcontrib-mermaid/package.py b/var/spack/repos/builtin/packages/py-sphinxcontrib-mermaid/package.py
index b525971d46..464924247c 100644
--- a/var/spack/repos/builtin/packages/py-sphinxcontrib-mermaid/package.py
+++ b/var/spack/repos/builtin/packages/py-sphinxcontrib-mermaid/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,9 +12,8 @@ class PySphinxcontribMermaid(PythonPackage):
including general flowcharts, sequence and gantt diagrams."""
homepage = "https://github.com/mgaitan/sphinxcontrib-mermaid"
- url = "https://files.pythonhosted.org/packages/8e/0a/8a97b65608a63c43a99a9d6a37a5baff853f306e8506bf21ce54bb50d4f3/sphinxcontrib-mermaid-0.4.0.tar.gz"
+ pypi = "sphinxcontrib-mermaid/sphinxcontrib-mermaid-0.4.0.tar.gz"
- version('0.4.0', sha256='0ee45ba45b9575505eacdd6212e4e545213f4f93dfa32c7eeca32720dbc3b468')
- version('0.3.1', sha256='649738afc3022d25a742a928f7b4146cf6024b1d8bb49017962713d2de78123c', extension='zip')
+ version('0.4.0', sha256='0ee45ba45b9575505eacdd6212e4e545213f4f93dfa32c7eeca32720dbc3b468')
depends_on('py-sphinx@1.7:')
diff --git a/var/spack/repos/builtin/packages/py-sphinxcontrib-programoutput/package.py b/var/spack/repos/builtin/packages/py-sphinxcontrib-programoutput/package.py
index 56028f5163..a1425dd44a 100644
--- a/var/spack/repos/builtin/packages/py-sphinxcontrib-programoutput/package.py
+++ b/var/spack/repos/builtin/packages/py-sphinxcontrib-programoutput/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,10 +11,7 @@ class PySphinxcontribProgramoutput(PythonPackage):
into documents, helping you to keep your command examples up to date."""
homepage = "https://sphinxcontrib-programoutput.readthedocs.org/"
- url = "https://pypi.io/packages/source/s/sphinxcontrib-programoutput/sphinxcontrib-programoutput-0.15.tar.gz"
-
- # FIXME: These import tests don't work for some reason
- # import_modules = ['sphinxcontrib', 'sphinxcontrib.programoutput']
+ pypi = "sphinxcontrib-programoutput/sphinxcontrib-programoutput-0.15.tar.gz"
version('0.15', sha256='80dd5b4eab780a13ff2c23500cac3dbf0e04ef9976b409ef25a47c263ef8ab94')
version('0.10', sha256='fdee94fcebb0d8fddfccac5c4fa560f6177d5340c4349ee447c890bea8857094')
diff --git a/var/spack/repos/builtin/packages/py-sphinxcontrib-qthelp/package.py b/var/spack/repos/builtin/packages/py-sphinxcontrib-qthelp/package.py
index 19fd328f37..75be7ed6a2 100644
--- a/var/spack/repos/builtin/packages/py-sphinxcontrib-qthelp/package.py
+++ b/var/spack/repos/builtin/packages/py-sphinxcontrib-qthelp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,13 +11,13 @@ class PySphinxcontribQthelp(PythonPackage):
document."""
homepage = "http://sphinx-doc.org/"
- url = "https://pypi.io/packages/source/s/sphinxcontrib-qthelp/sphinxcontrib-qthelp-1.0.2.tar.gz"
+ pypi = "sphinxcontrib-qthelp/sphinxcontrib-qthelp-1.0.2.tar.gz"
+
+ # Sphinx requires sphinxcontrib-qthelp at build-time, but
+ # sphinxcontrib-qthelp requires sphinx at run-time
+ import_modules = []
version('1.0.2', sha256='79465ce11ae5694ff165becda529a600c754f4bc459778778c7017374d4d406f')
depends_on('python@3.5:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
-
- def build_test(self):
- # Requires sphinx, creating a circular dependency
- pass
diff --git a/var/spack/repos/builtin/packages/py-sphinxcontrib-serializinghtml/package.py b/var/spack/repos/builtin/packages/py-sphinxcontrib-serializinghtml/package.py
index 3bad6d661a..555f05a069 100644
--- a/var/spack/repos/builtin/packages/py-sphinxcontrib-serializinghtml/package.py
+++ b/var/spack/repos/builtin/packages/py-sphinxcontrib-serializinghtml/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,13 +11,13 @@ class PySphinxcontribSerializinghtml(PythonPackage):
"serialized" HTML files (json and pickle)."""
homepage = "http://sphinx-doc.org/"
- url = "https://pypi.io/packages/source/s/sphinxcontrib-serializinghtml/sphinxcontrib-serializinghtml-1.1.3.tar.gz"
+ pypi = "sphinxcontrib-serializinghtml/sphinxcontrib-serializinghtml-1.1.3.tar.gz"
+
+ # Sphinx requires sphinxcontrib-serializinghtml at build-time, but
+ # sphinxcontrib-serializinghtml requires sphinx at run-time
+ import_modules = []
version('1.1.3', sha256='c0efb33f8052c04fd7a26c0a07f1678e8512e0faec19f4aa8f2473a8b81d5227')
depends_on('python@3.5:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
-
- def build_test(self):
- # Requires sphinx, creating a circular dependency
- pass
diff --git a/var/spack/repos/builtin/packages/py-sphinxcontrib-trio/package.py b/var/spack/repos/builtin/packages/py-sphinxcontrib-trio/package.py
index 191907db4f..fd4aea9243 100644
--- a/var/spack/repos/builtin/packages/py-sphinxcontrib-trio/package.py
+++ b/var/spack/repos/builtin/packages/py-sphinxcontrib-trio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PySphinxcontribTrio(PythonPackage):
or ... you get the idea."""
homepage = "https://github.com/python-trio/sphinxcontrib-trio"
- url = "https://files.pythonhosted.org/packages/ca/33/ee48d86e30bb3c5d72a47f49b1ebf5c23dd253b04d8d5fc3e6c68407a03e/sphinxcontrib-trio-1.1.2.tar.gz"
+ pypi = "sphinxcontrib-trio/sphinxcontrib-trio-1.1.2.tar.gz"
version('1.1.2', sha256='9f1ba9c1d5965b534e85258d8b677dd94e9b1a9a2e918b85ccd42590596b47c0')
version('1.1.0', sha256='d90f46d239ba0556e53d9a110989f98c9eb2cea76ab47937a1f39b62f63fe654')
diff --git a/var/spack/repos/builtin/packages/py-sphinxcontrib-websupport/package.py b/var/spack/repos/builtin/packages/py-sphinxcontrib-websupport/package.py
index 1e4d1051a3..97642c20a2 100644
--- a/var/spack/repos/builtin/packages/py-sphinxcontrib-websupport/package.py
+++ b/var/spack/repos/builtin/packages/py-sphinxcontrib-websupport/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,13 +11,7 @@ class PySphinxcontribWebsupport(PythonPackage):
Sphinx documentation into your Web application."""
homepage = "http://sphinx-doc.org/"
- url = "https://pypi.io/packages/source/s/sphinxcontrib-websupport/sphinxcontrib-websupport-1.1.2.tar.gz"
-
- # FIXME: These import tests don't work for some reason
- # import_modules = [
- # 'sphinxcontrib', 'sphinxcontrib.websupport',
- # 'sphinxcontrib.websupport.storage', 'sphinxcontrib.websupport.search'
- # ]
+ pypi = "sphinxcontrib-websupport/sphinxcontrib-websupport-1.1.2.tar.gz"
version('1.1.2', sha256='1501befb0fdf1d1c29a800fdbf4ef5dc5369377300ddbdd16d2cd40e54c6eefc')
version('1.1.0', sha256='9de47f375baf1ea07cdb3436ff39d7a9c76042c10a769c52353ec46e4e8fc3b9')
@@ -25,7 +19,3 @@ class PySphinxcontribWebsupport(PythonPackage):
depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
-
- def build_test(self):
- # Unit tests require sphinx, creating a circular dependency
- pass
diff --git a/var/spack/repos/builtin/packages/py-spyder/package.py b/var/spack/repos/builtin/packages/py-spyder/package.py
index a6ee780dd6..a5ee45024a 100644
--- a/var/spack/repos/builtin/packages/py-spyder/package.py
+++ b/var/spack/repos/builtin/packages/py-spyder/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PySpyder(PythonPackage):
"""Scientific PYthon Development EnviRonment"""
homepage = "https://github.com/spyder-ide/spyder"
- url = "https://pypi.io/packages/source/s/spyder/spyder-3.1.3.tar.gz"
+ pypi = "spyder/spyder-3.1.3.tar.gz"
version('3.1.3', sha256='4978872cc5a006803bc8742d0a8fb43c49aef9524f0a9fcb8bd6dfcfdc2d2d6a')
diff --git a/var/spack/repos/builtin/packages/py-spykeutils/package.py b/var/spack/repos/builtin/packages/py-spykeutils/package.py
index bef3f0589d..941a5aa54b 100644
--- a/var/spack/repos/builtin/packages/py-spykeutils/package.py
+++ b/var/spack/repos/builtin/packages/py-spykeutils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PySpykeutils(PythonPackage):
"""Utilities for analyzing electrophysiological data"""
homepage = "https://github.com/rproepp/spykeutils"
- url = "https://pypi.io/packages/source/s/spykeutils/spykeutils-0.4.3.tar.gz"
+ pypi = "spykeutils/spykeutils-0.4.3.tar.gz"
version('0.4.3', sha256='ff6206d9116d665024109c997377bfed37d953a4cac2859b79a610f395b6b37b')
diff --git a/var/spack/repos/builtin/packages/py-sqlalchemy-utils/package.py b/var/spack/repos/builtin/packages/py-sqlalchemy-utils/package.py
index 1687054ccf..1373f1d2b4 100644
--- a/var/spack/repos/builtin/packages/py-sqlalchemy-utils/package.py
+++ b/var/spack/repos/builtin/packages/py-sqlalchemy-utils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PySqlalchemyUtils(PythonPackage):
"""Various utility functions and custom data types for SQLAlchemy."""
homepage = "https://github.com/kvesteri/sqlalchemy-utils"
- url = "https://pypi.io/packages/source/s/sqlalchemy-utils/SQLAlchemy-Utils-0.36.8.tar.gz"
+ pypi = "sqlalchemy-utils/SQLAlchemy-Utils-0.36.8.tar.gz"
version('0.36.8', sha256='fb66e9956e41340011b70b80f898fde6064ec1817af77199ee21ace71d7d6ab0')
diff --git a/var/spack/repos/builtin/packages/py-sqlalchemy/package.py b/var/spack/repos/builtin/packages/py-sqlalchemy/package.py
index b1497b6da0..b7eb45ec3b 100644
--- a/var/spack/repos/builtin/packages/py-sqlalchemy/package.py
+++ b/var/spack/repos/builtin/packages/py-sqlalchemy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PySqlalchemy(PythonPackage):
"""The Python SQL Toolkit and Object Relational Mapper"""
homepage = 'http://www.sqlalchemy.org/'
- url = "https://pypi.io/packages/source/S/SQLAlchemy/SQLAlchemy-1.3.9.tar.gz"
+ pypi = "SQLAlchemy/SQLAlchemy-1.3.9.tar.gz"
version('1.3.19', sha256='3bba2e9fbedb0511769780fe1d63007081008c5c2d7d715e91858c94dbaa260e')
version('1.3.9', sha256='272a835758908412e75e87f75dd0179a51422715c125ce42109632910526b1fd')
@@ -21,9 +21,6 @@ class PySqlalchemy(PythonPackage):
depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
- depends_on('py-pytest@2.5.2:3.9.0,3.9.3:', type='test')
- depends_on('py-mock', type='test')
- depends_on('py-pytest-xdist', type='test')
variant('backend', description='Python modules for database access',
values=any_combination_of('mysql', 'pymysql', 'postgresql'))
diff --git a/var/spack/repos/builtin/packages/py-sqlparse/package.py b/var/spack/repos/builtin/packages/py-sqlparse/package.py
index 73916d40e5..dd3fd487fb 100644
--- a/var/spack/repos/builtin/packages/py-sqlparse/package.py
+++ b/var/spack/repos/builtin/packages/py-sqlparse/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-srsly/package.py b/var/spack/repos/builtin/packages/py-srsly/package.py
index 46b1b50af0..76641befb6 100644
--- a/var/spack/repos/builtin/packages/py-srsly/package.py
+++ b/var/spack/repos/builtin/packages/py-srsly/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PySrsly(PythonPackage):
"""srsly: Modern high-performance serialization utilities for Python."""
homepage = "https://github.com/explosion/srsly"
- url = "https://pypi.io/packages/source/s/srsly/srsly-2.0.1.tar.gz"
+ pypi = "srsly/srsly-2.0.1.tar.gz"
version('2.0.1', sha256='fa3c7375be8fe75f23c27feafbfb5f738d55ffdbf02964c6896fb7684f519a52')
version('2.0.0', sha256='785b00e00406120dbef4ca82925051e6b60fe870c5f84f0d22b3632d574eb870')
@@ -19,11 +19,6 @@ class PySrsly(PythonPackage):
depends_on('py-wheel', when='@2:', type='build')
depends_on('py-cython@0.25:', when='@2:', type='build')
depends_on('py-pathlib@1.0.1', when='^python@:3.3', type=('build', 'run'))
- depends_on('py-pytest', type='test')
- depends_on('py-mock', type='test')
- depends_on('py-numpy', type='test')
- depends_on('py-six', when='@:1', type='test')
- depends_on('py-pytz', when='@:1', type='test')
# https://github.com/explosion/srsly/pull/24
patch('subprocess.patch', when='@2.0.0:2.0.1')
diff --git a/var/spack/repos/builtin/packages/py-sshtunnel/package.py b/var/spack/repos/builtin/packages/py-sshtunnel/package.py
index c9a13fa06e..9a88f6042f 100644
--- a/var/spack/repos/builtin/packages/py-sshtunnel/package.py
+++ b/var/spack/repos/builtin/packages/py-sshtunnel/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PySshtunnel(PythonPackage):
"""Pure python SSH tunnels."""
homepage = "https://github.com/pahaz/sshtunnel"
- url = "https://pypi.io/packages/source/s/sshtunnel/sshtunnel-0.1.5.tar.gz"
+ pypi = "sshtunnel/sshtunnel-0.1.5.tar.gz"
version('0.1.5', sha256='c813fdcda8e81c3936ffeac47cb69cfb2d1f5e77ad0de656c6dab56aeebd9249')
diff --git a/var/spack/repos/builtin/packages/py-statsmodels/package.py b/var/spack/repos/builtin/packages/py-statsmodels/package.py
index b00e51730b..26de5ecbe0 100644
--- a/var/spack/repos/builtin/packages/py-statsmodels/package.py
+++ b/var/spack/repos/builtin/packages/py-statsmodels/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,16 +11,18 @@ class PyStatsmodels(PythonPackage):
"""Statistical computations and models for use with SciPy"""
homepage = "http://www.statsmodels.org"
- url = "https://pypi.io/packages/source/s/statsmodels/statsmodels-0.8.0.tar.gz"
+ pypi = "statsmodels/statsmodels-0.8.0.tar.gz"
+ version('0.12.1', sha256='a271b4ccec190148dccda25f0cbdcbf871f408fc1394a10a7dc1af4a62b91c8e')
version('0.10.2', sha256='9cd2194c6642a8754e85f9a6e6912cdf996bebf6ff715d3cc67f65dadfd37cc9')
version('0.10.1', sha256='320659a80f916c2edf9dfbe83512d9004bb562b72eedb7d9374562038697fa10')
version('0.8.0', sha256='26431ab706fbae896db7870a0892743bfbb9f5c83231644692166a31d2d86048')
variant('plotting', default=False, description='With matplotlib')
- depends_on('python@:3.6', when='@:0.8.0', type=('build', 'run'))
+ depends_on('python@:3.6', when='@:0.8.0', type=('build', 'run'))
depends_on('python@2.7:2.8,3.4:', when='@0.10.1:', type=('build', 'run'))
+ depends_on('python@3.6:', when='@0.12.1:', type=('build', 'run'))
# according to http://www.statsmodels.org/dev/install.html earlier versions
# might work.
@@ -32,16 +34,22 @@ class PyStatsmodels(PythonPackage):
depends_on('py-numpy@1.7.0:', type=('build', 'run'), when='@0.8.0:')
depends_on('py-numpy@1.11.0:', type=('build', 'run'), when='@0.10.1:')
+ depends_on('py-numpy@1.15.0:', type=('build', 'run'), when='@0.12.1:')
depends_on('py-pandas@0.12:', type=('build', 'run'), when='@0.8.0:')
depends_on('py-pandas@0.19:', type=('build', 'run'), when='@0.10.1:')
+ depends_on('py-pandas@0.21:', type=('build', 'run'), when='@0.12.1:')
depends_on('py-patsy@0.2.1:', type=('build', 'run'), when='@0.8.0:')
depends_on('py-patsy@0.4.0:', type=('build', 'run'), when='@0.10.1:')
+ depends_on('py-patsy@0.5.0:', type=('build', 'run'), when='@0.12.1:')
depends_on('py-scipy@0.11:', type=('build', 'run'), when='@0.8.0:')
depends_on('py-scipy@0.18:', type=('build', 'run'), when='@0.10.1:')
+ depends_on('py-scipy@1.1:', type=('build', 'run'), when='@0.12.1:')
depends_on('py-matplotlib@1.3:', type=('build', 'run'), when='@0.8.0 +plotting')
depends_on('py-pytest', type='test')
+ @run_after('build')
+ @on_package_attributes(run_tests=True)
def build_test(self):
dirs = glob.glob("build/lib*") # There can be only one...
with working_dir(dirs[0]):
diff --git a/var/spack/repos/builtin/packages/py-stdlib-list/package.py b/var/spack/repos/builtin/packages/py-stdlib-list/package.py
index 3bbe840729..5e815aa3e6 100644
--- a/var/spack/repos/builtin/packages/py-stdlib-list/package.py
+++ b/var/spack/repos/builtin/packages/py-stdlib-list/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ class PyStdlibList(PythonPackage):
for Python, along with the code for scraping the official Python
docs to get said lists."""
- homepage = "https://pypi.python.org/project/stdlib-list"
- url = "https://pypi.io/packages/source/s/stdlib-list/stdlib-list-0.6.0.tar.gz"
+ pypi = "stdlib-list/stdlib-list-0.6.0.tar.gz"
version('0.6.0', sha256='133cc99104f5a4e1604dc88ebb393529bd4c2b99ae7e10d46c0b596f3c67c3f0')
diff --git a/var/spack/repos/builtin/packages/py-stestr/package.py b/var/spack/repos/builtin/packages/py-stestr/package.py
index fbc7259d2c..4aa5ce5ee8 100644
--- a/var/spack/repos/builtin/packages/py-stestr/package.py
+++ b/var/spack/repos/builtin/packages/py-stestr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyStestr(PythonPackage):
"""A parallel Python test runner built around subunit."""
homepage = "https://stestr.readthedocs.io/en/latest/"
- url = "https://pypi.io/packages/source/s/stestr/stestr-2.5.1.tar.gz"
+ pypi = "stestr/stestr-2.5.1.tar.gz"
version('2.5.1', sha256='151479fdf2db9f5f492b5285f4696f2d38960639054835dbdcd4c0687122c0fd')
diff --git a/var/spack/repos/builtin/packages/py-stevedore/package.py b/var/spack/repos/builtin/packages/py-stevedore/package.py
index d57b6f373b..7900375d4e 100644
--- a/var/spack/repos/builtin/packages/py-stevedore/package.py
+++ b/var/spack/repos/builtin/packages/py-stevedore/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyStevedore(PythonPackage):
"""Manage Dynamic Plugins for Python Applications."""
homepage = "https://docs.openstack.org/stevedore/latest/"
- url = "https://pypi.io/packages/source/s/stevedore/stevedore-1.28.0.tar.gz"
+ pypi = "stevedore/stevedore-1.28.0.tar.gz"
version('1.28.0', sha256='f1c7518e7b160336040fee272174f1f7b29a46febb3632502a8f2055f973d60b')
diff --git a/var/spack/repos/builtin/packages/py-stopit/package.py b/var/spack/repos/builtin/packages/py-stopit/package.py
index 5fd754d278..c766c0a139 100644
--- a/var/spack/repos/builtin/packages/py-stopit/package.py
+++ b/var/spack/repos/builtin/packages/py-stopit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,8 +12,7 @@ class PyStopit(PythonPackage):
blocks or callables with two context managers and two decorators.
"""
- homepage = "https://pypi.org/project/stopit/"
- url = "https://pypi.io/packages/source/s/stopit/stopit-1.1.2.tar.gz"
+ pypi = "stopit/stopit-1.1.2.tar.gz"
version('1.1.2', sha256='f7f39c583fd92027bd9d06127b259aee7a5b7945c1f1fa56263811e1e766996d')
diff --git a/var/spack/repos/builtin/packages/py-storm/package.py b/var/spack/repos/builtin/packages/py-storm/package.py
index 64a631b200..8361f87a90 100644
--- a/var/spack/repos/builtin/packages/py-storm/package.py
+++ b/var/spack/repos/builtin/packages/py-storm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-stratify/package.py b/var/spack/repos/builtin/packages/py-stratify/package.py
index bce0899efe..86e546545b 100644
--- a/var/spack/repos/builtin/packages/py-stratify/package.py
+++ b/var/spack/repos/builtin/packages/py-stratify/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class PyStratify(PythonPackage):
"""
homepage = "https://github.com/SciTools-incubator/python-stratify"
- url = "https://pypi.io/packages/source/s/stratify/stratify-0.1.tar.gz"
+ pypi = "stratify/stratify-0.1.tar.gz"
version('0.1', sha256='5426f3b66e45e1010952d426e5a7be42cd45fe65f1cd73a98fee1eb7c110c6ee')
diff --git a/var/spack/repos/builtin/packages/py-stsci-distutils/package.py b/var/spack/repos/builtin/packages/py-stsci-distutils/package.py
index f14a6ebd46..b8c89349b8 100644
--- a/var/spack/repos/builtin/packages/py-stsci-distutils/package.py
+++ b/var/spack/repos/builtin/packages/py-stsci-distutils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-subprocess32/package.py b/var/spack/repos/builtin/packages/py-subprocess32/package.py
index 9c362b30cf..ff277258b3 100644
--- a/var/spack/repos/builtin/packages/py-subprocess32/package.py
+++ b/var/spack/repos/builtin/packages/py-subprocess32/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PySubprocess32(PythonPackage):
"""A backport of the subprocess module from Python 3.2/3.3 for 2.x."""
- homepage = "https://pypi.python.org/pypi/subprocess32"
- url = "https://pypi.io/packages/source/s/subprocess32/subprocess32-3.2.7.tar.gz"
+ pypi = "subprocess32/subprocess32-3.2.7.tar.gz"
version('3.5.4', sha256='eb2937c80497978d181efa1b839ec2d9622cf9600a039a79d0e108d1f9aec79d')
version('3.2.7', sha256='1e450a4a4c53bf197ad6402c564b9f7a53539385918ef8f12bdf430a61036590')
diff --git a/var/spack/repos/builtin/packages/py-subrosa/package.py b/var/spack/repos/builtin/packages/py-subrosa/package.py
index 19420f3574..0120e4e831 100644
--- a/var/spack/repos/builtin/packages/py-subrosa/package.py
+++ b/var/spack/repos/builtin/packages/py-subrosa/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-svgpathtools/package.py b/var/spack/repos/builtin/packages/py-svgpathtools/package.py
index b4e23be0a7..fd394d0cb9 100644
--- a/var/spack/repos/builtin/packages/py-svgpathtools/package.py
+++ b/var/spack/repos/builtin/packages/py-svgpathtools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,8 +11,7 @@ class PySvgpathtools(PythonPackage):
"""A collection of tools for manipulating and analyzing SVG Path objects
and Bezier curves."""
- homepage = "https://pypi.org/project/svgpathtools/"
- url = "https://pypi.io/packages/source/s/svgpathtools/svgpathtools-1.3.3.tar.gz"
+ pypi = "svgpathtools/svgpathtools-1.3.3.tar.gz"
version('1.3.3', sha256='e4b3784ae41b725fbce6a33a8981210967b16d0b557cb5d98c0ed0c81f0f89b9')
diff --git a/var/spack/repos/builtin/packages/py-svgwrite/package.py b/var/spack/repos/builtin/packages/py-svgwrite/package.py
index 23373f95e5..e5ebef7780 100644
--- a/var/spack/repos/builtin/packages/py-svgwrite/package.py
+++ b/var/spack/repos/builtin/packages/py-svgwrite/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,7 @@ from spack import *
class PySvgwrite(PythonPackage):
"""A Python library to create SVG drawings."""
- homepage = "https://pypi.org/project/svgwrite/"
- url = "https://pypi.io/packages/source/s/svgwrite/svgwrite-1.1.12.zip"
+ pypi = "svgwrite/svgwrite-1.1.12.zip"
version('1.1.12', sha256='968c99f193f34f0fa7f0b3e82f49b93789c7c45cd89ce190480f16020d41ab79')
diff --git a/var/spack/repos/builtin/packages/py-symengine/package.py b/var/spack/repos/builtin/packages/py-symengine/package.py
index c9eb6078f0..7b5b4d6eda 100644
--- a/var/spack/repos/builtin/packages/py-symengine/package.py
+++ b/var/spack/repos/builtin/packages/py-symengine/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PySymengine(PythonPackage):
"""Python wrappers for SymEngine, a symbolic manipulation library."""
homepage = "https://github.com/symengine/symengine.py"
- url = "https://pypi.io/packages/source/s/symengine/symengine-0.2.0.tar.gz"
+ pypi = "symengine/symengine-0.2.0.tar.gz"
git = "https://github.com/symengine/symengine.py.git"
version('develop', branch='master')
diff --git a/var/spack/repos/builtin/packages/py-symfit/package.py b/var/spack/repos/builtin/packages/py-symfit/package.py
index 2124792628..ce89747216 100644
--- a/var/spack/repos/builtin/packages/py-symfit/package.py
+++ b/var/spack/repos/builtin/packages/py-symfit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PySymfit(PythonPackage):
"""Symbolic Fitting; fitting as it should be."""
homepage = "http://symfit.readthedocs.org"
- url = "https://pypi.io/packages/source/s/symfit/symfit-0.3.5.tar.gz"
+ pypi = "symfit/symfit-0.3.5.tar.gz"
version('0.3.5', sha256='24c66305895c590249da7e61f62f128ee1c0c43c0a8c8e33b8abd3e0931f0881')
diff --git a/var/spack/repos/builtin/packages/py-sympy/package.py b/var/spack/repos/builtin/packages/py-sympy/package.py
index 8aec875219..2e79949799 100644
--- a/var/spack/repos/builtin/packages/py-sympy/package.py
+++ b/var/spack/repos/builtin/packages/py-sympy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,8 +8,7 @@ from spack import *
class PySympy(PythonPackage):
"""SymPy is a Python library for symbolic mathematics."""
- homepage = "https://pypi.python.org/pypi/sympy"
- url = "https://pypi.io/packages/source/s/sympy/sympy-0.7.6.tar.gz"
+ pypi = "sympy/sympy-0.7.6.tar.gz"
version('1.4', sha256='71a11e5686ae7ab6cb8feb5bd2651ef4482f8fd43a7c27e645a165e4353b23e1')
version('1.3', sha256='e1319b556207a3758a0efebae14e5e52c648fc1db8975953b05fff12b6871b54')
diff --git a/var/spack/repos/builtin/packages/py-syned/package.py b/var/spack/repos/builtin/packages/py-syned/package.py
index 12c1a98343..adedb292c5 100644
--- a/var/spack/repos/builtin/packages/py-syned/package.py
+++ b/var/spack/repos/builtin/packages/py-syned/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-systemd-python/package.py b/var/spack/repos/builtin/packages/py-systemd-python/package.py
index 82a9d44870..cdb531c4b2 100644
--- a/var/spack/repos/builtin/packages/py-systemd-python/package.py
+++ b/var/spack/repos/builtin/packages/py-systemd-python/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,6 +10,6 @@ class PySystemdPython(PythonPackage):
"""Python interface for libsystemd"""
homepage = "https://github.com/systemd/python-systemd"
- url = "https://pypi.io/packages/source/s/systemd-python/systemd-python-234.tar.gz"
+ pypi = "systemd-python/systemd-python-234.tar.gz"
version('234', sha256='fd0e44bf70eadae45aadc292cb0a7eb5b0b6372cd1b391228047d33895db83e7')
diff --git a/var/spack/repos/builtin/packages/py-tables/package.py b/var/spack/repos/builtin/packages/py-tables/package.py
index 2abece3e51..4daade0be0 100644
--- a/var/spack/repos/builtin/packages/py-tables/package.py
+++ b/var/spack/repos/builtin/packages/py-tables/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,11 +11,7 @@ class PyTables(PythonPackage):
efficiently and easily cope with extremely large amounts of data."""
homepage = "http://www.pytables.org/"
- url = "https://pypi.io/packages/source/t/tables/tables-3.6.1.tar.gz"
-
- import_modules = [
- 'tables', 'tables.misc', 'tables.nodes', 'tables.scripts'
- ]
+ pypi = "tables/tables-3.6.1.tar.gz"
version('3.6.1', sha256='49a972b8a7c27a8a173aeb05f67acb45fe608b64cd8e9fa667c0962a60b71b49')
version('3.6.0', sha256='db3488214864fb313a611fca68bf1c9019afe4e7877be54d0e61c84416603d4d')
@@ -38,7 +34,6 @@ class PyTables(PythonPackage):
depends_on('py-numpy@1.9.3:', type=('build', 'run'))
depends_on('py-numexpr@2.6.2:', type=('build', 'run'))
depends_on('py-six@1.9.0:', when='@:3.5', type=('build', 'run'))
- depends_on('py-mock@2.0:', type='test')
# tables/req_versions.py
depends_on('hdf5@1.8.4:1.8.999', when='@:3.3.99')
depends_on('hdf5@1.8.4:', when='@3.4.0:')
diff --git a/var/spack/repos/builtin/packages/py-tabulate/package.py b/var/spack/repos/builtin/packages/py-tabulate/package.py
index 45cc865bbb..af5b33c314 100644
--- a/var/spack/repos/builtin/packages/py-tabulate/package.py
+++ b/var/spack/repos/builtin/packages/py-tabulate/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyTabulate(PythonPackage):
"""Pretty-print tabular data"""
homepage = "https://bitbucket.org/astanin/python-tabulate"
- url = "https://pypi.io/packages/source/t/tabulate/tabulate-0.8.6.tar.gz"
+ pypi = "tabulate/tabulate-0.8.6.tar.gz"
version('0.8.7', sha256='db2723a20d04bcda8522165c73eea7c300eda74e0ce852d9022e0159d7895007')
version('0.8.6', sha256='5470cc6687a091c7042cee89b2946d9235fe9f6d49c193a4ae2ac7bf386737c8')
diff --git a/var/spack/repos/builtin/packages/py-tap-py/package.py b/var/spack/repos/builtin/packages/py-tap-py/package.py
index a0c9c84ee6..4af1d074ea 100644
--- a/var/spack/repos/builtin/packages/py-tap-py/package.py
+++ b/var/spack/repos/builtin/packages/py-tap-py/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyTapPy(PythonPackage):
"""Python TAP interface module for unit tests"""
homepage = "https://github.com/python-tap/tappy"
- url = "https://pypi.io/packages/source/t/tap.py/tap.py-3.0.tar.gz"
+ pypi = "tap.py/tap.py-3.0.tar.gz"
version('3.0', sha256='f5eeeeebfd64e53d32661752bb4c288589a3babbb96db3f391a4ec29f1359c70')
version('2.6.2', sha256='5f219d92dbad5e378f8f7549cdfe655b0d5fd2a778f9c83bee51b61c6ca40efb')
diff --git a/var/spack/repos/builtin/packages/py-tatsu/package.py b/var/spack/repos/builtin/packages/py-tatsu/package.py
index 8b157932bf..eb831caa2a 100644
--- a/var/spack/repos/builtin/packages/py-tatsu/package.py
+++ b/var/spack/repos/builtin/packages/py-tatsu/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyTatsu(PythonPackage):
parsers in Python."""
homepage = "https://github.com/neogeny/tatsu"
- url = "https://pypi.io/packages/source/T/TatSu/TatSu-4.4.0.zip"
+ pypi = "TatSu/TatSu-4.4.0.zip"
version('4.4.0', sha256='80713413473a009f2081148d0f494884cabaf9d6866b71f2a68a92b6442f343d')
@@ -22,6 +22,5 @@ class PyTatsu(PythonPackage):
depends_on('py-setuptools', type='build')
# part of the standard lib in python@3.7.0, required in the current HEAD
depends_on('py-dataclasses@0.6:', type=('build', 'run'), when='@4.5:^python@:3.6.99')
- depends_on('py-pytest-mypy', type='test')
# optional dependency, otherwise falls back to standard implementation
depends_on('py-regex@2018.8:', type=('build', 'run'), when='+future_regex')
diff --git a/var/spack/repos/builtin/packages/py-tblib/package.py b/var/spack/repos/builtin/packages/py-tblib/package.py
index f32e292c12..45474211b3 100644
--- a/var/spack/repos/builtin/packages/py-tblib/package.py
+++ b/var/spack/repos/builtin/packages/py-tblib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyTblib(PythonPackage):
"""Traceback fiddling library. Allows you to pickle tracebacks."""
homepage = "https://github.com/ionelmc/python-tblib"
- url = "https://pypi.io/packages/source/t/tblib/tblib-1.6.0.tar.gz"
+ pypi = "tblib/tblib-1.6.0.tar.gz"
version('1.6.0', sha256='229bee3754cb5d98b4837dd5c4405e80cfab57cb9f93220410ad367f8b352344')
version('1.4.0', sha256='bd1ad564564a158ff62c290687f3db446038f9ac11a0bf6892712e3601af3bcd')
diff --git a/var/spack/repos/builtin/packages/py-tempora/package.py b/var/spack/repos/builtin/packages/py-tempora/package.py
index cb69e148ad..a065b37773 100644
--- a/var/spack/repos/builtin/packages/py-tempora/package.py
+++ b/var/spack/repos/builtin/packages/py-tempora/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyTempora(PythonPackage):
"""Objects and routines pertaining to date and time (tempora) """
homepage = "https://github.com/jaraco/tempora"
- url = "https://pypi.io/packages/source/t/tempora/tempora-1.14.1.tar.gz"
+ pypi = "tempora/tempora-1.14.1.tar.gz"
version('1.14.1', sha256='cb60b1d2b1664104e307f8e5269d7f4acdb077c82e35cd57246ae14a3427d2d6')
diff --git a/var/spack/repos/builtin/packages/py-tensorboard-plugin-wit/package.py b/var/spack/repos/builtin/packages/py-tensorboard-plugin-wit/package.py
index 53f4130e98..cc6fce343a 100644
--- a/var/spack/repos/builtin/packages/py-tensorboard-plugin-wit/package.py
+++ b/var/spack/repos/builtin/packages/py-tensorboard-plugin-wit/package.py
@@ -1,8 +1,10 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+import tempfile
+
class PyTensorboardPluginWit(Package):
"""The What-If Tool makes it easy to efficiently and
@@ -13,16 +15,17 @@ class PyTensorboardPluginWit(Package):
datapoint values. All this and more, in a visual way
that requires minimal code."""
- homepage = "https://pypi.python.org/project/tensorboard-plugin-wit"
+ homepage = "https://pypi.org/project/tensorboard-plugin-wit/"
url = "https://github.com/PAIR-code/what-if-tool/archive/v1.7.0.tar.gz"
git = "https://github.com/pair-code/what-if-tool.git"
maintainers = ['aweits']
version('master', branch='master')
+ version('1.8.0', sha256='1e4de1bbf6ae61c4d27b114ec2e1093bc4765b8c2bbb2cc5d43e2075b08a5fea')
version('1.7.0', sha256='30dcab9065b02c3f1476f4fb92b27f6feb6c00cdb281699c44d8e69c86745247')
- depends_on('bazel@0.26.1:', type='build')
+ depends_on('bazel@:2.1.0', type='build')
depends_on('py-setuptools@36.2.0:', type='build')
depends_on('python@2.7:2.8,3.2:', type=('build', 'run'))
depends_on('py-wheel', type='build')
@@ -34,9 +37,8 @@ class PyTensorboardPluginWit(Package):
phases = ['setup', 'build', 'install']
def setup_build_environment(self, env):
- tmp_path = '/tmp/spack/tb-plugin'
- mkdirp(tmp_path)
- env.set('TEST_TMPDIR', tmp_path)
+ self.tmp_path = tempfile.mkdtemp(dir='/tmp', prefix='spack')
+ env.set('TEST_TMPDIR', self.tmp_path)
def setup(self, spec, prefix):
builddir = join_path(self.stage.source_path, 'spack-build')
@@ -53,18 +55,27 @@ class PyTensorboardPluginWit(Package):
filter_file(r'virtualenv venv',
'',
'tensorboard_plugin_wit/pip_package/build_pip_package.sh')
+ filter_file('unset PYTHON_HOME',
+ 'export PYTHONPATH="{0}"'.format(env['PYTHONPATH']),
+ 'tensorboard_plugin_wit/pip_package/build_pip_package.sh')
+ filter_file('python setup.py',
+ '{0} setup.py'.format(spec['python'].command.path),
+ 'tensorboard_plugin_wit/pip_package/build_pip_package.sh')
def build(self, spec, prefix):
- tmp_path = env['TEST_TMPDIR']
bazel('--nohome_rc',
'--nosystem_rc',
- '--output_user_root=' + tmp_path,
+ '--output_user_root=' + self.tmp_path,
'run',
+ # watch https://github.com/bazelbuild/bazel/issues/7254
+ '--define=EXECUTOR=remote',
'--verbose_failures',
'--subcommands=pretty_print',
+ '--spawn_strategy=local',
'tensorboard_plugin_wit/pip_package:build_pip_package')
def install(self, spec, prefix):
with working_dir('spack-build/release'):
setup_py('install', '--prefix={0}'.format(prefix),
'--single-version-externally-managed', '--root=/')
+ remove_linked_tree(self.tmp_path)
diff --git a/var/spack/repos/builtin/packages/py-tensorboard/package.py b/var/spack/repos/builtin/packages/py-tensorboard/package.py
index 3ce199fb6f..2f043eafd1 100644
--- a/var/spack/repos/builtin/packages/py-tensorboard/package.py
+++ b/var/spack/repos/builtin/packages/py-tensorboard/package.py
@@ -1,42 +1,44 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+import tempfile
+
class PyTensorboard(Package):
"""TensorBoard is a suite of web applications for
inspecting and understanding your TensorFlow runs and
graphs."""
- homepage = "https://pypi.python.org/project/tensorboard"
+ homepage = "https://github.com/tensorflow/tensorboard"
url = "https://github.com/tensorflow/tensorboard/archive/2.2.0.tar.gz"
maintainers = ['aweits']
+ version('2.4.1', sha256='736dc204aa292d221f5871077e60994a9a9ea8e33b841f0d754d510fe6cc7635')
+ version('2.4.0', sha256='28a30794c1c797357b2086477394b59afa0b18ca48592ca3c0627f7f10536373')
version('2.3.0', sha256='947a58702c2841eb4559637dbf8639633f79de9a0f422be9737f3563a1725440')
version('2.2.0', sha256='d0dfbf0e4b3b5ebbc3fafa6d281d4b9aa5478eac6bac3330652ab6674278ab77')
depends_on('python@2.7:2.8,3.2:', type=('build', 'run'))
- depends_on('bazel@0.26.1:', type='build')
+ depends_on('bazel@2.1.0:', type='build', when='@2.2.0:')
depends_on('py-setuptools@41.0.0:', type=('build', 'run'))
depends_on('py-absl-py@0.4:', type=('build', 'run'))
depends_on('py-markdown@2.6.8:', type=('build', 'run'))
depends_on('py-requests@2.21.0:2.999', type=('build', 'run'))
depends_on('py-futures@3.1.1:', type=('build', 'run'), when='^python@:2')
- depends_on('py-grpcio@1.24.3:', type=('build', 'run'), when='@2.3.0')
- depends_on('py-grpcio@1.23.3:', type=('build', 'run'), when='@2.2.0')
+ depends_on('py-grpcio@1.24.3:', type=('build', 'run'), when='@2.3:')
+ depends_on('py-grpcio@1.23.3:', type=('build', 'run'), when='@2.2')
depends_on('py-google-auth@1.6.3:1.99.99', type=('build', 'run'))
depends_on('py-numpy@1.12.0:', type=('build', 'run'))
depends_on('py-protobuf@3.6.0:', type=('build', 'run'))
depends_on('py-six@1.10.0:', type=('build', 'run'))
depends_on('py-werkzeug@0.11.15:', type=('build', 'run'))
- depends_on('py-wheel', type='build')
- depends_on('py-wheel@0.26:', type='build', when='@0.6: ^python@3:')
+ depends_on('py-wheel', type=('build', 'run'))
+ depends_on('py-wheel@0.26:', type=('build', 'run'), when='@0.6: ^python@3:')
depends_on('py-google-auth-oauthlib@0.4.1:0.4.999', type=('build', 'run'))
depends_on('py-tensorboard-plugin-wit@1.6.0:', type=('build', 'run'), when='@2.2.0:')
- depends_on('py-tensorflow-estimator@2.2.0', type='run', when='@2.2.0')
- depends_on('py-tensorflow-estimator@2.3.0', type='run', when='@2.3.0')
extends('python')
@@ -53,9 +55,8 @@ class PyTensorboard(Package):
'.bazelrc')
def setup_build_environment(self, env):
- tmp_path = '/tmp/spack/tb'
- mkdirp(tmp_path)
- env.set('TEST_TMPDIR', tmp_path)
+ self.tmp_path = tempfile.mkdtemp(dir='/tmp', prefix='spack')
+ env.set('TEST_TMPDIR', self.tmp_path)
def configure(self, spec, prefix):
builddir = join_path(self.stage.source_path, 'spack-build')
@@ -75,13 +76,25 @@ class PyTensorboard(Package):
filter_file('trap cleanup EXIT',
'',
'tensorboard/pip_package/build_pip_package.sh')
+ filter_file('unset PYTHON_HOME',
+ 'export PYTHONPATH="{0}"'.format(env['PYTHONPATH']),
+ 'tensorboard/pip_package/build_pip_package.sh')
+ filter_file('python setup.py',
+ '{0} setup.py'.format(spec['python'].command.path),
+ 'tensorboard/pip_package/build_pip_package.sh')
+ if self.spec.satisfies('@2.4.0:'):
+ filter_file('"@npm//@polymer/polymer",',
+ '"@npm//@polymer/polymer",\n'
+ '"@npm//@types/d3",',
+ 'tensorboard/plugins/projector/vz_projector/BUILD')
def build(self, spec, prefix):
- tmp_path = env['TEST_TMPDIR']
bazel('--nohome_rc',
'--nosystem_rc',
- '--output_user_root=' + tmp_path,
+ '--output_user_root=' + self.tmp_path,
'build',
+ # watch https://github.com/bazelbuild/bazel/issues/7254
+ '--define=EXECUTOR=remote',
'--verbose_failures',
'--spawn_strategy=local',
'--subcommands=pretty_print',
@@ -91,3 +104,4 @@ class PyTensorboard(Package):
with working_dir('spack-build'):
setup_py('install', '--prefix={0}'.format(prefix),
'--single-version-externally-managed', '--root=/')
+ remove_linked_tree(self.tmp_path)
diff --git a/var/spack/repos/builtin/packages/py-tensorboardx/package.py b/var/spack/repos/builtin/packages/py-tensorboardx/package.py
index 7faba61060..5800a4c794 100644
--- a/var/spack/repos/builtin/packages/py-tensorboardx/package.py
+++ b/var/spack/repos/builtin/packages/py-tensorboardx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyTensorboardx(PythonPackage):
histogram, text, embedding, and the route of back-propagation."""
homepage = "https://github.com/lanpa/tensorboardX"
- url = "https://pypi.io/packages/source/t/tensorboardx/tensorboardX-1.8.tar.gz"
+ pypi = "tensorboardx/tensorboardX-1.8.tar.gz"
version('2.0', sha256='835d85db0aef2c6768f07c35e69a74e3dcb122d6afceaf2b8504d7d16c7209a5')
version('1.9', sha256='2505d0092e6212f04c4522eea7123e8886c4d0a0b2c406e480fa61ca3c1da7ea')
diff --git a/var/spack/repos/builtin/packages/py-tensorflow-estimator/package.py b/var/spack/repos/builtin/packages/py-tensorflow-estimator/package.py
index cf227eec27..6b79631bed 100644
--- a/var/spack/repos/builtin/packages/py-tensorflow-estimator/package.py
+++ b/var/spack/repos/builtin/packages/py-tensorflow-estimator/package.py
@@ -1,9 +1,10 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
+import tempfile
class PyTensorflowEstimator(Package):
@@ -15,6 +16,7 @@ class PyTensorflowEstimator(Package):
maintainers = ['aweits']
+ version('2.4.0', sha256='e6ea12014c3d8c89a81ace95f8f8b7c39ffcd3e4e4626709e4aee0010eefd962')
version('2.3.0', sha256='75403e7de7e8ec30ec0781ede56ed84cbe5e90daad64a9c242cd489c8fe63a17')
version('2.2.0', sha256='2d68cb6e6442e7dcbfa2e092aa25bdcb0eda420536a829b85d732854a4c85d46')
version('2.1', sha256='1d74c8181b981748976fa33ad97d3434c3cf2b7e29a0b00861365fe8329dbc4e')
@@ -23,34 +25,27 @@ class PyTensorflowEstimator(Package):
extends('python')
- depends_on('py-tensorflow@2.3.0:', when='@2.3.0')
- depends_on('py-tensorflow@2.2.0', when='@2.2.0')
- depends_on('py-tensorflow@2.1.0:2.1.999', when='@2.1')
- depends_on('py-tensorflow@2.0.0:2.0.999', when='@2.0.0')
- depends_on('py-tensorflow@1.13.1', when='@1.13.0')
-
- depends_on('py-absl-py@0.7.0:', type=('build', 'run'), when='@1.12.1,1.14:')
- depends_on('py-numpy@1.16.0:1.18', type=('build', 'run'), when='@1.13.2,1.15:')
- depends_on('py-six@1.12.0:', type=('build', 'run'), when='@2.1:')
- depends_on('py-keras-preprocessing@1.1.1:1.999', type=('build', 'run'), when='@2.3:')
+ depends_on('py-tensorflow@2.4.0:2.4.999', type=('build', 'run'), when='@2.4.0')
+ depends_on('py-tensorflow@2.3.0:2.3.999', type=('build', 'run'), when='@2.3.0')
+ depends_on('py-tensorflow@2.2.0:2.2.999', type=('build', 'run'), when='@2.2.0')
+ depends_on('py-tensorflow@2.1.0:2.1.999', type=('build', 'run'), when='@2.1')
+ depends_on('py-tensorflow@2.0.0:2.0.999', type=('build', 'run'), when='@2.0.0')
+ depends_on('py-tensorflow@1.13.1', type=('build', 'run'), when='@1.13.0')
depends_on('bazel@0.19.0:', type='build')
depends_on('py-funcsigs@1.0.2:', type=('build', 'run'))
def install(self, spec, prefix):
- tmp_path = join_path(env.get('SPACK_TMPDIR', '/tmp/spack'),
- 'tf-estimator',
- self.module.site_packages_dir[1:])
- mkdirp(tmp_path)
- env['TEST_TMPDIR'] = tmp_path
- env['HOME'] = tmp_path
+ self.tmp_path = tempfile.mkdtemp(dir='/tmp', prefix='spack')
+ env['TEST_TMPDIR'] = self.tmp_path
+ env['HOME'] = self.tmp_path
args = [
# Don't allow user or system .bazelrc to override build settings
'--nohome_rc',
'--nosystem_rc',
# Bazel does not work properly on NFS, switch to /tmp
- '--output_user_root=' + tmp_path,
+ '--output_user_root=' + self.tmp_path,
'build',
# Spack logs don't handle colored output well
'--color=no',
@@ -59,6 +54,7 @@ class PyTensorflowEstimator(Package):
'--verbose_failures',
# Show (formatted) subcommands being executed
'--subcommands=pretty_print',
+ '--spawn_strategy=local',
# Ask bazel to explain what it's up to
# Needs a filename as argument
'--explain=explainlogfile.txt',
@@ -79,3 +75,4 @@ class PyTensorflowEstimator(Package):
with working_dir(buildpath):
setup_py('install', '--prefix={0}'.format(prefix),
'--single-version-externally-managed', '--root=/')
+ remove_linked_tree(self.tmp_path)
diff --git a/var/spack/repos/builtin/packages/py-tensorflow/package.py b/var/spack/repos/builtin/packages/py-tensorflow/package.py
index a5c285fa01..73dafed353 100644
--- a/var/spack/repos/builtin/packages/py-tensorflow/package.py
+++ b/var/spack/repos/builtin/packages/py-tensorflow/package.py
@@ -1,9 +1,10 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
import sys
+import tempfile
class PyTensorflow(Package, CudaPackage):
@@ -16,17 +17,24 @@ class PyTensorflow(Package, CudaPackage):
maintainers = ['adamjstewart', 'aweits']
import_modules = ['tensorflow']
+ version('2.4.1', sha256='f681331f8fc0800883761c7709d13cda11942d4ad5ff9f44ad855e9dc78387e0')
+ version('2.4.0', sha256='26c833b7e1873936379e810a39d14700281125257ddda8cd822c89111db6f6ae')
+ version('2.3.2', sha256='21a703d2e68cd0677f6f9ce329198c24fd8203125599d791af9f1de61aadf31f')
version('2.3.1', sha256='ee534dd31a811f7a759453567257d1e643f216d8d55a25c32d2fbfff8153a1ac')
version('2.3.0', sha256='2595a5c401521f20a2734c4e5d54120996f8391f00bb62a57267d930bce95350')
+ version('2.2.2', sha256='fb4b5d26c5b983350f7ce8297b71176a86a69e91faf66e6ebb1e58538ad3bb51')
version('2.2.1', sha256='e6a28e64236d729e598dbeaa02152219e67d0ac94d6ed22438606026a02e0f88')
version('2.2.0', sha256='69cd836f87b8c53506c4f706f655d423270f5a563b76dc1cfa60fbc3184185a3')
+ version('2.1.3', sha256='cfa66cce372f486e95a42beb1aacfefdaf0092c5efaaaa92459b381fde931fb8')
version('2.1.2', sha256='3f941cda0ed12dfef5472e46f1d0238ea85da7583d73f1132d2ef050fda6e8ad')
version('2.1.1', sha256='a200bc16e4b630db3ac7225bcb6f239a76841967b0aec1d7d7bbe44dc5661318')
version('2.1.0', sha256='638e541a4981f52c69da4a311815f1e7989bf1d67a41d204511966e1daed14f7')
+ version('2.0.4', sha256='6ca3ce1255da8d655080a89db10da03f72c361d7faecc9a35e6af26ff12c06e6')
version('2.0.3', sha256='6314299a723441bd9892e5c2af182c2be7d2256e20e71026e1cb1264cb497f33')
version('2.0.2', sha256='a548742bbafd302eec51e2794d7687674a64f6b10ce1414073858cb83c0cefc2')
version('2.0.1', sha256='29197d30923b9670992ee4b9c6161f50c7452e9a4158c720746e846080ac245a')
version('2.0.0', sha256='49b5f0495cd681cbcb5296a4476853d4aea19a43bdd9f179c928a977308a0617')
+ version('1.15.5', sha256='4c4d23e311093ded2d2e287b18d7c45b07b5984ab88a1d2f91f8f13c886123db')
version('1.15.4', sha256='e18c55e771ad136f9bf3a70ea8f0e2d36662b2ba7c890f9eaf7950554557c7fa')
version('1.15.3', sha256='9ab1d92e58eb813922b040acc7622b32d73c2d8d971fe6491a06f9df4c778151')
version('1.15.2', sha256='d95d75d26a298211b5e802842e87fda5b8b14f6ad83719377b391e5fb71b8746')
@@ -93,6 +101,9 @@ class PyTensorflow(Package, CudaPackage):
extends('python')
depends_on('python@3:', type=('build', 'run'), when='@2.1:')
+ # python 3.8 support in tensorflow 2.2
+ # see tensorflow issue #33374
+ depends_on('python@:3.7', type=('build', 'run'), when='@:2.2')
# TODO: Older versions of TensorFlow don't list the viable version range,
# just the minimum version of bazel that will work. The latest version of
@@ -127,9 +138,11 @@ class PyTensorflow(Package, CudaPackage):
depends_on('py-future', type='build', when='^python@:2')
# Listed under REQUIRED_PACKAGES in tensorflow/tools/pip_package/setup.py
- depends_on('py-absl-py@0.7.0:', type=('build', 'run'), when='@1.12.1,1.14:')
- depends_on('py-absl-py@0.1.6:', type=('build', 'run'), when='@1.5:')
- depends_on('py-astunparse@1.6.3', type=('build', 'run'), when='@2.2:')
+ depends_on('py-absl-py@0.10:0.999', type=('build', 'run'), when='@2.4.0:')
+ depends_on('py-absl-py@0.7.0:', type=('build', 'run'), when='@1.12.1,1.14:2.3')
+ depends_on('py-absl-py@0.1.6:', type=('build', 'run'), when='@1.5:1.11')
+ depends_on('py-astunparse@1.6.3:1.6.999', type=('build', 'run'), when='@2.4.0:')
+ depends_on('py-astunparse@1.6.3', type=('build', 'run'), when='@2.2:2.3')
depends_on('py-astor@0.6.0:', type=('build', 'run'), when='@1.6:2.1')
depends_on('py-backports-weakref@1.0:', type=('build', 'run'), when='@1.3: ^python@:3.3')
depends_on('py-backports-weakref@1.0rc1', type=('build', 'run'), when='@1.2.0:1.2.1')
@@ -138,66 +151,76 @@ class PyTensorflow(Package, CudaPackage):
depends_on('py-gast@0.3.3', type=('build', 'run'), when='@2.2:')
depends_on('py-gast@0.2.2', type=('build', 'run'), when='@1.15:2.1')
depends_on('py-gast@0.2.0:', type=('build', 'run'), when='@1.6:1.14')
- depends_on('py-google-pasta@0.1.8:', type=('build', 'run'), when='@2.1:')
- depends_on('py-google-pasta@0.1.6:', type=('build', 'run'), when='@1.14:')
+ depends_on('py-google-pasta@0.2:0.999', type=('build', 'run'), when='@2.4.0:')
+ depends_on('py-google-pasta@0.1.8:', type=('build', 'run'), when='@2.1:2.3')
+ depends_on('py-google-pasta@0.1.6:', type=('build', 'run'), when='@1.14:2.0')
depends_on('py-google-pasta@0.1.2:', type=('build', 'run'), when='@1.12.1')
depends_on('py-h5py@2.10.0:2.10.999', type=('build', 'run'), when='@2.2:')
depends_on('py-keras-applications@1.0.8:', type=('build', 'run'), when='@1.15:2.1')
depends_on('py-keras-applications@1.0.6:', type=('build', 'run'), when='@1.12:1.14')
depends_on('py-keras-applications@1.0.5:', type=('build', 'run'), when='@1.11.0:1.11.999')
- depends_on('py-keras-preprocessing@1.1.1:1.999', type=('build', 'run'), when='@2.3:')
- depends_on('py-keras-preprocessing@1.1.0:', type=('build', 'run'), when='@2.1:')
- depends_on('py-keras-preprocessing@1.0.5:', type=('build', 'run'), when='@1.12:')
- depends_on('py-keras-preprocessing@1.0.3:', type=('build', 'run'), when='@1.11:')
+ depends_on('py-keras-preprocessing@1.1.2:1.1.999', type=('build', 'run'), when='@2.4:')
+ depends_on('py-keras-preprocessing@1.1.1:1.999', type=('build', 'run'), when='@2.3:2.3.999')
+ depends_on('py-keras-preprocessing@1.1.0:', type=('build', 'run'), when='@2.1:2.2')
+ depends_on('py-keras-preprocessing@1.0.5:', type=('build', 'run'), when='@1.12:2.0')
+ depends_on('py-keras-preprocessing@1.0.3:', type=('build', 'run'), when='@1.11:1.11.999')
# https://github.com/tensorflow/tensorflow/issues/40688
- depends_on('py-numpy@1.16.0:1.18', type=('build', 'run'), when='@1.13.2,1.15:')
+ depends_on('py-numpy@1.19.2:1.19.999', type=('build', 'run'), when='@2.4.0:')
+ depends_on('py-numpy@1.16.0:1.18', type=('build', 'run'), when='@1.13.2,1.15:2.3')
depends_on('py-numpy@1.14.5:1.18', type=('build', 'run'), when='@1.12.1,1.14.0')
depends_on('py-numpy@1.13.3:1.14.5', type=('build', 'run'), when='@1.10.0:1.10.1')
- depends_on('py-numpy@1.13.3:', type=('build', 'run'), when='@1.6:')
- depends_on('py-numpy@1.12.1:', type=('build', 'run'), when='@1.4:')
- depends_on('py-numpy@1.11.0:', type=('build', 'run'), when='@0.11:')
- depends_on('py-numpy@1.10.1:', type=('build', 'run'), when='@0.7.1: platform=darwin')
- depends_on('py-numpy@1.8.2:', type=('build', 'run'), when='@0.6:')
+ depends_on('py-numpy@1.13.3:', type=('build', 'run'), when='@1.6:1.9')
+ depends_on('py-numpy@1.12.1:', type=('build', 'run'), when='@1.4:1.5')
+ depends_on('py-numpy@1.11.0:', type=('build', 'run'), when='@0.11:1.3')
+ depends_on('py-numpy@1.10.1:', type=('build', 'run'), when='@0.7.1:0.7.999 platform=darwin')
+ depends_on('py-numpy@1.8.2:', type=('build', 'run'), when='@0.6:0.10')
depends_on('py-numpy@1.9.2:', type=('build', 'run'), when='@0.5.0')
- depends_on('py-opt-einsum@2.3.2:', type=('build', 'run'), when='@1.15:')
+ depends_on('py-opt-einsum@3.3.0:3.3.999', type=('build', 'run'), when='@2.4.0:')
+ depends_on('py-opt-einsum@2.3.2:', type=('build', 'run'), when='@1.15:2.3')
depends_on('py-protobuf@3.9.2:', type=('build', 'run'), when='@2.3:')
- depends_on('py-protobuf@3.8.0:', type=('build', 'run'), when='@2.1:')
- depends_on('py-protobuf@3.6.1:', type=('build', 'run'), when='@1.12:')
- depends_on('py-protobuf@3.6.0:', type=('build', 'run'), when='@1.10:')
- depends_on('py-protobuf@3.4.0:', type=('build', 'run'), when='@1.5:')
- depends_on('py-protobuf@3.3.0:', type=('build', 'run'), when='@1.3:')
- depends_on('py-protobuf@3.2.0:', type=('build', 'run'), when='@1.1:')
- depends_on('py-protobuf@3.1.0:', type=('build', 'run'), when='@0.12.1:')
+ depends_on('py-protobuf@3.8.0:', type=('build', 'run'), when='@2.1:2.2')
+ depends_on('py-protobuf@3.6.1:', type=('build', 'run'), when='@1.12:2.0')
+ depends_on('py-protobuf@3.6.0:', type=('build', 'run'), when='@1.10:1.11')
+ depends_on('py-protobuf@3.4.0:', type=('build', 'run'), when='@1.5:1.9')
+ depends_on('py-protobuf@3.3.0:', type=('build', 'run'), when='@1.3:1.4')
+ depends_on('py-protobuf@3.2.0:', type=('build', 'run'), when='@1.1:1.2')
+ depends_on('py-protobuf@3.1.0:', type=('build', 'run'), when='@0.12.1:1.0')
depends_on('py-protobuf@3.1.0', type=('build', 'run'), when='@0.12.0')
depends_on('py-protobuf@3.0.0', type=('build', 'run'), when='@0.11.0')
depends_on('py-protobuf@3.0.0b2', type=('build', 'run'), when='@0.7.1:0.10')
depends_on('py-protobuf@3.0.0a3', type=('build', 'run'), when='@0.6:0.7.0')
depends_on('protobuf')
+ depends_on('flatbuffers+python@1.12.0:1.12.999', type=('build', 'run'), when='@2.4.0:')
# tensorboard
# tensorflow-estimator
- depends_on('py-termcolor@1.1.0:', type=('build', 'run'), when='@1.6:')
- depends_on('py-wrapt@1.11.1:', type=('build', 'run'), when='@1.12.1,1.14:')
- depends_on('py-wheel', type=('build', 'run'), when='@0.6:')
- depends_on('py-wheel@0.26:', type=('build', 'run'), when='@0.6: ^python@3:')
+ depends_on('py-termcolor@1.1.0:1.1.999', type=('build', 'run'), when='@2.4.0:')
+ depends_on('py-termcolor@1.1.0:', type=('build', 'run'), when='@1.6:2.3')
+ depends_on('py-wrapt@1.12.1:1.12.999', type=('build', 'run'), when='@2.4.0:')
+ depends_on('py-wrapt@1.11.1:', type=('build', 'run'), when='@1.12.1,1.14:2.3')
+ depends_on('py-wheel', type=('build', 'run'), when='@0.6:2.3')
+ depends_on('py-wheel@0.26:', type=('build', 'run'), when='@0.6:2.3 ^python@3:')
+ depends_on('py-wheel@0.35:0.999', type=('build', 'run'), when='@2.4.0: ^python@3:')
depends_on('py-mock@2.0.0:', type=('build', 'run'), when='@0.10: ^python@:2')
depends_on('py-functools32@3.2.3:', type=('build', 'run'), when='@1.15: ^python@:2')
- depends_on('py-six@1.12.0:', type=('build', 'run'), when='@2.1:')
+ depends_on('py-six@1.15.0:1.15.999', type=('build', 'run'), when='@2.4.0:')
+ depends_on('py-six@1.12.0:', type=('build', 'run'), when='@2.1:2.3')
depends_on('py-six@1.10.0:', type=('build', 'run'), when='@:2.0')
depends_on('py-scipy@1.2.2', type=('build', 'run'), when='@2.1.0:2.1.1,2.2.0,2.3.0 ^python@:2')
depends_on('py-scipy@1.4.1', type=('build', 'run'), when='@2.1.0:2.1.1,2.2.0,2.3.0 ^python@3:')
depends_on('py-grpcio@1.8.6:', type=('build', 'run'), when='@1.6:1.7')
+ depends_on('py-typing-extensions@3.7.4:3.7.999', type=('build', 'run'), when='@2.4.0:')
if sys.byteorder == 'little':
# Only builds correctly on little-endian machines
- depends_on('py-grpcio@1.8.6:', type=('build', 'run'), when='@1.8:')
-
- # Listed under TEST_PACKAGES in tensorflow/tools/pip_package/setup.py
- depends_on('py-scipy@0.15.1:', type='test')
+ depends_on('py-grpcio@1.8.6:', type=('build', 'run'), when='@1.8:2.3')
+ depends_on('py-grpcio@1.32.0:1.32.999', type=('build', 'run'), when='@2.4:')
# TODO: add packages for some of these dependencies
depends_on('mkl', when='+mkl')
depends_on('curl', when='+gcp')
# depends_on('computecpp', when='+opencl+computecpp')
# depends_on('trisycl', when='+opencl~computepp')
+ depends_on('cuda@:10.2', when='+cuda @:2.3')
+ depends_on('cuda@:11.1', when='+cuda @2.4.0:')
depends_on('cudnn', when='+cuda')
depends_on('cudnn@6.5', when='@0.5:0.6 +cuda')
# depends_on('tensorrt', when='+tensorrt')
@@ -260,7 +283,7 @@ class PyTensorflow(Package, CudaPackage):
# "Remove contrib cloud bigtable and storage ops/kernels."
# Allows 2.0.* releases to build with '--config=nogcp'
patch('0001-Remove-contrib-cloud-bigtable-and-storage-ops-kernel.patch',
- when='@2.0.0:2.0.1')
+ when='@2.0.0:2.0.999')
# for fcc
patch('1-1_fcc_tf_patch.patch', when='@2.1.0:2.1.99%fj')
@@ -523,8 +546,7 @@ class PyTensorflow(Package, CudaPackage):
# ])
# to not be nfs. This is only valid for Linux and we'd like to
# stay at least also OSX compatible
- tmp_path = '/tmp/spack/tf'
- mkdirp(tmp_path)
+ tmp_path = tempfile.mkdtemp(dir='/tmp', prefix='spack')
env.set('TEST_TMPDIR', tmp_path)
env.set('TF_SYSTEM_LIBS', 'com_google_protobuf')
@@ -533,11 +555,24 @@ class PyTensorflow(Package, CudaPackage):
env.set('INCLUDEDIR', spec['protobuf'].prefix.include)
def patch(self):
- if self.spec.satisfies('@2.3.0:2.3.1'):
+ if self.spec.satisfies('@2.3.0:'):
filter_file('deps = protodeps + well_known_proto_libs(),',
'deps = protodeps,',
'tensorflow/core/platform/default/build_config.bzl',
string=True)
+ if self.spec.satisfies('@2.4.0:'):
+ text = '''
+def protobuf_deps():
+ pass
+'''
+ with open('third_party/systemlibs/protobuf_deps.bzl', 'w') as f:
+ f.write(text)
+ filter_file(
+ '"//third_party/systemlibs:protobuf.bzl": "protobuf.bzl",',
+ '"//third_party/systemlibs:protobuf.bzl": "protobuf.bzl",\n'
+ '"//third_party/systemlibs:protobuf_deps.bzl": "protobuf_deps.bzl",', # noqa: E501
+ 'tensorflow/workspace.bzl',
+ string=True)
def configure(self, spec, prefix):
# NOTE: configure script is interactive. If you set the appropriate
@@ -633,7 +668,7 @@ class PyTensorflow(Package, CudaPackage):
'.tf_configure.bazelrc')
# see tensorflow issue #31187 on github
- if spec.satisfies('@2.0.0:2.0.1'):
+ if spec.satisfies('@2.0.0:2.0.999'):
filter_file(r'\#define RUY_DONOTUSEDIRECTLY_AVX512 1',
'#define RUY_DONOTUSEDIRECTLY_AVX512 0',
'tensorflow/lite/experimental/ruy/platform.h')
@@ -679,11 +714,14 @@ class PyTensorflow(Package, CudaPackage):
# Ask bazel to explain what it's up to
# Needs a filename as argument
'--explain=explainlogfile.txt',
- '--incompatible_no_support_tools_in_action_inputs=false',
# Increase verbosity of explanation,
'--verbose_explanations',
]
+ if spec.satisfies('^bazel@:3.5'):
+ # removed in bazel 3.6
+ args.append('--incompatible_no_support_tools_in_action_inputs=false')
+
# See .bazelrc for when each config flag is supported
if spec.satisfies('@1.12.1:'):
if '+mkl' in spec:
@@ -743,15 +781,21 @@ class PyTensorflow(Package, CudaPackage):
build_pip_package('--src', buildpath)
def install(self, spec, prefix):
+ tmp_path = env['TEST_TMPDIR']
buildpath = join_path(self.stage.source_path, 'spack-build')
with working_dir(buildpath):
setup_py('install', '--prefix={0}'.format(prefix),
'--single-version-externally-managed', '--root=/')
-
- @run_after('install')
- @on_package_attributes(run_tests=True)
- def import_module_test(self):
- with working_dir('spack-test', create=True):
- for module in self.import_modules:
- python('-c', 'import {0}'.format(module))
+ remove_linked_tree(tmp_path)
+
+ def test(self):
+ """Attempts to import modules of the installed package."""
+
+ # Make sure we are importing the installed modules,
+ # not the ones in the source directory
+ for module in self.import_modules:
+ self.run_test(self.spec['python'].command.path,
+ ['-c', 'import {0}'.format(module)],
+ purpose='checking import of {0}'.format(module),
+ work_dir='spack-test')
diff --git a/var/spack/repos/builtin/packages/py-termcolor/package.py b/var/spack/repos/builtin/packages/py-termcolor/package.py
index f6319e6dac..9bd6d5c0d6 100644
--- a/var/spack/repos/builtin/packages/py-termcolor/package.py
+++ b/var/spack/repos/builtin/packages/py-termcolor/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,6 @@ from spack import *
class PyTermcolor(PythonPackage):
"""ANSII Color formatting for output in terminal."""
- homepage = "https://pypi.org/project/termcolor/"
- url = "https://pypi.io/packages/source/t/termcolor/termcolor-1.1.0.tar.gz"
+ pypi = "termcolor/termcolor-1.1.0.tar.gz"
version('1.1.0', sha256='1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b')
diff --git a/var/spack/repos/builtin/packages/py-terminado/package.py b/var/spack/repos/builtin/packages/py-terminado/package.py
index dc43118738..0e7c5c605b 100644
--- a/var/spack/repos/builtin/packages/py-terminado/package.py
+++ b/var/spack/repos/builtin/packages/py-terminado/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,8 +7,7 @@
class PyTerminado(PythonPackage):
"""Terminals served to term.js using Tornado websockets"""
- homepage = "https://pypi.python.org/pypi/terminado"
- url = "https://pypi.io/packages/source/t/terminado/terminado-0.8.3.tar.gz"
+ pypi = "terminado/terminado-0.8.3.tar.gz"
version('0.8.3', sha256='4804a774f802306a7d9af7322193c5390f1da0abb429e082a10ef1d46e6fb2c2')
version('0.8.2', sha256='de08e141f83c3a0798b050ecb097ab6259c3f0331b2f7b7750c9075ced2c20c2')
diff --git a/var/spack/repos/builtin/packages/py-testfixtures/package.py b/var/spack/repos/builtin/packages/py-testfixtures/package.py
new file mode 100644
index 0000000000..db69ebb6e8
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-testfixtures/package.py
@@ -0,0 +1,18 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyTestfixtures(PythonPackage):
+ """Testfixtures is a collection of helpers and mock objects that are useful
+ when writing automated tests in Python."""
+
+ homepage = "https://github.com/Simplistix/testfixtures"
+ url = "https://github.com/Simplistix/testfixtures/archive/6.16.0.zip"
+
+ version('6.16.0', sha256='6b5bbca4f7d5692ca4566c60c0383b121d9f1cfecbc3de8442c499a63c264eb8')
+
+ depends_on('py-setuptools', type='build')
diff --git a/var/spack/repos/builtin/packages/py-testinfra/package.py b/var/spack/repos/builtin/packages/py-testinfra/package.py
index 40e7cd440c..ffee23c864 100644
--- a/var/spack/repos/builtin/packages/py-testinfra/package.py
+++ b/var/spack/repos/builtin/packages/py-testinfra/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyTestinfra(PythonPackage):
Chef and so on."""
homepage = "https://testinfra.readthedocs.io"
- url = "https://pypi.io/packages/source/t/testinfra/testinfra-1.11.1.tar.gz"
+ pypi = "testinfra/testinfra-1.11.1.tar.gz"
version('1.18.0', sha256='4a0a70355b007729d78446c86bffd80bcea4ffe9adc9571f9c9779476c49153d')
version('1.13.0', sha256='b5afa23d71ee49ad81aed104e4a0f1c02819ef791291cd308fe27aa7f3d3b01f')
diff --git a/var/spack/repos/builtin/packages/py-testpath/package.py b/var/spack/repos/builtin/packages/py-testpath/package.py
index 717f63dc6b..f5f8cd4a3a 100644
--- a/var/spack/repos/builtin/packages/py-testpath/package.py
+++ b/var/spack/repos/builtin/packages/py-testpath/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,6 +11,6 @@ class PyTestpath(PythonPackage):
files and commands."""
homepage = "https://github.com/jupyter/testpath"
- url = "https://pypi.io/packages/source/t/testpath/testpath-0.4.2.tar.gz"
+ pypi = "testpath/testpath-0.4.2.tar.gz"
version('0.4.2', sha256='b694b3d9288dbd81685c5d2e7140b81365d46c29f5db4bc659de5aa6b98780f8')
diff --git a/var/spack/repos/builtin/packages/py-testrepository/package.py b/var/spack/repos/builtin/packages/py-testrepository/package.py
index 881191bc3f..c8d7806b0a 100644
--- a/var/spack/repos/builtin/packages/py-testrepository/package.py
+++ b/var/spack/repos/builtin/packages/py-testrepository/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,15 +10,7 @@ class PyTestrepository(PythonPackage):
"""A repository of test results."""
homepage = "https://launchpad.net/testrepository"
- url = "https://pypi.io/packages/source/t/testrepository/testrepository-0.0.20.tar.gz"
-
- import_modules = [
- 'testrepository', 'testrepository.arguments',
- 'testrepository.commands', 'testrepository.repository',
- 'testrepository.tests', 'testrepository.tests.arguments',
- 'testrepository.tests.commands', 'testrepository.tests.repository',
- 'testrepository.tests.ui', 'testrepository.ui',
- ]
+ pypi = "testrepository/testrepository-0.0.20.tar.gz"
version('0.0.20', sha256='752449bc98c20253ec4611c40564aea93d435a5bf3ff672208e01cc10e5858eb')
diff --git a/var/spack/repos/builtin/packages/py-testresources/package.py b/var/spack/repos/builtin/packages/py-testresources/package.py
index 4468655863..563f62087b 100644
--- a/var/spack/repos/builtin/packages/py-testresources/package.py
+++ b/var/spack/repos/builtin/packages/py-testresources/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyTestresources(PythonPackage):
"""
homepage = "https://launchpad.net/testresources"
- url = "https://pypi.io/packages/source/t/testresources/testresources-2.0.1.tar.gz"
+ pypi = "testresources/testresources-2.0.1.tar.gz"
version('2.0.1', sha256='ee9d1982154a1e212d4e4bac6b610800bfb558e4fb853572a827bc14a96e4417')
diff --git a/var/spack/repos/builtin/packages/py-testscenarios/package.py b/var/spack/repos/builtin/packages/py-testscenarios/package.py
index 0dc8a07d46..a528aea218 100644
--- a/var/spack/repos/builtin/packages/py-testscenarios/package.py
+++ b/var/spack/repos/builtin/packages/py-testscenarios/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyTestscenarios(PythonPackage):
"""Testscenarios, a pyunit extension for dependency injection"""
homepage = "https://launchpad.net/testscenarios"
- url = "https://pypi.io/packages/source/t/testscenarios/testscenarios-0.5.0.tar.gz"
+ pypi = "testscenarios/testscenarios-0.5.0.tar.gz"
version('0.5.0', sha256='c257cb6b90ea7e6f8fef3158121d430543412c9a87df30b5dde6ec8b9b57a2b6')
diff --git a/var/spack/repos/builtin/packages/py-testtools/package.py b/var/spack/repos/builtin/packages/py-testtools/package.py
index 11a59423ec..161f61ab08 100644
--- a/var/spack/repos/builtin/packages/py-testtools/package.py
+++ b/var/spack/repos/builtin/packages/py-testtools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyTesttools(PythonPackage):
"""Extensions to the Python standard library unit testing framework."""
homepage = "https://github.com/testing-cabal/testtools"
- url = "https://pypi.io/packages/source/t/testtools/testtools-2.3.0.tar.gz"
+ pypi = "testtools/testtools-2.3.0.tar.gz"
version('2.3.0', sha256='5827ec6cf8233e0f29f51025addd713ca010061204fdea77484a2934690a0559')
diff --git a/var/spack/repos/builtin/packages/py-tetoolkit/package.py b/var/spack/repos/builtin/packages/py-tetoolkit/package.py
index de755e15f3..c2c236d256 100644
--- a/var/spack/repos/builtin/packages/py-tetoolkit/package.py
+++ b/var/spack/repos/builtin/packages/py-tetoolkit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class PyTetoolkit(PythonPackage):
experiments."""
homepage = "http://hammelllab.labsites.cshl.edu/software"
- url = "https://pypi.io/packages/source/T/TEToolkit/TEToolkit-1.5.1.tar.gz"
+ pypi = "TEToolkit/TEToolkit-1.5.1.tar.gz"
version('2.0.3', sha256='1d0f5928b30c6cd9dbef8e092ae0c11e9e707faf92a19af8eed3e360da7d4e46')
version('1.5.1', sha256='22c13ca45bccc89e9d9bf48d59ae6db1fa4c634def64fc56ba9bffd23aa689ac')
diff --git a/var/spack/repos/builtin/packages/py-text-unidecode/package.py b/var/spack/repos/builtin/packages/py-text-unidecode/package.py
index 768b8a3dd8..c665919190 100644
--- a/var/spack/repos/builtin/packages/py-text-unidecode/package.py
+++ b/var/spack/repos/builtin/packages/py-text-unidecode/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyTextUnidecode(PythonPackage):
library."""
homepage = "https://github.com/kmike/text-unidecode/"
- url = "https://pypi.io/packages/source/t/text-unidecode/text-unidecode-1.3.tar.gz"
+ pypi = "text-unidecode/text-unidecode-1.3.tar.gz"
version('1.3', sha256='bad6603bb14d279193107714b288be206cac565dfa49aa5b105294dd5c4aab93')
diff --git a/var/spack/repos/builtin/packages/py-textblob/package.py b/var/spack/repos/builtin/packages/py-textblob/package.py
index 57784919e6..ead172d44d 100644
--- a/var/spack/repos/builtin/packages/py-textblob/package.py
+++ b/var/spack/repos/builtin/packages/py-textblob/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-texttable/package.py b/var/spack/repos/builtin/packages/py-texttable/package.py
index 1aec6a03f6..61a442f888 100644
--- a/var/spack/repos/builtin/packages/py-texttable/package.py
+++ b/var/spack/repos/builtin/packages/py-texttable/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyTexttable(PythonPackage):
"""Python module for creating simple ASCII tables."""
homepage = "https://github.com/foutaise/texttable/"
- url = "https://pypi.io/packages/source/t/texttable/texttable-1.6.1.tar.gz"
+ pypi = "texttable/texttable-1.6.1.tar.gz"
version('1.6.1', sha256='2b60a5304ccfbeac80ffae7350d7c2f5d7a24e9aab5036d0f82489746419d9b2')
diff --git a/var/spack/repos/builtin/packages/py-tfdlpack/package.py b/var/spack/repos/builtin/packages/py-tfdlpack/package.py
index 678cc2d6db..ce0771a5f4 100644
--- a/var/spack/repos/builtin/packages/py-tfdlpack/package.py
+++ b/var/spack/repos/builtin/packages/py-tfdlpack/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-theano/package.py b/var/spack/repos/builtin/packages/py-theano/package.py
index c7c95fd0e3..5041acaa62 100644
--- a/var/spack/repos/builtin/packages/py-theano/package.py
+++ b/var/spack/repos/builtin/packages/py-theano/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyTheano(PythonPackage, CudaPackage):
and GPUs."""
homepage = "http://deeplearning.net/software/theano/"
- url = "https://pypi.io/packages/source/T/Theano/Theano-0.8.2.tar.gz"
+ pypi = "Theano/Theano-0.8.2.tar.gz"
git = "https://github.com/Theano/Theano.git"
version('master', branch='master')
@@ -33,7 +33,3 @@ class PyTheano(PythonPackage, CudaPackage):
depends_on('cudnn', when='+cuda')
depends_on('py-pygpu', when='+cuda', type=('build', 'run'))
depends_on('libgpuarray', when='+cuda')
-
- depends_on('py-nose@1.3.0:', type='test')
- depends_on('py-parameterized', type='test')
- depends_on('py-flake8', type='test')
diff --git a/var/spack/repos/builtin/packages/py-thinc/package.py b/var/spack/repos/builtin/packages/py-thinc/package.py
index 8976478000..051833128b 100644
--- a/var/spack/repos/builtin/packages/py-thinc/package.py
+++ b/var/spack/repos/builtin/packages/py-thinc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyThinc(PythonPackage):
"""Thinc: Practical Machine Learning for NLP in Python."""
homepage = "https://github.com/explosion/thinc"
- url = "https://pypi.io/packages/source/t/thinc/thinc-7.4.1.tar.gz"
+ pypi = "thinc/thinc-7.4.1.tar.gz"
version('7.4.1', sha256='0139fa84dc9b8d88af15e648fc4ae13d899b8b5e49cb26a8f4a0604ee9ad8a9e')
version('7.4.0', sha256='523e9be1bfaa3ed1d03d406ce451b6b4793a9719d5b83d2ea6b3398b96bc58b8')
@@ -25,6 +25,3 @@ class PyThinc(PythonPackage):
depends_on('py-plac@0.9.6:1.1', type=('build', 'run'))
depends_on('py-tqdm@4.10:4.999', type=('build', 'run'))
depends_on('py-pathlib@1.0.1', when='^python@:3.3', type=('build', 'run'))
- depends_on('py-pytest', type='test')
- depends_on('py-mock', type='test')
- depends_on('py-hypothesis', type='test')
diff --git a/var/spack/repos/builtin/packages/py-thirdorder/package.py b/var/spack/repos/builtin/packages/py-thirdorder/package.py
index 66b01f0d88..e54747b2c8 100644
--- a/var/spack/repos/builtin/packages/py-thirdorder/package.py
+++ b/var/spack/repos/builtin/packages/py-thirdorder/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-threadpoolctl/package.py b/var/spack/repos/builtin/packages/py-threadpoolctl/package.py
index f28c9a37b5..3f93c470a9 100644
--- a/var/spack/repos/builtin/packages/py-threadpoolctl/package.py
+++ b/var/spack/repos/builtin/packages/py-threadpoolctl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,9 +10,7 @@ class PyThreadpoolctl(PythonPackage):
computing and data science (e.g. BLAS and OpenMP)."""
homepage = "https://github.com/joblib/threadpoolctl"
- url = "https://pypi.io/packages/source/t/threadpoolctl/threadpoolctl-2.0.0.tar.gz"
-
- import_modules = ['threadpoolctl']
+ pypi = "threadpoolctl/threadpoolctl-2.0.0.tar.gz"
version('2.0.0', sha256='48b3e3e9ee079d6b5295c65cbe255b36a3026afc6dde3fb49c085cd0c004bbcf')
diff --git a/var/spack/repos/builtin/packages/py-tifffile/package.py b/var/spack/repos/builtin/packages/py-tifffile/package.py
index 905718ec89..fdbfd27233 100644
--- a/var/spack/repos/builtin/packages/py-tifffile/package.py
+++ b/var/spack/repos/builtin/packages/py-tifffile/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,9 +10,7 @@ class PyTifffile(PythonPackage):
"""Read and write image data from and to TIFF files."""
homepage = "https://github.com/blink1073/tifffile"
- url = "https://pypi.io/packages/source/t/tifffile/tifffile-0.12.1.tar.gz"
-
- import_modules = ['tifffile']
+ pypi = "tifffile/tifffile-0.12.1.tar.gz"
version('2020.10.1', sha256='799feeccc91965b69e1288c51a1d1118faec7f40b2eb89ad2979591b85324830')
version('0.12.1', sha256='802367effe86b0d1e64cb5c2ed886771f677fa63260b945e51a27acccdc08fa1')
diff --git a/var/spack/repos/builtin/packages/py-tinyarray/package.py b/var/spack/repos/builtin/packages/py-tinyarray/package.py
index 6c6bb9b154..00a1cb01af 100644
--- a/var/spack/repos/builtin/packages/py-tinyarray/package.py
+++ b/var/spack/repos/builtin/packages/py-tinyarray/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-tokenizers/package.py b/var/spack/repos/builtin/packages/py-tokenizers/package.py
index 20de8c9141..5242d2ac97 100644
--- a/var/spack/repos/builtin/packages/py-tokenizers/package.py
+++ b/var/spack/repos/builtin/packages/py-tokenizers/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyTokenizers(PythonPackage):
"""Fast and Customizable Tokenizers."""
homepage = "https://github.com/huggingface/tokenizers"
- url = "https://pypi.io/packages/source/t/tokenizers/tokenizers-0.6.0.tar.gz"
+ pypi = "tokenizers/tokenizers-0.6.0.tar.gz"
version('0.6.0', sha256='1da11fbfb4f73be695bed0d655576097d09a137a16dceab2f66399716afaffac')
version('0.5.2', sha256='b5a235f9c71d04d4925df6c4fa13b13f1d03f9b7ac302b89f8120790c4f742bc')
diff --git a/var/spack/repos/builtin/packages/py-toml/package.py b/var/spack/repos/builtin/packages/py-toml/package.py
index baccd323ef..3e75d2d946 100644
--- a/var/spack/repos/builtin/packages/py-toml/package.py
+++ b/var/spack/repos/builtin/packages/py-toml/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,12 +12,11 @@ class PyToml(PythonPackage):
https://github.com/toml-lang/toml.git"""
homepage = "https://github.com/uiri/toml.git"
- url = "https://github.com/uiri/toml/archive/0.9.3.tar.gz"
+ url = "https://github.com/uiri/toml/archive/0.10.2.tar.gz"
+ version('0.10.2', sha256='71d4039bbdec91e3e7591ec5d6c943c58f9a2d17e5f6783acdc378f743fcdd2a')
version('0.10.0', sha256='c3821b94be15da61d631bfff45b5c58074f01149792182e68f8690829cabfcf6')
version('0.9.3', sha256='633a90ecb1f5665b58f0c94153fcf519313ef53e1de0eac90929cd6b6a014235')
depends_on('py-setuptools', type='build')
depends_on('python@2.6:2.8,3.3:', type=('build', 'run'))
-
- phases = ['build', 'check', 'install']
diff --git a/var/spack/repos/builtin/packages/py-tomlkit/package.py b/var/spack/repos/builtin/packages/py-tomlkit/package.py
index c534d7521c..b5614bb648 100644
--- a/var/spack/repos/builtin/packages/py-tomlkit/package.py
+++ b/var/spack/repos/builtin/packages/py-tomlkit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyTomlkit(PythonPackage):
"""Style preserving TOML library"""
homepage = "https://github.com/sdispater/tomlkit"
- url = "https://pypi.io/packages/source/t/tomlkit/tomlkit-0.7.0.tar.gz"
+ pypi = "tomlkit/tomlkit-0.7.0.tar.gz"
version('0.7.0', sha256='ac57f29693fab3e309ea789252fcce3061e19110085aa31af5446ca749325618')
diff --git a/var/spack/repos/builtin/packages/py-tomopy/package.py b/var/spack/repos/builtin/packages/py-tomopy/package.py
index 0b7f814775..421265ed6b 100644
--- a/var/spack/repos/builtin/packages/py-tomopy/package.py
+++ b/var/spack/repos/builtin/packages/py-tomopy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,11 +14,6 @@ class PyTomopy(PythonPackage):
homepage = "http://tomopy.readthedocs.io/en/latest/index.html"
url = "https://github.com/tomopy/tomopy/archive/1.0.0.tar.gz"
- import_modules = [
- 'tomopy', 'doc', 'tomopy.util', 'tomopy.sim', 'tomopy.recon',
- 'tomopy.prep', 'tomopy.misc', 'tomopy.io', 'doc.demo'
- ]
-
version('1.0.0', sha256='ee45f7a062e5a66d6f18a904d2e204e48d85a1ce1464156f9e2f6353057dfe4c')
depends_on('py-setuptools', type='build')
diff --git a/var/spack/repos/builtin/packages/py-toolz/package.py b/var/spack/repos/builtin/packages/py-toolz/package.py
index 058d1a9283..fe8dbe03a2 100644
--- a/var/spack/repos/builtin/packages/py-toolz/package.py
+++ b/var/spack/repos/builtin/packages/py-toolz/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,9 +10,7 @@ class PyToolz(PythonPackage):
"""A set of utility functions for iterators, functions, and dictionaries"""
homepage = "http://github.com/pytoolz/toolz/"
- url = "https://pypi.io/packages/source/t/toolz/toolz-0.9.0.tar.gz"
-
- import_modules = ['toolz', 'tlz', 'toolz.curried', 'toolz.sandbox']
+ pypi = "toolz/toolz-0.9.0.tar.gz"
version('0.9.0', sha256='929f0a7ea7f61c178bd951bdae93920515d3fbdbafc8e6caf82d752b9b3b31c9')
diff --git a/var/spack/repos/builtin/packages/py-torch-cluster/package.py b/var/spack/repos/builtin/packages/py-torch-cluster/package.py
index 4d59fce476..29b9773f54 100644
--- a/var/spack/repos/builtin/packages/py-torch-cluster/package.py
+++ b/var/spack/repos/builtin/packages/py-torch-cluster/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-torch-geometric/package.py b/var/spack/repos/builtin/packages/py-torch-geometric/package.py
index a8fc7ed366..ebb6e56769 100644
--- a/var/spack/repos/builtin/packages/py-torch-geometric/package.py
+++ b/var/spack/repos/builtin/packages/py-torch-geometric/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-torch-nvidia-apex/package.py b/var/spack/repos/builtin/packages/py-torch-nvidia-apex/package.py
index 1ba461b5fb..af6666b6c8 100644
--- a/var/spack/repos/builtin/packages/py-torch-nvidia-apex/package.py
+++ b/var/spack/repos/builtin/packages/py-torch-nvidia-apex/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-torch-scatter/package.py b/var/spack/repos/builtin/packages/py-torch-scatter/package.py
index 7950abb7b9..b2c84d4969 100644
--- a/var/spack/repos/builtin/packages/py-torch-scatter/package.py
+++ b/var/spack/repos/builtin/packages/py-torch-scatter/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-torch-sparse/package.py b/var/spack/repos/builtin/packages/py-torch-sparse/package.py
index 4c16b1d8a7..32d390315d 100644
--- a/var/spack/repos/builtin/packages/py-torch-sparse/package.py
+++ b/var/spack/repos/builtin/packages/py-torch-sparse/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-torch-spline-conv/package.py b/var/spack/repos/builtin/packages/py-torch-spline-conv/package.py
index 5806f3e958..ad3489686d 100644
--- a/var/spack/repos/builtin/packages/py-torch-spline-conv/package.py
+++ b/var/spack/repos/builtin/packages/py-torch-spline-conv/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-torch/package.py b/var/spack/repos/builtin/packages/py-torch/package.py
index 41393899e3..afc89b6f8c 100644
--- a/var/spack/repos/builtin/packages/py-torch/package.py
+++ b/var/spack/repos/builtin/packages/py-torch/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,44 +13,14 @@ class PyTorch(PythonPackage, CudaPackage):
homepage = "https://pytorch.org/"
git = "https://github.com/pytorch/pytorch.git"
- install_time_test_callbacks = ['install_test', 'import_module_test']
maintainers = ['adamjstewart']
- import_modules = [
- 'tools', 'caffe2', 'torch', 'tools.cwrap', 'tools.autograd',
- 'tools.setup_helpers', 'tools.shared', 'tools.jit', 'tools.pyi',
- 'tools.nnwrap', 'tools.cwrap.plugins', 'caffe2.core', 'caffe2.proto',
- 'caffe2.python', 'caffe2.distributed', 'caffe2.perfkernels',
- 'caffe2.experiments', 'caffe2.contrib', 'caffe2.quantization',
- 'caffe2.core.nomnigraph', 'caffe2.python.ideep', 'caffe2.python.mint',
- 'caffe2.python.layers', 'caffe2.python.onnx', 'caffe2.python.trt',
- 'caffe2.python.models', 'caffe2.python.docs', 'caffe2.python.modeling',
- 'caffe2.python.mkl', 'caffe2.python.examples',
- 'caffe2.python.predictor', 'caffe2.python.helpers',
- 'caffe2.python.rnn', 'caffe2.python.onnx.bin',
- 'caffe2.python.models.seq2seq', 'caffe2.experiments.python',
- 'caffe2.contrib.nnpack', 'caffe2.contrib.warpctc',
- 'caffe2.contrib.nccl', 'caffe2.contrib.playground',
- 'caffe2.contrib.gloo', 'caffe2.contrib.script', 'caffe2.contrib.prof',
- 'caffe2.contrib.tensorboard', 'caffe2.contrib.aten',
- 'caffe2.contrib.playground.resnetdemo',
- 'caffe2.contrib.script.examples', 'caffe2.contrib.aten.docs',
- 'caffe2.quantization.server', 'torch.nn', 'torch.onnx',
- 'torch.distributed', 'torch.autograd', 'torch.multiprocessing',
- 'torch.cuda', 'torch.backends', 'torch.optim', 'torch.utils',
- 'torch.contrib', 'torch.jit', 'torch.sparse',
- 'torch.for_onnx', 'torch._thnn', 'torch.distributions',
- 'torch.nn.parallel', 'torch.nn._functions', 'torch.nn.backends',
- 'torch.nn.utils', 'torch.nn.modules', 'torch.nn.parallel.deprecated',
- 'torch.nn._functions.thnn', 'torch.distributed.deprecated',
- 'torch.autograd._functions', 'torch.backends.cuda',
- 'torch.backends.mkl', 'torch.backends.mkldnn', 'torch.backends.openmp',
- 'torch.backends.cudnn', 'torch.utils.backcompat',
- 'torch.utils.bottleneck', 'torch.utils.ffi', 'torch.utils.tensorboard',
- 'torch.utils.data', 'torch.utils.data._utils'
- ]
+
+ # Exact set of modules is version- and variant-specific
+ import_modules = ['torch', 'torch.autograd', 'torch.nn', 'torch.utils']
version('master', branch='master', submodules=True)
+ version('1.7.1', tag='v1.7.1', submodules=True)
version('1.7.0', tag='v1.7.0', submodules=True)
version('1.6.0', tag='v1.6.0', submodules=True)
version('1.5.1', tag='v1.5.1', submodules=True)
@@ -138,6 +108,7 @@ class PyTorch(PythonPackage, CudaPackage):
depends_on('blas')
depends_on('lapack')
depends_on('protobuf', when='@0.4:')
+ depends_on('py-protobuf', when='@0.4:', type=('build', 'run'))
depends_on('eigen', when='@0.4:')
# TODO: replace all third_party packages with Spack packages
@@ -215,6 +186,13 @@ class PyTorch(PythonPackage, CudaPackage):
headers.directories = [root]
return headers
+ @when('@1.5.0:')
+ def patch(self):
+ # https://github.com/pytorch/pytorch/issues/52208
+ filter_file('torch_global_deps PROPERTIES LINKER_LANGUAGE C',
+ 'torch_global_deps PROPERTIES LINKER_LANGUAGE CXX',
+ 'caffe2/CMakeLists.txt')
+
def setup_build_environment(self, env):
def enable_or_disable(variant, keyword='USE', var=None, newer=False):
"""Set environment variable to enable or disable support for a
@@ -332,6 +310,8 @@ class PyTorch(PythonPackage, CudaPackage):
if '+rocm' in self.spec:
python(os.path.join('tools', 'amd_build', 'build_amd.py'))
+ @run_after('install')
+ @on_package_attributes(run_tests=True)
def install_test(self):
with working_dir('test'):
python('run_test.py')
diff --git a/var/spack/repos/builtin/packages/py-torchaudio/package.py b/var/spack/repos/builtin/packages/py-torchaudio/package.py
index 5b17373c66..cfee7f41fd 100644
--- a/var/spack/repos/builtin/packages/py-torchaudio/package.py
+++ b/var/spack/repos/builtin/packages/py-torchaudio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-torchfile/package.py b/var/spack/repos/builtin/packages/py-torchfile/package.py
index e739c065b7..5e4c9fb459 100644
--- a/var/spack/repos/builtin/packages/py-torchfile/package.py
+++ b/var/spack/repos/builtin/packages/py-torchfile/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class PyTorchfile(PythonPackage):
including torch.Tensors is preserved."""
homepage = "https://github.com/bshillingford/python-torchfile"
- url = "https://pypi.io/packages/source/t/torchfile/torchfile-0.1.0.tar.gz"
+ pypi = "torchfile/torchfile-0.1.0.tar.gz"
# license = "BSD-3-Clause"
version('0.1.0', sha256='a53dfe134b737845a9f2cb24fe0585317874f965932cebdb0439d13c8da4136e')
diff --git a/var/spack/repos/builtin/packages/py-torchsummary/package.py b/var/spack/repos/builtin/packages/py-torchsummary/package.py
index af1e39bcfb..27745d48b7 100644
--- a/var/spack/repos/builtin/packages/py-torchsummary/package.py
+++ b/var/spack/repos/builtin/packages/py-torchsummary/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyTorchsummary(PythonPackage):
print(your_model) in PyTorch."""
homepage = "https://github.com/sksq96/pytorch-summary"
- url = "https://pypi.io/packages/source/t/torchsummary/torchsummary-1.5.1.tar.gz"
+ pypi = "torchsummary/torchsummary-1.5.1.tar.gz"
version('1.5.1', sha256='981bf689e22e0cf7f95c746002f20a24ad26aa6b9d861134a14bc6ce92230590')
diff --git a/var/spack/repos/builtin/packages/py-torchtext/package.py b/var/spack/repos/builtin/packages/py-torchtext/package.py
index 6bcae3d1e9..7d22aae920 100644
--- a/var/spack/repos/builtin/packages/py-torchtext/package.py
+++ b/var/spack/repos/builtin/packages/py-torchtext/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyTorchtext(PythonPackage):
"""Text utilities and datasets for PyTorch."""
homepage = "https://github.com/pytorch/text"
- url = "https://pypi.io/packages/source/t/torchtext/torchtext-0.5.0.tar.gz"
+ pypi = "torchtext/torchtext-0.5.0.tar.gz"
maintainers = ['adamjstewart']
diff --git a/var/spack/repos/builtin/packages/py-torchvision/package.py b/var/spack/repos/builtin/packages/py-torchvision/package.py
index aaca507ba9..c5f13aa971 100644
--- a/var/spack/repos/builtin/packages/py-torchvision/package.py
+++ b/var/spack/repos/builtin/packages/py-torchvision/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,18 +9,13 @@ class PyTorchvision(PythonPackage):
architectures, and common image transformations for computer vision."""
homepage = "https://github.com/pytorch/vision"
- url = "https://github.com/pytorch/vision/archive/v0.8.1.tar.gz"
+ url = "https://github.com/pytorch/vision/archive/v0.8.2.tar.gz"
git = "https://github.com/pytorch/vision.git"
maintainers = ['adamjstewart']
- import_modules = [
- 'torchvision', 'torchvision.datasets', 'torchvision.models',
- 'torchvision.transforms', 'torchvision.ops',
- 'torchvision.models.segmentation',
- 'torchvision.models.detection'
- ]
version('master', branch='master')
+ version('0.8.2', sha256='9a866c3c8feb23b3221ce261e6153fc65a98ce9ceaa71ccad017016945c178bf')
version('0.8.1', sha256='c46734c679c99f93e5c06654f4295a05a6afe6c00a35ebd26a2cce507ae1ccbd')
version('0.8.0', sha256='b5f040faffbfc7bac8d4687d8665bd1196937334589b3fb5fcf15bb69ca25391')
version('0.7.0', sha256='fa0a6f44a50451115d1499b3f2aa597e0092a07afce1068750260fa7dd2c85cb')
@@ -49,12 +44,13 @@ class PyTorchvision(PythonPackage):
# https://github.com/pytorch/vision#installation
depends_on('py-torch@master', when='@master', type=('build', 'link', 'run'))
+ depends_on('py-torch@1.7.1', when='@0.8.2', type=('build', 'link', 'run'))
depends_on('py-torch@1.7.0', when='@0.8.1', type=('build', 'link', 'run'))
depends_on('py-torch@1.7.0', when='@0.8.0', type=('build', 'link', 'run'))
depends_on('py-torch@1.6.0', when='@0.7.0', type=('build', 'link', 'run'))
depends_on('py-torch@1.5.1', when='@0.6.1', type=('build', 'link', 'run'))
depends_on('py-torch@1.5.0', when='@0.6.0', type=('build', 'link', 'run'))
- depends_on('py-torch@1.4.0', when='@0.5.0', type=('build', 'link', 'run'))
+ depends_on('py-torch@1.4.1', when='@0.5.0', type=('build', 'link', 'run'))
depends_on('py-torch@1.3.1', when='@0.4.2', type=('build', 'link', 'run'))
depends_on('py-torch@1.3.0', when='@0.4.1', type=('build', 'link', 'run'))
depends_on('py-torch@1.2.0', when='@0.4.0', type=('build', 'link', 'run'))
@@ -70,7 +66,6 @@ class PyTorchvision(PythonPackage):
# Many of the datasets require additional dependencies to use.
# These can be installed after the fact.
- depends_on('py-scipy', type='test')
depends_on('ffmpeg@3.1:', when='@0.4.2:')
diff --git a/var/spack/repos/builtin/packages/py-tornado/package.py b/var/spack/repos/builtin/packages/py-tornado/package.py
index 0aea05faf0..b6ac7cfc63 100644
--- a/var/spack/repos/builtin/packages/py-tornado/package.py
+++ b/var/spack/repos/builtin/packages/py-tornado/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-tox/package.py b/var/spack/repos/builtin/packages/py-tox/package.py
index 43b4c1e49c..d2f4674529 100644
--- a/var/spack/repos/builtin/packages/py-tox/package.py
+++ b/var/spack/repos/builtin/packages/py-tox/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyTox(PythonPackage):
"""tox is a generic virtualenv management and test command line tool."""
homepage = "https://tox.readthedocs.org/"
- url = "https://pypi.io/packages/source/t/tox/tox-3.14.2.tar.gz"
+ pypi = "tox/tox-3.14.2.tar.gz"
version('3.14.2', sha256='7efd010a98339209f3a8292f02909b51c58417bfc6838ab7eca14cf90f96117a')
diff --git a/var/spack/repos/builtin/packages/py-tpot/package.py b/var/spack/repos/builtin/packages/py-tpot/package.py
index 856336b54f..c064797fe6 100644
--- a/var/spack/repos/builtin/packages/py-tpot/package.py
+++ b/var/spack/repos/builtin/packages/py-tpot/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,14 +13,13 @@ class PyTpot(PythonPackage):
"""
homepage = "http://epistasislab.github.io/tpot/"
- url = "https://pypi.io/packages/source/t/tpot/TPOT-0.11.5.tar.gz"
+ pypi = "tpot/TPOT-0.11.5.tar.gz"
version('0.11.5', sha256='909be08b29165ce48de5e5d2e3fd73fee9aeeaf1030f2e0912ce0f0bd9c3d2f3')
depends_on('py-setuptools', type='build')
depends_on('python@3.5:', type=('build', 'run'))
depends_on('py-deap@1.2:', type=('build', 'run'))
- depends_on('py-nose', type='test')
depends_on('py-numpy@1.16.3:', type=('build', 'run'))
depends_on('py-scikit-learn@0.22.0:', type=('build', 'run'))
depends_on('py-scipy@1.3.1', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-tqdm/package.py b/var/spack/repos/builtin/packages/py-tqdm/package.py
index b9e6a5b2a9..d7aac3ce3f 100644
--- a/var/spack/repos/builtin/packages/py-tqdm/package.py
+++ b/var/spack/repos/builtin/packages/py-tqdm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyTqdm(PythonPackage):
"""A Fast, Extensible Progress Meter"""
homepage = "https://github.com/tqdm/tqdm"
- url = "https://pypi.io/packages/source/t/tqdm/tqdm-4.45.0.tar.gz"
+ pypi = "tqdm/tqdm-4.45.0.tar.gz"
version('4.45.0', sha256='00339634a22c10a7a22476ee946bbde2dbe48d042ded784e4d88e0236eca5d81')
version('4.36.1', sha256='abc25d0ce2397d070ef07d8c7e706aede7920da163c64997585d42d3537ece3d')
@@ -18,6 +18,3 @@ class PyTqdm(PythonPackage):
depends_on('python@2.6:2.8,3.2:', type=('build', 'run'))
depends_on('py-setuptools', type=('build', 'run'))
- depends_on('py-nose', type='test')
- depends_on('py-flake8', type='test')
- depends_on('py-coverage', type='test')
diff --git a/var/spack/repos/builtin/packages/py-traceback2/package.py b/var/spack/repos/builtin/packages/py-traceback2/package.py
index 766acea59a..23bcc8f60c 100644
--- a/var/spack/repos/builtin/packages/py-traceback2/package.py
+++ b/var/spack/repos/builtin/packages/py-traceback2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,15 +10,9 @@ class PyTraceback2(PythonPackage):
"""Backports of the traceback module"""
homepage = "https://github.com/testing-cabal/traceback2"
- url = "https://pypi.io/packages/source/t/traceback2/traceback2-1.4.0.tar.gz"
+ pypi = "traceback2/traceback2-1.4.0.tar.gz"
version('1.4.0', sha256='05acc67a09980c2ecfedd3423f7ae0104839eccb55fc645773e1caa0951c3030')
depends_on('py-setuptools', type='build')
depends_on('py-pbr', type='build')
-
- # test-requirements.txt
- depends_on('py-contextlib2', type='test')
- depends_on('py-fixtures', type='test')
- depends_on('py-testtools', type='test')
- depends_on('py-unittest2', type='test')
diff --git a/var/spack/repos/builtin/packages/py-traitlets/package.py b/var/spack/repos/builtin/packages/py-traitlets/package.py
index df854d70c6..3fc0241114 100644
--- a/var/spack/repos/builtin/packages/py-traitlets/package.py
+++ b/var/spack/repos/builtin/packages/py-traitlets/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyTraitlets(PythonPackage):
"""Traitlets Python config system"""
- homepage = "https://pypi.python.org/pypi/traitlets"
- url = "https://pypi.io/packages/source/t/traitlets/traitlets-5.0.4.tar.gz"
+ pypi = "traitlets/traitlets-5.0.4.tar.gz"
version('5.0.4', sha256='86c9351f94f95de9db8a04ad8e892da299a088a64fd283f9f6f18770ae5eae1b')
version('4.3.3', sha256='d023ee369ddd2763310e4c3eae1ff649689440d4ae59d7485eb4cfbbe3e359f7')
@@ -29,4 +28,3 @@ class PyTraitlets(PythonPackage):
depends_on('py-six', when='@:4', type=('build', 'run'))
depends_on('py-decorator', when='@:4', type=('build', 'run'))
depends_on('py-enum34', when='^python@:3.3', type=('build', 'run'))
- depends_on('py-pytest', type='test')
diff --git a/var/spack/repos/builtin/packages/py-traits/package.py b/var/spack/repos/builtin/packages/py-traits/package.py
index 868e1de0a2..ad8665e47d 100644
--- a/var/spack/repos/builtin/packages/py-traits/package.py
+++ b/var/spack/repos/builtin/packages/py-traits/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyTraits(PythonPackage):
"""Explicitly typed attributes for Python."""
homepage = "https://docs.enthought.com/traits"
- url = "https://pypi.io/packages/source/t/traits/traits-6.0.0.tar.gz"
+ pypi = "traits/traits-6.0.0.tar.gz"
version('6.0.0', sha256='dbcd70166feca434130a1193284d5819ca72ffbc8dbce8deeecc0cebb41a3bfb')
diff --git a/var/spack/repos/builtin/packages/py-traitsui/package.py b/var/spack/repos/builtin/packages/py-traitsui/package.py
index f77e92cc4f..e9b3dd2125 100644
--- a/var/spack/repos/builtin/packages/py-traitsui/package.py
+++ b/var/spack/repos/builtin/packages/py-traitsui/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class PyTraitsui(PythonPackage):
the details of displaying them."""
homepage = "https://docs.enthought.com/traitsui"
- url = "https://pypi.io/packages/source/t/traitsui/traitsui-6.1.3.tar.gz"
+ pypi = "traitsui/traitsui-6.1.3.tar.gz"
version('6.1.3', sha256='48381763b181efc58eaf288431d1d92d028d0d97dfdd33eba7809aae8aef814f')
diff --git a/var/spack/repos/builtin/packages/py-transformers/package.py b/var/spack/repos/builtin/packages/py-transformers/package.py
index 0480ed06c2..732347591b 100644
--- a/var/spack/repos/builtin/packages/py-transformers/package.py
+++ b/var/spack/repos/builtin/packages/py-transformers/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ class PyTransformers(PythonPackage):
PyTorch"""
homepage = "https://github.com/huggingface/transformers"
- url = "https://pypi.io/packages/source/t/transformers/transformers-2.8.0.tar.gz"
+ pypi = "transformers/transformers-2.8.0.tar.gz"
maintainers = ['adamjstewart']
diff --git a/var/spack/repos/builtin/packages/py-treehash/package.py b/var/spack/repos/builtin/packages/py-treehash/package.py
index 8925504b74..5373ef5179 100644
--- a/var/spack/repos/builtin/packages/py-treehash/package.py
+++ b/var/spack/repos/builtin/packages/py-treehash/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,6 +11,6 @@ class PyTreehash(PythonPackage):
function) "tree" hash, as used by e.g. Amazon Glacier."""
homepage = "https://github.com/jdswinbank/treehash"
- url = "https://pypi.io/packages/source/t/treehash/TreeHash-1.0.2.tar.gz"
+ pypi = "treehash/TreeHash-1.0.2.tar.gz"
version('1.0.2', sha256='fefcadd6a1e8ba2808897d776d5ae8bdae56ec3fe90ed385c1322357269f27a4')
diff --git a/var/spack/repos/builtin/packages/py-tuiview/package.py b/var/spack/repos/builtin/packages/py-tuiview/package.py
index 9757dd2343..e78153d2c1 100644
--- a/var/spack/repos/builtin/packages/py-tuiview/package.py
+++ b/var/spack/repos/builtin/packages/py-tuiview/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-twine/package.py b/var/spack/repos/builtin/packages/py-twine/package.py
index 46ca3ae9b8..271f0d7563 100644
--- a/var/spack/repos/builtin/packages/py-twine/package.py
+++ b/var/spack/repos/builtin/packages/py-twine/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyTwine(PythonPackage):
"""Twine is a utility for publishing Python packages on PyPI."""
homepage = "https://twine.readthedocs.io/"
- url = "https://pypi.io/packages/source/t/twine/twine-2.0.0.tar.gz"
+ pypi = "twine/twine-2.0.0.tar.gz"
version('2.0.0', sha256='9fe7091715c7576df166df8ef6654e61bada39571783f2fd415bdcba867c6993')
diff --git a/var/spack/repos/builtin/packages/py-twisted/package.py b/var/spack/repos/builtin/packages/py-twisted/package.py
index 52f3d4039f..2c6579d48c 100644
--- a/var/spack/repos/builtin/packages/py-twisted/package.py
+++ b/var/spack/repos/builtin/packages/py-twisted/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ from spack import *
class PyTwisted(PythonPackage):
"""An asynchronous networking framework written in Python"""
homepage = "https://twistedmatrix.com/"
- url = "https://pypi.io/packages/source/T/Twisted/Twisted-15.3.0.tar.bz2"
+ pypi = "Twisted/Twisted-15.3.0.tar.bz2"
version('15.4.0', sha256='78862662fa9ae29654bc2b9d349c3f1d887e6b2ed978512c4442d53ea861f05c')
version('15.3.0', sha256='025729751cf898842262375a40f70ae1d246daea88369eab9f6bb96e528bf285')
diff --git a/var/spack/repos/builtin/packages/py-typed-ast/package.py b/var/spack/repos/builtin/packages/py-typed-ast/package.py
index ddbb6ff519..18a28505a8 100644
--- a/var/spack/repos/builtin/packages/py-typed-ast/package.py
+++ b/var/spack/repos/builtin/packages/py-typed-ast/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyTypedAst(PythonPackage):
"""A fork of Python 2 and 3 ast modules with type comment support."""
homepage = "https://github.com/python/typed_ast"
- url = "https://pypi.io/packages/source/t/typed-ast/typed_ast-1.4.0.tar.gz"
+ pypi = "typed-ast/typed_ast-1.4.0.tar.gz"
version('1.4.0', sha256='66480f95b8167c9c5c5c87f32cf437d585937970f3fc24386f313a4c97b44e34')
diff --git a/var/spack/repos/builtin/packages/py-typesentry/package.py b/var/spack/repos/builtin/packages/py-typesentry/package.py
index 0fbd891ae9..12afda00c3 100644
--- a/var/spack/repos/builtin/packages/py-typesentry/package.py
+++ b/var/spack/repos/builtin/packages/py-typesentry/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-typing-extensions/package.py b/var/spack/repos/builtin/packages/py-typing-extensions/package.py
index 02376449f0..4afb44e756 100644
--- a/var/spack/repos/builtin/packages/py-typing-extensions/package.py
+++ b/var/spack/repos/builtin/packages/py-typing-extensions/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class PyTypingExtensions(PythonPackage):
details about protocols and static duck typing)."""
homepage = "https://github.com/python/typing/tree/master/typing_extensions"
- url = "https://pypi.io/packages/source/t/typing_extensions/typing_extensions-3.7.4.tar.gz"
+ pypi = "typing_extensions/typing_extensions-3.7.4.tar.gz"
version('3.7.4', sha256='2ed632b30bb54fc3941c382decfd0ee4148f5c591651c9272473fea2c6397d95')
version('3.7.2', sha256='fb2cd053238d33a8ec939190f30cfd736c00653a85a2919415cecf7dc3d9da71')
diff --git a/var/spack/repos/builtin/packages/py-typing/package.py b/var/spack/repos/builtin/packages/py-typing/package.py
index ee713c9213..7b9d339fdc 100644
--- a/var/spack/repos/builtin/packages/py-typing/package.py
+++ b/var/spack/repos/builtin/packages/py-typing/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,14 +11,17 @@ class PyTyping(PythonPackage):
versions older than 3.6."""
homepage = "https://docs.python.org/3/library/typing.html"
- url = "https://pypi.io/packages/source/t/typing/typing-3.7.4.1.tar.gz"
-
- import_modules = ['typing']
+ pypi = "typing/typing-3.7.4.1.tar.gz"
+ version('3.7.4.3', sha256='1187fb9c82fd670d10aa07bbb6cfcfe4bdda42d6fab8d5134f04e8c4d0b71cc9')
version('3.7.4.1', sha256='91dfe6f3f706ee8cc32d38edbbf304e9b7583fb37108fef38229617f8b3eba23')
version('3.6.6', sha256='4027c5f6127a6267a435201981ba156de91ad0d1d98e9ddc2aa173453453492d')
version('3.6.4', sha256='d400a9344254803a2368533e4533a4200d21eb7b6b729c173bc38201a74db3f2')
version('3.6.1', sha256='c36dec260238e7464213dcd50d4b5ef63a507972f5780652e835d0228d0edace')
- depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
+ # Don't use this with new versions of python (3.5+)
+ # python 3.7 and later will actively not import
+ # https://github.com/python/typing/issues/573
+ # _abc_registry now private https://bugs.python.org/issue31333
+ depends_on('python@2.7:2.8,3.4:3.6', type=('build', 'run'))
depends_on('py-setuptools', type='build')
diff --git a/var/spack/repos/builtin/packages/py-tzlocal/package.py b/var/spack/repos/builtin/packages/py-tzlocal/package.py
index 354653f7a5..d6d0b888eb 100644
--- a/var/spack/repos/builtin/packages/py-tzlocal/package.py
+++ b/var/spack/repos/builtin/packages/py-tzlocal/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyTzlocal(PythonPackage):
"""tzinfo object for the local timezone."""
homepage = "https://github.com/regebro/tzlocal"
- url = "https://pypi.io/packages/source/t/tzlocal/tzlocal-1.3.tar.gz"
+ pypi = "tzlocal/tzlocal-1.3.tar.gz"
version('2.0.0', sha256='949b9dd5ba4be17190a80c0268167d7e6c92c62b30026cf9764caf3e308e5590')
version('1.3', sha256='d160c2ce4f8b1831dabfe766bd844cf9012f766539cf84139c2faac5201882ce')
diff --git a/var/spack/repos/builtin/packages/py-ucx-py/package.py b/var/spack/repos/builtin/packages/py-ucx-py/package.py
new file mode 100644
index 0000000000..5a6939b769
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-ucx-py/package.py
@@ -0,0 +1,25 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+class PyUcxPy(PythonPackage):
+ """UCX-Py is the Python interface for UCX, a low-level
+ high-performance networking library. UCX and UCX-Py supports
+ several transport methods including InfiniBand and NVLink while
+ still using traditional networking protocols like TCP."""
+
+ homepage = "https://ucx-py.readthedocs.io/en/latest/"
+ url = "https://github.com/rapidsai/ucx-py/archive/v0.16.0.tar.gz"
+
+ version('0.16.0', sha256='12c1c982ee337b8dc026d3a6e8e63d96bf021c5c555fe173642908d3c3bec36e')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-cython@0.29.14:2.999.999', type='build')
+ depends_on('py-numpy', type=('build', 'run'))
+ depends_on('py-psutil', type=('build', 'run'))
+ depends_on('py-pynvml', type=('build', 'run'))
+ depends_on('ucx')
+ depends_on('hwloc')
diff --git a/var/spack/repos/builtin/packages/py-ujson/package.py b/var/spack/repos/builtin/packages/py-ujson/package.py
index 45e9b280e8..f169421c0f 100644
--- a/var/spack/repos/builtin/packages/py-ujson/package.py
+++ b/var/spack/repos/builtin/packages/py-ujson/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyUjson(PythonPackage):
bindings."""
homepage = "https://github.com/esnme/ultrajson"
- url = "https://pypi.io/packages/source/u/ujson/ujson-1.35.tar.gz"
+ pypi = "ujson/ujson-1.35.tar.gz"
version('1.35', sha256='f66073e5506e91d204ab0c614a148d5aa938bdbf104751be66f8ad7a222f5f86')
diff --git a/var/spack/repos/builtin/packages/py-umalqurra/package.py b/var/spack/repos/builtin/packages/py-umalqurra/package.py
index c96dd625a5..d5cef2ab9a 100644
--- a/var/spack/repos/builtin/packages/py-umalqurra/package.py
+++ b/var/spack/repos/builtin/packages/py-umalqurra/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ class PyUmalqurra(PythonPackage):
"""Date Api that support Hijri Umalqurra calendar."""
homepage = "https://github.com/tytkal/python-hijiri-ummalqura"
- url = "https://pypi.io/packages/source/u/umalqurra/umalqurra-0.2.tar.gz"
+ pypi = "umalqurra/umalqurra-0.2.tar.gz"
version('0.2', sha256='719f6a36f908ada1c29dae0d934dd0f1e1f6e3305784edbec23ad719397de678')
diff --git a/var/spack/repos/builtin/packages/py-umi-tools/package.py b/var/spack/repos/builtin/packages/py-umi-tools/package.py
index 3a89b102a1..efbde8be79 100644
--- a/var/spack/repos/builtin/packages/py-umi-tools/package.py
+++ b/var/spack/repos/builtin/packages/py-umi-tools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-uncertainties/package.py b/var/spack/repos/builtin/packages/py-uncertainties/package.py
index 67a9ee0cc5..8a1d8f0dda 100644
--- a/var/spack/repos/builtin/packages/py-uncertainties/package.py
+++ b/var/spack/repos/builtin/packages/py-uncertainties/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyUncertainties(PythonPackage):
"""
homepage = "https://uncertainties-python-package.readthedocs.io/en/latest/"
- url = "https://pypi.io/packages/source/u/uncertainties/uncertainties-3.1.4.tar.gz"
+ pypi = "uncertainties/uncertainties-3.1.4.tar.gz"
version('3.1.4', sha256='63548a94899f2a51eeb89b640f6ac311f481a8016b37dce157186e44619bc968')
diff --git a/var/spack/repos/builtin/packages/py-unicycler/package.py b/var/spack/repos/builtin/packages/py-unicycler/package.py
index 441f66289a..6d038a858d 100644
--- a/var/spack/repos/builtin/packages/py-unicycler/package.py
+++ b/var/spack/repos/builtin/packages/py-unicycler/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-unidecode/package.py b/var/spack/repos/builtin/packages/py-unidecode/package.py
index c5acb2dc4c..842eb2b106 100644
--- a/var/spack/repos/builtin/packages/py-unidecode/package.py
+++ b/var/spack/repos/builtin/packages/py-unidecode/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyUnidecode(PythonPackage):
"""ASCII transliterations of Unicode text"""
- homepage = "https://pypi.org/project/Unidecode"
- url = "https://pypi.io/packages/source/u/unidecode/Unidecode-1.1.1.tar.gz"
+ pypi = "unidecode/Unidecode-1.1.1.tar.gz"
version('1.1.1', sha256='2b6aab710c2a1647e928e36d69c21e76b453cd455f4e2621000e54b2a9b8cce8')
version('0.04.21', sha256='280a6ab88e1f2eb5af79edff450021a0d3f0448952847cd79677e55e58bad051')
diff --git a/var/spack/repos/builtin/packages/py-unittest2/package.py b/var/spack/repos/builtin/packages/py-unittest2/package.py
index 1838843874..2510d3739b 100644
--- a/var/spack/repos/builtin/packages/py-unittest2/package.py
+++ b/var/spack/repos/builtin/packages/py-unittest2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,7 @@ class PyUnittest2(PythonPackage):
"""unittest2 is a backport of the new features added to the unittest
testing framework in Python 2.7 and onwards."""
- homepage = "https://pypi.python.org/pypi/unittest2"
- url = "https://pypi.io/packages/source/u/unittest2/unittest2-1.1.0.tar.gz"
+ pypi = "unittest2/unittest2-1.1.0.tar.gz"
version('1.1.0', sha256='22882a0e418c284e1f718a822b3b022944d53d2d908e1690b319a9d3eb2c0579')
diff --git a/var/spack/repos/builtin/packages/py-unittest2py3k/package.py b/var/spack/repos/builtin/packages/py-unittest2py3k/package.py
index bf20186afd..3dc23c5941 100644
--- a/var/spack/repos/builtin/packages/py-unittest2py3k/package.py
+++ b/var/spack/repos/builtin/packages/py-unittest2py3k/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,8 +11,7 @@ class PyUnittest2py3k(PythonPackage):
testing framework in Python 2.7 and 3.2. This is a Python 3 compatible
version of unittest2."""
- homepage = "https://pypi.python.org/pypi/unittest2py3k"
- url = "https://pypi.io/packages/source/u/unittest2py3k/unittest2py3k-0.5.1.tar.gz"
+ pypi = "unittest2py3k/unittest2py3k-0.5.1.tar.gz"
version('0.5.1', sha256='78249c5f1ac508a34d9d131d43a89d77bf154186f3ea5f7a6b993d3f3535d403')
diff --git a/var/spack/repos/builtin/packages/py-unshare/package.py b/var/spack/repos/builtin/packages/py-unshare/package.py
new file mode 100644
index 0000000000..03a56e53d2
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-unshare/package.py
@@ -0,0 +1,17 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+class PyUnshare(PythonPackage):
+ """Python extension for Linux kernel's unshare syscall."""
+
+ homepage = "https://github.com/shubham1172/unshare"
+ pypi = "unshare/unshare-0.22.tar.gz"
+
+ version('0.22', sha256='d521d72cca6e876f22cbd5ff5eb51f1beef75e8f9c53b599b55fa05fba1dd3a6')
+
+ depends_on('py-setuptools', type='build')
+
+ conflicts('platform=darwin', msg='unshare is linux-only')
diff --git a/var/spack/repos/builtin/packages/py-update-checker/package.py b/var/spack/repos/builtin/packages/py-update-checker/package.py
index a1fbc7f368..2e203cc860 100644
--- a/var/spack/repos/builtin/packages/py-update-checker/package.py
+++ b/var/spack/repos/builtin/packages/py-update-checker/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,13 +10,12 @@ class PyUpdateChecker(PythonPackage):
"""A python module that will check for package updates."""
homepage = "https://github.com/bboe/update_checker"
- url = "https://pypi.io/packages/source/u/update_checker/update_checker-0.18.0.tar.gz"
+ pypi = "update_checker/update_checker-0.18.0.tar.gz"
version('0.18.0', sha256='6a2d45bb4ac585884a6b03f9eade9161cedd9e8111545141e9aa9058932acb13')
version('0.17', sha256='2def8db7f63bd45c7d19df5df570f3f3dfeb1a1f050869d7036529295db10e62')
depends_on('py-setuptools', type='build')
- depends_on('py-pytest@2.7.3:', type='test')
depends_on('python@3.6:', type=('build', 'run'), when='@0.18.0:')
depends_on('python@2.7:2.8,3.3:', type=('build', 'run'), when='@0.17')
depends_on('py-requests@2.3.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-uproot4/package.py b/var/spack/repos/builtin/packages/py-uproot4/package.py
index 4befa0ee76..78bd21309a 100644
--- a/var/spack/repos/builtin/packages/py-uproot4/package.py
+++ b/var/spack/repos/builtin/packages/py-uproot4/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,7 +15,11 @@ class PyUproot4(PythonPackage):
maintainers = ['vvolkl']
+ tags = ['hep']
+
version('master', branch='master')
+ version('4.0.2', sha256='8145af29788cbe6bf0ee279a7f176159f3eee801641ead4ad6e627f8c4dff0a9')
+ version('0.1.2', sha256='b32dbffadc87bc5707ee0093964d2ce4a5ccfd521b17bbf10732afc25b820d82')
version('0.0.27', sha256='de87555937332998b476f3e310392962bc983bddc008ed2b3c07a25c0379c4c9')
variant('xrootd', default=True,
diff --git a/var/spack/repos/builtin/packages/py-uritemplate/package.py b/var/spack/repos/builtin/packages/py-uritemplate/package.py
index 9b901e6a2f..1a4e762765 100644
--- a/var/spack/repos/builtin/packages/py-uritemplate/package.py
+++ b/var/spack/repos/builtin/packages/py-uritemplate/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyUritemplate(PythonPackage):
"""Simple python library to deal with URI Templates."""
homepage = "https://uritemplate.readthedocs.org/"
- url = "https://pypi.io/packages/source/u/uritemplate/uritemplate-3.0.0.tar.gz"
+ pypi = "uritemplate/uritemplate-3.0.0.tar.gz"
version('3.0.0', sha256='c02643cebe23fc8adb5e6becffe201185bf06c40bda5c0b4028a93f1527d011d')
diff --git a/var/spack/repos/builtin/packages/py-urllib3/package.py b/var/spack/repos/builtin/packages/py-urllib3/package.py
index cbe4577ca4..233e1a65ee 100644
--- a/var/spack/repos/builtin/packages/py-urllib3/package.py
+++ b/var/spack/repos/builtin/packages/py-urllib3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyUrllib3(PythonPackage):
more."""
homepage = "https://urllib3.readthedocs.io/"
- url = "https://pypi.io/packages/source/u/urllib3/urllib3-1.25.6.tar.gz"
+ pypi = "urllib3/urllib3-1.25.6.tar.gz"
version('1.25.6', sha256='9a107b99a5393caf59c7aa3c1249c16e6879447533d0887f4336dde834c7be86')
version('1.25.3', sha256='dbe59173209418ae49d485b87d1681aefa36252ee85884c31346debd19463232')
@@ -21,9 +21,6 @@ class PyUrllib3(PythonPackage):
depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
- depends_on('py-pytest', type='test')
- depends_on('py-mock', type='test')
- depends_on('py-tornado', type='test')
variant('secure', default=False, description='Add SSL/TLS support')
depends_on('py-pyopenssl@0.14:', when='+secure')
diff --git a/var/spack/repos/builtin/packages/py-urwid/package.py b/var/spack/repos/builtin/packages/py-urwid/package.py
index bf606f81b7..b7dfb6ae42 100644
--- a/var/spack/repos/builtin/packages/py-urwid/package.py
+++ b/var/spack/repos/builtin/packages/py-urwid/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ from spack import *
class PyUrwid(PythonPackage):
"""A full-featured console UI library"""
homepage = "http://urwid.org/"
- url = "https://pypi.io/packages/source/u/urwid/urwid-1.3.0.tar.gz"
+ pypi = "urwid/urwid-1.3.0.tar.gz"
version('1.3.0', sha256='29f04fad3bf0a79c5491f7ebec2d50fa086e9d16359896c9204c6a92bc07aba2')
diff --git a/var/spack/repos/builtin/packages/py-us/package.py b/var/spack/repos/builtin/packages/py-us/package.py
index 81ea11e9d8..5a1a33d75c 100644
--- a/var/spack/repos/builtin/packages/py-us/package.py
+++ b/var/spack/repos/builtin/packages/py-us/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,7 @@ from spack import *
class PyUs(PythonPackage):
"""US state meta information and other fun stuff."""
- homepage = "https://pypi.org/project/us/"
- url = "https://pypi.io/packages/source/u/us/us-1.0.0.tar.gz"
+ pypi = "us/us-1.0.0.tar.gz"
version('1.0.0', sha256='09dc9ba763e2e4399e6a042104f3e415a7de6bfa4df6f557b4f19e3ba9a22fda')
diff --git a/var/spack/repos/builtin/packages/py-usgs/package.py b/var/spack/repos/builtin/packages/py-usgs/package.py
index 69f2b97056..608e381547 100644
--- a/var/spack/repos/builtin/packages/py-usgs/package.py
+++ b/var/spack/repos/builtin/packages/py-usgs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,15 +10,13 @@ class PyUsgs(PythonPackage):
"""Client library for interfacing with USGS datasets"""
homepage = "https://github.com/kapadia/usgs"
- url = "https://pypi.io/packages/source/u/usgs/usgs-0.2.7.tar.gz"
+ pypi = "usgs/usgs-0.2.7.tar.gz"
maintainers = ['adamjstewart']
version('0.2.7', sha256='484e569ea1baf9574e11ccf15219957364690dcf06ee3d09afef030df944e79b')
depends_on('py-setuptools', type='build')
- depends_on('py-mock', type='test')
- depends_on('py-pytest@2.8.7', type='test')
depends_on('py-click@4.0:', type=('build', 'run'))
depends_on('py-requests@2.7.0:', type=('build', 'run'))
depends_on('py-requests-futures@0.9.5:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-utils/package.py b/var/spack/repos/builtin/packages/py-utils/package.py
index e5a6c46989..4a95b7583c 100644
--- a/var/spack/repos/builtin/packages/py-utils/package.py
+++ b/var/spack/repos/builtin/packages/py-utils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-uvloop/package.py b/var/spack/repos/builtin/packages/py-uvloop/package.py
index 52a7709640..cb64e3df01 100644
--- a/var/spack/repos/builtin/packages/py-uvloop/package.py
+++ b/var/spack/repos/builtin/packages/py-uvloop/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyUvloop(PythonPackage):
"""uvloop is a fast, drop-in replacement of the built-in asyncio event"""
homepage = "http://github.com/MagicStack/uvloop"
- url = "https://pypi.io/packages/source/u/uvloop/uvloop-0.14.0.tar.gz"
+ pypi = "uvloop/uvloop-0.14.0.tar.gz"
version('0.14.0', sha256='123ac9c0c7dd71464f58f1b4ee0bbd81285d96cdda8bc3519281b8973e3a461e')
diff --git a/var/spack/repos/builtin/packages/py-uvw/package.py b/var/spack/repos/builtin/packages/py-uvw/package.py
index 0a87855fab..691277d3ee 100644
--- a/var/spack/repos/builtin/packages/py-uvw/package.py
+++ b/var/spack/repos/builtin/packages/py-uvw/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class PyUvw(PythonPackage):
"""
homepage = "https://github.com/prs513rosewood/uvw"
- url = "https://pypi.io/packages/source/u/uvw/uvw-0.3.1.tar.gz"
+ pypi = "uvw/uvw-0.3.1.tar.gz"
maintainers = ['prs513rosewood']
diff --git a/var/spack/repos/builtin/packages/py-uwsgi/package.py b/var/spack/repos/builtin/packages/py-uwsgi/package.py
index fdc990d48d..759fd9c49d 100644
--- a/var/spack/repos/builtin/packages/py-uwsgi/package.py
+++ b/var/spack/repos/builtin/packages/py-uwsgi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyUwsgi(PythonPackage):
"""Web Application framework for low overhead web services"""
homepage = "https://github.com/unbit/uwsgi/"
- url = "https://pypi.io/packages/source/u/uwsgi/uwsgi-2.0.18.tar.gz"
+ pypi = "uwsgi/uwsgi-2.0.18.tar.gz"
version('2.0.18', sha256='4972ac538800fb2d421027f49b4a1869b66048839507ccf0aa2fda792d99f583')
diff --git a/var/spack/repos/builtin/packages/py-vcf-kit/package.py b/var/spack/repos/builtin/packages/py-vcf-kit/package.py
index f3f4b0302b..6875ce7d6a 100644
--- a/var/spack/repos/builtin/packages/py-vcf-kit/package.py
+++ b/var/spack/repos/builtin/packages/py-vcf-kit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-vcstool/package.py b/var/spack/repos/builtin/packages/py-vcstool/package.py
new file mode 100644
index 0000000000..b0e733d70c
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-vcstool/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+class PyVcstool(PythonPackage):
+ """vcstool enables batch commands on multiple different vcs repositories.
+
+ Currently it supports git, hg, svn and bzr."""
+
+ homepage = "https://github.com/dirk-thomas/vcstool"
+ pypi = "vcstool/vcstool-0.2.15.tar.gz"
+
+ version('0.2.15', sha256='b1fce6fcef7b117b245a72dc8658a128635749d01dc7e9d1316490f89f9c2fde')
+
+ depends_on('py-pyyaml', type=('build', 'run'))
+ depends_on('py-setuptools', type=('build', 'run'))
+ depends_on('py-argparse', when='^python@:2.6', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-vcstools/package.py b/var/spack/repos/builtin/packages/py-vcstools/package.py
new file mode 100644
index 0000000000..691e23fb30
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-vcstools/package.py
@@ -0,0 +1,17 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+class PyVcstools(PythonPackage):
+ """VCS/SCM source control library for svn, git, hg, and bzr."""
+
+ homepage = "https://wiki.ros.org/vcstools"
+ pypi = "vcstools/vcstools-0.1.42.tar.gz"
+
+ version('0.1.42', sha256='9e48d8ed8b0fdda739af56e05bf10da1a509cb7d4950a19c73264c770802777a')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-pyyaml', type=('build', 'run'))
+ depends_on('py-python-dateutil', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-vcversioner/package.py b/var/spack/repos/builtin/packages/py-vcversioner/package.py
index 7feda4a213..fc9000831e 100644
--- a/var/spack/repos/builtin/packages/py-vcversioner/package.py
+++ b/var/spack/repos/builtin/packages/py-vcversioner/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyVcversioner(PythonPackage):
"""Vcversioner: Take version numbers from version control."""
homepage = "https://github.com/habnabit/vcversioner"
- url = "https://pypi.io/packages/source/v/vcversioner/vcversioner-2.16.0.0.tar.gz"
+ pypi = "vcversioner/vcversioner-2.16.0.0.tar.gz"
version('2.16.0.0', sha256='dae60c17a479781f44a4010701833f1829140b1eeccd258762a74974aa06e19b')
diff --git a/var/spack/repos/builtin/packages/py-vermin/package.py b/var/spack/repos/builtin/packages/py-vermin/package.py
index bff9e0fc57..4afc1338a7 100644
--- a/var/spack/repos/builtin/packages/py-vermin/package.py
+++ b/var/spack/repos/builtin/packages/py-vermin/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,11 +8,11 @@ class PyVermin(PythonPackage):
"""Concurrently detect the minimum Python versions needed to run code."""
homepage = "https://github.com/netromdk/vermin"
- url = "https://github.com/netromdk/vermin/archive/v1.0.3.tar.gz"
+ url = "https://github.com/netromdk/vermin/archive/v1.1.0.tar.gz"
maintainers = ['netromdk']
- import_modules = ['vermin']
+ version('1.1.0', sha256='62d9f1b6694f50c22343cead2ddb6e2b007d24243fb583f61ceed7540fbe660b')
version('1.0.3', sha256='1503be05b55cacde1278a1fe55304d8ee889ddef8ba16e120ac6686259bec95c')
version('1.0.2', sha256='e999d5f5455e1116b366cd1dcc6fecd254c7ae3606549a61bc044216f9bb5b55')
version('1.0.1', sha256='c06183ba653b9d5f6687a6686da8565fb127fab035f9127a5acb172b7c445079')
@@ -24,5 +24,7 @@ class PyVermin(PythonPackage):
depends_on('python@2.7:', type=('build', 'run'))
depends_on('py-setuptools', type=('build', 'run'))
- def test(self):
+ @run_after('build')
+ @on_package_attributes(run_tests=True)
+ def build_test(self):
make('test')
diff --git a/var/spack/repos/builtin/packages/py-versioneer/package.py b/var/spack/repos/builtin/packages/py-versioneer/package.py
index d98ec6524c..c35990e4ea 100644
--- a/var/spack/repos/builtin/packages/py-versioneer/package.py
+++ b/var/spack/repos/builtin/packages/py-versioneer/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-vine/package.py b/var/spack/repos/builtin/packages/py-vine/package.py
index 415276611c..ed2da70383 100644
--- a/var/spack/repos/builtin/packages/py-vine/package.py
+++ b/var/spack/repos/builtin/packages/py-vine/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyVine(PythonPackage):
"""Promises, promises, promises."""
- homepage = "https://pypi.org/project/vine/"
- url = "https://pypi.io/packages/source/v/vine/vine-1.2.0.tar.gz"
+ pypi = "vine/vine-1.2.0.tar.gz"
version('5.0.0', sha256='7d3b1624a953da82ef63462013bbd271d3eb75751489f9807598e8f340bd637e')
version('1.3.0', sha256='133ee6d7a9016f177ddeaf191c1f58421a1dcc6ee9a42c58b34bed40e1d2cd87')
diff --git a/var/spack/repos/builtin/packages/py-virtualenv-clone/package.py b/var/spack/repos/builtin/packages/py-virtualenv-clone/package.py
index 287a4152dc..422c6489c8 100644
--- a/var/spack/repos/builtin/packages/py-virtualenv-clone/package.py
+++ b/var/spack/repos/builtin/packages/py-virtualenv-clone/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyVirtualenvClone(PythonPackage):
"""A script for cloning a non-relocatable virtualenv."""
homepage = "https://github.com/edwardgeorge/virtualenv-clone"
- url = "https://pypi.io/packages/source/v/virtualenv-clone/virtualenv-clone-0.2.6.tar.gz"
+ pypi = "virtualenv-clone/virtualenv-clone-0.2.6.tar.gz"
version('0.2.6', sha256='6b3be5cab59e455f08c9eda573d23006b7d6fb41fae974ddaa2b275c93cc4405')
diff --git a/var/spack/repos/builtin/packages/py-virtualenv/package.py b/var/spack/repos/builtin/packages/py-virtualenv/package.py
index 3a1c593023..6098c804fe 100644
--- a/var/spack/repos/builtin/packages/py-virtualenv/package.py
+++ b/var/spack/repos/builtin/packages/py-virtualenv/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyVirtualenv(PythonPackage):
"""virtualenv is a tool to create isolated Python environments."""
homepage = "https://virtualenv.pypa.io/"
- url = "https://pypi.io/packages/source/v/virtualenv/virtualenv-16.7.6.tar.gz"
+ pypi = "virtualenv/virtualenv-16.7.6.tar.gz"
version('16.7.6', sha256='5d370508bf32e522d79096e8cbea3499d47e624ac7e11e9089f9397a0b3318df')
version('16.4.1', sha256='5a3ecdfbde67a4a3b3111301c4d64a5b71cf862c8c42958d30cf3253df1f29dd')
diff --git a/var/spack/repos/builtin/packages/py-virtualenvwrapper/package.py b/var/spack/repos/builtin/packages/py-virtualenvwrapper/package.py
index 235761f58a..61aab2c210 100644
--- a/var/spack/repos/builtin/packages/py-virtualenvwrapper/package.py
+++ b/var/spack/repos/builtin/packages/py-virtualenvwrapper/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,7 +14,7 @@ class PyVirtualenvwrapper(PythonPackage):
without introducing conflicts in their dependencies."""
homepage = "https://bitbucket.org/virtualenvwrapper/virtualenvwrapper.git"
- url = "https://pypi.io/packages/source/v/virtualenvwrapper/virtualenvwrapper-4.8.2.tar.gz"
+ pypi = "virtualenvwrapper/virtualenvwrapper-4.8.2.tar.gz"
version('4.8.2', sha256='18d8e4c500c4c4ee794f704e050cf2bbb492537532a4521d1047e7dd1ee4e374')
diff --git a/var/spack/repos/builtin/packages/py-visdom/package.py b/var/spack/repos/builtin/packages/py-visdom/package.py
index b6bd808346..3a24e7f971 100644
--- a/var/spack/repos/builtin/packages/py-visdom/package.py
+++ b/var/spack/repos/builtin/packages/py-visdom/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyVisdom(PythonPackage):
experimentation."""
homepage = "https://github.com/facebookresearch/visdom"
- url = "https://pypi.io/packages/source/v/visdom/visdom-0.1.8.9.tar.gz"
+ pypi = "visdom/visdom-0.1.8.9.tar.gz"
version('0.1.8.9', sha256='c73ad23723c24a48156899f78dd76bd4538eba3edf9120b6c65a9528fa677126')
diff --git a/var/spack/repos/builtin/packages/py-voluptuous/package.py b/var/spack/repos/builtin/packages/py-voluptuous/package.py
index 1d497d8ea2..d78bb37699 100644
--- a/var/spack/repos/builtin/packages/py-voluptuous/package.py
+++ b/var/spack/repos/builtin/packages/py-voluptuous/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,7 +9,7 @@ from spack import *
class PyVoluptuous(PythonPackage):
"""Voluptous, despite the name, is a Python data validation library."""
homepage = "https://github.com/alecthomas/voluptuous"
- url = "https://pypi.io/packages/source/v/voluptuous/voluptuous-0.11.5.tar.gz"
+ pypi = "voluptuous/voluptuous-0.11.5.tar.gz"
version('0.11.7', sha256='2abc341dbc740c5e2302c7f9b8e2e243194fb4772585b991931cb5b22e9bf456')
version('0.11.6', sha256='d2ca99ae1d1ed0313e8965720d1d75a780fc7f312fea4e3dbbb56ccfe5a8306d')
diff --git a/var/spack/repos/builtin/packages/py-vsc-base/package.py b/var/spack/repos/builtin/packages/py-vsc-base/package.py
index 159eace26d..6778fbe048 100644
--- a/var/spack/repos/builtin/packages/py-vsc-base/package.py
+++ b/var/spack/repos/builtin/packages/py-vsc-base/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyVscBase(PythonPackage):
"""Common Python libraries tools created by HPC-UGent"""
homepage = 'https://github.com/hpcugent/vsc-base/'
- url = 'https://pypi.io/packages/source/v/vsc-base/vsc-base-2.5.8.tar.gz'
+ pypi = 'vsc-base/vsc-base-2.5.8.tar.gz'
version('2.5.8', sha256='7fcd300f842edf4baade7d0b7a3b462ca7dfb2a411a7532694a90127c6646ee2')
diff --git a/var/spack/repos/builtin/packages/py-vsc-install/package.py b/var/spack/repos/builtin/packages/py-vsc-install/package.py
index fb0e2135d5..a4155ee2d5 100644
--- a/var/spack/repos/builtin/packages/py-vsc-install/package.py
+++ b/var/spack/repos/builtin/packages/py-vsc-install/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,7 +12,7 @@ class PyVscInstall(PythonPackage):
"""
homepage = 'https://github.com/hpcugent/vsc-install/'
- url = 'https://pypi.io/packages/source/v/vsc-install/vsc-install-0.10.25.tar.gz'
+ pypi = 'vsc-install/vsc-install-0.10.25.tar.gz'
version('0.10.25', sha256='744fa52b45577251d94e9298ecb115afd295f2530eba64c524f469b5e283f19c')
diff --git a/var/spack/repos/builtin/packages/py-vsts-cd-manager/package.py b/var/spack/repos/builtin/packages/py-vsts-cd-manager/package.py
index 0e44620e69..5891351a76 100644
--- a/var/spack/repos/builtin/packages/py-vsts-cd-manager/package.py
+++ b/var/spack/repos/builtin/packages/py-vsts-cd-manager/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyVstsCdManager(PythonPackage):
"""Python wrapper around some of the VSTS APIs."""
homepage = "https://github.com/microsoft/vsts-cd-manager"
- url = "https://pypi.io/packages/source/v/vsts-cd-manager/vsts-cd-manager-1.0.2.tar.gz"
+ pypi = "vsts-cd-manager/vsts-cd-manager-1.0.2.tar.gz"
version('1.0.2', sha256='0bb09059cd553e1c206e92ef324cb0dcf92334846d646c44c684f6256b86447b')
diff --git a/var/spack/repos/builtin/packages/py-vsts/package.py b/var/spack/repos/builtin/packages/py-vsts/package.py
index ed597e3cbd..75eb7ac9b6 100644
--- a/var/spack/repos/builtin/packages/py-vsts/package.py
+++ b/var/spack/repos/builtin/packages/py-vsts/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyVsts(PythonPackage):
"""Python wrapper around the VSTS APIs."""
homepage = "https://github.com/Microsoft/vsts-python-api"
- url = "https://pypi.io/packages/source/v/vsts/vsts-0.1.25.tar.gz"
+ pypi = "vsts/vsts-0.1.25.tar.gz"
version('0.1.25', sha256='da179160121f5b38be061dbff29cd2b60d5d029b2207102454d77a7114e64f97')
diff --git a/var/spack/repos/builtin/packages/py-walinuxagent/package.py b/var/spack/repos/builtin/packages/py-walinuxagent/package.py
index 8d4bf4cb9f..079dd8cb28 100644
--- a/var/spack/repos/builtin/packages/py-walinuxagent/package.py
+++ b/var/spack/repos/builtin/packages/py-walinuxagent/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-wand/package.py b/var/spack/repos/builtin/packages/py-wand/package.py
index 17a5af30b3..ae1bf545a2 100644
--- a/var/spack/repos/builtin/packages/py-wand/package.py
+++ b/var/spack/repos/builtin/packages/py-wand/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyWand(PythonPackage):
"""
homepage = "http://docs.wand-py.org"
- url = "https://pypi.io/packages/source/W/Wand/Wand-0.5.6.tar.gz"
+ pypi = "Wand/Wand-0.5.6.tar.gz"
version('0.5.6', sha256='d06b59f36454024ce952488956319eb542d5dc65f1e1b00fead71df94dbfcf88')
version('0.4.2', sha256='a0ded99a9824ddd82617a4b449164e2c5c93853aaff96f9e0bab8b405d62ca7c')
@@ -24,7 +24,3 @@ class PyWand(PythonPackage):
depends_on('python@2.7:2.8,3.3:', type=('build', 'run'))
depends_on('py-sphinx@1:', type='build', when='+docs')
-
- depends_on('py-pytest@2.3.0:', type='test')
- depends_on('py-pytest-xdist@1.8:', type='test')
- depends_on('py-psutil@1.0.1:', type='test')
diff --git a/var/spack/repos/builtin/packages/py-wandb/package.py b/var/spack/repos/builtin/packages/py-wandb/package.py
index 9c3348cca8..5dbb59999d 100644
--- a/var/spack/repos/builtin/packages/py-wandb/package.py
+++ b/var/spack/repos/builtin/packages/py-wandb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-warlock/package.py b/var/spack/repos/builtin/packages/py-warlock/package.py
index 60e36680e3..55177bd0ec 100644
--- a/var/spack/repos/builtin/packages/py-warlock/package.py
+++ b/var/spack/repos/builtin/packages/py-warlock/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-wasabi/package.py b/var/spack/repos/builtin/packages/py-wasabi/package.py
index c03d14f3e1..9629741e35 100644
--- a/var/spack/repos/builtin/packages/py-wasabi/package.py
+++ b/var/spack/repos/builtin/packages/py-wasabi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,9 +8,8 @@ class PyWasabi(PythonPackage):
"""wasabi: A lightweight console printing and formatting toolkit."""
homepage = "https://ines.io/"
- url = "https://pypi.io/packages/source/w/wasabi/wasabi-0.6.0.tar.gz"
+ pypi = "wasabi/wasabi-0.6.0.tar.gz"
version('0.6.0', sha256='b8dd3e963cd693fde1eb6bfbecf51790171aa3534fa299faf35cf269f2fd6063')
depends_on('py-setuptools', type='build')
- depends_on('py-pytest', type='test')
diff --git a/var/spack/repos/builtin/packages/py-watchdog/package.py b/var/spack/repos/builtin/packages/py-watchdog/package.py
index c4f5c5b233..cbeaf68879 100644
--- a/var/spack/repos/builtin/packages/py-watchdog/package.py
+++ b/var/spack/repos/builtin/packages/py-watchdog/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-wcsaxes/package.py b/var/spack/repos/builtin/packages/py-wcsaxes/package.py
index eff494c3c6..fe73bb354b 100644
--- a/var/spack/repos/builtin/packages/py-wcsaxes/package.py
+++ b/var/spack/repos/builtin/packages/py-wcsaxes/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-wcwidth/package.py b/var/spack/repos/builtin/packages/py-wcwidth/package.py
index 150ad6793c..67c05b27c4 100644
--- a/var/spack/repos/builtin/packages/py-wcwidth/package.py
+++ b/var/spack/repos/builtin/packages/py-wcwidth/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyWcwidth(PythonPackage):
"""Measures number of Terminal column cells of wide-character codes"""
- homepage = "https://pypi.python.org/pypi/wcwidth"
- url = "https://pypi.io/packages/source/w/wcwidth/wcwidth-0.1.7.tar.gz"
+ pypi = "wcwidth/wcwidth-0.1.7.tar.gz"
version('0.1.7', sha256='3df37372226d6e63e1b1e1eda15c594bca98a22d33a23832a90998faa96bc65e')
diff --git a/var/spack/repos/builtin/packages/py-weave/package.py b/var/spack/repos/builtin/packages/py-weave/package.py
index bb45340d84..9c448f8119 100644
--- a/var/spack/repos/builtin/packages/py-weave/package.py
+++ b/var/spack/repos/builtin/packages/py-weave/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,7 +15,7 @@ class PyWeave(PythonPackage):
``scipy.weave``. For new code, users are recommended to use Cython."""
homepage = "https://www.github.com/scipy/weave"
- url = "https://pypi.io/packages/source/w/weave/weave-0.17.0.tar.gz"
+ pypi = "weave/weave-0.17.0.tar.gz"
version('0.17.0', sha256='2703f3ae6d23ad47b5f09b6bcb7affd0fb587120a0c973e7be40ef24de709998')
diff --git a/var/spack/repos/builtin/packages/py-webencodings/package.py b/var/spack/repos/builtin/packages/py-webencodings/package.py
index fd65a0655d..328d3dd031 100644
--- a/var/spack/repos/builtin/packages/py-webencodings/package.py
+++ b/var/spack/repos/builtin/packages/py-webencodings/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyWebencodings(PythonPackage):
"""This is a Python implementation of the WHATWG Encoding standard."""
homepage = "https://github.com/gsnedders/python-webencodings"
- url = "https://pypi.io/packages/source/w/webencodings/webencodings-0.5.1.tar.gz"
+ pypi = "webencodings/webencodings-0.5.1.tar.gz"
version('0.5.1', sha256='b36a1c245f2d304965eb4e0a82848379241dc04b865afcc4aab16748587e1923')
diff --git a/var/spack/repos/builtin/packages/py-webkit-server/package.py b/var/spack/repos/builtin/packages/py-webkit-server/package.py
index c3aebca85e..985c6d511d 100644
--- a/var/spack/repos/builtin/packages/py-webkit-server/package.py
+++ b/var/spack/repos/builtin/packages/py-webkit-server/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyWebkitServer(PythonPackage):
"""a Webkit-based, headless web client"""
homepage = "https://github.com/niklasb/webkit-server"
- url = "https://pypi.io/packages/source/w/webkit-server/webkit-server-1.0.tar.gz"
+ pypi = "webkit-server/webkit-server-1.0.tar.gz"
git = "https://github.com/niklasb/webkit-server.git"
version('develop', branch='master')
diff --git a/var/spack/repos/builtin/packages/py-weblogo/package.py b/var/spack/repos/builtin/packages/py-weblogo/package.py
index d48fb5b381..e988f2905a 100644
--- a/var/spack/repos/builtin/packages/py-weblogo/package.py
+++ b/var/spack/repos/builtin/packages/py-weblogo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyWeblogo(PythonPackage):
sequence logos as easy and painless as possible."""
homepage = "http://weblogo.threeplusone.com"
- url = "https://pypi.io/packages/source/w/weblogo/weblogo-3.6.0.tar.gz"
+ pypi = "weblogo/weblogo-3.6.0.tar.gz"
version('3.6.0', sha256='af5a9f065581f18d71bd7c22b160c1e443932f22cab992d439d3dc8757c80a85')
diff --git a/var/spack/repos/builtin/packages/py-websocket-client/package.py b/var/spack/repos/builtin/packages/py-websocket-client/package.py
index c55df5e899..e815f96c89 100644
--- a/var/spack/repos/builtin/packages/py-websocket-client/package.py
+++ b/var/spack/repos/builtin/packages/py-websocket-client/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ class PyWebsocketClient(PythonPackage):
"""WebSocket client for Python. hybi13 is supported."""
homepage = "https://github.com/websocket-client/websocket-client.git"
- url = "https://pypi.io/packages/source/w/websocket_client/websocket_client-0.57.0.tar.gz"
+ pypi = "websocket_client/websocket_client-0.57.0.tar.gz"
version('0.57.0', sha256='d735b91d6d1692a6a181f2a8c9e0238e5f6373356f561bb9dc4c7af36f452010')
version('0.56.0', sha256='1fd5520878b68b84b5748bb30e592b10d0a91529d5383f74f4964e72b297fd3a')
diff --git a/var/spack/repos/builtin/packages/py-websockets/package.py b/var/spack/repos/builtin/packages/py-websockets/package.py
index 891678934c..4e592f4aea 100644
--- a/var/spack/repos/builtin/packages/py-websockets/package.py
+++ b/var/spack/repos/builtin/packages/py-websockets/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-werkzeug/package.py b/var/spack/repos/builtin/packages/py-werkzeug/package.py
index 876deeb445..55881647b9 100644
--- a/var/spack/repos/builtin/packages/py-werkzeug/package.py
+++ b/var/spack/repos/builtin/packages/py-werkzeug/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyWerkzeug(PythonPackage):
"""The Swiss Army knife of Python web development"""
homepage = "http://werkzeug.pocoo.org"
- url = "https://pypi.io/packages/source/W/Werkzeug/Werkzeug-0.16.0.tar.gz"
+ pypi = "Werkzeug/Werkzeug-0.16.0.tar.gz"
version('0.16.0', sha256='7280924747b5733b246fe23972186c6b348f9ae29724135a6dfc1e53cea433e7')
version('0.15.4', sha256='a0b915f0815982fb2a09161cb8f31708052d0951c3ba433ccc5e1aa276507ca6')
@@ -19,6 +19,3 @@ class PyWerkzeug(PythonPackage):
depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
- depends_on('py-pytest', type='test')
- depends_on('py-hypothesis', type='test')
- depends_on('py-requests', type='test')
diff --git a/var/spack/repos/builtin/packages/py-whatshap/package.py b/var/spack/repos/builtin/packages/py-whatshap/package.py
index 62ff90ff82..68ac8b9df0 100644
--- a/var/spack/repos/builtin/packages/py-whatshap/package.py
+++ b/var/spack/repos/builtin/packages/py-whatshap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-wheel/package.py b/var/spack/repos/builtin/packages/py-wheel/package.py
index 846d315650..7edb545b93 100644
--- a/var/spack/repos/builtin/packages/py-wheel/package.py
+++ b/var/spack/repos/builtin/packages/py-wheel/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,9 @@ class PyWheel(PythonPackage):
"""A built-package format for Python."""
homepage = "https://github.com/pypa/wheel"
- url = "https://pypi.io/packages/source/w/wheel/wheel-0.34.2.tar.gz"
+ pypi = "wheel/wheel-0.34.2.tar.gz"
+ version('0.35.1', sha256='99a22d87add3f634ff917310a3d87e499f19e663413a52eb9232c447aa646c9f')
version('0.34.2', sha256='8788e9155fe14f54164c1b9eb0a319d98ef02c160725587ad60f14ddc57b6f96')
version('0.33.4', sha256='62fcfa03d45b5b722539ccbc07b190e4bfff4bb9e3a4d470dd9f6a0981002565')
version('0.33.1', sha256='66a8fd76f28977bb664b098372daef2b27f60dc4d1688cfab7b37a09448f0e9d')
@@ -25,5 +26,3 @@ class PyWheel(PythonPackage):
depends_on('py-setuptools@40.9.0:', when='@0.34.1:', type=('build', 'run'))
depends_on('py-setuptools', type=('build', 'run'))
depends_on('py-setuptools-scm@3.4:', when='@0.34.0', type='build')
- depends_on('py-pytest@3.0.0:', type='test')
- depends_on('py-pytest-cov', type='test')
diff --git a/var/spack/repos/builtin/packages/py-whichcraft/package.py b/var/spack/repos/builtin/packages/py-whichcraft/package.py
index 24dec3f888..2456c4f871 100644
--- a/var/spack/repos/builtin/packages/py-whichcraft/package.py
+++ b/var/spack/repos/builtin/packages/py-whichcraft/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-widgetsnbextension/package.py b/var/spack/repos/builtin/packages/py-widgetsnbextension/package.py
index 347641a8da..1650736439 100644
--- a/var/spack/repos/builtin/packages/py-widgetsnbextension/package.py
+++ b/var/spack/repos/builtin/packages/py-widgetsnbextension/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyWidgetsnbextension(PythonPackage):
"""IPython HTML widgets for Jupyter"""
- homepage = "https://pypi.python.org/pypi/widgetsnbextension"
- url = "https://pypi.io/packages/source/w/widgetsnbextension/widgetsnbextension-1.2.6.tar.gz"
+ pypi = "widgetsnbextension/widgetsnbextension-1.2.6.tar.gz"
version('3.5.1', sha256='079f87d87270bce047512400efd70238820751a11d2d8cb137a5a5bdbaf255c7')
version('3.4.2', sha256='fa618be8435447a017fd1bf2c7ae922d0428056cfc7449f7a8641edf76b48265')
diff --git a/var/spack/repos/builtin/packages/py-workload-automation/package.py b/var/spack/repos/builtin/packages/py-workload-automation/package.py
index bc65e210ff..d6ed783527 100644
--- a/var/spack/repos/builtin/packages/py-workload-automation/package.py
+++ b/var/spack/repos/builtin/packages/py-workload-automation/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-wradlib/package.py b/var/spack/repos/builtin/packages/py-wradlib/package.py
index 14ae8b347a..f5b9c0455c 100644
--- a/var/spack/repos/builtin/packages/py-wradlib/package.py
+++ b/var/spack/repos/builtin/packages/py-wradlib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,7 +14,7 @@ class PyWradlib(PythonPackage):
attenuation) and visualising the data."""
homepage = "https://docs.wradlib.org"
- url = "https://pypi.io/packages/source/w/wradlib/wradlib-1.5.0.tar.gz"
+ pypi = "wradlib/wradlib-1.5.0.tar.gz"
version('1.5.0', sha256='9bf0742d7235ea830e83c2269f6b5d1afd83d92696efce0a7bcdb0c4f6604784')
diff --git a/var/spack/repos/builtin/packages/py-wrapt/package.py b/var/spack/repos/builtin/packages/py-wrapt/package.py
index bc2a4ae804..6d2aec630e 100644
--- a/var/spack/repos/builtin/packages/py-wrapt/package.py
+++ b/var/spack/repos/builtin/packages/py-wrapt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,9 @@ class PyWrapt(PythonPackage):
"""Module for decorators, wrappers and monkey patching."""
homepage = "https://github.com/GrahamDumpleton/wrapt"
- url = "https://pypi.io/packages/source/w/wrapt/wrapt-1.11.2.tar.gz"
+ pypi = "wrapt/wrapt-1.11.2.tar.gz"
+ version('1.12.1', sha256='b62ffa81fb85f4332a4f609cab4ac40709470da05643a082ec1eb88e6d9b97d7')
version('1.11.2', sha256='565a021fd19419476b9362b05eeaa094178de64f8361e44468f9e9d7843901e1')
version('1.11.1', sha256='4aea003270831cceb8a90ff27c4031da6ead7ec1886023b80ce0dfe0adf61533')
version('1.10.10', sha256='42160c91b77f1bc64a955890038e02f2f72986c01d462d53cb6cb039b995cdd9')
diff --git a/var/spack/repos/builtin/packages/py-wstool/package.py b/var/spack/repos/builtin/packages/py-wstool/package.py
new file mode 100644
index 0000000000..9673e97495
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-wstool/package.py
@@ -0,0 +1,18 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+class PyWstool(PythonPackage):
+ """A tool for managing a workspace of multiple heterogenous SCM
+ repositories."""
+
+ homepage = "https://wiki.ros.org/wstool"
+ pypi = "wstool/wstool-0.1.17.tar.gz"
+
+ version('0.1.17', sha256='c79b4f110ef17004c24972d742d2c5f606b0f6b424295e7ed029a48e857de237')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-vcstools@0.1.38:', type=('build', 'run'))
+ depends_on('py-pyyaml', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-wub/package.py b/var/spack/repos/builtin/packages/py-wub/package.py
index 13e6309667..53681bc0d5 100644
--- a/var/spack/repos/builtin/packages/py-wub/package.py
+++ b/var/spack/repos/builtin/packages/py-wub/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,13 +17,13 @@ class PyWub(PythonPackage):
version('0.4.0', sha256='1526aa392bccac71b872211c45f5b403ad3d55f5762e0ed34ff9086bc1dab6fd')
depends_on('py-six', type=('build', 'run'))
- depends_on('py-pytest', type=('build', 'run', 'test'))
- depends_on('py-pycmd', type=('build', 'run', 'test'))
+ depends_on('py-pytest', type=('build', 'run'))
+ depends_on('py-pycmd', type=('build', 'run'))
depends_on('py-biopython', type=('build', 'run'))
- depends_on('py-numpy', type=('build', 'run', 'test'))
+ depends_on('py-numpy', type=('build', 'run'))
depends_on('py-matplotlib', type=('build', 'run'))
depends_on('py-seaborn', type=('build', 'run'))
- depends_on('py-editdistance', type=('build', 'run', 'test'))
+ depends_on('py-editdistance', type=('build', 'run'))
depends_on('py-pandas@0.20.2:', type=('build', 'run'))
depends_on('py-pysam', type=('build', 'run'))
depends_on('py-tqdm', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-wxmplot/package.py b/var/spack/repos/builtin/packages/py-wxmplot/package.py
index 0d88748979..06962e1515 100644
--- a/var/spack/repos/builtin/packages/py-wxmplot/package.py
+++ b/var/spack/repos/builtin/packages/py-wxmplot/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,9 +10,7 @@ class PyWxmplot(PythonPackage):
"""wxPython plotting widgets using matplotlib."""
homepage = "https://newville.github.io/wxmplot/"
- url = "https://pypi.io/packages/source/w/wxmplot/wxmplot-0.9.38.tar.gz"
-
- import_modules = ['wxmplot']
+ pypi = "wxmplot/wxmplot-0.9.38.tar.gz"
version('0.9.38', sha256='82dc64abb42bdd03ec7067a3aa2a475001f2bc8e4772149bae47facf460c0081')
@@ -21,4 +19,3 @@ class PyWxmplot(PythonPackage):
depends_on('py-six@1.10:', type=('build', 'run'))
depends_on('py-matplotlib@2.0:', type=('build', 'run'))
depends_on('py-wxpython@4.0.3:', type=('build', 'run'))
- depends_on('py-pytest', type='test')
diff --git a/var/spack/repos/builtin/packages/py-wxpython/package.py b/var/spack/repos/builtin/packages/py-wxpython/package.py
index 0eef3935f0..c83bbe1801 100644
--- a/var/spack/repos/builtin/packages/py-wxpython/package.py
+++ b/var/spack/repos/builtin/packages/py-wxpython/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,19 +10,7 @@ class PyWxpython(PythonPackage):
"""Cross platform GUI toolkit for Python."""
homepage = "https://www.wxpython.org/"
- url = "https://pypi.io/packages/source/w/wxPython/wxPython-4.0.6.tar.gz"
-
- import_modules = [
- 'wx', 'wx.tools', 'wx.py', 'wx.lib', 'wx.lib.analogclock',
- 'wx.lib.floatcanvas', 'wx.lib.plot', 'wx.lib.mixins', 'wx.lib.gizmos',
- 'wx.lib.art', 'wx.lib.pdfviewer', 'wx.lib.colourchooser',
- 'wx.lib.masked', 'wx.lib.ogl', 'wx.lib.wxcairo', 'wx.lib.agw',
- 'wx.lib.pubsub', 'wx.lib.editor', 'wx.lib.analogclock.lib_setup',
- 'wx.lib.floatcanvas.Utilities', 'wx.lib.plot.examples',
- 'wx.lib.agw.aui', 'wx.lib.agw.ribbon', 'wx.lib.agw.persist',
- 'wx.lib.pubsub.core', 'wx.lib.pubsub.utils', 'wx.lib.pubsub.core.arg1',
- 'wx.lib.pubsub.core.kwargs'
- ]
+ pypi = "wxPython/wxPython-4.0.6.tar.gz"
version('4.0.6', sha256='35cc8ae9dd5246e2c9861bb796026bbcb9fb083e4d49650f776622171ecdab37')
diff --git a/var/spack/repos/builtin/packages/py-xarray/package.py b/var/spack/repos/builtin/packages/py-xarray/package.py
index 6615247e5c..77af540a0c 100644
--- a/var/spack/repos/builtin/packages/py-xarray/package.py
+++ b/var/spack/repos/builtin/packages/py-xarray/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,8 +10,15 @@ class PyXarray(PythonPackage):
"""N-D labeled arrays and datasets in Python"""
homepage = "https://github.com/pydata/xarray"
- url = "https://pypi.io/packages/source/x/xarray/xarray-0.9.1.tar.gz"
+ pypi = "xarray/xarray-0.9.1.tar.gz"
+ # 'xarray.tests' requires pytest
+ import_modules = [
+ 'xarray', 'xarray.core', 'xarray.plot', 'xarray.util',
+ 'xarray.backends', 'xarray.coding'
+ ]
+
+ version('0.16.2', sha256='38e8439d6c91bcd5b7c0fca349daf8e0643ac68850c987262d53526e9d7d01e4')
version('0.14.0', sha256='a8b93e1b0af27fa7de199a2d36933f1f5acc9854783646b0f1b37fed9b4da091')
version('0.13.0', sha256='80e5746ffdebb96b997dba0430ff02d98028ef3828e6db6106cbbd6d62e32825')
version('0.12.0', sha256='856fd062c55208a248ac3784cac8d3524b355585387043efc92a4188eede57f3')
@@ -23,12 +30,16 @@ class PyXarray(PythonPackage):
depends_on('python@3.5.3:', when='@0.13', type=('build', 'run'))
depends_on('python@3.6:', when='@0.14:', type=('build', 'run'))
- depends_on('py-setuptools', type='build')
+ depends_on('py-setuptools', when='@:0.15', type='build')
+ depends_on('py-setuptools@38.4:', when='@0.16:', type=('build', 'run'))
+ depends_on('py-setuptools-scm', when='@0.15:', type='build')
depends_on('py-pandas@0.15.0:', when='@0.9.1', type=('build', 'run'))
depends_on('py-pandas@0.19.2:', when='@0.11:0.13', type=('build', 'run'))
- depends_on('py-pandas@0.24:', when='@0.14:', type=('build', 'run'))
+ depends_on('py-pandas@0.24:', when='@0.14.0', type=('build', 'run'))
+ depends_on('py-pandas@0.25:', when='@0.15:', type=('build', 'run'))
depends_on('py-numpy@1.7:', when='@0.9.1', type=('build', 'run'))
depends_on('py-numpy@1.12:', when='@0.11:0.13', type=('build', 'run'))
- depends_on('py-numpy@1.14:', when='@0.14:', type=('build', 'run'))
+ depends_on('py-numpy@1.14:', when='@0.14.0', type=('build', 'run'))
+ depends_on('py-numpy@1.15:', when='@0.15:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-xattr/package.py b/var/spack/repos/builtin/packages/py-xattr/package.py
index 8375fa8c09..a40fd278d6 100644
--- a/var/spack/repos/builtin/packages/py-xattr/package.py
+++ b/var/spack/repos/builtin/packages/py-xattr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyXattr(PythonPackage):
"""
homepage = "http://pyxattr.k1024.org/"
- url = "https://pypi.io/packages/source/x/xattr/xattr-0.9.6.tar.gz"
+ pypi = "xattr/xattr-0.9.6.tar.gz"
git = "https://github.com/iustin/pyxattr.git"
version('master', branch='master')
diff --git a/var/spack/repos/builtin/packages/py-xdot/package.py b/var/spack/repos/builtin/packages/py-xdot/package.py
index 684df310d9..12d448eeea 100644
--- a/var/spack/repos/builtin/packages/py-xdot/package.py
+++ b/var/spack/repos/builtin/packages/py-xdot/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,10 +11,12 @@ class PyXdot(PythonPackage):
dot language."""
homepage = "https://github.com/jrfonseca/xdot.py"
- url = "https://pypi.io/packages/source/x/xdot/xdot-1.0.tar.gz"
+ pypi = "xdot/xdot-1.0.tar.gz"
git = "https://github.com/jrfonseca/xdot.py.git"
+ maintainers = ['lee218llnl']
version('master', branch='master')
+ version('1.2', sha256='3df91e6c671869bd2a6b2a8883fa3476dbe2ba763bd2a7646cf848a9eba71b70')
version('1.0', sha256='7e067896d729af82f1fd0758e265f129944d469c30f550e3f15dbdb751cc42a1')
version('0.9', sha256='a33701664ecfefe7c7313a120a587e87334f3a566409bc451538fcde5edd6907')
@@ -28,6 +30,7 @@ class PyXdot(PythonPackage):
depends_on('atk', type=('build', 'run'))
depends_on('gdk-pixbuf', type=('build', 'run'))
depends_on('gtkplus', type=('build', 'run'))
+ depends_on('py-numpy', type=('build', 'run'), when='@1.2:')
@run_after('install')
def post_install(self):
diff --git a/var/spack/repos/builtin/packages/py-xenv/package.py b/var/spack/repos/builtin/packages/py-xenv/package.py
index 1ccda61959..cf80182cc7 100644
--- a/var/spack/repos/builtin/packages/py-xenv/package.py
+++ b/var/spack/repos/builtin/packages/py-xenv/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyXenv(PythonPackage):
"""Helpers to work with the environment in a platform independent way."""
homepage = "https://gitlab.cern.ch/gaudi/xenv"
- url = "https://pypi.io/packages/source/x/xenv/xenv-1.0.0.tar.gz"
+ pypi = "xenv/xenv-1.0.0.tar.gz"
git = "https://gitlab.cern.ch/gaudi/xenv.git"
version('develop', branch='master')
diff --git a/var/spack/repos/builtin/packages/py-xgboost/package.py b/var/spack/repos/builtin/packages/py-xgboost/package.py
new file mode 100644
index 0000000000..5a12966afe
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-xgboost/package.py
@@ -0,0 +1,39 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+from spack import *
+
+
+class PyXgboost(PythonPackage):
+ """XGBoost is an optimized distributed gradient boosting library designed to be
+ highly efficient, flexible and portable."""
+
+ homepage = 'https://xgboost.ai/'
+ pypi = 'xgboost/xgboost-1.3.3.tar.gz'
+
+ version('1.3.3', sha256='397051647bb837915f3ff24afc7d49f7fca57630ffd00fb5ef66ae2a0881fb43')
+
+ variant('pandas', default=False, description='Enable Pandas extensions for training.')
+ variant('scikit-learn', default=False, description='Enable scikit-learn extensions for training.')
+ variant('dask', default=False, description='Enables Dask extensions for distributed training.')
+ variant('plotting', default=False, description='Enables tree and importance plotting.')
+
+ depends_on('cmake', type='build')
+ depends_on('python@3.6:', type=('build', 'run'))
+ depends_on('py-setuptools', type=('build'))
+ depends_on('py-numpy', type=('build', 'run'))
+ depends_on('py-scipy', type=('build', 'run'))
+
+ depends_on('py-pandas', when='+pandas', type=('build', 'run'))
+
+ depends_on('py-scikit-learn', when='+scikit-learn', type=('build', 'run'))
+
+ depends_on('py-dask', when='+dask', type=('build', 'run'))
+ depends_on('py-pandas', when='+dask', type=('build', 'run'))
+ depends_on('py-distributed', when='+dask', type=('build', 'run'))
+
+ depends_on('py-graphviz', when='+plotting', type=('build', 'run'))
+ depends_on('py-matplotlib', when='+plotting', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-xlrd/package.py b/var/spack/repos/builtin/packages/py-xlrd/package.py
index ae155a964d..a25feef600 100644
--- a/var/spack/repos/builtin/packages/py-xlrd/package.py
+++ b/var/spack/repos/builtin/packages/py-xlrd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,6 +11,6 @@ class PyXlrd(PythonPackage):
spreadsheet files"""
homepage = 'http://www.python-excel.org/'
- url = "https://pypi.io/packages/source/x/xlrd/xlrd-0.9.4.tar.gz"
+ pypi = "xlrd/xlrd-0.9.4.tar.gz"
version('0.9.4', sha256='8e8d3359f39541a6ff937f4030db54864836a06e42988c452db5b6b86d29ea72')
diff --git a/var/spack/repos/builtin/packages/py-xlsxwriter/package.py b/var/spack/repos/builtin/packages/py-xlsxwriter/package.py
index 6989800313..34e93b0606 100644
--- a/var/spack/repos/builtin/packages/py-xlsxwriter/package.py
+++ b/var/spack/repos/builtin/packages/py-xlsxwriter/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,6 @@ class PyXlsxwriter(PythonPackage):
"""XlsxWriter is a Python module for writing files in the Excel 2007+ XLSX
file format."""
- homepage = "https://pypi.python.org/pypi/XlsxWriter"
- url = "https://pypi.io/packages/source/X/XlsxWriter/XlsxWriter-1.0.2.tar.gz"
+ pypi = "XlsxWriter/XlsxWriter-1.0.2.tar.gz"
version('1.0.2', sha256='a26bbbafff88abffce592ffd5dfaa4c9f08dc44ef4afbf45c70d3e270325f856')
diff --git a/var/spack/repos/builtin/packages/py-xlwt/package.py b/var/spack/repos/builtin/packages/py-xlwt/package.py
index 981f3e5df7..b393299ef4 100644
--- a/var/spack/repos/builtin/packages/py-xlwt/package.py
+++ b/var/spack/repos/builtin/packages/py-xlwt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,8 +12,7 @@ class PyXlwt(PythonPackage):
MS Excel 97/2000/XP/2003 XLS files, on any platform,
with Python 2.6, 2.7, 3.3+."""
- homepage = "https://pypi.org/project/xlwt/"
- url = "https://pypi.io/packages/source/x/xlwt/xlwt-1.3.0.tar.gz"
+ pypi = "xlwt/xlwt-1.3.0.tar.gz"
version('1.3.0', sha256='c59912717a9b28f1a3c2a98fd60741014b06b043936dcecbc113eaaada156c88')
diff --git a/var/spack/repos/builtin/packages/py-xmlrunner/package.py b/var/spack/repos/builtin/packages/py-xmlrunner/package.py
index c6e7f3a21f..c27223bcd6 100644
--- a/var/spack/repos/builtin/packages/py-xmlrunner/package.py
+++ b/var/spack/repos/builtin/packages/py-xmlrunner/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyXmlrunner(PythonPackage):
"""PyUnit-based test runner with JUnit like XML reporting."""
homepage = "https://github.com/pycontribs/xmlrunner"
- url = "https://pypi.io/packages/source/x/xmlrunner/xmlrunner-1.7.7.tar.gz"
+ pypi = "xmlrunner/xmlrunner-1.7.7.tar.gz"
version('1.7.7', sha256='5a6113d049eca7646111ee657266966e5bbfb0b5ceb2e83ee0772e16d7110f39')
diff --git a/var/spack/repos/builtin/packages/py-xmltodict/package.py b/var/spack/repos/builtin/packages/py-xmltodict/package.py
index 49a3fd4bd8..2b64e79674 100644
--- a/var/spack/repos/builtin/packages/py-xmltodict/package.py
+++ b/var/spack/repos/builtin/packages/py-xmltodict/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyXmltodict(PythonPackage):
you are working with JSON."""
homepage = "https://github.com/martinblech/xmltodict"
- url = "https://pypi.io/packages/source/x/xmltodict/xmltodict-0.12.0.tar.gz"
+ pypi = "xmltodict/xmltodict-0.12.0.tar.gz"
version('0.12.0', sha256='50d8c638ed7ecb88d90561beedbf720c9b4e851a9fa6c47ebd64e99d166d8a21')
diff --git a/var/spack/repos/builtin/packages/py-xopen/package.py b/var/spack/repos/builtin/packages/py-xopen/package.py
index 65bbb0fa73..ecfd23d7eb 100644
--- a/var/spack/repos/builtin/packages/py-xopen/package.py
+++ b/var/spack/repos/builtin/packages/py-xopen/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,9 +13,11 @@ class PyXopen(PythonPackage):
recognized by their file extensions .gz, .bz2 or .xz."""
homepage = "https://github.com/marcelm/xopen"
- url = "https://pypi.io/packages/source/x/xopen/xopen-0.1.1.tar.gz"
+ pypi = "xopen/xopen-0.1.1.tar.gz"
+ version('1.0.1', sha256='79d7e425fb0930b0153eb6beba9a540ca3e07ac254ca828577ad2e8fa24105dc')
version('0.9.0', sha256='1e3918c8a5cd2bd128ba05b3b883ee322349219c99c305e10114638478e3162a')
+ version('0.8.4', sha256='dcd8f5ef5da5564f514a990573a48a0c347ee1fdbb9b6374d31592819868f7ba')
version('0.8.2', sha256='003749e09af74103a29e9c64c468c03e084aa6dfe6feff4fe22366679a6534f7')
version('0.5.0', sha256='b097cd25e8afec42b6e1780c1f6315016171b5b6936100cdf307d121e2cbab9f')
version('0.1.1', sha256='d1320ca46ed464a59db4c27c7a44caf5e268301e68319f0295d06bf6a9afa6f3')
diff --git a/var/spack/repos/builtin/packages/py-xpyb/package.py b/var/spack/repos/builtin/packages/py-xpyb/package.py
index 7960870492..8d385c9a4a 100644
--- a/var/spack/repos/builtin/packages/py-xpyb/package.py
+++ b/var/spack/repos/builtin/packages/py-xpyb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,4 +19,4 @@ class PyXpyb(AutotoolsPackage):
depends_on('libxcb@1.5:')
- depends_on('xcb-proto@1.7.1:', type='build')
+ depends_on('xcb-proto@1.7.1:')
diff --git a/var/spack/repos/builtin/packages/py-xvfbwrapper/package.py b/var/spack/repos/builtin/packages/py-xvfbwrapper/package.py
index 766432857c..da791421f3 100644
--- a/var/spack/repos/builtin/packages/py-xvfbwrapper/package.py
+++ b/var/spack/repos/builtin/packages/py-xvfbwrapper/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyXvfbwrapper(PythonPackage):
"""run headless display inside X virtual framebuffer (Xvfb)"""
- homepage = "https://pypi.python.org/pypi/xvfbwrapper/0.2.9"
- url = "https://pypi.io/packages/source/x/xvfbwrapper/xvfbwrapper-0.2.9.tar.gz"
+ pypi = "xvfbwrapper/xvfbwrapper-0.2.9.tar.gz"
version('0.2.9', sha256='bcf4ae571941b40254faf7a73432dfc119ad21ce688f1fdec533067037ecfc24')
diff --git a/var/spack/repos/builtin/packages/py-yahmm/package.py b/var/spack/repos/builtin/packages/py-yahmm/package.py
index a612930d49..d499107b5e 100644
--- a/var/spack/repos/builtin/packages/py-yahmm/package.py
+++ b/var/spack/repos/builtin/packages/py-yahmm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyYahmm(PythonPackage):
"""YAHMM is a HMM package for Python, implemented in Cython for speed."""
- homepage = "http://pypi.python.org/pypi/yahmm/"
- url = "https://pypi.io/packages/source/y/yahmm/yahmm-1.1.3.zip"
+ pypi = "yahmm/yahmm-1.1.3.zip"
version('1.1.3', sha256='fe3614ef96da9410468976756fb93dc8235485242c05df01d8e5ed356a7dfb43')
@@ -19,4 +18,3 @@ class PyYahmm(PythonPackage):
depends_on('py-scipy@0.13.3:', type=('build', 'run'))
depends_on('py-matplotlib@1.3.1:', type=('build', 'run'))
depends_on('py-networkx@1.8.1:', type=('build', 'run'))
- depends_on('py-nose@1.3.3:', type='test')
diff --git a/var/spack/repos/builtin/packages/py-yajl/package.py b/var/spack/repos/builtin/packages/py-yajl/package.py
index b6e95ff8e8..62a59b8a7e 100644
--- a/var/spack/repos/builtin/packages/py-yajl/package.py
+++ b/var/spack/repos/builtin/packages/py-yajl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyYajl(PythonPackage):
"""Python bindings for the Yajl JSON encoder/decoder library."""
homepage = "https://github.com/rtyler/py-yajl"
- url = "https://pypi.io/packages/source/y/yajl/yajl-0.3.5.tar.gz"
+ pypi = "yajl/yajl-0.3.5.tar.gz"
version('0.3.5', sha256='432321ea613692a4782a2368a300f57b59c64a3c8508c7465af3fdc045e7bcc2')
diff --git a/var/spack/repos/builtin/packages/py-yamlreader/package.py b/var/spack/repos/builtin/packages/py-yamlreader/package.py
index 2a11c38345..6674625d68 100644
--- a/var/spack/repos/builtin/packages/py-yamlreader/package.py
+++ b/var/spack/repos/builtin/packages/py-yamlreader/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyYamlreader(PythonPackage):
file glob."""
homepage = "http://pyyaml.org/wiki/PyYAML"
- url = "https://pypi.io/packages/source/y/yamlreader/yamlreader-3.0.4.tar.gz"
+ pypi = "yamlreader/yamlreader-3.0.4.tar.gz"
version('3.0.4', sha256='765688036d57104ac26e4500ab088d42f4f2d06687ce3daa26543d7ae38c2470')
diff --git a/var/spack/repos/builtin/packages/py-yapf/package.py b/var/spack/repos/builtin/packages/py-yapf/package.py
index f9834d8dd2..2d31521984 100644
--- a/var/spack/repos/builtin/packages/py-yapf/package.py
+++ b/var/spack/repos/builtin/packages/py-yapf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-yarl/package.py b/var/spack/repos/builtin/packages/py-yarl/package.py
index 3b33ac4776..ccd33ef75a 100644
--- a/var/spack/repos/builtin/packages/py-yarl/package.py
+++ b/var/spack/repos/builtin/packages/py-yarl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-yolk3k/package.py b/var/spack/repos/builtin/packages/py-yolk3k/package.py
index d744f93f94..f256b50bb5 100644
--- a/var/spack/repos/builtin/packages/py-yolk3k/package.py
+++ b/var/spack/repos/builtin/packages/py-yolk3k/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,7 @@ class PyYolk3k(PythonPackage):
adds additional features."""
homepage = "https://github.com/myint/yolk"
- url = "https://pypi.io/packages/source/y/yolk3k/yolk3k-0.9.tar.gz"
+ pypi = "yolk3k/yolk3k-0.9.tar.gz"
version('0.9', sha256='cf8731dd0a9f7ef50b5dc253fe0174383e3fed295a653672aa918c059eef86ae')
diff --git a/var/spack/repos/builtin/packages/py-youtube-dl/package.py b/var/spack/repos/builtin/packages/py-youtube-dl/package.py
index 48fdf7dea7..08efb4f523 100644
--- a/var/spack/repos/builtin/packages/py-youtube-dl/package.py
+++ b/var/spack/repos/builtin/packages/py-youtube-dl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyYoutubeDl(PythonPackage):
sites."""
homepage = "https://github.com/ytdl-org/youtube-dl"
- url = "https://pypi.io/packages/source/y/youtube_dl/youtube_dl-2020.3.24.tar.gz"
+ pypi = "youtube_dl/youtube_dl-2020.3.24.tar.gz"
version('2020.3.24', sha256='4b03efe439f7cae26eba909821d1df00a9a4eb82741cb2e8b78fe29702bd4633')
diff --git a/var/spack/repos/builtin/packages/py-yt/package.py b/var/spack/repos/builtin/packages/py-yt/package.py
index 461e21217b..192cdc275c 100644
--- a/var/spack/repos/builtin/packages/py-yt/package.py
+++ b/var/spack/repos/builtin/packages/py-yt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-ytopt/package.py b/var/spack/repos/builtin/packages/py-ytopt/package.py
index 18cfcac443..f5e33b8f18 100644
--- a/var/spack/repos/builtin/packages/py-ytopt/package.py
+++ b/var/spack/repos/builtin/packages/py-ytopt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/py-zarr/package.py b/var/spack/repos/builtin/packages/py-zarr/package.py
index 0e1dbbeaae..94bff9a7a7 100644
--- a/var/spack/repos/builtin/packages/py-zarr/package.py
+++ b/var/spack/repos/builtin/packages/py-zarr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class PyZarr(PythonPackage):
compressed, N-dimensional arrays."""
homepage = "https://zarr.readthedocs.io"
- url = "https://pypi.io/packages/source/z/zarr/zarr-2.3.2.tar.gz"
+ pypi = "zarr/zarr-2.3.2.tar.gz"
version('2.3.2', sha256='c62d0158fb287151c978904935a177b3d2d318dea3057cfbeac8541915dfa105')
diff --git a/var/spack/repos/builtin/packages/py-zc-buildout/package.py b/var/spack/repos/builtin/packages/py-zc-buildout/package.py
index 6aa1938369..aebafd211a 100644
--- a/var/spack/repos/builtin/packages/py-zc-buildout/package.py
+++ b/var/spack/repos/builtin/packages/py-zc-buildout/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyZcBuildout(PythonPackage):
"""System for managing development buildouts"""
homepage = "http://buildout.org/"
- url = "https://pypi.io/packages/source/z/zc.buildout/zc.buildout-2.13.1.tar.gz"
+ pypi = "zc.buildout/zc.buildout-2.13.1.tar.gz"
version('2.13.1', sha256='3d14d07226963a517295dfad5879d2799e2e3b65b2c61c71b53cb80f5ab11484')
diff --git a/var/spack/repos/builtin/packages/py-zc-lockfile/package.py b/var/spack/repos/builtin/packages/py-zc-lockfile/package.py
index 707448e813..befc4cae6d 100644
--- a/var/spack/repos/builtin/packages/py-zc-lockfile/package.py
+++ b/var/spack/repos/builtin/packages/py-zc-lockfile/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,8 +9,7 @@ from spack import *
class PyZcLockfile(PythonPackage):
"""Basic inter-process locks"""
- homepage = "https://www.python.org/pypi/zc.lockfile"
- url = "https://pypi.io/packages/source/z/zc.lockfile/zc.lockfile-1.4.tar.gz"
+ pypi = "zc.lockfile/zc.lockfile-1.4.tar.gz"
version('1.4', sha256='95a8e3846937ab2991b61703d6e0251d5abb9604e18412e2714e1b90db173253')
diff --git a/var/spack/repos/builtin/packages/py-zict/package.py b/var/spack/repos/builtin/packages/py-zict/package.py
index 5830be23cf..58588c26d5 100644
--- a/var/spack/repos/builtin/packages/py-zict/package.py
+++ b/var/spack/repos/builtin/packages/py-zict/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyZict(PythonPackage):
"""Mutable mapping tools"""
homepage = "http://zict.readthedocs.io/en/latest/"
- url = "https://pypi.io/packages/source/z/zict/zict-1.0.0.tar.gz"
+ pypi = "zict/zict-1.0.0.tar.gz"
version('1.0.0', sha256='e34dd25ea97def518fb4c77f2c27078f3a7d6c965b0a3ac8fe5bdb0a8011a310')
diff --git a/var/spack/repos/builtin/packages/py-zipp/package.py b/var/spack/repos/builtin/packages/py-zipp/package.py
index 424062ee6e..38421acc84 100644
--- a/var/spack/repos/builtin/packages/py-zipp/package.py
+++ b/var/spack/repos/builtin/packages/py-zipp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class PyZipp(PythonPackage):
"""Backport of pathlib-compatible object wrapper for zip files."""
homepage = "https://github.com/jaraco/zipp"
- url = "https://pypi.io/packages/source/z/zipp/zipp-0.6.0.tar.gz"
+ pypi = "zipp/zipp-0.6.0.tar.gz"
version('0.6.0', sha256='3718b1cbcd963c7d4c5511a8240812904164b7f381b647143a89d3b98f9bcd8e')
version('0.5.1', sha256='ca943a7e809cc12257001ccfb99e3563da9af99d52f261725e96dfe0f9275bc3')
diff --git a/var/spack/repos/builtin/packages/py-zope-event/package.py b/var/spack/repos/builtin/packages/py-zope-event/package.py
index 6ad1049a89..054e355eac 100644
--- a/var/spack/repos/builtin/packages/py-zope-event/package.py
+++ b/var/spack/repos/builtin/packages/py-zope-event/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,11 +10,7 @@ class PyZopeEvent(PythonPackage):
"""Very basic event publishing system."""
homepage = "http://github.com/zopefoundation/zope.event"
- url = "https://pypi.io/packages/source/z/zope.event/zope.event-4.3.0.tar.gz"
-
- # FIXME: No idea why this import test fails.
- # Maybe some kind of namespace issue?
- # import_modules = ['zope.event']
+ pypi = "zope.event/zope.event-4.3.0.tar.gz"
version('4.3.0', sha256='e0ecea24247a837c71c106b0341a7a997e3653da820d21ef6c08b32548f733e7')
diff --git a/var/spack/repos/builtin/packages/py-zope-interface/package.py b/var/spack/repos/builtin/packages/py-zope-interface/package.py
index 7a45399ea8..c5545aef0f 100644
--- a/var/spack/repos/builtin/packages/py-zope-interface/package.py
+++ b/var/spack/repos/builtin/packages/py-zope-interface/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,11 +13,7 @@ class PyZopeInterface(PythonPackage):
of the Design By Contract methodology support in Python."""
homepage = "https://github.com/zopefoundation/zope.interface"
- url = "https://pypi.io/packages/source/z/zope.interface/zope.interface-4.5.0.tar.gz"
-
- # FIXME: No idea why these import tests fail.
- # Maybe some kind of namespace issue?
- # import_modules = ['zope.interface', 'zope.interface.common']
+ pypi = "zope.interface/zope.interface-4.5.0.tar.gz"
version('5.1.0', sha256='40e4c42bd27ed3c11b2c983fecfb03356fae1209de10686d03c02c8696a1d90e')
version('4.5.0', sha256='57c38470d9f57e37afb460c399eb254e7193ac7fb8042bd09bdc001981a9c74c')
@@ -26,6 +22,3 @@ class PyZopeInterface(PythonPackage):
depends_on('python@2.7:2.8,3.5:', type=('build', 'run'), when='@5.1.0:')
depends_on('py-setuptools', type=('build', 'run'))
- depends_on('py-zope-event', type='test')
- depends_on('py-nose', type='test')
- depends_on('py-coverage', type='test')
diff --git a/var/spack/repos/builtin/packages/py-zxcvbn/package.py b/var/spack/repos/builtin/packages/py-zxcvbn/package.py
index d95f9d60ab..722a09b8a6 100644
--- a/var/spack/repos/builtin/packages/py-zxcvbn/package.py
+++ b/var/spack/repos/builtin/packages/py-zxcvbn/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/pythia6/package.py b/var/spack/repos/builtin/packages/pythia6/package.py
index fee36c1830..953df4405b 100644
--- a/var/spack/repos/builtin/packages/pythia6/package.py
+++ b/var/spack/repos/builtin/packages/pythia6/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -33,6 +33,8 @@ class Pythia6(CMakePackage):
homepage = 'https://pythiasix.hepforge.org/'
url = 'http://www.hepforge.org/archive/pythiasix/pythia-6.4.28.tgz'
+ tags = ['hep']
+
version('6.4.28',
sha256='01cbff47e99365b5e46f6d62c1735d3cae1932c4710604850d59f538cb758020')
diff --git a/var/spack/repos/builtin/packages/pythia8/package.py b/var/spack/repos/builtin/packages/pythia8/package.py
index 856aa103b5..7027e95211 100644
--- a/var/spack/repos/builtin/packages/pythia8/package.py
+++ b/var/spack/repos/builtin/packages/pythia8/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,6 +15,8 @@ class Pythia8(AutotoolsPackage):
homepage = "http://home.thep.lu.se/Pythia/"
url = "http://home.thep.lu.se/~torbjorn/pythia8/pythia8244.tgz"
+ tags = ['hep']
+
maintainers = ['ChristianTackeGSI']
version('8303', sha256='cd7c2b102670dae74aa37053657b4f068396988ef7da58fd3c318c84dc37913e')
diff --git a/var/spack/repos/builtin/packages/python/package.py b/var/spack/repos/builtin/packages/python/package.py
index 4d0df211e6..fe4a96d3f6 100644
--- a/var/spack/repos/builtin/packages/python/package.py
+++ b/var/spack/repos/builtin/packages/python/package.py
@@ -1,21 +1,16 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
-import ast
import os
import platform
import re
-import sys
import llnl.util.tty as tty
from llnl.util.lang import match_predicate
-from llnl.util.filesystem import (force_remove, get_filetype,
- path_contains_subdirectory)
+from llnl.util.filesystem import get_filetype, path_contains_subdirectory
-import spack.store
-import spack.util.spack_json as sjson
from spack.util.environment import is_system_path
from spack.util.prefix import Prefix
from spack import *
@@ -29,10 +24,12 @@ class Python(AutotoolsPackage):
list_url = "https://www.python.org/ftp/python/"
list_depth = 1
- maintainers = ['adamjstewart']
+ maintainers = ['adamjstewart', 'skosukhin']
+ version('3.9.1', sha256='29cb91ba038346da0bd9ab84a0a55a845d872c341a4da6879f462e94c741f117')
version('3.9.0', sha256='df796b2dc8ef085edae2597a41c1c0a63625ebd92487adaef2fed22b567873e8')
- version('3.8.6', sha256='313562ee9986dc369cd678011bdfd9800ef62fbf7b1496228a18f86b36428c21', preferred=True)
+ version('3.8.7', sha256='20e5a04262f0af2eb9c19240d7ec368f385788bba2d8dfba7e74b20bab4d2bac', preferred=True)
+ version('3.8.6', sha256='313562ee9986dc369cd678011bdfd9800ef62fbf7b1496228a18f86b36428c21')
version('3.8.5', sha256='015115023c382eb6ab83d512762fe3c5502fa0c6c52ffebc4831c4e1a06ffc49')
version('3.8.4', sha256='32c4d9817ef11793da4d0d95b3191c4db81d2e45544614e8449255ca9ae3cc18')
version('3.8.3', sha256='6af6d4d2e010f9655518d0fc6738c7ff7069f10a4d2fbd55509e467f092a8b90')
@@ -165,14 +162,8 @@ class Python(AutotoolsPackage):
depends_on('libffi', when='+ctypes')
depends_on('tk', when='+tkinter')
depends_on('tcl', when='+tkinter')
+ depends_on('uuid', when='+uuid')
depends_on('tix', when='+tix')
- if sys.platform != 'darwin':
- # On macOS systems, Spack's libuuid conflicts with the system-installed
- # version and breaks anything linked against Cocoa/Carbon. Since the
- # system-provided version is sufficient to build Python's UUID support,
- # the easy solution is to only depend on Spack's libuuid when *not* on
- # a Mac.
- depends_on('libuuid', when='+uuid')
# Python needs to be patched to build extensions w/ mixed C/C++ code:
# https://github.com/NixOS/nixpkgs/pull/19585/files
@@ -226,10 +217,6 @@ class Python(AutotoolsPackage):
conflicts('%nvhpc')
- _DISTUTIL_VARS_TO_SAVE = ['LDSHARED']
- _DISTUTIL_CACHE_FILENAME = 'sysconfig.json'
- _distutil_vars = None
-
# Used to cache home locations, since computing them might be expensive
_homes = {}
@@ -422,8 +409,8 @@ class Python(AutotoolsPackage):
config_args.append('--disable-toolbox-glue')
if spec.satisfies('%intel', strict=True) and \
- spec.satisfies('@2.7.12:2.8,3.5.2:', strict=True):
- config_args.append('--with-icc')
+ spec.satisfies('@2.7.12:2.8,3.5.2:3.7', strict=True):
+ config_args.append('--with-icc={0}'.format(spack_cc))
if '+debug' in spec:
config_args.append('--with-pydebug')
@@ -487,90 +474,6 @@ class Python(AutotoolsPackage):
return config_args
@run_after('install')
- def _save_distutil_vars(self):
- """
- Run before changing automatically generated contents of the
- _sysconfigdata.py, which is used by distutils to figure out what
- executables to use while compiling and linking extensions. If we build
- extensions with spack those executables should be spack's wrappers.
- Spack partially covers this by setting environment variables that
- are also accounted for by distutils. Currently there is one more known
- variable that must be set, which is LDSHARED, so the method saves its
- autogenerated value to pass it to the dependent package's setup script.
- """
-
- self._distutil_vars = {}
-
- input_filename = self.get_sysconfigdata_name()
- input_dict = None
- try:
- with open(input_filename) as input_file:
- match = re.search(r'build_time_vars\s*=\s*(?P<dict>{.*})',
- input_file.read(),
- flags=re.DOTALL)
-
- if match:
- input_dict = ast.literal_eval(match.group('dict'))
- except (IOError, SyntaxError):
- pass
-
- if not input_dict:
- tty.warn("Failed to find 'build_time_vars' dictionary in file "
- "'%s'. This might cause the extensions that are "
- "installed with distutils to call compilers directly "
- "avoiding Spack's wrappers." % input_filename)
- return
-
- for var_name in Python._DISTUTIL_VARS_TO_SAVE:
- if var_name in input_dict:
- self._distutil_vars[var_name] = input_dict[var_name]
- else:
- tty.warn("Failed to find key '%s' in 'build_time_vars' "
- "dictionary in file '%s'. This might cause the "
- "extensions that are installed with distutils to "
- "call compilers directly avoiding Spack's wrappers."
- % (var_name, input_filename))
-
- if len(self._distutil_vars) > 0:
- output_filename = None
- try:
- output_filename = join_path(
- spack.store.layout.metadata_path(self.spec),
- Python._DISTUTIL_CACHE_FILENAME)
- with open(output_filename, 'w') as output_file:
- sjson.dump(self._distutil_vars, output_file)
- except Exception:
- tty.warn("Failed to save metadata for distutils. This might "
- "cause the extensions that are installed with "
- "distutils to call compilers directly avoiding "
- "Spack's wrappers.")
- # We make the cache empty if we failed to save it to file
- # to provide the same behaviour as in the case when the cache
- # is initialized by the method load_distutils_data().
- self._distutil_vars = {}
- if output_filename:
- force_remove(output_filename)
-
- def _load_distutil_vars(self):
- # We update and keep the cache unchanged only if the package is
- # installed.
- if not self._distutil_vars and self.installed:
- try:
- input_filename = join_path(
- spack.store.layout.metadata_path(self.spec),
- Python._DISTUTIL_CACHE_FILENAME)
- if os.path.isfile(input_filename):
- with open(input_filename) as input_file:
- self._distutil_vars = sjson.load(input_file)
- except Exception:
- pass
-
- if not self._distutil_vars:
- self._distutil_vars = {}
-
- return self._distutil_vars
-
- @run_after('install')
def filter_compilers(self):
"""Run after install to tell the configuration files and Makefiles
to use the compilers that Spack built the package with.
@@ -618,6 +521,13 @@ class Python(AutotoolsPackage):
os.path.join(prefix.bin, 'python-config'))
@run_after('install')
+ def install_python_gdb(self):
+ # https://devguide.python.org/gdb/
+ src = os.path.join('Tools', 'gdb', 'libpython.py')
+ if os.path.exists(src):
+ install(src, self.command.path + '-gdb.py')
+
+ @run_after('install')
@on_package_attributes(run_tests=True)
def import_tests(self):
"""Test that basic Python functionality works."""
@@ -944,14 +854,76 @@ class Python(AutotoolsPackage):
pythonpath = ':'.join(python_paths)
env.set('PYTHONPATH', pythonpath)
+ # We need to make sure that the extensions are compiled and linked with
+ # the Spack wrapper. Paths to the executables that are used for these
+ # operations are normally taken from the sysconfigdata file, which we
+ # modify after the installation (see method filter compilers). The
+ # modified file contains paths to the real compilers, not the wrappers.
+ # The values in the file, however, can be overridden with environment
+ # variables. The first variable, CC (CXX), which is used for
+ # compilation, is set by Spack for the dependent package by default.
+ # That is not 100% correct because the value for CC (CXX) in the
+ # sysconfigdata file often contains additional compiler flags (e.g.
+ # -pthread), which we lose by simply setting CC (CXX) to the path to the
+ # Spack wrapper. Moreover, the user might try to build an extension with
+ # a compiler that is different from the one that was used to build
+ # Python itself, which might have unexpected side effects. However, the
+ # experience shows that none of the above is a real issue and we will
+ # not try to change the default behaviour. Given that, we will simply
+ # try to modify LDSHARED (LDCXXSHARED), the second variable, which is
+ # used for linking, in a consistent manner.
+
+ for compile_var, link_var in [('CC', 'LDSHARED'),
+ ('CXX', 'LDCXXSHARED')]:
+ # First, we get the values from the sysconfigdata:
+ config_compile = self.get_config_var(compile_var)
+ config_link = self.get_config_var(link_var)
+
+ # The dependent environment will have the compilation command set to
+ # the following:
+ new_compile = join_path(
+ spack.paths.build_env_path,
+ dependent_spec.package.compiler.link_paths[compile_var.lower()])
+
+ # Normally, the link command starts with the compilation command:
+ if config_link.startswith(config_compile):
+ new_link = new_compile + config_link[len(config_compile):]
+ else:
+ # Otherwise, we try to replace the compiler command if it
+ # appears "in the middle" of the link command; to avoid
+ # mistaking some substring of a path for the compiler (e.g. to
+ # avoid replacing "gcc" in "-L/path/to/gcc/"), we require that
+ # the compiler command be surrounded by spaces. Note this may
+ # leave "config_link" unchanged if the compilation command does
+ # not appear in the link command at all, for example if "ld" is
+ # invoked directly (no change would be required in that case
+ # because Spack arranges for the Spack ld wrapper to be the
+ # first instance of "ld" in PATH).
+ new_link = config_link.replace(" {0} ".format(config_compile),
+ " {0} ".format(new_compile))
+
+ # There is logic in the sysconfig module that is sensitive to the
+ # fact that LDSHARED is set in the environment, therefore we export
+ # the variable only if the new value is different from what we got
+ # from the sysconfigdata file:
+ if config_link != new_link:
+ env.set(link_var, new_link)
+
def setup_dependent_run_environment(self, env, dependent_spec):
- # For run time environment set only the path for
- # dependent_spec and prepend it to PYTHONPATH
- if dependent_spec.package.extends(self.spec):
- for lib in ['lib', 'lib64']:
- env.prepend_path('PYTHONPATH', join_path(
- dependent_spec.prefix, lib,
- 'python' + str(self.version.up_to(2)), 'site-packages'))
+ python_paths = []
+ for d in dependent_spec.traverse(deptype='run'):
+ if d.package.extends(self.spec):
+ # Python libraries may be installed in lib or lib64
+ # See issues #18520 and #17126
+ for lib in ['lib', 'lib64']:
+ root = join_path(
+ d.prefix, lib, 'python' + str(self.version.up_to(2)),
+ 'site-packages')
+ if os.path.exists(root):
+ python_paths.append(root)
+
+ pythonpath = ':'.join(python_paths)
+ env.prepend_path('PYTHONPATH', pythonpath)
def setup_dependent_package(self, module, dependent_spec):
"""Called before python modules' install() methods.
@@ -964,12 +936,6 @@ class Python(AutotoolsPackage):
module.setup_py = Executable(
self.command.path + ' setup.py --no-user-cfg')
- distutil_vars = self._load_distutil_vars()
-
- if distutil_vars:
- for key, value in distutil_vars.items():
- module.setup_py.add_default_env(key, value)
-
# Add variables for lib/pythonX.Y and lib/pythonX.Y/site-packages dirs.
module.python_lib_dir = join_path(dependent_spec.prefix,
self.python_lib_dir)
diff --git a/var/spack/repos/builtin/packages/q-e-sirius/package.py b/var/spack/repos/builtin/packages/q-e-sirius/package.py
index 82468ea892..5e7cb60d7d 100644
--- a/var/spack/repos/builtin/packages/q-e-sirius/package.py
+++ b/var/spack/repos/builtin/packages/q-e-sirius/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/qbank/package.py b/var/spack/repos/builtin/packages/qbank/package.py
index 95a3782778..e62e8197ba 100644
--- a/var/spack/repos/builtin/packages/qbank/package.py
+++ b/var/spack/repos/builtin/packages/qbank/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/qbox/package.py b/var/spack/repos/builtin/packages/qbox/package.py
index 0233f62956..68179eaf1b 100644
--- a/var/spack/repos/builtin/packages/qbox/package.py
+++ b/var/spack/repos/builtin/packages/qbox/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/qca/package.py b/var/spack/repos/builtin/packages/qca/package.py
index 9a040bc667..36da912b04 100644
--- a/var/spack/repos/builtin/packages/qca/package.py
+++ b/var/spack/repos/builtin/packages/qca/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/qcachegrind/package.py b/var/spack/repos/builtin/packages/qcachegrind/package.py
index ff9c436795..5ef0877126 100644
--- a/var/spack/repos/builtin/packages/qcachegrind/package.py
+++ b/var/spack/repos/builtin/packages/qcachegrind/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,6 +14,7 @@ class Qcachegrind(QMakePackage):
homepage = "https://github.com/KDE/kcachegrind"
url = "https://github.com/KDE/kcachegrind/archive/v20.08.0.tar.gz"
+ version('20.12.2', sha256='935cf6665fac274f84af84d0a30cc2fdf27d437234b9accbf8ec0a5dba6ad867')
version('20.08.0', sha256='ffb50a7c536042ff11eed714b359b8bc419cb12402a31ebe78c3d06363f234e6')
depends_on('qt@5.2:')
diff --git a/var/spack/repos/builtin/packages/qd/package.py b/var/spack/repos/builtin/packages/qd/package.py
index 100fa9cc63..e205ccd004 100644
--- a/var/spack/repos/builtin/packages/qd/package.py
+++ b/var/spack/repos/builtin/packages/qd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,6 +14,8 @@ class Qd(AutotoolsPackage):
homepage = "https://bitbucket.org/njet/qd-library/src/master/"
git = "https://bitbucket.org/njet/qd-library.git"
+ tags = ['hep']
+
version('2.3.13', commit='a57dde9')
depends_on('autoconf', type='build')
diff --git a/var/spack/repos/builtin/packages/qemu/package.py b/var/spack/repos/builtin/packages/qemu/package.py
index a1f745203b..eab99fdb6c 100644
--- a/var/spack/repos/builtin/packages/qemu/package.py
+++ b/var/spack/repos/builtin/packages/qemu/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/qgis/package.py b/var/spack/repos/builtin/packages/qgis/package.py
index dad5d6ba76..3ba24b3b3d 100644
--- a/var/spack/repos/builtin/packages/qgis/package.py
+++ b/var/spack/repos/builtin/packages/qgis/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/qgraf/package.py b/var/spack/repos/builtin/packages/qgraf/package.py
index 5affba785f..6ca1c80480 100644
--- a/var/spack/repos/builtin/packages/qgraf/package.py
+++ b/var/spack/repos/builtin/packages/qgraf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,6 +13,8 @@ class Qgraf(Package):
homepage = "http://cfif.ist.utl.pt/~paulo/qgraf.html"
url = "http://anonymous:anonymous@qgraf.tecnico.ulisboa.pt/v3.4/qgraf-3.4.2.tgz"
+ tags = ['hep']
+
version('3.4.2', sha256='cfc029fb871c78943865ef8b51ebcd3cd4428448b8816714b049669dfdeab8aa')
def install(self, spec, prefix):
diff --git a/var/spack/repos/builtin/packages/qhull/package.py b/var/spack/repos/builtin/packages/qhull/package.py
index 884499fd36..a3887b8ce8 100644
--- a/var/spack/repos/builtin/packages/qhull/package.py
+++ b/var/spack/repos/builtin/packages/qhull/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/qjson/package.py b/var/spack/repos/builtin/packages/qjson/package.py
index 389cda9835..655285a7e5 100644
--- a/var/spack/repos/builtin/packages/qjson/package.py
+++ b/var/spack/repos/builtin/packages/qjson/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/qmcpack/package.py b/var/spack/repos/builtin/packages/qmcpack/package.py
index 07724f63fe..154ca5bb42 100644
--- a/var/spack/repos/builtin/packages/qmcpack/package.py
+++ b/var/spack/repos/builtin/packages/qmcpack/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -22,6 +22,7 @@ class Qmcpack(CMakePackage, CudaPackage):
# can occasionally change.
# NOTE: 12/19/2017 QMCPACK 3.0.0 does not build properly with Spack.
version('develop')
+ version('3.10.0', tag='v3.10.0')
version('3.9.2', tag='v3.9.2')
version('3.9.1', tag='v3.9.1')
version('3.9.0', tag='v3.9.0')
@@ -47,9 +48,11 @@ class Qmcpack(CMakePackage, CudaPackage):
description='Build the mixed precision (mixture of single and '
'double precision) version')
variant('soa', default=True,
- description='Build with Structure-of-Array instead of '
- 'Array-of-Structure code. Only for CPU code')
- variant('timers', default=False,
+ description='Build with Structure-of-Array (SoA) instead of '
+ 'Array-of-Structure code (AoS). This is a legacy '
+ 'option and the AoS code is not available after '
+ 'v3.10.0. Only affected performance, not results.')
+ variant('timers', default=True,
description='Build with support for timers')
variant('da', default=False,
description='Install with support for basic data analysis tools')
@@ -74,6 +77,11 @@ class Qmcpack(CMakePackage, CudaPackage):
# high-level variant conflicts
conflicts(
+ '~soa',
+ when='@3.10.0:',
+ msg='AoS code path is not available after QMCPACK v3.10.0')
+
+ conflicts(
'+phdf5',
when='~mpi',
msg='Parallel collective I/O requires MPI-enabled QMCPACK. '
@@ -87,17 +95,28 @@ class Qmcpack(CMakePackage, CudaPackage):
conflicts('^openblas+ilp64',
msg='QMCPACK does not support OpenBLAS 64-bit integer variant')
+ conflicts('cuda_arch=none',
+ when='+cuda',
+ msg='A value for cuda_arch must be specified. Add cuda_arch=XX')
+
# Omitted for now due to concretizer bug
# conflicts('^intel-mkl+ilp64',
# msg='QMCPACK does not support MKL 64-bit integer variant')
+ # QMCPACK 3.10.0 increased the minimum requirements for compiler versions
+ newer_compiler_warning = 'QMCPACK v3.10.0 or later requires a newer ' \
+ 'version of this compiler'
+ conflicts('%gcc@:6', when='@3.10.0:', msg=newer_compiler_warning)
+ conflicts('%intel@:18', when='@3.10.0:', msg=newer_compiler_warning)
+ conflicts('%clang@:6', when='@3.10.0:', msg=newer_compiler_warning)
+
# QMCPACK 3.6.0 or later requires support for C++14
- compiler_warning = 'QMCPACK 3.6.0 or later requires a ' \
- 'compiler with support for C++14'
- conflicts('%gcc@:4', when='@3.6.0:', msg=compiler_warning)
- conflicts('%intel@:17', when='@3.6.0:', msg=compiler_warning)
- conflicts('%pgi@:17', when='@3.6.0:', msg=compiler_warning)
- conflicts('%llvm@:3.4', when='@3.6.0:', msg=compiler_warning)
+ cpp14_warning = 'QMCPACK v3.6.0 or later requires a ' \
+ 'compiler with support for C++14'
+ conflicts('%gcc@:4', when='@3.6.0:', msg=cpp14_warning)
+ conflicts('%intel@:17', when='@3.6.0:', msg=cpp14_warning)
+ conflicts('%pgi@:17', when='@3.6.0:', msg=cpp14_warning)
+ conflicts('%clang@:3.4', when='@3.6.0:', msg=cpp14_warning)
conflicts('+afqmc', when='@:3.6.0', msg='AFQMC not recommended before v3.7')
conflicts('+afqmc', when='~mpi', msg='AFQMC requires building with +mpi')
@@ -125,6 +144,7 @@ class Qmcpack(CMakePackage, CudaPackage):
# Essential libraries
depends_on('cmake@3.4.3:', when='@:3.5.0', type='build')
depends_on('cmake@3.6.0:', when='@3.6.0:', type='build')
+ depends_on('cmake@3.14.0:', when='@3.10.0:', type='build')
depends_on('boost')
depends_on('boost@1.61.0:', when='@3.6.0:')
depends_on('libxml2')
@@ -265,14 +285,7 @@ class Qmcpack(CMakePackage, CudaPackage):
'QMCPACK only supports compilation for a single '
'GPU architecture at a time'
)
- if cuda_arch != 'none':
- args.append('-DCUDA_ARCH=sm_{0}'.format(cuda_arch))
- else:
- # This is the default value set in QMCPACK's CMake
- # Not possible to set default value for cuda_arch,
- # thus this won't be stored in the spec, which is
- # a problem.
- args.append('-DCUDA_ARCH=sm_35')
+ args.append('-DCUDA_ARCH=sm_{0}'.format(cuda_arch))
else:
args.append('-DQMC_CUDA=0')
@@ -352,7 +365,6 @@ class Qmcpack(CMakePackage, CudaPackage):
# We assume cwd is self.stage.source_path, then
# install manual, labs, and nexus
- install_tree('manual', prefix.manual)
install_tree('labs', prefix.labs)
install_tree('nexus', prefix.nexus)
diff --git a/var/spack/repos/builtin/packages/qmd-progress/package.py b/var/spack/repos/builtin/packages/qmd-progress/package.py
index 7d7a6cfda6..ff71f469eb 100644
--- a/var/spack/repos/builtin/packages/qmd-progress/package.py
+++ b/var/spack/repos/builtin/packages/qmd-progress/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/qnnpack/package.py b/var/spack/repos/builtin/packages/qnnpack/package.py
index a5c1f73e71..eb2110d5dd 100644
--- a/var/spack/repos/builtin/packages/qnnpack/package.py
+++ b/var/spack/repos/builtin/packages/qnnpack/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/qorts/package.py b/var/spack/repos/builtin/packages/qorts/package.py
index 89a4ea2508..280c01365a 100644
--- a/var/spack/repos/builtin/packages/qorts/package.py
+++ b/var/spack/repos/builtin/packages/qorts/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/qperf/package.py b/var/spack/repos/builtin/packages/qperf/package.py
index 1de0100db0..372bef5b78 100644
--- a/var/spack/repos/builtin/packages/qperf/package.py
+++ b/var/spack/repos/builtin/packages/qperf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/qrupdate/package.py b/var/spack/repos/builtin/packages/qrupdate/package.py
index 760500dfa4..cea9590dfb 100644
--- a/var/spack/repos/builtin/packages/qrupdate/package.py
+++ b/var/spack/repos/builtin/packages/qrupdate/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -23,12 +23,22 @@ class Qrupdate(MakefilePackage, SourceforgePackage):
def edit(self, spec, prefix):
# BSD "install" does not understand GNU -D flag.
# We will create the parent directory ourselves.
- makefile = FileFilter('src/Makefile')
if (sys.platform == 'darwin'):
+ makefile = FileFilter('src/Makefile')
makefile.filter('-D', '')
+
+ # Concurrent (parallel) Compilation requires calling $(MAKE) not make
+ makefile = FileFilter('Makefile')
+ makefile.filter('make', '$(MAKE)')
+
+ # We may like to compile with any Forran compiler, not always gfortran
+ makefile = FileFilter('Makeconf')
+ makefile.filter('FC=gfortran', 'FC ?= gfortran')
+
return
- def install(self, spec, prefix):
+ # The Makefile does not take the simple "make" rule
+ def build(self, spec, prefix):
lapack_blas = spec['lapack'].libs + spec['blas'].libs
@@ -41,11 +51,17 @@ class Qrupdate(MakefilePackage, SourceforgePackage):
if (spec.satisfies('^openblas+ilp64') or
spec.satisfies('^intel-mkl+ilp64') or
spec.satisfies('^intel-parallel-studio+mkl+ilp64')):
- make_args.append('FFLAGS=-fdefault-integer-8')
+ if (spec.satisfies('%intel') or spec.satisfies('%oneapi')
+ or spec.satisfies('%nvhpc')):
+ # 64bits integer for ifort and nvfortran are promoted by:
+ make_args.append('FFLAGS=-i8')
+ else:
+ make_args.append('FFLAGS=-fdefault-integer-8')
# Build static and dynamic libraries:
make('lib', 'solib', *make_args)
+ def install(self, spec, prefix):
# "INSTALL" confuses "make install" on case-insensitive filesystems:
if os.path.isfile("INSTALL"):
os.remove("INSTALL")
diff --git a/var/spack/repos/builtin/packages/qscintilla/package.py b/var/spack/repos/builtin/packages/qscintilla/package.py
index ec20257676..d3528faf88 100644
--- a/var/spack/repos/builtin/packages/qscintilla/package.py
+++ b/var/spack/repos/builtin/packages/qscintilla/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/qt-creator/package.py b/var/spack/repos/builtin/packages/qt-creator/package.py
index 6b37a1a6c7..5d22e208f7 100644
--- a/var/spack/repos/builtin/packages/qt-creator/package.py
+++ b/var/spack/repos/builtin/packages/qt-creator/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/qt/package.py b/var/spack/repos/builtin/packages/qt/package.py
index de058431da..170c28f739 100644
--- a/var/spack/repos/builtin/packages/qt/package.py
+++ b/var/spack/repos/builtin/packages/qt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -24,6 +24,7 @@ class Qt(Package):
phases = ['configure', 'build', 'install']
+ version('5.15.2', sha256='3a530d1b243b5dec00bc54937455471aaa3e56849d2593edb8ded07228202240')
version('5.14.2', sha256='c6fcd53c744df89e7d3223c02838a33309bd1c291fcb6f9341505fe99f7f19fa')
version('5.14.1', sha256='6f17f488f512b39c2feb57d83a5e0a13dcef32999bea2e2a8f832f54a29badb8')
version('5.14.0', sha256='be9a77cd4e1f9d70b58621d0753be19ea498e6b0da0398753e5038426f76a8ba')
@@ -51,30 +52,32 @@ class Qt(Package):
variant('debug', default=False,
description="Build debug version.")
- variant('gtk', default=False,
- description="Build with gtkplus.")
- variant('webkit', default=False,
- description="Build the Webkit extension")
+ variant('dbus', default=False,
+ description="Build with D-Bus support.")
+ variant('doc', default=False,
+ description="Build QDoc and documentation.")
variant('examples', default=False,
description="Build examples.")
variant('framework', default=bool(MACOS_VERSION),
description="Build as a macOS Framework package.")
- variant('tools', default=True,
- description="Build tools, including Qt Designer.")
- variant('dbus', default=False,
- description="Build with D-Bus support.")
- variant('phonon', default=False,
- description="Build with phonon support.")
+ variant('gtk', default=False,
+ description="Build with gtkplus.")
+ variant('gui', default=True,
+ description='Build the Qt GUI module and dependencies')
variant('opengl', default=False,
description="Build with OpenGL support.")
- variant('sql', default=True,
- description="Build with SQL support.")
+ variant('phonon', default=False,
+ description="Build with phonon support.")
variant('shared', default=True,
description='Build shared libraries.')
+ variant('sql', default=True,
+ description="Build with SQL support.")
variant('ssl', default=True,
description="Build with OpenSSL support.")
- variant('freetype', default='spack', description='Freetype2 support',
- values=('spack', 'qt', 'none'), multi=False)
+ variant('tools', default=True,
+ description="Build tools, including Qt Designer.")
+ variant('webkit', default=False,
+ description="Build the Webkit extension")
# Patches for qt@3
patch('qt3-accept.patch', when='@3')
@@ -103,7 +106,7 @@ class Qt(Package):
# https://bugreports.qt.io/browse/QTBUG-57656
patch('qt5-8-framework.patch', when='@5.8.0 +framework')
# https://bugreports.qt.io/browse/QTBUG-58038
- patch('qt5-8-freetype.patch', when='@5.8.0 freetype=spack')
+ patch('qt5-8-freetype.patch', when='@5.8.0 +gui')
# https://codereview.qt-project.org/c/qt/qtbase/+/245425
patch('https://github.com/qt/qtbase/commit/a52d7861edfb5956de38ba80015c4dd0b596259b.patch',
sha256='c49b228c27e3ad46ec3af4bac0e9985af5b5b28760f238422d32e14f98e49b1e',
@@ -116,6 +119,10 @@ class Qt(Package):
patch('qt5-12-intel-overflow.patch', when='@5.12:5.14.0 %intel')
# https://bugreports.qt.io/browse/QTBUG-78937
patch('qt5-12-configure.patch', when='@5.12')
+ # https://bugreports.qt.io/browse/QTBUG-93402
+ patch('qt5-15-gcc-10.patch', when='@5.12.7:5.15 %gcc@8:')
+ patch('qt514.patch', when='@5.14')
+ conflicts('%gcc@10:', when='@5.9:5.12.6 +opengl')
# Build-only dependencies
depends_on("pkgconfig", type='build')
@@ -130,7 +137,7 @@ class Qt(Package):
depends_on("libtiff")
depends_on("libxml2")
depends_on("zlib")
- depends_on("freetype", when='freetype=spack')
+ depends_on("freetype", when='+gui')
depends_on("gperf", when='+webkit')
depends_on("gtkplus", when='+gtk')
depends_on("openssl", when='+ssl')
@@ -150,6 +157,7 @@ class Qt(Package):
depends_on("harfbuzz", when='@5:')
depends_on("double-conversion", when='@5.7:')
depends_on("pcre2+multibyte", when='@5.9:')
+ depends_on("llvm", when='@5.11: +doc')
# gcc@4 is not supported as of Qt@5.14
# https://doc.qt.io/qt-5.14/supported-platforms.html
@@ -157,17 +165,17 @@ class Qt(Package):
# Non-macOS dependencies and special macOS constraints
if MACOS_VERSION is None:
- depends_on("fontconfig", when='freetype=spack')
- depends_on("libsm")
- depends_on("libx11")
- depends_on("libxcb")
- depends_on("libxkbcommon")
- depends_on("xcb-util-image")
- depends_on("xcb-util-keysyms")
- depends_on("xcb-util-renderutil")
- depends_on("xcb-util-wm")
- depends_on("libxext")
- depends_on("libxrender")
+ depends_on("fontconfig", when='+gui')
+ depends_on("libsm", when='+gui')
+ depends_on("libx11", when='+gui')
+ depends_on("libxcb", when='+gui')
+ depends_on("libxkbcommon", when='+gui')
+ depends_on("xcb-util-image", when='+gui')
+ depends_on("xcb-util-keysyms", when='+gui')
+ depends_on("xcb-util-renderutil", when='+gui')
+ depends_on("xcb-util-wm", when='+gui')
+ depends_on("libxext", when='+gui')
+ depends_on("libxrender", when='+gui')
conflicts('+framework',
msg="QT cannot be built as a framework except on macOS.")
else:
@@ -222,6 +230,15 @@ class Qt(Package):
def setup_build_environment(self, env):
env.set('MAKEFLAGS', '-j{0}'.format(make_jobs))
+ if self.version >= Version('5.11'):
+ # QDoc uses LLVM as of 5.11; remove the LLVM_INSTALL_DIR to
+ # disable
+ try:
+ llvm_path = self.spec['llvm'].prefix
+ except KeyError:
+ # Prevent possibly incompatible system LLVM from being found
+ llvm_path = "/spack-disable-llvm"
+ env.set('LLVM_INSTALL_DIR', llvm_path)
def setup_run_environment(self, env):
env.set('QTDIR', self.prefix)
@@ -365,122 +382,92 @@ class Qt(Package):
@property
def common_config_args(self):
+ spec = self.spec
+ version = self.version
+
# incomplete list is here http://doc.qt.io/qt-5/configure-options.html
config_args = [
'-prefix', self.prefix,
'-v',
'-opensource',
- '-{0}opengl'.format('' if '+opengl' in self.spec else 'no-'),
- '-{0}'.format('debug' if '+debug' in self.spec else 'release'),
+ '-{0}opengl'.format('' if '+opengl' in spec else 'no-'),
+ '-{0}'.format('debug' if '+debug' in spec else 'release'),
'-confirm-license',
'-optimized-qmake',
'-no-pch',
]
- if self.spec.variants['freetype'].value == 'spack':
- config_args.extend([
- '-system-freetype'
- ])
- config_args.extend(
- self.spec['freetype'].headers.include_flags.split()
- )
+ def use_spack_dep(spack_pkg, qt_name=None):
+ pkg = spec[spack_pkg]
+ config_args.append('-system-' + (qt_name or spack_pkg))
+ if not pkg.external:
+ config_args.extend(pkg.libs.search_flags.split())
+ config_args.extend(pkg.headers.include_flags.split())
+
+ if '+gui' in spec:
+ use_spack_dep('freetype')
if not MACOS_VERSION:
config_args.append('-fontconfig')
-
- elif self.spec.variants['freetype'].value == 'qt':
- config_args.append('-qt-freetype')
+ elif version < Version('5.15'):
+ # Linux-only QT5 dependencies
+ config_args.append('-system-xcb')
else:
config_args.append('-no-freetype')
+ config_args.append('-no-gui')
- if '+ssl' in self.spec:
- openssl = self.spec['openssl']
- config_args.extend([
- '-openssl-linked',
- openssl.libs.search_flags,
- openssl.headers.include_flags,
- ])
+ if '+ssl' in spec:
+ pkg = spec['openssl']
+ config_args.append('-openssl-linked')
+ config_args.extend(pkg.libs.search_flags.split())
+ config_args.extend(pkg.headers.include_flags.split())
else:
config_args.append('-no-openssl')
- if '+sql' in self.spec:
- sqlite = self.spec['sqlite']
- config_args.extend([
- '-system-sqlite',
- '-R', sqlite.prefix.lib,
- ])
+ if '+sql' in spec:
+ use_spack_dep('sqlite')
else:
comps = ['db2', 'ibase', 'oci', 'tds', 'mysql', 'odbc', 'psql',
'sqlite', 'sqlite2']
config_args.extend("-no-sql-" + component for component in comps)
- if '+shared' in self.spec:
+ if '+shared' in spec:
config_args.append('-shared')
else:
config_args.append('-static')
- if self.spec.satisfies('@5:'):
- pcre = self.spec['pcre'] if self.spec.satisfies('@5.0:5.8') \
- else self.spec['pcre2']
- harfbuzz = self.spec['harfbuzz']
- config_args.extend([
- '-system-harfbuzz',
- harfbuzz.libs.search_flags,
- harfbuzz.headers.include_flags,
- '-system-pcre',
- pcre.libs.search_flags,
- pcre.headers.include_flags
- ])
+ if version >= Version('5'):
+ use_spack_dep('pcre' if spec.satisfies('@5.0:5.8') else 'pcre2',
+ 'pcre')
+ use_spack_dep('harfbuzz')
- if self.spec.satisfies('@5.7:'):
- dc = self.spec['double-conversion']
- config_args.extend([
- '-system-doubleconversion',
- dc.libs.search_flags,
- dc.headers.include_flags
- ])
+ if version >= Version('5.7'):
+ use_spack_dep('double-conversion', 'doubleconversion')
- if '@:5.7.1' in self.spec:
+ if version <= Version('5.7.1'):
config_args.append('-no-openvg')
else:
# FIXME: those could work for other versions
- png = self.spec['libpng']
- config_args.append('-system-libpng')
- if not png.external:
- config_args.extend([
- png.libs.search_flags,
- png.headers.include_flags
- ])
+ use_spack_dep('libpng')
+ use_spack_dep('jpeg', 'libjpeg')
+ use_spack_dep('zlib')
- jpeg = self.spec['jpeg']
- config_args.append('-system-libjpeg')
- if not jpeg.external:
- config_args.extend([
- jpeg.libs.search_flags,
- jpeg.headers.include_flags,
- ])
- zlib = self.spec['zlib']
- config_args.append('-system-zlib')
- if not zlib.external:
- config_args.extend([
- zlib.libs.search_flags,
- zlib.headers.include_flags
- ])
-
- if '@:5.7.0' in self.spec:
+ if '@:5.7.0' in spec:
config_args.extend([
# NIS is deprecated in more recent glibc,
# but qt-5.7.1 does not recognize this option
'-no-nis',
])
- if '~examples' in self.spec:
+ # COMPONENTS
+
+ if '~examples' in spec:
config_args.extend(['-nomake', 'examples'])
- if '~tools' in self.spec:
+ if '~tools' in spec:
config_args.extend(['-nomake', 'tools'])
- if '+dbus' in self.spec:
- dbus = self.spec['dbus'].prefix
+ if '+dbus' in spec:
+ dbus = spec['dbus'].prefix
config_args.append('-dbus-linked')
config_args.append('-I%s/dbus-1.0/include' % dbus.lib)
config_args.append('-I%s/dbus-1.0' % dbus.include)
@@ -490,7 +477,7 @@ class Qt(Package):
if MACOS_VERSION:
config_args.append('-{0}framework'.format(
- '' if '+framework' in self.spec else 'no-'))
+ '' if '+framework' in spec else 'no-'))
(_, qtplat) = self.get_mkspec()
if qtplat is not None:
@@ -565,9 +552,6 @@ class Qt(Package):
])
if version < Version('5.12'):
config_args.append('-no-xinput2')
- else:
- # Linux-only QT5 dependencies
- config_args.append('-system-xcb')
if '~webkit' in spec:
config_args.extend([
@@ -584,16 +568,18 @@ class Qt(Package):
# https://wiki.qt.io/QtWayland
config_args.extend(['-skip', 'wayland'])
- if version >= Version('5.10') and '~opengl' in spec:
- config_args.extend([
- '-skip', 'webglplugin',
- '-skip', 'qt3d',
- ])
+ if '~opengl' in spec:
+ if version >= Version('5.10'):
+ config_args.extend([
+ '-skip', 'webglplugin',
+ '-skip', 'qt3d',
+ ])
- if version >= Version('5.14') and '~opengl' in spec:
- config_args.extend([
- '-skip', 'qtquick3d',
- ])
+ if version >= Version('5.14'):
+ config_args.extend(['-skip', 'qtquick3d'])
+
+ if version >= Version('5.15'):
+ config_args.extend(['-skip', 'qtlocation'])
configure(*config_args)
@@ -602,3 +588,11 @@ class Qt(Package):
def install(self, spec, prefix):
make("install")
+
+ # Documentation generation requires the doc tools to be installed.
+ # @when @run_after currently seems to ignore the 'when' restriction.
+ @run_after('install')
+ def install_docs(self):
+ if '+doc' in self.spec:
+ make('docs')
+ make('install_docs')
diff --git a/var/spack/repos/builtin/packages/qt/qt5-15-gcc-10.patch b/var/spack/repos/builtin/packages/qt/qt5-15-gcc-10.patch
new file mode 100644
index 0000000000..32fbfba130
--- /dev/null
+++ b/var/spack/repos/builtin/packages/qt/qt5-15-gcc-10.patch
@@ -0,0 +1,39 @@
+diff --git a/qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/convert.hpp b/qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/convert.hpp
+index 02ec7fe..6c1284e 100644
+--- a/qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/convert.hpp
++++ b/qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/convert.hpp
+@@ -1,6 +1,7 @@
+ #include <mbgl/util/util.hpp>
+
+ #include <array>
++#include <stdint.h>
+ #include <type_traits>
+ #include <utility>
+
+diff --git a/qtlocation/src/3rdparty/mapbox-gl-native/platform/default/bidi.cpp b/qtlocation/src/3rdparty/mapbox-gl-native/platform/default/bidi.cpp
+index d475c38..6947f0b 100644
+--- a/qtlocation/src/3rdparty/mapbox-gl-native/platform/default/bidi.cpp
++++ b/qtlocation/src/3rdparty/mapbox-gl-native/platform/default/bidi.cpp
+@@ -4,6 +4,7 @@
+ #include <unicode/ubidi.h>
+ #include <unicode/ushape.h>
+
++#include <stdexcept>
+ #include <memory>
+
+ namespace mbgl {
+diff --git a/qtlocation/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/sources/render_vector_source.cpp b/qtlocation/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/sources/render_vector_source.cpp
+index 4de4f01..afb639d 100644
+--- a/qtlocation/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/sources/render_vector_source.cpp
++++ b/qtlocation/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/sources/render_vector_source.cpp
+@@ -2,6 +2,7 @@
+ #include <mbgl/renderer/render_tile.hpp>
+ #include <mbgl/renderer/paint_parameters.hpp>
+ #include <mbgl/tile/vector_tile.hpp>
++#include <mbgl/tile/tile_loader_impl.hpp>
+
+ #include <mbgl/algorithm/generate_clip_ids.hpp>
+ #include <mbgl/algorithm/generate_clip_ids_impl.hpp>
+--
+2.26.0
+
diff --git a/var/spack/repos/builtin/packages/qt/qt514.patch b/var/spack/repos/builtin/packages/qt/qt514.patch
new file mode 100644
index 0000000000..d752a52bf7
--- /dev/null
+++ b/var/spack/repos/builtin/packages/qt/qt514.patch
@@ -0,0 +1,9 @@
+diff -ruN qt-everywhere-src-5.14.2.orig/qtimageformats/src/plugins/imageformats/jp2/qjp2handler.cpp qt-everywhere-src-5.14.2/qtimageformats/src/plugins/imageformats/jp2/qjp2handler.cpp
+--- qt-everywhere-src-5.14.2.orig/qtimageformats/src/plugins/imageformats/jp2/qjp2handler.cpp 2020-03-03 13:10:30.000000000 +0000
++++ qt-everywhere-src-5.14.2/qtimageformats/src/plugins/imageformats/jp2/qjp2handler.cpp 2020-11-16 19:57:56.792619032 +0000
+@@ -38,4 +38,5 @@
+ **
+ ****************************************************************************/
+
++#include <math.h>
+ #include "qjp2handler_p.h"
diff --git a/var/spack/repos/builtin/packages/qtgraph/package.py b/var/spack/repos/builtin/packages/qtgraph/package.py
index 01096dbc17..1ab7eae4aa 100644
--- a/var/spack/repos/builtin/packages/qtgraph/package.py
+++ b/var/spack/repos/builtin/packages/qtgraph/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/qthreads/package.py b/var/spack/repos/builtin/packages/qthreads/package.py
index a50acdee81..1ef735f7eb 100644
--- a/var/spack/repos/builtin/packages/qthreads/package.py
+++ b/var/spack/repos/builtin/packages/qthreads/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -29,6 +29,12 @@ class Qthreads(AutotoolsPackage):
homepage = "http://www.cs.sandia.gov/qthreads/"
url = "https://github.com/Qthreads/qthreads/releases/download/1.10/qthread-1.10.tar.bz2"
+ test_requires_compiler = True
+ test_base_path = 'test/basics/'
+ test_list = ['hello_world_multi', 'hello_world']
+
+ version('1.16', sha256='0a95e20b08cb486de6c33bff16590f41e444ca64ab738aee697ef982fbb021d8')
+ version('1.15', sha256='3ac2dc24debff004a2998933de5724b1e14e1ae262fa9942acbb01f77819a23b')
version("1.14", sha256="16f15e5b2e35b6329a857d24c283a1e43cd49921ee49a1446d4f31bf9c6f5cf9")
version("1.12", sha256="2c13a5f6f45bc2f22038d272be2e748e027649d3343a9f824da9e86a88b594c9")
version("1.11", sha256="dbde6c7cb7de7e89921e47363d09cecaebf775c9d090496c2be8350355055571")
@@ -56,7 +62,8 @@ class Qthreads(AutotoolsPackage):
description='Specify number of bytes to use in a stack',
values=is_integer)
- depends_on("hwloc@1.0:1.99", when="+hwloc")
+ depends_on("hwloc@1.0:1.99", when="@:1.15 +hwloc")
+ depends_on("hwloc@1.5:2.99", when="@1.16: +hwloc")
def configure_args(self):
spec = self.spec
@@ -83,5 +90,52 @@ class Qthreads(AutotoolsPackage):
args.append('--with-scheduler=%s'
% self.spec.variants['scheduler'].value)
-
return args
+
+ @run_after('install')
+ def setup_build_tests(self):
+ """Copy the build test files after the package is installed to an
+ install test subdirectory for use during `spack test run`."""
+ tests = self.test_list
+ relative_test_dir = self.test_base_path
+ files_to_cpy = []
+ header = 'test/argparsing.h'
+ for test in tests:
+ test_path = join_path(relative_test_dir, test + '.c')
+ files_to_cpy.append(test_path)
+ files_to_cpy.append(header)
+ self.cache_extra_test_sources(files_to_cpy)
+
+ def build_tests(self):
+ """Build and run the added smoke (install) test."""
+ tests = self.test_list
+ relative_test_dir = self.test_base_path
+
+ for test in tests:
+ options = [
+ '-I{0}'.format(self.prefix.include),
+ '-I{0}'.format(self.install_test_root + '/test'),
+ join_path(self.install_test_root, relative_test_dir,
+ test + '.c'),
+ '-o',
+ test,
+ '-L{0}'.format(self.prefix.lib),
+ '-lqthread',
+ '{0}{1}'.format(self.compiler.cc_rpath_arg,
+ self.prefix.lib)]
+ reason = 'test:{0}: Checking ability to link to the library.'\
+ .format(test)
+ self.run_test('cc', options, [], installed=False, purpose=reason)
+
+ def run_tests(self):
+ tests = self.test_list
+ # Now run the program
+ for test in tests:
+ reason = 'test:{0}: Checking ability to execute.'.format(test)
+ self.run_test(test, [], purpose=reason)
+
+ def test(self):
+ # Build
+ self.build_tests()
+ # Run test programs pulled from the build
+ self.run_tests()
diff --git a/var/spack/repos/builtin/packages/qtkeychain/package.py b/var/spack/repos/builtin/packages/qtkeychain/package.py
index c7ebfa822e..9d9d4efedd 100644
--- a/var/spack/repos/builtin/packages/qtkeychain/package.py
+++ b/var/spack/repos/builtin/packages/qtkeychain/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/quantum-espresso/fj-fox.patch b/var/spack/repos/builtin/packages/quantum-espresso/fj-fox.patch
new file mode 100644
index 0000000000..d4fb79ab2c
--- /dev/null
+++ b/var/spack/repos/builtin/packages/quantum-espresso/fj-fox.patch
@@ -0,0 +1,10 @@
+--- spack-src/install/extlibs_makefile.org 2021-01-22 10:11:00.527343202 +0900
++++ spack-src/install/extlibs_makefile 2021-01-22 10:15:24.319956918 +0900
+@@ -89,6 +89,7 @@
+ mkdir ../FoX; \
+ (gzip -dc ../archive/fox.tgz | (cd ../FoX; tar -xvf -)); \
+ cd ../FoX/fox/; export FC=$(F90); export FCFLAGS="$(FOX_FLAGS)"; \
++ sed -i 's/"-out " "-o "/"-o " "-out "/' configure; \
+ ./configure --prefix=$(TOPDIR)/FoX ;\
+ $(MAKE) install; cd ../; rm -fr fox;fi
+ # ELPA
diff --git a/var/spack/repos/builtin/packages/quantum-espresso/fj-intent.6.4.1.patch b/var/spack/repos/builtin/packages/quantum-espresso/fj-intent.6.4.1.patch
new file mode 100644
index 0000000000..7266a9b568
--- /dev/null
+++ b/var/spack/repos/builtin/packages/quantum-espresso/fj-intent.6.4.1.patch
@@ -0,0 +1,11 @@
+--- spack-src/PHonon/Gamma/dgradcorr.f90.org 2021-01-27 16:41:04.692204340 +0900
++++ spack-src/PHonon/Gamma/dgradcorr.f90 2021-01-27 16:44:03.877839298 +0900
+@@ -22,7 +22,7 @@
+
+ REAL(DP), INTENT(IN) :: rho (dfft%nnr, nspin), grho (3, dfft%nnr, nspin), &
+ g (3, dfft%ngm)
+- REAL(DP), INTENT(OUT):: drho (dfft%nnr,nspin),&
++ REAL(DP), INTENT(IN):: drho (dfft%nnr,nspin),&
+ dvxc_rr(dfft%nnr, nspin, nspin), dvxc_sr (dfft%nnr, nspin, nspin), &
+ dvxc_ss (dfft%nnr,nspin, nspin), dvxc_s (dfft%nnr, nspin, nspin)
+ REAL(DP), INTENT(INOUT) :: dvxc (dfft%nnr, nspin)
diff --git a/var/spack/repos/builtin/packages/quantum-espresso/fj.6.5.patch b/var/spack/repos/builtin/packages/quantum-espresso/fj.6.5.patch
new file mode 100644
index 0000000000..503a0e9ecf
--- /dev/null
+++ b/var/spack/repos/builtin/packages/quantum-espresso/fj.6.5.patch
@@ -0,0 +1,23 @@
+--- spack-src/install/configure.org 2021-01-22 12:21:20.196915072 +0900
++++ spack-src/install/configure 2021-01-22 12:24:47.562530103 +0900
+@@ -3127,6 +3127,7 @@
+ pgf_version=`$mpif90 -V 2>&1 | grep "^pgf"`
+ gfortran_version=`$mpif90 -v 2>&1 | grep "gcc version"`
+ nagfor_version=`$mpif90 -v 2>&1 | grep "NAG Fortran"`
++ frt_version=`$mpif90 -v 2>&1 | grep "Fujitsu Fortran Compiler"`
+ xlf_version=`$mpif90 -v 2>&1 | grep "xlf"`
+ #
+ if test "$ifort_version" != ""
+@@ -3160,6 +3161,12 @@
+ echo "${ECHO_T}xlf (version unknonw)"
+ f90_in_mpif90="xlf"
+ try_dflags="-D__XLF"
++ elif test "$frt_version" != ""
++ then
++ version=`echo $frt_version | cut -d" " -f 5`
++ echo "${ECHO_T}frt $version"
++ f90_in_mpif90="frt"
++ try_foxflags="-D__FUJITSU"
+ else
+ echo "${ECHO_T}unknown, assuming gfortran"
+ f90_in_mpif90="gfortran"
diff --git a/var/spack/repos/builtin/packages/quantum-espresso/fj.6.6.patch b/var/spack/repos/builtin/packages/quantum-espresso/fj.6.6.patch
new file mode 100644
index 0000000000..7b2db5d8d5
--- /dev/null
+++ b/var/spack/repos/builtin/packages/quantum-espresso/fj.6.6.patch
@@ -0,0 +1,23 @@
+--- spack-src/install/configure.org 2021-01-15 09:27:53.000000000 +0900
++++ spack-src/install/configure 2021-01-15 09:26:53.000000000 +0900
+@@ -3200,6 +3200,7 @@
+ nagfor_version=`$mpif90 -v 2>&1 | grep "NAG Fortran"`
+ xlf_version=`$mpif90 -v 2>&1 | grep "xlf"`
+ armflang_version=`$mpif90 -v 2>&1 | grep "Arm C/C++/Fortran Compiler version"`
++ frt_version=`$mpif90 -v 2>&1 | grep "Fujitsu Fortran Compiler"`
+ #
+ if test "$ifort_version" != ""
+ then
+@@ -3237,6 +3238,12 @@
+ f90_minor_version=`echo $version | cut -d. -f2`
+ f90_in_mpif90="armflang"
+ try_foxflags="-D__PGI"
++ elif test "$frt_version" != ""
++ then
++ version=`echo $frt_version | cut -d" " -f 5`
++ echo "${ECHO_T}frt $version"
++ f90_in_mpif90="frt"
++ try_foxflags="-D__FUJITSU"
+ else
+ echo "${ECHO_T}unknown, assuming gfortran"
+ f90_in_mpif90="gfortran"
diff --git a/var/spack/repos/builtin/packages/quantum-espresso/package.py b/var/spack/repos/builtin/packages/quantum-espresso/package.py
index d3fdbc2bb3..5188568b19 100644
--- a/var/spack/repos/builtin/packages/quantum-espresso/package.py
+++ b/var/spack/repos/builtin/packages/quantum-espresso/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,7 +18,10 @@ class QuantumEspresso(Package):
maintainers = ['naromero77']
version('develop', branch='develop')
- version('6.6', sha256='924656cb083f52e5d2fe71ade05881389dac64b45316f1bdd6dee1c6170a672c', preferred=True)
+ version('6.7', sha256='fe0ce74ff736b10d2a20c9d59025c01f88f86b00d229c123b1791f1edd7b4315',
+ url='https://gitlab.com/QEF/q-e/-/archive/qe-6.7MaX-Release/q-e-qe-6.7MaX-Release.tar.gz'
+ )
+ version('6.6', sha256='924656cb083f52e5d2fe71ade05881389dac64b45316f1bdd6dee1c6170a672c')
version('6.5', sha256='258b2a8a6280e86dad779e5c56356d8b35dc96d12ff33dabeee914bc03d6d602')
version('6.4.1', sha256='b0d7e9f617b848753ad923d8c6ca5490d5d82495f82b032b71a0ff2f2e9cfa08')
version('6.4', sha256='781366d03da75516fdcf9100a1caadb26ccdd1dedd942a6f8595ff0edca74bfe')
@@ -30,6 +33,20 @@ class QuantumEspresso(Package):
version('5.4', sha256='e3993fccae9cea04a5c6492e8b961a053a63727051cb5c4eb6008f62cda8f335')
version('5.3', sha256='3b26038efb9e3f8ac7a2b950c31d8c29169a3556c0b68c299eb88a4be8dc9048')
+ resource(name='environ',
+ git='https://github.com/environ-developers/Environ.git',
+ tag='v1.1',
+ when='@6.3:6.4.99 +environ',
+ destination='.'
+ )
+
+ resource(name='environ',
+ git='https://github.com/environ-developers/Environ.git',
+ tag='v1.0',
+ when='@6.2.1:6.2.99 +environ',
+ destination='.'
+ )
+
variant('mpi', default=True, description='Builds with mpi support')
variant('openmp', default=False, description='Enables openMP support')
variant('scalapack', default=True, description='Enables scalapack support')
@@ -58,6 +75,11 @@ class QuantumEspresso(Package):
variant('qmcpack', default=False,
description='Build QE-to-QMCPACK wave function converter')
+ variant('environ', default=False,
+ description='Enables support for introducing environment effects '
+ 'into atomistic first-principles simulations.'
+ 'See http://quantum-environ.org/about.html')
+
# Dependencies
depends_on('blas')
depends_on('lapack')
@@ -179,6 +201,9 @@ class QuantumEspresso(Package):
conflicts('@5.3:', when='%gcc@8 target=a64fx',
msg='Internal compiler error with gcc8 and a64fx')
+ conflicts('@6.5:', when='+environ',
+ msg='6.4.x is the latest QE series supported by Environ')
+
# 6.4.1
patch_url = 'https://raw.githubusercontent.com/QMCPACK/qmcpack/develop/external_codes/quantum_espresso/add_pw2qmcpack_to_qe-6.4.1.diff'
patch_checksum = '57cb1b06ee2653a87c3acc0dd4f09032fcf6ce6b8cbb9677ae9ceeb6a78f85e2'
@@ -201,6 +226,16 @@ class QuantumEspresso(Package):
patch('https://gitlab.com/QEF/q-e/-/commit/cf1fedefc20d39f5cd7551ded700ea4c77ad6e8f.diff',
sha256='8f179663a8d031aff9b1820a32449942281195b6e7b1ceaab1f729651b43fa58',
when='+patch@6.6')
+ # QE 6.5 INTENT(OUT) without settig value in tetra_weights_only(..., ef):
+ # For Fujitsu compiler
+ patch('https://gitlab.com/QEF/q-e/-/commit/8f096b53e75026701c681c508e2c24a9378c0950.diff',
+ sha256='f4f1cce4182b57ac797c8f6ec8460fe375ee96385fcd8f6a61e1460bc957eb67',
+ when='+patch@6.5')
+ # QE 6.5 Fix INTENT
+ # For Fujitsu compiler
+ patch('https://gitlab.com/QEF/q-e/-/commit/c2a86201ed72693ffa50cc99b22f5d3365ae2c2b.diff',
+ sha256='b2dadc0bc008a3ad4b74ae85cc380dd2b63f2ae43a634e6f9d8db8077efcea6c',
+ when='+patch@6.5')
# QE 6.3 requires multiple patches to fix MKL detection
# There may still be problems on Mac with MKL detection
patch('https://gitlab.com/QEF/q-e/commit/0796e1b7c55c9361ecb6515a0979280e78865e36.diff',
@@ -219,9 +254,28 @@ class QuantumEspresso(Package):
sha256='b1aa3179ee1c069964fb9c21f3b832aebeae54947ce8d3cc1a74e7b154c3c10f',
when='+patch@6.4.1:6.5.0')
+ # QE 6.4.1 Fix intent for Fujitsu compiler
+ patch('fj-intent.6.4.1.patch', when='+patch@6.4.1')
+ # QE 6.4.1 Fix intent
+ patch('https://gitlab.com/QEF/q-e/-/commit/c2a86201ed72693ffa50cc99b22f5d3365ae2c2b.diff',
+ sha256='b2dadc0bc008a3ad4b74ae85cc380dd2b63f2ae43a634e6f9d8db8077efcea6c',
+ when='+patch@6.4.1')
+
+ # QE 6.4.1 Small fixes for XLF compilation
+ patch('https://gitlab.com/QEF/q-e/-/commit/cf088926d68792cbaea48960c222e336a3965df6.diff',
+ sha256='bbceba1fb08d01d548d4393bbcaeae966def13f75884268a0f84448457b8eaa3',
+ when='+patch@6.4.1:6.5.0')
+
# Configure updated to work with NVIDIA compilers
patch('nvhpc.patch', when='@6.5 %nvhpc')
+ # Configure updated to work with Fujitsu compilers
+ patch('fj.6.5.patch', when='@6.5+patch %fj')
+ patch('fj.6.6.patch', when='@6.6:6.7+patch %fj')
+
+ # extlibs_makefile updated to work with fujitsu compilers
+ patch('fj-fox.patch', when='+patch %fj')
+
# Spurious problems running in parallel the Makefile
# generated by the configure
parallel = False
@@ -322,6 +376,8 @@ class QuantumEspresso(Package):
else:
scalapack_option = 'yes'
options.append('--with-scalapack={0}'.format(scalapack_option))
+ scalapack_lib = spec['scalapack'].libs
+ options.append('SCALAPACK_LIBS={0}'.format(scalapack_lib.ld_flags))
if '+elpa' in spec:
@@ -373,6 +429,19 @@ class QuantumEspresso(Package):
else:
make('all')
+ if '+environ' in spec:
+ addsonpatch = Executable('./install/addsonpatch.sh')
+ environpatch = Executable('./Environ/patches/environpatch.sh')
+ makedeps = Executable('./install/makedeps.sh')
+
+ addsonpatch('Environ', 'Environ/src', 'Modules', '-patch')
+
+ environpatch('-patch')
+
+ makedeps()
+
+ make('pw')
+
if 'platform=darwin' in spec:
mkdirp(prefix.bin)
install('bin/*.x', prefix.bin)
diff --git a/var/spack/repos/builtin/packages/quartz/package.py b/var/spack/repos/builtin/packages/quartz/package.py
index 1ae0cea830..5dfe077da9 100644
--- a/var/spack/repos/builtin/packages/quartz/package.py
+++ b/var/spack/repos/builtin/packages/quartz/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/quicksilver/package.py b/var/spack/repos/builtin/packages/quicksilver/package.py
index e39a82337d..8c73ad7152 100644
--- a/var/spack/repos/builtin/packages/quicksilver/package.py
+++ b/var/spack/repos/builtin/packages/quicksilver/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/quinoa/package.py b/var/spack/repos/builtin/packages/quinoa/package.py
index e29c953f3e..8b3996181d 100644
--- a/var/spack/repos/builtin/packages/quinoa/package.py
+++ b/var/spack/repos/builtin/packages/quinoa/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/quota/package.py b/var/spack/repos/builtin/packages/quota/package.py
index edbe3f7528..af60d07634 100644
--- a/var/spack/repos/builtin/packages/quota/package.py
+++ b/var/spack/repos/builtin/packages/quota/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/qwt/package.py b/var/spack/repos/builtin/packages/qwt/package.py
index be7aba6372..ecfae8d242 100644
--- a/var/spack/repos/builtin/packages/qwt/package.py
+++ b/var/spack/repos/builtin/packages/qwt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -25,7 +25,7 @@ class Qwt(QMakePackage):
patch('no-designer.patch', when='~designer')
- depends_on('qt+opengl')
+ depends_on('qt@:5.14.2+opengl')
depends_on('qt+tools', when='+designer')
# Qwt 6.1.1 and older use a constant that was removed in Qt 5.4
# https://bugs.launchpad.net/ubuntu/+source/qwt-qt5/+bug/1485213
diff --git a/var/spack/repos/builtin/packages/qwtpolar/package.py b/var/spack/repos/builtin/packages/qwtpolar/package.py
index 9c70dc162a..4425b7f117 100644
--- a/var/spack/repos/builtin/packages/qwtpolar/package.py
+++ b/var/spack/repos/builtin/packages/qwtpolar/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-a4/package.py b/var/spack/repos/builtin/packages/r-a4/package.py
index 07591bc8dd..0ae69276b2 100644
--- a/var/spack/repos/builtin/packages/r-a4/package.py
+++ b/var/spack/repos/builtin/packages/r-a4/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,11 +7,15 @@ from spack import *
class RA4(RPackage):
- """Automated Affymetrix Array Analysis Umbrella Package."""
+ """Automated Affymetrix Array Analysis Umbrella Package
+
+ Umbrella package is available for the entire Automated Affymetrix Array
+ Analysis suite of package."""
homepage = "https://bioconductor.org/packages/a4"
git = "https://git.bioconductor.org/packages/a4.git"
+ version('1.38.0', commit='5b7a9087bab10c55e24707e96e48046995236c94')
version('1.32.0', commit='03770d4e53be4eed1bd0ab8f8cddba66854b4712')
version('1.30.0', commit='771e01ae3aaac1c4db12f781c41d90fa7191b64d')
version('1.28.0', commit='e81a8c15e1062ed9433e2d4d333f0484bc0e8bfb')
diff --git a/var/spack/repos/builtin/packages/r-a4base/package.py b/var/spack/repos/builtin/packages/r-a4base/package.py
index 306d42a273..08f6432e2e 100644
--- a/var/spack/repos/builtin/packages/r-a4base/package.py
+++ b/var/spack/repos/builtin/packages/r-a4base/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,25 +7,29 @@ from spack import *
class RA4base(RPackage):
- """Automated Affymetrix Array Analysis Base Package."""
+ """Automated Affymetrix Array Analysis Base Package
+
+ Base utility functions are available for the Automated Affymetrix Array
+ Analysis set of packages."""
homepage = "https://bioconductor.org/packages/a4Base"
git = "https://git.bioconductor.org/packages/a4Base.git"
+ version('1.38.0', commit='4add242fa9c62795aca5b0dfca34a43484c5aa82')
version('1.32.0', commit='8a1e15d25494c54db8c1de5dbbd69e628569e3d7')
version('1.30.0', commit='fc370b2bd8286acc1e42a10344d91974f5b94229')
version('1.28.0', commit='3918a9ebafa065027c29620ee4d83789cb02f932')
version('1.26.0', commit='9b8ee4a8be90f5035a4b105ecebb8bb5b50cd0d9')
version('1.24.0', commit='f674afe424a508df2c8ee6c87a06fbd4aa410ef6')
+ depends_on('r-a4preproc', type=('build', 'run'))
+ depends_on('r-a4core', type=('build', 'run'))
depends_on('r-biobase', type=('build', 'run'))
- depends_on('r-annotationdbi', type=('build', 'run'))
depends_on('r-annaffy', type=('build', 'run'))
depends_on('r-mpm', type=('build', 'run'))
depends_on('r-genefilter', type=('build', 'run'))
depends_on('r-limma', type=('build', 'run'))
depends_on('r-multtest', type=('build', 'run'))
depends_on('r-glmnet', type=('build', 'run'))
- depends_on('r-a4preproc', type=('build', 'run'))
- depends_on('r-a4core', type=('build', 'run'))
depends_on('r-gplots', type=('build', 'run'))
+ depends_on('r-annotationdbi', when='@:1.32.0', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-a4classif/package.py b/var/spack/repos/builtin/packages/r-a4classif/package.py
index 38cc611b41..9886e0023d 100644
--- a/var/spack/repos/builtin/packages/r-a4classif/package.py
+++ b/var/spack/repos/builtin/packages/r-a4classif/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,11 +7,16 @@ from spack import *
class RA4classif(RPackage):
- """Automated Affymetrix Array Analysis Classification Package."""
+ """Automated Affymetrix Array Analysis Classification Package
+
+ Functionalities for classification of Affymetrix microarray data,
+ integrating within the Automated Affymetrix Array Analysis set of
+ packages."""
homepage = "https://bioconductor.org/packages/a4Classif"
git = "https://git.bioconductor.org/packages/a4Classif.git"
+ version('1.38.0', commit='c4d058813efb835774813b2d69c52912162f8e75')
version('1.32.0', commit='aa4f22df2da54b71e1a238d2b9cbcb3afa6f7f88')
version('1.30.0', commit='b62841bff2f8894a3011a4e74afc37076d1322a3')
version('1.28.0', commit='3464011f6c3ddb41b78acc47e775539034287be7')
@@ -20,8 +25,9 @@ class RA4classif(RPackage):
depends_on('r-a4core', type=('build', 'run'))
depends_on('r-a4preproc', type=('build', 'run'))
- depends_on('r-mlinterfaces', type=('build', 'run'))
+ depends_on('r-biobase', when='@1.38.0:', type=('build', 'run'))
depends_on('r-rocr', type=('build', 'run'))
depends_on('r-pamr', type=('build', 'run'))
depends_on('r-glmnet', type=('build', 'run'))
depends_on('r-varselrf', type=('build', 'run'))
+ depends_on('r-mlinterfaces', when='@:1.32.0', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-a4core/package.py b/var/spack/repos/builtin/packages/r-a4core/package.py
index d89db83f1d..0cfe0706ef 100644
--- a/var/spack/repos/builtin/packages/r-a4core/package.py
+++ b/var/spack/repos/builtin/packages/r-a4core/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,11 +7,15 @@ from spack import *
class RA4core(RPackage):
- """Automated Affymetrix Array Analysis Core Package."""
+ """Automated Affymetrix Array Analysis Core Package
+
+ Utility functions for the Automated Affymetrix Array Analysis set of
+ packages."""
homepage = "https://bioconductor.org/packages/a4Core"
git = "https://git.bioconductor.org/packages/a4Core.git"
+ version('1.38.0', commit='a027dcd3486c64950815ec7c7271f1f65ba3d8a1')
version('1.32.0', commit='2916a29723bdd514d5d987f89725d141d1d2dfce')
version('1.30.0', commit='e392b1b4339a34f93d5d9bc520a1a9385ea63141')
version('1.28.0', commit='39b6ee29bc2f2fdc5733438c14dc02f8abc6460b')
diff --git a/var/spack/repos/builtin/packages/r-a4preproc/package.py b/var/spack/repos/builtin/packages/r-a4preproc/package.py
index 934b6b6129..b0d3e8e1b9 100644
--- a/var/spack/repos/builtin/packages/r-a4preproc/package.py
+++ b/var/spack/repos/builtin/packages/r-a4preproc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,15 +7,21 @@ from spack import *
class RA4preproc(RPackage):
- """Automated Affymetrix Array Analysis Preprocessing Package."""
+ """Automated Affymetrix Array Analysis Preprocessing Package
+
+ Utility functions to pre-process data for the Automated Affymetrix Array
+ Analysis set of packages."""
homepage = "https://bioconductor.org/packages/a4Preproc"
git = "https://git.bioconductor.org/packages/a4Preproc.git"
+ version('1.38.0', commit='c93c223bd531bff090531a109b51f8dcd710d0cb')
version('1.32.0', commit='0da742e500892b682feeb39256906282ad20c558')
version('1.30.0', commit='e6fb9fa2e7c703974e6ca10c0e9681b097b05978')
version('1.28.0', commit='435d66727f1187020d034a1beaf4cd8bd4f76981')
version('1.26.0', commit='be7403acc06670c05ead1adaf60533b0fe3a65ea')
version('1.24.0', commit='651014b8102807aea4f1274e34e083e70b5e7ee7')
- depends_on('r-annotationdbi', type=('build', 'run'))
+ depends_on('r-biocgenerics', when='@1.38.0:', type=('build', 'run'))
+ depends_on('r-biobase', when='@1.38.0:', type=('build', 'run'))
+ depends_on('r-annotationdbi', when='@:1.32.0', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-a4reporting/package.py b/var/spack/repos/builtin/packages/r-a4reporting/package.py
index a99ce79bda..5f132f17ba 100644
--- a/var/spack/repos/builtin/packages/r-a4reporting/package.py
+++ b/var/spack/repos/builtin/packages/r-a4reporting/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,16 +7,20 @@ from spack import *
class RA4reporting(RPackage):
- """Automated Affymetrix Array Analysis Reporting Package."""
+ """Automated Affymetrix Array Analysis Reporting Package
+
+ Utility functions to facilitate the reporting of the Automated Affymetrix
+ Array Analysis Reporting set of packages."""
homepage = "https://bioconductor.org/packages/a4Reporting"
git = "https://git.bioconductor.org/packages/a4Reporting.git"
+ version('1.38.0', commit='cd3cf244e7a299b2485684ed15519cbbda1c590f')
version('1.32.0', commit='8d781899c625892080eb50f322694dd640d5f792')
version('1.30.0', commit='ae9b9ade45cfac2636d0445a7e0a029dfe3b9390')
version('1.28.0', commit='0fe72f48374353c39479a45e5516d0709f8c9ef7')
version('1.26.0', commit='cce201502e2d3b28fd2823b66d9f81b034dc7eaa')
version('1.24.0', commit='bf22c4d50daf40fc9eaf8c476385bf4a24a5b5ce')
- depends_on('r-annaffy', type=('build', 'run'))
depends_on('r-xtable', type=('build', 'run'))
+ depends_on('r-annaffy', when='@:1.32.0', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-abadata/package.py b/var/spack/repos/builtin/packages/r-abadata/package.py
index 3fdc18a8c0..d40325e79d 100644
--- a/var/spack/repos/builtin/packages/r-abadata/package.py
+++ b/var/spack/repos/builtin/packages/r-abadata/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RAbadata(RPackage):
- """Averaged gene expression in human brain regions from Allen Brain Atlas.
+ """Averaged gene expression in human brain regions from Allen Brain Atlas
Provides the data for the gene expression enrichment analysis conducted
in the package 'ABAEnrichment'. The package includes three datasets
@@ -21,6 +21,7 @@ class RAbadata(RPackage):
homepage = "https://bioconductor.org/packages/ABAData"
git = "https://git.bioconductor.org/packages/ABAData.git"
+ version('1.20.0', commit='c08a841ffb54d6555eb80b90a7a8afe7e48201b3')
version('1.14.0', commit='ed7460e7d2948684db69dd4b4f8e135af50198bd')
version('1.12.0', commit='9c2f0fbda75b06a0807bd714528915920899282d')
version('1.10.0', commit='197edb2c3fc733c9e44dde2b9b86ecedcd2c5e1a')
diff --git a/var/spack/repos/builtin/packages/r-abaenrichment/package.py b/var/spack/repos/builtin/packages/r-abaenrichment/package.py
index 13ff668a73..cf00e7def8 100644
--- a/var/spack/repos/builtin/packages/r-abaenrichment/package.py
+++ b/var/spack/repos/builtin/packages/r-abaenrichment/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RAbaenrichment(RPackage):
- """Gene expression enrichment in human brain regions.
+ """Gene expression enrichment in human brain regions
The package ABAEnrichment is designed to test for enrichment of user
defined candidate genes in the set of expressed genes in different human
@@ -25,19 +25,19 @@ class RAbaenrichment(RPackage):
homepage = "https://bioconductor.org/packages/ABAEnrichment"
git = "https://git.bioconductor.org/packages/ABAEnrichment.git"
+ version('1.20.0', commit='608433a0b07e6dd99915dc536a038d960f1be1d5')
version('1.14.1', commit='e1ebfb5de816b924af16675a5ba9ed1a6b527b23')
version('1.12.0', commit='1320e932deafd71d67c7a6f758d15b00d6d7f7d7')
version('1.10.0', commit='15f33ccb694a91d2d2067c937682c4bc952def6c')
version('1.8.0', commit='cb8155ee9a04fb55b2a2e8c23df7c0be15bb2624')
version('1.6.0', commit='d2a0467dcb7aa6e103e3b83dccd6510b0e142ac1')
+ depends_on('r+X', type=('build', 'run'))
depends_on('r@3.2:', type=('build', 'run'))
+ depends_on('r@3.4:', when='@1.8.0:', type=('build', 'run'))
depends_on('r-rcpp@0.11.5:', type=('build', 'run'))
depends_on('r-gplots@2.14.2:', type=('build', 'run'))
depends_on('r-gtools@3.5.0:', type=('build', 'run'))
depends_on('r-abadata@0.99.2:', type=('build', 'run'))
-
- depends_on('r@3.4:', when='@1.8.0:', type=('build', 'run'))
depends_on('r-data-table@1.10.4:', when='@1.8.0:', type=('build', 'run'))
-
depends_on('r-gofuncr@1.1.2:', when='@1.12.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-abind/package.py b/var/spack/repos/builtin/packages/r-abind/package.py
index 72e8013b64..3641213a24 100644
--- a/var/spack/repos/builtin/packages/r-abind/package.py
+++ b/var/spack/repos/builtin/packages/r-abind/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-absseq/package.py b/var/spack/repos/builtin/packages/r-absseq/package.py
index 13b9c1b7f7..8a89c49be6 100644
--- a/var/spack/repos/builtin/packages/r-absseq/package.py
+++ b/var/spack/repos/builtin/packages/r-absseq/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ from spack import *
class RAbsseq(RPackage):
"""ABSSeq: a new RNA-Seq analysis method based on modelling absolute
- expression differences.
+ expression differences
Inferring differential expression genes by absolute counts difference
between two groups, utilizing Negative binomial distribution and
@@ -18,6 +18,7 @@ class RAbsseq(RPackage):
homepage = "https://bioconductor.org/packages/ABSSeq"
git = "https://git.bioconductor.org/packages/ABSSeq.git"
+ version('1.44.0', commit='c202b4a059021ed1228ccee7303c69b0aa4ca1ee')
version('1.38.0', commit='b686d92f0f0efdb835982efe761d059bc24b34ce')
version('1.36.0', commit='bd419072432cba4ef58b4b37b3c69c85d78b1c4a')
version('1.34.1', commit='0c3a2514ef644c6e0de3714bc91959a302c9e006')
diff --git a/var/spack/repos/builtin/packages/r-acde/package.py b/var/spack/repos/builtin/packages/r-acde/package.py
index 83af5e4cc0..47d8a802ed 100644
--- a/var/spack/repos/builtin/packages/r-acde/package.py
+++ b/var/spack/repos/builtin/packages/r-acde/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RAcde(RPackage):
- """Artificial Components Detection of Differentially Expressed Genes.
+ """Artificial Components Detection of Differentially Expressed Genes
This package provides a multivariate inferential analysis method for
detecting differentially expressed genes in gene expression data. It
@@ -23,6 +23,7 @@ class RAcde(RPackage):
homepage = "https://bioconductor.org/packages/acde"
git = "https://git.bioconductor.org/packages/acde.git"
+ version('1.20.0', commit='cefb4f2e2b0ef3c5f51944c0ece7a71294020350')
version('1.14.0', commit='6017c7436a46f186b2a3cea9d2b93274f6dd3417')
version('1.12.0', commit='f6ce5926ac915c2d73436f47daf7f9791645dad4')
version('1.10.0', commit='2c303dec45f3c70bf333a6eacae568a08d5ca010')
diff --git a/var/spack/repos/builtin/packages/r-acepack/package.py b/var/spack/repos/builtin/packages/r-acepack/package.py
index e116916827..8b4e29390a 100644
--- a/var/spack/repos/builtin/packages/r-acepack/package.py
+++ b/var/spack/repos/builtin/packages/r-acepack/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-acgh/package.py b/var/spack/repos/builtin/packages/r-acgh/package.py
index 7e83884223..edf91d13e5 100644
--- a/var/spack/repos/builtin/packages/r-acgh/package.py
+++ b/var/spack/repos/builtin/packages/r-acgh/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RAcgh(RPackage):
- """Classes and functions for Array Comparative Genomic Hybridization data..
+ """Classes and functions for Array Comparative Genomic Hybridization data
Functions for reading aCGH data from image analysis output files and
clone information files, creation of aCGH S3 objects for storing these
@@ -17,6 +17,7 @@ class RAcgh(RPackage):
homepage = "https://bioconductor.org/packages/aCGH"
git = "https://git.bioconductor.org/packages/aCGH.git"
+ version('1.68.0', commit='91f41a3917ddce43eb05e11c90eb99c467ba2247')
version('1.62.0', commit='3b68b69c3380fa3b66dfb060457628a4a9c22d4f')
version('1.60.0', commit='ae581758aaa1755448f0cfef5adfb30d1e820b21')
version('1.58.0', commit='2decc79a21bff5a14d708cdc654e351515b20d3e')
diff --git a/var/spack/repos/builtin/packages/r-acme/package.py b/var/spack/repos/builtin/packages/r-acme/package.py
index c3d2e0a7fc..025950a3d8 100644
--- a/var/spack/repos/builtin/packages/r-acme/package.py
+++ b/var/spack/repos/builtin/packages/r-acme/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RAcme(RPackage):
- """Algorithms for Calculating Microarray Enrichment (ACME).
+ """Algorithms for Calculating Microarray Enrichment (ACME)
ACME (Algorithms for Calculating Microarray Enrichment) is a set of
tools for analysing tiling array ChIP/chip, DNAse hypersensitivity, or
@@ -22,6 +22,7 @@ class RAcme(RPackage):
homepage = "https://bioconductor.org/packages/ACME"
git = "https://git.bioconductor.org/packages/ACME.git"
+ version('2.46.0', commit='68f45c9f7d34c28adf6a0fc4245fdf63881109de')
version('2.40.0', commit='38499e512998d54d874a0bfdc173f4ba5de5f01a')
version('2.38.0', commit='cd03196428e8adf62e84f25c4d4545429e2c908b')
version('2.36.0', commit='39e056435b9775d35e7f7fc5446c2c3cafe15670')
diff --git a/var/spack/repos/builtin/packages/r-ada/package.py b/var/spack/repos/builtin/packages/r-ada/package.py
index e7c860cd65..ee91963925 100644
--- a/var/spack/repos/builtin/packages/r-ada/package.py
+++ b/var/spack/repos/builtin/packages/r-ada/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-adabag/package.py b/var/spack/repos/builtin/packages/r-adabag/package.py
index 9d4986fca6..e80ebe01cb 100644
--- a/var/spack/repos/builtin/packages/r-adabag/package.py
+++ b/var/spack/repos/builtin/packages/r-adabag/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-ade4/package.py b/var/spack/repos/builtin/packages/r-ade4/package.py
index d81b2815a0..61c184ce2e 100644
--- a/var/spack/repos/builtin/packages/r-ade4/package.py
+++ b/var/spack/repos/builtin/packages/r-ade4/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,15 +8,26 @@ from spack import *
class RAde4(RPackage):
"""Analysis of Ecological Data : Exploratory and Euclidean Methods in
- Environmental Sciences"""
+ Environmental Sciences
+
+ Tools for multivariate data analysis. Several methods are provided for the
+ analysis (i.e., ordination) of one-table (e.g., principal component
+ analysis, correspondence analysis), two-table (e.g., coinertia analysis,
+ redundancy analysis), three-table (e.g., RLQ analysis) and K-table (e.g.,
+ STATIS, multiple coinertia analysis). The philosophy of the package is
+ described in Dray and Dufour (2007) <doi:10.18637/jss.v022.i04>."""
homepage = "http://pbil.univ-lyon1.fr/ADE-4"
url = "https://cloud.r-project.org/src/contrib/ade4_1.7-6.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/ade4"
+ version('1.7-16', sha256='9bd7a25ff4fe30a32fd8f6b71909f4c638a0e2f002fc8303c0a4795423385590')
version('1.7-13', sha256='f5d0a7356ae63f82d3adb481a39007e7b0d70211b8724aa686af0c89c994e99b')
version('1.7-11', sha256='4ccd799ae99bd625840b866a697c4a48adb751660470bf0d6cf9207b1927a572')
version('1.7-6', sha256='80848e1650dcc0ec921c130efa6f7e9b307f0d107c63e49faa52296eda19cc52')
depends_on('r@2.10:', type=('build', 'run'))
depends_on('r-mass', type=('build', 'run'))
+ depends_on('r-pixmap', when='@1.7-16:', type=('build', 'run'))
+ depends_on('r-sp', when='@1.7-16:', type=('build', 'run'))
+ depends_on('r-progress', when='@1.7-16:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-adegenet/package.py b/var/spack/repos/builtin/packages/r-adegenet/package.py
index 3eac280830..3348afa567 100644
--- a/var/spack/repos/builtin/packages/r-adegenet/package.py
+++ b/var/spack/repos/builtin/packages/r-adegenet/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RAdegenet(RPackage):
- """Toolset for the exploration of genetic and genomic data. Adegenet
+ """Exploratory Analysis of Genetic and Genomic Data
+
+ Toolset for the exploration of genetic and genomic data. Adegenet
provides formal (S4) classes for storing and handling various genetic
data, including genetic markers with varying ploidy and hierarchical
population structure ('genind' class), alleles counts by populations
@@ -21,6 +23,7 @@ class RAdegenet(RPackage):
url = "https://cloud.r-project.org/src/contrib/adegenet_2.0.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/adegenet"
+ version('2.1.3', sha256='0790114ecb22642683b5be1f4b3a6a49856e06dc2f9e21b9cba4390c2257f6c6')
version('2.1.1', sha256='3043fe5d731a38ff0e266f090dcda448640c3d0fd61934c76da32d082e5dce7a')
version('2.1.0', sha256='7ee44061002b41164bbc09256307ab02e536f4f2ac03f36c7dc8f85f6af4639a')
version('2.0.1', sha256='7eddf46e64f680d54d034b68c50900d9bd5bc2e08309d062e230121b7460bb10')
@@ -34,7 +37,7 @@ class RAdegenet(RPackage):
depends_on('r-ggplot2', type=('build', 'run'))
depends_on('r-seqinr', type=('build', 'run'))
depends_on('r-spdep', type=('build', 'run'))
+ depends_on('r-boot', type=('build', 'run'))
depends_on('r-reshape2', type=('build', 'run'))
depends_on('r-dplyr@0.4.1:', type=('build', 'run'))
depends_on('r-vegan', type=('build', 'run'))
- depends_on('r-boot', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-adegraphics/package.py b/var/spack/repos/builtin/packages/r-adegraphics/package.py
index d007d6cb97..9be47f468e 100644
--- a/var/spack/repos/builtin/packages/r-adegraphics/package.py
+++ b/var/spack/repos/builtin/packages/r-adegraphics/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-adephylo/package.py b/var/spack/repos/builtin/packages/r-adephylo/package.py
index 3527a2fb6f..5259673222 100644
--- a/var/spack/repos/builtin/packages/r-adephylo/package.py
+++ b/var/spack/repos/builtin/packages/r-adephylo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-adespatial/package.py b/var/spack/repos/builtin/packages/r-adespatial/package.py
index aeaaae67f5..4de4296a47 100644
--- a/var/spack/repos/builtin/packages/r-adespatial/package.py
+++ b/var/spack/repos/builtin/packages/r-adespatial/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-adgoftest/package.py b/var/spack/repos/builtin/packages/r-adgoftest/package.py
index 1117c5c986..1e453c4907 100644
--- a/var/spack/repos/builtin/packages/r-adgoftest/package.py
+++ b/var/spack/repos/builtin/packages/r-adgoftest/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-adsplit/package.py b/var/spack/repos/builtin/packages/r-adsplit/package.py
index 29dd6a088f..ad1ec8163c 100644
--- a/var/spack/repos/builtin/packages/r-adsplit/package.py
+++ b/var/spack/repos/builtin/packages/r-adsplit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RAdsplit(RPackage):
- """Annotation-Driven Clustering.
+ """Annotation-Driven Clustering
This package implements clustering of microarray gene expression
profiles according to functional annotations. For each term genes are
@@ -17,6 +17,7 @@ class RAdsplit(RPackage):
homepage = "https://bioconductor.org/packages/adSplit"
git = "https://git.bioconductor.org/packages/adSplit.git"
+ version('1.60.0', commit='de5abccfe652cbc5b5f49fb6ed77cdd15cc760cd')
version('1.54.0', commit='ce8fb61f4a3d0942294da2baa28be1472acb0652')
version('1.52.0', commit='3bd105dbd76c52798b7d52f60c17de62ef13da19')
version('1.50.0', commit='a02e2c994e78ececd5a248575109c5ed36c969db')
diff --git a/var/spack/repos/builtin/packages/r-aer/package.py b/var/spack/repos/builtin/packages/r-aer/package.py
index 0b9cb5aaf1..2e0c3f6537 100644
--- a/var/spack/repos/builtin/packages/r-aer/package.py
+++ b/var/spack/repos/builtin/packages/r-aer/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RAer(RPackage):
- """Functions, data sets, examples, demos, and vignettes
+ """Applied Econometrics with R
+
+ Functions, data sets, examples, demos, and vignettes
for the book Christian Kleiber and Achim Zeileis (2008),
Applied Econometrics with R, Springer-Verlag, New York.
ISBN 978-0-387-77316-2."""
@@ -16,6 +18,7 @@ class RAer(RPackage):
url = "https://cloud.r-project.org/src/contrib/AER_1.2-5.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/AER"
+ version('1.2-9', sha256='3b79390b14766419fc1e8912689bc462d4beb01aff9dad26d628aed69d04540d')
version('1.2-7', sha256='3aee5c606313710c2dca6c1e9b2c20a145aa33f2a3ecc5cfcec66c8e91838a93')
version('1.2-6', sha256='653c3a2d253819e0ce8c2cf12cff2ab222bf3d19dbf382b7c4b4c3d762469474')
version('1.2-5', sha256='ef0cf14ff9d3de2b97e5855243426cc918808eb1011f0e2253b3b00043927a62')
diff --git a/var/spack/repos/builtin/packages/r-affxparser/package.py b/var/spack/repos/builtin/packages/r-affxparser/package.py
index c2814bbca0..c6b0adc57c 100644
--- a/var/spack/repos/builtin/packages/r-affxparser/package.py
+++ b/var/spack/repos/builtin/packages/r-affxparser/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RAffxparser(RPackage):
- """Affymetrix File Parsing SDK.
+ """Affymetrix File Parsing SDK
Package for parsing Affymetrix files (CDF, CEL, CHP, BPMAP, BAR). It
provides methods for fast and memory efficient parsing of Affymetrix
@@ -21,6 +21,7 @@ class RAffxparser(RPackage):
homepage = "https://bioconductor.org/packages/affxparser"
git = "https://git.bioconductor.org/packages/affxparser.git"
+ version('1.62.0', commit='b3e988e5c136c3f1a064e1da13730b403c8704c0')
version('1.56.0', commit='20d27701ad2bdfacf34d857bb8ecb4f505b4d056')
version('1.54.0', commit='dce83d23599a964086a84ced4afd13fc43e7cd4f')
version('1.52.0', commit='8e0c4b89ee1cb4ff95f58a5dd947249dc718bc58')
diff --git a/var/spack/repos/builtin/packages/r-affy/package.py b/var/spack/repos/builtin/packages/r-affy/package.py
index 06d65f113a..47722b3496 100644
--- a/var/spack/repos/builtin/packages/r-affy/package.py
+++ b/var/spack/repos/builtin/packages/r-affy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RAffy(RPackage):
- """Methods for Affymetrix Oligonucleotide Arrays.
+ """Methods for Affymetrix Oligonucleotide Arrays
The package contains functions for exploratory oligonucleotide array
analysis. The dependence on tkWidgets only concerns few convenience
@@ -16,6 +16,7 @@ class RAffy(RPackage):
homepage = "https://bioconductor.org/packages/affy"
git = "https://git.bioconductor.org/packages/affy.git"
+ version('1.68.0', commit='1664399610c9aa519399445a2ef8bb9ea2233eac')
version('1.62.0', commit='097ab4aa98a1700c5fae65d07bed44a477714605')
version('1.60.0', commit='fcae363e58b322ad53584d9e15e80fa2f9d17206')
version('1.58.0', commit='4698231f45f225228f56c0708cd477ad450b4ee6')
@@ -26,8 +27,7 @@ class RAffy(RPackage):
depends_on('r-biocgenerics@0.1.12:', type=('build', 'run'))
depends_on('r-biobase@2.5.5:', type=('build', 'run'))
depends_on('r-affyio@1.13.3:', type=('build', 'run'))
- depends_on('r-biocinstaller', when='@1.54.0:1.58.0', type=('build', 'run'))
+ depends_on('r-biocmanager', when='@1.60.0:', type=('build', 'run'))
depends_on('r-preprocesscore', type=('build', 'run'))
depends_on('r-zlibbioc', type=('build', 'run'))
-
- depends_on('r-biocmanager', when='@1.60.0:', type=('build', 'run'))
+ depends_on('r-biocinstaller', when='@1.54.0:1.58.0', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-affycomp/package.py b/var/spack/repos/builtin/packages/r-affycomp/package.py
index aa434c3de9..af49dd6212 100644
--- a/var/spack/repos/builtin/packages/r-affycomp/package.py
+++ b/var/spack/repos/builtin/packages/r-affycomp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RAffycomp(RPackage):
- """Graphics Toolbox for Assessment of Affymetrix Expression Measures.
+ """Graphics Toolbox for Assessment of Affymetrix Expression Measures
The package contains functions that can be used to compare expression
measures for Affymetrix Oligonucleotide Arrays."""
@@ -15,6 +15,7 @@ class RAffycomp(RPackage):
homepage = "https://bioconductor.org/packages/affycomp"
git = "https://git.bioconductor.org/packages/affycomp.git"
+ version('1.66.0', commit='388d01af8b1e6ab11051407f77d0206512df8424')
version('1.60.0', commit='5dbe61fa04941529a0fc70b728021c8e00c4ba0c')
version('1.58.0', commit='99607b2c4aad37e3e63eccbd12d0d533762f28ef')
version('1.56.0', commit='b0994da338be19396e647c680059fd35341b50a2')
diff --git a/var/spack/repos/builtin/packages/r-affycompatible/package.py b/var/spack/repos/builtin/packages/r-affycompatible/package.py
index 0baa5f8bd0..324d239007 100644
--- a/var/spack/repos/builtin/packages/r-affycompatible/package.py
+++ b/var/spack/repos/builtin/packages/r-affycompatible/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RAffycompatible(RPackage):
- """Affymetrix GeneChip software compatibility.
+ """Affymetrix GeneChip software compatibility
This package provides an interface to Affymetrix chip annotation and
sample attribute files. The package allows an easy way for users to
@@ -19,6 +19,7 @@ class RAffycompatible(RPackage):
homepage = "https://bioconductor.org/packages/AffyCompatible"
git = "https://git.bioconductor.org/packages/AffyCompatible.git"
+ version('1.50.0', commit='3b12d12bd6d1a9f0d45e012817231d137d47089e')
version('1.44.0', commit='98a27fbe880551fd32a5febb6c7bde0807eac476')
version('1.42.0', commit='699303cc20f292591e2faa12e211c588efb9eaa8')
version('1.40.0', commit='44838bdb5e8c26afbd898c49ed327ddd1a1d0301')
diff --git a/var/spack/repos/builtin/packages/r-affycontam/package.py b/var/spack/repos/builtin/packages/r-affycontam/package.py
index 4df3ea750e..22c9ddbf12 100644
--- a/var/spack/repos/builtin/packages/r-affycontam/package.py
+++ b/var/spack/repos/builtin/packages/r-affycontam/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RAffycontam(RPackage):
- """structured corruption of affymetrix cel file data.
+ """structured corruption of affymetrix cel file data
structured corruption of cel file data to demonstrate QA
effectiveness"""
@@ -15,6 +15,7 @@ class RAffycontam(RPackage):
homepage = "https://bioconductor.org/packages/affyContam"
git = "https://git.bioconductor.org/packages/affyContam.git"
+ version('1.48.0', commit='88387a2ad4be4234d36710c65f2ca3a5b06b67da')
version('1.42.0', commit='8a5e94a5ae8c2ecfafa6177b84a6e8ab07e14fbe')
version('1.40.0', commit='dfd5fd6ae04941dddbda03f656540b71b2fbc614')
version('1.38.0', commit='84651e8eade61619afefc83bb290047da101a5bc')
diff --git a/var/spack/repos/builtin/packages/r-affycoretools/package.py b/var/spack/repos/builtin/packages/r-affycoretools/package.py
index bdb1467a9c..822e2a574b 100644
--- a/var/spack/repos/builtin/packages/r-affycoretools/package.py
+++ b/var/spack/repos/builtin/packages/r-affycoretools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ from spack import *
class RAffycoretools(RPackage):
"""Functions useful for those doing repetitive analyses with Affymetrix
- GeneChips.
+ GeneChips
Various wrapper functions that have been written to streamline the more
common analyses that a core Biostatistician might see."""
@@ -16,12 +16,14 @@ class RAffycoretools(RPackage):
homepage = "https://bioconductor.org/packages/affycoretools"
git = "https://git.bioconductor.org/packages/affycoretools.git"
+ version('1.62.0', commit='c9779e4da648fd174c9bd575c6020be1c03047c4')
version('1.56.0', commit='71eab04056a8d696470420a600b14900186be898')
version('1.54.0', commit='1e1f9680bc3e1fa443f4a81ce5ab81349959b845')
version('1.52.2', commit='2f98c74fad238b94c1e453b972524ab7b573b0de')
version('1.50.6', commit='4be92bcb55d7bace2a110865b7530dcfac14e76e')
version('1.48.0', commit='e0d52e34eead1ac45d3e60c59efd940e4889eb99')
+ depends_on('r+X', type=('build', 'run'))
depends_on('r-biobase', type=('build', 'run'))
depends_on('r-affy', type=('build', 'run'))
depends_on('r-limma', type=('build', 'run'))
@@ -39,5 +41,5 @@ class RAffycoretools(RPackage):
depends_on('r-edger', type=('build', 'run'))
depends_on('r-rsqlite', type=('build', 'run'))
depends_on('r-biocgenerics', type=('build', 'run'))
-
depends_on('r-dbi', when='@1.50.6:', type=('build', 'run'))
+ depends_on('r-glimma', when='@1.62.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-affydata/package.py b/var/spack/repos/builtin/packages/r-affydata/package.py
index 720477642f..f43c8e603a 100644
--- a/var/spack/repos/builtin/packages/r-affydata/package.py
+++ b/var/spack/repos/builtin/packages/r-affydata/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RAffydata(RPackage):
- """Affymetrix Data for Demonstration Purpose.
+ """Affymetrix Data for Demonstration Purpose
Example datasets of a slightly large size. They represent 'real world
examples', unlike the artificial examples included in the package
@@ -16,6 +16,7 @@ class RAffydata(RPackage):
homepage = "https://bioconductor.org/packages/affydata"
git = "https://git.bioconductor.org/packages/affydata.git"
+ version('1.38.0', commit='b5e843b2514789d0d87bea44d762c89a95314ee7')
version('1.32.0', commit='c7cef93f6edd23024f4b1985b90e89058874c2bd')
version('1.30.0', commit='d5408d84b37ebae73b40a448dd52baf7b4a13bea')
version('1.28.0', commit='a106a5514c352bf0bbc624ded58a93886d4ce96f')
diff --git a/var/spack/repos/builtin/packages/r-affyexpress/package.py b/var/spack/repos/builtin/packages/r-affyexpress/package.py
index c01d921fa2..7f9ec7dfa0 100644
--- a/var/spack/repos/builtin/packages/r-affyexpress/package.py
+++ b/var/spack/repos/builtin/packages/r-affyexpress/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RAffyexpress(RPackage):
- """Affymetrix Quality Assessment and Analysis Tool.
+ """Affymetrix Quality Assessment and Analysis Tool
The purpose of this package is to provide a comprehensive and easy-to-
use tool for quality assessment and to identify differentially expressed
@@ -16,6 +16,7 @@ class RAffyexpress(RPackage):
homepage = "https://bioconductor.org/packages/AffyExpress"
git = "https://git.bioconductor.org/packages/AffyExpress.git"
+ version('1.56.0', commit='e07085833de2bbf81537410cad526d39f8a82478')
version('1.50.0', commit='8b98703b63396df9692afb0e15b594658125cc96')
version('1.48.0', commit='dbaed516b7529ef4f7588aafaf3c5f1d53a9bb92')
version('1.46.0', commit='2add4a4436e21aa20f1ededbfd5f1365a3d28c85')
diff --git a/var/spack/repos/builtin/packages/r-affyilm/package.py b/var/spack/repos/builtin/packages/r-affyilm/package.py
index 45ea59fb14..aa772ab218 100644
--- a/var/spack/repos/builtin/packages/r-affyilm/package.py
+++ b/var/spack/repos/builtin/packages/r-affyilm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RAffyilm(RPackage):
- """Linear Model of background subtraction and the Langmuir isotherm.
+ """Linear Model of background subtraction and the Langmuir isotherm
affyILM is a preprocessing tool which estimates gene expression levels
for Affymetrix Gene Chips. Input from physical chemistry is employed to
@@ -17,6 +17,7 @@ class RAffyilm(RPackage):
homepage = "https://bioconductor.org/packages/affyILM"
git = "https://git.bioconductor.org/packages/affyILM.git"
+ version('1.42.0', commit='b97b29786b866de38802ebbb995169be91e90942')
version('1.36.0', commit='619ced931ba72860ce4cb41c841bbca1636a1132')
version('1.34.0', commit='2c02ed2d8fa9a9585d41cf4db0b75d0a07ad8564')
version('1.32.0', commit='860f2ddada80435d309ba334eff3fab503817755')
diff --git a/var/spack/repos/builtin/packages/r-affyio/package.py b/var/spack/repos/builtin/packages/r-affyio/package.py
index 5379253475..df46f43194 100644
--- a/var/spack/repos/builtin/packages/r-affyio/package.py
+++ b/var/spack/repos/builtin/packages/r-affyio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RAffyio(RPackage):
- """Tools for parsing Affymetrix data files.
+ """Tools for parsing Affymetrix data files
Routines for parsing Affymetrix data files based upon file format
information. Primary focus is on accessing the CEL and CDF file
@@ -16,6 +16,7 @@ class RAffyio(RPackage):
homepage = "https://bioconductor.org/packages/affyio"
git = "https://git.bioconductor.org/packages/affyio.git"
+ version('1.60.0', commit='ee20528b32700e99768da48143d6d45c9a7bbe91')
version('1.54.0', commit='c0e306e1805a556a1074d1af1acdd18e0a04477f')
version('1.52.0', commit='9da725ac1098a22a370fa96eb03e51e4f6d5d963')
version('1.50.0', commit='911ea4f8e4cdf7b649b87ef7ed1a5f5b111ef38a')
diff --git a/var/spack/repos/builtin/packages/r-affypdnn/package.py b/var/spack/repos/builtin/packages/r-affypdnn/package.py
index b78e98745e..f10a0e6a79 100644
--- a/var/spack/repos/builtin/packages/r-affypdnn/package.py
+++ b/var/spack/repos/builtin/packages/r-affypdnn/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-affyplm/package.py b/var/spack/repos/builtin/packages/r-affyplm/package.py
index 29ca0119bd..e837d04fea 100644
--- a/var/spack/repos/builtin/packages/r-affyplm/package.py
+++ b/var/spack/repos/builtin/packages/r-affyplm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RAffyplm(RPackage):
- """Methods for fitting probe-level models.
+ """Methods for fitting probe-level models
A package that extends and improves the functionality of the base affy
package. Routines that make heavy use of compiled code for speed.
@@ -18,6 +18,7 @@ class RAffyplm(RPackage):
homepage = "https://bioconductor.org/packages/affyPLM"
git = "https://git.bioconductor.org/packages/affyPLM.git"
+ version('1.66.0', commit='f0780c3d0e9dccaff83861b98beb5c1d324c4399')
version('1.60.0', commit='b11e377d6af3fd0f28aba8195ebf171003da1a9d')
version('1.58.0', commit='32764c7691d9a72a301d50042a8844112887a1c8')
version('1.56.0', commit='13dfc558281af9a177d4d592c34cf7ace629af0e')
diff --git a/var/spack/repos/builtin/packages/r-affyqcreport/package.py b/var/spack/repos/builtin/packages/r-affyqcreport/package.py
index 17c7fa1661..526f7c2410 100644
--- a/var/spack/repos/builtin/packages/r-affyqcreport/package.py
+++ b/var/spack/repos/builtin/packages/r-affyqcreport/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RAffyqcreport(RPackage):
- """QC Report Generation for affyBatch objects.
+ """QC Report Generation for affyBatch objects
This package creates a QC report for an AffyBatch object. The report is
intended to allow the user to quickly assess the quality of a set of
@@ -16,6 +16,7 @@ class RAffyqcreport(RPackage):
homepage = "https://bioconductor.org/packages/affyQCReport"
git = "https://git.bioconductor.org/packages/affyQCReport.git"
+ version('1.68.0', commit='34b42a16f87a90a595146f4a1802ed04f6bfccca')
version('1.62.0', commit='92d4124b688b90a6a9b8a21ab9d13d92b368cee4')
version('1.60.0', commit='d0c15b1c56fc1caf6f114877ea6c1b8483a0dcfa')
version('1.58.0', commit='14be93a1e7a6d1a64c38ed2f53e0c52a389b2a1b')
@@ -26,6 +27,7 @@ class RAffyqcreport(RPackage):
depends_on('r-affy', type=('build', 'run'))
depends_on('r-lattice', type=('build', 'run'))
depends_on('r-affyplm', type=('build', 'run'))
+ depends_on('r-biobase', when='@1.68.0:', type=('build', 'run'))
depends_on('r-genefilter', type=('build', 'run'))
depends_on('r-rcolorbrewer', type=('build', 'run'))
depends_on('r-simpleaffy', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-affyrnadegradation/package.py b/var/spack/repos/builtin/packages/r-affyrnadegradation/package.py
index f03e50594f..adb6649f9a 100644
--- a/var/spack/repos/builtin/packages/r-affyrnadegradation/package.py
+++ b/var/spack/repos/builtin/packages/r-affyrnadegradation/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ from spack import *
class RAffyrnadegradation(RPackage):
"""Analyze and correct probe positional bias in microarray data due to RNA
- degradation.
+ degradation
The package helps with the assessment and correction of RNA degradation
effects in Affymetrix 3' expression arrays. The parameter d gives a
@@ -19,6 +19,7 @@ class RAffyrnadegradation(RPackage):
homepage = "https://bioconductor.org/packages/AffyRNADegradation"
git = "https://git.bioconductor.org/packages/AffyRNADegradation.git"
+ version('1.36.0', commit='89662b93076659db2967a526899184c12c156bc5')
version('1.30.0', commit='620c464fb09248e1c7a122828eab59a4fb778cc1')
version('1.28.0', commit='aff91d78fa9e76edaa3ef6a9a43b98b86cc44c24')
version('1.26.0', commit='6ab03ad624701464280bf7dfe345d200e846298a')
diff --git a/var/spack/repos/builtin/packages/r-agdex/package.py b/var/spack/repos/builtin/packages/r-agdex/package.py
index 03aea88d09..4c34d5e317 100644
--- a/var/spack/repos/builtin/packages/r-agdex/package.py
+++ b/var/spack/repos/builtin/packages/r-agdex/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RAgdex(RPackage):
- """Agreement of Differential Expression Analysis.
+ """Agreement of Differential Expression Analysis
A tool to evaluate agreement of differential expression for cross-
species genomics"""
@@ -15,6 +15,7 @@ class RAgdex(RPackage):
homepage = "https://bioconductor.org/packages/AGDEX"
git = "https://git.bioconductor.org/packages/AGDEX.git"
+ version('1.38.0', commit='7e2c1f5f27ccbea6a7157f5122212e40408b74da')
version('1.32.0', commit='254ad2c876ab9ac48c3c3b395160dccabc084acf')
version('1.30.0', commit='d6cc21ed7e11e6644399495fa5f8b36368625d4b')
version('1.28.0', commit='7d78ee424485018b73cd019ceaed7a2ed53adf3f')
diff --git a/var/spack/repos/builtin/packages/r-agilp/package.py b/var/spack/repos/builtin/packages/r-agilp/package.py
index fdc829b212..66527ad2bd 100644
--- a/var/spack/repos/builtin/packages/r-agilp/package.py
+++ b/var/spack/repos/builtin/packages/r-agilp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,14 @@ from spack import *
class RAgilp(RPackage):
- """Agilent expression array processing package.
+ """Agilent expression array processing package
- More about what it does (maybe more than one line)"""
+ More about what it does (maybe more than one line)."""
homepage = "https://bioconductor.org/packages/agilp"
git = "https://git.bioconductor.org/packages/agilp.git"
+ version('3.22.0', commit='7d089d576752e0526f15a1007e94436089954313')
version('3.16.0', commit='2900d6066317f21d076b3a043b16f32eca168c47')
version('3.14.0', commit='8feb047d70216013462ea7806e9227d192b60c61')
version('3.12.0', commit='a86dea1b03b2b56c2c8317d4b10903fb8948ffcb')
diff --git a/var/spack/repos/builtin/packages/r-agimicrorna/package.py b/var/spack/repos/builtin/packages/r-agimicrorna/package.py
index 77444f68a3..01d44cc3d9 100644
--- a/var/spack/repos/builtin/packages/r-agimicrorna/package.py
+++ b/var/spack/repos/builtin/packages/r-agimicrorna/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,17 +8,21 @@ from spack import *
class RAgimicrorna(RPackage):
"""Processing and Differential Expression Analysis of Agilent microRNA
- chips."""
+ chips
+
+ Processing and Analysis of Agilent microRNA data."""
homepage = "https://bioconductor.org/packages/AgiMicroRna"
git = "https://git.bioconductor.org/packages/AgiMicroRna.git"
+ version('2.40.0', commit='cfa4acb2215da44767ab3a45845bcd587c309e74')
version('2.34.0', commit='aaa8cdd70ed2696c313f6240ffbfa044f0d97a7a')
version('2.32.0', commit='681ae17d07e8e533f798a607b761b71a31f407d8')
version('2.30.0', commit='99b5a8284cfe3e93c3ae85a2436e87101b9599dd')
version('2.28.0', commit='62c4a12f1168c7aa1ab46d2c97090ef71478328e')
version('2.26.0', commit='6dd74bae47986f2a23d03e3f1f9f78f701dd8053')
+ depends_on('r+X', type=('build', 'run'))
depends_on('r@2.10:', type=('build', 'run'))
depends_on('r-biobase', type=('build', 'run'))
depends_on('r-limma', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-aims/package.py b/var/spack/repos/builtin/packages/r-aims/package.py
index 72bb4bc0b4..e80f9f710a 100644
--- a/var/spack/repos/builtin/packages/r-aims/package.py
+++ b/var/spack/repos/builtin/packages/r-aims/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RAims(RPackage):
- """AIMS : Absolute Assignment of Breast Cancer Intrinsic Molecular Subtype.
+ """AIMS : Absolute Assignment of Breast Cancer Intrinsic Molecular Subtype
This package contains the AIMS implementation. It contains necessary
functions to assign the five intrinsic molecular subtypes (Luminal A,
@@ -18,6 +18,7 @@ class RAims(RPackage):
homepage = "https://bioconductor.org/packages/AIMS"
git = "https://git.bioconductor.org/packages/AIMS.git"
+ version('1.22.0', commit='34a38978b24377abb864eff7683bb36344ff171d')
version('1.16.0', commit='86cb8c998ade3003cd34a5405b218ae07d97bf84')
version('1.14.1', commit='4125c4217a7e4f00169b5ba65dcc3778fdd33c6f')
version('1.12.0', commit='d7eaa723d19a6aca37df244fd0b3d5426ed0a626')
diff --git a/var/spack/repos/builtin/packages/r-aldex2/package.py b/var/spack/repos/builtin/packages/r-aldex2/package.py
index 8b8d5635da..a930970424 100644
--- a/var/spack/repos/builtin/packages/r-aldex2/package.py
+++ b/var/spack/repos/builtin/packages/r-aldex2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RAldex2(RPackage):
- """Analysis Of Differential Abundance Taking Sample Variation Into Account.
+ """Analysis Of Differential Abundance Taking Sample Variation Into Account
A differential abundance analysis for the comparison of two or more
conditions. Useful for analyzing data from standard RNA-seq or meta-RNA-
@@ -24,16 +24,17 @@ class RAldex2(RPackage):
homepage = "https://bioconductor.org/packages/ALDEx2"
git = "https://git.bioconductor.org/packages/ALDEx2.git"
+ version('1.22.0', commit='ac7f0ab3f094ec52713da7620a27058b14c7181d')
version('1.16.0', commit='bd698a896a5bea91187e3060e56a147bad1d586f')
version('1.14.1', commit='a8b970c594a00a37c064227bf312d5f89dccabe8')
version('1.12.0', commit='9efde428d22a0be1fe7b6655d45ddce8fcded180')
version('1.10.0', commit='e43f99e4009ad4d5ed200cc8a19faf7091c0c98a')
version('1.8.0', commit='24104824ca2402ad4f54fbf1ed9cee7fac2aaaf1')
- depends_on('r-s4vectors', type=('build', 'run'))
- depends_on('r-iranges', type=('build', 'run'))
+ depends_on('r-zcompositions', when='@1.22.0:', type=('build', 'run'))
+ depends_on('r-biocparallel', type=('build', 'run'))
depends_on('r-genomicranges', type=('build', 'run'))
+ depends_on('r-iranges', type=('build', 'run'))
+ depends_on('r-s4vectors', type=('build', 'run'))
depends_on('r-summarizedexperiment', type=('build', 'run'))
- depends_on('r-biocparallel', type=('build', 'run'))
-
depends_on('r-multtest', when='@1.10.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-allelicimbalance/package.py b/var/spack/repos/builtin/packages/r-allelicimbalance/package.py
index d90389605e..5d97d3081d 100644
--- a/var/spack/repos/builtin/packages/r-allelicimbalance/package.py
+++ b/var/spack/repos/builtin/packages/r-allelicimbalance/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RAllelicimbalance(RPackage):
- """Investigates Allele Specific Expression.
+ """Investigates Allele Specific Expression
Provides a framework for allelic specific expression investigation using
RNA-seq data."""
@@ -15,6 +15,7 @@ class RAllelicimbalance(RPackage):
homepage = "https://bioconductor.org/packages/AllelicImbalance"
git = "https://git.bioconductor.org/packages/AllelicImbalance.git"
+ version('1.28.0', commit='ac5d13c9ee0935bf9500ee542792644e752a1fde')
version('1.22.0', commit='04692e367e8c6aac475d06adfd7cfa629baab05a')
version('1.20.0', commit='4cd3a789d872151b0d906ec419677271fecdf7c3')
version('1.18.0', commit='6d6eed7487e9207dba556bc76283bcc7745808ea')
@@ -22,18 +23,29 @@ class RAllelicimbalance(RPackage):
version('1.14.0', commit='35958534945819baafde0e13d1eb4d05a514142c')
depends_on('r@3.2.0:', type=('build', 'run'))
+ depends_on('r@4.0.0:', when='@1.28.0:', type=('build', 'run'))
depends_on('r-genomicranges', type=('build', 'run'))
+ depends_on('r-genomicranges@1.31.8:', when='@1.18.0:', type=('build', 'run'))
depends_on('r-summarizedexperiment@0.2.0:', type=('build', 'run'))
depends_on('r-genomicalignments', type=('build', 'run'))
+ depends_on('r-genomicalignments@1.15.6:', when='@1.18.0:', type=('build', 'run'))
depends_on('r-biocgenerics', type=('build', 'run'))
depends_on('r-annotationdbi', type=('build', 'run'))
depends_on('r-bsgenome', type=('build', 'run'))
+ depends_on('r-bsgenome@1.47.3:', when='@1.18.0:', type=('build', 'run'))
depends_on('r-variantannotation', type=('build', 'run'))
+ depends_on('r-variantannotation@1.25.11:', when='@1.18.0:', type=('build', 'run'))
depends_on('r-biostrings', type=('build', 'run'))
+ depends_on('r-biostrings@2.47.6:', when='@1.18.0:', type=('build', 'run'))
depends_on('r-s4vectors@0.9.25:', type=('build', 'run'))
+ depends_on('r-s4vectors@0.17.25:', when='@1.18.0:', type=('build', 'run'))
depends_on('r-iranges', type=('build', 'run'))
+ depends_on('r-iranges@2.13.12:', when='@1.18.0:', type=('build', 'run'))
depends_on('r-rsamtools', type=('build', 'run'))
+ depends_on('r-rsamtools@1.31.2:', when='@1.18.0:', type=('build', 'run'))
+ depends_on('r-rsamtools@1.99.3:', when='@1.22.0:', type=('build', 'run'))
depends_on('r-genomicfeatures', type=('build', 'run'))
+ depends_on('r-genomicfeatures@1.31.3:', when='@1.18.0:', type=('build', 'run'))
depends_on('r-gviz', type=('build', 'run'))
depends_on('r-lattice', type=('build', 'run'))
depends_on('r-latticeextra', type=('build', 'run'))
@@ -41,15 +53,3 @@ class RAllelicimbalance(RPackage):
depends_on('r-seqinr', type=('build', 'run'))
depends_on('r-genomeinfodb', type=('build', 'run'))
depends_on('r-nlme', type=('build', 'run'))
-
- depends_on('r-genomicranges@1.31.8:', when='@1.18.0:', type=('build', 'run'))
- depends_on('r-genomicalignments@1.15.6:', when='@1.18.0:', type=('build', 'run'))
- depends_on('r-bsgenome@1.47.3:', when='@1.18.0:', type=('build', 'run'))
- depends_on('r-variantannotation@1.25.11:', when='@1.18.0:', type=('build', 'run'))
- depends_on('r-biostrings@2.47.6:', when='@1.18.0:', type=('build', 'run'))
- depends_on('r-s4vectors@0.17.25:', when='@1.18.0:', type=('build', 'run'))
- depends_on('r-iranges@2.13.12:', when='@1.18.0:', type=('build', 'run'))
- depends_on('r-rsamtools@1.31.2:', when='@1.18.0:', type=('build', 'run'))
- depends_on('r-genomicfeatures@1.31.3:', when='@1.18.0:', type=('build', 'run'))
-
- depends_on('r-rsamtools@1.99.3:', when='@1.22.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-alpine/package.py b/var/spack/repos/builtin/packages/r-alpine/package.py
index cf8a203975..2be92fe260 100644
--- a/var/spack/repos/builtin/packages/r-alpine/package.py
+++ b/var/spack/repos/builtin/packages/r-alpine/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RAlpine(RPackage):
- """alpine.
+ """alpine
Fragment sequence bias modeling and correction for RNA-seq transcript
abundance estimation."""
@@ -15,6 +15,7 @@ class RAlpine(RPackage):
homepage = "https://bioconductor.org/packages/alpine"
git = "https://git.bioconductor.org/packages/alpine.git"
+ version('1.16.0', commit='aee397774ac6cd17ad45dc05be14c526647f3c13')
version('1.10.0', commit='bf22597eb2c6c6aaa26900ed4ece96ce7256e77c')
version('1.8.0', commit='ddaa0b4517f0909460aa1bd33c8e43dc6c8d23d4')
version('1.6.0', commit='ea55fcb3cedb5caa20d8264bb29a4975041f5274')
diff --git a/var/spack/repos/builtin/packages/r-als/package.py b/var/spack/repos/builtin/packages/r-als/package.py
index bf696f7123..76e3529ac0 100644
--- a/var/spack/repos/builtin/packages/r-als/package.py
+++ b/var/spack/repos/builtin/packages/r-als/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-alsace/package.py b/var/spack/repos/builtin/packages/r-alsace/package.py
index d039edd0f6..35c04521d1 100644
--- a/var/spack/repos/builtin/packages/r-alsace/package.py
+++ b/var/spack/repos/builtin/packages/r-alsace/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RAlsace(RPackage):
- """ALS for the Automatic Chemical Exploration of mixtures.
+ """ALS for the Automatic Chemical Exploration of mixtures
Alternating Least Squares (or Multivariate Curve Resolution) for
analytical chemical data, in particular hyphenated data where the first
@@ -19,6 +19,7 @@ class RAlsace(RPackage):
homepage = "https://bioconductor.org/packages/alsace"
git = "https://git.bioconductor.org/packages/alsace.git"
+ version('1.26.0', commit='40a76404acb1466723a78a55d87c67eec3e6f306')
version('1.20.0', commit='47f1cf8daafc864e5e3418009f349ce85d6b0389')
version('1.18.0', commit='c9fc43c7b441de43b14ef1be69926c4c4a566191')
version('1.16.0', commit='5a51a19aeccbba0123222201cb7a228559f29653')
diff --git a/var/spack/repos/builtin/packages/r-altcdfenvs/package.py b/var/spack/repos/builtin/packages/r-altcdfenvs/package.py
index d49a46bff3..0724e52243 100644
--- a/var/spack/repos/builtin/packages/r-altcdfenvs/package.py
+++ b/var/spack/repos/builtin/packages/r-altcdfenvs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,14 @@ from spack import *
class RAltcdfenvs(RPackage):
- """alternative CDF environments (aka probeset mappings).
+ """alternative CDF environments (aka probeset mappings)
- Convenience data structures and functions to handle cdfenvs"""
+ Convenience data structures and functions to handle cdfenvs."""
homepage = "https://bioconductor.org/packages/altcdfenvs"
git = "https://git.bioconductor.org/packages/altcdfenvs.git"
+ version('2.52.0', commit='21329abf82eae26f84b7c0270e81c8e089c548ce')
version('2.46.0', commit='90a11e748a5af98cabfd6670a5b7b256420d172b')
version('2.44.0', commit='d804f6432422bd532abab415710f890b36cc8133')
version('2.42.0', commit='00ec6461877a063d938494b8ed0cd273a3b20b85')
diff --git a/var/spack/repos/builtin/packages/r-amap/package.py b/var/spack/repos/builtin/packages/r-amap/package.py
index cfc312a9e9..80eef5e198 100644
--- a/var/spack/repos/builtin/packages/r-amap/package.py
+++ b/var/spack/repos/builtin/packages/r-amap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,16 @@ from spack import *
class RAmap(RPackage):
- """Tools for Clustering and Principal Component Analysis
- (With robust methods, and parallelized functions)."""
+ """Another Multidimensional Analysis Package
+
+ Tools for Clustering and Principal Component Analysis (With robust methods,
+ and parallelized functions)."""
homepage = "http://mulcyber.toulouse.inra.fr/projects/amap/"
url = "https://cloud.r-project.org/src/contrib/amap_0.8-16.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/amap/"
+ version('0.8-18', sha256='7afbbdd681a201121374821b733c9000ca1046a2353ee386507604c2c759ec7e')
version('0.8-17', sha256='6b8473d1d35a9cbc611661882c8f681162e8f913f911ccd51629200ae72289c6')
version('0.8-16', sha256='d3775ad7f660581f7d2f070e426be95ae0d6743622943e6f5491988e5217d4e2')
diff --git a/var/spack/repos/builtin/packages/r-ampliqueso/package.py b/var/spack/repos/builtin/packages/r-ampliqueso/package.py
index 94292707b9..cbd5f7cf4a 100644
--- a/var/spack/repos/builtin/packages/r-ampliqueso/package.py
+++ b/var/spack/repos/builtin/packages/r-ampliqueso/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -21,6 +21,7 @@ class RAmpliqueso(RPackage):
version('1.16.0', commit='25d2543ff9dedef4f966f999c95cdf87185d3bb3')
version('1.14.0', commit='9a4c26ec594171279aba8ab7fe59c4a2ea09b06b')
+ depends_on('r+X', type=('build', 'run'))
depends_on('r@2.15.0:', type=('build', 'run'))
depends_on('r-rnaseqmap@2.17.1:', type=('build', 'run'))
depends_on('r-knitr', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-analysispageserver/package.py b/var/spack/repos/builtin/packages/r-analysispageserver/package.py
index d72e3c5a50..a2e425c447 100644
--- a/var/spack/repos/builtin/packages/r-analysispageserver/package.py
+++ b/var/spack/repos/builtin/packages/r-analysispageserver/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-anaquin/package.py b/var/spack/repos/builtin/packages/r-anaquin/package.py
index 10a8e15160..ecd641d3cd 100644
--- a/var/spack/repos/builtin/packages/r-anaquin/package.py
+++ b/var/spack/repos/builtin/packages/r-anaquin/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RAnaquin(RPackage):
- """Statistical analysis of sequins.
+ """Statistical analysis of sequins
The project is intended to support the use of sequins (synthetic
sequencing spike-in controls) owned and made available by the Garvan
@@ -18,6 +18,7 @@ class RAnaquin(RPackage):
homepage = "https://bioconductor.org/packages/Anaquin"
git = "https://git.bioconductor.org/packages/Anaquin.git"
+ version('2.14.0', commit='d0a34c931a0e72080bff91dacb37dbbe26b45386')
version('2.8.0', commit='f591d420740b77881ae0a4c16b208c63d460c601')
version('2.6.1', commit='22b6c71697fe1e2db8f6d18f77728d0fd96fa6d6')
version('2.4.0', commit='0d6ae80ff622151a782e4774ca274f06024a71d2')
diff --git a/var/spack/repos/builtin/packages/r-aneufinder/package.py b/var/spack/repos/builtin/packages/r-aneufinder/package.py
index ece9dc0c9a..31894e53dc 100644
--- a/var/spack/repos/builtin/packages/r-aneufinder/package.py
+++ b/var/spack/repos/builtin/packages/r-aneufinder/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RAneufinder(RPackage):
- """Analysis of Copy Number Variation in Single-Cell-Sequencing Data.
+ """Analysis of Copy Number Variation in Single-Cell-Sequencing Data
AneuFinder implements functions for copy-number detection, breakpoint
detection, and karyotype and heterogeneity analysis in single-cell whole
@@ -16,6 +16,7 @@ class RAneufinder(RPackage):
homepage = "https://bioconductor.org/packages/AneuFinder"
git = "https://git.bioconductor.org/packages/AneuFinder.git"
+ version('1.18.0', commit='76ec9af947f97212084ca478e8e82f9e0eb79de9')
version('1.12.1', commit='e788fd0c864f0bf0abd93df44c6d42f82eb37e0e')
version('1.10.2', commit='56578ae69abac93dfea6bcac1fc205b14b6ba9dd')
version('1.8.0', commit='36a729d244add5aafbe21c37a1baaea6a50354d3')
@@ -23,27 +24,26 @@ class RAneufinder(RPackage):
version('1.4.0', commit='e5bdf4d5e4f84ee5680986826ffed636ed853b8e')
depends_on('r@3.3:', type=('build', 'run'))
+ depends_on('r@3.5:', when='@1.10.2:', type=('build', 'run'))
depends_on('r-genomicranges', type=('build', 'run'))
+ depends_on('r-ggplot2', type=('build', 'run'))
depends_on('r-cowplot', type=('build', 'run'))
depends_on('r-aneufinderdata', type=('build', 'run'))
depends_on('r-foreach', type=('build', 'run'))
depends_on('r-doparallel', type=('build', 'run'))
depends_on('r-biocgenerics', when='@1.4.0:1.6.0', type=('build', 'run'))
+ depends_on('r-biocgenerics@0.31.6:', when='@1.18.0:', type=('build', 'run'))
depends_on('r-s4vectors', type=('build', 'run'))
depends_on('r-genomeinfodb', type=('build', 'run'))
depends_on('r-iranges', type=('build', 'run'))
depends_on('r-rsamtools', type=('build', 'run'))
depends_on('r-bamsignals', type=('build', 'run'))
depends_on('r-dnacopy', type=('build', 'run'))
+ depends_on('r-ecp', when='@1.8.0:', type=('build', 'run'))
depends_on('r-biostrings', type=('build', 'run'))
depends_on('r-genomicalignments', type=('build', 'run'))
- depends_on('r-ggplot2', type=('build', 'run'))
depends_on('r-reshape2', type=('build', 'run'))
depends_on('r-ggdendro', type=('build', 'run'))
depends_on('r-ggrepel', type=('build', 'run'))
depends_on('r-reordercluster', type=('build', 'run'))
depends_on('r-mclust', type=('build', 'run'))
-
- depends_on('r-ecp', when='@1.8.0:', type=('build', 'run'))
-
- depends_on('r@3.5:', when='@1.10.2:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-aneufinderdata/package.py b/var/spack/repos/builtin/packages/r-aneufinderdata/package.py
index 18d1ec2534..5189efaf29 100644
--- a/var/spack/repos/builtin/packages/r-aneufinderdata/package.py
+++ b/var/spack/repos/builtin/packages/r-aneufinderdata/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RAneufinderdata(RPackage):
- """WGSCS Data for Demonstration Purposes.
+ """WGSCS Data for Demonstration Purposes
Whole-genome single cell sequencing data for demonstration purposes in
the AneuFinder package."""
@@ -15,6 +15,7 @@ class RAneufinderdata(RPackage):
homepage = "https://bioconductor.org/packages/AneuFinderData"
git = "https://git.bioconductor.org/packages/AneuFinderData.git"
+ version('1.18.0', commit='1bf1657b28fc8c1425e611980a692da952ce3d1e')
version('1.12.0', commit='7350f38856b6278e07eca141f7f3cb24bc60c3a1')
version('1.10.0', commit='ef7fc27f9af4f178fa45a21aba30709e1ebde035')
version('1.8.0', commit='4f00f8d5f2e968fea667a7feafc0a4607d6e0c6e')
diff --git a/var/spack/repos/builtin/packages/r-animation/package.py b/var/spack/repos/builtin/packages/r-animation/package.py
index a60ad02998..6cc3e1bb4e 100644
--- a/var/spack/repos/builtin/packages/r-animation/package.py
+++ b/var/spack/repos/builtin/packages/r-animation/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -20,6 +20,7 @@ class RAnimation(RPackage):
version('2.6', sha256='90293638920ac436e7e4de76ebfd92e1643ccdb0259b62128f16dd0b13245b0a')
version('2.5', sha256='b232fef1b318c79710e5e1923d87baba4c85ffe2c77ddb188130e0911d8cb55f')
+ depends_on('r+X', type=('build', 'run'))
depends_on('r@2.14:', type=('build', 'run'))
depends_on('r-magick', when='@2.6:', type=('build', 'run'))
depends_on('imagemagick')
diff --git a/var/spack/repos/builtin/packages/r-annaffy/package.py b/var/spack/repos/builtin/packages/r-annaffy/package.py
index 596be2a18f..964fbb3b9f 100644
--- a/var/spack/repos/builtin/packages/r-annaffy/package.py
+++ b/var/spack/repos/builtin/packages/r-annaffy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RAnnaffy(RPackage):
- """Annotation tools for Affymetrix biological metadata.
+ """Annotation tools for Affymetrix biological metadata
Functions for handling data from Bioconductor Affymetrix annotation data
packages. Produces compact HTML and text reports including experimental
@@ -17,6 +17,7 @@ class RAnnaffy(RPackage):
homepage = "https://bioconductor.org/packages/annaffy"
git = "https://git.bioconductor.org/packages/annaffy.git"
+ version('1.62.0', commit='ad9c37e0e7e45e0f35c208ce528ba48000b37432')
version('1.56.0', commit='8c8e16aa0f3073880c39684fd8e554a052ec6233')
version('1.54.0', commit='e1b3bf10515255eb994cd8bdf85697ea728c3484')
version('1.52.0', commit='ef84030163045f702941c8d5a59fbd4a09f30e2c')
diff --git a/var/spack/repos/builtin/packages/r-annotate/package.py b/var/spack/repos/builtin/packages/r-annotate/package.py
index da58ce0c2a..6544684005 100644
--- a/var/spack/repos/builtin/packages/r-annotate/package.py
+++ b/var/spack/repos/builtin/packages/r-annotate/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,14 @@ from spack import *
class RAnnotate(RPackage):
- """Annotation for microarrays.
+ """Annotation for microarrays
Using R enviroments for annotation."""
homepage = "https://bioconductor.org/packages/annotate"
git = "https://git.bioconductor.org/packages/annotate.git"
+ version('1.68.0', commit='98cdb12c612b3f3fc06329a89a1ffb0a92b555c0')
version('1.62.0', commit='19af0b39747ea83fe8fe9b8bbb6036363bc815cd')
version('1.60.1', commit='9d8f87db02bf0c1593e79da754335a24d3a8ed16')
version('1.58.0', commit='d1b5dd5feb8793f4f816d9a4aecbebb5ec7df7bc')
@@ -27,4 +28,5 @@ class RAnnotate(RPackage):
depends_on('r-dbi', type=('build', 'run'))
depends_on('r-xtable', type=('build', 'run'))
depends_on('r-biocgenerics@0.13.8:', type=('build', 'run'))
- depends_on('r-rcurl', type=('build', 'run'))
+ depends_on('r-httr', when='@1.68.0:', type=('build', 'run'))
+ depends_on('r-rcurl', when='@:1.62.0', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-annotationdbi/package.py b/var/spack/repos/builtin/packages/r-annotationdbi/package.py
index 8ffc832848..61a9fa9669 100644
--- a/var/spack/repos/builtin/packages/r-annotationdbi/package.py
+++ b/var/spack/repos/builtin/packages/r-annotationdbi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RAnnotationdbi(RPackage):
- """Manipulation of SQLite-based annotations in Bioconductor.
+ """Manipulation of SQLite-based annotations in Bioconductor
Implements a user-friendly interface for querying SQLite-based
annotation data packages."""
@@ -15,6 +15,7 @@ class RAnnotationdbi(RPackage):
homepage = "https://bioconductor.org/packages/AnnotationDbi"
git = "https://git.bioconductor.org/packages/AnnotationDbi.git"
+ version('1.52.0', commit='c4e0ca9bd65362ae9cad6a98d90f54267b0ae838')
version('1.46.1', commit='ff260913741d0fcf9487eeb1f44a6c6968ced5b9')
version('1.44.0', commit='ce191b08cfd612d014431325c26c91b11c5f13ac')
version('1.42.1', commit='71085b47ea2e1ef929bebe8b17eb8e8a573f98e3')
@@ -23,12 +24,10 @@ class RAnnotationdbi(RPackage):
depends_on('r@2.7.0:', type=('build', 'run'))
depends_on('r-biocgenerics@0.15.10:', type=('build', 'run'))
+ depends_on('r-biocgenerics@0.23.1:', when='@1.40.0:', type=('build', 'run'))
+ depends_on('r-biocgenerics@0.29.2:', when='@1.46.1:', type=('build', 'run'))
depends_on('r-biobase@1.17.0:', type=('build', 'run'))
depends_on('r-iranges', type=('build', 'run'))
depends_on('r-dbi', type=('build', 'run'))
depends_on('r-rsqlite', type=('build', 'run'))
depends_on('r-s4vectors@0.9.25:', type=('build', 'run'))
-
- depends_on('r-biocgenerics@0.23.1:', when='@1.40.0:', type=('build', 'run'))
-
- depends_on('r-biocgenerics@0.29.2:', when='@1.46.1:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-annotationfilter/package.py b/var/spack/repos/builtin/packages/r-annotationfilter/package.py
index 2705074a7a..ba5ae683ad 100644
--- a/var/spack/repos/builtin/packages/r-annotationfilter/package.py
+++ b/var/spack/repos/builtin/packages/r-annotationfilter/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RAnnotationfilter(RPackage):
- """Facilities for Filtering Bioconductor Annotation Resources.
+ """Facilities for Filtering Bioconductor Annotation Resources
This package provides class and other infrastructure to implement
filters for manipulating Bioconductor annotation resources. The filters
@@ -16,6 +16,7 @@ class RAnnotationfilter(RPackage):
homepage = "https://bioconductor.org/packages/AnnotationFilter"
git = "https://git.bioconductor.org/packages/AnnotationFilter.git"
+ version('1.14.0', commit='6ee3a13ed93a535ed452cbc8c118151a2cbb732c')
version('1.8.0', commit='9bf70ead899e32e84e2908f2b29cd38250d2d1ed')
version('1.6.0', commit='fa40a7e17e93fac9e85091ff93f256adf145dec3')
version('1.4.0', commit='acbd3309f478843a7899bd9773af5f19f986b829')
diff --git a/var/spack/repos/builtin/packages/r-annotationforge/package.py b/var/spack/repos/builtin/packages/r-annotationforge/package.py
index cffa1d1dbd..6840dedf8f 100644
--- a/var/spack/repos/builtin/packages/r-annotationforge/package.py
+++ b/var/spack/repos/builtin/packages/r-annotationforge/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RAnnotationforge(RPackage):
- """Tools for building SQLite-based annotation data packages.
+ """Tools for building SQLite-based annotation data packages
Provides code for generating Annotation packages and their databases.
Packages produced are intended to be used with AnnotationDbi."""
@@ -15,6 +15,7 @@ class RAnnotationforge(RPackage):
homepage = "https://bioconductor.org/packages/AnnotationForge"
git = "https://git.bioconductor.org/packages/AnnotationForge.git"
+ version('1.32.0', commit='3d17c2a945951c02fe152e5a8a8e9c6cb41e30f7')
version('1.26.0', commit='5d181f32df1fff6446af64a2538a7d25c23fe46e')
version('1.24.0', commit='3e1fe863573e5b0f69f35a9ad6aebce11ef83d0d')
version('1.22.2', commit='8eafb1690c1c02f6291ccbb38ac633d54b8217f8')
diff --git a/var/spack/repos/builtin/packages/r-annotationhub/package.py b/var/spack/repos/builtin/packages/r-annotationhub/package.py
index 4437ec2c14..457d541d06 100644
--- a/var/spack/repos/builtin/packages/r-annotationhub/package.py
+++ b/var/spack/repos/builtin/packages/r-annotationhub/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RAnnotationhub(RPackage):
- """Client to access AnnotationHub resources.
+ """Client to access AnnotationHub resources
This package provides a client for the Bioconductor AnnotationHub web
resource. The AnnotationHub web resource provides a central location
@@ -21,6 +21,7 @@ class RAnnotationhub(RPackage):
homepage = "https://bioconductor.org/packages/AnnotationHub"
git = "https://git.bioconductor.org/packages/AnnotationHub.git"
+ version('2.22.0', commit='3ab7dceebbc31ac14ca931f66c662cf9538b7d0a')
version('2.16.1', commit='f8cefaae603b782e1c1ad277a3fb89d44e3aa1ed')
version('2.14.5', commit='993a98ce3de04a0bbddcbde5b1ab2a9550275a12')
version('2.12.1', commit='471407bd9cdc612e01deb071c91bd9e5f1ea5e55')
@@ -28,18 +29,16 @@ class RAnnotationhub(RPackage):
version('2.8.3', commit='8aa9c64262a8d708d2bf1c82f82dfc3d7d4ccc0c')
depends_on('r-biocgenerics@0.15.10:', type=('build', 'run'))
+ depends_on('r-biocfilecache@1.5.1:', when='@2.16.1:', type=('build', 'run'))
depends_on('r-rsqlite', type=('build', 'run'))
- depends_on('r-biocinstaller', type=('build', 'run'))
+ depends_on('r-biocmanager', when='@2.14.5:', type=('build', 'run'))
+ depends_on('r-biocversion', when='@2.22.0:', type=('build', 'run'))
+ depends_on('r-curl', when='@2.10.1:', type=('build', 'run'))
+ depends_on('r-rappdirs', when='@2.16.1:', type=('build', 'run'))
depends_on('r-annotationdbi@1.31.19:', type=('build', 'run'))
depends_on('r-s4vectors', type=('build', 'run'))
depends_on('r-interactivedisplaybase', type=('build', 'run'))
depends_on('r-httr', type=('build', 'run'))
depends_on('r-yaml', type=('build', 'run'))
-
- depends_on('r-curl', when='@2.10.1:', type=('build', 'run'))
-
- depends_on('r-biocmanager', when='@2.14.5:', type=('build', 'run'))
-
- depends_on('r-biocfilecache@1.5.1:', when='@2.16.1:', type=('build', 'run'))
- depends_on('r-rappdirs', when='@2.16.1:', type=('build', 'run'))
depends_on('r-dplyr', when='@2.16.1:', type=('build', 'run'))
+ depends_on('r-biocinstaller', when='@:2.16.1', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-aod/package.py b/var/spack/repos/builtin/packages/r-aod/package.py
index f221cf661d..e344f49432 100644
--- a/var/spack/repos/builtin/packages/r-aod/package.py
+++ b/var/spack/repos/builtin/packages/r-aod/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-ape/package.py b/var/spack/repos/builtin/packages/r-ape/package.py
index b67a872986..896f1745e7 100644
--- a/var/spack/repos/builtin/packages/r-ape/package.py
+++ b/var/spack/repos/builtin/packages/r-ape/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RApe(RPackage):
- """Functions for reading, writing, plotting, and manipulating phylogenetic
+ """Analyses of Phylogenetics and Evolution
+
+ Functions for reading, writing, plotting, and manipulating phylogenetic
trees, analyses of comparative data in a phylogenetic framework, ancestral
character analyses, analyses of diversification and macroevolution,
computing distances from DNA sequences, reading and writing nucleotide
@@ -27,6 +29,7 @@ class RApe(RPackage):
url = "https://cloud.r-project.org/src/contrib/ape_4.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/ape"
+ version('5.4-1', sha256='f0316c8e74ce900053e8b3e8c9322b9d10e7730f3be2150365f74630bee7eee4')
version('5.3', sha256='08b0df134c523feb00a86896d1aa2a43f0f0dab20a53bc6b5d6268d867988b23')
version('5.2', sha256='27eb02856c130d59de6e06276be4981709923756319e465a7f2d4756d4f46415')
version('5.1', sha256='b7d5dca66881638227a40aa59533904aa5efe0f4b867851b248e8f948a01a26e')
diff --git a/var/spack/repos/builtin/packages/r-argparse/package.py b/var/spack/repos/builtin/packages/r-argparse/package.py
index bfd15a6c08..da88eb8a8b 100644
--- a/var/spack/repos/builtin/packages/r-argparse/package.py
+++ b/var/spack/repos/builtin/packages/r-argparse/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,14 +7,17 @@ from spack import *
class RArgparse(RPackage):
- """A command line parser to be used with Rscript to write "#!"
- shebang scripts that gracefully accept positional and optional
- arguments and automatically generate usage."""
+ """Command Line Optional and Positional Argument Parser
+
+ A command line parser to be used with Rscript to write "#!" shebang scripts
+ that gracefully accept positional and optional arguments and automatically
+ generate usage."""
homepage = "https://github.com/trevorld/argparse"
url = "https://cloud.r-project.org/src/contrib/argparse_1.1.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/argparse"
+ version('2.0.3', sha256='d26139c610ea0adf8d6632699cd34c4595ae3e7963bfc7a00cb3b7504f2059b0')
version('2.0.1', sha256='949843920d14fc7c162aedab331a936499541736e7dafbb103fbfd79be8147ab')
version('1.1.1', sha256='441449f0816411a868fd1b15cf4b2bc45931bbd4b67d6592dbe48875905cf93b')
@@ -23,3 +26,4 @@ class RArgparse(RPackage):
depends_on('r-r6', when='@2.0.0:', type=('build', 'run'))
depends_on('r-findpython', type=('build', 'run'))
depends_on('r-jsonlite', type=('build', 'run'))
+ depends_on('python@3.2:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-aroma-light/package.py b/var/spack/repos/builtin/packages/r-aroma-light/package.py
index a704ac72b4..00be416162 100644
--- a/var/spack/repos/builtin/packages/r-aroma-light/package.py
+++ b/var/spack/repos/builtin/packages/r-aroma-light/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,17 +7,23 @@ from spack import *
class RAromaLight(RPackage):
- """Methods for microarray analysis that take basic data types such as
+ """Light-Weight Methods for Normalization and Visualization of Microarray
+ Data using Only Basic R Data Types
+
+ Methods for microarray analysis that take basic data types such as
matrices and lists of vectors. These methods can be used standalone, be
utilized in other packages, or be wrapped up in higher-level classes."""
homepage = "https://www.aroma-project.org/"
git = "https://git.bioconductor.org/packages/aroma.light"
+ version('3.20.0', commit='02cde7fa166259bce73c396a87dca2ecc8249c39')
version('3.16.0', commit='fc16179fc4bee8954c5415d7cd13e3112b75b4fd')
depends_on('r@2.15.2:', type=('build', 'run'))
depends_on('r-r-methodss3@1.7.1:', type=('build', 'run'))
depends_on('r-r-oo@1.22.0:', type=('build', 'run'))
+ depends_on('r-r-oo@1.23.0:', when='@3.20.0:', type=('build', 'run'))
depends_on('r-r-utils@2.9.0:', type=('build', 'run'))
depends_on('r-matrixstats@0.54.0:', type=('build', 'run'))
+ depends_on('r-matrixstats@0.55.0:', when='@3.20.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-askpass/package.py b/var/spack/repos/builtin/packages/r-askpass/package.py
index c87c23cc68..8e6d22243b 100644
--- a/var/spack/repos/builtin/packages/r-askpass/package.py
+++ b/var/spack/repos/builtin/packages/r-askpass/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-assertthat/package.py b/var/spack/repos/builtin/packages/r-assertthat/package.py
index d0c0f6a829..ce599c0cad 100644
--- a/var/spack/repos/builtin/packages/r-assertthat/package.py
+++ b/var/spack/repos/builtin/packages/r-assertthat/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-backports/package.py b/var/spack/repos/builtin/packages/r-backports/package.py
index c715bafc1e..1d9c9de415 100644
--- a/var/spack/repos/builtin/packages/r-backports/package.py
+++ b/var/spack/repos/builtin/packages/r-backports/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,18 +7,20 @@ from spack import *
class RBackports(RPackage):
- """Implementations of functions which have been introduced
- in R since version 3.0.0. The backports are conditionally
- exported which results in R resolving the function names to
- the version shipped with R (if available) and uses the
- implemented backports as fallback. This way package developers
- can make use of the new functions without worrying about the
- minimum required R version."""
+ """Reimplementations of Functions Introduced Since R-3.0.0
+
+ Functions introduced or changed since R v3.0.0 are re-implemented in this
+ package. The backports are conditionally exported in order to let R resolve
+ the function name to either the implemented backport, or the respective
+ base version, if available. Package developers can make use of new
+ functions or arguments by selectively importing specific backports to
+ support older installations."""
homepage = "https://cloud.r-project.org/package=backports"
url = "https://cloud.r-project.org/src/contrib/backports_1.1.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/backports"
+ version('1.2.1', sha256='a2834bbd57e305e5d8010322f1906ea1789b3b5ba5eca77c5ff4248aceb7c2d5')
version('1.1.4', sha256='ee4b5efef22fa7ef27d7983ffcd31db52f81e1fbb7189c6e89ee09b69349ff03')
version('1.1.3', sha256='e41bd146824ec921994f1b176d0e4cca0b36dd3db32ca7a954d872a5ba214cc1')
version('1.1.1', sha256='494e81a4829339c8f1cc3e015daa807e9138b8e21b929965fc7c00b1abbe8897')
diff --git a/var/spack/repos/builtin/packages/r-bamsignals/package.py b/var/spack/repos/builtin/packages/r-bamsignals/package.py
index 59d8dceae2..5deebb1697 100644
--- a/var/spack/repos/builtin/packages/r-bamsignals/package.py
+++ b/var/spack/repos/builtin/packages/r-bamsignals/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RBamsignals(RPackage):
- """Extract read count signals from bam files.
+ """Extract read count signals from bam files
This package allows to efficiently obtain count vectors from indexed bam
files. It counts the number of reads in given genomic ranges and it
@@ -17,6 +17,7 @@ class RBamsignals(RPackage):
homepage = "https://bioconductor.org/packages/bamsignals"
git = "https://git.bioconductor.org/packages/bamsignals.git"
+ version('1.22.0', commit='5f533969c84212406bcb3ebf725ebb6d77e9947a')
version('1.16.0', commit='dba9a4ae1613d2700f122ade1e9b90ca8fce5657')
version('1.14.0', commit='3107d3a35830e879eeddf127a81016ea1ca9b53d')
version('1.12.1', commit='06b6282df377cf9db58e8016be4ac8ddcc960939')
@@ -30,7 +31,9 @@ class RBamsignals(RPackage):
depends_on('r-genomicranges', type=('build', 'run'))
depends_on('r-zlibbioc', type=('build', 'run'))
depends_on('r-rhtslib', type=('build', 'run'))
-
depends_on('r-rhtslib@1.12.1:', when='@1.12.1:', type=('build', 'run'))
-
depends_on('r-rhtslib@1.13.1:', when='@1.14.0:', type=('build', 'run'))
+ depends_on('gmake', type='build')
+
+ # this is no listed but is needed
+ depends_on('curl')
diff --git a/var/spack/repos/builtin/packages/r-base64/package.py b/var/spack/repos/builtin/packages/r-base64/package.py
index eb72a27388..7a8c6041aa 100644
--- a/var/spack/repos/builtin/packages/r-base64/package.py
+++ b/var/spack/repos/builtin/packages/r-base64/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-base64enc/package.py b/var/spack/repos/builtin/packages/r-base64enc/package.py
index 3e49d856d8..83c45d7c15 100644
--- a/var/spack/repos/builtin/packages/r-base64enc/package.py
+++ b/var/spack/repos/builtin/packages/r-base64enc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-bayesm/package.py b/var/spack/repos/builtin/packages/r-bayesm/package.py
index dd2d009f4a..ac7d1de5a4 100644
--- a/var/spack/repos/builtin/packages/r-bayesm/package.py
+++ b/var/spack/repos/builtin/packages/r-bayesm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,33 @@ from spack import *
class RBayesm(RPackage):
- """Bayesian Inference for Marketing/Micro-Econometrics"""
+ """Bayesian Inference for Marketing/Micro-Econometrics
+
+ Covers many important models used in marketing and micro-econometrics
+ applications. The package includes: Bayes Regression (univariate or
+ multivariate dep var), Bayes Seemingly Unrelated Regression (SUR), Binary
+ and Ordinal Probit, Multinomial Logit (MNL) and Multinomial Probit (MNP),
+ Multivariate Probit, Negative Binomial (Poisson) Regression, Multivariate
+ Mixtures of Normals (including clustering), Dirichlet Process Prior Density
+ Estimation with normal base, Hierarchical Linear Models with normal prior
+ and covariates, Hierarchical Linear Models with a mixture of normals prior
+ and covariates, Hierarchical Multinomial Logits with a mixture of normals
+ prior and covariates, Hierarchical Multinomial Logits with a Dirichlet
+ Process prior and covariates, Hierarchical Negative Binomial Regression
+ Models, Bayesian analysis of choice-based conjoint data, Bayesian treatment
+ of linear instrumental variables models, Analysis of Multivariate Ordinal
+ survey data with scale usage heterogeneity (as in Rossi et al, JASA (01)),
+ Bayesian Analysis of Aggregate Random Coefficient Logit Models as in BLP
+ (see Jiang, Manchanda, Rossi 2009) For further reference, consult our book,
+ Bayesian Statistics and Marketing by Rossi, Allenby and McCulloch (Wiley
+ 2005) and Bayesian Non- and Semi-Parametric Methods and Applications
+ (Princeton U Press 2014)."""
homepage = "https://cloud.r-project.org/package=bayesm"
url = "https://cloud.r-project.org/src/contrib/bayesm_3.1-0.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/bayesm"
+ version('3.1-4', sha256='061b216c62bc72eab8d646ad4075f2f78823f9913344a781fa53ea7cf4a48f94')
version('3.1-3', sha256='51e4827eca8cd4cf3626f3c2282543df7c392b3ffb843f4bfb386fe104642a10')
version('3.1-2', sha256='a332f16e998ab10b17a2b1b9838d61660c36e914fe4d2e388a59f031d52ad736')
version('3.1-1', sha256='4854517dec30ab7c994de862aae1998c2d0c5e71265fd9eb7ed36891d4676078')
diff --git a/var/spack/repos/builtin/packages/r-bbmisc/package.py b/var/spack/repos/builtin/packages/r-bbmisc/package.py
index 6bc0688330..885cee7e6b 100644
--- a/var/spack/repos/builtin/packages/r-bbmisc/package.py
+++ b/var/spack/repos/builtin/packages/r-bbmisc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-beachmat/package.py b/var/spack/repos/builtin/packages/r-beachmat/package.py
index 9ba18d7592..2008fd0b69 100644
--- a/var/spack/repos/builtin/packages/r-beachmat/package.py
+++ b/var/spack/repos/builtin/packages/r-beachmat/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RBeachmat(RPackage):
- """Compiling Bioconductor to Handle Each Matrix Type.
+ """Compiling Bioconductor to Handle Each Matrix Type
Provides a consistent C++ class interface for reading from and writing
data to a variety of commonly used matrix types. Ordinary matrices and
@@ -18,23 +18,24 @@ class RBeachmat(RPackage):
homepage = "https://bioconductor.org/packages/beachmat"
git = "https://git.bioconductor.org/packages/beachmat.git"
+ version('2.6.4', commit='7d9dc6379017d723dda3e8dc9fd1f6de7fd33cdb')
version('2.0.0', commit='2bdac6ce7b636fd16f78641a0bcc2181670107ab')
version('1.4.0', commit='e3b7a21cae0080d077a0d40e35d1d148f088720a')
version('1.2.1', commit='ebae81772045a314e568c2f7d73ea3b27e7bf7d8')
version('1.0.2', commit='6bd57b91d6428ac916f46572d685d3cb01a757f7')
depends_on('r@3.4:', type=('build', 'run'))
- depends_on('r-rhdf5lib', when='@1.0.2:1.4.0', type=('build', 'run'))
- depends_on('r-hdf5array', when='@1.0.2:1.4.0', type=('build', 'run'))
- depends_on('r-delayedarray', type=('build', 'run'))
- depends_on('r-rcpp@0.12.14:', when='@1.0.2:1.4.0', type=('build', 'run'))
- depends_on('r-rhdf5', when='@1.0.2:1.4.0', type=('build', 'run'))
-
depends_on('r@3.5:', when='@1.2.1:1.4.0', type=('build', 'run'))
- depends_on('r-rhdf5lib@1.1.4:', when='@1.2.1', type=('build', 'run'))
- depends_on('r-hdf5array@1.7.3:', when='@1.2.1', type=('build', 'run'))
+ depends_on('r-delayedarray', type=('build', 'run'))
depends_on('r-delayedarray@0.5.30:', when='@1.2.1', type=('build', 'run'))
-
- depends_on('r-hdf5array@1.9.5:', when='@1.4.0', type=('build', 'run'))
depends_on('r-delayedarray@0.7.38:', when='@1.4.0', type=('build', 'run'))
+ depends_on('r-delayedarray@0.15.14:', when='@2.6.4', type=('build', 'run'))
depends_on('r-biocgenerics', when='@1.4.0:', type=('build', 'run'))
+ depends_on('r-matrix', when='@2.6.4:', type=('build', 'run'))
+ depends_on('r-rhdf5lib', when='@1.0.2:1.4.0', type=('build', 'run'))
+ depends_on('r-rhdf5lib@1.1.4:', when='@1.2.1', type=('build', 'run'))
+ depends_on('r-hdf5array', when='@1.0.2:1.4.0', type=('build', 'run'))
+ depends_on('r-hdf5array@1.7.3:', when='@1.2.1', type=('build', 'run'))
+ depends_on('r-hdf5array@1.9.5:', when='@1.4.0', type=('build', 'run'))
+ depends_on('r-rcpp@0.12.14:', when='@1.0.2:1.4.0', type=('build', 'run'))
+ depends_on('r-rhdf5', when='@1.0.2:1.4.0', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-beanplot/package.py b/var/spack/repos/builtin/packages/r-beanplot/package.py
index 1edacea4a0..06faf068e9 100644
--- a/var/spack/repos/builtin/packages/r-beanplot/package.py
+++ b/var/spack/repos/builtin/packages/r-beanplot/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-beeswarm/package.py b/var/spack/repos/builtin/packages/r-beeswarm/package.py
index 4b4821e0fa..4cbef7c186 100644
--- a/var/spack/repos/builtin/packages/r-beeswarm/package.py
+++ b/var/spack/repos/builtin/packages/r-beeswarm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-bfast/package.py b/var/spack/repos/builtin/packages/r-bfast/package.py
index f2250effb7..7b71cd4aca 100644
--- a/var/spack/repos/builtin/packages/r-bfast/package.py
+++ b/var/spack/repos/builtin/packages/r-bfast/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-bfastspatial/package.py b/var/spack/repos/builtin/packages/r-bfastspatial/package.py
index 82b751da7a..5ce11f3120 100644
--- a/var/spack/repos/builtin/packages/r-bfastspatial/package.py
+++ b/var/spack/repos/builtin/packages/r-bfastspatial/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-bglr/package.py b/var/spack/repos/builtin/packages/r-bglr/package.py
index 267e18d959..2d24967fb4 100644
--- a/var/spack/repos/builtin/packages/r-bglr/package.py
+++ b/var/spack/repos/builtin/packages/r-bglr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-bh/package.py b/var/spack/repos/builtin/packages/r-bh/package.py
index 6065f5609f..9c3e58a69e 100644
--- a/var/spack/repos/builtin/packages/r-bh/package.py
+++ b/var/spack/repos/builtin/packages/r-bh/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -26,6 +26,7 @@ class RBh(RPackage):
url = "https://cloud.r-project.org/src/contrib/BH_1.65.0-1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/BH"
+ version('1.72.0-3', sha256='888ec1a3316bb69e1ba749b08ba7e0903ebc4742e3a185de8d148c13cddac8ab')
version('1.69.0-1', sha256='a0fd4364b7e368f09c56dec030823f52c16da0787580af7e4615eddeb99baca2')
version('1.65.0-1', sha256='82baa78afe8f1edc3c7e84e1c9924321047e14c1e990df9b848407baf3f7cb58')
version('1.60.0-2', sha256='e441aede925d760dc0142be77079ebd7a46f2392772b875cde6ca567dd49c48c')
diff --git a/var/spack/repos/builtin/packages/r-biasedurn/package.py b/var/spack/repos/builtin/packages/r-biasedurn/package.py
index 8defc86345..e596009ab8 100644
--- a/var/spack/repos/builtin/packages/r-biasedurn/package.py
+++ b/var/spack/repos/builtin/packages/r-biasedurn/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-bibtex/package.py b/var/spack/repos/builtin/packages/r-bibtex/package.py
index 840aa5b06c..70ee681a0c 100644
--- a/var/spack/repos/builtin/packages/r-bibtex/package.py
+++ b/var/spack/repos/builtin/packages/r-bibtex/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RBibtex(RPackage):
- """bibtex: Bibtex Parser
+ """Bibtex Parser
Utility to parse a bibtex file."""
@@ -15,6 +15,7 @@ class RBibtex(RPackage):
url = "https://cloud.r-project.org/src/contrib/bibtex_0.4.2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/bibtex/"
+ version('0.4.2.3', sha256='7bad194920b412781ac9754ad41058d52d3cd7186e1851c2bce3640490e9bc6d')
version('0.4.2', sha256='1f06ab3660c940405230ad16ff6e4ba38d4418a59cd9b16d78a4349f8b488372')
depends_on('r@3.0.2:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-bigalgebra/package.py b/var/spack/repos/builtin/packages/r-bigalgebra/package.py
index fdee29e59b..8febbcb0b2 100644
--- a/var/spack/repos/builtin/packages/r-bigalgebra/package.py
+++ b/var/spack/repos/builtin/packages/r-bigalgebra/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-bigmemory-sri/package.py b/var/spack/repos/builtin/packages/r-bigmemory-sri/package.py
index c03333ab6a..a14d433d27 100644
--- a/var/spack/repos/builtin/packages/r-bigmemory-sri/package.py
+++ b/var/spack/repos/builtin/packages/r-bigmemory-sri/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-bigmemory/package.py b/var/spack/repos/builtin/packages/r-bigmemory/package.py
index 1719cd3ad7..2618520329 100644
--- a/var/spack/repos/builtin/packages/r-bigmemory/package.py
+++ b/var/spack/repos/builtin/packages/r-bigmemory/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-bindr/package.py b/var/spack/repos/builtin/packages/r-bindr/package.py
index bdb58185b7..83f37760e5 100644
--- a/var/spack/repos/builtin/packages/r-bindr/package.py
+++ b/var/spack/repos/builtin/packages/r-bindr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-bindrcpp/package.py b/var/spack/repos/builtin/packages/r-bindrcpp/package.py
index 68347869ad..422a5a274a 100644
--- a/var/spack/repos/builtin/packages/r-bindrcpp/package.py
+++ b/var/spack/repos/builtin/packages/r-bindrcpp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-bio3d/package.py b/var/spack/repos/builtin/packages/r-bio3d/package.py
index b65ab46afe..e62bcd2733 100644
--- a/var/spack/repos/builtin/packages/r-bio3d/package.py
+++ b/var/spack/repos/builtin/packages/r-bio3d/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,26 @@ from spack import *
class RBio3d(RPackage):
- """bio3d: Biological Structure Analysis"""
+ """Biological Structure Analysis
+
+ Utilities to process, organize and explore protein structure, sequence and
+ dynamics data. Features include the ability to read and write structure,
+ sequence and dynamic trajectory data, perform sequence and structure
+ database searches, data summaries, atom selection, alignment,
+ superposition, rigid core identification, clustering, torsion analysis,
+ distance matrix analysis, structure and sequence conservation analysis,
+ normal mode analysis, principal component analysis of heterogeneous
+ structure data, and correlation network analysis from normal mode and
+ molecular dynamics data. In addition, various utility functions are
+ provided to enable the statistical and graphical power of the R environment
+ to work with biological sequence and structural data. Please refer to the
+ URLs below for more information."""
homepage = "http://thegrantlab.org/bio3d/"
url = "https://cloud.r-project.org/src/contrib/bio3d_2.3-4.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/bio3d"
+ version('2.4-1', sha256='679fbd87fe9fb82a65427d281d3b68906509e411270cd87d2deb95d404333c1f')
version('2.3-4', sha256='f9b39ab242cbedafcd98c1732cb1f5c0dd9ef66e28be39695e3420dd93e2bafe')
depends_on('r@3.1.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-biobase/package.py b/var/spack/repos/builtin/packages/r-biobase/package.py
index 5481b80cdf..c359050afb 100644
--- a/var/spack/repos/builtin/packages/r-biobase/package.py
+++ b/var/spack/repos/builtin/packages/r-biobase/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RBiobase(RPackage):
- """Biobase: Base functions for Bioconductor.
+ """Biobase: Base functions for Bioconductor
Functions that are needed by many other packages or which replace R
functions."""
@@ -15,6 +15,7 @@ class RBiobase(RPackage):
homepage = "https://bioconductor.org/packages/Biobase"
git = "https://git.bioconductor.org/packages/Biobase.git"
+ version('2.50.0', commit='9927f90d0676382f2f99e099d8d2c8e2e6f1b4de')
version('2.44.0', commit='bde2077f66047986297ec35a688751cdce150dd3')
version('2.42.0', commit='3e5bd466b99e3cc4af1b0c3b32687fa56d6f8e4d')
version('2.40.0', commit='6555edbbcb8a04185ef402bfdea7ed8ac72513a5')
@@ -23,5 +24,4 @@ class RBiobase(RPackage):
depends_on('r@2.10:', type=('build', 'run'))
depends_on('r-biocgenerics@0.3.2:', type=('build', 'run'))
-
depends_on('r-biocgenerics@0.27.1:', when='@2.42.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-biocfilecache/package.py b/var/spack/repos/builtin/packages/r-biocfilecache/package.py
index 378532e558..4bcdcf7023 100644
--- a/var/spack/repos/builtin/packages/r-biocfilecache/package.py
+++ b/var/spack/repos/builtin/packages/r-biocfilecache/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RBiocfilecache(RPackage):
- """Manage Files Across Sessions.
+ """Manage Files Across Sessions
This package creates a persistent on-disk cache of files that the user
can add, update, and retrieve. It is useful for managing resources (such
@@ -17,6 +17,7 @@ class RBiocfilecache(RPackage):
homepage = "https://bioconductor.org/packages/BiocFileCache"
git = "https://git.bioconductor.org/packages/BiocFileCache.git"
+ version('1.14.0', commit='cdcde4b59ae73dda12aa225948dbd0a058d9be6d')
version('1.8.0', commit='0e3542b6aae849b01240d8055a48da1b267bd5a0')
version('1.6.0', commit='c2de6c1cdef6294e5d0adea31e4ebf25865742ba')
version('1.4.0', commit='a2c473d17f78899c7899b9638faea8c30735eb80')
@@ -24,11 +25,10 @@ class RBiocfilecache(RPackage):
version('1.0.1', commit='dbf4e8dd4d8d9f475066cd033481efe95c56df75')
depends_on('r@3.4.0:', type=('build', 'run'))
- depends_on('r-dbplyr@1.0.0:', type=('build', 'run'))
depends_on('r-dplyr', type=('build', 'run'))
+ depends_on('r-dbplyr@1.0.0:', when='@1.2.3:', type=('build', 'run'))
depends_on('r-rsqlite', type=('build', 'run'))
depends_on('r-dbi', type=('build', 'run'))
depends_on('r-rappdirs', type=('build', 'run'))
- depends_on('r-httr', type=('build', 'run'))
-
depends_on('r-curl', when='@1.6.0:', type=('build', 'run'))
+ depends_on('r-httr', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-biocgenerics/package.py b/var/spack/repos/builtin/packages/r-biocgenerics/package.py
index 2bee149fb8..6558fb633c 100644
--- a/var/spack/repos/builtin/packages/r-biocgenerics/package.py
+++ b/var/spack/repos/builtin/packages/r-biocgenerics/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,14 @@ from spack import *
class RBiocgenerics(RPackage):
- """S4 generic functions used in Bioconductor.
+ """S4 generic functions used in Bioconductor
The package defines S4 generic functions used in Bioconductor."""
homepage = "https://bioconductor.org/packages/BiocGenerics"
git = "https://git.bioconductor.org/packages/BiocGenerics.git"
+ version('0.36.0', commit='0d5d169d7d64d648a22f9043837c93bc784e71ed')
version('0.34.0', commit='f7c2020')
version('0.30.0', commit='fc7c3af4a5635a30988a062ed09332c13ca1d1a8')
version('0.28.0', commit='041fc496504f2ab1d4d863fffb23372db214394b')
@@ -22,3 +23,4 @@ class RBiocgenerics(RPackage):
version('0.22.1', commit='9c90bb8926885289d596a81ff318ee3745cbb6ad')
depends_on('r@3.6.0:', when='@0.30.0:', type=('build', 'run'))
+ depends_on('r@4.0.0:', when='@0.36.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-biocinstaller/package.py b/var/spack/repos/builtin/packages/r-biocinstaller/package.py
index 09d942279f..9f2fddbcd1 100644
--- a/var/spack/repos/builtin/packages/r-biocinstaller/package.py
+++ b/var/spack/repos/builtin/packages/r-biocinstaller/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-biocmanager/package.py b/var/spack/repos/builtin/packages/r-biocmanager/package.py
index d31929e914..fab2479c8a 100644
--- a/var/spack/repos/builtin/packages/r-biocmanager/package.py
+++ b/var/spack/repos/builtin/packages/r-biocmanager/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-biocneighbors/package.py b/var/spack/repos/builtin/packages/r-biocneighbors/package.py
index dd2d8619fe..50cbf21970 100644
--- a/var/spack/repos/builtin/packages/r-biocneighbors/package.py
+++ b/var/spack/repos/builtin/packages/r-biocneighbors/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RBiocneighbors(RPackage):
- """Nearest Neighbor Detection for Bioconductor Packages.
+ """Nearest Neighbor Detection for Bioconductor Packages
Implements exact and approximate methods for nearest neighbor detection,
in a framework that allows them to be easily switched within
@@ -22,14 +22,15 @@ class RBiocneighbors(RPackage):
homepage = "https://bioconductor.org/packages/BiocNeighbors"
git = "https://git.bioconductor.org/packages/BiocNeighbors.git"
+ version('1.8.2', commit='889bc91f8cb45d210b47ae5c0b9cfb86fb071ca2')
version('1.2.0', commit='f754c6300f835142536a4594ddf750481e0fe273')
version('1.0.0', commit='e252fc04b6d22097f2c5f74406e77d85e7060770')
depends_on('r@3.5:', when='@1.0.0', type=('build', 'run'))
- depends_on('r-biocparallel', type=('build', 'run'))
depends_on('r-rcpp', type=('build', 'run'))
depends_on('r-s4vectors', type=('build', 'run'))
- depends_on('r-rcppannoy', type=('build', 'run'))
-
- depends_on('r-biocgenerics', when='@1.2.0:', type=('build', 'run'))
+ depends_on('r-biocparallel', type=('build', 'run'))
+ depends_on('r-matrix', when='@1.8.2:', type=('build', 'run'))
depends_on('r-rcpphnsw', when='@1.2.0:', type=('build', 'run'))
+ depends_on('r-rcppannoy', when='@:1.2.0', type=('build', 'run'))
+ depends_on('r-biocgenerics', when='@1.2.0', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-biocparallel/package.py b/var/spack/repos/builtin/packages/r-biocparallel/package.py
index 14fd27a8b5..b1849c5420 100644
--- a/var/spack/repos/builtin/packages/r-biocparallel/package.py
+++ b/var/spack/repos/builtin/packages/r-biocparallel/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RBiocparallel(RPackage):
- """Bioconductor facilities for parallel evaluation.
+ """Bioconductor facilities for parallel evaluation
This package provides modified versions and novel implementation of
functions for parallel evaluation, tailored to use with Bioconductor
@@ -16,6 +16,7 @@ class RBiocparallel(RPackage):
homepage = "https://bioconductor.org/packages/BiocParallel"
git = "https://git.bioconductor.org/packages/BiocParallel.git"
+ version('1.24.1', commit='f713caa4314ec0ddeba7fe0eb599ad417efb413f')
version('1.18.1', commit='348264af782d7dcd41a1879400f348f836767f6e')
version('1.16.6', commit='7f7a54c47f4949b600b9fd568289a519496bc4d4')
version('1.14.2', commit='1d5a44960b19e9dbbca04c7290c8c58b0a7fc299')
@@ -24,5 +25,4 @@ class RBiocparallel(RPackage):
depends_on('r-futile-logger', type=('build', 'run'))
depends_on('r-snow', type=('build', 'run'))
-
depends_on('r-bh', when='@1.12.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-biocsingular/package.py b/var/spack/repos/builtin/packages/r-biocsingular/package.py
index 5531981958..355aab3563 100644
--- a/var/spack/repos/builtin/packages/r-biocsingular/package.py
+++ b/var/spack/repos/builtin/packages/r-biocsingular/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RBiocsingular(RPackage):
- """Singular Value Decomposition for Bioconductor Packages.
+ """Singular Value Decomposition for Bioconductor Packages
Implements exact and approximate methods for singular value
decomposition and principal components analysis, in a framework that
@@ -18,6 +18,7 @@ class RBiocsingular(RPackage):
homepage = "https://bioconductor.org/packages/BiocSingular"
git = "https://git.bioconductor.org/packages/BiocSingular.git"
+ version('1.6.0', commit='11baf1080d6f791439cd5d97357589d6451643d9')
version('1.0.0', commit='d2b091c072d0312698c9bb6611eb1bdf8aebf833')
depends_on('r-biocgenerics', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-biocstyle/package.py b/var/spack/repos/builtin/packages/r-biocstyle/package.py
index b9ec8c5fe0..a2f0988910 100644
--- a/var/spack/repos/builtin/packages/r-biocstyle/package.py
+++ b/var/spack/repos/builtin/packages/r-biocstyle/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RBiocstyle(RPackage):
- """Standard styles for vignettes and other Bioconductor documents.
+ """Standard styles for vignettes and other Bioconductor documents
Provides standard formatting styles for Bioconductor PDF and HTML
documents. Package vignettes illustrate use and functionality."""
@@ -15,15 +15,17 @@ class RBiocstyle(RPackage):
homepage = "https://bioconductor.org/packages/BiocStyle"
git = "https://git.bioconductor.org/packages/BiocStyle.git"
+ version('2.18.1', commit='956f0654e8e18882ba09305742401128c9c7d47d')
version('2.12.0', commit='0fba3fe6e6a38504f9aadcd3dc95bb83d7e92498')
version('2.10.0', commit='8fc946044c6b6a8a3104ddbc546baed49ee3aa70')
version('2.8.2', commit='3210c19ec1e5e0ed8d5a2d31da990aa47b42dbd8')
version('2.6.1', commit='5ff52cbb439a45575d0f58c4f7a83195a8b7337b')
version('2.4.1', commit='ef10764b68ac23a3a7a8ec3b6a6436187309c138')
+ depends_on('r+X', type=('build', 'run'))
depends_on('r-bookdown', type=('build', 'run'))
depends_on('r-knitr@1.12:', type=('build', 'run'))
+ depends_on('r-knitr@1.30:', when='@2.18.1:', type=('build', 'run'))
depends_on('r-rmarkdown@1.2:', type=('build', 'run'))
depends_on('r-yaml', type=('build', 'run'))
-
depends_on('r-biocmanager', when='@2.10.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-biocversion/package.py b/var/spack/repos/builtin/packages/r-biocversion/package.py
new file mode 100644
index 0000000000..4d021a161f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-biocversion/package.py
@@ -0,0 +1,20 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RBiocversion(RPackage):
+ """Set the appropriate version of Bioconductor packages
+
+ This package provides repository information for the appropriate
+ version of Bioconductor."""
+
+ homepage = "https://bioconductor.org/packages/BiocVersion/"
+ git = "https://git.bioconductor.org/packages/BiocVersion"
+
+ version('3.12.0', commit='23b971963c6b73550a7e330dab5a046d58ce0223')
+
+ depends_on('r@4.0.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-biom-utils/package.py b/var/spack/repos/builtin/packages/r-biom-utils/package.py
index bd57636a67..67e7c2fb7a 100644
--- a/var/spack/repos/builtin/packages/r-biom-utils/package.py
+++ b/var/spack/repos/builtin/packages/r-biom-utils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-biomart/package.py b/var/spack/repos/builtin/packages/r-biomart/package.py
index 6e24a66a41..d1c4387288 100644
--- a/var/spack/repos/builtin/packages/r-biomart/package.py
+++ b/var/spack/repos/builtin/packages/r-biomart/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RBiomart(RPackage):
- """Interface to BioMart databases (i.e. Ensembl).
+ """Interface to BioMart databases (i.e. Ensembl)
In recent years a wealth of biological data has become available in
public data repositories. Easy access to these valuable data resources
@@ -25,6 +25,7 @@ class RBiomart(RPackage):
homepage = "https://bioconductor.org/packages/biomaRt"
git = "https://git.bioconductor.org/packages/biomaRt.git"
+ version('2.46.2', commit='90d6abfdfa04259006f7b47efb10271ada76aec1')
version('2.40.5', commit='ed9ddafb0d620168ea8e3ab4884f3457b8525c68')
version('2.38.0', commit='16b997aba19a90a1c5fa64c442b1e7fcff99a658')
version('2.36.1', commit='5634e57e20199f9dc1f8b927eb3893143fc02f4f')
@@ -32,9 +33,12 @@ class RBiomart(RPackage):
version('2.32.1', commit='f84d74424fa599f6d08f8db4612ca09914a9087f')
depends_on('r-xml', type=('build', 'run'))
- depends_on('r-rcurl', type=('build', 'run'))
depends_on('r-annotationdbi', type=('build', 'run'))
-
depends_on('r-progress', when='@2.34.2:', type=('build', 'run'))
depends_on('r-stringr', when='@2.34.2:', type=('build', 'run'))
depends_on('r-httr', when='@2.34.2:', type=('build', 'run'))
+ depends_on('r-openssl', when='@2.46.2:', type=('build', 'run'))
+ depends_on('r-biocfilecache', when='@2.46.2:', type=('build', 'run'))
+ depends_on('r-rappdirs', when='@2.46.2:', type=('build', 'run'))
+ depends_on('r-xml2', when='@2.46.2:', type=('build', 'run'))
+ depends_on('r-rcurl', when='@:2.40.5', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-biomartr/package.py b/var/spack/repos/builtin/packages/r-biomartr/package.py
index 6cb63e979c..7d67c10230 100644
--- a/var/spack/repos/builtin/packages/r-biomartr/package.py
+++ b/var/spack/repos/builtin/packages/r-biomartr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-biomformat/package.py b/var/spack/repos/builtin/packages/r-biomformat/package.py
index 8c3d9a7d63..ba8a137e81 100644
--- a/var/spack/repos/builtin/packages/r-biomformat/package.py
+++ b/var/spack/repos/builtin/packages/r-biomformat/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RBiomformat(RPackage):
- """An interface package for the BIOM file format.
+ """An interface package for the BIOM file format
This is an R package for interfacing with the BIOM format. This package
includes basic tools for reading biom-format files, accessing and
@@ -22,6 +22,7 @@ class RBiomformat(RPackage):
homepage = "https://bioconductor.org/packages/biomformat"
git = "https://git.bioconductor.org/packages/biomformat.git"
+ version('1.18.0', commit='dc18859c139f4d76805adb6f01e199573cdd5a8b')
version('1.12.0', commit='6e946123bb59da262cbb0c17dc5ab49328a89d4a')
version('1.10.1', commit='e67c6f4b70201f748fa49a4938e1af0cd0613f09')
version('1.8.0', commit='acd207377b24e4d8310eaff06c16dcfe6c04509a')
diff --git a/var/spack/repos/builtin/packages/r-biostrings/package.py b/var/spack/repos/builtin/packages/r-biostrings/package.py
index a0bd89cfe0..7ae78acdc4 100644
--- a/var/spack/repos/builtin/packages/r-biostrings/package.py
+++ b/var/spack/repos/builtin/packages/r-biostrings/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RBiostrings(RPackage):
- """Efficient manipulation of biological strings.
+ """Efficient manipulation of biological strings
Memory efficient string containers, string matching algorithms, and
other utilities, for fast manipulation of large biological sequences or
@@ -16,6 +16,7 @@ class RBiostrings(RPackage):
homepage = "https://bioconductor.org/packages/Biostrings"
git = "https://git.bioconductor.org/packages/Biostrings.git"
+ version('2.58.0', commit='0ec1a5455d5e9eebd14b26228906bb04e2abb197')
version('2.52.0', commit='b78fe7c1f3cdbbb7affb1ca7164fe5a1f8b868f5')
version('2.50.2', commit='025e734641a93f6c5d44243297cb4264ea0e34a2')
version('2.48.0', commit='aa3599a7d259d658014d087b86d71ab1deb5f12b')
@@ -23,18 +24,19 @@ class RBiostrings(RPackage):
version('2.44.2', commit='e4a2b320fb21c5cab3ece7b3c6fecaedfb1e5200')
depends_on('r@2.8.0:', type=('build', 'run'))
+ depends_on('r@3.5.0:', when='@2.50.2:', type=('build', 'run'))
depends_on('r-biocgenerics@0.15.6:', type=('build', 'run'))
+ depends_on('r-biocgenerics@0.31.5:', when='@2.58.0:', type=('build', 'run'))
depends_on('r-s4vectors@0.13.13:', type=('build', 'run'))
- depends_on('r-iranges@2.9.18:', when='@2.44.2:2.46.0', type=('build', 'run'))
- depends_on('r-xvector@0.11.6:', type=('build', 'run'))
-
depends_on('r-s4vectors@0.17.25:', when='@2.48.0:', type=('build', 'run'))
- depends_on('r-iranges@2.13.24:', when='@2.48.0', type=('build', 'run'))
+ depends_on('r-s4vectors@0.21.13:', when='@2.52.0:', type=('build', 'run'))
+ depends_on('r-s4vectors@0.27.12:', when='@2.58.0:', type=('build', 'run'))
+ depends_on('r-iranges@2.9.18:', when='@2.44.2:', type=('build', 'run'))
+ depends_on('r-iranges@2.13.24:', when='@2.48.0:', type=('build', 'run'))
+ depends_on('r-iranges@2.23.9:', when='@2.58.0:', type=('build', 'run'))
+ depends_on('r-xvector@0.11.6:', type=('build', 'run'))
depends_on('r-xvector@0.19.8:', when='@2.48.0:', type=('build', 'run'))
-
- depends_on('r@3.5.0:', when='@2.50.2:', type=('build', 'run'))
depends_on('r-xvector@0.21.4:', when='@2.50.2:', type=('build', 'run'))
- depends_on('r-iranges', when='@2.50.2:', type=('build', 'run'))
-
- depends_on('r-s4vectors@0.21.13:', when='@2.52.0:', type=('build', 'run'))
depends_on('r-xvector@0.23.2:', when='@2.52.0:', type=('build', 'run'))
+ depends_on('r-xvector@0.29.2:', when='@2.58.0:', type=('build', 'run'))
+ depends_on('r-crayon', when='@2.58.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-biovizbase/package.py b/var/spack/repos/builtin/packages/r-biovizbase/package.py
index 61ba92c203..0f0dbad6e0 100644
--- a/var/spack/repos/builtin/packages/r-biovizbase/package.py
+++ b/var/spack/repos/builtin/packages/r-biovizbase/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RBiovizbase(RPackage):
- """Basic graphic utilities for visualization of genomic data..
+ """Basic graphic utilities for visualization of genomic data.
The biovizBase package is designed to provide a set of utilities, color
schemes and conventions for genomic data. It serves as the base for
@@ -17,6 +17,7 @@ class RBiovizbase(RPackage):
homepage = "https://bioconductor.org/packages/biovizBase"
git = "https://git.bioconductor.org/packages/biovizBase.git"
+ version('1.38.0', commit='d0f3362e0ad0e90b4b1d3e47b13ed57907d03403')
version('1.32.0', commit='de044bf236cdcd71214ae7b77689a8f0ab4f5cc8')
version('1.30.1', commit='b6776d0470e2920f71127652f185f68ca1fd2c82')
version('1.28.2', commit='43d09060028665a237b04bfeb9e2575782b08063')
@@ -24,12 +25,14 @@ class RBiovizbase(RPackage):
version('1.24.0', commit='ae9cd2ff665b74a8f45ed9c1d17fc0a778b4af6c')
depends_on('r@2.10:', type=('build', 'run'))
+ depends_on('r@3.5.0:', when='@1.38.0:', type=('build', 'run'))
depends_on('r-scales', type=('build', 'run'))
depends_on('r-hmisc', type=('build', 'run'))
depends_on('r-rcolorbrewer', type=('build', 'run'))
depends_on('r-dichromat', type=('build', 'run'))
depends_on('r-biocgenerics', type=('build', 'run'))
depends_on('r-s4vectors@0.9.25:', type=('build', 'run'))
+ depends_on('r-s4vectors@0.23.19:', when='@1.38.0:', type=('build', 'run'))
depends_on('r-iranges@1.99.28:', type=('build', 'run'))
depends_on('r-genomeinfodb@1.5.14:', type=('build', 'run'))
depends_on('r-genomicranges@1.23.21:', type=('build', 'run'))
@@ -42,5 +45,4 @@ class RBiovizbase(RPackage):
depends_on('r-variantannotation@1.11.4:', type=('build', 'run'))
depends_on('r-ensembldb@1.99.13:', type=('build', 'run'))
depends_on('r-annotationfilter@0.99.8:', type=('build', 'run'))
-
depends_on('r-rlang', when='@1.28.2:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-bit/package.py b/var/spack/repos/builtin/packages/r-bit/package.py
index f792e9e6f9..572f3b4c0b 100644
--- a/var/spack/repos/builtin/packages/r-bit/package.py
+++ b/var/spack/repos/builtin/packages/r-bit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,18 @@ from spack import *
class RBit(RPackage):
- """ A class for vectors of 1-bit booleans."""
+ """Classes and Methods for Fast Memory-Efficient Boolean Selections
+
+ Provided are classes for boolean and skewed boolean vectors, fast boolean
+ methods, fast unique and non-unique integer sorting, fast set operations on
+ sorted and unsorted sets of integers, and foundations for ff (range index,
+ compression, chunked processing)."""
homepage = "https://cloud.r-project.org/package=bit"
url = "https://cloud.r-project.org/src/contrib/bit_1.1-12.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/bit"
+ version('4.0.4', sha256='e404841fbe4ebefe4ecd4392effe673a8c9fa05f97952c4ce6e2f6159bd2f168')
version('1.1-14', sha256='5cbaace1fb643a665a6ca69b90f7a6d624270de82420ca7a44f306753fcef254')
version('1.1-12', sha256='ce281c87fb7602bf1a599e72f3e25f9ff7a13e390c124a4506087f69ad79d128')
diff --git a/var/spack/repos/builtin/packages/r-bit64/package.py b/var/spack/repos/builtin/packages/r-bit64/package.py
index 3f3d71fc74..9ff47e31d5 100644
--- a/var/spack/repos/builtin/packages/r-bit64/package.py
+++ b/var/spack/repos/builtin/packages/r-bit64/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,24 +7,27 @@ from spack import *
class RBit64(RPackage):
- """Package 'bit64' provides serializable S3 atomic 64bit (signed)
- integers. These are useful for handling database keys and exact
- counting in +-2^63. WARNING: do not use them as replacement for 32bit
- integers, integer64 are not supported for subscripting by R-core and
- they have different semantics when combined with double, e.g.
- integer64 + double => integer64. Class integer64 can be used in vectors,
- matrices, arrays and data.frames. Methods are available for coercion
- from and to logicals, integers, doubles, characters and factors
- as well as many elementwise and summary functions. Many fast
- algorithmic operations such as 'match' and 'order' support
- inter- active data exploration
- and manipulation and optionally leverage caching."""
+ """A S3 Class for Vectors of 64bit Integers
+
+ Package 'bit64' provides serializable S3 atomic 64bit (signed) integers.
+ These are useful for handling database keys and exact counting in +-2^63.
+ WARNING: do not use them as replacement for 32bit integers, integer64 are
+ not supported for subscripting by R-core and they have different semantics
+ when combined with double, e.g. integer64 + double => integer64. Class
+ integer64 can be used in vectors, matrices, arrays and data.frames. Methods
+ are available for coercion from and to logicals, integers, doubles,
+ characters and factors as well as many elementwise and summary functions.
+ Many fast algorithmic operations such as 'match' and 'order' support inter-
+ active data exploration and manipulation and optionally leverage
+ caching."""
homepage = "https://cloud.r-project.org/package=bit64"
url = "https://cloud.r-project.org/src/contrib/bit64_0.9-7.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/bit64"
+ version('4.0.5', sha256='25df6826ea5e93241c4874cad4fa8dadc87a40f4ff74c9107aa12a9e033e1578')
version('0.9-7', sha256='7b9aaa7f971198728c3629f9ba1a1b24d53db5c7e459498b0fdf86bbd3dff61f')
depends_on('r@3.0.1:', type=('build', 'run'))
- depends_on('r-bit@1.1-12:', type=('build', 'run'))
+ depends_on('r-bit@1.1-12:', when='@:9.9-7', type=('build', 'run'))
+ depends_on('r-bit@4.0.0:', when='@4.0.5:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-bitops/package.py b/var/spack/repos/builtin/packages/r-bitops/package.py
index 0c78b1e1b5..2bc64aacf4 100644
--- a/var/spack/repos/builtin/packages/r-bitops/package.py
+++ b/var/spack/repos/builtin/packages/r-bitops/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-blob/package.py b/var/spack/repos/builtin/packages/r-blob/package.py
index af2c39362d..a56c0a5642 100644
--- a/var/spack/repos/builtin/packages/r-blob/package.py
+++ b/var/spack/repos/builtin/packages/r-blob/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RBlob(RPackage):
- """R's raw vector is useful for storing a single binary object.
+ """A Simple S3 Class for Representing Vectors of Binary Data ('BLOBS')
+
+ R's raw vector is useful for storing a single binary object.
What if you want to put a vector of them in a data frame? The blob
package provides the blob object, a list of raw vectors, suitable
for use as a column in data frame."""
@@ -16,10 +18,12 @@ class RBlob(RPackage):
url = "https://cloud.r-project.org/src/contrib/blob_1.1.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/blob"
+ version('1.2.1', sha256='ef54bc7a9646c1b73f4d2f60c869b4f1940bc3505874175114297ad7772d8bea')
version('1.2.0', sha256='1af1cfa28607bc0e2f1f01598a00a7d5d1385ef160a9e79e568f30f56538e023')
version('1.1.0', sha256='16d6603df3ddba177f0ac4d9469c938f89131c4bf8834345db838defd9ffea16')
depends_on('r-tibble', when='@:1.1.0', type=('build', 'run'))
- depends_on('r-prettyunits', when='@1.2.0:', type=('build', 'run'))
+ depends_on('r-prettyunits', when='@1.2.0', type=('build', 'run'))
depends_on('r-rlang', when='@1.2.0:', type=('build', 'run'))
depends_on('r-vctrs@0.2.0:', when='@1.2.0:', type=('build', 'run'))
+ depends_on('r-vctrs@0.2.1:', when='@1.2.1:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-blockmodeling/package.py b/var/spack/repos/builtin/packages/r-blockmodeling/package.py
index 08257860f6..1ce04a935c 100644
--- a/var/spack/repos/builtin/packages/r-blockmodeling/package.py
+++ b/var/spack/repos/builtin/packages/r-blockmodeling/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,17 +7,21 @@ from spack import *
class RBlockmodeling(RPackage):
- """blockmodeling: Generalized and Classical
- Blockmodeling of Valued Networks"""
+ """Generalized and Classical Blockmodeling of Valued Networks
+
+ This is primarily meant as an implementation of generalized blockmodeling
+ for valued networks."""
homepage = "https://cloud.r-project.org/package=blockmodeling"
url = "https://cloud.r-project.org/src/contrib/blockmodeling_0.3.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/blockmodeling/"
+ version('1.0.0', sha256='f10c41fff56dc7dc46dffbceacb8ff905eca06578d610a5a590fb408f0149cfc')
version('0.3.4', sha256='a269c83669dd5294cff0adddab36bc023db6a276a06b74b1fa94b7e407486987')
version('0.3.1', sha256='39e8360400cec6baa920d5589d4e779568bdf2954f7331be0e3cadf22a217d31')
+ depends_on('r@2.10:', type=('build', 'run'))
depends_on('r-matrix', type=('build', 'run'))
- depends_on('r-doparallel', type=('build', 'run'))
- depends_on('r-dorng', type=('build', 'run'))
- depends_on('r-foreach', type=('build', 'run'))
+ depends_on('r-doparallel', when='@:0.3.4', type=('build', 'run'))
+ depends_on('r-dorng', when='@:0.3.4', type=('build', 'run'))
+ depends_on('r-foreach', when='@:0.3.4', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-bmp/package.py b/var/spack/repos/builtin/packages/r-bmp/package.py
index 6f6a37b7c3..59dfd71ea6 100644
--- a/var/spack/repos/builtin/packages/r-bmp/package.py
+++ b/var/spack/repos/builtin/packages/r-bmp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-bookdown/package.py b/var/spack/repos/builtin/packages/r-bookdown/package.py
index a1df872699..f22be5a417 100644
--- a/var/spack/repos/builtin/packages/r-bookdown/package.py
+++ b/var/spack/repos/builtin/packages/r-bookdown/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,20 +7,27 @@ from spack import *
class RBookdown(RPackage):
- """Output formats and utilities for authoring books and technical
+ """Authoring Books and Technical Documents with R Markdown
+
+ Output formats and utilities for authoring books and technical
documents with R Markdown."""
homepage = "https://cloud.r-project.org/package=bookdown"
url = "https://cloud.r-project.org/src/contrib/bookdown_0.5.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/bookdown"
+ version('0.21', sha256='47c0fa7a65da83753c2f445e0e972913f9203460f1daae3ab255d0d4b30eba76')
version('0.12', sha256='38eb4c5b877ccd85b16cfe74a48c3bc53de2f276da98e5515f37e7a06e065bb0')
version('0.5', sha256='b7331fd56f64bd2bddc34e2a188fc491f9ff5308f44f7e3151721247f21ca67e')
- depends_on('r-yaml@2.1.14:', when='@:0.10', type=('build', 'run'))
- depends_on('r-rmarkdown@1.12:', type=('build', 'run'))
- depends_on('r-knitr@1.22:', type=('build', 'run'))
+ depends_on('r+X', type=('build', 'run'))
depends_on('r-htmltools@0.3.6:', type=('build', 'run'))
- depends_on('r-xfun@0.6:', when='@0.12:', type=('build', 'run'))
+ depends_on('r-knitr@1.22:', type=('build', 'run'))
+ depends_on('r-rmarkdown@1.12:', when='@:0.12', type=('build', 'run'))
+ depends_on('r-rmarkdown@2.4:', when='@0.21:', type=('build', 'run'))
+ depends_on('r-xfun@0.6:', when='@:0.12', type=('build', 'run'))
+ depends_on('r-xfun@0.13:', when='@0.21:', type=('build', 'run'))
depends_on('r-tinytex@0.12:', when='@0.12:', type=('build', 'run'))
+ depends_on('r-yaml@2.1.14:', when='@:0.12', type=('build', 'run'))
+ depends_on('r-yaml@2.1.19:', when='@0.21:', type=('build', 'run'))
depends_on('pandoc@1.17.2:')
diff --git a/var/spack/repos/builtin/packages/r-boot/package.py b/var/spack/repos/builtin/packages/r-boot/package.py
index 1db6349b5b..1b1259e520 100644
--- a/var/spack/repos/builtin/packages/r-boot/package.py
+++ b/var/spack/repos/builtin/packages/r-boot/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RBoot(RPackage):
- """Functions and datasets for bootstrapping from the book "Bootstrap
+ """Bootstrap Functions (Originally by Angelo Canty for S)
+
+ Functions and datasets for bootstrapping from the book "Bootstrap
Methods and Their Application" by A. C. Davison and D. V. Hinkley (1997,
CUP), originally written by Angelo Canty for S."""
@@ -15,6 +17,7 @@ class RBoot(RPackage):
url = "https://cloud.r-project.org/src/contrib/boot_1.3-18.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/boot"
+ version('1.3-25', sha256='464835fcb453072346ce49e4ae318e04c9dba682349be49db616623b6088fbbe')
version('1.3-23', sha256='79236a5a770dc8bf5ce25d9aa303c5dc0574d94aa043fd00b8b4c8ccc877357f')
version('1.3-22', sha256='cf1f0cb1e0a7a36dcb6ae038f5d0211a0e7a009c149bc9d21acb9c58c38b4dfc')
version('1.3-20', sha256='adcb90b72409705e3f9c69ea6c15673dcb649b464fed06723fe0930beac5212a')
diff --git a/var/spack/repos/builtin/packages/r-boruta/package.py b/var/spack/repos/builtin/packages/r-boruta/package.py
index 45b4f22d57..bc95b2c611 100644
--- a/var/spack/repos/builtin/packages/r-boruta/package.py
+++ b/var/spack/repos/builtin/packages/r-boruta/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-brew/package.py b/var/spack/repos/builtin/packages/r-brew/package.py
index 80d075c547..0bb431eb49 100644
--- a/var/spack/repos/builtin/packages/r-brew/package.py
+++ b/var/spack/repos/builtin/packages/r-brew/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-brio/package.py b/var/spack/repos/builtin/packages/r-brio/package.py
new file mode 100644
index 0000000000..4042b85592
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-brio/package.py
@@ -0,0 +1,20 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RBrio(RPackage):
+ """Basic R Input Output
+
+ Functions to handle basic input output, these functions always read and
+ write UTF-8 (8-bit Unicode Transformation Format) files and provide more
+ explicit control over line endings."""
+
+ homepage = "https://github.com/r-lib/brio"
+ url = "https://cloud.r-project.org/src/contrib/brio_1.1.0.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/brio"
+
+ version('1.1.0', sha256='6bb3a3b47bea13f1a1e3dcdc8b9f688502643e4b40a481a34aa04a261aabea38')
diff --git a/var/spack/repos/builtin/packages/r-broom/package.py b/var/spack/repos/builtin/packages/r-broom/package.py
index bd0f70b070..68e1dda72a 100644
--- a/var/spack/repos/builtin/packages/r-broom/package.py
+++ b/var/spack/repos/builtin/packages/r-broom/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,32 +7,41 @@ from spack import *
class RBroom(RPackage):
- """Convert statistical analysis objects from R into tidy data frames, so
- that they can more easily be combined, reshaped and otherwise processed
- with tools like 'dplyr', 'tidyr' and 'ggplot2'. The package provides
- three S3 generics: tidy, which summarizes a model's statistical
- findings such as coefficients of a regression; augment, which adds
- columns to the original data such as predictions, residuals and cluster
- assignments; and glance, which provides a one-row summary of
- model-level statistics."""
+ """Convert Statistical Objects into Tidy Tibbles
+
+ Summarizes key information about statistical objects in tidy tibbles. This
+ makes it easy to report results, create plots and consistently work with
+ large numbers of models at once. Broom provides three verbs that each
+ provide different types of information about a model. tidy() summarizes
+ information about model components such as coefficients of a regression.
+ glance() reports information about an entire model, such as goodness of fit
+ measures like AIC and BIC. augment() adds information about individual
+ observations to a dataset, such as fitted values or influence measures."""
homepage = "http://github.com/tidyverse/broom"
url = "https://cloud.r-project.org/src/contrib/broom_0.4.2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/broom"
+ version('0.7.3', sha256='de5650e46ca6884876b63bc401d22bef9eace671147774466406d43324aebc2f')
version('0.5.2', sha256='16af7b446b24bc14461efbda9bea1521cf738c778c5e48fcc7bad45660a4ac62')
version('0.5.1', sha256='da9e6bf7cb8f960b83309cf107743976cc32b54524675f6471982abe3d1aae2e')
version('0.4.2', sha256='9f409413623cf25e7110452e6215353af5114f7044d73af182bd6c10971c5a44')
depends_on('r@3.1:', type=('build', 'run'))
- depends_on('r-plyr', when='@:0.4.2', type=('build', 'run'))
- depends_on('r-dplyr', type=('build', 'run'))
- depends_on('r-tidyr', type=('build', 'run'))
- depends_on('r-psych', when='@:0.4.2', type=('build', 'run'))
- depends_on('r-stringr', type=('build', 'run'))
- depends_on('r-reshape2', type=('build', 'run'))
- depends_on('r-nlme', type=('build', 'run'))
depends_on('r-backports', when='@0.5.0:', type=('build', 'run'))
+ depends_on('r-dplyr', type=('build', 'run'))
+ depends_on('r-dplyr@1.0.0:', when='@0.7.3:', type=('build', 'run'))
+ depends_on('r-ellipsis', when='@0.7.3:', type=('build', 'run'))
depends_on('r-generics@0.0.2:', when='@0.5.1:', type=('build', 'run'))
+ depends_on('r-glue', when='@0.7.3:', type=('build', 'run'))
depends_on('r-purrr', when='@0.5.0:', type=('build', 'run'))
+ depends_on('r-rlang', when='@0.7.3:', type=('build', 'run'))
+ depends_on('r-stringr', type=('build', 'run'))
depends_on('r-tibble', when='@0.5.0:', type=('build', 'run'))
+ depends_on('r-tibble@3.0.0:', when='@0.7.3:', type=('build', 'run'))
+ depends_on('r-tidyr', type=('build', 'run'))
+ depends_on('r-tidyr@1.0.0:', when='@0.7.3:', type=('build', 'run'))
+ depends_on('r-plyr', when='@:0.4.2', type=('build', 'run'))
+ depends_on('r-psych', when='@:0.4.2', type=('build', 'run'))
+ depends_on('r-reshape2', when='@:0.5.2', type=('build', 'run'))
+ depends_on('r-nlme', when='@:0.5.2', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-bsgenome-hsapiens-ucsc-hg19/package.py b/var/spack/repos/builtin/packages/r-bsgenome-hsapiens-ucsc-hg19/package.py
index bc536f9ccd..bd6f8ee30a 100644
--- a/var/spack/repos/builtin/packages/r-bsgenome-hsapiens-ucsc-hg19/package.py
+++ b/var/spack/repos/builtin/packages/r-bsgenome-hsapiens-ucsc-hg19/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,22 @@ from spack import *
class RBsgenomeHsapiensUcscHg19(RPackage):
- """Full genome sequences for Homo sapiens (Human) as provided by UCSC
+ """Full genome sequences for Homo sapiens (UCSC version hg19, based on
+ GRCh37.p13)
+
+ Full genome sequences for Homo sapiens (Human) as provided by UCSC
(hg19, Feb. 2009) and stored in Biostrings objects."""
# This is a bioconductor package but there is no available git repo.
- homepage = "http://www.bioconductor.org/packages/release/data/annotation/html/BSgenome.Hsapiens.UCSC.hg19.html"
+ homepage = "https://bioconductor.org/packages/BSgenome.Hsapiens.UCSC.hg19/"
url = "http://www.bioconductor.org/packages/release/data/annotation/src/contrib/BSgenome.Hsapiens.UCSC.hg19_1.4.0.tar.gz"
- version('1.4.0', sha256='88f515e5c27dd11d10654250e3a0a9389e4dfeb0b1c2d43419aa7086e6c516f8')
+ version('1.4.3',
+ sha256='5bfa65d7836449d9b30c356968497cdfaa98be48c4e329e71e8f8a120f3e9d1a',
+ url='https://bioconductor.org/packages/3.12/data/annotation/src/contrib/BSgenome.Hsapiens.UCSC.hg19_1.4.3.tar.gz')
+ version('1.4.0',
+ sha256='88f515e5c27dd11d10654250e3a0a9389e4dfeb0b1c2d43419aa7086e6c516f8',
+ url='https://bioconductor.org/packages/3.10/data/annotation/src/contrib/BSgenome.Hsapiens.UCSC.hg19_1.4.0.tar.gz')
depends_on('r-bsgenome@1.33.5:', type=('build', 'run'))
+ depends_on('r-bsgenome@1.54.0:', when='@1.4.3:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-bsgenome/package.py b/var/spack/repos/builtin/packages/r-bsgenome/package.py
index afbc8225dd..bf23766f83 100644
--- a/var/spack/repos/builtin/packages/r-bsgenome/package.py
+++ b/var/spack/repos/builtin/packages/r-bsgenome/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,11 +8,14 @@ from spack import *
class RBsgenome(RPackage):
"""Software infrastructure for efficient representation of full genomes and
- their SNPs."""
+ their SNPs
+
+ Infrastructure shared by all the Biostrings-based genome data packages."""
homepage = "https://bioconductor.org/packages/BSgenome"
git = "https://git.bioconductor.org/packages/BSgenome.git"
+ version('1.58.0', commit='3a4926e03a7a1d7140a10c1b2bf6090808470145')
version('1.52.0', commit='5398eba1cb56a873b29c04a7ce6858d5d60ff75b')
version('1.50.0', commit='43910755f7477e4fe9bb968f186fddbb2f7355f9')
version('1.48.0', commit='092a1b90482ace329cbd8ca2a338e91449acb93e')
@@ -22,21 +25,22 @@ class RBsgenome(RPackage):
depends_on('r@2.8.0:', type=('build', 'run'))
depends_on('r-biocgenerics@0.13.8:', type=('build', 'run'))
depends_on('r-s4vectors@0.9.36:', type=('build', 'run'))
+ depends_on('r-s4vectors@0.17.28:', when='@1.48.0:', type=('build', 'run'))
depends_on('r-iranges@2.1.33:', type=('build', 'run'))
- depends_on('r-genomeinfodb@1.11.4:', type=('build', 'run'))
- depends_on('r-genomicranges@1.27.6:', type=('build', 'run'))
- depends_on('r-biostrings@2.35.3:', type=('build', 'run'))
- depends_on('r-rtracklayer@1.25.8:', type=('build', 'run'))
- depends_on('r-xvector', type=('build', 'run'))
- depends_on('r-rsamtools', type=('build', 'run'))
-
depends_on('r-iranges@2.11.16:', when='@1.46.0:', type=('build', 'run'))
- depends_on('r-genomeinfodb@1.13.1:', when='@1.46.0:', type=('build', 'run'))
- depends_on('r-genomicranges@1.29.14:', when='@1.46.0:', type=('build', 'run'))
-
- depends_on('r-s4vectors@0.17.28:', when='@1.48.0:', type=('build', 'run'))
depends_on('r-iranges@2.13.16:', when='@1.48.0:', type=('build', 'run'))
+ depends_on('r-genomeinfodb@1.11.4:', type=('build', 'run'))
+ depends_on('r-genomeinfodb@1.13.1:', when='@1.46.0:', type=('build', 'run'))
depends_on('r-genomeinfodb@1.15.2:', when='@1.48.0:', type=('build', 'run'))
+ depends_on('r-genomeinfodb@1.25.6:', when='@1.58.0:', type=('build', 'run'))
+ depends_on('r-genomicranges@1.27.6:', type=('build', 'run'))
+ depends_on('r-genomicranges@1.29.14:', when='@1.46.0:', type=('build', 'run'))
depends_on('r-genomicranges@1.31.10:', when='@1.48.0:', type=('build', 'run'))
+ depends_on('r-biostrings@2.35.3:', type=('build', 'run'))
depends_on('r-biostrings@2.47.6:', when='@1.48.0:', type=('build', 'run'))
+ depends_on('r-rtracklayer@1.25.8:', type=('build', 'run'))
depends_on('r-rtracklayer@1.39.7:', when='@1.48.0:', type=('build', 'run'))
+ depends_on('r-matrixstats', when='@1.58.0:', type=('build', 'run'))
+ depends_on('r-xvector', type=('build', 'run'))
+ depends_on('r-xvector@0.29.3:', when='@1.58.0:', type=('build', 'run'))
+ depends_on('r-rsamtools', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-bsseq/package.py b/var/spack/repos/builtin/packages/r-bsseq/package.py
index c753c549a0..fe8cebe8fd 100644
--- a/var/spack/repos/builtin/packages/r-bsseq/package.py
+++ b/var/spack/repos/builtin/packages/r-bsseq/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,49 +7,52 @@ from spack import *
class RBsseq(RPackage):
- """A collection of tools for analyzing and visualizing bisulfite sequencing
+ """Analyze, manage and store bisulfite sequencing data
+
+ A collection of tools for analyzing and visualizing bisulfite sequencing
data."""
homepage = "https://github.com/kasperdanielhansen/bsseq"
git = "https://git.bioconductor.org/packages/bsseq"
+ version('1.26.0', commit='fae32292687625012a2938a48c93df55ad4257b5')
version('1.24.4', commit='8fe7a03')
version('1.22.0', commit='d4f7301')
version('1.20.0', commit='07e398b')
depends_on('r@3.5:', type=('build', 'run'))
-
+ depends_on('r@4.0:', when='@1.26.0:', type=('build', 'run'))
depends_on('r-biocgenerics', type=('build', 'run'))
-
depends_on('r-genomicranges@1.29.14:', type=('build', 'run'))
depends_on('r-genomicranges@1.33.6:', when='@1.24.4:', type=('build', 'run'))
-
+ depends_on('r-genomicranges@1.41.5:', when='@1.26.0:', type=('build', 'run'))
depends_on('r-summarizedexperiment@1.9.18:', type=('build', 'run'))
depends_on('r-summarizedexperiment@1.17.4:', when='@1.24.4:', type=('build', 'run'))
-
+ depends_on('r-summarizedexperiment@1.19.5:', when='@1.26.0:', type=('build', 'run'))
depends_on('r-iranges@2.11.16:', type=('build', 'run'))
depends_on('r-iranges@2.22.2:', when='@1.24.4:', type=('build', 'run'))
-
+ depends_on('r-iranges@2.23.9:', when='@1.26.0:', type=('build', 'run'))
depends_on('r-genomeinfodb', type=('build', 'run'))
depends_on('r-scales', type=('build', 'run'))
depends_on('r-biobase', type=('build', 'run'))
depends_on('r-locfit', type=('build', 'run'))
depends_on('r-gtools', type=('build', 'run'))
depends_on('r-data-table@1.11.8:', type=('build', 'run'))
-
depends_on('r-s4vectors', type=('build', 'run'))
depends_on('r-s4vectors@0.23.11:', when='@1.22.0:', type=('build', 'run'))
- depends_on('r-s4vectors@0.25.14:', when='@1.24.4', type=('build', 'run'))
-
+ depends_on('r-s4vectors@0.25.14:', when='@1.24.4:', type=('build', 'run'))
+ depends_on('r-s4vectors@0.27.12:', when='@1.26.0:', type=('build', 'run'))
depends_on('r-r-utils@2.0.0:', type=('build', 'run'))
depends_on('r-delayedmatrixstats@1.5.2:', type=('build', 'run'))
depends_on('r-permute', type=('build', 'run'))
depends_on('r-limma', type=('build', 'run'))
depends_on('r-delayedarray@0.9.8:', type=('build', 'run'))
+ depends_on('r-delayedarray@0.15.16:', when='@1.26.0:', type=('build', 'run'))
depends_on('r-rcpp', type=('build', 'run'))
depends_on('r-biocparallel', type=('build', 'run'))
depends_on('r-bsgenome', type=('build', 'run'))
depends_on('r-biostrings', type=('build', 'run'))
depends_on('r-hdf5array@1.11.9:', type=('build', 'run'))
+ depends_on('r-hdf5array@1.15.19:', when='@1.26.0:', type=('build', 'run'))
depends_on('r-rhdf5', type=('build', 'run'))
depends_on('r-beachmat', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-bumphunter/package.py b/var/spack/repos/builtin/packages/r-bumphunter/package.py
index e40d70fc88..0768927a8c 100644
--- a/var/spack/repos/builtin/packages/r-bumphunter/package.py
+++ b/var/spack/repos/builtin/packages/r-bumphunter/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,14 @@ from spack import *
class RBumphunter(RPackage):
- """Bump Hunter.
+ """Bump Hunter
Tools for finding bumps in genomic data"""
homepage = "https://bioconductor.org/packages/bumphunter"
git = "https://git.bioconductor.org/packages/bumphunter.git"
+ version('1.32.0', commit='b7d39c2a6385ca217dceefc918b3ccd5c31bbaa0')
version('1.26.0', commit='606bee8708a0911ced3efb197970b4c9fa52f2fa')
version('1.24.5', commit='29b874033a38e86103b58ef2d4a55f285758147b')
version('1.22.0', commit='fb71b193f4ef7fa12d100441e6eb498765f7afde')
@@ -21,6 +22,8 @@ class RBumphunter(RPackage):
version('1.16.0', commit='1c3ab4d1fd2d75b1586ccef12665960b3602080a')
depends_on('r@2.10:', type=('build', 'run'))
+ depends_on('r@3.4:', when='@1.20.0:', type=('build', 'run'))
+ depends_on('r@3.5:', when='@1.24.5:', type=('build', 'run'))
depends_on('r-s4vectors@0.9.25:', type=('build', 'run'))
depends_on('r-iranges@2.3.23:', type=('build', 'run'))
depends_on('r-genomeinfodb', type=('build', 'run'))
@@ -34,7 +37,3 @@ class RBumphunter(RPackage):
depends_on('r-biocgenerics', type=('build', 'run'))
depends_on('r-genomicfeatures', type=('build', 'run'))
depends_on('r-annotationdbi', type=('build', 'run'))
-
- depends_on('r@3.4:', when='@1.20.0:', type=('build', 'run'))
-
- depends_on('r@3.5:', when='@1.24.5:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-c50/package.py b/var/spack/repos/builtin/packages/r-c50/package.py
index f92f57de8d..29556a3d10 100644
--- a/var/spack/repos/builtin/packages/r-c50/package.py
+++ b/var/spack/repos/builtin/packages/r-c50/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,16 +8,21 @@ from spack import *
class RC50(RPackage):
- """C5.0 decision trees and rule-based models for pattern recognition."""
+ """C5.0 Decision Trees and Rule-Based Models
+
+ C5.0 decision trees and rule-based models for pattern recognition that
+ extend the work of Quinlan (1993, ISBN:1-55860-238-0)."""
homepage = "https://cloud.r-project.org/package=C50"
url = "https://cloud.r-project.org/src/contrib/C50_0.1.0-24.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/C50"
+ version('0.1.3.1', sha256='0b151ba8deef50ab2e2ad8469d87f54f0c6ab862f5c790ed8bb16cb3b8027546')
version('0.1.2', sha256='8f459856e0309274bee24462b7145db4eba1d71031c236db39000a5375bdfaba')
version('0.1.1', sha256='03bc1fc2f64bcd5c680568a24902deafab1965074a66f8802bc4cd0335bd01df')
version('0.1.0-24', sha256='617ee8ae617a075213414c07739ce92d9e6927783d01588fd0e2315157065e9d')
depends_on('r@2.10.0:', type=('build', 'run'))
depends_on('r-partykit', type=('build', 'run'))
- depends_on('r-cubist@0.2.1:', type=('build', 'run'))
+ depends_on('r-cubist@0.2.1:', when='@:0.1.2', type=('build', 'run'))
+ depends_on('r-cubist@0.2.3:', when='@0.1.3.1:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-cairo/package.py b/var/spack/repos/builtin/packages/r-cairo/package.py
index d6cb5c93a2..c2a48a953c 100644
--- a/var/spack/repos/builtin/packages/r-cairo/package.py
+++ b/var/spack/repos/builtin/packages/r-cairo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,13 +8,26 @@ from spack import *
class RCairo(RPackage):
"""R graphics device using cairo graphics library for creating high-quality
- bitmap (PNG, JPEG, TIFF), vector (PDF, SVG, PostScript) and display
- (X11 and Win32) output"""
+ bitmap (PNG, JPEG, TIFF), vector (PDF, SVG, PostScript) and display (X11
+ and Win32) output
+
+ R graphics device using cairographics library that can be used to create
+ high-quality vector (PDF, PostScript and SVG) and bitmap output
+ (PNG,JPEG,TIFF), and high-quality rendering in displays (X11 and Win32).
+ Since it uses the same back-end for all output, copying across formats is
+ WYSIWYG. Files are created without the dependence on X11 or other external
+ programs. This device supports alpha channel (semi-transparent drawing) and
+ resulting images can contain transparent and semi-transparent regions. It
+ is ideal for use in server environments (file output) and as a replacement
+ for other devices that don't have Cairo's capabilities such as alpha
+ support or anti-aliasing. Backends are modular such that any subset of
+ backends is supported."""
homepage = "https://cloud.r-project.org/package=Cairo"
url = "https://cloud.r-project.org/src/contrib/Cairo_1.5-9.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/Cairo"
+ version('1.5-12.2', sha256='dd524105c83b82b5c3b3ee2583ef90d4cafa54b0c29817dac48b425b79f90f92')
version('1.5-10', sha256='7837f0c384cd49bb3342cb39a916d7a80b02fffbf123913a58014e597f69b5d5')
version('1.5-9', sha256='2a867b6cae96671d6bc3acf9334d6615dc01f6ecf1953a27cde8a43c724a38f4')
diff --git a/var/spack/repos/builtin/packages/r-callr/package.py b/var/spack/repos/builtin/packages/r-callr/package.py
index 22122f8030..367cc88a08 100644
--- a/var/spack/repos/builtin/packages/r-callr/package.py
+++ b/var/spack/repos/builtin/packages/r-callr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,14 +7,17 @@ from spack import *
class RCallr(RPackage):
- """It is sometimes useful to perform a computation in a separate R
- process, without affecting the current R process at all. This packages
- does exactly that."""
+ """Call R from R
+
+ It is sometimes useful to perform a computation in a separate R process,
+ without affecting the current R process at all. This packages does exactly
+ that."""
homepage = "https://github.com/MangoTheCat/callr"
url = "https://cloud.r-project.org/src/contrib/callr_1.0.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/callr/"
+ version('3.5.1', sha256='ce338c648cc9ab501168a55f93e68fc81e31dc5ec881e908b5b4a9d6f5bd8696')
version('3.4.3', sha256='01b7277f20c1d662c6bebbfa2798d179922b36d4148b4298853579aeda0382b5')
version('3.3.1', sha256='bf60da47357d3336aa395b0c9643235a621763c80d28bc9bb2257767d0a37967')
version('3.2.0', sha256='4bb47b1018e8eb5c683a86c05d0d9b8b25848db1f1b30e92cfebedc0ce14b0e8')
diff --git a/var/spack/repos/builtin/packages/r-car/package.py b/var/spack/repos/builtin/packages/r-car/package.py
index eab030ef3c..74c38972d5 100644
--- a/var/spack/repos/builtin/packages/r-car/package.py
+++ b/var/spack/repos/builtin/packages/r-car/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,16 @@ from spack import *
class RCar(RPackage):
- """Functions and Datasets to Accompany J. Fox and S. Weisberg, An R
+ """Companion to Applied Regression
+
+ Functions and Datasets to Accompany J. Fox and S. Weisberg, An R
Companion to Applied Regression, Second Edition, Sage, 2011."""
homepage = "https://r-forge.r-project.org/projects/car/"
url = "https://cloud.r-project.org/src/contrib/car_2.1-4.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/car"
+ version('3.0-10', sha256='1ce316d2fee9b47c951d25d096be732489a3c9f6fc9e612a1eca2e50fb5925f1')
version('3.0-3', sha256='fa807cb12f6e7fb38ec534cac4eef54747945c2119a7d51155a2492ad778c36f')
version('3.0-2', sha256='df59a9ba8fed67eef5ddb8f92f2b41745df715d5695c71d562d7031513f37c50')
version('2.1-4', sha256='fd39cf1750cb560a66623fea3fa9e6a94fc24e3dc36367aff24df7d0743edb28')
diff --git a/var/spack/repos/builtin/packages/r-caracas/package.py b/var/spack/repos/builtin/packages/r-caracas/package.py
index 74f9c77e54..0d02a1465a 100644
--- a/var/spack/repos/builtin/packages/r-caracas/package.py
+++ b/var/spack/repos/builtin/packages/r-caracas/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,15 +7,17 @@ from spack import *
class RCaracas(RPackage):
- """Computer algebra via the 'SymPy' library (<https://www.sympy.org/>).
- This makes it possible to solve equations symbolically, find symbolic
- integrals, symbolic sums and other important quantities.
- """
+ """Computer Algebra
+
+ Computer algebra via the 'SymPy' library (<https://www.sympy.org/>). This
+ makes it possible to solve equations symbolically, find symbolic integrals,
+ symbolic sums and other important quantities."""
homepage = "https://cloud.r-project.org/package=caracas"
url = "https://cloud.r-project.org/src/contrib/caracas_1.0.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/caracas"
+ version('1.0.1', sha256='2482dd7b77791243b8174cb41b80b735c3ebd7db837bbf991127514f492af594')
version('1.0.0', sha256='0da6f1d94d1dacb1c11a3635bdff8f7cd8f84373deffa7126636d0876d48e42b')
depends_on('r@3.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-cardata/package.py b/var/spack/repos/builtin/packages/r-cardata/package.py
index c2b3d3b7c2..50b56ac8e4 100644
--- a/var/spack/repos/builtin/packages/r-cardata/package.py
+++ b/var/spack/repos/builtin/packages/r-cardata/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,17 @@ from spack import *
class RCardata(RPackage):
- """Datasets to Accompany J. Fox and S. Weisberg, An R Companion to Applied
- Regression, Third Edition, Sage (forthcoming)."""
+ """Companion to Applied Regression Data Sets
+
+ Datasets to Accompany J. Fox and S. Weisberg, An R Companion to Applied
+ Regression, Third Edition, Sage (2019)."""
homepage = "https://r-forge.r-project.org/projects/car/"
url = "https://cloud.r-project.org/src/contrib/carData_3.0-2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/carData"
+ version('3.0-4', sha256='cda6f5e3efc1d955a4a0625e9c33f90d49f5455840e88b3bd757129b86044724')
version('3.0-2', sha256='3b5c4eff1cc1e456a5331084774503eaa06cf61fb7acf6b9e8a6bfabd5735494')
depends_on('r@3.0:', type=('build', 'run'))
+ depends_on('r@3.5:', when='@3.0-4:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-caret/package.py b/var/spack/repos/builtin/packages/r-caret/package.py
index 7d7631c66d..8d49232086 100644
--- a/var/spack/repos/builtin/packages/r-caret/package.py
+++ b/var/spack/repos/builtin/packages/r-caret/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,27 +7,33 @@ from spack import *
class RCaret(RPackage):
- """Misc functions for training and plotting classification and regression
+ """Classification and Regression Training
+
+ Misc functions for training and plotting classification and regression
models."""
homepage = "https://github.com/topepo/caret/"
url = "https://cloud.r-project.org/src/contrib/caret_6.0-73.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/caret"
+ version('6.0-86', sha256='da4a1c7c3fbf645c5b02871e563a77404622b83623f0d1c5dc1425de7aa4ce37')
version('6.0-84', sha256='a1831c086a9c71b469f7405649ba04517683cdf229e119c005189cf57244090d')
version('6.0-83', sha256='9bde5e4da1f0b690bfe06c2439c0136504e851a8d360bf56b644f171fe20dcef')
version('6.0-73', sha256='90a0a4a10f1a3b37502cb0ed7d8830063d059a548faabb9cc5d8d34736c7eacb')
version('6.0-70', sha256='21c5bdf7cf07bece38729465366564d8ca104c2466ee9fd800ca1fd88eb82f38')
- depends_on('r@2.10:', when='@:6.0-81', type=('build', 'run'))
+ depends_on('r@2.10:', type=('build', 'run'))
depends_on('r@3.2.0:', when='@6.0-82:', type=('build', 'run'))
depends_on('r-lattice@0.20:', type=('build', 'run'))
depends_on('r-ggplot2', type=('build', 'run'))
- depends_on('r-car', when='@:6.0-73', type=('build', 'run'))
depends_on('r-foreach', type=('build', 'run'))
depends_on('r-plyr', type=('build', 'run'))
depends_on('r-modelmetrics@1.1.0:', type=('build', 'run'))
+ depends_on('r-modelmetrics@1.2.2.2:', when='@6.0-86:', type=('build', 'run'))
depends_on('r-nlme', type=('build', 'run'))
depends_on('r-reshape2', type=('build', 'run'))
- depends_on('r-recipes@0.1.4:', when='@6.0-83:', type=('build', 'run'))
+ depends_on('r-recipes@0.1.4:', when='@6.0-83:6.0-84', type=('build', 'run'))
+ depends_on('r-recipes@0.1.10:', when='@6.0-86:', type=('build', 'run'))
depends_on('r-withr@2.0.0:', when='@6.0-83:', type=('build', 'run'))
+ depends_on('r-proc', when='@6.0-86:', type=('build', 'run'))
+ depends_on('r-car', when='@:6.0-73', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-caroline/package.py b/var/spack/repos/builtin/packages/r-caroline/package.py
index 13d6771f3e..5678a465e5 100644
--- a/var/spack/repos/builtin/packages/r-caroline/package.py
+++ b/var/spack/repos/builtin/packages/r-caroline/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-category/package.py b/var/spack/repos/builtin/packages/r-category/package.py
index 3e933e3ecb..f5546a2da3 100644
--- a/var/spack/repos/builtin/packages/r-category/package.py
+++ b/var/spack/repos/builtin/packages/r-category/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RCategory(RPackage):
- """Category Analysis.
+ """Category Analysis
A collection of tools for performing category (gene set enrichment)
analysis."""
@@ -15,6 +15,7 @@ class RCategory(RPackage):
homepage = "https://bioconductor.org/packages/Category"
git = "https://git.bioconductor.org/packages/Category.git"
+ version('2.56.0', commit='ad478caa9d693dbc2770608e79dd852375b9a223')
version('2.50.0', commit='d96f0b29cb778f6697b44d7ba7b0abd7086074a9')
version('2.48.1', commit='941819a3d9dd129f47b4ea00fa74032e405be3a5')
version('2.46.0', commit='c8aeee4dee3fb120f25e0647dd06e895a3ffbc2a')
diff --git a/var/spack/repos/builtin/packages/r-catools/package.py b/var/spack/repos/builtin/packages/r-catools/package.py
index c8a2b9a5f0..a99cee38af 100644
--- a/var/spack/repos/builtin/packages/r-catools/package.py
+++ b/var/spack/repos/builtin/packages/r-catools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,9 @@ from spack import *
class RCatools(RPackage):
- """Contains several basic utility functions including: moving (rolling,
+ """Tools: Moving Window Statistics, GIF, Base64, ROC AUC, etc
+
+ Contains several basic utility functions including: moving (rolling,
running) window statistic functions, read/write for GIF and ENVI binary
files, fast calculation of AUC, LogitBoost classifier, base64
encoder/decoder, round-off-error-free sum and cumsum, etc."""
@@ -17,9 +19,11 @@ class RCatools(RPackage):
url = "https://cloud.r-project.org/src/contrib/caTools_1.17.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/caTools"
+ version('1.18.1', sha256='ffeba4ffbeed5d491bf79b1fde3477f413341e412f77316af20439f54447c9f9')
version('1.17.1.2', sha256='69cc542fab5677462b1a768709d0c4a0a0790f5db53e1fe9ae7123787c18726b')
version('1.17.1.1', sha256='d53e2c5c77f1bd4744703d7196dbc9b4671a120bbb5b9b3edc45fc57c0650c06')
version('1.17.1', sha256='d32a73febf00930355cc00f3e4e71357412e0f163faae6a4bf7f552cacfe9af4')
depends_on('r@2.2.0:', type=('build', 'run'))
+ depends_on('r@3.6.0:', when='@1.18.1:', type=('build', 'run'))
depends_on('r-bitops', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-cdcfluview/package.py b/var/spack/repos/builtin/packages/r-cdcfluview/package.py
index d00215eb28..65213e4e25 100644
--- a/var/spack/repos/builtin/packages/r-cdcfluview/package.py
+++ b/var/spack/repos/builtin/packages/r-cdcfluview/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,10 @@ from spack import *
class RCdcfluview(RPackage):
- """The 'U.S.' Centers for Disease Control ('CDC') maintains a portal
+ """Retrieve Flu Season Data from the United States Centers for Disease
+ Control and Prevention ('CDC') 'FluView' Portal
+
+ The 'U.S.' Centers for Disease Control ('CDC') maintains a portal
<http://gis.cdc.gov/grasp/fluview/fluportaldashboard.html> for accessing
state, regional and national influenza statistics as well as Mortality
Surveillance Data. The web interface makes it difficult and time-consuming
@@ -18,13 +21,17 @@ class RCdcfluview(RPackage):
url = "https://cloud.r-project.org/src/contrib/cdcfluview_0.7.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/cdcfluview"
+ version('0.9.2', sha256='f2080fc80c5e0241f8b657f5ac3a251ea89dfc26c1ab13bdfaed4d4e97495015')
version('0.9.0', sha256='1b2064886858cbb1790ef808d88fbab75d3a9cf55e720638221a3377ff8dd244')
version('0.7.0', sha256='8c8978d081f8472a6ed5ec54c4e6dd906f97ee28d0f88eef1514088f041ecc03')
- depends_on('r@3.2.0:', type=('build', 'run'))
+ depends_on('r@3.2.0:', when='@:0.9.0', type=('build', 'run'))
+ depends_on('r@3.5.0:', when='@0.9.2:', type=('build', 'run'))
depends_on('r-httr', type=('build', 'run'))
+ depends_on('r-progress', when='@0.9.2:', type=('build', 'run'))
depends_on('r-dplyr', type=('build', 'run'))
depends_on('r-jsonlite', type=('build', 'run'))
+ depends_on('r-tibble', when='@0.9.2:', type=('build', 'run'))
depends_on('r-sf', type=('build', 'run'))
depends_on('r-xml2', type=('build', 'run'))
depends_on('r-purrr', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-cellranger/package.py b/var/spack/repos/builtin/packages/r-cellranger/package.py
index d2a6aeeb4d..8ca00b70cb 100644
--- a/var/spack/repos/builtin/packages/r-cellranger/package.py
+++ b/var/spack/repos/builtin/packages/r-cellranger/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-checkmate/package.py b/var/spack/repos/builtin/packages/r-checkmate/package.py
index 7904ee365b..e1e145590a 100644
--- a/var/spack/repos/builtin/packages/r-checkmate/package.py
+++ b/var/spack/repos/builtin/packages/r-checkmate/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RCheckmate(RPackage):
- """Tests and assertions to perform frequent argument checks.
+ """Fast and Versatile Argument Checks
+
+ Tests and assertions to perform frequent argument checks.
A substantial part of the package was written in C to
minimize any worries about execution time overhead."""
@@ -15,6 +17,7 @@ class RCheckmate(RPackage):
url = "https://cloud.r-project.org/src/contrib/checkmate_1.8.4.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/checkmate"
+ version('2.0.0', sha256='0dc25b0e20c04836359df1885d099c6e4ad8ae0e585a9e4107f7ea945d9c6fa4')
version('1.9.4', sha256='faa25754b757fe483b876f5d07b73f76f69a1baa971420892fadec4af4bbad21')
version('1.8.4', sha256='6f948883e5a885a1c409d997f0c782e754a549227ec3c8eb18318deceb38f8f6')
diff --git a/var/spack/repos/builtin/packages/r-checkpoint/package.py b/var/spack/repos/builtin/packages/r-checkpoint/package.py
index 4bed14e6e1..6b5da99426 100644
--- a/var/spack/repos/builtin/packages/r-checkpoint/package.py
+++ b/var/spack/repos/builtin/packages/r-checkpoint/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,15 +7,29 @@ from spack import *
class RCheckpoint(RPackage):
- """The goal of checkpoint is to solve the problem of package
- reproducibility in R. Specifically, checkpoint allows you to
- install packages as they existed on CRAN on a specific snapshot
- date as if you had a CRAN time machine."""
+ """Install Packages from Snapshots on the Checkpoint Server for Reproducibility
+
+ The goal of checkpoint is to solve the problem of package reproducibility
+ in R. Specifically, checkpoint allows you to install packages as they
+ existed on CRAN on a specific snapshot date as if you had a CRAN time
+ machine. To achieve reproducibility, the checkpoint() function installs the
+ packages required or called by your project and scripts to a local library
+ exactly as they existed at the specified point in time. Only those packages
+ are available to your project, thereby avoiding any package updates that
+ came later and may have altered your results. In this way, anyone using
+ checkpoint's checkpoint() can ensure the reproducibility of your scripts or
+ projects at any time. To create the snapshot archives, once a day (at
+ midnight UTC) Microsoft refreshes the Austria CRAN mirror on the "Microsoft
+ R Archived Network" server (<https://mran.microsoft.com/>). Immediately
+ after completion of the rsync mirror process, the process takes a snapshot,
+ thus creating the archive. Snapshot archives exist starting from
+ 2014-09-17."""
homepage = "https://cloud.r-project.org/package=checkpoint"
url = "https://cloud.r-project.org/src/contrib/checkpoint_0.4.6.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/checkpoint"
+ version('0.4.10', sha256='7362ae9703763fe4652d0b592cd913ce506f072a18e5cf5970d08d7cdf4d126a')
version('0.4.6', sha256='fd1a5edb5cb1a40d7ed26bb196de566110fe2ef62e70b4e947c003576a03ebb2')
version('0.4.3', sha256='c3e862f89f8838183d6028f7ed13683aec562e6dab77ad4b6a5e24ec653cfb64')
version('0.3.15', sha256='09f1feeb2b5b8b409a2e16a9185827b8da5e555f1aa84442a287f15e452beed7')
diff --git a/var/spack/repos/builtin/packages/r-chemometrics/package.py b/var/spack/repos/builtin/packages/r-chemometrics/package.py
index b4b8f01804..ee97cbaa49 100644
--- a/var/spack/repos/builtin/packages/r-chemometrics/package.py
+++ b/var/spack/repos/builtin/packages/r-chemometrics/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-chipseq/package.py b/var/spack/repos/builtin/packages/r-chipseq/package.py
new file mode 100644
index 0000000000..60e87f7c40
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-chipseq/package.py
@@ -0,0 +1,25 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RChipseq(RPackage):
+ """A package for analyzing chipseq data"""
+
+ homepage = "https://bioconductor.org/packages/release/bioc/html/chipseq.html"
+ url = "https://bioconductor.org/packages/release/bioc/src/contrib/chipseq_1.40.0.tar.gz"
+
+ maintainers = ['dorton21']
+
+ version('1.40.0', sha256='5b48721a9eae6ebaf57a57af13f76eb887925ea1a02906abeb6f67a588c0ff8a')
+
+ depends_on('r@2.10:', type=('build', 'run'))
+ depends_on('r-biocgenerics@0.1.0:', type=('build', 'run'))
+ depends_on('r-s4vectors@0.17.25:', type=('build', 'run'))
+ depends_on('r-iranges@2.13.12:', type=('build', 'run'))
+ depends_on('r-genomicranges@1.31.8:', type=('build', 'run'))
+ depends_on('r-shortread', type=('build', 'run'))
+ depends_on('r-lattice', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-chron/package.py b/var/spack/repos/builtin/packages/r-chron/package.py
index f47ab66c6f..33cf9edf8e 100644
--- a/var/spack/repos/builtin/packages/r-chron/package.py
+++ b/var/spack/repos/builtin/packages/r-chron/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,16 @@ from spack import *
class RChron(RPackage):
- """Chronological objects which can handle dates and times."""
+ """Chronological objects which can handle dates and times.
+
+ Provides chronological objects which can handle dates and times.
+ """
homepage = "https://cloud.r-project.org/package=chron"
url = "https://cloud.r-project.org/src/contrib/chron_2.3-47.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/chron"
+ version('2.3-56', sha256='863ecbb951a3da994761ea9062fa96d34e94e19fbc4122521ac179274dfa3f5d')
version('2.3-53', sha256='521814b46ba958eae28e29d8766aebd285da5e6fa16c5806603df3ae39f77309')
version('2.3-52', sha256='c47fcf4abb635babe6337604c876d4853d8a24639a98b71523746c56ce75b4a0')
version('2.3-47', sha256='9a8c771021165de517e54c3369c622aaac1bf3e220a2fbf595aba285e60445f6')
diff --git a/var/spack/repos/builtin/packages/r-circlize/package.py b/var/spack/repos/builtin/packages/r-circlize/package.py
index ea9dc2e012..14af2b7475 100644
--- a/var/spack/repos/builtin/packages/r-circlize/package.py
+++ b/var/spack/repos/builtin/packages/r-circlize/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,26 +7,31 @@ from spack import *
class RCirclize(RPackage):
- """Circular layout is an efficient way for the visualization of huge
- amounts of information. Here this package provides an implementation
- of circular layout generation in R as well as an enhancement of
- available software. The flexibility of the package is based on the
- usage of low-level graphics functions such that self-defined
- high-level graphics can be easily implemented by users for specific
- purposes. Together with the seamless connection between the powerful
- computational and visual environment in R, it gives users more
- convenience and freedom to design figures for better understanding
- complex patterns behind multiple dimensional data."""
+ """Circular Visualization
+
+ Circular layout is an efficient way for the visualization of huge amounts
+ of information. Here this package provides an implementation of circular
+ layout generation in R as well as an enhancement of available software. The
+ flexibility of the package is based on the usage of low-level graphics
+ functions such that self-defined high-level graphics can be easily
+ implemented by users for specific purposes. Together with the seamless
+ connection between the powerful computational and visual environment in R,
+ it gives users more convenience and freedom to design figures for better
+ understanding complex patterns behind multiple dimensional data. The
+ package is described in Gu et al. 2014
+ <doi:10.1093/bioinformatics/btu393>."""
homepage = "https://cloud.r-project.org/package=circlize"
url = "https://cloud.r-project.org/src/contrib/circlize_0.4.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/circlize"
+ version('0.4.12', sha256='b3b60caa5292cf980cf474c85f59582f6862925631a4da86a78eac05903252f4')
version('0.4.6', sha256='cec88cfc5e512a111cc37177552c25698ccc0e9bbecb0d6e60657e7b115a56fa')
version('0.4.1', sha256='204a170ae3b982f09b652c4583189907cfa42a29bc7efaba02a1e0d79f1cf1f0')
version('0.4.0', sha256='abdc1bbe264be42c1d7b65869979da7cd131032fd6fd3f11f9744dae54e83f5c')
depends_on('r@3.0.0:', type=('build', 'run'))
- depends_on('r-globaloptions@0.1.0:', type=('build', 'run'))
+ depends_on('r-globaloptions@0.1.0:', when='@:0.4.6', type=('build', 'run'))
+ depends_on('r-globaloptions@0.1.2:', when='@0.4.12:', type=('build', 'run'))
depends_on('r-shape', type=('build', 'run'))
depends_on('r-colorspace', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-class/package.py b/var/spack/repos/builtin/packages/r-class/package.py
index d15932eae2..0dfbb3fafa 100644
--- a/var/spack/repos/builtin/packages/r-class/package.py
+++ b/var/spack/repos/builtin/packages/r-class/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,16 @@ from spack import *
class RClass(RPackage):
- """Various functions for classification, including k-nearest neighbour,
+ """Functions for Classification
+
+ Various functions for classification, including k-nearest neighbour,
Learning Vector Quantization and Self-Organizing Maps."""
homepage = "http://www.stats.ox.ac.uk/pub/MASS4/"
url = "https://cloud.r-project.org/src/contrib/class_7.3-14.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/class"
+ version('7.3-17', sha256='be1f85b6df7556db93f50cb08106aac6620d4b5bb3fee846422863a022461313')
version('7.3-15', sha256='f6bf33d610c726d58622b6cea78a808c7d6a317d02409d27c17741dfd1c730f4')
version('7.3-14', sha256='18b876dbc18bebe6a00890eab7d04ef72b903ba0049d5ce50731406a82426b9c')
diff --git a/var/spack/repos/builtin/packages/r-classint/package.py b/var/spack/repos/builtin/packages/r-classint/package.py
index 66f2e095a9..a39327aa88 100644
--- a/var/spack/repos/builtin/packages/r-classint/package.py
+++ b/var/spack/repos/builtin/packages/r-classint/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,16 @@ from spack import *
class RClassint(RPackage):
- """Selected commonly used methods for choosing univariate class intervals
- for mapping or other graphics purposes."""
+ """Choose Univariate Class Intervals
+
+ Selected commonly used methods for choosing univariate class intervals for
+ mapping or other graphics purposes."""
homepage = "https://cloud.r-project.org/package=classInt"
url = "https://cloud.r-project.org/src/contrib/classInt_0.1-24.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/classInt"
+ version('0.4-3', sha256='9ede7a2a7a6b6c114919a3315a884fb592e33b037a50a4fe45cbd4fe2fc434ac')
version('0.4-1', sha256='39c63f8e37b379033d73d57929b5b8ea41b0023626cc1cec648d66bade5d0103')
version('0.3-3', sha256='a93e685ef9c40d5977bb91d7116505a25303b229897a20544722a94ea1365f30')
version('0.3-1', sha256='e2e6f857b544dfecb482b99346aa3ecfdc27b4d401c3537ee8fbaf91caca92b9')
diff --git a/var/spack/repos/builtin/packages/r-cli/package.py b/var/spack/repos/builtin/packages/r-cli/package.py
index d8a169c779..8f5f73ed25 100644
--- a/var/spack/repos/builtin/packages/r-cli/package.py
+++ b/var/spack/repos/builtin/packages/r-cli/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,14 +7,20 @@ from spack import *
class RCli(RPackage):
- """A suite of tools designed to build attractive command line interfaces
- ('CLIs'). Includes tools for drawing rules, boxes, trees, and
- 'Unicode' symbols with 'ASCII' alternatives."""
+ """Helpers for Developing Command Line Interfaces
+
+ A suite of tools to build attractive command line interfaces ('CLIs'), from
+ semantic elements: headings, lists, alerts, paragraphs, etc. Supports
+ custom themes via a 'CSS'-like language. It also contains a number of lower
+ level 'CLI' elements: rules, boxes, trees, and 'Unicode' symbols with
+ 'ASCII' alternatives. It integrates with the 'crayon' package to support
+ 'ANSI' terminal colors."""
homepage = "https://github.com/r-lib/cli#readme"
url = "https://cloud.r-project.org/src/contrib/cli_1.0.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/cli"
+ version('2.2.0', sha256='39a77af61724f8cc1f5117011e17bb2a488cbac61a7c112db078a675d3ac40b8')
version('2.0.2', sha256='490834e5b80eb036befa0e150996bcab1c4d5d168c3d45209926e52d0d5413b6')
version('1.1.0', sha256='4fc00fcdf4fdbdf9b5792faee8c7cf1ed5c4f45b1221d961332cda82dbe60d0a')
version('1.0.1', sha256='ef80fbcde15760fd55abbf9413b306e3971b2a7034ab8c415fb52dc0088c5ee4')
diff --git a/var/spack/repos/builtin/packages/r-clipr/package.py b/var/spack/repos/builtin/packages/r-clipr/package.py
index 7ea728fe97..e97fd95623 100644
--- a/var/spack/repos/builtin/packages/r-clipr/package.py
+++ b/var/spack/repos/builtin/packages/r-clipr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,16 @@ from spack import *
class RClipr(RPackage):
- """Simple utility functions to read from and write to the Windows, OS X,
- and X11 clipboards."""
+ """Read and Write from the System Clipboard
+
+ Simple utility functions to read from and write to the Windows, OS X, and
+ X11 clipboards."""
homepage = "https://github.com/mdlincoln/clipr"
url = "https://cloud.r-project.org/src/contrib/clipr_0.4.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/clipr"
+ version('0.7.1', sha256='ffad477b07847e3b68f7e4406bbd323025a8dae7e3c768943d4d307ee3248afb')
version('0.7.0', sha256='03a4e4b72ec63bd08b53fe62673ffc19a004cc846957a335be2b30d046b8c2e2')
version('0.5.0', sha256='fd303f8b7f29badcdf490bb2d579acdfc4f4e1aa9c90ac77ab9d05ce3d053dbf')
version('0.4.0', sha256='44a2f1ab4fde53e4fe81cf5800aa6ad45b72b5da93d6fe4d3661d7397220e8af')
diff --git a/var/spack/repos/builtin/packages/r-clisymbols/package.py b/var/spack/repos/builtin/packages/r-clisymbols/package.py
index c5ed8c3e9f..1834c6111c 100644
--- a/var/spack/repos/builtin/packages/r-clisymbols/package.py
+++ b/var/spack/repos/builtin/packages/r-clisymbols/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-clue/package.py b/var/spack/repos/builtin/packages/r-clue/package.py
index 30893dccaf..c442e863d5 100644
--- a/var/spack/repos/builtin/packages/r-clue/package.py
+++ b/var/spack/repos/builtin/packages/r-clue/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,13 @@ from spack import *
class RClue(RPackage):
- """clue: Cluster Ensembles"""
+ """Cluster Ensembles"""
homepage = "https://cloud.r-project.org/package=clue"
url = "https://cloud.r-project.org/src/contrib/clue_0.3-57.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/clue"
+ version('0.3-58', sha256='2ab6662eaa1103a7b633477e8ebd266b262ed54fac6f9326b160067a2ded9ce7')
version('0.3-57', sha256='6e369d07b464a9624209a06b5078bf988f01f7963076e946649d76aea0622d17')
depends_on('r@3.2.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-cluster/package.py b/var/spack/repos/builtin/packages/r-cluster/package.py
index 34a504e751..20c0ff716c 100644
--- a/var/spack/repos/builtin/packages/r-cluster/package.py
+++ b/var/spack/repos/builtin/packages/r-cluster/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-clustergeneration/package.py b/var/spack/repos/builtin/packages/r-clustergeneration/package.py
index c7cd14d97c..6e9fb3fd73 100644
--- a/var/spack/repos/builtin/packages/r-clustergeneration/package.py
+++ b/var/spack/repos/builtin/packages/r-clustergeneration/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,24 @@ from spack import *
class RClustergeneration(RPackage):
- """Random Cluster Generation (with Specified Degree of Separation)"""
+ """Random Cluster Generation (with Specified Degree of Separation)
+
+ We developed the clusterGeneration package to provide functions for
+ generating random clusters, generating random covariance/correlation
+ matrices, calculating a separation index (data and population version) for
+ pairs of clusters or cluster distributions, and 1-D and 2-D projection
+ plots to visualize clusters. The package also contains a function to
+ generate random clusters based on factorial designs with factors such as
+ degree of separation, number of clusters, number of variables, number of
+ noisy variables."""
homepage = "https://cloud.r-project.org/package=clusterGeneration"
url = "https://cloud.r-project.org/src/contrib/clusterGeneration_1.3.4.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/clusterGeneration/"
+ version('1.3.7', sha256='534f29d8f7ed11e6e9a496f15845b588ec7133f3da5e6def8140b88500e52d5c')
version('1.3.4', sha256='7c591ad95a8a9d7fb0e4d5d80dfd78f7d6a63cf7d11eb53dd3c98fdfb5b868aa')
depends_on('r@2.9.1:', type=('build', 'run'))
+ depends_on('r@3.5.0:', when='@1.3.7:', type=('build', 'run'))
depends_on('r-mass', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-clusterprofiler/package.py b/var/spack/repos/builtin/packages/r-clusterprofiler/package.py
index 2f71d6df7a..7f6c6be3eb 100644
--- a/var/spack/repos/builtin/packages/r-clusterprofiler/package.py
+++ b/var/spack/repos/builtin/packages/r-clusterprofiler/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ from spack import *
class RClusterprofiler(RPackage):
"""statistical analysis and visualization of functional profiles for genes
- and gene clusters.
+ and gene clusters
This package implements methods to analyze and visualize functional
profiles (GO and KEGG) of gene and gene clusters."""
@@ -16,6 +16,7 @@ class RClusterprofiler(RPackage):
homepage = "https://bioconductor.org/packages/clusterProfiler"
git = "https://git.bioconductor.org/packages/clusterProfiler.git"
+ version('3.18.0', commit='064a6e612ce27e260e33af78b907bee4065ff821')
version('3.12.0', commit='6ec88d10832bdfd938e9c065b377015eedb7eee2')
version('3.10.1', commit='39927ef7ff6f97e27557bcf4147e2133b364fd3c')
version('3.8.1', commit='81e1a7ac49e4713703c55f87f945b20de5e7ab36')
@@ -23,20 +24,23 @@ class RClusterprofiler(RPackage):
version('3.4.4', commit='b86b00e8405fe130e439362651a5567736e2d9d7')
depends_on('r@3.3.1:', type=('build', 'run'))
- depends_on('r-dose@3.1.3:', type=('build', 'run'))
+ depends_on('r@3.4.0:', when='@3.8.1:', type=('build', 'run'))
depends_on('r-annotationdbi', type=('build', 'run'))
- depends_on('r-ggplot2', type=('build', 'run'))
+ depends_on('r-downloader', when='@3.18.0:', type=('build', 'run'))
+ depends_on('r-dose@3.1.3:', type=('build', 'run'))
+ depends_on('r-dose@3.3.2:', when='@3.6.0:', type=('build', 'run'))
+ depends_on('r-dose@3.5.1:', when='@3.8.1:', type=('build', 'run'))
+ depends_on('r-dose@3.13.1:', when='@3.18.0:', type=('build', 'run'))
+ depends_on('r-dplyr', when='@3.18.0:', type=('build', 'run'))
+ depends_on('r-enrichplot@0.99.7:', when='@3.8.1:', type=('build', 'run'))
+ depends_on('r-enrichplot@1.9.3:', when='@3.18.0:', type=('build', 'run'))
depends_on('r-go-db', type=('build', 'run'))
- depends_on('r-gosemsim@2.0.0:', when='@3.4.4:3.6.0', type=('build', 'run'))
depends_on('r-gosemsim', type=('build', 'run'))
+ depends_on('r-gosemsim@2.0.0:', when='@3.4.4:3.6.0', type=('build', 'run'))
depends_on('r-magrittr', type=('build', 'run'))
depends_on('r-plyr', type=('build', 'run'))
depends_on('r-qvalue', type=('build', 'run'))
+ depends_on('r-rlang', when='@3.18.0:', type=('build', 'run'))
depends_on('r-rvcheck', type=('build', 'run'))
depends_on('r-tidyr', type=('build', 'run'))
-
- depends_on('r-dose@3.3.2:', when='@3.6.0:', type=('build', 'run'))
-
- depends_on('r@3.4.0:', when='@3.8.1:', type=('build', 'run'))
- depends_on('r-dose@3.5.1:', when='@3.8.1:', type=('build', 'run'))
- depends_on('r-enrichplot@0.99.7:', when='@3.8.1:', type=('build', 'run'))
+ depends_on('r-ggplot2', when='@:3.12.0', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-cner/package.py b/var/spack/repos/builtin/packages/r-cner/package.py
index 1eadf7f279..6f652c74b1 100644
--- a/var/spack/repos/builtin/packages/r-cner/package.py
+++ b/var/spack/repos/builtin/packages/r-cner/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RCner(RPackage):
- """CNE Detection and Visualization.
+ """CNE Detection and Visualization
Large-scale identification and advanced visualization of sets of
conserved noncoding elements."""
@@ -15,6 +15,7 @@ class RCner(RPackage):
homepage = "https://bioconductor.org/packages/CNEr"
git = "https://git.bioconductor.org/packages/CNEr.git"
+ version('1.26.0', commit='e5e582da6feeae0618c4460f16ece724215e3b20')
version('1.20.0', commit='9c25d8e8f6f5fd8a5311f554c86e7ca1140a4ca5')
version('1.18.1', commit='66aa88af04364c81832f3b09bad898f3c117f606')
version('1.16.1', commit='a2bec4b98d5938709f959a69c151f553ef357941')
@@ -22,14 +23,16 @@ class RCner(RPackage):
version('1.12.1', commit='90d611f9cd19a73d0fe92ab03ef428519d64c017')
depends_on('r@3.2.2:', type=('build', 'run'))
+ depends_on('r@3.4:', when='@1.14.0:', type=('build', 'run'))
depends_on('r-biostrings@2.33.4:', type=('build', 'run'))
+ depends_on('r-dbi@0.6:', type=('build', 'run'))
+ depends_on('r-dbi@0.7:', when='@1.14.0:', type=('build', 'run'))
depends_on('r-rsqlite@0.11.4:', type=('build', 'run'))
depends_on('r-genomeinfodb@1.1.3:', type=('build', 'run'))
depends_on('r-genomicranges@1.23.16:', type=('build', 'run'))
depends_on('r-rtracklayer@1.25.5:', type=('build', 'run'))
depends_on('r-xvector@0.5.4:', type=('build', 'run'))
depends_on('r-genomicalignments@1.1.9:', type=('build', 'run'))
- depends_on('r-dbi@0.6:', type=('build', 'run'))
depends_on('r-s4vectors@0.13.13:', type=('build', 'run'))
depends_on('r-iranges@2.5.27:', type=('build', 'run'))
depends_on('r-readr@0.2.2:', type=('build', 'run'))
@@ -41,6 +44,3 @@ class RCner(RPackage):
depends_on('r-go-db@3.3.0:', type=('build', 'run'))
depends_on('r-r-utils@2.3.0:', type=('build', 'run'))
depends_on('r-keggrest@1.14.0:', type=('build', 'run'))
-
- depends_on('r@3.4:', when='@1.14.0:', type=('build', 'run'))
- depends_on('r-dbi@0.7:', when='@1.14.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-coda/package.py b/var/spack/repos/builtin/packages/r-coda/package.py
index 98397e80af..228d511951 100644
--- a/var/spack/repos/builtin/packages/r-coda/package.py
+++ b/var/spack/repos/builtin/packages/r-coda/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,15 +7,17 @@ from spack import *
class RCoda(RPackage):
- """Provides functions for summarizing and plotting the output from
- Markov Chain Monte Carlo (MCMC) simulations, as well as
- diagnostic tests of convergence to the equilibrium distribution
- of the Markov chain."""
+ """Output Analysis and Diagnostics for MCMC
+
+ Provides functions for summarizing and plotting the output from Markov
+ Chain Monte Carlo (MCMC) simulations, as well as diagnostic tests of
+ convergence to the equilibrium distribution of the Markov chain."""
homepage = "https://cloud.r-project.org/package=coda"
url = "https://cloud.r-project.org/src/contrib/coda_0.19-1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/coda"
+ version('0.19-4', sha256='422d3cfd34797a3631e9c4812431940599c0ca4bb9937797bed07b7b1d6fe58f')
version('0.19-3', sha256='d3df1fc848bcf1af8fae13d61eeab60e99a3d4b4db384bec4326f909f502c5d6')
version('0.19-2', sha256='678a7e6a87a2723089daeb780ea37ac3d4319b37eabe26928ea3fa9c9b1eda0d')
version('0.19-1', sha256='d41ff5731da6805170769dba75dd011ab33f916d15b2336001f279e21a524491')
diff --git a/var/spack/repos/builtin/packages/r-codetools/package.py b/var/spack/repos/builtin/packages/r-codetools/package.py
index a1e189a942..1b8d808491 100644
--- a/var/spack/repos/builtin/packages/r-codetools/package.py
+++ b/var/spack/repos/builtin/packages/r-codetools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,8 @@ class RCodetools(RPackage):
url = "https://cloud.r-project.org/src/contrib/codetools_0.2-15.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/codetools"
- version('0.2-16', sha256='f67a66175cb5d8882457d1e9b91ea2f16813d554fa74f80c1fd6e17cf1877501')
+ version('0.2-18', sha256='1a9ea6b9792dbd1688078455929385acc3a5e4bef945c77bec1261fa4a084c28')
+ version('0.2-16', sha256='c276757c3adabaf700f2ea25835892b09bc1bd438ebd17c805ea9073ed8a74b6')
version('0.2-15', sha256='4e0798ed79281a614f8cdd199e25f2c1bd8f35ecec902b03016544bd7795fa40')
version('0.2-14', sha256='270d603b89076081af8d2db0256927e55ffeed4c27309d50deea75b444253979')
diff --git a/var/spack/repos/builtin/packages/r-codex/package.py b/var/spack/repos/builtin/packages/r-codex/package.py
index 11b161ce43..02ad9e9496 100644
--- a/var/spack/repos/builtin/packages/r-codex/package.py
+++ b/var/spack/repos/builtin/packages/r-codex/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,10 @@ from spack import *
class RCodex(RPackage):
- """A normalization and copy number variation calling procedure for whole
+ """A Normalization and Copy Number Variation Detection Method for Whole
+ Exome Sequencing
+
+ A normalization and copy number variation calling procedure for whole
exome DNA sequencing data. CODEX relies on the availability of multiple
samples processed using the same sequencing pipeline for normalization, and
does not require matched controls. The normalization model in CODEX
@@ -20,6 +23,7 @@ class RCodex(RPackage):
homepage = "http://www.bioconductor.org/packages/release/bioc/html/CODEX.html"
git = "https://git.bioconductor.org/packages/CODEX"
+ version('1.22.0', commit='aa0ee4278111a46e0c790312b0526ba07aab22eb')
version('1.18.0', commit='9a95cccc7ff3fe587636317e21e39a07dddf80bc')
depends_on('r@3.2.3:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-coin/package.py b/var/spack/repos/builtin/packages/r-coin/package.py
index 5e65ba4922..91fe394026 100644
--- a/var/spack/repos/builtin/packages/r-coin/package.py
+++ b/var/spack/repos/builtin/packages/r-coin/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RCoin(RPackage):
- """Conditional inference procedures for the general independence problem
+ """Conditional Inference Procedures in a Permutation Test Framework
+
+ Conditional inference procedures for the general independence problem
including two-sample, K-sample (non-parametric ANOVA), correlation,
censored, ordered and multivariate problems."""
@@ -15,6 +17,7 @@ class RCoin(RPackage):
url = "https://cloud.r-project.org/src/contrib/coin_1.1-3.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/coin"
+ version('1.3-1', sha256='5de2519a6e2b059bba9d74c58085cccaff1aaaa0454586ed164a108ebd1b2062')
version('1.3-0', sha256='adcebb37e0a7dfddbf8ec1e09c12a809bd76d90b5b8ff2b1048a75252ba11ef8')
version('1.2-2', sha256='d518065d3e1eb00121cb4e0200e1e4ae6b68eca6e249afc38bbffa35d24105bb')
version('1.1-3', sha256='8b88ecc25903c83539dfc73cdc31a160e2aa4a7bea1773b22c79133d2f006035')
@@ -22,8 +25,8 @@ class RCoin(RPackage):
depends_on('r@2.14.0:', when='@:1.2-2', type=('build', 'run'))
depends_on('r@3.4.0:', when='@1.3-0:', type=('build', 'run'))
depends_on('r-survival', type=('build', 'run'))
+ depends_on('r-libcoin@1.0-0:', when='@1.3-0:', type=('build', 'run'))
+ depends_on('r-matrixstats@0.54.0:', when='@1.3-0:', type=('build', 'run'))
depends_on('r-modeltools@0.2-9:', type=('build', 'run'))
depends_on('r-mvtnorm@1.0-5:', type=('build', 'run'))
depends_on('r-multcomp', type=('build', 'run'))
- depends_on('r-libcoin@1.0-0:', when='@1.3-0:', type=('build', 'run'))
- depends_on('r-matrixstats@0.54.0:', when='@1.3-0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-colorspace/package.py b/var/spack/repos/builtin/packages/r-colorspace/package.py
index 8e1d6a700b..725591c3b2 100644
--- a/var/spack/repos/builtin/packages/r-colorspace/package.py
+++ b/var/spack/repos/builtin/packages/r-colorspace/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,15 +7,29 @@ from spack import *
class RColorspace(RPackage):
- """Carries out mapping between assorted color spaces including RGB, HSV,
- HLS, CIEXYZ, CIELUV, HCL (polar CIELUV), CIELAB and polar CIELAB.
- Qualitative, sequential, and diverging color palettes based on HCL colors
- are provided."""
+ """A Toolbox for Manipulating and Assessing Colors and Palettes
+
+ Carries out mapping between assorted color spaces including RGB, HSV, HLS,
+ CIEXYZ, CIELUV, HCL (polar CIELUV), CIELAB, and polar CIELAB. Qualitative,
+ sequential, and diverging color palettes based on HCL colors are provided
+ along with corresponding ggplot2 color scales. Color palette choice is
+ aided by an interactive app (with either a Tcl/Tk or a shiny graphical user
+ interface) and shiny apps with an HCL color picker and a color vision
+ deficiency emulator. Plotting functions for displaying and assessing
+ palettes include color swatches, visualizations of the HCL space, and
+ trajectories in HCL and/or RGB spectrum. Color manipulation functions
+ include: desaturation, lightening/darkening, mixing, and simulation of
+ color vision deficiencies (deutanomaly, protanomaly, tritanomaly). Details
+ can be found on the project web page at
+ <http://colorspace.R-Forge.R-project.org/> and in the accompanying
+ scientific paper: Zeileis et al. (2020, Journal of Statistical Software,
+ <doi:10.18637/jss.v096.i01>)."""
homepage = "https://cloud.r-project.org/package=colorspace"
url = "https://cloud.r-project.org/src/contrib/colorspace_1.3-2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/colorspace"
+ version('2.0-0', sha256='4e6a53af9918db282cefdc71eaa30f507d4d1d682bcfb74cb0dd68a0b282018e')
version('1.4-1', sha256='693d713a050f8bfecdb7322739f04b40d99b55aed168803686e43401d5f0d673')
version('1.4-0', sha256='ce003c5958dd704697959e9dc8a108c8cb568f8d78ece113235732afc5dff556')
version('1.3-2', sha256='dd9fd2342b650456901d014e7ff6d2e201f8bec0b555be63b1a878d2e1513e34')
diff --git a/var/spack/repos/builtin/packages/r-combinat/package.py b/var/spack/repos/builtin/packages/r-combinat/package.py
index 25323c66c5..ee3cfd134a 100644
--- a/var/spack/repos/builtin/packages/r-combinat/package.py
+++ b/var/spack/repos/builtin/packages/r-combinat/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-commonmark/package.py b/var/spack/repos/builtin/packages/r-commonmark/package.py
index 79d831d895..b2ff563661 100644
--- a/var/spack/repos/builtin/packages/r-commonmark/package.py
+++ b/var/spack/repos/builtin/packages/r-commonmark/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-complexheatmap/package.py b/var/spack/repos/builtin/packages/r-complexheatmap/package.py
index 6d4469ed09..71309ea39f 100644
--- a/var/spack/repos/builtin/packages/r-complexheatmap/package.py
+++ b/var/spack/repos/builtin/packages/r-complexheatmap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RComplexheatmap(RPackage):
- """Make Complex Heatmaps.
+ """Make Complex Heatmaps
Complex heatmaps are efficient to visualize associations between
different sources of data sets and reveal potential patterns. Here the
@@ -17,6 +17,7 @@ class RComplexheatmap(RPackage):
homepage = "https://bioconductor.org/packages/ComplexHeatmap"
git = "https://git.bioconductor.org/packages/ComplexHeatmap.git"
+ version('2.6.2', commit='0383bada2c76dc3dde71cf6a625016b619aec4d3')
version('2.0.0', commit='97863d8ddfe36a52df0149b0b040dc386a03d2e4')
version('1.20.0', commit='1501ecc92fda07efa3652e41626b21741951ce0f')
version('1.18.1', commit='be0dd9d666a219c61335efe0dac50b2eed2a8825')
@@ -25,16 +26,18 @@ class RComplexheatmap(RPackage):
depends_on('r@3.1.2:', type=('build', 'run'))
depends_on('r-circlize@0.3.4:', type=('build', 'run'))
+ depends_on('r-circlize@0.4.1:', when='@1.17.1:', type=('build', 'run'))
+ depends_on('r-circlize@0.4.5:', when='@2.0.0:', type=('build', 'run'))
depends_on('r-getoptlong', type=('build', 'run'))
depends_on('r-colorspace', type=('build', 'run'))
+ depends_on('r-clue', when='@2.0.0:', type=('build', 'run'))
depends_on('r-rcolorbrewer', type=('build', 'run'))
- depends_on('r-dendextend@1.0.1:', when='@1.14.0:1.17.1', type=('build', 'run'))
depends_on('r-globaloptions@0.0.10:', type=('build', 'run'))
-
- depends_on('r-circlize@0.4.1:', when='@1.17.1:', type=('build', 'run'))
-
depends_on('r-globaloptions@0.1.0:', when='@1.20.0:', type=('build', 'run'))
-
- depends_on('r-circlize@0.4.5:', when='@2.0.0:', type=('build', 'run'))
- depends_on('r-clue', when='@2.0.0:', type=('build', 'run'))
depends_on('r-png', when='@2.0.0:', type=('build', 'run'))
+ depends_on('r-cairo', when='@2.6.2:', type=('build', 'run'))
+ depends_on('r-digest', when='@2.6.2:', type=('build', 'run'))
+ depends_on('r-s4vectors@0.26.1:', when='@2.6.2:', type=('build', 'run'))
+ depends_on('r-iranges', when='@2.6.2:', type=('build', 'run'))
+ depends_on('r-matrixstats', when='@2.6.2:', type=('build', 'run'))
+ depends_on('r-dendextend@1.0.1:', when='@1.14.0:1.17.1', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-compositions/package.py b/var/spack/repos/builtin/packages/r-compositions/package.py
index 49c8c48e9c..4f6c43359f 100644
--- a/var/spack/repos/builtin/packages/r-compositions/package.py
+++ b/var/spack/repos/builtin/packages/r-compositions/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,16 +7,22 @@ from spack import *
class RCompositions(RPackage):
- """Compositional Data Analysis"""
+ """Compositional Data Analysis
+
+ Provides functions for the consistent analysis of compositional data (e.g.
+ portions of substances) and positive numbers (e.g. concentrations) in the
+ way proposed by J. Aitchison and V. Pawlowsky-Glahn."""
homepage = "https://cloud.r-project.org/package=compositions"
url = "https://cloud.r-project.org/src/contrib/compositions_1.40-2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/compositions"
+ version('2.0-1', sha256='84a291308faf858e5a9d9570135c2da5e57b0887f407903485fa85d09da61a0f')
version('1.40-2', sha256='110d71ae000561987cb73fc76cd953bd69d37562cb401ed3c36dca137d01b78a')
depends_on('r@2.2.0:', type=('build', 'run'))
depends_on('r-tensora', type=('build', 'run'))
depends_on('r-robustbase', type=('build', 'run'))
- depends_on('r-energy', type=('build', 'run'))
depends_on('r-bayesm', type=('build', 'run'))
+ depends_on('r-mass', when='@2.0-1:', type=('build', 'run'))
+ depends_on('r-energy', when='@:1.40-2', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-condop/package.py b/var/spack/repos/builtin/packages/r-condop/package.py
index 2a51e5f3db..bc15240ddd 100644
--- a/var/spack/repos/builtin/packages/r-condop/package.py
+++ b/var/spack/repos/builtin/packages/r-condop/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-conquer/package.py b/var/spack/repos/builtin/packages/r-conquer/package.py
new file mode 100644
index 0000000000..9051a0de80
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-conquer/package.py
@@ -0,0 +1,27 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RConquer(RPackage):
+ """Convolution-Type Smoothed Quantile Regression
+
+ Fast and accurate convolution-type smoothed quantile regression.
+ Implemented using Barzilai-Borwein gradient descent with a Huber regression
+ warm start. Construct confidence intervals for regression coefficients
+ using multiplier bootstrap."""
+
+ homepage = "https://github.com/XiaoouPan/conquer"
+ url = "https://cloud.r-project.org/src/contrib/conquer_1.0.2.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/conquer"
+
+ version('1.0.2', sha256='542f6154ce1ffec0c1b4dd4e1f5b86545015f4b378c4c66a0840c65c57d674ff')
+
+ depends_on('r@3.5.0:', type=('build', 'run'))
+ depends_on('r-rcpp@1.0.3:', type=('build', 'run'))
+ depends_on('r-matrix', type=('build', 'run'))
+ depends_on('r-matrixstats', type=('build', 'run'))
+ depends_on('r-rcpparmadillo@0.9.850.1.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-construct/package.py b/var/spack/repos/builtin/packages/r-construct/package.py
index 04ca748153..130fc7e8d8 100644
--- a/var/spack/repos/builtin/packages/r-construct/package.py
+++ b/var/spack/repos/builtin/packages/r-construct/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,24 +7,32 @@ from spack import *
class RConstruct(RPackage):
- """conStruct: Models Spatially Continuous and Discrete Population
- GeneticStructure"""
+ """Models Spatially Continuous and Discrete Population GeneticStructure
+
+ A method for modeling genetic data as a combination of discrete layers,
+ within each of which relatedness may decay continuously with geographic
+ distance. This package contains code for running analyses (which are
+ implemented in the modeling language 'rstan') and visualizing and
+ interpreting output. See the paper for more details on the model and its
+ utility."""
homepage = "https://cloud.r-project.org/package=conStruct"
url = "https://cloud.r-project.org/src/contrib/conStruct_1.0.3.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/conStruct"
+ version('1.0.4', sha256='4e585b718a361061bc1432cea46fc65f802fb0ef58e4516d33e1af99bbfe90ce')
version('1.0.3', sha256='b449c133a944ad05a28f84f312ed4ccbc1574c4659aa09c678618d2ae9008310')
+ depends_on('r+X', type=('build', 'run'))
depends_on('r@3.4.0:', type=('build', 'run'))
- depends_on('r-bh@1.66.0:', type=('build', 'run'))
- depends_on('r-caroline', type=('build', 'run'))
- depends_on('r-doparallel', type=('build', 'run'))
- depends_on('r-foreach', type=('build', 'run'))
- depends_on('r-gtools', type=('build', 'run'))
depends_on('r-rcpp@0.12.0:', type=('build', 'run'))
- depends_on('r-rcppeigen@0.3.3.3.0:', type=('build', 'run'))
depends_on('r-rstan@2.18.1:', type=('build', 'run'))
depends_on('r-rstantools@1.5.0:', type=('build', 'run'))
+ depends_on('r-caroline', type=('build', 'run'))
+ depends_on('r-gtools', type=('build', 'run'))
+ depends_on('r-foreach', type=('build', 'run'))
+ depends_on('r-doparallel', type=('build', 'run'))
depends_on('r-stanheaders@2.18.0:', type=('build', 'run'))
+ depends_on('r-bh@1.66.0:', type=('build', 'run'))
+ depends_on('r-rcppeigen@0.3.3.3.0:', type=('build', 'run'))
depends_on('gmake', type='build')
diff --git a/var/spack/repos/builtin/packages/r-convevol/package.py b/var/spack/repos/builtin/packages/r-convevol/package.py
index e3771856a3..ca5c6b2c5b 100644
--- a/var/spack/repos/builtin/packages/r-convevol/package.py
+++ b/var/spack/repos/builtin/packages/r-convevol/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-copula/package.py b/var/spack/repos/builtin/packages/r-copula/package.py
index 0090a65a79..7a55eef570 100644
--- a/var/spack/repos/builtin/packages/r-copula/package.py
+++ b/var/spack/repos/builtin/packages/r-copula/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RCopula(RPackage):
- """Classes (S4) of commonly used elliptical, Archimedean, extreme-value and
+ """Multivariate Dependence with Copulas
+
+ Classes (S4) of commonly used elliptical, Archimedean, extreme-value and
other copula families, as well as their rotations, mixtures and
asymmetrizations. Nested Archimedean copulas, related tools and special
functions. Methods for density, distribution, random number generation,
@@ -24,9 +26,11 @@ class RCopula(RPackage):
url = "https://cloud.r-project.org/src/contrib/copula_0.999-20.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/copula"
+ version('1.0-1', sha256='d09b2ccffc7379e48b00952aa6b282baf502feebaf55cc44e93f881d7b909742')
version('0.999-20', sha256='7d3d47bce2dacb05b94a772f84dbf3d83c99ac2ac11e5f1b4b03d50d9d5c0fb0')
depends_on('r@3.2.0:', type=('build', 'run'))
+ depends_on('r@3.5.0:', when='@1.0-1:', type=('build', 'run'))
depends_on('r-matrix', type=('build', 'run'))
depends_on('r-lattice', type=('build', 'run'))
depends_on('r-colorspace', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-corhmm/package.py b/var/spack/repos/builtin/packages/r-corhmm/package.py
index d4c8d6d5e0..ee1701b3f9 100644
--- a/var/spack/repos/builtin/packages/r-corhmm/package.py
+++ b/var/spack/repos/builtin/packages/r-corhmm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,17 +7,17 @@ from spack import *
class RCorhmm(RPackage):
- """corHMM: Analysis of Binary Character Evolution
+ """Hidden Markov Models of Character Evolution
- Fits a hidden rates model that allows different transition rate classes
- on different portions of a phylogeny by treating rate classes as hidden
- states in a Markov process and various other functions for evaluating
- models of binary character evolution."""
+ Fits hidden Markov models of discrete character evolution which allow
+ different transition rate classes on different portions of a phylogeny.
+ Beaulieu et al (2013) <doi:10.1093/sysbio/syt034>."""
homepage = "https://cloud.r-project.org/package=corHMM"
url = "https://cloud.r-project.org/src/contrib/corHMM_1.22.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/corHMM/"
+ version('2.6', sha256='726de9707ede8ef447915171a3abe1003a0e42fe8e17eb440442cac9adf8cdcf')
version('1.22', sha256='d262fa1183eab32087afb70f1789fabae6fb49bec01d627974c54a088a48b10d')
depends_on('r-ape', type=('build', 'run'))
@@ -25,7 +25,11 @@ class RCorhmm(RPackage):
depends_on('r-gensa', type=('build', 'run'))
depends_on('r-expm', type=('build', 'run'))
depends_on('r-numderiv', type=('build', 'run'))
- depends_on('r-nnet', type=('build', 'run'))
depends_on('r-corpcor', type=('build', 'run'))
+ depends_on('r-mass', when='@2.6:', type=('build', 'run'))
+ depends_on('r-nnet', type=('build', 'run'))
depends_on('r-phangorn', type=('build', 'run'))
+ depends_on('r-viridis', when='@2.6:', type=('build', 'run'))
depends_on('r-rmpfr', type=('build', 'run'))
+ depends_on('r-igraph', when='@2.6:', type=('build', 'run'))
+ depends_on('r-phytools', when='@2.6:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-corpcor/package.py b/var/spack/repos/builtin/packages/r-corpcor/package.py
index 2ecc478894..d92acc0e6d 100644
--- a/var/spack/repos/builtin/packages/r-corpcor/package.py
+++ b/var/spack/repos/builtin/packages/r-corpcor/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-corrplot/package.py b/var/spack/repos/builtin/packages/r-corrplot/package.py
index 0cf25830ed..2e39e92df1 100644
--- a/var/spack/repos/builtin/packages/r-corrplot/package.py
+++ b/var/spack/repos/builtin/packages/r-corrplot/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-countrycode/package.py b/var/spack/repos/builtin/packages/r-countrycode/package.py
index b2b07ff2e4..f8b03108db 100644
--- a/var/spack/repos/builtin/packages/r-countrycode/package.py
+++ b/var/spack/repos/builtin/packages/r-countrycode/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-covr/package.py b/var/spack/repos/builtin/packages/r-covr/package.py
index e2c60194db..f6b0c7332f 100644
--- a/var/spack/repos/builtin/packages/r-covr/package.py
+++ b/var/spack/repos/builtin/packages/r-covr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RCovr(RPackage):
- """Track and report code coverage for your package and (optionally)
+ """Test Coverage for Packages
+
+ Track and report code coverage for your package and (optionally)
upload the results to a coverage service like 'Codecov'
<http://codecov.io> or 'Coveralls' <http://coveralls.io>. Code
coverage is a measure of the amount of code being exercised by a
@@ -20,6 +22,7 @@ class RCovr(RPackage):
url = "https://cloud.r-project.org/src/contrib/covr_3.0.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/covr"
+ version('3.5.1', sha256='a54cfc3623ea56084158ac5d7fe33f216f45191f6dcddab9c9ed4ec1d9d8ac6c')
version('3.5.0', sha256='cb919912018130164a40803ac573a37dde2186678c058c03c6303d79604979df')
version('3.3.0', sha256='c0aa0bd7b2dc05effdc2367c59d45294f46858930d1b14efb393b205021fc65a')
version('3.2.1', sha256='ea90daa48011e4ac4431ae47ee02fad98f54b529fc3900281cbeef7a2edef0a0')
diff --git a/var/spack/repos/builtin/packages/r-cowplot/package.py b/var/spack/repos/builtin/packages/r-cowplot/package.py
index 8b5ba4e174..16fb5234cf 100644
--- a/var/spack/repos/builtin/packages/r-cowplot/package.py
+++ b/var/spack/repos/builtin/packages/r-cowplot/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,18 +7,21 @@ from spack import *
class RCowplot(RPackage):
- """Some helpful extensions and modifications to the 'ggplot2'
- package. In particular, this package makes it easy to combine
- multiple 'ggplot2' plots into one and label them with letters,
- e.g. A, B, C, etc., as is often required for scientific
- publications. The package also provides a streamlined and clean
- theme that is used in the Wilke lab, hence the package name,
- which stands for Claus O. Wilke's plot package."""
+ """Streamlined Plot Theme and Plot Annotations for 'ggplot2'
+
+ Provides various features that help with creating publication-quality
+ figures with 'ggplot2', such as a set of themes, functions to align plots
+ and arrange them into complex compound figures, and functions that make it
+ easy to annotate plots and or mix plots with images. The package was
+ originally written for internal use in the Wilke lab, hence the name (Claus
+ O. Wilke's plot package). It has also been used extensively in the book
+ Fundamentals of Data Visualization."""
homepage = "https://cloud.r-project.org/package=cowplot"
url = "https://cloud.r-project.org/src/contrib/cowplot_0.8.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/cowplot"
+ version('1.1.1', sha256='c7dce625b456dffc59ba100c816e16226048d12fdd29a7335dc1f6f6e12eed48')
version('1.0.0', sha256='70f9a7c46d10f409d1599f1afc9fd3c947051cf2b430f01d903c64ef1e6c98a5')
version('0.9.3', sha256='3e10475fd7506ea9297ed72eb1a3acf858c6fa99d26e46fc39654eba000c3dcb')
version('0.9.2', sha256='8b92ce7f92937fde06b0cfb86c7634a39b3b2101e362cc55c4bec6b3fde1d28f')
@@ -28,8 +31,9 @@ class RCowplot(RPackage):
depends_on('r@3.3.0:', when='@:0.9.4', type=('build', 'run'))
depends_on('r@3.5.0:', when='@1.0.0:', type=('build', 'run'))
- depends_on('r-ggplot2@2.1.1:', type=('build', 'run'))
+ depends_on('r-ggplot2@2.1.1:', when='@:1.0.0', type=('build', 'run'))
+ depends_on('r-ggplot2@2.2.1:', when='@1.1.1:', type=('build', 'run'))
depends_on('r-gtable', type=('build', 'run'))
- depends_on('r-plyr@1.8.2:', when='@:0.9.9', type=('build', 'run'))
- depends_on('r-scales', type=('build', 'run'))
depends_on('r-rlang', when='@1.0.0:', type=('build', 'run'))
+ depends_on('r-scales', type=('build', 'run'))
+ depends_on('r-plyr@1.8.2:', when='@:0.9.9', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-cpp11/package.py b/var/spack/repos/builtin/packages/r-cpp11/package.py
new file mode 100644
index 0000000000..3177c36021
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-cpp11/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RCpp11(RPackage):
+ """cpp11: A C++11 Interface for R's C Interface
+
+ Provides a header only, C++11 interface to R's C interface. Compared to
+ other approaches 'cpp11' strives to be safe against long jumps from the C
+ API as well as C++ exceptions, conform to normal R function semantics and
+ supports interaction with 'ALTREP' vectors."""
+
+ homepage = "https://github.com/r-lib/cpp11"
+ url = "https://cloud.r-project.org/src/contrib/cpp11_0.2.5.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/cpp11"
+
+ version('0.2.5', sha256='6fef9306c0c3043252c987e77c99ef679b2ea46dffafae318dbeb38ad21a2e20')
diff --git a/var/spack/repos/builtin/packages/r-crayon/package.py b/var/spack/repos/builtin/packages/r-crayon/package.py
index ebb0aa75be..3c17bf51ea 100644
--- a/var/spack/repos/builtin/packages/r-crayon/package.py
+++ b/var/spack/repos/builtin/packages/r-crayon/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-credentials/package.py b/var/spack/repos/builtin/packages/r-credentials/package.py
new file mode 100644
index 0000000000..3484a84368
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-credentials/package.py
@@ -0,0 +1,31 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RCredentials(RPackage):
+ """Tools for Managing SSH and Git Credentials
+
+ Setup and retrieve HTTPS and SSH credentials for use with 'git' and other
+ services. For HTTPS remotes the package interfaces the 'git-credential'
+ utility which 'git' uses to store HTTP usernames and passwords. For SSH
+ remotes we provide convenient functions to find or generate appropriate SSH
+ keys. The package both helps the user to setup a local git installation,
+ and also provides a back-end for git/ssh client libraries to authenticate
+ with existing user credentials."""
+
+ homepage = "https://docs.ropensci.org/credentials"
+ url = "https://cloud.r-project.org/src/contrib/credentials_1.3.0.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/credentials"
+
+ version('1.3.0', sha256='c119ec26fd97b977c3b0cd1eb8fad3c59b84df6262c3adbf5ee9f3d6c9903ff1')
+
+ depends_on('r-openssl@1.3:', type=('build', 'run'))
+ depends_on('r-sys@2.1:', type=('build', 'run'))
+ depends_on('r-curl', type=('build', 'run'))
+ depends_on('r-jsonlite', type=('build', 'run'))
+ depends_on('r-askpass', type=('build', 'run'))
+ depends_on('git', type='run')
diff --git a/var/spack/repos/builtin/packages/r-crosstalk/package.py b/var/spack/repos/builtin/packages/r-crosstalk/package.py
index 63d29bda13..ad3abb0342 100644
--- a/var/spack/repos/builtin/packages/r-crosstalk/package.py
+++ b/var/spack/repos/builtin/packages/r-crosstalk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,18 +7,23 @@ from spack import *
class RCrosstalk(RPackage):
- """Provides building blocks for allowing HTML widgets to communicate with
- each other, with Shiny or without (i.e. static .html files)."""
+ """Inter-Widget Interactivity for HTML Widgets
+
+ Provides building blocks for allowing HTML widgets to communicate with each
+ other, with Shiny or without (i.e. static .html files). Currently supports
+ linked brushing and filtering."""
homepage = "https://cloud.r-project.org/package=crosstalk"
url = "https://cloud.r-project.org/src/contrib/crosstalk_1.0.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/crosstalk"
+ version('1.1.0.1', sha256='36a70b10bc11826e314c05f9579fd791b9ac3b3a2cfed4d4ca74ce1ad991300e')
version('1.0.0', sha256='b31eada24cac26f24c9763d9a8cbe0adfd87b264cf57f8725027fe0c7742ca51')
depends_on('r-htmltools@0.3.5:', type=('build', 'run'))
+ depends_on('r-htmltools@0.3.6:', when='@1.1.0.1:', type=('build', 'run'))
depends_on('r-jsonlite', type=('build', 'run'))
depends_on('r-lazyeval', type=('build', 'run'))
- depends_on('r-ggplot2', type=('build', 'run'))
- depends_on('r-shiny@0.11:', type=('build', 'run'))
depends_on('r-r6', type=('build', 'run'))
+ depends_on('r-ggplot2', when='@:1.0.0', type=('build', 'run'))
+ depends_on('r-shiny@0.11:', when='@:1.0.0', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-crul/package.py b/var/spack/repos/builtin/packages/r-crul/package.py
index 1f68e69287..7fa9254273 100644
--- a/var/spack/repos/builtin/packages/r-crul/package.py
+++ b/var/spack/repos/builtin/packages/r-crul/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,18 +7,26 @@ from spack import *
class RCrul(RPackage):
- """crul: HTTP Client"""
+ """HTTP Client
+
+ A simple HTTP client, with tools for making HTTP requests, and mocking HTTP
+ requests. The package is built on R6, and takes inspiration from Ruby's
+ 'faraday' gem (<https://rubygems.org/gems/faraday>). The package name is a
+ play on curl, the widely used command line tool for HTTP, and this package
+ is built on top of the R package 'curl', an interface to 'libcurl'
+ (<https://curl.haxx.se/libcurl>)."""
homepage = "https://cloud.r-project.org/package=crul"
url = "https://cloud.r-project.org/src/contrib/crul_0.7.4.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/crul"
+ version('1.0.0', sha256='2ade500f6cf89b2d0ca8496b8d4df9937d6f802a35c9ad10d9fab8632cdb1027')
version('0.8.4', sha256='dbd950ad3b68402e5a5955615b1abcb5c9bdc846c93aa25f96a7a58913d04c8b')
version('0.7.4', sha256='c963dd666ae3fc89b661ce19fce2fa19a16fc3825e1502105cae98ceb92c6014')
depends_on('r-curl@3.3:', type=('build', 'run'))
- depends_on('r-httpcode@0.2.0:', type=('build', 'run'))
- depends_on('r-mime', type=('build', 'run'))
depends_on('r-r6@2.2.0:', type=('build', 'run'))
depends_on('r-urltools@1.6.0:', type=('build', 'run'))
+ depends_on('r-httpcode@0.2.0:', type=('build', 'run'))
depends_on('r-jsonlite', when='@0.8.4:', type=('build', 'run'))
+ depends_on('r-mime', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-ctc/package.py b/var/spack/repos/builtin/packages/r-ctc/package.py
index 7fbe647f6c..2eedb9d528 100644
--- a/var/spack/repos/builtin/packages/r-ctc/package.py
+++ b/var/spack/repos/builtin/packages/r-ctc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RCtc(RPackage):
- """Cluster and Tree Conversion..
+ """Cluster and Tree Conversion.
Tools for export and import classification trees and clusters to other
programs"""
@@ -15,6 +15,7 @@ class RCtc(RPackage):
homepage = "https://bioconductor.org/packages/ctc"
git = "https://git.bioconductor.org/packages/ctc.git"
+ version('1.64.0', commit='35dbe620a21056b8f69890e6f9a7c320528d8621')
version('1.58.0', commit='c41df03ac149db20c5e337142142d61cfb9b43fb')
version('1.56.0', commit='cbd5befdda4630799f8fe0d868d83b094e3d352f')
version('1.54.0', commit='0c3df81dfc8fabe12e11884bed44b64e11fd6d4e')
diff --git a/var/spack/repos/builtin/packages/r-cubature/package.py b/var/spack/repos/builtin/packages/r-cubature/package.py
index e137d8bc59..7536a7d92a 100644
--- a/var/spack/repos/builtin/packages/r-cubature/package.py
+++ b/var/spack/repos/builtin/packages/r-cubature/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,14 +7,21 @@ from spack import *
class RCubature(RPackage):
- """Adaptive multivariate integration over hypercubes"""
+ """Adaptive multivariate integration over hypercubes
+
+ R wrappers around the cubature C library of Steven G. Johnson for adaptive
+ multivariate integration over hypercubes and the Cuba C library of Thomas
+ Hahn for deterministic and Monte Carlo integration. Scalar and vector
+ interfaces for cubature and Cuba routines are provided"""
homepage = "https://cloud.r-project.org/package=cubature"
url = "https://cloud.r-project.org/src/contrib/cubature_1.1-2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/cubature"
+ version('2.0.4.1', sha256='383fbdf49d1cdf760ad5d88d353e69118c7c663cde126c5bdd33b6fecc50d400')
version('2.0.3', sha256='79bf03ebdb64b0de1ef19d24051b9d922df9310254bee459bb47764522407a73')
version('2.0.2', sha256='641165c665ff490c523bccc05c42bb6851e42676b6b366b55fc442a51a8fbe8c')
version('1.1-2', sha256='0a05469bdc85d6bd8165a42a3fc5c35a06700d279e4e8b3cf4669df19edffeed')
depends_on('r-rcpp', when='@2.0.3:', type=('build', 'run'))
+ depends_on('gmake', type='build')
diff --git a/var/spack/repos/builtin/packages/r-cubist/package.py b/var/spack/repos/builtin/packages/r-cubist/package.py
index 9738b682ad..24ef01f6e4 100644
--- a/var/spack/repos/builtin/packages/r-cubist/package.py
+++ b/var/spack/repos/builtin/packages/r-cubist/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,15 @@ from spack import *
class RCubist(RPackage):
- """Regression modeling using rules with added instance-based corrections"""
+ """Rule- And Instance-Based Regression Modeling
+
+ Regression modeling using rules with added instance-based corrections"""
homepage = "https://cloud.r-project.org/package=Cubist"
url = "https://cloud.r-project.org/src/contrib/Cubist_0.0.19.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/Cubist"
+ version('0.2.3', sha256='19845f585e073f316bb4bdf74b28a624e839561faeedd40ef5548960c5b1e1f4')
version('0.2.2', sha256='cd3e152cc72ab33f720a8fb6b8b6787171e1c037cfda48f1735ab692ed6d85d4')
version('0.2.1', sha256='b310c3f166f15fa3e16f8d110d39931b0bb1b0aa8d0c9ac2af5a9a45081588a3')
version('0.0.19', sha256='101379979acb12a58bcf32a912fef32d497b00263ebea918f2b85a2c32934aae')
diff --git a/var/spack/repos/builtin/packages/r-curl/package.py b/var/spack/repos/builtin/packages/r-curl/package.py
index f1a7a2de60..948410fb08 100644
--- a/var/spack/repos/builtin/packages/r-curl/package.py
+++ b/var/spack/repos/builtin/packages/r-curl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-dada2/package.py b/var/spack/repos/builtin/packages/r-dada2/package.py
index da4be89f98..b4b82ae150 100644
--- a/var/spack/repos/builtin/packages/r-dada2/package.py
+++ b/var/spack/repos/builtin/packages/r-dada2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-data-table/package.py b/var/spack/repos/builtin/packages/r-data-table/package.py
index 87d5735541..000f1d802e 100644
--- a/var/spack/repos/builtin/packages/r-data-table/package.py
+++ b/var/spack/repos/builtin/packages/r-data-table/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RDataTable(RPackage):
- """Fast aggregation of large data (e.g. 100GB in RAM), fast ordered joins,
+ """Extension of `data.frame`
+
+ Fast aggregation of large data (e.g. 100GB in RAM), fast ordered joins,
fast add/modify/delete of columns by group using no copies at all, list
columns and a fast file reader (fread). Offers a natural and flexible
syntax, for faster development."""
@@ -16,6 +18,7 @@ class RDataTable(RPackage):
url = "https://cloud.r-project.org/src/contrib/data.table_1.10.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/data.table"
+ version('1.13.6', sha256='d50cdd4c4f89cabf83baa9114e49a3b8179f403c499d6e0be7791a44ffcd3e9b')
version('1.12.8', sha256='d3a75f3a355ff144cc20a476041617e21fcf2a9f79265fd9bbd4693f3671f9dc')
version('1.12.2', sha256='db55c18f0d703a8bc1c806dd1f7551bb405cb867717f52ef9dd64405394d22f5')
version('1.12.0', sha256='611b112123dbd4ebd5200770fcdfaaeaab622adeb2b290d36018d3092742e3f7')
@@ -34,3 +37,4 @@ class RDataTable(RPackage):
version('1.9.6', sha256='6f74c349c1731823aef6899edcf18418454167d04eba983e3a6fe17ee9fd236e')
depends_on('r@3.1.0:', type=('build', 'run'))
+ depends_on('zlib')
diff --git a/var/spack/repos/builtin/packages/r-dbi/package.py b/var/spack/repos/builtin/packages/r-dbi/package.py
index cca20df5ec..e62a09ed2d 100644
--- a/var/spack/repos/builtin/packages/r-dbi/package.py
+++ b/var/spack/repos/builtin/packages/r-dbi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-dbplyr/package.py b/var/spack/repos/builtin/packages/r-dbplyr/package.py
index b73d44a34f..3ed51d78cc 100644
--- a/var/spack/repos/builtin/packages/r-dbplyr/package.py
+++ b/var/spack/repos/builtin/packages/r-dbplyr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,16 +7,18 @@ from spack import *
class RDbplyr(RPackage):
- """A 'dplyr' back end for databases that allows you to work with remote
- database tables as if they are in-memory data frames. Basic features
- works with any database that has a 'DBI' back end; more advanced
- features require 'SQL' translation to be provided by the package
- author."""
+ """A 'dplyr' Back End for Databases
+
+ A 'dplyr' back end for databases that allows you to work with remote
+ database tables as if they are in-memory data frames. Basic features works
+ with any database that has a 'DBI' back end; more advanced features require
+ 'SQL' translation to be provided by the package author."""
homepage = "https://github.com/tidyverse/dbplyr"
url = "https://cloud.r-project.org/src/contrib/dbplyr_1.1.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/dbplyr"
+ version('2.0.0', sha256='ecd71936ecfefbdda0fad24e52653ac9c0913e01126e467c92c8ba9de37b4069')
version('1.4.2', sha256='b783f0da2c09a1e63f41168b02c0715b08820f02a351f7ab0aaa688432754de0')
version('1.4.1', sha256='cfe829f56acdc785c5af21bf3927cf08327504d78c4ae1477c405c81b131da95')
version('1.2.2', sha256='9d410bb0055fffe10f1f8da55a5b24d98322c7b571d74df61427d5888332bc48')
@@ -29,8 +31,12 @@ class RDbplyr(RPackage):
depends_on('r-dbi@1.0.0:', type=('build', 'run'))
depends_on('r-dplyr@0.8.0:', type=('build', 'run'))
depends_on('r-glue@1.2.0:', type=('build', 'run'))
+ depends_on('r-lifecycle', when='@2.0.0:', type=('build', 'run'))
+ depends_on('r-magrittr', when='@2.0.0:', type=('build', 'run'))
depends_on('r-purrr@0.2.5:', type=('build', 'run'))
depends_on('r-r6@2.2.2:', type=('build', 'run'))
depends_on('r-rlang@0.2.0:', type=('build', 'run'))
depends_on('r-tibble@1.4.2:', type=('build', 'run'))
depends_on('r-tidyselect@0.2.4:', type=('build', 'run'))
+ depends_on('r-blob@1.2.0:', when='@2.0.0:', type=('build', 'run'))
+ depends_on('r-withr', when='@2.0.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-debugme/package.py b/var/spack/repos/builtin/packages/r-debugme/package.py
index 9d8146d31b..22f591021a 100644
--- a/var/spack/repos/builtin/packages/r-debugme/package.py
+++ b/var/spack/repos/builtin/packages/r-debugme/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-decipher/package.py b/var/spack/repos/builtin/packages/r-decipher/package.py
index d4d2a881b8..4da3f90c1f 100644
--- a/var/spack/repos/builtin/packages/r-decipher/package.py
+++ b/var/spack/repos/builtin/packages/r-decipher/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,11 +7,14 @@ from spack import *
class RDecipher(RPackage):
- """Tools for curating, analyzing, and manipulating biological sequences."""
+ """Tools for curating, analyzing, and manipulating biological sequences
+
+ A toolset for deciphering and managing biological sequences."""
homepage = "https://bioconductor.org/packages/DECIPHER"
git = "https://git.bioconductor.org/packages/DECIPHER.git"
+ version('2.18.1', commit='6a708421550e6705d05e2fb50a0f5ab4f9041cb0')
version('2.12.0', commit='658ae23870383b25b96a03a18d4ecac228a2650f')
version('2.10.2', commit='db7b017c9050a7ec1d4daa15352994890095e9c3')
version('2.8.1', commit='35aa66f48e06b93a98d1060c90c44d34ce05ccd9')
@@ -19,6 +22,7 @@ class RDecipher(RPackage):
version('2.4.0', commit='1a57b8e4c7d7dec1c233f79c9a88d3705e0ad432')
depends_on('r@3.3.0:', type=('build', 'run'))
+ depends_on('r@3.5.0:', when='@2.18.1:', type=('build', 'run'))
depends_on('r-biostrings@2.35.12:', type=('build', 'run'))
depends_on('r-rsqlite@1.1:', type=('build', 'run'))
depends_on('r-dbi', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-delayedarray/package.py b/var/spack/repos/builtin/packages/r-delayedarray/package.py
index b4f79d524c..ad8c4f0f60 100644
--- a/var/spack/repos/builtin/packages/r-delayedarray/package.py
+++ b/var/spack/repos/builtin/packages/r-delayedarray/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ from spack import *
class RDelayedarray(RPackage):
"""A unified framework for working transparently with on-disk and in-memory
- array-like datasets.
+ array-like datasets
Wrapping an array-like object (typically an on-disk object) in a
DelayedArray object allows one to perform common array operations on it
@@ -21,6 +21,7 @@ class RDelayedarray(RPackage):
homepage = "https://bioconductor.org/packages/DelayedArray"
git = "https://git.bioconductor.org/packages/DelayedArray.git"
+ version('0.16.1', commit='c95eba771ad3fee1b49ec38c51cd8fd1486feadc')
version('0.10.0', commit='4781d073110a3fd1e20c4083b6b2b0f260d0cb0a')
version('0.8.0', commit='7c23cf46558de9dbe7a42fba516a9bb660a0f19f')
version('0.6.6', commit='bdb0ac0eee71edd40ccca4808f618fa77f595a64')
@@ -28,21 +29,20 @@ class RDelayedarray(RPackage):
version('0.2.7', commit='909c2ce1665ebae2543172ead50abbe10bd42bc4')
depends_on('r@3.4:', type=('build', 'run'))
+ depends_on('r-matrix', when='@0.10.0:', type=('build', 'run'))
depends_on('r-biocgenerics', type=('build', 'run'))
+ depends_on('r-biocgenerics@0.25.1:', when='@0.6.6:', type=('build', 'run'))
+ depends_on('r-biocgenerics@0.27.1:', when='@0.8.0:', type=('build', 'run'))
+ depends_on('r-biocgenerics@0.31.5:', when='@0.16.1:', type=('build', 'run'))
+ depends_on('r-matrixgenerics@1.1.3:', when='@0.16.1:', type=('build', 'run'))
depends_on('r-s4vectors@0.14.3:', type=('build', 'run'))
- depends_on('r-iranges', type=('build', 'run'))
- depends_on('r-matrixstats', type=('build', 'run'))
-
depends_on('r-s4vectors@0.15.3:', when='@0.4.1:', type=('build', 'run'))
- depends_on('r-iranges@2.11.17:', when='@0.4.1:', type=('build', 'run'))
-
- depends_on('r-biocgenerics@0.25.1:', when='@0.6.6:', type=('build', 'run'))
depends_on('r-s4vectors@0.17.43:', when='@0.6.6:', type=('build', 'run'))
- depends_on('r-biocparallel', when='@0.6.6:', type=('build', 'run'))
-
- depends_on('r-biocgenerics@0.27.1:', when='@0.8.0:', type=('build', 'run'))
depends_on('r-s4vectors@0.19.15:', when='@0.8.0:', type=('build', 'run'))
-
depends_on('r-s4vectors@0.21.7:', when='@0.10.0:', type=('build', 'run'))
+ depends_on('r-s4vectors@0.27.2:', when='@0.16.1:', type=('build', 'run'))
+ depends_on('r-iranges', type=('build', 'run'))
+ depends_on('r-iranges@2.11.17:', when='@0.4.1:', type=('build', 'run'))
depends_on('r-iranges@2.17.3:', when='@0.10.0:', type=('build', 'run'))
- depends_on('r-matrix', when='@0.10.0:', type=('build', 'run'))
+ depends_on('r-matrixstats', when='@:0.10.0', type=('build', 'run'))
+ depends_on('r-biocparallel', when='@0.6.6:0.10.0', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-delayedmatrixstats/package.py b/var/spack/repos/builtin/packages/r-delayedmatrixstats/package.py
index 3898c8d15f..4f8ac5e4cd 100644
--- a/var/spack/repos/builtin/packages/r-delayedmatrixstats/package.py
+++ b/var/spack/repos/builtin/packages/r-delayedmatrixstats/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RDelayedmatrixstats(RPackage):
- """Functions that Apply to Rows and Columns of 'DelayedMatrix' Objects.
+ """Functions that Apply to Rows and Columns of 'DelayedMatrix' Objects
A port of the 'matrixStats' API for use with DelayedMatrix objects from
the 'DelayedArray' package. High-performing functions operating on rows
@@ -16,26 +16,29 @@ class RDelayedmatrixstats(RPackage):
for subsetted calculations such that both memory usage and processing
time is minimized."""
- homepage = "https://bioconductor.org/packages/DelayedMatrixStats"
+ homepage = "https://github.com/PeteHaitch/DelayedMatrixStats"
git = "https://git.bioconductor.org/packages/DelayedMatrixStats.git"
+ version('1.12.3', commit='2b3091dfa9b3bab914e3a4157182063714ba86ae')
version('1.6.1', commit='4378d1898a403305a94b122c4f36d1215fa7708d')
version('1.4.0', commit='eb5b390ef99651fe87a346848f807de95afe8971')
version('1.2.0', commit='de868e730be6280dfad41a280ab09f4d3083c9ac')
version('1.0.3', commit='e29a3444980ff727c5b12286884b06dfaebf5b5b')
+ depends_on('r-matrixgenerics', when='@1.12.2:', type=('build', 'run'))
depends_on('r-delayedarray', type=('build', 'run'))
+ depends_on('r-delayedarray@0.5.27:', when='@1.2.0:', type=('build', 'run'))
+ depends_on('r-delayedarray@0.7.37:', when='@1.4.0:', type=('build', 'run'))
+ depends_on('r-delayedarray@0.9.8:', when='@1.6.1:', type=('build', 'run'))
+ depends_on('r-delayedarray@0.15.3:', when='@1.12.2:', type=('build', 'run'))
depends_on('r-matrixstats@0.53.1:', type=('build', 'run'))
+ depends_on('r-matrixstats@0.55.0:', when='@1.6.1:', type=('build', 'run'))
+ depends_on('r-matrixstats@0.56.0:', when='@1.12.2:', type=('build', 'run'))
+ depends_on('r-sparsematrixstats', when='@1.12.2:', type=('build', 'run'))
depends_on('r-matrix', type=('build', 'run'))
depends_on('r-s4vectors', type=('build', 'run'))
- depends_on('r-iranges', type=('build', 'run'))
-
- depends_on('r-delayedarray@0.5.27:', when='@1.2.0:', type=('build', 'run'))
depends_on('r-s4vectors@0.17.5:', when='@1.2.0:', type=('build', 'run'))
-
- depends_on('r-delayedarray@0.7.37:', when='@1.4.0:', type=('build', 'run'))
+ depends_on('r-iranges', type=('build', 'run'))
depends_on('r-hdf5array@1.7.10:', when='@1.4.0:', type=('build', 'run'))
+ depends_on('r-hdf5array@1.17.2:', when='@1.12.2:', type=('build', 'run'))
depends_on('r-biocparallel', when='@1.4.0:', type=('build', 'run'))
-
- depends_on('r-delayedarray@0.9.8:', when='@1.6.1:', type=('build', 'run'))
- depends_on('r-matrixstats@0.55.0:', when='@1.6.1:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-deldir/package.py b/var/spack/repos/builtin/packages/r-deldir/package.py
index 5654a5c403..eed65df65e 100644
--- a/var/spack/repos/builtin/packages/r-deldir/package.py
+++ b/var/spack/repos/builtin/packages/r-deldir/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RDeldir(RPackage):
- """Calculates the Delaunay triangulation and the Dirichlet or Voronoi
+ """Delaunay Triangulation and Dirichlet (Voronoi) Tessellation
+
+ Calculates the Delaunay triangulation and the Dirichlet or Voronoi
tessellation (with respect to the entire plane) of a planar point set.
Plots triangulations and tessellations in various ways. Clips
tessellations to sub-windows. Calculates perimeters of tessellations.
@@ -17,8 +19,10 @@ class RDeldir(RPackage):
url = "https://cloud.r-project.org/src/contrib/deldir_0.1-14.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/deldir"
+ version('0.2-3', sha256='2d24800f5ec6ad9dc57b9b265365b29c07717f4562d8f3e6344336d3340c364e')
version('0.1-23', sha256='e0112bce9fc94daf73596a0fff9b3958b80872e3bbb487be73e157b13a6f201d')
version('0.1-21', sha256='b9dabcc1813c7a0f8edaf720a94bdd611a83baf3d3e52e861d352369e815690c')
version('0.1-14', sha256='89d365a980ef8589971e5d311c6bd59fe32c48dbac8000a880b9655032c99289')
depends_on('r@0.99:', type=('build', 'run'))
+ depends_on('r@3.5.0:', when='@0.2-3:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-dendextend/package.py b/var/spack/repos/builtin/packages/r-dendextend/package.py
index d5bd7f4af0..7e036cbd24 100644
--- a/var/spack/repos/builtin/packages/r-dendextend/package.py
+++ b/var/spack/repos/builtin/packages/r-dendextend/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,19 @@ from spack import *
class RDendextend(RPackage):
- """dendextend: Extending 'Dendrogram' Functionality in R"""
+ """Extending 'Dendrogram' Functionality in R
+
+ Offers a set of functions for extending 'dendrogram' objects in R, letting
+ you visualize and compare trees of 'hierarchical clusterings'. You can (1)
+ Adjust a tree's graphical parameters - the color, size, type, etc of its
+ branches, nodes and labels. (2) Visually and statistically compare
+ different 'dendrograms' to one another."""
homepage = "https://cloud.r-project.org/package=dendextend"
url = "https://cloud.r-project.org/src/contrib/dendextend_1.5.2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/dendextend"
+ version('1.14.0', sha256='3789461bc474e146b077ad26566b1fa05be32fc7e57ab1fb5e78bdabcc797858')
version('1.12.0', sha256='b487fed8c1878a23b9e28394ee11f16a1831b76c90793eb486e6963c7162fa55')
version('1.10.0', sha256='88f0fb3362d69144daf4f35d0ea09f32c2df1adf614e040327a42552a8fd3224')
version('1.5.2', sha256='8228cf9cfd31ec30038aaa61a35959179bad748582d796999cd9ad78152a5f12')
@@ -20,6 +27,6 @@ class RDendextend(RPackage):
depends_on('r@3.0.0:', type=('build', 'run'))
depends_on('r-magrittr@1.0.1:', type=('build', 'run'))
depends_on('r-ggplot2', type=('build', 'run'))
+ depends_on('r-viridis', type=('build', 'run'))
depends_on('r-fpc', when='@:1.10.0', type=('build', 'run'))
depends_on('r-whisker', when='@:1.5.2', type=('build', 'run'))
- depends_on('r-viridis', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-deoptim/package.py b/var/spack/repos/builtin/packages/r-deoptim/package.py
index e4dc1f87a6..6fd5364b31 100644
--- a/var/spack/repos/builtin/packages/r-deoptim/package.py
+++ b/var/spack/repos/builtin/packages/r-deoptim/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,12 +8,15 @@ from spack import *
class RDeoptim(RPackage):
- """Implements the differential evolution algorithm for global optimization
+ """Global Optimization by Differential Evolution
+
+ Implements the differential evolution algorithm for global optimization
of a real-valued function of a real-valued parameter vector."""
homepage = "https://cloud.r-project.org/package=DEoptim"
url = "https://cloud.r-project.org/src/contrib/DEoptim_2.2-3.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/DEoptim"
+ version('2.2-5', sha256='ae12dedcd4a43994e811e7285f8c12bfdb688e7c99d65515cf7e8cb6db13955a')
version('2.2-4', sha256='0a547784090d1e9b93efc53768110621f35bed3692864f6ce5c0dda2ebd6d482')
version('2.2-3', sha256='af2120feea3a736ee7a5a93c6767d464abc0d45ce75568074b233405e73c9a5d')
diff --git a/var/spack/repos/builtin/packages/r-deoptimr/package.py b/var/spack/repos/builtin/packages/r-deoptimr/package.py
index 5531bc894b..ea7855b29b 100644
--- a/var/spack/repos/builtin/packages/r-deoptimr/package.py
+++ b/var/spack/repos/builtin/packages/r-deoptimr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-desc/package.py b/var/spack/repos/builtin/packages/r-desc/package.py
index b3b61283ed..da96469f53 100644
--- a/var/spack/repos/builtin/packages/r-desc/package.py
+++ b/var/spack/repos/builtin/packages/r-desc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-deseq/package.py b/var/spack/repos/builtin/packages/r-deseq/package.py
index 107d581494..169828fc00 100644
--- a/var/spack/repos/builtin/packages/r-deseq/package.py
+++ b/var/spack/repos/builtin/packages/r-deseq/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ from spack import *
class RDeseq(RPackage):
"""Differential gene expression analysis based on the negative binomial
- distribution.
+ distribution
Estimate variance-mean dependence in count data from high-throughput
sequencing assays and test for differential expression based on a model
@@ -17,6 +17,7 @@ class RDeseq(RPackage):
homepage = "https://bioconductor.org/packages/DESeq"
git = "https://git.bioconductor.org/packages/DESeq.git"
+ version('1.42.0', commit='da76bc64e8c4073b58eaf1c93aa4e89bec5c4e50')
version('1.36.0', commit='db4af67b49d3bd8c321d19efbe9415cd2e4ddb7e')
version('1.34.1', commit='e86f1b03a30bc02de4bfd4a0759af2f65cb48c62')
version('1.32.0', commit='e3d623b815b53d79eae7cdd09d097cc6098d28c9')
diff --git a/var/spack/repos/builtin/packages/r-deseq2/package.py b/var/spack/repos/builtin/packages/r-deseq2/package.py
index 8d0fbc2900..a547f1cd9c 100644
--- a/var/spack/repos/builtin/packages/r-deseq2/package.py
+++ b/var/spack/repos/builtin/packages/r-deseq2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ from spack import *
class RDeseq2(RPackage):
"""Differential gene expression analysis based on the negative binomial
- distribution.
+ distribution
Estimate variance-mean dependence in count data from high-throughput
sequencing assays and test for differential expression based on a model
@@ -17,6 +17,7 @@ class RDeseq2(RPackage):
homepage = "https://bioconductor.org/packages/DESeq2"
git = "https://git.bioconductor.org/packages/DESeq2.git"
+ version('1.30.0', commit='f4b47b208ee26ab23fe65c345f907fcfe70b3f77')
version('1.24.0', commit='3ce7fbbebac526b726a6f85178063d02eb0314bf')
version('1.22.2', commit='3c6a89b61add635d6d468c7fa00192314f8ca4ce')
version('1.20.0', commit='7e88ea5c5e68473824ce0af6e10f19e22374cb7c')
@@ -24,6 +25,7 @@ class RDeseq2(RPackage):
version('1.16.1', commit='f41d9df2de25fb57054480e50bc208447a6d82fb')
depends_on('r-s4vectors@0.9.25:', type=('build', 'run'))
+ depends_on('r-s4vectors@0.23.18:', when='@1.30.0:', type=('build', 'run'))
depends_on('r-iranges', type=('build', 'run'))
depends_on('r-genomicranges', type=('build', 'run'))
depends_on('r-summarizedexperiment@1.1.6:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-desolve/package.py b/var/spack/repos/builtin/packages/r-desolve/package.py
index 88918d33f5..df56b54656 100644
--- a/var/spack/repos/builtin/packages/r-desolve/package.py
+++ b/var/spack/repos/builtin/packages/r-desolve/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,17 +7,28 @@ from spack import *
class RDesolve(RPackage):
- """Functions that solve initial value problems of a system of first-order
- ordinary differential equations ('ODE'), of partial differential
- equations ('PDE'), of differential algebraic equations ('DAE'), and of
- delay differential equations."""
+ """Solvers for Initial Value Problems of Differential Equations ('ODE',
+ 'DAE', 'DDE')
+
+ Functions that solve initial value problems of a system of first-order
+ ordinary differential equations ('ODE'), of partial differential equations
+ ('PDE'), of differential algebraic equations ('DAE'), and of delay
+ differential equations. The functions provide an interface to the FORTRAN
+ functions 'lsoda', 'lsodar', 'lsode', 'lsodes' of the 'ODEPACK' collection,
+ to the FORTRAN functions 'dvode', 'zvode' and 'daspk' and a
+ C-implementation of solvers of the 'Runge-Kutta' family with fixed or
+ variable time steps. The package contains routines designed for solving
+ 'ODEs' resulting from 1-D, 2-D and 3-D partial differential equations
+ ('PDE') that have been converted to 'ODEs' by numerical differencing."""
homepage = "https://cloud.r-project.org/package=deSolve"
url = "https://cloud.r-project.org/src/contrib/deSolve_1.20.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/deSolve"
+ version('1.28', sha256='4c55ef4cae841df91034382d277b483985af120240f87af587ff82177fdb5a49')
version('1.24', sha256='3aa52c822abb0348a904d5bbe738fcea2b2ba858caab9f2831125d07f0d57b42')
version('1.21', sha256='45c372d458fe4c7c11943d4c409517849b1be6782dc05bd9a74b066e67250c63')
version('1.20', sha256='56e945835b0c66d36ebc4ec8b55197b616e387d990788a2e52e924ce551ddda2')
depends_on('r@2.15.0:', type=('build', 'run'))
+ depends_on('r@3.3.0:', when='@1.28:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-devtools/package.py b/var/spack/repos/builtin/packages/r-devtools/package.py
index 385be67559..0241f11b64 100644
--- a/var/spack/repos/builtin/packages/r-devtools/package.py
+++ b/var/spack/repos/builtin/packages/r-devtools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,15 @@ from spack import *
class RDevtools(RPackage):
- """Collection of package development tools."""
+ """Tools to Make Developing R Packages Easier
+
+ Collection of package development tools."""
homepage = "https://github.com/hadley/devtools"
url = "https://cloud.r-project.org/src/contrib/devtools_1.12.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/devtools"
+ version('2.3.2', sha256='e5086106baef6bb925445dfdddb3cd5ff4f8fff96353365b135aba5618d1986d')
version('2.3.0', sha256='4fc375c171335c67bd71df4e0b1b3dff2ae3aa17b3e0566b790ba0808b39dcd0')
version('2.1.0', sha256='c1f75346a90adf0669b5508fe68cc78bd3b114c1303fa7d22bf90991edd9230d')
version('2.0.2', sha256='99a2fa957068254b8ecdb3fc2d50e2950230910ea31c314fc0e7d934e4bd1709')
@@ -22,41 +25,55 @@ class RDevtools(RPackage):
depends_on('r@3.0.2:', type=('build', 'run'))
depends_on('r-usethis@1.5.0:', when='@2.0.0:', type=('build', 'run'))
depends_on('r-usethis@1.6.0:', when='@2.3.0:', type=('build', 'run'))
+ depends_on('r-usethis@1.6.3:', when='@2.3.2:', type=('build', 'run'))
depends_on('r-callr', when='@2.0.0:', type=('build', 'run'))
depends_on('r-callr@3.4.3:', when='@2.3.0:', type=('build', 'run'))
+ depends_on('r-callr@3.4.4:', when='@2.3.2:', type=('build', 'run'))
depends_on('r-cli', when='@2.0.0:', type=('build', 'run'))
depends_on('r-cli@2.0.2:', when='@2.3.0:', type=('build', 'run'))
depends_on('r-covr@3.5.0:', when='@2.3.0:', type=('build', 'run'))
- depends_on('r-crayon@1.3.4:', when='@2.3.0:', type=('build', 'run'))
+ depends_on('r-covr@3.5.1:', when='@2.3.2:', type=('build', 'run'))
depends_on('r-desc@1.2.0:', when='@2.3.0:', type=('build', 'run'))
depends_on('r-dt@0.13:', when='@2.3.0:', type=('build', 'run'))
- depends_on('r-digest', type=('build', 'run'))
- depends_on('r-digest@0.6.25:', when='@3.2.0:', type=('build', 'run'))
+ depends_on('r-dt@0.15:', when='@2.3.2:', type=('build', 'run'))
depends_on('r-ellipsis@0.3.0:', when='@2.3.0:', type=('build', 'run'))
- depends_on('r-glue@1.4.0:', when='@2.3.0:', type=('build', 'run'))
- depends_on('r-git2r@0.23.0:', type=('build', 'run'))
- depends_on('r-git2r@0.26.1:', when='@2.3.0:', type=('build', 'run'))
+ depends_on('r-ellipsis@0.3.1:', when='@2.3.2:', type=('build', 'run'))
depends_on('r-httr@0.4:', type=('build', 'run'))
depends_on('r-httr@1.4.1:', when='@2.3.0:', type=('build', 'run'))
+ depends_on('r-httr@1.4.2:', when='@2.3.2:', type=('build', 'run'))
depends_on('r-jsonlite', type=('build', 'run'))
depends_on('r-jsonlite@1.6.1:', when='@2.3.0:', type=('build', 'run'))
+ depends_on('r-jsonlite@1.7.1:', when='@2.3.2:', type=('build', 'run'))
depends_on('r-memoise@1.0.0:', type=('build', 'run'))
depends_on('r-memoise@1.1.0:', when='@2.3.0:', type=('build', 'run'))
depends_on('r-pkgbuild@1.0.3:', when='@2.0.0:', type=('build', 'run'))
depends_on('r-pkgbuild@1.0.6:', when='@2.3.0:', type=('build', 'run'))
+ depends_on('r-pkgbuild@1.1.0:', when='@2.3.2:', type=('build', 'run'))
depends_on('r-pkgload@1.0.2:', when='@2.0.0:', type=('build', 'run'))
+ depends_on('r-pkgload@1.1.0:', when='@2.0.2:', type=('build', 'run'))
depends_on('r-rcmdcheck@1.3.3:', when='@2.0.0:', type=('build', 'run'))
depends_on('r-remotes@2.1.0:', when='@2.0.0:', type=('build', 'run'))
depends_on('r-remotes@2.1.1:', when='@2.3.0:', type=('build', 'run'))
+ depends_on('r-remotes@2.2.0:', when='@2.3.2:', type=('build', 'run'))
depends_on('r-rlang@0.4.5:', when='@2.3.0:', type=('build', 'run'))
+ depends_on('r-rlang@0.4.7:', when='@2.3.2:', type=('build', 'run'))
depends_on('r-roxygen2@6.1.1:', when='@2.0.0:', type=('build', 'run'))
depends_on('r-roxygen2@7.1.0:', when='@2.3.0:', type=('build', 'run'))
+ depends_on('r-roxygen2@7.1.1:', when='@2.3.2:', type=('build', 'run'))
depends_on('r-rstudioapi@0.7.0:', type=('build', 'run'))
depends_on('r-rstudioapi@0.11:', when='@2.3.0:', type=('build', 'run'))
depends_on('r-rversions@2.0.1:', when='@2.3.0:', type=('build', 'run'))
+ depends_on('r-rversions@2.0.2:', when='@2.3.2:', type=('build', 'run'))
depends_on('r-sessioninfo@1.1.1:', when='@2.0.0:', type=('build', 'run'))
depends_on('r-testthat@2.1.1:', when='@2.0.0:', type=('build', 'run'))
depends_on('r-testthat@2.3.2:', when='@2.3.0:', type=('build', 'run'))
- depends_on('r-whisker', when='@:1.9.9', type=('build', 'run'))
depends_on('r-withr', type=('build', 'run'))
depends_on('r-withr@2.1.2:', when='@2.3.0:', type=('build', 'run'))
+ depends_on('r-withr@2.2.0:', when='@2.3.2:', type=('build', 'run'))
+ depends_on('r-crayon@1.3.4:', when='@2.3.0', type=('build', 'run'))
+ depends_on('r-digest', when='@:2.3.0', type=('build', 'run'))
+ depends_on('r-digest@0.6.25:', when='@2.3.0', type=('build', 'run'))
+ depends_on('r-glue@1.4.0:', when='@2.3.0', type=('build', 'run'))
+ depends_on('r-git2r@0.23.0:', when='@:2.3.0', type=('build', 'run'))
+ depends_on('r-git2r@0.26.1:', when='@2.3.0', type=('build', 'run'))
+ depends_on('r-whisker', when='@:1.9.9', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-diagrammer/package.py b/var/spack/repos/builtin/packages/r-diagrammer/package.py
index 08bcb255c5..fe6657b91c 100644
--- a/var/spack/repos/builtin/packages/r-diagrammer/package.py
+++ b/var/spack/repos/builtin/packages/r-diagrammer/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,34 +7,53 @@ from spack import *
class RDiagrammer(RPackage):
- """Create graph diagrams and flowcharts using R."""
+ """Graph/Network Visualization
+
+ Build graph/network structures using functions for stepwise addition and
+ deletion of nodes and edges. Work with data available in tables for bulk
+ addition of nodes, edges, and associated metadata. Use graph selections and
+ traversals to apply changes to specific nodes or edges. A wide selection of
+ graph algorithms allow for the analysis of graphs. Visualize the graphs and
+ take advantage of any aesthetic properties assigned to nodes and edges."""
homepage = "https://github.com/rich-iannone/DiagrammeR"
url = "https://cloud.r-project.org/src/contrib/DiagrammeR_0.8.4.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/DiagrammeR"
+ version('1.0.6.1', sha256='be4e4c520a3692902ce405e8225aef9f3d5f0cd11fcde614f6541e981b63673d')
version('1.0.1', sha256='ccee8acf608fc909e73c6de4374cef5a570cb62e5f454ac55dda736f22f3f013')
version('1.0.0', sha256='2b186dae1b19018681b979e9444bf16559c42740d8382676fbaf3b0f8a44337e')
version('0.8.4', sha256='0503935fa120c7c7cdcfd4dce85558b23fd0bcb7e6b32fa6989087d3c88ec404')
depends_on('r@3.2.0:', when='@0.9.2:', type=('build', 'run'))
- depends_on('r-htmlwidgets@1.0:', type=('build', 'run'))
- depends_on('r-igraph@1.1.2:', type=('build', 'run'))
- depends_on('r-influencer@0.1.0:', type=('build', 'run'))
- depends_on('r-rstudioapi@0.7:', type=('build', 'run'))
- depends_on('r-stringr@1.3.0:', type=('build', 'run'))
- depends_on('r-visnetwork@2.0.3:', type=('build', 'run'))
- depends_on('r-scales@0.5.0:', type=('build', 'run'))
depends_on('r-dplyr@0.7.4:', when='@1.0.0:', type=('build', 'run'))
+ depends_on('r-dplyr@0.7.6:', when='@1.0.6.1:', type=('build', 'run'))
depends_on('r-downloader@0.4:', when='@1.0.0:', type=('build', 'run'))
depends_on('r-glue@1.2.0:', when='@1.0.0:', type=('build', 'run'))
+ depends_on('r-glue@1.3.0:', when='@1.0.6.1:', type=('build', 'run'))
depends_on('r-htmltools@0.3.6:', when='@1.0.0:', type=('build', 'run'))
+ depends_on('r-htmlwidgets@1.0:', type=('build', 'run'))
+ depends_on('r-htmlwidgets@1.2:', when='@1.0.6.1:', type=('build', 'run'))
+ depends_on('r-igraph@1.1.2:', type=('build', 'run'))
+ depends_on('r-igraph@1.2.2:', when='@1.0.6.1:', type=('build', 'run'))
+ depends_on('r-influencer@0.1.0:', type=('build', 'run'))
depends_on('r-magrittr@1.5:', when='@1.0.0:', type=('build', 'run'))
depends_on('r-purrr@0.2.4:', when='@1.0.0:', type=('build', 'run'))
+ depends_on('r-purrr@0.2.5:', when='@1.0.6.1:', type=('build', 'run'))
depends_on('r-rcolorbrewer@1.1-2:', when='@1.0.0:', type=('build', 'run'))
depends_on('r-readr@1.1.1:', when='@1.0.0:', type=('build', 'run'))
depends_on('r-rlang@0.2.0:', when='@1.0.0:', type=('build', 'run'))
- depends_on('r-rgexf@0.15.3:', when='@1.0.0:', type=('build', 'run'))
+ depends_on('r-rlang@0.2.2:', when='@1.0.6.1:', type=('build', 'run'))
+ depends_on('r-rstudioapi@0.7:', type=('build', 'run'))
+ depends_on('r-scales@0.5.0:', type=('build', 'run'))
+ depends_on('r-scales@1.0.0:', when='@1.0.6.1:', type=('build', 'run'))
+ depends_on('r-stringr@1.3.0:', type=('build', 'run'))
+ depends_on('r-stringr@1.3.1:', when='@1.0.6.1:', type=('build', 'run'))
depends_on('r-tibble@1.4.2:', when='@1.0.0:', type=('build', 'run'))
depends_on('r-tidyr@0.8.0:', when='@1.0.0:', type=('build', 'run'))
+ depends_on('r-tidyr@0.8.1:', when='@1.0.6.1:', type=('build', 'run'))
depends_on('r-viridis@0.5.0:', when='@1.0.0:', type=('build', 'run'))
+ depends_on('r-viridis@0.5.1:', when='@1.0.6.1:', type=('build', 'run'))
+ depends_on('r-visnetwork@2.0.3:', type=('build', 'run'))
+ depends_on('r-visnetwork@2.0.4:', when='@1.0.6.1:', type=('build', 'run'))
+ depends_on('r-rgexf@0.15.3:', when='@1.0.0:1.0.1', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-dicekriging/package.py b/var/spack/repos/builtin/packages/r-dicekriging/package.py
index ace01e38a4..3972f40e5c 100644
--- a/var/spack/repos/builtin/packages/r-dicekriging/package.py
+++ b/var/spack/repos/builtin/packages/r-dicekriging/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,15 @@ from spack import *
class RDicekriging(RPackage):
- """Estimation, validation and prediction of kriging models. Important
- functions : km, print.km, plot.km, predict.km."""
+ """Kriging Methods for Computer Experiments
+
+ Estimation, validation and prediction of kriging models. Important
+ functions : km, print.km, plot.km, predict.km."""
homepage = "http://dice.emse.fr/"
url = "https://cloud.r-project.org/src/contrib/DiceKriging_1.5.5.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/DiceKriging"
+ version('1.5.8', sha256='11d02b894cb509dbb8887ae27b6d08ba25aa52ac3ece134c3759c2b3b1bf4d77')
version('1.5.6', sha256='25466d2db9f17083d1c7b9545e5ec88f630be934f9373c2f7b36c38de4e64e92')
version('1.5.5', sha256='55fe161f867a0c3772023c3047041b877aa54d29cb474ec87293ec31cc5cb30c')
diff --git a/var/spack/repos/builtin/packages/r-dichromat/package.py b/var/spack/repos/builtin/packages/r-dichromat/package.py
index 5fbadf1af3..d7bd5fc364 100644
--- a/var/spack/repos/builtin/packages/r-dichromat/package.py
+++ b/var/spack/repos/builtin/packages/r-dichromat/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-diffobj/package.py b/var/spack/repos/builtin/packages/r-diffobj/package.py
new file mode 100644
index 0000000000..6445949014
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-diffobj/package.py
@@ -0,0 +1,22 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RDiffobj(RPackage):
+ """Diffs for R Objects
+
+ Generate a colorized diff of two R objects for an intuitive visualization
+ of their differences."""
+
+ homepage = "https://github.com/brodieG/diffobj"
+ url = "https://cloud.r-project.org/src/contrib/diffobj_0.3.3.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/diffobj"
+
+ version('0.3.3', sha256='414e5573470b9565b9149a0a61c7e8344fb37f889d23dc4e131acc8aa62e6df4')
+
+ depends_on('r@3.1.0:', type=('build', 'run'))
+ depends_on('r-crayon@1.3.2:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-diffusionmap/package.py b/var/spack/repos/builtin/packages/r-diffusionmap/package.py
index 3002ec28cb..1d51bb74aa 100644
--- a/var/spack/repos/builtin/packages/r-diffusionmap/package.py
+++ b/var/spack/repos/builtin/packages/r-diffusionmap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,14 +7,18 @@ from spack import *
class RDiffusionmap(RPackage):
- """Allows to display a progress bar in the R console for long running
- computations taking place in c++ code, and support for interrupting those
- computations even in multithreaded code, typically using OpenMP."""
+ """Diffusion Map
+
+ Implements diffusion map method of data parametrization, including creation
+ and visualization of diffusion map, clustering with diffusion K-means and
+ regression using adaptive regression model. Richards (2009)
+ <doi:10.1088/0004-637X/691/1/32>."""
homepage = "https://cloud.r-project.org/package=diffusionMap"
url = "https://cloud.r-project.org/src/contrib/diffusionMap_1.1-0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/diffusionMap"
+ version('1.2.0', sha256='523847592fbc3a29252bc92b5821e17564ce6b188c483c930e95e6950c3873e7')
version('1.1-0.1', sha256='b24cf841af2566ac36f4ede2885f2ff355a7905398444d6d89747315d99a8486')
version('1.1-0', sha256='637b810140145fa0cbafb1c13da347c2f456c425334ae554d11a3107052e28d1')
version('1.0-0', sha256='1e3c54f72cbb2bce1b06b85fda33242b9041d30d4ac8c12df4dc9a3a95a44044')
@@ -22,6 +26,7 @@ class RDiffusionmap(RPackage):
version('0.0-1', sha256='38c4af2d2a4fa4116c2e01a5e67ba313e7a8e76f724a3312a3c12b26e299f844')
depends_on('r@2.4.0:', type=('build', 'run'))
- depends_on('r-matrix', type=('build', 'run'))
+ depends_on('r@2.10:', when='@1.2.0:', type=('build', 'run'))
depends_on('r-scatterplot3d', type=('build', 'run'))
depends_on('r-igraph', type=('build', 'run'))
+ depends_on('r-matrix', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-digest/package.py b/var/spack/repos/builtin/packages/r-digest/package.py
index 6d02efcbdf..ee27fc8af1 100644
--- a/var/spack/repos/builtin/packages/r-digest/package.py
+++ b/var/spack/repos/builtin/packages/r-digest/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RDigest(RPackage):
- """Implementation of a function 'digest()' for the creation of hash digests
+ """Create Compact Hash Digests of R Objects
+
+ Implementation of a function 'digest()' for the creation of hash digests
of arbitrary R objects (using the md5, sha-1, sha-256, crc32, xxhash and
murmurhash algorithms) permitting easy comparison of R language objects, as
well as a function 'hmac()' to create hash-based message authentication
@@ -28,6 +30,7 @@ class RDigest(RPackage):
url = "https://cloud.r-project.org/src/contrib/digest_0.6.12.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/digest"
+ version('0.6.27', sha256='f485f75122907da24c41d4a62c91a232f0c371befd2f77e973342a1bef00253f')
version('0.6.25', sha256='15ccadb7b8bccaa221b6700bb549011719d0f4b38dbd3a1f29face3e019e2de5')
version('0.6.20', sha256='05674b0b5d888461ff770176c67b10a11be062b0fee5dbd9298f25a9a49830c7')
version('0.6.19', sha256='28d159bd589ecbd01b8da0826eaed417f5c1bf5a11b79e76bf67ce8d935cccf4')
@@ -35,5 +38,6 @@ class RDigest(RPackage):
version('0.6.11', sha256='edab2ca2a38bd7ee19482c9d2531cd169d5123cde4aa2a3dd65c0bcf3d1d5209')
version('0.6.9', sha256='95fdc36011869fcfe21b40c3b822b931bc01f8a531e2c9260582ba79560dbe47')
- depends_on('r@2.4.1:', when='@:0.6.15', type=('build', 'run'))
+ depends_on('r@2.4.1:', type=('build', 'run'))
depends_on('r@3.1.0:', when='@0.6.16:', type=('build', 'run'))
+ depends_on('r@3.3.0:', when='@0.6.27:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-diptest/package.py b/var/spack/repos/builtin/packages/r-diptest/package.py
index 6a13308a66..7cd11956b8 100644
--- a/var/spack/repos/builtin/packages/r-diptest/package.py
+++ b/var/spack/repos/builtin/packages/r-diptest/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-dirichletmultinomial/package.py b/var/spack/repos/builtin/packages/r-dirichletmultinomial/package.py
index 8b692dc475..9b5fcf2d35 100644
--- a/var/spack/repos/builtin/packages/r-dirichletmultinomial/package.py
+++ b/var/spack/repos/builtin/packages/r-dirichletmultinomial/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ from spack import *
class RDirichletmultinomial(RPackage):
"""Dirichlet-Multinomial Mixture Model Machine Learning for Microbiome
- Data.
+ Data
Dirichlet-multinomial mixture models can be used to describe variability
in microbial metagenomic data. This package is an interface to code
@@ -19,6 +19,7 @@ class RDirichletmultinomial(RPackage):
homepage = "https://bioconductor.org/packages/DirichletMultinomial"
git = "https://git.bioconductor.org/packages/DirichletMultinomial.git"
+ version('1.32.0', commit='6949abab2462b2c09f7a0ca5b5cbf0c95a40ad16')
version('1.26.0', commit='7daa84948020811bb8a27d2e633fccfdcdd1018f')
version('1.24.1', commit='50195d9b1986852da29100e77f6f09df5d6e2a35')
version('1.22.0', commit='5864f4298105d12f345f27df77ad13bae4061ca5')
diff --git a/var/spack/repos/builtin/packages/r-dismo/package.py b/var/spack/repos/builtin/packages/r-dismo/package.py
index 9564211ed1..7b0010a58e 100644
--- a/var/spack/repos/builtin/packages/r-dismo/package.py
+++ b/var/spack/repos/builtin/packages/r-dismo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,16 +7,20 @@ from spack import *
class RDismo(RPackage):
- """Functions for species distribution modeling, that is, predicting
- entire geographic distributions form occurrences at a number of sites
- and the environment at these sites."""
+ """Species Distribution Modeling
+
+ Methods for species distribution modeling, that is, predicting the
+ environmental similarity of any site to that of the locations of known
+ occurrences of a species."""
homepage = "https://cloud.r-project.org/package=dismo"
url = "https://cloud.r-project.org/src/contrib/dismo_1.1-4.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/dismo"
+ version('1.3-3', sha256='fd65331ac18a4287ba0856b90508ddd0e2738c653eecc5f3eb2b14e1d06949ca')
version('1.1-4', sha256='f2110f716cd9e4cca5fd2b22130c6954658aaf61361d2fe688ba22bbfdfa97c8')
depends_on('r@3.2.0:', type=('build', 'run'))
depends_on('r-raster@2.5-2:', type=('build', 'run'))
depends_on('r-sp@1.2-0:', type=('build', 'run'))
+ depends_on('java@8:', when='@1.3-3:')
diff --git a/var/spack/repos/builtin/packages/r-diversitree/package.py b/var/spack/repos/builtin/packages/r-diversitree/package.py
index d661a11453..ddad9ee891 100644
--- a/var/spack/repos/builtin/packages/r-diversitree/package.py
+++ b/var/spack/repos/builtin/packages/r-diversitree/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ from spack import *
class RDiversitree(RPackage):
- """Contains a number of comparative 'phylogenetic' methods.
+ """Comparative 'Phylogenetic' Analyses of Diversification
Mostly focusing on analysing diversification and character
evolution. Contains implementations of 'BiSSE' (Binary State
@@ -22,10 +22,11 @@ class RDiversitree(RPackage):
url = "https://cloud.r-project.org/src/contrib/diversitree_0.9-10.tar.gz"
list_url = "https://cron.r-project.org/src/contrib/Archive/diversitree"
+ version('0.9-15', sha256='c739ef3d4fcc24fd6855b1d297d31e0f89fbaff1efe8a2d149044458ecd363ea')
version('0.9-11', sha256='4caa6a468f93de9f1c8c30e4457f34bb8346e1acdaf74f684005bfa86a950ecb')
version('0.9-10', sha256='e7df5910c8508a5c2c2d6d3deea53dd3f947bb762196901094c32a7033cb043e')
- depends_on('r@2.1.0:', type=('build', 'run'))
+ depends_on('r@2.10:', type=('build', 'run'))
depends_on('r-ape', type=('build', 'run'))
depends_on('r-desolve@1.7:', type=('build', 'run'))
depends_on('r-subplex', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-dnacopy/package.py b/var/spack/repos/builtin/packages/r-dnacopy/package.py
index 4ddea98cdc..00358abc46 100644
--- a/var/spack/repos/builtin/packages/r-dnacopy/package.py
+++ b/var/spack/repos/builtin/packages/r-dnacopy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RDnacopy(RPackage):
- """DNA copy number data analysis.
+ """DNA copy number data analysis
Implements the circular binary segmentation (CBS) algorithm to segment
DNA copy number data and identify genomic regions with abnormal copy
@@ -16,6 +16,7 @@ class RDnacopy(RPackage):
homepage = "https://bioconductor.org/packages/DNAcopy"
git = "https://git.bioconductor.org/packages/DNAcopy.git"
+ version('1.64.0', commit='01650266ea7a4e5c600de545fe70a1103e79b2d8')
version('1.58.0', commit='1954745eafca990d6ddeefe84059c54a8c37df23')
version('1.56.0', commit='e521826f2515b309921272f65db421cbe2ff961a')
version('1.54.0', commit='fe2657936afbce8ee03221461dff4265e3ded4c4')
diff --git a/var/spack/repos/builtin/packages/r-do-db/package.py b/var/spack/repos/builtin/packages/r-do-db/package.py
index be152d3049..5b09a3e727 100644
--- a/var/spack/repos/builtin/packages/r-do-db/package.py
+++ b/var/spack/repos/builtin/packages/r-do-db/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RDoDb(RPackage):
- """A set of annotation maps describing the entire Disease
+ """A set of annotation maps describing the entire Disease Ontology
+
+ A set of annotation maps describing the entire Disease
Ontology assembled using data from DO."""
homepage = "https://bioconductor.org/packages/DO.db/"
@@ -15,4 +17,5 @@ class RDoDb(RPackage):
version('2.9', sha256='762bcb9b5188274fd81d82f785cf2846a5acc61fad55e2ff8ec1502282c27881')
+ depends_on('r@2.7.0:', type=('build', 'run'))
depends_on('r-annotationdbi', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-domc/package.py b/var/spack/repos/builtin/packages/r-domc/package.py
index 8df8cbf523..46a7cbe2e3 100644
--- a/var/spack/repos/builtin/packages/r-domc/package.py
+++ b/var/spack/repos/builtin/packages/r-domc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,16 @@ from spack import *
class RDomc(RPackage):
- """Provides a parallel backend for the %dopar% function using
+ """Foreach Parallel Adaptor for 'parallel'
+
+ Provides a parallel backend for the %dopar% function using
the multicore functionality of the parallel package."""
homepage = "https://cloud.r-project.org/package=doMC"
url = "https://cloud.r-project.org/src/contrib/doMC_1.3.4.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/doMC"
+ version('1.3.7', sha256='defab27adc298a6746896d83251f8355d62c01012d51ef96d491875a2e74b54d')
version('1.3.6', sha256='2977fc9e2dc54d85d45b4a36cd286dff72834fbc73f38b6ee45a6eb8557fc9b2')
version('1.3.4', sha256='76a1092fca59b441e6f89eb7e2fb3a12de807f736a217949c80339f20c958778')
diff --git a/var/spack/repos/builtin/packages/r-doparallel/package.py b/var/spack/repos/builtin/packages/r-doparallel/package.py
index fc06d2f142..6e6bb023fb 100644
--- a/var/spack/repos/builtin/packages/r-doparallel/package.py
+++ b/var/spack/repos/builtin/packages/r-doparallel/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,16 @@ from spack import *
class RDoparallel(RPackage):
- """Provides a parallel backend for the %dopar% function using the parallel
+ """Foreach Parallel Adaptor for the 'parallel' Package
+
+ Provides a parallel backend for the %dopar% function using the parallel
package."""
homepage = "https://cloud.r-project.org/package=doParallel"
url = "https://cloud.r-project.org/src/contrib/doParallel_1.0.10.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/doParallel"
+ version('1.0.16', sha256='f1bb26f964f30d47ae4d6cf2b0a2ca0c2122d376424875e82d9abe9e7b054eb2')
version('1.0.15', sha256='71ad7ea69616468996aefdd8d02a4a234759a21ddde9ed1657e3c537145cd86e')
version('1.0.11', sha256='4ccbd2eb46d3e4f5251b0c3de4d93d9168b02bb0be493656d6aea236667ff76a')
version('1.0.10', sha256='70024b6950025cc027022ee409f382e5ad3680c0a25bcd404bfc16418be8add5')
diff --git a/var/spack/repos/builtin/packages/r-dorng/package.py b/var/spack/repos/builtin/packages/r-dorng/package.py
index 5c4f0fbc78..637128a31f 100644
--- a/var/spack/repos/builtin/packages/r-dorng/package.py
+++ b/var/spack/repos/builtin/packages/r-dorng/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,25 +7,27 @@ from spack import *
class RDorng(RPackage):
- """Provides functions to perform reproducible parallel foreach loops,
- using independent random streams as generated by L'Ecuyer's combined
- multiple-recursive generator (L'Ecuyer (1999),
- <doi:10.1287/opre.47.1.159>).
+ """Generic Reproducible Parallel Backend for 'foreach' Loops
- It enables to easily convert standard %dopar% loops into fully
- reproducible loops, independently of the number of workers, the task
- scheduling strategy, or the chosen parallel environment and associated
- foreach backend."""
+ Provides functions to perform reproducible parallel foreach loops, using
+ independent random streams as generated by L'Ecuyer's combined
+ multiple-recursive generator (L'Ecuyer (1999),
+ <doi:10.1287/opre.47.1.159>). It enables to easily convert standard
+ %dopar% loops into fully reproducible loops, independently of the number of
+ workers, the task scheduling strategy, or the chosen parallel environment
+ and associated foreach backend."""
homepage = "https://cloud.r-project.org/package=doRNG"
url = "https://cloud.r-project.org/src/contrib/doRNG_1.6.6.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/doRNG"
+ version('1.8.2', sha256='33e9d45b91b0fde2e35e911b9758d0c376049121a98a1e4c73a1edfcff11cec9')
version('1.7.1', sha256='27533d54464889d1c21301594137fc0f536574e3a413d61d7df9463ab12a67e9')
version('1.6.6', sha256='939c2282c72c0b89fc7510f4bff901a4e99007dc006f46762c8f594c0ecbd876')
depends_on('r@3.0.0:', type=('build', 'run'))
depends_on('r-foreach', type=('build', 'run'))
depends_on('r-rngtools@1.3:', type=('build', 'run'))
+ depends_on('r-rngtools@1.5:', when='@1.8.2:', type=('build', 'run'))
depends_on('r-iterators', type=('build', 'run'))
- depends_on('r-pkgmaker@0.20:', type=('build', 'run'))
+ depends_on('r-pkgmaker@0.20:', when='@:1.7.1', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-dose/package.py b/var/spack/repos/builtin/packages/r-dose/package.py
index 70e5f103d9..0de5b437e1 100644
--- a/var/spack/repos/builtin/packages/r-dose/package.py
+++ b/var/spack/repos/builtin/packages/r-dose/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RDose(RPackage):
- """Disease Ontology Semantic and Enrichment analysis.
+ """Disease Ontology Semantic and Enrichment analysis
This package implements five methods proposed by Resnik, Schlicker,
Jiang, Lin and Wang respectively for measuring semantic similarities
@@ -19,6 +19,7 @@ class RDose(RPackage):
homepage = "https://bioconductor.org/packages/DOSE"
git = "https://git.bioconductor.org/packages/DOSE.git"
+ version('3.16.0', commit='a534a4f2ef1e54e8b92079cf1bbedb5042fd90cd')
version('3.10.2', commit='5ea51a2e2a04b4f3cc974cecb4537e14efd6a7e3')
version('3.8.2', commit='4d3d1ca710aa7e4288a412c8d52b054b86a57639')
version('3.6.1', commit='f2967f0482cea39222bfd15767d0f4a5994f241b')
@@ -26,18 +27,17 @@ class RDose(RPackage):
version('3.2.0', commit='71f563fc39d02dfdf65184c94e0890a63b96b86b')
depends_on('r@3.3.1:', type=('build', 'run'))
+ depends_on('r@3.4.0:', when='@3.6.1:', type=('build', 'run'))
+ depends_on('r@3.5.0:', when='@3.16.0:', type=('build', 'run'))
depends_on('r-annotationdbi', type=('build', 'run'))
depends_on('r-biocparallel', type=('build', 'run'))
depends_on('r-do-db', type=('build', 'run'))
depends_on('r-fgsea', type=('build', 'run'))
depends_on('r-ggplot2', type=('build', 'run'))
depends_on('r-gosemsim@2.0.0:', type=('build', 'run'))
- depends_on('r-igraph', when='@3.2.0:3.4.0', type=('build', 'run'))
depends_on('r-qvalue', type=('build', 'run'))
depends_on('r-reshape2', type=('build', 'run'))
- depends_on('r-s4vectors', type=('build', 'run'))
+ depends_on('r-s4vectors', when='@:3.10.2', type=('build', 'run'))
depends_on('r-scales', when='@3.2.0:3.4.0', type=('build', 'run'))
-
depends_on('r-rvcheck', when='@3.4.0', type=('build', 'run'))
-
- depends_on('r@3.4.0:', when='@3.6.1:', type=('build', 'run'))
+ depends_on('r-igraph', when='@3.2.0:3.4.0', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-dosnow/package.py b/var/spack/repos/builtin/packages/r-dosnow/package.py
index 18de14a737..3d9addb2fc 100644
--- a/var/spack/repos/builtin/packages/r-dosnow/package.py
+++ b/var/spack/repos/builtin/packages/r-dosnow/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,16 @@ from spack import *
class RDosnow(RPackage):
- """Provides a parallel backend for the %dopar% function using the snow
+ """Foreach Parallel Adaptor for the 'snow' Package
+
+ Provides a parallel backend for the %dopar% function using the snow
package of Tierney, Rossini, Li, and Sevcikova."""
homepage = "https://cloud.r-project.org/package=doSNOW"
url = "https://cloud.r-project.org/src/contrib/doSNOW_1.0.18.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/doSNOW"
+ version('1.0.19', sha256='4cd2d080628482f4c6ecab593313d7e42516f5ff13fbf9f90e461fcad0580738')
version('1.0.18', sha256='70e7bd82186e477e3d1610676d4c6a75258ac08f104ecf0dcc971550ca174766')
depends_on('r@2.5.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-dotcall64/package.py b/var/spack/repos/builtin/packages/r-dotcall64/package.py
index b9214c5a95..3c92545fdc 100644
--- a/var/spack/repos/builtin/packages/r-dotcall64/package.py
+++ b/var/spack/repos/builtin/packages/r-dotcall64/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-downloader/package.py b/var/spack/repos/builtin/packages/r-downloader/package.py
index ecf053e698..f6dc6783be 100644
--- a/var/spack/repos/builtin/packages/r-downloader/package.py
+++ b/var/spack/repos/builtin/packages/r-downloader/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-dplyr/package.py b/var/spack/repos/builtin/packages/r-dplyr/package.py
index d6936c182c..956bc1c36e 100644
--- a/var/spack/repos/builtin/packages/r-dplyr/package.py
+++ b/var/spack/repos/builtin/packages/r-dplyr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,16 @@ from spack import *
class RDplyr(RPackage):
- """A fast, consistent tool for working with data frame like objects, both
+ """A Grammar of Data Manipulation
+
+ A fast, consistent tool for working with data frame like objects, both
in memory and out of memory."""
homepage = "https://cloud.r-project.org/package=dplyr"
url = "https://cloud.r-project.org/src/contrib/dplyr_0.7.6.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/dplyr"
+ version('1.0.3', sha256='28a1a9d87e99154d4d1542ef9da9fd70f869a173dc9709f4583a5770bae58441')
version('0.8.3', sha256='68b4aac65a69ea6390e90991d9c7ce7a011a07e5db439d60cce911a078424c0c')
version('0.8.2', sha256='e2b6d5b30d04d86f270374623da426541cee8e33ce446fcab6cd7862abf8e18b')
version('0.7.7', sha256='0553db5a55f0e6f5d2d111e88422c6d26e9d54cb36b860ad2ca28e3826e3d4a4')
@@ -26,17 +29,26 @@ class RDplyr(RPackage):
version('0.7.0', sha256='27b3593c09da5e99c0c4fb19ea826edd2cab619f8aaefd0cfd2a4140a0bd9410')
version('0.5.0', sha256='93d3b829f1c2d38e14a4f2fa7d6398fc6c1a9e4189b3e78bc38a0eb0e864454f')
- depends_on('r@3.1.2:', when='@:0.8.0.1', type=('build', 'run'))
+ depends_on('r@3.1.2:', type=('build', 'run'))
depends_on('r@3.2.0:', when='@0.8.1:', type=('build', 'run'))
- depends_on('r-assertthat@0.2.0:', type=('build', 'run'))
- depends_on('r-bindrcpp@0.2.0:', when='@:0.7.9', type=('build', 'run'))
+ depends_on('r@3.3.0:', when='@1.0.3:', type=('build', 'run'))
+ depends_on('r-ellipsis', when='@1.0.3:', type=('build', 'run'))
+ depends_on('r-generics', when='@1.0.3:', type=('build', 'run'))
depends_on('r-glue@1.3.0:', type=('build', 'run'))
+ depends_on('r-glue@1.3.2:', when='@1.0.3:', type=('build', 'run'))
+ depends_on('r-lifecycle@0.2.0:', when='@1.0.3:', type=('build', 'run'))
depends_on('r-magrittr@1.5:', type=('build', 'run'))
- depends_on('r-pkgconfig', type=('build', 'run'))
depends_on('r-r6', type=('build', 'run'))
- depends_on('r-rcpp@1.0.1:', type=('build', 'run'))
depends_on('r-rlang@0.4.0:', type=('build', 'run'))
+ depends_on('r-rlang@0.4.9:', when='@1.0.3:', type=('build', 'run'))
depends_on('r-tibble@2.0.0:', type=('build', 'run'))
+ depends_on('r-tibble@2.1.3:', when='@1.0.3:', type=('build', 'run'))
depends_on('r-tidyselect@0.2.5:', type=('build', 'run'))
- depends_on('r-bh', type=('build', 'run'))
- depends_on('r-plogr@0.2.0:', when='@0.7.0:', type=('build', 'run'))
+ depends_on('r-tidyselect@1.1.0:', when='@1.0.3:', type=('build', 'run'))
+ depends_on('r-vctrs@0.3.5:', when='@1.0.3:', type=('build', 'run'))
+ depends_on('r-assertthat@0.2.0:', when='@:0.8.3', type=('build', 'run'))
+ depends_on('r-bindrcpp@0.2.0:', when='@:0.7.9', type=('build', 'run'))
+ depends_on('r-pkgconfig', when='@:0.8.3', type=('build', 'run'))
+ depends_on('r-rcpp@1.0.1:', when='@:0.8.3', type=('build', 'run'))
+ depends_on('r-bh', when='@:0.8.3', type=('build', 'run'))
+ depends_on('r-plogr@0.2.0:', when='@0.7.0:0.8.3', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-dqrng/package.py b/var/spack/repos/builtin/packages/r-dqrng/package.py
index 07109336c3..42ff453a5e 100644
--- a/var/spack/repos/builtin/packages/r-dqrng/package.py
+++ b/var/spack/repos/builtin/packages/r-dqrng/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-dss/package.py b/var/spack/repos/builtin/packages/r-dss/package.py
index 7d4f8f2318..02de075e17 100644
--- a/var/spack/repos/builtin/packages/r-dss/package.py
+++ b/var/spack/repos/builtin/packages/r-dss/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RDss(RPackage):
- """Dispersion shrinkage for sequencing data.
+ """Dispersion shrinkage for sequencing data
DSS is an R library performing differntial analysis for count-based
sequencing data. It detectes differentially expressed genes (DEGs) from
@@ -19,12 +19,13 @@ class RDss(RPackage):
homepage = "http://bioconductor.org/packages/DSS/"
git = "https://git.bioconductor.org/packages/DSS"
+ version('2.38.0', commit='82e65b92e6e227f1f99620362db8b03059e07e98')
version('2.36.0', commit='841c7ed')
version('2.34.0', commit='f9819c7')
version('2.32.0', commit='ffb502d')
depends_on('r@3.3:', type=('build', 'run'))
depends_on('r-biobase', type=('build', 'run'))
- depends_on('r-bsseq', type=('build', 'run'))
depends_on('r-biocparallel', when='@2.36.0:', type=('build', 'run'))
+ depends_on('r-bsseq', type=('build', 'run'))
depends_on('r-delayedarray', when='@2.36.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-dt/package.py b/var/spack/repos/builtin/packages/r-dt/package.py
index b1e899093a..3b92048565 100644
--- a/var/spack/repos/builtin/packages/r-dt/package.py
+++ b/var/spack/repos/builtin/packages/r-dt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RDt(RPackage):
- """Data objects in R can be rendered as HTML tables using the JavaScript
+ """A Wrapper of the JavaScript Library 'DataTables'
+
+ Data objects in R can be rendered as HTML tables using the JavaScript
library 'DataTables' (typically via R Markdown or Shiny). The 'DataTables'
library has been included in this R package. The package name 'DT' is an
abbreviation of 'DataTables'."""
@@ -16,6 +18,7 @@ class RDt(RPackage):
url = "https://cloud.r-project.org/src/contrib/DT_0.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/DT"
+ version('0.17', sha256='e3430292421dcc2b6ad5f2deda729f0603da4eb31f86d071833e6e11abf3fb56')
version('0.13', sha256='79a073fe96980ce150d790ab76133c9e80bd463270c34d149c03934a622d63b5')
version('0.8', sha256='90195054148806cf31c7db5c41f72d5389c75adc0b1183606a9babd2c6ae8e21')
version('0.7', sha256='1de3f170deccd9e3aaefc057dd87c498e3b3f7f88eff645cf165ac34ffe3de2c')
@@ -27,7 +30,7 @@ class RDt(RPackage):
depends_on('r-htmltools@0.3.6:', type=('build', 'run'))
depends_on('r-htmlwidgets@1.3:', type=('build', 'run'))
+ depends_on('r-jsonlite@0.9.16:', when='@0.8:', type=('build', 'run'))
depends_on('r-magrittr', type=('build', 'run'))
depends_on('r-crosstalk', type=('build', 'run'))
depends_on('r-promises', when='@0.5:', type=('build', 'run'))
- depends_on('r-jsonlite@0.9.16:', when='@0.8:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-dtw/package.py b/var/spack/repos/builtin/packages/r-dtw/package.py
index ea6af863ee..3bb9f24b6e 100644
--- a/var/spack/repos/builtin/packages/r-dtw/package.py
+++ b/var/spack/repos/builtin/packages/r-dtw/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,14 +7,21 @@ from spack import *
class RDtw(RPackage):
- """A comprehensive implementation of dynamic time warping (DTW) algorithms
- in R. DTW computes the optimal (least cumulative distance) alignment
- between points of two time series."""
+ """Dynamic Time Warping Algorithms
+
+ A comprehensive implementation of dynamic time warping (DTW) algorithms in
+ R. DTW computes the optimal (least cumulative distance) alignment between
+ points of two time series. Common DTW variants covered include local
+ (slope) and global (window) constraints, subsequence matches, arbitrary
+ distance definitions, normalizations, minimum variance matching, and so on.
+ Provides cumulative distances, alignments, specialized plot styles, etc.,
+ as described in Giorgino (2009) <doi:10.18637/jss.v031.i07>."""
homepage = "https://cloud.r-project.org/package=dtw"
url = "https://cloud.r-project.org/src/contrib/dtw_1.18-1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/dtw"
+ version('1.22-3', sha256='df7cf9adf613422ddb22a160597eb5f5475ab6c67c0d790092edb7f72ba98f00')
version('1.20-1', sha256='43ca1a47a7c81a2b5d5054da1be8b8af79a85d6f9ce7b4512e9ed91f790f60f0')
version('1.18-1', sha256='d9dab25bdf61705f9f28dc5ca1c96a7465b269233e878516c52c01b5a0da21ad')
version('1.17-1', sha256='0fc3afcebc58135c78abd7545a3549466ac051a058f913db16214c12141a6e4d')
diff --git a/var/spack/repos/builtin/packages/r-dygraphs/package.py b/var/spack/repos/builtin/packages/r-dygraphs/package.py
index f4b659eeed..16ff6911d9 100644
--- a/var/spack/repos/builtin/packages/r-dygraphs/package.py
+++ b/var/spack/repos/builtin/packages/r-dygraphs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-dynamictreecut/package.py b/var/spack/repos/builtin/packages/r-dynamictreecut/package.py
index d3da482416..cae54847b8 100644
--- a/var/spack/repos/builtin/packages/r-dynamictreecut/package.py
+++ b/var/spack/repos/builtin/packages/r-dynamictreecut/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-e1071/package.py b/var/spack/repos/builtin/packages/r-e1071/package.py
index b853a44f65..fd2d77dd9e 100644
--- a/var/spack/repos/builtin/packages/r-e1071/package.py
+++ b/var/spack/repos/builtin/packages/r-e1071/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,10 @@ from spack import *
class RE1071(RPackage):
- """Functions for latent class analysis, short time Fourier transform, fuzzy
+ """Misc Functions of the Department of Statistics, Probability Theory Group
+ (Formerly: E1071), TU Wien
+
+ Functions for latent class analysis, short time Fourier transform, fuzzy
clustering, support vector machines, shortest path computation, bagged
clustering, naive Bayes classifier, ..."""
@@ -15,6 +18,7 @@ class RE1071(RPackage):
url = "https://cloud.r-project.org/src/contrib/e1071_1.6-7.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/e1071"
+ version('1.7-4', sha256='e6ab871b06f500dc65f8f781cc7253f43179698784c06dab040b4aa6592f2309')
version('1.7-2', sha256='721c299ce83047312acfa3e0c4b3d4c223d84a4c53400c73465cca2c92913752')
version('1.7-1', sha256='5c5f04a51c1cd2c7dbdf69987adef9bc07116804c63992cd36d804a1daf89dfe')
version('1.6-7', sha256='7048fbc0ac17d7e3420fe68081d0e0a2176b1154ee3191d53558ea9724c7c980')
diff --git a/var/spack/repos/builtin/packages/r-earth/package.py b/var/spack/repos/builtin/packages/r-earth/package.py
index e1dc5b293d..69e0c81ae0 100644
--- a/var/spack/repos/builtin/packages/r-earth/package.py
+++ b/var/spack/repos/builtin/packages/r-earth/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class REarth(RPackage):
- """earth: Multivariate Adaptive Regression Splines.
+ """Multivariate Adaptive Regression Splines.
Build regression models using the techniques in Friedman's papers
"Fast MARS" and "Multivariate Adaptive Regression Splines"
@@ -17,9 +17,11 @@ class REarth(RPackage):
url = "https://cloud.r-project.org/src/contrib/earth_5.1.2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/earth"
+ version('5.3.0', sha256='05ace806271a74b3ddf8718a93237fe2a8550a8659ebd87f8079c0bda5e02437')
version('5.1.2', sha256='326f98e8c29365ca3cd5584cf2bd6529358f5ef81664cbd494162f92b6c3488d')
depends_on('r@3.4.0:', type=('build', 'run'))
depends_on('r-formula@1.2-3:', type=('build', 'run'))
depends_on('r-plotmo@3.5.4:', type=('build', 'run'))
+ depends_on('r-plotmo@3.6.0:', when='@5.3.0', type=('build', 'run'))
depends_on('r-teachingdemos@2.10:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-ecp/package.py b/var/spack/repos/builtin/packages/r-ecp/package.py
index 700c1780e0..e3a6a16376 100644
--- a/var/spack/repos/builtin/packages/r-ecp/package.py
+++ b/var/spack/repos/builtin/packages/r-ecp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,21 @@ from spack import *
class REcp(RPackage):
- """ecp: Non-Parametric Multiple Change-Point Analysis of
- MultivariateData"""
+ """Non-Parametric Multiple Change-Point Analysis of MultivariateData
+
+ Implements various procedures for finding multiple change-points from
+ Matteson D. et al (2013) <doi:10.1080/01621459.2013.849605>, Zhang W. et al
+ (2017) <doi:10.1109/ICDMW.2017.44>, Arlot S. et al (2019). Two methods make
+ use of dynamic programming and pruning, with no distributional assumptions
+ other than the existence of certain absolute moments in one method.
+ Hierarchical and exact search methods are included. All methods return the
+ set of estimated change-points as well as other summary information."""
homepage = "https://cloud.r-project.org/package=ecp"
url = "https://cloud.r-project.org/src/contrib/ecp_3.1.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/ecp"
+ version('3.1.3', sha256='a80ab10bafe30cc96287b9220e44c4b4eda40f5dd0546e4d2a2e1baab514c058')
version('3.1.1', sha256='d2ab194e22e6ab0168222fbccfcf2e25c6cd51a73edc959086b0c6e0a7410268')
depends_on('r@3.00:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-edger/package.py b/var/spack/repos/builtin/packages/r-edger/package.py
index 5d7f481a70..f8cc2dbf8e 100644
--- a/var/spack/repos/builtin/packages/r-edger/package.py
+++ b/var/spack/repos/builtin/packages/r-edger/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class REdger(RPackage):
- """Empirical Analysis of Digital Gene Expression Data in R.
+ """Empirical Analysis of Digital Gene Expression Data in R
Differential expression analysis of RNA-seq expression profiles with
biological replication. Implements a range of statistical methodology
@@ -20,6 +20,7 @@ class REdger(RPackage):
homepage = "https://bioconductor.org/packages/edgeR"
git = "https://git.bioconductor.org/packages/edgeR.git"
+ version('3.32.1', commit='b881d801d60e5b38413d27f149384c218621c55a')
version('3.26.8', commit='836809e043535f2264e5db8b5c0eabcffe85613f')
version('3.24.3', commit='d1260a2aeba67b9ab7a9b8b197b746814ad0716d')
version('3.22.5', commit='44461aa0412ef4a0d955730f365e44fc64fe1902')
@@ -27,10 +28,9 @@ class REdger(RPackage):
version('3.18.1', commit='101106f3fdd9e2c45d4a670c88f64c12e97a0495')
depends_on('r@2.15.0:', type=('build', 'run'))
+ depends_on('r@3.6.0:', when='@3.26.8:', type=('build', 'run'))
depends_on('r-limma', type=('build', 'run'))
- depends_on('r-locfit', type=('build', 'run'))
-
depends_on('r-limma@3.34.5:', when='@3.20.9:', type=('build', 'run'))
+ depends_on('r-limma@3.41.5:', when='@3.32.1:', type=('build', 'run'))
+ depends_on('r-locfit', type=('build', 'run'))
depends_on('r-rcpp', when='@3.20.9:', type=('build', 'run'))
-
- depends_on('r@3.6.0:', when='@3.26.8:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-ellipse/package.py b/var/spack/repos/builtin/packages/r-ellipse/package.py
index bbeec79275..bbb1684d2f 100644
--- a/var/spack/repos/builtin/packages/r-ellipse/package.py
+++ b/var/spack/repos/builtin/packages/r-ellipse/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,20 @@ from spack import *
class REllipse(RPackage):
- """This package contains various routines for drawing ellipses and
- ellipse-like confidence regions."""
+ """Functions for Drawing Ellipses and Ellipse-Like Confidence Regions
+
+ Contains various routines for drawing ellipses and ellipse-like confidence
+ regions, implementing the plots described in Murdoch and Chow (1996), A
+ graphical display of large correlation matrices, The American Statistician
+ 50, 178-180. There are also routines implementing the profile plots
+ described in Bates and Watts (1988), Nonlinear Regression Analysis and its
+ Applications."""
homepage = "https://cloud.r-project.org/package=ellipse"
url = "https://cloud.r-project.org/src/contrib/ellipse_0.3-8.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/ellipse"
+ version('0.4.2', sha256='1719ce9a00b9ac4d56dbf961803085b892d3359726fda3567bb989ddfed9a5f2')
version('0.4.1', sha256='1a9a9c52195b26c2b4d51ad159ab98aff7aa8ca25fdc6b2198818d1a0adb023d')
version('0.3-8', sha256='508d474c142f0770c25763d6c8f8f8c9dcf8205afd42ffa22e6be1e0360e7f45')
diff --git a/var/spack/repos/builtin/packages/r-ellipsis/package.py b/var/spack/repos/builtin/packages/r-ellipsis/package.py
index 3c583459f8..99af59d4c9 100644
--- a/var/spack/repos/builtin/packages/r-ellipsis/package.py
+++ b/var/spack/repos/builtin/packages/r-ellipsis/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class REllipsis(RPackage):
- """The ellipsis is a powerful tool for extending functions. Unfortunately
+ """Tools for Working with ...
+
+ The ellipsis is a powerful tool for extending functions. Unfortunately
this power comes at a cost: misspelled arguments will be silently ignored.
The ellipsis package provides a collection of functions to catch problems
and alert the user."""
@@ -16,6 +18,7 @@ class REllipsis(RPackage):
url = "https://cloud.r-project.org/src/contrib/ellipsis_0.2.0.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/ellipsis"
+ version('0.3.1', sha256='4f8a15158dfc27cdc0f7554c7a61e92b02e4d70bfc3d968f01a99da2189b75db')
version('0.3.0', sha256='0bf814cb7a1f0ee1f2949bdc98752a0d535f2a9489280dd4d8fcdb10067ee907')
version('0.2.0.1', sha256='0e6528c5e8016c3617cc1cfcdb5a4bfeb073e0bd5ea76b43e56b0c3208a0a943')
diff --git a/var/spack/repos/builtin/packages/r-emmli/package.py b/var/spack/repos/builtin/packages/r-emmli/package.py
index 1144e2d105..f01b09d31b 100644
--- a/var/spack/repos/builtin/packages/r-emmli/package.py
+++ b/var/spack/repos/builtin/packages/r-emmli/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-energy/package.py b/var/spack/repos/builtin/packages/r-energy/package.py
index db396a6bf5..dd354e1c56 100644
--- a/var/spack/repos/builtin/packages/r-energy/package.py
+++ b/var/spack/repos/builtin/packages/r-energy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,23 @@ from spack import *
class REnergy(RPackage):
- """E-Statistics: Multivariate Inference via the Energy of Data"""
+ """Statistics: Multivariate Inference via the Energy of Data
+
+ E-statistics (energy) tests and statistics for multivariate and univariate
+ inference, including distance correlation, one-sample, two-sample, and
+ multi-sample tests for comparing multivariate distributions, are
+ implemented. Measuring and testing multivariate independence based on
+ distance correlation, partial distance correlation, multivariate
+ goodness-of-fit tests, k-groups and hierarchical clustering based on energy
+ distance, testing for multivariate normality, distance components (disco)
+ for non-parametric analysis of structured data, and other energy
+ statistics/methods are implemented."""
homepage = "https://cloud.r-project.org/package=energy"
url = "https://cloud.r-project.org/src/contrib/energy_1.7-5.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/energy"
+ version('1.7-7', sha256='67b88fb33ee6e7bec2e4fe356a4efd36f70c3cf9b0ebe2f6d9da9ec96de9968f')
version('1.7-6', sha256='900edbb28e1f1bccd78580828470628cf75eb6333b63e1a58e4da7fc5c5fa89a')
version('1.7-5', sha256='24c2cf080939f8f56cd9cda06d2dfc30d0389cd3ec7250af4f9a09a4c06b6996')
diff --git a/var/spack/repos/builtin/packages/r-enrichplot/package.py b/var/spack/repos/builtin/packages/r-enrichplot/package.py
index 8a30292b50..4521f4b953 100644
--- a/var/spack/repos/builtin/packages/r-enrichplot/package.py
+++ b/var/spack/repos/builtin/packages/r-enrichplot/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class REnrichplot(RPackage):
- """Visualization of Functional Enrichment Result.
+ """Visualization of Functional Enrichment Result
The 'enrichplot' package implements several visualization methods for
interpreting functional enrichment results obtained from ORA or GSEA
@@ -17,24 +17,30 @@ class REnrichplot(RPackage):
homepage = "https://bioconductor.org/packages/enrichplot"
git = "https://git.bioconductor.org/packages/enrichplot.git"
+ version('1.10.2', commit='77ee04f60a07cc31151f8f47f8ee64f3a43c9760')
version('1.4.0', commit='6ffe5d9c5dbe5cbea29f2e0941595475bbbcea0e')
version('1.2.0', commit='2eeaafb571d35a106eba8ae7df014f3201066e8b')
version('1.0.2', commit='ba7726fa0d4b581b7514dcbb04889cdbdd75ff29')
depends_on('r@3.4.0:', type=('build', 'run'))
- depends_on('r-annotationdbi', type=('build', 'run'))
+ depends_on('r@3.5.0:', when='@1.10.2:', type=('build', 'run'))
depends_on('r-cowplot', type=('build', 'run'))
- depends_on('r-dose@3.5.1:', type=('build', 'run'))
+ depends_on('r-dose', type=('build', 'run'))
+ depends_on('r-dose@3.5.1:', when='@:1.4.0', type=('build', 'run'))
depends_on('r-ggplot2', type=('build', 'run'))
depends_on('r-ggraph', type=('build', 'run'))
- depends_on('r-ggridges', type=('build', 'run'))
- depends_on('r-gosemsim', type=('build', 'run'))
depends_on('r-igraph', type=('build', 'run'))
- depends_on('r-reshape2', type=('build', 'run'))
- depends_on('r-upsetr', type=('build', 'run'))
-
- depends_on('r-europepmc', when='@1.2.0:', type=('build', 'run'))
- depends_on('r-ggplotify', when='@1.2.0:', type=('build', 'run'))
- depends_on('r-gridextra', when='@1.2.0:', type=('build', 'run'))
+ depends_on('r-plyr', when='@1.10.2:', type=('build', 'run'))
depends_on('r-purrr', when='@1.2.0:', type=('build', 'run'))
depends_on('r-rcolorbrewer', when='@1.2.0:', type=('build', 'run'))
+ depends_on('r-reshape2', type=('build', 'run'))
+ depends_on('r-scatterpie', when='@1.10.2:', type=('build', 'run'))
+ depends_on('r-shadowtext', when='@1.10.2:', type=('build', 'run'))
+ depends_on('r-gosemsim', type=('build', 'run'))
+ depends_on('r-magrittr', when='@1.10.2:', type=('build', 'run'))
+ depends_on('r-ggridges', when='@:1.4.0', type=('build', 'run'))
+ depends_on('r-upsetr', when='@:1.4.0', type=('build', 'run'))
+ depends_on('r-annotationdbi', when='@:1.4.0', type=('build', 'run'))
+ depends_on('r-europepmc', when='@1.2.0:1.4.0', type=('build', 'run'))
+ depends_on('r-ggplotify', when='@1.2.0:1.4.0', type=('build', 'run'))
+ depends_on('r-gridextra', when='@1.2.0:1.4.0', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-ensembldb/package.py b/var/spack/repos/builtin/packages/r-ensembldb/package.py
index 71aaf50c22..03f782030e 100644
--- a/var/spack/repos/builtin/packages/r-ensembldb/package.py
+++ b/var/spack/repos/builtin/packages/r-ensembldb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class REnsembldb(RPackage):
- """Utilities to create and use Ensembl-based annotation databases.
+ """Utilities to create and use Ensembl-based annotation databases
The package provides functions to create and use transcript centric
annotation databases/packages. The annotation for the databases are
@@ -25,6 +25,7 @@ class REnsembldb(RPackage):
homepage = "https://bioconductor.org/packages/ensembldb"
git = "https://git.bioconductor.org/packages/ensembldb.git"
+ version('2.14.0', commit='c7150519ed4ef38e5eac1043209863dbc7be43a1')
version('2.8.1', commit='a4d8d89c143dca86b364d59dff8e46cc81c41ac0')
version('2.6.8', commit='c2c4f41b4ecc81d5328ce1d380065dfcb5e0c54c')
version('2.4.1', commit='b5b6b94826a2f46a4faecb9dde750ecd3bfaf327')
@@ -33,8 +34,12 @@ class REnsembldb(RPackage):
depends_on('r-biocgenerics@0.15.10:', type=('build', 'run'))
depends_on('r-genomicranges@1.23.21:', type=('build', 'run'))
+ depends_on('r-genomicranges@1.31.18:', when='@2.4.1:', type=('build', 'run'))
depends_on('r-genomicfeatures@1.23.18:', type=('build', 'run'))
+ depends_on('r-genomicfeatures@1.29.10:', when='@2.2.2:', type=('build', 'run'))
depends_on('r-annotationfilter@0.99.7:', type=('build', 'run'))
+ depends_on('r-annotationfilter@1.1.9:', when='@2.2.2:', type=('build', 'run'))
+ depends_on('r-annotationfilter@1.5.2:', when='@2.6.8:', type=('build', 'run'))
depends_on('r-rsqlite@1.1:', type=('build', 'run'))
depends_on('r-dbi', type=('build', 'run'))
depends_on('r-biobase', type=('build', 'run'))
@@ -42,19 +47,13 @@ class REnsembldb(RPackage):
depends_on('r-annotationdbi@1.31.19:', type=('build', 'run'))
depends_on('r-rtracklayer', type=('build', 'run'))
depends_on('r-s4vectors', type=('build', 'run'))
- depends_on('r-annotationhub', when='@2.0.4:2.2.2', type=('build', 'run'))
+ depends_on('r-s4vectors@0.23.10:', when='@2.14.0:', type=('build', 'run'))
depends_on('r-rsamtools', type=('build', 'run'))
depends_on('r-iranges', type=('build', 'run'))
- depends_on('r-protgenerics', type=('build', 'run'))
- depends_on('r-biostrings', type=('build', 'run'))
- depends_on('r-curl', type=('build', 'run'))
-
- depends_on('r-genomicfeatures@1.29.10:', when='@2.2.2:', type=('build', 'run'))
- depends_on('r-annotationfilter@1.1.9:', when='@2.2.2:', type=('build', 'run'))
depends_on('r-iranges@2.11.16:', when='@2.2.2:', type=('build', 'run'))
-
- depends_on('r-genomicranges@1.31.18:', when='@2.4.1:', type=('build', 'run'))
depends_on('r-iranges@2.13.24:', when='@2.4.1:', type=('build', 'run'))
+ depends_on('r-protgenerics', type=('build', 'run'))
+ depends_on('r-biostrings', type=('build', 'run'))
depends_on('r-biostrings@2.47.9:', when='@2.4.1:', type=('build', 'run'))
-
- depends_on('r-annotationfilter@1.5.2:', when='@2.6.8:', type=('build', 'run'))
+ depends_on('r-curl', type=('build', 'run'))
+ depends_on('r-annotationhub', when='@2.0.4:2.2.2', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-envstats/package.py b/var/spack/repos/builtin/packages/r-envstats/package.py
index 42e1726959..6090df3b6e 100644
--- a/var/spack/repos/builtin/packages/r-envstats/package.py
+++ b/var/spack/repos/builtin/packages/r-envstats/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,15 +7,25 @@ from spack import *
class REnvstats(RPackage):
- """Graphical and statistical analyses of environmental data, with focus
- on analyzing chemical concentrations and physical parameters, usually
- in the context of mandated environmental monitoring.
- """
+ """Package for Environmental Statistics, Including US EPA Guidance
+
+ Graphical and statistical analyses of environmental data, with focus on
+ analyzing chemical concentrations and physical parameters, usually in the
+ context of mandated environmental monitoring. Major environmental
+ statistical methods found in the literature and regulatory guidance
+ documents, with extensive help that explains what these methods do, how to
+ use them, and where to find them in the literature. Numerous built-in
+ data sets from regulatory guidance documents and environmental statistics
+ literature. Includes scripts reproducing analyses presented in the book
+ "EnvStats: An R Package for Environmental Statistics" (Millard, 2013,
+ Springer, ISBN 978-1-4614-8455-4,
+ <https://www.springer.com/book/9781461484554>)."""
homepage = "https://cloud.r-project.org/package=EnvStats"
url = "https://cloud.r-project.org/src/contrib/EnvStats_2.3.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/EnvStats"
+ version('2.4.0', sha256='49459e76412037b3d8021bd83ee93d140bc3e715a2a2282a347ef60061900514')
version('2.3.1', sha256='d753d42b42ff28c1cd25c63916fb2aa9e325941672fb16f7dfd97e218416cf2a')
version('2.3.0', sha256='51b7c982b4ffc6506579ec6933c817b780b8dade9f5e7754122e4132cb677a75')
version('2.2.1', sha256='bbad7736272a404302190ccf1095abd8674d4366f3827a1c0a9540bcafe0523e')
diff --git a/var/spack/repos/builtin/packages/r-ergm/package.py b/var/spack/repos/builtin/packages/r-ergm/package.py
index 0b853f1fbd..8314f66bfa 100644
--- a/var/spack/repos/builtin/packages/r-ergm/package.py
+++ b/var/spack/repos/builtin/packages/r-ergm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,18 +7,22 @@ from spack import *
class RErgm(RPackage):
- """An integrated set of tools to analyze and simulate networks based
- on exponential-family random graph models (ERGM). "ergm" is a
- part of the "statnet" suite of packages for network analysis."""
+ """Fit, Simulate and Diagnose Exponential-Family Models for Networks
+
+ An integrated set of tools to analyze and simulate networks based on
+ exponential-family random graph models (ERGM). "ergm" is a part of the
+ "statnet" suite of packages for network analysis."""
homepage = "http://statnet.org"
url = "https://cloud.r-project.org/src/contrib/ergm_3.7.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/ergm"
+ version('3.11.0', sha256='4e5506b44badc2343be3657acbf2bca51b47d7c187ff499d5a5e70a9811fe9f2')
version('3.10.4', sha256='885f0b1a23c5a2c1947962350cfab66683dfdfd1db173c115e90396d00831f22')
version('3.10.1', sha256='a2ac249ff07ba55b3359242f20389a892543b4fff5956d74143d2d41fa6d4beb')
version('3.7.1', sha256='91dd011953b93ecb2b84bb3ababe7bddae25d9d86e69337156effd1da84b54c3')
+ depends_on('r-network@1.15:', type=('build', 'run'))
depends_on('r-robustbase@0.93-5:', type=('build', 'run'))
depends_on('r-coda@0.19-2:', type=('build', 'run'))
depends_on('r-trust@0.1.7:', type=('build', 'run'))
@@ -26,11 +30,12 @@ class RErgm(RPackage):
depends_on('r-lpsolve@5.6.13:', type=('build', 'run'))
depends_on('r-mass@7.3-51.4:', type=('build', 'run'))
depends_on('r-statnet-common@4.3.0:', type=('build', 'run'))
- depends_on('r-network@1.15:', type=('build', 'run'))
+ depends_on('r-statnet-common@4.4.0:', when='@3.11.0:', type=('build', 'run'))
+ depends_on('r-rle', when='@3.11.0:', type=('build', 'run'))
depends_on('r-purrr@0.3.2:', when='@3.10.0:', type=('build', 'run'))
depends_on('r-rlang@0.3.4:', when='@3.10.0:', type=('build', 'run'))
depends_on('r-tibble@2.1.1:', when='@3.10.0:', type=('build', 'run'))
- depends_on('r-dplyr@0.8.0.1:', when='@3.10.0:', type=('build', 'run'))
+ depends_on('r-dplyr@0.8.0.1:', when='@3.10.0:3.10.4', type=('build', 'run'))
# The CRAN page list OpenMPI as a dependency but this is not a dependency
# for using the package. If one wishes to use MPI, simply load an MPI
# package, along with r-dosnow and r-rmpi when using r-ergm, and set the
diff --git a/var/spack/repos/builtin/packages/r-europepmc/package.py b/var/spack/repos/builtin/packages/r-europepmc/package.py
index 27480f7787..dae036aac9 100644
--- a/var/spack/repos/builtin/packages/r-europepmc/package.py
+++ b/var/spack/repos/builtin/packages/r-europepmc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,21 +7,36 @@ from spack import *
class REuropepmc(RPackage):
- """europepmc: R Interface to the Europe PubMed Central RESTful Web
- Service"""
+ """R Interface to the Europe PubMed Central RESTful Web Service
+
+ An R Client for the Europe PubMed Central RESTful Web Service (see
+ <https://europepmc.org/RestfulWebService> for more information). It gives
+ access to both metadata on life science literature and open access full
+ texts. Europe PMC indexes all PubMed content and other literature sources
+ including Agricola, a bibliographic database of citations to the
+ agricultural literature, or Biological Patents. In addition to
+ bibliographic metadata, the client allows users to fetch citations and
+ reference lists. Links between life-science literature and other EBI
+ databases, including ENA, PDB or ChEMBL are also accessible. No
+ registration or API key is required. See the vignettes for usage
+ examples."""
homepage = "http://github.com/ropensci/europepmc/"
url = "https://cloud.r-project.org/src/contrib/europepmc_0.3.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/europepmc"
+ version('0.4', sha256='d55f62963d0ee84830654bbc78f4ad8285e376b04be137cbeaf8ad2a98b7969c')
version('0.3', sha256='5044a253d223e2bb8502063cd03c0fe4db856467e497d650da7ccd8f75d0f8d9')
depends_on('r@3.00:', type=('build', 'run'))
- depends_on('r-dplyr', type=('build', 'run'))
depends_on('r-httr', type=('build', 'run'))
depends_on('r-jsonlite', type=('build', 'run'))
depends_on('r-plyr', type=('build', 'run'))
+ depends_on('r-dplyr', type=('build', 'run'))
depends_on('r-progress', type=('build', 'run'))
- depends_on('r-purrr', type=('build', 'run'))
depends_on('r-urltools', type=('build', 'run'))
+ depends_on('r-purrr', type=('build', 'run'))
depends_on('r-xml2', type=('build', 'run'))
+ depends_on('r-tibble', when='@0.4:', type=('build', 'run'))
+ depends_on('r-tidyr', when='@0.4:', type=('build', 'run'))
+ depends_on('r-rlang', when='@0.4:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-evaluate/package.py b/var/spack/repos/builtin/packages/r-evaluate/package.py
index d946976bf1..05ec1a4727 100644
--- a/var/spack/repos/builtin/packages/r-evaluate/package.py
+++ b/var/spack/repos/builtin/packages/r-evaluate/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-evd/package.py b/var/spack/repos/builtin/packages/r-evd/package.py
index c30bac399c..0d0d5fa4e5 100644
--- a/var/spack/repos/builtin/packages/r-evd/package.py
+++ b/var/spack/repos/builtin/packages/r-evd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-exactextractr/package.py b/var/spack/repos/builtin/packages/r-exactextractr/package.py
index 8374c5dcea..2adb6e73bc 100644
--- a/var/spack/repos/builtin/packages/r-exactextractr/package.py
+++ b/var/spack/repos/builtin/packages/r-exactextractr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,20 +7,21 @@ from spack import *
class RExactextractr(RPackage):
- """Provides a replacement for the 'extract' function from the 'raster'
- package that is suitable for extracting raster values using 'sf'
- polygons.
- """
+ """Fast Extraction from Raster Datasets using Polygons
+
+ Provides a replacement for the 'extract' function from the 'raster' package
+ that is suitable for extracting raster values using 'sf' polygons."""
homepage = "https://cloud.r-project.org/package=exactextractr"
url = "https://cloud.r-project.org/src/contrib/exactextractr_0.3.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/exactextractr"
+ version('0.5.1', sha256='47ddfb4b9e42e86957e03b1c745d657978d7c4bed12ed3aa053e1bc89f20616d')
version('0.3.0', sha256='c7fb38b38b9dc8b3ca5b8f1f84f4ba3256efd331f2b4636b496d42689ffc3fb0')
version('0.2.1', sha256='d0b998c77c3fd9265a600a0e08e9bf32a2490a06c19df0d0c0dea4b5c9ab5773')
- depends_on('r@3.4:', type=('build', 'run'))
+ depends_on('r@3.4.0:', type=('build', 'run'))
+ depends_on('r-rcpp@0.12.12:', type=('build', 'run'))
depends_on('r-raster', type=('build', 'run'))
depends_on('r-sf', type=('build', 'run'))
- depends_on('r-rcpp@0.12.12:', type=('build', 'run'))
- depends_on('geos@3.5:', type=('build', 'run', 'link'))
+ depends_on('geos@3.5.0:', type=('build', 'run', 'link'))
diff --git a/var/spack/repos/builtin/packages/r-exomecopy/package.py b/var/spack/repos/builtin/packages/r-exomecopy/package.py
index dbdcba29cd..63cea83434 100644
--- a/var/spack/repos/builtin/packages/r-exomecopy/package.py
+++ b/var/spack/repos/builtin/packages/r-exomecopy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RExomecopy(RPackage):
- """Detection of copy number variants (CNV) from exome sequencing samples,
+ """Copy number variant detection from exome sequencing read depth
+
+ Detection of copy number variants (CNV) from exome sequencing samples,
including unpaired samples. The package implements a hidden Markov model
which uses positional covariates, such as background read depth and
GC-content, to simultaneously normalize and segment the samples into
@@ -16,6 +18,7 @@ class RExomecopy(RPackage):
homepage = "http://www.bioconductor.org/packages/release/bioc/html/exomeCopy.html"
git = "https://git.bioconductor.org/packages/exomeCopy"
+ version('1.36.0', commit='cbe3134acbbc9b7d5426ae2f142dc64cadb3fc26')
version('1.32.0', commit='c9a884427d91b6d62ddc16a939bd808e389d3ea6')
depends_on('r-iranges@2.5.27:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-exomedepth/package.py b/var/spack/repos/builtin/packages/r-exomedepth/package.py
index 972c92c0b4..69da92775b 100644
--- a/var/spack/repos/builtin/packages/r-exomedepth/package.py
+++ b/var/spack/repos/builtin/packages/r-exomedepth/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-expint/package.py b/var/spack/repos/builtin/packages/r-expint/package.py
index 7fc6486a17..cae67e7a86 100644
--- a/var/spack/repos/builtin/packages/r-expint/package.py
+++ b/var/spack/repos/builtin/packages/r-expint/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,12 +8,21 @@ from spack import *
class RExpint(RPackage):
- """expint: Exponential Integral and Incomplete Gamma Function"""
+ """Exponential Integral and Incomplete Gamma Function
+
+ The exponential integrals E_1(x), E_2(x), E_n(x) and Ei(x), and the
+ incomplete gamma function G(a, x) defined for negative values of its first
+ argument. The package also gives easy access to the underlying C routines
+ through an API; see the package vignette for details. A test package
+ included in sub-directory example_API provides an implementation. C
+ routines derived from the GNU Scientific Library
+ <https://www.gnu.org/software/gsl/>."""
homepage = "https://cloud.r-project.org/package=expint"
url = "https://cloud.r-project.org/src/contrib/expint_0.1-5.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/expint"
+ version('0.1-6', sha256='c7d13a8e299a91e94622047fe22b0006137e7bf82e34d10871b631fa58115145')
version('0.1-5', sha256='b03d60938cd6cf615aa3a02b1bf73436785eca89eaff56059ee0807b8244718a')
depends_on('r@3.3.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-expm/package.py b/var/spack/repos/builtin/packages/r-expm/package.py
index af64603e2c..3e005d7196 100644
--- a/var/spack/repos/builtin/packages/r-expm/package.py
+++ b/var/spack/repos/builtin/packages/r-expm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,16 @@ from spack import *
class RExpm(RPackage):
- """Computation of the matrix exponential, logarithm, sqrt, and related
+ """Matrix Exponential, Log, 'etc'
+
+ Computation of the matrix exponential, logarithm, sqrt, and related
quantities."""
homepage = "http://r-forge.r-project.org/projects/expm"
url = "https://cloud.r-project.org/src/contrib/expm_0.999-2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/expm"
+ version('0.999-6', sha256='2c79912fd2e03fcf89c29f09555880934402fcb2359af8b4579d79b4f955addc')
version('0.999-4', sha256='58d06427a08c9442462b00a5531e2575800be13ed450c5a1546261251e536096')
version('0.999-3', sha256='511bac5860cc5b3888bca626cdf23241b6118eabcc82d100935386039e516412')
version('0.999-2', sha256='38f1e5bfa90f794486789695d0d9e49158c7eb9445dc171dd83dec3d8fa130d6')
diff --git a/var/spack/repos/builtin/packages/r-factoextra/package.py b/var/spack/repos/builtin/packages/r-factoextra/package.py
index b5b4caf941..48e4884a14 100644
--- a/var/spack/repos/builtin/packages/r-factoextra/package.py
+++ b/var/spack/repos/builtin/packages/r-factoextra/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,22 @@ from spack import *
class RFactoextra(RPackage):
- """factoextra: Extract and Visualize the Results of Multivariate Data
- Analyses"""
+ """Extract and Visualize the Results of Multivariate Data Analyses
+
+ Provides some easy-to-use functions to extract and visualize the output of
+ multivariate data analyses, including 'PCA' (Principal Component Analysis),
+ 'CA' (Correspondence Analysis), 'MCA' (Multiple Correspondence Analysis),
+ 'FAMD' (Factor Analysis of Mixed Data), 'MFA' (Multiple Factor Analysis)
+ and 'HMFA' (Hierarchical Multiple Factor Analysis) functions from different
+ R packages. It contains also functions for simplifying some clustering
+ analysis steps and provides 'ggplot2' - based elegant data
+ visualization."""
homepage = "http://www.sthda.com/english/rpkgs/factoextra"
url = "https://cloud.r-project.org/src/contrib/factoextra_1.0.4.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/factoextra"
+ version('1.0.7', sha256='624ff01c74933352aca55966f8a052b1ccc878f52c2c307e47f88e0665db94aa')
version('1.0.5', sha256='8177a3f5107883ae248b2cd0afa388a1794741f5155a9455b3883788cf44d5d0')
version('1.0.4', sha256='e4a000a04ef5b9aa0790dc6e5277451c482a19ba10dda9474f6c6982424aeed3')
diff --git a/var/spack/repos/builtin/packages/r-factominer/package.py b/var/spack/repos/builtin/packages/r-factominer/package.py
index dbae32d420..4ec3de8676 100644
--- a/var/spack/repos/builtin/packages/r-factominer/package.py
+++ b/var/spack/repos/builtin/packages/r-factominer/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,22 @@ from spack import *
class RFactominer(RPackage):
- """FactoMineR: Multivariate Exploratory Data Analysis and Data Mining"""
+ """Multivariate Exploratory Data Analysis and Data Mining
+
+ Exploratory data analysis methods to summarize, visualize and describe
+ datasets. The main principal component methods are available, those with
+ the largest potential in terms of applications: principal component
+ analysis (PCA) when variables are quantitative, correspondence analysis
+ (CA) and multiple correspondence analysis (MCA) when variables are
+ categorical, Multiple Factor Analysis when variables are structured in
+ groups, etc. and hierarchical cluster analysis. F. Husson, S. Le and J.
+ Pages (2017)."""
homepage = "http://factominer.free.fr"
url = "https://cloud.r-project.org/src/contrib/FactoMineR_1.35.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/FactoMineR"
+ version('2.4', sha256='b9e3adce9a66b4daccc85fa67cb0769d6be230beeb126921b386ccde5db2e851')
version('1.42', sha256='4cd9efb3681767c3bd48ddc3504ebead1493fcbbc0a9f759a00955b16c3481fa')
version('1.41', sha256='a9889d69e298b8a01e8d0a5a54260730e742c95681e367d759829aad9a8740c0')
version('1.40', sha256='68cb778fe7581b55666a5ae4aa7a5e7fa3ecbd133ae8cff1b2371a737b6d95e8')
@@ -22,11 +32,15 @@ class RFactominer(RPackage):
version('1.35', sha256='afe176fe561d1d16c5965ecb2b80ec90a56d0fbcd75c43ec8025a401a5b715a9')
depends_on('r@3.0.0:', type=('build', 'run'))
+ depends_on('r@3.5.0:', when='@2.4:', type=('build', 'run'))
depends_on('r-car', type=('build', 'run'))
depends_on('r-cluster', type=('build', 'run'))
+ depends_on('r-dt', when='@2.4:', type=('build', 'run'))
depends_on('r-ellipse', type=('build', 'run'))
depends_on('r-flashclust', type=('build', 'run'))
depends_on('r-lattice', type=('build', 'run'))
depends_on('r-leaps', type=('build', 'run'))
depends_on('r-mass', type=('build', 'run'))
depends_on('r-scatterplot3d', type=('build', 'run'))
+ depends_on('r-ggplot2', when='@2.4:', type=('build', 'run'))
+ depends_on('r-ggrepel', when='@2.4:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-fansi/package.py b/var/spack/repos/builtin/packages/r-fansi/package.py
index 7e25449302..a6312bb4d1 100644
--- a/var/spack/repos/builtin/packages/r-fansi/package.py
+++ b/var/spack/repos/builtin/packages/r-fansi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,9 +11,10 @@ class RFansi(RPackage):
for the effects of ANSI text formatting control sequences."""
homepage = "https://cloud.r-project.org/package=fansi"
- url = "https://cloud.r-project.org/src/contrib/fansi_0.4.0.tar.gz"
+ url = "https://cloud.r-project.org/src/contrib/fansi_0.4.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/fansi"
+ version('0.4.1', sha256='3c69eec803a3827e5227f9cf084976eeb738b22c7eb7665bb5faa251bce41e09')
version('0.4.0', sha256='e104e9d01c7ff8a847f6b332ef544c0ef912859f9c6a514fe2e6f3b34fcfc209')
version('0.3.0', sha256='dd6401d5c91ff4c45d752cceddd5379d1ae39a8a1196f236b0bc0ec6d691b88c')
version('0.2.3', sha256='db6dfef8bfe6682d58b654b6a6a1d59cb07225ca41755176b465ab8611fd96c9')
diff --git a/var/spack/repos/builtin/packages/r-farver/package.py b/var/spack/repos/builtin/packages/r-farver/package.py
index db4d14228a..868e2e216b 100644
--- a/var/spack/repos/builtin/packages/r-farver/package.py
+++ b/var/spack/repos/builtin/packages/r-farver/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,10 +7,19 @@ from spack import *
class RFarver(RPackage):
- """farver: High Performance Colour Space Manipulation"""
+ """High Performance Colour Space Manipulation
+
+ The encoding of colour can be handled in many different ways, using
+ different colour spaces. As different colour spaces have different uses,
+ efficient conversion between these representations are important. The
+ 'farver' package provides a set of functions that gives access to very fast
+ colour space conversion and comparisons implemented in C++, and offers
+ speed improvements over the 'convertColor' function in the 'grDevices'
+ package."""
homepage = "https://github.com/thomasp85/farver"
url = "https://cloud.r-project.org/src/contrib/farver_2.0.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/farver"
- version('2.0.1', sha256='1642ca1519ef80616ab044ae7f6eaf464118356f2a7875e9d0e3df60ca84012b')
+ version('2.0.3', sha256='0e1590df79ec6078f10426411b96216b70568a4eaf3ffd84ca723add0ed8e5cc')
+ version('2.0.1', sha256='71473e21727357084c6aec4bb9bb258a6797a0f676b4b27504a03f16aa2f4e54')
diff --git a/var/spack/repos/builtin/packages/r-fastcluster/package.py b/var/spack/repos/builtin/packages/r-fastcluster/package.py
index 2848a10923..1a11c60cf9 100644
--- a/var/spack/repos/builtin/packages/r-fastcluster/package.py
+++ b/var/spack/repos/builtin/packages/r-fastcluster/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-fastmap/package.py b/var/spack/repos/builtin/packages/r-fastmap/package.py
new file mode 100644
index 0000000000..52dd7db5b1
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-fastmap/package.py
@@ -0,0 +1,23 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RFastmap(RPackage):
+ """Fast Implementation of a Key-Value Store
+
+ Fast implementation of a key-value store. Environments are commonly used as
+ key-value stores, but every time a new key is used, it is added to R's
+ global symbol table, causing a small amount of memory leakage. This can be
+ problematic in cases where many different keys are used. Fastmap avoids
+ this memory leak issue by implementing the map using data structures in
+ C++."""
+
+ homepage = "https://r-lib.github.io/fastmap/"
+ url = "https://cloud.r-project.org/src/contrib/fastmap_1.0.1.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/fastmap"
+
+ version('1.0.1', sha256='4778b05dfebd356f8df980dfeff3b973a72bca14898f870e5c40c1d84db9faec')
diff --git a/var/spack/repos/builtin/packages/r-fastmatch/package.py b/var/spack/repos/builtin/packages/r-fastmatch/package.py
index 5c4c5a4895..4b4fe3f9fa 100644
--- a/var/spack/repos/builtin/packages/r-fastmatch/package.py
+++ b/var/spack/repos/builtin/packages/r-fastmatch/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-fastmatrix/package.py b/var/spack/repos/builtin/packages/r-fastmatrix/package.py
new file mode 100644
index 0000000000..2a69b92f64
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-fastmatrix/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RFastmatrix(RPackage):
+ """Fast Computation of some Matrices Useful in Statistics
+
+ Small set of functions to fast computation of some matrices and operations
+ useful in statistics."""
+
+ homepage = "https://faosorios.github.io/fastmatrix/"
+ url = "https://cloud.r-project.org/src/contrib/fastmatrix_0.3.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/fastmatrix"
+
+ version('0.3', sha256='d92e789454a129db5f6f5b23e0d2245f3d55ff34b167427af265b9a6331e7c21')
+
+ depends_on('r@3.5.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-fdb-infiniummethylation-hg18/package.py b/var/spack/repos/builtin/packages/r-fdb-infiniummethylation-hg18/package.py
index 98b09d0353..59907838af 100644
--- a/var/spack/repos/builtin/packages/r-fdb-infiniummethylation-hg18/package.py
+++ b/var/spack/repos/builtin/packages/r-fdb-infiniummethylation-hg18/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RFdbInfiniummethylationHg18(RPackage):
- """Compiled HumanMethylation27 and HumanMethylation450 annotations"""
+ """Annotation package for Illumina Infinium DNA methylation probes
+
+ Compiled HumanMethylation27 and HumanMethylation450 annotations"""
# This is a bioconductor package but there is no available git repository
homepage = "http://bioconductor.org/packages/release/data/annotation/html/FDb.InfiniumMethylation.hg18.html"
diff --git a/var/spack/repos/builtin/packages/r-fdb-infiniummethylation-hg19/package.py b/var/spack/repos/builtin/packages/r-fdb-infiniummethylation-hg19/package.py
index ae6749434a..0c9d2459b5 100644
--- a/var/spack/repos/builtin/packages/r-fdb-infiniummethylation-hg19/package.py
+++ b/var/spack/repos/builtin/packages/r-fdb-infiniummethylation-hg19/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RFdbInfiniummethylationHg19(RPackage):
- """Compiled HumanMethylation27 and HumanMethylation450 annotations."""
+ """Annotation package for Illumina Infinium DNA methylation probes
+
+ Compiled HumanMethylation27 and HumanMethylation450 annotations."""
# No available git repository
homepage = "https://bioconductor.org/packages/release/data/annotation/html/FDb.InfiniumMethylation.hg19.html"
diff --git a/var/spack/repos/builtin/packages/r-ff/package.py b/var/spack/repos/builtin/packages/r-ff/package.py
index 72eb021612..8e0552852f 100644
--- a/var/spack/repos/builtin/packages/r-ff/package.py
+++ b/var/spack/repos/builtin/packages/r-ff/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,17 +7,60 @@ from spack import *
class RFf(RPackage):
- """memory-efficient storage of large data on disk and
- fast access functions."""
+ """Memory-Efficient Storage of Large Data on Disk and Fast Access Functions
+
+ The ff package provides data structures that are stored on disk but behave
+ (almost) as if they were in RAM by transparently mapping only a section
+ (pagesize) in main memory - the effective virtual memory consumption per
+ ff object. ff supports R's standard atomic data types 'double', 'logical',
+ 'raw' and 'integer' and non-standard atomic types boolean (1 bit), quad (2
+ bit unsigned), nibble (4 bit unsigned), byte (1 byte signed with NAs),
+ ubyte (1 byte unsigned), short (2 byte signed with NAs), ushort (2 byte
+ unsigned), single (4 byte float with NAs). For example 'quad' allows
+ efficient storage of genomic data as an 'A','T','G','C' factor. The
+ unsigned types support 'circular' arithmetic. There is also support for
+ close-to-atomic types 'factor', 'ordered', 'POSIXct', 'Date' and custom
+ close-to-atomic types. ff not only has native C-support for vectors,
+ matrices and arrays with flexible dimorder (major column-order, major
+ row-order and generalizations for arrays). There is also a ffdf class not
+ unlike data.frames and import/export filters for csv files. ff objects
+ store raw data in binary flat files in native encoding, and complement this
+ with metadata stored in R as physical and virtual attributes. ff objects
+ have well-defined hybrid copying semantics, which gives rise to certain
+ performance improvements through virtualization. ff objects can be stored
+ and reopened across R sessions. ff files can be shared by multiple ff R
+ objects (using different data en/de-coding schemes) in the same process
+ or from multiple R processes to exploit parallelism. A wide choice of
+ finalizer options allows to work with 'permanent' files as well as
+ creating/removing 'temporary' ff files completely transparent to the user.
+ On certain OS/Filesystem combinations, creating the ff files works without
+ notable delay thanks to using sparse file allocation. Several access
+ optimization techniques such as Hybrid Index Preprocessing and
+ Virtualization are implemented to achieve good performance even with large
+ datasets, for example virtual matrix transpose without touching a single
+ byte on disk. Further, to reduce disk I/O, 'logicals' and non-standard
+ data types get stored native and compact on binary flat files i.e.
+ logicals take up exactly 2 bits to represent TRUE, FALSE and NA. Beyond
+ basic access functions, the ff package also provides compatibility
+ functions that facilitate writing code for ff and ram objects and support
+ for batch processing on ff objects (e.g. as.ram, as.ff, ffapply). ff
+ interfaces closely with functionality from package 'bit': chunked looping,
+ fast bit operations and coercions between different objects that can store
+ subscript information ('bit', 'bitwhich', ff 'boolean', ri range index, hi
+ hybrid index). This allows to work interactively with selections of large
+ datasets and quickly modify selection criteria. Further high-performance
+ enhancements can be made available upon request.x """
homepage = "http://ff.r-forge.r-project.org/"
url = "https://cloud.r-project.org/src/contrib/ff_2.2-13.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/ff"
+ version('4.0.4', sha256='22ecf1811263f27c9fd9f7e13e77f97dcbc0b8ae6f59b76dbaed77569c13d2e5')
version('2.2-14', sha256='1c6307847275b1b8ad9e2ffdce3f4df3c9d955dc2e8a45e3fd7bfd2b0926e2f0')
version('2.2-13', sha256='8bfb08afe0651ef3c23aaad49208146d5f929af5af12a25262fe7743fa346ddb')
depends_on('r@2.10.1:', type=('build', 'run'))
depends_on('r-bit@1.1-13:', type=('build', 'run'))
+ depends_on('r-bit@4.0.0:', when='@4.0.4:', type=('build', 'run'))
patch('utk_platform_macros.hpp.patch', when='target=aarch64:')
diff --git a/var/spack/repos/builtin/packages/r-fftwtools/package.py b/var/spack/repos/builtin/packages/r-fftwtools/package.py
index 4f3074e7c4..831037cf1c 100644
--- a/var/spack/repos/builtin/packages/r-fftwtools/package.py
+++ b/var/spack/repos/builtin/packages/r-fftwtools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,18 +7,22 @@ from spack import *
class RFftwtools(RPackage):
- """Provides a wrapper for several 'FFTW' functions. This package provides
- access to the two-dimensional 'FFT', the multivariate 'FFT', and the
- one-dimensional real to complex 'FFT' using the 'FFTW3' library. The
- package includes the functions fftw() and mvfftw() which are designed
- to mimic the functionality of the R functions fft() and mvfft().
- The 'FFT' functions have a parameter that allows them to not return
- the redundant complex conjugate when the input is real data."""
+ """Wrapper for 'FFTW3' Includes: One-Dimensional Univariate,
+ One-Dimensional Multivariate, and Two-Dimensional Transform
+
+ Provides a wrapper for several 'FFTW' functions. This package provides
+ access to the two-dimensional 'FFT', the multivariate 'FFT', and the
+ one-dimensional real to complex 'FFT' using the 'FFTW3' library. The
+ package includes the functions fftw() and mvfftw() which are designed to
+ mimic the functionality of the R functions fft() and mvfft(). The 'FFT'
+ functions have a parameter that allows them to not return the redundant
+ complex conjugate when the input is real data."""
homepage = "https://github.com/krahim/fftwtools"
url = "https://cloud.r-project.org/src/contrib/fftwtools_0.9-8.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/fftwtools"
+ version('0.9-9', sha256='a9273b7e495d228d740ab4525467e4bbefe8614bd2d97e7234017f1305f51441')
version('0.9-8', sha256='4641c8cd70938c2a8bde0b6da6cf7f83e96175ef52f1ca42ec3920a1dabf1bdb')
depends_on('r@2.15.2:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-fgsea/package.py b/var/spack/repos/builtin/packages/r-fgsea/package.py
index 6787e4d33f..80ab4145c8 100644
--- a/var/spack/repos/builtin/packages/r-fgsea/package.py
+++ b/var/spack/repos/builtin/packages/r-fgsea/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RFgsea(RPackage):
- """Fast Gene Set Enrichment Analysis.
+ """Fast Gene Set Enrichment Analysis
The package implements an algorithm for fast gene set enrichment
analysis. Using the fast algorithm allows to make more permutations and
@@ -17,6 +17,7 @@ class RFgsea(RPackage):
homepage = "https://bioconductor.org/packages/fgsea"
git = "https://git.bioconductor.org/packages/fgsea.git"
+ version('1.16.0', commit='9d9df596c7e160afa18e067b7637cfc465494318')
version('1.10.1', commit='fb06a6ebfb4a195e77e37226d100a2148b90c5f3')
version('1.8.0', commit='bb2898aca9fb23e90770671a83fe23f79bb1841b')
version('1.6.0', commit='52b801b7c2dfd8238fa8f2b402fddb4fda60271d')
@@ -30,7 +31,5 @@ class RFgsea(RPackage):
depends_on('r-ggplot2@2.2.0:', type=('build', 'run'))
depends_on('r-gridextra', type=('build', 'run'))
depends_on('r-fastmatch', type=('build', 'run'))
-
depends_on('r-matrix', when='@1.6.0:', type=('build', 'run'))
-
depends_on('r-bh', when='@1.10.1:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-fields/package.py b/var/spack/repos/builtin/packages/r-fields/package.py
index 9d1aae306a..44dd2fc8ba 100644
--- a/var/spack/repos/builtin/packages/r-fields/package.py
+++ b/var/spack/repos/builtin/packages/r-fields/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,14 +7,40 @@ from spack import *
class RFields(RPackage):
- """fields: Tools for Spatial Data"""
+ """Tools for Spatial Data
+
+ For curve, surface and function fitting with an emphasis; on splines,
+ spatial data, geostatistics, and spatial statistics. The major methods;
+ include cubic, and thin plate splines, Kriging, and compactly supported;
+ covariance functions for large data sets. The splines and Kriging methods
+ are; supported by functions that can determine the smoothing parameter;
+ (nugget and sill variance) and other covariance function parameters by
+ cross; validation and also by restricted maximum likelihood. For Kriging;
+ there is an easy to use function that also estimates the correlation; scale
+ (range parameter). A major feature is that any covariance function;
+ implemented in R and following a simple format can be used for; spatial
+ prediction. There are also many useful functions for plotting; and working
+ with spatial data as images. This package also contains; an implementation
+ of sparse matrix methods for large spatial data; sets and currently
+ requires the sparse matrix (spam) package. Use; help(fields) to get started
+ and for an overview. The fields source; code is deliberately commented and
+ provides useful explanations of; numerical details as a companion to the
+ manual pages. The commented; source code can be viewed by expanding the
+ source code version; and looking in the R subdirectory. The reference for
+ fields can be generated; by the citation function in R and has DOI
+ <doi:10.5065/D6W957CT>. Development; of this package was supported in part
+ by the National Science Foundation Grant; 1417857, the National Center
+ for Atmospheric Research, and Colorado School of Mines.; See the Fields
+ URL; for a vignette on using this package and some background on spatial
+ statistics."""
homepage = "https://github.com/NCAR/Fields"
url = "https://cloud.r-project.org/src/contrib/fields_9.9.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/fields"
+ version('11.6', sha256='8600d1d992c40668cc2ab01b3c17d0e1bd44a001ec7ba9f468bc0e9ef87c59db')
version('9.9', sha256='262f03c630773b580c7162ab2a031c894ca489fd83989fd8a2f67573306e78e1')
depends_on('r@3.0:', type=('build', 'run'))
- depends_on('r-maps', type=('build', 'run'))
depends_on('r-spam', type=('build', 'run'))
+ depends_on('r-maps', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-filehash/package.py b/var/spack/repos/builtin/packages/r-filehash/package.py
index 5a5c60a782..a9926f0a60 100644
--- a/var/spack/repos/builtin/packages/r-filehash/package.py
+++ b/var/spack/repos/builtin/packages/r-filehash/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-findpython/package.py b/var/spack/repos/builtin/packages/r-findpython/package.py
index c6e0754c3c..406bd11cbc 100644
--- a/var/spack/repos/builtin/packages/r-findpython/package.py
+++ b/var/spack/repos/builtin/packages/r-findpython/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-fit-models/package.py b/var/spack/repos/builtin/packages/r-fit-models/package.py
index c7809293a6..ae80f1946e 100644
--- a/var/spack/repos/builtin/packages/r-fit-models/package.py
+++ b/var/spack/repos/builtin/packages/r-fit-models/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,23 @@ from spack import *
class RFitModels(RPackage):
- """Compare Fitted Models"""
+ """Compare Fitted Models
+
+ The fit.models function and its associated methods (coefficients, print,
+ summary, plot, etc.) were originally provided in the robust package to
+ compare robustly and classically fitted model objects. See chapters 2, 3,
+ and 5 in Insightful (2002) 'Robust Library User's Guide'
+ <http://robust.r-forge.r-project.org/Robust.pdf>). The aim of the
+ fit.models package is to separate this fitted model object comparison
+ functionality from the robust package and to extend it to support fitting
+ methods (e.g., classical, robust, Bayesian, regularized, etc.) more
+ generally."""
homepage = "https://cloud.r-project.org/package=fit.models"
url = "https://cloud.r-project.org/src/contrib/fit.models_0.5-14.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/fit.models"
+ version('0.64', sha256='f70806bfa85a05337fa5a665264d640e307584714a07a329fbe96c86b0e864da')
version('0.5-14', sha256='93b9d119e97b36c648a19c891fc5e69f5306eb5b9bac16bf377555057afd4b6e')
version('0.5-13', sha256='7df545fce135159e9abf0a19076628d3ec2999e89f018e142a7a970428823d48')
diff --git a/var/spack/repos/builtin/packages/r-fitdistrplus/package.py b/var/spack/repos/builtin/packages/r-fitdistrplus/package.py
index bef9620500..935c3784af 100644
--- a/var/spack/repos/builtin/packages/r-fitdistrplus/package.py
+++ b/var/spack/repos/builtin/packages/r-fitdistrplus/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RFitdistrplus(RPackage):
- """Extends the fitdistr() function (of the MASS package) with several
+ """Help to Fit of a Parametric Distribution to Non-Censored or Censored Data
+
+ Extends the fitdistr() function (of the MASS package) with several
functions to help the fit of a parametric distribution to non-censored or
censored data. Censored data may contain left censored, right censored and
interval censored values, with several lower and upper bounds. In addition
@@ -21,9 +23,10 @@ class RFitdistrplus(RPackage):
url = "https://cloud.r-project.org/src/contrib/fitdistrplus_1.0-14.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/fitdistrplus"
+ version('1.1-3', sha256='776d5456e14398e44b78b3d7db526559bb7a3537e546a29c88aa192141c756de')
version('1.0-14', sha256='85082590f62aa08d99048ea3414c5cc1e5b780d97b3779d2397c6cb435470083')
depends_on('r@3.2.0:', type=('build', 'run'))
depends_on('r-mass', type=('build', 'run'))
depends_on('r-survival', type=('build', 'run'))
- depends_on('r-npsurv', type=('build', 'run'))
+ depends_on('r-npsurv', when='@:1.0-14', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-flashclust/package.py b/var/spack/repos/builtin/packages/r-flashclust/package.py
index 091175742e..9952dd0075 100644
--- a/var/spack/repos/builtin/packages/r-flashclust/package.py
+++ b/var/spack/repos/builtin/packages/r-flashclust/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-flexclust/package.py b/var/spack/repos/builtin/packages/r-flexclust/package.py
index df2e3bc286..321c940cc5 100644
--- a/var/spack/repos/builtin/packages/r-flexclust/package.py
+++ b/var/spack/repos/builtin/packages/r-flexclust/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-flexmix/package.py b/var/spack/repos/builtin/packages/r-flexmix/package.py
index 8cced441c5..c44c6213a3 100644
--- a/var/spack/repos/builtin/packages/r-flexmix/package.py
+++ b/var/spack/repos/builtin/packages/r-flexmix/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,19 @@ from spack import *
class RFlexmix(RPackage):
- """flexmix: Flexible Mixture Modeling"""
+ """Flexible Mixture Modeling
+
+ A general framework for finite mixtures of regression models using the EM
+ algorithm is implemented. The E-step and all data handling are provided,
+ while the M-step can be supplied by the user to easily define new models.
+ Existing drivers implement mixtures of standard linear models, generalized
+ linear models and model-based clustering."""
homepage = "https://cloud.r-project.org/package=flexmix"
url = "https://cloud.r-project.org/src/contrib/flexmix_2.3-14.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/flexmix"
+ version('2.3-17', sha256='36019b7833032409ac61720dd625fa5a581a1d8bcba9045b04979c90907b5649')
version('2.3-15', sha256='ba444c0bfe33ab87d440ab590c06b03605710acd75811c1622253171bb123f43')
version('2.3-14', sha256='837c7f175a211b3c484b2c7b81ec9729889a614c5c6e7d70c95a2c1d60ff846a')
diff --git a/var/spack/repos/builtin/packages/r-fnn/package.py b/var/spack/repos/builtin/packages/r-fnn/package.py
index b41b878476..85955c4dd7 100644
--- a/var/spack/repos/builtin/packages/r-fnn/package.py
+++ b/var/spack/repos/builtin/packages/r-fnn/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-forcats/package.py b/var/spack/repos/builtin/packages/r-forcats/package.py
index f9d2b3858c..f4fdea8b4e 100644
--- a/var/spack/repos/builtin/packages/r-forcats/package.py
+++ b/var/spack/repos/builtin/packages/r-forcats/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,21 +7,25 @@ from spack import *
class RForcats(RPackage):
- """Helpers for reordering factor levels (including moving specified levels
- to front, ordering by first appearance, reversing, and randomly
- shuffling), and tools for modifying factor levels (including collapsing
- rare levels into other, 'anonymising', and manually 'recoding')."""
+ """Tools for Working with Categorical Variables (Factors)
+
+ Helpers for reordering factor levels (including moving specified levels to
+ front, ordering by first appearance, reversing, and randomly shuffling),
+ and tools for modifying factor levels (including collapsing rare levels
+ into other, 'anonymising', and manually 'recoding')."""
homepage = "http://forcats.tidyverse.org/"
url = "https://cloud.r-project.org/src/contrib/forcats_0.2.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/forcats"
+ version('0.5.0', sha256='8f960e789333ec597ddf2d653a64e330f03b86f465e9b71f6779f227355d90c4')
version('0.4.0', sha256='7c83cb576aa6fe1379d7506dcc332f7560068b2025f9e3ab5cd0a5f28780d2b2')
version('0.3.0', sha256='95814610ec18b8a8830eba63751954387f9d21400d6ab40394ed0ff22c0cb657')
version('0.2.0', sha256='b5bce370422d4c0ec9509249ae645373949bfbe9217cdf50dce2bfbdad9f7cd7')
depends_on('r@3.1:', type=('build', 'run'))
- depends_on('r-tibble', type=('build', 'run'))
- depends_on('r-magrittr', type=('build', 'run'))
+ depends_on('r@3.2:', when='@0.5.0:', type=('build', 'run'))
depends_on('r-ellipsis', when='@0.4.0:', type=('build', 'run'))
+ depends_on('r-magrittr', type=('build', 'run'))
depends_on('r-rlang', when='@0.4.0:', type=('build', 'run'))
+ depends_on('r-tibble', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-foreach/package.py b/var/spack/repos/builtin/packages/r-foreach/package.py
index d87d126173..32eabf22a8 100644
--- a/var/spack/repos/builtin/packages/r-foreach/package.py
+++ b/var/spack/repos/builtin/packages/r-foreach/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RForeach(RPackage):
- """Support for the foreach looping construct. Foreach is an idiom that
+ """Provides Foreach Looping Construct
+
+ Support for the foreach looping construct. Foreach is an idiom that
allows for iterating over elements in a collection, without the use of an
explicit loop counter. This package in particular is intended to be used
for its return value, rather than for its side effects. In that sense, it
@@ -19,6 +21,7 @@ class RForeach(RPackage):
url = "https://cloud.r-project.org/src/contrib/foreach_1.4.3.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/foreach"
+ version('1.5.1', sha256='fb5ad69e295618c52b2ac7dff84a0771462870a97345374d43b3de2dc31a68e1')
version('1.4.7', sha256='95632c0b1182fc01490718d82fa3b2bce864f2a011ae53282431c7c2a3f5f160')
version('1.4.3', sha256='1ef03f770f726a62e3753f2402eb26b226245958fa99d570d003fc9e47d35881')
diff --git a/var/spack/repos/builtin/packages/r-forecast/package.py b/var/spack/repos/builtin/packages/r-forecast/package.py
index 7b51195eb2..cc307f472e 100644
--- a/var/spack/repos/builtin/packages/r-forecast/package.py
+++ b/var/spack/repos/builtin/packages/r-forecast/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RForecast(RPackage):
- """Methods and tools for displaying and analysing univariate time
+ """Forecasting Functions for Time Series and Linear Models
+
+ Methods and tools for displaying and analysing univariate time
series forecasts including exponential smoothing via state space
models and automatic ARIMA modelling."""
@@ -15,20 +17,21 @@ class RForecast(RPackage):
url = "https://cloud.r-project.org/src/contrib/forecast_8.2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/forecast"
+ version('8.13', sha256='490e3a2beb71c238dd26e7afa0b33394b9906dd0dc54712d4808894d5aa1386f')
version('8.8', sha256='d077074d77d3ea00e9215c828b3689a8c841a16af1e6859bb2dfdede081c2c1d')
version('8.6', sha256='4279e4f700e26310bae39419ab4a9b5918a850148667a5e577a4807d53eb4d02')
version('8.2', sha256='eb3fab64ed139d068e7d026cd3880f1b623f4153a832fb71845488fa75e8b812')
depends_on('r@3.0.2:', type=('build', 'run'))
- depends_on('r-magrittr', type=('build', 'run'))
- depends_on('r-ggplot2@2.2.1:', type=('build', 'run'))
depends_on('r-colorspace', type=('build', 'run'))
+ depends_on('r-fracdiff', type=('build', 'run'))
+ depends_on('r-ggplot2@2.2.1:', type=('build', 'run'))
+ depends_on('r-lmtest', type=('build', 'run'))
+ depends_on('r-magrittr', type=('build', 'run'))
depends_on('r-nnet', type=('build', 'run'))
depends_on('r-rcpp@0.11.0:', type=('build', 'run'))
- depends_on('r-fracdiff', type=('build', 'run'))
+ depends_on('r-timedate', type=('build', 'run'))
depends_on('r-tseries', type=('build', 'run'))
- depends_on('r-lmtest', type=('build', 'run'))
+ depends_on('r-urca', when='@8.6:', type=('build', 'run'))
depends_on('r-zoo', type=('build', 'run'))
- depends_on('r-timedate', type=('build', 'run'))
depends_on('r-rcpparmadillo@0.2.35:', type=('build', 'run'))
- depends_on('r-urca', when='@8.6:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-foreign/package.py b/var/spack/repos/builtin/packages/r-foreign/package.py
index a7f322cfc0..af628204fc 100644
--- a/var/spack/repos/builtin/packages/r-foreign/package.py
+++ b/var/spack/repos/builtin/packages/r-foreign/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,16 +7,21 @@ from spack import *
class RForeign(RPackage):
- """Functions for reading and writing data stored by some versions of Epi
- Info, Minitab, S, SAS, SPSS, Stata, Systat and Weka and for reading and
- writing some dBase files."""
+ """Read Data Stored by 'Minitab', 'S', 'SAS', 'SPSS', 'Stata', 'Systat',
+ 'Weka', 'dBase', ...
+
+ Reading and writing data stored by some versions of 'Epi Info', 'Minitab',
+ 'S', 'SAS', 'SPSS', 'Stata', 'Systat', 'Weka', and for reading and writing
+ some 'dBase' files."""
homepage = "https://cloud.r-project.org/package=foreign"
url = "https://cloud.r-project.org/src/contrib/foreign_0.8-66.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/foreign"
+ version('0.8-81', sha256='1ae8f9f18f2a037697fa1a9060417ff255c71764f0145080b2bd23ba8262992c')
version('0.8-72', sha256='439c17c9cd387e180b1bb640efff3ed1696b1016d0f7b3b3b884e89884488c88')
version('0.8-70.2', sha256='ae82fad68159860b8ca75b49538406ef3d2522818e649d7ccc209c18085ef179')
version('0.8-66', sha256='d7401e5fcab9ce6e697d3520dbb8475e229c30341c0004c4fa489c82aa4447a4')
depends_on('r@3.0.0:', type=('build', 'run'))
+ depends_on('r@4.0.0:', when='@0.8-81:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-formatr/package.py b/var/spack/repos/builtin/packages/r-formatr/package.py
index 2286379cfb..0a4ff03258 100644
--- a/var/spack/repos/builtin/packages/r-formatr/package.py
+++ b/var/spack/repos/builtin/packages/r-formatr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-formula/package.py b/var/spack/repos/builtin/packages/r-formula/package.py
index 575a11f0ab..41fa4abc93 100644
--- a/var/spack/repos/builtin/packages/r-formula/package.py
+++ b/var/spack/repos/builtin/packages/r-formula/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,13 +8,17 @@ from spack import *
class RFormula(RPackage):
- """Infrastructure for extended formulas with multiple parts on the right-hand
- side and/or multiple responses on the left-hand side."""
+ """Extended Model Formulas
+
+ Infrastructure for extended formulas with multiple parts on the right-hand
+ side and/or multiple responses on the left-hand side (see
+ <doi:10.18637/jss.v034.i01>)."""
homepage = "https://cloud.r-project.org/package=Formula"
url = "https://cloud.r-project.org/src/contrib/Formula_1.2-2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/Formula"
+ version('1.2-4', sha256='cb70e373b5ed2fc8450937fb3321d37dfd22dcc6f07cb872a419d51205125caf')
version('1.2-3', sha256='1411349b20bd09611a9fd0ee6d15f780c758ad2b0e490e908facb49433823872')
version('1.2-2', sha256='8def4600fb7457d38db8083733477501b54528974aa216e4adf8871bff4aa429')
version('1.2-1', sha256='5db1ef55119b299c9d291e1c5c08e2d51b696303daf4e7295c38ff5fc428360a')
diff --git a/var/spack/repos/builtin/packages/r-fpc/package.py b/var/spack/repos/builtin/packages/r-fpc/package.py
index adec9cd72b..5ed8efa025 100644
--- a/var/spack/repos/builtin/packages/r-fpc/package.py
+++ b/var/spack/repos/builtin/packages/r-fpc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,30 @@ from spack import *
class RFpc(RPackage):
- """fpc: Flexible Procedures for Clustering"""
+ """Flexible Procedures for Clustering
+
+ Various methods for clustering and cluster validation. Fixed point
+ clustering. Linear regression clustering. Clustering by merging Gaussian
+ mixture components. Symmetric and asymmetric discriminant projections for
+ visualisation of the separation of groupings. Cluster validation
+ statistics for distance based clustering including corrected Rand index.
+ Standardisation of cluster validation statistics by random clusterings and
+ comparison between many clustering methods and numbers of clusters based on
+ this. Cluster-wise cluster stability assessment. Methods for estimation
+ of the number of clusters: Calinski-Harabasz, Tibshirani and Walther's
+ prediction strength, Fang and Wang's bootstrap stability.
+ Gaussian/multinomial mixture fitting for mixed continuous/categorical
+ variables. Variable-wise statistics for cluster interpretation. DBSCAN
+ clustering. Interface functions for many clustering methods implemented in
+ R, including estimating the number of clusters with kmeans, pam and clara.
+ Modality diagnosis for Gaussian mixtures. For an overview see
+ package?fpc."""
homepage = "http://www.homepages.ucl.ac.uk/~ucakche"
url = "https://cloud.r-project.org/src/contrib/fpc_2.1-10.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/fpc"
+ version('2.2-9', sha256='29b0006e96c8645645d215d3378551bd6525aaf45abde2d9f12933cf6e75fa38')
version('2.2-3', sha256='8100a74e6ff96b1cd65fd22494f2d200e54ea5ea533cfca321fa494914bdc3b7')
version('2.2-2', sha256='b6907019eb161d5c8c814cf02a4663cc8aae6322699932881ce5b02f45ecf8d3')
version('2.1-10', sha256='5d17c5f475c3f24a4809678cbc6186a357276240cf7fcb00d5670b9e68baa096')
@@ -25,7 +43,7 @@ class RFpc(RPackage):
depends_on('r-prabclus', type=('build', 'run'))
depends_on('r-class', type=('build', 'run'))
depends_on('r-diptest', type=('build', 'run'))
- depends_on('r-mvtnorm', when='@:2.2-2', type=('build', 'run'))
depends_on('r-robustbase', type=('build', 'run'))
depends_on('r-kernlab', type=('build', 'run'))
depends_on('r-trimcluster', when='@:2.1-10', type=('build', 'run'))
+ depends_on('r-mvtnorm', when='@:2.2-2', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-fpcompare/package.py b/var/spack/repos/builtin/packages/r-fpcompare/package.py
new file mode 100644
index 0000000000..95f96fcacc
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-fpcompare/package.py
@@ -0,0 +1,29 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RFpcompare(RPackage):
+ """Reliable Comparison of Floating Point Numbers
+
+ Comparisons of floating point numbers are problematic due to errors
+ associated with the binary representation of decimal numbers. Despite
+ being aware of these problems, people still use numerical methods
+ that fail to account for these and other rounding errors (this pitfall
+ is the first to be highlighted in Circle 1 of Burns (2012) 'The R
+ Inferno' <http://www.burns-stat.com/pages/Tutor/R_inferno.pdf>). This
+ package provides new relational operators useful for performing
+ floating point number comparisons with a set tolerance."""
+
+ homepage = "https://github.com/PredictiveEcology/fpCompare"
+ url = "https://cloud.r-project.org/src/contrib/fpCompare_0.2.3.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/fpCompare"
+
+ maintainers = ['dorton21']
+
+ version('0.2.3', sha256='f89be3568544a3a44e4f01b5050ed03705805308ec1aa4add9a5e1b5b328dbdf')
+
+ depends_on('r@3.3:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-fracdiff/package.py b/var/spack/repos/builtin/packages/r-fracdiff/package.py
index 8353598e0e..25c8a161fb 100644
--- a/var/spack/repos/builtin/packages/r-fracdiff/package.py
+++ b/var/spack/repos/builtin/packages/r-fracdiff/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,16 @@ from spack import *
class RFracdiff(RPackage):
- """Maximum likelihood estimation of the parameters of a
- fractionally differenced ARIMA(p,d,q) model (Haslett and
- Raftery, Appl.Statistics, 1989)."""
+ """Fractionally Differenced ARIMA aka ARFIMA(P,d,q) Models
+
+ Maximum likelihood estimation of the parameters of a fractionally
+ differenced ARIMA(p,d,q) model (Haslett and Raftery, Appl.Statistics,
+ 1989); including inference and basic methods. Some alternative algorithms
+ to estimate "H"."""
homepage = "https://cloud.r-project.org/package=fracdiff"
url = "https://cloud.r-project.org/src/contrib/fracdiff_1.4-2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/fracdiff"
+ version('1.5-1', sha256='b8103b32a4ca3a59dda1624c07da08ecd144c7a91a747d1f4663e99421950eb6')
version('1.4-2', sha256='983781cedc2b4e3ba9fa020213957d5133ae9cd6710bc61d6225728e2f6e850e')
diff --git a/var/spack/repos/builtin/packages/r-fs/package.py b/var/spack/repos/builtin/packages/r-fs/package.py
index 9f48c24270..16efd88e37 100644
--- a/var/spack/repos/builtin/packages/r-fs/package.py
+++ b/var/spack/repos/builtin/packages/r-fs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,15 +7,18 @@ from spack import *
class RFs(RPackage):
- """A cross-platform interface to file system operations, built on top of
+ """Cross-Platform File System Operations Based on 'libuv'
+
+ A cross-platform interface to file system operations, built on top of
the 'libuv' C library."""
homepage = "http://fs.r-lib.org/"
url = "https://cloud.r-project.org/src/contrib/fs_1.3.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/fs"
+ version('1.5.0', sha256='36df1653571de3c628a4f769c4627f6ac53d0f9e4106d9d476afb22ae9603897')
version('1.3.1', sha256='d6934dca8f835d8173e3fb9fd4d5e2740c8c04348dd2bcc57df1b711facb46bc')
depends_on('r@3.1:', type=('build', 'run'))
- depends_on('r-rcpp', type=('build', 'run'))
+ depends_on('r-rcpp', when='@:1.3.1', type=('build', 'run'))
depends_on('gmake', type='build')
diff --git a/var/spack/repos/builtin/packages/r-futile-logger/package.py b/var/spack/repos/builtin/packages/r-futile-logger/package.py
index 0925af275f..fda161da16 100644
--- a/var/spack/repos/builtin/packages/r-futile-logger/package.py
+++ b/var/spack/repos/builtin/packages/r-futile-logger/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-futile-options/package.py b/var/spack/repos/builtin/packages/r-futile-options/package.py
index feca56c4ae..2108bd0acc 100644
--- a/var/spack/repos/builtin/packages/r-futile-options/package.py
+++ b/var/spack/repos/builtin/packages/r-futile-options/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-future-apply/package.py b/var/spack/repos/builtin/packages/r-future-apply/package.py
index 025d406ff5..6a436a1514 100644
--- a/var/spack/repos/builtin/packages/r-future-apply/package.py
+++ b/var/spack/repos/builtin/packages/r-future-apply/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RFutureApply(RPackage):
- """Implementations of apply(), by(), eapply(), lapply(), Map(), mapply(),
+ """Apply Function to Elements in Parallel using Futures
+
+ Implementations of apply(), by(), eapply(), lapply(), Map(), mapply(),
replicate(), sapply(), tapply(), and vapply() that can be resolved using
any future-supported backend, e.g. parallel on the local machine or
distributed on a compute cluster. These future_*apply() functions come with
@@ -19,8 +21,11 @@ class RFutureApply(RPackage):
url = "https://cloud.r-project.org/src/contrib/future.apply_1.3.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/future.apply"
+ version('1.7.0', sha256='2ffa6adb55f239918ce9679b7eac8dcc4bf2e6bed35c9cbedf4bf90d906345db')
version('1.3.0', sha256='6374eca49bb81e05c013509c8e324cf9c5d023f9f8217b29ce7b7e12025ca371')
depends_on('r@3.2.0:', type=('build', 'run'))
depends_on('r-future@1.13.0:', type=('build', 'run'))
+ depends_on('r-future@1.17.0:', when='@1.7.0:', type=('build', 'run'))
depends_on('r-globals@0.12.4:', type=('build', 'run'))
+ depends_on('r-globals@0.12.5:', when='@1.7.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-future/package.py b/var/spack/repos/builtin/packages/r-future/package.py
index a8214cd9ea..d7a943e8f4 100644
--- a/var/spack/repos/builtin/packages/r-future/package.py
+++ b/var/spack/repos/builtin/packages/r-future/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RFuture(RPackage):
- """The purpose of this package is to provide a lightweight and unified
+ """Unified Parallel and Distributed Processing in R for Everyone
+
+ The purpose of this package is to provide a lightweight and unified
Future API for sequential and parallel processing of R expression via
futures. The simplest way to evaluate an expression in parallel is to use
'x %<-% { expression }' with 'plan(multiprocess)'. This package implements
@@ -26,8 +28,12 @@ class RFuture(RPackage):
url = "https://cloud.r-project.org/src/contrib/future_1.14.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/future"
+ version('1.21.0', sha256='909e6602068eba543a6d2e464b911123cc29efdb600a7000eff0e5624ff0d12d')
version('1.14.0', sha256='0a535010d97a01b21aaf9d863603e44359335e273019c1e1980bbb5b2917dbcb')
depends_on('r-digest', type=('build', 'run'))
depends_on('r-globals@0.12.4:', type=('build', 'run'))
+ depends_on('r-globals@0.13.1:', when='@1.21.0:', type=('build', 'run'))
depends_on('r-listenv@0.7.0:', type=('build', 'run'))
+ depends_on('r-listenv@0.8.0:', when='@1.21.0:', type=('build', 'run'))
+ depends_on('r-parallelly@1.21.0:', when='@1.21.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-gamlss-data/package.py b/var/spack/repos/builtin/packages/r-gamlss-data/package.py
index 2cfe4008f5..f12d359a00 100644
--- a/var/spack/repos/builtin/packages/r-gamlss-data/package.py
+++ b/var/spack/repos/builtin/packages/r-gamlss-data/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-gamlss-dist/package.py b/var/spack/repos/builtin/packages/r-gamlss-dist/package.py
index 49a2e5fc56..ad5fbbd4ce 100644
--- a/var/spack/repos/builtin/packages/r-gamlss-dist/package.py
+++ b/var/spack/repos/builtin/packages/r-gamlss-dist/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,23 @@ from spack import *
class RGamlssDist(RPackage):
- """gamlss.dist: Distributions for Generalized Additive Models for
- Location Scale and Shape"""
+ """dist: Distributions for Generalized Additive Models for Location Scale
+ and Shape
+
+ A set of distributions which can be used for modelling the response
+ variables in Generalized Additive Models for Location Scale and Shape,
+ Rigby and Stasinopoulos (2005), <doi:10.1111/j.1467-9876.2005.00510.x>. The
+ distributions can be continuous, discrete or mixed distributions. Extra
+ distributions can be created, by transforming, any continuous distribution
+ defined on the real line, to a distribution defined on ranges 0 to
+ infinity or 0 to 1, by using a ''log'' or a ''logit' transformation
+ respectively."""
homepage = "https://cloud.r-project.org/package=gamlss.dist"
url = "https://cloud.r-project.org/src/contrib/gamlss.dist_5.1-1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/gamlss.dist/"
+ version('5.1-7', sha256='9871c38c893a8df7874c533351858dfe4e7587c71021dbbf88c0c76ff3c0ef5b')
version('5.1-4', sha256='343c6ca0fd8a1c1dfdf9ffc65c95d4dae0c6c80b3e60fccba003e5171f3d287e')
version('5.1-3', sha256='87fd643c82579519b67c66c1d87383fa1e203e8b09f607649ee7bce142bda404')
version('5.1-1', sha256='44f999ff74ee516757eb39c8308c48aa850523aad2f38e622268313a13dda0b1')
diff --git a/var/spack/repos/builtin/packages/r-gamlss/package.py b/var/spack/repos/builtin/packages/r-gamlss/package.py
index fbec727878..7b9291c98b 100644
--- a/var/spack/repos/builtin/packages/r-gamlss/package.py
+++ b/var/spack/repos/builtin/packages/r-gamlss/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,20 @@ from spack import *
class RGamlss(RPackage):
- """gamlss: Generalised Additive Models for Location Scale and Shape"""
+ """Generalised Additive Models for Location Scale and Shape
+
+ Functions for fitting the Generalized Additive Models for Location Scale
+ and Shape introduced by Rigby and Stasinopoulos (2005),
+ <doi:10.1111/j.1467-9876.2005.00510.x>. The models use a distributional
+ regression approach where all the parameters of the conditional
+ distribution of the response variable are modelled using explanatory
+ variables."""
homepage = "https://cloud.r-project.org/package=gamlss"
url = "https://cloud.r-project.org/src/contrib/gamlss_5.1-2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/gamlss/"
+ version('5.2-0', sha256='d3927547109064cbe7b0f955144f53204b5dc86c6b2dbc8f0551a74140ab02e1')
version('5.1-4', sha256='e2fc36fe6ca3a69d69cdafd9533a4ff35090fdfb01df126f6a49156f4aa3376c')
version('5.1-3', sha256='d37d121bc2acdbacc20cea04a1ed4489a575079e2a7b17b4a9823ee283857317')
version('5.1-2', sha256='0d404e74768a8f98c6a5e9a48bd2cf4280125831a5dcd8c7f7b57922f57e016b')
@@ -20,6 +28,6 @@ class RGamlss(RPackage):
depends_on('r@3.3.0:', type=('build', 'run'))
depends_on('r-gamlss-data@5.0-0:', type=('build', 'run'))
depends_on('r-gamlss-dist@4.3.1:', type=('build', 'run'))
+ depends_on('r-nlme', type=('build', 'run'))
depends_on('r-mass', type=('build', 'run'))
depends_on('r-survival', type=('build', 'run'))
- depends_on('r-nlme', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-gbm/package.py b/var/spack/repos/builtin/packages/r-gbm/package.py
index 079e4aed67..01e0ba8db6 100644
--- a/var/spack/repos/builtin/packages/r-gbm/package.py
+++ b/var/spack/repos/builtin/packages/r-gbm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,16 +7,25 @@ from spack import *
class RGbm(RPackage):
- """Generalized Boosted Regression Models."""
+ """Generalized Boosted Regression Models
+
+ An implementation of extensions to Freund and Schapire's AdaBoost
+ algorithm and Friedman's gradient boosting machine. Includes regression
+ methods for least squares, absolute loss, t-distribution loss, quantile
+ regression, logistic, multinomial logistic, Poisson, Cox proportional
+ hazards partial likelihood, AdaBoost exponential loss, Huberized hinge
+ loss, and Learning to Rank measures (LambdaMart). Originally developed by
+ Greg Ridgeway."""
homepage = "https://cloud.r-project.org/package=gbm"
url = "https://cloud.r-project.org/src/contrib/gbm_2.1.3.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/gbm"
+ version('2.1.8', sha256='7d5de3b980b8f23275e86ac9bed48a497c9aa53c58e407dfd676309f38272ec1')
version('2.1.5', sha256='06fbde10639dfa886554379b40a7402d1f1236a9152eca517e97738895a4466f')
version('2.1.3', sha256='eaf24be931d762f1ccca4f90e15997719d01005f152160a3d20d858a0bbed92b')
depends_on('r@2.9.0:', type=('build', 'run'))
- depends_on('r-gridextra', when='@2.1.5:', type=('build', 'run'))
- depends_on('r-survival', type=('build', 'run'))
depends_on('r-lattice', type=('build', 'run'))
+ depends_on('r-survival', type=('build', 'run'))
+ depends_on('r-gridextra', when='@2.1.5', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-gbrd/package.py b/var/spack/repos/builtin/packages/r-gbrd/package.py
index 5f6b9c55c1..af3416760f 100644
--- a/var/spack/repos/builtin/packages/r-gbrd/package.py
+++ b/var/spack/repos/builtin/packages/r-gbrd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-gcrma/package.py b/var/spack/repos/builtin/packages/r-gcrma/package.py
index f37c63dc68..2ef16bbdd4 100644
--- a/var/spack/repos/builtin/packages/r-gcrma/package.py
+++ b/var/spack/repos/builtin/packages/r-gcrma/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,11 +7,14 @@ from spack import *
class RGcrma(RPackage):
- """Background Adjustment Using Sequence Information."""
+ """Background Adjustment Using Sequence Information
+
+ Background adjustment using sequence information."""
homepage = "https://bioconductor.org/packages/gcrma"
git = "https://git.bioconductor.org/packages/gcrma.git"
+ version('2.62.0', commit='b91bdf5bf4e875defedb4d4e3e1e75867773287a')
version('2.56.0', commit='1f37bbfb4d3ed542b1e90704ab0fa8914d5e0224')
version('2.54.0', commit='9515fdbbc766a2a3b2ec61cf530c57bbded77ccc')
version('2.52.0', commit='d6e90b05432d2a8b0583d3fed001811ecdf49d7d')
@@ -24,6 +27,5 @@ class RGcrma(RPackage):
depends_on('r-affyio@1.13.3:', type=('build', 'run'))
depends_on('r-xvector', type=('build', 'run'))
depends_on('r-biostrings@2.11.32:', type=('build', 'run'))
- depends_on('r-biocinstaller', type=('build', 'run'))
-
depends_on('r-biocmanager', when='@2.54.0:', type=('build', 'run'))
+ depends_on('r-biocinstaller', when='@:2.52.0', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-gdalutils/package.py b/var/spack/repos/builtin/packages/r-gdalutils/package.py
index 7488b2813d..884ca695b5 100644
--- a/var/spack/repos/builtin/packages/r-gdalutils/package.py
+++ b/var/spack/repos/builtin/packages/r-gdalutils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,13 @@ from spack import *
class RGdalutils(RPackage):
- """gdalUtils: Wrappers for the Geospatial Data Abstraction Library"""
+ """Wrappers for the Geospatial Data Abstraction Library (GDAL) Utilities"""
homepage = "https://cloud.r-project.org/package=gdalUtils"
url = "https://cloud.r-project.org/src/contrib/gdalUtils_2.0.1.14.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/gdalUtils"
+ version('2.0.3.2', sha256='4c6faabee2db8a87b7ea0f8e67e9fce3c5db7f4be353d7d86ea559507cbb2a4f')
version('2.0.1.14', sha256='890a502b2eb5f1b23655fab94caad5d32adca05b93f5db1d96d9dcde3f0e7737')
depends_on('r@2.14.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-gdata/package.py b/var/spack/repos/builtin/packages/r-gdata/package.py
index 5750daf212..1ac8da437d 100644
--- a/var/spack/repos/builtin/packages/r-gdata/package.py
+++ b/var/spack/repos/builtin/packages/r-gdata/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-gdsfmt/package.py b/var/spack/repos/builtin/packages/r-gdsfmt/package.py
index 3bf613dda2..c4cd3e9ae4 100644
--- a/var/spack/repos/builtin/packages/r-gdsfmt/package.py
+++ b/var/spack/repos/builtin/packages/r-gdsfmt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RGdsfmt(RPackage):
- """R Interface to CoreArray Genomic Data Structure (GDS) Files.
+ """R Interface to CoreArray Genomic Data Structure (GDS) Files
This package provides a high-level R interface to CoreArray Genomic Data
Structure (GDS) data files, which are portable across platforms with
@@ -25,6 +25,7 @@ class RGdsfmt(RPackage):
homepage = "https://bioconductor.org/packages/gdsfmt"
git = "https://git.bioconductor.org/packages/gdsfmt.git"
+ version('1.26.1', commit='bd180b21b1ace120035f0da255cbf6f13088f069')
version('1.20.0', commit='b1fbaba0a5ace3dc45daecc85168651cd85dce00')
version('1.18.1', commit='b911b953e9db7988e93ec2010b0ab1e384d073c9')
version('1.16.0', commit='49b011452585e432b983b68466a230c9b71d8a95')
diff --git a/var/spack/repos/builtin/packages/r-geiger/package.py b/var/spack/repos/builtin/packages/r-geiger/package.py
index fb5aa1b76c..ba32471a54 100644
--- a/var/spack/repos/builtin/packages/r-geiger/package.py
+++ b/var/spack/repos/builtin/packages/r-geiger/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,18 +7,23 @@ from spack import *
class RGeiger(RPackage):
- """Methods for fitting macroevolutionary models to phylogenetic trees."""
+ """Analysis of Evolutionary Diversification
+
+ Methods for fitting macroevolutionary models to phylogenetic trees Pennell
+ (2014) <doi:10.1093/bioinformatics/btu181>."""
homepage = "https://cloud.r-project.org/package=geiger"
url = "https://cloud.r-project.org/src/contrib/geiger_2.0.6.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/geiger"
+ version('2.0.7', sha256='d200736c4ad7ed4bc55a13e7d0126ddc7fed88e245cd5706d4692aaa437e9596')
version('2.0.6.2', sha256='9153047b608d652821251206d1450bb3f517c8884379f498a695315574ae001d')
version('2.0.6.1', sha256='2a95e20a3a90c096343b014344dd97e699e954da99c151c17fc6c245c77dba0b')
version('2.0.6', sha256='e13b2c526378eaf9356b00bbe21b3c2c956327f8062fed638ccc1f49591c3eff')
depends_on('r@2.15.0:', type=('build', 'run'))
depends_on('r-ape@3.0-6:', type=('build', 'run'))
+ depends_on('r-mass', type=('build', 'run'))
depends_on('r-mvtnorm', type=('build', 'run'))
depends_on('r-subplex', type=('build', 'run'))
depends_on('r-desolve@1.7:', type=('build', 'run'))
@@ -27,4 +32,4 @@ class RGeiger(RPackage):
depends_on('r-coda', type=('build', 'run'))
depends_on('r-ncbit', type=('build', 'run'))
depends_on('r-colorspace', type=('build', 'run'))
- depends_on('r-mass', type=('build', 'run'))
+ depends_on('r-phytools@0.7.31:', when='@2.0.7:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-genefilter/package.py b/var/spack/repos/builtin/packages/r-genefilter/package.py
index 3be80d3bae..a50b89da99 100644
--- a/var/spack/repos/builtin/packages/r-genefilter/package.py
+++ b/var/spack/repos/builtin/packages/r-genefilter/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,20 +7,24 @@ from spack import *
class RGenefilter(RPackage):
- """genefilter: methods for filtering genes from high-throughput
- experiments."""
+ """genefilter: methods for filtering genes from high-throughput experiments
+
+ Some basic functions for filtering genes."""
homepage = "https://bioconductor.org/packages/genefilter"
git = "https://git.bioconductor.org/packages/genefilter.git"
+ version('1.72.1', commit='b01b00a766982ef7d80b90a252085c8c4f085e1b')
+ version('1.72.0', commit='8cb0b2e73531a417d53e5625bcf436265cdbe101')
version('1.66.0', commit='1c4c471ccca873bf92dcf0b50f611eaa64c4f0cf')
version('1.64.0', commit='82e91b7751bae997b9c898c219ea201fd02a8512')
version('1.62.0', commit='eb119894f015c759f93f458af7733bdb770a22ad')
version('1.60.0', commit='c98f695253c330a9380b2b4ffa27f3b7d66773e4')
version('1.58.1', commit='ace2556049677f60882adfe91f8cc96791556fc2')
- depends_on('r-s4vectors@0.9.42:', type=('build', 'run'))
+ depends_on('r-biocgenerics@0.31.2:', when='@1.68.0:', type=('build', 'run'))
depends_on('r-annotationdbi', type=('build', 'run'))
depends_on('r-annotate', type=('build', 'run'))
depends_on('r-biobase', type=('build', 'run'))
depends_on('r-survival', type=('build', 'run'))
+ depends_on('r-s4vectors@0.9.42:', when='@:1.66.0', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-genelendatabase/package.py b/var/spack/repos/builtin/packages/r-genelendatabase/package.py
index 44559a0ff6..b9f00c16cc 100644
--- a/var/spack/repos/builtin/packages/r-genelendatabase/package.py
+++ b/var/spack/repos/builtin/packages/r-genelendatabase/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RGenelendatabase(RPackage):
- """Lengths of mRNA transcripts for a number of genomes.
+ """Lengths of mRNA transcripts for a number of genomes
Length of mRNA transcripts for a number of genomes and gene ID formats,
largely based on UCSC table browser"""
@@ -15,6 +15,7 @@ class RGenelendatabase(RPackage):
homepage = "https://bioconductor.org/packages/geneLenDataBase"
git = "https://git.bioconductor.org/packages/geneLenDataBase.git"
+ version('1.26.0', commit='2724715ae23a6647d1c0c6e934720aad9377d65e')
version('1.20.0', commit='70a1abed00ee68f7bfa07c42c011f9edae9915e4')
version('1.18.0', commit='77db87e5a4819bf94761fabef0d2ff741a1c5d07')
version('1.16.0', commit='c2a8b2359c6c59388853d6f6d15d71dffb17a198')
diff --git a/var/spack/repos/builtin/packages/r-genemeta/package.py b/var/spack/repos/builtin/packages/r-genemeta/package.py
index b8eb41c46b..2a9f67c3b8 100644
--- a/var/spack/repos/builtin/packages/r-genemeta/package.py
+++ b/var/spack/repos/builtin/packages/r-genemeta/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RGenemeta(RPackage):
- """MetaAnalysis for High Throughput Experiments.
+ """MetaAnalysis for High Throughput Experiments
A collection of meta-analysis tools for analysing high throughput
experimental data"""
@@ -15,6 +15,7 @@ class RGenemeta(RPackage):
homepage = "https://bioconductor.org/packages/GeneMeta"
git = "https://git.bioconductor.org/packages/GeneMeta.git"
+ version('1.62.0', commit='eb4273ff5867e39592f50b97b454fa5e32b4a9bf')
version('1.56.0', commit='cb2c9e353d34ea9f3db06cb236c7a89674f2682d')
version('1.54.0', commit='932553cd8df82b7df804fccda9bfd4b0f36d79d7')
version('1.52.0', commit='1f21759984a5852c42a19e89ee53ffd72053d49c')
diff --git a/var/spack/repos/builtin/packages/r-geneplotter/package.py b/var/spack/repos/builtin/packages/r-geneplotter/package.py
index 460dc46b0d..d52bce1c6f 100644
--- a/var/spack/repos/builtin/packages/r-geneplotter/package.py
+++ b/var/spack/repos/builtin/packages/r-geneplotter/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,11 +7,14 @@ from spack import *
class RGeneplotter(RPackage):
- """Graphics related functions for Bioconductor."""
+ """Graphics related functions for Bioconductor
+
+ Functions for plotting genomic data."""
homepage = "https://bioconductor.org/packages/geneplotter"
git = "https://git.bioconductor.org/packages/geneplotter.git"
+ version('1.68.0', commit='f1fea7e468fb24fdfa93ef4493600a4d8d183f69')
version('1.62.0', commit='1fbaddde11014b453b131860409f89cd784e8e48')
version('1.60.0', commit='6723a9fc0730e146187e79c2ddab6a68186dc5ad')
version('1.58.0', commit='2b3f44804d61a40cfe7eaedf74ac9f5a054f7fde')
diff --git a/var/spack/repos/builtin/packages/r-generics/package.py b/var/spack/repos/builtin/packages/r-generics/package.py
index 6886d22757..6da6887c8a 100644
--- a/var/spack/repos/builtin/packages/r-generics/package.py
+++ b/var/spack/repos/builtin/packages/r-generics/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,16 @@ from spack import *
class RGenerics(RPackage):
- """In order to reduce potential package dependencies and conflicts,
+ """Common S3 Generics not Provided by Base R Methods Related to Model Fitting
+
+ In order to reduce potential package dependencies and conflicts,
generics provides a number of commonly used S3 generics."""
homepage = "https://github.com/r-lib/generics"
url = "https://cloud.r-project.org/src/contrib/generics_0.0.2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/generics"
+ version('0.1.0', sha256='ab71d1bdbb66c782364c61cede3c1186d6a94c03635f9af70d926e2c1ac88763')
version('0.0.2', sha256='71b3d1b719ce89e71dd396ac8bc6aa5f1cd99bbbf03faff61dfbbee32fec6176')
depends_on('r@3.1:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-genetics/package.py b/var/spack/repos/builtin/packages/r-genetics/package.py
index 1ef79e4ea0..df820cc1c3 100644
--- a/var/spack/repos/builtin/packages/r-genetics/package.py
+++ b/var/spack/repos/builtin/packages/r-genetics/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-genie3/package.py b/var/spack/repos/builtin/packages/r-genie3/package.py
index 14e7abf982..819983efa9 100644
--- a/var/spack/repos/builtin/packages/r-genie3/package.py
+++ b/var/spack/repos/builtin/packages/r-genie3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RGenie3(RPackage):
- """GEne Network Inference with Ensemble of trees.
+ """GEne Network Inference with Ensemble of trees
This package implements the GENIE3 algorithm for inferring gene
regulatory networks from expression data."""
@@ -15,6 +15,7 @@ class RGenie3(RPackage):
homepage = "https://bioconductor.org/packages/GENIE3"
git = "https://git.bioconductor.org/packages/GENIE3.git"
+ version('1.12.0', commit='14289cee9bed113ab35ba03bcaac4a30e5784497')
version('1.6.0', commit='d6a49182e098342afe77f01c322dfc7b72450502')
version('1.4.3', commit='ae719c759f23f09d28fcf1acc45b860cd7761f08')
version('1.2.1', commit='1b56fe8184d521d1bb247f000efe9e2b540604c9')
diff --git a/var/spack/repos/builtin/packages/r-genomeinfodb/package.py b/var/spack/repos/builtin/packages/r-genomeinfodb/package.py
index dc4b314142..3b45b55f0b 100644
--- a/var/spack/repos/builtin/packages/r-genomeinfodb/package.py
+++ b/var/spack/repos/builtin/packages/r-genomeinfodb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ from spack import *
class RGenomeinfodb(RPackage):
"""Utilities for manipulating chromosome names, including modifying them to
- follow a particular naming style.
+ follow a particular naming style
Contains data and functions that define and allow translation between
different chromosome sequence naming conventions (e.g., "chr1" versus
@@ -18,6 +18,7 @@ class RGenomeinfodb(RPackage):
homepage = "https://bioconductor.org/packages/GenomeInfoDb"
git = "https://git.bioconductor.org/packages/GenomeInfoDb.git"
+ version('1.26.2', commit='96dd27a7e3ef476790b1475aab50dbbed7df67a2')
version('1.20.0', commit='ea771e3b429ef17fb912fb37333556c6f77f2265')
version('1.18.2', commit='557b75ea7734749a2650d30f5c5d52c57a6bcc6f')
version('1.16.0', commit='6543dad89bbc2c275010b329eb114b237fd712fa')
@@ -27,9 +28,9 @@ class RGenomeinfodb(RPackage):
depends_on('r@3.1:', type=('build', 'run'))
depends_on('r-biocgenerics@0.13.8:', type=('build', 'run'))
depends_on('r-s4vectors@0.9.25:', type=('build', 'run'))
+ depends_on('r-s4vectors@0.17.25:', when='@1.16.0:', type=('build', 'run'))
+ depends_on('r-s4vectors@0.25.12:', when='@1.26.2:', type=('build', 'run'))
depends_on('r-iranges@1.99.26:', type=('build', 'run'))
+ depends_on('r-iranges@2.13.12:', when='@1.16.0:', type=('build', 'run'))
depends_on('r-rcurl', type=('build', 'run'))
depends_on('r-genomeinfodbdata', type=('build', 'run'))
-
- depends_on('r-s4vectors@0.17.25:', when='@1.16.0:', type=('build', 'run'))
- depends_on('r-iranges@2.13.12:', when='@1.16.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-genomeinfodbdata/package.py b/var/spack/repos/builtin/packages/r-genomeinfodbdata/package.py
index 93d621e2dc..572c15c9d6 100644
--- a/var/spack/repos/builtin/packages/r-genomeinfodbdata/package.py
+++ b/var/spack/repos/builtin/packages/r-genomeinfodbdata/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-genomicalignments/package.py b/var/spack/repos/builtin/packages/r-genomicalignments/package.py
index 99292cd505..fb3a12639c 100644
--- a/var/spack/repos/builtin/packages/r-genomicalignments/package.py
+++ b/var/spack/repos/builtin/packages/r-genomicalignments/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RGenomicalignments(RPackage):
- """Representation and manipulation of short genomic alignments.
+ """Representation and manipulation of short genomic alignments
Provides efficient containers for storing and manipulating short genomic
alignments (typically obtained by aligning short reads to a reference
@@ -17,6 +17,7 @@ class RGenomicalignments(RPackage):
homepage = "https://bioconductor.org/packages/GenomicAlignments"
git = "https://git.bioconductor.org/packages/GenomicAlignments.git"
+ version('1.26.0', commit='6c74c74ee53efcd880171126366fee4bd72357bc')
version('1.20.1', commit='9dce402071e4cd945de7ff82ea574c79993625fd')
version('1.18.1', commit='8ac41e5981cf343076044f451a984afb651688ab')
version('1.16.0', commit='db032a459e5cf05a2a5c2059662a541827112974')
@@ -26,25 +27,26 @@ class RGenomicalignments(RPackage):
depends_on('r@2.10:', type=('build', 'run'))
depends_on('r-biocgenerics@0.15.3:', type=('build', 'run'))
depends_on('r-s4vectors@0.13.13:', type=('build', 'run'))
+ depends_on('r-s4vectors@0.17.28:', when='@1.16.0:', type=('build', 'run'))
+ depends_on('r-s4vectors@0.19.11:', when='@1.18.1:', type=('build', 'run'))
+ depends_on('r-s4vectors@0.27.12:', when='@1.26.0:', type=('build', 'run'))
depends_on('r-iranges@2.5.36:', type=('build', 'run'))
- depends_on('r-genomeinfodb@1.11.5:', type=('build', 'run'))
- depends_on('r-genomicranges@1.27.19:', type=('build', 'run'))
- depends_on('r-summarizedexperiment@1.5.3:', type=('build', 'run'))
- depends_on('r-biostrings@2.37.1:', type=('build', 'run'))
- depends_on('r-rsamtools@1.21.4:', type=('build', 'run'))
- depends_on('r-biocparallel', type=('build', 'run'))
-
depends_on('r-iranges@2.11.16:', when='@1.14.2:', type=('build', 'run'))
+ depends_on('r-iranges@2.13.25:', when='@1.16.0:', type=('build', 'run'))
+ depends_on('r-iranges@2.15.12:', when='@1.18.1:', type=('build', 'run'))
+ depends_on('r-iranges@2.23.9:', when='@1.26.0:', type=('build', 'run'))
+ depends_on('r-genomeinfodb@1.11.5:', type=('build', 'run'))
depends_on('r-genomeinfodb@1.13.1:', when='@1.14.2:', type=('build', 'run'))
+ depends_on('r-genomicranges@1.27.19:', type=('build', 'run'))
depends_on('r-genomicranges@1.29.14:', when='@1.14.2:', type=('build', 'run'))
-
- depends_on('r-s4vectors@0.17.28:', when='@1.16.0:', type=('build', 'run'))
- depends_on('r-iranges@2.13.25:', when='@1.16.0:', type=('build', 'run'))
depends_on('r-genomicranges@1.31.19:', when='@1.16.0:', type=('build', 'run'))
+ depends_on('r-genomicranges@1.33.4:', when='@1.18.1:', type=('build', 'run'))
+ depends_on('r-genomicranges@1.41.5:', when='@1.26.0:', type=('build', 'run'))
+ depends_on('r-summarizedexperiment@1.5.3:', type=('build', 'run'))
depends_on('r-summarizedexperiment@1.9.13:', when='@1.16.0:', type=('build', 'run'))
+ depends_on('r-biostrings@2.37.1:', type=('build', 'run'))
depends_on('r-biostrings@2.47.6:', when='@1.16.0:', type=('build', 'run'))
+ depends_on('r-biostrings@2.55.7:', when='@1.26.0:', type=('build', 'run'))
+ depends_on('r-rsamtools@1.21.4:', type=('build', 'run'))
depends_on('r-rsamtools@1.31.2:', when='@1.16.0:', type=('build', 'run'))
-
- depends_on('r-s4vectors@0.19.11:', when='@1.18.1:', type=('build', 'run'))
- depends_on('r-iranges@2.15.12:', when='@1.18.1:', type=('build', 'run'))
- depends_on('r-genomicranges@1.33.4:', when='@1.18.1:', type=('build', 'run'))
+ depends_on('r-biocparallel', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-genomicfeatures/package.py b/var/spack/repos/builtin/packages/r-genomicfeatures/package.py
index b232e467f9..ce4c878c18 100644
--- a/var/spack/repos/builtin/packages/r-genomicfeatures/package.py
+++ b/var/spack/repos/builtin/packages/r-genomicfeatures/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RGenomicfeatures(RPackage):
- """Conveniently import and query gene models.
+ """Conveniently import and query gene models
A set of tools and methods for making and manipulating transcript
centric annotations. With these tools the user can easily download the
@@ -21,6 +21,7 @@ class RGenomicfeatures(RPackage):
homepage = "https://bioconductor.org/packages/GenomicFeatures"
git = "https://git.bioconductor.org/packages/GenomicFeatures.git"
+ version('1.42.1', commit='2e82891974138b0e976799d64a8938f0be61284d')
version('1.36.4', commit='28082ec465c91ccaec6881ff348b380edac1b555')
version('1.34.8', commit='c798b3bb111f4de30632303540074ec1875c1387')
version('1.32.3', commit='80807d88048858846de3750cecb9431a0e5e69e1')
@@ -29,29 +30,28 @@ class RGenomicfeatures(RPackage):
depends_on('r-biocgenerics@0.1.0:', type=('build', 'run'))
depends_on('r-s4vectors@0.9.47:', type=('build', 'run'))
+ depends_on('r-s4vectors@0.17.29:', when='@1.32.3:', type=('build', 'run'))
depends_on('r-iranges@2.9.19:', type=('build', 'run'))
+ depends_on('r-iranges@2.11.16:', when='@1.30.3:', type=('build', 'run'))
+ depends_on('r-iranges@2.13.23:', when='@1.32.3:', type=('build', 'run'))
depends_on('r-genomeinfodb@1.11.4:', type=('build', 'run'))
+ depends_on('r-genomeinfodb@1.13.1:', when='@1.30.3:', type=('build', 'run'))
+ depends_on('r-genomeinfodb@1.15.4:', when='@1.32.3:', type=('build', 'run'))
+ depends_on('r-genomeinfodb@1.25.7:', when='@1.42.1:', type=('build', 'run'))
depends_on('r-genomicranges@1.27.6:', type=('build', 'run'))
+ depends_on('r-genomicranges@1.29.14:', when='@1.30.3:', type=('build', 'run'))
+ depends_on('r-genomicranges@1.31.17:', when='@1.32.3:', type=('build', 'run'))
depends_on('r-annotationdbi@1.33.15:', type=('build', 'run'))
+ depends_on('r-annotationdbi@1.41.4:', when='@1.32.3:', type=('build', 'run'))
depends_on('r-dbi', type=('build', 'run'))
depends_on('r-rsqlite@2.0:', type=('build', 'run'))
depends_on('r-rcurl', type=('build', 'run'))
depends_on('r-xvector', type=('build', 'run'))
+ depends_on('r-xvector@0.19.7:', when='@1.32.3:', type=('build', 'run'))
depends_on('r-biostrings@2.23.3:', type=('build', 'run'))
+ depends_on('r-biostrings@2.47.6:', when='@1.32.3:', type=('build', 'run'))
depends_on('r-rtracklayer@1.29.24:', type=('build', 'run'))
+ depends_on('r-rtracklayer@1.39.7:', when='@1.32.3:', type=('build', 'run'))
depends_on('r-biomart@2.17.1:', type=('build', 'run'))
depends_on('r-biobase@2.15.1:', type=('build', 'run'))
-
- depends_on('r-iranges@2.11.16:', when='@1.30.3:', type=('build', 'run'))
- depends_on('r-genomeinfodb@1.13.1:', when='@1.30.3:', type=('build', 'run'))
- depends_on('r-genomicranges@1.29.14:', when='@1.30.3:', type=('build', 'run'))
depends_on('r-rmysql', when='@1.30.3', type=('build', 'run'))
-
- depends_on('r-s4vectors@0.17.29:', when='@1.32.3:', type=('build', 'run'))
- depends_on('r-iranges@2.13.23:', when='@1.32.3:', type=('build', 'run'))
- depends_on('r-genomeinfodb@1.15.4:', when='@1.32.3:', type=('build', 'run'))
- depends_on('r-genomicranges@1.31.17:', when='@1.32.3:', type=('build', 'run'))
- depends_on('r-annotationdbi@1.41.4:', when='@1.32.3:', type=('build', 'run'))
- depends_on('r-xvector@0.19.7:', when='@1.32.3:', type=('build', 'run'))
- depends_on('r-biostrings@2.47.6:', when='@1.32.3:', type=('build', 'run'))
- depends_on('r-rtracklayer@1.39.7:', when='@1.32.3:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-genomicranges/package.py b/var/spack/repos/builtin/packages/r-genomicranges/package.py
index 9ca2058064..ad364e78c1 100644
--- a/var/spack/repos/builtin/packages/r-genomicranges/package.py
+++ b/var/spack/repos/builtin/packages/r-genomicranges/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RGenomicranges(RPackage):
- """Representation and manipulation of genomic intervals.
+ """Representation and manipulation of genomic intervals
The ability to efficiently represent and manipulate genomic annotations
and alignments is playing a central role when it comes to analyzing
@@ -23,6 +23,7 @@ class RGenomicranges(RPackage):
homepage = "https://bioconductor.org/packages/GenomicRanges"
git = "https://git.bioconductor.org/packages/GenomicRanges.git"
+ version('1.42.0', commit='32baca734b599d60fa13bdbe31c5712e648f538d')
version('1.36.1', commit='418e7e5647dd54d81b804455ddfcbc027fd0164a')
version('1.34.0', commit='ebaad5ca61abb67c2c30c132e07531ba4257bccd')
version('1.32.7', commit='4c56dc836dbfd0d228dc810e8d401811cdbc267c')
@@ -31,21 +32,20 @@ class RGenomicranges(RPackage):
depends_on('r@2.10:', type=('build', 'run'))
depends_on('r-biocgenerics@0.21.2:', type=('build', 'run'))
+ depends_on('r-biocgenerics@0.25.3:', when='@1.32.7:', type=('build', 'run'))
depends_on('r-s4vectors@0.9.47:', type=('build', 'run'))
+ depends_on('r-s4vectors@0.17.32:', when='@1.32.7:', type=('build', 'run'))
+ depends_on('r-s4vectors@0.19.11:', when='@1.34.0:', type=('build', 'run'))
+ depends_on('r-s4vectors@0.27.12:', when='@1.42.0:', type=('build', 'run'))
depends_on('r-iranges@2.9.11:', type=('build', 'run'))
- depends_on('r-genomeinfodb@1.11.5:', type=('build', 'run'))
- depends_on('r-xvector', type=('build', 'run'))
-
depends_on('r-iranges@2.11.16:', when='@1.30.3:', type=('build', 'run'))
- depends_on('r-genomeinfodb@1.13.1:', when='@1.30.3:', type=('build', 'run'))
-
- depends_on('r-biocgenerics@0.25.3:', when='@1.32.7:', type=('build', 'run'))
- depends_on('r-s4vectors@0.17.32:', when='@1.32.7:', type=('build', 'run'))
depends_on('r-iranges@2.14.4:', when='@1.32.7:', type=('build', 'run'))
- depends_on('r-genomeinfodb@1.15.2:', when='@1.32.7:', type=('build', 'run'))
- depends_on('r-xvector@0.19.8:', when='@1.32.7:', type=('build', 'run'))
-
- depends_on('r-s4vectors@0.19.11:', when='@1.34.0:', type=('build', 'run'))
depends_on('r-iranges@2.15.12:', when='@1.34.0:', type=('build', 'run'))
-
depends_on('r-iranges@2.17.1:', when='@1.36.1:', type=('build', 'run'))
+ depends_on('r-iranges@2.23.9:', when='@1.42.0:', type=('build', 'run'))
+ depends_on('r-genomeinfodb@1.11.5:', type=('build', 'run'))
+ depends_on('r-genomeinfodb@1.13.1:', when='@1.30.3:', type=('build', 'run'))
+ depends_on('r-genomeinfodb@1.15.2:', when='@1.32.7:', type=('build', 'run'))
+ depends_on('r-xvector', type=('build', 'run'))
+ depends_on('r-xvector@0.19.8:', when='@1.32.7:', type=('build', 'run'))
+ depends_on('r-xvector@0.29.2:', when='@1.42.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-gensa/package.py b/var/spack/repos/builtin/packages/r-gensa/package.py
index aa055f07df..7f945455f4 100644
--- a/var/spack/repos/builtin/packages/r-gensa/package.py
+++ b/var/spack/repos/builtin/packages/r-gensa/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-geomorph/package.py b/var/spack/repos/builtin/packages/r-geomorph/package.py
index d0be730b65..849cf0fa41 100644
--- a/var/spack/repos/builtin/packages/r-geomorph/package.py
+++ b/var/spack/repos/builtin/packages/r-geomorph/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,24 +7,29 @@ from spack import *
class RGeomorph(RPackage):
- """Read, manipulate, and digitize landmark data, generate shape variables
- via Procrustes analysis for points, curves and surfaces, perform shape
- analyses, and provide graphical depictions of shapes and patterns of
- shape variation."""
+ """Geometric Morphometric Analyses of 2D/3D Landmark Data
+
+ Read, manipulate, and digitize landmark data, generate shape variables via
+ Procrustes analysis for points, curves and surfaces, perform shape
+ analyses, and provide graphical depictions of shapes and patterns of shape
+ variation."""
homepage = "https://cloud.r-project.org/package=geomorph"
url = "https://cloud.r-project.org/src/contrib/geomorph_3.0.5.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/geomorph"
+ version('3.3.2', sha256='5f1d17cb98c54e40c4bbc650f7ccb5cb26e8d63934f810644facc69e91c1b7b7')
version('3.1.2', sha256='29cf1c484f756cb44808cfdbc20137a6fbc4bd0c5c6f98c6c3f397c5aebda8f1')
version('3.1.1', sha256='8eb222011433100860b308beef6f02ade7c421785f575ab4461ee25e38dfa1bd')
version('3.0.7', sha256='68f8942e1a5bc3f0298c9f5b8f69c4702c8e12ecb2275d740fda4d04d66d38e1')
version('3.0.5', sha256='7a3a587b253770a5e7e70536234dee13e6a073f1fdf1d644ae4f11d2eb95b104')
+ depends_on('r+X', type=('build', 'run'))
depends_on('r@3.1.0:', type=('build', 'run'))
+ depends_on('r@3.5.0:', when='@3.3.2:', type=('build', 'run'))
+ depends_on('r-rrpp', type=('build', 'run'), when='@3.0.7:')
depends_on('r-rgl', type=('build', 'run'))
- depends_on('r-ape', type=('build', 'run'))
depends_on('r-jpeg', type=('build', 'run'))
+ depends_on('r-ape', type=('build', 'run'))
depends_on('r-geiger', when='@:3.1.1', type=('build', 'run'))
depends_on('r-matrix', when='@:3.1.1', type=('build', 'run'))
- depends_on('r-rrpp', type=('build', 'run'), when='@3.0.7:')
diff --git a/var/spack/repos/builtin/packages/r-geonames/package.py b/var/spack/repos/builtin/packages/r-geonames/package.py
index 23b82a6b44..3b8a0c2585 100644
--- a/var/spack/repos/builtin/packages/r-geonames/package.py
+++ b/var/spack/repos/builtin/packages/r-geonames/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-geoquery/package.py b/var/spack/repos/builtin/packages/r-geoquery/package.py
index 1a89aba6bb..60a02bedcc 100644
--- a/var/spack/repos/builtin/packages/r-geoquery/package.py
+++ b/var/spack/repos/builtin/packages/r-geoquery/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RGeoquery(RPackage):
- """Get data from NCBI Gene Expression Omnibus (GEO).
+ """Get data from NCBI Gene Expression Omnibus (GEO)
The NCBI Gene Expression Omnibus (GEO) is a public repository of
microarray data. Given the rich and varied nature of this resource, it
@@ -17,6 +17,7 @@ class RGeoquery(RPackage):
homepage = "https://bioconductor.org/packages/GEOquery"
git = "https://git.bioconductor.org/packages/GEOquery.git"
+ version('2.58.0', commit='6332ca3791ddcfb233b9ad75b5904b3d60f49b93')
version('2.52.0', commit='3059331eb82ad4947c2d1bef86ff9526e70af643')
version('2.50.5', commit='135c17f8fe535acda14f95a37d1be1ff2bd80f97')
version('2.48.0', commit='6a8d1ca195b5c26fb717ae93beb1a8d9b7031c5e')
@@ -24,15 +25,13 @@ class RGeoquery(RPackage):
version('2.42.0', commit='c26adef8d3ddbd6932a3170f2f84f6e4327641fb')
depends_on('r-biobase', type=('build', 'run'))
- depends_on('r-xml', when='@2.42.0', type=('build', 'run'))
- depends_on('r-rcurl', when='@2.42.0', type=('build', 'run'))
depends_on('r-httr', type=('build', 'run'))
-
depends_on('r-readr', when='@2.46.15:', type=('build', 'run'))
+ depends_on('r-readr@1.3.1:', when='@2.50.5:', type=('build', 'run'))
depends_on('r-xml2', when='@2.46.15:', type=('build', 'run'))
depends_on('r-dplyr', when='@2.46.15:', type=('build', 'run'))
depends_on('r-tidyr', when='@2.46.15:', type=('build', 'run'))
depends_on('r-magrittr', when='@2.46.15:', type=('build', 'run'))
depends_on('r-limma', when='@2.46.15:', type=('build', 'run'))
-
- depends_on('r-readr@1.3.1:', when='@2.50.5:', type=('build', 'run'))
+ depends_on('r-xml', when='@2.42.0', type=('build', 'run'))
+ depends_on('r-rcurl', when='@2.42.0', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-geor/package.py b/var/spack/repos/builtin/packages/r-geor/package.py
index 5f1cface6d..916a061b0c 100644
--- a/var/spack/repos/builtin/packages/r-geor/package.py
+++ b/var/spack/repos/builtin/packages/r-geor/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,15 +7,20 @@ from spack import *
class RGeor(RPackage):
- """Geostatistical analysis including traditional, likelihood-based
- and Bayesian methods."""
+ """Analysis of Geostatistical Data
+
+ Geostatistical analysis including variogram-based, likelihood-based and
+ Bayesian methods. Software companion for Diggle and Ribeiro (2007)
+ <doi:10.1007/978-0-387-48536-2>."""
homepage = "https://cloud.r-project.org/package=geoR"
url = "https://cloud.r-project.org/src/contrib/geoR_1.7-5.2.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/geoR"
+ version('1.8-1', sha256='990647804590b925a50f72897b24bbabd331cebef0be1696a60528b2f79d6fd3')
version('1.7-5.2.1', sha256='3895e49c005a5745738d190ccaad43bb0aa49c74465d4d0b4dd88c5850ed63b9')
+ depends_on('r+X', type=('build', 'run'))
depends_on('r@2.10:', type=('build', 'run'))
depends_on('r-mass', type=('build', 'run'))
depends_on('r-sp', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-geosphere/package.py b/var/spack/repos/builtin/packages/r-geosphere/package.py
index afea256fd6..db03650ad1 100644
--- a/var/spack/repos/builtin/packages/r-geosphere/package.py
+++ b/var/spack/repos/builtin/packages/r-geosphere/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-gert/package.py b/var/spack/repos/builtin/packages/r-gert/package.py
new file mode 100644
index 0000000000..ee7c83abbe
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-gert/package.py
@@ -0,0 +1,31 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RGert(RPackage):
+ """Simple Git Client for R
+
+ Simple git client for R based on 'libgit2' with support for SSH and HTTPS
+ remotes. All functions in 'gert' use basic R data types (such as vectors
+ and data-frames) for their arguments and return values. User credentials
+ are shared with command line 'git' through the git-credential store and ssh
+ keys stored on disk or ssh-agent. On Linux, a somewhat recent version of
+ 'libgit2' is required; we provide a 'PPA' for older Ubuntu 'LTS'
+ versions."""
+
+ homepage = "https://docs.ropensci.org/gert/"
+ url = "https://cloud.r-project.org/src/contrib/gert_1.0.2.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/gert"
+
+ version('1.0.2', sha256='36687ab98291d50a35752fcb2e734a926a6b845345c18d36e3f48823f68304d3')
+
+ depends_on('r-askpass', type=('build', 'run'))
+ depends_on('r-credentials@1.2.1:', type=('build', 'run'))
+ depends_on('r-openssl@1.4.1:', type=('build', 'run'))
+ depends_on('r-rstudioapi@0.11:', type=('build', 'run'))
+ depends_on('r-zip@2.1.0:', type=('build', 'run'))
+ depends_on('libgit2@0.26:')
diff --git a/var/spack/repos/builtin/packages/r-getopt/package.py b/var/spack/repos/builtin/packages/r-getopt/package.py
index b8d7a9bf46..a1c72d229e 100644
--- a/var/spack/repos/builtin/packages/r-getopt/package.py
+++ b/var/spack/repos/builtin/packages/r-getopt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-getoptlong/package.py b/var/spack/repos/builtin/packages/r-getoptlong/package.py
index d732f50d08..9558f9b725 100644
--- a/var/spack/repos/builtin/packages/r-getoptlong/package.py
+++ b/var/spack/repos/builtin/packages/r-getoptlong/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,21 +7,25 @@ from spack import *
class RGetoptlong(RPackage):
- """This is yet another command-line argument parser which wraps the
- powerful Perl module Getopt::Long and with some adaptation for easier
- use in R. It also provides a simple way for variable interpolation in
- R."""
+ """Parsing Command-Line Arguments and Simple Variable Interpolation
+
+ This is yet another command-line argument parser which wraps the powerful
+ Perl module Getopt::Long and with some adaptation for easier use in R. It
+ also provides a simple way for variable interpolation in R."""
homepage = "https://cloud.r-project.org/package=GetoptLong"
url = "https://cloud.r-project.org/src/contrib/GetoptLong_0.1.6.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/GetoptLong"
+ version('1.0.5', sha256='8c237986ed3dfb72d956ad865ef7768644eebf144675ad66140acfd1aca9d701')
version('0.1.7', sha256='b9a98881db407eae9b711c4fa9170168fd5f3be1f8485cd8f28d0a60ace083ba')
version('0.1.6', sha256='f526f006e3ed8507f1f236430ac9e97341c1ee9c207fbb68f936dd4d377b28b5')
depends_on('r@3.0.0:', type=('build', 'run'))
+ depends_on('r@3.3.0:', when='@1.0.5:', type=('build', 'run'))
depends_on('r-rjson', type=('build', 'run'))
depends_on('r-globaloptions@0.1.0:', type=('build', 'run'))
+ depends_on('r-crayon', when='@1.0.5:', type=('build', 'run'))
# The CRAN site lists SystemRequirments as: Perl, Getopt::Long. The
# Getop::Long package will be installed with Perl so just depend on perl.
diff --git a/var/spack/repos/builtin/packages/r-ggally/package.py b/var/spack/repos/builtin/packages/r-ggally/package.py
index 1bcc024793..19b24c68df 100644
--- a/var/spack/repos/builtin/packages/r-ggally/package.py
+++ b/var/spack/repos/builtin/packages/r-ggally/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,26 +7,35 @@ from spack import *
class RGgally(RPackage):
- """The R package 'ggplot2' is a plotting system based on the grammar of
- graphics. 'GGally' extends 'ggplot2' by adding several functions to
- reduce the complexity of combining geometric objects with transformed
- data. Some of these functions include a pairwise plot matrix, a two
- group pairwise plot matrix, a parallel coordinates plot, a survival
- plot, and several functions to plot networks."""
+ """Extension to 'ggplot2'
+
+ The R package 'ggplot2' is a plotting system based on the grammar of
+ graphics. 'GGally' extends 'ggplot2' by adding several functions to reduce
+ the complexity of combining geometric objects with transformed data. Some
+ of these functions include a pairwise plot matrix, a two group pairwise
+ plot matrix, a parallel coordinates plot, a survival plot, and several
+ functions to plot networks."""
homepage = "https://cloud.r-project.org/package=GGally"
url = "https://cloud.r-project.org/src/contrib/GGally_1.3.2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/GGally"
+ version('2.1.0', sha256='7ffb86b8a4e79543cf7e6bb1e3684d738ecd8e0ba89e8ef38991898b18dd6c53')
version('1.4.0', sha256='9a47cdf004c41f5e4024327b94227707f4dad3a0ac5556d8f1fba9bf0a6355fe')
version('1.3.2', sha256='f4143f45254fed794be991180aeffe459f6756bfa08acad963707d8e843cfd0a')
depends_on('r@3.1:', type=('build', 'run'))
depends_on('r-ggplot2@2.2.0:', type=('build', 'run'))
+ depends_on('r-ggplot2@3.3.0:', when='@2.1.0:', type=('build', 'run'))
+ depends_on('r-dplyr@1.0.0:', when='@2.1.0:', type=('build', 'run'))
+ depends_on('r-forcats', when='@2.1.0:', type=('build', 'run'))
depends_on('r-gtable@0.2.0:', type=('build', 'run'))
+ depends_on('r-lifecycle', when='@2.1.0:', type=('build', 'run'))
depends_on('r-plyr@1.8.3:', type=('build', 'run'))
depends_on('r-progress', type=('build', 'run'))
depends_on('r-rcolorbrewer', type=('build', 'run'))
depends_on('r-reshape@0.8.5:', type=('build', 'run'))
depends_on('r-rlang', when='@1.4.0:', type=('build', 'run'))
+ depends_on('r-scales@1.1.0:', when='@2.1.0:', type=('build', 'run'))
+ depends_on('r-tidyr', when='@2.1.0:', type=('build', 'run'))
depends_on('openssl', when='@1.4.0:')
diff --git a/var/spack/repos/builtin/packages/r-ggbeeswarm/package.py b/var/spack/repos/builtin/packages/r-ggbeeswarm/package.py
index 22d8e8bd5e..4c88a61a25 100644
--- a/var/spack/repos/builtin/packages/r-ggbeeswarm/package.py
+++ b/var/spack/repos/builtin/packages/r-ggbeeswarm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-ggbio/package.py b/var/spack/repos/builtin/packages/r-ggbio/package.py
index 2e52e4edf4..f285243cf6 100644
--- a/var/spack/repos/builtin/packages/r-ggbio/package.py
+++ b/var/spack/repos/builtin/packages/r-ggbio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RGgbio(RPackage):
- """Visualization tools for genomic data.
+ """Visualization tools for genomic data
The ggbio package extends and specializes the grammar of graphics for
biological data. The graphics are designed to answer common scientific
@@ -22,6 +22,7 @@ class RGgbio(RPackage):
homepage = "https://bioconductor.org/packages/ggbio"
git = "https://git.bioconductor.org/packages/ggbio.git"
+ version('1.38.0', commit='c39c51993f419cfc2f094e664477f25f5212a242')
version('1.32.0', commit='04bd12fbe0b1c5c6b721a5f927e1352765f9bf88')
version('1.30.0', commit='8b05258b089b06a743352e92058edda06c24cfb7')
version('1.28.5', commit='594521ca556ef7d97cf4882ecfa54d22c2a2faba')
@@ -36,11 +37,15 @@ class RGgbio(RPackage):
depends_on('r-gtable', type=('build', 'run'))
depends_on('r-hmisc', type=('build', 'run'))
depends_on('r-biovizbase@1.23.3:', type=('build', 'run'))
+ depends_on('r-biovizbase@1.28.2:', when='@1.28.5:', type=('build', 'run'))
+ depends_on('r-biovizbase@1.29.2:', when='@1.30.0:', type=('build', 'run'))
depends_on('r-biobase', type=('build', 'run'))
depends_on('r-s4vectors@0.13.13:', type=('build', 'run'))
depends_on('r-iranges', type=('build', 'run'))
+ depends_on('r-iranges@2.11.16:', when='@1.26.1:', type=('build', 'run'))
depends_on('r-genomeinfodb@1.1.3:', type=('build', 'run'))
depends_on('r-genomicranges@1.21.10:', type=('build', 'run'))
+ depends_on('r-genomicranges@1.29.14:', when='@1.26.1:', type=('build', 'run'))
depends_on('r-summarizedexperiment', type=('build', 'run'))
depends_on('r-biostrings', type=('build', 'run'))
depends_on('r-rsamtools@1.17.28:', type=('build', 'run'))
@@ -49,17 +54,10 @@ class RGgbio(RPackage):
depends_on('r-variantannotation@1.11.4:', type=('build', 'run'))
depends_on('r-rtracklayer@1.25.16:', type=('build', 'run'))
depends_on('r-genomicfeatures@1.17.13:', type=('build', 'run'))
+ depends_on('r-genomicfeatures@1.29.11:', when='@1.26.1:', type=('build', 'run'))
depends_on('r-organismdbi', type=('build', 'run'))
depends_on('r-ggally', type=('build', 'run'))
depends_on('r-ensembldb@1.99.13:', type=('build', 'run'))
depends_on('r-annotationdbi', type=('build', 'run'))
depends_on('r-annotationfilter', type=('build', 'run'))
-
- depends_on('r-iranges@2.11.16:', when='@1.26.1:', type=('build', 'run'))
- depends_on('r-genomicranges@1.29.14:', when='@1.26.1:', type=('build', 'run'))
- depends_on('r-genomicfeatures@1.29.11:', when='@1.26.1:', type=('build', 'run'))
-
- depends_on('r-biovizbase@1.28.2:', when='@1.28.5:', type=('build', 'run'))
depends_on('r-rlang', when='@1.28.5:', type=('build', 'run'))
-
- depends_on('r-biovizbase@1.29.2:', when='@1.30.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-ggdendro/package.py b/var/spack/repos/builtin/packages/r-ggdendro/package.py
index 90b9b787e0..7b7a0dc06a 100644
--- a/var/spack/repos/builtin/packages/r-ggdendro/package.py
+++ b/var/spack/repos/builtin/packages/r-ggdendro/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RGgdendro(RPackage):
- """This is a set of tools for dendrograms and tree plots using
+ """Create Dendrograms and Tree Diagrams Using 'ggplot2'
+
+ This is a set of tools for dendrograms and tree plots using
'ggplot2'. The 'ggplot2' philosophy is to clearly separate data
from the presentation. Unfortunately the plot method for
dendrograms plots directly to a plot device without exposing
@@ -20,7 +22,8 @@ class RGgdendro(RPackage):
url = "https://cloud.r-project.org/src/contrib/ggdendro_0.1-20.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/ggdendro"
+ version('0.1.22', sha256='f0a65f3498c1abc3076df0fb56364b63bdf5d212d8931f85bcc6997510916b6a')
version('0.1-20', sha256='125cae904fa5d426cccaf32ebe9c6297e9ef0c6fd3f19f61513834d03a0cf8ff')
- depends_on('r-ggplot2@0.9.2:', type=('build', 'run'))
depends_on('r-mass', type=('build', 'run'))
+ depends_on('r-ggplot2@0.9.2:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-ggforce/package.py b/var/spack/repos/builtin/packages/r-ggforce/package.py
index d36d2dbead..4aa2e4be79 100644
--- a/var/spack/repos/builtin/packages/r-ggforce/package.py
+++ b/var/spack/repos/builtin/packages/r-ggforce/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,23 +7,30 @@ from spack import *
class RGgforce(RPackage):
- """ggforce: Accelerating 'ggplot2'"""
+ """Accelerating 'ggplot2'
+
+ The aim of 'ggplot2' is to aid in visual data investigations. This focus
+ has led to a lack of facilities for composing specialised plots. 'ggforce'
+ aims to be a collection of mainly new stats and geoms that fills this gap.
+ All additional functionality is aimed to come through the official
+ extension system so using 'ggforce' should be a stable experience."""
homepage = "https://ggforce.data-imaginist.com"
url = "https://cloud.r-project.org/src/contrib/ggforce_0.3.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/ggforce"
+ version('0.3.2', sha256='4cce8acb60ce06af44c1c76bbacd7de129eed9b51ed6a85e03a9bf55b0eff4d2')
version('0.3.1', sha256='a05271da9b226c12ae5fe6bc6eddb9ad7bfe19e1737e2bfcd6d7a89631332211')
depends_on('r@3.3.0:', type=('build', 'run'))
depends_on('r-ggplot2@3.0.0:', type=('build', 'run'))
- depends_on('r-gtable', type=('build', 'run'))
- depends_on('r-mass', type=('build', 'run'))
- depends_on('r-polyclip', type=('build', 'run'))
depends_on('r-rcpp@0.12.2:', type=('build', 'run'))
- depends_on('r-rcppeigen', type=('build', 'run'))
- depends_on('r-rlang', type=('build', 'run'))
depends_on('r-scales', type=('build', 'run'))
- depends_on('r-tidyselect', type=('build', 'run'))
+ depends_on('r-mass', type=('build', 'run'))
depends_on('r-tweenr@0.1.5:', type=('build', 'run'))
+ depends_on('r-gtable', type=('build', 'run'))
+ depends_on('r-rlang', type=('build', 'run'))
+ depends_on('r-polyclip', type=('build', 'run'))
+ depends_on('r-tidyselect', type=('build', 'run'))
depends_on('r-withr', type=('build', 'run'))
+ depends_on('r-rcppeigen', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-ggjoy/package.py b/var/spack/repos/builtin/packages/r-ggjoy/package.py
index 1d5390f0aa..b522deaa08 100644
--- a/var/spack/repos/builtin/packages/r-ggjoy/package.py
+++ b/var/spack/repos/builtin/packages/r-ggjoy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-ggmap/package.py b/var/spack/repos/builtin/packages/r-ggmap/package.py
index fa44828b08..4a7c3edf85 100644
--- a/var/spack/repos/builtin/packages/r-ggmap/package.py
+++ b/var/spack/repos/builtin/packages/r-ggmap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-ggplot2/package.py b/var/spack/repos/builtin/packages/r-ggplot2/package.py
index 4c44ac0468..7802a5831f 100644
--- a/var/spack/repos/builtin/packages/r-ggplot2/package.py
+++ b/var/spack/repos/builtin/packages/r-ggplot2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,18 +7,18 @@ from spack import *
class RGgplot2(RPackage):
- """An implementation of the grammar of graphics in R. It combines the
- advantages of both base and lattice graphics: conditioning and shared axes
- are handled automatically, and you can still build up a plot step by step
- from multiple data sources. It also implements a sophisticated
- multidimensional conditioning system and a consistent interface to map data
- to aesthetic attributes. See http://ggplot2.org for more information,
- documentation and examples."""
+ """Create Elegant Data Visualisations Using the Grammar of Graphics
+
+ A system for 'declaratively' creating graphics, based on "The Grammar of
+ Graphics". You provide the data, tell 'ggplot2' how to map variables to
+ aesthetics, what graphical primitives to use, and it takes care of the
+ details."""
homepage = "http://ggplot2.org/"
url = "https://cloud.r-project.org/src/contrib/ggplot2_2.2.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/ggplot2"
+ version('3.3.3', sha256='45c29e2348dbd195bbde1197a52db7764113e57f463fd3770fb899acc33423cc')
version('3.2.0', sha256='31b6897fb65acb37913ff6e2bdc1b57f652360098ae3aa660abdcf54f84d73b3')
version('3.1.1', sha256='bfde297f3b4732e7f560078f4ce131812a70877e6b5b1d41a772c394939e0c79')
version('2.2.1', sha256='5fbc89fec3160ad14ba90bd545b151c7a2e7baad021c0ab4b950ecd6043a8314')
@@ -27,14 +27,16 @@ class RGgplot2(RPackage):
depends_on('r@3.1:', when='@:3.1.1', type=('build', 'run'))
depends_on('r@3.2:', when='@3.2.0:', type=('build', 'run'))
depends_on('r-digest', type=('build', 'run'))
+ depends_on('r-glue', when='@3.3.3:', type=('build', 'run'))
depends_on('r-gtable@0.1.1:', type=('build', 'run'))
+ depends_on('r-isoband', when='@3.3.3:', type=('build', 'run'))
depends_on('r-mass', type=('build', 'run'))
- depends_on('r-plyr@1.7.1:', when='@:3.1.1', type=('build', 'run'))
- depends_on('r-reshape2', type=('build', 'run'))
- depends_on('r-scales@0.5.0:', type=('build', 'run'))
- depends_on('r-tibble', type=('build', 'run'))
- depends_on('r-lazyeval', type=('build', 'run'))
depends_on('r-mgcv', when='@3.2.0:', type=('build', 'run'))
depends_on('r-rlang@0.3.0:', when='@3.0.0:', type=('build', 'run'))
- depends_on('r-viridislite', when='@3.0.0:', type=('build', 'run'))
+ depends_on('r-scales@0.5.0:', type=('build', 'run'))
+ depends_on('r-tibble', type=('build', 'run'))
depends_on('r-withr@2.0.0:', when='@3.0.0:', type=('build', 'run'))
+ depends_on('r-plyr@1.7.1:', when='@:3.1.1', type=('build', 'run'))
+ depends_on('r-reshape2', when='@:3.2.0', type=('build', 'run'))
+ depends_on('r-lazyeval', when='@:3.2.0', type=('build', 'run'))
+ depends_on('r-viridislite', when='@3.0.0:3.2.0', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-ggplotify/package.py b/var/spack/repos/builtin/packages/r-ggplotify/package.py
index f1ef249a66..765c293a8b 100644
--- a/var/spack/repos/builtin/packages/r-ggplotify/package.py
+++ b/var/spack/repos/builtin/packages/r-ggplotify/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,19 @@ from spack import *
class RGgplotify(RPackage):
- """ggplotify: Convert Plot to 'grob' or 'ggplot' Object"""
+ """Convert Plot to 'grob' or 'ggplot' Object
+
+ Convert plot function call (using expression or formula) to 'grob' or
+ 'ggplot' object that compatible to the 'grid' and 'ggplot2' ecosystem. With
+ this package, we are able to e.g. using 'cowplot' to align plots produced
+ by 'base' graphics, 'ComplexHeatmap', 'eulerr', 'grid', 'lattice',
+ 'magick', 'pheatmap', 'vcd' etc. by converting them to 'ggplot' objects."""
homepage = "https://github.com/GuangchuangYu/ggplotify"
url = "https://cloud.r-project.org/src/contrib/ggplotify_0.0.3.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/ggplotify"
+ version('0.0.5', sha256='035ea6a70023c4819c8a486d0fd94c2765aa4d6df318747e104eeb9829b9d65d')
version('0.0.3', sha256='7e7953a2933aa7127a0bac54375e3e0219a0744cfc3249c3d7b76065f7a51892')
depends_on('r@3.4.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-ggpubr/package.py b/var/spack/repos/builtin/packages/r-ggpubr/package.py
index a746f292b3..481a70321e 100644
--- a/var/spack/repos/builtin/packages/r-ggpubr/package.py
+++ b/var/spack/repos/builtin/packages/r-ggpubr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,21 @@ from spack import *
class RGgpubr(RPackage):
- """ggpubr: 'ggplot2' Based Publication Ready Plots"""
+ """'ggplot2' Based Publication Ready Plots
+
+ The 'ggplot2' package is excellent and flexible for elegant data
+ visualization in R. However the default generated plots requires some
+ formatting before we can send them for publication. Furthermore, to
+ customize a 'ggplot', the syntax is opaque and this raises the level of
+ difficulty for researchers with no advanced R programming skills. 'ggpubr'
+ provides some easy-to-use functions for creating and customizing 'ggplot2'-
+ based publication ready plots."""
homepage = "http://www.sthda.com/english/rpkgs/ggpubr"
url = "https://cloud.r-project.org/src/contrib/ggpubr_0.1.2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/ggpubr"
+ version('0.4.0', sha256='abb21ec0b1ae3fa1c58eedca2d59b9b009621b30e3660f1247b3880c5fa50675')
version('0.2.2', sha256='1c93dc6d1f08680dd00a10b6842445700d1fccb11f18599fbdf51e70c6b6b364')
version('0.2.1', sha256='611e650da9bd15d7157fdcdc4e926fee3b88df3aba87410fdb1c8a7294d98d28')
version('0.2', sha256='06c3075d8c452840662f5d041c3d966494b87254a52a858c849b9e1e96647766')
@@ -20,11 +29,10 @@ class RGgpubr(RPackage):
depends_on('r@3.1.0:', type=('build', 'run'))
depends_on('r-ggplot2', type=('build', 'run'))
- depends_on('r-magrittr', type=('build', 'run'))
depends_on('r-ggrepel', type=('build', 'run'))
depends_on('r-ggsci', type=('build', 'run'))
- depends_on('r-plyr', when='@:0.1.2', type=('build', 'run'))
depends_on('r-tidyr', when='@0.2:', type=('build', 'run'))
+ depends_on('r-plyr', when='@:0.1.2', type=('build', 'run'))
depends_on('r-purrr', when='@0.2:', type=('build', 'run'))
depends_on('r-dplyr@0.7.1:', when='@0.2:', type=('build', 'run'))
depends_on('r-cowplot', when='@0.2:', type=('build', 'run'))
@@ -34,3 +42,6 @@ class RGgpubr(RPackage):
depends_on('r-glue', when='@0.2:', type=('build', 'run'))
depends_on('r-polynom', when='@0.2:', type=('build', 'run'))
depends_on('r-rlang', when='@0.2.2:', type=('build', 'run'))
+ depends_on('r-rstatix@0.6.0:', when='@0.4.0:', type=('build', 'run'))
+ depends_on('r-tibble', when='@0.4.0:', type=('build', 'run'))
+ depends_on('r-magrittr', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-ggraph/package.py b/var/spack/repos/builtin/packages/r-ggraph/package.py
index c4cbed3c91..bc158d924b 100644
--- a/var/spack/repos/builtin/packages/r-ggraph/package.py
+++ b/var/spack/repos/builtin/packages/r-ggraph/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,18 +7,24 @@ from spack import *
class RGgraph(RPackage):
- """ggraph: An Implementation of Grammar of Graphics for Graphs and
- Networks"""
+ """An Implementation of Grammar of Graphics for Graphs and Networks
+
+ The grammar of graphics as implemented in ggplot2 is a poor fit for graph
+ and network visualizations due to its reliance on tabular data input.
+ ggraph is an extension of the ggplot2 API tailored to graph visualizations
+ and provides the same flexible approach to building up plots layer by
+ layer."""
homepage = "https://github.com/thomasp85/ggraph"
url = "https://cloud.r-project.org/src/contrib/ggraph_2.0.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/ggraph"
+ version('2.0.4', sha256='9c6092d9a98b7b116f9c765ba44de7a34ceff2f584e776ef7a2082ad1d717dc8')
version('2.0.0', sha256='4307efe85bfc6a0496797f6b86d6b174ba196538c51b1a6b6af55de0d4e04762')
depends_on('r@2.10:', type=('build', 'run'))
depends_on('r-ggplot2@3.0.0:', type=('build', 'run'))
- depends_on('r-rcpp@0.12.2', type=('build', 'run'))
+ depends_on('r-rcpp@0.12.2:', type=('build', 'run'))
depends_on('r-dplyr', type=('build', 'run'))
depends_on('r-ggforce@0.3.1:', type=('build', 'run'))
depends_on('r-igraph@1.0.0:', type=('build', 'run'))
@@ -31,3 +37,4 @@ class RGgraph(RPackage):
depends_on('r-rlang', type=('build', 'run'))
depends_on('r-tidygraph', type=('build', 'run'))
depends_on('r-graphlayouts@0.5.0:', type=('build', 'run'))
+ depends_on('r-withr', when='@2.0.4:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-ggrepel/package.py b/var/spack/repos/builtin/packages/r-ggrepel/package.py
index affb69a321..1fb6aa1278 100644
--- a/var/spack/repos/builtin/packages/r-ggrepel/package.py
+++ b/var/spack/repos/builtin/packages/r-ggrepel/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,17 @@ from spack import *
class RGgrepel(RPackage):
- """ggrepel: Repulsive Text and Label Geoms for 'ggplot2'"""
+ """Repulsive Text and Label Geoms for 'ggplot2'
+
+ Provides text and label geoms for 'ggplot2' that help to avoid overlapping
+ text labels. Labels repel away from each other and away from the data
+ points."""
homepage = "http://github.com/slowkow/ggrepel"
url = "https://cloud.r-project.org/src/contrib/ggrepel_0.6.5.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/ggrepel"
+ version('0.9.0', sha256='4f7ca3da7dc08902487c961c539ef43516263c30abcc4ce303ff3c5580f42fda')
version('0.8.1', sha256='d5d03a77ab6d8c831934bc46e840cc4e3df487272ab591fa72767ad42bcb7283')
version('0.8.0', sha256='6386606e716d326354a29fcb6cd09f9b3d3b5e7c5ba0d5f7ff35416b1a4177d4')
version('0.6.5', sha256='360ae9d199755f9e260fefbd3baba3448fad3f024f20bcd9942a862b8c41a752')
@@ -20,4 +25,6 @@ class RGgrepel(RPackage):
depends_on('r@3.0.0:', type=('build', 'run'))
depends_on('r-ggplot2@2.2.0:', type=('build', 'run'))
depends_on('r-rcpp', type=('build', 'run'))
+ depends_on('r-rlang@0.3.0:', when='@0.9.0:', type=('build', 'run'))
depends_on('r-scales@0.3.0:', type=('build', 'run'))
+ depends_on('r-scales@0.5.0:', when='@0.9.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-ggridges/package.py b/var/spack/repos/builtin/packages/r-ggridges/package.py
index 22fc773bbe..30824a95a2 100644
--- a/var/spack/repos/builtin/packages/r-ggridges/package.py
+++ b/var/spack/repos/builtin/packages/r-ggridges/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,17 @@ from spack import *
class RGgridges(RPackage):
- """Ridgeline plots provide a convenient way of visualizing changes in
- distributions over time or space."""
+ """Ridgeline Plots in 'ggplot2'
+
+ Ridgeline plots provide a convenient way of visualizing changes in
+ distributions over time or space. This package enables the creation of such
+ plots in 'ggplot2'."""
homepage = "https://cloud.r-project.org/package=ggridges"
url = "https://cloud.r-project.org/src/contrib/ggridges_0.4.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/ggridges"
+ version('0.5.3', sha256='f5eafab17f2d4a8a2a83821ad3e96ae7c26b62bbce9de414484c657383c7b42e')
version('0.5.1', sha256='01f87cdcdf2052ed9c078d9352465cdeda920a41e2ca55bc154c1574fc651c36')
version('0.5.0', sha256='124bc84044e56728fa965682f8232fc868f2af7d3eb7276f6b0df53be8d2dbfe')
version('0.4.1', sha256='03d2013df6adf07c9741d4476df96865b878a88359763ac36b98aa86591cca4d')
@@ -21,6 +25,7 @@ class RGgridges(RPackage):
depends_on('r@3.2:', type=('build', 'run'))
depends_on('r-ggplot2@2.2.0:', type=('build', 'run'))
+ depends_on('r-ggplot2@3.0.0:', when='@0.5.3:', type=('build', 'run'))
depends_on('r-plyr@1.8.0:', type=('build', 'run'))
depends_on('r-scales@0.4.1:', type=('build', 'run'))
depends_on('r-withr@2.1.1:', when='@0.5.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-ggsci/package.py b/var/spack/repos/builtin/packages/r-ggsci/package.py
index f8dc21d11e..e2a83710a1 100644
--- a/var/spack/repos/builtin/packages/r-ggsci/package.py
+++ b/var/spack/repos/builtin/packages/r-ggsci/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-ggsignif/package.py b/var/spack/repos/builtin/packages/r-ggsignif/package.py
index 142dd9e1ef..a77fca4454 100644
--- a/var/spack/repos/builtin/packages/r-ggsignif/package.py
+++ b/var/spack/repos/builtin/packages/r-ggsignif/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-ggvis/package.py b/var/spack/repos/builtin/packages/r-ggvis/package.py
index 53f26ba5ed..7319358c50 100644
--- a/var/spack/repos/builtin/packages/r-ggvis/package.py
+++ b/var/spack/repos/builtin/packages/r-ggvis/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RGgvis(RPackage):
- """An implementation of an interactive grammar of graphics, taking the best
+ """Interactive Grammar of Graphics
+
+ An implementation of an interactive grammar of graphics, taking the best
parts of 'ggplot2', combining them with the reactive framework from 'shiny'
and web graphics from 'vega'."""
@@ -15,6 +17,7 @@ class RGgvis(RPackage):
url = "https://cloud.r-project.org/src/contrib/ggvis_0.4.3.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/ggvis"
+ version('0.4.7', sha256='9e6b067e11d497c796d42156570e2481afb554c5db265f42afbb74d2ae0865e3')
version('0.4.4', sha256='1332ea122b768688c8a407a483be80febc4576de0ec8929077738421b27cafaf')
version('0.4.3', sha256='34d517783016aaa1c4bef8972f4c06df5cd9ca0568035b647e60a8369043ecdc')
version('0.4.2', sha256='2fcc2b6ca4fbdc69fe75a2c58c12cb43096ab418160c98367e5ac0fd19fc591d')
@@ -25,5 +28,7 @@ class RGgvis(RPackage):
depends_on('r-shiny@0.11.1:', type=('build', 'run'))
depends_on('r-magrittr', type=('build', 'run'))
depends_on('r-dplyr@0.4.0:', type=('build', 'run'))
- depends_on('r-lazyeval', type=('build', 'run'))
+ depends_on('r-dplyr@0.5.0:', when='@0.4.7:', type=('build', 'run'))
+ depends_on('r-rlang', when='@0.4.7:', type=('build', 'run'))
depends_on('r-htmltools@0.2.4:', type=('build', 'run'))
+ depends_on('r-lazyeval', when='@:0.4.4', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-gh/package.py b/var/spack/repos/builtin/packages/r-gh/package.py
index d7d6fc6fb2..b3d39918db 100644
--- a/var/spack/repos/builtin/packages/r-gh/package.py
+++ b/var/spack/repos/builtin/packages/r-gh/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,17 +7,22 @@ from spack import *
class RGh(RPackage):
- """Minimal client to access the 'GitHub' 'API'."""
+ """'GitHub' 'API'
+
+ Minimal client to access the 'GitHub' 'API'."""
homepage = "https://github.com/r-lib/gh#readme"
url = "https://cloud.r-project.org/src/contrib/gh_1.0.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/gh"
+ version('1.2.0', sha256='2988440ed2ba4b241c8ffbafbfdad29493574980a9aeba210521dadda91f7eff')
version('1.1.0', sha256='de9faf383c3fe5e87a75391d82cf71b1331b3c80cd00c4203146a303825d89ad')
version('1.0.1', sha256='f3c02b16637ae390c3599265852d94b3de3ef585818b260d00e7812595b391d2')
- depends_on('r-ini', type=('build', 'run'))
- depends_on('r-jsonlite', type=('build', 'run'))
+ depends_on('r-cli', when='@1.1.0:', type=('build', 'run'))
+ depends_on('r-cli@2.0.1:', when='@1.2.0:', type=('build', 'run'))
+ depends_on('r-gitcreds', when='@1.2.0:', type=('build', 'run'))
depends_on('r-httr', type=('build', 'run'))
depends_on('r-httr@1.2:', when='@1.1.0:', type=('build', 'run'))
- depends_on('r-cli', when='@1.1.0:', type=('build', 'run'))
+ depends_on('r-ini', type=('build', 'run'))
+ depends_on('r-jsonlite', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-gistr/package.py b/var/spack/repos/builtin/packages/r-gistr/package.py
index b171fe1399..85850df0fb 100644
--- a/var/spack/repos/builtin/packages/r-gistr/package.py
+++ b/var/spack/repos/builtin/packages/r-gistr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,22 +8,31 @@ from spack import *
class RGistr(RPackage):
- """Work with 'GitHub' 'gists' from 'R'. This package allows the user to
- create new 'gists', update 'gists' with new files, rename files, delete
- files, get and delete 'gists', star and 'un-star' 'gists', fork 'gists',
- open a 'gist' in your default browser, get embed code for a 'gist', list
- 'gist' 'commits', and get rate limit information when 'authenticated'. Some
- requests require authentication and some do not."""
+ """Work with 'GitHub' 'Gists'
+
+ Work with 'GitHub' 'gists' from 'R' (e.g.,
+ <https://en.wikipedia.org/wiki/GitHub#Gist>,
+ <https://docs.github.com/en/github/writing-on-github/creating-gists/>). A
+ 'gist' is simply one or more files with code/text/images/etc. This package
+ allows the user to create new 'gists', update 'gists' with new files,
+ rename files, delete files, get and delete 'gists', star and 'un-star'
+ 'gists', fork 'gists', open a 'gist' in your default browser, get embed
+ code for a 'gist', list 'gist' 'commits', and get rate limit information
+ when 'authenticated'. Some requests require authentication and some do not.
+ 'Gists' website: <https://gist.github.com/>."""
homepage = "https://github.com/ropensci/gistr"
url = "https://cloud.r-project.org/src/contrib/gistr_0.3.6.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/gistr"
+ version('0.9.0', sha256='170ae025151ee688e7d31b9e49112086a8ddf4fef10155e9ee289ad7f28c8929')
version('0.4.2', sha256='43c00c7f565732125f45f6c067724771ba1b337d6dd3a6e301639fe16e11032e')
version('0.4.0', sha256='51771a257379a17552d0c88ada72ca6263954bbe896997f8a66cde3bf0b83ce0')
version('0.3.6', sha256='ab22523b79510ec03be336e1d4600ec8a3a65afe57c5843621a4cf8f966b52e5')
+ depends_on('r+X', type=('build', 'run'))
depends_on('r-jsonlite@1.4:', type=('build', 'run'))
+ depends_on('r-crul', when='@0.9.0:', type=('build', 'run'))
depends_on('r-httr@1.2.0:', type=('build', 'run'))
depends_on('r-magrittr', type=('build', 'run'))
depends_on('r-assertthat', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-git2r/package.py b/var/spack/repos/builtin/packages/r-git2r/package.py
index dff31b8318..9819f7bc99 100644
--- a/var/spack/repos/builtin/packages/r-git2r/package.py
+++ b/var/spack/repos/builtin/packages/r-git2r/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RGit2r(RPackage):
- """Interface to the 'libgit2' library, which is a pure C implementation of
+ """Provides Access to Git Repositories
+
+ Interface to the 'libgit2' library, which is a pure C implementation of
the 'Git' core methods. Provides access to 'Git' repositories to extract
data and running some basic 'Git' commands."""
@@ -15,6 +17,7 @@ class RGit2r(RPackage):
url = "https://cloud.r-project.org/src/contrib/git2r_0.18.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/git2r"
+ version('0.28.0', sha256='ce6d148d21d2c87757e98ef4474b2d09faded9b9b866f046bd26d4ca925e55f2')
version('0.27.1', sha256='099207f180aa45ddcc443cbb22487eafd14e1cd8e5979b3476214253fd773bc0')
version('0.26.1', sha256='13d609286a0af4ef75ba76f2c2f856593603b8014e311b88896243a50b417435')
version('0.26.0', sha256='56671389c3a50591e1dae3be8c3b0112d06d291f897d7fe14db17aea175616cf')
diff --git a/var/spack/repos/builtin/packages/r-gitcreds/package.py b/var/spack/repos/builtin/packages/r-gitcreds/package.py
new file mode 100644
index 0000000000..1760cd89c5
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-gitcreds/package.py
@@ -0,0 +1,23 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RGitcreds(RPackage):
+ """Query 'git' Credentials from 'R'
+
+ Query, set, delete credentials from the 'git' credential store. Manage
+ 'GitHub' tokens and other 'git' credentials. This package is to be used by
+ other packages that need to authenticate to 'GitHub' and/or other 'git'
+ repositories."""
+
+ homepage = "https://github.com/r-lib/gitcreds"
+ url = "https://cloud.r-project.org/src/contrib/gitcreds_0.1.1.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/gitcreds"
+
+ version('0.1.1', sha256='b14aaf4e910a9d2d6c65c93e645f0b0159c00898e669f917f83c03dfedb1dfea')
+
+ depends_on('git', type='run')
diff --git a/var/spack/repos/builtin/packages/r-glimma/package.py b/var/spack/repos/builtin/packages/r-glimma/package.py
index 302afa62ae..7d59544072 100644
--- a/var/spack/repos/builtin/packages/r-glimma/package.py
+++ b/var/spack/repos/builtin/packages/r-glimma/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RGlimma(RPackage):
- """Interactive HTML graphics.
+ """Interactive HTML graphics
This package generates interactive visualisations for analysis of RNA-
sequencing data using output from limma, edgeR or DESeq2 packages in an
@@ -18,6 +18,7 @@ class RGlimma(RPackage):
homepage = "https://bioconductor.org/packages/Glimma"
git = "https://git.bioconductor.org/packages/Glimma.git"
+ version('2.0.0', commit='40bebaa79e8c87c5686cff7285def4461c11bca9')
version('1.12.0', commit='d02174239fe0b47983d6947ed42a1a53b24caecb')
version('1.10.1', commit='ffc7abc36190396598fadec5e9c653441e47be72')
version('1.8.2', commit='7696aca2c023f74d244b6c908a6e7ba52bfcb34b')
@@ -25,10 +26,14 @@ class RGlimma(RPackage):
version('1.4.0', commit='c613c5334ed7868f36d5716b97fdb6234fb291f8')
depends_on('r@3.3.0:', type=('build', 'run'))
- depends_on('r-biobase', when='@1.4.0:1.6.0', type=('build', 'run'))
+ depends_on('r@3.4.0:', when='@1.6.0:', type=('build', 'run'))
+ depends_on('r@4.0.0:', when='@2.0.0:', type=('build', 'run'))
+ depends_on('r-htmlwidgets', when='@2.0.0:', type=('build', 'run'))
depends_on('r-edger', type=('build', 'run'))
+ depends_on('r-deseq2', when='@2.0.0:', type=('build', 'run'))
+ depends_on('r-limma', when='@2.0.0:', type=('build', 'run'))
+ depends_on('r-summarizedexperiment', when='@2.0.0:', type=('build', 'run'))
depends_on('r-jsonlite', type=('build', 'run'))
- depends_on('r-scater', when='@1.4.0', type=('build', 'run'))
depends_on('r-s4vectors', type=('build', 'run'))
-
- depends_on('r@3.4.0:', when='@1.6.0:', type=('build', 'run'))
+ depends_on('r-biobase', when='@1.4.0:1.6.0', type=('build', 'run'))
+ depends_on('r-scater', when='@1.4.0', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-glmnet/package.py b/var/spack/repos/builtin/packages/r-glmnet/package.py
index 0df0d76583..c0a33c48a7 100644
--- a/var/spack/repos/builtin/packages/r-glmnet/package.py
+++ b/var/spack/repos/builtin/packages/r-glmnet/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RGlmnet(RPackage):
- """Extremely efficient procedures for fitting the entire lasso or
+ """Lasso and Elastic-Net Regularized Generalized Linear Models
+
+ Extremely efficient procedures for fitting the entire lasso or
elastic-net regularization path for linear regression, logistic and
multinomial regression models, Poisson regression and the Cox model. Two
recent additions are the multiple-response Gaussian, and the grouped
@@ -18,9 +20,13 @@ class RGlmnet(RPackage):
url = "https://cloud.r-project.org/src/contrib/glmnet_2.0-13.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/glmnet"
+ version('4.1', sha256='8f0af50919f488789ecf261f6e0907f367d89fca812baa2f814054fb2d0e40cb')
version('2.0-18', sha256='e8dce9d7b8105f9cc18ba981d420de64a53b09abee219660d3612915d554256b')
version('2.0-13', sha256='f3288dcaddb2f7014d42b755bede6563f73c17bc87f8292c2ef7776cb9b9b8fd')
version('2.0-5', sha256='2ca95352c8fbd93aa7800f3d972ee6c1a5fcfeabc6be8c10deee0cb457fd77b1')
+ depends_on('r@3.6.0:', when='@4.1:', type=('build', 'run'))
depends_on('r-matrix@1.0-6:', type=('build', 'run'))
depends_on('r-foreach', type=('build', 'run'))
+ depends_on('r-shape', when='@4.1:', type=('build', 'run'))
+ depends_on('r-survival', when='@4.1:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-globaloptions/package.py b/var/spack/repos/builtin/packages/r-globaloptions/package.py
index 3f5b8d20e0..5e81ed3e74 100644
--- a/var/spack/repos/builtin/packages/r-globaloptions/package.py
+++ b/var/spack/repos/builtin/packages/r-globaloptions/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,16 @@ from spack import *
class RGlobaloptions(RPackage):
- """It provides more controls on the option values such as validation and
- filtering on the values, making options invisible or private."""
+ """Generate Functions to Get or Set Global Options
+
+ It provides more controls on the option values such as validation and
+ filtering on the values, making options invisible or private."""
homepage = "https://cloud.r-project.org/package=GlobalOptions"
url = "https://cloud.r-project.org/src/contrib/GlobalOptions_0.0.12.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/GlobalOptions"
+ version('0.1.2', sha256='47890699668cfa9900a829c51f8a32e02a7a7764ad07cfac972aad66f839753e')
version('0.1.0', sha256='567a0a51f6b7b14127302f00e6e4944befd4964c069f96a9e61256e8c3c79ef2')
version('0.0.12', sha256='c09da3f9b1646d0f815056cdbeb5fff7dda29f7dd8742d245f5f6dc7066077a9')
diff --git a/var/spack/repos/builtin/packages/r-globals/package.py b/var/spack/repos/builtin/packages/r-globals/package.py
index 12b2f974cb..70fb9fa942 100644
--- a/var/spack/repos/builtin/packages/r-globals/package.py
+++ b/var/spack/repos/builtin/packages/r-globals/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RGlobals(RPackage):
- """Identifies global ("unknown" or "free") objects in R expressions by code
+ """Identify Global Objects in R Expressions
+
+ Identifies global ("unknown" or "free") objects in R expressions by code
inspection using various strategies, e.g. conservative or liberal. The
objective of this package is to make it as simple as possible to identify
global objects for the purpose of exporting them in distributed compute
@@ -17,6 +19,7 @@ class RGlobals(RPackage):
url = "https://cloud.r-project.org/src/contrib/globals_0.12.4.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/globals"
+ version('0.14.0', sha256='203dbccb829ca9cc6aedb6f5e79cb126ea31f8dd379dff9111ec66e3628c32f3')
version('0.12.4', sha256='7985356ad75afa1f795f8267a20dee847020c0207252dc075c614cef55d8fe6b')
depends_on('r@3.1.2:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-glue/package.py b/var/spack/repos/builtin/packages/r-glue/package.py
index 20371a9740..8d25829f50 100644
--- a/var/spack/repos/builtin/packages/r-glue/package.py
+++ b/var/spack/repos/builtin/packages/r-glue/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,16 +7,19 @@ from spack import *
class RGlue(RPackage):
- """An implementation of interpreted string literals, inspired by Python's
- Literal String Interpolation <https://www.python.org/dev/peps/pep-0498/>
- and Docstrings <https://www.python.org/dev/peps/pep-0257/> and Julia's
- Triple-Quoted String Literals <https://docs.julialang.org/en/stable/
- manual/strings/#triple-quoted-string-literals>."""
+ """Interpreted String Literals
+
+ An implementation of interpreted string literals, inspired by Python's
+ Literal String Interpolation <https://www.python.org/dev/peps/pep-0498/>
+ and Docstrings <https://www.python.org/dev/peps/pep-0257/> and Julia's
+ Triple-Quoted String Literals <https://docs.julialang.org/en/stable/
+ manual/strings/#triple-quoted-string-literals>."""
homepage = "https://github.com/tidyverse/glue"
url = "https://cloud.r-project.org/src/contrib/glue_1.2.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/glue"
+ version('1.4.2', sha256='9f7354132a26e9a876428fa87629b9aaddcd558f9932328e6ac065b95b8ef7ad')
version('1.4.1', sha256='f8b687d35cacb5ee7fcada6e9c26ea20c04d0bdc9d37e919a03abd1137513bc8')
version('1.4.0', sha256='ea6c409f7141754baa090deba96cff270a11b185452cf9e6fb69cb148a9069c1')
version('1.3.1', sha256='4fc1f2899d71a634e1f0adb7942772feb5ac73223891abe30ea9bd91d3633ea8')
@@ -24,3 +27,4 @@ class RGlue(RPackage):
version('1.2.0', sha256='19275b34ee6a1bcad05360b7eb996cebaa1402f189a5dfb084e695d423f2296e')
depends_on('r@3.1:', type=('build', 'run'))
+ depends_on('r@3.2:', when='@1.4.2:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-gmodels/package.py b/var/spack/repos/builtin/packages/r-gmodels/package.py
index c11d4b2e18..2244cfdb07 100644
--- a/var/spack/repos/builtin/packages/r-gmodels/package.py
+++ b/var/spack/repos/builtin/packages/r-gmodels/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-gmp/package.py b/var/spack/repos/builtin/packages/r-gmp/package.py
index 871dea5847..49d9863378 100644
--- a/var/spack/repos/builtin/packages/r-gmp/package.py
+++ b/var/spack/repos/builtin/packages/r-gmp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,17 +7,21 @@ from spack import *
class RGmp(RPackage):
- """Multiple Precision Arithmetic (big integers and rationals, prime
- number tests, matrix computation), "arithmetic without limitations"
- using the C library GMP (GNU Multiple Precision Arithmetic)."""
+ """Multiple Precision Arithmetic
+
+ Multiple Precision Arithmetic (big integers and rationals, prime number
+ tests, matrix computation), "arithmetic without limitations" using the C
+ library GMP (GNU Multiple Precision Arithmetic)."""
homepage = "http://mulcyber.toulouse.inra.fr/projects/gmp"
url = "https://cloud.r-project.org/src/contrib/gmp_0.5-13.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/gmp"
+ version('0.6-2', sha256='6bfcb45b3f1e7da27d8773f911027355cab371d150c3dabf7dbaf8fba85b7f0e')
version('0.5-13.5', sha256='f681ab2ff3d1e379ba8ac44a8abddd08d08170723e885abc0b469b6fa8fe5510')
version('0.5-13.4', sha256='f05605b40fc39fc589e3a4d2f526a591a649faa45eef7f95c096e1bff8775196')
version('0.5-13.1', sha256='2f805374a26742cd43f6b2054130d8670eda1940070aabb9971e9e48226d0976')
depends_on('r@3.0.0:', type=('build', 'run'))
+ depends_on('r@3.5.0:', when='@0.6-2:', type=('build', 'run'))
depends_on('gmp@4.2.3:')
diff --git a/var/spack/repos/builtin/packages/r-go-db/package.py b/var/spack/repos/builtin/packages/r-go-db/package.py
index 1a91053392..e15bf99802 100644
--- a/var/spack/repos/builtin/packages/r-go-db/package.py
+++ b/var/spack/repos/builtin/packages/r-go-db/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,11 +7,21 @@ from spack import *
class RGoDb(RPackage):
- """A set of annotation maps describing the entire Gene
+ """A set of annotation maps describing the entire Gene Ontology
+
+ A set of annotation maps describing the entire Gene
Ontology assembled using data from GO."""
homepage = "https://www.bioconductor.org/packages/GO.db/"
- url = "https://www.bioconductor.org/packages/3.5/data/annotation/src/contrib/GO.db_3.4.1.tar.gz"
+ url = "https://www.bioconductor.org/packages/3.5/data/annotation/src/contrib/GO.db_3.4.1.tar.gz"
+
+ version('3.12.1',
+ sha256='e0316959d3d32096f9432c897413dff74fce53e15ead7917a7724467d971dab9',
+ url='https://bioconductor.org/packages/3.12/data/annotation/src/contrib/GO.db_3.12.1.tar.gz')
+ version('3.4.1',
+ sha256='2fc2048e9d26edb98e35e4adc4d18c6df54f44836b5cc4a482d36ed99e058cc1',
+ url='https://bioconductor.org/packages/3.5/data/annotation/src/contrib/GO.db_3.4.1.tar.gz')
- version('3.4.1', sha256='2fc2048e9d26edb98e35e4adc4d18c6df54f44836b5cc4a482d36ed99e058cc1')
- depends_on('r-annotationdbi', type=('build', 'run'))
+ depends_on('r@2.7.0:', type=('build', 'run'))
+ depends_on('r-annotationdbi@1.37.4:', type=('build', 'run'))
+ depends_on('r-annotationdbi@1.51.3:', when='@3.12.1:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-goftest/package.py b/var/spack/repos/builtin/packages/r-goftest/package.py
index feaa0724b3..535e2b084a 100644
--- a/var/spack/repos/builtin/packages/r-goftest/package.py
+++ b/var/spack/repos/builtin/packages/r-goftest/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-gofuncr/package.py b/var/spack/repos/builtin/packages/r-gofuncr/package.py
index 22fdb5745f..8df9f00ff0 100644
--- a/var/spack/repos/builtin/packages/r-gofuncr/package.py
+++ b/var/spack/repos/builtin/packages/r-gofuncr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RGofuncr(RPackage):
- """Gene ontology enrichment using FUNC.
+ """Gene ontology enrichment using FUNC
GOfuncR performs a gene ontology enrichment analysis based on the
ontology enrichment software FUNC. GO-annotations are obtained from
@@ -29,16 +29,17 @@ class RGofuncr(RPackage):
homepage = "https://bioconductor.org/packages/GOfuncR"
git = "https://git.bioconductor.org/packages/GOfuncR.git"
+ version('1.10.0', commit='51b01a2b9afa03fde2e1628036096cbeafaa2ef4')
version('1.4.0', commit='2f633dc28e3faeddc5346fcdcadf1c29e3fcf709')
version('1.2.0', commit='140a3cea4fe34d32fef9be756f85e337ce3deded')
version('1.0.0', commit='becd4ddde085c5477042adb856e7a4f40dbd648e')
+ depends_on('r+X', type=('build', 'run'))
depends_on('r@3.4:', type=('build', 'run'))
depends_on('r-vioplot@0.2:', type=('build', 'run'))
depends_on('r-rcpp@0.11.5:', type=('build', 'run'))
depends_on('r-mapplots@1.5:', type=('build', 'run'))
depends_on('r-gtools@3.5.0:', type=('build', 'run'))
depends_on('r-genomicranges@1.28.4:', type=('build', 'run'))
- depends_on('r-annotationdbi', type=('build', 'run'))
-
depends_on('r-iranges', when='@1.2.0:', type=('build', 'run'))
+ depends_on('r-annotationdbi', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-googlevis/package.py b/var/spack/repos/builtin/packages/r-googlevis/package.py
index dc8f3659f6..d8b746c591 100644
--- a/var/spack/repos/builtin/packages/r-googlevis/package.py
+++ b/var/spack/repos/builtin/packages/r-googlevis/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RGooglevis(RPackage):
- """R interface to Google Charts API, allowing users to create interactive
+ """R Interface to Google Charts
+
+ R interface to Google Charts API, allowing users to create interactive
charts based on data frames. Charts are displayed locally via the R HTTP
help server. A modern browser with an Internet connection is required and
for some charts a Flash player. The data remains local and is not uploaded
@@ -17,6 +19,7 @@ class RGooglevis(RPackage):
url = "https://cloud.r-project.org/src/contrib/googleVis_0.6.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/googleVis"
+ version('0.6.9', sha256='0739d0a3382a73a824b5ff9a6fe329198dd05c9da5855ac051ed022d7b41b7ea')
version('0.6.4', sha256='7dcaf0e9d5e5598c17e8bd474141708de37eeb2578b09788431b9d871edb7eb8')
version('0.6.3', sha256='17d104c5d4e6ab7b984df229cd51be19681e4726077afec7c61a33f6e4c0b6ef')
version('0.6.0', sha256='862708097fbb5d4e83193777f40979d7848f9841d94d48ee8a74106266acc440')
diff --git a/var/spack/repos/builtin/packages/r-goplot/package.py b/var/spack/repos/builtin/packages/r-goplot/package.py
index d748b99af6..16ad099afe 100644
--- a/var/spack/repos/builtin/packages/r-goplot/package.py
+++ b/var/spack/repos/builtin/packages/r-goplot/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-gosemsim/package.py b/var/spack/repos/builtin/packages/r-gosemsim/package.py
index b7468c9c84..9c5c0c7cee 100644
--- a/var/spack/repos/builtin/packages/r-gosemsim/package.py
+++ b/var/spack/repos/builtin/packages/r-gosemsim/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RGosemsim(RPackage):
- """GO-terms Semantic Similarity Measures.
+ """GO-terms Semantic Similarity Measures
The semantic comparisons of Gene Ontology (GO) annotations provide
quantitative ways to compute similarities between genes and gene groups,
@@ -20,6 +20,7 @@ class RGosemsim(RPackage):
homepage = "https://bioconductor.org/packages/GOSemSim"
git = "https://git.bioconductor.org/packages/GOSemSim.git"
+ version('2.16.1', commit='92f1d567f3584fe488f434abce87c2e1950081c0')
version('2.10.0', commit='5db1ecbf2f8d870430d6e587609327d05ba3ad7b')
version('2.8.0', commit='c8c985b2a814cc2365c7f05b2509205e1b6b7f58')
version('2.6.2', commit='2ffe78e89276e804306554965fc0799318ec56ed')
@@ -27,8 +28,8 @@ class RGosemsim(RPackage):
version('2.2.0', commit='247434790e6c8cf99e5643f569390362b8c87c52')
depends_on('r@3.3.2:', type=('build', 'run'))
+ depends_on('r@3.4.0:', when='@2.8.0:', type=('build', 'run'))
+ depends_on('r@3.5.0:', when='@2.16.1:', type=('build', 'run'))
depends_on('r-annotationdbi', type=('build', 'run'))
depends_on('r-go-db', type=('build', 'run'))
depends_on('r-rcpp', type=('build', 'run'))
-
- depends_on('r@3.4.0:', when='@2.8.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-goseq/package.py b/var/spack/repos/builtin/packages/r-goseq/package.py
index 58f1c71711..56139b3caf 100644
--- a/var/spack/repos/builtin/packages/r-goseq/package.py
+++ b/var/spack/repos/builtin/packages/r-goseq/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RGoseq(RPackage):
- """Gene Ontology analyser for RNA-seq and other length biased data.
+ """Gene Ontology analyser for RNA-seq and other length biased data
Detects Gene Ontology and/or other user defined categories which are
over/under represented in RNA-seq data"""
@@ -15,6 +15,7 @@ class RGoseq(RPackage):
homepage = "https://bioconductor.org/packages/goseq"
git = "https://git.bioconductor.org/packages/goseq.git"
+ version('1.42.0', commit='8164b90e7505bbc1035105fdc15219c764ef8b8d')
version('1.36.0', commit='26c9f7de18889afeee1b571ca1c4ab4d2877ab80')
version('1.34.1', commit='bad217b42cc34423698fbcf701d4e3591aac4474')
version('1.32.0', commit='32fcbe647eea17d7d0d7a262610811502c421d36')
diff --git a/var/spack/repos/builtin/packages/r-gostats/package.py b/var/spack/repos/builtin/packages/r-gostats/package.py
index 46185bcc36..e14654376d 100644
--- a/var/spack/repos/builtin/packages/r-gostats/package.py
+++ b/var/spack/repos/builtin/packages/r-gostats/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RGostats(RPackage):
- """Tools for manipulating GO and microarrays.
+ """Tools for manipulating GO and microarrays
A set of tools for interacting with GO and microarray data. A variety of
basic manipulation tools for graphs, hypothesis testing and other simple
@@ -16,22 +16,23 @@ class RGostats(RPackage):
homepage = "https://bioconductor.org/packages/GOstats"
git = "https://git.bioconductor.org/packages/GOstats.git"
+ version('2.56.0', commit='8f988c3b4b1ce7e05626aae8956004c7bbdd6f3a')
version('2.50.0', commit='ee13f84341988d537a5485dcdcfb71f69e6e4930')
version('2.48.0', commit='5db7020f4bab725cd729b32bd1d5e819b31f2485')
version('2.46.0', commit='489d7a437488f77c3010f6212f3b81f4e240cd17')
version('2.44.0', commit='fc64ca2aa37c52656d396d6e46611f39d6efd48a')
version('2.42.0', commit='8b29709064a3b66cf1d963b2be0c996fb48c873e')
+ depends_on('r+X', type=('build', 'run'))
depends_on('r@2.10:', type=('build', 'run'))
depends_on('r-biobase@1.15.29:', type=('build', 'run'))
depends_on('r-category@2.3.26:', type=('build', 'run'))
+ depends_on('r-category@2.43.2:', when='@2.44.0:', type=('build', 'run'))
depends_on('r-graph@1.15.15:', when='@2.42.0', type=('build', 'run'))
+ depends_on('r-graph', when='@2.44.0:', type=('build', 'run'))
depends_on('r-annotationdbi@0.0.89:', type=('build', 'run'))
depends_on('r-go-db@1.13.0:', type=('build', 'run'))
depends_on('r-rbgl', type=('build', 'run'))
depends_on('r-annotate@1.13.2:', type=('build', 'run'))
depends_on('r-annotationforge', type=('build', 'run'))
-
- depends_on('r-category@2.43.2:', when='@2.44.0:', type=('build', 'run'))
depends_on('r-rgraphviz', when='@2.44.0:', type=('build', 'run'))
- depends_on('r-graph', when='@2.44.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-gower/package.py b/var/spack/repos/builtin/packages/r-gower/package.py
index bee0ec5ba3..eaa7d07dc2 100644
--- a/var/spack/repos/builtin/packages/r-gower/package.py
+++ b/var/spack/repos/builtin/packages/r-gower/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RGower(RPackage):
- """Compute Gower's distance (or similarity) coefficient between records.
+ """Gower's Distance
+
+ Compute Gower's distance (or similarity) coefficient between records.
Compute the top-n matches between records. Core algorithms are executed in
parallel on systems supporting OpenMP."""
@@ -15,4 +17,5 @@ class RGower(RPackage):
url = "https://cloud.r-project.org/src/contrib/gower_0.2.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/gower"
+ version('0.2.2', sha256='3f022010199fafe34f6e7431730642a76893e6b4249b84e5a61012cb83483631')
version('0.2.1', sha256='af3fbe91cf818c0841b2c0ec4ddf282c182a588031228c8d88f7291b2cdff100')
diff --git a/var/spack/repos/builtin/packages/r-gplots/package.py b/var/spack/repos/builtin/packages/r-gplots/package.py
index dd74ebd46b..63cfedcf00 100644
--- a/var/spack/repos/builtin/packages/r-gplots/package.py
+++ b/var/spack/repos/builtin/packages/r-gplots/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,17 +9,34 @@ from spack import *
class RGplots(RPackage):
- """Various R Programming Tools for Plotting Data."""
+ """Various R Programming Tools for Plotting Data
+
+ Various R programming tools for plotting data, including: - calculating and
+ plotting locally smoothed summary function as ('bandplot', 'wapply'), -
+ enhanced versions of standard plots ('barplot2', 'boxplot2', 'heatmap.2',
+ 'smartlegend'), - manipulating colors ('col2hex', 'colorpanel', 'redgreen',
+ 'greenred', 'bluered', 'redblue', 'rich.colors'), - calculating and
+ plotting two-dimensional data summaries ('ci2d', 'hist2d'), - enhanced
+ regression diagnostic plots ('lmplot2', 'residplot'), - formula-enabled
+ interface to 'stats::lowess' function ('lowess'), - displaying textual data
+ in plots ('textplot', 'sinkplot'), - plotting a matrix where each cell
+ contains a dot whose size reflects the relative magnitude of the elements
+ ('balloonplot'), - plotting "Venn" diagrams ('venn'), - displaying
+ Open-Office style plots ('ooplot'), - plotting multiple data on same
+ region, with separate axes ('overplot'), - plotting means and confidence
+ intervals ('plotCI', 'plotmeans'), - spacing points in an x-y plot so they
+ don't overlap ('space')."""
homepage = "https://cloud.r-project.org/package=gplots"
url = "https://cloud.r-project.org/src/contrib/gplots_3.0.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/gplots"
+ version('3.1.1', sha256='f9ae19c2574b6d41adbeccaf7bc66cf56d7b2769004daba7e0038d5fbd821339')
version('3.0.1.1', sha256='7db103f903a25d174cddcdfc7b946039b61e236c95084b90ad17f1a41da3770c')
version('3.0.1', sha256='343df84327ac3d03494992e79ee3afc78ba3bdc08af9a305ee3fb0a38745cb0a')
depends_on('r@3.0:', type=('build', 'run'))
depends_on('r-gtools', type=('build', 'run'))
- depends_on('r-gdata', type=('build', 'run'))
depends_on('r-catools', type=('build', 'run'))
depends_on('r-kernsmooth', type=('build', 'run'))
+ depends_on('r-gdata', when='@:3.0.1.1', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-graph/package.py b/var/spack/repos/builtin/packages/r-graph/package.py
index 057e27a4b2..e13346800e 100644
--- a/var/spack/repos/builtin/packages/r-graph/package.py
+++ b/var/spack/repos/builtin/packages/r-graph/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,14 @@ from spack import *
class RGraph(RPackage):
- """graph: A package to handle graph data structures.
+ """graph: A package to handle graph data structures
A package that implements some simple graph handling capabilities."""
homepage = "https://bioconductor.org/packages/graph"
git = "https://git.bioconductor.org/packages/graph.git"
+ version('1.68.0', commit='03ad9ed088095605e317510b8234501318994e94')
version('1.62.0', commit='95223bd63ceb66cfe8d881f992a441de8b8c89a3')
version('1.60.0', commit='e2aecb0a862f32091b16e0036f53367d3edf4c1d')
version('1.58.2', commit='6455d8e7a5a45dc733915942cb71005c1016b6a0')
diff --git a/var/spack/repos/builtin/packages/r-graphlayouts/package.py b/var/spack/repos/builtin/packages/r-graphlayouts/package.py
index 382ccc8077..378eccdff0 100644
--- a/var/spack/repos/builtin/packages/r-graphlayouts/package.py
+++ b/var/spack/repos/builtin/packages/r-graphlayouts/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RGraphlayouts(RPackage):
- """graphlayouts: Additional Layout Algorithms for Network Visualizations.
+ """Additional Layout Algorithms for Network Visualizations.
Several new layout algorithms to visualize networks are provided which are
not part of 'igraph'. Most are based on the concept of stress majorization
@@ -19,6 +19,7 @@ class RGraphlayouts(RPackage):
url = "https://cloud.r-project.org/src/contrib/graphlayouts_0.5.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/graphlayouts"
+ version('0.7.1', sha256='380f8ccb0b08735694e83f661fd56a0d592a78448ae91b89c290ba8582d66717')
version('0.5.0', sha256='83f61ce07580c5a64c7044c12b20d98ccf138c7e78ff12855cdfc206e1fab10d')
depends_on('r@3.2.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-grbase/package.py b/var/spack/repos/builtin/packages/r-grbase/package.py
index 5d56958f23..05fd96d5a1 100644
--- a/var/spack/repos/builtin/packages/r-grbase/package.py
+++ b/var/spack/repos/builtin/packages/r-grbase/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,20 +7,39 @@ from spack import *
class RGrbase(RPackage):
- """gRbase: A Package for Graphical Modelling in R"""
+ """A Package for Graphical Modelling in R
+
+ The 'gRbase' package provides graphical modelling features used by e.g. the
+ packages 'gRain', 'gRim' and 'gRc'. 'gRbase' implements graph algorithms
+ including (i) maximum cardinality search (for marked and unmarked graphs).
+ (ii) moralization, (iii) triangulation, (iv) creation of junction tree.
+ 'gRbase' facilitates array operations, 'gRbase' implements functions for
+ testing for conditional independence. 'gRbase' illustrates how hierarchical
+ log-linear models may be implemented and describes concept of graphical
+ meta data. The facilities of the package are documented in the book by
+ Hojsgaard, Edwards and Lauritzen (2012, <doi:10.1007/978-1-4614-2299-0>)
+ and in the paper by Dethlefsen and Hojsgaard, (2005,
+ <doi:10.18637/jss.v014.i17>). Please see 'citation("gRbase")' for citation
+ details. NOTICE 'gRbase' requires that the packages graph, 'Rgraphviz'
+ and 'RBGL' are installed from 'bioconductor'; for installation instructions
+ please refer to the web page given below."""
homepage = "http://people.math.aau.dk/~sorenh/software/gR/"
url = "https://cloud.r-project.org/src/contrib/gRbase_1.8-3.4.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/gRbase"
+ version('1.8-6.7', sha256='aaafc7e1b521de60e1a57c0175ac64d4283850c3273bd14774cf24dabc743388')
version('1.8-3.4', sha256='d35f94c2fb7cbd4ce3991570424dfe6723a849658da32e13df29f53b6ea2cc2c')
+ depends_on('r+X', type=('build', 'run'))
depends_on('r@3.0.2:', type=('build', 'run'))
+ depends_on('r@3.6.0:', when='@1.8-6.7:', type=('build', 'run'))
depends_on('r-graph', type=('build', 'run'))
+ depends_on('r-rgraphviz', when='@1.8-6.7:', type=('build', 'run'))
+ depends_on('r-rbgl', type=('build', 'run'))
depends_on('r-igraph', type=('build', 'run'))
depends_on('r-magrittr', type=('build', 'run'))
depends_on('r-matrix', type=('build', 'run'))
- depends_on('r-rbgl', type=('build', 'run'))
depends_on('r-rcpp@0.11.1:', type=('build', 'run'))
- depends_on('r-rcpparmadillo', type=('build', 'run'))
depends_on('r-rcppeigen', type=('build', 'run'))
+ depends_on('r-rcpparmadillo', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-gridbase/package.py b/var/spack/repos/builtin/packages/r-gridbase/package.py
index d32c6dd479..fee64ce69a 100644
--- a/var/spack/repos/builtin/packages/r-gridbase/package.py
+++ b/var/spack/repos/builtin/packages/r-gridbase/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-gridextra/package.py b/var/spack/repos/builtin/packages/r-gridextra/package.py
index 36ce99c75c..931c279044 100644
--- a/var/spack/repos/builtin/packages/r-gridextra/package.py
+++ b/var/spack/repos/builtin/packages/r-gridextra/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-gridgraphics/package.py b/var/spack/repos/builtin/packages/r-gridgraphics/package.py
index 7a0485d22d..23c2dcffea 100644
--- a/var/spack/repos/builtin/packages/r-gridgraphics/package.py
+++ b/var/spack/repos/builtin/packages/r-gridgraphics/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,10 +7,17 @@ from spack import *
class RGridgraphics(RPackage):
- """gridGraphics: Redraw Base Graphics Using 'grid' Graphics"""
+ """Redraw Base Graphics Using 'grid' Graphics
+
+ Functions to convert a page of plots drawn with the 'graphics' package into
+ identical output drawn with the 'grid' package. The result looks like the
+ original 'graphics'-based plot, but consists of 'grid' grobs and viewports
+ that can then be manipulated with 'grid' functions (e.g., edit grobs and
+ revisit viewports)."""
homepage = "https://github.com/pmur002/gridgraphics"
url = "https://cloud.r-project.org/src/contrib/gridGraphics_0.4-1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/gridGraphics"
+ version('0.5-1', sha256='29086e94e63891884c933b186b35511aac2a2f9c56967a72e4050e2980e7da8b')
version('0.4-1', sha256='b770127b71664bbf67f8853a2666c071f2b9920743eddc9f3a58ecb948b923cf')
diff --git a/var/spack/repos/builtin/packages/r-gsa/package.py b/var/spack/repos/builtin/packages/r-gsa/package.py
index 34721c7fc3..a94a26fb00 100644
--- a/var/spack/repos/builtin/packages/r-gsa/package.py
+++ b/var/spack/repos/builtin/packages/r-gsa/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-gsalib/package.py b/var/spack/repos/builtin/packages/r-gsalib/package.py
index fe105aa14d..b77f0636fc 100644
--- a/var/spack/repos/builtin/packages/r-gsalib/package.py
+++ b/var/spack/repos/builtin/packages/r-gsalib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-gseabase/package.py b/var/spack/repos/builtin/packages/r-gseabase/package.py
index 631de6ca4a..97c7dc3ac8 100644
--- a/var/spack/repos/builtin/packages/r-gseabase/package.py
+++ b/var/spack/repos/builtin/packages/r-gseabase/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RGseabase(RPackage):
- """Gene set enrichment data structures and methods.
+ """Gene set enrichment data structures and methods
This package provides classes and methods to support Gene Set Enrichment
Analysis (GSEA)."""
@@ -15,6 +15,7 @@ class RGseabase(RPackage):
homepage = "https://bioconductor.org/packages/GSEABase"
git = "https://git.bioconductor.org/packages/GSEABase.git"
+ version('1.52.1', commit='257dfccbc5b507d82099fac6b06bb03825e995e8')
version('1.46.0', commit='edce83a9256a0c03206c2bce7c90ada0d90f6622')
version('1.44.0', commit='7042ff64a98b05b9572231ee1b4f3ae4fc9c768e')
version('1.42.0', commit='5e40ce0fdd4dc0cff7601b169bbf6aa1430ae33e')
diff --git a/var/spack/repos/builtin/packages/r-gsl/package.py b/var/spack/repos/builtin/packages/r-gsl/package.py
index 8aa7f77859..86c6fb101f 100644
--- a/var/spack/repos/builtin/packages/r-gsl/package.py
+++ b/var/spack/repos/builtin/packages/r-gsl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-gsodr/package.py b/var/spack/repos/builtin/packages/r-gsodr/package.py
index 8f1fa82e4d..f72a4f6721 100644
--- a/var/spack/repos/builtin/packages/r-gsodr/package.py
+++ b/var/spack/repos/builtin/packages/r-gsodr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,31 @@ from spack import *
class RGsodr(RPackage):
- """A Global Surface Summary of the Day (GSOD) Weather Data Client for R"""
+ """A Global Surface Summary of the Day (GSOD) Weather Data Client for R
+
+ Provides automated downloading, parsing, cleaning, unit conversion and
+ formatting of Global Surface Summary of the Day ('GSOD') weather data from
+ the from the USA National Centers for Environmental Information ('NCEI').
+ Units are converted from from United States Customary System ('USCS') units
+ to International System of Units ('SI'). Stations may be individually
+ checked for number of missing days defined by the user, where stations with
+ too many missing observations are omitted. Only stations with valid
+ reported latitude and longitude values are permitted in the final data.
+ Additional useful elements, saturation vapour pressure ('es'), actual
+ vapour pressure ('ea') and relative humidity ('RH') are calculated from the
+ original data using the improved August-Roche-Magnus approximation
+ (Alduchov & Eskridge 1996) and included in the final data set. The
+ resulting metadata include station identification information, country,
+ state, latitude, longitude, elevation, weather observations and associated
+ flags. For information on the 'GSOD' data from 'NCEI', please see the
+ 'GSOD' 'readme.txt' file available from,
+ <https://www1.ncdc.noaa.gov/pub/data/gsod/readme.txt>."""
homepage = "https://docs.ropensci.org/GSODR/"
url = "https://cloud.r-project.org/src/contrib/GSODR_2.1.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/GSODR"
+ version('2.1.2', sha256='4fc1d084b6c21055d8cc17a6a6dc412261aa0d4ef4079bcd73b580a8c16bf74e')
version('2.1.1', sha256='dba732e5bd1e367b9d710e6b8924f0c02fa4546202f049124dba02bc2e3329f5')
depends_on('r@3.5.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-gss/package.py b/var/spack/repos/builtin/packages/r-gss/package.py
index 76858c9c26..5903285ba1 100644
--- a/var/spack/repos/builtin/packages/r-gss/package.py
+++ b/var/spack/repos/builtin/packages/r-gss/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,14 +7,18 @@ from spack import *
class RGss(RPackage):
- """A comprehensive package for structural multivariate function
+ """General Smoothing Splines
+
+ A comprehensive package for structural multivariate function
estimation using smoothing splines."""
homepage = "https://cloud.r-project.org/package=gss"
url = "https://cloud.r-project.org/src/contrib/gss_2.1-7.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/gss"
+ version('2.2-2', sha256='1da4da894378ee730cff9628e8b4d2a0d7dfa344b94e5bce6953e66723c21fe4')
version('2.1-10', sha256='26c47ecae6a9b7854a1b531c09f869cf8b813462bd8093e3618e1091ace61ee2')
version('2.1-7', sha256='0405bb5e4c4d60b466335e5da07be4f9570045a24aed09e7bc0640e1a00f3adb')
depends_on('r@2.14.0:', type=('build', 'run'))
+ depends_on('r@3.0.0:', when='@2.2-2:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-gstat/package.py b/var/spack/repos/builtin/packages/r-gstat/package.py
index 5ef91125c1..5a29741d91 100644
--- a/var/spack/repos/builtin/packages/r-gstat/package.py
+++ b/var/spack/repos/builtin/packages/r-gstat/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,18 +7,24 @@ from spack import *
class RGstat(RPackage):
- """gstat: Spatial and Spatio-Temporal Geostatistical Modelling,
- Predictionand Simulation"""
+ """Spatial and Spatio-Temporal Geostatistical Modelling, Predictionand
+ Simulation
+
+ Variogram modelling; simple, ordinary and universal point or block
+ (co)kriging; spatio-temporal kriging; sequential Gaussian or indicator
+ (co)simulation; variogram and variogram map plotting utility functions;
+ supports sf and stars."""
homepage = "https://github.com/r-spatial/gstat/"
url = "https://cloud.r-project.org/src/contrib/gstat_2.0-3.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/gstat"
+ version('2.0-6', sha256='6711e68aa2444cf2927879a03a976d8caeca5eac98d806b19a6a7178b90bfcab')
version('2.0-3', sha256='20a93fe6bf89221a5888de273bddf9a98187806d507cd3cd6297c2b13e7acce1')
depends_on('r@2.10:', type=('build', 'run'))
- depends_on('r-fnn', type=('build', 'run'))
depends_on('r-lattice', type=('build', 'run'))
depends_on('r-sp@0.9-72:', type=('build', 'run'))
- depends_on('r-spacetime@1.0-0:', type=('build', 'run'))
depends_on('r-zoo', type=('build', 'run'))
+ depends_on('r-spacetime@1.0-0:', type=('build', 'run'))
+ depends_on('r-fnn', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-gsubfn/package.py b/var/spack/repos/builtin/packages/r-gsubfn/package.py
index 080214e0d8..68cd7dc5f4 100644
--- a/var/spack/repos/builtin/packages/r-gsubfn/package.py
+++ b/var/spack/repos/builtin/packages/r-gsubfn/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-gtable/package.py b/var/spack/repos/builtin/packages/r-gtable/package.py
index a0a412eddb..9c31529f91 100644
--- a/var/spack/repos/builtin/packages/r-gtable/package.py
+++ b/var/spack/repos/builtin/packages/r-gtable/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-gtools/package.py b/var/spack/repos/builtin/packages/r-gtools/package.py
index 905bb5dd1d..734949715d 100644
--- a/var/spack/repos/builtin/packages/r-gtools/package.py
+++ b/var/spack/repos/builtin/packages/r-gtools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,42 +7,44 @@ from spack import *
class RGtools(RPackage):
- """Functions to assist in R programming.
+ """Various R Programming Tools
+ Functions to assist in R programming.
Including:
- - assist in developing, updating, and maintaining R and R packages
- ('ask', 'checkRVersion', 'getDependencies', 'keywords', 'scat')
- - calculate the logit and inverse logit transformations
- ('logit', 'inv.logit')
- - test if a value is missing, empty or contains only NA and NULL values
- ('invalid')
- - manipulate R's .Last function ('addLast')
- - define macros ('defmacro')
- - detect odd and even integers ('odd', 'even')
- - convert strings containing non-ASCII characters (like single
- quotes) to plain ASCII ('ASCIIfy')
- - perform a binary search ('binsearch')
- - sort strings containing both numeric and character components
- ('mixedsort')
- - create a factor variable from the quantiles of a continuous variable
- ('quantcut')
- - enumerate permutations and combinations ('combinations', 'permutation')
- - calculate and convert between fold-change and log-ratio
- ('foldchange', 'logratio2foldchange', 'foldchange2logratio')
- - calculate probabilities and generate random numbers from Dirichlet
- distributions ('rdirichlet', 'ddirichlet')
- - apply a function over adjacent subsets of a vector ('running')
- - modify the TCP_NODELAY ('de-Nagle') flag for socket objects
- - efficient 'rbind' of data frames, even if the column names don't
- match ('smartbind')
- - generate significance stars from p-values ('stars.pval')
- - convert characters to/from ASCII codes.
-
+ [1] assist in developing, updating, and maintaining R and R packages
+ ('ask', 'checkRVersion', 'getDependencies', 'keywords', 'scat');
+ [2] calculate the logit and inverse logit transformations ('logit',
+ 'inv.logit');
+ [3] test if a value is missing, empty or contains only NA and NULL values
+ ('invalid');
+ [4] manipulate R's .Last function ('addLast');
+ [5] define macros ('defmacro');
+ [6] detect odd and even integers ('odd', 'even');
+ [7] convert strings containing non-ASCII characters (like single
+ quotes) to plain ASCII ('ASCIIfy');
+ [8] perform a binary search ('binsearch');
+ [9] sort strings containing both numeric and character components
+ ('mixedsort');
+ [10] create a factor variable from the quantiles of a continuous variable
+ ('quantcut');
+ [11] enumerate permutations and combinations ('combinations',
+ 'permutation');
+ [12] calculate and convert between fold-change and log-ratio ('foldchange',
+ 'logratio2foldchange', 'foldchange2logratio');
+ [13] calculate probabilities and generate random numbers from Dirichlet
+ distributions ('rdirichlet', 'ddirichlet');
+ [14] apply a function over adjacent subsets of a vector ('running');
+ [15] modify the TCP_NODELAY ('de-Nagle') flag for socket objects;
+ [16] efficient 'rbind' of data frames, even if the column names don't match
+ ('smartbind');
+ [17] generate significance stars from p-values ('stars.pval');
+ [18] convert characters to/from ASCII codes;
"""
homepage = "https://cloud.r-project.org/package=gtools"
url = "https://cloud.r-project.org/src/contrib/gtools_3.5.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/gtools"
+ version('3.8.2', sha256='503ba60a41f3c61b8129c25de62c74dab29761d2e661d4addd106e2e02f1dcde')
version('3.8.1', sha256='051484459bd8ad1b03425b8843d24f6828fea18f7357cfa1c192198cc3f4ba38')
version('3.5.0', sha256='86b6a51a92ddb3c78095e0c5dc20414c67f6e28f915bf0ee11406adad3e476f6')
diff --git a/var/spack/repos/builtin/packages/r-gtrellis/package.py b/var/spack/repos/builtin/packages/r-gtrellis/package.py
index 88a7b84b33..7493244f6f 100644
--- a/var/spack/repos/builtin/packages/r-gtrellis/package.py
+++ b/var/spack/repos/builtin/packages/r-gtrellis/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RGtrellis(RPackage):
- """Genome Level Trellis Layout.
+ """Genome Level Trellis Layout
Genome level Trellis graph visualizes genomic data conditioned by
genomic categories (e.g. chromosomes). For each genomic category,
@@ -19,6 +19,7 @@ class RGtrellis(RPackage):
homepage = "https://bioconductor.org/packages/gtrellis"
git = "https://git.bioconductor.org/packages/gtrellis.git"
+ version('1.22.0', commit='c071c5631f3dedda212aed87d9c02954b5ed6611')
version('1.16.1', commit='a9003ededc8f2a48c78d4545e2f214023c13a7da')
version('1.14.0', commit='93935fb34211d12b250e22291712e18a31b0208d')
version('1.12.1', commit='7f3941adddbbfa17f4cf474b703568678a38272d')
@@ -29,6 +30,5 @@ class RGtrellis(RPackage):
depends_on('r-iranges', type=('build', 'run'))
depends_on('r-genomicranges', type=('build', 'run'))
depends_on('r-circlize@0.3.3:', type=('build', 'run'))
- depends_on('r-getoptlong', type=('build', 'run'))
-
depends_on('r-circlize@0.4.8:', when='@1.16.1', type=('build', 'run'))
+ depends_on('r-getoptlong', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-gviz/package.py b/var/spack/repos/builtin/packages/r-gviz/package.py
index 3047086747..3e2ac772b4 100644
--- a/var/spack/repos/builtin/packages/r-gviz/package.py
+++ b/var/spack/repos/builtin/packages/r-gviz/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RGviz(RPackage):
- """Plotting data and annotation information along genomic coordinates.
+ """Plotting data and annotation information along genomic coordinates
Genomic data analyses requires integrated visualization of known genomic
information and new experimental data. Gviz uses the biomaRt and the
@@ -19,6 +19,7 @@ class RGviz(RPackage):
homepage = "https://bioconductor.org/packages/Gviz"
git = "https://git.bioconductor.org/packages/Gviz.git"
+ version('1.34.0', commit='445fadff2aedd8734580fa908aa47ff1216a8182')
version('1.28.3', commit='20b9825af144cfc888629c34aa980b5bbd65bf86')
version('1.26.5', commit='430310b9d2e098f9757a71d26a2f69871071f30c')
version('1.24.0', commit='3ee1eec97a56653c07c434a97f82cfe3c4281841')
@@ -26,6 +27,7 @@ class RGviz(RPackage):
version('1.20.0', commit='299b8255e1b03932cebe287c3690d58c88f5ba5c')
depends_on('r@2.10.0:', type=('build', 'run'))
+ depends_on('r@4.0:', when='@1.34.0:', type=('build', 'run'))
depends_on('r-s4vectors@0.9.25:', type=('build', 'run'))
depends_on('r-iranges@1.99.18:', type=('build', 'run'))
depends_on('r-genomicranges@1.17.20:', type=('build', 'run'))
@@ -37,6 +39,7 @@ class RGviz(RPackage):
depends_on('r-annotationdbi@1.27.5:', type=('build', 'run'))
depends_on('r-biobase@2.15.3:', type=('build', 'run'))
depends_on('r-genomicfeatures@1.17.22:', type=('build', 'run'))
+ depends_on('r-ensembldb@2.11.3:', when='@1.34.0:', type=('build', 'run'))
depends_on('r-bsgenome@1.33.1:', type=('build', 'run'))
depends_on('r-biostrings@2.33.11:', type=('build', 'run'))
depends_on('r-biovizbase@1.13.8:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-gwmodel/package.py b/var/spack/repos/builtin/packages/r-gwmodel/package.py
index e1577f8f61..8e1e81dc20 100644
--- a/var/spack/repos/builtin/packages/r-gwmodel/package.py
+++ b/var/spack/repos/builtin/packages/r-gwmodel/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,23 +7,39 @@ from spack import *
class RGwmodel(RPackage):
- """GWmodel: Geographically-Weighted Models"""
+ """Geographically-Weighted Models
+
+ Techniques from a particular branch of spatial statistics,termed
+ geographically-weighted (GW) models. GW models suit situations when data
+ are not described well by some global model, but where there are spatial
+ regions where a suitably localised calibration provides a better
+ description. 'GWmodel' includes functions to calibrate: GW summary
+ statistics (Brunsdon et al., 2002) <doi:10.1016/s0198-9715(01)00009-6>, GW
+ principal components analysis (Harris et al., 2011)
+ <doi:10.1080/13658816.2011.554838>, GW discriminant analysis (Brunsdon et
+ al., 2007) <doi:10.1111/j.1538-4632.2007.00709.x> and various forms of GW
+ regression (Brunsdon et al., 1996)
+ <doi:10.1111/j.1538-4632.1996.tb00936.x>; some of which are provided in
+ basic and robust (outlier resistant) forms."""
homepage = "http://gwr.nuim.ie/"
url = "https://cloud.r-project.org/src/contrib/GWmodel_2.0-9.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/GWmodel"
+ version('2.2-2', sha256='4e2b221b85fbc828ffc4f057c137ded849afcaac2a75c27d2d6d0a6db17f8a06')
version('2.1-3', sha256='3e1a36fddf8e64f61d548067bb043216f8d12069d814a4cbf07a9cae0b310af6')
version('2.1-1', sha256='91241b4e26d423a54c7c6784ef5159759058a5dafdff18a1ea8451faf979d1f3')
version('2.0-9', sha256='b479af2c19d4aec30f1883d00193d52e342c609c1badcb51cc0344e4404cffa7')
depends_on('r@3.0.0:', type=('build', 'run'))
depends_on('r-maptools@0.5-2:', type=('build', 'run'))
- depends_on('r-rcpp', type=('build', 'run'))
- depends_on('r-rcpparmadillo', type=('build', 'run'))
depends_on('r-robustbase', type=('build', 'run'))
depends_on('r-sp', type=('build', 'run'))
- depends_on('r-spacetime', type=('build', 'run'))
+ depends_on('r-sp@1.4-0:', when='@2.2-2:', type=('build', 'run'))
+ depends_on('r-rcpp', type=('build', 'run'))
depends_on('r-spatialreg', type=('build', 'run'))
+ depends_on('r-spacetime', type=('build', 'run'))
depends_on('r-spdep', type=('build', 'run'))
depends_on('r-fnn', when='@2.1-1:', type=('build', 'run'))
+ depends_on('r-rcpparmadillo', type=('build', 'run'))
+ depends_on('gmake', type='build')
diff --git a/var/spack/repos/builtin/packages/r-haven/package.py b/var/spack/repos/builtin/packages/r-haven/package.py
index 05c1bf2e65..93b7b4cdde 100644
--- a/var/spack/repos/builtin/packages/r-haven/package.py
+++ b/var/spack/repos/builtin/packages/r-haven/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,22 +7,28 @@ from spack import *
class RHaven(RPackage):
- """Import foreign statistical formats into R via the embedded 'ReadStat' C
- library, <https://github.com/WizardMac/ReadStat>."""
+ """Import and Export 'SPSS', 'Stata' and 'SAS' Files
+
+ Import foreign statistical formats into R via the embedded 'ReadStat' C
+ library, <https://github.com/WizardMac/ReadStat>."""
homepage = "http://haven.tidyverse.org/"
url = "https://cloud.r-project.org/src/contrib/haven_1.1.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/haven"
+ version('2.3.1', sha256='6eee9f3297aab4cae2e4a4181ea65af933eacee2a2fb40af5b2ecf06f1bb9e0d')
version('2.1.1', sha256='90bcb4e7f24960e7aa3e15c06b95cd897f08de149cec43fd8ba110b14526068a')
version('2.1.0', sha256='c0a1cf1b039549fb3ad833f9644ed3f142790236ad755d2ee7bd3d8109e3ae74')
version('1.1.0', sha256='089fb4d0955f320abc48d0a3031799f96f3a20b82492474743903fdf12001d19')
depends_on('r@3.1:', when='@:2.1.0', type=('build', 'run'))
depends_on('r@3.2:', when='@2.1.1:', type=('build', 'run'))
+ depends_on('r-forcats@0.2.0:', type=('build', 'run'))
+ depends_on('r-hms', type=('build', 'run'))
depends_on('r-rcpp@0.11.4:', type=('build', 'run'))
depends_on('r-readr@0.1.0:', type=('build', 'run'))
- depends_on('r-hms', type=('build', 'run'))
+ depends_on('r-rlang@0.4.0:', when='@2.3.1:', type=('build', 'run'))
depends_on('r-tibble', type=('build', 'run'))
- depends_on('r-forcats@0.2.0:', type=('build', 'run'))
+ depends_on('r-tidyselect', when='@2.3.1:', type=('build', 'run'))
+ depends_on('r-vctrs@0.3.0:', when='@2.3.1:', type=('build', 'run'))
depends_on('gmake', type='build')
diff --git a/var/spack/repos/builtin/packages/r-hdf5array/package.py b/var/spack/repos/builtin/packages/r-hdf5array/package.py
index 0a7ed13742..7c2400d9a6 100644
--- a/var/spack/repos/builtin/packages/r-hdf5array/package.py
+++ b/var/spack/repos/builtin/packages/r-hdf5array/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RHdf5array(RPackage):
- """HDF5 backend for DelayedArray objects.
+ """HDF5 backend for DelayedArray objects
Implements the HDF5Array and TENxMatrix classes, 2 convenient and
memory-efficient array-like containers for on-disk representation of
@@ -21,6 +21,7 @@ class RHdf5array(RPackage):
homepage = "https://bioconductor.org/packages/HDF5Array"
git = "https://git.bioconductor.org/packages/HDF5Array.git"
+ version('1.18.0', commit='d5bd55d170cb384fdebdf60751e1e28483782caa')
version('1.12.3', commit='21c6077f3f789748a18f2e579110576c5522e975')
version('1.10.1', commit='0b8ae1dfb56e4203dd8e14781850370df46a5e2c')
version('1.8.1', commit='3c9aa23d117bf489b6341708dc80c943bd1af11a')
@@ -29,21 +30,21 @@ class RHdf5array(RPackage):
depends_on('r@3.4:', type=('build', 'run'))
depends_on('r-delayedarray@0.2.4:', type=('build', 'run'))
- depends_on('r-rhdf5', type=('build', 'run'))
- depends_on('r-biocgenerics', type=('build', 'run'))
- depends_on('r-s4vectors', type=('build', 'run'))
- depends_on('r-iranges', type=('build', 'run'))
-
depends_on('r-delayedarray@0.3.18:', when='@1.6.0:', type=('build', 'run'))
-
depends_on('r-delayedarray@0.5.32:', when='@1.8.1:', type=('build', 'run'))
- depends_on('r-biocgenerics@0.25.1:', when='@1.8.1:', type=('build', 'run'))
-
depends_on('r-delayedarray@0.7.41:', when='@1.10.1:', type=('build', 'run'))
- depends_on('r-rhdf5@2.25.6:', when='@1.10.1:', type=('build', 'run'))
-
depends_on('r-delayedarray@0.9.3:', when='@1.12.3:', type=('build', 'run'))
+ depends_on('r-delayedarray@0.15.16:', when='@1.18.0:', type=('build', 'run'))
+ depends_on('r-rhdf5', type=('build', 'run'))
+ depends_on('r-rhdf5@2.25.6:', when='@1.10.1:', type=('build', 'run'))
+ depends_on('r-rhdf5@2.31.6:', when='@1.18.0:', type=('build', 'run'))
+ depends_on('r-matrix', when='@1.18.0:', type=('build', 'run'))
+ depends_on('r-biocgenerics', type=('build', 'run'))
+ depends_on('r-biocgenerics@0.25.1:', when='@1.8.1:', type=('build', 'run'))
+ depends_on('r-biocgenerics@0.31.5:', when='@1.18.0:', type=('build', 'run'))
+ depends_on('r-s4vectors', type=('build', 'run'))
depends_on('r-s4vectors@0.21.6:', when='@1.12.3:', type=('build', 'run'))
+ depends_on('r-s4vectors@0.27.13:', when='@1.18.0:', type=('build', 'run'))
+ depends_on('r-iranges', type=('build', 'run'))
depends_on('r-rhdf5lib', when='@1.12.3:', type=('build', 'run'))
-
depends_on('gmake', type='build')
diff --git a/var/spack/repos/builtin/packages/r-hdf5r/package.py b/var/spack/repos/builtin/packages/r-hdf5r/package.py
index 29baf0193c..860270bafe 100644
--- a/var/spack/repos/builtin/packages/r-hdf5r/package.py
+++ b/var/spack/repos/builtin/packages/r-hdf5r/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RHdf5r(RPackage):
- """'HDF5' is a data model, library and file format for storing and managing
+ """Interface to the 'HDF5' Binary Data Format
+
+ 'HDF5' is a data model, library and file format for storing and managing
large amounts of data. This package provides a nearly feature complete,
object oriented wrapper for the 'HDF5' API
<https://support.hdfgroup.org/HDF5/doc/RM/RM_H5Front.html> using R6
@@ -18,6 +20,7 @@ class RHdf5r(RPackage):
url = "https://cloud.r-project.org/src/contrib/hdf5r_1.2.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/hdf5r"
+ version('1.3.3', sha256='a0f83cbf21563e81dbd1a1bd8379623ed0c9c4df4e094c75013abfd7a5271545')
version('1.2.0', sha256='58813e334fd3f9040038345a7186e5cb02090898883ac192477a76a5b8b4fe81')
depends_on('r@3.2.2:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-hexbin/package.py b/var/spack/repos/builtin/packages/r-hexbin/package.py
index d1534b02ea..85d78bb71d 100644
--- a/var/spack/repos/builtin/packages/r-hexbin/package.py
+++ b/var/spack/repos/builtin/packages/r-hexbin/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,13 +8,16 @@ from spack import *
class RHexbin(RPackage):
- """Binning and plotting functions for hexagonal bins. Now uses and relies
+ """Hexagonal Binning Routines
+
+ Binning and plotting functions for hexagonal bins. Now uses and relies
on grid graphics and formal (S4) classes and methods."""
homepage = "http://github.com/edzer/hexbin"
url = "https://cloud.r-project.org/src/contrib/hexbin_1.27.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/hexbin"
+ version('1.28.2', sha256='6241f8d3a6c6be2c1c693c3ddb99554bc103e3c6cf602d0c2787c0ce6fd1702d')
version('1.27.3', sha256='7ea422a76542c2fc2840df601af1b7803aa96df4fee6d51dec456ac36940c191')
version('1.27.2', sha256='46d47b1efef75d6f126af686a4dd614228b60418b9a5bde9e9e5d11200a0ee52')
version('1.27.1', sha256='075935a3ae2d90e44aca6ebbd368dc6f7e59d322e36e0e0932dedbf01330ad08')
diff --git a/var/spack/repos/builtin/packages/r-hh/package.py b/var/spack/repos/builtin/packages/r-hh/package.py
index 1f455fcac1..7b7266998a 100644
--- a/var/spack/repos/builtin/packages/r-hh/package.py
+++ b/var/spack/repos/builtin/packages/r-hh/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RHh(RPackage):
- """HH: Statistical Analysis and Data Display: Heiberger and Holland.
+ """Statistical Analysis and Data Display: Heiberger and Holland.
Support software for Statistical Analysis and Data Display (Second
Edition, Springer, ISBN 978-1-4939-2121-8, 2015) and (First Edition,
@@ -28,6 +28,7 @@ class RHh(RPackage):
url = "https://cloud.r-project.org/src/contrib/HH_3.1-40.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/HH"
+ version('3.1-43', sha256='2ed35c8fc97092e9d2ce3439a2ec342d5d7bd93ad8f5266995cc80d88cd2235b')
version('3.1-40', sha256='795924d900a98ae367e6697b2c951c3b4910a54931aebcad5024eda083d4a8a2')
depends_on('r@3.0.2:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-highr/package.py b/var/spack/repos/builtin/packages/r-highr/package.py
index c83f5a6427..867559039c 100644
--- a/var/spack/repos/builtin/packages/r-highr/package.py
+++ b/var/spack/repos/builtin/packages/r-highr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-hmisc/package.py b/var/spack/repos/builtin/packages/r-hmisc/package.py
index 678816277c..6327f9207a 100644
--- a/var/spack/repos/builtin/packages/r-hmisc/package.py
+++ b/var/spack/repos/builtin/packages/r-hmisc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RHmisc(RPackage):
- """Contains many functions useful for data analysis, high-level
+ """Harrell Miscellaneous
+
+ Contains many functions useful for data analysis, high-level
graphics, utility operations, functions for computing sample size
and power, importing and annotating datasets, imputing missing
values, advanced table making, variable clustering, character
@@ -18,6 +20,7 @@ class RHmisc(RPackage):
url = "https://cloud.r-project.org/src/contrib/Hmisc_4.1-1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/Hmisc"
+ version('4.4-2', sha256='490ac64dd8558868e7c6fdd9523af102e17ea536c450d62c48b04155279bfbc8')
version('4.4-0', sha256='f16ecf4c5ee2202d51f426282a54f8000ffa8b9747c3e910205f34f878556ec7')
version('4.2-0', sha256='9e9614673288dd00295f250fa0bf96fc9e9fed692c69bf97691081c1a01411d9')
version('4.1-1', sha256='991db21cdf73ffbf5b0239a4876b2e76fd243ea33528afd88dc968792f281498')
@@ -28,15 +31,15 @@ class RHmisc(RPackage):
depends_on('r-formula', type=('build', 'run'))
depends_on('r-ggplot2@2.2:', type=('build', 'run'))
depends_on('r-latticeextra', type=('build', 'run'))
- depends_on('r-acepack', type=('build', 'run'))
- depends_on('r-gridextra', type=('build', 'run'))
- depends_on('r-data-table', type=('build', 'run'))
- depends_on('r-htmltools', type=('build', 'run'))
- depends_on('r-base64enc', type=('build', 'run'))
- depends_on('r-htmltable@1.11.0:', type=('build', 'run'))
- depends_on('r-viridis', type=('build', 'run'))
depends_on('r-cluster', type=('build', 'run'))
depends_on('r-rpart', type=('build', 'run'))
depends_on('r-nnet', type=('build', 'run'))
depends_on('r-foreign', type=('build', 'run'))
depends_on('r-gtable', type=('build', 'run'))
+ depends_on('r-gridextra', type=('build', 'run'))
+ depends_on('r-data-table', type=('build', 'run'))
+ depends_on('r-htmltable@1.11.0:', type=('build', 'run'))
+ depends_on('r-viridis', type=('build', 'run'))
+ depends_on('r-htmltools', type=('build', 'run'))
+ depends_on('r-base64enc', type=('build', 'run'))
+ depends_on('r-acepack', when='@:4.4-0', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-hms/package.py b/var/spack/repos/builtin/packages/r-hms/package.py
index 0ebcc5fbde..b0c24234a2 100644
--- a/var/spack/repos/builtin/packages/r-hms/package.py
+++ b/var/spack/repos/builtin/packages/r-hms/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,16 +7,22 @@ from spack import *
class RHms(RPackage):
- """Implements an S3 class for storing and formatting time-of-day values,
- based on the 'difftime' class."""
+ """Pretty Time of Day
+
+ Implements an S3 class for storing and formatting time-of-day values, based
+ on the 'difftime' class."""
homepage = "https://cloud.r-project.org/package=hms"
url = "https://cloud.r-project.org/src/contrib/hms_0.3.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/hms"
+ version('1.0.0', sha256='9704e903d724f0911d46e5ad18b469a7ed419c5b1f388bd064fd663cefa6c962')
version('0.5.0', sha256='a87872665c3bf3901f597d78c152e7805f7129e4dbe27397051de4cf1a76561b')
version('0.3', sha256='9368259cbc1094ce0e4cf61544875ec30088ef690d6667e6b0b564218ab3ff88')
+ depends_on('r-ellipsis', when='@1.0.0:', type=('build', 'run'))
+ depends_on('r-lifecycle', when='@1.0.0:', type=('build', 'run'))
depends_on('r-pkgconfig', when='@0.5.0:', type=('build', 'run'))
depends_on('r-rlang', when='@0.5.0:', type=('build', 'run'))
depends_on('r-vctrs@0.2.0:', when='@0.5.0:', type=('build', 'run'))
+ depends_on('r-vctrs@0.2.1:', when='@1.0.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-hoardr/package.py b/var/spack/repos/builtin/packages/r-hoardr/package.py
index 2c6f222d64..7de77d1955 100644
--- a/var/spack/repos/builtin/packages/r-hoardr/package.py
+++ b/var/spack/repos/builtin/packages/r-hoardr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-htmltable/package.py b/var/spack/repos/builtin/packages/r-htmltable/package.py
index d3876cc174..73abf4d89c 100644
--- a/var/spack/repos/builtin/packages/r-htmltable/package.py
+++ b/var/spack/repos/builtin/packages/r-htmltable/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RHtmltable(RPackage):
- """Tables with state-of-the-art layout elements such as row
+ """Advanced Tables for Markdown/HTML
+
+ Tables with state-of-the-art layout elements such as row
spanners, column spanners, table spanners, zebra striping, and
more. While allowing advanced layout, the underlying css-structure
is simple in order to maximize compatibility with word processors
@@ -19,6 +21,7 @@ class RHtmltable(RPackage):
url = "https://cloud.r-project.org/src/contrib/htmlTable_1.11.2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/htmlTable"
+ version('2.1.0', sha256='4049339b317cbec1c8c7930e2e36cf0fc8b002516092dd270bb794d8db02f0bf')
version('1.13.1', sha256='689f32b65da6a57ad500e8d9ef3309d346401dca277c6b264a46c8d7c75884d0')
version('1.11.2', sha256='64a273b1cdf07a7c57b9031315ca665f95d78e70b4320d020f64a139278877d1')
version('1.9', sha256='5b487a7f33af77db7d987bf61f3ef2ba18bb629fe7b9802409f8b3485c603132')
diff --git a/var/spack/repos/builtin/packages/r-htmltools/package.py b/var/spack/repos/builtin/packages/r-htmltools/package.py
index 18786d763e..4a6df7580c 100644
--- a/var/spack/repos/builtin/packages/r-htmltools/package.py
+++ b/var/spack/repos/builtin/packages/r-htmltools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,15 +7,20 @@ from spack import *
class RHtmltools(RPackage):
- """Tools for HTML generation and output."""
+ """Tools for HTML
+
+ Tools for HTML generation and output."""
homepage = "https://github.com/rstudio/htmltools"
url = "https://cloud.r-project.org/src/contrib/htmltools_0.3.6.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/htmltools"
+ version('0.5.1', sha256='6ac82e4451f9558ceb541ea659a736b2ab3245827832b44d3661e7a4d91f6307')
version('0.3.6', sha256='44affb82f9c2fd76c9e2b58f9229adb003217932b68c3fdbf1327c8d74c868a2')
version('0.3.5', sha256='29fb7e075744bbffdff8ba4fce3860076de66f39a59a100ee4cfb4fc00722b49')
depends_on('r@2.14.1:', type=('build', 'run'))
depends_on('r-digest', type=('build', 'run'))
- depends_on('r-rcpp', type=('build', 'run'))
+ depends_on('r-base64enc', when='@0.5.1:', type=('build', 'run'))
+ depends_on('r-rlang', when='@0.5.1:', type=('build', 'run'))
+ depends_on('r-rcpp', when=' @:0.3.6', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-htmlwidgets/package.py b/var/spack/repos/builtin/packages/r-htmlwidgets/package.py
index 9466528f4a..1867fc96dc 100644
--- a/var/spack/repos/builtin/packages/r-htmlwidgets/package.py
+++ b/var/spack/repos/builtin/packages/r-htmlwidgets/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RHtmlwidgets(RPackage):
- """A framework for creating HTML widgets that render in various contexts
+ """HTML Widgets for R
+
+ A framework for creating HTML widgets that render in various contexts
including the R console, 'R Markdown' documents, and 'Shiny' web
applications."""
@@ -15,6 +17,7 @@ class RHtmlwidgets(RPackage):
url = "https://cloud.r-project.org/src/contrib/htmlwidgets_0.9.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/htmlwidgets"
+ version('1.5.3', sha256='01a5833182cc224bd100be2815e57e67b524de9f2bb1542787b6e3d1303f0f29')
version('1.3', sha256='f1e4ffabc29e6cfe857f627da095be3cfcbe0e1f02ae75e572f10b4a026c5a12')
version('0.9', sha256='1154b541ccd868e41d3cf0d7f188f7275ec99f61fe2c7de21c8a05edb19b985e')
version('0.8', sha256='9232b78727c1ecd006cd8e607ef76417d795f011b0e4a7535e6d673228bfc3b5')
diff --git a/var/spack/repos/builtin/packages/r-httpcode/package.py b/var/spack/repos/builtin/packages/r-httpcode/package.py
index 52b847fda6..d95b8ce4da 100644
--- a/var/spack/repos/builtin/packages/r-httpcode/package.py
+++ b/var/spack/repos/builtin/packages/r-httpcode/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,10 +7,15 @@ from spack import *
class RHttpcode(RPackage):
- """httpcode: 'HTTP' Status Code Helper"""
+ """httpcode: 'HTTP' Status Code Helper
+
+ Find and explain the meaning of 'HTTP' status codes. Functions included for
+ searching for codes by full or partial number, by message, and get
+ appropriate dog and cat images for many status codes."""
homepage = "https://github.com/sckott/httpcode"
url = "https://cloud.r-project.org/src/contrib/httpcode_0.2.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/httpcode"
+ version('0.3.0', sha256='593a030a4f94c3df8c15576837c17344701bac023ae108783d0f06c476062f76')
version('0.2.0', sha256='fbc1853db742a2cc1df11285cf27ce2ea43bc0ba5f7d393ee96c7e0ee328681a')
diff --git a/var/spack/repos/builtin/packages/r-httpuv/package.py b/var/spack/repos/builtin/packages/r-httpuv/package.py
index f910d16e2f..b4acb7550d 100644
--- a/var/spack/repos/builtin/packages/r-httpuv/package.py
+++ b/var/spack/repos/builtin/packages/r-httpuv/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RHttpuv(RPackage):
- """Provides low-level socket and protocol support for handling HTTP and
+ """HTTP and WebSocket Server Library
+
+ Provides low-level socket and protocol support for handling HTTP and
WebSocket requests directly from within R. It is primarily intended as a
building block for other packages, rather than making it particularly easy
to create complete web applications using httpuv alone. httpuv is built on
@@ -19,6 +21,7 @@ class RHttpuv(RPackage):
url = "https://cloud.r-project.org/src/contrib/httpuv_1.3.5.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/httpuv"
+ version('1.5.5', sha256='0be6c98927c7859d4bbfbbec8822c9f5e95352077d87640a76bc2ade07c83117')
version('1.5.1', sha256='b5bb6b3b2f1a6d792568a70f3f357d6b3a35a5e26dd0c668c61a31f2ae8f5710')
version('1.3.5', sha256='4336b993afccca2a194aca577b1975b89a35ac863423b18a11cdbb3f8470e4e9')
version('1.3.3', sha256='bb37452ddc4d9381bee84cdf524582859af6a988e291debb71c8a2e120d02b2a')
@@ -28,4 +31,5 @@ class RHttpuv(RPackage):
depends_on('r-r6', when='@1.5.0:', type=('build', 'run'))
depends_on('r-promises', when='@1.5.0:', type=('build', 'run'))
depends_on('r-later@0.8.0:', when='@1.5.0:', type=('build', 'run'))
+ depends_on('r-bh', when='@1.5.5:', type=('build', 'run'))
depends_on('gmake', type='build')
diff --git a/var/spack/repos/builtin/packages/r-httr/package.py b/var/spack/repos/builtin/packages/r-httr/package.py
index 3d7a2e2dbc..496b9d1465 100644
--- a/var/spack/repos/builtin/packages/r-httr/package.py
+++ b/var/spack/repos/builtin/packages/r-httr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RHttr(RPackage):
- """Useful tools for working with HTTP organised by HTTP verbs (GET(),
+ """Tools for Working with URLs and HTTP
+
+ Useful tools for working with HTTP organised by HTTP verbs (GET(),
POST(), etc). Configuration functions make it easy to control additional
request components (authenticate(), add_headers() and so on)."""
@@ -15,17 +17,18 @@ class RHttr(RPackage):
url = "https://cloud.r-project.org/src/contrib/httr_1.2.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/httr"
+ version('1.4.2', sha256='462bed6ed0d92f811d5df4d294336025f1dbff357286999d9269bfd9c20b1ef9')
version('1.4.1', sha256='675c7e07bbe82c48284ee1ab929bb14a6e653abae2860d854dc41a3c028de156')
version('1.4.0', sha256='d633f1425da514f65f3b8c034ae0a8b6911995009840c6bb9657ceedb99ddb48')
version('1.3.1', sha256='22134d7426b2eba37f0cc34b99285499b8bac9fe75a7bc3222fbad179bf8f258')
version('1.2.1', sha256='e7b90b90ee52c826e152efcfadf98e078fa75b65a6baaeb8fd25eeed2195730e')
version('1.1.0', sha256='d7c0cdc11b2ded3132544580f52ebe5dad2a426cde1a5029f2cc693b2f195823')
- depends_on('r@3.0.0:', when='@:1.3.1', type=('build', 'run'))
+ depends_on('r@3.0.0:', type=('build', 'run'))
depends_on('r@3.1:', when='@1.4.0', type=('build', 'run'))
depends_on('r@3.2:', when='@1.4.1:', type=('build', 'run'))
+ depends_on('r-curl@3.0.0:', type=('build', 'run'))
depends_on('r-jsonlite', type=('build', 'run'))
depends_on('r-mime', type=('build', 'run'))
- depends_on('r-curl@3.0.0:', type=('build', 'run'))
depends_on('r-openssl@0.8:', type=('build', 'run'))
depends_on('r-r6', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-hwriter/package.py b/var/spack/repos/builtin/packages/r-hwriter/package.py
index 57d41cc87e..11c1d8b586 100644
--- a/var/spack/repos/builtin/packages/r-hwriter/package.py
+++ b/var/spack/repos/builtin/packages/r-hwriter/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-hypergraph/package.py b/var/spack/repos/builtin/packages/r-hypergraph/package.py
index 3240ab0c23..5296cde4c8 100644
--- a/var/spack/repos/builtin/packages/r-hypergraph/package.py
+++ b/var/spack/repos/builtin/packages/r-hypergraph/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RHypergraph(RPackage):
- """A package providing hypergraph data structures.
+ """A package providing hypergraph data structures
A package that implements some simple capabilities for representing and
manipulating hypergraphs."""
@@ -15,6 +15,7 @@ class RHypergraph(RPackage):
homepage = "https://bioconductor.org/packages/hypergraph"
git = "https://git.bioconductor.org/packages/hypergraph.git"
+ version('1.62.0', commit='a286bbb70289e9f3cdf41407d52e5976bd6ed11e')
version('1.56.0', commit='f8b977fe068f15ecea49d30e77a871a35afcb97b')
version('1.54.0', commit='cf134b9221e9b5f6329a6786a366f57426c49e7c')
version('1.52.0', commit='3e28d8e8ab4c3facb79857b4e4cfffd65e064aca')
diff --git a/var/spack/repos/builtin/packages/r-ica/package.py b/var/spack/repos/builtin/packages/r-ica/package.py
index 7905de86b1..841ae34f60 100644
--- a/var/spack/repos/builtin/packages/r-ica/package.py
+++ b/var/spack/repos/builtin/packages/r-ica/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-igraph/package.py b/var/spack/repos/builtin/packages/r-igraph/package.py
index 9ceec19052..100ea007a9 100644
--- a/var/spack/repos/builtin/packages/r-igraph/package.py
+++ b/var/spack/repos/builtin/packages/r-igraph/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RIgraph(RPackage):
- """Routines for simple graphs and network analysis. It can handle large
+ """Network Analysis and Visualization
+
+ Routines for simple graphs and network analysis. It can handle large
graphs very well and provides functions for generating random and regular
graphs, graph visualization, centrality methods and much more."""
@@ -15,13 +17,14 @@ class RIgraph(RPackage):
url = "https://cloud.r-project.org/src/contrib/igraph_1.0.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/igraph"
+ version('1.2.6', sha256='640da72166fda84bea2c0e5eee374f1ed80cd9439c1171d056b1b1737ae6c76d')
version('1.2.4.1', sha256='891acc763b5a4a4a245358a95dee69280f4013c342f14dd6a438e7bb2bf2e480')
version('1.2.4', sha256='1048eb26ab6b592815bc269c1d91e974c86c9ab827ccb80ae0a40042019592cb')
version('1.1.2', sha256='89b16b41bc77949ea208419e52a18b78b5d418c7fedc52cd47d06a51a6e746ec')
version('1.0.1', sha256='dc64ed09b8b5f8d66ed4936cde3491974d6bc5178dd259b6eab7ef3936aa5602')
- depends_on('r-matrix', type=('build', 'run'))
depends_on('r-magrittr', type=('build', 'run'))
+ depends_on('r-matrix', type=('build', 'run'))
depends_on('r-pkgconfig@2.0.0:', type=('build', 'run'))
depends_on('r-irlba', when='@:1.1.9', type=('build', 'run'))
depends_on('gmp')
diff --git a/var/spack/repos/builtin/packages/r-illuminahumanmethylation450kanno-ilmn12-hg19/package.py b/var/spack/repos/builtin/packages/r-illuminahumanmethylation450kanno-ilmn12-hg19/package.py
index 3442430964..e99aa99d8e 100644
--- a/var/spack/repos/builtin/packages/r-illuminahumanmethylation450kanno-ilmn12-hg19/package.py
+++ b/var/spack/repos/builtin/packages/r-illuminahumanmethylation450kanno-ilmn12-hg19/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RIlluminahumanmethylation450kannoIlmn12Hg19(RPackage):
- """Manifests and annotation for Illumina's 450k array data."""
+ """Annotation for Illumina's 450k methylation arrays
+
+ Manifests and annotation for Illumina's 450k array data."""
# This package is available via bioconductor but there is no available git
# repository.
diff --git a/var/spack/repos/builtin/packages/r-illuminaio/package.py b/var/spack/repos/builtin/packages/r-illuminaio/package.py
index 01d0f06d20..0d2d87cfab 100644
--- a/var/spack/repos/builtin/packages/r-illuminaio/package.py
+++ b/var/spack/repos/builtin/packages/r-illuminaio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,14 @@ from spack import *
class RIlluminaio(RPackage):
- """Parsing Illumina Microarray Output Files.
+ """Parsing Illumina Microarray Output Files
Tools for parsing Illumina's microarray output files, including IDAT."""
homepage = "https://bioconductor.org/packages/illuminaio"
git = "https://git.bioconductor.org/packages/illuminaio.git"
+ version('0.32.0', commit='e1322c781dd475a5e8ff6c0422bebb3deb47fa80')
version('0.26.0', commit='40c2f94df2ea64d745d25aadd2bfb33ac3e02f81')
version('0.24.0', commit='47953c77713c2da00a610f39308f86c5b44f6c59')
version('0.22.0', commit='dbd842340999569975ea593f47d70a729b3f68f2')
diff --git a/var/spack/repos/builtin/packages/r-imager/package.py b/var/spack/repos/builtin/packages/r-imager/package.py
index cd0f851054..8819f01f05 100644
--- a/var/spack/repos/builtin/packages/r-imager/package.py
+++ b/var/spack/repos/builtin/packages/r-imager/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RImager(RPackage):
- """Fast image processing for images in up to 4 dimensions (two spatial
+ """Image Processing Library Based on 'CImg'
+
+ Fast image processing for images in up to 4 dimensions (two spatial
dimensions, one time/depth dimension, one colour dimension). Provides most
traditional image processing tools (filtering, morphology, transformations,
etc.) as well as various functions for easily analysing image data using R.
@@ -18,6 +20,7 @@ class RImager(RPackage):
url = "https://cloud.r-project.org/src/contrib/imager_0.41.2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/imager"
+ version('0.42.3', sha256='6fc308153df8251cef48f1e13978abd5d29ec85046fbe0b27c428801d05ebbf3')
version('0.41.2', sha256='9be8bc8b3190d469fcb2883045a404d3b496a0380f887ee3caea11f0a07cd8a5')
depends_on('r@2.10.0:', type=('build', 'run'))
@@ -28,10 +31,9 @@ class RImager(RPackage):
depends_on('r-jpeg', type=('build', 'run'))
depends_on('r-readbitmap', type=('build', 'run'))
depends_on('r-purrr', type=('build', 'run'))
- depends_on('r-cairo', type=('build', 'run'))
depends_on('r-downloader', type=('build', 'run'))
depends_on('r-igraph', type=('build', 'run'))
- depends_on('r-plyr', type=('build', 'run'))
-
+ depends_on('r-cairo', when='@:0.41.2', type=('build', 'run'))
+ depends_on('r-plyr', when='@:0.41.2', type=('build', 'run'))
depends_on('fftw')
depends_on('libtiff')
diff --git a/var/spack/repos/builtin/packages/r-impute/package.py b/var/spack/repos/builtin/packages/r-impute/package.py
index 805a552262..7629e3e406 100644
--- a/var/spack/repos/builtin/packages/r-impute/package.py
+++ b/var/spack/repos/builtin/packages/r-impute/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,14 @@ from spack import *
class RImpute(RPackage):
- """impute: Imputation for microarray data.
+ """impute: Imputation for microarray data
Imputation for microarray data (currently KNN only)"""
homepage = "https://bioconductor.org/packages/impute"
git = "https://git.bioconductor.org/packages/impute.git"
+ version('1.64.0', commit='31a5636f4dfbb1fd61386738786a0de048a620c2')
version('1.58.0', commit='dc17173df08d965a0d0aac9fa4ad519bd99d127e')
version('1.56.0', commit='6c037ed4dffabafceae684265f86f2a18751b559')
version('1.54.0', commit='efc61f5197e8c4baf4ae881fb556f0312beaabd8')
diff --git a/var/spack/repos/builtin/packages/r-influencer/package.py b/var/spack/repos/builtin/packages/r-influencer/package.py
index 3fc0e7aa5e..c88e43b2e8 100644
--- a/var/spack/repos/builtin/packages/r-influencer/package.py
+++ b/var/spack/repos/builtin/packages/r-influencer/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-ini/package.py b/var/spack/repos/builtin/packages/r-ini/package.py
index c52e76ea7f..5f9bd41bc2 100644
--- a/var/spack/repos/builtin/packages/r-ini/package.py
+++ b/var/spack/repos/builtin/packages/r-ini/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-inline/package.py b/var/spack/repos/builtin/packages/r-inline/package.py
index 14d733c157..13d5eed74a 100644
--- a/var/spack/repos/builtin/packages/r-inline/package.py
+++ b/var/spack/repos/builtin/packages/r-inline/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RInline(RPackage):
- """Functionality to dynamically define R functions and S4 methods with
+ """Functions to Inline C, C++, Fortran Function Calls from R
+
+ Functionality to dynamically define R functions and S4 methods with
inlined C, C++ or Fortran code supporting .C and .Call calling
conventions."""
@@ -15,7 +17,6 @@ class RInline(RPackage):
url = "https://cloud.r-project.org/src/contrib/inline_0.3.14.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/inline"
+ version('0.3.17', sha256='792857b2ebd408d6523424d2f6bb7297e241d4b28ab32372f6a9240c8cd554f3')
version('0.3.15', sha256='ff043fe13c1991a3b285bed256ff4a9c0ba10bee764225a34b285875b7d69c68')
version('0.3.14', sha256='fd34d6bf965148d26d983a022a0ff7bc1a5831f6ca066deee3f6139894dfc931')
-
- depends_on('r@2.4.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-interactivedisplaybase/package.py b/var/spack/repos/builtin/packages/r-interactivedisplaybase/package.py
index 0d69e46c2d..ce45cce7d1 100644
--- a/var/spack/repos/builtin/packages/r-interactivedisplaybase/package.py
+++ b/var/spack/repos/builtin/packages/r-interactivedisplaybase/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ from spack import *
class RInteractivedisplaybase(RPackage):
"""Base package for enabling powerful shiny web displays of Bioconductor
- objects.
+ objects
The interactiveDisplayBase package contains the the basic methods needed
to generate interactive Shiny based display methods for Bioconductor
@@ -17,6 +17,7 @@ class RInteractivedisplaybase(RPackage):
homepage = "https://bioconductor.org/packages/interactiveDisplayBase"
git = "https://git.bioconductor.org/packages/interactiveDisplayBase.git"
+ version('1.28.0', commit='a74c02c971c4f9c7086e14abd23f1a4190da4599')
version('1.22.0', commit='4ce3cde1dabc01375c153ad614d77a5e28b96916')
version('1.20.0', commit='f40912c8af7afbaaf68c003a6e148d81cbe84df6')
version('1.18.0', commit='d07ea72a595877f27bf054f664f23e8f0304def8')
@@ -26,3 +27,4 @@ class RInteractivedisplaybase(RPackage):
depends_on('r@2.10:', type=('build', 'run'))
depends_on('r-biocgenerics', type=('build', 'run'))
depends_on('r-shiny', type=('build', 'run'))
+ depends_on('r-dt', when='@1.28.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-intervals/package.py b/var/spack/repos/builtin/packages/r-intervals/package.py
index f76684b3d1..76acf9fee7 100644
--- a/var/spack/repos/builtin/packages/r-intervals/package.py
+++ b/var/spack/repos/builtin/packages/r-intervals/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,15 @@ from spack import *
class RIntervals(RPackage):
- """intervals: Tools for Working with Points and Intervals"""
+ """Tools for Working with Points and Intervals
+
+ Tools for working with and comparing sets of points and intervals."""
homepage = "http://github.com/edzer/intervals"
url = "https://cloud.r-project.org/src/contrib/intervals_0.15.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/intervals"
+ version('0.15.2', sha256='0bd23b0ce817ddd851238233d8a5420bf3a6d29e75fd361418cbc50118777c57')
version('0.15.1', sha256='9a8b3854300f2055e1492c71932cc808b02feac8c4d3dbf6cba1c7dbd09f4ae4')
depends_on('r@2.9.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-inum/package.py b/var/spack/repos/builtin/packages/r-inum/package.py
index 0b3cfead7f..a9a82acb75 100644
--- a/var/spack/repos/builtin/packages/r-inum/package.py
+++ b/var/spack/repos/builtin/packages/r-inum/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-ipred/package.py b/var/spack/repos/builtin/packages/r-ipred/package.py
index ad73ee0ddb..6fb6dd1292 100644
--- a/var/spack/repos/builtin/packages/r-ipred/package.py
+++ b/var/spack/repos/builtin/packages/r-ipred/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-iranges/package.py b/var/spack/repos/builtin/packages/r-iranges/package.py
index 581d613875..3c600ed71b 100644
--- a/var/spack/repos/builtin/packages/r-iranges/package.py
+++ b/var/spack/repos/builtin/packages/r-iranges/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RIranges(RPackage):
- """Foundation of integer range manipulation in Bioconductor.
+ """Foundation of integer range manipulation in Bioconductor
Provides efficient low-level and highly reusable S4 classes for storing,
manipulating and aggregating over annotated ranges of integers.
@@ -19,6 +19,7 @@ class RIranges(RPackage):
homepage = "https://bioconductor.org/packages/IRanges"
git = "https://git.bioconductor.org/packages/IRanges.git"
+ version('2.24.1', commit='6c61fddf4c5830f69a0f7f108888c67cd0a12b19')
version('2.22.2', commit='8c5e991')
version('2.18.3', commit='c98a7ba074e72f2e5ec98252dffe9d3392711972')
version('2.16.0', commit='26834c6868d7c279dd8ac1bb9daa16e6fef273c2')
@@ -27,17 +28,15 @@ class RIranges(RPackage):
version('2.10.5', commit='b00d1d5025e3c480d17c13100f0da5a0132b1614')
depends_on('r@3.1.0:', type=('build', 'run'))
+ depends_on('r@4.0.0:', when='@2.24.1:', type=('build', 'run'))
depends_on('r-biocgenerics@0.21.1:', type=('build', 'run'))
- depends_on('r-s4vectors@0.13.17:', type=('build', 'run'))
-
depends_on('r-biocgenerics@0.23.3:', when='@2.12.0:', type=('build', 'run'))
- depends_on('r-s4vectors@0.15.5:', when='@2.12.0:', type=('build', 'run'))
-
depends_on('r-biocgenerics@0.25.3:', when='@2.14.12:', type=('build', 'run'))
+ depends_on('r-biocgenerics@0.36.0:', when='@2.24.1:', type=('build', 'run'))
+ depends_on('r-s4vectors@0.13.17:', type=('build', 'run'))
+ depends_on('r-s4vectors@0.15.5:', when='@2.12.0:', type=('build', 'run'))
depends_on('r-s4vectors@0.18.2:', when='@2.14.12:', type=('build', 'run'))
-
depends_on('r-s4vectors@0.19.11:', when='@2.16.0:', type=('build', 'run'))
-
depends_on('r-s4vectors@0.21.9:', when='@2.18.3:', type=('build', 'run'))
-
depends_on('r-s4vectors@0.25.14:', when='@2.22.2:', type=('build', 'run'))
+ depends_on('r-s4vectors@0.27.12:', when='@2.24.1:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-irdisplay/package.py b/var/spack/repos/builtin/packages/r-irdisplay/package.py
index 2786e6bb91..30c97d0230 100644
--- a/var/spack/repos/builtin/packages/r-irdisplay/package.py
+++ b/var/spack/repos/builtin/packages/r-irdisplay/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-irkernel/package.py b/var/spack/repos/builtin/packages/r-irkernel/package.py
index 9089347e3c..89e722cf1a 100644
--- a/var/spack/repos/builtin/packages/r-irkernel/package.py
+++ b/var/spack/repos/builtin/packages/r-irkernel/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-irlba/package.py b/var/spack/repos/builtin/packages/r-irlba/package.py
index 5e9711f74f..8133c70814 100644
--- a/var/spack/repos/builtin/packages/r-irlba/package.py
+++ b/var/spack/repos/builtin/packages/r-irlba/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-isdparser/package.py b/var/spack/repos/builtin/packages/r-isdparser/package.py
index cb7065ff23..5c22277f38 100644
--- a/var/spack/repos/builtin/packages/r-isdparser/package.py
+++ b/var/spack/repos/builtin/packages/r-isdparser/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,23 @@ from spack import *
class RIsdparser(RPackage):
- """isdparser: Parse 'NOAA' Integrated Surface Data Files"""
+ """Parse 'NOAA' Integrated Surface Data Files
+
+ Tools for parsing 'NOAA' Integrated Surface Data ('ISD') files, described
+ at <https://www.ncdc.noaa.gov/isd>. Data includes for example, wind speed
+ and direction, temperature, cloud data, sea level pressure, and more.
+ Includes data from approximately 35,000 stations worldwide, though best
+ coverage is in North America/Europe/Australia. Data is stored as variable
+ length ASCII character strings, with most fields optional. Included are
+ tools for parsing entire files, or individual lines of data."""
homepage = "https://github.com/ropensci/isdparser"
url = "https://cloud.r-project.org/src/contrib/isdparser_0.3.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/isdparser"
+ version('0.4.0', sha256='6f609e8f5ae4ce2e7904401f289d60d219b8f3a2bec9f661d10afa18ab73b317')
version('0.3.0', sha256='6c9e1d7f3661802838010d659d7c77b964423dcc9a6623402df1fe3be627b7b9')
- depends_on('r-data-table@1.10.0:', type=('build', 'run'))
depends_on('r-tibble@1.2:', type=('build', 'run'))
+ depends_on('r-data-table@1.10.0:', type=('build', 'run'))
+ depends_on('r-lubridate', when='@0.4.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-iso/package.py b/var/spack/repos/builtin/packages/r-iso/package.py
index 4d7057b871..6283e0296e 100644
--- a/var/spack/repos/builtin/packages/r-iso/package.py
+++ b/var/spack/repos/builtin/packages/r-iso/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,16 @@ from spack import *
class RIso(RPackage):
- """Linear order and unimodal order (univariate) isotonic regression;
+ """Functions to Perform Isotonic Regression
+
+ Linear order and unimodal order (univariate) isotonic regression;
bivariate isotonic regression with linear order on both variables."""
homepage = "https://cloud.r-project.org/package=Iso"
url = "https://cloud.r-project.org/src/contrib/Iso_0.0-17.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/Iso"
+ version('0.0-18.1', sha256='2fa5f78a7603cbae94a5e38e791938596a053d48c609a7c120a19cbb7d93c66f')
version('0.0-18', sha256='2d7e8c4452653364ee086d95cea620c50378e30acfcff129b7261e1756a99504')
version('0.0-17', sha256='c007d6eaf6335a15c1912b0804276ff39abce27b7a61539a91b8fda653629252')
diff --git a/var/spack/repos/builtin/packages/r-isoband/package.py b/var/spack/repos/builtin/packages/r-isoband/package.py
new file mode 100644
index 0000000000..e8ed5f19e9
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-isoband/package.py
@@ -0,0 +1,22 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RIsoband(RPackage):
+ """Generate Isolines and Isobands from Regularly Spaced Elevation Grids
+
+ A fast C++ implementation to generate contour lines (isolines) and contour
+ polygons (isobands) from regularly spaced grids containing elevation
+ data."""
+
+ homepage = "https://github.com/wilkelab/isoband"
+ url = "https://cloud.r-project.org/src/contrib/isoband_0.2.3.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/isoband"
+
+ version('0.2.3', sha256='f9d3318fdf6d147dc2e2c7015ea7de42a55fa33d6232b952f982df96066b7ffe')
+
+ depends_on('r-testthat', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-iterators/package.py b/var/spack/repos/builtin/packages/r-iterators/package.py
index 4d59c50faa..727e20a0ea 100644
--- a/var/spack/repos/builtin/packages/r-iterators/package.py
+++ b/var/spack/repos/builtin/packages/r-iterators/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,16 @@ from spack import *
class RIterators(RPackage):
- """Support for iterators, which allow a programmer to traverse through all
+ """Provides Iterator Construct
+
+ Support for iterators, which allow a programmer to traverse through all
the elements of a vector, list, or other collection of data."""
homepage = "https://cloud.r-project.org/package=iterators"
url = "https://cloud.r-project.org/src/contrib/iterators_1.0.8.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/iterators"
+ version('1.0.13', sha256='778e30e4c292da9f94d62acc637cf55273dae258199d847e62658f44840f11a4')
version('1.0.12', sha256='96bf31d60ebd23aefae105d9b7790715e63327eec0deb2ddfb3d543994ea9f4b')
version('1.0.9', sha256='de001e063805fdd124953b571ccb0ed2838c55e40cca2e9d283d8a90b0645e9b')
version('1.0.8', sha256='ae4ea23385776eb0c06c992a3da6b0256a6c84558c1061034c5a1fbdd43d05b8')
diff --git a/var/spack/repos/builtin/packages/r-janitor/package.py b/var/spack/repos/builtin/packages/r-janitor/package.py
index 79c92f08d4..6166db41e0 100644
--- a/var/spack/repos/builtin/packages/r-janitor/package.py
+++ b/var/spack/repos/builtin/packages/r-janitor/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,30 +7,38 @@ from spack import *
class RJanitor(RPackage):
- """The main janitor functions can: perfectly format data.frame column
- names; provide quick one- and two-variable tabulations (i.e., frequency
- tables and crosstabs); and isolate duplicate records. Other janitor
- functions nicely format the tabulation results. These
- tabulate-and-report functions approximate popular features of SPSS and
- Microsoft Excel. This package follows the principles of the "tidyverse"
- and works well with the pipe function %>%. janitor was built with
- beginning-to-intermediate R users in mind and is optimized for
- user-friendliness. Advanced R users can already do everything covered
- here, but with janitor they can do it faster and save their thinking
- for the fun stuff."""
+ """Simple Tools for Examining and Cleaning Dirty Data
+
+ The main janitor functions can: perfectly format data.frame column names;
+ provide quick one- and two-variable tabulations (i.e., frequency tables and
+ crosstabs); and isolate duplicate records. Other janitor functions nicely
+ format the tabulation results. These tabulate-and-report functions
+ approximate popular features of SPSS and Microsoft Excel. This package
+ follows the principles of the "tidyverse" and works well with the pipe
+ function %>%. janitor was built with beginning-to-intermediate R users in
+ mind and is optimized for user-friendliness. Advanced R users can already
+ do everything covered here, but with janitor they can do it faster and save
+ their thinking for the fun stuff."""
homepage = "https://github.com/sfirke/janitor"
url = "https://cloud.r-project.org/src/contrib/janitor_0.3.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/janitor"
+ version('2.1.0', sha256='d60615940fbe174f67799c8abc797f27928eca4ac180418527c5897a4aaad826')
version('1.2.0', sha256='5e15a2292c65c5ddd6160289dec2604b05a813651a2be0d7854ace4548a32b8c')
version('1.1.1', sha256='404b41f56e571fab4c95ef62e79cb4f3bb34d5bb6e4ea737e748ff269536176b')
version('0.3.0', sha256='5e4d8ef895ed9c7b8fa91aeb93e25c009366b4c5faaf3d02265f64b33d4a45f4')
depends_on('r@3.1.2:', type=('build', 'run'))
depends_on('r-dplyr@0.7.0:', type=('build', 'run'))
- depends_on('r-tidyr@0.7.0:', type=('build', 'run'))
+ depends_on('r-dplyr@1.0.0:', when='@2.1.0:', type=('build', 'run'))
+ depends_on('r-lifecycle', when='@2.1.0:', type=('build', 'run'))
+ depends_on('r-lubridate', when='@2.1.0:', type=('build', 'run'))
depends_on('r-magrittr', type=('build', 'run'))
- depends_on('r-snakecase@0.9.2:', when='@1.1.0:', type=('build', 'run'))
depends_on('r-purrr', when='@1.1.0:', type=('build', 'run'))
depends_on('r-rlang', when='@1.1.0:', type=('build', 'run'))
+ depends_on('r-stringi', when='@2.1.0:', type=('build', 'run'))
+ depends_on('r-stringr', when='@2.1.0:', type=('build', 'run'))
+ depends_on('r-snakecase@0.9.2:', when='@1.1.0:', type=('build', 'run'))
+ depends_on('r-tidyselect@1.0.0:', when='@2.1.0:', type=('build', 'run'))
+ depends_on('r-tidyr@0.7.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-jaspar2018/package.py b/var/spack/repos/builtin/packages/r-jaspar2018/package.py
index 3edc15acc1..faf07ab8bc 100644
--- a/var/spack/repos/builtin/packages/r-jaspar2018/package.py
+++ b/var/spack/repos/builtin/packages/r-jaspar2018/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-jomo/package.py b/var/spack/repos/builtin/packages/r-jomo/package.py
index 5a3a40f09e..5b47657f7e 100644
--- a/var/spack/repos/builtin/packages/r-jomo/package.py
+++ b/var/spack/repos/builtin/packages/r-jomo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,18 +7,20 @@ from spack import *
class RJomo(RPackage):
- """Similarly to Schafer's package 'pan', 'jomo' is a package for multilevel
+ """Multilevel Joint Modelling Multiple Imputation
+
+ Similarly to Schafer's package 'pan', 'jomo' is a package for multilevel
joint modelling multiple imputation (Carpenter and Kenward, 2013)
<doi:10.1002/9781119942283>. Novel aspects of 'jomo' are the possibility of
handling binary and categorical data through latent normal variables, the
option to use cluster-specific covariance matrices and to impute compatibly
- with the substantive model.
- """
+ with the substantive model."""
homepage = "https://cloud.r-project.org/package=jomo"
url = "https://cloud.r-project.org/src/contrib/jomo_2.6-2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/jomo"
+ version('2.7-2', sha256='3962d5cbecc60e72670329dbef0dd74303080f5ea2a79c91e27f75db99ba6ce9')
version('2.6-9', sha256='b90f47071e62b8863b00b1ae710a56ae6efbfe2baeb9963f8a91a10d6183cc9b')
version('2.6-7', sha256='6e83dab51103511038a3e9a3c762e00cc45ae7080c0a0f64e37bcea8c488db53')
version('2.6-2', sha256='67496d6d69ddbe9a796789fd8b3ac32cada09a81cf5a8e7b925a21e085e2d87f')
diff --git a/var/spack/repos/builtin/packages/r-jpeg/package.py b/var/spack/repos/builtin/packages/r-jpeg/package.py
index 4e3d78e414..b1006752dc 100644
--- a/var/spack/repos/builtin/packages/r-jpeg/package.py
+++ b/var/spack/repos/builtin/packages/r-jpeg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RJpeg(RPackage):
- """This package provides an easy and simple way to read, write and display
+ """Read and write JPEG images
+
+ This package provides an easy and simple way to read, write and display
bitmap images stored in the JPEG format. It can read and write both files
and in-memory raw vectors."""
@@ -15,6 +17,7 @@ class RJpeg(RPackage):
url = "https://cloud.r-project.org/src/contrib/jpeg_0.1-8.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/jpeg"
+ version('0.1-8.1', sha256='1db0a4976fd9b2ae27a37d3e856cca35bc2909323c7a40724846a5d3c18915a9')
version('0.1-8', sha256='d032befeb3a414cefdbf70ba29a6c01541c54387cc0a1a98a4022d86cbe60a16')
depends_on('r@2.9.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-jsonlite/package.py b/var/spack/repos/builtin/packages/r-jsonlite/package.py
index 590134065a..b3a74af8e3 100644
--- a/var/spack/repos/builtin/packages/r-jsonlite/package.py
+++ b/var/spack/repos/builtin/packages/r-jsonlite/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RJsonlite(RPackage):
- """A fast JSON parser and generator optimized for statistical data and the
+ """A Simple and Robust JSON Parser and Generator for R
+
+ A fast JSON parser and generator optimized for statistical data and the
web. Started out as a fork of 'RJSONIO', but has been completely rewritten
in recent versions. The package offers flexible, robust, high performance
tools for working with JSON in R and is particularly powerful for building
@@ -22,6 +24,7 @@ class RJsonlite(RPackage):
url = "https://cloud.r-project.org/src/contrib/jsonlite_1.5.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/jsonlite"
+ version('1.7.2', sha256='06354b50435942f67ba264f79831e577809ef89e5f9a5a2201985396fe651fd2')
version('1.6.1', sha256='74921dd249857a23afabc1ad1485a63a48828e57f240f0619deb04c60f883377')
version('1.6', sha256='88c5b425229966b7409145a6cabc72db9ed04f8c37ee95901af0146bb285db53')
version('1.5', sha256='6490371082a387cb1834048ad8cdecacb8b6b6643751b50298c741490c798e02')
diff --git a/var/spack/repos/builtin/packages/r-kegg-db/package.py b/var/spack/repos/builtin/packages/r-kegg-db/package.py
index 693fcc7f27..4b3bf9695b 100644
--- a/var/spack/repos/builtin/packages/r-kegg-db/package.py
+++ b/var/spack/repos/builtin/packages/r-kegg-db/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,10 +7,21 @@ from spack import *
class RKeggDb(RPackage):
- """A set of annotation maps for KEGG assembled using data from KEGG."""
+ """A set of annotation maps for KEGG
+
+ A set of annotation maps for KEGG assembled using data from KEGG."""
+
+ # NOTE: The KEGG.db package is deprecated
homepage = "https://www.bioconductor.org/packages/KEGG.db/"
url = "https://www.bioconductor.org/packages/release/data/annotation/src/contrib/KEGG.db_3.2.3.tar.gz"
- version('3.2.3', sha256='02ea4630a3ec06a8d9a6151627c96d3f71dfc7e8857800bb5c0cdb6a838d6963')
- depends_on('r-annotationdbi', type=('build', 'run'))
+ version('3.2.4',
+ sha256='2e60d1b664cbd1491cc00ed13a22904706c5a4651150f70daca04bf3ba9ead88',
+ url='https://bioconductor.org/packages/3.12/data/annotation/src/contrib/KEGG.db_3.2.4.tar.gz')
+ version('3.2.3',
+ sha256='02ea4630a3ec06a8d9a6151627c96d3f71dfc7e8857800bb5c0cdb6a838d6963',
+ url='https://bioconductor.org/packages/3.10/data/annotation/src/contrib/KEGG.db_3.2.3.tar.gz')
+
+ depends_on('r@2.7.0:', type=('build', 'run'))
+ depends_on('r-annotationdbi@1.34.3:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-kegggraph/package.py b/var/spack/repos/builtin/packages/r-kegggraph/package.py
index 9feefead29..21f7c27ed3 100644
--- a/var/spack/repos/builtin/packages/r-kegggraph/package.py
+++ b/var/spack/repos/builtin/packages/r-kegggraph/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RKegggraph(RPackage):
- """KEGGgraph: A graph approach to KEGG PATHWAY in R and Bioconductor.
+ """KEGGgraph: A graph approach to KEGG PATHWAY in R and Bioconductor
KEGGGraph is an interface between KEGG pathway and graph object as well
as a collection of tools to analyze, dissect and visualize these graphs.
@@ -19,6 +19,7 @@ class RKegggraph(RPackage):
homepage = "https://bioconductor.org/packages/KEGGgraph"
git = "https://git.bioconductor.org/packages/KEGGgraph.git"
+ version('1.50.0', commit='3335e85cdba264c04e6e36378578cf6c83a30eb8')
version('1.44.0', commit='2c24e8ec53fe34c72ea65f34e3c09905ab2e5c62')
version('1.42.0', commit='7d907e22a3ad7b4829a7cbaba5a8f8dc8013a609')
version('1.40.0', commit='6351a1637276f71697b01a994ebda0d3d1cf6d7a')
@@ -28,5 +29,4 @@ class RKegggraph(RPackage):
depends_on('r@2.10.0:', type=('build', 'run'))
depends_on('r-xml@2.3-0:', type=('build', 'run'))
depends_on('r-graph', type=('build', 'run'))
-
depends_on('r-rcurl', when='@1.44.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-keggrest/package.py b/var/spack/repos/builtin/packages/r-keggrest/package.py
index a422dfad36..d2ff44714b 100644
--- a/var/spack/repos/builtin/packages/r-keggrest/package.py
+++ b/var/spack/repos/builtin/packages/r-keggrest/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RKeggrest(RPackage):
- """Client-side REST access to KEGG.
+ """Client-side REST access to KEGG
A package that provides a client interface to the KEGG REST server.
Based on KEGGSOAP by J. Zhang, R. Gentleman, and Marc Carlson, and KEGG
@@ -16,12 +16,14 @@ class RKeggrest(RPackage):
homepage = "https://bioconductor.org/packages/KEGGREST"
git = "https://git.bioconductor.org/packages/KEGGREST.git"
+ version('1.30.1', commit='fd9970ea9df117d625257b8c6351cf85098cfbc1')
version('1.24.1', commit='bbc3ef476e02147aad8e1f33178136cc797c1b3f')
version('1.22.0', commit='4374507376be811d29416d0cbbfd9115a50494d9')
version('1.20.2', commit='62b4519367841f3548536c117e7e2bfe3fa4bf72')
version('1.18.1', commit='580c126eabc3c52145967708f67a428ca46b23b2')
version('1.16.1', commit='ed48de0def57a909894e237fa4731c4a052d8849')
+ depends_on('r@3.5.0:', when='@1.30.1:', type=('build', 'run'))
depends_on('r-httr', type=('build', 'run'))
depends_on('r-png', type=('build', 'run'))
depends_on('r-biostrings', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-kernlab/package.py b/var/spack/repos/builtin/packages/r-kernlab/package.py
index 2c7ce6bad2..c798643950 100644
--- a/var/spack/repos/builtin/packages/r-kernlab/package.py
+++ b/var/spack/repos/builtin/packages/r-kernlab/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RKernlab(RPackage):
- """Kernel-based machine learning methods for classification, regression,
+ """Kernel-Based Machine Learning Lab
+
+ Kernel-based machine learning methods for classification, regression,
clustering, novelty detection, quantile regression and dimensionality
reduction. Among other methods 'kernlab' includes Support Vector Machines,
Spectral Clustering, Kernel PCA, Gaussian Processes and a QP solver."""
@@ -16,6 +18,7 @@ class RKernlab(RPackage):
url = "https://cloud.r-project.org/src/contrib/kernlab_0.9-25.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/kernlab"
+ version('0.9-29', sha256='c3da693a0041dd34f869e7b63a8d8cf7d4bc588ac601bcdddcf7d44f68b3106f')
version('0.9-27', sha256='f6add50ed4097f04d09411491625f8d46eafc4f003b1c1cff78a6fff8cc31dd4')
version('0.9-26', sha256='954940478c6fcf60433e50e43cf10d70bcb0a809848ca8b9d683bf371cd56077')
version('0.9-25', sha256='b9de072754bb03c02c4d6a5ca20f2290fd090de328b55ab334ac0b397ac2ca62')
diff --git a/var/spack/repos/builtin/packages/r-kernsmooth/package.py b/var/spack/repos/builtin/packages/r-kernsmooth/package.py
index ecbf325df0..aaff9bd348 100644
--- a/var/spack/repos/builtin/packages/r-kernsmooth/package.py
+++ b/var/spack/repos/builtin/packages/r-kernsmooth/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,16 @@ from spack import *
class RKernsmooth(RPackage):
- """Functions for kernel smoothing (and density estimation)."""
+ """Functions for kernel smoothing (and density estimation)
+
+ Functions for kernel smoothing (and density estimation) corresponding to
+ the book: Wand, M.P. and Jones, M.C. (1995) "Kernel Smoothing"."""
homepage = "https://cloud.r-project.org/package=KernSmooth"
url = "https://cloud.r-project.org/src/contrib/KernSmooth_2.23-15.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/KernSmooth"
+ version('2.23-18', sha256='8334800c5ad2305539d2731b929ea34f50fa4269ba87277b699fd5be5b03c490')
version('2.23-15', sha256='8b72d23ed121a54af188b2cda4441e3ce2646359309885f6455b82c0275210f6')
depends_on('r@2.5.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-kknn/package.py b/var/spack/repos/builtin/packages/r-kknn/package.py
index 9aa4c0af14..5b1cbf30f0 100644
--- a/var/spack/repos/builtin/packages/r-kknn/package.py
+++ b/var/spack/repos/builtin/packages/r-kknn/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-knitr/package.py b/var/spack/repos/builtin/packages/r-knitr/package.py
index c3af15f155..ff3fe39149 100644
--- a/var/spack/repos/builtin/packages/r-knitr/package.py
+++ b/var/spack/repos/builtin/packages/r-knitr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,13 +8,16 @@ from spack import *
class RKnitr(RPackage):
- """Provides a general-purpose tool for dynamic report generation in R using
+ """A General-Purpose Package for Dynamic Report Generation in R
+
+ Provides a general-purpose tool for dynamic report generation in R using
Literate Programming techniques."""
homepage = "https://cloud.r-project.org/package=knitr"
url = "https://cloud.r-project.org/src/contrib/knitr_1.14.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/knitr"
+ version('1.30', sha256='3aabb13566a234131ba18b78d690104f9468a982dc711f81344a985318c7c93e')
version('1.28', sha256='05ee01da31d715bf24793efb3e4ef3bb3101ef1e1ab2d760c645fc5b9d40232a')
version('1.24', sha256='e80c2043b445a7e576b62ae8510cce89322660fe388881d799a706d35cd27b89')
version('1.23', sha256='063bfb3300fc9f3e7d223c346e19b93beced0e6784470b9bef2524868a206a99')
@@ -26,10 +29,11 @@ class RKnitr(RPackage):
depends_on('r@3.1.0:', when='@1.15:1.22', type=('build', 'run'))
depends_on('r@3.2.3:', when='@1.23:', type=('build', 'run'))
depends_on('r-evaluate@0.10:', type=('build', 'run'))
- depends_on('r-digest@:1.17', when='@:1.24', type=('build', 'run'))
- depends_on('r-formatr@:1.14', when='@:1.24', type=('build', 'run'))
depends_on('r-highr', type=('build', 'run'))
- depends_on('r-stringr@0.6:', type=('build', 'run'))
depends_on('r-markdown', type=('build', 'run'))
+ depends_on('r-stringr@0.6:', type=('build', 'run'))
depends_on('r-yaml@2.1.19:', type=('build', 'run'))
depends_on('r-xfun', when='@1.23:', type=('build', 'run'))
+ depends_on('r-xfun@0.15:', when='@1.30:', type=('build', 'run'))
+ depends_on('r-digest', when='@:1.17', type=('build', 'run'))
+ depends_on('r-formatr', when='@:1.14', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-ks/package.py b/var/spack/repos/builtin/packages/r-ks/package.py
index 1fef11ef52..07a4324975 100644
--- a/var/spack/repos/builtin/packages/r-ks/package.py
+++ b/var/spack/repos/builtin/packages/r-ks/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,18 @@ from spack import *
class RKs(RPackage):
- """Kernel smoothers for univariate and multivariate data."""
+ """Kernel Smoothing
+
+ Kernel smoothers for univariate and multivariate data, including densities,
+ density derivatives, cumulative distributions, clustering, classification,
+ density ridges, significant modal regions, and two-sample hypothesis tests.
+ Chacon & Duong (2018) <doi:10.1201/9780429485572>."""
homepage = "https://cloud.r-project.org/package=ks"
url = "https://cloud.r-project.org/src/contrib/ks_1.11.2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/ks"
+ version('1.11.7', sha256='6a6d9c2366e85a4c6af39b798f3798d20a42615ddfcebcedf6cf56087cdfd2b8')
version('1.11.5', sha256='4f65565376391b8a6dcce76168ef628fd4859dba8496910cbdd54e4f88e8d51b')
version('1.11.4', sha256='0beffaf8694819fba8c93af07a8782674a15fe00a04ad1d94d31238d0a41b134')
version('1.11.2', sha256='9dfd485096e1e67abc7dfcb7b76a83de110dd15bcfeffe5c899605b3a5592961')
@@ -20,9 +26,9 @@ class RKs(RPackage):
depends_on('r@2.10:', type=('build', 'run'))
depends_on('r-fnn@1.1:', type=('build', 'run'))
depends_on('r-kernlab', type=('build', 'run'))
- depends_on('r-mclust', type=('build', 'run'))
- depends_on('r-multicool', type=('build', 'run'))
- depends_on('r-mvtnorm@1.0:', type=('build', 'run'))
depends_on('r-kernsmooth@2.22:', type=('build', 'run'))
depends_on('r-matrix', type=('build', 'run'))
+ depends_on('r-mclust', type=('build', 'run'))
depends_on('r-mgcv', type=('build', 'run'))
+ depends_on('r-multicool', type=('build', 'run'))
+ depends_on('r-mvtnorm@1.0-0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-labeling/package.py b/var/spack/repos/builtin/packages/r-labeling/package.py
index f3b5a3c45c..5b598c519f 100644
--- a/var/spack/repos/builtin/packages/r-labeling/package.py
+++ b/var/spack/repos/builtin/packages/r-labeling/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,10 +7,13 @@ from spack import *
class RLabeling(RPackage):
- """Provides a range of axis labeling algorithms."""
+ """Axis Labeling
+
+ Provides a range of axis labeling algorithms."""
homepage = "https://cloud.r-project.org/package=labeling"
url = "https://cloud.r-project.org/src/contrib/labeling_0.3.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/labeling"
+ version('0.4.2', sha256='e022d79276173e0d62bf9e37d7574db65ab439eb2ae1833e460b1cff529bd165')
version('0.3', sha256='0d8069eb48e91f6f6d6a9148f4e2dc5026cabead15dd15fc343eff9cf33f538f')
diff --git a/var/spack/repos/builtin/packages/r-lambda-r/package.py b/var/spack/repos/builtin/packages/r-lambda-r/package.py
index 1ea85260d1..0cd4c46a4c 100644
--- a/var/spack/repos/builtin/packages/r-lambda-r/package.py
+++ b/var/spack/repos/builtin/packages/r-lambda-r/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,14 +7,17 @@ from spack import *
class RLambdaR(RPackage):
- """A language extension to efficiently write functional programs in R.
- Syntax extensions include multi-part function definitions, pattern
- matching, guard statements, built-in (optional) type safety."""
+ """Modeling Data with Functional Programming
+
+ A language extension to efficiently write functional programs in R. Syntax
+ extensions include multi-part function definitions, pattern matching, guard
+ statements, built-in (optional) type safety."""
homepage = "https://cloud.r-project.org/package=lambda.r"
url = "https://cloud.r-project.org/src/contrib/lambda.r_1.2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/lambda.r"
+ version('1.2.4', sha256='d252fee39065326c6d9f45ad798076522cec05e73b8905c1b30f95a61f7801d6')
version('1.2.3', sha256='0cd8e37ba1a0960888016a85d492da51a57df54bd65ff920b08c79a3bfbe8631')
version('1.2', sha256='7dc4188ce1d4a6b026a1b128719ff60234ae1e3ffa583941bbcd8473ad18146f')
diff --git a/var/spack/repos/builtin/packages/r-laplacesdemon/package.py b/var/spack/repos/builtin/packages/r-laplacesdemon/package.py
index f11f635ac1..e2360e6c5e 100644
--- a/var/spack/repos/builtin/packages/r-laplacesdemon/package.py
+++ b/var/spack/repos/builtin/packages/r-laplacesdemon/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,14 +7,17 @@ from spack import *
class RLaplacesdemon(RPackage):
- """Provides a complete environment for Bayesian inference using a variety
- of different samplers (see ?LaplacesDemon for an overview). The README
- describes the history of the package development process."""
+ """Complete Environment for Bayesian Inference
+
+ Provides a complete environment for Bayesian inference using a variety of
+ different samplers (see ?LaplacesDemon for an overview). The README
+ describes the history of the package development process."""
homepage = "https://github.com/LaplacesDemonR/LaplacesDemon"
url = "https://cloud.r-project.org/src/contrib/LaplacesDemon_16.0.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/LaplacesDemon"
+ version('16.1.4', sha256='4152a1c3c652979e97870e5c50c45a243d0ad8d4ff968091160e3d66509f61db')
version('16.1.1', sha256='779ed1dbfed523a15701b4d5d891d4f1f11ab27518826a8a7725807d4c42bd77')
version('16.1.0', sha256='41d99261e8fc33c977b43ecf66ebed8ef1c84d9bd46b271609e9aadddc2ca8bb')
version('16.0.1', sha256='be21eff3c821b4fe0b4724f03c9221c2456257f93d91f864de11e95dc35e8679')
diff --git a/var/spack/repos/builtin/packages/r-lars/package.py b/var/spack/repos/builtin/packages/r-lars/package.py
index 1eddbea773..b28a4f655d 100644
--- a/var/spack/repos/builtin/packages/r-lars/package.py
+++ b/var/spack/repos/builtin/packages/r-lars/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-later/package.py b/var/spack/repos/builtin/packages/r-later/package.py
index cca8c10739..00dd51269b 100644
--- a/var/spack/repos/builtin/packages/r-later/package.py
+++ b/var/spack/repos/builtin/packages/r-later/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,16 @@ from spack import *
class RLater(RPackage):
- """Executes arbitrary R or C functions some time after the current time,
+ """Utilities for Scheduling Functions to Execute Later with Event Loops
+
+ Executes arbitrary R or C functions some time after the current time,
after the R execution stack has emptied."""
homepage = "https://github.com/r-lib/later"
url = "https://cloud.r-project.org/src/contrib/later_0.8.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/later"
+ version('1.1.0.1', sha256='71baa7beae774a35a117e01d7b95698511c3cdc5eea36e29732ff1fe8f1436cd')
version('0.8.0', sha256='6b2a28b43c619b2c7890840c62145cd3a34a7ed65b31207fdedde52efb00e521')
depends_on('r-rcpp@0.12.9:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-lattice/package.py b/var/spack/repos/builtin/packages/r-lattice/package.py
index 22110c6587..aca09efad1 100644
--- a/var/spack/repos/builtin/packages/r-lattice/package.py
+++ b/var/spack/repos/builtin/packages/r-lattice/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RLattice(RPackage):
- """A powerful and elegant high-level data visualization system inspired by
+ """Trellis Graphics for R
+
+ A powerful and elegant high-level data visualization system inspired by
Trellis graphics, with an emphasis on multivariate data. Lattice is
sufficient for typical graphics needs, and is also flexible enough to
handle most nonstandard requirements. See ?Lattice for an introduction."""
@@ -16,6 +18,7 @@ class RLattice(RPackage):
url = "https://cloud.r-project.org/src/contrib/lattice_0.20-35.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/lattice"
+ version('0.20-41', sha256='54ca557f0cb33df60eb10b883c2ed2847e061ddd57ed9b5dd7695149609d57b5')
version('0.20-38', sha256='fdeb5e3e50dbbd9d3c5e2fa3eef865132b3eef30fbe53a10c24c7b7dfe5c0a2d')
version('0.20-35', sha256='0829ab0f4dec55aac6a73bc3411af68441ddb1b5b078d680a7c2643abeaa965d')
version('0.20-34', sha256='4a1a1cafa9c6660fb9a433b3a51898b8ec8e83abf143c80f99e3e4cf92812518')
diff --git a/var/spack/repos/builtin/packages/r-latticeextra/package.py b/var/spack/repos/builtin/packages/r-latticeextra/package.py
index ae74ac2c9b..62303a26c2 100644
--- a/var/spack/repos/builtin/packages/r-latticeextra/package.py
+++ b/var/spack/repos/builtin/packages/r-latticeextra/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RLatticeextra(RPackage):
- """Building on the infrastructure provided by the lattice package,
+ """Extra Graphical Utilities Based on Lattice
+
+ Building on the infrastructure provided by the lattice package,
this package provides several new high-level functions and methods,
as well as additional utilities such as panel and axis annotation
functions."""
@@ -16,8 +18,12 @@ class RLatticeextra(RPackage):
url = "https://cloud.r-project.org/src/contrib/latticeExtra_0.6-28.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/latticeExtra"
+ version('0.6-29', sha256='6cadc31d56f73d926e2e8d72e43ae17ac03607a4d1a374719999a4a231e3df11')
version('0.6-28', sha256='780695323dfadac108fb27000011c734e2927b1e0f069f247d65d27994c67ec2')
depends_on('r@2.10.0:', type=('build', 'run'))
+ depends_on('r@3.6.0:', when='@0.6-29:', type=('build', 'run'))
depends_on('r-lattice', type=('build', 'run'))
+ depends_on('r-png', when='@0.6-29:', type=('build', 'run'))
+ depends_on('r-jpeg', when='@0.6-29:', type=('build', 'run'))
depends_on('r-rcolorbrewer', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-lava/package.py b/var/spack/repos/builtin/packages/r-lava/package.py
index 2a7a1d2271..81d87cb156 100644
--- a/var/spack/repos/builtin/packages/r-lava/package.py
+++ b/var/spack/repos/builtin/packages/r-lava/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,23 @@ from spack import *
class RLava(RPackage):
- """Estimation and simulation of latent variable models."""
+ """Latent Variable Models
+
+ A general implementation of Structural Equation Models with latent
+ variables (MLE, 2SLS, and composite likelihood estimators) with both
+ continuous, censored, and ordinal outcomes (Holst and Budtz-Joergensen
+ (2013) <doi:10.1007/s00180-012-0344-y>). Mixture latent variable models and
+ non-linear latent variable models (Holst and Budtz-Joergensen (2019)
+ <doi:10.1093/biostatistics/kxy082>). The package also provides methods for
+ graph exploration (d-separation, back-door criterion), simulation of
+ general non-linear latent variable models, and estimation of influence
+ functions for a broad range of statistical models."""
homepage = "https://cloud.r-project.org/package=lava"
url = "https://cloud.r-project.org/src/contrib/lava_1.4.7.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/lava"
+ version('1.6.8.1', sha256='6d243fc86c67c78ff4763502d84ff2f0889c2e55d1a59afefb7a762887473ffa')
version('1.6.6', sha256='7abc84dd99cce450a45ac4f232812cde3a322e432da3472f43b057fb5c59ca59')
version('1.6.4', sha256='41c6eeb96eaef9e1bfb04b31f7203e250a5ea7e7860be4d95f7f96f2a8644718')
version('1.4.7', sha256='d5cbd4835a94855478efb93051eece965db116ead203f4dd4e09d9a12d52f4bf')
diff --git a/var/spack/repos/builtin/packages/r-lazyeval/package.py b/var/spack/repos/builtin/packages/r-lazyeval/package.py
index 7555a0890d..804907f7f5 100644
--- a/var/spack/repos/builtin/packages/r-lazyeval/package.py
+++ b/var/spack/repos/builtin/packages/r-lazyeval/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-ldheatmap/package.py b/var/spack/repos/builtin/packages/r-ldheatmap/package.py
index df4d181882..4f6b2a554b 100644
--- a/var/spack/repos/builtin/packages/r-ldheatmap/package.py
+++ b/var/spack/repos/builtin/packages/r-ldheatmap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,16 +7,26 @@ from spack import *
class RLdheatmap(RPackage):
- """LDheatmap: Graphical Display of Pairwise Linkage Disequilibria Between
- SNPs"""
+ """Graphical Display of Pairwise Linkage Disequilibria Between SNPs
+
+ Produces a graphical display, as a heat map, of measures of pairwise
+ linkage disequilibria between single nucleotide polymorphisms (SNPs). Users
+ may optionally include the physical locations or genetic map distances of
+ each SNP on the plot. The methods are described in Shin et al. (2006)
+ <doi:10.18637/jss.v016.c03>. Users should note that the imported package
+ 'snpStats' and the suggested packages 'rtracklayer', 'GenomicRanges',
+ 'GenomInfoDb' and 'IRanges' are all BioConductor packages
+ <https://bioconductor.org>."""
homepage = "https://sfustatgen.github.io/LDheatmap/"
url = "https://cloud.r-project.org/src/contrib/LDheatmap_0.99-7.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/LDheatmap"
+ version('1.0-4', sha256='07eb385f19e6a195e8e4d75be0b47c57744eabbf14045e527f0c27e1183ae5ca')
version('0.99-7', sha256='aca54c839a424506d8be7153bf03b32026aeefe7ed38f534e8e19708e34212e4')
depends_on('r@2.14.0:', type=('build', 'run'))
+ depends_on('r@4.0:', when='@1.0-4:', type=('build', 'run'))
depends_on('r-genetics', type=('build', 'run'))
- depends_on('r-rcpp', type=('build', 'run'))
depends_on('r-snpstats', type=('build', 'run'))
+ depends_on('r-rcpp', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-leaflet-providers/package.py b/var/spack/repos/builtin/packages/r-leaflet-providers/package.py
new file mode 100644
index 0000000000..e806a4ed67
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-leaflet-providers/package.py
@@ -0,0 +1,23 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RLeafletProviders(RPackage):
+ """Leaflet Providers
+
+ Contains third-party map tile provider information from 'Leaflet.js',
+ <https://github.com/leaflet-extras/leaflet-providers>, to be used with the
+ 'leaflet' R package. Additionally, 'leaflet.providers' enables users to
+ retrieve up-to-date provider information between package updates."""
+
+ homepage = "https://github.com/rstudio/leaflet.providers"
+ url = "https://cloud.r-project.org/src/contrib/leaflet.providers_1.9.0.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/leaflet.providers"
+
+ version('1.9.0', sha256='9e8fc75c83313ab24663c2e718135459599549ed6e7396086cacb44e36cfd67b')
+
+ depends_on('r@2.10:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-leaflet/package.py b/var/spack/repos/builtin/packages/r-leaflet/package.py
index 0a8bcdf638..810c6e4e8a 100644
--- a/var/spack/repos/builtin/packages/r-leaflet/package.py
+++ b/var/spack/repos/builtin/packages/r-leaflet/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RLeaflet(RPackage):
- """Create and customize interactive maps using the 'Leaflet' JavaScript
+ """Create Interactive Web Maps with the JavaScript 'Leaflet' Library
+
+ Create and customize interactive maps using the 'Leaflet' JavaScript
library and the 'htmlwidgets' package. These maps can be used directly from
the R console, from 'RStudio', in Shiny apps and R Markdown documents."""
@@ -15,6 +17,7 @@ class RLeaflet(RPackage):
url = "https://cloud.r-project.org/src/contrib/leaflet_1.0.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/leaflet"
+ version('2.0.4.1', sha256='b0f038295f1de5d32d9ffa1d0dbc1562320190f2f1365f3a5e95863fff88901f')
version('2.0.2', sha256='fa448d20940e01e953e0706fc5064b0fa347e69fa967792599eb03c52b2e3114')
version('2.0.1', sha256='9876d5adf3235ea5683db79ec2435d3997c626774e8c4ec4ef14022e24dfcf06')
version('1.0.1', sha256='f25a8e10c9616ccb5504bb874c533bc44fb7e438e073d4fe4484dee0951a9bc3')
@@ -32,3 +35,4 @@ class RLeaflet(RPackage):
depends_on('r-scales@1.0.0:', type=('build', 'run'))
depends_on('r-sp', type=('build', 'run'))
depends_on('r-viridis@0.5.1:', when='@2.0.0:', type=('build', 'run'))
+ depends_on('r-leaflet-providers@1.8.0:', when='@2.0.4.1:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-leaps/package.py b/var/spack/repos/builtin/packages/r-leaps/package.py
index 9697c64cd3..e42a226656 100644
--- a/var/spack/repos/builtin/packages/r-leaps/package.py
+++ b/var/spack/repos/builtin/packages/r-leaps/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,10 +7,14 @@ from spack import *
class RLeaps(RPackage):
- """leaps: Regression Subset Selection"""
+ """Regression Subset Selection
+
+ Regression subset selection, including exhaustive search.
+ """
homepage = "https://cloud.r-project.org/package=leaps"
url = "https://cloud.r-project.org/src/contrib/leaps_3.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/leaps"
+ version('3.1', sha256='3d7c3a102ce68433ecf167ece96a7ebb4207729e4defd0ac8fc00e7003f5c3b6')
version('3.0', sha256='55a879cdad5a4c9bc3b5697dd4d364b3a094a49d8facb6692f5ce6af82adf285')
diff --git a/var/spack/repos/builtin/packages/r-learnbayes/package.py b/var/spack/repos/builtin/packages/r-learnbayes/package.py
index 542f02585e..a0da3a3998 100644
--- a/var/spack/repos/builtin/packages/r-learnbayes/package.py
+++ b/var/spack/repos/builtin/packages/r-learnbayes/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-leiden/package.py b/var/spack/repos/builtin/packages/r-leiden/package.py
index caee6431bf..48012c4a08 100644
--- a/var/spack/repos/builtin/packages/r-leiden/package.py
+++ b/var/spack/repos/builtin/packages/r-leiden/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RLeiden(RPackage):
- """Implements the 'Python leidenalg' module to be called in R. Enables
+ """R Implementation of Leiden Clustering Algorithm
+
+ Implements the 'Python leidenalg' module to be called in R. Enables
clustering using the leiden algorithm for partition a graph into
communities. See the 'Python' repository for more details:
<https://github.com/vtraag/leidenalg> Traag et al (2018) From Louvain
@@ -18,6 +20,7 @@ class RLeiden(RPackage):
url = "https://cloud.r-project.org/src/contrib/leiden_0.3.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/leiden"
+ version('0.3.6', sha256='a7096e38c4010b1f0baf6a7e1139362520b44c0e548b0b79584cb827172822cc')
version('0.3.1', sha256='17fa1e49667fdd30ef5166506181c8514ae406f68f0878a026ee111bff11f8a5')
depends_on('r-reticulate', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-lfe/package.py b/var/spack/repos/builtin/packages/r-lfe/package.py
index 08d061330d..34c0d756ae 100644
--- a/var/spack/repos/builtin/packages/r-lfe/package.py
+++ b/var/spack/repos/builtin/packages/r-lfe/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -6,13 +6,25 @@
from spack import *
-class RLfe(AutotoolsPackage):
- """Transforms away factors with many levels prior to doing an OLS"""
+class RLfe(RPackage):
+ """Linear Group Fixed Effects
+
+ Transforms away factors with many levels prior to doing an OLS. Useful for
+ estimating linear models with multiple group fixed effects, and for
+ estimating linear models which uses factors with many levels as pure
+ control variables. See Gaure (2013) <doi:10.1016/j.csda.2013.03.024>
+ Includes support for instrumental variables, conditional F statistics for
+ weak instruments, robust and multi-way clustered standard errors, as well
+ as limited mobility bias correction (Gaure 2014 <doi:10.1002/sta4.68>).
+ WARNING: This package is NOT under active development anymore, no further
+ improvements are to be expected, and the package is at risk of being
+ removed from CRAN."""
homepage = "https://cloud.r-project.org/package=lfe"
url = "https://cloud.r-project.org/src/contrib/lfe_2.8-5.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/lfe"
+ version('2.8-6', sha256='bf5fd362e9722e871a5236f30da562c489ae6506b667609b9465eefa8f101612')
version('2.8-5', sha256='fd80c573d334594db933ff38f67bd4c9f899aaf648c3bd68f19477a0059723c2')
version('2.8-4', sha256='ee5f6e312214aa73e285ae84a6bdf49ba10e830f1a68ffded2fea2e532f2cd6a')
diff --git a/var/spack/repos/builtin/packages/r-lhs/package.py b/var/spack/repos/builtin/packages/r-lhs/package.py
index ac3ff14dba..5345e696d1 100644
--- a/var/spack/repos/builtin/packages/r-lhs/package.py
+++ b/var/spack/repos/builtin/packages/r-lhs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,16 @@ from spack import *
class RLhs(RPackage):
- """Provides a number of methods for creating and augmenting Latin Hypercube
- Samples."""
+ """Latin Hypercube Samples
+
+ Provides a number of methods for creating and augmenting Latin Hypercube
+ Samples."""
homepage = "http://lhs.r-forge.r-project.org/"
url = "https://cloud.r-project.org/src/contrib/lhs_0.16.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/lhs"
+ version('1.1.1', sha256='903e9f2adde87f6f9ad41dd52ff83d28a645dba69934c7535142cb48f10090dc')
version('1.0.1', sha256='a4d5ac0c6f585f2880364c867fa94e6554698beb65d3678ba5938dd84fc6ea53')
version('1.0', sha256='38c53482b360bdea89ddcfadf6d45476c80b99aee8902f97c5e97975903e2745')
version('0.16', sha256='9cd199c3b5b2be1736d585ef0fd39a00e31fc015a053333a7a319668d0809425')
diff --git a/var/spack/repos/builtin/packages/r-libcoin/package.py b/var/spack/repos/builtin/packages/r-libcoin/package.py
index 7fab441ea2..ee39d155db 100644
--- a/var/spack/repos/builtin/packages/r-libcoin/package.py
+++ b/var/spack/repos/builtin/packages/r-libcoin/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RLibcoin(RPackage):
- """Basic infrastructure for linear test statistics and permutation
+ """Linear Test Statistics for Permutation Inference
+
+ Basic infrastructure for linear test statistics and permutation
inference in the framework of Strasser and Weber (1999)
<http://epub.wu.ac.at/102/>. This package must not be used by end-users.
CRAN package 'coin' implements all user interfaces and is ready to be used
@@ -17,6 +19,7 @@ class RLibcoin(RPackage):
url = "https://cloud.r-project.org/src/contrib/libcoin_1.0-4.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/libcoin"
+ version('1.0-6', sha256='48afc1415fc89b29e4f2c8b6f6db3cffef1531580e5c806ad7cacf4afe6a4e5a')
version('1.0-4', sha256='91dcbaa0ab8c2109aa54c3eda29ad0acd67c870efcda208e27acce9d641c09c5')
depends_on('r@3.4.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-lifecycle/package.py b/var/spack/repos/builtin/packages/r-lifecycle/package.py
new file mode 100644
index 0000000000..32cf89d8cb
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-lifecycle/package.py
@@ -0,0 +1,29 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RLifecycle(RPackage):
+ """Manage the Life Cycle of your Package Functions
+
+ Manage the life cycle of your exported functions with shared conventions,
+ documentation badges, and non-invasive deprecation warnings. The
+ 'lifecycle' package defines four development stages (experimental,
+ maturing, stable, and questioning) and three deprecation stages
+ (soft-deprecated, deprecated, and defunct). It makes it easy to insert
+ badges corresponding to these stages in your documentation. Usage of
+ deprecated functions are signalled with increasing levels of non-invasive
+ verbosity."""
+
+ homepage = "https://lifecycle.r-lib.org/"
+ url = "https://cloud.r-project.org/src/contrib/lifecycle_0.2.0.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/lifecycle"
+
+ version('0.2.0', sha256='29746e8dee05d4e36f9c612e8c7a903a4f648a36b3b94c9776e518c38a412224')
+
+ depends_on('r@3.2:', type=('build', 'run'))
+ depends_on('r-glue', type=('build', 'run'))
+ depends_on('r-rlang@0.4.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-limma/package.py b/var/spack/repos/builtin/packages/r-limma/package.py
index fcefd3ec67..f0fe8822f4 100644
--- a/var/spack/repos/builtin/packages/r-limma/package.py
+++ b/var/spack/repos/builtin/packages/r-limma/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RLimma(RPackage):
- """Linear Models for Microarray Data.
+ """Linear Models for Microarray Data
Data analysis, linear models and differential expression for microarray
data."""
@@ -15,6 +15,7 @@ class RLimma(RPackage):
homepage = "https://bioconductor.org/packages/limma"
git = "https://git.bioconductor.org/packages/limma.git"
+ version('3.46.0', commit='ff03542231827f39ebde6464cdbba0110e24364e')
version('3.40.6', commit='3ae0767ecf7a764030e7b7d0b1d0f292c0b24055')
version('3.38.3', commit='77b292eb150cdedaa1db704bcfb01f0bb29e9849')
version('3.36.5', commit='3148d1cb7eea9c6bdd60351d51abcfd665332d44')
@@ -22,5 +23,4 @@ class RLimma(RPackage):
version('3.32.10', commit='593edf28e21fe054d64137ae271b8a52ab05bc60')
depends_on('r@2.3.0:', type=('build', 'run'))
-
depends_on('r@3.6.0:', when='@3.40.6:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-limsolve/package.py b/var/spack/repos/builtin/packages/r-limsolve/package.py
new file mode 100644
index 0000000000..f7b6208dd0
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-limsolve/package.py
@@ -0,0 +1,28 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RLimsolve(RPackage):
+ """Solving Linear Inverse Models
+
+ Functions that (1) find the minimum/maximum of a linear or quadratic
+ function: min or max (f(x)), where f(x) = ||Ax-b||^2 or f(x) = sum(a_i*x_i)
+ subject to equality constraints Ex=f and/or inequality constraints Gx>=h,
+ (2) sample an underdetermined- or overdetermined system Ex=f subject to
+ Gx>=h, and if applicable Ax~=b, (3) solve a linear system Ax=B for the
+ unknown x. It includes banded and tridiagonal linear systems."""
+
+ homepage = "https://cloud.r-project.org/package=limSolve"
+ url = "https://cloud.r-project.org/src/contrib/limSolve_1.5.6.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/limSolve"
+
+ version('1.5.6', sha256='b97ea9930383634c8112cdbc42f71c4e93fe0e7bfaa8f401921835cb44cb49a0')
+
+ depends_on('r@2.10:', type=('build', 'run'))
+ depends_on('r-quadprog', type=('build', 'run'))
+ depends_on('r-lpsolve', type=('build', 'run'))
+ depends_on('r-mass', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-listenv/package.py b/var/spack/repos/builtin/packages/r-listenv/package.py
index 962fc1bf6a..f69f469521 100644
--- a/var/spack/repos/builtin/packages/r-listenv/package.py
+++ b/var/spack/repos/builtin/packages/r-listenv/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RListenv(RPackage):
- """List environments are environments that have list-like properties. For
+ """Environments Behaving (Almost) as Lists
+
+ List environments are environments that have list-like properties. For
instance, the elements of a list environment are ordered and can be
accessed and iterated over using index subsetting."""
@@ -15,6 +17,7 @@ class RListenv(RPackage):
url = "https://cloud.r-project.org/src/contrib/listenv_0.7.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/listenv"
+ version('0.8.0', sha256='fd2aaf3ff2d8d546ce33d1cb38e68401613975117c1f9eb98a7b41facf5c485f')
version('0.7.0', sha256='6126020b111870baea08b36afa82777cd578e88c17db5435cd137f11b3964555')
depends_on('r@3.1.2:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-lme4/package.py b/var/spack/repos/builtin/packages/r-lme4/package.py
index 32fd1565c0..e8a500f68b 100644
--- a/var/spack/repos/builtin/packages/r-lme4/package.py
+++ b/var/spack/repos/builtin/packages/r-lme4/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RLme4(RPackage):
- """Fit linear and generalized linear mixed-effects models. The models and
+ """Linear Mixed-Effects Models using 'Eigen' and S4
+
+ Fit linear and generalized linear mixed-effects models. The models and
their components are represented using S4 classes and methods. The core
computational algorithms are implemented using the 'Eigen' C++ library for
numerical linear algebra and 'RcppEigen' "glue"."""
@@ -16,6 +18,7 @@ class RLme4(RPackage):
url = "https://cloud.r-project.org/src/contrib/lme4_1.1-12.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/lme4"
+ version('1.1-26', sha256='364b6d6fb0a574dfed2d75cfdc79411aa53e2c1dd625b70bb1d25d026f9e4253')
version('1.1-21', sha256='7f5554b69ff8ce9bac21e8842131ea940fb7a7dfa2de03684f236d3e3114b20c')
version('1.1-20', sha256='44f45f5cd20ec6a50bf96a939b1db44b1a180dbc871a5e3042baf7a107016b2c')
version('1.1-12', sha256='2976b567a4a2144814ff9db987b0aa55c16122c78ecb51b9e09b87fe66a1c048')
@@ -25,9 +28,10 @@ class RLme4(RPackage):
depends_on('r-matrix@1.2-1:', type=('build', 'run'))
depends_on('r-mass', type=('build', 'run'))
depends_on('r-lattice', type=('build', 'run'))
+ depends_on('r-boot', when='@1.1-21:', type=('build', 'run'))
depends_on('r-nlme@3.1-123:', type=('build', 'run'))
depends_on('r-minqa@1.1.15:', type=('build', 'run'))
depends_on('r-nloptr@1.0.4:', type=('build', 'run'))
+ depends_on('r-statmod', when='@1.1-26:', type=('build', 'run'))
depends_on('r-rcpp@0.10.5:', type=('build', 'run'))
depends_on('r-rcppeigen', type=('build', 'run'))
- depends_on('r-boot', when='@1.1-21:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-lmtest/package.py b/var/spack/repos/builtin/packages/r-lmtest/package.py
index 29bda06982..b55afed4de 100644
--- a/var/spack/repos/builtin/packages/r-lmtest/package.py
+++ b/var/spack/repos/builtin/packages/r-lmtest/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RLmtest(RPackage):
- """A collection of tests, data sets, and examples for diagnostic checking
+ """Testing Linear Regression Models
+
+ A collection of tests, data sets, and examples for diagnostic checking
in linear regression models. Furthermore, some generic tools for inference
in parametric models are provided."""
@@ -15,6 +17,7 @@ class RLmtest(RPackage):
url = "https://cloud.r-project.org/src/contrib/lmtest_0.9-34.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/lmtest"
+ version('0.9-38', sha256='32a22cea45398ffc5732d9f5c0391431d0cdd3a9e29cc7b77bea32c1eb4a216b')
version('0.9-37', sha256='ddc929f94bf055974832fa4a20fdd0c1eb3a84ee11f716c287936f2141d5ca0a')
version('0.9-36', sha256='be9f168d6554e9cd2be0f9d8fc3244f055dce90d1fca00f05bcbd01daa4ed56b')
version('0.9-34', sha256='86eead67ed6d6c6be3fbee97d5ce45e6ca06a981f974ce01a7754a9e33770d2e')
diff --git a/var/spack/repos/builtin/packages/r-locfit/package.py b/var/spack/repos/builtin/packages/r-locfit/package.py
index 1e9b23f275..e1d0518687 100644
--- a/var/spack/repos/builtin/packages/r-locfit/package.py
+++ b/var/spack/repos/builtin/packages/r-locfit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,19 @@ from spack import *
class RLocfit(RPackage):
- """Local regression, likelihood and density estimation."""
+ """Local regression, likelihood and density estimation
+
+ Local regression, likelihood and density estimation methods as described in
+ the 1999 book by Loader.
+ """
homepage = "https://cloud.r-project.org/package=locfit"
url = "https://cloud.r-project.org/src/contrib/locfit_1.5-9.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/locfit"
+ version('1.5-9.4', sha256='d9d3665c5f3d49f698fb4675daf40a0550601e86db3dc00f296413ceb1099ced')
version('1.5-9.1', sha256='f524148fdb29aac3a178618f88718d3d4ac91283014091aa11a01f1c70cd4e51')
depends_on('r@2.0.1:', type=('build', 'run'))
+ depends_on('r@3.5.0:', when='@1.5-9.4:', type=('build', 'run'))
depends_on('r-lattice', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-log4r/package.py b/var/spack/repos/builtin/packages/r-log4r/package.py
index 194b9c0c71..7937cb223f 100644
--- a/var/spack/repos/builtin/packages/r-log4r/package.py
+++ b/var/spack/repos/builtin/packages/r-log4r/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,15 @@ from spack import *
class RLog4r(RPackage):
- """logr4 provides an object-oriented logging system that uses an
+ """A Fast and Lightweight Logging System for R, Based on 'log4j'
+
+ logr4 provides an object-oriented logging system that uses an
API roughly equivalent to log4j and its related variants."""
homepage = "https://cloud.r-project.org/package=log4r"
url = "https://cloud.r-project.org/src/contrib/log4r_0.2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/log4r"
+ version('0.3.2', sha256='14ba6b096283279f0accbde26a600771ab2df271db6c8eeb04d6f113107825a3')
version('0.3.0', sha256='8e5d0221298410e48bee9d9a983a23e1834ce88592f9d931471bfdb05f37a691')
version('0.2', sha256='321bee6babb92376b538624027a36e7d2a6c8edb360aa38ab0a6762dfea9081f')
diff --git a/var/spack/repos/builtin/packages/r-loo/package.py b/var/spack/repos/builtin/packages/r-loo/package.py
index 9bbef0ee79..dd5fb9c4e6 100644
--- a/var/spack/repos/builtin/packages/r-loo/package.py
+++ b/var/spack/repos/builtin/packages/r-loo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,15 +7,28 @@ from spack import *
class RLoo(RPackage):
- """loo: Efficient Leave-One-Out Cross-Validation and WAIC for
- BayesianModels"""
+ """Efficient Leave-One-Out Cross-Validation and WAIC for BayesianModels
+
+ Efficient approximate leave-one-out cross-validation (LOO) for Bayesian
+ models fit using Markov chain Monte Carlo, as described in Vehtari,
+ Gelman, and Gabry (2017) <doi:10.1007/s11222-016-9696-4>. The
+ approximation uses Pareto smoothed importance sampling (PSIS), a new
+ procedure for regularizing importance weights. As a byproduct of the
+ calculations, we also obtain approximate standard errors for estimated
+ predictive errors and for the comparison of predictive errors between
+ models. The package also provides methods for using stacking and other
+ model weighting techniques to average Bayesian predictive
+ distributions."""
homepage = "https://mc-stan.org/loo"
url = "https://cloud.r-project.org/src/contrib/loo_2.1.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/loo"
+ version('2.4.1', sha256='bc21fb6b4a93a7e95ee1be57e4e787d731895fb8b4743c26b30b43adee475b50')
+ version('2.3.1', sha256='d98de21b71d9d9386131ae5ba4da051362c3ad39e0305af4f33d830f299ae08b')
version('2.1.0', sha256='1bf4a1ef85d151577ff96d4cf2a29c9ef24370b0b1eb08c70dcf45884350e87d')
+ depends_on('r+X', type=('build', 'run'))
depends_on('r@3.1.2:', type=('build', 'run'))
depends_on('r-checkmate', type=('build', 'run'))
depends_on('r-matrixstats@0.52:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-lpsolve/package.py b/var/spack/repos/builtin/packages/r-lpsolve/package.py
index ec40ba1553..df8da2622e 100644
--- a/var/spack/repos/builtin/packages/r-lpsolve/package.py
+++ b/var/spack/repos/builtin/packages/r-lpsolve/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,17 +7,19 @@ from spack import *
class RLpsolve(RPackage):
- """Lp_solve is freely available (under LGPL 2) software for solving
- linear, integer and mixed integer programs. In this
- implementation we supply a "wrapper" function in C and some R
- functions that solve general linear/integer problems, assignment
- problems, and transportation problems. This version calls
- lp_solve"""
+ """Interface to 'Lp_solve' v. 5.5 to Solve Linear/Integer Programs
+
+ Lp_solve is freely available (under LGPL 2) software for solving linear,
+ integer and mixed integer programs. In this implementation we supply a
+ "wrapper" function in C and some R functions that solve general
+ linear/integer problems, assignment problems, and transportation problems.
+ This version calls lp_solve"""
homepage = "https://cloud.r-project.org/package=lpSolve"
url = "https://cloud.r-project.org/src/contrib/lpSolve_5.6.13.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/lpSolve"
+ version('5.6.15', sha256='4627be4178abad34fc85a7d264c2eb5e27506f007e46687b0b8a4f8fbdf4f3ba')
version('5.6.13.2', sha256='75f0c0af5cbdc219ac29c792342ecd625903632ad86e581c408879958aa88539')
version('5.6.13.1', sha256='6ad8dc430f72a4698fc4a615bb5ecb73690b3c4520e84d9094af51a528f720b8')
version('5.6.13', sha256='d5d41c53212dead4fd8e6425a9d3c5767cdc5feb19d768a4704116d791cf498d')
diff --git a/var/spack/repos/builtin/packages/r-lsei/package.py b/var/spack/repos/builtin/packages/r-lsei/package.py
index 0b69b60b3e..83660f47d1 100644
--- a/var/spack/repos/builtin/packages/r-lsei/package.py
+++ b/var/spack/repos/builtin/packages/r-lsei/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,16 +7,18 @@ from spack import *
class RLsei(RPackage):
- """It contains functions that solve least squares linear regression
- problems under linear equality/inequality constraints. Functions for
- solving quadratic programming problems are also available, which
- transform such problems into least squares ones first. It is developed
- based on the 'Fortran' program of Lawson and Hanson (1974, 1995), which
- is public domain and available at
- <http://www.netlib.org/lawson-hanson>."""
+ """Solving Least Squares or Quadratic Programming Problems under Equality/Inequality Constraints
+
+ It contains functions that solve least squares linear regression problems
+ under linear equality/inequality constraints. Functions for solving
+ quadratic programming problems are also available, which transform such
+ problems into least squares ones first. It is developed based on the
+ 'Fortran' program of Lawson and Hanson (1974, 1995), which is public domain
+ and available at <http://www.netlib.org/lawson-hanson>."""
homepage = "https://cloud.r-project.org/package=lsei"
url = "https://cloud.r-project.org/src/contrib/lsei_1.2-0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/lsei"
+ version('1.3-0', sha256='6289058f652989ca8a5ad6fa324ce1762cc9e36c42559c00929b70f762066ab6')
version('1.2-0', sha256='4781ebd9ef93880260d5d5f23066580ac06061e95c1048fb25e4e838963380f6')
diff --git a/var/spack/repos/builtin/packages/r-lubridate/package.py b/var/spack/repos/builtin/packages/r-lubridate/package.py
index 3fb1f2ddd2..621945e1fb 100644
--- a/var/spack/repos/builtin/packages/r-lubridate/package.py
+++ b/var/spack/repos/builtin/packages/r-lubridate/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RLubridate(RPackage):
- """Functions to work with date-times and timespans: fast and user friendly
+ """Make Dealing with Dates a Little Easier
+
+ Functions to work with date-times and timespans: fast and user friendly
parsing of date-time data, extraction and updating of components of a
date-time (years, months, days, hours, minutes, and seconds), algebraic
manipulation on date-time and timespan objects. The 'lubridate' package has
@@ -18,11 +20,14 @@ class RLubridate(RPackage):
url = "https://cloud.r-project.org/src/contrib/lubridate_1.7.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/lubridate"
+ version('1.7.9.2', sha256='ee6a2d68faca51646477acd1898ba774bf2b6fd474a0abf351b16aa5e7a3db79')
version('1.7.4', sha256='510ca87bd91631c395655ee5029b291e948b33df09e56f6be5839f43e3104891')
version('1.7.3', sha256='2cffbf54afce1d068e65241fb876a77b10ee907d5a19d2ffa84d5ba8a2c3f3df')
version('1.7.1', sha256='898c3f482ab8f5e5b415eecd13d1238769c88faed19b63fcb074ffe5ff57fb5f')
version('1.5.6', sha256='9b1627ba3212e132ce2b9a29d7513e250cc682ab9b4069f6788a22e84bf8d2c4')
depends_on('r@3.0.0:', type=('build', 'run'))
+ depends_on('r@3.2:', when='@1.7.9.2:', type=('build', 'run'))
+ depends_on('r-generics', when='@1.7.9.2:', type=('build', 'run'))
depends_on('r-rcpp@0.12.13:', type=('build', 'run'))
- depends_on('r-stringr', type=('build', 'run'))
+ depends_on('r-stringr', when='@:1.7.4', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-lumi/package.py b/var/spack/repos/builtin/packages/r-lumi/package.py
index d79de8d662..d12eb1de9a 100644
--- a/var/spack/repos/builtin/packages/r-lumi/package.py
+++ b/var/spack/repos/builtin/packages/r-lumi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,10 @@ from spack import *
class RLumi(RPackage):
- """The lumi package provides an integrated solution for the Illumina
+ """BeadArray Specific Methods for Illumina Methylation and Expression
+ Microarrays
+
+ The lumi package provides an integrated solution for the Illumina
microarray data analysis. It includes functions of Illumina BeadStudio
(GenomeStudio) data input, quality control, BeadArray-specific variance
stabilization, normalization and gene annotation at the probe level. It
@@ -17,6 +20,7 @@ class RLumi(RPackage):
homepage = "https://bioconductor.org/packages/release/bioc/html/lumi.html"
git = "https://git.bioconductor.org/packages/lumi"
+ version('2.42.0', commit='a643b3ba46fee951b8566ddd8216af7e6c92f6f6')
version('2.38.0', commit='321d480d44ce9a0c02ce5af1bddc1f549abdea59')
depends_on('r@2.10:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-magic/package.py b/var/spack/repos/builtin/packages/r-magic/package.py
index 58d39c239f..1f98d82853 100644
--- a/var/spack/repos/builtin/packages/r-magic/package.py
+++ b/var/spack/repos/builtin/packages/r-magic/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-magick/package.py b/var/spack/repos/builtin/packages/r-magick/package.py
index 7c314ad081..5488cb463f 100644
--- a/var/spack/repos/builtin/packages/r-magick/package.py
+++ b/var/spack/repos/builtin/packages/r-magick/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RMagick(RPackage):
- """Bindings to 'ImageMagick': the most comprehensive open-source image
+ """Advanced Graphics and Image-Processing in R
+
+ Bindings to 'ImageMagick': the most comprehensive open-source image
processing library available. Supports many common formats (png, jpeg,
tiff, pdf, etc) and manipulations (rotate, scale, crop, trim, flip, blur,
etc). All operations are vectorized via the Magick++ STL meaning they
@@ -22,8 +24,10 @@ class RMagick(RPackage):
url = "https://cloud.r-project.org/src/contrib/magick_2.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/magick"
+ version('2.6.0', sha256='66585336e3ff18793ae9e2726af67a6672622f270468670ab5fe5e013bc48ecc')
version('2.1', sha256='ef4fb8fc1c5a9cfcc36b22485a0e17d622f61e55803b1e7423fd15f0550de7df')
+ depends_on('r+X', type=('build', 'run'))
depends_on('r-rcpp@0.12.12:', type=('build', 'run'))
depends_on('r-magrittr', type=('build', 'run'))
depends_on('r-curl', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-magrittr/package.py b/var/spack/repos/builtin/packages/r-magrittr/package.py
index 1e3c697da9..a0d2f4fecc 100644
--- a/var/spack/repos/builtin/packages/r-magrittr/package.py
+++ b/var/spack/repos/builtin/packages/r-magrittr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RMagrittr(RPackage):
- """Provides a mechanism for chaining commands with a new forward-pipe
+ """A Forward-Pipe Operator for R
+
+ Provides a mechanism for chaining commands with a new forward-pipe
operator, %>%. This operator will forward a value, or the result of an
expression, into the next function call/expression. There is flexible
support for the type of right-hand side expressions. For more information,
@@ -17,4 +19,5 @@ class RMagrittr(RPackage):
url = "https://cloud.r-project.org/src/contrib/magrittr_1.5.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/magrittr"
+ version('2.0.1', sha256='75c265d51cc2b34beb27040edb09823c7b954d3990a7a931e40690b75d4aad5f')
version('1.5', sha256='05c45943ada9443134caa0ab24db4a962b629f00b755ccf039a2a2a7b2c92ae8')
diff --git a/var/spack/repos/builtin/packages/r-makecdfenv/package.py b/var/spack/repos/builtin/packages/r-makecdfenv/package.py
index 8687d61be7..1d3b968b8c 100644
--- a/var/spack/repos/builtin/packages/r-makecdfenv/package.py
+++ b/var/spack/repos/builtin/packages/r-makecdfenv/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RMakecdfenv(RPackage):
- """CDF Environment Maker.
+ """CDF Environment Maker
This package has two functions. One reads a Affymetrix chip description
file (CDF) and creates a hash table environment containing the
@@ -17,6 +17,7 @@ class RMakecdfenv(RPackage):
homepage = "https://bioconductor.org/packages/makecdfenv"
git = "https://git.bioconductor.org/packages/makecdfenv.git"
+ version('1.66.0', commit='02aa975d543089f5495cb3b4e8edbcf0ff05148a')
version('1.60.0', commit='900ece3ecd7a0ade9f8a0374e5a03def4e079cb3')
version('1.58.0', commit='6f513e39c4920a6da10d22718fc3bf278fe5ffe2')
version('1.56.0', commit='f6b48e9a9f18598653d05bc0bdffeae7fefbb327')
diff --git a/var/spack/repos/builtin/packages/r-maldiquant/package.py b/var/spack/repos/builtin/packages/r-maldiquant/package.py
index c032ea5d3b..3175d8f362 100644
--- a/var/spack/repos/builtin/packages/r-maldiquant/package.py
+++ b/var/spack/repos/builtin/packages/r-maldiquant/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-manipulatewidget/package.py b/var/spack/repos/builtin/packages/r-manipulatewidget/package.py
index 225688abae..1d64cd2566 100644
--- a/var/spack/repos/builtin/packages/r-manipulatewidget/package.py
+++ b/var/spack/repos/builtin/packages/r-manipulatewidget/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,15 +7,18 @@ from spack import *
class RManipulatewidget(RPackage):
- """Like package 'manipulate' does for static graphics, this package helps
- to easily add controls like sliders, pickers, checkboxes, etc. that can
- be used to modify the input data or the parameters of an interactive
- chart created with package 'htmlwidgets'."""
+ """Add Even More Interactivity to Interactive Charts
+
+ Like package 'manipulate' does for static graphics, this package helps to
+ easily add controls like sliders, pickers, checkboxes, etc. that can be
+ used to modify the input data or the parameters of an interactive chart
+ created with package 'htmlwidgets'."""
homepage = "https://github.com/rte-antares-rpackage/manipulateWidget"
url = "https://cloud.r-project.org/src/contrib/manipulateWidget_0.10.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/manipulateWidget/"
+ version('0.10.1', sha256='9d621192121f6b516bc7f1a18305995bfb7838c6683ac701422afc03a50e27ee')
version('0.10.0', sha256='3d61a3d0cedf5c8a850a3e62ed6af38c600dc3f25b44c4ff07a5093bf9ca4ffd')
version('0.9.0', sha256='5bf4bdb702263b0e156f40f3354922a06db7db544e497addcd6c98d9860bf3a3')
version('0.8.0', sha256='e7e6351b1fb8f39b9895e2536fa7c149cbc5d63d7022f67c1b25232cf0706ca7')
@@ -25,11 +28,12 @@ class RManipulatewidget(RPackage):
version('0.5.0', sha256='2599e25f78bb0d748705160e1dfe62a673f5bb388ac5f415f3d649d2511737c8')
version('0.4.0', sha256='65cc7d28c2b2efc81fda35da019ac6e6058580cf0fdf5e31458cc96386c0c599')
- depends_on('r-base64enc', type=('build', 'run'))
- depends_on('r-codetools', type=('build', 'run'))
+ depends_on('r+X', type=('build', 'run'))
+ depends_on('r-shiny@1.0.3:', type=('build', 'run'))
+ depends_on('r-miniui', type=('build', 'run'))
depends_on('r-htmltools', type=('build', 'run'))
depends_on('r-htmlwidgets', type=('build', 'run'))
depends_on('r-knitr', type=('build', 'run'))
- depends_on('r-miniui', type=('build', 'run'))
- depends_on('r-shiny@1.0.3:', type=('build', 'run'))
+ depends_on('r-base64enc', type=('build', 'run'))
+ depends_on('r-codetools', type=('build', 'run'))
depends_on('r-webshot', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-mapplots/package.py b/var/spack/repos/builtin/packages/r-mapplots/package.py
index 4417d0ed14..e9e188c074 100644
--- a/var/spack/repos/builtin/packages/r-mapplots/package.py
+++ b/var/spack/repos/builtin/packages/r-mapplots/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-mapproj/package.py b/var/spack/repos/builtin/packages/r-mapproj/package.py
index 095f251306..d0213bf791 100644
--- a/var/spack/repos/builtin/packages/r-mapproj/package.py
+++ b/var/spack/repos/builtin/packages/r-mapproj/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,15 +7,18 @@ from spack import *
class RMapproj(RPackage):
- """Converts latitude/longitude into projected coordinates."""
+ """Map Projections
+
+ Converts latitude/longitude into projected coordinates."""
homepage = "https://cloud.r-project.org/package=mapproj"
url = "https://cloud.r-project.org/src/contrib/mapproj_1.2-4.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/mapproj"
+ version('1.2.7', sha256='f0081281b08bf3cc7052c4f1360d6d3c20d9063be57754448ad9b48ab0d34c5b')
version('1.2.6', sha256='62a5aa97837ae95ef9f973d95fe45fe43dbbf482dfa922e9df60f3c510e7efe5')
version('1.2-5', sha256='f3026a3a69a550c923b44c18b1ccc60d98e52670a438250d13f3c74cf2195f66')
version('1.2-4', sha256='cf8a1535f57e7cca0a71b3a551e77ad3e7a78f61a94bb19effd3de19dbe7dceb')
depends_on('r@3.0.0:', type=('build', 'run'))
- depends_on('r-maps@2.3:', type=('build', 'run'))
+ depends_on('r-maps@2.3-0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-maps/package.py b/var/spack/repos/builtin/packages/r-maps/package.py
index 2f8132ded3..bdd81fa51b 100644
--- a/var/spack/repos/builtin/packages/r-maps/package.py
+++ b/var/spack/repos/builtin/packages/r-maps/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-maptools/package.py b/var/spack/repos/builtin/packages/r-maptools/package.py
index e9c930e3e4..a749d93753 100644
--- a/var/spack/repos/builtin/packages/r-maptools/package.py
+++ b/var/spack/repos/builtin/packages/r-maptools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RMaptools(RPackage):
- """Set of tools for manipulating and reading geographic data, in particular
+ """Tools for Handling Spatial Objects
+
+ Set of tools for manipulating and reading geographic data, in particular
ESRI shapefiles; C code used from shapelib. It includes binary access to
GSHHG shoreline files. The package also provides interface wrappers for
exchanging spatial objects with packages such as PBSmapping, spatstat,
@@ -17,6 +19,7 @@ class RMaptools(RPackage):
url = "https://cloud.r-project.org/src/contrib/maptools_0.8-39.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/maptools"
+ version('1.0-2', sha256='daac6da5817cf0cff17b9e7d4a7cdc7c329574249bd9b1bafdb6c9431e1fee49')
version('0.9-5', sha256='5d9511f09fb49d57a51f28495b02239800596a4fcfad7b03ee1074d793657bdd')
version('0.9-4', sha256='930875f598a516f0f9049fa2fae7391bc9bdf7e3e5db696059ab4ec2fc9ba39c')
version('0.8-39', sha256='4b81e313e45dbb75e0fbb180b02985d1c34aaa5669e483283b632788e6a67dd2')
diff --git a/var/spack/repos/builtin/packages/r-markdown/package.py b/var/spack/repos/builtin/packages/r-markdown/package.py
index ad966e7486..d50178b1e5 100644
--- a/var/spack/repos/builtin/packages/r-markdown/package.py
+++ b/var/spack/repos/builtin/packages/r-markdown/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-mass/package.py b/var/spack/repos/builtin/packages/r-mass/package.py
index 96cac84566..d913a4a7ef 100644
--- a/var/spack/repos/builtin/packages/r-mass/package.py
+++ b/var/spack/repos/builtin/packages/r-mass/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,16 @@ from spack import *
class RMass(RPackage):
- """Functions and datasets to support Venables and Ripley, "Modern Applied
+ """Support Functions and Datasets for Venables and Ripley's MASS
+
+ Functions and datasets to support Venables and Ripley, "Modern Applied
Statistics with S" (4th edition, 2002)."""
homepage = "https://cloud.r-project.org/package=MASS"
url = "https://cloud.r-project.org/src/contrib/MASS_7.3-47.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/MASS"
+ version('7.3-53', sha256='41824e70ada302a620226c0f17b1b2c880c6d1a3a100b53bd6df8e8c97e64b38')
version('7.3-51.5', sha256='464c0615cef01820cde2bb8457e81575d6755ae9b3ac99f3bfaaac47d43d15cc')
version('7.3-51.4', sha256='844270a2541eaed420871dfb61d681aa67ee57126645fb6b144b436c25698eeb')
version('7.3-51.3', sha256='5b0e0e7704d43a94b08dcc4b3fe600b9723d1b3e446dd393e82d39ddf66608b6')
diff --git a/var/spack/repos/builtin/packages/r-mathjaxr/package.py b/var/spack/repos/builtin/packages/r-mathjaxr/package.py
new file mode 100644
index 0000000000..455a3ef32c
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-mathjaxr/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RMathjaxr(RPackage):
+ """Using 'Mathjax' in Rd Files
+
+ Provides 'MathJax' and macros to enable its use within Rd files for
+ rendering equations in the HTML help files."""
+
+ homepage = "https://github.com/wviechtb/mathjaxr"
+ url = "https://cloud.r-project.org/src/contrib/mathjaxr_1.0-1.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/mathjaxr"
+
+ version('1.0-1', sha256='0d3d370c4d0c7c7c6d5541d4e0ae50170b4084ca8a66e8a43bd92c7d1c112148')
diff --git a/var/spack/repos/builtin/packages/r-matlab/package.py b/var/spack/repos/builtin/packages/r-matlab/package.py
index 221f5f7b31..86e2f5bffc 100644
--- a/var/spack/repos/builtin/packages/r-matlab/package.py
+++ b/var/spack/repos/builtin/packages/r-matlab/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-matr/package.py b/var/spack/repos/builtin/packages/r-matr/package.py
index ad8bc3370a..3516e1b901 100644
--- a/var/spack/repos/builtin/packages/r-matr/package.py
+++ b/var/spack/repos/builtin/packages/r-matr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-matrix/package.py b/var/spack/repos/builtin/packages/r-matrix/package.py
index 07140d08ec..f3648f0ce0 100644
--- a/var/spack/repos/builtin/packages/r-matrix/package.py
+++ b/var/spack/repos/builtin/packages/r-matrix/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,19 +7,25 @@ from spack import *
class RMatrix(RPackage):
- """Classes and methods for dense and sparse matrices and operations on them
- using 'LAPACK' and 'SuiteSparse'."""
+ """Sparse and Dense Matrix Classes and Methods
+
+ A rich hierarchy of matrix classes, including triangular, symmetric, and
+ diagonal matrices, both dense and sparse and with pattern, logical and
+ numeric entries. Numerous methods for and operations on these matrices,
+ using 'LAPACK' and 'SuiteSparse' libraries."""
homepage = "http://matrix.r-forge.r-project.org/"
url = "https://cloud.r-project.org/src/contrib/Matrix_1.2-14.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/Matrix"
+ version('1.3-2', sha256='950ba5d91018e711fd2743b3486a50dc47ae9c271389fce587792f0a9aab9531')
version('1.2-17', sha256='db43e6f0196fd5dfd05a7e88cac193877352c60d771d4ec8772763e645723fcc')
version('1.2-14', sha256='49a6403547b66675cb44c1afb04bb87130c054510cb2b94971435a826ab41396')
version('1.2-11', sha256='ba8cd6565612552fe397e909721817b6cc0604a91299d56d118208006888dc0b')
version('1.2-8', sha256='3cd2a187c45fc18a0766dc148b7f83dbf6f2163c256e887c41cbaa7c9a20dbb7')
version('1.2-6', sha256='4b49b639b7bf612fa3d1c1b1c68125ec7859c8cdadae0c13f499f24099fd5f20')
- depends_on('r@3.0.1:', when='@:1.2-12', type=('build', 'run'))
+ depends_on('r@3.0.1:', type=('build', 'run'))
depends_on('r@3.2.0:', when='@1.2.13:', type=('build', 'run'))
+ depends_on('r@3.6.0:', when='@1.3-2:', type=('build', 'run'))
depends_on('r-lattice', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-matrixgenerics/package.py b/var/spack/repos/builtin/packages/r-matrixgenerics/package.py
new file mode 100644
index 0000000000..daf207f782
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-matrixgenerics/package.py
@@ -0,0 +1,24 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RMatrixgenerics(RPackage):
+ """S4 Generic Summary Statistic Functions that Operate on Matrix-Like Objects
+
+ S4 generic functions modeled after the 'matrixStats' API for alternative
+ matrix implementations. Packages with alternative matrix implementation can
+ depend on this package and implement the generic functions that are defined
+ here for a useful set of row and column summary statistics. Other package
+ developers can import this package and handle a different matrix
+ implementations without worrying about incompatibilities."""
+
+ homepage = "https://bioconductor.org/packages/MatrixGenerics"
+ git = "https://git.bioconductor.org/packages/MatrixGenerics"
+
+ version('1.2.1', commit='abcc9ca0504e0b915cd7933a3169a8e9e5bd2fe9')
+
+ depends_on('r-matrixstats@0.57.1:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-matrixmodels/package.py b/var/spack/repos/builtin/packages/r-matrixmodels/package.py
index 98de8f80c3..2962bf5b46 100644
--- a/var/spack/repos/builtin/packages/r-matrixmodels/package.py
+++ b/var/spack/repos/builtin/packages/r-matrixmodels/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-matrixstats/package.py b/var/spack/repos/builtin/packages/r-matrixstats/package.py
index 9bebc7ad9d..8559edd0f4 100644
--- a/var/spack/repos/builtin/packages/r-matrixstats/package.py
+++ b/var/spack/repos/builtin/packages/r-matrixstats/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,17 +7,20 @@ from spack import *
class RMatrixstats(RPackage):
- """High-performing functions operating on rows and columns of matrices,
- e.g. col / rowMedians(), col / rowRanks(), and col / rowSds(). Functions
- optimized per data type and for subsetted calculations such that both
- memory usage and processing time is minimized. There are also optimized
- vector-based methods, e.g. binMeans(), madDiff() and
- weightedMedian()."""
+ """Functions that Apply to Rows and Columns of Matrices (and to Vectors)
+
+ High-performing functions operating on rows and columns of matrices, e.g.
+ col / rowMedians(), col / rowRanks(), and col / rowSds(). Functions
+ optimized per data type and for subsetted calculations such that both
+ memory usage and processing time is minimized. There are also optimized
+ vector-based methods, e.g. binMeans(), madDiff() and weightedMedian()."""
homepage = "https://cloud.r-project.org/package=matrixStats"
url = "https://cloud.r-project.org/src/contrib/matrixStats_0.52.2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/matrixStats"
+ version('0.58.0', sha256='8367b4b98cd24b6e40022cb2b11e907aa0bcf5ee5b2f89fefb186f53661f4b49')
+ version('0.57.0', sha256='f9681887cd3b121762c83f55f189cae26cb8443efce91fcd212ac714fde9f343')
version('0.55.0', sha256='16d6bd90eee4cee8df4c15687de0f9b72730c03e56603c2998007d4533e8db19')
version('0.54.0', sha256='8f0db4e181300a208b9aedbebfdf522a2626e6675d2662656efb8ba71b05a06f')
version('0.52.2', sha256='39da6aa6b109f89a141dab8913d981abc4fbd3f8be9e206f92e382cc5270d2a5')
diff --git a/var/spack/repos/builtin/packages/r-mclust/package.py b/var/spack/repos/builtin/packages/r-mclust/package.py
index f0936a9e82..de7a31732d 100644
--- a/var/spack/repos/builtin/packages/r-mclust/package.py
+++ b/var/spack/repos/builtin/packages/r-mclust/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,19 @@ from spack import *
class RMclust(RPackage):
- """mclust: Gaussian Mixture Modelling for Model-Based Clustering,
- Classification, and Density Estimation"""
+ """Gaussian Mixture Modelling for Model-Based Clustering, Classification,
+ and Density Estimation
+
+ Gaussian finite mixture models fitted via EM algorithm for model-based
+ clustering, classification, and density estimation, including Bayesian
+ regularization, dimension reduction for visualisation, and resampling-based
+ inference."""
homepage = "http://www.stat.washington.edu/mclust"
url = "https://cloud.r-project.org/src/contrib/mclust_5.3.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/mclust"
+ version('5.4.7', sha256='45f5a666caee5bebd3160922b8655295a25e37f624741f6574365e4ac5a14c23')
version('5.4.5', sha256='75f2963082669485953e4306ffa93db98335ee6afdc1318b95d605d56cb30a72')
version('5.4.4', sha256='ccc31b0ad445e121a447b04988e73232a085c506fcc7ebdf11a3e0754aae3e0d')
version('5.3', sha256='2b1b6d8266ae16b0e96f118df81559f208a568744a7c105af9f9abf1eef6ba40')
diff --git a/var/spack/repos/builtin/packages/r-mcmcglmm/package.py b/var/spack/repos/builtin/packages/r-mcmcglmm/package.py
index 52f8104b40..7ac91659d0 100644
--- a/var/spack/repos/builtin/packages/r-mcmcglmm/package.py
+++ b/var/spack/repos/builtin/packages/r-mcmcglmm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,16 @@ from spack import *
class RMcmcglmm(RPackage):
- """MCMC Generalised Linear Mixed Models."""
+ """MCMC Generalised Linear Mixed Models
+
+ Fits Multi-response Generalised Linear Mixed Models (and related models)
+ using Markov chain Monte Carlo techniques."""
homepage = "https://cloud.r-project.org/package=MCMCglmm"
url = "https://cloud.r-project.org/src/contrib/MCMCglmm_2.25.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/MCMCglmm"
+ version('2.30', sha256='714250fe6ebdd1bd3dc284f7fcb92326de1273b0c34d31e71dc825312527e042')
version('2.29', sha256='13ba7837ea2049e892c04e7ec5c83d5b599a7e4820b9d875f55ec40fc2cc67b4')
version('2.28', sha256='7d92e6d35638e5e060a590b92c3b1bfc02a11386276a8ab99bceec5d797bfc2a')
version('2.25', sha256='3072316bf5c66f6db5447cb488395ff019f6c47122813467384474f340643133')
diff --git a/var/spack/repos/builtin/packages/r-mco/package.py b/var/spack/repos/builtin/packages/r-mco/package.py
index ec591cd8e6..4e20993e58 100644
--- a/var/spack/repos/builtin/packages/r-mco/package.py
+++ b/var/spack/repos/builtin/packages/r-mco/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,17 @@ from spack import *
class RMco(RPackage):
- """Functions for multiple criteria optimization using genetic algorithms
- and related test problems"""
+ """Multiple Criteria Optimization Algorithms and Related Functions
+
+ A collection of function to solve multiple criteria optimization problems
+ using genetic algorithms (NSGA-II). Also included is a collection of test
+ functions."""
homepage = "https://github.com/cran/mco"
url = "https://cloud.r-project.org/src/contrib/mco_1.0-15.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/mco"
+ version('1.15.6', sha256='17ebe279cb9c89b7cd8054ac50d3b657d2b10dadbc584b88da7e79c3a9680582')
version('1.0-15.1', sha256='3c13ebc8c1f1bfa18f3f95b3998c57fde5259876e92456b6c6d4c59bef07c193')
version('1.0-15', sha256='a25e3effbb6dcae735fdbd6c0bfc775e9fbbcc00dc00076b69c53fe250627055')
diff --git a/var/spack/repos/builtin/packages/r-mda/package.py b/var/spack/repos/builtin/packages/r-mda/package.py
index 16dd70ee59..2e48f789df 100644
--- a/var/spack/repos/builtin/packages/r-mda/package.py
+++ b/var/spack/repos/builtin/packages/r-mda/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,15 +7,19 @@ from spack import *
class RMda(RPackage):
- """Mixture and flexible discriminant analysis, multivariate adaptive
+ """Mixture and Flexible Discriminant Analysis
+
+ Mixture and flexible discriminant analysis, multivariate adaptive
regression splines (MARS), BRUTO."""
homepage = "https://cloud.r-project.org/package=mda"
url = "https://cloud.r-project.org/src/contrib/mda_0.4-9.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/mda"
+ version('0.5-2', sha256='344f2053215ddf535d1554b4539e9b09067dac878887cc3eb995cef421fc00c3')
version('0.4-10', sha256='7036bc622a8fea5b2de94fc19e6b64f5f0c27e5d743ae7646e116af08c9de6a5')
version('0.4-9', sha256='b72456d2fa5b49895644489735d21cf4836d3d597f5e693e6103cce1887ffd85')
depends_on('r@1.9.0:', type=('build', 'run'))
+ depends_on('r@3.5.0:', when='@0.5-2:', type=('build', 'run'))
depends_on('r-class', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-memoise/package.py b/var/spack/repos/builtin/packages/r-memoise/package.py
index 3587dfdbfa..e68ab324de 100644
--- a/var/spack/repos/builtin/packages/r-memoise/package.py
+++ b/var/spack/repos/builtin/packages/r-memoise/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-mergemaid/package.py b/var/spack/repos/builtin/packages/r-mergemaid/package.py
index 5d02468dcb..ef5368edee 100644
--- a/var/spack/repos/builtin/packages/r-mergemaid/package.py
+++ b/var/spack/repos/builtin/packages/r-mergemaid/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-metap/package.py b/var/spack/repos/builtin/packages/r-metap/package.py
index c910da734e..3401447b9a 100644
--- a/var/spack/repos/builtin/packages/r-metap/package.py
+++ b/var/spack/repos/builtin/packages/r-metap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RMetap(RPackage):
- """The canonical way to perform meta-analysis involves using effect sizes.
+ """Meta-Analysis of Significance Values
+
+ The canonical way to perform meta-analysis involves using effect sizes.
When they are not available this package provides a number of methods for
meta-analysis of significance values including the methods of Edgington,
Fisher, Lancaster, Stouffer, Tippett, and Wilkinson; a number of data-sets
@@ -17,7 +19,12 @@ class RMetap(RPackage):
url = "https://cloud.r-project.org/src/contrib/metap_1.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/metap"
+ version('1.4', sha256='5fac23d823d0ad4eebc3f97620364e25f7b41f8d0c3579f6c09ec059940b85a5')
version('1.1', sha256='20120428672d39dc15829c7e66850fc4350a34df290d48cef0b1cc78d13f7b82')
depends_on('r-lattice', type=('build', 'run'))
depends_on('r-rdpack', type=('build', 'run'))
+ depends_on('r-rdpack@0.7:', when='@1.4:', type=('build', 'run'))
+ depends_on('r-tfisher', when='@1.4:', type=('build', 'run'))
+ depends_on('r-mutoss', when='@1.4:', type=('build', 'run'))
+ depends_on('r-mathjaxr@0.8-3:', when='@1.4:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-methylumi/package.py b/var/spack/repos/builtin/packages/r-methylumi/package.py
index 55f9f42a96..9f01e66279 100644
--- a/var/spack/repos/builtin/packages/r-methylumi/package.py
+++ b/var/spack/repos/builtin/packages/r-methylumi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RMethylumi(RPackage):
- """This package provides classes for holding and manipulating Illumina
+ """Handle Illumina methylation data
+
+ This package provides classes for holding and manipulating Illumina
methylation data. Based on eSet, it can contain MIAME information, sample
information, feature information, and multiple matrices of data. An
"intelligent" import function, methylumiR can read the Illumina text files
@@ -19,6 +21,7 @@ class RMethylumi(RPackage):
homepage = "https://bioconductor.org/packages/release/bioc/html/methylumi.html"
git = "https://git.bioconductor.org/packages/methylumi"
+ version('2.36.0', commit='5fb0b609f9c9181ac99f902745958774e5489606')
version('2.32.0', commit='e2a29c1b214c0d43c7325d176f9ce41dcf8e2f9d')
depends_on('r@2.13:', type=('build', 'run'))
@@ -30,6 +33,7 @@ class RMethylumi(RPackage):
depends_on('r-fdb-infiniummethylation-hg19@2.2.0:', type=('build', 'run'))
depends_on('r-minfi', type=('build', 'run'))
depends_on('r-biocgenerics', type=('build', 'run'))
+ depends_on('r-s4vectors', when='@2.36.0:', type=('build', 'run'))
depends_on('r-iranges', type=('build', 'run'))
depends_on('r-genomeinfodb', type=('build', 'run'))
depends_on('r-genomicranges', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-mgcv/package.py b/var/spack/repos/builtin/packages/r-mgcv/package.py
index 5a12096785..cfc07d7404 100644
--- a/var/spack/repos/builtin/packages/r-mgcv/package.py
+++ b/var/spack/repos/builtin/packages/r-mgcv/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,15 +7,21 @@ from spack import *
class RMgcv(RPackage):
- """GAMs, GAMMs and other generalized ridge regression with multiple
- smoothing parameter estimation by GCV, REML or UBRE/AIC. Includes a gam()
- function, a wide variety of smoothers, JAGS support and distributions
- beyond the exponential family."""
+ """Mixed GAM Computation Vehicle with Automatic Smoothness Estimation
+
+ Generalized additive (mixed) models, some of their extensions and other
+ generalized ridge regression with multiple smoothing parameter estimation
+ by (Restricted) Marginal Likelihood, Generalized Cross Validation and
+ similar, or using iterated nested Laplace approximation for fully Bayesian
+ inference. See Wood (2017) <doi:10.1201/9781315370279> for an overview.
+ Includes a gam() function, a wide variety of smoothers, 'JAGS' support and
+ distributions beyond the exponential family."""
homepage = "https://cloud.r-project.org/package=mgcv"
url = "https://cloud.r-project.org/src/contrib/mgcv_1.8-16.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/mgcv"
+ version('1.8-33', sha256='98cb7bac928e2c9564091a9af31e5d309305c6c5fcf96e8429c08925fe6f2bf4')
version('1.8-28', sha256='b55ea8227cd5c263c266c3885fa3299aa6bd23b54186517f9299bf38a7bdd3ea')
version('1.8-27', sha256='c88b99fb518decd7e9cd17a4c267e74f98a78172f056784194b5b127ca0f7d1b')
version('1.8-22', sha256='d4af7767e097ebde91c61d5ab4c62975dcb6b4ed6f545c09f5276a44ebc585cf')
diff --git a/var/spack/repos/builtin/packages/r-mgraster/package.py b/var/spack/repos/builtin/packages/r-mgraster/package.py
index a3bcf11d7e..2d22506614 100644
--- a/var/spack/repos/builtin/packages/r-mgraster/package.py
+++ b/var/spack/repos/builtin/packages/r-mgraster/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-mice/package.py b/var/spack/repos/builtin/packages/r-mice/package.py
index 583e6cae8d..b667bdaf12 100644
--- a/var/spack/repos/builtin/packages/r-mice/package.py
+++ b/var/spack/repos/builtin/packages/r-mice/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,23 +7,25 @@ from spack import *
class RMice(RPackage):
- """Multiple imputation using Fully Conditional Specification (FCS)
- implemented by the MICE algorithm as described in Van Buuren and
- Groothuis-Oudshoorn (2011) <doi:10.18637/jss.v045.i03>.
+ """Multivariate Imputation by Chained Equations
- Each variable has its own imputation model. Built-in imputation models are
- provided for continuous data (predictive mean matching, normal), binary
- data (logistic regression), unordered categorical data (polytomous logistic
- regression) and ordered categorical data (proportional odds). MICE can
- also impute continuous two-level data (normal model, pan, second-level
- variables). Passive imputation can be used to maintain consistency between
- variables. Various diagnostic plots are available to inspect the quality
- of the imputations."""
+ Multiple imputation using Fully Conditional Specification (FCS) implemented
+ by the MICE algorithm as described in Van Buuren and Groothuis-Oudshoorn
+ (2011) <doi:10.18637/jss.v045.i03>. Each variable has its own imputation
+ model. Built-in imputation models are provided for continuous data
+ (predictive mean matching, normal), binary data (logistic regression),
+ unordered categorical data (polytomous logistic regression) and ordered
+ categorical data (proportional odds). MICE can also impute continuous
+ two-level data (normal model, pan, second-level variables). Passive
+ imputation can be used to maintain consistency between variables. Various
+ diagnostic plots are available to inspect the quality of the
+ imputations."""
homepage = "https://cloud.r-project.org/package=mice"
url = "https://cloud.r-project.org/src/contrib/mice_3.0.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/mice"
+ version('3.12.0', sha256='575d9e650d5fc8cd66c0b5a2f1e659605052b26d61f772fff5eed81b414ef144')
version('3.6.0', sha256='7bc72bdb631bc9f67d8f76ffb48a7bb275228d861075e20c24c09c736bebec5d')
version('3.5.0', sha256='4fccecdf9e8d8f9f63558597bfbbf054a873b2d0b0820ceefa7b6911066b9e45')
version('3.0.0', sha256='98b6bb1c5f8fb099bd0024779da8c865146edb25219cc0c9542a8254152c0add')
@@ -31,11 +33,14 @@ class RMice(RPackage):
depends_on('r@2.10.0:', type=('build', 'run'))
depends_on('r-broom', type=('build', 'run'))
depends_on('r-dplyr', type=('build', 'run'))
- depends_on('r-mass', type=('build', 'run'))
- depends_on('r-mitml', type=('build', 'run'))
- depends_on('r-nnet', type=('build', 'run'))
+ depends_on('r-generics', when='@3.12.0:', type=('build', 'run'))
+ depends_on('r-lattice', type=('build', 'run'))
depends_on('r-rcpp', type=('build', 'run'))
depends_on('r-rlang', type=('build', 'run'))
- depends_on('r-rpart', type=('build', 'run'))
- depends_on('r-survival', type=('build', 'run'))
- depends_on('r-lattice', type=('build', 'run'))
+ depends_on('r-tidyr', when='@3.12.0:', type=('build', 'run'))
+ depends_on('r-cpp11', when='@3.12.0:', type=('build', 'run'))
+ depends_on('r-mitml', when='@:3.6.0', type=('build', 'run'))
+ depends_on('r-nnet', when='@:3.6.0', type=('build', 'run'))
+ depends_on('r-rpart', when='@:3.6.0', type=('build', 'run'))
+ depends_on('r-survival', when='@:3.6.0', type=('build', 'run'))
+ depends_on('r-mass', when='@:3.6.0', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-mime/package.py b/var/spack/repos/builtin/packages/r-mime/package.py
index 1c795c905d..c842950dc4 100644
--- a/var/spack/repos/builtin/packages/r-mime/package.py
+++ b/var/spack/repos/builtin/packages/r-mime/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,16 @@ from spack import *
class RMime(RPackage):
- """Guesses the MIME type from a filename extension using the data derived
+ """Map Filenames to MIME Types
+
+ Guesses the MIME type from a filename extension using the data derived
from /etc/mime.types in UNIX-type systems."""
homepage = "https://github.com/yihui/mime"
url = "https://cloud.r-project.org/src/contrib/mime_0.5.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/mime"
+ version('0.9', sha256='2ccf97d2940a09539dc051c7a9a1aee90ef04b34e9bc6c0b64b4435fb3c2fa80')
version('0.7', sha256='11083ee44c92569aadbb9baf60a2e079ab7a721c849b74d102694975cc8d778b')
version('0.6', sha256='4775b605ab0117406bee7953c8af59eea8b35e67d1bd63f4007686a7097fc401')
version('0.5', sha256='fcc72115afb0eb43237da872754464f37ae9ae097f332ec7984149b5e3a82145')
diff --git a/var/spack/repos/builtin/packages/r-minfi/package.py b/var/spack/repos/builtin/packages/r-minfi/package.py
index b786dd2129..da82288422 100644
--- a/var/spack/repos/builtin/packages/r-minfi/package.py
+++ b/var/spack/repos/builtin/packages/r-minfi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,14 @@ from spack import *
class RMinfi(RPackage):
- """Analyze Illumina Infinium DNA methylation arrays.
+ """Analyze Illumina Infinium DNA methylation arrays
Tools to analyze & visualize Illumina Infinium methylation arrays."""
homepage = "https://bioconductor.org/packages/minfi"
git = "https://git.bioconductor.org/packages/minfi.git"
+ version('1.36.0', commit='94301da343226be7cd878c2a6c1bb529564785d6')
version('1.30.0', commit='a4c28e9388fe3b35e7d21a9669e39250ed6dcbcd')
version('1.28.4', commit='b5125b2f3e05d37d519eeb6fd44a60efdad388e7')
version('1.26.2', commit='ebb07b728b2453998d46e4e53d4fbf873e8e81fc')
@@ -37,7 +38,9 @@ class RMinfi(RPackage):
depends_on('r-limma', type=('build', 'run'))
depends_on('r-preprocesscore', type=('build', 'run'))
depends_on('r-illuminaio', type=('build', 'run'))
- depends_on('r-matrixstats@0.50.0:', type=('build', 'run'))
+ depends_on('r-illuminaio@0.23.2:', when='@1.28.4:', type=('build', 'run'))
+ depends_on('r-delayedmatrixstats', when='@1.26.2:', type=('build', 'run'))
+ depends_on('r-delayedmatrixstats@1.3.4:', when='@1.28.4:', type=('build', 'run'))
depends_on('r-mclust', type=('build', 'run'))
depends_on('r-genefilter', type=('build', 'run'))
depends_on('r-nlme', type=('build', 'run'))
@@ -46,14 +49,10 @@ class RMinfi(RPackage):
depends_on('r-quadprog', type=('build', 'run'))
depends_on('r-data-table', type=('build', 'run'))
depends_on('r-geoquery', type=('build', 'run'))
-
- depends_on('r-delayedmatrixstats', when='@1.26.2:', type=('build', 'run'))
depends_on('r-delayedarray@0.5.23:', when='@1.26.2:', type=('build', 'run'))
- depends_on('r-hdf5array', when='@1.26.2:', type=('build', 'run'))
- depends_on('r-biocparallel', when='@1.26.2:', type=('build', 'run'))
-
- depends_on('r-illuminaio@0.23.2:', when='@1.28.4:', type=('build', 'run'))
- depends_on('r-delayedmatrixstats@1.3.4:', when='@1.28.4:', type=('build', 'run'))
depends_on('r-delayedarray@0.7.38:', when='@1.28.4:', type=('build', 'run'))
-
depends_on('r-delayedarray@0.9.8:', when='@1.30.0:', type=('build', 'run'))
+ depends_on('r-delayedarray@0.15.16:', when='@1.36.0:', type=('build', 'run'))
+ depends_on('r-hdf5array', when='@1.26.2:', type=('build', 'run'))
+ depends_on('r-biocparallel', when='@1.26.2:', type=('build', 'run'))
+ depends_on('r-matrixstats@0.50.0:', when='@:1.30.0', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-miniui/package.py b/var/spack/repos/builtin/packages/r-miniui/package.py
index 71761dffd3..ef77dec552 100644
--- a/var/spack/repos/builtin/packages/r-miniui/package.py
+++ b/var/spack/repos/builtin/packages/r-miniui/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-minqa/package.py b/var/spack/repos/builtin/packages/r-minqa/package.py
index efdd719932..38d33702a6 100644
--- a/var/spack/repos/builtin/packages/r-minqa/package.py
+++ b/var/spack/repos/builtin/packages/r-minqa/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-misc3d/package.py b/var/spack/repos/builtin/packages/r-misc3d/package.py
index 7d4a1c63fa..6814f5a4b4 100644
--- a/var/spack/repos/builtin/packages/r-misc3d/package.py
+++ b/var/spack/repos/builtin/packages/r-misc3d/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,10 +7,15 @@ from spack import *
class RMisc3d(RPackage):
- """A collection of miscellaneous 3d plots, including isosurfaces."""
+ """Miscellaneous 3D Plots
+
+ A collection of miscellaneous 3d plots, including isosurfaces."""
homepage = "https://cloud.r-project.org/package=misc3d"
url = "https://cloud.r-project.org/src/contrib/misc3d_0.8-4.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/misc3d"
+ version('0.9-0', sha256='a1e9291d625bd1312bae5b0e26d48b9362f66a8a0fabbf48891ba1d2432e4e82')
version('0.8-4', sha256='75de3d2237f67f9e58a36e80a6bbf7e796d43eb46789f2dd1311270007bf5f62')
+
+ depends_on('r+X', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-mitml/package.py b/var/spack/repos/builtin/packages/r-mitml/package.py
index f46d8a497a..cd61393d60 100644
--- a/var/spack/repos/builtin/packages/r-mitml/package.py
+++ b/var/spack/repos/builtin/packages/r-mitml/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-mitools/package.py b/var/spack/repos/builtin/packages/r-mitools/package.py
index 264e20c811..0257905e3e 100644
--- a/var/spack/repos/builtin/packages/r-mitools/package.py
+++ b/var/spack/repos/builtin/packages/r-mitools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-mixtools/package.py b/var/spack/repos/builtin/packages/r-mixtools/package.py
index 7558cc02ab..6b93933deb 100644
--- a/var/spack/repos/builtin/packages/r-mixtools/package.py
+++ b/var/spack/repos/builtin/packages/r-mixtools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,19 +7,33 @@ from spack import *
class RMixtools(RPackage):
- """mixtools: Tools for Analyzing Finite Mixture Models
+ """Tools for Analyzing Finite Mixture Models
Analyzes finite mixture models for various parametric and semiparametric
- settings."""
+ settings. This includes mixtures of parametric distributions (normal,
+ multivariate normal, multinomial, gamma), various Reliability Mixture
+ Models (RMMs), mixtures-of-regressions settings (linear regression,
+ logistic regression, Poisson regression, linear regression with
+ changepoints, predictor-dependent mixing proportions, random effects
+ regressions, hierarchical mixtures-of-experts), and tools for selecting the
+ number of components (bootstrapping the likelihood ratio test statistic,
+ mixturegrams, and model selection criteria). Bayesian estimation of
+ mixtures-of-linear-regressions models is available as well as a novel data
+ depth method for obtaining credible bands. This package is based upon work
+ supported by the National Science Foundation under Grant No.
+ SES-0518772."""
homepage = "https://cloud.r-project.org/package=mixtools"
url = "https://cloud.r-project.org/src/contrib/mixtools_1.1.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/mixtools"
+ version('1.2.0', sha256='ef033ef13625209065d26767bf70d129972e6808927f755629f1d70a118b9023')
version('1.1.0', sha256='543fd8d8dc8d4b6079ebf491cf97f27d6225e1a6e65d8fd48553ada23ba88d8f')
version('1.0.4', sha256='62f4b0a17ce520c4f8ed50ab44f120e459143b461a9e420cd39056ee4fc8798c')
depends_on('r@3.2:', type=('build', 'run'))
+ depends_on('r@3.5.0:', when='@1.2.0:', type=('build', 'run'))
+ depends_on('r-kernlab', when='@1.2.0:', type=('build', 'run'))
depends_on('r-mass', type=('build', 'run'))
depends_on('r-segmented', type=('build', 'run'))
depends_on('r-survival', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-mlbench/package.py b/var/spack/repos/builtin/packages/r-mlbench/package.py
index 6b75828c71..ab0eb7620f 100644
--- a/var/spack/repos/builtin/packages/r-mlbench/package.py
+++ b/var/spack/repos/builtin/packages/r-mlbench/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-mlinterfaces/package.py b/var/spack/repos/builtin/packages/r-mlinterfaces/package.py
index 4a2e45585b..67465eb4b8 100644
--- a/var/spack/repos/builtin/packages/r-mlinterfaces/package.py
+++ b/var/spack/repos/builtin/packages/r-mlinterfaces/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ from spack import *
class RMlinterfaces(RPackage):
"""Uniform interfaces to R machine learning procedures for data in
- Bioconductor containers.
+ Bioconductor containers
This package provides uniform interfaces to machine learning code for
data in R and Bioconductor containers."""
@@ -16,6 +16,7 @@ class RMlinterfaces(RPackage):
homepage = "https://bioconductor.org/packages/MLInterfaces"
git = "https://git.bioconductor.org/packages/MLInterfaces.git"
+ version('1.70.0', commit='7b076c3e85314dd5fd5bd8a98e8123d08d9acd3b')
version('1.64.1', commit='0b081112d87771248bc33b3b82d5ca4685f986a1')
version('1.62.1', commit='6cf59a90b14779cf57a0b36f1087304082ae50fe')
version('1.60.1', commit='019e9ed44923e5d845a4800246aa044ddd59d548')
@@ -23,6 +24,8 @@ class RMlinterfaces(RPackage):
version('1.56.0', commit='31fe6fb20d859fcb01d5552f42bca6bab16cc67f')
depends_on('r@2.9:', type=('build', 'run'))
+ depends_on('r@3.5:', when='@1.60.1:', type=('build', 'run'))
+ depends_on('r-rcpp', when='@1.70.0:', type=('build', 'run'))
depends_on('r-biocgenerics@0.13.11:', type=('build', 'run'))
depends_on('r-biobase', type=('build', 'run'))
depends_on('r-annotate', type=('build', 'run'))
@@ -32,7 +35,6 @@ class RMlinterfaces(RPackage):
depends_on('r-sfsmisc', type=('build', 'run'))
depends_on('r-mass', type=('build', 'run'))
depends_on('r-rpart', type=('build', 'run'))
- depends_on('r-rda', type=('build', 'run'))
depends_on('r-genefilter', type=('build', 'run'))
depends_on('r-fpc', type=('build', 'run'))
depends_on('r-ggvis', type=('build', 'run'))
@@ -42,5 +44,4 @@ class RMlinterfaces(RPackage):
depends_on('r-hwriter', type=('build', 'run'))
depends_on('r-threejs@0.2.2:', type=('build', 'run'))
depends_on('r-mlbench', type=('build', 'run'))
-
- depends_on('r@3.5:', when='@1.60.1:', type=('build', 'run'))
+ depends_on('r-rda', when='@:1.64.1', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-mlr/package.py b/var/spack/repos/builtin/packages/r-mlr/package.py
index 306d8ff92a..986bc955db 100644
--- a/var/spack/repos/builtin/packages/r-mlr/package.py
+++ b/var/spack/repos/builtin/packages/r-mlr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,35 +7,44 @@ from spack import *
class RMlr(RPackage):
- """Interface to a large number of classification and regression techniques,
- including machine-readable parameter descriptions. There is also an
- experimental extension for survival analysis, clustering and general,
- example-specific cost-sensitive learning. Generic resampling,
- including cross-validation, bootstrapping and subsampling.
- Hyperparameter tuning with modern optimization techniques,
- for single- and multi-objective problems. Filter and wrapper methods for
- feature selection. Extension of basic learners with additional
- operations common in machine learning, also allowing for easy nested
- resampling. Most operations can be parallelized."""
+ """Machine Learning in R
+
+ Interface to a large number of classification and regression techniques,
+ including machine-readable parameter descriptions. There is also an
+ experimental extension for survival analysis, clustering and general,
+ example-specific cost-sensitive learning. Generic resampling, including
+ cross-validation, bootstrapping and subsampling. Hyperparameter tuning
+ with modern optimization techniques, for single- and multi-objective
+ problems. Filter and wrapper methods for feature selection. Extension of
+ basic learners with additional operations common in machine learning, also
+ allowing for easy nested resampling. Most operations can be
+ parallelized."""
homepage = "https://github.com/mlr-org/mlr/"
url = "https://cloud.r-project.org/src/contrib/mlr_2.12.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/mlr"
+ version('2.18.0', sha256='c2fe74e90ed32e5f4cbb0c09a1742051688d87db2f12dd408ddad0f5afc7f8d3')
version('2.15.0', sha256='a3c2c2bd65a87d90b5e5e877b1ef8e7712e76b4eb1660d3f69672a1860ca5324')
version('2.14.0', sha256='1f72184400678386c7c44297c4c92a448b50148de700df5ba0438d4e486e944a')
version('2.13', sha256='e8729be7acddc1ea124c44f9493a8b903c5f54b97e09c714366553aed733011d')
version('2.12.1', sha256='9cbb98b82eb493b783fe8808a18d76f32881d941364466ef8829b852fabbc82c')
version('2.12', sha256='cfe00089ae4cd88c6d03826eda43d4fe29e467e3a7c95d103fafca8308f5c161')
+ # There are some potential variants for this.
+ # SystemRequirements: gdal (optional), geos (optional), proj (optional),
+ # udunits (optional), gsl (optional), gmp (optional), glu (optional), jags
+ # (optional)
+
depends_on('r@3.0.2:', type=('build', 'run'))
depends_on('r-paramhelpers@1.10:', type=('build', 'run'))
- depends_on('r-bbmisc@1.11:', type=('build', 'run'))
depends_on('r-backports@1.1.0:', type=('build', 'run'))
- depends_on('r-ggplot2', type=('build', 'run'))
- depends_on('r-stringi', type=('build', 'run'))
+ depends_on('r-bbmisc@1.11:', type=('build', 'run'))
depends_on('r-checkmate@1.8.2:', type=('build', 'run'))
depends_on('r-data-table', type=('build', 'run'))
+ depends_on('r-data-table@1.12.4:', when='@2.18.0:', type=('build', 'run'))
+ depends_on('r-ggplot2', type=('build', 'run'))
depends_on('r-parallelmap@1.3:', type=('build', 'run'))
+ depends_on('r-stringi', type=('build', 'run'))
depends_on('r-survival', type=('build', 'run'))
depends_on('r-xml', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-mlrmbo/package.py b/var/spack/repos/builtin/packages/r-mlrmbo/package.py
index ba8cb37abf..ed5cef399e 100644
--- a/var/spack/repos/builtin/packages/r-mlrmbo/package.py
+++ b/var/spack/repos/builtin/packages/r-mlrmbo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,28 +7,31 @@ from spack import *
class RMlrmbo(RPackage):
- """Flexible and comprehensive R toolbox for model-based optimization
- ('MBO'), also known as Bayesian optimization. It is designed for both
- single- and multi-objective optimization with mixed continuous,
- categorical and conditional parameters. The machine learning toolbox
- 'mlr' provide dozens of regression learners to model the performance of
- the target algorithm with respect to the parameter settings. It provides
- many different infill criteria to guide the search process. Additional
- features include multi-point batch proposal, parallel execution as well
- as visualization and sophisticated logging mechanisms, which is
- especially useful for teaching and understanding of algorithm behavior.
- 'mlrMBO' is implemented in a modular fashion, such that single
- components can be easily replaced or adapted by the user for specific
- use cases."""
+ """Bayesian Optimization and Model-Based Optimization of Expensive Black-Box Functions
+
+ Flexible and comprehensive R toolbox for model-based optimization ('MBO'),
+ also known as Bayesian optimization. It is designed for both single- and
+ multi-objective optimization with mixed continuous, categorical and
+ conditional parameters. The machine learning toolbox 'mlr' provide dozens
+ of regression learners to model the performance of the target algorithm
+ with respect to the parameter settings. It provides many different infill
+ criteria to guide the search process. Additional features include
+ multi-point batch proposal, parallel execution as well as visualization and
+ sophisticated logging mechanisms, which is especially useful for teaching
+ and understanding of algorithm behavior. 'mlrMBO' is implemented in a
+ modular fashion, such that single components can be easily replaced or
+ adapted by the user for specific use cases."""
homepage = "https://github.com/mlr-org/mlrMBO/"
url = "https://cloud.r-project.org/src/contrib/mlrMBO_1.1.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/mlrMBO"
+ version('1.1.5', sha256='7ab9d108ad06f6c5c480fa4beca69e09ac89bb162ae6c85fe7d6d25c41f359b8')
version('1.1.2', sha256='8e84caaa5d5d443d7019128f88ebb212fb095870b3a128697c9b64fe988f3efe')
version('1.1.1', sha256='e87d9912a9b4a968364584205b8ef6f7fea0b5aa043c8d31331a7b7be02dd7e4')
version('1.1.0', sha256='6ae82731a566333f06085ea2ce23ff2a1007029db46eea57d06194850350a8a0')
+ depends_on('r+X', type=('build', 'run'))
depends_on('r-mlr@2.10:', type=('build', 'run'))
depends_on('r-paramhelpers@1.10:', type=('build', 'run'))
depends_on('r-smoof@1.5.1:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-mmwrweek/package.py b/var/spack/repos/builtin/packages/r-mmwrweek/package.py
index 40f6bf1c77..3a632f427a 100644
--- a/var/spack/repos/builtin/packages/r-mmwrweek/package.py
+++ b/var/spack/repos/builtin/packages/r-mmwrweek/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RMmwrweek(RPackage):
- """The first day of any MMWR week is Sunday. MMWR week numbering is
+ """Convert Dates to MMWR Day, Week, and Year
+
+ The first day of any MMWR week is Sunday. MMWR week numbering is
sequential beginning with 1 and incrementing with each week to a maximum
of 52 or 53. MMWR week #1 of an MMWR year is the first week of the year
that has at least four days in the calendar year. This package provides
@@ -18,4 +20,5 @@ class RMmwrweek(RPackage):
url = "https://cloud.r-project.org/src/contrib/MMWRweek_0.1.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/MMWRweek"
+ version('0.1.3', sha256='1aa8b687dc3340c3f277689eb0ca529e0064a4a3a66868137f2f8ab209d133d0')
version('0.1.1', sha256='969fd18535f3b78dd360d62d29d5f15409fc059f4af5d345abfde711e4adbc99')
diff --git a/var/spack/repos/builtin/packages/r-mnormt/package.py b/var/spack/repos/builtin/packages/r-mnormt/package.py
index ae94319f8c..ae2e015d0a 100644
--- a/var/spack/repos/builtin/packages/r-mnormt/package.py
+++ b/var/spack/repos/builtin/packages/r-mnormt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,17 +7,20 @@ from spack import *
class RMnormt(RPackage):
- """Functions are provided for computing the density and the distribution
- function of multivariate normal and "t" random variables, and for
- generating random vectors sampled from these distributions.
- Probabilities are computed via non-Monte Carlo methods; different
- routines are used in the case d=1, d=2, d>2, if d denotes the number
- of dimensions."""
+ """The Multivariate Normal and t Distributions, and Their Truncated Versions
+
+ Functions are provided for computing the density and the distribution
+ function of multivariate normal and "t" random variables, and for
+ generating random vectors sampled from these distributions. Probabilities
+ are computed via non-Monte Carlo methods; different routines are used in
+ the case d=1, d=2, d>2, if d denotes the number of dimensions."""
homepage = "http://azzalini.stat.unipd.it/SW/Pkg-mnormt"
url = "https://cloud.r-project.org/src/contrib/mnormt_1.5-5.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/mnormt"
+ version('2.0.2', sha256='5c6aa036d3f1035ffe8f9a8e95bb908b191b126b016591cf893c50472851f334')
version('1.5-5', sha256='ff78d5f935278935f1814a69e5a913d93d6dd2ac1b5681ba86b30c6773ef64ac')
depends_on('r@2.2.0:', type=('build', 'run'))
+ depends_on('r-tmvnsim@1.0-2:', when='@2.0.2:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-modelmetrics/package.py b/var/spack/repos/builtin/packages/r-modelmetrics/package.py
index 67404cc234..f15d6fc6b4 100644
--- a/var/spack/repos/builtin/packages/r-modelmetrics/package.py
+++ b/var/spack/repos/builtin/packages/r-modelmetrics/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,17 @@ from spack import *
class RModelmetrics(RPackage):
- """Collection of metrics for evaluating models written in C++ using
- 'Rcpp'."""
+ """Rapid Calculation of Model Metrics
+
+ Collection of metrics for evaluating models written in C++ using 'Rcpp'.
+ Popular metrics include area under the curve, log loss, root mean square
+ error, etc."""
homepage = "https://cloud.r-project.org/package=ModelMetrics"
url = "https://cloud.r-project.org/src/contrib/ModelMetrics_1.1.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/ModelMetrics"
+ version('1.2.2.2', sha256='5e06f1926aebca5654e1329c66ef19b04058376b2277ebb16e3bf8c208d73457')
version('1.2.2', sha256='66d6fc75658287fdbae4d437b51d26781e138b8baa558345fb9e5a2df86a0d95')
version('1.2.0', sha256='3021ae88733695a35d66e279e8e61861431f14c9916a341f0a562f675cf6ede9')
version('1.1.0', sha256='487d53fda57da4b29f83a927dda8b1ae6655ab044ee3eec33c38aeb27eed3d85')
diff --git a/var/spack/repos/builtin/packages/r-modelr/package.py b/var/spack/repos/builtin/packages/r-modelr/package.py
index a3c3232e1d..3bb37c155f 100644
--- a/var/spack/repos/builtin/packages/r-modelr/package.py
+++ b/var/spack/repos/builtin/packages/r-modelr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,16 @@ from spack import *
class RModelr(RPackage):
- """Functions for modelling that help you seamlessly integrate modelling
- into a pipeline of data manipulation and visualisation."""
+ """Modelling Functions that Work with the Pipe
+
+ Functions for modelling that help you seamlessly integrate modelling into a
+ pipeline of data manipulation and visualisation."""
homepage = "https://github.com/hadley/modelr"
url = "https://cloud.r-project.org/src/contrib/modelr_0.1.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/modelr"
+ version('0.1.8', sha256='825ba77d95d60cfb94920bec910872ca2ffe7790a44148b2992be2759cb361c4')
version('0.1.5', sha256='45bbee387c6ba154f9f8642e9f03ea333cce0863c324ff15d23096f33f85ce5a')
version('0.1.4', sha256='b4da77c1244bbda512ce323751c8338741eeaa195283f172a0feec2917bcfdd9')
version('0.1.3', sha256='e536b247c17d6cacf10565dd8a1b744efc90a8815c70edd54371e413e6d1b423')
@@ -21,11 +24,13 @@ class RModelr(RPackage):
depends_on('r@3.1:', when='@:0.1.4', type=('build', 'run'))
depends_on('r@3.2:', when='@0.1.5:', type=('build', 'run'))
+ depends_on('r-broom', type=('build', 'run'))
depends_on('r-magrittr', type=('build', 'run'))
depends_on('r-purrr@0.2.2:', type=('build', 'run'))
- depends_on('r-lazyeval@0.2.0:', when='@:0.1.1', type=('build', 'run'))
+ depends_on('r-rlang@0.2.0:', when='@0.1.3:', type=('build', 'run'))
depends_on('r-tibble', type=('build', 'run'))
- depends_on('r-broom', type=('build', 'run'))
- depends_on('r-dplyr', type=('build', 'run'))
depends_on('r-tidyr@0.8.0:', type=('build', 'run'))
- depends_on('r-rlang@0.2.0:', when='@0.1.3:', type=('build', 'run'))
+ depends_on('r-tidyselect', when='@0.1.8:', type=('build', 'run'))
+ depends_on('r-vctrs', when='@0.1.8:', type=('build', 'run'))
+ depends_on('r-lazyeval@0.2.0:', when='@:0.1.1', type=('build', 'run'))
+ depends_on('r-dplyr', when='@:0.1.5', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-modeltools/package.py b/var/spack/repos/builtin/packages/r-modeltools/package.py
index 73fdd643bf..13bea471fa 100644
--- a/var/spack/repos/builtin/packages/r-modeltools/package.py
+++ b/var/spack/repos/builtin/packages/r-modeltools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,11 +7,19 @@ from spack import *
class RModeltools(RPackage):
- """A collection of tools to deal with statistical models."""
+ """Tools and Classes for Statistical Models
+
+ A collection of tools to deal with statistical models. The functionality
+ is experimental and the user interface is likely to change in the future.
+ The documentation is rather terse, but packages `coin' and `party' have
+ some working examples. However, if you find the implemented ideas
+ interesting we would be very interested in a discussion of this proposal.
+ Contributions are more than welcome!"""
homepage = "https://cloud.r-project.org/package=modeltools"
url = "https://cloud.r-project.org/src/contrib/modeltools_0.2-21.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/modeltools"
+ version('0.2-23', sha256='6b3e8d5af1a039db5c178498dbf354ed1c5627a8cea9229726644053443210ef')
version('0.2-22', sha256='256a088fc80b0d9182f984f9bd3d6207fb7c1e743f72e2ecb480e6c1d4ac34e9')
version('0.2-21', sha256='07b331475625674ab00e6ddfc479cbdbf0b22d5d237e8c25d83ddf3e0ad1cd7a')
diff --git a/var/spack/repos/builtin/packages/r-mpm/package.py b/var/spack/repos/builtin/packages/r-mpm/package.py
index dd831ffd27..20f55a57da 100644
--- a/var/spack/repos/builtin/packages/r-mpm/package.py
+++ b/var/spack/repos/builtin/packages/r-mpm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-msnbase/package.py b/var/spack/repos/builtin/packages/r-msnbase/package.py
index 932372681c..ea3330b9c1 100644
--- a/var/spack/repos/builtin/packages/r-msnbase/package.py
+++ b/var/spack/repos/builtin/packages/r-msnbase/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RMsnbase(RPackage):
- """Base Functions and Classes for Mass Spectrometry and Proteomics.
+ """Base Functions and Classes for Mass Spectrometry and Proteomics
MSnbase provides infrastructure for manipulation, processing and
visualisation of mass spectrometry and proteomics data, ranging from raw
@@ -16,6 +16,7 @@ class RMsnbase(RPackage):
homepage = "https://bioconductor.org/packages/MSnbase"
git = "https://git.bioconductor.org/packages/MSnbase.git"
+ version('2.16.1', commit='4d88b4edd1af59474462b1b06ad0ec5831f3a878')
version('2.10.1', commit='4d5899bc9c714f0b1a70cddd537cd4621b2b53b0')
version('2.8.3', commit='ef883752c5e92d445647bc5b5d23d5df320db415')
version('2.6.4', commit='46836860ce0281eef135303f2e2948303d67f68c')
@@ -23,35 +24,33 @@ class RMsnbase(RPackage):
version('2.2.0', commit='d6e8fb7f106d05096fa9074da0f829ac8f02c197')
depends_on('r@3.1:', type=('build', 'run'))
+ depends_on('r@3.5:', when='@2.16.1:', type=('build', 'run'))
depends_on('r-biocgenerics@0.7.1:', type=('build', 'run'))
depends_on('r-biobase@2.15.2:', type=('build', 'run'))
depends_on('r-mzr@2.7.6:', type=('build', 'run'))
- depends_on('r-biocparallel', type=('build', 'run'))
+ depends_on('r-mzr@2.11.11:', when='@2.4.2:', type=('build', 'run'))
+ depends_on('r-mzr@2.13.6:', when='@2.6.4:', type=('build', 'run'))
+ depends_on('r-mzr@2.15.1:', when='@2.8.3:', type=('build', 'run'))
+ depends_on('r-mzr@2.17.3:', when='@2.10.1:', type=('build', 'run'))
+ depends_on('r-mzr@2.19.6:', when='@2.16.1:', type=('build', 'run'))
+ depends_on('r-s4vectors', type=('build', 'run'))
depends_on('r-protgenerics@1.5.1:', type=('build', 'run'))
- depends_on('r-plyr', type=('build', 'run'))
+ depends_on('r-protgenerics@1.19.3:', when='@2.16.1:', type=('build', 'run'))
+ depends_on('r-biocparallel', type=('build', 'run'))
depends_on('r-iranges', type=('build', 'run'))
+ depends_on('r-iranges@2.13.28:', when='@2.6.4:', type=('build', 'run'))
+ depends_on('r-plyr', type=('build', 'run'))
depends_on('r-preprocesscore', type=('build', 'run'))
depends_on('r-vsn', type=('build', 'run'))
depends_on('r-affy', type=('build', 'run'))
depends_on('r-impute', type=('build', 'run'))
depends_on('r-pcamethods', type=('build', 'run'))
- depends_on('r-mzid@1.5.2:', type=('build', 'run'))
depends_on('r-maldiquant@1.16:', type=('build', 'run'))
+ depends_on('r-mzid@1.5.2:', type=('build', 'run'))
depends_on('r-digest', type=('build', 'run'))
depends_on('r-lattice', type=('build', 'run'))
depends_on('r-ggplot2', type=('build', 'run'))
- depends_on('r-s4vectors', type=('build', 'run'))
depends_on('r-xml', type=('build', 'run'))
- depends_on('r-rcpp', type=('build', 'run'))
-
- depends_on('r-mzr@2.11.11:', when='@2.4.2:', type=('build', 'run'))
- depends_on('r-protgenerics@1.9.1:', when='@2.4.2:', type=('build', 'run'))
-
- depends_on('r-mzr@2.13.6:', when='@2.6.4:', type=('build', 'run'))
- depends_on('r-iranges@2.13.28:', when='@2.6.4:', type=('build', 'run'))
depends_on('r-scales', when='@2.6.4:', type=('build', 'run'))
depends_on('r-mass', when='@2.6.4:', type=('build', 'run'))
-
- depends_on('r-mzr@2.15.1:', when='@2.8.3:', type=('build', 'run'))
-
- depends_on('r-mzr@2.17.3:', when='@2.10.1:', type=('build', 'run'))
+ depends_on('r-rcpp', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-multcomp/package.py b/var/spack/repos/builtin/packages/r-multcomp/package.py
index d0566c2004..13d0319e1a 100644
--- a/var/spack/repos/builtin/packages/r-multcomp/package.py
+++ b/var/spack/repos/builtin/packages/r-multcomp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RMultcomp(RPackage):
- """Simultaneous tests and confidence intervals for general linear
+ """Simultaneous Inference in General Parametric Models
+
+ Simultaneous tests and confidence intervals for general linear
hypotheses in parametric models, including linear, generalized linear,
linear mixed effects, and survival models. The package includes demos
reproducing analyzes presented in the book "Multiple Comparisons Using R"
@@ -17,6 +19,7 @@ class RMultcomp(RPackage):
url = "https://cloud.r-project.org/src/contrib/multcomp_1.4-6.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/multcomp"
+ version('1.4-15', sha256='9927607efb3eb84ac3d25d82daf2faef6a69e05a334b163ce43fd31c14b19bce')
version('1.4-10', sha256='29bcc635c0262e304551b139cd9ee655ab25a908d9693e1cacabfc2a936df5cf')
version('1.4-8', sha256='a20876619312310e9523d67e9090af501383ce49dc6113c6b4ca30f9c943a73a')
version('1.4-6', sha256='fe9efbe671416a49819cbdb9137cc218faebcd76e0f170fd1c8d3c84c42eeda2')
diff --git a/var/spack/repos/builtin/packages/r-multicool/package.py b/var/spack/repos/builtin/packages/r-multicool/package.py
index fc87206d73..662f1f12bb 100644
--- a/var/spack/repos/builtin/packages/r-multicool/package.py
+++ b/var/spack/repos/builtin/packages/r-multicool/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,29 @@ from spack import *
class RMulticool(RPackage):
- """Permutations of multisets in cool-lex order."""
+ """Permutations of multisets in cool-lex order
+
+ A set of tools to permute multisets without loops or hash tables and to
+ generate integer partitions. The permutation functions are based on C code
+ from Aaron Williams. Cool-lex order is similar to colexicographical order.
+ The algorithm is described in Williams, A. (2009)
+ <DOI:10.1145/1496770.1496877> Loopless Generation of Multiset Permutations
+ by Prefix Shifts. Symposium on Discrete Algorithms, New York, United
+ States. The permutation code is distributed without restrictions. The code
+ for stable and efficient computation of multinomial coefficients comes from
+ Dave Barber. The code can be download from
+ <http://tamivox.org/dave/multinomial/code.html> and is distributed without
+ conditions. The package also generates the integer partitions of a
+ positive, non-zero integer n. The C++ code for this is based on Python code
+ from Jerome Kelleher which can be found here
+ <http://jeromekelleher.net/tag/integer-partitions.html>. The C++ code and
+ Python code are distributed without conditions."""
homepage = "https://cloud.r-project.org/package=multicool"
url = "https://cloud.r-project.org/src/contrib/Archive/multicool/multicool_0.1-9.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/multicool/Archive/multicool"
+ version('0.1-10', sha256='5bb0cb0d9eb64420c862877247a79bb0afadacfe23262ec8c3fa26e5e34d6ff9')
version('0.1-9', sha256='bdf92571cef1b649952d155395a92b8683099ee13114f73a9d41fc5d7d49d329')
depends_on('r-rcpp@0.11.2:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-multitaper/package.py b/var/spack/repos/builtin/packages/r-multitaper/package.py
index 52f8a05b2c..dda558415f 100644
--- a/var/spack/repos/builtin/packages/r-multitaper/package.py
+++ b/var/spack/repos/builtin/packages/r-multitaper/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,22 @@ from spack import *
class RMultitaper(RPackage):
- """multitaper: Spectral Analysis Tools using the Multitaper Method"""
+ """Spectral Analysis Tools using the Multitaper Methodi
+
+ Implements multitaper spectral analysis using discrete prolate spheroidal
+ sequences (Slepians) and sine tapers. It includes an adaptive weighted
+ multitaper spectral estimate, a coherence estimate, Thomson's Harmonic
+ F-test, and complex demodulation. The Slepians sequences are generated
+ efficiently using a tridiagonal matrix solution, and jackknifed confidence
+ intervals are available for most estimates. This package is an
+ implementation of the method described in D.J. Thomson (1982) "Spectrum
+ estimation and harmonic analysis" <doi:10.1109/PROC.1982.12433>."""
homepage = "https://github.com/krahim/multitaper/"
url = "https://cloud.r-project.org/src/contrib/multitaper_1.0-14.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/multitaper/"
+ version('1.0-15', sha256='837d71f3b46fbce2bea210449cf75e609f5363ff23b7808f5f115fdc51e6a3be')
version('1.0-14', sha256='c84c122541dc2874131446e23b212259b3b00590d701efee49e6740fd74a8d13')
depends_on('r@3.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-multtest/package.py b/var/spack/repos/builtin/packages/r-multtest/package.py
index 3e8667de9f..87a021d35b 100644
--- a/var/spack/repos/builtin/packages/r-multtest/package.py
+++ b/var/spack/repos/builtin/packages/r-multtest/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RMulttest(RPackage):
- """Resampling-based multiple hypothesis testing.
+ """Resampling-based multiple hypothesis testing
Non-parametric bootstrap and permutation resampling-based multiple
testing procedures (including empirical Bayes methods) for controlling
@@ -30,6 +30,7 @@ class RMulttest(RPackage):
homepage = "https://bioconductor.org/packages/multtest"
git = "https://git.bioconductor.org/packages/multtest.git"
+ version('2.46.0', commit='c4dd27b333c80313a88668b59d0299988c6478a2')
version('2.40.0', commit='5f00017c2d3a31e05e1cfe06d9f7afdee19f8473')
version('2.38.0', commit='4dfe71cecfb298a94521088fb7bd83c5498d2915')
version('2.36.0', commit='babb15e8d110eb72300ad59cf7e53386237a4198')
diff --git a/var/spack/repos/builtin/packages/r-munsell/package.py b/var/spack/repos/builtin/packages/r-munsell/package.py
index 64637d9779..cfb78c60c8 100644
--- a/var/spack/repos/builtin/packages/r-munsell/package.py
+++ b/var/spack/repos/builtin/packages/r-munsell/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-mutoss/package.py b/var/spack/repos/builtin/packages/r-mutoss/package.py
new file mode 100644
index 0000000000..a4d837c338
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-mutoss/package.py
@@ -0,0 +1,26 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RMutoss(RPackage):
+ """Unified Multiple Testing Procedures
+
+ Designed to ease the application and comparison of multiple hypothesis
+ testing procedures for FWER, gFWER, FDR and FDX. Methods are standardized
+ and usable by the accompanying 'mutossGUI'."""
+
+ homepage = "https://github.com/kornl/mutoss/"
+ url = "https://cloud.r-project.org/src/contrib/mutoss_0.1-12.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/mutoss"
+
+ version('0.1-12', sha256='2889ae3d502157592697124eb86adc14911e2b7fdaa7204743a376b1eeb967fa')
+
+ depends_on('r@2.10.0:', type=('build', 'run'))
+ depends_on('r-mvtnorm', type=('build', 'run'))
+ depends_on('r-plotrix', type=('build', 'run'))
+ depends_on('r-multtest@2.2.0:', type=('build', 'run'))
+ depends_on('r-multcomp@1.1-0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-mvtnorm/package.py b/var/spack/repos/builtin/packages/r-mvtnorm/package.py
index b4a10009f1..510758dcaf 100644
--- a/var/spack/repos/builtin/packages/r-mvtnorm/package.py
+++ b/var/spack/repos/builtin/packages/r-mvtnorm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,16 @@ from spack import *
class RMvtnorm(RPackage):
- """Computes multivariate normal and t probabilities, quantiles, random
+ """Multivariate Normal and t Distributions
+
+ Computes multivariate normal and t probabilities, quantiles, random
deviates and densities."""
homepage = "http://mvtnorm.r-forge.r-project.org/"
url = "https://cloud.r-project.org/src/contrib/mvtnorm_1.0-6.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/mvtnorm"
+ version('1.1-1', sha256='e965dad5e93babb7ded25b5ebdbd52332191b61f897d68853a379a07620d45de')
version('1.0-11', sha256='0321612de99aa9bc75a45c7e029d3372736014223cbdefb80d8cae600cbc7252')
version('1.0-10', sha256='31df19cd8b4cab9d9a70dba00442b7684e625d4ca143a2c023c2c5872b07ad12')
version('1.0-6', sha256='4a015b57b645b520151b213eb04b7331598c06442a3f652c7dc149425bd2e444')
diff --git a/var/spack/repos/builtin/packages/r-mzid/package.py b/var/spack/repos/builtin/packages/r-mzid/package.py
index 68f2a2c440..a96b5803b3 100644
--- a/var/spack/repos/builtin/packages/r-mzid/package.py
+++ b/var/spack/repos/builtin/packages/r-mzid/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RMzid(RPackage):
- """An mzIdentML parser for R.
+ """An mzIdentML parser for R
A parser for mzIdentML files implemented using the XML package. The
parser tries to be general and able to handle all types of mzIdentML
@@ -18,6 +18,7 @@ class RMzid(RPackage):
homepage = "https://bioconductor.org/packages/mzID"
git = "https://git.bioconductor.org/packages/mzID.git"
+ version('1.28.0', commit='cd006631c8222ce5b4af0577a7401b39cc58fd9c')
version('1.22.0', commit='382d9cf11f0cba996911a9d79e193d28f3ac6042')
version('1.20.1', commit='819582646944440ddd9ed3724ae964841573e54c')
version('1.18.0', commit='7d8924ae95585eb8cf472d21619a7603d291d652')
diff --git a/var/spack/repos/builtin/packages/r-mzr/package.py b/var/spack/repos/builtin/packages/r-mzr/package.py
index 3f11e98fe3..75aad10526 100644
--- a/var/spack/repos/builtin/packages/r-mzr/package.py
+++ b/var/spack/repos/builtin/packages/r-mzr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ from spack import *
class RMzr(RPackage):
"""parser for netCDF, mzXML, mzData and mzML and mzIdentML files (mass
- spectrometry data).
+ spectrometry data)
mzR provides a unified API to the common file formats and parsers
available for mass spectrometry data. It comes with a wrapper for the
@@ -20,6 +20,7 @@ class RMzr(RPackage):
homepage = "https://bioconductor.org/packages/mzR"
git = "https://git.bioconductor.org/packages/mzR.git"
+ version('2.24.1', commit='e1d4de8761e6729fd45320d842691c8fe9116b7b')
version('2.18.1', commit='13f9f9b1149859c3e29cfce941d958cc4f680546')
version('2.16.2', commit='22d7dad98f46b5bed7f6f7b3a703dcdf5997f709')
version('2.14.0', commit='bf1154bc45101d95b5a67c66980856a779b84bd4')
@@ -30,11 +31,9 @@ class RMzr(RPackage):
depends_on('r-biobase', type=('build', 'run'))
depends_on('r-biocgenerics@0.13.6:', type=('build', 'run'))
depends_on('r-protgenerics', type=('build', 'run'))
- depends_on('r-zlibbioc', type=('build', 'run'))
-
depends_on('r-protgenerics@1.9.1:', when='@2.12.0:', type=('build', 'run'))
- depends_on('r-rhdf5lib@1.1.4:', when='@2.14.0:', type=('build', 'run'))
-
+ depends_on('r-protgenerics@1.17.3:', when='@2.24.1:', type=('build', 'run'))
depends_on('r-ncdf4', when='@2.16.2:', type=('build', 'run'))
-
+ depends_on('r-zlibbioc', type=('build', 'run'))
+ depends_on('r-rhdf5lib@1.1.4:', when='@2.14.0:', type=('build', 'run'))
depends_on('gmake', type='build')
diff --git a/var/spack/repos/builtin/packages/r-nada/package.py b/var/spack/repos/builtin/packages/r-nada/package.py
new file mode 100644
index 0000000000..0aa6aad73f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-nada/package.py
@@ -0,0 +1,22 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RNada(RPackage):
+ """Nondetects and Data Analysis for Environmental Data
+
+ Contains methods described by Dennis Helsel in his book "Nondetects And
+ Data Analysis: Statistics for Censored Environmental Data"."""
+
+ homepage = "https://cloud.r-project.org/package=NADA"
+ url = "https://cloud.r-project.org/src/contrib/NADA_1.6-1.1.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/NADA"
+
+ version('1.6-1.1', sha256='670ff6595ba074ed0a930b7a09624d5ef20616379a20e768c1a7b37332aee44a')
+
+ depends_on('r@2.10:', type=('build', 'run'))
+ depends_on('r-survival', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-nanotime/package.py b/var/spack/repos/builtin/packages/r-nanotime/package.py
index 845f6dcd7a..e9c9861714 100644
--- a/var/spack/repos/builtin/packages/r-nanotime/package.py
+++ b/var/spack/repos/builtin/packages/r-nanotime/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,18 +7,24 @@ from spack import *
class RNanotime(RPackage):
- """Full 64-bit resolution date and time support with resolution up to
- nanosecond granularity is provided, with easy transition to and from
- the standard 'POSIXct' type."""
+ """Nanosecond-Resolution Time Support for R
+
+ Full 64-bit resolution date and time support with resolution up to
+ nanosecond granularity is provided, with easy transition to and from the
+ standard 'POSIXct' type."""
homepage = "https://cloud.r-project.org/package=nanotime"
url = "https://cloud.r-project.org/src/contrib/nanotime_0.2.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/nanotime"
+ version('0.3.2', sha256='9ef53c3bca01b605a9519190117988e170e63865327007c90b05d31fe7f22b1d')
version('0.2.4', sha256='2dfb7e7435fec59634b87563a215467e7793e2711e302749c0533901c74eb184')
version('0.2.3', sha256='7d6df69a4223ae154f610b650e24ece38ce4aa706edfa38bec27d15473229f5d')
version('0.2.0', sha256='9ce420707dc4f0cb4241763579b849d842904a3aa0d88de8ffef334d08fa188d')
depends_on('r-bit64', type=('build', 'run'))
depends_on('r-rcppcctz@0.2.3:', type=('build', 'run'))
+ depends_on('r-rcppcctz@0.2.9:', when='@0.3.2:', type=('build', 'run'))
depends_on('r-zoo', type=('build', 'run'))
+ depends_on('r-rcpp', when='@0.3.2:', type=('build', 'run'))
+ depends_on('r-rcppdate', when='@0.3.2:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-ncbit/package.py b/var/spack/repos/builtin/packages/r-ncbit/package.py
index 021bb6cfbb..cf44c3fb9d 100644
--- a/var/spack/repos/builtin/packages/r-ncbit/package.py
+++ b/var/spack/repos/builtin/packages/r-ncbit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-ncdf4/package.py b/var/spack/repos/builtin/packages/r-ncdf4/package.py
index 2e06ef22df..5e00bf866a 100644
--- a/var/spack/repos/builtin/packages/r-ncdf4/package.py
+++ b/var/spack/repos/builtin/packages/r-ncdf4/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RNcdf4(RPackage):
- """Provides a high-level R interface to data files written using Unidata's
+ """Interface to Unidata netCDF (Version 4 or Earlier) Format Data Files
+
+ Provides a high-level R interface to data files written using Unidata's
netCDF library (version 4 or earlier), which are binary data files that are
portable across platforms and include metadata information in addition to
the data sets. Using this package, netCDF files (either version 4 or
@@ -26,6 +28,7 @@ class RNcdf4(RPackage):
url = "https://cloud.r-project.org/src/contrib/ncdf4_1.15.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/ncdf4"
+ version('1.17', sha256='db95c4729d3187d1a56dfd019958216f442be6221bd15e23cd597e6129219af6')
version('1.16.1', sha256='0dde2d6d1e8474f4abd15a61af8a2f7de564f13da00f1a01d7a479ab88587a20')
version('1.16', sha256='edd5731a805bbece3a8f6132c87c356deafc272351e1dd07256ca00574949253')
version('1.15', sha256='d58298f4317c6c80a041a70216126492fd09ba8ecde9da09d5145ae26f324d4d')
diff --git a/var/spack/repos/builtin/packages/r-network/package.py b/var/spack/repos/builtin/packages/r-network/package.py
index 82279fc8a4..3ab76f7a3c 100644
--- a/var/spack/repos/builtin/packages/r-network/package.py
+++ b/var/spack/repos/builtin/packages/r-network/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,14 +7,17 @@ from spack import *
class RNetwork(RPackage):
- """Tools to create and modify network objects. The network class can
- represent a range of relational data types, and supports
- arbitrary vertex/edge/graph attributes."""
+ """Classes for Relational Data
+
+ Tools to create and modify network objects. The network class can represent
+ a range of relational data types, and supports arbitrary vertex/edge/graph
+ attributes."""
homepage = "https://statnet.org"
url = "https://cloud.r-project.org/src/contrib/network_1.13.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/network"
+ version('1.16.1', sha256='eb6435794cacc81abe1664391e8dcf1c10112bbb76fff9016dd6dbb8e83efeb1')
version('1.15', sha256='5cbe5c0369e5f8363e33a86f14fd33ce8727166106381627ecd13b7452e14cb3')
version('1.14-377', sha256='013c02f8d97f1f87f2c421760534df9353d2a8c2277f20b46b59fb79822d3e46')
version('1.13.0', sha256='7a04ea89261cdf32ccb52222810699d5fca59a849053e306b5ec9dd5c1184f87')
diff --git a/var/spack/repos/builtin/packages/r-networkd3/package.py b/var/spack/repos/builtin/packages/r-networkd3/package.py
index bcef714f11..3a5f6fbc91 100644
--- a/var/spack/repos/builtin/packages/r-networkd3/package.py
+++ b/var/spack/repos/builtin/packages/r-networkd3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-nimble/package.py b/var/spack/repos/builtin/packages/r-nimble/package.py
index c0cd1c2b40..d72feb6097 100644
--- a/var/spack/repos/builtin/packages/r-nimble/package.py
+++ b/var/spack/repos/builtin/packages/r-nimble/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -6,17 +6,29 @@
from spack import *
-class RNimble(AutotoolsPackage):
- """A system for writing hierarchical statistical models largely
- compatible with 'BUGS' and 'JAGS', writing nimbleFunctions to
- operate models and do basic R-style math, and compiling both
- models and nimbleFunctions via custom- generated C++.
- """
+class RNimble(RPackage):
+ """MCMC, Particle Filtering, and Programmable Hierarchical Modeling
+
+ A system for writing hierarchical statistical models largely compatible
+ with 'BUGS' and 'JAGS', writing nimbleFunctions to operate models and do
+ basic R-style math, and compiling both models and nimbleFunctions via
+ custom-generated C++. 'NIMBLE' includes default methods for MCMC, Monte
+ Carlo Expectation Maximization, and some other tools. The nimbleFunction
+ system makes it easy to do things like implement new MCMC samplers from R,
+ customize the assignment of samplers to different parts of a model from R,
+ and compile the new samplers automatically via C++ alongside the samplers
+ 'NIMBLE' provides. 'NIMBLE' extends the 'BUGS'/'JAGS' language by making it
+ extensible: New distributions and functions can be added, including as
+ calls to external compiled code. Although most people think of MCMC as the
+ main goal of the 'BUGS'/'JAGS' language for writing models, one can use
+ 'NIMBLE' for writing arbitrary other kinds of model-generic algorithms as
+ well. A full User Manual is available at <https://r-nimble.org>."""
homepage = "https://cloud.r-project.org/package=nimble"
url = "https://cloud.r-project.org/src/contrib/nimble_0.9.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/nimble"
+ version('0.10.1', sha256='11e248fda442f233c3590640efd9381c9b4b2e6fb66dce45a3391db03b70e702')
version('0.9.1', sha256='ad5e8a171193cb0172e68bf61c4f94432c45c131a150101ad1c5c7318c335757')
version('0.9.0', sha256='ebc28fadf933143eea73900cacaf96ff81cb3c2d607405016062b7e93afa5611')
@@ -24,4 +36,4 @@ class RNimble(AutotoolsPackage):
depends_on('r-igraph', type=('build', 'run'))
depends_on('r-coda', type=('build', 'run'))
depends_on('r-r6', type=('build', 'run'))
- depends_on('automake')
+ depends_on('gmake', type='build')
diff --git a/var/spack/repos/builtin/packages/r-nleqslv/package.py b/var/spack/repos/builtin/packages/r-nleqslv/package.py
index 37968fe777..1d44466207 100644
--- a/var/spack/repos/builtin/packages/r-nleqslv/package.py
+++ b/var/spack/repos/builtin/packages/r-nleqslv/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-nlme/package.py b/var/spack/repos/builtin/packages/r-nlme/package.py
index 483cc68a75..2b61ebb079 100644
--- a/var/spack/repos/builtin/packages/r-nlme/package.py
+++ b/var/spack/repos/builtin/packages/r-nlme/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,15 @@ from spack import *
class RNlme(RPackage):
- """Fit and compare Gaussian linear and nonlinear mixed-effects models."""
+ """Fit and compare Gaussian linear and nonlinear mixed-effects models
+
+ Fit and compare Gaussian linear and nonlinear mixed-effects models."""
homepage = "https://cloud.r-project.org/package=nlme"
url = "https://cloud.r-project.org/src/contrib/nlme_3.1-130.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/nlme"
+ version('3.1-151', sha256='a2c626bad68bf582663005170d1b9d844a10dca8efb13597f15ffb4b1fe886ca')
version('3.1-141', sha256='910046260a03d8f776ac7b0766b5adee91556829d0d8a70165b2c695ce038056')
version('3.1-139', sha256='0460fc69d85122177e7ef01bad665d56bcaf63d31bdbfdbdfdcba2c082085739')
version('3.1-131', sha256='79daa167eb9bc7d8dba506da4b24b5250665b051d4e0a51dfccbb0087fdb564c')
diff --git a/var/spack/repos/builtin/packages/r-nloptr/package.py b/var/spack/repos/builtin/packages/r-nloptr/package.py
index 2e95081b91..92e83ded04 100644
--- a/var/spack/repos/builtin/packages/r-nloptr/package.py
+++ b/var/spack/repos/builtin/packages/r-nloptr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,23 +7,27 @@ from spack import *
class RNloptr(RPackage):
- """nloptr is an R interface to NLopt. NLopt is a free/open-source
- library for nonlinear optimization, providing a common interface
- for a number of different free optimization routines available
- online as well as original implementations of various other
- algorithms. See http://ab-initio.mit.edu/wiki/index.php/NLopt
- _Introduction for more information on the available algorithms.
- During installation on Unix the NLopt code is downloaded and
- compiled from the NLopt website."""
+ """R Interface to NLopt
+
+ Solve optimization problems using an R interface to NLopt. NLopt is a
+ free/open-source library for nonlinear optimization, providing a common
+ interface for a number of different free optimization routines available
+ online as well as original implementations of various other algorithms. See
+ <http://ab-initio.mit.edu/wiki/index.php/NLopt_Introduction> for more
+ information on the available algorithms. During installation of nloptr on
+ Unix-based systems, the installer checks whether the NLopt library is
+ installed on the system. If the NLopt library cannot be found, the code is
+ compiled using the NLopt source included in the nloptr package."""
homepage = "https://cloud.r-project.org/package=nloptr"
url = "https://cloud.r-project.org/src/contrib/nloptr_1.0.4.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/nloptr"
+ version('1.2.2.2', sha256='e80ea9619ac18f4bfe44812198b40b9ae5c0ddf3f9cc91778f9ccc82168d1372')
version('1.2.1', sha256='1f86e33ecde6c3b0d2098c47591a9cd0fa41fb973ebf5145859677492730df97')
version('1.0.4', sha256='84225b993cb1ef7854edda9629858662cc8592b0d1344baadea4177486ece1eb')
- depends_on('nlopt')
+ depends_on('nlopt@2.4.0:')
def configure_args(self):
include_flags = self.spec['nlopt'].headers.include_flags
diff --git a/var/spack/repos/builtin/packages/r-nmf/package.py b/var/spack/repos/builtin/packages/r-nmf/package.py
index 480451367f..48fd9f93cc 100644
--- a/var/spack/repos/builtin/packages/r-nmf/package.py
+++ b/var/spack/repos/builtin/packages/r-nmf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,17 +7,20 @@ from spack import *
class RNmf(RPackage):
- """Provides a framework to perform Non-negative Matrix Factorization (NMF).
+ """Algorithms and Framework for Nonnegative Matrix Factorization (NMF)
+
+ Provides a framework to perform Non-negative Matrix Factorization (NMF).
The package implements a set of already published algorithms and seeding
methods, and provides a framework to test, develop and plug new/custom
algorithms. Most of the built-in algorithms have been optimized in C++, and
the main interface function provides an easy way of performing parallel
- computations on multicore machines.."""
+ computations on multicore machines."""
homepage = "http://renozao.github.io/NMF"
url = "https://cloud.r-project.org/src/contrib/NMF_0.21.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/NMF"
+ version('0.23.0', sha256='0f0cca01b37bf46fce90d2e951df609d3d377908aa607825083fd0c47cc24753')
version('0.21.0', sha256='3b30c81c66066fab4a63c5611a0313418b840d8b63414db31ef0e932872d02e3')
depends_on('r@3.0.0:', type=('build', 'run'))
@@ -34,3 +37,5 @@ class RNmf(RPackage):
depends_on('r-doparallel', type=('build', 'run'))
depends_on('r-ggplot2', type=('build', 'run'))
depends_on('r-reshape2', type=('build', 'run'))
+ depends_on('r-biocmanager', when='@0.23.0', type=('build', 'run'))
+ depends_on('r-biobase', when='@0.23.0', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-nmof/package.py b/var/spack/repos/builtin/packages/r-nmof/package.py
index 1e43a1faeb..35aefc8156 100644
--- a/var/spack/repos/builtin/packages/r-nmof/package.py
+++ b/var/spack/repos/builtin/packages/r-nmof/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RNmof(RPackage):
- """Functions, examples and data from the book "Numerical Methods and
+ """Numerical Methods and Optimization in Finance
+
+ Functions, examples and data from the book "Numerical Methods and
Optimization in Finance" by M. Gilli, D. Maringer and E. Schumann (2011),
ISBN 978-0123756626. The package provides implementations of several
optimisation heuristics, such as Differential Evolution, Genetic Algorithms
@@ -19,6 +21,7 @@ class RNmof(RPackage):
url = "https://cloud.r-project.org/src/contrib/NMOF_1.6-0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/NMOF"
+ version('2.2-2', sha256='e64472f89023f0d779a35df753747d750174ce89644a9142312a1d2dc6f24642')
version('1.6-0', sha256='5484cd43c28aaf23d560c2dde8bcd8dd440a205d2214eb50e02fe0bb42ec2755')
depends_on('r@2.14:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-nnet/package.py b/var/spack/repos/builtin/packages/r-nnet/package.py
index 4e03f0032f..f6806a46fd 100644
--- a/var/spack/repos/builtin/packages/r-nnet/package.py
+++ b/var/spack/repos/builtin/packages/r-nnet/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,17 @@ from spack import *
class RNnet(RPackage):
- """Software for feed-forward neural networks with a single hidden layer,
+ """Feed-Forward Neural Networks and Multinomial Log-Linear Models
+
+ Software for feed-forward neural networks with a single hidden layer,
and for multinomial log-linear models."""
homepage = "http://www.stats.ox.ac.uk/pub/MASS4/"
url = "https://cloud.r-project.org/src/contrib/nnet_7.3-12.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/nnet"
+ version('7.3-14', sha256='5d1b9e9764d74d16c651f18f949aa4e9e2995ba64633cbfa2c6a7355ae30f4af')
version('7.3-12', sha256='2723523e8581cc0e2215435ac773033577a16087a3f41d111757dd96b8c5559d')
depends_on('r@2.14:', type=('build', 'run'))
+ depends_on('r@3.0.0:', when='@7.3-14:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-nnls/package.py b/var/spack/repos/builtin/packages/r-nnls/package.py
index fff636f8a9..f4baf999f3 100644
--- a/var/spack/repos/builtin/packages/r-nnls/package.py
+++ b/var/spack/repos/builtin/packages/r-nnls/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-nor1mix/package.py b/var/spack/repos/builtin/packages/r-nor1mix/package.py
index 8c9a234766..35b5dc33dc 100644
--- a/var/spack/repos/builtin/packages/r-nor1mix/package.py
+++ b/var/spack/repos/builtin/packages/r-nor1mix/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-nortest/package.py b/var/spack/repos/builtin/packages/r-nortest/package.py
index 112071de5d..567669412b 100644
--- a/var/spack/repos/builtin/packages/r-nortest/package.py
+++ b/var/spack/repos/builtin/packages/r-nortest/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-np/package.py b/var/spack/repos/builtin/packages/r-np/package.py
index 57c9b8c21c..5cb03454b5 100644
--- a/var/spack/repos/builtin/packages/r-np/package.py
+++ b/var/spack/repos/builtin/packages/r-np/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RNp(RPackage):
- """This package provides a variety of nonparametric (and semiparametric)
+ """Nonparametric Kernel Smoothing Methods for Mixed Data Types
+
+ This package provides a variety of nonparametric (and semiparametric)
kernel methods that seamlessly handle a mix of continuous, unordered, and
ordered factor data types. We would like to gratefully acknowledge support
from the Natural Sciences and Engineering Research Council of Canada
@@ -19,6 +21,7 @@ class RNp(RPackage):
url = "https://cloud.r-project.org/src/contrib/np_0.60-2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/np"
+ version('0.60-10', sha256='a27b4bbca8b83a289c98920c1c8f5e9979ba9772086893252a4297dd2698081a')
version('0.60-9', sha256='fe31a8985f0b1a576a7775022b7131093b1c9a8337734136d5fcad85fa6592fc')
version('0.60-8', sha256='924c342feb2a862fa3871a45db5f8434dbbfb900cfc40c001a0872108a3a069e')
version('0.60-2', sha256='25d667fc1056899516584b9d5d933377e6f4694d8e5e868dd047db572b69417f')
diff --git a/var/spack/repos/builtin/packages/r-npsurv/package.py b/var/spack/repos/builtin/packages/r-npsurv/package.py
index 1f9d5c63c7..f1eccb250c 100644
--- a/var/spack/repos/builtin/packages/r-npsurv/package.py
+++ b/var/spack/repos/builtin/packages/r-npsurv/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,20 @@ from spack import *
class RNpsurv(RPackage):
- """Contains functions for non-parametric survival analysis of exact and
- interval-censored observations."""
+ """Nonparametric Survival Analysis
+
+ Non-parametric survival analysis of exact and interval-censored
+ observations. The methods implemented are developed by Wang (2007)
+ <doi:10.1111/j.1467-9868.2007.00583.x>, Wang (2008)
+ <doi:10.1016/j.csda.2007.10.018>, Wang and Taylor (2013)
+ <doi:10.1007/s11222-012-9341-9> and Wang and Fani (2018)
+ <doi:10.1007/s11222-017-9724-z>."""
homepage = "https://www.stat.auckland.ac.nz/~yongwang"
url = "https://cloud.r-project.org/src/contrib/npsurv_0.4-0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/npsurv"
+ version('0.5-0', sha256='bc87db76e7017e178c2832a684fcd49c42e20054644b21b586413d26c8821dc6')
version('0.4-0', sha256='404cf7135dc40a04e9b81224a543307057a8278e11109ba1fcaa28e87c6204f3')
depends_on('r-lsei', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-numderiv/package.py b/var/spack/repos/builtin/packages/r-numderiv/package.py
index 925987a0f1..92416670d9 100644
--- a/var/spack/repos/builtin/packages/r-numderiv/package.py
+++ b/var/spack/repos/builtin/packages/r-numderiv/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-oligoclasses/package.py b/var/spack/repos/builtin/packages/r-oligoclasses/package.py
index ff553e2a6a..7c24b1333a 100644
--- a/var/spack/repos/builtin/packages/r-oligoclasses/package.py
+++ b/var/spack/repos/builtin/packages/r-oligoclasses/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class ROligoclasses(RPackage):
- """Classes for high-throughput arrays supported by oligo and crlmm.
+ """Classes for high-throughput arrays supported by oligo and crlmm
This package contains class definitions, validity checks, and
initialization methods for classes used by the oligo and crlmm
@@ -16,6 +16,7 @@ class ROligoclasses(RPackage):
homepage = "https://bioconductor.org/packages/oligoClasses"
git = "https://git.bioconductor.org/packages/oligoClasses.git"
+ version('1.52.0', commit='7995efbd2d26b8fa950830d62db92bdaf5cbeeea')
version('1.46.0', commit='325684f66fc92f778098f24bcfbef0ce3da9717c')
version('1.44.0', commit='d3e1134cdbea5f95b83215dc66e5f7b6a1cd0638')
version('1.42.0', commit='ef125700d487b470281a9c1e985390633c4dd2bd')
@@ -24,19 +25,17 @@ class ROligoclasses(RPackage):
depends_on('r@2.14:', type=('build', 'run'))
depends_on('r-biocgenerics@0.3.2:', type=('build', 'run'))
+ depends_on('r-biocgenerics@0.27.1:', when='@1.44.0:', type=('build', 'run'))
depends_on('r-biobase@2.17.8:', type=('build', 'run'))
depends_on('r-iranges@2.5.17:', type=('build', 'run'))
depends_on('r-genomicranges@1.23.7:', type=('build', 'run'))
depends_on('r-summarizedexperiment', type=('build', 'run'))
depends_on('r-biostrings@2.23.6:', type=('build', 'run'))
depends_on('r-affyio@1.23.2:', type=('build', 'run'))
- depends_on('r-ff', type=('build', 'run'))
depends_on('r-foreach', type=('build', 'run'))
- depends_on('r-biocinstaller', when='@1.38.0:1.42.0', type=('build', 'run'))
+ depends_on('r-biocmanager', when='@1.44.0:', type=('build', 'run'))
depends_on('r-s4vectors@0.9.25:', type=('build', 'run'))
depends_on('r-rsqlite', type=('build', 'run'))
-
depends_on('r-dbi', when='@1.40.0:', type=('build', 'run'))
-
- depends_on('r-biocgenerics@0.27.1:', when='@1.44.0:', type=('build', 'run'))
- depends_on('r-biocmanager', when='@1.44.0:', type=('build', 'run'))
+ depends_on('r-ff', type=('build', 'run'))
+ depends_on('r-biocinstaller', when='@:1.42.0', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-openssl/package.py b/var/spack/repos/builtin/packages/r-openssl/package.py
index 71f648b480..b493fff84d 100644
--- a/var/spack/repos/builtin/packages/r-openssl/package.py
+++ b/var/spack/repos/builtin/packages/r-openssl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class ROpenssl(RPackage):
- """Bindings to OpenSSL libssl and libcrypto, plus custom SSH pubkey
+ """Toolkit for Encryption, Signatures and Certificates Based on OpenSSL
+
+ Bindings to OpenSSL libssl and libcrypto, plus custom SSH pubkey
parsers. Supports RSA, DSA and EC curves P-256, P-384 and P-521.
Cryptographic signatures can either be created and verified manually or via
x509 certificates. AES can be used in cbc, ctr or gcm mode for symmetric
@@ -22,6 +24,7 @@ class ROpenssl(RPackage):
url = "https://cloud.r-project.org/src/contrib/openssl_0.9.6.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/openssl"
+ version('1.4.3', sha256='342001df8ecff5df2cdf757f123d35ea4b449751045f708b91f27c1be0d48269')
version('1.4.1', sha256='f7fbecc75254fc43297a95a4338c674ab9ba2ec056b59e027d16d23122161fc6')
version('1.3', sha256='1c83f4d529adc1f5ec40e477c690a8d5b0a42422f3e542f1fc39062dcfaca4bf')
version('0.9.7', sha256='697d9e86f99270163744538dc3dc4d19d00af89a8570a1d304b110e1d2650e9d')
diff --git a/var/spack/repos/builtin/packages/r-openxlsx/package.py b/var/spack/repos/builtin/packages/r-openxlsx/package.py
index 9c7d4326e5..0901653f17 100644
--- a/var/spack/repos/builtin/packages/r-openxlsx/package.py
+++ b/var/spack/repos/builtin/packages/r-openxlsx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class ROpenxlsx(RPackage):
- """Simplifies the creation of Excel .xlsx files by providing a high level
+ """Read, Write and Edit xlsx Files
+
+ Simplifies the creation of Excel .xlsx files by providing a high level
interface to writing, styling and editing worksheets. Through the use of
'Rcpp', read/write times are comparable to the 'xlsx' and 'XLConnect'
packages with the added benefit of removing the dependency on Java."""
@@ -16,8 +18,10 @@ class ROpenxlsx(RPackage):
url = "https://cloud.r-project.org/src/contrib/openxlsx_4.1.0.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/openxlsx"
+ version('4.2.3', sha256='cdef89d826e50bef772af3e5eae935ca0316626a6e22f55f7631eac733b5e46f')
version('4.1.0.1', sha256='8b7011debe14714de035ef42797c8caa923162d5dc3cc3c2a299fc10eff3d4d1')
depends_on('r@3.3.0:', type=('build', 'run'))
depends_on('r-rcpp', type=('build', 'run'))
depends_on('r-zip', type=('build', 'run'))
+ depends_on('r-stringi', when='@4.2.3:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-optparse/package.py b/var/spack/repos/builtin/packages/r-optparse/package.py
index ae987142db..313cb293ec 100644
--- a/var/spack/repos/builtin/packages/r-optparse/package.py
+++ b/var/spack/repos/builtin/packages/r-optparse/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,14 +7,17 @@ from spack import *
class ROptparse(RPackage):
- """A command line parser inspired by Python's 'optparse' library to be used
- with Rscript to write "#!" shebang scripts that accept short and long
- flag/options"""
+ """Command Line Option Parser
+
+ A command line parser inspired by Python's 'optparse' library to be used
+ with Rscript to write "#!" shebang scripts that accept short and long
+ flag/options"""
homepage = "https://cloud.r-project.org/package=optparse"
url = "https://cloud.r-project.org/src/contrib/optparse_1.6.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/optparse"
+ version('1.6.6', sha256='51779d497146e9354b1153713d939e81551e08948c2b00e4b117b1377c0b60d0')
version('1.6.2', sha256='b5a5a49ae05005f20359868329b73daac83d50f5e088981dcf5c41399534377f')
version('1.6.1', sha256='819be3eff54cb7f3f18703eed9714fc655290ab8e169f87605433d069b597e13')
version('1.6.0', sha256='10e816bb8f5b08d52cfd3a0028903a8c62ef9cf7bfd85f9dae8af442e82bfbb4')
diff --git a/var/spack/repos/builtin/packages/r-ordinal/package.py b/var/spack/repos/builtin/packages/r-ordinal/package.py
index 0345f8f040..08c933573d 100644
--- a/var/spack/repos/builtin/packages/r-ordinal/package.py
+++ b/var/spack/repos/builtin/packages/r-ordinal/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class ROrdinal(RPackage):
- """Implementation of cumulative link (mixed) models also known as ordered
+ """Regression Models for Ordinal Data
+
+ Implementation of cumulative link (mixed) models also known as ordered
regression models, proportional odds models, proportional hazards models
for grouped survival times and ordered logit/probit/... models. Estimation
is via maximum likelihood and mixed models are fitted with the Laplace
@@ -23,6 +25,7 @@ class ROrdinal(RPackage):
url = "https://cloud.r-project.org/src/contrib/ordinal_2019.4-25.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/ordinal"
+ version('2019.12-10', sha256='7a41e7b7e852a8fa3e911f8859d36e5709ccec5ca42ee3de14a813b7aaac7725')
version('2019.4-25', sha256='2812ad7a123cae5dbe053d1fe5f2d9935afc799314077eac185c844e3c9d79df')
depends_on('r@2.13.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-org-hs-eg-db/package.py b/var/spack/repos/builtin/packages/r-org-hs-eg-db/package.py
index d0ce1a26e0..c2668dc61b 100644
--- a/var/spack/repos/builtin/packages/r-org-hs-eg-db/package.py
+++ b/var/spack/repos/builtin/packages/r-org-hs-eg-db/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,17 +7,25 @@ from spack import *
class ROrgHsEgDb(RPackage):
- """Genome wide annotation for Human, primarily based on mapping
- using Entrez Gene identifiers."""
+ """Genome wide annotation for Human
+
+ Genome wide annotation for Human, primarily based on mapping using Entrez
+ Gene identifiers."""
homepage = "https://bioconductor.org/packages/org.Hs.eg.db/"
url = "https://www.bioconductor.org/packages/3.5/data/annotation/src/contrib/org.Hs.eg.db_3.4.1.tar.gz"
- version('3.8.2', sha256='a0a16b7428f9e3d6ba54ebf4e05cd97a7bd298510ec4cf46ed2bed3e8f80db02',
+ version('3.12.0',
+ sha256='48a1ab5347ec7a8602c555d9aba233102b61ffa2765826e5c8890ff0003249bb',
+ url='https://www.bioconductor.org/packages/3.12/data/annotation/src/contrib/org.Hs.eg.db_3.12.0.tar.gz')
+ version('3.8.2',
+ sha256='a0a16b7428f9e3d6ba54ebf4e05cd97a7bd298510ec4cf46ed2bed3e8f80db02',
url='https://www.bioconductor.org/packages/3.9/data/annotation/src/contrib/org.Hs.eg.db_3.8.2.tar.gz')
- version('3.4.1', sha256='0f87b3f1925a1d7007e5ad9200bdf511788bd1d7cb76f1121feeb109889c2b00')
-
- depends_on('r@2.7.0:', when='@3.4.1:', type=('build', 'run'))
+ version('3.4.1',
+ sha256='0f87b3f1925a1d7007e5ad9200bdf511788bd1d7cb76f1121feeb109889c2b00',
+ url='https://www.bioconductor.org/packages/3.5/data/annotation/src/contrib/org.Hs.eg.db_3.4.1.tar.gz')
- depends_on('r-annotationdbi@1.37.4:', when='@3.4.1:', type=('build', 'run'))
+ depends_on('r@2.7.0:', type=('build', 'run'))
+ depends_on('r-annotationdbi@1.37.4:', type=('build', 'run'))
depends_on('r-annotationdbi@1.43.1:', when='@3.8.2:', type=('build', 'run'))
+ depends_on('r-annotationdbi@1.51.3:', when='@3.12.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-organismdbi/package.py b/var/spack/repos/builtin/packages/r-organismdbi/package.py
index 3fe6243c6a..db674d3889 100644
--- a/var/spack/repos/builtin/packages/r-organismdbi/package.py
+++ b/var/spack/repos/builtin/packages/r-organismdbi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ from spack import *
class ROrganismdbi(RPackage):
"""Software to enable the smooth interfacing of different database
- packages.
+ packages
The package enables a simple unified interface to several annotation
packages each of which has its own schema by taking advantage of the
@@ -17,6 +17,7 @@ class ROrganismdbi(RPackage):
homepage = "https://bioconductor.org/packages/OrganismDbi"
git = "https://git.bioconductor.org/packages/OrganismDbi.git"
+ version('1.32.0', commit='c8100c4fea17bf1b10d4efacc73a7e2866d649e3')
version('1.26.0', commit='495b4a8f8264d06d827537d43b3c6cc705244bb5')
version('1.24.0', commit='3428952dc0f267a01e256a1c0873656cfbfde7f8')
version('1.22.0', commit='24e953eb3847222d8018103b79b9fc72483cc513')
@@ -27,15 +28,14 @@ class ROrganismdbi(RPackage):
depends_on('r-biocgenerics@0.15.10:', type=('build', 'run'))
depends_on('r-annotationdbi@1.33.15:', type=('build', 'run'))
depends_on('r-genomicfeatures@1.23.31:', type=('build', 'run'))
+ depends_on('r-genomicfeatures@1.39.4:', when='@1.32.0:', type=('build', 'run'))
depends_on('r-biobase', type=('build', 'run'))
- depends_on('r-biocinstaller', when='@1.18.1:1.22.0', type=('build', 'run'))
+ depends_on('r-biocmanager', when='@1.24.0:', type=('build', 'run'))
depends_on('r-genomicranges', type=('build', 'run'))
+ depends_on('r-genomicranges@1.31.13:', when='@1.22.0:', type=('build', 'run'))
depends_on('r-graph', type=('build', 'run'))
depends_on('r-iranges', type=('build', 'run'))
depends_on('r-rbgl', type=('build', 'run'))
depends_on('r-dbi', type=('build', 'run'))
depends_on('r-s4vectors@0.9.25:', type=('build', 'run'))
-
- depends_on('r-genomicranges@1.31.13:', when='@1.22.0:', type=('build', 'run'))
-
- depends_on('r-biocmanager', when='@1.24.0:', type=('build', 'run'))
+ depends_on('r-biocinstaller', when='@:1.22.0', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-packrat/package.py b/var/spack/repos/builtin/packages/r-packrat/package.py
index 500de7626b..4a897ab431 100644
--- a/var/spack/repos/builtin/packages/r-packrat/package.py
+++ b/var/spack/repos/builtin/packages/r-packrat/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-pacman/package.py b/var/spack/repos/builtin/packages/r-pacman/package.py
index 41e75f06ca..b4b021ce98 100644
--- a/var/spack/repos/builtin/packages/r-pacman/package.py
+++ b/var/spack/repos/builtin/packages/r-pacman/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-paleotree/package.py b/var/spack/repos/builtin/packages/r-paleotree/package.py
index 2464042e3b..030deeb29c 100644
--- a/var/spack/repos/builtin/packages/r-paleotree/package.py
+++ b/var/spack/repos/builtin/packages/r-paleotree/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,14 +8,16 @@ from spack import *
class RPaleotree(RPackage):
- """Provides tools for transforming, a posteriori
- time-scaling, and modifying phylogenies containing
- extinct (i.e. fossil) lineages"""
+ """Paleontological and Phylogenetic Analyses of Evolution
+
+ Provides tools for transforming, a posteriori time-scaling, and modifying
+ phylogenies containing extinct (i.e. fossil) lineages"""
homepage = "https://github.com/dwbapst/paleotree"
url = "https://cloud.r-project.org/src/contrib/paleotree_3.1.3.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/paleotree"
+ version('3.3.25', sha256='aa64b9120075581229439227a12db776d052b03eb5f9721692a16a9402ac8712')
version('3.3.0', sha256='f8f6b0228dd5290b251cad3a8626689442b5aa793d8f072c8c2c7813a063df90')
version('3.1.3', sha256='4c1cc8a5e171cbbbd88f78914f86d5e6d144ae573816fbeeff2ab54a814ec614')
diff --git a/var/spack/repos/builtin/packages/r-pamr/package.py b/var/spack/repos/builtin/packages/r-pamr/package.py
index c7cb41c6d1..699e4657bc 100644
--- a/var/spack/repos/builtin/packages/r-pamr/package.py
+++ b/var/spack/repos/builtin/packages/r-pamr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-pan/package.py b/var/spack/repos/builtin/packages/r-pan/package.py
index f39d8f9fee..c19f6b6c81 100644
--- a/var/spack/repos/builtin/packages/r-pan/package.py
+++ b/var/spack/repos/builtin/packages/r-pan/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-parallelly/package.py b/var/spack/repos/builtin/packages/r-parallelly/package.py
new file mode 100644
index 0000000000..e46b79b6d4
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-parallelly/package.py
@@ -0,0 +1,27 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RParallelly(RPackage):
+ """Enhancing the 'parallel' Package
+
+ Utility functions that enhance the 'parallel' package and support the
+ built-in parallel backends of the 'future' package. For example,
+ availableCores() gives the number of CPU cores available to your R process
+ as given by the operating system, 'cgroups' and Linux containers, R
+ options, and environment variables, including those set by job schedulers
+ on high-performance compute clusters. If none is set, it will fall back to
+ parallel::detectCores(). Another example is makeClusterPSOCK(), which is
+ backward compatible with parallel::makePSOCKcluster() while doing a better
+ job in setting up remote cluster workers without the need for configuring
+ the firewall to do port-forwarding to your local computer."""
+
+ homepage = "https://github.com/HenrikBengtsson/parallelly"
+ url = "https://cloud.r-project.org/src/contrib/parallelly_1.23.0.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/parallelly"
+
+ version('1.23.0', sha256='376ce2381587380a4da60f9563710d63084a605f93aa364e9349f2523e83bc08')
diff --git a/var/spack/repos/builtin/packages/r-parallelmap/package.py b/var/spack/repos/builtin/packages/r-parallelmap/package.py
index a0d047ace2..7738685c3c 100644
--- a/var/spack/repos/builtin/packages/r-parallelmap/package.py
+++ b/var/spack/repos/builtin/packages/r-parallelmap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,17 +7,20 @@ from spack import *
class RParallelmap(RPackage):
- """Unified parallelization framework for multiple back-end, designed for
- internal package and interactive usage. The main operation is a parallel
- "map" over lists. Supports local, multicore, mpi and BatchJobs mode.
- Allows "tagging" of the parallel operation with a level name that can be
- later selected by the user to switch on parallel execution for exactly
- this operation."""
+ """Unified Interface to Parallelization Back-Ends
+
+ Unified parallelization framework for multiple back-end, designed for
+ internal package and interactive usage. The main operation is a parallel
+ "map" over lists. Supports local, multicore, mpi and BatchJobs mode.
+ Allows "tagging" of the parallel operation with a level name that can be
+ later selected by the user to switch on parallel execution for exactly this
+ operation."""
homepage = "https://github.com/berndbischl/parallelMap"
url = "https://cloud.r-project.org/src/contrib/parallelMap_1.3.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/parallelMap"
+ version('1.5.0', sha256='4afa727f4786279718cc799e45e91859a46f5cbc1ee652b0f47ae3b9f9d45e4e')
version('1.4', sha256='fb6f15e325f729f1c5218768b17c20909ee857069c6cc5d8df50e1dafe26ed5b')
version('1.3', sha256='a52d93572c1b85281e41d8e3c2db97dda5fce96c222e04171b4489ec5000cd08')
diff --git a/var/spack/repos/builtin/packages/r-paramhelpers/package.py b/var/spack/repos/builtin/packages/r-paramhelpers/package.py
index 779df9f898..f4030bafea 100644
--- a/var/spack/repos/builtin/packages/r-paramhelpers/package.py
+++ b/var/spack/repos/builtin/packages/r-paramhelpers/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,21 +7,24 @@ from spack import *
class RParamhelpers(RPackage):
- """Functions for parameter descriptions and operations in black-box
- optimization, tuning and machine learning. Parameters can be described
- (type, constraints, defaults, etc.), combined to parameter sets and can
- in general be programmed on. A useful OptPath object (archive) to log
- function evaluations is also provided."""
+ """Helpers for Parameters in Black-Box Optimization, Tuning and Machine Learning
+
+ Functions for parameter descriptions and operations in black-box
+ optimization, tuning and machine learning. Parameters can be described
+ (type, constraints, defaults, etc.), combined to parameter sets and can in
+ general be programmed on. A useful OptPath object (archive) to log function
+ evaluations is also provided."""
homepage = "https://github.com/berndbischl/ParamHelpers"
url = "https://cloud.r-project.org/src/contrib/ParamHelpers_1.10.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/ParamHelpers"
+ version('1.14', sha256='b17652d0a69de3241a69f20be4ad1bfe02c413328a17f3c1ac7b73886a6ba2eb')
version('1.12', sha256='b54db9e6608ba530345c380c757a60cb2b78ab08992a890b1a41914ce7abcc14')
version('1.11', sha256='1614f4c0842cf822befc01228ab7263417f3423dd6a1dc24347b14f8491637a0')
version('1.10', sha256='80629ba62e93b0b706bf2e451578b94fbb9c5b95ff109ecfb5b011bfe0a0fa5b')
+ depends_on('r-backports', when='@1.11:', type=('build', 'run'))
depends_on('r-bbmisc@1.10:', type=('build', 'run'))
depends_on('r-checkmate@1.8.2:', type=('build', 'run'))
- depends_on('r-backports', when='@1.11:', type=('build', 'run'))
depends_on('r-fastmatch', when='@1.11:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-party/package.py b/var/spack/repos/builtin/packages/r-party/package.py
index 18303c3b1b..8db792c179 100644
--- a/var/spack/repos/builtin/packages/r-party/package.py
+++ b/var/spack/repos/builtin/packages/r-party/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,30 @@ from spack import *
class RParty(RPackage):
- """A computational toolbox for recursive partitioning."""
+ """A Laboratory for Recursive Partytioning
+
+ A computational toolbox for recursive partitioning. The core of the package
+ is ctree(), an implementation of conditional inference trees which embed
+ tree-structured regression models into a well defined theory of
+ conditional inference procedures. This non-parametric class of regression
+ trees is applicable to all kinds of regression problems, including nominal,
+ ordinal, numeric, censored as well as multivariate response variables and
+ arbitrary measurement scales of the covariates. Based on conditional
+ inference trees, cforest() provides an implementation of Breiman's random
+ forests. The function mob() implements an algorithm for recursive
+ partitioning based on parametric models (e.g. linear models, GLMs or
+ survival regression) employing parameter instability tests for split
+ selection. Extensible functionality for visualizing tree-structured
+ regression models is available. The methods are described in Hothorn et al.
+ (2006) <doi:10.1198/106186006X133933>, Zeileis et al. (2008)
+ <doi:10.1198/106186008X319331> and Strobl et al. (2007)
+ <doi:10.1186/1471-2105-8-25>."""
homepage = "https://cloud.r-project.org/package=party"
url = "https://cloud.r-project.org/src/contrib/party_1.1-2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/party"
+ version('1.3-5', sha256='1c3a35d3fe56498361542b3782de2326561c14a8fa1b76f3c9f13beb1fd51364')
version('1.3-3', sha256='9f72eea02d43a4cee105790ae7185b0478deb6011ab049cc9d31a0df3abf7ce9')
version('1.3-2', sha256='9f350fa21114151c49bccc3d5f8536dbc5a608cfd88f60461c9805a4c630510b')
version('1.1-2', sha256='c3632b4b02dc12ec949e2ee5b24004e4a4768b0bc9737432e9a85acbc2ed0e74')
diff --git a/var/spack/repos/builtin/packages/r-partykit/package.py b/var/spack/repos/builtin/packages/r-partykit/package.py
index f6ad1cf369..c822d274ec 100644
--- a/var/spack/repos/builtin/packages/r-partykit/package.py
+++ b/var/spack/repos/builtin/packages/r-partykit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,27 +8,33 @@ from spack import *
class RPartykit(RPackage):
- """A toolkit with infrastructure for representing, summarizing, and
+ """A Toolkit for Recursive Partytioning
+
+ A toolkit with infrastructure for representing, summarizing, and
visualizing tree-structured regression and classification models. This
unified infrastructure can be used for reading/coercing tree models from
different sources ('rpart', 'RWeka', 'PMML') yielding objects that share
functionality for print()/plot()/predict() methods. Furthermore, new and
improved reimplementations of conditional inference trees (ctree()) and
model-based recursive partitioning (mob()) from the 'party' package are
- provided based on the new infrastructure."""
+ provided based on the new infrastructure. A description of this package was
+ published by Hothorn and Zeileis (2015)
+ <https://jmlr.org/papers/v16/hothorn15a.html>."""
homepage = "http://partykit.r-forge.r-project.org/partykit"
url = "https://cloud.r-project.org/src/contrib/partykit_1.1-1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/partykit"
+ version('1.2-11', sha256='3a83332d782a235cfb5ba60cc8f1c51d46ca5477b22979a614f514d1c951c602')
version('1.2-5', sha256='f48e30790f93fa5d03e68e8ce71ce33d009d107d46d45d85da2016b38b27629c')
version('1.2-3', sha256='56749b246e283f94ac2ad2cdcfc0a477e05cd44b5e8f6e462c26f4dff818da35')
version('1.1-1', sha256='d9f4762690cd85ee4e3dc44f5a14069d10a1900afdfbcdc284d2a94b4a8e8332')
depends_on('r@3.1.0:', type=('build', 'run'))
- depends_on('r-survival', type=('build', 'run'))
- depends_on('r-formula@1.2-1:', type=('build', 'run'))
+ depends_on('r@3.5.0:', when='@1.2-11:', type=('build', 'run'))
depends_on('r-libcoin@1.0-0:', when='@1.2-0:', type=('build', 'run'))
depends_on('r-mvtnorm', when='@1.2-0:', type=('build', 'run'))
+ depends_on('r-survival', type=('build', 'run'))
+ depends_on('r-formula@1.2-1:', type=('build', 'run'))
depends_on('r-inum@1.0-0:', when='@1.2-0:', type=('build', 'run'))
depends_on('r-rpart@4.1-11:', when='@1.2-0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-patchwork/package.py b/var/spack/repos/builtin/packages/r-patchwork/package.py
new file mode 100644
index 0000000000..9a7a37ab22
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-patchwork/package.py
@@ -0,0 +1,26 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RPatchwork(RPackage):
+ """The Composer of Plots
+
+ The 'ggplot2' package provides a strong API for sequentially building up a
+ plot, but does not concern itself with composition of multiple plots.
+ 'patchwork' is a package that expands the API to allow for arbitrarily
+ complex composition of plots by, among others, providing mathematical
+ operators for combining multiple plots. Other packages that try to address
+ this need (but with a different approach) are 'gridExtra' and 'cowplot'."""
+
+ homepage = "https://patchwork.data-imaginist.com/"
+ url = "https://cloud.r-project.org/src/contrib/patchwork_1.1.1.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/patchwork"
+
+ version('1.1.1', sha256='cf0d7d9f92945729b499d6e343441c55007d5b371206d5389b9e5154dc7cf481')
+
+ depends_on('r-ggplot2@3.0.0:', type=('build', 'run'))
+ depends_on('r-gtable', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-pathview/package.py b/var/spack/repos/builtin/packages/r-pathview/package.py
index 80b6a1aebd..177171627d 100644
--- a/var/spack/repos/builtin/packages/r-pathview/package.py
+++ b/var/spack/repos/builtin/packages/r-pathview/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RPathview(RPackage):
- """a tool set for pathway based data integration and visualization.
+ """a tool set for pathway based data integration and visualization
Pathview is a tool set for pathway based data integration and
visualization. It maps and renders a wide variety of biological data on
@@ -21,18 +21,20 @@ class RPathview(RPackage):
homepage = "https://bioconductor.org/packages/pathview"
git = "https://git.bioconductor.org/packages/pathview.git"
+ version('1.30.1', commit='a6a32395db408798cb076894678e90148bae6bf4')
version('1.24.0', commit='e4401c1425c980ce2e6e478a4602a9f6d36ccd8d')
version('1.22.3', commit='ff86f9e166a5b03bbed1a0ad276778958c3045ce')
version('1.20.0', commit='a195afa6ba6c7917af2c7f77170f0644c46880c7')
version('1.18.2', commit='d2048981696564ec75f661ed665977d3a6e09188')
version('1.16.7', commit='fc560ed15ef7393a73d35e714716cc24dc835339')
+ depends_on('r+X', type=('build', 'run'))
depends_on('r@2.10:', type=('build', 'run'))
- depends_on('r-org-hs-eg-db', type=('build', 'run'))
depends_on('r-kegggraph', type=('build', 'run'))
depends_on('r-xml', type=('build', 'run'))
depends_on('r-rgraphviz', type=('build', 'run'))
depends_on('r-graph', type=('build', 'run'))
depends_on('r-png', type=('build', 'run'))
depends_on('r-annotationdbi', type=('build', 'run'))
+ depends_on('r-org-hs-eg-db', type=('build', 'run'))
depends_on('r-keggrest', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-pbapply/package.py b/var/spack/repos/builtin/packages/r-pbapply/package.py
index f63552328f..47a3dd5018 100644
--- a/var/spack/repos/builtin/packages/r-pbapply/package.py
+++ b/var/spack/repos/builtin/packages/r-pbapply/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,19 @@ from spack import *
class RPbapply(RPackage):
- """A lightweight package that adds progress bar to vectorized R
- apply functions."""
+ """Adding Progress Bar to '*apply' Functions
+
+ A lightweight package that adds progress bar to vectorized R functions
+ ('*apply'). The implementation can easily be added to functions where
+ showing the progress is useful (e.g. bootstrap). The type and style of the
+ progress bar (with percentages or remaining time) can be set through
+ options. Supports several parallel processing backends."""
homepage = "https://cloud.r-project.org/package=pbapply"
url = "https://cloud.r-project.org/src/contrib/pbapply_1.3-3.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/pbapply"
+ version('1.4-3', sha256='8fe6287535be766b5a688810e2cc1ca4e668ac6b42b6e832473fe5701133eb21')
version('1.4-1', sha256='b3633349181db944e1dfc4422b4728a6562e454117a232cbb51633906cd27cad')
version('1.3-4', sha256='cdfdaf9b8aecbe48daac858aecaf65a766b74a363d1eb7cd6ebf27c0549f6552')
version('1.3-3', sha256='7379b21d1176db5769f5cac858dd12c975736e80a600870180cec9625cf51047')
diff --git a/var/spack/repos/builtin/packages/r-pbdzmq/package.py b/var/spack/repos/builtin/packages/r-pbdzmq/package.py
index e58328adf3..08b6bb9467 100644
--- a/var/spack/repos/builtin/packages/r-pbdzmq/package.py
+++ b/var/spack/repos/builtin/packages/r-pbdzmq/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,9 @@ from spack import *
class RPbdzmq(RPackage):
- """'ZeroMQ' is a well-known library for high-performance asynchronous
+ """Programming with Big Data -- Interface to 'ZeroMQ'
+
+ 'ZeroMQ' is a well-known library for high-performance asynchronous
messaging in scalable, distributed applications. This package provides
high level R wrapper functions to easily utilize 'ZeroMQ'. We mainly focus
on interactive client/server programming frameworks. For convenience, a
@@ -20,11 +22,13 @@ class RPbdzmq(RPackage):
url = "https://cloud.r-project.org/src/contrib/pbdZMQ_0.2-4.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/pbdZMQ"
+ version('0.3-4', sha256='07794bd6858e093f8b6b879ddd5ab0195449b47a41b70cab2f60603f0a53b129')
version('0.3-3', sha256='ae26c13400e2acfb6463ff9b67156847a22ec79f3b53baf65119efaba1636eca')
version('0.3-2', sha256='ece2a2881c662f77126e4801ba4e01c991331842b0d636ce5a2b591b9de3fc37')
version('0.2-4', sha256='bfacac88b0d4156c70cf63fc4cb9969a950693996901a4fa3dcd59949ec065f6')
- depends_on('r@3.0.0:', when='@:0.2-5', type=('build', 'run'))
+ depends_on('r@3.0.0:', type=('build', 'run'))
depends_on('r@3.2.0:', when='@0.2-6:', type=('build', 'run'))
+ depends_on('r@3.5.0:', when='@0.3-4:', type=('build', 'run'))
depends_on('r-r6', when='@:0.2-6', type=('build', 'run'))
depends_on('libzmq@4.0.4:')
diff --git a/var/spack/repos/builtin/packages/r-pbkrtest/package.py b/var/spack/repos/builtin/packages/r-pbkrtest/package.py
index c7b7be8c42..780f0b9f5e 100644
--- a/var/spack/repos/builtin/packages/r-pbkrtest/package.py
+++ b/var/spack/repos/builtin/packages/r-pbkrtest/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,22 +7,36 @@ from spack import *
class RPbkrtest(RPackage):
- """Test in mixed effects models. Attention is on mixed effects models as
- implemented in the 'lme4' package. This package implements a parametric
- bootstrap test and a Kenward Roger modification of F-tests for linear mixed
- effects models and a parametric bootstrap test for generalized linear mixed
- models."""
+ """Parametric Bootstrap, Kenward-Roger and Satterthwaite Based Methods for
+ Test in Mixed Models
+
+ Test in mixed effects models. Attention is on mixed effects models as
+ implemented in the 'lme4' package. For linear mixed models, this package
+ implements (1) a parametric bootstrap test, (2) a Kenward-Roger-typ
+ modification of F-tests for linear mixed effects models and (3) a
+ Satterthwaite-type modification of F-tests for linear mixed effects models.
+ The package also implements a parametric bootstrap test for generalized
+ linear mixed models. The facilities of the package are documented in the
+ paper by Halehoh and Hojsgaard, (2012, <doi:10.18637/jss.v059.i09>).
+ Please see 'citation("pbkrtest")' for citation details."""
homepage = "http://people.math.aau.dk/~sorenh/software/pbkrtest/"
url = "https://cloud.r-project.org/src/contrib/pbkrtest_0.4-6.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/pbkrtest"
+ version('0.5-0.1', sha256='f56525488c6efe4a5cbf849bf9a82747041478605b166c29bad54e464e46f469')
version('0.4-7', sha256='5cbb03ad2b2468720a5a610a0ebda48ac08119a34fca77810a85f554225c23ea')
version('0.4-6', sha256='9d28b8916fea3ffec8d5958bb8c531279b1e273f21fdbeb2fcad6d7e300a9c01')
version('0.4-4', sha256='a685392ef3fca0ddc2254f6cc9bba6bc22b298fa823359fc4515e64e753abd31')
- depends_on('r@3.0.2:', when='@:0.4-5', type=('build', 'run'))
+ depends_on('r@3.0.2:', type=('build', 'run'))
depends_on('r@3.2.3:', when='@0.4-6:', type=('build', 'run'))
+ depends_on('r@3.5.0:', when='@0.5-0.1:', type=('build', 'run'))
depends_on('r-lme4@1.1.10:', type=('build', 'run'))
- depends_on('r-matrix@1.2.3:', type=('build', 'run'))
+ depends_on('r-broom', when='@0.5-0.1:', type=('build', 'run'))
+ depends_on('r-dplyr', when='@0.5-0.1:', type=('build', 'run'))
+ depends_on('r-magrittr', when='@0.5-0.1:', type=('build', 'run'))
depends_on('r-mass', type=('build', 'run'))
+ depends_on('r-matrix@1.2.3:', type=('build', 'run'))
+ depends_on('r-numderiv', when='@0.5-0.1:', type=('build', 'run'))
+ depends_on('r-knitr', when='@0.5-0.1:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-pcamethods/package.py b/var/spack/repos/builtin/packages/r-pcamethods/package.py
index 9981212244..7da7698eee 100644
--- a/var/spack/repos/builtin/packages/r-pcamethods/package.py
+++ b/var/spack/repos/builtin/packages/r-pcamethods/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RPcamethods(RPackage):
- """A collection of PCA methods.
+ """A collection of PCA methods
Provides Bayesian PCA, Probabilistic PCA, Nipals PCA, Inverse Non-Linear
PCA and the conventional SVD PCA. A cluster based method for missing
@@ -22,6 +22,7 @@ class RPcamethods(RPackage):
homepage = "https://bioconductor.org/packages/pcaMethods"
git = "https://git.bioconductor.org/packages/pcaMethods.git"
+ version('1.82.0', commit='d500b3363308f1f8ca70625c5cd10cce59b27641')
version('1.76.0', commit='5db995330ced37dfd5ddad6ad1d90b4815d3127a')
version('1.74.0', commit='1b8f0a5cdfe3664119d0d7e926a2e0fe7320133c')
version('1.72.0', commit='1bb8c7d056645e62ee5179f6bb30b6594ebf3bfd')
diff --git a/var/spack/repos/builtin/packages/r-pcapp/package.py b/var/spack/repos/builtin/packages/r-pcapp/package.py
index 299beee233..7fdd18ff2d 100644
--- a/var/spack/repos/builtin/packages/r-pcapp/package.py
+++ b/var/spack/repos/builtin/packages/r-pcapp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-pegas/package.py b/var/spack/repos/builtin/packages/r-pegas/package.py
new file mode 100644
index 0000000000..5c60591cf7
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-pegas/package.py
@@ -0,0 +1,30 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RPegas(RPackage):
+ """Population and Evolutionary Genetics Analysis System
+
+ Functions for reading, writing, plotting, analysing, and
+ manipulating allelic and haplotypic data, including from VCF files,
+ and for the analysis of population nucleotide sequences and
+ micro-satellites including coalescent analyses, linkage
+ disequilibrium, population structure (Fst, Amova) and equilibrium
+ (HWE), haplotype networks, minimum spanning tree and network, and
+ median-joining networks."""
+
+ homepage = "http://ape-package.ird.fr/pegas.html"
+ url = "https://cloud.r-project.org/src/contrib/pegas_0.14.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/pegas"
+
+ maintainers = ['dorton21']
+
+ version('0.14', sha256='7df90e6c4a69e8dbed2b3f68b18f1975182475bf6f86d4159256b52fd5332053')
+
+ depends_on('r@3.2.0:', type=('build', 'run'))
+ depends_on('r-ape@5.3-11:', type=('build', 'run'))
+ depends_on('r-adegenet', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-permute/package.py b/var/spack/repos/builtin/packages/r-permute/package.py
index b181976baa..04bb2e004e 100644
--- a/var/spack/repos/builtin/packages/r-permute/package.py
+++ b/var/spack/repos/builtin/packages/r-permute/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-pfam-db/package.py b/var/spack/repos/builtin/packages/r-pfam-db/package.py
index df7d456787..a0c945fc94 100644
--- a/var/spack/repos/builtin/packages/r-pfam-db/package.py
+++ b/var/spack/repos/builtin/packages/r-pfam-db/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,16 +7,25 @@ from spack import *
class RPfamDb(RPackage):
- """A set of protein ID mappings for PFAM assembled using data from
+ """A set of protein ID mappings for PFAM
+
+ A set of protein ID mappings for PFAM assembled using data from
public repositories."""
homepage = "https://www.bioconductor.org/packages/PFAM.db/"
url = "https://www.bioconductor.org/packages/3.5/data/annotation/src/contrib/PFAM.db_3.4.1.tar.gz"
- version('3.10.0', sha256='038888f95ce69230ac0e0b08aa3bcb09965682415520d437a7fb0a031eefe158')
- version('3.4.1', sha256='fc45a0d53139daf85873f67bd3f1b68f2d883617f4447caddbd2d7dcc58a393f')
+ version('3.12.0',
+ sha256='ec42d067522baf2d7d3ca78d4f8cc0dac08a4b98f1d890f52424e5d5b16f2fe9',
+ url='https://bioconductor.org/packages/3.12/data/annotation/src/contrib/PFAM.db_3.12.0.tar.gz')
+ version('3.10.0',
+ sha256='038888f95ce69230ac0e0b08aa3bcb09965682415520d437a7fb0a031eefe158',
+ url='https://bioconductor.org/packages/3.10/data/annotation/src/contrib/PFAM.db_3.10.0.tar.gz')
+ version('3.4.1',
+ sha256='fc45a0d53139daf85873f67bd3f1b68f2d883617f4447caddbd2d7dcc58a393f',
+ url='https://bioconductor.org/packages/3.5/data/annotation/src/contrib/PFAM.db_3.4.1.tar.gz')
depends_on('r@2.7.0:', when='@3.4.1:', type=('build', 'run'))
depends_on('r-annotationdbi@1.37.4:', when='@3.4.1:', type=('build', 'run'))
-
depends_on('r-annotationdbi@1.47.1:', when='@3.10.0:', type=('build', 'run'))
+ depends_on('r-annotationdbi@1.51.3:', when='@3.12.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-phangorn/package.py b/var/spack/repos/builtin/packages/r-phangorn/package.py
index c7acba152f..76e5b9c651 100644
--- a/var/spack/repos/builtin/packages/r-phangorn/package.py
+++ b/var/spack/repos/builtin/packages/r-phangorn/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-phantompeakqualtools/package.py b/var/spack/repos/builtin/packages/r-phantompeakqualtools/package.py
index dd11719596..a55abe88c0 100644
--- a/var/spack/repos/builtin/packages/r-phantompeakqualtools/package.py
+++ b/var/spack/repos/builtin/packages/r-phantompeakqualtools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-philentropy/package.py b/var/spack/repos/builtin/packages/r-philentropy/package.py
index 2814ebc676..d4cada3fa6 100644
--- a/var/spack/repos/builtin/packages/r-philentropy/package.py
+++ b/var/spack/repos/builtin/packages/r-philentropy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-phylobase/package.py b/var/spack/repos/builtin/packages/r-phylobase/package.py
index 7cfe791b3b..f97bd4895c 100644
--- a/var/spack/repos/builtin/packages/r-phylobase/package.py
+++ b/var/spack/repos/builtin/packages/r-phylobase/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-phyloseq/package.py b/var/spack/repos/builtin/packages/r-phyloseq/package.py
index 84ebc98ba4..05a380d6bf 100644
--- a/var/spack/repos/builtin/packages/r-phyloseq/package.py
+++ b/var/spack/repos/builtin/packages/r-phyloseq/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RPhyloseq(RPackage):
- """Handling and analysis of high-throughput microbiome census data.
+ """Handling and analysis of high-throughput microbiome census data
phyloseq provides a set of classes and tools to facilitate the import,
storage, analysis, and graphical display of microbiome census data."""
@@ -15,6 +15,7 @@ class RPhyloseq(RPackage):
homepage = "https://bioconductor.org/packages/phyloseq"
git = "https://git.bioconductor.org/packages/phyloseq.git"
+ version('1.34.0', commit='cbed93ead5528fe9024d646c597dab9fc95952d3')
version('1.28.0', commit='a86ed1e0a650fdf80bee5a0a5a82aaa5a276178d')
version('1.26.1', commit='a084072bc9e057b90adfbd59e27db2a1ecee151c')
version('1.24.2', commit='829992f88c79de48bb8749678624e2bbd3b66645')
@@ -22,13 +23,19 @@ class RPhyloseq(RPackage):
version('1.20.0', commit='107d1d5e3437a6e33982c06a548d3cc91df2a7e0')
depends_on('r@3.3.0:', type=('build', 'run'))
- depends_on('r-biocgenerics@0.18.0:', type=('build', 'run'))
+ depends_on('r@3.4.0:', when='@1.22.3', type=('build', 'run'))
depends_on('r-ade4@1.7.4:', type=('build', 'run'))
depends_on('r-ape@3.4:', type=('build', 'run'))
+ depends_on('r-ape@5.0:', when='@1.22.3:', type=('build', 'run'))
+ depends_on('r-biobase', type=('build', 'run'))
+ depends_on('r-biobase@2.36.2:', when='@1.22.3:', type=('build', 'run'))
+ depends_on('r-biocgenerics@0.18.0:', type=('build', 'run'))
+ depends_on('r-biocgenerics@0.22.0:', when='@1.22.3:', type=('build', 'run'))
depends_on('r-biomformat@1.0.0:', type=('build', 'run'))
depends_on('r-biostrings@2.40.0:', type=('build', 'run'))
depends_on('r-cluster@2.0.4:', type=('build', 'run'))
depends_on('r-data-table@1.9.6:', type=('build', 'run'))
+ depends_on('r-data-table@1.10.4:', when='@1.22.3:', type=('build', 'run'))
depends_on('r-foreach@1.4.3:', type=('build', 'run'))
depends_on('r-ggplot2@2.1.0:', type=('build', 'run'))
depends_on('r-igraph@1.0.1:', type=('build', 'run'))
@@ -37,13 +44,5 @@ class RPhyloseq(RPackage):
depends_on('r-reshape2@1.4.1:', type=('build', 'run'))
depends_on('r-scales@0.4.0:', type=('build', 'run'))
depends_on('r-vegan@2.3.5:', type=('build', 'run'))
- depends_on('r-biobase', type=('build', 'run'))
-
- depends_on('r@3.4.0:', when='@1.22.3:', type=('build', 'run'))
- depends_on('r-ape@5.0:', when='@1.22.3:', type=('build', 'run'))
- depends_on('r-biobase@2.36.2:', when='@1.22.3:', type=('build', 'run'))
- depends_on('r-biocgenerics@0.22.0:', when='@1.22.3:', type=('build', 'run'))
- depends_on('r-data-table@1.10.4:', when='@1.22.3:', type=('build', 'run'))
depends_on('r-vegan@2.4:', when='@1.22.3:', type=('build', 'run'))
-
depends_on('r-vegan@2.5:', when='@1.24.2:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-phylostratr/package.py b/var/spack/repos/builtin/packages/r-phylostratr/package.py
index a84c4333a9..bd518ba865 100644
--- a/var/spack/repos/builtin/packages/r-phylostratr/package.py
+++ b/var/spack/repos/builtin/packages/r-phylostratr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-phytools/package.py b/var/spack/repos/builtin/packages/r-phytools/package.py
index 6bae38dbf9..27cdca7d50 100644
--- a/var/spack/repos/builtin/packages/r-phytools/package.py
+++ b/var/spack/repos/builtin/packages/r-phytools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,28 +7,49 @@ from spack import *
class RPhytools(RPackage):
- """Phylogenetic Tools for Comparative Biology (and Other Things)"""
+ """Phylogenetic Tools for Comparative Biology (and Other Things)
+
+ A wide range of functions for phylogenetic analysis. Functionality is
+ concentrated in phylogenetic comparative biology, but also includes
+ numerous methods for visualizing, manipulating, reading or writing, and
+ even inferring phylogenetic trees and data. Included among the functions in
+ phylogenetic comparative biology are various for ancestral state
+ reconstruction, model-fitting, simulation of phylogenies and data, and
+ multivariate analysis. There are a broad range of plotting methods for
+ phylogenies and comparative data which include, but are not restricted to,
+ methods for mapping trait evolution on trees, for projecting trees into
+ phenotypic space or a geographic map, and for visualizing correlated
+ speciation between trees. Finally, there are a number of functions for
+ reading, writing, analyzing, inferring, simulating, and manipulating
+ phylogenetic trees and comparative data not covered by other packages. For
+ instance, there are functions for randomly or non-randomly attaching
+ species or clades to a phylogeny, for estimating supertrees or consensus
+ phylogenies from a set, for simulating trees and phylogenetic data under a
+ range of models, and for a wide variety of other manipulations and analyses
+ that phylogenetic biologists might find useful in their research."""
homepage = "http://github.com/liamrevell/phytools"
url = "https://cloud.r-project.org/src/contrib/phytools_0.6-60.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/phytools/"
+ version('0.7-70', sha256='e3432c3b006e5cc6f1292bebd81ebc20044edf1f56c3d27a3497f738eb99f0d3')
version('0.6-99', sha256='2ef532cba77c5f73803bd34582bef05709705311a0b50e42316e69944567390f')
version('0.6-60', sha256='55cad759510d247ebbf03a53a46caddadd3bf87584ccf7fcd6dd06d44516b377')
depends_on('r@3.2.0:', type=('build', 'run'))
- depends_on('r-animation', type=('build', 'run'))
+ depends_on('r@3.5.0:', when='@0.7-70:', type=('build', 'run'))
depends_on('r-ape@4.0:', type=('build', 'run'))
+ depends_on('r-maps', type=('build', 'run'))
depends_on('r-clustergeneration', type=('build', 'run'))
depends_on('r-coda', type=('build', 'run'))
depends_on('r-combinat', type=('build', 'run'))
depends_on('r-expm', type=('build', 'run'))
+ depends_on('r-gtools', when='@0.6-99:', type=('build', 'run'))
depends_on('r-mass', type=('build', 'run'))
- depends_on('r-maps', type=('build', 'run'))
depends_on('r-mnormt', type=('build', 'run'))
depends_on('r-nlme', type=('build', 'run'))
depends_on('r-numderiv', type=('build', 'run'))
depends_on('r-phangorn@2.3.1:', type=('build', 'run'))
depends_on('r-plotrix', type=('build', 'run'))
depends_on('r-scatterplot3d', type=('build', 'run'))
- depends_on('r-gtools', when='@0.6-99:', type=('build', 'run'))
+ depends_on('r-animation', when='@:0.6-99', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-picante/package.py b/var/spack/repos/builtin/packages/r-picante/package.py
index 1eec2c274d..bc3e5b047e 100644
--- a/var/spack/repos/builtin/packages/r-picante/package.py
+++ b/var/spack/repos/builtin/packages/r-picante/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,17 +7,27 @@ from spack import *
class RPicante(RPackage):
- """R tools for integrating phylogenies and ecology"""
+ """R tools for integrating phylogenies and ecology
+
+ Functions for phylocom integration, community analyses, null-models, traits
+ and evolution. Implements numerous ecophylogenetic approaches including
+ measures of community phylogenetic and trait diversity, phylogenetic
+ signal, estimation of trait values for unobserved taxa, null models for
+ community and phylogeny randomizations, and utility functions for data
+ input/output and phylogeny plotting. A full description of package
+ functionality and methods are provided by Kembel et al. (2010)
+ <doi:10.1093/bioinformatics/btq166>."""
homepage = "https://cloud.r-project.org/package=picante"
url = "https://cloud.r-project.org/src/contrib/picante_1.6-2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/picante"
+ version('1.8.2', sha256='56565ca7f7c37f49c961372a816724967c21a4f5025cd69b8b671122bfdc4aa7')
version('1.8', sha256='81a6308dbb53c9cdab30c1f9ac727abee76314351823b3a2142c21ed8e1498ad')
version('1.7', sha256='75e4d73080db67e776562a1d58685438461cbde39af46900c7838da56aef0a62')
version('1.6-2', sha256='4db3a5a0fe5e4e9197c96245195843294fbb8d0a324edcde70c6ab01276ab7ff')
version('1.6-1', sha256='2708315b26737857a6729fd67bde06bc939930035c5b09a8bba472a593f24000')
depends_on('r-ape', type=('build', 'run'))
- depends_on('r-nlme', type=('build', 'run'))
depends_on('r-vegan', type=('build', 'run'))
+ depends_on('r-nlme', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-pillar/package.py b/var/spack/repos/builtin/packages/r-pillar/package.py
index 325d40c4da..4036ce0d56 100644
--- a/var/spack/repos/builtin/packages/r-pillar/package.py
+++ b/var/spack/repos/builtin/packages/r-pillar/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,16 @@ from spack import *
class RPillar(RPackage):
- """Provides a 'pillar' generic designed for formatting columns of data
- using the full range of colours provided by modern terminals."""
+ """Coloured Formatting for Columns
+
+ Provides a 'pillar' generic designed for formatting columns of data using
+ the full range of colours provided by modern terminals."""
homepage = "https://cloud.r-project.org/package=pillar"
url = "https://cloud.r-project.org/src/contrib/pillar_1.3.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/pillar"
+ version('1.4.7', sha256='cdedb2b2a4854e917f43b0c6379efefda9d7ff4e58dec2a3159a80ee8288f298')
version('1.4.2', sha256='bababb76b6db06dc32ccd947dbad6c164a1749ff5b558c6783ad03570f010825')
version('1.4.1', sha256='f571ca7a3ef0927747510b972da31a26da24b9da68990fe1bbc9d4ae58028c55')
version('1.3.1', sha256='b338b55f956dd7134f379d39bb94dfb25e13cf27999d6a6e6dc9f292755acbf6')
@@ -28,7 +31,10 @@ class RPillar(RPackage):
depends_on('r-cli', type=('build', 'run'))
depends_on('r-crayon@1.3.4:', type=('build', 'run'))
+ depends_on('r-ellipsis', when='@1.4.7:', type=('build', 'run'))
depends_on('r-fansi', type=('build', 'run'))
+ depends_on('r-lifecycle', when='@1.4.7:', type=('build', 'run'))
depends_on('r-rlang@0.3.0:', type=('build', 'run'))
depends_on('r-utf8@1.1.0:', type=('build', 'run'))
depends_on('r-vctrs', when='@1.4.0:', type=('build', 'run'))
+ depends_on('r-vctrs@0.2.0:', when='@1.4.7:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-pixmap/package.py b/var/spack/repos/builtin/packages/r-pixmap/package.py
new file mode 100644
index 0000000000..29b7741291
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-pixmap/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RPixmap(RPackage):
+ """Bitmap Images ("Pixel Maps")
+
+ Functions for import, export, plotting and other manipulations of bitmapped
+ images."""
+
+ homepage = "https://cloud.r-project.org/package=pixmap"
+ url = "https://cloud.r-project.org/src/contrib/pixmap_0.4-11.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/pixmap"
+
+ version('0.4-11', sha256='6fa010749a59cdf56aad9f81271473b7d55697036203f2cd5d81372bcded7412')
diff --git a/var/spack/repos/builtin/packages/r-pkgbuild/package.py b/var/spack/repos/builtin/packages/r-pkgbuild/package.py
index 5dd2a8c97e..996930935e 100644
--- a/var/spack/repos/builtin/packages/r-pkgbuild/package.py
+++ b/var/spack/repos/builtin/packages/r-pkgbuild/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,17 @@ from spack import *
class RPkgbuild(RPackage):
- """pkgbuild: Find Tools Needed to Build R Packages"""
+ """Find Tools Needed to Build R Packages
+
+ Provides functions used to build R packages. Locates compilers needed to
+ build R packages on various platforms and ensures the PATH is configured
+ appropriately so R can use them."""
homepage = "https://cloud.r-project.org/package=pkgbuild"
url = "https://cloud.r-project.org/src/contrib/pkgbuild_1.0.3.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/pkgbuild/"
+ version('1.2.0', sha256='2e19308d3271fefd5e118c6d132d6a2511253b903620b5417892c72d2010a963')
version('1.0.8', sha256='b149fcf3e98ef148945ff9f4272512cd03e21408c235ec6c0548167fd41219a1')
version('1.0.4', sha256='2934efa5ff9ccfe1636d360aedec36713f3bb3128a493241dbb728d842ea3b5f')
version('1.0.3', sha256='c93aceb499886e42bcd61eb7fb59e47a76c9ba5ab5349a426736d46c8ce21f4d')
diff --git a/var/spack/repos/builtin/packages/r-pkgconfig/package.py b/var/spack/repos/builtin/packages/r-pkgconfig/package.py
index 6e28f7cb15..6512c82df3 100644
--- a/var/spack/repos/builtin/packages/r-pkgconfig/package.py
+++ b/var/spack/repos/builtin/packages/r-pkgconfig/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,15 @@ from spack import *
class RPkgconfig(RPackage):
- """Set configuration options on a per-package basis. Options set by a
- given package only apply to that package,
- other packages are unaffected."""
+ """Private Configuration for 'R' Packages
+
+ Set configuration options on a per-package basis. Options set by a given
+ package only apply to that package, other packages are unaffected."""
homepage = "https://cloud.r-project.org/package=pkgconfig"
url = "https://cloud.r-project.org/src/contrib/pkgconfig_2.0.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/pkgconfig"
+ version('2.0.3', sha256='330fef440ffeb842a7dcfffc8303743f1feae83e8d6131078b5a44ff11bc3850')
version('2.0.2', sha256='25997754d1adbe7a251e3bf9879bb52dced27dd8b84767d558f0f644ca8d69ca')
version('2.0.1', sha256='ab02b2a4b639ba94dcba882a059fe9cddae5498a4309841f764b62ec46ba5a40')
diff --git a/var/spack/repos/builtin/packages/r-pkgload/package.py b/var/spack/repos/builtin/packages/r-pkgload/package.py
index 324584a242..918dcaa752 100644
--- a/var/spack/repos/builtin/packages/r-pkgload/package.py
+++ b/var/spack/repos/builtin/packages/r-pkgload/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,14 +7,21 @@ from spack import *
class RPkgload(RPackage):
- """pkgload: Simulate Package Installation and Attach"""
+ """Simulate Package Installation and Attach
+
+ Simulates the process of installing a package and then attaching it. This
+ is a key part of the 'devtools' package as it allows you to rapidly iterate
+ while developing a package."""
homepage = "https://cloud.r-project.org/package=pkgload"
url = "https://cloud.r-project.org/src/contrib/pkgload_1.0.2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/pkgload/"
+ version('1.1.0', sha256='189d460dbba2b35fa15dd59ce832df252dfa654a5acee0c9a8471b4d70477b0d')
version('1.0.2', sha256='3186564e690fb05eabe76e1ac0bfd4312562c3ac8794b29f8850399515dcf27c')
+ depends_on('r-cli', when='@1.1.0:', type=('build', 'run'))
+ depends_on('r-crayon', when='@1.1.0:', type=('build', 'run'))
depends_on('r-desc', type=('build', 'run'))
depends_on('r-pkgbuild', type=('build', 'run'))
depends_on('r-rlang', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-pkgmaker/package.py b/var/spack/repos/builtin/packages/r-pkgmaker/package.py
index e40752c2fd..480cec4b56 100644
--- a/var/spack/repos/builtin/packages/r-pkgmaker/package.py
+++ b/var/spack/repos/builtin/packages/r-pkgmaker/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RPkgmaker(RPackage):
- """This package provides some low-level utilities to use for package
+ """Development Utilities for R Packages
+
+ This package provides some low-level utilities to use for package
development. It currently provides managers for multiple package specific
options and registries, vignette, unit test and bibtex related utilities.
It serves as a base package for packages like NMF, RcppOctave, doRNG, and
@@ -19,15 +21,17 @@ class RPkgmaker(RPackage):
url = "https://cloud.r-project.org/src/contrib/pkgmaker_0.27.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/pkgmaker"
+ version('0.32.2', sha256='ce45b22def771a9c90a414093823e6befe7e23489c500eeccee5154b44d3ef91')
version('0.27', sha256='17a289d8f596ba5637b07077b3bff22411a2c2263c0b7de59fe848666555ec6a')
depends_on('r@3.0.0:', type=('build', 'run'))
depends_on('r-registry', type=('build', 'run'))
depends_on('r-codetools', type=('build', 'run'))
depends_on('r-digest', type=('build', 'run'))
- depends_on('r-stringi', type=('build', 'run'))
- depends_on('r-magrittr', type=('build', 'run'))
depends_on('r-stringr', type=('build', 'run'))
depends_on('r-xtable', type=('build', 'run'))
depends_on('r-withr', type=('build', 'run'))
- depends_on('r-bibtex@0.4:', type=('build', 'run'))
+ depends_on('r-assertthat', when='@0.32.2:', type=('build', 'run'))
+ depends_on('r-stringi', when='@:0.27', type=('build', 'run'))
+ depends_on('r-magrittr', when='@:0.27', type=('build', 'run'))
+ depends_on('r-bibtex@0.4:', when='@:0.27', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-plogr/package.py b/var/spack/repos/builtin/packages/r-plogr/package.py
index 7e062a210e..f9798a0d89 100644
--- a/var/spack/repos/builtin/packages/r-plogr/package.py
+++ b/var/spack/repos/builtin/packages/r-plogr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-plot3d/package.py b/var/spack/repos/builtin/packages/r-plot3d/package.py
index 4b0fc46f94..b21d171e12 100644
--- a/var/spack/repos/builtin/packages/r-plot3d/package.py
+++ b/var/spack/repos/builtin/packages/r-plot3d/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,15 +7,19 @@ from spack import *
class RPlot3d(RPackage):
- """Functions for viewing 2-D and 3-D data, including perspective plots,
- slice plots, surface plots, scatter plots, etc. Includes data sets from
- oceanography."""
+ """Plotting Multi-Dimensional Data
+
+ Functions for viewing 2-D and 3-D data, including perspective plots, slice
+ plots, surface plots, scatter plots, etc. Includes data sets from
+ oceanography."""
homepage = "https://cloud.r-project.org/package=plot3D"
url = "https://cloud.r-project.org/src/contrib/plot3D_1.1.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/plot3D"
+ version('1.3', sha256='b9e4ec2789e34ad249318900e186868650e1a33466b385cb492a45466db3dfc9')
version('1.1.1', sha256='f6fe4a001387132626fc553ed1d5720d448b8064eb5a6917458a798e1d381632')
+ depends_on('r+X', type=('build', 'run'))
depends_on('r@2.15:', type=('build', 'run'))
depends_on('r-misc3d', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-plotly/package.py b/var/spack/repos/builtin/packages/r-plotly/package.py
index 173787f6d2..679fe67b2c 100644
--- a/var/spack/repos/builtin/packages/r-plotly/package.py
+++ b/var/spack/repos/builtin/packages/r-plotly/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,17 @@ from spack import *
class RPlotly(RPackage):
- """Easily translate 'ggplot2' graphs to an interactive web-based version
- and/or create custom web-based visualizations directly from R."""
+ """Create Interactive Web Graphics via 'plotly.js'
+
+ Create interactive web graphics from 'ggplot2' graphs and/or a custom
+ interface to the (MIT-licensed) JavaScript library 'plotly.js' inspired by
+ the grammar of graphics."""
homepage = "https://cloud.r-project.org/package=plotly"
url = "https://cloud.r-project.org/src/contrib/plotly_4.7.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/plotly"
+ version('4.9.3', sha256='d44d1a16d96de28bc2d36f1c897384215eeec44d109546c6e9c2707db0880120')
version('4.9.0', sha256='f761148338231f210fd7fe2f8325ffe9cfdaaaeddd7b933b65c44ebb4f85e2cf')
version('4.8.0', sha256='78f90282c831bbbb675ed4811fb506a98dd05e37251fabd42ebc263c80bae8a6')
version('4.7.1', sha256='7cd4b040f9bfd9356a8a2aba59ccf318cae6b5d94ded7463e2e823c10fa74972')
@@ -24,24 +28,26 @@ class RPlotly(RPackage):
depends_on('r@3.2.0:', type=('build', 'run'))
depends_on('r-ggplot2@3.0.0:', type=('build', 'run'))
- depends_on('r-httr', type=('build', 'run'))
- depends_on('r-base64enc', type=('build', 'run'))
- depends_on('r-htmltools@0.3.6:', type=('build', 'run'))
- depends_on('r-tidyr', type=('build', 'run'))
- depends_on('r-dplyr', type=('build', 'run'))
- depends_on('r-htmlwidgets@1.3:', type=('build', 'run'))
- depends_on('r-data-table', type=('build', 'run'))
- depends_on('r-hexbin', type=('build', 'run'))
- depends_on('r-purrr', type=('build', 'run'))
- depends_on('r-crosstalk', when='@4.6.0:', type=('build', 'run'))
depends_on('r-scales', type=('build', 'run'))
+ depends_on('r-httr', type=('build', 'run'))
+ depends_on('r-httr@1.3.0:', when='@4.9.3:', type=('build', 'run'))
depends_on('r-jsonlite@1.6:', type=('build', 'run'))
depends_on('r-magrittr', type=('build', 'run'))
depends_on('r-digest', type=('build', 'run'))
depends_on('r-viridislite', type=('build', 'run'))
+ depends_on('r-base64enc', type=('build', 'run'))
+ depends_on('r-htmltools@0.3.6:', type=('build', 'run'))
+ depends_on('r-htmlwidgets@1.3:', type=('build', 'run'))
+ depends_on('r-htmlwidgets@1.5.2.9001:', when='@4.9.3:', type=('build', 'run'))
+ depends_on('r-tidyr', type=('build', 'run'))
+ depends_on('r-rcolorbrewer', when='@4.6.0:', type=('build', 'run'))
+ depends_on('r-dplyr', type=('build', 'run'))
+ depends_on('r-vctrs', when='@4.9.3:', type=('build', 'run'))
depends_on('r-tibble', type=('build', 'run'))
depends_on('r-lazyeval@0.2.0:', type=('build', 'run'))
- depends_on('r-rcolorbrewer', when='@4.6.0:', type=('build', 'run'))
- depends_on('r-data-table', when='@4.7.0:', type=('build', 'run'))
depends_on('r-rlang', when='@4.8.0:', type=('build', 'run'))
+ depends_on('r-crosstalk', when='@4.6.0:', type=('build', 'run'))
+ depends_on('r-purrr', type=('build', 'run'))
+ depends_on('r-data-table', when='@4.7.0:', type=('build', 'run'))
depends_on('r-promises', when='@4.8.0:', type=('build', 'run'))
+ depends_on('r-hexbin', when='@:4.9.0', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-plotmo/package.py b/var/spack/repos/builtin/packages/r-plotmo/package.py
index 8bec6e3d51..c0c0c17e50 100644
--- a/var/spack/repos/builtin/packages/r-plotmo/package.py
+++ b/var/spack/repos/builtin/packages/r-plotmo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,8 +7,7 @@ from spack import *
class RPlotmo(RPackage):
- """plotmo: Plot a Model's Residuals, Response, and Partial Dependence
- Plots.
+ """Plot a Model's Residuals, Response, and Partial Dependence Plots.
Plot model surfaces for a wide variety of models using partial dependence
plots and other techniques. Also plot model residuals and other information
@@ -18,6 +17,7 @@ class RPlotmo(RPackage):
url = "https://cloud.r-project.org/src/contrib/plotmo_3.5.6.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/plotmo"
+ version('3.6.0', sha256='c05afcc442f9542868beea5c3c40fb93b049f9b61c42725b2a1e2bc750c241e3')
version('3.5.6', sha256='78f08dc897136d21fa8ade2acb6290351b569d29eb0592c7074c0be3cf2aa594')
depends_on('r@3.4.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-plotrix/package.py b/var/spack/repos/builtin/packages/r-plotrix/package.py
index 26da98bbf7..7cd72632e1 100644
--- a/var/spack/repos/builtin/packages/r-plotrix/package.py
+++ b/var/spack/repos/builtin/packages/r-plotrix/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,15 @@ from spack import *
class RPlotrix(RPackage):
- """Lots of plots, various labeling, axis and color scaling functions."""
+ """Various Plotting Functions
+
+ Lots of plots, various labeling, axis and color scaling functions."""
homepage = "https://cloud.r-project.org/package=plotrix"
url = "https://cloud.r-project.org/src/contrib/plotrix_3.6-4.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/plotrix"
+ version('3.7-8', sha256='8ccd1f7e656413b9956cea614c986ce9cc61366deba356afb38cee6672a59480')
version('3.7-6', sha256='83d5f7574592953288b4fe39c4c0dd7670d097598ad7f6bddbb0687a32954e46')
version('3.7-5', sha256='b22f3f9d93961d23ad46e41597d1e45d2665ced04dcad8c40f6806a67cded14c')
version('3.6-4', sha256='883b7d0a00c1b2b418f9167c72ed9e86eca3c9865d34158a7a6ad0b9bf95bff3')
diff --git a/var/spack/repos/builtin/packages/r-pls/package.py b/var/spack/repos/builtin/packages/r-pls/package.py
index 7a82c84cd0..25437988fc 100644
--- a/var/spack/repos/builtin/packages/r-pls/package.py
+++ b/var/spack/repos/builtin/packages/r-pls/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RPls(RPackage):
- """Multivariate regression methods Partial Least Squares Regression (PLSR),
+ """Partial Least Squares and Principal Component Regression
+
+ Multivariate regression methods Partial Least Squares Regression (PLSR),
Principal Component Regression (PCR) and Canonical Powered Partial Least
Squares (CPPLS)."""
@@ -15,6 +17,7 @@ class RPls(RPackage):
url = "https://cloud.r-project.org/src/contrib/pls_2.6-0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/pls"
+ version('2.7-3', sha256='8f1d960ab74f05fdd11c4c7a3d30ff9e263fc658f5690b67278ca7c045d0742c')
version('2.7-1', sha256='f8fd817fc2aa046970c49a9a481489a3a2aef8b6f09293fb1f0218f00bfd834b')
version('2.7-0', sha256='5ddc1249a14d69a7a39cc4ae81595ac8c0fbb1e46c911af67907baddeac35875')
version('2.6-0', sha256='3d8708fb7f45863d3861fd231e06955e6750bcbe717e1ccfcc6d66d0cb4d4596')
diff --git a/var/spack/repos/builtin/packages/r-plyr/package.py b/var/spack/repos/builtin/packages/r-plyr/package.py
index 041d02841a..6ecde52bcb 100644
--- a/var/spack/repos/builtin/packages/r-plyr/package.py
+++ b/var/spack/repos/builtin/packages/r-plyr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RPlyr(RPackage):
- """A set of tools that solves a common set of problems: you need to break a
+ """Tools for Splitting, Applying and Combining Data
+
+ A set of tools that solves a common set of problems: you need to break a
big problem down into manageable pieces, operate on each piece and then put
all the pieces back together. For example, you might want to fit a model to
each spatial location or time point in your study, summarise data by panels
@@ -19,6 +21,7 @@ class RPlyr(RPackage):
url = "https://cloud.r-project.org/src/contrib/plyr_1.8.4.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/plyr"
+ version('1.8.6', sha256='ea55d26f155443e9774769531daa5d4c20a0697bb53abd832e891b126c935287')
version('1.8.4', sha256='60b522d75961007658c9806f8394db27989f1154727cb0bb970062c96ec9eac5')
depends_on('r@3.1.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-pmcmr/package.py b/var/spack/repos/builtin/packages/r-pmcmr/package.py
index 1cd813915f..bb675ee026 100644
--- a/var/spack/repos/builtin/packages/r-pmcmr/package.py
+++ b/var/spack/repos/builtin/packages/r-pmcmr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-png/package.py b/var/spack/repos/builtin/packages/r-png/package.py
index 025edb46c7..b49ec79282 100644
--- a/var/spack/repos/builtin/packages/r-png/package.py
+++ b/var/spack/repos/builtin/packages/r-png/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-polspline/package.py b/var/spack/repos/builtin/packages/r-polspline/package.py
index 358d3e8d1a..5f06af820d 100644
--- a/var/spack/repos/builtin/packages/r-polspline/package.py
+++ b/var/spack/repos/builtin/packages/r-polspline/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,15 +7,17 @@ from spack import *
class RPolspline(RPackage):
- """Routines for the polynomial spline fitting routines hazard regression,
- hazard estimation with flexible tails, logspline, lspec, polyclass,
- and polymars, by C. Kooperberg and co-authors.
- """
+ """Polynomial Spline Routines
+
+ Routines for the polynomial spline fitting routines hazard regression,
+ hazard estimation with flexible tails, logspline, lspec, polyclass, and
+ polymars, by C. Kooperberg and co-authors."""
homepage = "https://cloud.r-project.org/package=polspline"
url = "https://cloud.r-project.org/src/contrib/polspline_1.1.18.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/polspline"
+ version('1.1.19', sha256='953e3c4d007c3ef86ac2af3c71b272a99e8e35b194bdd58575785558c6711f66')
version('1.1.18', sha256='df250ee144bfff154249ba50308f46863107ef3efb2333ad908e599ed0eb0102')
version('1.1.17', sha256='d67b269d01105d4a6ea774737e921e66e065a859d1931ae38a70f88b6fb7ee30')
version('1.1.16', sha256='aa3b5a1560008a1a401a65a25f19a27ba6f0a6ea185b6d093acd40e4e2818934')
diff --git a/var/spack/repos/builtin/packages/r-polyclip/package.py b/var/spack/repos/builtin/packages/r-polyclip/package.py
index 947b290bcd..9b61268b36 100644
--- a/var/spack/repos/builtin/packages/r-polyclip/package.py
+++ b/var/spack/repos/builtin/packages/r-polyclip/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-polynom/package.py b/var/spack/repos/builtin/packages/r-polynom/package.py
index 3822185641..a52932716e 100644
--- a/var/spack/repos/builtin/packages/r-polynom/package.py
+++ b/var/spack/repos/builtin/packages/r-polynom/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-popgenome/package.py b/var/spack/repos/builtin/packages/r-popgenome/package.py
index 1db5b5fbf1..1b3dbce1bf 100644
--- a/var/spack/repos/builtin/packages/r-popgenome/package.py
+++ b/var/spack/repos/builtin/packages/r-popgenome/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,16 +7,23 @@ from spack import *
class RPopgenome(RPackage):
- """PopGenome is an efficient Swiss army knife for population genetics data
- analysis, able to process individual loci, large sets of loci, or whole
- genomes."""
+ """An Efficient Swiss Army Knife for Population Genomic Analyses
+
+ Provides efficient tools for population genomics data analysis, able to
+ process individual loci, large sets of loci, or whole genomes. PopGenome
+ <DOI:10.1093/molbev/msu136> not only implements a wide range of population
+ genetics statistics, but also facilitates the easy implementation of new
+ algorithms by other researchers. PopGenome is optimized for speed via the
+ seamless integration of C code."""
homepage = "https://popgenome.weebly.com"
url = "https://cloud.r-project.org/src/contrib/PopGenome_2.6.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/PopGenome"
+ version('2.7.5', sha256='d627b8ac87b4db6038d7349b2df20648d2fcfd48e2dafcd7f4731d1b607cbc75')
version('2.7.1', sha256='a84903b151528fa026ccaba42ada22cd89babbc1824afd40269b7204e488a5fa')
version('2.6.1', sha256='7a2922ed505fa801117a153e479d246bcf4854b91c6ab0241acc620a9d779b1c')
depends_on('r@2.14.2:', type=('build', 'run'))
depends_on('r-ff', type=('build', 'run'))
+ depends_on('zlib')
diff --git a/var/spack/repos/builtin/packages/r-popvar/package.py b/var/spack/repos/builtin/packages/r-popvar/package.py
index 220b133f9f..8599337cea 100644
--- a/var/spack/repos/builtin/packages/r-popvar/package.py
+++ b/var/spack/repos/builtin/packages/r-popvar/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-powerlaw/package.py b/var/spack/repos/builtin/packages/r-powerlaw/package.py
index b38b9cd1ad..a5e1eac213 100644
--- a/var/spack/repos/builtin/packages/r-powerlaw/package.py
+++ b/var/spack/repos/builtin/packages/r-powerlaw/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,18 +7,22 @@ from spack import *
class RPowerlaw(RPackage):
- """An implementation of maximum likelihood estimators for a variety of
- heavy tailed distributions, including both the discrete and continuous
- power law distributions. Additionally, a goodness-of-fit based approach
- is used to estimate the lower cut-off for the scaling region."""
+ """Analysis of Heavy Tailed Distributions
+
+ An implementation of maximum likelihood estimators for a variety of heavy
+ tailed distributions, including both the discrete and continuous power law
+ distributions. Additionally, a goodness-of-fit based approach is used to
+ estimate the lower cut-off for the scaling region."""
homepage = "https://github.com/csgillespie/poweRlaw"
url = "https://cloud.r-project.org/src/contrib/poweRlaw_0.70.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/poweRlaw"
+ version('0.70.6', sha256='efc091449c5c6494c1c13c85a8eb95625d1c55ffffebe86c7ea16e4abbafa191')
version('0.70.2', sha256='240f1454389b1a00ad483fb63e5b53243cc9367f21a3e7253ab2c293673459ab')
version('0.70.1', sha256='15b1b8dadeb550c01b9f1308cfa64720be6fbf56afb80f6a096987d6a0055913')
depends_on('r@3.1.0:', when='@:0.70.1', type=('build', 'run'))
depends_on('r@3.4.0:', when='@0.70.2:', type=('build', 'run'))
- depends_on('r-vgam', type=('build', 'run'))
+ depends_on('r-pracma', when='@0.70.6:', type=('build', 'run'))
+ depends_on('r-vgam', when='@:0.70.2', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-prabclus/package.py b/var/spack/repos/builtin/packages/r-prabclus/package.py
index 80f90ba0ba..be3a4fcc63 100644
--- a/var/spack/repos/builtin/packages/r-prabclus/package.py
+++ b/var/spack/repos/builtin/packages/r-prabclus/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,12 +8,20 @@ from spack import *
class RPrabclus(RPackage):
"""prabclus: Functions for Clustering of Presence-Absence, Abundance and
- Multilocus Genetic Data"""
+ Multilocus Genetic Data
+
+ Distance-based parametric bootstrap tests for clustering with spatial
+ neighborhood information. Some distance measures, Clustering of
+ presence-absence, abundance and multilocus genetic data for species
+ delimitation, nearest neighbor based noise detection. Genetic distances
+ between communities. Tests whether various distance-based regressions are
+ equal. Try package?prabclus for on overview."""
homepage = "http://www.homepages.ucl.ac.uk/~ucakche"
url = "https://cloud.r-project.org/src/contrib/prabclus_2.2-6.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/prabclus"
+ version('2.3-2', sha256='f421bcbcb557281e0de4a06b15f9a496adb5c640e883c0f7bb12051efc69e441')
version('2.3-1', sha256='ef3294767d43bc3f72478fdaf0d1f13c8de18881bf9040c9f1add68af808b3c0')
version('2.2-7.1', sha256='2c5bf3bbb0d225e04c53bb0e11e9c2a6809f0e46d95b8f6dc14b9dd6a2452975')
version('2.2-6', sha256='41792980e40ba18204fab92d85120dcd468860e2204e52fb42636c6f7aee5a62')
diff --git a/var/spack/repos/builtin/packages/r-pracma/package.py b/var/spack/repos/builtin/packages/r-pracma/package.py
new file mode 100644
index 0000000000..bc96f8c85a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-pracma/package.py
@@ -0,0 +1,23 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RPracma(RPackage):
+ """Practical Numerical Math Functions
+
+ Provides a large number of functions from numerical analysis and linear
+ algebra, numerical optimization, differential equations, time series, plus
+ some well-known special mathematical functions. Uses 'MATLAB' function
+ names where appropriate to simplify porting."""
+
+ homepage = "https://cloud.r-project.org/package=pracma"
+ url = "https://cloud.r-project.org/src/contrib/pracma_2.2.9.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/pracma"
+
+ version('2.2.9', sha256='0cea0ff5e88643df121e07b9aebfe57084c61e11801680039752f371fe87bf1e')
+
+ depends_on('r@3.1.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-praise/package.py b/var/spack/repos/builtin/packages/r-praise/package.py
index 543962196f..c437377f32 100644
--- a/var/spack/repos/builtin/packages/r-praise/package.py
+++ b/var/spack/repos/builtin/packages/r-praise/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-preprocesscore/package.py b/var/spack/repos/builtin/packages/r-preprocesscore/package.py
index 91a47310d0..2391db4cea 100644
--- a/var/spack/repos/builtin/packages/r-preprocesscore/package.py
+++ b/var/spack/repos/builtin/packages/r-preprocesscore/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,14 @@ from spack import *
class RPreprocesscore(RPackage):
- """A collection of pre-processing functions.
+ """A collection of pre-processing functions
A library of core preprocessing routines."""
homepage = "https://bioconductor.org/packages/preprocessCore"
git = "https://git.bioconductor.org/packages/preprocessCore.git"
+ version('1.52.1', commit='91de4ab67315dc2af68554ae3c48823f4b1ea8ac')
version('1.46.0', commit='8cfc3938c1b08424587f437ed6cd2ec43512500e')
version('1.44.0', commit='dc1dc61fc562aaff3fd9b11ab0d48c2d6b3a5b81')
version('1.42.0', commit='2e3a8baeacfaa1526d51252642772ea951015bba')
diff --git a/var/spack/repos/builtin/packages/r-prettyunits/package.py b/var/spack/repos/builtin/packages/r-prettyunits/package.py
index 283a538c2c..102954be10 100644
--- a/var/spack/repos/builtin/packages/r-prettyunits/package.py
+++ b/var/spack/repos/builtin/packages/r-prettyunits/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,15 +7,18 @@ from spack import *
class RPrettyunits(RPackage):
- """Pretty, human readable formatting of quantities. Time intervals:
- 1337000 -> 15d 11h 23m 20s. Vague time intervals: 2674000 -> about
- a month ago. Bytes: 1337 -> 1.34 kB."""
+ """Pretty, Human Readable Formatting of Quantities
+
+ Pretty, human readable formatting of quantities. Time intervals: 1337000 ->
+ 15d 11h 23m 20s. Vague time intervals: 2674000 -> about a month ago. Bytes:
+ 1337 -> 1.34 kB."""
homepage = "https://cloud.r-project.org/package=prettyunits"
url = "https://cloud.r-project.org/src/contrib/prettyunits_1.0.2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/prettyunits"
+ version('1.1.1', sha256='9a199aa80c6d5e50fa977bc724d6e39dae1fc597a96413053609156ee7fb75c5')
version('1.0.2', sha256='35a4980586c20650538ae1e4fed4d80fdde3f212b98546fc3c7d9469a1207f5c')
- depends_on('r-magrittr', type=('build', 'run'))
- depends_on('r-assertthat', type=('build', 'run'))
+ depends_on('r-magrittr', when='@:1.0.2', type=('build', 'run'))
+ depends_on('r-assertthat', when='@:1.0.2', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-proc/package.py b/var/spack/repos/builtin/packages/r-proc/package.py
new file mode 100644
index 0000000000..a0255604cf
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-proc/package.py
@@ -0,0 +1,25 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RProc(RPackage):
+ """Display and Analyze ROC Curves
+
+ Tools for visualizing, smoothing and comparing receiver operating
+ characteristic (ROC curves). (Partial) area under the curve (AUC) can be
+ compared with statistical tests based on U-statistics or bootstrap.
+ Confidence intervals can be computed for (p)AUC or ROC curves."""
+
+ homepage = "http://expasy.org/tools/pROC/"
+ url = "https://cloud.r-project.org/src/contrib/pROC_1.17.0.1.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/pROC"
+
+ version('1.17.0.1', sha256='221c726ffb81b04b999905effccfd3a223cd73cae70d7d86688e2dd30e51a6bd')
+
+ depends_on('r@2.14:', type=('build', 'run'))
+ depends_on('r-plyr', type=('build', 'run'))
+ depends_on('r-rcpp@0.11.1:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-processx/package.py b/var/spack/repos/builtin/packages/r-processx/package.py
index 88b4e95a38..fedf36d281 100644
--- a/var/spack/repos/builtin/packages/r-processx/package.py
+++ b/var/spack/repos/builtin/packages/r-processx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,20 @@ from spack import *
class RProcessx(RPackage):
- """Tools to run system processes in the background"""
+ """Execute and Control System Processes
+
+ Tools to run system processes in the background. It can check if a
+ background process is running; wait on a background process to finish; get
+ the exit status of finished processes; kill background processes. It can
+ read the standard output and error of the processes, using non-blocking
+ connections. 'processx' can poll a process for standard output or error,
+ with a timeout. It can also poll several processes at once."""
homepage = "https://github.com/r-lib/processx"
url = "https://cloud.r-project.org/src/contrib/processx_3.2.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/processx"
+ version('3.4.5', sha256='e368103aa6a6894bfa8e78b12a25598464bcd2c19a8b6334f24ee397db13bb14')
version('3.4.1', sha256='f1abddb48fa78f2b176552e2ec5d808d4d87d79ce72e9b3d25c9a7d715bbd1bc')
version('3.3.1', sha256='6123dbdf9f3bb6e5e8678980fb4587dcefb56d2190adf2ef494d7cd199720bae')
version('3.2.0', sha256='c4ba602fcbdc032ae9d94701b3e6b83a2dab1b53d0b4f9937b07a84eae22fddf')
@@ -21,8 +29,8 @@ class RProcessx(RPackage):
version('2.0.0.1', sha256='8f61b2952d0f2d13c74465bfba174ce11eee559475c2f7b9be6bcb9e2e1d827b')
version('2.0.0', sha256='8325b56a60a276909228756281523cda9256bc754c5f3ca03b41c5c17cc398ad')
- depends_on('r-assertthat', when='@:3.2.9', type=('build', 'run'))
- depends_on('r-crayon', when='@:3.2.9', type=('build', 'run'))
depends_on('r-ps@1.2.0:', when='@3.2.0:', type=('build', 'run'))
depends_on('r-r6', type=('build', 'run'))
+ depends_on('r-assertthat', when='@:3.2.9', type=('build', 'run'))
+ depends_on('r-crayon', when='@:3.2.9', type=('build', 'run'))
depends_on('r-debugme', when='@:3.0.9', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-prodlim/package.py b/var/spack/repos/builtin/packages/r-prodlim/package.py
index 97105f4c6c..de2292db56 100644
--- a/var/spack/repos/builtin/packages/r-prodlim/package.py
+++ b/var/spack/repos/builtin/packages/r-prodlim/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RProdlim(RPackage):
- """Product-Limit Estimation for Censored Event History Analysis. Fast and
+ """Product-Limit Estimation for Censored Event History Analysis
+
+ Product-Limit Estimation for Censored Event History Analysis. Fast and
user friendly implementation of nonparametric estimators for censored event
history (survival) analysis. Kaplan-Meier and Aalen-Johansen method."""
@@ -15,6 +17,7 @@ class RProdlim(RPackage):
url = "https://cloud.r-project.org/src/contrib/prodlim_1.5.9.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/prodlim"
+ version('2019.11.13', sha256='6809924f503a14681de84730489cdaf9240d7951c64f5b98ca37dc1ce7809b0f')
version('2018.04.18', sha256='4b22b54fdf712439309be0ff74f63cde9080464667b00e19823372ac0fc254ab')
version('1.6.1', sha256='3f2665257118a3db8682731a500b1ae4d669af344672dc2037f987bee3cca154')
version('1.5.9', sha256='853644886c57102e7f6dd26b6e03e54bf3f9e126f54c76f8d63a3324811f7b42')
diff --git a/var/spack/repos/builtin/packages/r-progress/package.py b/var/spack/repos/builtin/packages/r-progress/package.py
index ffe455a611..368c39c81c 100644
--- a/var/spack/repos/builtin/packages/r-progress/package.py
+++ b/var/spack/repos/builtin/packages/r-progress/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-proj/package.py b/var/spack/repos/builtin/packages/r-proj/package.py
index 8a9cea0941..282cab5845 100644
--- a/var/spack/repos/builtin/packages/r-proj/package.py
+++ b/var/spack/repos/builtin/packages/r-proj/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,21 +7,17 @@ from spack import *
class RProj(RPackage):
- """A wrapper around the generic coordinate transformation software 'PROJ'
- that transforms geospatial coordinates from one coordinate reference system
- ('CRS') to another. This includes cartographic projections as well as
- geodetic transformations. Version 6.0.0 or higher is required. The
- intention is for this package to be used by user-packages such as 'reproj',
- and that the older 'PROJ.4' and version 5 pathways be provided by the
- legacy package. The 'PROJ' library is available from
- <https://proj.org/>."""
+ """Generic Coordinate System Transformations Using 'PROJ'
+
+ Currently non-operational, a harmless wrapper to allow package 'reproj' to
+ install and function while relying on the 'proj4' package."""
homepage = "https://github.com/hypertidy/PROJ"
url = "https://cloud.r-project.org/src/contrib/PROJ_0.1.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/PROJ"
+ version('0.4.0', sha256='dde90cfeca83864e61a7422e1573d2d55bb0377c32b9a8f550f47b8631121ce7')
version('0.1.0', sha256='5186f221335e8092bbcd4d82bd323ee7e752c7c9cf83d3f94e4567e0b407aa6f')
depends_on('r@2.10:', type=('build', 'run'))
-
- depends_on('proj@6:')
+ depends_on('r@3.0.2:', when='@0.4.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-proj4/package.py b/var/spack/repos/builtin/packages/r-proj4/package.py
index ba3ad51c99..c9e58734ee 100644
--- a/var/spack/repos/builtin/packages/r-proj4/package.py
+++ b/var/spack/repos/builtin/packages/r-proj4/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RProj4(RPackage):
- """A simple interface to lat/long projection and datum transformation of
+ """A simple interface to the PROJ.4 cartographic projections library
+
+ A simple interface to lat/long projection and datum transformation of
the PROJ.4 cartographic projections library. It allows transformation of
geographic coordinates from one projection and/or datum to another."""
@@ -15,8 +17,8 @@ class RProj4(RPackage):
url = "https://cloud.r-project.org/src/contrib/proj4_1.0-8.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/proj4"
+ version('1.0-10', sha256='5f396f172a17cfa9821a390f11ff7d3bff3c92ccf585572116dec459c621d1d0')
version('1.0-8.1', sha256='a3a2a8f0014fd79fa34b5957440fd38299d8e97f1a802a61a068a6c6cda10a7e')
depends_on('r@2.0.0:', type=('build', 'run'))
-
- depends_on('proj@:5')
+ depends_on('proj@4.4.6:5')
diff --git a/var/spack/repos/builtin/packages/r-promises/package.py b/var/spack/repos/builtin/packages/r-promises/package.py
index 9c21434a2f..24de999410 100644
--- a/var/spack/repos/builtin/packages/r-promises/package.py
+++ b/var/spack/repos/builtin/packages/r-promises/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RPromises(RPackage):
- """Provides fundamental abstractions for doing asynchronous programming in
+ """Abstractions for Promise-Based Asynchronous Programming
+
+ Provides fundamental abstractions for doing asynchronous programming in
R using promises. Asynchronous programming is useful for allowing a single
R process to orchestrate multiple tasks in the background while also
attending to something else. Semantics are similar to 'JavaScript'
@@ -17,6 +19,7 @@ class RPromises(RPackage):
url = "https://cloud.r-project.org/src/contrib/promises_1.0.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/promises"
+ version('1.1.1', sha256='3718c6eb2c3362cbe89389e613118f783f9977dbf24757f85026e661199c5800')
version('1.0.1', sha256='c2dbc7734adf009377a41e570dfe0d82afb91335c9d0ca1ef464b9bdcca65558')
depends_on('r-r6', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-protgenerics/package.py b/var/spack/repos/builtin/packages/r-protgenerics/package.py
index fed08cdd6d..c439f381b6 100644
--- a/var/spack/repos/builtin/packages/r-protgenerics/package.py
+++ b/var/spack/repos/builtin/packages/r-protgenerics/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,14 @@ from spack import *
class RProtgenerics(RPackage):
- """S4 generic functions for Bioconductor proteomics infrastructure.
+ """S4 generic functions for Bioconductor proteomics infrastructure
S4 generic functions needed by Bioconductor proteomics packages."""
homepage = "https://bioconductor.org/packages/ProtGenerics"
git = "https://git.bioconductor.org/packages/ProtGenerics.git"
+ version('1.22.0', commit='2bb3011fb0d79536e1c50251084a7057004449c6')
version('1.16.0', commit='960a5fdc586898513b5ae9c48fffba5c5d703723')
version('1.14.0', commit='c85940b70a16ad69275c4facb3ef673d20a1c998')
version('1.12.0', commit='e84382a4b1730409f572fb681b5070017d00d30d')
diff --git a/var/spack/repos/builtin/packages/r-proto/package.py b/var/spack/repos/builtin/packages/r-proto/package.py
index 4c834fa39c..5f600a5ebb 100644
--- a/var/spack/repos/builtin/packages/r-proto/package.py
+++ b/var/spack/repos/builtin/packages/r-proto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-proxy/package.py b/var/spack/repos/builtin/packages/r-proxy/package.py
index 79841fc9ab..78af781534 100644
--- a/var/spack/repos/builtin/packages/r-proxy/package.py
+++ b/var/spack/repos/builtin/packages/r-proxy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,16 +7,18 @@ from spack import *
class RProxy(RPackage):
- """Provides an extensible framework for the efficient calculation of
- auto- and cross-proximities, along with implementations of the most
- popular ones."""
+ """Distance and Similarity Measures
+
+ Provides an extensible framework for the efficient calculation of auto- and
+ cross-proximities, along with implementations of the most popular ones."""
homepage = "https://cloud.r-project.org/package=proxy"
url = "https://cloud.r-project.org/src/contrib/proxy_0.4-19.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/proxy"
+ version('0.4-24', sha256='8cff9bf036475941a7c44ba9bb5e2f6d4777d49ab3daaeb52d23f4b2af6d9c7c')
version('0.4-23', sha256='9dd4eb0978f40e4fcb55c8a8a26266d32eff9c63ac9dfe70cf1f664ca9c3669d')
version('0.4-19', sha256='6b27e275018366e6024382704da9a9757c8878535dbcd7d450824b70e2e34d51')
- depends_on('r@3.3.2:', when='@:0.4-20', type=('build', 'run'))
+ depends_on('r@3.3.2:', type=('build', 'run'))
depends_on('r@3.4.0:', when='@0.4-21:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-pryr/package.py b/var/spack/repos/builtin/packages/r-pryr/package.py
index b8666bf622..a1da51a226 100644
--- a/var/spack/repos/builtin/packages/r-pryr/package.py
+++ b/var/spack/repos/builtin/packages/r-pryr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-ps/package.py b/var/spack/repos/builtin/packages/r-ps/package.py
index d5279b1afe..c3bd20c85a 100644
--- a/var/spack/repos/builtin/packages/r-ps/package.py
+++ b/var/spack/repos/builtin/packages/r-ps/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,16 @@ from spack import *
class RPs(RPackage):
- """Manipulate processes on Windows, Linux and MacOS"""
+ """List, Query, Manipulate System Processes
+
+ List, query and manipulate all system processes, on 'Windows', 'Linux' and
+ 'macOS'."""
homepage = "https://github.com/r-lib/ps"
url = "https://cloud.r-project.org/src/contrib/ps_1.1.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/ps"
+ version('1.5.0', sha256='7461a196f55557feda569a9791ad851c884f9a2dd71671655ed17cb048fafe96')
version('1.3.0', sha256='289193d0ccd2db0b6fe8702e8c5711e935219b17f90f01a6e9684982413e98d1')
version('1.2.1', sha256='bd7207164e6557a9e4213c4b00dc5dc23d7705ab290569765998640b16a3beff')
version('1.1.0', sha256='5d5240d5bf1d48c721b3fdf47cfc9dbf878e388ea1f057b764db05bffdc4a9fe')
diff --git a/var/spack/repos/builtin/packages/r-pscbs/package.py b/var/spack/repos/builtin/packages/r-pscbs/package.py
index c3197b7795..b638faa148 100644
--- a/var/spack/repos/builtin/packages/r-pscbs/package.py
+++ b/var/spack/repos/builtin/packages/r-pscbs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-pspline/package.py b/var/spack/repos/builtin/packages/r-pspline/package.py
index 7a33098c15..951b106d0a 100644
--- a/var/spack/repos/builtin/packages/r-pspline/package.py
+++ b/var/spack/repos/builtin/packages/r-pspline/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-psych/package.py b/var/spack/repos/builtin/packages/r-psych/package.py
index 79c171ca9c..b7da499850 100644
--- a/var/spack/repos/builtin/packages/r-psych/package.py
+++ b/var/spack/repos/builtin/packages/r-psych/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,33 +7,34 @@ from spack import *
class RPsych(RPackage):
- """A general purpose toolbox for personality, psychometric theory and
- experimental psychology. Functions are primarily for multivariate
- analysis and scale construction using factor analysis, principal
- component analysis, cluster analysis and reliability analysis, although
- others provide basic descriptive statistics. Item Response Theory is
- done using factor analysis of tetrachoric and polychoric correlations.
- Functions for analyzing data at multiple levels include within and
- between group statistics, including correlations and factor analysis.
- Functions for simulating and testing particular item and test structures
- are included. Several functions serve as a useful front end for
- structural equation modeling. Graphical displays of path diagrams,
- factor analysis and structural equation models are created using basic
- graphics. Some of the functions are written to support a book on
- psychometric theory as well as publications in personality research.
- For more information, see the <http://personality-project.org/r> web
- page."""
+ """Procedures for Psychological, Psychometric, and Personality Research
+
+ A general purpose toolbox for personality, psychometric theory and
+ experimental psychology. Functions are primarily for multivariate analysis
+ and scale construction using factor analysis, principal component analysis,
+ cluster analysis and reliability analysis, although others provide basic
+ descriptive statistics. Item Response Theory is done using factor analysis
+ of tetrachoric and polychoric correlations. Functions for analyzing data
+ at multiple levels include within and between group statistics, including
+ correlations and factor analysis. Functions for simulating and testing
+ particular item and test structures are included. Several functions serve
+ as a useful front end for structural equation modeling. Graphical displays
+ of path diagrams, factor analysis and structural equation models are
+ created using basic graphics. Some of the functions are written to support
+ a book on psychometric theory as well as publications in personality
+ research. For more information, see the <http://personality-project.org/r>
+ web page."""
homepage = "http://personality-project.org/r/psych"
url = "https://cloud.r-project.org/src/contrib/psych_1.7.8.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/psych"
+ version('2.0.12', sha256='8a71d4a1d8bc8c96703f9b4515cfb497e1947c6e017cb08270a7cfb36ce1ad4c')
version('1.8.12', sha256='6e175e049bc1ee5b79a9e51ccafb22b962b4e6c839ce5c9cfa1ad83967037743')
version('1.8.10', sha256='e8901ddab14729bfccbd82a8824fbb6523c10c2cd8fb7199b1ca56a7ffcb6e58')
version('1.7.8', sha256='f328ea602e22b0e7e5f310a8d19f305d8e0a3a86040cdfb64863b68b56d55135')
- depends_on('r@2.10:', type=('build', 'run'))
depends_on('r-mnormt', type=('build', 'run'))
- depends_on('r-foreign', type=('build', 'run'))
depends_on('r-lattice', type=('build', 'run'))
depends_on('r-nlme', type=('build', 'run'))
+ depends_on('r-foreign', when='@:1.8.12', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-ptw/package.py b/var/spack/repos/builtin/packages/r-ptw/package.py
index 424bb0fb10..63795cd79f 100644
--- a/var/spack/repos/builtin/packages/r-ptw/package.py
+++ b/var/spack/repos/builtin/packages/r-ptw/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,21 +7,25 @@ from spack import *
class RPtw(RPackage):
- """Parametric Time Warping aligns patterns, i.e. it aims to put
- corresponding features at the same locations. The algorithm
- searches for an optimal polynomial describing the warping. It is
- possible to align one sample to a reference, several samples to
- the same reference, or several samples to several references.
- One can choose between calculating individual warpings, or one
- global warping for a set of samples and one reference. Two
- optimization criteria are implemented: RMS (Root Mean Square
- error) and WCC (Weighted Cross Correlation). Both warping of
- peak profiles and of peak lists are supported."""
+ """Parametric Time Warping
+
+ Parametric Time Warping aligns patterns, i.e. it aims to put corresponding
+ features at the same locations. The algorithm searches for an optimal
+ polynomial describing the warping. It is possible to align one sample to a
+ reference, several samples to the same reference, or several samples to
+ several references. One can choose between calculating individual warpings,
+ or one global warping for a set of samples and one reference. Two
+ optimization criteria are implemented: RMS (Root Mean Square error) and WCC
+ (Weighted Cross Correlation). Both warping of peak profiles and of peak
+ lists are supported. A vignette for the latter is contained in the inst/doc
+ directory of the source package - the vignette source can be found on the
+ package github site."""
homepage = "https://cloud.r-project.org/package=ptw"
url = "https://cloud.r-project.org/src/contrib/ptw_1.9-12.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/ptw"
+ version('1.9-15', sha256='22fa003f280bc000f46bca88d69bf332b29bc68435115ba8044533b70bfb7b46')
version('1.9-13', sha256='7855e74a167db3d3eba9df9d9c3daa25d7cf487cbcfe8b095f16d96eba862f46')
version('1.9-12', sha256='cdb1752e04e661e379f11867b0a17e2177e9ee647c54bbcc37d39d6b8c062b84')
diff --git a/var/spack/repos/builtin/packages/r-purrr/package.py b/var/spack/repos/builtin/packages/r-purrr/package.py
index 24e3145aac..33c78cb8ac 100644
--- a/var/spack/repos/builtin/packages/r-purrr/package.py
+++ b/var/spack/repos/builtin/packages/r-purrr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-qtl/package.py b/var/spack/repos/builtin/packages/r-qtl/package.py
index 43db132843..e4ae155dd2 100644
--- a/var/spack/repos/builtin/packages/r-qtl/package.py
+++ b/var/spack/repos/builtin/packages/r-qtl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,17 @@ from spack import *
class RQtl(RPackage):
- """qtl: Tools for Analyzing QTL Experiments"""
+ """Tools for Analyzing QTL Experiments
+
+ Analysis of experimental crosses to identify genes (called quantitative
+ trait loci, QTLs) contributing to variation in quantitative traits. Broman
+ et al. (2003) <doi:10.1093/bioinformatics/btg112>."""
homepage = "http://rqtl.org"
url = "https://cloud.r-project.org/src/contrib/qtl_1.44-9.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/qtl"
+ version('1.47-9', sha256='6ba4e7b40d946b3ab68d54624599284b1d352c86fb50d31b134826be758ece41')
version('1.44-9', sha256='315063f0c3fbb95cd2169eb4109ade0339e8f3c28670b38c3167214b9bdf950e')
depends_on('r@2.14.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-quadprog/package.py b/var/spack/repos/builtin/packages/r-quadprog/package.py
index 063b7a91a5..00df4d4617 100644
--- a/var/spack/repos/builtin/packages/r-quadprog/package.py
+++ b/var/spack/repos/builtin/packages/r-quadprog/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,16 @@ from spack import *
class RQuadprog(RPackage):
- """This package contains routines and documentation for solving
- quadratic programming problems."""
+ """Functions to Solve Quadratic Programming Problems
+
+ This package contains routines and documentation for solving quadratic
+ programming problems."""
homepage = "https://cloud.r-project.org/package=quadprog"
url = "https://cloud.r-project.org/src/contrib/quadprog_1.5-5.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/quadprog"
+ version('1.5-8', sha256='22128dd6b08d3516c44ff89276719ad4fe46b36b23fdd585274fa3a93e7a49cd')
version('1.5-7', sha256='1af41e57df6f2d08ee8b72a1a5ada137beadb36c7ec9ab9bdb7c05226e8ae76d')
version('1.5-6', sha256='1443e5ffdf884b13dd454e4f6aa260fce6ec47e6845d85b62238c206ce57dcba')
version('1.5-5', sha256='d999620688354c283de5bb305203f5db70271b4dfdc23577cae8c2ba94c9e349')
diff --git a/var/spack/repos/builtin/packages/r-quantmod/package.py b/var/spack/repos/builtin/packages/r-quantmod/package.py
index c173d4a783..0bd09828a9 100644
--- a/var/spack/repos/builtin/packages/r-quantmod/package.py
+++ b/var/spack/repos/builtin/packages/r-quantmod/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,16 @@ from spack import *
class RQuantmod(RPackage):
- """Specify, build, trade, and analyse quantitative financial trading
+ """Quantitative Financial Modelling Framework
+
+ Specify, build, trade, and analyse quantitative financial trading
strategies."""
homepage = "http://www.quantmod.com/"
url = "https://cloud.r-project.org/src/contrib/quantmod_0.4-5.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/quantmod"
+ version('0.4.18', sha256='aa40448e93a1facf399213ac691784007731e869ad243fe762381ab099cd6c35')
version('0.4-15', sha256='7ef2e798d4d8e4d2af0a5b2b9fecebec30568087afbd24bfd923cdeb8b53df53')
version('0.4-14', sha256='d95b1acf73328d675bbad18a93fa3c40faf58959e0401458ad21cf6b9f9254b3')
version('0.4-10', sha256='030040aa567adaba1ea4a1f05eb45712dbdaabbabca72733e7fb2984051f688b')
diff --git a/var/spack/repos/builtin/packages/r-quantreg/package.py b/var/spack/repos/builtin/packages/r-quantreg/package.py
index 6f1fe145a7..aab3783303 100644
--- a/var/spack/repos/builtin/packages/r-quantreg/package.py
+++ b/var/spack/repos/builtin/packages/r-quantreg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,17 +7,19 @@ from spack import *
class RQuantreg(RPackage):
- """Estimation and inference methods for models of conditional quantiles:
- Linear and nonlinear parametric and non-parametric (total variation
- penalized) models for conditional quantiles of a univariate response
- and several methods for handling censored survival data. Portfolio
- selection methods based on expected shortfall risk are also
- included."""
+ """Quantile Regression
+
+ Estimation and inference methods for models of conditional quantiles:
+ Linear and nonlinear parametric and non-parametric (total variation
+ penalized) models for conditional quantiles of a univariate response and
+ several methods for handling censored survival data. Portfolio selection
+ methods based on expected shortfall risk are also now included."""
homepage = "https://cloud.r-project.org/package=quantreg"
url = "https://cloud.r-project.org/src/contrib/quantreg_5.29.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/quantreg"
+ version('5.82', sha256='eac34e1e34d00a24ed7cb6981af258a3afc561843c00501de3206b4540548c07')
version('5.51', sha256='df1330d245f66ee6d924b209bd4c15d44ff8cce52667959ec0d299975428bdb1')
version('5.42.1', sha256='4cc2b0883c52694e58fcfde83e30e4a54be9f4d9cbcf6138f6498cc8e0b3ccab')
version('5.40', sha256='86e310a235009ab85635dfb8803c175f80a35892e237db2525c4ef37a98936eb')
@@ -28,3 +30,4 @@ class RQuantreg(RPackage):
depends_on('r-sparsem', type=('build', 'run'))
depends_on('r-matrix', type=('build', 'run'))
depends_on('r-matrixmodels', type=('build', 'run'))
+ depends_on('r-conquer', when='@5.82:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-quantro/package.py b/var/spack/repos/builtin/packages/r-quantro/package.py
index b56af1b419..26cdd7dc00 100644
--- a/var/spack/repos/builtin/packages/r-quantro/package.py
+++ b/var/spack/repos/builtin/packages/r-quantro/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RQuantro(RPackage):
- """A test for when to use quantile normalization.
+ """A test for when to use quantile normalization
A data-driven test for the assumptions of quantile normalization using
raw data such as objects that inherit eSets (e.g. ExpressionSet,
@@ -19,6 +19,7 @@ class RQuantro(RPackage):
homepage = "https://bioconductor.org/packages/quantro"
git = "https://git.bioconductor.org/packages/quantro.git"
+ version('1.24.0', commit='c7c0180292156a01722d91b353da44324e72d68f')
version('1.18.0', commit='f6553c2296289eed31e4b2f32a082e990bdb8359')
version('1.16.0', commit='cfc2e853bdc3cc90fd35e153fe243892d50d61c6')
version('1.14.0', commit='2d43264b2a95ae8ca51a69d7768fe43b9f1b77bb')
@@ -26,6 +27,7 @@ class RQuantro(RPackage):
version('1.10.0', commit='111337c0aba052aa49c3d2e2d3042794b28858c9')
depends_on('r@3.1.3:', type=('build', 'run'))
+ depends_on('r@4.0:', when='@1.24.0:', type=('build', 'run'))
depends_on('r-biobase', type=('build', 'run'))
depends_on('r-minfi', type=('build', 'run'))
depends_on('r-doparallel', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-quickplot/package.py b/var/spack/repos/builtin/packages/r-quickplot/package.py
new file mode 100644
index 0000000000..4b014288f6
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-quickplot/package.py
@@ -0,0 +1,36 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RQuickplot(RPackage):
+ """A System of Plotting Optimized for Speed and Modularity
+
+ A high-level plotting system, built using 'grid' graphics, that
+ is optimized for speed and modularity. This has great utility
+ for quick visualizations when testing code, with the key benefit
+ that visualizations are updated independently of one another."""
+
+ homepage = "http://quickplot.predictiveecology.org/"
+ url = "https://cloud.r-project.org/src/contrib/quickPlot_0.1.6.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/quickPlot"
+
+ maintainers = ['dorton21']
+
+ version('0.1.6', sha256='48690a77ae961ed1032130621ef06b2eaf86ee592bf1057471a8c6d6a98ace55')
+
+ depends_on('r@3.3.0:', type=('build', 'run'))
+ depends_on('r-backports', type=('build', 'run'))
+ depends_on('r-data-table@1.10.4:', type=('build', 'run'))
+ depends_on('r-fpcompare', type=('build', 'run'))
+ depends_on('r-ggplot2', type=('build', 'run'))
+ depends_on('r-gridbase', type=('build', 'run'))
+ depends_on('r-igraph', type=('build', 'run'))
+ depends_on('r-raster', type=('build', 'run'))
+ depends_on('r-rcolorbrewer', type=('build', 'run'))
+ depends_on('r-rgdal', type=('build', 'run'))
+ depends_on('r-rgeos', type=('build', 'run'))
+ depends_on('r-sp', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-qvalue/package.py b/var/spack/repos/builtin/packages/r-qvalue/package.py
index 740a6cc996..600f210281 100644
--- a/var/spack/repos/builtin/packages/r-qvalue/package.py
+++ b/var/spack/repos/builtin/packages/r-qvalue/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RQvalue(RPackage):
- """Q-value estimation for false discovery rate control.
+ """Q-value estimation for false discovery rate control
This package takes a list of p-values resulting from the simultaneous
testing of many hypotheses and estimates their q-values and local FDR
@@ -24,6 +24,7 @@ class RQvalue(RPackage):
homepage = "https://bioconductor.org/packages/qvalue"
git = "https://git.bioconductor.org/packages/qvalue.git"
+ version('2.22.0', commit='b4bde8198252737b287fd7f9a4ed697f57fad92c')
version('2.16.0', commit='5efbe20ef522a45a7a04b681f72bb9a12e2747ae')
version('2.14.1', commit='b694e4b264f25250eb1d1115e70c07f65767c20e')
version('2.12.0', commit='7df64ebfcbe69dcbf8b88cb6ef0068bf16979673')
diff --git a/var/spack/repos/builtin/packages/r-r-cache/package.py b/var/spack/repos/builtin/packages/r-r-cache/package.py
index a27cf38bba..6831726129 100644
--- a/var/spack/repos/builtin/packages/r-r-cache/package.py
+++ b/var/spack/repos/builtin/packages/r-r-cache/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-r-methodss3/package.py b/var/spack/repos/builtin/packages/r-r-methodss3/package.py
index 5dc58406cc..ba532e8dd7 100644
--- a/var/spack/repos/builtin/packages/r-r-methodss3/package.py
+++ b/var/spack/repos/builtin/packages/r-r-methodss3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RRMethodss3(RPackage):
- """Methods that simplify the setup of S3 generic functions and
+ """S3 Methods Simplified
+
+ Methods that simplify the setup of S3 generic functions and
S3 methods. Major effort has been made in making definition of
methods as simple as possible with a minimum of maintenance for
package developers. For example, generic functions are created
@@ -21,6 +23,7 @@ class RRMethodss3(RPackage):
url = "https://cloud.r-project.org/src/contrib/R.methodsS3_1.7.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/R.methodsS3"
+ version('1.8.1', sha256='8a98fb81bcfa78193450f855f614f6f64e6c65daf115f301d97d1f474f5e619b')
version('1.7.1', sha256='44b840399266cd27f8f9157777b4d9d85ab7bd31bfdc143b3fc45079a2d8e687')
depends_on('r@2.13.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-r-oo/package.py b/var/spack/repos/builtin/packages/r-r-oo/package.py
index cedaafe72a..2e435f46cc 100644
--- a/var/spack/repos/builtin/packages/r-r-oo/package.py
+++ b/var/spack/repos/builtin/packages/r-r-oo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RROo(RPackage):
- """Methods and classes for object-oriented programming in R with
+ """R Object-Oriented Programming with or without References
+
+ Methods and classes for object-oriented programming in R with
or without references. Large effort has been made on making
definition of methods as simple as possible with a minimum of
maintenance for package developers. The package has been developed
@@ -19,9 +21,11 @@ class RROo(RPackage):
url = "https://cloud.r-project.org/src/contrib/R.oo_1.21.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/R.oo"
+ version('1.24.0', sha256='37a1dab8dd668ceba69a1ba36c0c60e9809e29b74bd56d1e8ed519e19c8e3bb6')
version('1.23.0', sha256='f5124ce3dbb0a62e8ef1bfce2de2d1dc2f776e8c48fd8cac358f7f5feb592ea1')
version('1.22.0', sha256='c0862e4608fb2b8f91ec4494d46c2f3ba7bc44999f9aa3d7b9625d3792e7dd4c')
version('1.21.0', sha256='645ceec2f815ed39650ca72db87fb4ece7357857875a4ec73e18bfaf647f431c')
depends_on('r@2.13.0:', type=('build', 'run'))
depends_on('r-r-methodss3@1.7.1:', type=('build', 'run'))
+ depends_on('r-r-methodss3@1.8.0:', when='@1.24.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-r-utils/package.py b/var/spack/repos/builtin/packages/r-r-utils/package.py
index a1e3743c97..8789546081 100644
--- a/var/spack/repos/builtin/packages/r-r-utils/package.py
+++ b/var/spack/repos/builtin/packages/r-r-utils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,16 +7,21 @@ from spack import *
class RRUtils(RPackage):
- """Utility functions useful when programming and
+ """Various Programming Utilities
+
+ Utility functions useful when programming and
developing R packages."""
homepage = "https://github.com/HenrikBengtsson/R.utils"
url = "https://cloud.r-project.org/src/contrib/R.utils_2.5.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/R.utils"
+ version('2.10.1', sha256='957a4f51998c79403a50f6a46266e6553bbf08757b26bf80603a423bceb45abf')
version('2.9.0', sha256='b2aacc5a55d3ea86c41ac576d2583e446af145f4cb1103ad7b6f95b09ab09ff0')
version('2.5.0', sha256='1ae1a0f0c6a4972bb2369a2dbccd29ade87d747255ff9cb5a0bd784a5be1039f')
depends_on('r@2.14.0:', type=('build', 'run'))
depends_on('r-r-oo@1.22.0:', type=('build', 'run'))
+ depends_on('r-r-oo@1.23.0:', when='@2.10.1:', type=('build', 'run'))
depends_on('r-r-methodss3@1.7.1:', type=('build', 'run'))
+ depends_on('r-r-methodss3@1.8.0:', when='@2.10.1:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-r6/package.py b/var/spack/repos/builtin/packages/r-r6/package.py
index 43429dc5c4..8445c1a792 100644
--- a/var/spack/repos/builtin/packages/r-r6/package.py
+++ b/var/spack/repos/builtin/packages/r-r6/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RR6(RPackage):
- """The R6 package allows the creation of classes with reference semantics,
+ """Encapsulated Classes with Reference Semantics
+
+ The R6 package allows the creation of classes with reference semantics,
similar to R's built-in reference classes. Compared to reference classes,
R6 classes are simpler and lighter-weight, and they are not built on S4
classes so they do not require the methods package. These classes allow
@@ -18,6 +20,7 @@ class RR6(RPackage):
url = "https://cloud.r-project.org/src/contrib/R6_2.2.2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/R6"
+ version('2.5.0', sha256='aec1af9626ec532cb883b544bf9eff4cb2d89c343c7ce0fa31761ec5a7882e02')
version('2.4.0', sha256='70be110174fbf5f5304049b186a6f9c05b77bfaec6d8caf980fcef5da6e0abce')
version('2.2.2', sha256='087756f471884c3b3ead80215a7cc5636a78b8a956e91675acfe2896426eae8f')
version('2.2.0', sha256='7d7bddc4303fafa99954182ccad938166d681499d4e9ae7001d21b0fd60d25c7')
diff --git a/var/spack/repos/builtin/packages/r-randomfields/package.py b/var/spack/repos/builtin/packages/r-randomfields/package.py
index 7856afa835..bce07e5956 100644
--- a/var/spack/repos/builtin/packages/r-randomfields/package.py
+++ b/var/spack/repos/builtin/packages/r-randomfields/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,18 +7,27 @@ from spack import *
class RRandomfields(RPackage):
- """Methods for the inference on and the simulation of Gaussian fields
- are provided, as well as methods for the simulation of extreme
- value random fields."""
+ """Simulation and Analysis of Random Fields
+
+ Methods for the inference on and the simulation of Gaussian fields are
+ provided, as well as methods for the simulation of extreme value random
+ fields. Main geostatistical parts are based on the books by Christian
+ Lantuejoul <doi:10.1007/978-3-662-04808-5>, Jean-Paul Chiles and Pierre
+ Delfiner <doi:10.1002/9781118136188> and Noel A. Cressie
+ <doi:10.1002/9781119115151>. For the extreme value random fields see
+ Oesting, Schlather, Schillings (2019) <doi.org/10.1002/sta4.228> and
+ Schlather (2002) <doi.org/10.1023/A:1020977924878>."""
homepage = "https://cloud.r-project.org/package=RandomFields"
url = "https://cloud.r-project.org/src/contrib/RandomFields_3.1.50.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/RandomFields"
+ version('3.3.8', sha256='8a08e2fdae428e354a29fb6818ae781cc56235a6849a0d29574dc756f73199d0')
version('3.3.6', sha256='51b7bfb4e5bd7fd0ce1207c77f428508a6cd3dfc9de01545a8724dfd9c050213')
version('3.3.4', sha256='a340d4f3ba7950d62acdfa19b9724c82e439d7b1a9f73340124038b7c90c73d4')
version('3.1.50', sha256='2d6a07c3a716ce20f9c685deb59e8fcc64fd52c8a50b0f04baf451b6b928e848')
depends_on('r@3.0:', type=('build', 'run'))
+ depends_on('r@3.5.0:', when='@3.3.8:', type=('build', 'run'))
depends_on('r-sp', type=('build', 'run'))
depends_on('r-randomfieldsutils@0.5.1:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-randomfieldsutils/package.py b/var/spack/repos/builtin/packages/r-randomfieldsutils/package.py
index aadecfe47b..ee2289bd5e 100644
--- a/var/spack/repos/builtin/packages/r-randomfieldsutils/package.py
+++ b/var/spack/repos/builtin/packages/r-randomfieldsutils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-randomforest/package.py b/var/spack/repos/builtin/packages/r-randomforest/package.py
index 78245e4aac..386dacff8b 100644
--- a/var/spack/repos/builtin/packages/r-randomforest/package.py
+++ b/var/spack/repos/builtin/packages/r-randomforest/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-randomglm/package.py b/var/spack/repos/builtin/packages/r-randomglm/package.py
index 461fa43d36..33ea5d79f2 100644
--- a/var/spack/repos/builtin/packages/r-randomglm/package.py
+++ b/var/spack/repos/builtin/packages/r-randomglm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-ranger/package.py b/var/spack/repos/builtin/packages/r-ranger/package.py
index eec92d0ac1..c855306df2 100644
--- a/var/spack/repos/builtin/packages/r-ranger/package.py
+++ b/var/spack/repos/builtin/packages/r-ranger/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,20 @@ from spack import *
class RRanger(RPackage):
- """A fast implementation of Random Forests, particularly suited for high
- dimensional data."""
+ """A Fast Implementation of Random Forests
+
+ A fast implementation of Random Forests, particularly suited for high
+ dimensional data. Ensembles of classification, regression, survival and
+ probability prediction trees are supported. Data from genome-wide
+ association studies can be analyzed efficiently. In addition to data
+ frames, datasets of class 'gwaa.data' (R package 'GenABEL') and 'dgCMatrix'
+ (R package 'Matrix') can be directly analyzed."""
homepage = "https://cloud.r-project.org/package=ranger"
url = "https://cloud.r-project.org/src/contrib/ranger_0.8.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/ranger"
+ version('0.12.1', sha256='fc308e0ac06718272799928e1a19612de16b05bde481d8f38e11a101df5425ef')
version('0.11.2', sha256='13ac8a9433fdd92f62f66de44abc52477dcbb436b2045c1947951a266bffbeeb')
version('0.11.1', sha256='999fb114602e27601ff0fe8ab461c39d667c6f5e8434e7feb3d21c7caf0dcffb')
version('0.8.0', sha256='7f0fdee2f2d553a0aec56c2a4a4ff9dd972e1c7284118d9ea570749e0eaaabb9')
@@ -23,6 +30,6 @@ class RRanger(RPackage):
version('0.4.0', sha256='d9f5761c3b07357aa586270cf7cbc97fc3db56ba731b6d0f3baf296f635f2be5')
depends_on('r@3.1:', type=('build', 'run'))
- depends_on('r-matrix', type=('build', 'run'))
depends_on('r-rcpp@0.11.2:', type=('build', 'run'))
+ depends_on('r-matrix', type=('build', 'run'))
depends_on('r-rcppeigen', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rann/package.py b/var/spack/repos/builtin/packages/r-rann/package.py
index c4ee212e10..172e431e0e 100644
--- a/var/spack/repos/builtin/packages/r-rann/package.py
+++ b/var/spack/repos/builtin/packages/r-rann/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-rappdirs/package.py b/var/spack/repos/builtin/packages/r-rappdirs/package.py
index e00f35597f..b369179add 100644
--- a/var/spack/repos/builtin/packages/r-rappdirs/package.py
+++ b/var/spack/repos/builtin/packages/r-rappdirs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-raster/package.py b/var/spack/repos/builtin/packages/r-raster/package.py
index 58ad440060..9ad6fd8475 100644
--- a/var/spack/repos/builtin/packages/r-raster/package.py
+++ b/var/spack/repos/builtin/packages/r-raster/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,18 +7,24 @@ from spack import *
class RRaster(RPackage):
- """Reading, writing, manipulating, analyzing and modeling of gridded
- spatial data. The package implements basic and high-level functions.
- Processing of very large files is supported."""
+ """Geographic Data Analysis and Modeling
+
+ Reading, writing, manipulating, analyzing and modeling of spatial data. The
+ package implements basic and high-level functions for raster data and for
+ vector data operations such as intersections. See the manual and tutorials
+ on <https://rspatial.org/> to get started."""
homepage = "https://cloud.r-project.org/package=raster"
url = "https://cloud.r-project.org/src/contrib/raster_2.5-8.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/raster"
+ version('3.4-5', sha256='c6620d790b3aba1b64aec31325f726e63f26a14a1b48c1a0f9167a0b1a64e4a5')
version('2.9-23', sha256='90aaec9e3b1e3e6015d9993ea7491e008f2f71990f8abb8610f979c4e28b38af')
version('2.9-22', sha256='8107d95f1aa85cea801c8101c6aa391becfef4b5b915d9bc7a323531fee26128')
version('2.5-8', sha256='47992abd783450513fbce3770298cc257030bf0eb77e42aa3a4b3924b16264cc')
depends_on('r@3.0.0:', type=('build', 'run'))
+ depends_on('r@3.5.0:', when='@3.4-5:', type=('build', 'run'))
depends_on('r-sp@1.2-0:', type=('build', 'run'))
+ depends_on('r-sp@1.4.1:', when='@3.4-5:', type=('build', 'run'))
depends_on('r-rcpp', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rbgl/package.py b/var/spack/repos/builtin/packages/r-rbgl/package.py
index b4f816d24b..d9fadb4732 100644
--- a/var/spack/repos/builtin/packages/r-rbgl/package.py
+++ b/var/spack/repos/builtin/packages/r-rbgl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RRbgl(RPackage):
- """An interface to the BOOST graph library.
+ """An interface to the BOOST graph library
A fairly extensive and comprehensive interface to the graph algorithms
contained in the BOOST library."""
@@ -15,6 +15,7 @@ class RRbgl(RPackage):
homepage = "https://bioconductor.org/packages/RBGL"
git = "https://git.bioconductor.org/packages/RBGL.git"
+ version('1.66.0', commit='bf0c111dbc231de6d3423c28e115b54fb010e1ea')
version('1.60.0', commit='ef24c17c411659b8f030602bd9781c534d6ec93b')
version('1.58.2', commit='086ad0c6bab7be29311b6ae14fd39df7a21331a6')
version('1.56.0', commit='a1fa9d89c6a3401892c5dd1493df6a14031f0912')
@@ -22,5 +23,4 @@ class RRbgl(RPackage):
version('1.52.0', commit='93e8fcfafec8f1cd5638fe30dc0f9506d15b49c0')
depends_on('r-graph', type=('build', 'run'))
-
depends_on('r-bh', when='@1.60.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rbibutils/package.py b/var/spack/repos/builtin/packages/r-rbibutils/package.py
new file mode 100644
index 0000000000..39aec9975c
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-rbibutils/package.py
@@ -0,0 +1,23 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RRbibutils(RPackage):
+ """Convert Between Bibliography Formats
+
+ Converts between a number of bibliography formats, including 'BibTeX',
+ 'BibLaTeX' and 'Bibentry'. Includes a port of the 'bibutils' utilities by
+ Chris Putnam <https://sourceforge.net/projects/bibutils/>. Supports all
+ bibliography formats and character encodings implemented in 'bibutils'."""
+
+ homepage = "https://geobosh.github.io/rbibutils/"
+ url = "https://cloud.r-project.org/src/contrib/rbibutils_2.0.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/rbibutils"
+
+ version('2.0', sha256='03d13abee321decb88bc4e7c9f27276d62a4a880fa72bb6b86be91885010cfed')
+
+ depends_on('r@2.10:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rbokeh/package.py b/var/spack/repos/builtin/packages/r-rbokeh/package.py
index 7b0c75d974..c1b81d11d7 100644
--- a/var/spack/repos/builtin/packages/r-rbokeh/package.py
+++ b/var/spack/repos/builtin/packages/r-rbokeh/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,15 +8,20 @@ from spack import *
class RRbokeh(RPackage):
- """R interface for creating plots in Bokeh. Bokeh by Continuum
- Analytics."""
+ """R Interface for Bokeh
+
+ A native R plotting library that provides a flexible declarative interface
+ for creating interactive web-based graphics, backed by the Bokeh
+ visualization library <https://bokeh.pydata.org/>."""
homepage = "https://hafen.github.io/rbokeh"
url = "https://cloud.r-project.org/src/contrib/rbokeh_0.5.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/rbokeh"
+ version('0.5.1', sha256='48eba3b238cea2b9aa408d8a48c663564292e76f2ab3f603bc671315a4a75a88')
version('0.5.0', sha256='499c3224a7dcaeb4bb60fd645b3ef528a20e59437747a073713941b80cbcebd2')
+ depends_on('r+X', type=('build', 'run'))
depends_on('r-htmlwidgets@0.5:', type=('build', 'run'))
depends_on('r-maps', type=('build', 'run'))
depends_on('r-jsonlite', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rcmdcheck/package.py b/var/spack/repos/builtin/packages/r-rcmdcheck/package.py
index b1fc06071d..8fe5c05315 100644
--- a/var/spack/repos/builtin/packages/r-rcmdcheck/package.py
+++ b/var/spack/repos/builtin/packages/r-rcmdcheck/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-rcolorbrewer/package.py b/var/spack/repos/builtin/packages/r-rcolorbrewer/package.py
index f49aaa4893..a5c6008f46 100644
--- a/var/spack/repos/builtin/packages/r-rcolorbrewer/package.py
+++ b/var/spack/repos/builtin/packages/r-rcolorbrewer/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-rcpp/package.py b/var/spack/repos/builtin/packages/r-rcpp/package.py
index d479880153..2428f88c00 100644
--- a/var/spack/repos/builtin/packages/r-rcpp/package.py
+++ b/var/spack/repos/builtin/packages/r-rcpp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,20 +7,25 @@ from spack import *
class RRcpp(RPackage):
- """The 'Rcpp' package provides R functions as well as C++ classes which
- offer a seamless integration of R and C++. Many R data types and objects
- can be mapped back and forth to C++ equivalents which facilitates both
- writing of new code as well as easier integration of third-party libraries.
- Documentation about 'Rcpp' is provided by several vignettes included in
- this package, via the 'Rcpp Gallery' site at <http://gallery.rcpp.org>, the
- paper by Eddelbuettel and Francois (2011, JSS), and the book by
- Eddelbuettel (2013, Springer); see 'citation("Rcpp")' for details on these
- last two."""
+ """Seamless R and C++ Integration
+
+ The 'Rcpp' package provides R functions as well as C++ classes which; offer
+ a seamless integration of R and C++. Many R data types and objects can be;
+ mapped back and forth to C++ equivalents which facilitates both writing of
+ new; code as well as easier integration of third-party libraries.
+ Documentation; about 'Rcpp' is provided by several vignettes included in
+ this package, via the; 'Rcpp Gallery' site at <https://gallery.rcpp.org>,
+ the paper by Eddelbuettel and; Francois (2011,
+ <doi:10.18637/jss.v040.i08>), the book by Eddelbuettel (2013,;
+ <doi:10.1007/978-1-4614-6868-4>) and the paper by Eddelbuettel and Balamuta
+ (2018,; <doi:10.1080/00031305.2017.1375990>); see 'citation("Rcpp")' for
+ details."""
homepage = "http://dirk.eddelbuettel.com/code/rcpp.html"
url = "https://cloud.r-project.org/src/contrib/Rcpp_0.12.13.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/Rcpp"
+ version('1.0.6', sha256='c9f24756bc000f7a989bd4f9aa93d57f7739dcde77946703f8bb32332a35f012')
version('1.0.4.6', sha256='45af675ddbbe155e671453b2e84fe32250bb98d4ccb4342b61c1e25cff10b302')
version('1.0.2', sha256='ad9338d6fc89dd116a3e2c5ecef1956e4be63b6c6aa1b21b2e5f249d65a5129c')
version('1.0.0', sha256='b7378bf0dda17ef72aa3f2a318a9cb5667bef50b601dc1096431e17426e18bc2')
diff --git a/var/spack/repos/builtin/packages/r-rcppannoy/package.py b/var/spack/repos/builtin/packages/r-rcppannoy/package.py
index e65c96ed49..0488de3306 100644
--- a/var/spack/repos/builtin/packages/r-rcppannoy/package.py
+++ b/var/spack/repos/builtin/packages/r-rcppannoy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RRcppannoy(RPackage):
- """'Annoy' is a small C++ library for Approximate Nearest Neighbors written
+ """'Rcpp' Bindings for 'Annoy', a Library for Approximate Nearest Neighbors
+
+ 'Annoy' is a small C++ library for Approximate Nearest Neighbors written
for efficient memory usage as well an ability to load from / save to disk.
This package provides an R interface by relying on the 'Rcpp' package,
exposing the same interface as the original Python wrapper to 'Annoy'. See
@@ -19,6 +21,7 @@ class RRcppannoy(RPackage):
url = "https://cloud.r-project.org/src/contrib/RcppAnnoy_0.0.12.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/RcppAnnoy"
+ version('0.0.18', sha256='e4e7ddf071109b47b4fdf285db6d2155618ed73da829c30d8e64fc778e63c858')
version('0.0.12', sha256='8f736cbbb4a32c80cb08ba4e81df633846d725f27867e983af2012966eac0eac')
depends_on('r@3.1:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rcpparmadillo/package.py b/var/spack/repos/builtin/packages/r-rcpparmadillo/package.py
index 2c9dd4d30f..3482664fa2 100644
--- a/var/spack/repos/builtin/packages/r-rcpparmadillo/package.py
+++ b/var/spack/repos/builtin/packages/r-rcpparmadillo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,25 @@ from spack import *
class RRcpparmadillo(RPackage):
- """'Rcpp' Integration for the 'Armadillo' Templated Linear
- Algebra Library."""
+ """'Rcpp' Integration for the 'Armadillo' Templated Linear Algebra Library
+
+ 'Armadillo' is a templated C++ linear algebra library (by Conrad;
+ Sanderson) that aims towards a good balance between speed and ease of; use.
+ Integer, floating point and complex numbers are supported, as; well as a
+ subset of trigonometric and statistics functions. Various; matrix
+ decompositions are provided through optional integration with; LAPACK and
+ ATLAS libraries. The 'RcppArmadillo' package includes the; header files
+ from the templated 'Armadillo' library. Thus users do; not need to install
+ 'Armadillo' itself in order to use; 'RcppArmadillo'. From release 7.800.0
+ on, 'Armadillo' is licensed; under Apache License 2; previous releases were
+ under licensed as MPL; 2.0 from version 3.800.0 onwards and LGPL-3 prior to
+ that"""
homepage = "https://cloud.r-project.org/package=RcppArmadillo"
url = "https://cloud.r-project.org/src/contrib/RcppArmadillo_0.8.100.1.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/RcppArmadillo"
+ version('0.10.1.2.2', sha256='38323703fcf2b61f46f2984aafdd3ddf17c3c993d1d27a8f0f4ba5012b99d069')
version('0.9.600.4.0', sha256='2057b7aa965a4c821dd734276d8e6a01cd59a1b52536b65cb815fa7e8c114f1e')
version('0.9.400.3.0', sha256='56936d501fe8e6f8796ae1a6badb9294d7dad98a0b557c3b3ce6bd4ecaad13b0')
version('0.8.100.1.0', sha256='97ca929b34d84d99d7cadc3612b544632cdd0c43ed962933a3d47caa27854fa7')
diff --git a/var/spack/repos/builtin/packages/r-rcppblaze/package.py b/var/spack/repos/builtin/packages/r-rcppblaze/package.py
index 4838083e49..34936ac2e8 100644
--- a/var/spack/repos/builtin/packages/r-rcppblaze/package.py
+++ b/var/spack/repos/builtin/packages/r-rcppblaze/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-rcppcctz/package.py b/var/spack/repos/builtin/packages/r-rcppcctz/package.py
index 4acfe804ea..92299c02cd 100644
--- a/var/spack/repos/builtin/packages/r-rcppcctz/package.py
+++ b/var/spack/repos/builtin/packages/r-rcppcctz/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,16 +7,19 @@ from spack import *
class RRcppcctz(RPackage):
- """'Rcpp' Access to the 'CCTZ' timezone library is provided. 'CCTZ' is a
- C++ library for translating between absolute and civil times using the
- rules of a time zone. The 'CCTZ' source code, released under the
- Apache 2.0 License, is included in this package. See
- <https://github.com/google/cctz> for more details."""
+ """'Rcpp' Bindings for the 'CCTZ' Library
+
+ 'Rcpp' Access to the 'CCTZ' timezone library is provided. 'CCTZ' is a C++
+ library for translating between absolute and civil times using the rules of
+ a time zone. The 'CCTZ' source code, released under the Apache 2.0 License,
+ is included in this package. See <https://github.com/google/cctz> for more
+ details."""
homepage = "https://github.com/eddelbuettel/rcppcctz"
url = "https://cloud.r-project.org/src/contrib/RcppCCTZ_0.2.3.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/RcppCCTZ"
+ version('0.2.9', sha256='723f45eca1be08903234e339523daca35748fe65c1a9d59afcb583d3a17bcaae')
version('0.2.6', sha256='0e9a76055d29da24cd4c4069c78c1f44998f3461be60c7a6c3e7a35059fb79ae')
version('0.2.4', sha256='98b6867d38abe03957fe803e88b6cc2d122b85a68ef07fa86f7e1009d6c00819')
version('0.2.3', sha256='0fefcc98387b2c1a5907e5230babb46e2cc11b603424f458f515e445a3236031')
diff --git a/var/spack/repos/builtin/packages/r-rcppcnpy/package.py b/var/spack/repos/builtin/packages/r-rcppcnpy/package.py
index e86e6c0994..d05ddad5c4 100644
--- a/var/spack/repos/builtin/packages/r-rcppcnpy/package.py
+++ b/var/spack/repos/builtin/packages/r-rcppcnpy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-rcppdate/package.py b/var/spack/repos/builtin/packages/r-rcppdate/package.py
new file mode 100644
index 0000000000..95d23bfcee
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-rcppdate/package.py
@@ -0,0 +1,24 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RRcppdate(RPackage):
+ """'date' C++ Header Library for Date and Time Functionality
+
+ 'date' is a C++ header library offering extensive date and time
+ functionality for the C++11, C++14 and C++17 standards written by Howard
+ Hinnant and released under the MIT license. A slightly modified version has
+ been accepted (along with 'tz.h') as part of C++20. This package regroups
+ all header files from the upstream repository by Howard Hinnant so that
+ other R packages can use them in their C++ code. At present, few of the
+ types have explicit 'Rcpp' wrapper though these may be added as needed."""
+
+ homepage = "https://github.com/eddelbuettel/rcppdate"
+ url = "https://cloud.r-project.org/src/contrib/RcppDate_0.0.1.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/RcppDate"
+
+ version('0.0.1', sha256='117721fc677dfb4209200a7ff894fbbb8ee1b652d01b3878b11c3253733b4a5f')
diff --git a/var/spack/repos/builtin/packages/r-rcppeigen/package.py b/var/spack/repos/builtin/packages/r-rcppeigen/package.py
index 8b6ed5cc49..754a2f0aea 100644
--- a/var/spack/repos/builtin/packages/r-rcppeigen/package.py
+++ b/var/spack/repos/builtin/packages/r-rcppeigen/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RRcppeigen(RPackage):
- """R and 'Eigen' integration using 'Rcpp'. 'Eigen' is a C++ template
+ """'Rcpp' Integration for the 'Eigen' Templated Linear Algebra Library
+
+ R and 'Eigen' integration using 'Rcpp'. 'Eigen' is a C++ template
library for linear algebra: matrices, vectors, numerical solvers and
related algorithms. It supports dense and sparse matrices on integer,
floating point and complex numbers, decompositions of such matrices, and
@@ -25,12 +27,12 @@ class RRcppeigen(RPackage):
url = "https://cloud.r-project.org/src/contrib/RcppEigen_0.3.2.9.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/RcppEigen"
+ version('0.3.3.9.1', sha256='8a0486249b778a4275a1168fc89fc7fc49c2bb031cb14b50a50089acae7fe962')
version('0.3.3.5.0', sha256='e5c6af17770c5f57b7cf2fba04ad1a519901b446e8138bfff221952458207f05')
version('0.3.3.4.0', sha256='11020c567b299b1eac95e8a4d57abf0315931286907823dc7b66c44d0dd6dad4')
version('0.3.3.3.1', sha256='14fdd2cb764d0a822e11b8f09dcf1c3c8580d416f053404732064d8f2b176f24')
version('0.3.2.9.0', sha256='25affba9065e3c12d67b1934d1ce97a928a4011a7738f7b90f0e9830409ec93b')
version('0.3.2.8.1', sha256='ceccb8785531c5c23f9232b594e5372c214a114a08ec759115e946badd08d681')
- depends_on('r@2.15.1:', type=('build', 'run'))
depends_on('r-matrix@1.1-0:', type=('build', 'run'))
depends_on('r-rcpp@0.11.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rcpphnsw/package.py b/var/spack/repos/builtin/packages/r-rcpphnsw/package.py
index 9196583bf5..bb6c67b470 100644
--- a/var/spack/repos/builtin/packages/r-rcpphnsw/package.py
+++ b/var/spack/repos/builtin/packages/r-rcpphnsw/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,19 @@ from spack import *
class RRcpphnsw(RPackage):
- """RcppHNSW: 'Rcpp' Bindings for 'hnswlib', a Library for Approximate
- NearestNeighbors"""
+ """'Rcpp' Bindings for 'hnswlib', a Library for Approximate
+ NearestNeighbors
+
+ 'Hnswlib' is a C++ library for Approximate Nearest Neighbors. This ;
+ package provides a minimal R interface by relying on the 'Rcpp' package.
+ See ; <https://github.com/nmslib/hnswlib> for more on 'hnswlib'. 'hnswlib'
+ is ; released under Version 2.0 of the Apache License."""
homepage = "https://cloud.r-project.org/package=RcppHNSW"
url = "https://cloud.r-project.org/src/contrib/RcppHNSW_0.1.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/RcppHNSW"
+ version('0.3.0', sha256='a0eb4eea65e28ba31e8306a1856f7e617a192bd448b148f88abe99181cbde007')
version('0.1.0', sha256='75a54c30953845dec685764c7b3b4cd7315197c91aef4ab3b4eb0a6293010a95')
depends_on('r-rcpp@0.11.3:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rcppparallel/package.py b/var/spack/repos/builtin/packages/r-rcppparallel/package.py
index 4f4459c990..4e84e22021 100644
--- a/var/spack/repos/builtin/packages/r-rcppparallel/package.py
+++ b/var/spack/repos/builtin/packages/r-rcppparallel/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RRcppparallel(RPackage):
- """High level functions for parallel programming with 'Rcpp'. For example,
+ """Parallel Programming Tools for 'Rcpp'
+
+ High level functions for parallel programming with 'Rcpp'. For example,
the 'parallelFor()' function can be used to convert the work of a standard
serial "for" loop into a parallel one and the 'parallelReduce()' function
can be used for accumulating aggregate or other values."""
@@ -16,6 +18,7 @@ class RRcppparallel(RPackage):
url = "https://cloud.r-project.org/src/contrib/RcppParallel_4.4.3.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/RcppParallel"
+ version('5.0.2', sha256='8ca200908c6365aafb2063be1789f0894969adc03c0f523c6cc45434b8236f81')
version('4.4.3', sha256='7a04929ecab97e46c0b09fe5cdbac9d7bfa17ad7d111f1a9787a9997f45fa0fa')
depends_on('r@3.0.2:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rcppprogress/package.py b/var/spack/repos/builtin/packages/r-rcppprogress/package.py
index c0ed65f86f..633fba6737 100644
--- a/var/spack/repos/builtin/packages/r-rcppprogress/package.py
+++ b/var/spack/repos/builtin/packages/r-rcppprogress/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RRcppprogress(RPackage):
- """Allows to display a progress bar in the R console for long running
+ """An Interruptible Progress Bar with OpenMP Support for C++ in R Packages
+
+ Allows to display a progress bar in the R console for long running
computations taking place in c++ code, and support for interrupting
those computations even in multithreaded code, typically using OpenMP."""
@@ -15,6 +17,7 @@ class RRcppprogress(RPackage):
url = "https://cloud.r-project.org/src/contrib/RcppProgress_0.3.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/RcppProgress"
+ version('0.4.2', sha256='b1624b21b7aeb1dafb30f092b2a4bef4c3504efd2d6b00b2cdf55dc9df194b48')
version('0.4.1', sha256='11764105922f763d4c75c502599ec7dcc2fd629a029964caf53f98b41d0c607a')
version('0.4', sha256='706e14360dbc5976db05c2ac6692c3279c0f8c95e72bf9d4becd9e1348025e3e')
version('0.3', sha256='3de5dc47cc2f9e839f92355c463289531e8c13806e54c7438f63c7c34378261d')
diff --git a/var/spack/repos/builtin/packages/r-rcurl/package.py b/var/spack/repos/builtin/packages/r-rcurl/package.py
index 51586cc691..23e14c0b52 100644
--- a/var/spack/repos/builtin/packages/r-rcurl/package.py
+++ b/var/spack/repos/builtin/packages/r-rcurl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-rda/package.py b/var/spack/repos/builtin/packages/r-rda/package.py
index 06c40411a4..b1c36171af 100644
--- a/var/spack/repos/builtin/packages/r-rda/package.py
+++ b/var/spack/repos/builtin/packages/r-rda/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,7 +14,9 @@ class RRda(RPackage):
url = "https://cloud.r-project.org/src/contrib/rda_1.0.2-1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/rda"
- version('1.0.2-2.1', sha256='6918b62f51252b57f2c05b99debef6136b370f594dc3ae6466268e4c35578ef8')
+ # Note: Package 'rda' was removed from the CRAN repository.
+ # The latest archived version is below
+ version('1.0.2-2.1', sha256='eea3a51a2e132a023146bfbc0c384f5373eb3ea2b61743d7658be86a5b04949e')
version('1.0.2-2', sha256='52ee41249b860af81dc692eee38cd4f8f26d3fbe34cb274f4e118de0013b58bc')
version('1.0.2-1', sha256='e5b96610ec9e82f12efe5dbb9a3ec9ecba9aaddfad1d6ab3f8c37d15fc2b42b7')
diff --git a/var/spack/repos/builtin/packages/r-rdpack/package.py b/var/spack/repos/builtin/packages/r-rdpack/package.py
index 77b290c72c..33b883716d 100644
--- a/var/spack/repos/builtin/packages/r-rdpack/package.py
+++ b/var/spack/repos/builtin/packages/r-rdpack/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RRdpack(RPackage):
- """Functions for manipulation of R documentation objects, including
+ """Update and Manipulate Rd Documentation Objects
+
+ Functions for manipulation of R documentation objects, including
functions reprompt() and ereprompt() for updating 'Rd' documentation for
functions, methods and classes; 'Rd' macros for citations and import of
references from 'bibtex' files for use in 'Rd' files and 'roxygen2'
@@ -19,8 +21,10 @@ class RRdpack(RPackage):
url = "https://cloud.r-project.org/src/contrib/Rdpack_0.11-0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/Rdpack"
+ version('2.1', sha256='26e094fe3c077fb2a99e95c5bd94015a5f993a4a5f5d217829b4872ff004bfce')
version('0.11-0', sha256='8fb449c80fbe931cdce51f728fb03a1978009ccce66fd6b9edacdc6ff4118d85')
depends_on('r@2.15.0:', type=('build', 'run'))
- depends_on('r-bibtex@0.4.0:', type=('build', 'run'))
depends_on('r-gbrd', type=('build', 'run'))
+ depends_on('r-rbibutils@1.3:', when='@2.1:', type=('build', 'run'))
+ depends_on('r-bibtex@0.4.0:', when='@:0.11-0', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-readbitmap/package.py b/var/spack/repos/builtin/packages/r-readbitmap/package.py
index 8773b3ff51..acf57da00f 100644
--- a/var/spack/repos/builtin/packages/r-readbitmap/package.py
+++ b/var/spack/repos/builtin/packages/r-readbitmap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-readr/package.py b/var/spack/repos/builtin/packages/r-readr/package.py
index f618df980b..8a100e8c63 100644
--- a/var/spack/repos/builtin/packages/r-readr/package.py
+++ b/var/spack/repos/builtin/packages/r-readr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,25 +7,31 @@ from spack import *
class RReadr(RPackage):
- """The goal of 'readr' is to provide a fast and friendly way to read
- rectangular data (like 'csv', 'tsv', and 'fwf'). It is designed to
- flexibly parse many types of data found in the wild, while still cleanly
- failing when data unexpectedly changes."""
+ """Read Rectangular Text Data
+
+ The goal of 'readr' is to provide a fast and friendly way to read
+ rectangular data (like 'csv', 'tsv', and 'fwf'). It is designed to flexibly
+ parse many types of data found in the wild, while still cleanly failing
+ when data unexpectedly changes."""
homepage = "https://cloud.r-project.org/package=readr"
url = "https://cloud.r-project.org/src/contrib/readr_1.1.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/readr"
+ version('1.4.0', sha256='02b1188aab8b2bc3f3d2bba5b946bd299610e87f3f7660c88b60b444093c46b9')
version('1.3.1', sha256='33f94de39bb7f2a342fbb2bd4e5afcfec08798eac39672ee18042ac0b349e4f3')
version('1.1.1', sha256='1a29b99009a06f2cee18d08bc6201fd4985b6d45c76cefca65084dcc1a2f7cb3')
depends_on('r@3.0.2:', when='@:1.2.1', type=('build', 'run'))
depends_on('r@3.1:', when='@1.3.0:', type=('build', 'run'))
- depends_on('r-rcpp@0.12.0.5:', type=('build', 'run'))
- depends_on('r-tibble', type=('build', 'run'))
+ depends_on('r-cli', when='@1.4.0:', type=('build', 'run'))
+ depends_on('r-clipr', when='@1.2.0:', type=('build', 'run'))
+ depends_on('r-crayon', when='@1.3.1:', type=('build', 'run'))
depends_on('r-hms@0.4.1:', type=('build', 'run'))
+ depends_on('r-rlang', when='@1.4.0:', type=('build', 'run'))
depends_on('r-r6', type=('build', 'run'))
+ depends_on('r-tibble', type=('build', 'run'))
+ depends_on('r-lifecycle', when='@1.4.0:', type=('build', 'run'))
depends_on('r-bh', type=('build', 'run'))
- depends_on('r-clipr', when='@1.2.0:', type=('build', 'run'))
- depends_on('r-crayon', when='@1.3.1:', type=('build', 'run'))
- depends_on('gmake', type='build')
+ depends_on('r-cpp11', when='@1.4.0:', type=('build', 'run'))
+ depends_on('r-rcpp@0.12.0.5:', when='@:1.3.1', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-readxl/package.py b/var/spack/repos/builtin/packages/r-readxl/package.py
index a4dbb70c4f..609d0ed7bf 100644
--- a/var/spack/repos/builtin/packages/r-readxl/package.py
+++ b/var/spack/repos/builtin/packages/r-readxl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-recipes/package.py b/var/spack/repos/builtin/packages/r-recipes/package.py
index 2bd58e60cf..c4e83f8e51 100644
--- a/var/spack/repos/builtin/packages/r-recipes/package.py
+++ b/var/spack/repos/builtin/packages/r-recipes/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RRecipes(RPackage):
- """An extensible framework to create and preprocess design matrices.
+ """Preprocessing Tools to Create Design Matrices
+
+ An extensible framework to create and preprocess design matrices.
Recipes consist of one or more data manipulation and analysis "steps".
Statistical parameters for the steps can be estimated from an initial data
set and then applied to other data sets. The resulting design matrices can
@@ -17,14 +19,17 @@ class RRecipes(RPackage):
url = "https://cloud.r-project.org/src/contrib/recipes_0.1.6.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/recipes"
+ version('0.1.15', sha256='808ad2f4d68ae03aa27332437f037597e9c1bebd65ed4ebfab1d243ea6022e76')
version('0.1.6', sha256='51e0db72de171d58d13ad8ffcf1dea402ab8f82100d161722041b6fd014cbfd9')
depends_on('r@3.1:', type=('build', 'run'))
depends_on('r-dplyr', type=('build', 'run'))
depends_on('r-generics', type=('build', 'run'))
+ depends_on('r-generics@0.1.0:', when='@0.1.15:', type=('build', 'run'))
depends_on('r-glue', type=('build', 'run'))
depends_on('r-gower', type=('build', 'run'))
depends_on('r-ipred', type=('build', 'run'))
+ depends_on('r-lifecycle', when='@0.1.15:', type=('build', 'run'))
depends_on('r-lubridate', type=('build', 'run'))
depends_on('r-magrittr', type=('build', 'run'))
depends_on('r-matrix', type=('build', 'run'))
@@ -32,6 +37,8 @@ class RRecipes(RPackage):
depends_on('r-rlang@0.4.0:', type=('build', 'run'))
depends_on('r-tibble', type=('build', 'run'))
depends_on('r-tidyr', type=('build', 'run'))
+ depends_on('r-tidyr@1.0.0:', when='@0.1.15:', type=('build', 'run'))
depends_on('r-tidyselect@0.2.5:', type=('build', 'run'))
+ depends_on('r-tidyselect@1.1.0:', when='@0.1.15:', type=('build', 'run'))
depends_on('r-timedate', type=('build', 'run'))
depends_on('r-withr', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-registry/package.py b/var/spack/repos/builtin/packages/r-registry/package.py
index d2a190b7fa..04322d0238 100644
--- a/var/spack/repos/builtin/packages/r-registry/package.py
+++ b/var/spack/repos/builtin/packages/r-registry/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-rematch/package.py b/var/spack/repos/builtin/packages/r-rematch/package.py
index 00117f87a9..9f57fbbd6f 100644
--- a/var/spack/repos/builtin/packages/r-rematch/package.py
+++ b/var/spack/repos/builtin/packages/r-rematch/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-rematch2/package.py b/var/spack/repos/builtin/packages/r-rematch2/package.py
index 2d07db3a23..48ebf9dd5e 100644
--- a/var/spack/repos/builtin/packages/r-rematch2/package.py
+++ b/var/spack/repos/builtin/packages/r-rematch2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-remotes/package.py b/var/spack/repos/builtin/packages/r-remotes/package.py
index 1c2c1fba38..6e69df79da 100644
--- a/var/spack/repos/builtin/packages/r-remotes/package.py
+++ b/var/spack/repos/builtin/packages/r-remotes/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RRemotes(RPackage):
- """Download and install R packages stored in 'GitHub', 'BitBucket', or
+ """R Package Installation from Remote Repositories, Including 'GitHub'
+
+ Download and install R packages stored in 'GitHub', 'BitBucket', or
plain 'subversion' or 'git' repositories. This package provides the
'install_*' functions in 'devtools'. Indeed most of the code was copied
over from 'devtools'. """
@@ -16,7 +18,10 @@ class RRemotes(RPackage):
url = "https://cloud.r-project.org/src/contrib/remotes_2.1.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/remotes"
+ version('2.2.0', sha256='12f234fd8c46f4ac54e06a3c60e4015ed2193a32762ca4dd6854f120136f33b8')
version('2.1.1', sha256='4e590746fce618094089372b185e1ea234b3337b23c44c44118e942d0fb5118b')
version('2.1.0', sha256='8944c8f6fc9f0cd0ca04d6cf1221b716eee08facef9f4b4c4d91d0346d6d68a7')
depends_on('r@3.0.0:', type=('build', 'run'))
+ depends_on('subversion', type='run')
+ depends_on('git', type='run')
diff --git a/var/spack/repos/builtin/packages/r-reordercluster/package.py b/var/spack/repos/builtin/packages/r-reordercluster/package.py
index bf1951f3ca..ca4b505211 100644
--- a/var/spack/repos/builtin/packages/r-reordercluster/package.py
+++ b/var/spack/repos/builtin/packages/r-reordercluster/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-reportingtools/package.py b/var/spack/repos/builtin/packages/r-reportingtools/package.py
index 17d6ef9200..251f6e3e21 100644
--- a/var/spack/repos/builtin/packages/r-reportingtools/package.py
+++ b/var/spack/repos/builtin/packages/r-reportingtools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RReportingtools(RPackage):
- """Tools for making reports in various formats.
+ """Tools for making reports in various formats
The ReportingTools software package enables users to easily display
reports of analysis results generated from sources such as microarray
@@ -24,12 +24,14 @@ class RReportingtools(RPackage):
homepage = "https://bioconductor.org/packages/ReportingTools"
git = "https://git.bioconductor.org/packages/ReportingTools.git"
+ version('2.30.0', commit='fb9aee416f38cfd308d6d7264ccbcda0467642a7')
version('2.24.0', commit='d114c658affba9b682a37b4e2caf4341cf8da6cf')
version('2.22.1', commit='dce6af6c6a1cddff077fe61368f2c13e5a0e7bab')
version('2.20.0', commit='77e14ae13fdc16654300852dfd94e6cef58009da')
version('2.17.3', commit='b2e379cd5b813d8ccca37ec25f0660deec943622')
version('2.16.0', commit='b1aa0ea302da7f2993ce8087b1d09c11ddf03663')
+ depends_on('r+X', type=('build', 'run'))
depends_on('r-knitr', type=('build', 'run'))
depends_on('r-biobase', type=('build', 'run'))
depends_on('r-hwriter', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-repr/package.py b/var/spack/repos/builtin/packages/r-repr/package.py
index f9dde095a7..b490335973 100644
--- a/var/spack/repos/builtin/packages/r-repr/package.py
+++ b/var/spack/repos/builtin/packages/r-repr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,19 +8,22 @@ from spack import *
class RRepr(RPackage):
- """String and binary representations of objects for several formats and
+ """Serializable Representations
+
+ String and binary representations of objects for several formats and
mime types."""
homepage = "https://github.com/IRkernel/repr"
url = "https://cloud.r-project.org/src/contrib/repr_0.9.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/repr"
+ version('1.1.0', sha256='743fe018f9e3e54067a970bc38b6b8c0c0498b43f88d179ac4a959c2013a5f96')
version('1.0.1', sha256='ecde22c17fd800e1ff5c2b2962689119aa486fba40fbc6f2c50e8d4cc61bc44b')
version('1.0.0', sha256='98b2eb1058c1cb2caa8f98708b63726f5564b45de03d38b95ff6b963a8261f49')
version('0.9', sha256='24cac6e98f2a7e5483cf87aaffcb37611702099b63d3783e319441b4ecd0264b')
depends_on('r@3.0.1:', type=('build', 'run'))
depends_on('r-htmltools', when='@0.13:', type=('build', 'run'))
- depends_on('r-base64enc', when='@0.13:', type=('build', 'run'))
depends_on('r-jsonlite', when='@0.19.1:', type=('build', 'run'))
depends_on('r-pillar@1.4.0:', when='@1.0.0:', type=('build', 'run'))
+ depends_on('r-base64enc', when='@0.13:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-reprex/package.py b/var/spack/repos/builtin/packages/r-reprex/package.py
index 4c215d4f4e..a5cf5fccc9 100644
--- a/var/spack/repos/builtin/packages/r-reprex/package.py
+++ b/var/spack/repos/builtin/packages/r-reprex/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -23,7 +23,8 @@ class RReprex(RPackage):
version('0.2.1', sha256='5d234ddfbcadc5a5194a58eb88973c51581e7e2e231f146974af8f42747b45f3')
version('0.1.1', sha256='919ae93039b2d8fb8eace98da9376c031d734d9e75c237efb24d047f35b5ba4b')
- depends_on('r@3.0.2:', when='@:0.1.2', type=('build', 'run'))
+ depends_on('r+X', type=('build', 'run'))
+ depends_on('r@3.0.2:', type=('build', 'run'))
depends_on('r@3.1:', when='@0.2.0:', type=('build', 'run'))
depends_on('r-callr@2.0.0:', type=('build', 'run'))
depends_on('r-clipr@0.4.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-reproducible/package.py b/var/spack/repos/builtin/packages/r-reproducible/package.py
new file mode 100644
index 0000000000..00dfe574af
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-reproducible/package.py
@@ -0,0 +1,45 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RReproducible(RPackage):
+ """A Set of Tools that Enhance Reproducibility Beyond Package Management
+
+ Collection of high-level, machine- and OS-independent tools for
+ making deeply reproducible and reusable content in R. The two
+ workhorse functions are Cache and prepInputs; these allow for:
+ nested caching, robust to environments, and objects with
+ environments (like functions); and data retrieval and processing
+ in continuous workflow environments. In all cases, efforts are
+ made to make the first and subsequent calls of functions have
+ the same result, but vastly faster at subsequent times by way of
+ checksums and digesting. Several features are still under active
+ development, including cloud storage of cached objects, allowing
+ for sharing between users. Several advanced options are
+ available, see ?reproducibleOptions."""
+
+ homepage = "https://reproducible.predictiveecology.org/"
+ url = "https://cloud.r-project.org/src/contrib/reproducible_1.2.4.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/reproducible"
+
+ maintainers = ['dorton21']
+
+ version('1.2.4', sha256='0525deefa6a0713c3fe2da8bfc529f62d6352bebf2ef08866503b4853412f149')
+
+ depends_on('r@3.5:', type=('build', 'run'))
+ depends_on('r-data-table@1.10.4:', type=('build', 'run'))
+ depends_on('r-dbi', type=('build', 'run'))
+ depends_on('r-digest', type=('build', 'run'))
+ depends_on('r-fpcompare', type=('build', 'run'))
+ depends_on('r-glue', type=('build', 'run'))
+ depends_on('r-magrittr', type=('build', 'run'))
+ depends_on('r-require', type=('build', 'run'))
+ depends_on('r-raster', type=('build', 'run'))
+ depends_on('r-rsqlite', type=('build', 'run'))
+ depends_on('r-rlang', type=('build', 'run'))
+ depends_on('r-sp@1.4-2:', type=('build', 'run'))
+ depends_on('unrar', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-require/package.py b/var/spack/repos/builtin/packages/r-require/package.py
new file mode 100644
index 0000000000..e4da525f21
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-require/package.py
@@ -0,0 +1,29 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RRequire(RPackage):
+ """Installing and Loading R Packages for Reproducible Workflows
+
+ A single key function, 'Require' that wraps 'install.packages',
+ 'remotes::install_github', 'versions::install.versions', and
+ 'base::require' that allows for reproducible workflows. As with
+ other functions in a reproducible workflow, this package
+ emphasizes functions that return the same result whether it is
+ the first or subsequent times running the function. Maturing."""
+
+ homepage = "https://require.predictiveecology.org/"
+ url = "https://cloud.r-project.org/src/contrib/Require_0.0.10.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/Require"
+
+ maintainers = ['dorton21']
+
+ version('0.0.10', sha256='2087c3bb4d660d205962e241c1fc4a366dada5a1ed090d545c52188490567f8d')
+
+ depends_on('r@3.5:', type=('build', 'run'))
+ depends_on('r-data-table@1.10.4:', type=('build', 'run'))
+ depends_on('r-remotes', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-reshape/package.py b/var/spack/repos/builtin/packages/r-reshape/package.py
index c5b61c71bc..70bac94566 100644
--- a/var/spack/repos/builtin/packages/r-reshape/package.py
+++ b/var/spack/repos/builtin/packages/r-reshape/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-reshape2/package.py b/var/spack/repos/builtin/packages/r-reshape2/package.py
index b4b43a892f..1cd1e95012 100644
--- a/var/spack/repos/builtin/packages/r-reshape2/package.py
+++ b/var/spack/repos/builtin/packages/r-reshape2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,18 +7,21 @@ from spack import *
class RReshape2(RPackage):
- """Flexibly restructure and aggregate data using just two functions: melt
+ """Flexibly Reshape Data: A Reboot of the Reshape Package
+
+ Flexibly restructure and aggregate data using just two functions: melt
and dcast (or acast)."""
homepage = "https://github.com/hadley/reshape"
url = "https://cloud.r-project.org/src/contrib/reshape2_1.4.2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/reshape2"
+ version('1.4.4', sha256='d88dcf9e2530fa9695fc57d0c78adfc5e361305fe8919fe09410b17da5ca12d8')
version('1.4.3', sha256='8aff94c935e75032344b52407593392ddd4e16a88bb206984340c816d42c710e')
version('1.4.2', sha256='6d3783610379be4c5676d9236cf66276a166b5b96c18f2759e9b219758959b6b')
version('1.4.1', sha256='fbd49f75a5b0b7266378515af98db310cf6c772bf6e68bed01f38ee99b408042')
depends_on('r@3.1:', when='@1.4.3:', type=('build', 'run'))
depends_on('r-plyr@1.8.1:', type=('build', 'run'))
- depends_on('r-stringr', type=('build', 'run'))
depends_on('r-rcpp', type=('build', 'run'))
+ depends_on('r-stringr', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-reticulate/package.py b/var/spack/repos/builtin/packages/r-reticulate/package.py
index ec301f3b0c..042904bf02 100644
--- a/var/spack/repos/builtin/packages/r-reticulate/package.py
+++ b/var/spack/repos/builtin/packages/r-reticulate/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RReticulate(RPackage):
- """Interface to 'Python' modules, classes, and functions. When calling into
+ """Interface to 'Python'
+
+ Interface to 'Python' modules, classes, and functions. When calling into
'Python', R data types are automatically converted to their equivalent
'Python' types. When values are returned from 'Python' to R they are
converted back to R types. Compatible with all versions of 'Python' >=
@@ -17,12 +19,13 @@ class RReticulate(RPackage):
url = "https://cloud.r-project.org/src/contrib/reticulate_1.13.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/reticulate"
+ version('1.18', sha256='b33f855a58f446eefbe38df8a1a4865390f5d4ebd64b2c72266baaee64628513')
version('1.15', sha256='47db3e9c9424263ade15287da8e74f6ba261a936b644b197dba6772853b7b50d')
version('1.13', sha256='adbe41d556b667c4419d563680f8608a56b0f792b8bc427b3bf4c584ff819de3')
depends_on('r@3.0:', type=('build', 'run'))
depends_on('r-jsonlite', type=('build', 'run'))
- depends_on('r-rcpp@0.12.7:', type=('build', 'run', 'link'))
depends_on('r-matrix', type=('build', 'run'))
depends_on('r-rappdirs', when='@1.15:', type=('build', 'run'))
- depends_on('python@2.7.0:')
+ depends_on('r-rcpp@0.12.7:', type=('build', 'run', 'link'))
+ depends_on('python@2.7.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rex/package.py b/var/spack/repos/builtin/packages/r-rex/package.py
index 26066e8bdc..77b7574878 100644
--- a/var/spack/repos/builtin/packages/r-rex/package.py
+++ b/var/spack/repos/builtin/packages/r-rex/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,16 @@ from spack import *
class RRex(RPackage):
- """A friendly interface for the construction of regular expressions."""
+ """Friendly Regular Expressions
+
+ A friendly interface for the construction of regular expressions."""
homepage = "https://cloud.r-project.org/package=rex"
url = "https://cloud.r-project.org/src/contrib/rex_1.1.2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/rex"
+ version('1.2.0', sha256='06b491f1469078862e40543fd74e1d38b2e0fb61fdf01c8083add4b11ac2eb54')
version('1.1.2', sha256='bd3c74ceaf335336f5dd04314d0a791f6311e421a2158f321f5aab275f539a2a')
depends_on('r-lazyeval', type=('build', 'run'))
- depends_on('r-magrittr', type=('build', 'run'))
+ depends_on('r-magrittr', when='@:1.1.2', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rferns/package.py b/var/spack/repos/builtin/packages/r-rferns/package.py
index a10b40bdf3..995531c512 100644
--- a/var/spack/repos/builtin/packages/r-rferns/package.py
+++ b/var/spack/repos/builtin/packages/r-rferns/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,10 +7,16 @@ from spack import *
class RRferns(RPackage):
- """Provides the random ferns classifier"""
+ """Random Ferns Classifier
+
+ Provides the random ferns classifier by Ozuysal, Calonder, Lepetit and Fua
+ (2009) <doi:10.1109/TPAMI.2009.23>, modified for generic and multi-label
+ classification and featuring OOB error approximation and importance measure
+ as introduced in Kursa (2014) <doi:10.18637/jss.v061.i10>."""
homepage = "https://cloud.r-project.org/package=rFerns"
url = "https://cloud.r-project.org/src/contrib/rFerns_3.0.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/rFerns"
+ version('4.0.0', sha256='cc8cea0893390bf5db0fb0f59748d5bf6f29537d68bedca900268fd551489128')
version('3.0.0', sha256='35e7e31a6497e415a0fe578678cf9b2f537b21319e4c015a1e2dade00310227c')
diff --git a/var/spack/repos/builtin/packages/r-rgdal/package.py b/var/spack/repos/builtin/packages/r-rgdal/package.py
index a4dd062f19..2aa7fab4a5 100644
--- a/var/spack/repos/builtin/packages/r-rgdal/package.py
+++ b/var/spack/repos/builtin/packages/r-rgdal/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,27 +7,32 @@ from spack import *
class RRgdal(RPackage):
- """Provides bindings to the 'Geospatial' Data Abstraction Library
- ('GDAL') (>= 1.6.3) and access to projection/transformation operations
- from the 'PROJ.4' library. The 'GDAL' and 'PROJ.4' libraries are
- external to the package, and, when installing the package from source,
- must be correctly installed first. Both 'GDAL' raster and 'OGR' vector
- map data can be imported into R, and 'GDAL' raster data and 'OGR'
- vector data exported. Use is made of classes defined in the 'sp' package.
- Windows and Mac Intel OS X binaries (including 'GDAL', 'PROJ.4' and
- 'Expat') are provided on 'CRAN'."""
+ """Bindings for the 'Geospatial' Data Abstraction Library
+
+ Provides bindings to the 'Geospatial' Data Abstraction Library ('GDAL') (>=
+ 1.11.4) and access to projection/transformation operations from the 'PROJ'
+ library. Use is made of classes defined in the 'sp' package. Raster and
+ vector map data can be imported into R, and raster and vector 'sp' objects
+ exported. The 'GDAL' and 'PROJ' libraries are external to the package, and,
+ when installing the package from source, must be correctly installed first;
+ it is important that 'GDAL' < 3 be matched with 'PROJ' < 6. From 'rgdal'
+ 1.5-8, installed with to 'GDAL' >=3, 'PROJ' >=6 and 'sp' >= 1.4, coordinate
+ reference systems use 'WKT2_2019' strings, not 'PROJ' strings. 'Windows'
+ and 'macOS' binaries (including 'GDAL', 'PROJ' and their dependencies) are
+ provided on 'CRAN'."""
homepage = "https://cloud.r-project.org/package=rgdal"
url = "https://cloud.r-project.org/src/contrib/rgdal_1.3-9.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/rgdal"
+ version('1.5-19', sha256='6fbfd71b19e7b8d9dbddc91cb1eef8890c74a1e2bf8f619da165ff51bf1231b2')
version('1.5-18', sha256='53467c19bc93d8ea311458eaa281c8c456168ab75e84d76ef5cc6c00f53122df')
version('1.4-4', sha256='2532e76e0af27d145f799d70006a5dbecb2d3be698e3d0bbf580f4c41a34c5d7')
version('1.3-9', sha256='3e44f88d09894be4c0abd8874d00b40a4a5f4542b75250d098ffbb3ba41e2654')
version('1.2-16', sha256='017fefea4f9a6d4540d128c707197b7025b55e4aff98fc763065366b025b03c9')
- depends_on('r@3.5.0:', when='@1.5:', type=('build', 'run'))
depends_on('r@3.3.0:', type=('build', 'run'))
+ depends_on('r@3.5.0:', when='@1.5:', type=('build', 'run'))
depends_on('r-sp@1.1-0:', type=('build', 'run'))
depends_on('gdal@1.11.4:')
depends_on('proj@4.8.0:5', when='@:1.3-9')
diff --git a/var/spack/repos/builtin/packages/r-rgenoud/package.py b/var/spack/repos/builtin/packages/r-rgenoud/package.py
index 19e9bd26f6..8066c065ab 100644
--- a/var/spack/repos/builtin/packages/r-rgenoud/package.py
+++ b/var/spack/repos/builtin/packages/r-rgenoud/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-rgeos/package.py b/var/spack/repos/builtin/packages/r-rgeos/package.py
index 14b2af8a1a..a13007cda7 100644
--- a/var/spack/repos/builtin/packages/r-rgeos/package.py
+++ b/var/spack/repos/builtin/packages/r-rgeos/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,16 +7,32 @@ from spack import *
class RRgeos(RPackage):
- """Interface to Geometry Engine - Open Source ('GEOS') using the C
- 'API' for topology operations on geometries. The 'GEOS' library is
- external to the package, and, when installing the package from source,
- must be correctly installed first. Windows and Mac Intel OS X binaries
- are provided on 'CRAN'."""
+ """Interface to Geometry Engine - Open Source ('GEOS')
+
+ Interface to Geometry Engine - Open Source ('GEOS') using the C 'API' for
+ topology operations on geometries. The 'GEOS' library is external to the
+ package, and, when installing the package from source, must be correctly
+ installed first. Windows and Mac Intel OS X binaries are provided on
+ 'CRAN'. ('rgeos' >= 0.5-1): Up to and including 'GEOS' 3.7.1, topological
+ operations succeeded with some invalid geometries for which the same
+ operations fail from and including 'GEOS' 3.7.2. The 'checkValidity='
+ argument defaults and structure have been changed, from default FALSE to
+ integer default '0L' for 'GEOS' < 3.7.2 (no check), '1L' 'GEOS' >= 3.7.2
+ (check and warn). A value of '2L' is also provided that may be used,
+ assigned globally using 'set_RGEOS_CheckValidity(2L)', or locally using the
+ 'checkValidity=2L' argument, to attempt zero-width buffer repair if invalid
+ geometries are found. The previous default (FALSE, now '0L') is fastest and
+ used for 'GEOS' < 3.7.2, but will not warn users of possible problems
+ before the failure of topological operations that previously succeeded.
+ From 'GEOS' 3.8.0, repair of geometries may also be attempted using
+ 'gMakeValid()', which may, however, return a collection of geometries of
+ different types."""
homepage = "https://cloud.r-project.org/package=rgeos"
url = "https://cloud.r-project.org/src/contrib/rgeos_0.3-26.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/rgeos"
+ version('0.5-5', sha256='4baa0dfe6ff76e87ddb67a030fc14fe963d28b518485a4d71058923b2606d420')
version('0.5-1', sha256='8408973e7fe5648e39aa53f3d4bfe800638021a146a4e06f86496c0132e05488')
version('0.3-26', sha256='98524a0b8113abe6c3d0ecc1f2f66e7ab6d40c783a76158cfc017e1ab1e3f433')
diff --git a/var/spack/repos/builtin/packages/r-rgexf/package.py b/var/spack/repos/builtin/packages/r-rgexf/package.py
index 137a4baf6a..f3365a13d3 100644
--- a/var/spack/repos/builtin/packages/r-rgexf/package.py
+++ b/var/spack/repos/builtin/packages/r-rgexf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RRgexf(RPackage):
- """Create, read and write GEXF (Graph Exchange XML Format) graph files
+ """Build, Import and Export GEXF Graph Files
+
+ Create, read and write GEXF (Graph Exchange XML Format) graph files
(used in Gephi and others). Using the XML package, it allows the user to
easily build/read graph files including attributes, GEXF viz attributes
(such as color, size, and position), network dynamics (for both edges and
@@ -20,8 +22,10 @@ class RRgexf(RPackage):
url = "https://cloud.r-project.org/src/contrib/rgexf_0.15.3.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/rgexf"
+ version('0.16.0', sha256='2a671df9ac70cfefd4092754317cb28e32a33df345b80e1975bf838e838245ee')
version('0.15.3', sha256='2e8a7978d1fb977318e6310ba65b70a9c8890185c819a7951ac23425c6dc8147')
depends_on('r-xml', type=('build', 'run'))
- depends_on('r-rook', type=('build', 'run'))
depends_on('r-igraph', type=('build', 'run'))
+ depends_on('r-servr', when='@0.16.0:', type=('build', 'run'))
+ depends_on('r-rook', when='@:0.15.3', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rgl/package.py b/var/spack/repos/builtin/packages/r-rgl/package.py
index c890df70d9..f4ea92ba10 100644
--- a/var/spack/repos/builtin/packages/r-rgl/package.py
+++ b/var/spack/repos/builtin/packages/r-rgl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RRgl(RPackage):
- """Provides medium to high level functions for 3D interactive graphics,
+ """3D Visualization Using OpenGL
+
+ Provides medium to high level functions for 3D interactive graphics,
including functions modelled on base graphics (plot3d(), etc.) as well as
functions for constructing representations of geometric objects (cube3d(),
etc.). Output may be on screen using OpenGL, or to various standard
@@ -18,13 +20,15 @@ class RRgl(RPackage):
url = "https://cloud.r-project.org/src/contrib/rgl_0.99.16.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/rgl"
+ version('0.104.16', sha256='b82d2e2b965e76d6cc55bbd15ee0f79c36913ab09ce5436d2104551563462a99')
version('0.100.26', sha256='e1889c2723ad458b39fdf9366fdaf590d7657d3762748f8534a8491ef754e740')
version('0.100.24', sha256='1233a7bdc5a2b908fc64d5f56e92a0e123e8f7c0b9bac93dfd005608b78fa35a')
version('0.100.19', sha256='50630702554e422e0603f27d499aad3b6f822de5a73da7fdf70404ac50df7025')
version('0.99.16', sha256='692a545ed2ff0f5e15289338736f0e3c092667574c43ac358d8004901d7a1a61')
version('0.98.1', sha256='5f49bed9e092e672f73c8a1a5365cdffcda06db0315ac087e95ab9c9c71a6986')
- depends_on('r@3.2:', type=('build', 'run'))
+ depends_on('r+X', type=('build', 'run'))
+ depends_on('r@3.2.0:', type=('build', 'run'))
depends_on('r-htmlwidgets', type=('build', 'run'))
depends_on('r-htmltools', type=('build', 'run'))
depends_on('r-knitr', type=('build', 'run'))
@@ -33,12 +37,12 @@ class RRgl(RPackage):
depends_on('r-magrittr', type=('build', 'run'))
depends_on('r-crosstalk', when='@0.99.16:', type=('build', 'run'))
depends_on('r-manipulatewidget@0.9.0:', when='@0.99.16:', type=('build', 'run'))
- depends_on('zlib', type='link')
- depends_on('libpng@1.2.9:', type='link')
depends_on('libx11')
- depends_on('freetype', type='link')
depends_on('gl')
depends_on('glu')
+ depends_on('zlib', type='link')
+ depends_on('libpng@1.2.9:', type='link')
+ depends_on('freetype', type='link')
depends_on('pandoc@1.14:', type='build')
def configure_args(self):
diff --git a/var/spack/repos/builtin/packages/r-rgooglemaps/package.py b/var/spack/repos/builtin/packages/r-rgooglemaps/package.py
index 1938aa41fe..177610c0d2 100644
--- a/var/spack/repos/builtin/packages/r-rgooglemaps/package.py
+++ b/var/spack/repos/builtin/packages/r-rgooglemaps/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RRgooglemaps(RPackage):
- """This package serves two purposes: (i) Provide a comfortable R interface
+ """Overlays on Static Maps
+
+ This package serves two purposes: (i) Provide a comfortable R interface
to query the Google server for static maps, and (ii) Use the map as a
background image to overlay plots within R. This requires proper coordinate
scaling."""
@@ -16,10 +18,12 @@ class RRgooglemaps(RPackage):
url = "https://cloud.r-project.org/src/contrib/RgoogleMaps_1.2.0.7.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/RgoogleMaps"
+ version('1.4.5.3', sha256='d1d5ad8db841754af175d4104a05c5c31e5cc445be314a3ac70483c31798680b')
version('1.4.3', sha256='44cb62bcd23e5b4807e91c5825352eb8d38aaaeb3b38a8271ca9f21c1e1d4b19')
version('1.4.2', sha256='b479996fcb72f067644a7ea7f00325e44e76efd202e84aaab022753c4a6d5584')
version('1.2.0.7', sha256='9c268a5a554ad6da69fb560d88dea9c86ec9e9a56b691f1b63faedfe20826712')
depends_on('r@2.10:', type=('build', 'run'))
depends_on('r-png', type=('build', 'run'))
+ depends_on('r-sp', when='@1.4.5.3:', type=('build', 'run'))
depends_on('r-rjsonio', when='@1.2.0.5:1.2.0.7', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rgraphviz/package.py b/var/spack/repos/builtin/packages/r-rgraphviz/package.py
index f0e986190e..69264ccbea 100644
--- a/var/spack/repos/builtin/packages/r-rgraphviz/package.py
+++ b/var/spack/repos/builtin/packages/r-rgraphviz/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RRgraphviz(RPackage):
- """Provides plotting capabilities for R graph objects.
+ """Provides plotting capabilities for R graph objects
Interfaces R with the AT and T graphviz library for plotting R graph
objects from the graph package."""
@@ -15,13 +15,14 @@ class RRgraphviz(RPackage):
homepage = "https://bioconductor.org/packages/Rgraphviz"
git = "https://git.bioconductor.org/packages/Rgraphviz.git"
+ version('2.34.0', commit='9746623211be794226258631992dfcccccfd7487')
version('2.28.0', commit='c1f57c11f037c977f1d17f227f12a09a999e8c0b')
version('2.26.0', commit='e9b08c77121a45c65129d94a12b5c0b31c65617f')
version('2.24.0', commit='7d1fb00afed0d44e32b4a46f10137ab34f100577')
version('2.22.0', commit='5b8ebbf9b38574c08959dd4632e802b3fbccc121')
version('2.20.0', commit='eface6298150667bb22eac672f1a45e52fbf8c90')
+ depends_on('r+X', type=('build', 'run'))
depends_on('r@2.6.0:', type=('build', 'run'))
depends_on('r-graph', type=('build', 'run'))
-
depends_on('graphviz@2.16:', type='run')
diff --git a/var/spack/repos/builtin/packages/r-rhdf5/package.py b/var/spack/repos/builtin/packages/r-rhdf5/package.py
index 932d1c342c..f3312f9019 100644
--- a/var/spack/repos/builtin/packages/r-rhdf5/package.py
+++ b/var/spack/repos/builtin/packages/r-rhdf5/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RRhdf5(RPackage):
- """R Interface to HDF5.
+ """R Interface to HDF5
This package provides an interface between HDF5 and R. HDF5's main
features are the ability to store and access very large and/or complex
@@ -20,17 +20,17 @@ class RRhdf5(RPackage):
homepage = "https://bioconductor.org/packages/rhdf5"
git = "https://git.bioconductor.org/packages/rhdf5.git"
+ version('2.34.0', commit='ec861b81fc6962e844bf56b7549ba565a7e4c69c')
version('2.28.1', commit='e230fa34d6f3e97dd4e6065115675baf5e8213bb')
version('2.26.2', commit='81e11258db493661a19cf83e142b690ecac4e6cf')
version('2.24.0', commit='e926e8ce4e77082781afb943324a1e6745385b48')
version('2.22.0', commit='4431bdc0a2bcbb8086ee08a0f2300129b808d1be')
version('2.20.0', commit='37b5165325062728bbec9167f89f5f4b794f30bc')
- depends_on('r-zlibbioc', type=('build', 'run'))
-
- depends_on('r-rhdf5lib', when='@2.24.0:', type=('build', 'run'))
-
depends_on('r@3.5.0:', when='@2.26.2:', type=('build', 'run'))
+ depends_on('r-rhdf5lib', when='@2.24.0:', type=('build', 'run'))
depends_on('r-rhdf5lib@1.3.2:', when='@2.26.2:', type=('build', 'run'))
-
+ depends_on('r-rhdf5lib@1.11.0:', when='@2.34.0:', type=('build', 'run'))
+ depends_on('r-rhdf5filters', when='@2.34.0:', type=('build', 'run'))
+ depends_on('r-zlibbioc', when='@:2.28.1', type=('build', 'run'))
depends_on('gmake', type='build')
diff --git a/var/spack/repos/builtin/packages/r-rhdf5filters/package.py b/var/spack/repos/builtin/packages/r-rhdf5filters/package.py
new file mode 100644
index 0000000000..b6f8037f04
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-rhdf5filters/package.py
@@ -0,0 +1,20 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RRhdf5filters(RPackage):
+ """HDF5 Compression Filters
+
+ Provides a collection of compression filters for use with HDF5 datasets."""
+
+ homepage = "https://github.com/grimbough/rhdf5filters"
+ git = "https://git.bioconductor.org/packages/rhdf5filters"
+
+ version('1.2.0', commit='25af0180f926b4b3ea11b30ec9277d26ad3d56b3')
+
+ depends_on('r-rhdf5lib', type=('build', 'run'))
+ depends_on('gmake', type='build')
diff --git a/var/spack/repos/builtin/packages/r-rhdf5lib/package.py b/var/spack/repos/builtin/packages/r-rhdf5lib/package.py
index 266bb4859f..bcee3cd524 100644
--- a/var/spack/repos/builtin/packages/r-rhdf5lib/package.py
+++ b/var/spack/repos/builtin/packages/r-rhdf5lib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,16 +7,18 @@ from spack import *
class RRhdf5lib(RPackage):
- """hdf5 library as an R package.
+ """hdf5 library as an R package
Provides C and C++ hdf5 libraries."""
homepage = "https://bioconductor.org/packages/Rhdf5lib"
git = "https://git.bioconductor.org/packages/Rhdf5lib.git"
+ version('1.12.1', commit='cf464f40fd95274d0d351cf28b586c49307c4f0b')
version('1.6.3', commit='11ac3069f28b0068002db9c645817401f6c5b3c4')
version('1.4.3', commit='f6be8c2659b2daa17541506058917b7981490d65')
version('1.2.1', commit='dbf85dbedb736d5a696794d52875729c8514494e')
version('1.0.0', commit='79608038c2016a518ba747fe6a2bf02ce53a75f9')
+ depends_on('r@3.3.0:', when='@1.12.1:', type='build')
depends_on('gmake', type='build')
diff --git a/var/spack/repos/builtin/packages/r-rhmmer/package.py b/var/spack/repos/builtin/packages/r-rhmmer/package.py
index ab00ef0bad..94ce38620a 100644
--- a/var/spack/repos/builtin/packages/r-rhmmer/package.py
+++ b/var/spack/repos/builtin/packages/r-rhmmer/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-rhtslib/package.py b/var/spack/repos/builtin/packages/r-rhtslib/package.py
index 03539a56ba..76b95ae557 100644
--- a/var/spack/repos/builtin/packages/r-rhtslib/package.py
+++ b/var/spack/repos/builtin/packages/r-rhtslib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RRhtslib(RPackage):
- """HTSlib high-throughput sequencing library as an R package.
+ """HTSlib high-throughput sequencing library as an R package
This package provides version 1.7 of the 'HTSlib' C library for high-
throughput sequence analysis. The package is primarily useful to
@@ -18,6 +18,7 @@ class RRhtslib(RPackage):
homepage = "https://bioconductor.org/packages/Rhtslib"
git = "https://git.bioconductor.org/packages/Rhtslib.git"
+ version('1.22.0', commit='899b79faa54d42c7c9b9a2bc49972109637d367f')
version('1.18.1', commit='751a2ebaed43b7991204b27bd6c7870645001d82')
version('1.16.3', commit='3ed0b5db2ee3cf0df1c6096fde8855c8485eebd4')
version('1.14.1', commit='4be260720f845a34d0ac838278fce1363f645230')
@@ -26,7 +27,6 @@ class RRhtslib(RPackage):
version('1.8.0', commit='3b5493473bed42958614091c58c739932ffcfa79')
depends_on('r-zlibbioc', type=('build', 'run'))
-
depends_on('bzip2', type=('build', 'link', 'run'))
depends_on('xz', type=('build', 'link', 'run'))
depends_on('curl', type=('build', 'link', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rinside/package.py b/var/spack/repos/builtin/packages/r-rinside/package.py
index 5b2b99e161..d9c3940479 100644
--- a/var/spack/repos/builtin/packages/r-rinside/package.py
+++ b/var/spack/repos/builtin/packages/r-rinside/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RRinside(RPackage):
- """C++ classes to embed R in C++ applications The 'RInside' packages makes
+ """C++ Classes to Embed R in C++ (and C) Applications
+
+ C++ classes to embed R in C++ applications The 'RInside' packages makes
it easier to have "R inside" your C++ application by providing a C++
wrapperclass providing the R interpreter. As R itself is embedded into
your application, a shared library build of R is required. This works on
@@ -26,9 +28,9 @@ class RRinside(RPackage):
url = "https://cloud.r-project.org/src/contrib/RInside_0.2.15.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/RInside"
+ version('0.2.16', sha256='7ae4ade128ea05f37068d59e610822ff0b277f9d39d8900f7eb31759ad5a2a0e')
version('0.2.15', sha256='1e1d87a3584961f3aa4ca6acd4d2f3cda26abdab027ff5be2fd5cd76a98af02b')
version('0.2.14', sha256='8de5340993fe879ca00fa559c5b1b27b408ba78bfc5f67d36d6f0b8d8e8649cf')
version('0.2.13', sha256='be1da861f4f8c1292f0691bce05978e409a081f24ad6006ae173a6a89aa4d031')
- depends_on('r@2.10.0:', type=('build', 'run'))
depends_on('r-rcpp@0.11.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rio/package.py b/var/spack/repos/builtin/packages/r-rio/package.py
index 4472501133..4c3fbe88e0 100644
--- a/var/spack/repos/builtin/packages/r-rio/package.py
+++ b/var/spack/repos/builtin/packages/r-rio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-rjags/package.py b/var/spack/repos/builtin/packages/r-rjags/package.py
index 7a74f65ba3..d405e9f796 100644
--- a/var/spack/repos/builtin/packages/r-rjags/package.py
+++ b/var/spack/repos/builtin/packages/r-rjags/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,13 +8,15 @@ from spack import *
class RRjags(RPackage):
- """Interface to the JAGS MCMC library.
- Usage: $ spack load r-rjags """
+ """Bayesian Graphical Models using MCMC
+
+ Interface to the JAGS MCMC library."""
homepage = "https://cloud.r-project.org/package=rjags"
url = "https://cloud.r-project.org/src/contrib/rjags_4-8.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/rjags/"
+ version('4-10', sha256='bd3e0bdf50b23b63061a0caa2428be585ccbf0b3f5d28eaa690e714e508d0ada')
version('4-8', sha256='1529827ab11493fb5f05552e239d700ae2f818995d86d3c9e4c92523f594b59f')
version('4-6', sha256='cf24bb1e7c8445bafb49097089ad33e5bd5d8efbccf16fc7e32ad230f05f89ad')
diff --git a/var/spack/repos/builtin/packages/r-rjava/package.py b/var/spack/repos/builtin/packages/r-rjava/package.py
index 762836e685..87cf4bef54 100644
--- a/var/spack/repos/builtin/packages/r-rjava/package.py
+++ b/var/spack/repos/builtin/packages/r-rjava/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,16 +7,26 @@ from spack import *
class RRjava(RPackage):
- """Low-level interface to Java VM very much like .C/.Call and friends.
+ """Low-Level R to Java Interface
+
+ Low-level interface to Java VM very much like .C/.Call and friends.
Allows creation of objects, calling methods and accessing fields."""
homepage = "http://www.rforge.net/rJava/"
url = "https://cloud.r-project.org/src/contrib/rJava_0.9-8.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/rJava"
+ version('0.9-13', sha256='5b1688f5044476b34f71d868b222ac5fce3a088f0c2b9e4591c1e48f3d8c75f4')
version('0.9-11', sha256='c28ae131456a98f4d3498aa8f6eac9d4df48727008dacff1aa561fc883972c69')
version('0.9-8', sha256='dada5e031414da54eb80b9024d51866c20b92d41d68da65789fe0130bc54bd8a')
depends_on('r@2.5:', type=('build', 'run'))
- depends_on('java@1.2:')
+ depends_on('java@2:')
depends_on('gmake', type='build')
+
+ # these are not listed as dependencies but are needed
+ depends_on('bzip2')
+ depends_on('icu4c')
+ depends_on('libiconv')
+ depends_on('pcre2')
+ depends_on('xz')
diff --git a/var/spack/repos/builtin/packages/r-rjson/package.py b/var/spack/repos/builtin/packages/r-rjson/package.py
index a2084273c4..09a3d4e266 100644
--- a/var/spack/repos/builtin/packages/r-rjson/package.py
+++ b/var/spack/repos/builtin/packages/r-rjson/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-rjsonio/package.py b/var/spack/repos/builtin/packages/r-rjsonio/package.py
index b38fe5c17d..bf54f80057 100644
--- a/var/spack/repos/builtin/packages/r-rjsonio/package.py
+++ b/var/spack/repos/builtin/packages/r-rjsonio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RRjsonio(RPackage):
- """This is a package that allows conversion to and from data in Javascript
+ """Serialize R Objects to JSON, JavaScript Object Notation
+
+ This is a package that allows conversion to and from data in Javascript
object notation (JSON) format. This allows R objects to be inserted into
Javascript/ECMAScript/ActionScript code and allows R programmers to read
and convert JSON content to R objects. This is an alternative to rjson
@@ -27,6 +29,7 @@ class RRjsonio(RPackage):
url = "https://cloud.r-project.org/src/contrib/RJSONIO_1.3-0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/RJSONIO"
+ version('1.3-1.4', sha256='54142c931e15eca278a02dad5734026bb49d960471eb085008af825352953190')
version('1.3-1.2', sha256='550e18f7c04186376d67747b8258f529d205bfc929da9194fe45ec384e092d7e')
version('1.3-1.1', sha256='c72493b441758cd1e3e9d91296b9ea31068e71104649f46ad84c854a02c09693')
version('1.3-0', sha256='119334b7761c6c1c3cec52fa17dbc1b72eaebb520c53e68d873dea147cf48fb7')
diff --git a/var/spack/repos/builtin/packages/r-rlang/package.py b/var/spack/repos/builtin/packages/r-rlang/package.py
index 9b258b6565..23aaab8591 100644
--- a/var/spack/repos/builtin/packages/r-rlang/package.py
+++ b/var/spack/repos/builtin/packages/r-rlang/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,16 @@ from spack import *
class RRlang(RPackage):
- """A toolbox for working with base types, core R features like the
- condition system, and core 'Tidyverse' features like tidy evaluation."""
+ """Functions for Base Types and Core R and 'Tidyverse' Features
+
+ A toolbox for working with base types, core R features like the condition
+ system, and core 'Tidyverse' features like tidy evaluation."""
homepage = "https://cloud.r-project.org/package=rlang"
url = "https://cloud.r-project.org/src/contrib/rlang_0.2.2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/rlang"
+ version('0.4.10', sha256='07530270c4c199f2b7efc5d57a476d99babd9d0c3388a02bb7d57fe312da3576')
version('0.4.6', sha256='3a81b107765fd6ac0ad716c428d01878775ded9208ba125d43c890c73d2533ca')
version('0.4.0', sha256='9748a4a217548bbe5631c18fd88c94811950446f798ff21fb327703aebaa150d')
version('0.3.4', sha256='4e467f7b0dcbde91b60c292137d2c69cecaa713a6e4c9b7157ef6fd5453b7ade')
@@ -27,3 +30,4 @@ class RRlang(RPackage):
depends_on('r@3.1.0:', when='@:0.3.4', type=('build', 'run'))
depends_on('r@3.2.0:', when='@0.4.0:', type=('build', 'run'))
+ depends_on('r@3.3.0:', when='@0.4.10:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rle/package.py b/var/spack/repos/builtin/packages/r-rle/package.py
new file mode 100644
index 0000000000..615cacaa3c
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-rle/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RRle(RPackage):
+ """Common Functions for Run-Length Encoded Vectors
+
+ Common 'base' and 'stats' methods for 'rle' objects, aiming to make it
+ possible to treat them transparently as vectors."""
+
+ homepage = "https://cloud.r-project.org/package=rle"
+ url = "https://cloud.r-project.org/src/contrib/rle_0.9.2.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/rle"
+
+ version('0.9.2', sha256='803cbe310af6e882e27be61d37d660dbe5910ac1ee1eff61a480bcf724a04f69')
+
+ depends_on('r@3.5:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rmariadb/configure_add_rpath.patch b/var/spack/repos/builtin/packages/r-rmariadb/configure_add_rpath.patch
new file mode 100644
index 0000000000..a5c865400f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-rmariadb/configure_add_rpath.patch
@@ -0,0 +1,13 @@
+diff --git a/configure b/configure
+index 6c0f43c..bd7f627 100755
+--- a/configure
++++ b/configure
+@@ -29,7 +29,7 @@ fi
+ if [ "$INCLUDE_DIR" ] || [ "$LIB_DIR" ]; then
+ echo "Found INCLUDE_DIR and/or LIB_DIR!"
+ PKG_CFLAGS="-I$INCLUDE_DIR $PKG_CFLAGS"
+- PKG_LIBS="-L$LIB_DIR $PKG_LIBS"
++ PKG_LIBS="-L$LIB_DIR -Wl,-rpath,$LIB_DIR $PKG_LIBS"
+ elif [ "$PKGCONFIG_CFLAGS" ] || [ "$PKGCONFIG_LIBS" ]; then
+ echo "Found mysql_config/mariadb_config cflags and libs!"
+ PKG_CFLAGS=${PKGCONFIG_CFLAGS}
diff --git a/var/spack/repos/builtin/packages/r-rmariadb/package.py b/var/spack/repos/builtin/packages/r-rmariadb/package.py
index ac7ea12323..251e8c0be9 100644
--- a/var/spack/repos/builtin/packages/r-rmariadb/package.py
+++ b/var/spack/repos/builtin/packages/r-rmariadb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RRmariadb(RPackage):
- """Implements a 'DBI'-compliant interface to 'MariaDB'
+ """Database Interface and 'MariaDB' Driver
+
+ Implements a 'DBI'-compliant interface to 'MariaDB'
(<https://mariadb.org/>) and 'MySQL' (<https://www.mysql.com/>)
databases."""
@@ -15,15 +17,24 @@ class RRmariadb(RPackage):
url = "https://cloud.r-project.org/src/contrib/RMariaDB_1.0.8.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/RMariaDB"
+ version('1.1.0', sha256='9ffa63a15052876a51a7996ca4e6a5b7b937f594b5cc7ca5a86f43789e22a956')
version('1.0.8', sha256='3c8aedc519dc063ceb068535a3700bc5caf26f867078cc5a228aa8961e2d99f5')
depends_on('r@2.8.0:', type=('build', 'run'))
depends_on('r-bit64', type=('build', 'run'))
depends_on('r-dbi@1.1.0:', type=('build', 'run'))
depends_on('r-hms@0.5.0:', type=('build', 'run'))
+ depends_on('r-lubridate', when='@1.1.0:', type=('build', 'run'))
depends_on('r-rcpp@0.12.4:', type=('build', 'run'))
depends_on('r-bh', type=('build', 'run'))
depends_on('r-plogr', type=('build', 'run'))
-
- # non-R dependencies
depends_on('mariadb-client')
+
+ patch('configure_add_rpath.patch')
+
+ def configure_vars(self):
+ lib_dir = self.spec['mariadb-client'].prefix.lib.mariadb
+ inc_dir = self.spec['mariadb-client'].prefix.include.mariadb
+ args = ['LIB_DIR={0}'.format(lib_dir),
+ 'INCLUDE_DIR={0}'.format(inc_dir)]
+ return args
diff --git a/var/spack/repos/builtin/packages/r-rmarkdown/package.py b/var/spack/repos/builtin/packages/r-rmarkdown/package.py
index 52f76a7a56..92dfdf6e80 100644
--- a/var/spack/repos/builtin/packages/r-rmarkdown/package.py
+++ b/var/spack/repos/builtin/packages/r-rmarkdown/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,28 +8,34 @@ from spack import *
class RRmarkdown(RPackage):
- """Convert R Markdown documents into a variety of formats."""
+ """Dynamic Documents for R
+
+ Convert R Markdown documents into a variety of formats."""
homepage = "http://rmarkdown.rstudio.com/"
url = "https://cloud.r-project.org/src/contrib/rmarkdown_1.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/rmarkdown"
+ version('2.6', sha256='e6e799c472de11e079bc752cca4b4dbd6803650649457bb6ae836cb1edcdf6b0')
version('1.14', sha256='f636b1048c5be56e06aa0b2b4342ad5c8192734f1e9b27468fef62be672edc61')
version('1.13', sha256='96fb6b08d27bbb8054145e0a55721f905341941d4f6691480a2a234e2d5a63ef')
version('1.7', sha256='c3191db65b9ad41b6dbb77aff53487701032d306e92b208ef7515b747931fe63')
version('1.0', sha256='ff1ecb74ebc444b9b0b7b547adc512daefe1ee08d06bc0e3ee4eb68e58d2ef30')
+ depends_on('r+X', type=('build', 'run'))
depends_on('r@3.0:', type=('build', 'run'))
depends_on('r-knitr@1.22:', type=('build', 'run'))
depends_on('r-yaml@2.1.19:', type=('build', 'run'))
depends_on('r-htmltools@0.3.5:', type=('build', 'run'))
depends_on('r-evaluate@0.13:', type=('build', 'run'))
- depends_on('r-base64enc', type=('build', 'run'))
depends_on('r-jsonlite', type=('build', 'run'))
- depends_on('r-rprojroot', when='@1.3:1.7', type=('build', 'run'))
- depends_on('r-mime', when='@1.8:', type=('build', 'run'))
- depends_on('r-stringr@1.2.0:', when='@1.6:', type=('build', 'run'))
- depends_on('r-catools', when='@:1.7', type=('build', 'run'))
depends_on('r-tinytex@0.11:', when='@1.10:', type=('build', 'run'))
depends_on('r-xfun', when='@1.13:', type=('build', 'run'))
+ depends_on('r-xfun@0.15:', when='@2.6:', type=('build', 'run'))
+ depends_on('r-stringr@1.2.0:', when='@1.6:', type=('build', 'run'))
+ depends_on('r-rprojroot', when='@1.3:1.7', type=('build', 'run'))
+ depends_on('r-mime', when='@1.8:1.14', type=('build', 'run'))
+ depends_on('r-catools', when='@:1.7', type=('build', 'run'))
+ depends_on('r-base64enc', when='@:1.14', type=('build', 'run'))
depends_on('pandoc@1.12.3:')
+ depends_on('pandoc@1.14:', when='@2.6:')
diff --git a/var/spack/repos/builtin/packages/r-rminer/package.py b/var/spack/repos/builtin/packages/r-rminer/package.py
index 5d4a97f247..5938b814a7 100644
--- a/var/spack/repos/builtin/packages/r-rminer/package.py
+++ b/var/spack/repos/builtin/packages/r-rminer/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,14 +7,29 @@ from spack import *
class RRminer(RPackage):
- """Facilitates the use of data mining algorithms in classification and
+ """Data Mining Classification and Regression Methods
+
+ Facilitates the use of data mining algorithms in classification and
regression (including time series forecasting) tasks by presenting a short
- and coherent set of functions."""
+ and coherent set of functions. Versions: 1.4.6 / 1.4.5 / 1.4.4 new
+ automated machine learning (AutoML) and ensembles, via improved fit(),
+ mining() and mparheuristic() functions, and new categorical preprocessing,
+ via improved delevels() function; 1.4.3 new metrics (e.g., macro precision,
+ explained variance), new "lssvm" model and improved mparheuristic()
+ function; 1.4.2 new "NMAE" metric, "xgboost" and "cv.glmnet" models (16
+ classification and 18 regression models); 1.4.1 new tutorial and more
+ robust version; 1.4 - new classification and regression models, with a
+ total of 14 classification and 15 regression methods, including: Decision
+ Trees, Neural Networks, Support Vector Machines, Random Forests, Bagging
+ and Boosting; 1.3 and 1.3.1 - new classification and regression metrics;
+ 1.2 - new input importance methods via improved Importance() function; 1.0
+ - first version."""
homepage = "http://www3.dsi.uminho.pt/pcortez/rminer.html"
url = "https://cloud.r-project.org/src/contrib/rminer_1.4.2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/rminer"
+ version('1.4.6', sha256='1f8bf7b3fbc887fd766568c1ec1f861021c962259354bd8967a61c1d0761cdf7')
version('1.4.2', sha256='64444dcedcd17f2f26129819d6bd2f84d4bb59c8f65328b6054ef32cb9624fc2')
depends_on('r-plotrix', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rmpfr/package.py b/var/spack/repos/builtin/packages/r-rmpfr/package.py
index e01eeefbd1..7741017a45 100644
--- a/var/spack/repos/builtin/packages/r-rmpfr/package.py
+++ b/var/spack/repos/builtin/packages/r-rmpfr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,23 +7,28 @@ from spack import *
class RRmpfr(RPackage):
- """Arithmetic (via S4 classes and methods) for arbitrary precision
- floating point numbers, including transcendental ("special")
- functions. To this end, Rmpfr interfaces to the LGPL'ed MPFR
- (Multiple Precision Floating-Point Reliable) Library which itself
- is based on the GMP (GNU Multiple Precision) Library."""
+ """R MPFR - Multiple Precision Floating-Point Reliable
+
+ Arithmetic (via S4 classes and methods) for arbitrary precision floating
+ point numbers, including transcendental ("special") functions. To this end,
+ Rmpfr interfaces to the LGPL'ed MPFR (Multiple Precision Floating-Point
+ Reliable) Library which itself is based on the GMP (GNU Multiple Precision)
+ Library."""
homepage = "http://rmpfr.r-forge.r-project.org"
url = "https://cloud.r-project.org/src/contrib/Rmpfr_0.6-1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/Rmpfr"
+ version('0.8-2', sha256='74f6af1738b2cd21e7f2564b4cc2c84d5473a3745ba88ec76355d07fdd61f700')
version('0.7-2', sha256='ec1da6ec5292ea6ac95495c6a299591d367e520ae324719817fb884c865603ff')
version('0.7-1', sha256='9b3021617a22b0710b0f1acc279290762317ff123fd9e8fd03f1449f4bbfe204')
version('0.6-1', sha256='bf50991055e9336cd6a110d711ae8a91a0551b96f9eaab5fef8c05f578006e1c')
- depends_on('r@3.0.1:', when='@:0.6-1', type=('build', 'run'))
+ depends_on('r@3.0.1:', type=('build', 'run'))
depends_on('r@3.1.0:', when='@0.7-0', type=('build', 'run'))
depends_on('r@3.3.0:', when='@0.7-1:', type=('build', 'run'))
+ depends_on('r@3.5.0:', when='@0.8-2:', type=('build', 'run'))
depends_on('r-gmp@0.5-8:', type=('build', 'run'))
- depends_on('mpfr@3.0.0:')
+ depends_on('r-gmp@0.6-1:', when='@0.8-2:', type=('build', 'run'))
depends_on('gmp@4.2.3:')
+ depends_on('mpfr@3.0.0:')
diff --git a/var/spack/repos/builtin/packages/r-rmpi/package.py b/var/spack/repos/builtin/packages/r-rmpi/package.py
index b1e4bdccfa..a193105e60 100644
--- a/var/spack/repos/builtin/packages/r-rmpi/package.py
+++ b/var/spack/repos/builtin/packages/r-rmpi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-rms/package.py b/var/spack/repos/builtin/packages/r-rms/package.py
index 1090e0e546..7542f83370 100644
--- a/var/spack/repos/builtin/packages/r-rms/package.py
+++ b/var/spack/repos/builtin/packages/r-rms/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,42 +7,47 @@ from spack import *
class RRms(RPackage):
- """Regression modeling, testing, estimation, validation, graphics,
- prediction, and typesetting by storing enhanced model design
- attributes in the fit. 'rms' is a collection of functions that
- assist with and streamline modeling. It also contains functions
- for binary and ordinal logistic regression models, ordinal models
- for continuous Y with a variety of distribution families, and the
- Buckley-James multiple regression model for right-censored responses,
- and implements penalized maximum likelihood estimation for logistic
- and ordinary linear models. 'rms' works with almost any regression
- model, but it was especially written to work with binary or ordinal
- regression models, Cox regression, accelerated failure time models,
- ordinary linear models, the Buckley-James model, generalized least
- squares for serially or spatially correlated observations,
- generalized linear models, and quantile regression.
- """
+ """Regression Modeling Strategies
+
+ Regression modeling, testing, estimation, validation, graphics, prediction,
+ and typesetting by storing enhanced model design attributes in the fit.
+ 'rms' is a collection of functions that assist with and streamline
+ modeling. It also contains functions for binary and ordinal logistic
+ regression models, ordinal models for continuous Y with a variety of
+ distribution families, and the Buckley-James multiple regression model for
+ right-censored responses, and implements penalized maximum likelihood
+ estimation for logistic and ordinary linear models. 'rms' works with almost
+ any regression model, but it was especially written to work with binary or
+ ordinal regression models, Cox regression, accelerated failure time models,
+ ordinary linear models, the Buckley-James model, generalized least squares
+ for serially or spatially correlated observations, generalized linear
+ models, and quantile regression."""
homepage = "https://cloud.r-project.org/package=rms"
url = "https://cloud.r-project.org/src/contrib/rms_5.1-4.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/rms"
+ version('6.1-0', sha256='b89ec3b9211a093bfe83a2a8107989b5ce3b7b7c323b88a5d887d99753289f52')
version('5.1-4', sha256='38f5844c4944a95b2adebea6bb1d163111270b8662399ea0349c45c0758076a6')
version('5.1-3.1', sha256='0946d9547a4e3ff020a61ab3fce38f88aa9545729683e2bfefeb960edec82b37')
version('5.1-3', sha256='5fc7120d8a93b4aa9727d82eac368c5c47ff70f467ae2b012afac688235089eb')
version('5.1-2', sha256='f1cfeef466ac436105756679353a3468027d97a600e3be755b819aef30ed9207')
version('5.1-1', sha256='c489948df5c434b40bcf5288844f5b4e08d157f36939d09230c1600f88d1bfe3')
- depends_on('r@3.5:', type=('build', 'run'))
- depends_on('r-hmisc@4.3:', type=('build', 'run'))
- depends_on('r-survival@3.1-6', type=('build', 'run'))
+ depends_on('r@3.5.0:', type=('build', 'run'))
+ depends_on('r-hmisc@4.3-0:', type=('build', 'run'))
+ depends_on('r-survival@3.1-6:', type=('build', 'run'))
+ depends_on('r-survival@3.1-12:', when='@6.1-0:', type=('build', 'run'))
depends_on('r-lattice', type=('build', 'run'))
- depends_on('r-polspline', type=('build', 'run'))
depends_on('r-ggplot2@2.2:', type=('build', 'run'))
depends_on('r-sparsem', type=('build', 'run'))
depends_on('r-quantreg', type=('build', 'run'))
depends_on('r-rpart', type=('build', 'run'))
depends_on('r-nlme@3.1-123:', type=('build', 'run'))
+ depends_on('r-polspline', type=('build', 'run'))
depends_on('r-multcomp', type=('build', 'run'))
depends_on('r-htmltable@1.11.0:', type=('build', 'run'))
depends_on('r-htmltools', type=('build', 'run'))
+ depends_on('r-mass', when='@6.1-0:', type=('build', 'run'))
+ depends_on('r-cluster', when='@6.1-0:', type=('build', 'run'))
+ depends_on('r-digest', when='@6.1-0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rmutil/package.py b/var/spack/repos/builtin/packages/r-rmutil/package.py
index 202cf10571..3770e99ff6 100644
--- a/var/spack/repos/builtin/packages/r-rmutil/package.py
+++ b/var/spack/repos/builtin/packages/r-rmutil/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,18 @@ from spack import *
class RRmutil(RPackage):
- """rmutil: Utilities for Nonlinear Regression and Repeated
- MeasurementsModels"""
+ """Utilities for Nonlinear Regression and Repeated MeasurementsModels
+
+ A toolkit of functions for nonlinear regression and repeated measurements
+ not to be used by itself but called by other Lindsey packages such as
+ 'gnlm', 'stable', 'growth', 'repeated', and 'event' (available at
+ <http://www.commanster.eu/rcode.html>)."""
homepage = "http://www.commanster.eu/rcode.html"
url = "https://cloud.r-project.org/src/contrib/rmutil_1.1.3.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/rmutil"
+ version('1.1.5', sha256='6077e643d6daeba6edcf49d928320b54cc6aa6ff59934f9e9e6071a2f9afb2f6')
version('1.1.3', sha256='7abaf41e99d1c4a0e4082c4594964ac1421c53b4268116c82fa55aa8bc0582da')
depends_on('r@1.4:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rmysql/package.py b/var/spack/repos/builtin/packages/r-rmysql/package.py
index 7c161a60cb..ac76721b0b 100644
--- a/var/spack/repos/builtin/packages/r-rmysql/package.py
+++ b/var/spack/repos/builtin/packages/r-rmysql/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,16 +7,20 @@ from spack import *
class RRmysql(RPackage):
- """Implements 'DBI' Interface to 'MySQL' and 'MariaDB' Databases."""
+ """Database Interface and 'MySQL' Driver for R
+
+ Legacy 'DBI' interface to 'MySQL' / 'MariaDB' based on old code ported from
+ S-PLUS. A modern 'MySQL' client based on 'Rcpp' is available from the
+ 'RMariaDB' package."""
homepage = "https://github.com/rstats-db/rmysql"
url = "https://cloud.r-project.org/src/contrib/RMySQL_0.10.9.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/RMySQL"
+ version('0.10.21', sha256='3a6bf06d32d66c7c958d4f89ed517614171a7fd254ef6f4d40f4c5982c2d6b31')
version('0.10.17', sha256='754df4fce159078c1682ef34fc96aa5ae30981dc91f4f2bada8d1018537255f5')
version('0.10.9', sha256='41289c743dc8ee2e0dea8b8f291d65f0a7cd11e799b713d94840406ff296fd42')
- depends_on('r-dbi@0.4:', type=('build', 'run'))
- depends_on('mariadb@:5.5')
-
depends_on('r@2.8.0:', type=('build', 'run'))
+ depends_on('r-dbi@0.4:', type=('build', 'run'))
+ depends_on('mysql')
diff --git a/var/spack/repos/builtin/packages/r-rnaseqmap/package.py b/var/spack/repos/builtin/packages/r-rnaseqmap/package.py
index 361e11a8f1..73472bbda8 100644
--- a/var/spack/repos/builtin/packages/r-rnaseqmap/package.py
+++ b/var/spack/repos/builtin/packages/r-rnaseqmap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RRnaseqmap(RPackage):
- """rnaSeq secondary analyses.
+ """rnaSeq secondary analyses
The rnaSeqMap library provides classes and functions to analyze the RNA-
sequencing data using the coverage profiles in multiple samples at a
@@ -16,6 +16,7 @@ class RRnaseqmap(RPackage):
homepage = "https://bioconductor.org/packages/rnaSeqMap"
git = "https://git.bioconductor.org/packages/rnaSeqMap.git"
+ version('2.48.0', commit='a8c515e518cebf571d1524c3a8a986ba7d1557db')
version('2.42.0', commit='3a3a1030cc38d79d04536e0ab16114e4fa6721cf')
version('2.40.1', commit='c122d645b3503fb1a061f5515e4f8cf2863b3ba3')
version('2.38.0', commit='5eb9583bfacd375161739a8ae6057204487f8b9e')
diff --git a/var/spack/repos/builtin/packages/r-rncl/package.py b/var/spack/repos/builtin/packages/r-rncl/package.py
index 4501e1c2f3..275c588039 100644
--- a/var/spack/repos/builtin/packages/r-rncl/package.py
+++ b/var/spack/repos/builtin/packages/r-rncl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-rnexml/package.py b/var/spack/repos/builtin/packages/r-rnexml/package.py
index bffab45a28..12d5966be4 100644
--- a/var/spack/repos/builtin/packages/r-rnexml/package.py
+++ b/var/spack/repos/builtin/packages/r-rnexml/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-rngtools/package.py b/var/spack/repos/builtin/packages/r-rngtools/package.py
index ac7e0fd8e6..6a6a36279b 100644
--- a/var/spack/repos/builtin/packages/r-rngtools/package.py
+++ b/var/spack/repos/builtin/packages/r-rngtools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,8 +7,10 @@ from spack import *
class RRngtools(RPackage):
- """This package contains a set of functions for working with Random Number
- Generators (RNGs). In particular, it defines a generic S4 framework for
+ """Utility Functions for Working with Random Number Generators
+
+ Provides a set of functions for working with Random Number Generators
+ (RNGs). In particular, a generic S4 framework is defined for
getting/setting the current RNG, or RNG data that are embedded into objects
for reproducibility. Notably, convenient default methods greatly facilitate
the way current RNG settings can be changed."""
@@ -17,13 +19,13 @@ class RRngtools(RPackage):
url = "https://cloud.r-project.org/src/contrib/rngtools_1.4.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/rngtools"
+ version('1.5', sha256='8274873b73f7acbe0ce007e62893bf4d369d2aab8768754a60da46b3f078f575')
version('1.4', sha256='3aa92366e5d0500537964302f5754a750aff6b169a27611725e7d84552913bce')
version('1.3.1.1', sha256='99e1a8fde6b81128d0946746c1ef84ec5b6c2973ad843a080098baf73aa3364c')
version('1.3.1', sha256='763fc493cb821a4d3e514c0dc876d602a692c528e1d67f295dde70c77009e224')
- depends_on('r@3.0.0:', when='@:1.3.1', type=('build', 'run'))
- depends_on('r@3.6.0:', when='@1.3.1.1', type=('build', 'run'))
+ depends_on('r@3.0.0:', type=('build', 'run'))
depends_on('r@3.2.0:', when='@1.4:', type=('build', 'run'))
- depends_on('r-pkgmaker@0.20:', type=('build', 'run'))
- depends_on('r-stringr', type=('build', 'run'))
depends_on('r-digest', type=('build', 'run'))
+ depends_on('r-pkgmaker@0.20:', when='@:1.4', type=('build', 'run'))
+ depends_on('r-stringr', when='@:1.4', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rnoaa/package.py b/var/spack/repos/builtin/packages/r-rnoaa/package.py
index bdaee96de1..923cec9a89 100644
--- a/var/spack/repos/builtin/packages/r-rnoaa/package.py
+++ b/var/spack/repos/builtin/packages/r-rnoaa/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,26 +7,38 @@ from spack import *
class RRnoaa(RPackage):
- """rnoaa: 'NOAA' Weather Data from R"""
+ """'NOAA' Weather Data from R
+
+ Client for many 'NOAA' data sources including the 'NCDC' climate 'API' at
+ <https://www.ncdc.noaa.gov/cdo-web/webservices/v2>, with functions for each
+ of the 'API' 'endpoints': data, data categories, data sets, data types,
+ locations, location categories, and stations. In addition, we have an
+ interface for 'NOAA' sea ice data, the 'NOAA' severe weather inventory,
+ 'NOAA' Historical Observing 'Metadata' Repository ('HOMR') data, 'NOAA'
+ storm data via 'IBTrACS', tornado data via the 'NOAA' storm prediction
+ center, and more."""
homepage = "https://github.com/ropensci/rnoaa"
url = "https://cloud.r-project.org/src/contrib/rnoaa_0.8.4.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/rnoaa"
+ version('1.3.0', sha256='4c421ad6e4c2b25e4dea5351c338aed70bea6e382562412d1dad825a50b0d161')
version('0.8.4', sha256='fb9ae771111dd5f638c1eff3290abad2ff9cc7e68a6678bf2414433ebed2dbbf')
depends_on('r-crul@0.7.0:', type=('build', 'run'))
+ depends_on('r-lubridate', type=('build', 'run'))
depends_on('r-dplyr', type=('build', 'run'))
- depends_on('r-geonames', type=('build', 'run'))
+ depends_on('r-tidyr', type=('build', 'run'))
+ depends_on('r-tidyselect', when='@1.3.0:', type=('build', 'run'))
depends_on('r-ggplot2', type=('build', 'run'))
- depends_on('r-gridextra', type=('build', 'run'))
- depends_on('r-hoardr@0.5.2:', type=('build', 'run'))
- depends_on('r-isdparser@0.2.0:', type=('build', 'run'))
- depends_on('r-jsonlite', type=('build', 'run'))
- depends_on('r-lubridate', type=('build', 'run'))
- depends_on('r-rappdirs', type=('build', 'run'))
depends_on('r-scales', type=('build', 'run'))
- depends_on('r-tibble', type=('build', 'run'))
- depends_on('r-tidyr', type=('build', 'run'))
depends_on('r-xml', type=('build', 'run'))
depends_on('r-xml2', type=('build', 'run'))
+ depends_on('r-jsonlite', type=('build', 'run'))
+ depends_on('r-rappdirs', type=('build', 'run'))
+ depends_on('r-gridextra', type=('build', 'run'))
+ depends_on('r-tibble', type=('build', 'run'))
+ depends_on('r-isdparser@0.2.0:', type=('build', 'run'))
+ depends_on('r-geonames', type=('build', 'run'))
+ depends_on('r-hoardr@0.5.2:', type=('build', 'run'))
+ depends_on('r-data-table', when='@1.3.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-robust/package.py b/var/spack/repos/builtin/packages/r-robust/package.py
index fafba06909..3f509dd7b3 100644
--- a/var/spack/repos/builtin/packages/r-robust/package.py
+++ b/var/spack/repos/builtin/packages/r-robust/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,17 +8,21 @@ from spack import *
class RRobust(RPackage):
- """robust: Port of the S+ Robust Library """
+ """Port of the S+ Robust Library
+
+ Methods for robust statistics, a state of the art in the early 2000s,
+ notably for robust regression and robust multivariate analysis."""
homepage = "https://cloud.r-project.org/package=robust"
url = "https://cloud.r-project.org/src/contrib/robust_0.4-18.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/robust/"
+ version('0.5-0.0', sha256='82f0b50028938966f807a4c4da5c345a3a64ccafd9a31c64a22cda852ed345cf')
version('0.4-18.1', sha256='de31901882873ef89748bb6863caf55734431df5b3eb3c6663ed17ee2e4a4077')
version('0.4-18', sha256='e4196f01bb3b0d768759d4411d524238b627eb8dc213d84cb30014e75480f8ac')
+ depends_on('r-fit-models', type=('build', 'run'))
depends_on('r-lattice', type=('build', 'run'))
depends_on('r-mass', type=('build', 'run'))
depends_on('r-robustbase', type=('build', 'run'))
depends_on('r-rrcov', type=('build', 'run'))
- depends_on('r-fit-models', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-robustbase/package.py b/var/spack/repos/builtin/packages/r-robustbase/package.py
index 4afc35894c..692f939352 100644
--- a/var/spack/repos/builtin/packages/r-robustbase/package.py
+++ b/var/spack/repos/builtin/packages/r-robustbase/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,16 +7,19 @@ from spack import *
class RRobustbase(RPackage):
- """"Essential" Robust Statistics. Tools allowing to analyze data
- with robust methods. This includes regression methodology
- including model selections and multivariate statistics where we
- strive to cover the book "Robust Statistics, Theory and Methods"
- by 'Maronna, Martin and Yohai'; Wiley 2006."""
+ """Basic Robust Statistics
+
+ "Essential" Robust Statistics. Tools allowing to analyze data with robust
+ methods. This includes regression methodology including model selections
+ and multivariate statistics where we strive to cover the book "Robust
+ Statistics, Theory and Methods" by 'Maronna, Martin and Yohai'; Wiley
+ 2006."""
homepage = "https://robustbase.r-forge.r-project.org"
url = "https://cloud.r-project.org/src/contrib/robustbase_0.92-7.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/robustbase"
+ version('0.93-7', sha256='8911d2d0fdca5e2627033e046279f9d106e25ce98d588f9ccc4d8e4b42680956')
version('0.93-5', sha256='bde564dbd52f04ab32f9f2f9dd09b9578f3ccd2541cf5f8ff430da42a55e7f56')
version('0.93-4', sha256='ea9e03d484ef52ea805803477ffc48881e4c8c86ffda4eea56109f8b23f0a6e0')
version('0.92-7', sha256='fcbd6ccbb0291b599fe6a674a91344511e0a691b9cadba0a9d40037faa22bf8f')
diff --git a/var/spack/repos/builtin/packages/r-roc/package.py b/var/spack/repos/builtin/packages/r-roc/package.py
index 90cb6bfb0d..023683a28a 100644
--- a/var/spack/repos/builtin/packages/r-roc/package.py
+++ b/var/spack/repos/builtin/packages/r-roc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,11 +7,14 @@ from spack import *
class RRoc(RPackage):
- """Provide utilities for ROC, with microarray focus."""
+ """utilities for ROC, with microarray focus
+
+ Provide utilities for ROC, with microarray focus."""
homepage = "https://bioconductor.org/packages/release/bioc/html/ROC.html"
git = "https://git.bioconductor.org/packages/ROC"
+ version('1.66.0', commit='62701ee41f48f99d15344127384fa032db69486f')
version('1.62.0', commit='60250fdb091f6a938709b8a2cffe6442ee22a9a2')
depends_on('r@1.9.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rocr/package.py b/var/spack/repos/builtin/packages/r-rocr/package.py
index 44b95183fa..47e3fda498 100644
--- a/var/spack/repos/builtin/packages/r-rocr/package.py
+++ b/var/spack/repos/builtin/packages/r-rocr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RRocr(RPackage):
- """ROC graphs, sensitivity/specificity curves, lift charts,
+ """Visualizing the Performance of Scoring Classifiers
+
+ ROC graphs, sensitivity/specificity curves, lift charts,
and precision/recall plots are popular examples of trade-off
visualizations for specific pairs of performance measures. ROCR
is a flexible tool for creating cutoff-parameterized 2D performance
@@ -23,9 +25,13 @@ class RRocr(RPackage):
mechanism. Despite its flexibility, ROCR is easy to use, with only
three commands and reasonable default values for all optional
parameters."""
+
homepage = "https://cloud.r-project.org/package=ROCR"
url = "https://cloud.r-project.org/src/contrib/ROCR_1.0-7.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/ROCR"
+ version('1.0-11', sha256='57385a773220a3aaef5b221a68b2d9c2a94794d4f9e9fc3c1eb9521767debb2a')
version('1.0-7', sha256='e7ef710f847e441a48b20fdc781dbc1377f5a060a5ee635234053f7a2a435ec9')
+
+ depends_on('r@3.6:', when='@1.0-11:', type=('build', 'run'))
depends_on('r-gplots', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rodbc/package.py b/var/spack/repos/builtin/packages/r-rodbc/package.py
index 8db227f82a..0969610221 100644
--- a/var/spack/repos/builtin/packages/r-rodbc/package.py
+++ b/var/spack/repos/builtin/packages/r-rodbc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,15 +7,19 @@ from spack import *
class RRodbc(RPackage):
- """An ODBC database interface."""
+ """ODBC Database Access
+
+ An ODBC database interface."""
homepage = "https://cloud.r-project.org/package=RODBC"
url = "https://cloud.r-project.org/src/contrib/RODBC_1.3-13.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/RODBC/"
+ version('1.3-17', sha256='469fc835f65c344d5c3eaa097ff278ee8e9f12f845722a9aad340115faa704f7')
version('1.3-15', sha256='c43e5a2f0aa2f46607e664bfc0bb3caa230bbb779f4ff084e01727642da136e1')
version('1.3-13', sha256='e8ea7eb77a07be36fc2d824c28bb426334da7484957ffbc719140373adf1667c')
depends_on('unixodbc')
depends_on('r@3.0.0:', type=('build', 'run'))
+ depends_on('r@4.0.0:', when='@1.3-17:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rook/package.py b/var/spack/repos/builtin/packages/r-rook/package.py
index c440de3446..26e5f61eab 100644
--- a/var/spack/repos/builtin/packages/r-rook/package.py
+++ b/var/spack/repos/builtin/packages/r-rook/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-rots/package.py b/var/spack/repos/builtin/packages/r-rots/package.py
index 339d92893c..57063ce900 100644
--- a/var/spack/repos/builtin/packages/r-rots/package.py
+++ b/var/spack/repos/builtin/packages/r-rots/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RRots(RPackage):
- """Reproducibility-Optimized Test Statistic.
+ """Reproducibility-Optimized Test Statistic
Calculates the Reproducibility-Optimized Test Statistic (ROTS) for
differential testing in omics data."""
@@ -15,6 +15,7 @@ class RRots(RPackage):
homepage = "https://bioconductor.org/packages/ROTS"
git = "https://git.bioconductor.org/packages/ROTS.git"
+ version('1.18.0', commit='1d4e206a8ce68d5a1417ff51c26174ed9d0ba7d2')
version('1.12.0', commit='7e2c96fd8fd36710321498745f24cc6b59ac02f0')
version('1.10.1', commit='1733d3f868cef4d81af6edfc102221d80793937b')
version('1.8.0', commit='02e3c6455bb1afe7c4cc59ad6d4d8bae7b01428b')
diff --git a/var/spack/repos/builtin/packages/r-roxygen2/package.py b/var/spack/repos/builtin/packages/r-roxygen2/package.py
index 66c51eb487..d9161431ed 100644
--- a/var/spack/repos/builtin/packages/r-roxygen2/package.py
+++ b/var/spack/repos/builtin/packages/r-roxygen2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,25 +7,30 @@ from spack import *
class RRoxygen2(RPackage):
- """A 'Doxygen'-like in-source documentation system for Rd, collation, and
- 'NAMESPACE' files."""
+ """In-Line Documentation for R
+
+ Generate your Rd documentation, 'NAMESPACE' file, and collation field using
+ specially formatted comments. Writing documentation in-line with code makes
+ it easier to keep your documentation up-to-date as your requirements
+ change. 'Roxygen2' is inspired by the 'Doxygen' system for C++."""
homepage = "https://github.com/klutometis/roxygen"
url = "https://cloud.r-project.org/src/contrib/roxygen2_5.0.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/roxygen2"
+ version('7.1.1', sha256='bdc55ded037d4366f4d25a0d69e880dacc0fa22bee20f595d45855eef8548861')
version('7.1.0', sha256='7e9b36f6e7c01a5c8c4747340b3d0c064ce2e48c93fcfbfe45139854fae74103')
version('6.1.1', sha256='ed46b7e062e0dfd8de671c7a5f6d120fb2b720982e918dbeb01e6985694c0273')
version('5.0.1', sha256='9f755ddd08358be436f08b02df398e50e7508b856131aeeed235099bb3a7eba5')
- depends_on('r@3.0.2:', when='@:6.0.1', type=('build', 'run'))
- depends_on('r@3.2:', when='@7.1.0:', type=('build', 'run'))
+ depends_on('r@3.0.2:', type=('build', 'run'))
depends_on('r@3.1:', when='@6.1.0:', type=('build', 'run'))
+ depends_on('r@3.2:', when='@7.1.0:', type=('build', 'run'))
depends_on('r-brew', type=('build', 'run'))
depends_on('r-commonmark', type=('build', 'run'))
depends_on('r-desc@1.2.0:', type=('build', 'run'))
- depends_on('r-knitr', when='@7.1.0:', type=('build', 'run'))
depends_on('r-digest', type=('build', 'run'))
+ depends_on('r-knitr', when='@7.1.0:', type=('build', 'run'))
depends_on('r-pkgload@1.0.2:', type=('build', 'run'))
depends_on('r-purrr', type=('build', 'run'))
depends_on('r-purrr@0.3.3:', when='@7.1.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rpart-plot/package.py b/var/spack/repos/builtin/packages/r-rpart-plot/package.py
index e18f72efe8..a6fe40255a 100644
--- a/var/spack/repos/builtin/packages/r-rpart-plot/package.py
+++ b/var/spack/repos/builtin/packages/r-rpart-plot/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,16 @@ from spack import *
class RRpartPlot(RPackage):
- """Plot 'rpart' models. Extends plot.rpart() and text.rpart() in the
+ """Plot 'rpart' Models: An Enhanced Version of 'plot.rpart'
+
+ Plot 'rpart' models. Extends plot.rpart() and text.rpart() in the
'rpart' package."""
homepage = "https://cloud.r-project.org/package=rpart.plot"
url = "https://cloud.r-project.org/src/contrib/rpart.plot_2.1.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/rpart.plot"
+ version('3.0.9', sha256='1150f5e9899b3b31b17160617cd99c3ad340c8361aeb229264a7a3a3a28015a4')
version('3.0.7', sha256='04e7fcadfa907507b74529c3ecfae4a0c782badf55e87d9c62dbd9a536ea9144')
version('3.0.6', sha256='1c584290c8f58ded5c3f0638790a0da63408eca3ecd5d5c4d8c46954de9f4b02')
version('2.1.0', sha256='17686da1883f97cb8f44be0d9cb915b366a3cb7313cd131b96497ab09f727436')
@@ -21,3 +24,4 @@ class RRpartPlot(RPackage):
depends_on('r@3.2.0:', when='@2.1.2:3.0.6', type=('build', 'run'))
depends_on('r@3.4.0:', when='@3.0.7:', type=('build', 'run'))
depends_on('r-rpart@4.1-10:', type=('build', 'run'))
+ depends_on('r-rpart@4.1-15:', when='@3.0.9:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rpart/package.py b/var/spack/repos/builtin/packages/r-rpart/package.py
index 8964a28517..3becf4f851 100644
--- a/var/spack/repos/builtin/packages/r-rpart/package.py
+++ b/var/spack/repos/builtin/packages/r-rpart/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-rpostgresql/package.py b/var/spack/repos/builtin/packages/r-rpostgresql/package.py
index 01467dfac2..78446c8977 100644
--- a/var/spack/repos/builtin/packages/r-rpostgresql/package.py
+++ b/var/spack/repos/builtin/packages/r-rpostgresql/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -27,3 +27,11 @@ class RRpostgresql(RPackage):
depends_on('r@2.9.0:', type=('build', 'run'))
depends_on('r-dbi@0.3:', type=('build', 'run'))
depends_on('postgresql')
+
+ depends_on('automake', type='build')
+
+ patch_config_files = True
+
+ @run_before('install')
+ def patch_config_guess(self):
+ AutotoolsPackage._do_patch_config_files(self)
diff --git a/var/spack/repos/builtin/packages/r-rprojroot/package.py b/var/spack/repos/builtin/packages/r-rprojroot/package.py
index 63df595741..d8b5617a22 100644
--- a/var/spack/repos/builtin/packages/r-rprojroot/package.py
+++ b/var/spack/repos/builtin/packages/r-rprojroot/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RRprojroot(RPackage):
- """Robust, reliable and flexible paths to files below a project root.
+ """Finding Files in Project Subdirectories
+
+ Robust, reliable and flexible paths to files below a project root.
The 'root' of a project is defined as a directory that matches a
certain criterion, e.g., it contains a certain regular file."""
@@ -15,8 +17,9 @@ class RRprojroot(RPackage):
url = "https://cloud.r-project.org/src/contrib/rprojroot_1.2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/rprojroot"
+ version('2.0.2', sha256='5fa161f0d4ac3b7a99dc6aa2d832251001dc92e93c828593a51fe90afd019e1f')
version('1.3-2', sha256='df5665834941d8b0e377a8810a04f98552201678300f168de5f58a587b73238b')
version('1.2', sha256='28b4d235ce67314528a0c1cc7e98faed42437b42e07fca18a59a80fdc3eefeb9')
depends_on('r@3.0.0:', type=('build', 'run'))
- depends_on('r-backports', type=('build', 'run'))
+ depends_on('r-backports', when='@:1.3-2', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rrblup/package.py b/var/spack/repos/builtin/packages/r-rrblup/package.py
index 1f978f84a1..0740b6a349 100644
--- a/var/spack/repos/builtin/packages/r-rrblup/package.py
+++ b/var/spack/repos/builtin/packages/r-rrblup/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,19 @@ from spack import *
class RRrblup(RPackage):
- """rrBLUP: Ridge Regression and Other Kernels for Genomic Selection"""
+ """Ridge Regression and Other Kernels for Genomic Selection
+
+ Software for genomic prediction with the RR-BLUP mixed model (Endelman
+ 2011, <doi:10.3835/plantgenome2011.08.0024>). One application is to
+ estimate marker effects by ridge regression; alternatively, BLUPs can be
+ calculated based on an additive relationship matrix or a Gaussian
+ kernel."""
homepage = "http://potatobreeding.cals.wisc.edu/software"
url = "https://cloud.r-project.org/src/contrib/rrBLUP_4.6.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/rrBLUP"
+ version('4.6.1', sha256='e9230e74cc430a83ac5567071cb1c7f00b35c368f7d79bcc1cfde7225446c4db')
version('4.6', sha256='28b475a1466fcdc1780caace75cf34155338fda496cebd5799315598a4bc84af')
depends_on('r@2.14:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rrcov/package.py b/var/spack/repos/builtin/packages/r-rrcov/package.py
index b1843d025e..a3bb2ff25c 100644
--- a/var/spack/repos/builtin/packages/r-rrcov/package.py
+++ b/var/spack/repos/builtin/packages/r-rrcov/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,17 +7,28 @@ from spack import *
class RRrcov(RPackage):
- """rrcov: Scalable Robust Estimators with High Breakdown Point"""
+ """Scalable Robust Estimators with High Breakdown Point
+
+ Robust Location and Scatter Estimation and Robust Multivariate Analysis
+ with High Breakdown Point: principal component analysis (Filzmoser and
+ Todorov (2013), <doi:10.1016/j.ins.2012.10.017>), linear and quadratic
+ discriminant analysis (Todorov and Pires (2007)), multivariate tests
+ (Todorov and Filzmoser (2010) <doi:10.1016/j.csda.2009.08.015>), outlier
+ detection (Todorov et al. (2010) <doi:10.1007/s11634-010-0075-2>). See also
+ Todorov and Filzmoser (2009) <ISBN-13:978-3838108148>, Todorov and
+ Filzmoser (2010) <doi:10.18637/jss.v032.i03> and Boudt et al. (2019)
+ <doi:10.1007/s11222-019-09869-x>."""
homepage = "https://cloud.r-project.org/package=rrcov"
url = "https://cloud.r-project.org/src/contrib/rrcov_1.4-7.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/rrcov"
+ version('1.5-5', sha256='1f7f07558e347e7d1f1adff68631764670bc672777a7d990901c4fa94cc0e629')
version('1.4-7', sha256='cbd08ccce8b583a2f88946a3267c8fc494ee2b44ba749b9296a6e3d818f6f293')
depends_on('r@2.10:', type=('build', 'run'))
depends_on('r-robustbase@0.92.1:', type=('build', 'run'))
depends_on('r-mvtnorm', type=('build', 'run'))
depends_on('r-lattice', type=('build', 'run'))
- depends_on('r-cluster', type=('build', 'run'))
depends_on('r-pcapp', type=('build', 'run'))
+ depends_on('r-cluster', when='@:1.4-7', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rrpp/package.py b/var/spack/repos/builtin/packages/r-rrpp/package.py
index 629f5b2300..bb035bf842 100644
--- a/var/spack/repos/builtin/packages/r-rrpp/package.py
+++ b/var/spack/repos/builtin/packages/r-rrpp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,24 +8,28 @@ from spack import *
class RRrpp(RPackage):
- """Linear model calculations are made for many random versions of data.
-
- Using residual randomization in a permutation procedure, sums of
- squares are calculated over many permutations to generate empirical
- probability distributions for evaluating model effects. This method
- is described by Collyer, Sekora, & Adams (2015)
- <doi:10.1038/hdy.2014.75>. Additionally, coefficients, statistics,
- fitted values, and residuals generated over many permutations can be
- used for various procedures including pairwise tests, prediction,
- classification, and model comparison. This package should provide
- most tools one could need for the analysis of high-dimensional data,
- especially in ecology and evolutionary biology, but certainly
- other fields, as well."""
+ """Linear Model Evaluation with Randomized Residuals in a Permutation Procedure
+
+ Linear model calculations are made for many random versions of data. Using
+ residual randomization in a permutation procedure, sums of squares are
+ calculated over many permutations to generate empirical probability
+ distributions for evaluating model effects. This packaged is described by
+ Collyer & Adams (2018) <doi:10.1111/2041-210X.13029>. Additionally,
+ coefficients, statistics, fitted values, and residuals generated over many
+ permutations can be used for various procedures including pairwise tests,
+ prediction, classification, and model comparison. This package should
+ provide most tools one could need for the analysis of high-dimensional
+ data, especially in ecology and evolutionary biology, but certainly other
+ fields, as well."""
homepage = "https://github.com/mlcollyer/RRPP"
url = "https://cloud.r-project.org/src/contrib/RRPP_0.3.0.tar.gz"
list_url = "https://cron.r-project.org/src/contrib/Archive/RRPP"
+ version('0.6.2', sha256='f8ffa318d806184c0e65929ea1b8b6a88bb9e45f77db2da5a83c6fe550b084dc')
version('0.4.2', sha256='21a4ebb549d21f66ee9107adf762eee630e478bc740f232f384ba1a6b1cd3bf4')
version('0.4.1', sha256='d7cd3b089240d7f7e13f65f0259487669a378ffae062aee33d4dc6ab0f86f899')
version('0.3.0', sha256='34fea6ce7a78e4f38398d3b99585bab11a8171bc8b9a4e461b6d984ed1373739')
+
+ depends_on('r@3.5.0:', when='@0.6.2:', type=('build', 'run'))
+ depends_on('r-ape', when='@0.6.2:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rsamtools/package.py b/var/spack/repos/builtin/packages/r-rsamtools/package.py
index d0046d5186..b444102992 100644
--- a/var/spack/repos/builtin/packages/r-rsamtools/package.py
+++ b/var/spack/repos/builtin/packages/r-rsamtools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ from spack import *
class RRsamtools(RPackage):
"""Binary alignment (BAM), FASTA, variant call (BCF), and tabix file
- import.
+ import
This package provides an interface to the 'samtools', 'bcftools', and
'tabix' utilities for manipulating SAM (Sequence Alignment / Map),
@@ -18,6 +18,7 @@ class RRsamtools(RPackage):
homepage = "https://bioconductor.org/packages/Rsamtools"
git = "https://git.bioconductor.org/packages/Rsamtools.git"
+ version('2.6.0', commit='f2aea061517c5a55e314c039251ece9831c7fad2')
version('2.2.1', commit='f10084658b4c9744961fcacd79c0ae9a7a40cd30')
version('2.0.3', commit='17d254cc026574d20db67474260944bf60befd70')
version('1.34.1', commit='0ec1d45c7a14b51d019c3e20c4aa87c6bd2b0d0c')
@@ -27,23 +28,23 @@ class RRsamtools(RPackage):
depends_on('r-genomeinfodb@1.1.3:', type=('build', 'run'))
depends_on('r-genomicranges@1.21.6:', type=('build', 'run'))
+ depends_on('r-genomicranges@1.31.8:', when='@1.32.3:', type=('build', 'run'))
depends_on('r-biostrings@2.37.1:', type=('build', 'run'))
+ depends_on('r-biostrings@2.47.6:', when='@1.32.3:', type=('build', 'run'))
depends_on('r-biocgenerics@0.1.3:', type=('build', 'run'))
+ depends_on('r-biocgenerics@0.25.1:', when='@1.32.3:', type=('build', 'run'))
depends_on('r-s4vectors@0.13.8:', type=('build', 'run'))
+ depends_on('r-s4vectors@0.17.25:', when='@1.32.3:', type=('build', 'run'))
depends_on('r-iranges@2.3.7:', type=('build', 'run'))
+ depends_on('r-iranges@2.13.12:', when='@1.32.3:', type=('build', 'run'))
depends_on('r-xvector@0.15.1:', type=('build', 'run'))
+ depends_on('r-xvector@0.19.7:', when='@1.32.3:', type=('build', 'run'))
depends_on('r-zlibbioc', type=('build', 'run'))
depends_on('r-bitops', type=('build', 'run'))
depends_on('r-biocparallel', type=('build', 'run'))
-
- depends_on('r-genomicranges@1.31.8:', when='@1.32.3:', type=('build', 'run'))
- depends_on('r-biostrings@2.47.6:', when='@1.32.3:', type=('build', 'run'))
- depends_on('r-biocgenerics@0.25.1:', when='@1.32.3:', type=('build', 'run'))
- depends_on('r-s4vectors@0.17.25:', when='@1.32.3:', type=('build', 'run'))
- depends_on('r-iranges@2.13.12:', when='@1.32.3:', type=('build', 'run'))
- depends_on('r-xvector@0.19.7:', when='@1.32.3:', type=('build', 'run'))
-
depends_on('r-rhtslib@1.16.3', when='@2.0.3', type=('build', 'run'))
depends_on('r-rhtslib@1.17.7:', when='@2.2.1:', type=('build', 'run'))
-
depends_on('gmake', type='build')
+
+ # this is not a listed dependency but is needed
+ depends_on('curl')
diff --git a/var/spack/repos/builtin/packages/r-rsnns/package.py b/var/spack/repos/builtin/packages/r-rsnns/package.py
index 094efe1729..a408235746 100644
--- a/var/spack/repos/builtin/packages/r-rsnns/package.py
+++ b/var/spack/repos/builtin/packages/r-rsnns/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,9 @@ from spack import *
class RRsnns(RPackage):
- """The Stuttgart Neural Network Simulator (SNNS) is a library containing
+ """Neural Networks using the Stuttgart Neural Network Simulator (SNNS)
+
+ The Stuttgart Neural Network Simulator (SNNS) is a library containing
many standard implementations of neural networks. This package wraps the
SNNS functionality to make it available from within R. Using the RSNNS
low-level interface, all of the algorithmic functionality and flexibility
@@ -20,6 +22,7 @@ class RRsnns(RPackage):
url = "https://cloud.r-project.org/src/contrib/RSNNS_0.4-7.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/RSNNS"
+ version('0.4-12', sha256='b18dfeda71573bc92c6888af72da407651bff7571967965fd3008f0d331743b9')
version('0.4-11', sha256='87943126e98ae47f366e3025d0f3dc2f5eb0aa2924508fd9ee9a0685d7cb477c')
version('0.4-10.1', sha256='38bb3d172390bd01219332ec834744274b87b01f94d23b29a9d818c2bca04071')
version('0.4-7', sha256='ec941dddda55e4e29ed281bd8768a93d65e0d86d56ecab0f2013c64c8d1a4994')
diff --git a/var/spack/repos/builtin/packages/r-rsolnp/package.py b/var/spack/repos/builtin/packages/r-rsolnp/package.py
index 1180de0f46..85cdb1e5b9 100644
--- a/var/spack/repos/builtin/packages/r-rsolnp/package.py
+++ b/var/spack/repos/builtin/packages/r-rsolnp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-rspectra/package.py b/var/spack/repos/builtin/packages/r-rspectra/package.py
index 8d9958a424..914aa0aacf 100644
--- a/var/spack/repos/builtin/packages/r-rspectra/package.py
+++ b/var/spack/repos/builtin/packages/r-rspectra/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RRspectra(RPackage):
- """R interface to the 'Spectra' library <https://spectralib.org/> for
+ """Solvers for Large-Scale Eigenvalue and SVD Problems
+
+ R interface to the 'Spectra' library <https://spectralib.org/> for
large-scale eigenvalue and SVD problems. It is typically used to compute a
few eigenvalues/vectors of an n by n matrix, e.g., the k largest
eigenvalues, which is usually more efficient than eigen() if k << n. This
@@ -22,6 +24,7 @@ class RRspectra(RPackage):
url = "https://cloud.r-project.org/src/contrib/RSpectra_0.15-0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/RSpectra"
+ version('0.16-0', sha256='aaf1cfc9ffe3a4c6684247899924e1c18306971dfef4bae1dc596a2fb42a64a9')
version('0.15-0', sha256='1ad5698201007044a0420cb10b7c48e94312a8a1d22b9d946d5de1c6743969a9')
depends_on('r@3.0.2:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rsqlite/package.py b/var/spack/repos/builtin/packages/r-rsqlite/package.py
index c09613dcea..b591c0c34b 100644
--- a/var/spack/repos/builtin/packages/r-rsqlite/package.py
+++ b/var/spack/repos/builtin/packages/r-rsqlite/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RRsqlite(RPackage):
- """This package embeds the SQLite database engine in R and provides an
+ """'SQLite' Interface for R
+
+ This package embeds the SQLite database engine in R and provides an
interface compliant with the DBI package. The source for the SQLite engine
(version 3.8.6) is included."""
@@ -15,14 +17,15 @@ class RRsqlite(RPackage):
url = "https://cloud.r-project.org/src/contrib/RSQLite_2.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/RSQLite"
+ version('2.2.2', sha256='299ceafd4986f60dbca2d705112aa3c29ff68fcbc188d9caaa0493e63a57a873')
version('2.1.2', sha256='66dad425d22b09651c510bf84b7fc36375ce537782f02585cf1c6856ae82d9c6')
version('2.1.0', sha256='ad6081be2885be5921b1a44b1896e6a8568c8cff40789f43bfaac9f818767642')
version('2.0', sha256='7f0fe629f34641c6af1e8a34412f3089ee2d184853843209d97ffe29430ceff6')
depends_on('r@3.1.0:', type=('build', 'run'))
- depends_on('r-dbi@1.0.0:', type=('build', 'run'))
depends_on('r-bit64', type=('build', 'run'))
depends_on('r-blob@1.2.0:', type=('build', 'run'))
+ depends_on('r-dbi@1.0.0:', type=('build', 'run'))
depends_on('r-memoise', type=('build', 'run'))
depends_on('r-pkgconfig', type=('build', 'run'))
depends_on('r-rcpp@0.12.7:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rstan/package.py b/var/spack/repos/builtin/packages/r-rstan/package.py
index 5167998e1e..e281d65760 100644
--- a/var/spack/repos/builtin/packages/r-rstan/package.py
+++ b/var/spack/repos/builtin/packages/r-rstan/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RRstan(RPackage):
- """User-facing R functions are provided to parse, compile, test, estimate,
+ """R Interface to Stan
+
+ User-facing R functions are provided to parse, compile, test, estimate,
and analyze Stan models by accessing the header-only Stan library provided
by the 'StanHeaders' package. The Stan project develops a probabilistic
programming language that implements full Bayesian statistical inference
@@ -21,22 +23,31 @@ class RRstan(RPackage):
url = "https://cloud.r-project.org/src/contrib/rstan_2.10.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/rstan"
+ version('2.21.2', sha256='e30e04d38a612e2cb3ac69b53eaa19f7ede8b3548bf82f7892a2e9991d46054a')
version('2.19.2', sha256='31e4ceb9c327cd62873225097ffa538c2ac4cb0547c52271e52e4c7652d508da')
version('2.18.2', sha256='4d75dad95610d5a1d1c89a4ddbaf4326462e4ffe0ad28aed2129f2d9292e70ff')
version('2.17.2', sha256='a7b197e6e42f8f0c302da9205afc19a0261eaf6af1425854303d2ce6cbd36729')
version('2.10.1', sha256='4d2040742607f8675633c6b8c0a2e810f2fe3077f9242b1edfd42642613a8294')
- depends_on('r@3.0.2:', when='@:2.17.3', type=('build', 'run'))
+ depends_on('r+X', type=('build', 'run'))
+ depends_on('r@3.0.2:', type=('build', 'run'))
depends_on('r@3.4.0:', when='@2.18.1:', type=('build', 'run'))
depends_on('r-stanheaders@2.18.1:', type=('build', 'run'))
+ depends_on('r-stanheaders@2.21.0:', when='@2.21.2:', type=('build', 'run'))
depends_on('r-ggplot2@2.0.0:', type=('build', 'run'))
+ depends_on('r-ggplot2@3.0.0:', when='@2.21.2:', type=('build', 'run'))
depends_on('r-inline', type=('build', 'run'))
depends_on('r-gridextra@2.0.0:', type=('build', 'run'))
depends_on('r-rcpp@0.12.0:', type=('build', 'run'))
+ depends_on('r-rcppparallel@5.0.1:', when='@2.21.2:', type=('build', 'run'))
depends_on('r-loo@2.0.0:', when='@2.18:', type=('build', 'run'))
+ depends_on('r-loo@2.3.0:', when='@2.21.2:', type=('build', 'run'))
depends_on('r-pkgbuild', when='@2.18:', type=('build', 'run'))
+ depends_on('r-withr', when='@2.21.2:', type=('build', 'run'))
+ depends_on('r-v8', when='@2.21.2:', type=('build', 'run'))
depends_on('r-rcppeigen@0.3.3.3.0:', type=('build', 'run'))
depends_on('r-bh@1.69.0:', type=('build', 'run'))
+ depends_on('r-bh@1.72.0-2:', when='@2.21.2:', type=('build', 'run'))
depends_on('gmake', type='build')
depends_on('pandoc', type='build')
diff --git a/var/spack/repos/builtin/packages/r-rstantools/package.py b/var/spack/repos/builtin/packages/r-rstantools/package.py
index 1566e05de2..8bf4619f75 100644
--- a/var/spack/repos/builtin/packages/r-rstantools/package.py
+++ b/var/spack/repos/builtin/packages/r-rstantools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,23 @@ from spack import *
class RRstantools(RPackage):
- """rstantools: Tools for Developing R Packages Interfacing with 'Stan'"""
+ """Tools for Developing R Packages Interfacing with 'Stan'
+
+ Provides various tools for developers of R packages interfacing with 'Stan'
+ <https://mc-stan.org>, including functions to set up the required package
+ structure, S3 generics and default methods to unify function naming across
+ 'Stan'-based R packages, and vignettes with recommendations for
+ developers."""
homepage = "http://discourse.mc-stan.org/"
url = "https://cloud.r-project.org/src/contrib/rstantools_1.5.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/rstantools"
+ version('2.1.1', sha256='c95b15de8ec577eeb24bb5206e7b685d882f88b5e6902efda924b7217f463d2d')
version('1.5.1', sha256='5cab16c132c12e84bd08e18cd6ef25ba39d67a04ce61015fc4490659c7cfb485')
+ depends_on('r+X', type=('build', 'run'))
+ depends_on('r-desc', when='@2.1.1:', type=('build', 'run'))
+ depends_on('r-rcpp@0.12.16:', when='@2.1.1:', type=('build', 'run'))
+ depends_on('r-rcppparallel@5.0.1:', when='@2.1.1:', type=('build', 'run'))
depends_on('pandoc', type='build')
diff --git a/var/spack/repos/builtin/packages/r-rstatix/package.py b/var/spack/repos/builtin/packages/r-rstatix/package.py
new file mode 100644
index 0000000000..e098ce6d02
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-rstatix/package.py
@@ -0,0 +1,44 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RRstatix(RPackage):
+ """Pipe-Friendly Framework for Basic Statistical Tests
+
+ Provides a simple and intuitive pipe-friendly framework, coherent with the
+ 'tidyverse' design philosophy, for performing basic statistical tests,
+ including t-test, Wilcoxon test, ANOVA, Kruskal-Wallis and correlation
+ analyses. The output of each test is automatically transformed into a tidy
+ data frame to facilitate visualization. Additional functions are available
+ for reshaping, reordering, manipulating and visualizing correlation matrix.
+ Functions are also included to facilitate the analysis of factorial
+ experiments, including purely 'within-Ss' designs (repeated measures),
+ purely 'between-Ss' designs, and mixed 'within-and-between-Ss' designs.
+ It's also possible to compute several effect size metrics, including "eta
+ squared" for ANOVA, "Cohen's d" for t-test and 'Cramer V' for the
+ association between categorical variables. The package contains helper
+ functions for identifying univariate and multivariate outliers, assessing
+ normality and homogeneity of variances."""
+
+ homepage = "https://rpkgs.datanovia.com/rstatix/"
+ url = "https://cloud.r-project.org/src/contrib/rstatix_0.6.0.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/rstatix"
+
+ version('0.6.0', sha256='ebb28e20c7e28809194a2a027bc83303b17be1e3db32f49325727c9279df9c5b')
+
+ depends_on('r@3.3.0:', type=('build', 'run'))
+ depends_on('r-tidyr@1.0.0:', type=('build', 'run'))
+ depends_on('r-purrr', type=('build', 'run'))
+ depends_on('r-broom@0.5.6:', type=('build', 'run'))
+ depends_on('r-rlang@0.3.1:', type=('build', 'run'))
+ depends_on('r-tibble@2.1.3:', type=('build', 'run'))
+ depends_on('r-dplyr@0.7.1:', type=('build', 'run'))
+ depends_on('r-magrittr', type=('build', 'run'))
+ depends_on('r-corrplot', type=('build', 'run'))
+ depends_on('r-tidyselect@1.0.0:', type=('build', 'run'))
+ depends_on('r-car', type=('build', 'run'))
+ depends_on('r-generics@0.0.2:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rstudioapi/package.py b/var/spack/repos/builtin/packages/r-rstudioapi/package.py
index 07f3919c58..3e2d364c51 100644
--- a/var/spack/repos/builtin/packages/r-rstudioapi/package.py
+++ b/var/spack/repos/builtin/packages/r-rstudioapi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,16 @@ from spack import *
class RRstudioapi(RPackage):
- """Access the RStudio API (if available) and provide informative error
+ """Safely Access the RStudio API
+
+ Access the RStudio API (if available) and provide informative error
messages when it's not."""
homepage = "https://cloud.r-project.org/package=rstudioapi"
url = "https://cloud.r-project.org/src/contrib/rstudioapi_0.7.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/rstudioapi"
+ version('0.13', sha256='aac35bbdcb4a8e8caba943bc8a2b98120e8940b80cd1020224bb1a26ff776d8b')
version('0.11', sha256='13e07fb7e2eba8cf1d885db2721901d676d219a1042d7ef5d166125e4905306b')
version('0.10', sha256='80c5aa3063bcab649904cb92f0b164edffa2f6b0e6a8f7ea28ae317b80e1ab96')
version('0.9.0', sha256='5149a2830ae7134c396ce64764b263cf9f348d4399f53da3804f40d7d5bec13e')
diff --git a/var/spack/repos/builtin/packages/r-rsvd/package.py b/var/spack/repos/builtin/packages/r-rsvd/package.py
index 232cffdb47..aef7d36c83 100644
--- a/var/spack/repos/builtin/packages/r-rsvd/package.py
+++ b/var/spack/repos/builtin/packages/r-rsvd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RRsvd(RPackage):
- """Low-rank matrix decompositions are fundamental tools and widely used for
+ """Randomized Singular Value Decomposition
+
+ Low-rank matrix decompositions are fundamental tools and widely used for
data analysis, dimension reduction, and data compression. Classically,
highly accurate deterministic matrix algorithms are used for this task.
However, the emergence of large-scale data has severely challenged our
@@ -26,6 +28,7 @@ class RRsvd(RPackage):
url = "https://cloud.r-project.org/src/contrib/rsvd_1.0.2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/rsvd"
+ version('1.0.3', sha256='13560e0fc3ae6927c4cc4d5ad816b1f640a2a445b712a5a612ab17ea0ce179bb')
version('1.0.2', sha256='c8fe5c18bf7bcfe32604a897e3a7caae39b49e47e93edad9e4d07657fc392a3a')
depends_on('r@3.2.2:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rtracklayer/package.py b/var/spack/repos/builtin/packages/r-rtracklayer/package.py
index 0020bf75b2..fa0c07dea1 100644
--- a/var/spack/repos/builtin/packages/r-rtracklayer/package.py
+++ b/var/spack/repos/builtin/packages/r-rtracklayer/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RRtracklayer(RPackage):
- """R interface to genome annotation files and the UCSC genome browser.
+ """R interface to genome annotation files and the UCSC genome browser
Extensible framework for interacting with multiple genome browsers
(currently UCSC built-in) and manipulating annotation tracks in various
@@ -19,6 +19,7 @@ class RRtracklayer(RPackage):
homepage = "https://bioconductor.org/packages/rtracklayer"
git = "https://git.bioconductor.org/packages/rtracklayer.git"
+ version('1.50.0', commit='d2e61f72ff5d5a94c2c487ba108a37f23bfcc1e6')
version('1.44.4', commit='aec96e85daf53b5c5eb2e89250d2755352be4de3')
version('1.42.2', commit='76702f671faea736807d54aeecfbadcd152d94c5')
version('1.40.6', commit='ba9a6e711504a702147383bc7abfcc36eb304df7')
@@ -27,28 +28,27 @@ class RRtracklayer(RPackage):
depends_on('r@3.3:', type=('build', 'run'))
depends_on('r-genomicranges@1.21.20:', type=('build', 'run'))
+ depends_on('r-genomicranges@1.37.2:', when='@1.50.0:', type=('build', 'run'))
depends_on('r-xml@1.98-0:', type=('build', 'run'))
depends_on('r-biocgenerics@0.13.8:', type=('build', 'run'))
+ depends_on('r-biocgenerics@0.25.1:', when='@1.40.6:', type=('build', 'run'))
+ depends_on('r-biocgenerics@0.35.3:', when='@1.50.0:', type=('build', 'run'))
depends_on('r-s4vectors@0.13.13:', type=('build', 'run'))
+ depends_on('r-s4vectors@0.17.25:', when='@1.40.6:', type=('build', 'run'))
+ depends_on('r-s4vectors@0.19.22:', when='@1.42.2:', type=('build', 'run'))
+ depends_on('r-s4vectors@0.23.18:', when='@1.50.0:', type=('build', 'run'))
depends_on('r-iranges@2.3.7:', type=('build', 'run'))
+ depends_on('r-iranges@2.11.12:', when='@1.38.3:', type=('build', 'run'))
+ depends_on('r-iranges@2.13.13:', when='@1.40.6:', type=('build', 'run'))
depends_on('r-xvector@0.9.4:', type=('build', 'run'))
+ depends_on('r-xvector@0.19.7:', when='@1.40.6:', type=('build', 'run'))
depends_on('r-genomeinfodb@1.3.14:', type=('build', 'run'))
+ depends_on('r-genomeinfodb@1.15.2:', when='@1.40.6:', type=('build', 'run'))
depends_on('r-biostrings@2.43.7:', type=('build', 'run'))
+ depends_on('r-biostrings@2.47.6:', when='@1.40.6:', type=('build', 'run'))
depends_on('r-zlibbioc', type=('build', 'run'))
depends_on('r-rcurl@1.4-2:', type=('build', 'run'))
depends_on('r-rsamtools@1.17.8:', type=('build', 'run'))
- depends_on('r-genomicalignments@1.5.4:', type=('build', 'run'))
-
- depends_on('r-iranges@2.11.12:', when='@1.38.3:', type=('build', 'run'))
-
- depends_on('r-genomicranges@1.31.8:', when='@1.40.6:', type=('build', 'run'))
- depends_on('r-biocgenerics@0.25.1:', when='@1.40.6:', type=('build', 'run'))
- depends_on('r-s4vectors@0.17.25:', when='@1.40.6:', type=('build', 'run'))
- depends_on('r-iranges@2.13.13:', when='@1.40.6:', type=('build', 'run'))
- depends_on('r-xvector@0.19.7:', when='@1.40.6:', type=('build', 'run'))
- depends_on('r-genomeinfodb@1.15.2:', when='@1.40.6:', type=('build', 'run'))
- depends_on('r-biostrings@2.47.6:', when='@1.40.6:', type=('build', 'run'))
depends_on('r-rsamtools@1.31.2:', when='@1.40.6:', type=('build', 'run'))
+ depends_on('r-genomicalignments@1.5.4:', type=('build', 'run'))
depends_on('r-genomicalignments@1.15.6:', when='@1.40.6:', type=('build', 'run'))
-
- depends_on('r-s4vectors@0.19.22:', when='@1.42.2:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rtsne/package.py b/var/spack/repos/builtin/packages/r-rtsne/package.py
index f0acd005fc..8567606c69 100644
--- a/var/spack/repos/builtin/packages/r-rtsne/package.py
+++ b/var/spack/repos/builtin/packages/r-rtsne/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-runit/package.py b/var/spack/repos/builtin/packages/r-runit/package.py
index e922f74fdf..14028a5ca5 100644
--- a/var/spack/repos/builtin/packages/r-runit/package.py
+++ b/var/spack/repos/builtin/packages/r-runit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-rvcheck/package.py b/var/spack/repos/builtin/packages/r-rvcheck/package.py
index 33bfef6de5..a9260acc34 100644
--- a/var/spack/repos/builtin/packages/r-rvcheck/package.py
+++ b/var/spack/repos/builtin/packages/r-rvcheck/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,16 +7,20 @@ from spack import *
class RRvcheck(RPackage):
- """Check latest release version of R and R package (both in 'CRAN',
+ """R/Package Version Check
+
+ Check latest release version of R and R package (both in 'CRAN',
'Bioconductor' or 'Github')."""
homepage = "https://cloud.r-project.org/package=rvcheck"
url = "https://cloud.r-project.org/src/contrib/rvcheck_0.0.9.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/rvcheck"
+ version('0.1.8', sha256='4ca5aa48fbf543e6171696ca7e1bff81e3112d06c919e88769b5c38a115b4718')
version('0.1.3', sha256='0b59986c1ccc5b89f8aca8fa7cf62d0b875719addb40e08dbda1791cfd334fc4')
version('0.0.9', sha256='6e7be7b029d28181a1b57ebd4d25978f3459722ffdb45a3698157a7f943bea92')
depends_on('r@3.3.0:', when='@:0.1.1', type=('build', 'run'))
depends_on('r@3.4.0:', when='@0.1.3:', type=('build', 'run'))
+ depends_on('r-biocmanager', when='@0.1.8:', type=('build', 'run'))
depends_on('r-rlang', when='@0.1.1:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rversions/package.py b/var/spack/repos/builtin/packages/r-rversions/package.py
index 7d0224fd90..c4a7a17cf6 100644
--- a/var/spack/repos/builtin/packages/r-rversions/package.py
+++ b/var/spack/repos/builtin/packages/r-rversions/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,15 +7,17 @@ from spack import *
class RRversions(RPackage):
- """Query the main 'R' 'SVN' repository to find the versions
- 'r-release' and 'r-oldrel' refer to, and also all previous 'R'
- versions and their release dates.
- """
+ """Query 'R' Versions, Including 'r-release' and 'r-oldrel'
+
+ Query the main 'R' 'SVN' repository to find the versions 'r-release' and
+ 'r-oldrel' refer to, and also all previous 'R' versions and their release
+ dates."""
homepage = "https://cloud.r-project.org/package=rversions"
url = "https://cloud.r-project.org/src/contrib/rversions_2.0.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/rversions"
+ version('2.0.2', sha256='3523f4b7393365341d429500b01ba3a224056e89d134635b81dfb4918ba2173e')
version('2.0.1', sha256='51ec1f64e7d628e88d716a020d5d521eba71d472e3c9ae7b694428ef6dd786c5')
version('2.0.0', sha256='b50c321d9e973284ae6b1d0c89bd46a40f5174de51fb28e3c77cd12ef34f6f56')
version('1.1.0', sha256='14a5a2f06b74e332fd9cbd4d715baa6165f5269c9ba2c0b9f1d0c6540dde9c3c')
diff --git a/var/spack/repos/builtin/packages/r-rvest/package.py b/var/spack/repos/builtin/packages/r-rvest/package.py
index 96de5d7090..9e6db8fe9b 100644
--- a/var/spack/repos/builtin/packages/r-rvest/package.py
+++ b/var/spack/repos/builtin/packages/r-rvest/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,16 @@ from spack import *
class RRvest(RPackage):
- """Wrappers around the 'xml2' and 'httr' packages to make it easy to
- download, then manipulate, HTML and XML."""
+ """Easily Harvest (Scrape) Web Pages
+
+ Wrappers around the 'xml2' and 'httr' packages to make it easy to download,
+ then manipulate, HTML and XML."""
homepage = "https://github.com/hadley/rvest"
url = "https://cloud.r-project.org/src/contrib/rvest_0.3.2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/rvest"
+ version('0.3.6', sha256='6a2ee3a25d2d738031edbc1b5e2410f2a4538dfbb9705af145f9039504b902fa')
version('0.3.4', sha256='413e171b9e89b7dc4e8b41165027cf19eb97cd73e149c252237bbdf0d0a4254a')
version('0.3.3', sha256='b10a87fa2d733f7c0fc567242ef0ab10a1a77d58d51796996cc0fd81381a556f')
version('0.3.2', sha256='0d6e8837fb1df79b1c83e7b48d8f1e6245f34a10c4bb6952e7bec7867e4abb12')
@@ -23,5 +26,5 @@ class RRvest(RPackage):
depends_on('r@3.2:', when='@0.3.4:', type=('build', 'run'))
depends_on('r-xml2', type=('build', 'run'))
depends_on('r-httr@0.5:', type=('build', 'run'))
- depends_on('r-selectr', type=('build', 'run'))
depends_on('r-magrittr', type=('build', 'run'))
+ depends_on('r-selectr', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-rzmq/package.py b/var/spack/repos/builtin/packages/r-rzmq/package.py
index 68b46c102d..366c32c2fd 100644
--- a/var/spack/repos/builtin/packages/r-rzmq/package.py
+++ b/var/spack/repos/builtin/packages/r-rzmq/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,12 +8,16 @@ from spack import *
class RRzmq(RPackage):
- """Interface to the ZeroMQ lightweight messaging kernel."""
+ """R Bindings for 'ZeroMQ'
+
+ Interface to the 'ZeroMQ' lightweight messaging kernel (see
+ <http://www.zeromq.org/> for more information)."""
homepage = "http://github.com/armstrtw/rzmq"
url = "https://cloud.r-project.org/src/contrib/rzmq_0.7.7.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/rzmq"
+ version('0.9.7', sha256='5f47b67b75fd4a230780406f7a55a3708ce8c014cff755a809a6bfa1a6925a45')
version('0.9.6', sha256='80a3fc6eb6f7851224c4cd5e219ca4db0286551ad429359d4df853ccb9234316')
version('0.9.4', sha256='03fbda756d823c11fba359b94a6213c3440e61973331668eaac35779717f73ad')
version('0.7.7', sha256='bdbaf77a0e04c5b6d6ce79ab2747848a5044355eed2e2c4d39c4ba16f97dc83d')
diff --git a/var/spack/repos/builtin/packages/r-s4vectors/package.py b/var/spack/repos/builtin/packages/r-s4vectors/package.py
index 909b33bb2e..b15c954cfa 100644
--- a/var/spack/repos/builtin/packages/r-s4vectors/package.py
+++ b/var/spack/repos/builtin/packages/r-s4vectors/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RS4vectors(RPackage):
- """Foundation of vector-like and list-like containers in Bioconductor.
+ """Foundation of vector-like and list-like containers in Bioconductor
The S4Vectors package defines the Vector and List virtual classes and a
set of generic functions that extend the semantic of ordinary vectors
@@ -21,6 +21,7 @@ class RS4vectors(RPackage):
homepage = "https://bioconductor.org/packages/S4Vectors"
git = "https://git.bioconductor.org/packages/S4Vectors.git"
+ version('0.28.1', commit='994cb7ef830e76f8b43169cc72b553869fafb2ed')
version('0.26.1', commit='935769c')
version('0.22.1', commit='d25e517b48ca4184a4c2ee1f8223c148a55a8b8a')
version('0.20.1', commit='1878b2909086941e556c5ea953c6fd86aebe9b02')
@@ -29,7 +30,8 @@ class RS4vectors(RPackage):
version('0.14.7', commit='40af17fe0b8e93b6a72fc787540d2961773b8e23')
depends_on('r@3.3.0:', type=('build', 'run'))
+ depends_on('r@4.0.0:', when='@0.28.1:', type=('build', 'run'))
depends_on('r-biocgenerics@0.21.1:', type=('build', 'run'))
-
depends_on('r-biocgenerics@0.23.3:', when='@0.16.0:0.22.1', type=('build', 'run'))
depends_on('r-biocgenerics@0.31.1:', when='@0.26.1:', type=('build', 'run'))
+ depends_on('r-biocgenerics@0.36.0:', when='@0.28.1:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-samr/package.py b/var/spack/repos/builtin/packages/r-samr/package.py
index d776f6b10b..ac58cdf705 100644
--- a/var/spack/repos/builtin/packages/r-samr/package.py
+++ b/var/spack/repos/builtin/packages/r-samr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-sandwich/package.py b/var/spack/repos/builtin/packages/r-sandwich/package.py
index 4afd68d4a6..fac08e3587 100644
--- a/var/spack/repos/builtin/packages/r-sandwich/package.py
+++ b/var/spack/repos/builtin/packages/r-sandwich/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,16 +7,31 @@ from spack import *
class RSandwich(RPackage):
- """Model-robust standard error estimators for cross-sectional, time series,
- and longitudinal data."""
+ """Robust Covariance Matrix Estimators
+
+ Object-oriented software for model-robust covariance matrix estimators.
+ Starting out from the basic robust Eicker-Huber-White sandwich covariance
+ methods include: heteroscedasticity-consistent (HC) covariances for
+ cross-section data; heteroscedasticity- and autocorrelation-consistent
+ (HAC) covariances for time series data (such as Andrews' kernel HAC,
+ Newey-West, and WEAVE estimators); clustered covariances (one-way and
+ multi-way); panel and panel-corrected covariances;
+ outer-product-of-gradients covariances; and (clustered) bootstrap
+ covariances. All methods are applicable to (generalized) linear model
+ objects fitted by lm() and glm() but can also be adapted to other classes
+ through S3 methods. Details can be found in Zeileis et al. (2020)
+ <doi:10.18637/jss.v095.i01>, Zeileis (2004) <doi:10.18637/jss.v011.i10> and
+ Zeileis (2006) <doi:10.18637/jss.v016.i09>."""
homepage = "https://cloud.r-project.org/package=sandwich"
url = "https://cloud.r-project.org/src/contrib/sandwich_2.3-4.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/sandwich"
+ version('3.0-0', sha256='828fe53b5e09db5015efd529b2db4dcd40251bce110fea7b0b219fa9ac36d529')
version('2.5-1', sha256='dbef6f4d12b83e166f9a2508b7c732b04493641685d6758d29f3609e564166d6')
version('2.5-0', sha256='6cc144af20739eb23e5539010d3833d7c7fc53cbca2addb583ab933167c11399')
version('2.3-4', sha256='2052f7e3d19a05c372f422c5480f1058a4107e420cd038a9bd7240c4f0746d4d')
depends_on('r@2.10.0:', type=('build', 'run'))
+ depends_on('r@3.0.0:', when='@3.0-0:', type=('build', 'run'))
depends_on('r-zoo', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-scales/package.py b/var/spack/repos/builtin/packages/r-scales/package.py
index 4949d18917..31a07fecce 100644
--- a/var/spack/repos/builtin/packages/r-scales/package.py
+++ b/var/spack/repos/builtin/packages/r-scales/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,25 +7,31 @@ from spack import *
class RScales(RPackage):
- """Graphical scales map data to aesthetics, and provide methods for
+ """Scale Functions for Visualization
+
+ Graphical scales map data to aesthetics, and provide methods for
automatically determining breaks and labels for axes and legends."""
homepage = "https://github.com/hadley/scales"
url = "https://cloud.r-project.org/src/contrib/scales_0.5.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/scales"
+ version('1.1.1', sha256='40b2b66522f1f314a20fd09426011b0cdc9d16b23ee2e765fe1930292dd03705')
version('1.0.0', sha256='0c1f4a14edd336a404da34a3cc71a6a9d0ca2040ba19360c41a79f36e06ca30c')
version('0.5.0', sha256='dbfcc0817c4ab8b8777ec7d68ebfe220177c193cfb5bd0e8ba5d365dbfe3e97d')
version('0.4.1', sha256='642b88fb1fce7bac72a0038ce532b65b8a79dffe826fec25033cf386ab630cd3')
version('0.4.0', sha256='851ef6136339b361b3f843fb73ea89f9112279b9cc126bdb38acde8d24c1c6a7')
- depends_on('r@2.13:', when='@:0.5.0', type=('build', 'run'))
+ depends_on('r@2.13:', type=('build', 'run'))
depends_on('r@3.1:', when='@1.0.0:', type=('build', 'run'))
- depends_on('r-rcolorbrewer', type=('build', 'run'))
- depends_on('r-dichromat', when='@:0.5.0', type=('build', 'run'))
- depends_on('r-plyr', when='@:0.5.0', type=('build', 'run'))
- depends_on('r-munsell@0.5:', type=('build', 'run'))
+ depends_on('r@3.2:', when='@1.1.1:', type=('build', 'run'))
+ depends_on('r-farver@2.0.3:', when='@1.1.1:', type=('build', 'run'))
depends_on('r-labeling', type=('build', 'run'))
- depends_on('r-rcpp', type=('build', 'run'))
+ depends_on('r-lifecycle', when='@1.1.1:', type=('build', 'run'))
+ depends_on('r-munsell@0.5:', type=('build', 'run'))
depends_on('r-r6', type=('build', 'run'))
+ depends_on('r-rcolorbrewer', type=('build', 'run'))
depends_on('r-viridislite', type=('build', 'run'))
+ depends_on('r-dichromat', when='@:0.5.0', type=('build', 'run'))
+ depends_on('r-plyr', when='@:0.5.0', type=('build', 'run'))
+ depends_on('r-rcpp', when='@:1.0.0', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-scater/package.py b/var/spack/repos/builtin/packages/r-scater/package.py
index ca8d49f67e..eb0dfab9a1 100644
--- a/var/spack/repos/builtin/packages/r-scater/package.py
+++ b/var/spack/repos/builtin/packages/r-scater/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RScater(RPackage):
- """Single-Cell Analysis Toolkit for Gene Expression Data in R.
+ """Single-Cell Analysis Toolkit for Gene Expression Data in R
A collection of tools for doing various analyses of single-cell RNA-seq
gene expression data, with a focus on quality control and
@@ -16,6 +16,7 @@ class RScater(RPackage):
homepage = "https://bioconductor.org/packages/scater"
git = "https://git.bioconductor.org/packages/scater.git"
+ version('1.18.3', commit='a94e7f413bf0f5f527b41b0b34e7a8e5c947ae37')
version('1.12.2', commit='1518dc27a87c79181c34107d639e95fe55e55092')
version('1.10.1', commit='2e6694af2929092f263c2b0830d48b3f9632e70c')
version('1.8.4', commit='d560a9a378541d53d17990d2aa2cd28874df3dcd')
@@ -23,16 +24,31 @@ class RScater(RPackage):
version('1.4.0', commit='90a2eab66ff82ba6dd7fbb33e41cd0ded20fa218')
depends_on('r@3.3:', when='@1.4.0', type=('build', 'run'))
- depends_on('r-biobase', when='@1.4.0:1.8.4', type=('build', 'run'))
+ depends_on('r@3.4:', when='@1.6.3', type=('build', 'run'))
+ depends_on('r@3.5:', when='@1.8.4', type=('build', 'run'))
+ depends_on('r@3.6:', when='@1.12.2', type=('build', 'run'))
+ depends_on('r-singlecellexperiment', when='@1.6.3:', type=('build', 'run'))
depends_on('r-ggplot2', type=('build', 'run'))
- depends_on('r-biomart', when='@1.4.0:1.6.3', type=('build', 'run'))
+ depends_on('r-gridextra', when='@1.18.3:', type=('build', 'run'))
+ depends_on('r-matrix', type=('build', 'run'))
depends_on('r-biocgenerics', type=('build', 'run'))
+ depends_on('r-s4vectors', when='@1.6.3:', type=('build', 'run'))
+ depends_on('r-summarizedexperiment', when='@1.6.3:', type=('build', 'run'))
+ depends_on('r-delayedarray', when='@1.8.4:', type=('build', 'run'))
+ depends_on('r-delayedmatrixstats', when='@1.8.4:', type=('build', 'run'))
+ depends_on('r-biocneighbors', when='@1.12.2:', type=('build', 'run'))
+ depends_on('r-biocsingular', when='@1.12.2:', type=('build', 'run'))
+ depends_on('r-biocparallel', when='@1.10.1:', type=('build', 'run'))
+ depends_on('r-scuttle', when='@1.18.3:', type=('build', 'run'))
+ depends_on('r-rlang', when='@1.18.3:', type=('build', 'run'))
+ depends_on('r-ggbeeswarm', type=('build', 'run'))
+ depends_on('r-viridis', type=('build', 'run'))
+ depends_on('r-biobase', when='@1.4.0:1.8.4', type=('build', 'run'))
+ depends_on('r-biomart', when='@1.4.0:1.6.3', type=('build', 'run'))
depends_on('r-data-table', when='@1.4.0:1.6.3', type=('build', 'run'))
depends_on('r-dplyr', when='@1.4.0:1.12.2', type=('build', 'run'))
depends_on('r-edger', when='@1.4.0:1.8.4', type=('build', 'run'))
- depends_on('r-ggbeeswarm', type=('build', 'run'))
depends_on('r-limma', when='@1.4.0:1.8.4', type=('build', 'run'))
- depends_on('r-matrix', type=('build', 'run'))
depends_on('r-matrixstats', when='@1.4.0:1.6.3', type=('build', 'run'))
depends_on('r-plyr', when='@1.4.0:1.8.4', type=('build', 'run'))
depends_on('r-reshape2', when='@1.4.0:1.10.1', type=('build', 'run'))
@@ -41,23 +57,7 @@ class RScater(RPackage):
depends_on('r-shiny', when='@1.4.0:1.8.4', type=('build', 'run'))
depends_on('r-shinydashboard', when='@1.4.0:1.8.4', type=('build', 'run'))
depends_on('r-tximport', when='@1.4.0:1.8.4', type=('build', 'run'))
- depends_on('r-viridis', type=('build', 'run'))
-
- depends_on('r@3.4:', when='@1.6.3', type=('build', 'run'))
- depends_on('r-singlecellexperiment', when='@1.6.3:', type=('build', 'run'))
- depends_on('r-summarizedexperiment', when='@1.6.3:', type=('build', 'run'))
- depends_on('r-s4vectors', when='@1.6.3:', type=('build', 'run'))
- depends_on('r-rcpp', when='@1.6.3:', type=('build', 'run'))
+ depends_on('r-rcpp', when='@1.6.3:1.12.2', type=('build', 'run'))
+ depends_on('r-rcpp@0.12.14:', when='@1.8.4:1.12.2', type=('build', 'run'))
depends_on('r-rhdf5lib', when='@1.6.3:1.10.1', type=('build', 'run'))
- depends_on('r-beachmat', when='@1.6.3:', type=('build', 'run'))
-
- depends_on('r@3.5:', when='@1.8.4', type=('build', 'run'))
- depends_on('r-delayedmatrixstats', when='@1.8.4:', type=('build', 'run'))
- depends_on('r-rcpp@0.12.14:', when='@1.8.4:', type=('build', 'run'))
- depends_on('r-delayedarray', when='@1.8.4:', type=('build', 'run'))
-
- depends_on('r-biocparallel', when='@1.10.1:', type=('build', 'run'))
-
- depends_on('r@3.6:', when='@1.12.2', type=('build', 'run'))
- depends_on('r-biocneighbors', when='@1.12.2:', type=('build', 'run'))
- depends_on('r-biocsingular', when='@1.12.2:', type=('build', 'run'))
+ depends_on('r-beachmat', when='@1.6.3:1.12.2', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-scattermore/package.py b/var/spack/repos/builtin/packages/r-scattermore/package.py
new file mode 100644
index 0000000000..f122580b21
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-scattermore/package.py
@@ -0,0 +1,22 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RScattermore(RPackage):
+ """Scatterplots with More Points
+
+ C-based conversion of large scatterplot data to rasters. Speeds up plotting
+ of data with millions of points."""
+
+ homepage = "https://github.com/exaexa/scattermore"
+ url = "https://cloud.r-project.org/src/contrib/scattermore_0.7.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/scattermore"
+
+ version('0.7', sha256='f36280197b8476314d6ce81a51c4ae737180b180204043d2937bc25bf3a5dfa2')
+
+ depends_on('r-ggplot2', type=('build', 'run'))
+ depends_on('r-scales', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-scatterpie/package.py b/var/spack/repos/builtin/packages/r-scatterpie/package.py
new file mode 100644
index 0000000000..5b19e86cb4
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-scatterpie/package.py
@@ -0,0 +1,25 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RScatterpie(RPackage):
+ """Scatter Pie Plot
+
+ Creates scatterpie plots, especially useful for plotting pies on a map."""
+
+ homepage = "https://cloud.r-project.org/package=scatterpie"
+ url = "https://cloud.r-project.org/src/contrib/scatterpie_0.1.5.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/scatterpie"
+
+ version('0.1.5', sha256='e13237b7effc302acafc1c9b520b4904e55875f4a3b804f653eed2940ca08840')
+
+ depends_on('r@3.4.0:', type=('build', 'run'))
+ depends_on('r-ggplot2', type=('build', 'run'))
+ depends_on('r-ggforce', type=('build', 'run'))
+ depends_on('r-rlang', type=('build', 'run'))
+ depends_on('r-rvcheck', type=('build', 'run'))
+ depends_on('r-tidyr', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-scatterplot3d/package.py b/var/spack/repos/builtin/packages/r-scatterplot3d/package.py
index c624cc62e2..8b0bb8d3be 100644
--- a/var/spack/repos/builtin/packages/r-scatterplot3d/package.py
+++ b/var/spack/repos/builtin/packages/r-scatterplot3d/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-scrime/package.py b/var/spack/repos/builtin/packages/r-scrime/package.py
index 6f839435ed..4bcf65391a 100644
--- a/var/spack/repos/builtin/packages/r-scrime/package.py
+++ b/var/spack/repos/builtin/packages/r-scrime/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-sctransform/package.py b/var/spack/repos/builtin/packages/r-sctransform/package.py
index 65d733fe25..eb1db61341 100644
--- a/var/spack/repos/builtin/packages/r-sctransform/package.py
+++ b/var/spack/repos/builtin/packages/r-sctransform/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RSctransform(RPackage):
- """A normalization method for single-cell UMI count data using a variance
+ """Variance Stabilizing Transformations for Single Cell UMI Data
+
+ A normalization method for single-cell UMI count data using a variance
stabilizing transformation. The transformation is based on a negative
binomial regression model with regularized parameters. As part of the same
regression framework, this package also provides functions for batch
@@ -18,15 +20,19 @@ class RSctransform(RPackage):
url = "https://cloud.r-project.org/src/contrib/sctransform_0.2.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/sctransform"
+ version('0.3.2', sha256='5dbb0a045e514c19f51bbe11c2dba0b72dca1942d6eb044c36b0538b443475dc')
version('0.2.0', sha256='d7f4c7958693823454f1426b23b0e1e9c207ad61a7a228602a1885a1318eb3e4')
depends_on('r@3.0.2:', type=('build', 'run'))
+ depends_on('r@3.1.0:', when='@0.3.2:', type=('build', 'run'))
depends_on('r-mass', type=('build', 'run'))
depends_on('r-matrix', type=('build', 'run'))
- depends_on('r-future', type=('build', 'run'))
depends_on('r-future-apply', type=('build', 'run'))
+ depends_on('r-future', type=('build', 'run'))
depends_on('r-ggplot2', type=('build', 'run'))
depends_on('r-reshape2', type=('build', 'run'))
depends_on('r-gridextra', type=('build', 'run'))
+ depends_on('r-matrixstats', when='@0.3.2:', type=('build', 'run'))
+ depends_on('r-rcpparmadillo', when='@0.3.2:', type=('build', 'run'))
depends_on('r-rcpp@0.11.0:', type=('build', 'run'))
- depends_on('r-rcppeigen', type=('build', 'run'))
+ depends_on('r-rcppeigen', when='@:0.2.0', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-scuttle/package.py b/var/spack/repos/builtin/packages/r-scuttle/package.py
new file mode 100644
index 0000000000..5646ad08f2
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-scuttle/package.py
@@ -0,0 +1,32 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RScuttle(RPackage):
+ """Single-Cell RNA-Seq Analysis Utilities
+
+ Provides basic utility functions for performing single-cell analyses,
+ focusing on simple normalization, quality control and data transformations.
+ Also provides some helper functions to assist development of other
+ packages."""
+
+ homepage = "https://bioconductor.org/packages/scuttle/"
+ git = "https://git.bioconductor.org/packages/scuttle"
+
+ version('1.0.4', commit='a827e2759d80e6c3510e2f8fd4bd680274206d9f')
+
+ depends_on('r-singlecellexperiment', type=('build', 'run'))
+ depends_on('r-matrix', type=('build', 'run'))
+ depends_on('r-rcpp', type=('build', 'run'))
+ depends_on('r-biocgenerics', type=('build', 'run'))
+ depends_on('r-s4vectors', type=('build', 'run'))
+ depends_on('r-biocparallel', type=('build', 'run'))
+ depends_on('r-genomicranges', type=('build', 'run'))
+ depends_on('r-summarizedexperiment', type=('build', 'run'))
+ depends_on('r-delayedarray', type=('build', 'run'))
+ depends_on('r-delayedmatrixstats', type=('build', 'run'))
+ depends_on('r-beachmat', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-sdmtools/package.py b/var/spack/repos/builtin/packages/r-sdmtools/package.py
index 1d46c4961a..121ce8af19 100644
--- a/var/spack/repos/builtin/packages/r-sdmtools/package.py
+++ b/var/spack/repos/builtin/packages/r-sdmtools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,12 +11,21 @@ class RSdmtools(RPackage):
associated with species distribution modelling exercises
This packages provides a set of tools for post processing the outcomes of
- species distribution modeling exercises."""
+ species distribution modeling exercises. It includes novel methods for
+ comparing models and tracking changes in distributions through time. It
+ further includes methods for visualizing outcomes, selecting thresholds,
+ calculating measures of accuracy and landscape fragmentation statistics,
+ etc.. This package was made possible in part by financial support from the
+ Australian Research Council & ARC Research Network for Earth System
+ Science."""
homepage = "https://cloud.r-project.org/package=SDMTools"
url = "https://cloud.r-project.org/src/contrib/SDMTools_1.1-221.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/SDMTools"
+ # This package was removed from CRAN on 2020-01-12
+ # The spack recipe contains the latest version available from the archives
+ version('1.1-221.2', sha256='f0dd8c5f98d2f2c012536fa56d8f7a58aaf0c11cbe3527e66d4ee3194f6a6cf7')
version('1.1-221.1', sha256='3825856263bdb648ca018b27dc6ab8ceaef24691215c197f8d5cd17718b54fbb')
version('1.1-221', sha256='a6da297a670f756ee964ffd99c3b212c55c297d385583fd0e767435dd5cd4ccd')
version('1.1-20', sha256='d6a261ce8f487d5d03b1931039f528f2eb50fb9386e7aae40045c966ff6d4182')
diff --git a/var/spack/repos/builtin/packages/r-segmented/package.py b/var/spack/repos/builtin/packages/r-segmented/package.py
index 922c779b57..9e7b4e7313 100644
--- a/var/spack/repos/builtin/packages/r-segmented/package.py
+++ b/var/spack/repos/builtin/packages/r-segmented/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,14 +7,22 @@ from spack import *
class RSegmented(RPackage):
- """Given a regression model, segmented 'updates' the model by adding
- one or more segmented (i.e., piecewise-linear) relationships. Several
- variables with multiple breakpoints are allowed."""
+ """Regression Models with Break-Points / Change-Points Estimation
+
+ Given a regression model, segmented 'updates' it by adding one or more
+ segmented (i.e., piece-wise linear) relationships. Several variables with
+ multiple breakpoints are allowed. The estimation method is discussed in
+ Muggeo (2003, <doi:10.1002/sim.1545>) and illustrated in Muggeo (2008,
+ <https://www.r-project.org/doc/Rnews/Rnews_2008-1.pdf>). An approach for
+ hypothesis testing is presented in Muggeo (2016,
+ <doi:10.1080/00949655.2016.1149855>), and interval estimation for the
+ breakpoint is discussed in Muggeo (2017, <doi:10.1111/anzs.12200>)."""
homepage = "https://cloud.r-project.org/package=segmented"
url = "https://cloud.r-project.org/src/contrib/segmented_0.5-1.4.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/segmented"
+ version('1.3-1', sha256='b9b6e82bf72f108c69cb8fa01bd02fb99946c73ca3c8c2f8ae0abb1f460c143d')
version('1.0-0', sha256='eeadc89b4bb4744bbd1e4e6c3b6536ff96fc7ee09016228dfdc0a8ebdc74fac5')
version('0.5-4.0', sha256='7ff63a19915cbd1e190d3a4875892b4c7bd97890b0dc2909126348a19aec4071')
version('0.5-2.2', sha256='3aa7136370dd77911ba8e061b5215560d120bc71f355eeadc0856389dfecb2f1')
diff --git a/var/spack/repos/builtin/packages/r-selectr/package.py b/var/spack/repos/builtin/packages/r-selectr/package.py
index 5f306470c2..c1bdb1031d 100644
--- a/var/spack/repos/builtin/packages/r-selectr/package.py
+++ b/var/spack/repos/builtin/packages/r-selectr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,17 +7,19 @@ from spack import *
class RSelectr(RPackage):
- """Translates a CSS3 selector into an equivalent XPath expression. This
- allows us to use CSS selectors when working with the XML package as it
- can only evaluate XPath expressions. Also provided are convenience
- functions useful for using CSS selectors on XML nodes. This package
- is a port of the Python package 'cssselect'
- (<https://pythonhosted.org/cssselect/>)."""
+ """Translate CSS Selectors to XPath Expressions
+
+ Translates a CSS3 selector into an equivalent XPath expression. This allows
+ us to use CSS selectors when working with the XML package as it can only
+ evaluate XPath expressions. Also provided are convenience functions useful
+ for using CSS selectors on XML nodes. This package is a port of the Python
+ package 'cssselect' (<https://cssselect.readthedocs.io/>)."""
homepage = "https://sjp.co.nz/projects/selectr"
url = "https://cloud.r-project.org/src/contrib/selectr_0.3-1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/selectr"
+ version('0.4-2', sha256='5588aed05f3f5ee63c0d29953ef53da5dac7afccfdd04b7b22ef24e1e3b0c127')
version('0.4-1', sha256='8bd42f167629344e485e586f9b05fed342746132489079084d82133d7b3ee2ca')
version('0.4-0', sha256='40cd51bfe499954b300742c49f92167a68964b974268a7f47ca8864f32020ece')
version('0.3-1', sha256='db4f7ceea4b522a54c3ae7709787b0b7fcf389c5d945c5a278e3625388218949')
diff --git a/var/spack/repos/builtin/packages/r-seqinr/package.py b/var/spack/repos/builtin/packages/r-seqinr/package.py
index 5d3a46fe70..b95ce812b8 100644
--- a/var/spack/repos/builtin/packages/r-seqinr/package.py
+++ b/var/spack/repos/builtin/packages/r-seqinr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,14 +7,18 @@ from spack import *
class RSeqinr(RPackage):
- """Exploratory data analysis and data visualization for biological
- sequence (DNA and protein) data. Includes also utilities for sequence
- data management under the ACNUC system."""
+ """Biological Sequences Retrieval and Analysis
+
+ Exploratory data analysis and data visualization for biological sequence
+ (DNA and protein) data. Seqinr includes utilities for sequence data
+ management under the ACNUC system described in Gouy, M. et al. (1984)
+ Nucleic Acids Res. 12:121-127 <doi:10.1093/nar/12.1Part1.121>."""
homepage = "http://seqinr.r-forge.r-project.org"
url = "https://cloud.r-project.org/src/contrib/seqinr_3.3-6.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/seqinr"
+ version('4.2-5', sha256='de9860759c23af2ec2f2ef03b5dd1cea72c804438eadd369b7d9269bdf8d32fc')
version('3.4-5', sha256='162a347495fd52cbb62e8187a4692e7c50b9fa62123c5ef98f2744c98a05fb9f')
version('3.3-6', sha256='42a3ae01331db744d67cc9c5432ce9ae389bed465af826687b9c10216ac7a08d')
diff --git a/var/spack/repos/builtin/packages/r-seqlogo/package.py b/var/spack/repos/builtin/packages/r-seqlogo/package.py
index bd03c3a5f4..bf1ec4c915 100644
--- a/var/spack/repos/builtin/packages/r-seqlogo/package.py
+++ b/var/spack/repos/builtin/packages/r-seqlogo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RSeqlogo(RPackage):
- """Sequence logos for DNA sequence alignments.
+ """Sequence logos for DNA sequence alignments
seqLogo takes the position weight matrix of a DNA sequence motif and
plots the corresponding sequence logo as introduced by Schneider and
@@ -16,6 +16,7 @@ class RSeqlogo(RPackage):
homepage = "https://bioconductor.org/packages/seqLogo"
git = "https://git.bioconductor.org/packages/seqLogo.git"
+ version('1.56.0', commit='169260c43fc58dc75becb3b7842cac3d0038a8d5')
version('1.50.0', commit='57986221c90c3920f9829756c4b3ee566dc1e14d')
version('1.48.0', commit='dde85582e7fd0c08c5b8bc73f9aed8f23b727d9d')
version('1.46.0', commit='e78be03db5f6a516138aeea6aa9512685633a4a2')
diff --git a/var/spack/repos/builtin/packages/r-servr/package.py b/var/spack/repos/builtin/packages/r-servr/package.py
new file mode 100644
index 0000000000..bd08b5ecdf
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-servr/package.py
@@ -0,0 +1,26 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RServr(RPackage):
+ """A Simple HTTP Server to Serve Static Files or Dynamic Documents
+
+ Start an HTTP server in R to serve static files, or dynamic documents that
+ can be converted to HTML files (e.g., R Markdown) under a given
+ directory."""
+
+ homepage = "https://github.com/yihui/servr"
+ url = "https://cloud.r-project.org/src/contrib/servr_0.21.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/servr"
+
+ version('0.21', sha256='3fc0da063dd04b796a49ce62bf8e69d5854679520da90cc92ee3fc0a0b2ad389')
+
+ depends_on('r@3.0.0:', type=('build', 'run'))
+ depends_on('r-mime@0.2:', type=('build', 'run'))
+ depends_on('r-httpuv@1.5.2:', type=('build', 'run'))
+ depends_on('r-xfun', type=('build', 'run'))
+ depends_on('r-jsonlite', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-sessioninfo/package.py b/var/spack/repos/builtin/packages/r-sessioninfo/package.py
index 48f238ef25..5cadb4f675 100644
--- a/var/spack/repos/builtin/packages/r-sessioninfo/package.py
+++ b/var/spack/repos/builtin/packages/r-sessioninfo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-seurat/package.py b/var/spack/repos/builtin/packages/r-seurat/package.py
index 32a66852e2..07e1af1dd3 100644
--- a/var/spack/repos/builtin/packages/r-seurat/package.py
+++ b/var/spack/repos/builtin/packages/r-seurat/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,21 @@ from spack import *
class RSeurat(RPackage):
- """Seurat is an R package designed for QC, analysis, and exploration of
- single cell RNA-seq data."""
+ """Tools for Single Cell Genomics
+
+ A toolkit for quality control, analysis, and exploration of single cell RNA
+ sequencing data. 'Seurat' aims to enable users to identify and interpret
+ sources of heterogeneity from single cell transcriptomic measurements, and
+ to integrate diverse types of single cell data. See Satija R, Farrell J,
+ Gennert D, et al (2015) <doi:10.1038/nbt.3192>, Macosko E, Basu A, Satija
+ R, et al (2015) <doi:10.1016/j.cell.2015.05.002>, and Stuart T, Butler A,
+ et al (2019) <doi:10.1016/j.cell.2019.05.031> for more details."""
homepage = "http://satijalab.org/seurat/"
url = "https://cloud.r-project.org/src/contrib/Seurat_2.1.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/Seurat"
+ version('3.2.3', sha256='83aa48f75c3756bee23e108a8b01028366e24f237fe990cb441f3525e0613f87')
version('3.1.0', sha256='d8d3fad2950a8f791376e3d20c72ea07c68bf8d82d800661cab5ce696db39d45')
version('3.0.2', sha256='16df5dec6b41d49320c5bf5ce30eb3b7dedeea69b054b55b77528f2f2b7bce04')
version('3.0.1', sha256='8c467bdbfdb9aff51bde6a897ff98a7389941f688639d8f1d36c71dde076a257')
@@ -22,68 +30,81 @@ class RSeurat(RPackage):
depends_on('r@3.2.0:', when='@:2.3.0', type=('build', 'run'))
depends_on('r@3.4.0:', when='@2.3.1:', type=('build', 'run'))
+ depends_on('r@3.6.0:', when='@3.2.3:', type=('build', 'run'))
+ depends_on('r-cluster', when='@2.3.0:', type=('build', 'run'))
+ depends_on('r-cowplot', type=('build', 'run'))
+ depends_on('r-fitdistrplus', when='@2.3.0:', type=('build', 'run'))
+ depends_on('r-future', when='@3.0.0:', type=('build', 'run'))
+ depends_on('r-future-apply', when='@3.0.0:', type=('build', 'run'))
depends_on('r-ggplot2@3.0.0:', type=('build', 'run'))
+ depends_on('r-ggplot2@3.3.0:', when='@3.2.3:', type=('build', 'run'))
+ depends_on('r-ggrepel', when='@3.0.0:', type=('build', 'run'))
+ depends_on('r-ggridges', when='@2.2.0:', type=('build', 'run'))
+ depends_on('r-httr', when='@2.3.4:', type=('build', 'run'))
+ depends_on('r-ica', type=('build', 'run'))
+ depends_on('r-igraph', type=('build', 'run'))
+ depends_on('r-irlba', type=('build', 'run'))
+ depends_on('r-jsonlite', when='@3.2.3:', type=('build', 'run'))
+ depends_on('r-kernsmooth', when='@3.0.0:', type=('build', 'run'))
+ depends_on('r-leiden@0.3.1:', when='@3.1.0:', type=('build', 'run'))
+ depends_on('r-lmtest', when='@2.3.0:', type=('build', 'run'))
+ depends_on('r-mass', type=('build', 'run'))
+ depends_on('r-matrix@1.2.14:', type=('build', 'run'))
+ depends_on('r-matrixstats', when='@3.2.3:', type=('build', 'run'))
+ depends_on('r-miniui', when='@3.2.3:', type=('build', 'run'))
+ depends_on('r-patchwork', when='@3.2.3:', type=('build', 'run'))
+ depends_on('r-pbapply', type=('build', 'run'))
+ depends_on('r-plotly', type=('build', 'run'))
+ depends_on('r-plotly@4.9.0:', when='@3.2.3:', type=('build', 'run'))
+ depends_on('r-png', when='@2.3.0:', type=('build', 'run'))
+ depends_on('r-rann', when='@2.3.0:', type=('build', 'run'))
+ depends_on('r-rcolorbrewer', type=('build', 'run'))
+ depends_on('r-rcpp@0.11.0:', type=('build', 'run'))
+ depends_on('r-rcppannoy', when='@3.1.0:', type=('build', 'run'))
+ depends_on('r-reticulate', when='@2.3.1:', type=('build', 'run'))
+ depends_on('r-rlang', when='@3.0.0:', type=('build', 'run'))
+ depends_on('r-rocr', type=('build', 'run'))
+ depends_on('r-rsvd', when='@3.0.0:', type=('build', 'run'))
+ depends_on('r-rtsne', type=('build', 'run'))
+ depends_on('r-scales', when='@3.0.0:', type=('build', 'run'))
+ depends_on('r-scattermore@0.7:', when='@3.2.3:', type=('build', 'run'))
+ depends_on('r-sctransform@0.2.0:', when='@3.0.0:', type=('build', 'run'))
+ depends_on('r-sctransform@0.3.1:', when='@3.2.3:', type=('build', 'run'))
+ depends_on('r-shiny', when='@3.2.3:', type=('build', 'run'))
+ depends_on('r-spatstat', when='@3.2.3:', type=('build', 'run'))
+ depends_on('r-tibble', when='@3.2.3:', type=('build', 'run'))
+ depends_on('r-uwot', when='@3.1.0:', type=('build', 'run'))
+ depends_on('r-uwot@0.1.9:', when='@3.2.3:', type=('build', 'run'))
+ depends_on('r-rcppeigen', type=('build', 'run'))
+ depends_on('r-rcppprogress', type=('build', 'run'))
depends_on('r-gplots', when='@:2.3.4', type=('build', 'run'))
depends_on('r-reshape2', when='@:2.3.4', type=('build', 'run'))
- depends_on('r-ape', type=('build', 'run'))
+ depends_on('r-ape', when='@:3.1.0', type=('build', 'run'))
depends_on('r-tidyr', when='@:2.3.4', type=('build', 'run'))
depends_on('r-caret', when='@:2.3.2', type=('build', 'run'))
depends_on('r-gdata', when='@:2.3.2', type=('build', 'run'))
depends_on('r-gridextra', when='@:2.3.0', type=('build', 'run'))
- depends_on('r-cowplot', type=('build', 'run'))
- depends_on('r-rocr', type=('build', 'run'))
depends_on('r-hmisc', when='@:2.3.4', type=('build', 'run'))
depends_on('r-nmf', when='@:2.2.0', type=('build', 'run'))
- depends_on('r-irlba', type=('build', 'run'))
- depends_on('r-igraph', type=('build', 'run'))
depends_on('r-fpc', when='@:2.3.4', type=('build', 'run'))
- depends_on('r-rcppprogress', type=('build', 'run'))
depends_on('r-lars', when='@:2.3.4', type=('build', 'run'))
depends_on('r-dtw', when='@:2.3.4', type=('build', 'run'))
depends_on('r-mixtools', when='@:2.3.4', type=('build', 'run'))
- depends_on('r-ica', type=('build', 'run'))
depends_on('r-diffusionmap', when='@:2.3.3', type=('build', 'run'))
- depends_on('r-tsne', type=('build', 'run'))
- depends_on('r-rtsne', type=('build', 'run'))
+ depends_on('r-tsne', when='@:3.1.0', type=('build', 'run'))
depends_on('r-ranger', when='@:2.3.2', type=('build', 'run'))
- depends_on('r-pbapply', type=('build', 'run'))
depends_on('r-ggjoy', when='@:2.1.0', type=('build', 'run'))
- depends_on('r-plotly', type=('build', 'run'))
- depends_on('r-sdmtools', type=('build', 'run'))
+ depends_on('r-sdmtools', when='@:3.1.0', type=('build', 'run'))
depends_on('r-tclust', when='@:2.3.2', type=('build', 'run'))
depends_on('r-fnn', when='@:2.3.2', type=('build', 'run'))
depends_on('r-vgam', when='@:2.3.2', type=('build', 'run'))
- depends_on('r-matrix@1.2.14:', type=('build', 'run'))
- depends_on('r-rcolorbrewer', type=('build', 'run'))
- depends_on('r-mass', type=('build', 'run'))
- depends_on('r-rcpp@0.11.0:', type=('build', 'run'))
- depends_on('r-rcppeigen', type=('build', 'run'))
- depends_on('r-ggridges', when='@2.2.0:', type=('build', 'run'))
depends_on('r-e1071', when='@:2.0.1', type=('build', 'run'))
depends_on('r-compositions', when='@:2.0.1', type=('build', 'run'))
depends_on('r-nmof', when='@:2.0.1', type=('build', 'run'))
- depends_on('r-metap', when='@2.2.1:', type=('build', 'run'))
- depends_on('r-cluster', when='@2.3.0:', type=('build', 'run'))
- depends_on('r-fitdistrplus', when='@2.3.0:', type=('build', 'run'))
- depends_on('r-png', when='@2.3.0:', type=('build', 'run'))
- depends_on('r-lmtest', when='@2.3.0:', type=('build', 'run'))
- depends_on('r-rann', when='@2.3.0:', type=('build', 'run'))
- depends_on('r-reticulate', when='@2.3.1:', type=('build', 'run'))
+ depends_on('r-metap', when='@2.2.1:3.1.0', type=('build', 'run'))
depends_on('r-stringr', when='@:2.3.2', type=('build', 'run'))
depends_on('r-dplyr', when='@:2.3.4', type=('build', 'run'))
- depends_on('r-httr', when='@2.3.4:', type=('build', 'run'))
depends_on('r-dosnow', when='@2.3.0:2.3.4', type=('build', 'run'))
depends_on('r-foreach', when='@2.3.0:2.3.4', type=('build', 'run'))
depends_on('r-hdf5r', when='@2.3.2:2.3.4', type=('build', 'run'))
- depends_on('r-future', when='@3.0.0:', type=('build', 'run'))
- depends_on('r-future-apply', when='@3.0.0:', type=('build', 'run'))
- depends_on('r-ggrepel', when='@3.0.0:', type=('build', 'run'))
- depends_on('r-kernsmooth', when='@3.0.0:', type=('build', 'run'))
- depends_on('r-rlang', when='@3.0.0:', type=('build', 'run'))
- depends_on('r-rsvd', when='@3.0.0:', type=('build', 'run'))
- depends_on('r-scales', when='@3.0.0:', type=('build', 'run'))
- depends_on('r-sctransform@0.2.0:', when='@3.0.0:', type=('build', 'run'))
- depends_on('r-leiden@0.3.1:', when='@3.1.0:', type=('build', 'run'))
- depends_on('r-rcppannoy', when='@3.1.0:', type=('build', 'run'))
- depends_on('r-uwot', when='@3.1.0:', type=('build', 'run'))
depends_on('java', when='@:2.3.0')
diff --git a/var/spack/repos/builtin/packages/r-sf/package.py b/var/spack/repos/builtin/packages/r-sf/package.py
index 76c8bbfe16..6ac15a1e0f 100644
--- a/var/spack/repos/builtin/packages/r-sf/package.py
+++ b/var/spack/repos/builtin/packages/r-sf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,26 +7,32 @@ from spack import *
class RSf(RPackage):
- """Support for simple features, a standardized way to encode spatial
- vector data. Binds to GDAL for reading and writing data, to GEOS for
- geometrical operations, and to Proj.4 for projection conversions and
- datum transformations."""
+ """Simple Features for R
+
+ Support for simple features, a standardized way to encode spatial vector
+ data. Binds to 'GDAL' for reading and writing data, to 'GEOS' for
+ geometrical operations, and to 'PROJ' for projection conversions and datum
+ transformations. Optionally uses the 's2' package for spherical geometry
+ operations on geographic coordinates."""
homepage = "https://github.com/r-spatial/sf/"
url = "https://cloud.r-project.org/src/contrib/sf_0.5-5.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/sf"
+ version('0.9-7', sha256='4acac2f78badf9d252da5bf377975f984927c14a56a72d9f83d285c0adadae9c')
version('0.7-7', sha256='d1780cb46a285b30c7cc41cae30af523fbc883733344e53f7291e2d045e150a4')
version('0.7-5', sha256='53ed0567f502216a116c4848f5a9262ca232810f82642df7b98e0541a2524868')
version('0.5-5', sha256='82ad31f98243b6982302fe245ee6e0d8d0546e5ff213ccc00ec3025dfec62229')
depends_on('r@3.3.0:', type=('build', 'run'))
- depends_on('r-rcpp@0.12.18:', type=('build', 'run'))
- depends_on('r-dbi@0.8:', type=('build', 'run'))
- depends_on('r-units@0.6-0:', type=('build', 'run'))
depends_on('r-classint@0.2-1:', type=('build', 'run'))
+ depends_on('r-classint@0.4-1:', when='@0.9-7:', type=('build', 'run'))
+ depends_on('r-dbi@0.8:', type=('build', 'run'))
depends_on('r-magrittr', type=('build', 'run'))
+ depends_on('r-units@0.6-0:', type=('build', 'run'))
+ depends_on('r-rcpp@0.12.18:', type=('build', 'run'))
depends_on('gdal@2.0.1:')
depends_on('geos@3.4.0:')
- depends_on('proj@4.8.0:5', when='@:0.7-3')
- depends_on('proj@4.8.0:6', when='@0.7-4:')
+ depends_on('proj@4.8.0:5.999', when='@:0.7-3')
+ depends_on('proj@4.8.0:6.999', when='@0.7-4:')
+ depends_on('sqlite', when='@0.9-7')
diff --git a/var/spack/repos/builtin/packages/r-sfsmisc/package.py b/var/spack/repos/builtin/packages/r-sfsmisc/package.py
index 7cf91c64da..7456c2de03 100644
--- a/var/spack/repos/builtin/packages/r-sfsmisc/package.py
+++ b/var/spack/repos/builtin/packages/r-sfsmisc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,14 +7,23 @@ from spack import *
class RSfsmisc(RPackage):
- """Useful utilities ['goodies'] from Seminar fuer Statistik
- ETH Zurich, quite a few related to graphics;
- some were ported from S-plus."""
+ """Utilities from 'Seminar fuer Statistik' ETH Zurich
+
+ Useful utilities ['goodies'] from Seminar fuer Statistik ETH Zurich, some
+ of which were ported from S-plus in the 1990s.; For graphics, have pretty
+ (Log-scale) axes, an enhanced Tukey-Anscombe plot, combining histogram and
+ boxplot, 2d-residual plots, a 'tachoPlot()', pretty arrows, etc.; For
+ robustness, have a robust F test and robust range().; For system support,
+ notably on Linux, provides 'Sys.*()' functions with more access to system
+ and CPU information.; Finally, miscellaneous utilities such as simple
+ efficient prime numbers, integer codes, Duplicated(), toLatex.numeric() and
+ is.whole()."""
homepage = "https://cloud.r-project.org/package=sfsmisc"
url = "https://cloud.r-project.org/src/contrib/sfsmisc_1.1-0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/sfsmisc"
+ version('1.1-8', sha256='b6556af5f807f0769489657a676422cb0734f3d6c918543d2989ef17febc1fa5')
version('1.1-4', sha256='44b6a9c859922e86b7182e54eb781d3264f3819f310343518ebc66f54f305c7d')
version('1.1-3', sha256='58eff7d4a9c79212321858efe98d2a6153630e263ff0218a31d5e104b8b545f8')
version('1.1-0', sha256='7f430cf3ebb95bac806fbf093fb1e2112deba47416a93be8d5d1064b76bc0015')
diff --git a/var/spack/repos/builtin/packages/r-shadowtext/package.py b/var/spack/repos/builtin/packages/r-shadowtext/package.py
new file mode 100644
index 0000000000..d93ed78a7e
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-shadowtext/package.py
@@ -0,0 +1,23 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RShadowtext(RPackage):
+ """Shadow Text Grob and Layer
+
+ Implement shadowtextGrob() for 'grid' and geom_shadowtext() layer for
+ 'ggplot2'. These functions create/draw text grob with background shadow."""
+
+ homepage = "https://github.com/GuangchuangYu/shadowtext/"
+ url = "https://cloud.r-project.org/src/contrib/shadowtext_0.0.7.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/shadowtext"
+
+ version('0.0.7', sha256='6e32b1dfd3d4816803848b876666185258b888286ec3d3e8500499ec3eba31e8')
+
+ depends_on('r@3.4.0:', type=('build', 'run'))
+ depends_on('r-ggplot2', type=('build', 'run'))
+ depends_on('r-scales', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-shape/package.py b/var/spack/repos/builtin/packages/r-shape/package.py
index 26142b242b..f84581f269 100644
--- a/var/spack/repos/builtin/packages/r-shape/package.py
+++ b/var/spack/repos/builtin/packages/r-shape/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,16 @@ from spack import *
class RShape(RPackage):
- """Functions for plotting graphical shapes such as ellipses, circles,
- cylinders, arrows, ..."""
+ """Functions for Plotting Graphical Shapes, Colors
+
+ Functions for plotting graphical shapes such as ellipses, circles,
+ cylinders, arrows, ..."""
homepage = "https://cloud.r-project.org/package=shape"
url = "https://cloud.r-project.org/src/contrib/shape_1.4.3.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/shape"
+ version('1.4.5', sha256='094a79b8f42226189227fd7af71868e42106caa25a4d7f80a26977e8bc84189f')
version('1.4.4', sha256='f4cb1b7d7c84cf08d2fa97f712ea7eb53ed5fa16e5c7293b820bceabea984d41')
version('1.4.3', sha256='720f6ca9c70a39a3900af9d074bff864b18ac58013b21d48b779047481b93ded')
version('1.4.2', sha256='c6c08ba9cc2e90e5c9d3d5223529b57061a041f637886ad7665b9fa27465637a')
diff --git a/var/spack/repos/builtin/packages/r-shiny/package.py b/var/spack/repos/builtin/packages/r-shiny/package.py
index f2774ecefa..8f83e78f13 100644
--- a/var/spack/repos/builtin/packages/r-shiny/package.py
+++ b/var/spack/repos/builtin/packages/r-shiny/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RShiny(RPackage):
- """Makes it incredibly easy to build interactive web applications with R.
+ """Web Application Framework for R
+
+ Makes it incredibly easy to build interactive web applications with R.
Automatic "reactive" binding between inputs and outputs and extensive
pre-built widgets make it possible to build beautiful, responsive, and
powerful applications with minimal effort."""
@@ -16,20 +18,30 @@ class RShiny(RPackage):
url = "https://cloud.r-project.org/src/contrib/shiny_1.0.5.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/shiny"
+ version('1.5.0', sha256='23cb8bfa448389c256efdab75e7e8d3ff90e5de66264c4ab02df322fb4298e9e')
version('1.3.2', sha256='28b851ae6c196ca845f6e815c1379247595ac123a4faa10a16533d1a9ce0c24f')
version('1.0.5', sha256='20e25f3f72f3608a2151663f7836f2e0c6da32683a555d7541063ae7a935fa42')
version('0.13.2', sha256='0fe7e952f468242d7c43ae49afcc764788f7f2fd5436d18c3d20a80db7296231')
depends_on('r@3.0.2:', type=('build', 'run'))
depends_on('r-httpuv@1.5.0:', type=('build', 'run'))
+ depends_on('r-httpuv@1.5.2:', when='@1.5.0:', type=('build', 'run'))
depends_on('r-mime@0.3:', type=('build', 'run'))
depends_on('r-jsonlite@0.9.16:', type=('build', 'run'))
depends_on('r-xtable', type=('build', 'run'))
depends_on('r-digest', type=('build', 'run'))
depends_on('r-htmltools@0.3.6:', type=('build', 'run'))
+ depends_on('r-htmltools@0.4.0.9003:', when='@1.5.0:', type=('build', 'run'))
depends_on('r-r6@2.0:', type=('build', 'run'))
depends_on('r-sourcetools', type=('build', 'run'))
depends_on('r-later@0.7.2:', when='@1.1.0:', type=('build', 'run'))
+ depends_on('r-later@1.0.0:', when='@1.5.0:', type=('build', 'run'))
depends_on('r-promises@1.0.1:', when='@1.1.0:', type=('build', 'run'))
+ depends_on('r-promises@1.1.0:', when='@1.5.0:', type=('build', 'run'))
depends_on('r-crayon', when='@1.1.0:', type=('build', 'run'))
depends_on('r-rlang', when='@1.1.0:', type=('build', 'run'))
+ depends_on('r-rlang@0.4.0:', when='@1.5.0:', type=('build', 'run'))
+ depends_on('r-fastmap@1.0.0:', when='@1.5.0:', type=('build', 'run'))
+ depends_on('r-withr', when='@1.5.0:', type=('build', 'run'))
+ depends_on('r-commonmark@1.7:', when='@1.5.0:', type=('build', 'run'))
+ depends_on('r-glue@1.3.2:', when='@1.5.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-shinydashboard/package.py b/var/spack/repos/builtin/packages/r-shinydashboard/package.py
index ad63f2ade0..87f7a9e8da 100644
--- a/var/spack/repos/builtin/packages/r-shinydashboard/package.py
+++ b/var/spack/repos/builtin/packages/r-shinydashboard/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-shinyfiles/package.py b/var/spack/repos/builtin/packages/r-shinyfiles/package.py
index 7c969cd4e4..cf6161b743 100644
--- a/var/spack/repos/builtin/packages/r-shinyfiles/package.py
+++ b/var/spack/repos/builtin/packages/r-shinyfiles/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RShinyfiles(RPackage):
- """Provides functionality for client-side navigation of the server side
+ """A Server-Side File System Viewer for Shiny
+
+ Provides functionality for client-side navigation of the server side
file system in shiny apps. In case the app is running locally this gives
the user direct access to the file system without the need to "download"
files to a temporary location. Both file and folder selection as well as
@@ -17,6 +19,7 @@ class RShinyfiles(RPackage):
url = "https://cloud.r-project.org/src/contrib/shinyFiles_0.7.3.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/shinyFiles"
+ version('0.9.0', sha256='51ad2aad61bcae22fb2c48a79d02bf6f86e36ffc49a3b64e26a76d133a955167')
version('0.7.3', sha256='710c8a6191aaf336379bc748daff1160d0d2858e2aee0d98e2ad48e7121d5a05')
depends_on('r-htmltools', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-shortread/package.py b/var/spack/repos/builtin/packages/r-shortread/package.py
index 22ae509299..b67583c9d4 100644
--- a/var/spack/repos/builtin/packages/r-shortread/package.py
+++ b/var/spack/repos/builtin/packages/r-shortread/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RShortread(RPackage):
- """FASTQ input and manipulation.
+ """FASTQ input and manipulation
This package implements sampling, iteration, and input of FASTQ files.
The package includes functions for filtering and trimming reads, and for
@@ -19,6 +19,7 @@ class RShortread(RPackage):
homepage = "https://bioconductor.org/packages/ShortRead"
git = "https://git.bioconductor.org/packages/ShortRead.git"
+ version('1.48.0', commit='ba44cd2517bc0e6f46d2cfcfce393f86eec814d0')
version('1.42.0', commit='daa2576a48278460caf87f42c022c796652f4908')
version('1.40.0', commit='0cbe4b62b0be4c5f2e2670da17493423446e008f')
version('1.38.0', commit='e9498f04b7b4bf0212bbb10ec7e3de2d7699f4bf')
@@ -26,27 +27,26 @@ class RShortread(RPackage):
version('1.34.2', commit='25daac63b301df66a8ef6e98cc2977522c6786cd')
depends_on('r-biocgenerics@0.22.1:', type=('build', 'run'))
+ depends_on('r-biocgenerics@0.23.3:', when='@1.36.1:', type=('build', 'run'))
depends_on('r-biocparallel', type=('build', 'run'))
depends_on('r-biostrings@2.37.1:', type=('build', 'run'))
+ depends_on('r-biostrings@2.47.6:', when='@1.38.0:', type=('build', 'run'))
depends_on('r-rsamtools@1.21.4:', type=('build', 'run'))
+ depends_on('r-rsamtools@1.31.2:', when='@1.38.0:', type=('build', 'run'))
depends_on('r-genomicalignments@1.5.4:', type=('build', 'run'))
+ depends_on('r-genomicalignments@1.15.6:', when='@1.38.0:', type=('build', 'run'))
depends_on('r-biobase', type=('build', 'run'))
depends_on('r-s4vectors@0.13.8:', type=('build', 'run'))
+ depends_on('r-s4vectors@0.17.25:', when='@1.38.0:', type=('build', 'run'))
depends_on('r-iranges@2.3.7:', type=('build', 'run'))
+ depends_on('r-iranges@2.13.12:', when='@1.38.0:', type=('build', 'run'))
depends_on('r-genomeinfodb@1.1.19:', type=('build', 'run'))
+ depends_on('r-genomeinfodb@1.15.2:', when='@1.38.0:', type=('build', 'run'))
depends_on('r-genomicranges@1.21.6:', type=('build', 'run'))
+ depends_on('r-genomicranges@1.31.8:', when='@1.38.0:', type=('build', 'run'))
depends_on('r-hwriter', type=('build', 'run'))
depends_on('r-zlibbioc', type=('build', 'run'))
depends_on('r-lattice', type=('build', 'run'))
depends_on('r-latticeextra', type=('build', 'run'))
depends_on('r-xvector', type=('build', 'run'))
-
- depends_on('r-biocgenerics@0.23.3:', when='@1.36.1:', type=('build', 'run'))
-
- depends_on('r-biostrings@2.47.6:', when='@1.38.0:', type=('build', 'run'))
- depends_on('r-rsamtools@1.31.2:', when='@1.38.0:', type=('build', 'run'))
- depends_on('r-genomicalignments@1.15.6:', when='@1.38.0:', type=('build', 'run'))
- depends_on('r-s4vectors@0.17.25:', when='@1.38.0:', type=('build', 'run'))
- depends_on('r-iranges@2.13.12:', when='@1.38.0:', type=('build', 'run'))
- depends_on('r-genomeinfodb@1.15.2:', when='@1.38.0:', type=('build', 'run'))
- depends_on('r-genomicranges@1.31.8:', when='@1.38.0:', type=('build', 'run'))
+ depends_on('r-rhtslib', when='@1.48.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-siggenes/package.py b/var/spack/repos/builtin/packages/r-siggenes/package.py
index 395a07bdb6..003e190b9f 100644
--- a/var/spack/repos/builtin/packages/r-siggenes/package.py
+++ b/var/spack/repos/builtin/packages/r-siggenes/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RSiggenes(RPackage):
- """Multiple Testing using SAM and Efron's Empirical Bayes Approaches.
+ """Multiple Testing using SAM and Efron's Empirical Bayes Approaches
Identification of differentially expressed genes and estimation of the
False Discovery Rate (FDR) using both the Significance Analysis of
@@ -17,6 +17,7 @@ class RSiggenes(RPackage):
homepage = "https://bioconductor.org/packages/siggenes"
git = "https://git.bioconductor.org/packages/siggenes.git"
+ version('1.64.0', commit='3b528d37c16fc41bbc5c98165f606394313aa050')
version('1.58.0', commit='69500158d69942cf7c62f583830933cf8baf89a1')
version('1.56.0', commit='3e929feaa76311be07ff51ad807e657b0b521f6f')
version('1.54.0', commit='1630e42652192e3e4e48e9e78e53665a120cfc7f')
@@ -25,5 +26,4 @@ class RSiggenes(RPackage):
depends_on('r-biobase', type=('build', 'run'))
depends_on('r-multtest', type=('build', 'run'))
-
depends_on('r-scrime@1.2.5:', when='@1.58.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-simpleaffy/package.py b/var/spack/repos/builtin/packages/r-simpleaffy/package.py
index 489318cde0..5910be33b9 100644
--- a/var/spack/repos/builtin/packages/r-simpleaffy/package.py
+++ b/var/spack/repos/builtin/packages/r-simpleaffy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RSimpleaffy(RPackage):
- """Very simple high level analysis of Affymetrix data.
+ """Very simple high level analysis of Affymetrix data
Provides high level functions for reading Affy .CEL files, phenotypic
data, and then computing simple things with it, such as t-tests, fold
@@ -18,6 +18,7 @@ class RSimpleaffy(RPackage):
homepage = "https://bioconductor.org/packages/simpleaffy"
git = "https://git.bioconductor.org/packages/simpleaffy.git"
+ version('2.66.0', commit='902db69e4ea4b6d306f0c744d3be600f1418ebc9')
version('2.60.0', commit='b32b5e7d5c65e43c10f98ab8684a1086a06d04f9')
version('2.58.0', commit='70cf1199bad620f60eaa288279632110bb571200')
version('2.56.0', commit='a05d768180b8713ad9e1dc46d491b7ef389b299d')
diff --git a/var/spack/repos/builtin/packages/r-singlecellexperiment/package.py b/var/spack/repos/builtin/packages/r-singlecellexperiment/package.py
index c6b4665352..67851cf21a 100644
--- a/var/spack/repos/builtin/packages/r-singlecellexperiment/package.py
+++ b/var/spack/repos/builtin/packages/r-singlecellexperiment/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RSinglecellexperiment(RPackage):
- """S4 Classes for Single Cell Data.
+ """S4 Classes for Single Cell Data
Defines a S4 class for storing data from single-cell experiments. This
includes specialized methods to store and retrieve spike-in information,
@@ -17,14 +17,14 @@ class RSinglecellexperiment(RPackage):
homepage = "https://bioconductor.org/packages/SingleCellExperiment"
git = "https://git.bioconductor.org/packages/SingleCellExperiment.git"
+ version('1.12.0', commit='66063b74c8b0bd0fd1277c7ad425ad11823ab356')
version('1.6.0', commit='baa51d77a8dacd2a22e7293095a8cffaaa3293b4')
version('1.4.1', commit='b1efcb338e9176ae6829bb897957aa37e74d4870')
version('1.2.0', commit='fe512259da79e0c660b322b5387e9bb16f2e6321')
version('1.0.0', commit='545e974aa7ca7855e039bf9e3030290cd71d9031')
depends_on('r@3.4:', type=('build', 'run'))
+ depends_on('r@3.5:', when='@1.2.0:1.6.0', type=('build', 'run'))
depends_on('r-summarizedexperiment', type=('build', 'run'))
depends_on('r-s4vectors', type=('build', 'run'))
depends_on('r-biocgenerics', type=('build', 'run'))
-
- depends_on('r@3.5:', when='@1.2.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-sitmo/package.py b/var/spack/repos/builtin/packages/r-sitmo/package.py
index fd7c1df3cc..5d18ed06f0 100644
--- a/var/spack/repos/builtin/packages/r-sitmo/package.py
+++ b/var/spack/repos/builtin/packages/r-sitmo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-sm/package.py b/var/spack/repos/builtin/packages/r-sm/package.py
index ff2e4cb335..e29cb9a398 100644
--- a/var/spack/repos/builtin/packages/r-sm/package.py
+++ b/var/spack/repos/builtin/packages/r-sm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,4 +18,5 @@ class RSm(RPackage):
version('2.2-5.6', sha256='b890cd7ebe8ed711ab4a3792c204c4ecbe9e6ca1fd5bbc3925eba5833a839c30')
version('2.2-5.5', sha256='43e212a14c364b98b10018b56fe0a619ccffe4bde1294e6c45b3eafe7caf82e7')
+ depends_on('r+X', type=('build', 'run'))
depends_on('r@3.1.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-smoof/package.py b/var/spack/repos/builtin/packages/r-smoof/package.py
index 40979fa30b..403f1cf0b9 100644
--- a/var/spack/repos/builtin/packages/r-smoof/package.py
+++ b/var/spack/repos/builtin/packages/r-smoof/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,22 +7,26 @@ from spack import *
class RSmoof(RPackage):
- """Provides generators for a high number of both single- and
- multi- objective test functions which are frequently used for the
- benchmarking of (numerical) optimization algorithms. Moreover, it offers
- a set of convenient functions to generate, plot and work with objective
- functions."""
+ """Single and Multi-Objective Optimization Test Functions
+
+ Provides generators for a high number of both single- and multi- objective
+ test functions which are frequently used for the benchmarking of
+ (numerical) optimization algorithms. Moreover, it offers a set of
+ convenient functions to generate, plot and work with objective
+ functions."""
homepage = "http://github.com/jakobbossek/smoof"
url = "https://cloud.r-project.org/src/contrib/smoof_1.5.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/smoof"
+ version('1.6.0.2', sha256='d82dba9702eade00afb84c2c12167de6cec790be7d23ac227f8fe705bdcefc93')
version('1.5.1', sha256='cfb6f6460e9593351428656b225b5ba3867a216d35a05f2babdb20db6ba35306')
version('1.5', sha256='9b73ad5bfc8e1120c9651539ea52b1468f316cc7fc5fef8afd6d357adf01504c')
+ depends_on('r+X', type=('build', 'run'))
depends_on('r-paramhelpers@1.8:', type=('build', 'run'))
- depends_on('r-bbmisc@1.6:', type=('build', 'run'))
depends_on('r-checkmate@1.1:', type=('build', 'run'))
+ depends_on('r-bbmisc@1.6:', type=('build', 'run'))
depends_on('r-ggplot2@2.2.1:', type=('build', 'run'))
depends_on('r-rcolorbrewer', type=('build', 'run'))
depends_on('r-plot3d', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-sn/package.py b/var/spack/repos/builtin/packages/r-sn/package.py
index 0ba4183ea0..9de39cbf9d 100644
--- a/var/spack/repos/builtin/packages/r-sn/package.py
+++ b/var/spack/repos/builtin/packages/r-sn/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RSn(RPackage):
- """Build and manipulate probability distributions of the skew-normal
+ """The Skew-Normal and Related Distributions Such as the Skew-t
+
+ Build and manipulate probability distributions of the skew-normal
family and some related ones, notably the skew-t family, and provide
related statistical methods for data fitting and diagnostics, in the
univariate and the multivariate case."""
@@ -16,6 +18,7 @@ class RSn(RPackage):
url = "https://cloud.r-project.org/src/contrib/sn_1.5-0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/sn"
+ version('1.6-2', sha256='2fd4730c315efc48958b47990ddb0cbc6ce075f7a27255944a292fb4fc593d9d')
version('1.5-4', sha256='46677ebc109263a68f62b5cf53ec59916cda490e5bc5bbb08276757a677f8674')
version('1.5-3', sha256='cc21b97ddd674c9b1296260f2a72ffb085cdcb877c8332f0bfa96ff028517183')
version('1.5-0', sha256='0164f7cffbf9e2a0f03f9bed3b96388b08d8a8ca476bbb686aa88be6b4ec073a')
@@ -27,3 +30,4 @@ class RSn(RPackage):
depends_on('r@2.15.3:', type=('build', 'run'))
depends_on('r-mnormt@1.5-4:', type=('build', 'run'))
depends_on('r-numderiv', type=('build', 'run'))
+ depends_on('r-quantreg', when='@1.6-2:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-snakecase/package.py b/var/spack/repos/builtin/packages/r-snakecase/package.py
index 55c3592a2b..1dbf906113 100644
--- a/var/spack/repos/builtin/packages/r-snakecase/package.py
+++ b/var/spack/repos/builtin/packages/r-snakecase/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-snow/package.py b/var/spack/repos/builtin/packages/r-snow/package.py
index 9d07e4943b..6386d2b4ef 100644
--- a/var/spack/repos/builtin/packages/r-snow/package.py
+++ b/var/spack/repos/builtin/packages/r-snow/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-snowfall/package.py b/var/spack/repos/builtin/packages/r-snowfall/package.py
index 57686af15e..6ee93158f0 100644
--- a/var/spack/repos/builtin/packages/r-snowfall/package.py
+++ b/var/spack/repos/builtin/packages/r-snowfall/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-snprelate/package.py b/var/spack/repos/builtin/packages/r-snprelate/package.py
index 9877ffe52b..e59bfe0ca8 100644
--- a/var/spack/repos/builtin/packages/r-snprelate/package.py
+++ b/var/spack/repos/builtin/packages/r-snprelate/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ from spack import *
class RSnprelate(RPackage):
"""Parallel Computing Toolset for Relatedness and Principal Component
- Analysis of SNP Data.
+ Analysis of SNP Data
Genome-wide association studies (GWAS) are widely used to investigate
the genetic basis of diseases and traits, but they pose many
@@ -30,6 +30,7 @@ class RSnprelate(RPackage):
homepage = "https://bioconductor.org/packages/SNPRelate"
git = "https://git.bioconductor.org/packages/SNPRelate.git"
+ version('1.24.0', commit='419b13b761ea39a8b1b9bc73097fb0359c59f1c2')
version('1.18.1', commit='81c581bf76392efdc8ba237ca2e42ca1dba788ca')
version('1.16.0', commit='0e38e8df4af87dff6c27a23af2867661998c0d85')
version('1.14.0', commit='9501cbfc411aa320e58654a865fda2e9077977af')
diff --git a/var/spack/repos/builtin/packages/r-snpstats/package.py b/var/spack/repos/builtin/packages/r-snpstats/package.py
index 2705246582..dde1f1bc30 100644
--- a/var/spack/repos/builtin/packages/r-snpstats/package.py
+++ b/var/spack/repos/builtin/packages/r-snpstats/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RSnpstats(RPackage):
- """SnpMatrix and XSnpMatrix classes and methods.
+ """SnpMatrix and XSnpMatrix classes and methods
Classes and statistical methods for large SNP association studies. This
extends the earlier snpMatrix package, allowing for uncertainty in
@@ -16,6 +16,7 @@ class RSnpstats(RPackage):
homepage = "https://bioconductor.org/packages/snpStats"
git = "https://git.bioconductor.org/packages/snpStats.git"
+ version('1.40.0', commit='5fcac6f3b4bb6f45c19dff8f3089b693b74a56ce')
version('1.34.0', commit='e31cdfb18a9e12d70d6a3e8e6fbf7cf8faa3ea5b')
version('1.32.0', commit='7c31158183b4e39da6dc30c7da275acc36b2e32f')
version('1.30.0', commit='0dc1e4246f015feaf2579d60268b10ab5149ce09')
diff --git a/var/spack/repos/builtin/packages/r-som/package.py b/var/spack/repos/builtin/packages/r-som/package.py
index eed2ca8fc8..8c27f46d9b 100644
--- a/var/spack/repos/builtin/packages/r-som/package.py
+++ b/var/spack/repos/builtin/packages/r-som/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-somaticsignatures/package.py b/var/spack/repos/builtin/packages/r-somaticsignatures/package.py
index a955110c1d..fb01e47dc7 100644
--- a/var/spack/repos/builtin/packages/r-somaticsignatures/package.py
+++ b/var/spack/repos/builtin/packages/r-somaticsignatures/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RSomaticsignatures(RPackage):
- """Somatic Signatures.
+ """Somatic Signatures
The SomaticSignatures package identifies mutational signatures of single
nucleotide variants (SNVs). It provides a infrastructure related to the
@@ -17,6 +17,7 @@ class RSomaticsignatures(RPackage):
homepage = "https://bioconductor.org/packages/SomaticSignatures"
git = "https://git.bioconductor.org/packages/SomaticSignatures.git"
+ version('2.26.0', commit='9d4bed6e118ac76755ffb7abd058b09bac58a9d7')
version('2.20.0', commit='dbedc30d92b600b3a17de596ebe38d15982c70c6')
version('2.18.0', commit='facccd67eee5202fcbe6ad32e667546546e7ccff')
version('2.16.0', commit='4ae348d9fa096c0ec307df95149991edf6044977')
@@ -34,6 +35,7 @@ class RSomaticsignatures(RPackage):
depends_on('r-ggplot2', type=('build', 'run'))
depends_on('r-ggbio', type=('build', 'run'))
depends_on('r-reshape2', type=('build', 'run'))
+ depends_on('r-nmf', when='@2.26.0:', type=('build', 'run'))
depends_on('r-pcamethods', type=('build', 'run'))
depends_on('r-biobase', type=('build', 'run'))
depends_on('r-proxy', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-sourcetools/package.py b/var/spack/repos/builtin/packages/r-sourcetools/package.py
index 22a8c75836..29f584e597 100644
--- a/var/spack/repos/builtin/packages/r-sourcetools/package.py
+++ b/var/spack/repos/builtin/packages/r-sourcetools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-sp/package.py b/var/spack/repos/builtin/packages/r-sp/package.py
index dbcb6e8dac..7c2b1cd772 100644
--- a/var/spack/repos/builtin/packages/r-sp/package.py
+++ b/var/spack/repos/builtin/packages/r-sp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RSp(RPackage):
- """Classes and methods for spatial data; the classes document where the
+ """Classes and Methods for Spatial Data
+
+ Classes and methods for spatial data; the classes document where the
spatial location information resides, for 2D or 3D data. Utility functions
are provided, e.g. for plotting data as maps, spatial selection, as well as
methods for retrieving coordinates, for subsetting, print, summary, etc."""
@@ -16,6 +18,7 @@ class RSp(RPackage):
url = "https://cloud.r-project.org/src/contrib/sp_1.2-3.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/sp"
+ version('1.4-5', sha256='6beeb216d540475cdead5f2c72d6c7ee400fe2423c1882d72cf57f6df58f09da')
version('1.3-1', sha256='57988b53ba8acc35f3912d62feba4b929a0f757c6b54080c623c5d805e0cb59f')
version('1.2-7', sha256='6d60e03e1abd30a7d4afe547d157ce3dd7a8c166fc5e407fd6d62ae99ff30460')
version('1.2-3', sha256='58b3a9e395ca664ee61b20b480be4eb61576daca44c3d3f6f9a943bb0155879a')
diff --git a/var/spack/repos/builtin/packages/r-spacetime/package.py b/var/spack/repos/builtin/packages/r-spacetime/package.py
index e7fe2eefcf..ed5298a8eb 100644
--- a/var/spack/repos/builtin/packages/r-spacetime/package.py
+++ b/var/spack/repos/builtin/packages/r-spacetime/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,17 +7,25 @@ from spack import *
class RSpacetime(RPackage):
- """spacetime: Classes and Methods for Spatio-Temporal Data"""
+ """Classes and Methods for Spatio-Temporal Data
+
+ Classes and methods for spatio-temporal data, including space-time regular
+ lattices, sparse lattices, irregular data, and trajectories; utility
+ functions for plotting data as map sequences (lattice or animation) or
+ multiple time series; methods for spatial and temporal selection and
+ subsetting, as well as for spatial/temporal/spatio-temporal matching or
+ aggregation, retrieving coordinates, print, summary, etc."""
homepage = "http://github.com/edzer/spacetime"
url = "https://cloud.r-project.org/src/contrib/spacetime_1.2-2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/spacetime"
+ version('1.2-3', sha256='ca7c0b962d5da0741f6dd85b271d693598756e0eeeb364ada828dbb6d1b9b25b')
version('1.2-2', sha256='1e9d3f92e5c4614a69c82a58bf0b5c829b4ed262bf1250bef943ae286056ea2d')
depends_on('r@3.0.0:', type=('build', 'run'))
- depends_on('r-intervals', type=('build', 'run'))
depends_on('r-lattice', type=('build', 'run'))
depends_on('r-sp@1.1-0:', type=('build', 'run'))
- depends_on('r-xts@0.8-8:', type=('build', 'run'))
depends_on('r-zoo@1.7-9:', type=('build', 'run'))
+ depends_on('r-xts@0.8-8:', type=('build', 'run'))
+ depends_on('r-intervals', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-spam/package.py b/var/spack/repos/builtin/packages/r-spam/package.py
index 0d5544124b..d7c3ffac83 100644
--- a/var/spack/repos/builtin/packages/r-spam/package.py
+++ b/var/spack/repos/builtin/packages/r-spam/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,21 @@ from spack import *
class RSpam(RPackage):
- """spam: SPArse Matrix"""
+ """SPArse Matrix
+
+ Set of functions for sparse matrix algebra. Differences with other sparse
+ matrix packages are: (1) we only support (essentially) one sparse matrix
+ format, (2) based on transparent and simple structure(s), (3) tailored for
+ MCMC calculations within G(M)RF. (4) and it is fast and scalable (with the
+ extension package spam64). Documentation about 'spam' is provided by
+ vignettes included in this package, see also Furrer and Sain (2010)
+ <doi:10.18637/jss.v036.i10>; see 'citation("spam")' for details."""
homepage = "https://www.math.uzh.ch/pages/spam/"
url = "https://cloud.r-project.org/src/contrib/spam_2.3-0.2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/spam"
+ version('2.6-0', sha256='638fdd658e94f7544b46f6b6568b20a9f390bcd703aff572a3a5249fef66be5c')
version('2.3-0.2', sha256='848fa95c0a71ac82af6344539af7b1c33563c687f06ead42851a68b621fff533')
depends_on('r@3.1:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-sparsem/package.py b/var/spack/repos/builtin/packages/r-sparsem/package.py
index 18db3c27d7..bd93f48ced 100644
--- a/var/spack/repos/builtin/packages/r-sparsem/package.py
+++ b/var/spack/repos/builtin/packages/r-sparsem/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,14 +7,17 @@ from spack import *
class RSparsem(RPackage):
- """Some basic linear algebra functionality for sparse matrices is provided:
- including Cholesky decomposition and backsolving as well as standard R
- subsetting and Kronecker products."""
+ """Sparse Linear Algebra
+
+ Some basic linear algebra functionality for sparse matrices is provided:
+ including Cholesky decomposition and backsolving as well as standard R
+ subsetting and Kronecker products."""
homepage = "http://www.econ.uiuc.edu/~roger/research/sparse/sparse.html"
url = "https://cloud.r-project.org/src/contrib/SparseM_1.74.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/SparseM"
+ version('1.78', sha256='d6b79ec881a10c91cb03dc23e6e783080ded9db4f2cb723755aa0d7d29a8b432')
version('1.77', sha256='a9329fef14ae4fc646df1f4f6e57efb0211811599d015f7bc04c04285495d45c')
version('1.76', sha256='c2c8e44376936a5fe6f09a37f3668016e66cbc687519cc952aa346a658a2b69b')
version('1.74', sha256='4712f0c80e9f3cb204497f146ba60b15e75976cdb7798996a7c51f841a85eeba')
diff --git a/var/spack/repos/builtin/packages/r-sparsematrixstats/package.py b/var/spack/repos/builtin/packages/r-sparsematrixstats/package.py
new file mode 100644
index 0000000000..8a1c35b339
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-sparsematrixstats/package.py
@@ -0,0 +1,26 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RSparsematrixstats(RPackage):
+ """Summary Statistics for Rows and Columns of Sparse Matrices
+
+ High performance functions for row and column operations on sparse
+ matrices. For example: col / rowMeans2, col / rowMedians, col / rowVars
+ etc. Currently, the optimizations are limited to data in the column sparse
+ format. This package is inspired by the matrixStats package by Henrik
+ Bengtsson."""
+
+ homepage = "https://bioconductor.org/packages/sparseMatrixStats/"
+ git = "https://git.bioconductor.org/packages/sparseMatrixStats"
+
+ version('1.2.1', commit='9726f3d5e0f03b50c332d85d5e4c339c18b0494c')
+
+ depends_on('r-matrixgenerics', type=('build', 'run'))
+ depends_on('r-rcpp', type=('build', 'run'))
+ depends_on('r-matrix', type=('build', 'run'))
+ depends_on('r-matrixstats', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-spatial/package.py b/var/spack/repos/builtin/packages/r-spatial/package.py
index b2fc45f406..bb6384eeb2 100644
--- a/var/spack/repos/builtin/packages/r-spatial/package.py
+++ b/var/spack/repos/builtin/packages/r-spatial/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,16 @@ from spack import *
class RSpatial(RPackage):
- """spatial: Functions for Kriging and Point Pattern Analysis"""
+ """Functions for Kriging and Point Pattern Analysis
+
+ Functions for kriging and point pattern analysis."""
homepage = "https://cloud.r-project.org/package=spatial"
url = "https://cloud.r-project.org/src/contrib/spatial_7.3-11.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/spatial"
+ version('7.3-12', sha256='7639039ee7407bd088e1b253376b2cb4fcdf4cc9124d6b48e4119d5cda872d63')
version('7.3-11', sha256='624448d2ac22e1798097d09fc5dc4605908a33f490b8ec971fc6ea318a445c11')
depends_on('r@3.0.0:', type=('build', 'run'))
- depends_on('r-mass', type=('build', 'run'))
+ depends_on('r-mass', when='@:7.3-11', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-spatialeco/package.py b/var/spack/repos/builtin/packages/r-spatialeco/package.py
index f028ebd8d5..81247e49ee 100644
--- a/var/spack/repos/builtin/packages/r-spatialeco/package.py
+++ b/var/spack/repos/builtin/packages/r-spatialeco/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,35 +7,42 @@ from spack import *
class RSpatialeco(RPackage):
- """Utilities to support spatial data manipulation, query,
- sampling and modelling.
- """
+ """Spatial Analysis and Modelling Utilities
+
+ Utilities to support spatial data manipulation, query, sampling and
+ modelling. Functions include models for species population density,
+ download utilities for climate and global deforestation spatial products,
+ spatial smoothing, multivariate separability, point process model for
+ creating pseudo- absences and sub-sampling, polygon and point-distance
+ landscape metrics, auto-logistic model, sampling models, cluster
+ optimization, statistical exploratory tools and raster-based metrics."""
homepage = "https://cloud.r-project.org/package=spatialEco"
url = "https://cloud.r-project.org/src/contrib/spatialEco_1.3-1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/spatialEco"
+ version('1.3-5', sha256='d4fb211124edf828333841c44a5af01165c53d89af460144214d81e3c13983c7')
version('1.3-2', sha256='9dfa427ee8b112446b582f6739a1c40a6e3ad3d050f522082a28ce47c675e57a')
version('1.3-1', sha256='ff12e26cc1bbf7934fbf712c99765d96ce6817e8055faa15a26d9ebade4bbf1c')
version('1.3-0', sha256='cfa09673cb3bbed30b243082fc2d63ac09f48b9f072a18d32b95c2c29979d1d0')
depends_on('r@3.6:', type=('build', 'run'))
- depends_on('r-dplyr', type=('build', 'run'))
- depends_on('r-exactextractr', type=('build', 'run'))
- depends_on('r-spatstat', type=('build', 'run'))
- depends_on('r-rcurl', type=('build', 'run'))
- depends_on('r-rms', type=('build', 'run'))
- depends_on('r-yaimpute', type=('build', 'run'))
- depends_on('r-spatialpack@0.3:', type=('build', 'run'))
- depends_on('r-mgcv', type=('build', 'run'))
- depends_on('r-envstats', type=('build', 'run'))
depends_on('r-sp', type=('build', 'run'))
- depends_on('r-raster', type=('build', 'run'))
depends_on('r-sf', type=('build', 'run'))
- depends_on('r-cluster', type=('build', 'run'))
+ depends_on('r-raster', type=('build', 'run'))
+ depends_on('r-spatstat', type=('build', 'run'))
depends_on('r-spdep', type=('build', 'run'))
- depends_on('r-readr', type=('build', 'run'))
depends_on('r-rgeos', type=('build', 'run'))
- depends_on('r-rann', type=('build', 'run'))
depends_on('r-mass', type=('build', 'run'))
- depends_on('r-maptools', type=('build', 'run'))
+ depends_on('r-dplyr', when='@:1.3-2', type=('build', 'run'))
+ depends_on('r-exactextractr', when='@:1.3-2', type=('build', 'run'))
+ depends_on('r-rcurl', when='@:1.3-2', type=('build', 'run'))
+ depends_on('r-rms', when='@:1.3-2', type=('build', 'run'))
+ depends_on('r-yaimpute', when='@:1.3-2', type=('build', 'run'))
+ depends_on('r-spatialpack@0.3:', when='@:1.3-2', type=('build', 'run'))
+ depends_on('r-mgcv', when='@:1.3-2', type=('build', 'run'))
+ depends_on('r-envstats', when='@:1.3-2', type=('build', 'run'))
+ depends_on('r-cluster', when='@:1.3-2', type=('build', 'run'))
+ depends_on('r-readr', when='@:1.3-2', type=('build', 'run'))
+ depends_on('r-rann', when='@:1.3-2', type=('build', 'run'))
+ depends_on('r-maptools', when='@:1.3-2', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-spatialpack/package.py b/var/spack/repos/builtin/packages/r-spatialpack/package.py
index afa919cd10..d68f7edbfe 100644
--- a/var/spack/repos/builtin/packages/r-spatialpack/package.py
+++ b/var/spack/repos/builtin/packages/r-spatialpack/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,24 @@ from spack import *
class RSpatialpack(RPackage):
- """Tools to assess the association between two spatial processes."""
+ """Tools to assess the association between two spatial processes
+
+ Tools to assess the association between two spatial processes. Currently,
+ several methodologies are implemented: A modified t-test to perform
+ hypothesis testing about the independence between the processes, a suitable
+ nonparametric correlation coefficient, the codispersion coefficient, and an
+ F test for assessing the multiple correlation between one spatial process
+ and several others. Functions for image processing and computing the
+ spatial association between images are also provided."""
homepage = "https://cloud.r-project.org/package=SpatialPack"
url = "https://cloud.r-project.org/src/contrib/SpatialPack_0.3-8.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/SpatialPack"
+ version('0.3-8196', sha256='9027e1656db97b721a12f5eda46532c6a99b4a079299b8d12fb57d445b237b4d')
version('0.3-8', sha256='a0e54b5dee3cd30a634e2d30380fe163942b672073fd909be888803332ed5151')
version('0.3', sha256='4c80fc1c77bc97fc678e6e201ecf7f0f89dcf3417b3b497a28a3639e9b30bd8a')
depends_on('r@2.10:', type=('build', 'run'))
+ depends_on('r@3.5.0:', when='@0.3-8196:', type=('build', 'run'))
+ depends_on('r-fastmatrix', when='@0.3-8196:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-spatialreg/package.py b/var/spack/repos/builtin/packages/r-spatialreg/package.py
index 1a0065f528..55aa9b0c99 100644
--- a/var/spack/repos/builtin/packages/r-spatialreg/package.py
+++ b/var/spack/repos/builtin/packages/r-spatialreg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,23 +7,45 @@ from spack import *
class RSpatialreg(RPackage):
- """spatialreg: Spatial Regression Analysis"""
+ """Spatial Regression Analysis
+
+ A collection of all the estimation functions for spatial cross-sectional
+ models (on lattice/areal data using spatial weights matrices) contained up
+ to now in 'spdep', 'sphet' and 'spse'. These model fitting functions
+ include maximum likelihood methods for cross-sectional models proposed by
+ 'Cliff' and 'Ord' (1973, ISBN:0850860369) and (1981, ISBN:0850860814),
+ fitting methods initially described by 'Ord' (1975)
+ <doi:10.1080/01621459.1975.10480272>. The models are further described by
+ 'Anselin' (1988) <doi:10.1007/978-94-015-7799-1>. Spatial two stage least
+ squares and spatial general method of moment models initially proposed by
+ 'Kelejian' and 'Prucha' (1998) <doi:10.1023/A:1007707430416> and (1999)
+ <doi:10.1111/1468-2354.00027> are provided. Impact methods and MCMC fitting
+ methods proposed by 'LeSage' and 'Pace' (2009) <doi:10.1201/9781420064254>
+ are implemented for the family of cross-sectional spatial regression
+ models. Methods for fitting the log determinant term in maximum likelihood
+ and MCMC fitting are compared by 'Bivand et al.' (2013)
+ <doi:10.1111/gean.12008>, and model fitting methods by 'Bivand' and 'Piras'
+ (2015) <doi:10.18637/jss.v063.i18>; both of these articles include
+ extensive lists of references. 'spatialreg' >= 1.1-* correspond to 'spdep'
+ >= 1.1-1, in which the model fitting functions are deprecated and pass
+ through to 'spatialreg', but will mask those in 'spatialreg'. From versions
+ 1.2-*, the functions will be made defunct in 'spdep'."""
homepage = "https://cloud.r-project.org/package=spatialreg"
url = "https://cloud.r-project.org/src/contrib/spatialreg_1.1-3.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/spatialreg"
+ version('1.1-5', sha256='ddbf0773bad2e99b306116ae99a57bf29eecf723d1735820935a6fb7f331b27d')
version('1.1-3', sha256='7609cdfcdfe427d2643a0db6b5360be3f6d60ede8229436ab52092d1c9cf0480')
depends_on('r@3.3.0:', type=('build', 'run'))
- depends_on('r-boot', type=('build', 'run'))
- depends_on('r-coda', type=('build', 'run'))
- depends_on('r-expm', type=('build', 'run'))
- depends_on('r-gmodels', type=('build', 'run'))
- depends_on('r-learnbayes', type=('build', 'run'))
- depends_on('r-mass', type=('build', 'run'))
- depends_on('r-matrix', type=('build', 'run'))
- depends_on('r-nlme', type=('build', 'run'))
depends_on('r-spdata', type=('build', 'run'))
+ depends_on('r-matrix', type=('build', 'run'))
depends_on('r-spdep', type=('build', 'run'))
+ depends_on('r-expm', type=('build', 'run'))
+ depends_on('r-coda', type=('build', 'run'))
depends_on('r-mass', type=('build', 'run'))
+ depends_on('r-boot', type=('build', 'run'))
+ depends_on('r-learnbayes', type=('build', 'run'))
+ depends_on('r-nlme', type=('build', 'run'))
+ depends_on('r-gmodels', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-spatstat-data/package.py b/var/spack/repos/builtin/packages/r-spatstat-data/package.py
index 991b87559b..ff2c5196f8 100644
--- a/var/spack/repos/builtin/packages/r-spatstat-data/package.py
+++ b/var/spack/repos/builtin/packages/r-spatstat-data/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,15 +7,19 @@ from spack import *
class RSpatstatData(RPackage):
- """Contains all the datasets for the 'spatstat' package."""
+ """Datasets for 'spatstat'
+
+ Contains all the datasets for the 'spatstat' package."""
homepage = "https://cloud.r-project.org/package=spatstat.data"
url = "https://cloud.r-project.org/src/contrib/spatstat.data_1.4-3.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/spatstat.data"
+ version('1.7-0', sha256='bbc192d43f2b37b308566694cb48ecdbbc4f20ef44b6fc7636564a717a03c12f')
version('1.4-3', sha256='8955b6ac40cc7d0d89e02334bb46f4c223ff0755e5818f132fee753e77918ea2')
version('1.4-0', sha256='121e5bb92beb7ccac920f921e760f429fd71bcfe11cb9b07a7e7326c7a72ec8c')
depends_on('r@3.3:', type=('build', 'run'))
- depends_on('r-matrix', type=('build', 'run'))
+ depends_on('r@3.5.0:', when='@1.7-0:', type=('build', 'run'))
depends_on('r-spatstat-utils', type=('build', 'run'))
+ depends_on('r-matrix', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-spatstat-utils/package.py b/var/spack/repos/builtin/packages/r-spatstat-utils/package.py
index 1cad42c005..53878be1d5 100644
--- a/var/spack/repos/builtin/packages/r-spatstat-utils/package.py
+++ b/var/spack/repos/builtin/packages/r-spatstat-utils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,14 +7,16 @@ from spack import *
class RSpatstatUtils(RPackage):
- """Contains utility functions for the 'spatstat'
- package which may also be useful for other purposes.
- """
+ """Utility Functions for 'spatstat'
+
+ Contains utility functions for the 'spatstat' package which may also be
+ useful for other purposes."""
homepage = "https://cloud.r-project.org/package=spatstat.utils"
url = "https://cloud.r-project.org/src/contrib/spatstat.utils_1.17-0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/spatstat.utils"
+ version('1.20-2', sha256='62c2413f989965a9fa6395742a605004b736a27c24304e6ffaebf2134019ce18')
version('1.17-0', sha256='39cd683ed7f41d8adc9e28af073d91b244aa1cf5ad966dfbb396ee3ee79f0922')
version('1.15-0', sha256='90e07d730b6939f47f93c939afae10874b2c82bd402960ede4133de67dca2a0c')
diff --git a/var/spack/repos/builtin/packages/r-spatstat/package.py b/var/spack/repos/builtin/packages/r-spatstat/package.py
index 490e78c61a..95ca68bdae 100644
--- a/var/spack/repos/builtin/packages/r-spatstat/package.py
+++ b/var/spack/repos/builtin/packages/r-spatstat/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-spdata/package.py b/var/spack/repos/builtin/packages/r-spdata/package.py
index d541d1d253..f09d568d97 100644
--- a/var/spack/repos/builtin/packages/r-spdata/package.py
+++ b/var/spack/repos/builtin/packages/r-spdata/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,24 @@ from spack import *
class RSpdata(RPackage):
- """spData: Datasets for Spatial Analysis"""
+ """Datasets for Spatial Analysis
+
+ Diverse spatial datasets for demonstrating, benchmarking and teaching
+ spatial data analysis. It includes R data of class sf (defined by the
+ package 'sf'), Spatial ('sp'), and nb ('spdep'). Unlike other spatial data
+ packages such as 'rnaturalearth' and 'maps', it also contains data stored
+ in a range of file formats including GeoJSON, ESRI Shapefile and
+ GeoPackage. Some of the datasets are designed to illustrate specific
+ analysis techniques. cycle_hire() and cycle_hire_osm(), for example, is
+ designed to illustrate point pattern analysis techniques."""
homepage = "https://github.com/Nowosad/spData"
url = "https://cloud.r-project.org/src/contrib/spData_0.3.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/spData"
+ version('0.3.8', sha256='7a61268db4fdbfb004b77d36e953cbb3fdfdac7e8bb6c500628ec6c592c79ad6')
version('0.3.0', sha256='de24ea659541a6c795cd26a1f6a213e15061af9c97a24cba1c24ce30c6c24c98')
depends_on('r@3.3.0:', type=('build', 'run'))
+ depends_on('r-sp', when='@0.3.8:', type=('build', 'run'))
+ depends_on('r-raster', when='@0.3.8:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-spdep/package.py b/var/spack/repos/builtin/packages/r-spdep/package.py
index 159b39fedd..97c52693a2 100644
--- a/var/spack/repos/builtin/packages/r-spdep/package.py
+++ b/var/spack/repos/builtin/packages/r-spdep/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,25 +7,23 @@ from spack import *
class RSpdep(RPackage):
- """A collection of functions to create spatial weights matrix objects from
- polygon contiguities, from point patterns by distance and tessellations,
- for summarizing these objects, and for permitting their use in spatial
- data analysis, including regional aggregation by minimum spanning tree;
- a collection of tests for spatial autocorrelation, including global
- Moran's I, APLE, Geary's C, Hubert/Mantel general cross product statistic,
- Empirical Bayes estimates and AssunasReis Index, Getis/Ord G and
- multicoloured join count statistics, local Moran's I and Getis/Ord G,
- saddlepoint approximations and exact tests for global and local Moran's I;
- and functions for estimating spatial simultaneous autoregressive (SAR) lag
- and error models, impact measures for lag models, weighted and unweighted
- SAR and CAR spatial regression models, semi-parametric and Moran
- eigenvector spatial filtering, GM SAR error models, and generalized spatial
- two stage least squares models."""
+ """Spatial Dependence: Weighting Schemes, Statistics
+
+ A collection of functions to create spatial weights matrix objects from
+ polygon 'contiguities', from point patterns by distance and tessellations,
+ for summarizing these objects, and for permitting their use in spatial data
+ analysis, including regional aggregation by minimum spanning tree; a
+ collection of tests for spatial 'autocorrelation', including global 'Morans
+ I' and 'Gearys C' proposed by 'Cliff' and 'Ord' (1973, ISBN: 0850860369)
+ and (1981, ISBN: 0850860814), 'Hubert/Mantel' general cross product
+ statistic, Empirical Bayes estimates and 'Assuncao/Reis' (1999)
+ <doi:10.1002/(SICI)1097-0258(19990830)18:16%3C2147::AID-SIM179%3E3.0.CO"""
homepage = "https://r-forge.r-project.org/projects/spdep"
url = "https://cloud.r-project.org/src/contrib/spdep_0.6-13.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/spdep"
+ version('1.1-5', sha256='47cb46cf5cf1f4386eb1b5e4d8541d577d7f2939e74addbdb884ecf2323f6d5d')
version('1.1-2', sha256='ba0ca3a0ad6b9cc1dc46cadd9e79259949ad38c88f738e98e482d6c06640b31a')
version('1.0-2', sha256='6f9efa4347d5c13b49922b75481ac403431c3c76a65a109af29954aa7bb138b2')
version('0.6-13', sha256='ed345f4c7ea7ba064b187eb6b25f0ac46f17616f3b56ab89978935cdc67df1c4')
@@ -33,14 +31,14 @@ class RSpdep(RPackage):
depends_on('r@3.0.0:', when='@:0.7-7', type=('build', 'run'))
depends_on('r@3.3.0:', when='@0.7-8:', type=('build', 'run'))
depends_on('r-sp@1.0:', type=('build', 'run'))
- depends_on('r-learnbayes', type=('build', 'run'))
+ depends_on('r-spdata@0.2.6.0:', when='@1.0-2:', type=('build', 'run'))
+ depends_on('r-sf', when='@1.0-2:', type=('build', 'run'))
depends_on('r-deldir', type=('build', 'run'))
- depends_on('r-coda', type=('build', 'run'))
- depends_on('r-gmodels', type=('build', 'run'))
- depends_on('r-expm', type=('build', 'run'))
+ depends_on('r-boot@1.3-1:', type=('build', 'run'))
depends_on('r-matrix', type=('build', 'run'))
+ depends_on('r-learnbayes', type=('build', 'run'))
depends_on('r-mass', type=('build', 'run'))
- depends_on('r-boot@1.3-1:', type=('build', 'run'))
+ depends_on('r-coda', type=('build', 'run'))
+ depends_on('r-expm', type=('build', 'run'))
+ depends_on('r-gmodels', type=('build', 'run'))
depends_on('r-nlme', type=('build', 'run'))
- depends_on('r-spdata@0.2.6.0:', when='@1.0-2:', type=('build', 'run'))
- depends_on('r-sf', when='@1.0-2:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-speedglm/package.py b/var/spack/repos/builtin/packages/r-speedglm/package.py
index 080d7071c4..e6b5eec3fc 100644
--- a/var/spack/repos/builtin/packages/r-speedglm/package.py
+++ b/var/spack/repos/builtin/packages/r-speedglm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,14 +7,17 @@ from spack import *
class RSpeedglm(RPackage):
- """Fitting linear models and generalized linear models to
+ """Fitting Linear and Generalized Linear Models to Large Data Sets
+
+ Fitting linear models and generalized linear models to
large data sets by updating algorithms."""
homepage = "https://cloud.r-project.org/package=speedglm"
url = "https://cloud.r-project.org/src/contrib/speedglm_0.3-2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/speedglm"
+ version('0.3-3', sha256='d065d0ee42fb772760fca8d97ad2aa56cd76b1d9ecb4e97478ec362429e16738')
version('0.3-2', sha256='5fcaf18324dc754152f528a44894944063303f780d33e58569ea7c306bfc45ac')
- depends_on('r-mass', type=('build', 'run'))
depends_on('r-matrix', type=('build', 'run'))
+ depends_on('r-mass', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-spem/package.py b/var/spack/repos/builtin/packages/r-spem/package.py
index 6abc2823a7..376c5993c3 100644
--- a/var/spack/repos/builtin/packages/r-spem/package.py
+++ b/var/spack/repos/builtin/packages/r-spem/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RSpem(RPackage):
- """S-system parameter estimation method.
+ """S-system parameter estimation method
This package can optimize the parameter in S-system models given time
series data"""
@@ -15,6 +15,7 @@ class RSpem(RPackage):
homepage = "https://bioconductor.org/packages/SPEM"
git = "https://git.bioconductor.org/packages/SPEM.git"
+ version('1.30.0', commit='6b2eb64bfe6287846b1408297dd46dc772431031')
version('1.24.0', commit='537ed19e466008f2972a246479b327c95177a99e')
version('1.22.0', commit='fddb7cd1f81e47eae603724ea149c2adca5b3eb4')
version('1.20.0', commit='b0e1049c61a35da00882d21026f4c1eb03b17517')
diff --git a/var/spack/repos/builtin/packages/r-splancs/package.py b/var/spack/repos/builtin/packages/r-splancs/package.py
index 58306eee5e..98c0257c1b 100644
--- a/var/spack/repos/builtin/packages/r-splancs/package.py
+++ b/var/spack/repos/builtin/packages/r-splancs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-splitstackshape/package.py b/var/spack/repos/builtin/packages/r-splitstackshape/package.py
index f63ed5959d..fdd7f47fe5 100644
--- a/var/spack/repos/builtin/packages/r-splitstackshape/package.py
+++ b/var/spack/repos/builtin/packages/r-splitstackshape/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-sqldf/package.py b/var/spack/repos/builtin/packages/r-sqldf/package.py
index 6402080162..d82b430851 100644
--- a/var/spack/repos/builtin/packages/r-sqldf/package.py
+++ b/var/spack/repos/builtin/packages/r-sqldf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-squarem/package.py b/var/spack/repos/builtin/packages/r-squarem/package.py
index 6ffebf4168..90ea3b334e 100644
--- a/var/spack/repos/builtin/packages/r-squarem/package.py
+++ b/var/spack/repos/builtin/packages/r-squarem/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,17 +7,21 @@ from spack import *
class RSquarem(RPackage):
- """Algorithms for accelerating the convergence of slow, monotone sequences
+ """Squared Extrapolation Methods for Accelerating EM-Like Monotone Algorithms
+
+ Algorithms for accelerating the convergence of slow, monotone sequences
from smooth, contraction mapping such as the EM algorithm. It can be used
- to accelerate any smooth, linearly convergent acceleration scheme. A
+ to accelerate any smooth, linearly convergent acceleration scheme. A
tutorial style introduction to this package is available in a vignette on
the CRAN download page or, when the package is loaded in an R session, with
- vignette("SQUAREM")."""
+ vignette("SQUAREM"). Refer to the J Stat Software article:
+ <doi:10.18637/jss.v092.i07>."""
homepage = "http://www.jhsph.edu/agingandhealth/People/Faculty_personal_pages/Varadhan.html"
url = "https://cloud.r-project.org/src/contrib/SQUAREM_2017.10-1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/SQUAREM"
+ version('2021.1', sha256='66e5e18ca29903e4950750bbd810f0f9df85811ee4195ce0a86d939ba8183a58')
version('2017.10-1', sha256='9b89905b436f1cf3faa9e3dabc585a76299e729e85ca659bfddb4b7cba11b283')
depends_on('r@3.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-squash/package.py b/var/spack/repos/builtin/packages/r-squash/package.py
index 31db085fb5..6706ce493a 100644
--- a/var/spack/repos/builtin/packages/r-squash/package.py
+++ b/var/spack/repos/builtin/packages/r-squash/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,11 +7,18 @@ from spack import *
class RSquash(RPackage):
- """Color-Based Plots for Multivariate Visualization"""
+ """Color-Based Plots for Multivariate Visualization
+
+ Functions for color-based visualization of multivariate data, i.e.
+ colorgrams or heatmaps. Lower-level functions map numeric values to colors,
+ display a matrix as an array of colors, and draw color keys. Higher-level
+ plotting functions generate a bivariate histogram, a dendrogram aligned
+ with a color-coded matrix, a triangular distance matrix, and more."""
homepage = "https://cloud.r-project.org/package=squash"
url = "https://cloud.r-project.org/src/contrib/squash_1.0.8.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/squash"
+ version('1.0.9', sha256='ff381c85071e3407574e3db28d789657f64e7d3f9d74ac123539de22ab8ac6f4')
version('1.0.8', sha256='e6932c0a461d5c85f7180a31d18a3eb4f28afd6769efe251075a4de12de039f4')
version('1.0.7', sha256='d2d7182a72dfd93b8b65e775bea11e891c38598fa49a3ed4f92ec1159ffab6f1')
diff --git a/var/spack/repos/builtin/packages/r-sseq/package.py b/var/spack/repos/builtin/packages/r-sseq/package.py
index a5238639d5..9eea513302 100644
--- a/var/spack/repos/builtin/packages/r-sseq/package.py
+++ b/var/spack/repos/builtin/packages/r-sseq/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ from spack import *
class RSseq(RPackage):
"""Shrinkage estimation of dispersion in Negative Binomial models for RNA-
- seq experiments with small sample size.
+ seq experiments with small sample size
The purpose of this package is to discover the genes that are
differentially expressed between two conditions in RNA-seq experiments.
@@ -24,6 +24,7 @@ class RSseq(RPackage):
homepage = "https://bioconductor.org/packages/sSeq"
git = "https://git.bioconductor.org/packages/sSeq.git"
+ version('1.28.0', commit='401f6805628bdf6579cc0e643b7ed54319f024be')
version('1.22.0', commit='fa3895c9578edddca17b5d13a2678ee5830b85cc')
version('1.20.1', commit='91f31440323612cb04beb44404ab0a1bcb3ad87d')
version('1.18.0', commit='1f65e5a55ce0d51672b785450031872e6db5ca0f')
diff --git a/var/spack/repos/builtin/packages/r-stabledist/package.py b/var/spack/repos/builtin/packages/r-stabledist/package.py
index c187d4771e..7a7cd433b6 100644
--- a/var/spack/repos/builtin/packages/r-stabledist/package.py
+++ b/var/spack/repos/builtin/packages/r-stabledist/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-stanheaders/package.py b/var/spack/repos/builtin/packages/r-stanheaders/package.py
index d561f2e8ff..23728ee944 100644
--- a/var/spack/repos/builtin/packages/r-stanheaders/package.py
+++ b/var/spack/repos/builtin/packages/r-stanheaders/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RStanheaders(RPackage):
- """The C++ header files of the Stan project are provided by this package,
+ """C++ Header Files for Stan
+
+ The C++ header files of the Stan project are provided by this package,
but it contains no R code, vignettes, or function documentation. There is a
shared object containing part of the CVODES library, but it is not
accessible from R. StanHeaders is only useful for developers who want to
@@ -27,10 +29,15 @@ class RStanheaders(RPackage):
url = "https://cloud.r-project.org/src/contrib/StanHeaders_2.10.0-2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/StanHeaders"
+ version('2.21.0-7', sha256='27546e064f0e907e031d9185ad55245d118d82fbe3074ecb1d76fae8b9f2336b')
+ version('2.21.0-6', sha256='a0282a054d0e6ab310ec7edcffa953b77c7e4a858d9ac7028aab1b4fb4ce8cf3')
version('2.18.1-10', sha256='8a9f7e22105428e97d14f44f75395c37cf8c809de148d279c620024452b3565a')
version('2.18.1', sha256='ce0d609a7cd11725b1203bdeae92acc54da3a48b8266eb9dbdb9d95b14df9209')
version('2.17.1', sha256='4300a1910a2eb40d7a6ecabea3c1e26f0aa9421eeb3000689272a0f62cb80d97')
version('2.10.0-2', sha256='ce4e335172bc65da874699302f6ba5466cdbcf69458c11954c0f131fc78b59b7')
+ depends_on('r+X', type=('build', 'run'))
depends_on('r@3.4.0:', when='@2.18.0:', type=('build', 'run'))
+ depends_on('r-rcppparallel@5.0.1:', when='@2.21.0:', type=('build', 'run'))
+ depends_on('r-rcppeigen', when='@2.21.0:', type=('build', 'run'))
depends_on('pandoc', type='build')
diff --git a/var/spack/repos/builtin/packages/r-stargazer/package.py b/var/spack/repos/builtin/packages/r-stargazer/package.py
index fff3c6ece2..1e58388b18 100644
--- a/var/spack/repos/builtin/packages/r-stargazer/package.py
+++ b/var/spack/repos/builtin/packages/r-stargazer/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-statmod/package.py b/var/spack/repos/builtin/packages/r-statmod/package.py
index f95c996a77..7da756e3c9 100644
--- a/var/spack/repos/builtin/packages/r-statmod/package.py
+++ b/var/spack/repos/builtin/packages/r-statmod/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,19 +7,21 @@ from spack import *
class RStatmod(RPackage):
- """A collection of algorithms and functions to aid statistical
- modeling. Includes growth curve comparisons, limiting dilution
- analysis (aka ELDA), mixed linear models, heteroscedastic
- regression, inverse-Gaussian probability calculations, Gauss
- quadrature and a secure convergence algorithm for nonlinear
- models. Includes advanced generalized linear model functions
- that implement secure convergence, dispersion modeling and
- Tweedie power-law families."""
+ """Statistical Modeling
+
+ A collection of algorithms and functions to aid statistical modeling.
+ Includes limiting dilution analysis (aka ELDA), growth curve comparisons,
+ mixed linear models, heteroscedastic regression, inverse-Gaussian
+ probability calculations, Gauss quadrature and a secure convergence
+ algorithm for nonlinear models. Also includes advanced generalized linear
+ model functions including Tweedie and Digamma distributional families and a
+ secure convergence algorithm."""
homepage = "https://cloud.r-project.org/package=statmod"
url = "https://cloud.r-project.org/src/contrib/statmod_1.4.30.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/statmod"
+ version('1.4.35', sha256='de5e428f81c306849af47b9ae583362855e166b1da62893734f1154cb5b3f8fe')
version('1.4.32', sha256='2f67a1cfa66126e6345f8a40564a3077d08f1748f17cb8c8fb05c94ed0f57e20')
version('1.4.30', sha256='9d2c1722a85f53623a9ee9f73d835119ae22ae2b8ec7b50d675401e314ea641f')
diff --git a/var/spack/repos/builtin/packages/r-statnet-common/package.py b/var/spack/repos/builtin/packages/r-statnet-common/package.py
index 1683197747..a95216cb43 100644
--- a/var/spack/repos/builtin/packages/r-statnet-common/package.py
+++ b/var/spack/repos/builtin/packages/r-statnet-common/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,16 +7,20 @@ from spack import *
class RStatnetCommon(RPackage):
- """Non-statistical utilities used by the software developed by the
- Statnet Project. They may also be of use to others."""
+ """Common R Scripts and Utilities Used by the Statnet Project Software
+
+ Non-statistical utilities used by the software developed by the Statnet
+ Project. They may also be of use to others."""
homepage = "http://www.statnet.org"
url = "https://cloud.r-project.org/src/contrib/statnet.common_3.3.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/statnet.common"
+ version('4.4.1', sha256='4ecf2b84718d7fb60f196215b4cf6f52cd6b26cc9148a6da6981b26e885509fd')
version('4.3.0', sha256='834a3359eac967df0420eee416ae4983e3b502a3de56bb24f494a7ca4104e959')
version('4.2.0', sha256='1176c3303436ebe858d02979cf0a0c33e4e2d1f3637516b4761d573ccd132461')
version('3.3.0', sha256='d714c4e7b0cbf71b7a628af443f5be530e74ad1e21f6b04f1b1087f6d7e40fa4')
depends_on('r@3.5:', when='@4.2.0:', type=('build', 'run'))
depends_on('r-coda', when='@4.1.2:', type=('build', 'run'))
+ depends_on('r-rle', when='@4.4.1:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-stringi/package.py b/var/spack/repos/builtin/packages/r-stringi/package.py
index a02c9584bb..68c5b531cc 100644
--- a/var/spack/repos/builtin/packages/r-stringi/package.py
+++ b/var/spack/repos/builtin/packages/r-stringi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,20 +7,22 @@ from spack import *
class RStringi(RPackage):
- """Allows for fast, correct, consistent, portable, as well as convenient
- character string/text processing in every locale and any native encoding.
- Owing to the use of the ICU library, the package provides R users with
- platform-independent functions known to Java, Perl, Python, PHP, and Ruby
- programmers. Among available features there are: pattern searching (e.g.,
- with ICU Java-like regular expressions or the Unicode Collation Algorithm),
- random string generation, case mapping, string transliteration,
- concatenation, Unicode normalization, date-time formatting and parsing,
- etc."""
+ """Character String Processing Facilities
+
+ A multitude of character string/text/natural language processing tools:
+ pattern searching (e.g., with 'Java'-like regular expressions or the
+ 'Unicode' collation algorithm), random string generation, case mapping,
+ string transliteration, concatenation, sorting, padding, wrapping, Unicode
+ normalisation, date-time formatting and parsing, and many more. They are
+ fast, consistent, convenient, and - owing to the use of the 'ICU'
+ (International Components for Unicode) library - portable across all
+ locales and platforms."""
homepage = "http://www.gagolewski.com/software/stringi/"
url = "https://cloud.r-project.org/src/contrib/stringi_1.1.2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/stringi"
+ version('1.5.3', sha256='224f1e8dedc962a676bc2e1f53016f6a129a0a38aa0f35daf6dece62ff714010')
version('1.4.3', sha256='13cecb396b700f81af38746e97b550a1d9fda377ca70c78f6cdfc770d33379ed')
version('1.3.1', sha256='32df663bb6e9527e1ac265eec2116d26f7b7e62ea5ae7cc5de217cbb8defc362')
version('1.1.5', sha256='651e85fc4ec6cf71ad8a4347f2bd4b00a490cf9eec20921a83bf5222740402f2')
@@ -30,3 +32,4 @@ class RStringi(RPackage):
depends_on('r@2.14:', type=('build', 'run'))
depends_on('icu4c@52:')
+ depends_on('icu4c@55:', when='@1.5.3:')
diff --git a/var/spack/repos/builtin/packages/r-stringr/package.py b/var/spack/repos/builtin/packages/r-stringr/package.py
index 7ff1aad0d7..f19f6998fe 100644
--- a/var/spack/repos/builtin/packages/r-stringr/package.py
+++ b/var/spack/repos/builtin/packages/r-stringr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-strucchange/package.py b/var/spack/repos/builtin/packages/r-strucchange/package.py
index ab24deeb75..9004be8628 100644
--- a/var/spack/repos/builtin/packages/r-strucchange/package.py
+++ b/var/spack/repos/builtin/packages/r-strucchange/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,23 @@ from spack import *
class RStrucchange(RPackage):
- """Testing, monitoring and dating structural changes in (linear)
- regression models."""
+ """Testing, Monitoring, and Dating Structural Changes
+
+ Testing, monitoring and dating structural changes in (linear) regression
+ models. strucchange features tests/methods from the generalized fluctuation
+ test framework as well as from the F test (Chow test) framework. This
+ includes methods to fit, plot and test fluctuation processes (e.g., CUSUM,
+ MOSUM, recursive/moving estimates) and F statistics, respectively. It is
+ possible to monitor incoming data online using fluctuation processes.
+ Finally, the breakpoints in regression models with structural changes can
+ be estimated together with confidence intervals. Emphasis is always given
+ to methods for visualizing the data."""
homepage = "https://cloud.r-project.org/package=strucchange"
url = "https://cloud.r-project.org/src/contrib/strucchange_1.5-1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/strucchange"
+ version('1.5-2', sha256='7d247c5ae6f5a63c80e478799d009c57fb8803943aa4286d05f71235cc1002f8')
version('1.5-1', sha256='740e2e20477b9fceeef767ae1002adc5ec397cb0f7daba5289a2c23b0dddaf31')
depends_on('r@2.10.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-subplex/package.py b/var/spack/repos/builtin/packages/r-subplex/package.py
index 7a28b6e60e..cb0c587a41 100644
--- a/var/spack/repos/builtin/packages/r-subplex/package.py
+++ b/var/spack/repos/builtin/packages/r-subplex/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,16 @@ from spack import *
class RSubplex(RPackage):
- """Unconstrained Optimization using the Subplex Algorithm"""
+ """Unconstrained Optimization using the Subplex Algorithm
+
+ The subplex algorithm for unconstrained optimization, developed by Tom
+ Rowan <http://www.netlib.org/opt/subplex.tgz>."""
homepage = "https://cloud.r-project.org/package=subplex"
url = "https://cloud.r-project.org/src/contrib/subplex_1.4-1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/subplex"
+ version('1.6', sha256='0d05da1622fffcd20a01cc929fc6c2b7df40a8246e7018f7f1f3c175b774cbf9')
version('1.5-4', sha256='ff94cf6b1560f78c31712c05bc2bc1b703339e09c7fc777ee94abf15fa7a8b81')
version('1.5-2', sha256='6f8c3ccadf1ccd7f11f3eae28cec16eed3695f14e351b864d807dbaba6cd3ded')
version('1.4-1', sha256='94b7b961aaa229a6f025151191ed50272af1394be69f1c41146b9e8c786caec6')
diff --git a/var/spack/repos/builtin/packages/r-summarizedexperiment/package.py b/var/spack/repos/builtin/packages/r-summarizedexperiment/package.py
index 5834c170da..846e042884 100644
--- a/var/spack/repos/builtin/packages/r-summarizedexperiment/package.py
+++ b/var/spack/repos/builtin/packages/r-summarizedexperiment/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RSummarizedexperiment(RPackage):
- """SummarizedExperiment container.
+ """SummarizedExperiment container
The SummarizedExperiment container contains one or more assays, each
represented by a matrix-like object of numeric or other mode. The rows
@@ -17,6 +17,7 @@ class RSummarizedexperiment(RPackage):
homepage = "https://bioconductor.org/packages/SummarizedExperiment"
git = "https://git.bioconductor.org/packages/SummarizedExperiment.git"
+ version('1.20.0', commit='874aa87a481e4076a0ec3369f55c9c0a1ab8025e')
version('1.18.2', commit='e22fafe')
version('1.14.1', commit='2c68d99e11c7345e5ed388370822ea48395c64a4')
version('1.12.0', commit='5f8416864636add121ec1d6737ebb89a42227fd7')
@@ -25,22 +26,24 @@ class RSummarizedexperiment(RPackage):
version('1.6.5', commit='ec69cd5cfbccaef148a9f6abdfb3e22e888695d0')
depends_on('r@3.2:', type=('build', 'run'))
+ depends_on('r-matrixgenerics@1.1.3:', type=('build', 'run'))
depends_on('r-genomicranges@1.27.22:', type=('build', 'run'))
+ depends_on('r-genomicranges@1.29.14:', when='@1.8.1:', type=('build', 'run'))
+ depends_on('r-genomicranges@1.31.17:', when='@1.10.1:', type=('build', 'run'))
+ depends_on('r-genomicranges@1.33.6:', when='@1.12.0:', type=('build', 'run'))
+ depends_on('r-genomicranges@1.41.5:', when='@1.20.0:', type=('build', 'run'))
depends_on('r-biobase', type=('build', 'run'))
- depends_on('r-delayedarray@0.1.9:', type=('build', 'run'))
depends_on('r-matrix', type=('build', 'run'))
depends_on('r-biocgenerics@0.15.3:', type=('build', 'run'))
depends_on('r-s4vectors@0.13.13:', type=('build', 'run'))
+ depends_on('r-s4vectors@0.17.25:', when='@1.10.1:', type=('build', 'run'))
+ depends_on('r-s4vectors@0.27.12:', when='@1.20.0:', type=('build', 'run'))
depends_on('r-iranges@2.7.2:', type=('build', 'run'))
- depends_on('r-genomeinfodb@1.11.4:', type=('build', 'run'))
-
- depends_on('r-genomicranges@1.29.14:', when='@1.8.1:', type=('build', 'run'))
- depends_on('r-delayedarray@0.3.20:', when='@1.8.1:', type=('build', 'run'))
depends_on('r-iranges@2.11.17:', when='@1.8.1:', type=('build', 'run'))
- depends_on('r-genomeinfodb@1.13.1:', when='@1.8.1:', type=('build', 'run'))
-
- depends_on('r-genomicranges@1.31.17:', when='@1.10.1:', type=('build', 'run'))
- depends_on('r-s4vectors@0.17.25:', when='@1.10.1:', type=('build', 'run'))
depends_on('r-iranges@2.13.16:', when='@1.10.1:', type=('build', 'run'))
-
- depends_on('r-genomicranges@1.33.6:', when='@1.12.0:', type=('build', 'run'))
+ depends_on('r-iranges@2.23.9:', when='@1.20.0:', type=('build', 'run'))
+ depends_on('r-genomeinfodb@1.11.4:', type=('build', 'run'))
+ depends_on('r-genomeinfodb@1.13.1:', when='@1.8.1:', type=('build', 'run'))
+ depends_on('r-delayedarray@0.1.9:', type=('build', 'run'))
+ depends_on('r-delayedarray@0.3.20:', when='@1.8.1:', type=('build', 'run'))
+ depends_on('r-delayedarray@0.15.10:', when='@1.20.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-suppdists/package.py b/var/spack/repos/builtin/packages/r-suppdists/package.py
index f85ee2c0a8..683c029cee 100644
--- a/var/spack/repos/builtin/packages/r-suppdists/package.py
+++ b/var/spack/repos/builtin/packages/r-suppdists/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-survey/package.py b/var/spack/repos/builtin/packages/r-survey/package.py
index c07a9ce22c..f15be5cfbe 100644
--- a/var/spack/repos/builtin/packages/r-survey/package.py
+++ b/var/spack/repos/builtin/packages/r-survey/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RSurvey(RPackage):
- """Summary statistics, two-sample tests, rank tests, generalised linear
+ """Analysis of Complex Survey Samples
+
+ Summary statistics, two-sample tests, rank tests, generalised linear
models, cumulative link models, Cox models, loglinear models, and general
maximum pseudolikelihood estimation for multistage stratified,
cluster-sampled, unequally weighted survey samples. Variances by Taylor
@@ -19,11 +21,12 @@ class RSurvey(RPackage):
url = "https://cloud.r-project.org/src/contrib/survey_3.30-3.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/survey"
+ version('4.0', sha256='b053f40f4cfa90507ca524f72d3b3a4b4869def52f11f907a14f1c6d90063de1')
version('3.36', sha256='90f32e9d2b52eacf881e6717a4b5edfc5a3beb5da516f8372293549589d79475')
version('3.35-1', sha256='11e5ddde9c8c21dfaed0b1247036e068ad32782c76ff71f7937eb7585dd364db')
version('3.30-3', sha256='be45d00b22d857e66905789031f2db1037505f80ce15d4b0ea84dabb03bc9e6d')
- depends_on('r@2.14.0:', when='@:3.31-5', type=('build', 'run'))
+ depends_on('r@2.14.0:', type=('build', 'run'))
depends_on('r@2.16.0:', when='@3.32:3.34', type=('build', 'run'))
depends_on('r@3.1.0:', when='@3.35:', type=('build', 'run'))
depends_on('r-matrix', when='@3.31:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-survival/package.py b/var/spack/repos/builtin/packages/r-survival/package.py
index 8e2bfb7f37..815986ce65 100644
--- a/var/spack/repos/builtin/packages/r-survival/package.py
+++ b/var/spack/repos/builtin/packages/r-survival/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RSurvival(RPackage):
- """Contains the core survival analysis routines, including definition of
+ """Survival Analysis
+
+ Contains the core survival analysis routines, including definition of
Surv objects, Kaplan-Meier and Aalen-Johansen (multi-state) curves, Cox
models, and parametric accelerated failure time models."""
@@ -15,6 +17,7 @@ class RSurvival(RPackage):
url = "https://cloud.r-project.org/src/contrib/survival_2.41-3.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/survival"
+ version('3.2-7', sha256='5356cd73da7ecfda4042e8a8ae00d3531b106f7b39ca31a1843eadf288418a46')
version('3.1-12', sha256='b62ed66eb646f3df13f7e9bf6571e3bfecae128c66491e174c8833cbef1bf21f')
version('2.44-1.1', sha256='55b151e15fcd24ccb3acf60331c9a7ad82bc10f3841ab3be9bc2a37e9ee751b9')
version('2.44-1', sha256='82c44afa41fe4504295855f1da4a5940c3289dfd61bc664bf211bb67c051a909')
diff --git a/var/spack/repos/builtin/packages/r-sva/package.py b/var/spack/repos/builtin/packages/r-sva/package.py
index 79ecbaea3c..2c3b51e302 100644
--- a/var/spack/repos/builtin/packages/r-sva/package.py
+++ b/var/spack/repos/builtin/packages/r-sva/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RSva(RPackage):
- """Surrogate Variable Analysis.
+ """Surrogate Variable Analysis
The sva package contains functions for removing batch effects and other
unwanted variation in high-throughput experiment. Specifically, the sva
@@ -31,6 +31,7 @@ class RSva(RPackage):
homepage = "https://bioconductor.org/packages/sva"
git = "https://git.bioconductor.org/packages/sva.git"
+ version('3.38.0', commit='5ded8ba649200ec4829051f86a59e1a2548a7ab8')
version('3.32.1', commit='1b8286734d00533b49d9f1456b6523cc778bb744')
version('3.30.1', commit='fdb98bc2299dc5213c62d83cb7c0b1c1b4912f0c')
version('3.28.0', commit='dd4937229dbccd2f383a04d5237fe147a884728d')
@@ -43,3 +44,4 @@ class RSva(RPackage):
depends_on('r-biocparallel', type=('build', 'run'))
depends_on('r-matrixstats', type=('build', 'run'))
depends_on('r-limma', type=('build', 'run'))
+ depends_on('r-edger', when='@3.38.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-sys/package.py b/var/spack/repos/builtin/packages/r-sys/package.py
index 1901e54354..b6774c7e79 100644
--- a/var/spack/repos/builtin/packages/r-sys/package.py
+++ b/var/spack/repos/builtin/packages/r-sys/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RSys(RPackage):
- """Drop-in replacements for the base system2() function with fine control
+ """Powerful and Reliable Tools for Running System Commands in R
+
+ Drop-in replacements for the base system2() function with fine control
and consistent behavior across platforms. Supports clean interruption,
timeout, background tasks, and streaming STDIN / STDOUT / STDERR over
binary or text connections. Arguments on Windows automatically get encoded
@@ -17,6 +19,7 @@ class RSys(RPackage):
url = "https://cloud.r-project.org/src/contrib/sys_3.2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/sys"
+ version('3.4', sha256='17f88fbaf222f1f8fd07919461093dac0e7175ae3c3b3264b88470617afd0487')
version('3.2', sha256='2819498461fe2ce83d319d1a47844e86bcea6d01d10861818dba289e7099bbcc')
def flag_handler(self, name, flags):
diff --git a/var/spack/repos/builtin/packages/r-tarifx/package.py b/var/spack/repos/builtin/packages/r-tarifx/package.py
index 2aac0efab2..569559bbb0 100644
--- a/var/spack/repos/builtin/packages/r-tarifx/package.py
+++ b/var/spack/repos/builtin/packages/r-tarifx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,15 @@ from spack import *
class RTarifx(RPackage):
- """A collection of various utility and convenience functions."""
+ """Collection of Utility and Convenience Functions
+
+ A collection of various utility and convenience functions."""
homepage = "https://cloud.r-project.org/package=taRifx"
url = "https://cloud.r-project.org/src/contrib/taRifx_1.0.6.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/taRifx"
+ version('1.0.6.2', sha256='89d031db00a94ae57c7ace0d9aa39ba2f960f96fd48d2d1e4c7ebb62a2969b15')
version('1.0.6.1', sha256='d4c832b26d476a395ddf8349c42613270023c8bbf52a274d280be6284c11d7e2')
version('1.0.6', sha256='3dc70ac9c828d904cbac9fc9465918cd58cb5e9e35e92fe0cf38f436a1017782')
diff --git a/var/spack/repos/builtin/packages/r-taxizedb/package.py b/var/spack/repos/builtin/packages/r-taxizedb/package.py
index 3002e6e8f5..377b7e377b 100644
--- a/var/spack/repos/builtin/packages/r-taxizedb/package.py
+++ b/var/spack/repos/builtin/packages/r-taxizedb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,20 +7,29 @@ from spack import *
class RTaxizedb(RPackage):
- """taxizedb: Tools for Working with 'Taxonomic' Databases"""
+ """Tools for Working with 'Taxonomic' Databases
+
+ Tools for working with 'taxonomic' databases, including utilities for
+ downloading databases, loading them into various 'SQL' databases, cleaning
+ up files, and providing a 'SQL' connection that can be used to do 'SQL'
+ queries directly or used in 'dplyr'."""
homepage = "https://cloud.r-project.org/package=taxizedb"
url = "https://cloud.r-project.org/src/contrib/taxizedb_0.1.4.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/taxizedb/"
+ version('0.3.0', sha256='5f28338a233f0021097147e74c5f83107e5847de3413eceb308208e39af9fcb4')
version('0.1.4', sha256='5a40569a2b5abe56201f112a10220150353412df39b7e8d21ea8698f424cf295')
depends_on('r-curl@2.4:', type=('build', 'run'))
depends_on('r-dbi@0.6-1:', type=('build', 'run'))
- depends_on('r-rpostgresql@0.4.1:', type=('build', 'run'))
- depends_on('r-rmysql@0.10.11:', type=('build', 'run'))
depends_on('r-rsqlite@1.1.2:', type=('build', 'run'))
depends_on('r-dplyr@0.7.0:', type=('build', 'run'))
+ depends_on('r-tibble', when='@0.3.0:', type=('build', 'run'))
+ depends_on('r-rlang', when='@0.3.0:', type=('build', 'run'))
+ depends_on('r-readr@1.1.1:', when='@0.3.0:', type=('build', 'run'))
depends_on('r-dbplyr@1.0.0:', type=('build', 'run'))
depends_on('r-magrittr@1.5:', type=('build', 'run'))
depends_on('r-hoardr@0.1.0:', type=('build', 'run'))
+ depends_on('r-rpostgresql@0.4.1:', when='@:0.1.4', type=('build', 'run'))
+ depends_on('r-rmysql@0.10.11:', when='@:0.1.4', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-tclust/package.py b/var/spack/repos/builtin/packages/r-tclust/package.py
index 393e56e84b..e8e48f94ae 100644
--- a/var/spack/repos/builtin/packages/r-tclust/package.py
+++ b/var/spack/repos/builtin/packages/r-tclust/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,18 @@ from spack import *
class RTclust(RPackage):
- """Provides functions for robust trimmed clustering."""
+ """Robust Trimmed Clustering
+
+ Provides functions for robust trimmed clustering. The methods are described
+ in Garcia-Escudero (2008) <doi:10.1214/07-AOS515>, Fritz et al. (2012)
+ <doi:10.18637/jss.v047.i12>, Garcia-Escudero et al. (2011)
+ <doi:10.1007/s11222-010-9194-z> and others."""
homepage = "https://cloud.r-project.org/package=tclust"
url = "https://cloud.r-project.org/src/contrib/tclust_1.3-1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/tclust"
+ version('1.4-2', sha256='95dcd07dbd16383f07f5cea8561e7f3bf314e4a7483879841103b149fc8c65d9')
version('1.4-1', sha256='4b0be612c8ecd7b4eb19a44ab6ac8f5d40515600ae1144c55989b6b41335ad9e')
version('1.3-1', sha256='fe4479a73b947d8f6c1cc63587283a8b6223d430d39eee4e5833a06d3d1726d2')
version('1.2-7', sha256='7d2cfa35bbd44086af45be842e6c4743380c7cc8a0f985d2bb7c1a0690c878d7')
diff --git a/var/spack/repos/builtin/packages/r-teachingdemos/package.py b/var/spack/repos/builtin/packages/r-teachingdemos/package.py
index b1d5d8e3a7..a97d91e871 100644
--- a/var/spack/repos/builtin/packages/r-teachingdemos/package.py
+++ b/var/spack/repos/builtin/packages/r-teachingdemos/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RTeachingdemos(RPackage):
- """TeachingDemos: Demonstrations for Teaching and Learning.
+ """Demonstrations for Teaching and Learning.
Demonstration functions that can be used in a classroom to demonstrate
statistical concepts, or on your own to better understand the concepts
@@ -17,4 +17,7 @@ class RTeachingdemos(RPackage):
url = "https://cloud.r-project.org/src/contrib/TeachingDemos_2.10.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/TeachingDemos"
+ version('2.12', sha256='3e75405ce1affa406d6df85e06f96381412bc7a2810b25d8c81bfe64c4698644')
version('2.10', sha256='2ef4c2e36ba13e32f66000e84281a3616584c86b255bca8643ff3fe4f78ed704')
+
+ depends_on('r@2.10:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-tensor/package.py b/var/spack/repos/builtin/packages/r-tensor/package.py
index 6fc8ace494..ecbf1a8aa8 100644
--- a/var/spack/repos/builtin/packages/r-tensor/package.py
+++ b/var/spack/repos/builtin/packages/r-tensor/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-tensora/package.py b/var/spack/repos/builtin/packages/r-tensora/package.py
index 20cc9794a4..9b478c8084 100644
--- a/var/spack/repos/builtin/packages/r-tensora/package.py
+++ b/var/spack/repos/builtin/packages/r-tensora/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,14 +7,18 @@ from spack import *
class RTensora(RPackage):
- """The package provides convenience functions for advance linear algebra
- with tensors and computation with datasets of tensors on a higher level
- abstraction."""
+ """Advanced Tensor Arithmetic with Named Indices
+
+ Provides convenience functions for advanced linear algebra with tensors and
+ computation with data sets of tensors on a higher level abstraction. It
+ includes Einstein and Riemann summing conventions, dragging, co- and
+ contravariate indices, parallel computations on sequences of tensors."""
homepage = "https://cloud.r-project.org/package=tensorA"
url = "https://cloud.r-project.org/src/contrib/tensorA_0.36.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/tensorA"
+ version('0.36.2', sha256='8e8947566bd3b65a54de4269df1abaa3d49cf5bfd2a963c3274a524c8a819ca7')
version('0.36.1', sha256='c7ffe12b99867675b5e9c9f31798f9521f14305c9d9f9485b171bcbd8697d09c')
version('0.36', sha256='97b3e72f26ca3a756d045008764d787a32c68f0a276fb7a29b6e1b4592fdecf6')
diff --git a/var/spack/repos/builtin/packages/r-testit/package.py b/var/spack/repos/builtin/packages/r-testit/package.py
index dfc7b59d5c..b6dde8d99d 100644
--- a/var/spack/repos/builtin/packages/r-testit/package.py
+++ b/var/spack/repos/builtin/packages/r-testit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,13 +8,16 @@ from spack import *
class RTestit(RPackage):
- """Provides two convenience functions assert() and test_pkg() to facilitate
+ """A Simple Package for Testing R Packages
+
+ Provides two convenience functions assert() and test_pkg() to facilitate
testing R packages."""
homepage = "https://cloud.r-project.org/package=testit"
url = "https://cloud.r-project.org/src/contrib/testit_0.5.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/testit"
+ version('0.12', sha256='9acdf912f0e7a68a5b6a7946d5ebb0c2007b3d6cd2e39075eddae2b586354e89')
version('0.9', sha256='9cf6b3df9b2c700e4e7dcbd5b8cb64fabefe674e1f40346ccaf39fe7feda5e55')
version('0.8', sha256='08a9c19c962eae60f4ab58885a23e0bc239efc39da682290be436c066f8d97f7')
version('0.7', sha256='03332889bffe8b69d36e696e3a6a1a29713cdcbccf1efced6cddbf061fb41a1f')
diff --git a/var/spack/repos/builtin/packages/r-testthat/package.py b/var/spack/repos/builtin/packages/r-testthat/package.py
index 413aa0d63b..57806ad1d4 100644
--- a/var/spack/repos/builtin/packages/r-testthat/package.py
+++ b/var/spack/repos/builtin/packages/r-testthat/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,28 +7,44 @@ from spack import *
class RTestthat(RPackage):
- """A unit testing system designed to be fun, flexible and easy to set
- up."""
+ """Unit Testing for R
+
+ Software testing is important, but, in part because it is frustrating and
+ boring, many of us avoid it. 'testthat' is a testing framework for R that
+ is easy to learn and use, and integrates with your existing 'workflow'."""
homepage = "https://github.com/hadley/testthat"
url = "https://cloud.r-project.org/src/contrib/testthat_1.0.2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/testthat"
+ version('3.0.1', sha256='297fc45c719684f11ddf9dc9088f5528fdf9b44625165543384eaf579f243ad0')
version('2.3.2', sha256='1a268d8df07f7cd8d282d03bb96ac2d96a24a95c9aa52f4cca5138a09dd8e06c')
version('2.2.1', sha256='67ee0512bb312695c81fd74338bb8ce9e2e58763681ddbcdfdf35f52dfdb0b78')
version('2.1.0', sha256='cf5fa7108111b32b86e70819352f86b57ab4e835221bb1e83642d52a1fdbcdd4')
version('1.0.2', sha256='0ef7df0ace1fddf821d329f9d9a5d42296085350ae0d94af62c45bd203c8415e')
depends_on('r@3.1:', type=('build', 'run'))
+ depends_on('r-brio', when='@3.0.1:', type=('build', 'run'))
+ depends_on('r-callr@3.5.1:', when='@3.0.1:', type=('build', 'run'))
+ depends_on('r-cli', when='@2.0.0:', type=('build', 'run'))
+ depends_on('r-cli@2.2.0:', when='@3.0.1:', type=('build', 'run'))
+ depends_on('r-crayon@1.3.4:', type=('build', 'run'))
+ depends_on('r-desc', when='@3.0.1:', type=('build', 'run'))
depends_on('r-digest', type=('build', 'run'))
depends_on('r-ellipsis', when='@2.3.2:', type=('build', 'run'))
+ depends_on('r-ellipsis@0.2.0:', when='@3.0.1:', type=('build', 'run'))
+ depends_on('r-evaluate', when='@2.2.0:', type=('build', 'run'))
+ depends_on('r-jsonlite', when='@3.0.1:', type=('build', 'run'))
+ depends_on('r-lifecycle', when='@3.0.1:', type=('build', 'run'))
+ depends_on('r-magrittr', type=('build', 'run'))
depends_on('r-pkgload', when='@2.3.2:', type=('build', 'run'))
- depends_on('r-crayon@1.3.4:', type=('build', 'run'))
depends_on('r-praise', type=('build', 'run'))
- depends_on('r-magrittr', type=('build', 'run'))
+ depends_on('r-processx', when='@3.0.1:', type=('build', 'run'))
+ depends_on('r-ps@1.3.4:', when='@3.0.1:', type=('build', 'run'))
depends_on('r-r6@2.2.0:', type=('build', 'run'))
- depends_on('r-cli', when='@2.0.0:', type=('build', 'run'))
depends_on('r-rlang@0.3.0:', when='@2.0.0:', type=('build', 'run'))
depends_on('r-rlang@0.4.1:', when='@2.3.2:', type=('build', 'run'))
+ depends_on('r-rlang@0.4.9:', when='@3.0.1:', type=('build', 'run'))
+ depends_on('r-waldo@0.2.1:', when='@3.0.1:', type=('build', 'run'))
depends_on('r-withr@2.0.0:', when='@2.0.0:', type=('build', 'run'))
- depends_on('r-evaluate', when='@2.2.0:', type=('build', 'run'))
+ depends_on('r-withr@2.3.0:', when='@3.0.1:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-tfbstools/package.py b/var/spack/repos/builtin/packages/r-tfbstools/package.py
index 4017c71219..d9100a3af2 100644
--- a/var/spack/repos/builtin/packages/r-tfbstools/package.py
+++ b/var/spack/repos/builtin/packages/r-tfbstools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RTfbstools(RPackage):
- """Software Package for Transcription Factor Binding Site (TFBS) Analysis.
+ """Software Package for Transcription Factor Binding Site (TFBS) Analysis
TFBSTools is a package for the analysis and manipulation of
transcription factor binding sites. It includes matrices conversion
@@ -19,6 +19,7 @@ class RTfbstools(RPackage):
homepage = "https://bioconductor.org/packages/TFBSTools"
git = "https://git.bioconductor.org/packages/TFBSTools.git"
+ version('1.28.0', commit='15e7cf76f39ee3280a27284d58f7adef1c33f193')
version('1.22.0', commit='613d3567fd662b65269bd200c5aa5f87ac6a4612')
version('1.20.0', commit='74035fc6beb1af82f171c11ef2b0a8817714c5bc')
version('1.18.0', commit='17e12b9f3dcb9059d414307ec0bc23ed1ee33294')
diff --git a/var/spack/repos/builtin/packages/r-tfisher/package.py b/var/spack/repos/builtin/packages/r-tfisher/package.py
new file mode 100644
index 0000000000..f31ac4007f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-tfisher/package.py
@@ -0,0 +1,30 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RTfisher(RPackage):
+ """Optimal Thresholding Fisher's P-Value Combination Method
+
+ We provide the cumulative distribution function (CDF), quantile, and
+ statistical power calculator for a collection of thresholding Fisher's
+ p-value combination methods, including Fisher's p-value combination method,
+ truncated product method and, in particular, soft-thresholding Fisher's
+ p-value combination method which is proven to be optimal in some context of
+ signal detection. The p-value calculator for the omnibus version of these
+ tests are also included. For reference, please see Hong Zhang and Zheyang
+ Wu. "TFisher Tests: Optimal and Adaptive Thresholding for Combining
+ p-Values", submitted."""
+
+ homepage = "https://cloud.r-project.org/package=TFisher"
+ url = "https://cloud.r-project.org/src/contrib/TFisher_0.2.0.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/TFisher"
+
+ version('0.2.0', sha256='bd9b7484d6fba0165841596275b446f85ba446d40e92f3b9cb37381a3827e76f')
+
+ depends_on('r-sn', type=('build', 'run'))
+ depends_on('r-mvtnorm', type=('build', 'run'))
+ depends_on('r-matrix', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-tfmpvalue/package.py b/var/spack/repos/builtin/packages/r-tfmpvalue/package.py
index f0b354cca6..ffd1a10b42 100644
--- a/var/spack/repos/builtin/packages/r-tfmpvalue/package.py
+++ b/var/spack/repos/builtin/packages/r-tfmpvalue/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-th-data/package.py b/var/spack/repos/builtin/packages/r-th-data/package.py
index 8457465bf1..8b819624d1 100644
--- a/var/spack/repos/builtin/packages/r-th-data/package.py
+++ b/var/spack/repos/builtin/packages/r-th-data/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-threejs/package.py b/var/spack/repos/builtin/packages/r-threejs/package.py
index b73e450f51..b1b7d52b1d 100644
--- a/var/spack/repos/builtin/packages/r-threejs/package.py
+++ b/var/spack/repos/builtin/packages/r-threejs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,20 +7,23 @@ from spack import *
class RThreejs(RPackage):
- """Create interactive 3D scatter plots, network plots, and globes using the
+ """Interactive 3D Scatter Plots, Networks and Globes
+
+ Create interactive 3D scatter plots, network plots, and globes using the
'three.js' visualization library ("http://threejs.org")."""
homepage = "http://bwlewis.github.io/rthreejs"
url = "https://cloud.r-project.org/src/contrib/threejs_0.2.2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/threejs"
+ version('0.3.3', sha256='76c759c8b20fb34f4f7a01cbd1b961296e1f19f4df6dded69aae7f1bca80219c')
version('0.3.1', sha256='71750b741672a435ecf749b69c72f0681aa8bb795e317f4e3056d5e33f6d79e8')
version('0.2.2', sha256='41fe949490fbe0f71e39b0a144791da427bd7361d027579cb4a002ed53520cc5')
depends_on('r@3.0.0:', type=('build', 'run'))
+ depends_on('r-igraph@1.0.0:', when='@0.3.1:', type=('build', 'run'))
depends_on('r-htmlwidgets@0.3.2:', type=('build', 'run'))
depends_on('r-base64enc', type=('build', 'run'))
+ depends_on('r-crosstalk', when='@0.3.1:', type=('build', 'run'))
depends_on('r-matrix', when='@0.2.2', type=('build', 'run'))
depends_on('r-jsonlite', when='@0.2.2', type=('build', 'run'))
- depends_on('r-igraph@1.0.0:', when='@0.3.1:', type=('build', 'run'))
- depends_on('r-crosstalk', when='@0.3.1:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-tibble/package.py b/var/spack/repos/builtin/packages/r-tibble/package.py
index fe8190c219..b680c18ef2 100644
--- a/var/spack/repos/builtin/packages/r-tibble/package.py
+++ b/var/spack/repos/builtin/packages/r-tibble/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,16 @@ from spack import *
class RTibble(RPackage):
- """Provides a 'tbl_df' class that offers better checking and printing
- capabilities than traditional data frames."""
+ """Simple Data Frames
+
+ Provides a 'tbl_df' class (the 'tibble') that provides stricter checking
+ and better formatting than the traditional data frame."""
homepage = "https://github.com/tidyverse/tibble"
url = "https://cloud.r-project.org/src/contrib/tibble_1.3.4.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/tibble"
+ version('3.0.5', sha256='1cc92d7bf5ecf8291718682fb7fcb96f6f87751f1ed101a7441cad5120195190')
version('2.1.3', sha256='9a8cea9e6b5d24a7e9bf5f67ab38c40b2b6489eddb0d0edb8a48a21ba3574e1a')
version('2.0.1', sha256='7ab2cc295eecf00a5310993c99853cd6622ad468e7a60d004b8a73957a713d13')
version('2.0.0', sha256='05ad2d62e949909548c4bb8ac596810321f11b330afa9717d0889dc35edd99ba')
@@ -23,14 +26,20 @@ class RTibble(RPackage):
version('1.2', sha256='ed8a8bd0591223f742be80fd1cd8c4a9618d0f04011ec95c272b61ea45193104')
version('1.1', sha256='10ea18890e5514faa4c2c05fa231a6e2bbb7689f3800850cead214306414c88e')
- depends_on('r@3.1.0:', when='@1.3.0:', type=('build', 'run'))
depends_on('r@3.1.2:', when='@:1.2', type=('build', 'run'))
- depends_on('r-assertthat', type=('build', 'run'), when='@:1.3.1')
- depends_on('r-lazyeval@0.1.10:', type=('build', 'run'), when='@:1.3.0')
- depends_on('r-rcpp@0.12.3:', type=('build', 'run'), when='@:1.3.4')
- depends_on('r-rlang@0.3.0:', type=('build', 'run'), when='@1.3.1:')
- depends_on('r-cli', type=('build', 'run'), when='@1.4.2:')
- depends_on('r-crayon@1.3.4:', type=('build', 'run'), when='@1.4.1:')
- depends_on('r-pillar@1.3.1:', type=('build', 'run'), when='@1.4.1:')
- depends_on('r-pkgconfig', type=('build', 'run'), when='@2.0.0:')
- depends_on('r-fansi@0.4.0:', type=('build', 'run'), when='@2.0.0:')
+ depends_on('r@3.1.0:', when='@1.3.0:', type=('build', 'run'))
+ depends_on('r-cli', when='@1.4.2:', type=('build', 'run'))
+ depends_on('r-crayon@1.3.4:', when='@1.4.1:', type=('build', 'run'))
+ depends_on('r-ellipsis@0.2.0:', when='@3.0.5:', type=('build', 'run'))
+ depends_on('r-fansi@0.4.0:', when='@2.0.0:', type=('build', 'run'))
+ depends_on('r-lifecycle@0.2.0:', when='@3.0.5:', type=('build', 'run'))
+ depends_on('r-magrittr', when='@3.0.5:', type=('build', 'run'))
+ depends_on('r-pillar@1.3.1:', when='@1.4.1:', type=('build', 'run'))
+ depends_on('r-pillar@1.4.3:', when='@3.0.5:', type=('build', 'run'))
+ depends_on('r-pkgconfig', when='@2.0.0:', type=('build', 'run'))
+ depends_on('r-rlang@0.3.0:', when='@1.3.1:', type=('build', 'run'))
+ depends_on('r-rlang@0.4.3:', when='@3.0.5:', type=('build', 'run'))
+ depends_on('r-vctrs@0.3.2:', when='@3.0.5:', type=('build', 'run'))
+ depends_on('r-assertthat', when='@:1.3.1', type=('build', 'run'))
+ depends_on('r-lazyeval@0.1.10:', when='@:1.3.0', type=('build', 'run'))
+ depends_on('r-rcpp@0.12.3:', when='@:1.3.4', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-tidycensus/package.py b/var/spack/repos/builtin/packages/r-tidycensus/package.py
index 1d7269612b..a6ee266997 100644
--- a/var/spack/repos/builtin/packages/r-tidycensus/package.py
+++ b/var/spack/repos/builtin/packages/r-tidycensus/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,16 +7,19 @@ from spack import *
class RTidycensus(RPackage):
- """An integrated R interface to the decennial US Census and American
- Community Survey APIs and the US Census Bureau's geographic boundary
- files. Allows R users to return Census and ACS data as tidyverse-ready
- data frames, and optionally returns a list-column with feature
- geometry for many geographies."""
+ """Load US Census Boundary and Attribute Data as 'tidyverse' and 'sf'-Ready Data Frames
+
+ An integrated R interface to the decennial US Census and American Community
+ Survey APIs and the US Census Bureau's geographic boundary files. Allows R
+ users to return Census and ACS data as tidyverse-ready data frames, and
+ optionally returns a list-column with feature geometry for all Census
+ geographies. """
homepage = "https://cloud.r-project.org/package=tidycensus"
url = "https://cloud.r-project.org/src/contrib/tidycensus_0.3.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/tidycensus"
+ version('0.11', sha256='da2fba4cd987615dedd22f64d9f38804f4e2161af31bacf1f3b5a013d71fdd43')
version('0.9.2', sha256='2454525301caff9eaaf6ebe14f58706ece1fbace6187ce8bf3fff04c842b9536')
version('0.3.1', sha256='d03cbee7abbf87bb4ce2e649726bdd143d47b549f30b5a11aaaa6c4aff78e778')
@@ -24,13 +27,16 @@ class RTidycensus(RPackage):
depends_on('r-httr', type=('build', 'run'))
depends_on('r-sf', type=('build', 'run'))
depends_on('r-dplyr@0.7.0:', type=('build', 'run'))
+ depends_on('r-dplyr@0.8.0:', when='@0.11:', type=('build', 'run'))
depends_on('r-tigris', type=('build', 'run'))
depends_on('r-stringr', type=('build', 'run'))
depends_on('r-jsonlite@1.5.0:', type=('build', 'run'))
depends_on('r-purrr', type=('build', 'run'))
depends_on('r-rvest', type=('build', 'run'))
depends_on('r-tidyr@0.7.0:', type=('build', 'run'))
+ depends_on('r-tidyr@1.0.0:', when='@0.11:', type=('build', 'run'))
depends_on('r-rappdirs', type=('build', 'run'))
depends_on('r-readr', type=('build', 'run'))
depends_on('r-xml2', type=('build', 'run'))
depends_on('r-units', type=('build', 'run'))
+ depends_on('r-rlang', when='@0.11:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-tidygraph/package.py b/var/spack/repos/builtin/packages/r-tidygraph/package.py
index 07fe0442de..64dda1bbbe 100644
--- a/var/spack/repos/builtin/packages/r-tidygraph/package.py
+++ b/var/spack/repos/builtin/packages/r-tidygraph/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RTidygraph(RPackage):
- """tidygraph: A Tidy API for Graph Manipulation.
+ """A Tidy API for Graph Manipulation.
A graph, while not "tidy" in itself, can be thought of as two tidy data
frames describing node and edge data respectively. 'tidygraph' provides an
@@ -19,10 +19,12 @@ class RTidygraph(RPackage):
url = "https://cloud.r-project.org/src/contrib/tidygraph_1.1.2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/tidygraph"
+ version('1.2.0', sha256='057d6c42fc0144109f3ace7f5058cca7b2fe493c761daa991448b23f86b6129f')
version('1.1.2', sha256='5642001d4cccb122d66481b7c61a06c724c02007cbd356ee61cb29726a56fafe')
depends_on('r-tibble', type=('build', 'run'))
depends_on('r-dplyr@0.8:', type=('build', 'run'))
+ depends_on('r-dplyr@0.8.5:', when='@1.2.0:', type=('build', 'run'))
depends_on('r-igraph', type=('build', 'run'))
depends_on('r-magrittr', type=('build', 'run'))
depends_on('r-rlang', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-tidyr/package.py b/var/spack/repos/builtin/packages/r-tidyr/package.py
index ac089a646b..f56246f8bd 100644
--- a/var/spack/repos/builtin/packages/r-tidyr/package.py
+++ b/var/spack/repos/builtin/packages/r-tidyr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,26 +7,40 @@ from spack import *
class RTidyr(RPackage):
- """An evolution of 'reshape2'. It's designed specifically for data tidying
- (not general reshaping or aggregating) and works well with 'dplyr' data
- pipelines."""
+ """Tidy Messy Data
+
+ Tools to help to create tidy data, where each column is a variable, each
+ row is an observation, and each cell contains a single value. 'tidyr'
+ contains tools for changing the shape (pivoting) and hierarchy (nesting and
+ 'unnesting') of a dataset, turning deeply nested lists into rectangular
+ data frames ('rectangling'), and extracting values out of string columns.
+ It also includes tools for working with missing values (both implicit and
+ explicit)."""
homepage = "https://github.com/hadley/tidyr"
url = "https://cloud.r-project.org/src/contrib/tidyr_0.7.2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/tidyr"
+ version('1.1.2', sha256='08fccb67824515b33187886f3ca2cf2fe747a778514892dbbf5e565edf0dfd6c')
version('0.8.3', sha256='a18f54ec35124110058ab23f7e0a3c037a8d50f0405520cf5cc5443ec022cc37')
version('0.8.2', sha256='99a508d0539390364789c5f4835b36c4a383927f0ec1648e2a4636c1cc6e490f')
version('0.7.2', sha256='062cea2e2b57fffd500e4ce31cba6d593e65684fc0897ea49ea38d257c76009c')
version('0.5.1', sha256='dbab642ac7231cbfe3e2a0d4553fb4ffb3699c6d6b432be2bb5812dfbbdbdace')
depends_on('r@3.1:', type=('build', 'run'))
- depends_on('r-tibble', type=('build', 'run'))
depends_on('r-dplyr@0.7.0:', type=('build', 'run'))
- depends_on('r-stringi', type=('build', 'run'))
- depends_on('r-magrittr', type=('build', 'run'))
+ depends_on('r-dplyr@0.8.2:', when='@1.1.2:', type=('build', 'run'))
+ depends_on('r-ellipsis@0.1.0:', when='@1.1.2:', type=('build', 'run'))
depends_on('r-glue', type=('build', 'run'))
- depends_on('r-rcpp', type=('build', 'run'))
+ depends_on('r-magrittr', type=('build', 'run'))
depends_on('r-purrr', type=('build', 'run'))
- depends_on('r-tidyselect@0.2.5:', type=('build', 'run'))
depends_on('r-rlang', type=('build', 'run'))
+ depends_on('r-tibble', type=('build', 'run'))
+ depends_on('r-tibble@2.1.1:', when='@1.1.2:', type=('build', 'run'))
+ depends_on('r-tidyselect@0.2.5:', type=('build', 'run'))
+ depends_on('r-tidyselect@1.1.0:', when='@1.1.2:', type=('build', 'run'))
+ depends_on('r-vctrs@0.3.0:', when='@1.1.2:', type=('build', 'run'))
+ depends_on('r-lifecycle', when='@1.1.2:', type=('build', 'run'))
+ depends_on('r-cpp11@0.2.1:', when='@1.1.2:', type=('build', 'run'))
+ depends_on('r-stringi', when='@:0.8.3', type=('build', 'run'))
+ depends_on('r-rcpp', when='@:0.8.3', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-tidyselect/package.py b/var/spack/repos/builtin/packages/r-tidyselect/package.py
index eec8929ee3..ed64338c59 100644
--- a/var/spack/repos/builtin/packages/r-tidyselect/package.py
+++ b/var/spack/repos/builtin/packages/r-tidyselect/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,20 +7,28 @@ from spack import *
class RTidyselect(RPackage):
- """A backend for the selecting functions of the 'tidyverse'. It makes it
- easy to implement select-like functions in your own packages in a way
- that is consistent with other 'tidyverse' interfaces for selection."""
+ """Select from a Set of Strings
+
+ A backend for the selecting functions of the 'tidyverse'. It makes it easy
+ to implement select-like functions in your own packages in a way that is
+ consistent with other 'tidyverse' interfaces for selection."""
homepage = "https://cloud.r-project.org/package=tidyselect"
url = "https://cloud.r-project.org/src/contrib/tidyselect_0.2.3.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/tidyselect"
+ version('1.1.0', sha256='e635ed381fb53f7a53c3fa36bb33e134a3273d272367de2a8d909c821be93893')
version('0.2.5', sha256='5ce2e86230fa35cfc09aa71dcdd6e05e1554a5739c863ca354d241bfccb86c74')
version('0.2.4', sha256='5cb30e56ad5c1ac59786969edc8d542a7a1735a129a474f585a141aefe6a2295')
version('0.2.3', sha256='0c193abc8251a60e1d2a32a99c77651c336bc185e3c2a72e5f8781813d181c2c')
depends_on('r@3.1:', type=('build', 'run'))
+ depends_on('r@3.2:', when='@1.1.0:', type=('build', 'run'))
+ depends_on('r-ellipsis', when='@1.1.0:', type=('build', 'run'))
depends_on('r-glue@1.3.0:', type=('build', 'run'))
depends_on('r-purrr', type=('build', 'run'))
+ depends_on('r-purrr@0.3.2:', when='@1.1.0:', type=('build', 'run'))
depends_on('r-rlang@0.2.2:', type=('build', 'run'))
- depends_on('r-rcpp@0.12.0:', type=('build', 'run'))
+ depends_on('r-rlang@0.4.6:', when='@1.1.0:', type=('build', 'run'))
+ depends_on('r-vctrs@0.2.2:', when='@1.1.0:', type=('build', 'run'))
+ depends_on('r-rcpp@0.12.0:', when='@:0.2.5', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-tidyverse/package.py b/var/spack/repos/builtin/packages/r-tidyverse/package.py
index 6b27c90934..53b74caf0d 100644
--- a/var/spack/repos/builtin/packages/r-tidyverse/package.py
+++ b/var/spack/repos/builtin/packages/r-tidyverse/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,39 +7,69 @@ from spack import *
class RTidyverse(RPackage):
- """The 'tidyverse' is a set of packages that work in harmony because they
- share common data representations and 'API' design. This package is
- designed to make it easy to install and load multiple 'tidyverse'
- packages in a single step."""
+ """Easily Install and Load the 'Tidyverse'
+
+ The 'tidyverse' is a set of packages that work in harmony because they
+ share common data representations and 'API' design. This package is
+ designed to make it easy to install and load multiple 'tidyverse' packages
+ in a single step. Learn more about the 'tidyverse' at
+ <https://tidyverse.org>."""
homepage = "http://tidyverse.tidyverse.org/"
url = "https://cloud.r-project.org/src/contrib/tidyverse_1.2.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/tidyverse"
+ version('1.3.0', sha256='6d8acb81e994f9bef5e4dcf908bcea3786d108adcf982628235b6c8c80f6fe09')
version('1.2.1', sha256='ad67a27bb4e89417a15338fe1a40251a7b5dedba60e9b72637963d3de574c37b')
+ depends_on('r+X', type=('build', 'run'))
+ depends_on('r@3.2:', when='@1.3.0:', type=('build', 'run'))
depends_on('r-broom@0.4.2:', type=('build', 'run'))
+ depends_on('r-broom@0.5.2:', when='@1.3.0:', type=('build', 'run'))
depends_on('r-cli@1.0.0:', type=('build', 'run'))
+ depends_on('r-cli@1.1.0:', when='@1.3.0:', type=('build', 'run'))
depends_on('r-crayon@1.3.4:', type=('build', 'run'))
- depends_on('r-dplyr@0.7.4:', type=('build', 'run'))
depends_on('r-dbplyr@1.1.0:', type=('build', 'run'))
+ depends_on('r-dbplyr@1.4.2:', when='@1.3.0:', type=('build', 'run'))
+ depends_on('r-dplyr@0.7.4:', type=('build', 'run'))
+ depends_on('r-dplyr@0.8.3:', when='@1.3.0:', type=('build', 'run'))
depends_on('r-forcats@0.2.0:', type=('build', 'run'))
+ depends_on('r-forcats@0.4.0:', when='@1.3.0:', type=('build', 'run'))
depends_on('r-ggplot2@2.2.1:', type=('build', 'run'))
+ depends_on('r-ggplot2@3.2.1:', when='@1.3.0:', type=('build', 'run'))
depends_on('r-haven@1.1.0:', type=('build', 'run'))
+ depends_on('r-haven@2.2.0:', when='@1.3.0:', type=('build', 'run'))
depends_on('r-hms@0.3:', type=('build', 'run'))
+ depends_on('r-hms@0.5.2:', when='@1.3.0:', type=('build', 'run'))
depends_on('r-httr@1.3.1:', type=('build', 'run'))
+ depends_on('r-httr@1.4.1:', when='@1.3.0:', type=('build', 'run'))
depends_on('r-jsonlite@1.5:', type=('build', 'run'))
+ depends_on('r-jsonlite@1.6:', when='@1.3.0:', type=('build', 'run'))
depends_on('r-lubridate@1.7.1:', type=('build', 'run'))
+ depends_on('r-lubridate@1.7.4:', when='@1.3.0:', type=('build', 'run'))
depends_on('r-magrittr@1.5:', type=('build', 'run'))
depends_on('r-modelr@0.1.1:', type=('build', 'run'))
+ depends_on('r-modelr@0.1.5:', when='@1.3.0:', type=('build', 'run'))
+ depends_on('r-pillar@1.4.2:', when='@1.3.0:', type=('build', 'run'))
depends_on('r-purrr@0.2.4:', type=('build', 'run'))
+ depends_on('r-purrr@0.3.3:', when='@1.3.0:', type=('build', 'run'))
depends_on('r-readr@1.1.1:', type=('build', 'run'))
+ depends_on('r-readr@1.3.1:', when='@1.3.0:', type=('build', 'run'))
depends_on('r-readxl@1.0.0:', type=('build', 'run'))
+ depends_on('r-readxl@1.3.1:', when='@1.3.0:', type=('build', 'run'))
depends_on('r-reprex@0.1.1:', type=('build', 'run'))
+ depends_on('r-reprex@0.3.0:', when='@1.3.0:', type=('build', 'run'))
depends_on('r-rlang@0.1.4:', type=('build', 'run'))
+ depends_on('r-rlang@0.4.1:', when='@1.3.0:', type=('build', 'run'))
depends_on('r-rstudioapi@0.7:', type=('build', 'run'))
+ depends_on('r-rstudioapi@0.10:', when='@1.3.0:', type=('build', 'run'))
depends_on('r-rvest@0.3.2:', type=('build', 'run'))
+ depends_on('r-rvest@0.3.5:', when='@1.3.0:', type=('build', 'run'))
depends_on('r-stringr@1.2.0:', type=('build', 'run'))
+ depends_on('r-stringr@1.4.0:', when='@1.3.0:', type=('build', 'run'))
depends_on('r-tibble@1.3.4:', type=('build', 'run'))
+ depends_on('r-tibble@2.1.3:', when='@1.3.0:', type=('build', 'run'))
depends_on('r-tidyr@0.7.2:', type=('build', 'run'))
+ depends_on('r-tidyr@1.0.0:', when='@1.3.0:', type=('build', 'run'))
depends_on('r-xml2@1.1.1:', type=('build', 'run'))
+ depends_on('r-xml2@1.2.2:', when='@1.3.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-tiff/package.py b/var/spack/repos/builtin/packages/r-tiff/package.py
index 91e7f261c2..ea2ef4b4c0 100644
--- a/var/spack/repos/builtin/packages/r-tiff/package.py
+++ b/var/spack/repos/builtin/packages/r-tiff/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,16 +7,19 @@ from spack import *
class RTiff(RPackage):
- """This package provides an easy and simple way to read, write and
- display bitmap images stored in the TIFF format. It can read and
- write both files and in-memory raw vectors."""
+ """Read and write TIFF images
+
+ This package provides an easy and simple way to read, write and display
+ bitmap images stored in the TIFF format. It can read and write both files
+ and in-memory raw vectors."""
homepage = "http://www.rforge.net/tiff/"
url = "https://cloud.r-project.org/src/contrib/tiff_0.1-5.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/tiff"
+ version('0.1-6', sha256='623bd9c16a426df7e6056738c5d91da86ea9b49df375eea6b5127e4e458dc4fb')
version('0.1-5', sha256='9514e6a9926fcddc29ce1dd12b1072ad8265900373f738de687ef4a1f9124e2b')
depends_on('r@2.9.0:', type=('build', 'run'))
- depends_on("jpeg")
depends_on("libtiff")
+ depends_on("jpeg")
diff --git a/var/spack/repos/builtin/packages/r-tigris/package.py b/var/spack/repos/builtin/packages/r-tigris/package.py
index dfa9230ace..962fd6f81d 100644
--- a/var/spack/repos/builtin/packages/r-tigris/package.py
+++ b/var/spack/repos/builtin/packages/r-tigris/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,16 @@ from spack import *
class RTigris(RPackage):
- """Download TIGER/Line shapefiles from the United States Census Bureau
+ """Load Census TIGER/Line Shapefiles
+
+ Download TIGER/Line shapefiles from the United States Census Bureau
and load into R as 'SpatialDataFrame' or 'sf' objects."""
homepage = "https://cloud.r-project.org/package=tigris"
url = "https://cloud.r-project.org/src/contrib/tigris_0.5.3.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/tigris"
+ version('1.0', sha256='97c76568c7cf0615abcbf923a0b4387f6b8c1915b9eb42d0c34cb0f707654403')
version('0.8.2', sha256='ed8d6ab25332c2cc800858d58324bd8264772d8a916a3f0a8d489250a7e7140e')
version('0.5.3', sha256='6ecf76f82216798465cd9704acb432caea47469ffc4953f1aaefa4d642a28445')
@@ -22,7 +25,6 @@ class RTigris(RPackage):
depends_on('r-stringr', type=('build', 'run'))
depends_on('r-magrittr', type=('build', 'run'))
depends_on('r-rgdal', type=('build', 'run'))
- depends_on('r-rgeos', when='@:0.5.3', type=('build', 'run'))
depends_on('r-sp', type=('build', 'run'))
depends_on('r-rappdirs', type=('build', 'run'))
depends_on('r-maptools', type=('build', 'run'))
@@ -30,3 +32,4 @@ class RTigris(RPackage):
depends_on('r-uuid', type=('build', 'run'))
depends_on('r-sf', type=('build', 'run'))
depends_on('r-dplyr', type=('build', 'run'))
+ depends_on('r-rgeos', when='@:0.5.3', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-timedate/package.py b/var/spack/repos/builtin/packages/r-timedate/package.py
index 86a5d27fc1..d884c5b0ef 100644
--- a/var/spack/repos/builtin/packages/r-timedate/package.py
+++ b/var/spack/repos/builtin/packages/r-timedate/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-tinytex/package.py b/var/spack/repos/builtin/packages/r-tinytex/package.py
index d17b71ef9e..427b5fd647 100644
--- a/var/spack/repos/builtin/packages/r-tinytex/package.py
+++ b/var/spack/repos/builtin/packages/r-tinytex/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RTinytex(RPackage):
- """Helper functions to install and maintain the 'LaTeX' distribution named
+ """Helper Functions to Install and Maintain TeX Live, and Compile LaTeX Documents
+
+ Helper functions to install and maintain the 'LaTeX' distribution named
'TinyTeX' (<https://yihui.name/tinytex/>), a lightweight, cross-platform,
portable, and easy-to-maintain version of 'TeX Live'. This package also
contains helper functions to compile 'LaTeX' documents, and install missing
@@ -17,6 +19,8 @@ class RTinytex(RPackage):
url = "https://cloud.r-project.org/src/contrib/tinytex_0.15.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/tinytex"
+ version('0.28', sha256='76a0650aeab04eb252dc9cfa9ba855d88b09dfc2207c4a8ea2ea04fa0e0eea86')
version('0.15', sha256='5d0988d3b7f763dfa65c722f177452a21344e428415a4b31aeb51478f0abad90')
depends_on('r-xfun@0.5:', type=('build', 'run'))
+ depends_on('r-xfun@0.19:', when='@0.28:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-tmixclust/package.py b/var/spack/repos/builtin/packages/r-tmixclust/package.py
index 03ee54b2e0..227a4c9e33 100644
--- a/var/spack/repos/builtin/packages/r-tmixclust/package.py
+++ b/var/spack/repos/builtin/packages/r-tmixclust/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ from spack import *
class RTmixclust(RPackage):
"""Time Series Clustering of Gene Expression with Gaussian Mixed-Effects
- Models and Smoothing Splines.
+ Models and Smoothing Splines
Implementation of a clustering method for time series gene expression
data based on mixed-effects models with Gaussian variables and non-
@@ -19,6 +19,7 @@ class RTmixclust(RPackage):
homepage = "https://bioconductor.org/packages/TMixClust"
git = "https://git.bioconductor.org/packages/TMixClust.git"
+ version('1.12.0', commit='982b31bd7e22a3dc638bbda0336546220444f0c2')
version('1.6.0', commit='9f5f78e52538d15f402c8f6e4c60f7212c7bc548')
version('1.4.0', commit='a52fcae6e7a5dd41e7afbe128f35397e8bc8cb12')
version('1.2.0', commit='0250c0b238f08077b5b9ff17c2f3b7633c67dc3c')
diff --git a/var/spack/repos/builtin/packages/r-tmvnsim/package.py b/var/spack/repos/builtin/packages/r-tmvnsim/package.py
new file mode 100644
index 0000000000..eee9e4e6d4
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-tmvnsim/package.py
@@ -0,0 +1,26 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RTmvnsim(RPackage):
+ """Truncated Multivariate Normal Simulation
+
+ Importance sampling from the truncated multivariate normal using the GHK
+ (Geweke-Hajivassiliou-Keane) simulator. Unlike Gibbs sampling which can get
+ stuck in one truncation sub-region depending on initial values, this
+ package allows truncation based on disjoint regions that are created by
+ truncation of absolute values. The GHK algorithm uses simple Cholesky
+ transformation followed by recursive simulation of univariate truncated
+ normals hence there are also no convergence issues. Importance sample is
+ returned along with sampling weights, based on which, one can calculate
+ integrals over truncated regions for multivariate normals."""
+
+ homepage = "https://cloud.r-project.org/package=tmvnsim"
+ url = "https://cloud.r-project.org/src/contrib/tmvnsim_1.0-2.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/tmvnsim"
+
+ version('1.0-2', sha256='97f63d0bab3b240cc7bdbe6e6e74e90ad25a4382a345ee51a26fe3959edeba0f')
diff --git a/var/spack/repos/builtin/packages/r-topgo/package.py b/var/spack/repos/builtin/packages/r-topgo/package.py
index e1a7d922cd..d14d35f573 100644
--- a/var/spack/repos/builtin/packages/r-topgo/package.py
+++ b/var/spack/repos/builtin/packages/r-topgo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RTopgo(RPackage):
- """Enrichment Analysis for Gene Ontology.
+ """Enrichment Analysis for Gene Ontology
topGO package provides tools for testing GO terms while accounting for
the topology of the GO graph. Different test statistics and different
@@ -17,6 +17,7 @@ class RTopgo(RPackage):
homepage = "https://bioconductor.org/packages/topGO"
git = "https://git.bioconductor.org/packages/topGO.git"
+ version('2.42.0', commit='3a33cf53883de45bda506953303e1809ab982adc')
version('2.36.0', commit='c2f6c187b41c4aa44cc92ac781fdd878491a4019')
version('2.34.0', commit='44cb5eaba515b365b7b2a8c22df0a45883db6b4d')
version('2.32.0', commit='78ce3068fc06ae38d55219759fa177e2fcb3f596')
diff --git a/var/spack/repos/builtin/packages/r-triebeard/package.py b/var/spack/repos/builtin/packages/r-triebeard/package.py
index 002ee655ca..3a5c7f9923 100644
--- a/var/spack/repos/builtin/packages/r-triebeard/package.py
+++ b/var/spack/repos/builtin/packages/r-triebeard/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-trimcluster/package.py b/var/spack/repos/builtin/packages/r-trimcluster/package.py
index c23abf948d..17f1e4600a 100644
--- a/var/spack/repos/builtin/packages/r-trimcluster/package.py
+++ b/var/spack/repos/builtin/packages/r-trimcluster/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,16 @@ from spack import *
class RTrimcluster(RPackage):
- """trimcluster: Cluster analysis with trimming"""
+ """Cluster analysis with trimming
+
+ Trimmed k-means clustering. The method is described in Cuesta-Albertos et
+ al. (1997) <doi:10.1214/aos/1031833664>."""
homepage = "http://www.homepages.ucl.ac.uk/~ucakche"
url = "https://cloud.r-project.org/src/contrib/trimcluster_0.1-2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/trimcluster"
+ version('0.1-5', sha256='9239f20e4a06ac2fa89e5d5d89b23a45c8c534a7264d89bede8a35d43dda518b')
version('0.1-2.1', sha256='b64a872a6c2ad677dfeecc776c9fe5aff3e8bab6bc6a8c86957b5683fd5d2300')
version('0.1-2', sha256='622fb61580cc19b9061c6ee28ffd751250a127f07904b45a0e1c5438d25b4f53')
diff --git a/var/spack/repos/builtin/packages/r-truncdist/package.py b/var/spack/repos/builtin/packages/r-truncdist/package.py
index 5ead0acf76..4e700ffdc9 100644
--- a/var/spack/repos/builtin/packages/r-truncdist/package.py
+++ b/var/spack/repos/builtin/packages/r-truncdist/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-truncnorm/package.py b/var/spack/repos/builtin/packages/r-truncnorm/package.py
index 8ffad56a3f..9345027f92 100644
--- a/var/spack/repos/builtin/packages/r-truncnorm/package.py
+++ b/var/spack/repos/builtin/packages/r-truncnorm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-trust/package.py b/var/spack/repos/builtin/packages/r-trust/package.py
index 90ec0c4059..66662d8961 100644
--- a/var/spack/repos/builtin/packages/r-trust/package.py
+++ b/var/spack/repos/builtin/packages/r-trust/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,16 @@ from spack import *
class RTrust(RPackage):
- """Does local optimization using two derivatives and trust regions.
- Guaranteed to converge to local minimum of objective function."""
+ """Trust Region Optimization
+
+ Does local optimization using two derivatives and trust regions.
+ Guaranteed to converge to local minimum of objective function."""
homepage = "http://www.stat.umn.edu/geyer/trust"
url = "https://cloud.r-project.org/src/contrib/trust_0.1-7.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/trust"
+ version('0.1-8', sha256='952e348b62aec35988b103fd152329662cb6a451538f184549252fbf49d7dcac')
version('0.1-7', sha256='e3d15aa84a71becd2824253d4a8156bdf1ab9ac3b72ced0cd53f3bb370ac6f04')
depends_on('r@2.10.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-tseries/package.py b/var/spack/repos/builtin/packages/r-tseries/package.py
index 4c67387fcc..71c57c5e7d 100644
--- a/var/spack/repos/builtin/packages/r-tseries/package.py
+++ b/var/spack/repos/builtin/packages/r-tseries/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,15 @@ from spack import *
class RTseries(RPackage):
- """Time series analysis and computational finance."""
+ """Time series analysis and computational finance
+
+ Time series analysis and computational finance."""
homepage = "https://cloud.r-project.org/package=tseries"
url = "https://cloud.r-project.org/src/contrib/tseries_0.10-42.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/tseries"
+ version('0.10-48', sha256='53bd22708c936205c5f839a10f2e302524d2cc54dc309e7d885ebd081ccb4471')
version('0.10-47', sha256='202377df56806fe611c2e12c4d9732c71b71220726e2defa7e568d2b5b62fb7b')
version('0.10-46', sha256='12940afd1d466401160e46f993ed4baf28a42cef98d3757b66ee15e916e07222')
version('0.10-42', sha256='827f79858715c700e8cabd2c27853ba88ad0e05eb043bc94e126b155a75546c4')
diff --git a/var/spack/repos/builtin/packages/r-tsne/package.py b/var/spack/repos/builtin/packages/r-tsne/package.py
index 98c3e47ebe..a1ce6b5ee5 100644
--- a/var/spack/repos/builtin/packages/r-tsne/package.py
+++ b/var/spack/repos/builtin/packages/r-tsne/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-ttr/package.py b/var/spack/repos/builtin/packages/r-ttr/package.py
index 3e895bcee6..1dc8fccd82 100644
--- a/var/spack/repos/builtin/packages/r-ttr/package.py
+++ b/var/spack/repos/builtin/packages/r-ttr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,17 @@ from spack import *
class RTtr(RPackage):
- """Functions and data to construct technical trading rules with R."""
+ """Technical Trading Rules
+
+ A collection of over 50 technical indicators for creating technical trading
+ rules. The package also provides fast implementations of common
+ rolling-window functions, and several volatility calculations."""
homepage = "https://github.com/joshuaulrich/TTR"
url = "https://cloud.r-project.org/src/contrib/TTR_0.23-1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/TTR"
+ version('0.24.2', sha256='2587b988d9199474a19470b9b999b99133d0d8aa45410813e05c5f0ed763711b')
version('0.23-4', sha256='eb17604da986213b3b924f0af65c3d089502a658a253ee34f6b8f6caccf6bfa2')
version('0.23-3', sha256='2136032c7a2cd2a82518a4412fc655ecb16597b123dbdebe5684caef9f15261f')
version('0.23-1', sha256='699798f06ceae9663da47b67d1bc8679fc1c0776d12afd054d6ac4d19e05b2ae')
diff --git a/var/spack/repos/builtin/packages/r-tweenr/package.py b/var/spack/repos/builtin/packages/r-tweenr/package.py
index a3838289e2..7662f47252 100644
--- a/var/spack/repos/builtin/packages/r-tweenr/package.py
+++ b/var/spack/repos/builtin/packages/r-tweenr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-txdb-hsapiens-ucsc-hg18-knowngene/package.py b/var/spack/repos/builtin/packages/r-txdb-hsapiens-ucsc-hg18-knowngene/package.py
index fc1500a232..ddb96a7c6b 100644
--- a/var/spack/repos/builtin/packages/r-txdb-hsapiens-ucsc-hg18-knowngene/package.py
+++ b/var/spack/repos/builtin/packages/r-txdb-hsapiens-ucsc-hg18-knowngene/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RTxdbHsapiensUcscHg18Knowngene(RPackage):
- """Exposes an annotation databases generated from UCSC by exposing these as
+ """Annotation package for TxDb object(s)
+
+ Exposes an annotation databases generated from UCSC by exposing these as
TxDb objects"""
# This is a bioconductor package but ther is no available git repo
diff --git a/var/spack/repos/builtin/packages/r-txdb-hsapiens-ucsc-hg19-knowngene/package.py b/var/spack/repos/builtin/packages/r-txdb-hsapiens-ucsc-hg19-knowngene/package.py
index a0d5b6ccde..9892bdd2bb 100644
--- a/var/spack/repos/builtin/packages/r-txdb-hsapiens-ucsc-hg19-knowngene/package.py
+++ b/var/spack/repos/builtin/packages/r-txdb-hsapiens-ucsc-hg19-knowngene/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RTxdbHsapiensUcscHg19Knowngene(RPackage):
- """Exposes an annotation databases generated from UCSC by exposing these as
+ """Annotation package for TxDb object(s)
+
+ Exposes an annotation databases generated from UCSC by exposing these as
TxDb objects."""
# This is a bioconductor package but there is no available git repo.
diff --git a/var/spack/repos/builtin/packages/r-tximport/package.py b/var/spack/repos/builtin/packages/r-tximport/package.py
index 8e36f5b518..ad77f1f07b 100644
--- a/var/spack/repos/builtin/packages/r-tximport/package.py
+++ b/var/spack/repos/builtin/packages/r-tximport/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ from spack import *
class RTximport(RPackage):
"""Import and summarize transcript-level estimates for transcript- and
- gene-level analysis.
+ gene-level analysis
Imports transcript-level abundance, estimated counts and transcript
lengths, and summarizes into matrices for use with downstream gene-level
@@ -20,6 +20,7 @@ class RTximport(RPackage):
homepage = "https://bioconductor.org/packages/tximport"
git = "https://git.bioconductor.org/packages/tximport.git"
+ version('1.18.0', commit='58b20cbc566648586b6990b30ebc70bef308cb05')
version('1.12.3', commit='acbdead961471c3b910d720f73bd0af1b7a07c57')
version('1.10.1', commit='cd8f81cf7140f61d4a4f25f89451fb49e2cd4bd3')
version('1.8.0', commit='cc91b8389ca4c16b0f588bdeb63d051a11e8a705')
diff --git a/var/spack/repos/builtin/packages/r-tximportdata/package.py b/var/spack/repos/builtin/packages/r-tximportdata/package.py
index 84a19036a0..2ebf3b531c 100644
--- a/var/spack/repos/builtin/packages/r-tximportdata/package.py
+++ b/var/spack/repos/builtin/packages/r-tximportdata/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,10 +7,16 @@ from spack import *
class RTximportdata(RPackage):
- """This packages provides the output of running various transcript abundance
- quantifiers on a set of 6 RNA-seq samples from the GEUVADIS project"""
+ """Import and summarize transcript-level estimates for transcript- and
+ gene-level analysis
- homepage = "http://bioconductor.org/packages/release/data/experiment/html/tximportData.html"
- url = "http://bioconductor.org/packages/release/data/experiment/src/contrib/tximportData_1.18.0.tar.gz"
+ Imports transcript-level abundance, estimated counts and transcript
+ lengths, and summarizes into matrices for use with downstream gene-level
+ analysis packages. Average transcript length, weighted by sample-specific
+ transcript abundance estimates, is provided as a matrix which can be used
+ as an offset for different expression of gene-level counts."""
- version('1.18.0', sha256='4edf9fdcf5b0086fc958d5ac0249668c7cf7e2fa941cd8d413620634d0cb5971')
+ homepage = "https://github.com/mikelove/tximport"
+ git = "https://git.bioconductor.org/packages/tximportData"
+
+ version('1.18.0', commit='24945f8dd1e4e441ad5145fb7a37a1630912f929')
diff --git a/var/spack/repos/builtin/packages/r-ucminf/package.py b/var/spack/repos/builtin/packages/r-ucminf/package.py
index e3a26f33e4..f5294cf85e 100644
--- a/var/spack/repos/builtin/packages/r-ucminf/package.py
+++ b/var/spack/repos/builtin/packages/r-ucminf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-udunits2/package.py b/var/spack/repos/builtin/packages/r-udunits2/package.py
index eda9137d8e..1aa728ef7c 100644
--- a/var/spack/repos/builtin/packages/r-udunits2/package.py
+++ b/var/spack/repos/builtin/packages/r-udunits2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-units/package.py b/var/spack/repos/builtin/packages/r-units/package.py
index bac5d4637a..24eaf5ddcd 100644
--- a/var/spack/repos/builtin/packages/r-units/package.py
+++ b/var/spack/repos/builtin/packages/r-units/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,22 +7,27 @@ from spack import *
class RUnits(RPackage):
- """Support for measurement units in R vectors, matrices and arrays:
- automatic propagation, conversion, derivation and simplification of
- units; raising errors in case of unit incompatibility. Compatible with
- the POSIXct, Date and difftime classes. Uses the UNIDATA udunits
- library and unit database for unit compatibility checking and
- conversion."""
+ """Measurement Units for R Vectors
+
+ Support for measurement units in R vectors, matrices and arrays: automatic
+ propagation, conversion, derivation and simplification of units; raising
+ errors in case of unit incompatibility. Compatible with the POSIXct, Date
+ and difftime classes. Uses the UNIDATA udunits library and unit database
+ for unit compatibility checking and conversion. Documentation about
+ 'units' is provided in the paper by Pebesma, Mailund & Hiebert (2016,
+ <doi:10.32614/RJ-2016-061>), included in this package as a vignette; see
+ 'citation("units")' for details."""
homepage = "https://github.com/edzer/units/"
url = "https://cloud.r-project.org/src/contrib/units_0.4-6.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/units"
+ version('0.6-7', sha256='3f73a62bafdbe0f93bbf00ac4b1adb8f919dd04649ff8f1d007f2986e35cb7e5')
version('0.6-3', sha256='03de88d9dcfe80d22dd3813413f33657c576aed24a8091dbfc7f68602020a64f')
version('0.6-2', sha256='5e286775d0712c8e15b6ae3a533d4c4349b0f6410c2d9d897ca519c3d0e5f170')
version('0.4-6', sha256='db383c9b7ec221a5da29a2ddf4f74f9064c44ea2102ea7e07cc1cc5bb30fa1ef')
depends_on('r@3.0.2:', type=('build', 'run'))
- depends_on('r-udunits2@0.13:', when='@:0.5-1', type=('build', 'run'))
depends_on('r-rcpp@0.12.10:', type=('build', 'run'))
+ depends_on('r-udunits2@0.13:', when='@:0.5-1', type=('build', 'run'))
depends_on('udunits', when='@0.6-0:')
diff --git a/var/spack/repos/builtin/packages/r-upsetr/package.py b/var/spack/repos/builtin/packages/r-upsetr/package.py
index 405bf7994a..cd43237262 100644
--- a/var/spack/repos/builtin/packages/r-upsetr/package.py
+++ b/var/spack/repos/builtin/packages/r-upsetr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-urca/package.py b/var/spack/repos/builtin/packages/r-urca/package.py
index 364482b5c3..761b89406f 100644
--- a/var/spack/repos/builtin/packages/r-urca/package.py
+++ b/var/spack/repos/builtin/packages/r-urca/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-urltools/package.py b/var/spack/repos/builtin/packages/r-urltools/package.py
index 479e201fbb..4f1f0c2850 100644
--- a/var/spack/repos/builtin/packages/r-urltools/package.py
+++ b/var/spack/repos/builtin/packages/r-urltools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-usethis/package.py b/var/spack/repos/builtin/packages/r-usethis/package.py
index 105efb3fc9..d5bf49a8dc 100644
--- a/var/spack/repos/builtin/packages/r-usethis/package.py
+++ b/var/spack/repos/builtin/packages/r-usethis/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RUsethis(RPackage):
- """Automate package and project setup tasks that are otherwise performed
+ """Automate Package and Project Setup
+
+ Automate package and project setup tasks that are otherwise performed
manually. This includes setting up unit testing, test coverage, continuous
integration, Git, 'GitHub', licenses, 'Rcpp', 'RStudio' projects, and
more."""
@@ -16,27 +18,34 @@ class RUsethis(RPackage):
url = "https://cloud.r-project.org/src/contrib/usethis_1.5.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/usethis"
+ version('2.0.0', sha256='22aa2b59f36a8701a4648554c7b0e010253bf917a0f431f06efac7d8a6b59854')
version('1.6.1', sha256='60339059a97ed07dea7f8908b828b5bb42e0fd0b471165c061bc9660b0d59d6f')
version('1.5.1', sha256='9e3920a04b0df82adf59eef2c1b2b4d835c4a757a51b3c163b8fc619172f561d')
depends_on('r@3.2:', type=('build', 'run'))
- depends_on('r-clipr@0.3.0:', type=('build', 'run'))
- depends_on('r-clisymbols', when='@:1.5', type=('build', 'run'))
depends_on('r-cli', when='@1.6.1:', type=('build', 'run'))
+ depends_on('r-clipr@0.3.0:', type=('build', 'run'))
depends_on('r-crayon', type=('build', 'run'))
depends_on('r-curl@2.7:', type=('build', 'run'))
depends_on('r-desc', type=('build', 'run'))
depends_on('r-fs@1.3.0:', type=('build', 'run'))
+ depends_on('r-gert@1.0.2:', when='@2.0.0:', type=('build', 'run'))
depends_on('r-gh', type=('build', 'run'))
depends_on('r-gh@1.1.0:', when='@1.6.1:', type=('build', 'run'))
- depends_on('r-git2r@0.23:', type=('build', 'run'))
+ depends_on('r-gh@1.2.0:', when='@2.0.0:', type=('build', 'run'))
depends_on('r-glue@1.3.0:', type=('build', 'run'))
+ depends_on('r-jsonlite', when='@2.0.0:', type=('build', 'run'))
+ depends_on('r-lifecycle', when='@2.0.0:', type=('build', 'run'))
depends_on('r-purrr', type=('build', 'run'))
- depends_on('r-rematch2', when='@1.6.1:', type=('build', 'run'))
+ depends_on('r-rappdirs', when='@2.0.0:', type=('build', 'run'))
depends_on('r-rlang', type=('build', 'run'))
depends_on('r-rlang@0.4.3:', when='@1.6.1:', type=('build', 'run'))
depends_on('r-rprojroot@1.2:', type=('build', 'run'))
depends_on('r-rstudioapi', type=('build', 'run'))
depends_on('r-whisker', type=('build', 'run'))
depends_on('r-withr', type=('build', 'run'))
+ depends_on('r-withr@2.3.0:', when='@2.0.0:', type=('build', 'run'))
depends_on('r-yaml', type=('build', 'run'))
+ depends_on('r-clisymbols', when='@:1.5', type=('build', 'run'))
+ depends_on('r-git2r@0.23:', when='@:1.6.1', type=('build', 'run'))
+ depends_on('r-rematch2', when='@1.6.1', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-utf8/package.py b/var/spack/repos/builtin/packages/r-utf8/package.py
index f35800cb5f..ae2b7cab80 100644
--- a/var/spack/repos/builtin/packages/r-utf8/package.py
+++ b/var/spack/repos/builtin/packages/r-utf8/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-uuid/package.py b/var/spack/repos/builtin/packages/r-uuid/package.py
index f696d52f9b..db4c8c1ad6 100644
--- a/var/spack/repos/builtin/packages/r-uuid/package.py
+++ b/var/spack/repos/builtin/packages/r-uuid/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,13 +8,16 @@ from spack import *
class RUuid(RPackage):
- """Tools for generating and handling of UUIDs (Universally Unique
+ """Tools for Generating and Handling of UUIDs
+
+ Tools for generating and handling of UUIDs (Universally Unique
Identifiers)."""
homepage = "http://www.rforge.net/uuid"
url = "https://cloud.r-project.org/src/contrib/uuid_0.1-2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/uuid"
+ version('0.1-4', sha256='98e0249dda17434bfa209c2058e9911e576963d4599be9f7ea946e664f8ca93e')
version('0.1-2', sha256='dd71704dc336b0857981b92a75ed9877d4ca47780b1682def28839304cd3b1be')
depends_on('r@2.9.0:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-uwot/package.py b/var/spack/repos/builtin/packages/r-uwot/package.py
index 294e36b692..4daf9036a9 100644
--- a/var/spack/repos/builtin/packages/r-uwot/package.py
+++ b/var/spack/repos/builtin/packages/r-uwot/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RUwot(RPackage):
- """An implementation of the Uniform Manifold Approximation and Projection
+ """The Uniform Manifold Approximation and Projection (UMAP) Method for Dimensionality Reduction
+
+ An implementation of the Uniform Manifold Approximation and Projection
dimensionality reduction by McInnes et al. (2018) <arXiv:1802.03426>. It
also provides means to transform new data and to carry out supervised
dimensionality reduction. An implementation of the related LargeVis method
@@ -21,6 +23,7 @@ class RUwot(RPackage):
url = "https://cloud.r-project.org/src/contrib/uwot_0.1.3.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/uwot"
+ version('0.1.10', sha256='6ee1b6027bce679cd5a35f647f516a5b327632234bcf323c7f3d5b5e10807d23')
version('0.1.3', sha256='4936e6922444cae8a71735e945b6bb0828a1012232eb94568054f78451c406d7')
depends_on('r-matrix', type=('build', 'run'))
@@ -28,8 +31,9 @@ class RUwot(RPackage):
depends_on('r-fnn', type=('build', 'run'))
depends_on('r-rspectra', type=('build', 'run'))
depends_on('r-rcppannoy@0.0.11:', type=('build', 'run'))
- depends_on('r-rcppparallel', type=('build', 'run'))
+ depends_on('r-rcppannoy@0.0.17:', when='@0.1.10:', type=('build', 'run'))
depends_on('r-irlba', type=('build', 'run'))
depends_on('r-rcppprogress', type=('build', 'run'))
depends_on('r-dqrng', type=('build', 'run'))
- depends_on('gmake', type='build')
+ depends_on('r-rcppparallel', when='@:0.1.3', type=('build', 'run'))
+ depends_on('gmake', when='@:0.1.3', type='build')
diff --git a/var/spack/repos/builtin/packages/r-v8/package.py b/var/spack/repos/builtin/packages/r-v8/package.py
new file mode 100644
index 0000000000..5fc3b136f5
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-v8/package.py
@@ -0,0 +1,20 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RV8(RPackage):
+ """V8: Embedded JavaScript and WebAssembly Engine for R"""
+
+ homepage = "https://github.com/jeroen/v8"
+ url = "https://cloud.r-project.org/src/contrib/V8_3.4.0.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/V8"
+
+ version('3.4.0', sha256='f5c8a2a03cc1be9f504f47711a0fcd1b962745139c9fb2a10fbd79c4ae103fbd')
+
+ depends_on('r-curl@1.0:', type=('build', 'run'))
+ depends_on('r-jsonlite@1.0:', type=('build', 'run'))
+ depends_on('r-rcpp@0.12.12:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-variantannotation/package.py b/var/spack/repos/builtin/packages/r-variantannotation/package.py
index d1037acc7a..eb356adb52 100644
--- a/var/spack/repos/builtin/packages/r-variantannotation/package.py
+++ b/var/spack/repos/builtin/packages/r-variantannotation/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RVariantannotation(RPackage):
- """Annotation of Genetic Variants.
+ """Annotation of Genetic Variants
Annotate variants, compute amino acid coding changes, predict coding
outcomes."""
@@ -15,6 +15,7 @@ class RVariantannotation(RPackage):
homepage = "https://bioconductor.org/packages/VariantAnnotation"
git = "https://git.bioconductor.org/packages/VariantAnnotation.git"
+ version('1.36.0', commit='9918bd19a2e6f89e5edc5fe03c8812f500bb3e19')
version('1.30.1', commit='fb1ab00872570afb280522c4663e347dafc07a9e')
version('1.28.13', commit='0393347b8ce2d5edf1a61589be93e6a93eda3419')
version('1.26.1', commit='60ae67598cc3d7ed20ee6417920f8c209085faaf')
@@ -23,37 +24,42 @@ class RVariantannotation(RPackage):
depends_on('r@2.8.0:', type=('build', 'run'))
depends_on('r-biocgenerics@0.15.3:', type=('build', 'run'))
+ depends_on('r-matrixgenerics', when='@1.36.0:', type=('build', 'run'))
depends_on('r-genomeinfodb@1.11.4:', type=('build', 'run'))
+ depends_on('r-genomeinfodb@1.15.2:', when='@1.26.1:', type=('build', 'run'))
depends_on('r-genomicranges@1.27.6:', type=('build', 'run'))
+ depends_on('r-genomicranges@1.31.8:', when='@1.26.1:', type=('build', 'run'))
+ depends_on('r-genomicranges@1.41.5:', when='@1.36.0:', type=('build', 'run'))
depends_on('r-summarizedexperiment@1.5.3:', type=('build', 'run'))
+ depends_on('r-summarizedexperiment@1.19.5:', when='@1.36.0:', type=('build', 'run'))
depends_on('r-rsamtools@1.23.10:', type=('build', 'run'))
+ depends_on('r-rsamtools@1.31.2:', when='@1.26.1:', type=('build', 'run'))
+ depends_on('r-rsamtools@1.33.6:', when='@1.28.13:', type=('build', 'run'))
+ depends_on('r-rsamtools@1.99.0:', when='@1.30.1:', type=('build', 'run'))
depends_on('r-dbi', type=('build', 'run'))
depends_on('r-zlibbioc', type=('build', 'run'))
depends_on('r-biobase', type=('build', 'run'))
depends_on('r-s4vectors@0.13.13:', type=('build', 'run'))
+ depends_on('r-s4vectors@0.17.24:', when='@1.26.1:', type=('build', 'run'))
+ depends_on('r-s4vectors@0.27.12:', when='@1.36.0:', type=('build', 'run'))
depends_on('r-iranges@2.3.25:', type=('build', 'run'))
+ depends_on('r-iranges@2.13.13:', when='@1.26.1:', type=('build', 'run'))
+ depends_on('r-iranges@2.23.9:', when='@1.36.0:', type=('build', 'run'))
depends_on('r-xvector@0.5.6:', type=('build', 'run'))
+ depends_on('r-xvector@0.19.7:', when='@1.26.1:', type=('build', 'run'))
+ depends_on('r-xvector@0.29.2:', when='@1.36.0:', type=('build', 'run'))
depends_on('r-biostrings@2.33.5:', type=('build', 'run'))
+ depends_on('r-biostrings@2.47.6:', when='@1.26.1:', type=('build', 'run'))
+ depends_on('r-biostrings@2.57.2:', when='@1.36.0:', type=('build', 'run'))
depends_on('r-annotationdbi@1.27.9:', type=('build', 'run'))
- depends_on('r-bsgenome@1.37.6:', type=('build', 'run'))
depends_on('r-rtracklayer@1.25.16:', type=('build', 'run'))
- depends_on('r-genomicfeatures@1.27.4:', type=('build', 'run'))
-
- depends_on('r-genomeinfodb@1.15.2:', when='@1.26.1:', type=('build', 'run'))
- depends_on('r-genomicranges@1.31.8:', when='@1.26.1:', type=('build', 'run'))
- depends_on('r-summarizedexperiment@1.9.9:', when='@1.26.1:', type=('build', 'run'))
- depends_on('r-rsamtools@1.31.2:', when='@1.26.1:', type=('build', 'run'))
- depends_on('r-s4vectors@0.17.24:', when='@1.26.1:', type=('build', 'run'))
- depends_on('r-iranges@2.13.13:', when='@1.26.1:', type=('build', 'run'))
- depends_on('r-xvector@0.19.7:', when='@1.26.1:', type=('build', 'run'))
- depends_on('r-biostrings@2.47.6:', when='@1.26.1:', type=('build', 'run'))
depends_on('r-rtracklayer@1.39.7:', when='@1.26.1:', type=('build', 'run'))
+ depends_on('r-bsgenome@1.37.6:', type=('build', 'run'))
depends_on('r-bsgenome@1.47.3:', when='@1.26.1:', type=('build', 'run'))
+ depends_on('r-genomicfeatures@1.27.4:', type=('build', 'run'))
depends_on('r-genomicfeatures@1.31.3:', when='@1.26.1:', type=('build', 'run'))
-
- depends_on('r-rsamtools@1.33.6:', when='@1.28.13:', type=('build', 'run'))
-
- depends_on('r-rsamtools@1.99.0:', when='@1.30.1:', type=('build', 'run'))
depends_on('r-rhtslib', when='@1.30.1:', type=('build', 'run'))
-
depends_on('gmake', type='build')
+
+ # Not listed but needed
+ depends_on('curl')
diff --git a/var/spack/repos/builtin/packages/r-varselrf/package.py b/var/spack/repos/builtin/packages/r-varselrf/package.py
index 1bc5e7b4b7..57a23d6a06 100644
--- a/var/spack/repos/builtin/packages/r-varselrf/package.py
+++ b/var/spack/repos/builtin/packages/r-varselrf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-vcd/package.py b/var/spack/repos/builtin/packages/r-vcd/package.py
index cb8e90e46a..1828d76853 100644
--- a/var/spack/repos/builtin/packages/r-vcd/package.py
+++ b/var/spack/repos/builtin/packages/r-vcd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RVcd(RPackage):
- """Visualization techniques, data sets, summary and inference procedures
+ """Visualizing Categorical Data
+
+ Visualization techniques, data sets, summary and inference procedures
aimed particularly at categorical data. Special emphasis is given to highly
extensible grid graphics. The package was package was originally inspired
by the book "Visualizing Categorical Data" by Michael Friendly and is now
@@ -18,6 +20,7 @@ class RVcd(RPackage):
url = "https://cloud.r-project.org/src/contrib/vcd_1.4-1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/vcd"
+ version('1.4-8', sha256='236fcb183152f6e9d131eeb3931d5a064a5ff79be91e4533df9148fd2ff41e0c')
version('1.4-4', sha256='a561adf120b5ce41b66e0c0c321542fcddc772eb12b3d7020d86e9cd014ce9d2')
version('1.4-3', sha256='17ce89927421d9cd01285b6093eeaaecb1e7252388007f66d3b9222e58cc5f15')
version('1.4-1', sha256='af4c77522efef28271afab7d90679824826132c6bc61abe17df763ed1fc24994')
diff --git a/var/spack/repos/builtin/packages/r-vctrs/package.py b/var/spack/repos/builtin/packages/r-vctrs/package.py
index ad1fea5dc2..410be98f3e 100644
--- a/var/spack/repos/builtin/packages/r-vctrs/package.py
+++ b/var/spack/repos/builtin/packages/r-vctrs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,21 +7,26 @@ from spack import *
class RVctrs(RPackage):
- """Defines new notions of prototype and size that are used to provide tools
+ """Vector Helpers
+
+ Defines new notions of prototype and size that are used to provide tools
for consistent and well-founded type-coercion and size-recycling, and are
in turn connected to ideas of type- and size-stability useful for analyzing
function interfaces."""
homepage = "https://github.com/r-lib/vctrs"
- url = "https://cloud.r-project.org/src/contrib/vctrs_0.2.0.tar.gz"
+ url = "https://github.com/r-lib/vctrs/archive/v0.3.5.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/vctrs"
+ version('0.3.6', sha256='5869a2cc2cb62ccb6f7ff7e8f88c02790d5ea256cccaf51aee56fb28e7ee48ce')
+ version('0.3.5', sha256='798dd19809ab99267456ebf488e7aa4e3c03f7f307f5e0abde01dc7ba1cf53ce')
version('0.2.0', sha256='5bce8f228182ecaa51230d00ad8a018de9cf2579703e82244e0931fe31f20016')
depends_on('r@3.2:', type=('build', 'run'))
- depends_on('r-backports', type=('build', 'run'))
+ depends_on('r@3.3:', when='@0.3.5:', type=('build', 'run'))
depends_on('r-ellipsis@0.2.0:', type=('build', 'run'))
depends_on('r-digest', type=('build', 'run'))
depends_on('r-glue', type=('build', 'run'))
depends_on('r-rlang@0.4.0:', type=('build', 'run'))
- depends_on('r-zeallot', type=('build', 'run'))
+ depends_on('r-rlang@0.4.7:', when='@0.3.5:', type=('build', 'run'))
+ depends_on('r-zeallot', when='@:0.2.0', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-vegan/package.py b/var/spack/repos/builtin/packages/r-vegan/package.py
index adbfe7869e..1dce840c9f 100644
--- a/var/spack/repos/builtin/packages/r-vegan/package.py
+++ b/var/spack/repos/builtin/packages/r-vegan/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,18 +7,21 @@ from spack import *
class RVegan(RPackage):
- """Ordination methods, diversity analysis and other functions for
+ """Community Ecology Package
+
+ Ordination methods, diversity analysis and other functions for
community and vegetation ecologists."""
homepage = "https://github.com/vegandevs/vegan"
url = "https://cloud.r-project.org/src/contrib/vegan_2.4-3.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/vegan"
+ version('2.5-7', sha256='e63b586951ea7d8b0118811f329c700212892ec1db3b93951603ce1d68aa462a')
version('2.5-5', sha256='876b5266f29f3034fed881020d16f476e62d145a00cb450a1a213e019e056971')
version('2.5-4', sha256='5116a440111fca49b5f95cfe888b180ff29a112e6301d5e2ac5cae0e628493e0')
version('2.4-3', sha256='2556b1281a62e53f32bb57539bc600c00a599d0699867912220535d1a3ebec97')
- depends_on('r@3.0.0:', when='@:2.4-6', type=('build', 'run'))
+ depends_on('r@3.0.0:', type=('build', 'run'))
depends_on('r@3.1.0:', when='@2.5-1', type=('build', 'run'))
depends_on('r@3.2.0:', when='@2.5-2:2.5-4', type=('build', 'run'))
depends_on('r@3.4.0:', when='@2.5-5:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-vfs/package.py b/var/spack/repos/builtin/packages/r-vfs/package.py
index a43566b888..9ba672e7a2 100644
--- a/var/spack/repos/builtin/packages/r-vfs/package.py
+++ b/var/spack/repos/builtin/packages/r-vfs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-vgam/package.py b/var/spack/repos/builtin/packages/r-vgam/package.py
index b0a8c9a253..c1155ce5db 100644
--- a/var/spack/repos/builtin/packages/r-vgam/package.py
+++ b/var/spack/repos/builtin/packages/r-vgam/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,30 @@ from spack import *
class RVgam(RPackage):
- """An implementation of about 6 major classes of statistical regression
- models."""
+ """Vector Generalized Linear and Additive Models
+
+ An implementation of about 6 major classes of statistical regression
+ models. The central algorithm is Fisher scoring and iterative reweighted
+ least squares. At the heart of this package are the vector generalized
+ linear and additive model (VGLM/VGAM) classes. VGLMs can be loosely thought
+ of as multivariate GLMs. VGAMs are data-driven VGLMs that use smoothing.
+ The book "Vector Generalized Linear and Additive Models: With an
+ Implementation in R" (Yee, 2015) <DOI:10.1007/978-1-4939-2818-7> gives
+ details of the statistical framework and the package. Currently only
+ fixed-effects models are implemented. Many (150+) models and distributions
+ are estimated by maximum likelihood estimation (MLE) or penalized MLE. The
+ other classes are RR-VGLMs (reduced-rank VGLMs), quadratic RR-VGLMs,
+ reduced-rank VGAMs, RCIMs (row-column interaction models)---these classes
+ perform constrained and unconstrained quadratic ordination (CQO/UQO) models
+ in ecology, as well as constrained additive ordination (CAO). Hauck-Donner
+ effect detection is implemented. Note that these functions are subject to
+ change; see the NEWS and ChangeLog files for latest changes."""
homepage = "https://cloud.r-project.org/package=VGAM"
url = "https://cloud.r-project.org/src/contrib/VGAM_1.0-4.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/VGAM"
+ version('1.1-5', sha256='30190b150f3e5478137d288a45f575b2654ad7c29254b0a1fe5c954ee010a1bb')
version('1.1-1', sha256='de192bd65a7e8818728008de8e60e6dd3b61a13616c887a43e0ccc8147c7da52')
version('1.0-6', sha256='121820a167411e847b41bdcb0028b55842d0ccc0c3471755c67449837e0fe3b9')
version('1.0-4', sha256='e581985f78ef8b866d0e810b2727061bb9c9bc177b2c9090aebb3a35ae87a964')
@@ -22,6 +39,7 @@ class RVgam(RPackage):
version('1.0-1', sha256='c066864e406fcee23f383a28299dba3cf83356e5b68df16324885afac87a05ea')
version('1.0-0', sha256='6acdd7db49c0987c565870afe593160ceba72a6ca4a84e6da3cf6f74d1fa02e1')
- depends_on('r@3.0.0:', when='@:1.0-1', type=('build', 'run'))
+ depends_on('r@3.0.0:', type=('build', 'run'))
depends_on('r@3.1.0:', when='@1.0-2:1.0-3', type=('build', 'run'))
depends_on('r@3.4.0:', when='@1.0-4:', type=('build', 'run'))
+ depends_on('r@3.5.0:', when='@1.1-5:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-vioplot/package.py b/var/spack/repos/builtin/packages/r-vioplot/package.py
index 451e5cf5b3..f0cae082fa 100644
--- a/var/spack/repos/builtin/packages/r-vioplot/package.py
+++ b/var/spack/repos/builtin/packages/r-vioplot/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,18 @@ from spack import *
class RVioplot(RPackage):
- """vioplot: Violin Plot"""
+ """Violin Plot
+
+ A violin plot is a combination of a box plot and a kernel density plot.
+ This package allows extensive customisation of violin plots. """
homepage = "https://cloud.r-project.org/package=vioplot"
url = "https://cloud.r-project.org/src/contrib/vioplot_0.3.2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/vioplot"
+ version('0.3.5', sha256='1b64833c1bd6851036cf1c400c7d0036a047e71def94a399c897263b4b303e2a')
version('0.3.2', sha256='7b51d0876903a3c315744cb051ac61920eeaa1f0694814959edfae43ce956e8e')
+ depends_on('r+X', type=('build', 'run'))
depends_on('r-sm', type=('build', 'run'))
depends_on('r-zoo', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-vipor/package.py b/var/spack/repos/builtin/packages/r-vipor/package.py
index 232a59cc48..7e3f1ae395 100644
--- a/var/spack/repos/builtin/packages/r-vipor/package.py
+++ b/var/spack/repos/builtin/packages/r-vipor/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-viridis/package.py b/var/spack/repos/builtin/packages/r-viridis/package.py
index 42ec7cfdf0..f5df1f8032 100644
--- a/var/spack/repos/builtin/packages/r-viridis/package.py
+++ b/var/spack/repos/builtin/packages/r-viridis/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-viridislite/package.py b/var/spack/repos/builtin/packages/r-viridislite/package.py
index 6b0a3fda03..352d17d971 100644
--- a/var/spack/repos/builtin/packages/r-viridislite/package.py
+++ b/var/spack/repos/builtin/packages/r-viridislite/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-visnetwork/package.py b/var/spack/repos/builtin/packages/r-visnetwork/package.py
index 07b18d82d6..21ac57d29b 100644
--- a/var/spack/repos/builtin/packages/r-visnetwork/package.py
+++ b/var/spack/repos/builtin/packages/r-visnetwork/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,16 @@ from spack import *
class RVisnetwork(RPackage):
- """Provides an R interface to the 'vis.js' JavaScript charting library. It
+ """Network Visualization using 'vis.js' Library
+
+ Provides an R interface to the 'vis.js' JavaScript charting library. It
allows an interactive visualization of networks."""
homepage = "https://github.com/datastorm-open/visNetwork"
url = "https://cloud.r-project.org/src/contrib/visNetwork_1.0.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/visNetwork"
+ version('2.0.9', sha256='5e0b3dc3a91e66e0a359433f03cc856d04b981b0f9ad228d8fa9c96b7fcaa420')
version('2.0.7', sha256='15ad01636a3a19e1901be6743052805a5b6a9ac1240fb3dab765252b1e865128')
version('2.0.6', sha256='ec2478e6a2af446569ef2d5210a2bc6b2600bcb7fd9908cef8f8c80b01e9c8aa')
version('1.0.1', sha256='13aacf58d3bf9e78c7fb3af180062762bf22aec1777c829715c5b00396639a70')
diff --git a/var/spack/repos/builtin/packages/r-vsn/package.py b/var/spack/repos/builtin/packages/r-vsn/package.py
index b3a45677aa..484c296ea0 100644
--- a/var/spack/repos/builtin/packages/r-vsn/package.py
+++ b/var/spack/repos/builtin/packages/r-vsn/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RVsn(RPackage):
- """Variance stabilization and calibration for microarray data.
+ """Variance stabilization and calibration for microarray data
The package implements a method for normalising microarray intensities,
and works for single- and multiple-color arrays. It can also be used for
@@ -25,6 +25,7 @@ class RVsn(RPackage):
homepage = "https://bioconductor.org/packages/vsn"
git = "https://git.bioconductor.org/packages/vsn.git"
+ version('3.58.0', commit='a451e6ae989623750feacf26d99683a7955adf85')
version('3.52.0', commit='e80642d850ae93bc141654200a8970b561a94fbe')
version('3.50.0', commit='ad49fcc288c6065d0f04040acd688e7f0d7d927e')
version('3.48.1', commit='d57f64112004b1d73b3be625949830209de027eb')
@@ -32,11 +33,10 @@ class RVsn(RPackage):
version('3.44.0', commit='e54513fcdd07ccfb8094359e93cef145450f0ee0')
depends_on('r@3.0.0:', type=('build', 'run'))
+ depends_on('r@3.4.0:', when='@3.46.0:', type=('build', 'run'))
depends_on('r-biobase', type=('build', 'run'))
depends_on('r-affy', type=('build', 'run'))
depends_on('r-limma', type=('build', 'run'))
depends_on('r-lattice', type=('build', 'run'))
depends_on('r-ggplot2', type=('build', 'run'))
- depends_on('r-hexbin', when='@3.44.0', type=('build', 'run'))
-
- depends_on('r@3.4.0:', when='@3.46.0:', type=('build', 'run'))
+ depends_on('r-hexbin', when='@3.44.0:3.52.0', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-waldo/package.py b/var/spack/repos/builtin/packages/r-waldo/package.py
new file mode 100644
index 0000000000..e8d6a1ad55
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-waldo/package.py
@@ -0,0 +1,28 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RWaldo(RPackage):
+ """Find Differences Between R Objects
+
+ Compare complex R objects and reveal the key differences. Designed
+ particularly for use in testing packages where being able to quickly
+ isolate key differences makes understanding test failures much easier."""
+
+ homepage = "https://github.com/r-lib/waldo"
+ url = "https://cloud.r-project.org/src/contrib/waldo_0.2.3.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/waldo"
+
+ version('0.2.3', sha256='1fbab22fe9be6ca8caa3df7306c763d7025d81ab6f17b85daaf8bdc8c9455c53')
+
+ depends_on('r-cli', type=('build', 'run'))
+ depends_on('r-diffobj', type=('build', 'run'))
+ depends_on('r-fansi', type=('build', 'run'))
+ depends_on('r-glue', type=('build', 'run'))
+ depends_on('r-rematch2', type=('build', 'run'))
+ depends_on('r-rlang', type=('build', 'run'))
+ depends_on('r-tibble', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-watermelon/package.py b/var/spack/repos/builtin/packages/r-watermelon/package.py
index a1d827870c..5a69451d0d 100644
--- a/var/spack/repos/builtin/packages/r-watermelon/package.py
+++ b/var/spack/repos/builtin/packages/r-watermelon/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,11 +7,15 @@ from spack import *
class RWatermelon(RPackage):
- """Illumina 450 methylation array normalization and metrics."""
+ """Illumina 450 methylation array normalization and metrics
+
+ 15 flavours of betas and three performance metrics, with methods for
+ objects produced by methylumi and minfi packages."""
homepage = "https://bioconductor.org/packages/release/bioc/html/wateRmelon.html"
git = "https://git.bioconductor.org/packages/wateRmelon"
+ version('1.34.0', commit='3fa2745535c22068a438747b41b9d793196098d4')
version('1.30.0', commit='66d7579fe49206d965832288df7937c3d43ed578')
depends_on('r@2.10:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-webshot/package.py b/var/spack/repos/builtin/packages/r-webshot/package.py
index bcf2997ddc..d5fe0d33f6 100644
--- a/var/spack/repos/builtin/packages/r-webshot/package.py
+++ b/var/spack/repos/builtin/packages/r-webshot/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,15 +7,23 @@ from spack import *
class RWebshot(RPackage):
- """webshot: Take Screenshots of Web Pages"""
+ """Take Screenshots of Web Pages
+
+ Takes screenshots of web pages, including Shiny applications and R Markdown
+ documents."""
homepage = "https://github.com/wch/webshot/"
url = "https://cloud.r-project.org/src/contrib/webshot_0.5.1.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/webshot/"
+ version('0.5.2', sha256='f183dc970157075b51ac543550a7a48fa3428b9c6838abb72fe987c21982043f')
version('0.5.1', sha256='b9750d206c6fa0f1f16cc212b0a34f4f4bfa916962d2c877f0ee9a33620f4b23')
+ depends_on('r+X', type=('build', 'run'))
depends_on('r@3.0:', type=('build', 'run'))
depends_on('r-magrittr', type=('build', 'run'))
depends_on('r-jsonlite', type=('build', 'run'))
depends_on('r-callr', type=('build', 'run'))
+ depends_on('imagemagick', type='run')
+
+ # need a phantomjs package to make this actually work.
diff --git a/var/spack/repos/builtin/packages/r-wgcna/package.py b/var/spack/repos/builtin/packages/r-wgcna/package.py
index 4af76c78ad..f2992a98af 100644
--- a/var/spack/repos/builtin/packages/r-wgcna/package.py
+++ b/var/spack/repos/builtin/packages/r-wgcna/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,12 +7,22 @@ from spack import *
class RWgcna(RPackage):
- """WGCNA: Weighted Correlation Network Analysis"""
+ """Weighted Correlation Network Analysis
+
+ Functions necessary to perform Weighted Correlation Network Analysis on
+ high-dimensional data as originally described in Horvath and Zhang (2005)
+ <doi:10.2202/1544-6115.1128> and Langfelder and Horvath (2008)
+ <doi:10.1186/1471-2105-9-559>. Includes functions for rudimentary data
+ cleaning, construction of correlation networks, module identification,
+ summarization, and relating of variables and modules to sample traits. Also
+ includes a number of utility functions for data manipulation and
+ visualization."""
homepage = "https://cloud.r-project.org/package=WGCNA"
url = "https://cloud.r-project.org/src/contrib/WGCNA_1.68.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/WGCNA/"
+ version('1.69', sha256='2ea152d45b2d4f0e40b4b9f7b5ea8a96e230f7744ece8be27bdba96cf39d5008')
version('1.68', sha256='0a04f15a20817f9260ae1896eda3be83a7f4855a27a348df85c7f4d376f1efe8')
version('1.67', sha256='c9cc9989763b2c80835489eabd38d9ee35b204305044d115ca7c775a103f6824')
version('1.64-1', sha256='961a890cda40676ba533cd6de2b1d4f692addd16363f874c82ba8b65dd2d0db6')
@@ -30,4 +40,4 @@ class RWgcna(RPackage):
depends_on('r-go-db', type=('build', 'run'))
depends_on('r-annotationdbi', type=('build', 'run'))
depends_on('r-rcpp@0.11.0:', type=('build', 'run'))
- depends_on('r-robust', type=('build', 'run'))
+ depends_on('r-robust', when='@:1.68', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-whisker/package.py b/var/spack/repos/builtin/packages/r-whisker/package.py
index cecb1eb2af..1c95b17315 100644
--- a/var/spack/repos/builtin/packages/r-whisker/package.py
+++ b/var/spack/repos/builtin/packages/r-whisker/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,11 +7,13 @@ from spack import *
class RWhisker(RPackage):
- """logicless templating, reuse templates in many programming languages
- including R"""
+ """{{mustache}} for R, Logicless Templating
+
+ Implements 'Mustache' logicless templating."""
homepage = "http://github.com/edwindj/whisker"
url = "https://cloud.r-project.org/src/contrib/whisker_0.3-2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/whisker"
+ version('0.4', sha256='7a86595be4f1029ec5d7152472d11b16175737e2777134e296ae97341bf8fba8')
version('0.3-2', sha256='484836510fcf123a66ddd13cdc8f32eb98e814cad82ed30c0294f55742b08c7c')
diff --git a/var/spack/repos/builtin/packages/r-withr/package.py b/var/spack/repos/builtin/packages/r-withr/package.py
index 42e2e2427f..657572bb59 100644
--- a/var/spack/repos/builtin/packages/r-withr/package.py
+++ b/var/spack/repos/builtin/packages/r-withr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RWithr(RPackage):
- """A set of functions to run code 'with' safely and temporarily modified
+ """Run Code 'With' Temporarily Modified Global State
+
+ A set of functions to run code 'with' safely and temporarily modified
global state. Many of these functions were originally a part of the
'devtools' package, this provides a simple package with limited
dependencies to provide access to these functions."""
@@ -16,6 +18,7 @@ class RWithr(RPackage):
url = "https://cloud.r-project.org/src/contrib/withr_1.0.2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/withr"
+ version('2.4.0', sha256='ede4cdc7e4d17e0ad24afc9fb940cba46fac4421d3a39281e9918377d73714f8')
version('2.2.0', sha256='4c21e51cf48f8c281ddd5f5ec358ac446df3c982104fd00bfe62d9259d73b582')
version('2.1.2', sha256='41366f777d8adb83d0bdbac1392a1ab118b36217ca648d3bb9db763aa7ff4686')
version('1.0.2', sha256='2391545020adc4256ee7c2e31c30ff6f688f0b6032e355e1ce8f468cab455f10')
diff --git a/var/spack/repos/builtin/packages/r-xde/package.py b/var/spack/repos/builtin/packages/r-xde/package.py
index 928503c1d5..acfd509fa9 100644
--- a/var/spack/repos/builtin/packages/r-xde/package.py
+++ b/var/spack/repos/builtin/packages/r-xde/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,11 +8,15 @@ from spack import *
class RXde(RPackage):
"""XDE: a Bayesian hierarchical model for cross-study analysis of
- differential gene expression."""
+ differential gene expression
+
+ Multi-level model for cross-study detection of differential gene
+ expression."""
homepage = "https://bioconductor.org/packages/XDE"
git = "https://git.bioconductor.org/packages/XDE.git"
+ version('2.36.0', commit='0277f9dffbd7d1880be77cb8581fc614501b3293')
version('2.30.0', commit='058af6f1e431522778f970bf61f834620d3d7dd7')
version('2.28.0', commit='b8cc7d0840ce1324644e8b4a750fbb964884498b')
version('2.26.0', commit='7bf6368037937c53542447175061c2e2059ee3be')
@@ -24,9 +28,8 @@ class RXde(RPackage):
depends_on('r-biocgenerics', type=('build', 'run'))
depends_on('r-genefilter', type=('build', 'run'))
depends_on('r-gtools', type=('build', 'run'))
- depends_on('r-mergemaid', type=('build', 'run'))
depends_on('r-mvtnorm', type=('build', 'run'))
-
depends_on('r-rcolorbrewer', when='@2.24.0:', type=('build', 'run'))
depends_on('r-genemeta', when='@2.24.0:', type=('build', 'run'))
depends_on('r-siggenes', when='@2.24.0:', type=('build', 'run'))
+ depends_on('r-mergemaid', when='@:2.30.0', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-xfun/package.py b/var/spack/repos/builtin/packages/r-xfun/package.py
index af92291d52..242bc8ed09 100644
--- a/var/spack/repos/builtin/packages/r-xfun/package.py
+++ b/var/spack/repos/builtin/packages/r-xfun/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,4 +14,5 @@ class RXfun(RPackage):
url = "https://cloud.r-project.org/src/contrib/xfun_0.8.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/xfun"
+ version('0.20', sha256='284239d12a3d5ea7d1ef8b1382fb0a7a4661af54c85510501279681871da7c10')
version('0.8', sha256='c2f8ecf8b57ddec02f9be7f417d9e22fc1ae2c7db8d70aa703fc62bf4a5c5416')
diff --git a/var/spack/repos/builtin/packages/r-xgboost/package.py b/var/spack/repos/builtin/packages/r-xgboost/package.py
index 825e24eef5..7ae19a77b8 100644
--- a/var/spack/repos/builtin/packages/r-xgboost/package.py
+++ b/var/spack/repos/builtin/packages/r-xgboost/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,9 @@ from spack import *
class RXgboost(RPackage):
- """Extreme Gradient Boosting, which is an efficient implementation of
+ """Extreme Gradient Boosting
+
+ Extreme Gradient Boosting, which is an efficient implementation of
gradient boosting framework. This package is its R interface. The package
includes efficient linear model solver and tree learning algorithms. The
package can automatically do parallel computation on a single machine which
@@ -21,18 +23,20 @@ class RXgboost(RPackage):
url = "https://cloud.r-project.org/src/contrib/xgboost_0.6-4.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/xgboost"
+ version('1.3.2.1', sha256='2ff462b81ad51a4810bd7860cb014b9b88831a8b1d45774249a808547147f884')
version('0.90.0.2', sha256='240584c1b4d54a95b4fef9074480752fae9a5b096e8f84747457d641decfc9bf')
version('0.81.0.1', sha256='3e7ada32e66881ea5c90aeafdab948927014c76cfff60a8e3d7f9e1f8a9ed7ce')
version('0.6-4', sha256='9fc51dd1b910c70930357f617d1ac7a74c5056e8847d4188175db27c09f9d1ed')
version('0.4-4', sha256='b955fc3352fcdc4894178c82fd62fbaf5e099c9d794f1e9daa2dd7b3494b61ff')
- depends_on('r@2.10:', when='@:0.4-4', type=('build', 'run'))
+ depends_on('r@2.10:', type=('build', 'run'))
depends_on('r@2.15.1:', when='@0.6-0:0.6-2', type=('build', 'run'))
depends_on('r@3.3.0:', when='@0.6-3:', type=('build', 'run'))
depends_on('r-matrix@1.1-0:', type=('build', 'run'))
depends_on('r-data-table@1.9.6:', type=('build', 'run'))
depends_on('r-magrittr@1.5:', type=('build', 'run'))
- depends_on('r-stringi@0.5.2:', type=('build', 'run'))
+ depends_on('r-stringi@0.5.2:', when='@:0.90.0.2', type=('build', 'run'))
+ depends_on('gmake', type='build')
# This is not listed as required, but installation fails without it
# ERROR: dependency 'stringr' is not available for package 'xgboost'
diff --git a/var/spack/repos/builtin/packages/r-xlconnect/package.py b/var/spack/repos/builtin/packages/r-xlconnect/package.py
index 9d1b8732b3..def05e88df 100644
--- a/var/spack/repos/builtin/packages/r-xlconnect/package.py
+++ b/var/spack/repos/builtin/packages/r-xlconnect/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,19 +7,26 @@ from spack import *
class RXlconnect(RPackage):
- """Provides comprehensive functionality to read, write and format Excel
+ """Excel Connector for R
+
+ Provides comprehensive functionality to read, write and format Excel
data."""
homepage = "http://miraisolutions.wordpress.com/"
url = "https://cloud.r-project.org/src/contrib/XLConnect_0.2-11.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/XLConnect"
+ version('1.0.1', sha256='927aa34a3c81c12bf156e55edca9e2f5186c31435cce23feda4b906d049d6e39')
version('0.2-15', sha256='26e1d8db65974719adbc25f1327c584003eb562dc1bb2121bffc2550cf3178b3')
version('0.2-14', sha256='d1013ed26947572bad97d62a3d66346f74993cf96c6408d21d5b6ee567468819')
version('0.2-12', sha256='500624f078fb27338aa91d8710daaf38633659a9b17f7cb713232a3d66f9f62c')
version('0.2-11', sha256='17c5eddd00b933fd7a2ab9d942c813046d45f0af487f8d5b11011a004db69d0b')
depends_on('r@2.10.0:', type=('build', 'run'))
- depends_on('r-xlconnectjars@0.2-15', type=('build', 'run'))
depends_on('r-rjava', type=('build', 'run'))
+ depends_on('r-xlconnectjars@0.2-9', when='@0.2-11', type=('build', 'run'))
+ depends_on('r-xlconnectjars@0.2-12', when='@0.2-12', type=('build', 'run'))
+ depends_on('r-xlconnectjars@0.2-14', when='@0.2-14', type=('build', 'run'))
+ depends_on('r-xlconnectjars@0.2-15', when='@0.2-15', type=('build', 'run'))
depends_on('java@6:')
+ depends_on('java@8:11.999', when='@1.0.1:')
diff --git a/var/spack/repos/builtin/packages/r-xlconnectjars/package.py b/var/spack/repos/builtin/packages/r-xlconnectjars/package.py
index 3c6fabd9d0..c38bfa4f1a 100644
--- a/var/spack/repos/builtin/packages/r-xlconnectjars/package.py
+++ b/var/spack/repos/builtin/packages/r-xlconnectjars/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-xlsx/package.py b/var/spack/repos/builtin/packages/r-xlsx/package.py
index 694a347a0c..6c37e40212 100644
--- a/var/spack/repos/builtin/packages/r-xlsx/package.py
+++ b/var/spack/repos/builtin/packages/r-xlsx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,15 +7,18 @@ from spack import *
class RXlsx(RPackage):
- """Provide R functions to read/write/format Excel 2007 and Excel
+ """Read, Write, Format Excel 2007 and Excel 97/2000/XP/2003 Files
+
+ Provide R functions to read/write/format Excel 2007 and Excel
97/2000/XP/2003 file formats."""
homepage = "http://code.google.com/p/rexcel/"
url = "https://cloud.r-project.org/src/contrib/xlsx_0.6.1.tar.gz"
listurl = "https://cloud.r-project.org/src/contrib/Archive/xlsx"
+ version('0.6.5', sha256='378c5ed475a3d7631ea1ea13e0a69d619c1a52260922abda42818752dbb32107')
version('0.6.1', sha256='a580bd16b5477c1c185bf681c12c1ffff4088089f97b6a37997913d93ec5a8b4')
depends_on('r-rjava', type=('build', 'run'))
depends_on('r-xlsxjars', type=('build', 'run'))
- depends_on('java@1.6:')
+ depends_on('java@6:')
diff --git a/var/spack/repos/builtin/packages/r-xlsxjars/package.py b/var/spack/repos/builtin/packages/r-xlsxjars/package.py
index 45202b1ea0..434bbe2ce6 100644
--- a/var/spack/repos/builtin/packages/r-xlsxjars/package.py
+++ b/var/spack/repos/builtin/packages/r-xlsxjars/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-xmapbridge/package.py b/var/spack/repos/builtin/packages/r-xmapbridge/package.py
index 69680fb6de..67853d415f 100644
--- a/var/spack/repos/builtin/packages/r-xmapbridge/package.py
+++ b/var/spack/repos/builtin/packages/r-xmapbridge/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RXmapbridge(RPackage):
- """Export plotting files to the xmapBridge for visualisation in X:Map.
+ """Export plotting files to the xmapBridge for visualisation in X:Map
xmapBridge can plot graphs in the X:Map genome browser. This package
exports plotting files in a suitable format."""
@@ -15,6 +15,7 @@ class RXmapbridge(RPackage):
homepage = "https://bioconductor.org/packages/xmapbridge"
git = "https://git.bioconductor.org/packages/xmapbridge.git"
+ version('1.48.0', commit='1cefe6b56c6dcb1f18028b3b7d6a67d490bc9730')
version('1.42.0', commit='d79c80dfc1a0ed3fd6d3e7a7c3a4aff778537ca9')
version('1.40.0', commit='00a2993863f28711e237bc937fa0ba2d05f81684')
version('1.38.0', commit='08138f00385fa0c669ff4cc33d7eac3d29cd615d')
diff --git a/var/spack/repos/builtin/packages/r-xml/package.py b/var/spack/repos/builtin/packages/r-xml/package.py
index 948ed81dfa..1335b38fa5 100644
--- a/var/spack/repos/builtin/packages/r-xml/package.py
+++ b/var/spack/repos/builtin/packages/r-xml/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RXml(RPackage):
- """Many approaches for both reading and creating XML (and HTML) documents
+ """Tools for Parsing and Generating XML Within R and S-Plus
+
+ Many approaches for both reading and creating XML (and HTML) documents
(including DTDs), both local and accessible via HTTP or FTP. Also offers
access to an 'XPath' "interpreter"."""
@@ -15,6 +17,7 @@ class RXml(RPackage):
url = "https://cloud.r-project.org/src/contrib/XML_3.98-1.9.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/XML"
+ version('3.99-0.5', sha256='60529b7360f162eba07da455eeb9b94a732b2dd623c49e0f04328a2e97bd53a6')
version('3.98-1.20', sha256='46af86376ea9a0fb1b440cf0acdf9b89178686a05c4b77728fcff1f023aa4858')
version('3.98-1.19', sha256='81b1c4a2df24c5747fa8b8ec2d76b4e9c3649b56ca94f6c93fbd106c8a72beab')
version('3.98-1.9', sha256='a3b70169cb2fbd8d61a41ff222d27922829864807e9ecad373f55ba0df6cf3c3')
@@ -22,4 +25,5 @@ class RXml(RPackage):
version('3.98-1.4', sha256='9c0abc75312f66aac564266b6b79222259c678aedee9fc347462978354f11126')
depends_on('r@2.13.0:', type=('build', 'run'))
+ depends_on('r@4.0.0:', when='@3.99-0.5:', type=('build', 'run'))
depends_on('libxml2@2.6.3:')
diff --git a/var/spack/repos/builtin/packages/r-xml2/package.py b/var/spack/repos/builtin/packages/r-xml2/package.py
index 7e12f208bf..f5dc24906a 100644
--- a/var/spack/repos/builtin/packages/r-xml2/package.py
+++ b/var/spack/repos/builtin/packages/r-xml2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-xnomial/package.py b/var/spack/repos/builtin/packages/r-xnomial/package.py
index eb26c95c70..6adc96c873 100644
--- a/var/spack/repos/builtin/packages/r-xnomial/package.py
+++ b/var/spack/repos/builtin/packages/r-xnomial/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-xopen/package.py b/var/spack/repos/builtin/packages/r-xopen/package.py
index 362553401a..3d64bc4b5c 100644
--- a/var/spack/repos/builtin/packages/r-xopen/package.py
+++ b/var/spack/repos/builtin/packages/r-xopen/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-xtable/package.py b/var/spack/repos/builtin/packages/r-xtable/package.py
index bc92f22721..16cf26086c 100644
--- a/var/spack/repos/builtin/packages/r-xtable/package.py
+++ b/var/spack/repos/builtin/packages/r-xtable/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-xts/package.py b/var/spack/repos/builtin/packages/r-xts/package.py
index 69c2ea107f..e7763e05b4 100644
--- a/var/spack/repos/builtin/packages/r-xts/package.py
+++ b/var/spack/repos/builtin/packages/r-xts/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RXts(RPackage):
- """Provide for uniform handling of R's different time-based data classes by
+ """eXtensible Time Series
+
+ Provide for uniform handling of R's different time-based data classes by
extending zoo, maximizing native format information preservation and
allowing for user level customization and extension, while simplifying
cross-class interoperability."""
@@ -16,6 +18,7 @@ class RXts(RPackage):
url = "https://cloud.r-project.org/src/contrib/xts_0.11-2.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/xts"
+ version('0.12.1', sha256='d680584af946fc30be0b2046e838cff7b3a65e00df1eadba325ca5e96f3dca2c')
version('0.11-2', sha256='12772f6a66aab5b84b0665c470f11a3d8d8a992955c027261cfe8e6077ee13b8')
version('0.9-7', sha256='f11f7cb98f4b92b7f6632a2151257914130880c267736ef5a264b5dc2dfb7098')
diff --git a/var/spack/repos/builtin/packages/r-xvector/package.py b/var/spack/repos/builtin/packages/r-xvector/package.py
index 1ee264a373..7567def3f5 100644
--- a/var/spack/repos/builtin/packages/r-xvector/package.py
+++ b/var/spack/repos/builtin/packages/r-xvector/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -8,7 +8,7 @@ from spack import *
class RXvector(RPackage):
"""Foundation of external vector representation and manipulation in
- Bioconductor.
+ Bioconductor
Provides memory efficient S4 classes for storing sequences "externally"
(e.g. behind an R external pointer, or on disk)."""
@@ -16,6 +16,7 @@ class RXvector(RPackage):
homepage = "https://bioconductor.org/packages/XVector"
git = "https://git.bioconductor.org/packages/XVector.git"
+ version('0.30.0', commit='985e963e0b1c3ff004dd0b07ad7c9ff7ed853ec0')
version('0.24.0', commit='e5109cb2687724b9fddddf296c07a82bae4c551d')
version('0.22.0', commit='b5e107a5fd719e18374eb836eb498b529afa4473')
version('0.20.0', commit='a83a7ea01f6a710f0ba7d9fb021cfa795b291cb4')
@@ -25,15 +26,14 @@ class RXvector(RPackage):
depends_on('r@2.8.0:', type=('build', 'run'))
depends_on('r-biocgenerics@0.19.2:', type=('build', 'run'))
depends_on('r-s4vectors@0.13.13:', type=('build', 'run'))
- depends_on('r-iranges@2.9.18:', type=('build', 'run'))
- depends_on('r-zlibbioc', type=('build', 'run'))
-
depends_on('r-s4vectors@0.15.14:', when='@0.18.0:', type=('build', 'run'))
-
depends_on('r-s4vectors@0.17.24:', when='@0.20.0:', type=('build', 'run'))
- depends_on('r-iranges@2.13.16:', when='@0.20.0:', type=('build', 'run'))
-
depends_on('r-s4vectors@0.19.15:', when='@0.22.0:', type=('build', 'run'))
- depends_on('r-iranges@2.15.12:', when='@0.22.0:', type=('build', 'run'))
-
depends_on('r-s4vectors@0.21.13:', when='@0.24.0:', type=('build', 'run'))
+ depends_on('r-s4vectors@0.27.12:', when='@0.30.0:', type=('build', 'run'))
+ depends_on('r-iranges@2.9.18:', type=('build', 'run'))
+ depends_on('r-iranges@2.13.16:', when='@0.20.0:', type=('build', 'run'))
+ depends_on('r-iranges@2.15.12:', when='@0.22.0:', type=('build', 'run'))
+ depends_on('r-iranges@2.23.9:', when='@0.30.0:', type=('build', 'run'))
+ depends_on('r-zlibbioc', type=('build', 'run'))
+ depends_on('zlib')
diff --git a/var/spack/repos/builtin/packages/r-yaimpute/package.py b/var/spack/repos/builtin/packages/r-yaimpute/package.py
index 6d15be6ff6..9da2563e84 100644
--- a/var/spack/repos/builtin/packages/r-yaimpute/package.py
+++ b/var/spack/repos/builtin/packages/r-yaimpute/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-yaml/package.py b/var/spack/repos/builtin/packages/r-yaml/package.py
index 60b5fab154..29e6b1c403 100644
--- a/var/spack/repos/builtin/packages/r-yaml/package.py
+++ b/var/spack/repos/builtin/packages/r-yaml/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,13 +7,16 @@ from spack import *
class RYaml(RPackage):
- """This package implements the libyaml YAML 1.1 parser and emitter
- (http://pyyaml.org/wiki/LibYAML) for R."""
+ """Methods to Convert R Data to YAML and Back
+
+ Implements the 'libyaml' 'YAML' 1.1 parser and emitter
+ (<http://pyyaml.org/wiki/LibYAML>) for R."""
homepage = "https://cloud.r-project.org/package=yaml"
url = "https://cloud.r-project.org/src/contrib/yaml_2.1.13.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/yaml"
+ version('2.2.1', sha256='1115b7bc2a397fa724956eec916df5160c600c99a3be186d21558dd38d782783')
version('2.2.0', sha256='55bcac87eca360ab5904914fcff473a6981a1f5e6d2215d2634344d0ac30c546')
version('2.1.19', sha256='e5db035693ac765e4b5fe1fc2e9711f8ca73e398e3f2bf27cc60def59ccd7f11')
version('2.1.14', sha256='41a559846f6d44cc2dbcb3fc0becbc50d2766d3dc2aad7cfb97c1f9759ec0875')
diff --git a/var/spack/repos/builtin/packages/r-yapsa/package.py b/var/spack/repos/builtin/packages/r-yapsa/package.py
index a6facc807d..0f646664a4 100644
--- a/var/spack/repos/builtin/packages/r-yapsa/package.py
+++ b/var/spack/repos/builtin/packages/r-yapsa/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RYapsa(RPackage):
- """Yet Another Package for Signature Analysis.
+ """Yet Another Package for Signature Analysis
This package provides functions and routines useful in the analysis of
somatic signatures (cf. L. Alexandrov et al., Nature 2013). In
@@ -19,6 +19,7 @@ class RYapsa(RPackage):
homepage = "https://bioconductor.org/packages/YAPSA"
git = "https://git.bioconductor.org/packages/YAPSA.git"
+ version('1.16.0', commit='f344cdb81bb886c633f9325f811912fb59d58eb1')
version('1.10.0', commit='06af18e424868eb0f0be6c80e90cbab1eabf3d73')
version('1.8.0', commit='402f3f7774fdf8afc7883579ad651c26df0f8fdb')
version('1.6.0', commit='2455d272b076835ddb36ad21c01ef15af66abc36')
@@ -26,9 +27,10 @@ class RYapsa(RPackage):
version('1.2.0', commit='320809b69e470e30a777a383f8341f93064ec24d')
depends_on('r@3.3.0:', type=('build', 'run'))
+ depends_on('r@3.6.0:', when='@1.16.0:', type=('build', 'run'))
depends_on('r-genomicranges', type=('build', 'run'))
depends_on('r-ggplot2', type=('build', 'run'))
- depends_on('r-lsei', type=('build', 'run'))
+ depends_on('r-limsolve', when='@1.16.0:', type=('build', 'run'))
depends_on('r-somaticsignatures', type=('build', 'run'))
depends_on('r-variantannotation', type=('build', 'run'))
depends_on('r-genomeinfodb', type=('build', 'run'))
@@ -39,6 +41,14 @@ class RYapsa(RPackage):
depends_on('r-getoptlong', type=('build', 'run'))
depends_on('r-circlize', type=('build', 'run'))
depends_on('r-gtrellis', type=('build', 'run'))
+ depends_on('r-doparallel', when='@1.16.0:', type=('build', 'run'))
depends_on('r-pmcmr', type=('build', 'run'))
+ depends_on('r-ggbeeswarm', when='@1.16.0:', type=('build', 'run'))
depends_on('r-complexheatmap', type=('build', 'run'))
depends_on('r-keggrest', type=('build', 'run'))
+ depends_on('r-biostrings', when='@1.16.0:', type=('build', 'run'))
+ depends_on('r-bsgenome-hsapiens-ucsc-hg19', when='@1.16.0:', type=('build', 'run'))
+ depends_on('r-magrittr', when='@1.16.0:', type=('build', 'run'))
+ depends_on('r-pracma', when='@1.16.0:', type=('build', 'run'))
+ depends_on('r-dplyr', when='@1.16.0:', type=('build', 'run'))
+ depends_on('r-lsei', when='@:1.10.0', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-yaqcaffy/package.py b/var/spack/repos/builtin/packages/r-yaqcaffy/package.py
index eb5ac5f82c..05f100f306 100644
--- a/var/spack/repos/builtin/packages/r-yaqcaffy/package.py
+++ b/var/spack/repos/builtin/packages/r-yaqcaffy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RYaqcaffy(RPackage):
- """Affymetrix expression data quality control and reproducibility analysis.
+ """Affymetrix expression data quality control and reproducibility analysis
Quality control of Affymetrix GeneChip expression data and
reproducibility analysis of human whole genome chips with the MAQC
@@ -16,6 +16,7 @@ class RYaqcaffy(RPackage):
homepage = "https://bioconductor.org/packages/yaqcaffy"
git = "https://git.bioconductor.org/packages/yaqcaffy.git"
+ version('1.50.0', commit='b32e6b947ca9c4ab7163cfddc084a1bc0a34780e')
version('1.44.0', commit='00898f3ec9ac0beadbcf57bda3d3c1c99fb0c3c0')
version('1.42.0', commit='a4af673774165e087499ecc35f96aab6bbfbeea1')
version('1.40.0', commit='0c78f8ff8f675305f6fa4b052d2482e9aee551bb')
diff --git a/var/spack/repos/builtin/packages/r-yarn/package.py b/var/spack/repos/builtin/packages/r-yarn/package.py
index 8cec9b3612..7329f7caeb 100644
--- a/var/spack/repos/builtin/packages/r-yarn/package.py
+++ b/var/spack/repos/builtin/packages/r-yarn/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RYarn(RPackage):
- """YARN: Robust Multi-Condition RNA-Seq Preprocessing and Normalization.
+ """YARN: Robust Multi-Condition RNA-Seq Preprocessing and Normalization
Expedite large RNA-Seq analyses using a combination of previously
developed tools. YARN is meant to make it easier for the user in
@@ -19,6 +19,7 @@ class RYarn(RPackage):
homepage = "https://bioconductor.org/packages/yarn"
git = "https://git.bioconductor.org/packages/yarn.git"
+ version('1.16.0', commit='ff5a18cb946ffec3cb773fe32af401c8a72d674a')
version('1.10.0', commit='36ffe84148eb871e93bc8f9e697475319b5ea472')
version('1.8.1', commit='ee0723d4dbf082b4469ca9c22cce4f1a2ac81c04')
version('1.6.0', commit='19d1b2ef275f294bd318b86e0d237c271880117d')
diff --git a/var/spack/repos/builtin/packages/r-zcompositions/package.py b/var/spack/repos/builtin/packages/r-zcompositions/package.py
new file mode 100644
index 0000000000..1fb90f2fc0
--- /dev/null
+++ b/var/spack/repos/builtin/packages/r-zcompositions/package.py
@@ -0,0 +1,26 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RZcompositions(RPackage):
+ """Treatment of Zeros, Left-Censored and Missing Values in Compositional
+ Data Sets
+
+ Principled methods for the imputation of zeros, left-censored and missing
+ data in compositional data sets (Palarea-Albaladejo and Martin-Fernandez
+ (2015) <doi:10.1016/j.chemolab.2015.02.019>)."""
+
+ homepage = "https://cloud.r-project.org/package=zCompositions"
+ url = "https://cloud.r-project.org/src/contrib/zCompositions_1.3.4.tar.gz"
+ list_url = "https://cloud.r-project.org/src/contrib/Archive/zCompositions"
+
+ version('1.3.4', sha256='ae22c86fe92368a26265933f42eecc518b9b69e7d9b698bc31bfaabfc3c48e95')
+
+ depends_on('r@2.14.0:', type=('build', 'run'))
+ depends_on('r-mass', type=('build', 'run'))
+ depends_on('r-nada', type=('build', 'run'))
+ depends_on('r-truncnorm', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r-zeallot/package.py b/var/spack/repos/builtin/packages/r-zeallot/package.py
index 67c0a8b27c..b86f7618b6 100644
--- a/var/spack/repos/builtin/packages/r-zeallot/package.py
+++ b/var/spack/repos/builtin/packages/r-zeallot/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/r-zip/package.py b/var/spack/repos/builtin/packages/r-zip/package.py
index dc5a2341c9..ed56a8009c 100644
--- a/var/spack/repos/builtin/packages/r-zip/package.py
+++ b/var/spack/repos/builtin/packages/r-zip/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RZip(RPackage):
- """Cross-Platform 'zip' Compression Library. A replacement for the 'zip'
+ """Cross-Platform 'zip' Compression
+
+ Cross-Platform 'zip' Compression Library. A replacement for the 'zip'
function, that does not require any additional external tools on any
platform."""
@@ -15,4 +17,5 @@ class RZip(RPackage):
url = "https://cloud.r-project.org/src/contrib/zip_2.0.3.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/zip"
+ version('2.1.1', sha256='11dd417932296d3a25c53aa8d3b908973c4945a496cc473dd321825dfaaa7c2c')
version('2.0.3', sha256='4a8cb8e41eb630bbf448a0fd56bcaeb752b8484fef98c6419334edf46401317e')
diff --git a/var/spack/repos/builtin/packages/r-zlibbioc/package.py b/var/spack/repos/builtin/packages/r-zlibbioc/package.py
index 2e4f8175ea..ced5ec2f16 100644
--- a/var/spack/repos/builtin/packages/r-zlibbioc/package.py
+++ b/var/spack/repos/builtin/packages/r-zlibbioc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,7 @@ from spack import *
class RZlibbioc(RPackage):
- """An R packaged zlib-1.2.5.
+ """An R packaged zlib-1.2.5
This package uses the source code of zlib-1.2.5 to create libraries for
systems that do not have these available via other means (most Linux and
@@ -17,6 +17,7 @@ class RZlibbioc(RPackage):
homepage = "https://bioconductor.org/packages/zlibbioc"
git = "https://git.bioconductor.org/packages/zlibbioc.git"
+ version('1.36.0', commit='62e888cd7fb482d512c6c31961b657e0b924e357')
version('1.30.0', commit='99eae5b05968bf6abc9b54b9031afd93517381e0')
version('1.28.0', commit='b825b042742ba45455fc284b988ff4cd2a33222c')
version('1.26.0', commit='2e3ab097caa09a5e3ddaa3469b13e19a7224da0d')
diff --git a/var/spack/repos/builtin/packages/r-zoo/package.py b/var/spack/repos/builtin/packages/r-zoo/package.py
index 6c12d29e21..e1000200fc 100644
--- a/var/spack/repos/builtin/packages/r-zoo/package.py
+++ b/var/spack/repos/builtin/packages/r-zoo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -7,7 +7,9 @@ from spack import *
class RZoo(RPackage):
- """An S3 class with methods for totally ordered indexed observations. It is
+ """S3 Infrastructure for Regular and Irregular Time Series (Z's Ordered Observations)
+
+ An S3 class with methods for totally ordered indexed observations. It is
particularly aimed at irregular time series of numeric vectors/matrices and
factors. zoo's key design goals are independence of a particular
index/date/time class and consistency with ts and base R by providing
@@ -17,11 +19,12 @@ class RZoo(RPackage):
url = "https://cloud.r-project.org/src/contrib/zoo_1.7-14.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/zoo"
+ version('1.8-8', sha256='4e8cc4065047ba12e103b9664f3b607c770673096e9c2b694fad2b2ec3203ce7')
version('1.8-6', sha256='2217a4f362f2201443b5fdbfd9a77d9a6caeecb05f02d703ee8b3b9bf2af37cc')
version('1.8-5', sha256='8773969973d28d7d1a48f74b73be1dbd97acb3b22a4668a102e8bb585a7de826')
version('1.7-14', sha256='4858675fed056a4329c4998517cc944db386447483390bd342de719e0509f598')
version('1.7-13', sha256='0ca5264d6077c785963705e462aec3e57e0d0651379f9bf4ee32e4f3b25dc754')
- depends_on('r@2.10.0:', when='@:1.8-1', type=('build', 'run'))
+ depends_on('r@2.10.0:', type=('build', 'run'))
depends_on('r@3.1.0:', when='@1.8-2:', type=('build', 'run'))
depends_on('r-lattice@0.20-27:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/r/package.py b/var/spack/repos/builtin/packages/r/package.py
index 6514f14d9d..fdd9114705 100644
--- a/var/spack/repos/builtin/packages/r/package.py
+++ b/var/spack/repos/builtin/packages/r/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -21,6 +21,9 @@ class R(AutotoolsPackage):
extendable = True
+ maintainers = ['glennpj']
+
+ version('4.0.4', sha256='523f27d69744a08c8f0bd5e1e6c3d89a4db29ed983388ba70963a3cd3a4a802e')
version('4.0.3', sha256='09983a8a78d5fb6bc45d27b1c55f9ba5265f78fa54a55c13ae691f87c5bb9e0d')
version('4.0.2', sha256='d3bceab364da0876625e4097808b42512395fdf41292f4915ab1fd257c1bbe75')
version('4.0.1', sha256='95fe24a4d8d8f8f888460c8f5fe4311cec656e7a1722d233218bc03861bc6f32')
@@ -53,41 +56,34 @@ class R(AutotoolsPackage):
variant('external-lapack', default=False,
description='Links to externally installed BLAS/LAPACK')
variant('X', default=False,
- description='Enable X11 support (call configure --with-x)')
+ description='Enable X11 support (TCLTK, PNG, JPEG, TIFF, CAIRO)')
variant('memory_profiling', default=False,
description='Enable memory profiling')
variant('rmath', default=False,
description='Build standalone Rmath library')
- # Virtual dependencies
depends_on('blas', when='+external-lapack')
depends_on('lapack', when='+external-lapack')
-
- # Concrete dependencies.
- depends_on('readline')
- depends_on('ncurses')
+ depends_on('bzip2')
+ depends_on('curl')
depends_on('icu4c')
- depends_on('glib')
+ depends_on('java')
+ depends_on('ncurses')
+ depends_on('pcre', when='@:3.6.3')
+ depends_on('pcre2', when='@4:')
+ depends_on('readline')
+ depends_on('xz')
depends_on('zlib@1.2.5:')
- depends_on('bzip2')
- depends_on('libtiff')
- depends_on('jpeg')
- depends_on('cairo+pdf')
- depends_on('cairo+X', when='+X')
- depends_on('cairo~X', when='~X')
- depends_on('pango')
+ depends_on('cairo+X+gobject+pdf', when='+X')
depends_on('pango+X', when='+X')
- depends_on('pango~X', when='~X')
- depends_on('freetype')
- depends_on('tcl')
- depends_on('tk', when='+X')
+ depends_on('harfbuzz+graphite2', when='+X')
+ depends_on('jpeg', when='+X')
+ depends_on('libpng', when='+X')
+ depends_on('libtiff', when='+X')
depends_on('libx11', when='+X')
- depends_on('libxt', when='+X')
depends_on('libxmu', when='+X')
- depends_on('curl')
- depends_on('pcre2', when='@4:')
- depends_on('pcre', when='@:3.6.3')
- depends_on('java')
+ depends_on('libxt', when='+X')
+ depends_on('tk', when='+X')
patch('zlib.patch', when='@:3.3.2')
@@ -127,23 +123,15 @@ class R(AutotoolsPackage):
spec = self.spec
prefix = self.prefix
- tcl_config_path = join_path(
- spec['tcl'].libs.directories[0], 'tclConfig.sh')
-
config_args = [
'--libdir={0}'.format(join_path(prefix, 'rlib')),
'--enable-R-shlib',
'--enable-BLAS-shlib',
'--enable-R-framework=no',
'--without-recommended-packages',
- '--with-tcl-config={0}'.format(tcl_config_path),
'LDFLAGS=-L{0} -Wl,-rpath,{0}'.format(join_path(prefix, 'rlib',
'R', 'lib')),
]
- if '^tk' in spec:
- tk_config_path = join_path(
- spec['tk'].libs.directories[0], 'tkConfig.sh')
- config_args.append('--with-tk-config={0}'.format(tk_config_path))
if '+external-lapack' in spec:
if '^mkl' in spec and 'gfortran' in self.compiler.fc:
@@ -161,8 +149,26 @@ class R(AutotoolsPackage):
])
if '+X' in spec:
+ config_args.append('--with-cairo')
+ config_args.append('--with-jpeglib')
+ config_args.append('--with-libpng')
+ config_args.append('--with-libtiff')
+ config_args.append('--with-tcltk')
config_args.append('--with-x')
+
+ tcl_config_path = join_path(
+ spec['tcl'].libs.directories[0], 'tclConfig.sh')
+ config_args.append('--with-tcl-config={0}'.format(tcl_config_path))
+
+ tk_config_path = join_path(
+ spec['tk'].libs.directories[0], 'tkConfig.sh')
+ config_args.append('--with-tk-config={0}'.format(tk_config_path))
else:
+ config_args.append('--without-cairo')
+ config_args.append('--without-jpeglib')
+ config_args.append('--without-libpng')
+ config_args.append('--without-libtiff')
+ config_args.append('--without-tcltk')
config_args.append('--without-x')
if '+memory_profiling' in spec:
diff --git a/var/spack/repos/builtin/packages/r3d/package.py b/var/spack/repos/builtin/packages/r3d/package.py
index 228a0dbaa6..54a4754ccc 100644
--- a/var/spack/repos/builtin/packages/r3d/package.py
+++ b/var/spack/repos/builtin/packages/r3d/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/rabbitmq/package.py b/var/spack/repos/builtin/packages/rabbitmq/package.py
index e496af820c..d9f5d18ad0 100644
--- a/var/spack/repos/builtin/packages/rabbitmq/package.py
+++ b/var/spack/repos/builtin/packages/rabbitmq/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/racon/aarch64.patch b/var/spack/repos/builtin/packages/racon/aarch64.patch
index 332be1179d..57c01876b3 100644
--- a/var/spack/repos/builtin/packages/racon/aarch64.patch
+++ b/var/spack/repos/builtin/packages/racon/aarch64.patch
@@ -1,2792 +1,3 @@
-diff --git a/vendor/spoa/include/arch/aarch64/sse2neon.h b/vendor/spoa/include/arch/aarch64/sse2neon.h
-new file mode 100644
-index 0000000..1477ae1
---- /dev/null
-+++ b/vendor/spoa/include/arch/aarch64/sse2neon.h
-@@ -0,0 +1,2783 @@
-+#ifndef SSE2NEON_H
-+#define SSE2NEON_H
-+
-+// This header file provides a simple API translation layer
-+// between SSE intrinsics to their corresponding Arm/Aarch64 NEON versions
-+//
-+// This header file does not yet translate all of the SSE intrinsics.
-+//
-+// Contributors to this work are:
-+// John W. Ratcliff <jratcliffscarab@gmail.com>
-+// Brandon Rowlett <browlett@nvidia.com>
-+// Ken Fast <kfast@gdeb.com>
-+// Eric van Beurden <evanbeurden@nvidia.com>
-+// Alexander Potylitsin <apotylitsin@nvidia.com>
-+// Hasindu Gamaarachchi <hasindu2008@gmail.com>
-+// Jim Huang <jserv@biilabs.io>
-+// Mark Cheng <marktwtn@biilabs.io>
-+// Malcolm James MacLeod <malcolm@gulden.com>
-+
-+/*
-+ * The MIT license:
-+ *
-+ * Permission is hereby granted, free of charge, to any person obtaining a copy
-+ * of this software and associated documentation files (the "Software"), to deal
-+ * in the Software without restriction, including without limitation the rights
-+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-+ * copies of the Software, and to permit persons to whom the Software is
-+ * furnished to do so, subject to the following conditions:
-+ *
-+ * The above copyright notice and this permission notice shall be included in
-+ * all copies or substantial portions of the Software.
-+ *
-+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-+ * SOFTWARE.
-+ */
-+
-+#if defined(__GNUC__) || defined(__clang__)
-+
-+#pragma push_macro("FORCE_INLINE")
-+#pragma push_macro("ALIGN_STRUCT")
-+#define FORCE_INLINE static inline __attribute__((always_inline))
-+#define ALIGN_STRUCT(x) __attribute__((aligned(x)))
-+
-+#else
-+
-+#error "Macro name collisions may happens with unknown compiler"
-+#ifdef FORCE_INLINE
-+#undef FORCE_INLINE
-+#endif
-+#define FORCE_INLINE static inline
-+#ifndef ALIGN_STRUCT
-+#define ALIGN_STRUCT(x) __declspec(align(x))
-+#endif
-+
-+#endif
-+
-+#include <stdint.h>
-+
-+#include "arm_neon.h"
-+
-+/**
-+ * MACRO for shuffle parameter for _mm_shuffle_ps().
-+ * Argument fp3 is a digit[0123] that represents the fp from argument "b"
-+ * of mm_shuffle_ps that will be placed in fp3 of result. fp2 is the same
-+ * for fp2 in result. fp1 is a digit[0123] that represents the fp from
-+ * argument "a" of mm_shuffle_ps that will be places in fp1 of result.
-+ * fp0 is the same for fp0 of result.
-+ */
-+#define _MM_SHUFFLE(fp3, fp2, fp1, fp0) \
-+ (((fp3) << 6) | ((fp2) << 4) | ((fp1) << 2) | ((fp0)))
-+
-+/* indicate immediate constant argument in a given range */
-+#define __constrange(a, b) const
-+
-+typedef float32x2_t __m64;
-+typedef float32x4_t __m128;
-+typedef int32x4_t __m128i;
-+
-+// ******************************************
-+// type-safe casting between types
-+// ******************************************
-+
-+#define vreinterpretq_m128_f16(x) vreinterpretq_f32_f16(x)
-+#define vreinterpretq_m128_f32(x) (x)
-+#define vreinterpretq_m128_f64(x) vreinterpretq_f32_f64(x)
-+
-+#define vreinterpretq_m128_u8(x) vreinterpretq_f32_u8(x)
-+#define vreinterpretq_m128_u16(x) vreinterpretq_f32_u16(x)
-+#define vreinterpretq_m128_u32(x) vreinterpretq_f32_u32(x)
-+#define vreinterpretq_m128_u64(x) vreinterpretq_f32_u64(x)
-+
-+#define vreinterpretq_m128_s8(x) vreinterpretq_f32_s8(x)
-+#define vreinterpretq_m128_s16(x) vreinterpretq_f32_s16(x)
-+#define vreinterpretq_m128_s32(x) vreinterpretq_f32_s32(x)
-+#define vreinterpretq_m128_s64(x) vreinterpretq_f32_s64(x)
-+
-+#define vreinterpretq_f16_m128(x) vreinterpretq_f16_f32(x)
-+#define vreinterpretq_f32_m128(x) (x)
-+#define vreinterpretq_f64_m128(x) vreinterpretq_f64_f32(x)
-+
-+#define vreinterpretq_u8_m128(x) vreinterpretq_u8_f32(x)
-+#define vreinterpretq_u16_m128(x) vreinterpretq_u16_f32(x)
-+#define vreinterpretq_u32_m128(x) vreinterpretq_u32_f32(x)
-+#define vreinterpretq_u64_m128(x) vreinterpretq_u64_f32(x)
-+
-+#define vreinterpretq_s8_m128(x) vreinterpretq_s8_f32(x)
-+#define vreinterpretq_s16_m128(x) vreinterpretq_s16_f32(x)
-+#define vreinterpretq_s32_m128(x) vreinterpretq_s32_f32(x)
-+#define vreinterpretq_s64_m128(x) vreinterpretq_s64_f32(x)
-+
-+#define vreinterpretq_m128i_s8(x) vreinterpretq_s32_s8(x)
-+#define vreinterpretq_m128i_s16(x) vreinterpretq_s32_s16(x)
-+#define vreinterpretq_m128i_s32(x) (x)
-+#define vreinterpretq_m128i_s64(x) vreinterpretq_s32_s64(x)
-+
-+#define vreinterpretq_m128i_u8(x) vreinterpretq_s32_u8(x)
-+#define vreinterpretq_m128i_u16(x) vreinterpretq_s32_u16(x)
-+#define vreinterpretq_m128i_u32(x) vreinterpretq_s32_u32(x)
-+#define vreinterpretq_m128i_u64(x) vreinterpretq_s32_u64(x)
-+
-+#define vreinterpretq_s8_m128i(x) vreinterpretq_s8_s32(x)
-+#define vreinterpretq_s16_m128i(x) vreinterpretq_s16_s32(x)
-+#define vreinterpretq_s32_m128i(x) (x)
-+#define vreinterpretq_s64_m128i(x) vreinterpretq_s64_s32(x)
-+
-+#define vreinterpretq_u8_m128i(x) vreinterpretq_u8_s32(x)
-+#define vreinterpretq_u16_m128i(x) vreinterpretq_u16_s32(x)
-+#define vreinterpretq_u32_m128i(x) vreinterpretq_u32_s32(x)
-+#define vreinterpretq_u64_m128i(x) vreinterpretq_u64_s32(x)
-+
-+// A struct is defined in this header file called 'SIMDVec' which can be used
-+// by applications which attempt to access the contents of an _m128 struct
-+// directly. It is important to note that accessing the __m128 struct directly
-+// is bad coding practice by Microsoft: @see:
-+// https://msdn.microsoft.com/en-us/library/ayeb3ayc.aspx
-+//
-+// However, some legacy source code may try to access the contents of an __m128
-+// struct directly so the developer can use the SIMDVec as an alias for it. Any
-+// casting must be done manually by the developer, as you cannot cast or
-+// otherwise alias the base NEON data type for intrinsic operations.
-+//
-+// union intended to allow direct access to an __m128 variable using the names
-+// that the MSVC compiler provides. This union should really only be used when
-+// trying to access the members of the vector as integer values. GCC/clang
-+// allow native access to the float members through a simple array access
-+// operator (in C since 4.6, in C++ since 4.8).
-+//
-+// Ideally direct accesses to SIMD vectors should not be used since it can cause
-+// a performance hit. If it really is needed however, the original __m128
-+// variable can be aliased with a pointer to this union and used to access
-+// individual components. The use of this union should be hidden behind a macro
-+// that is used throughout the codebase to access the members instead of always
-+// declaring this type of variable.
-+typedef union ALIGN_STRUCT(16) SIMDVec {
-+ float
-+ m128_f32[4]; // as floats - do not to use this. Added for convenience.
-+ int8_t m128_i8[16]; // as signed 8-bit integers.
-+ int16_t m128_i16[8]; // as signed 16-bit integers.
-+ int32_t m128_i32[4]; // as signed 32-bit integers.
-+ int64_t m128_i64[2]; // as signed 64-bit integers.
-+ uint8_t m128_u8[16]; // as unsigned 8-bit integers.
-+ uint16_t m128_u16[8]; // as unsigned 16-bit integers.
-+ uint32_t m128_u32[4]; // as unsigned 32-bit integers.
-+ uint64_t m128_u64[2]; // as unsigned 64-bit integers.
-+} SIMDVec;
-+
-+// casting using SIMDVec
-+#define vreinterpretq_nth_u64_m128i(x, n) (((SIMDVec *) &x)->m128_u64[n])
-+#define vreinterpretq_nth_u32_m128i(x, n) (((SIMDVec *) &x)->m128_u32[n])
-+
-+
-+// ******************************************
-+// Backwards compatibility for compilers with lack of specific type support
-+// ******************************************
-+
-+// Older gcc does not define vld1q_u8_x4 type
-+#if defined(__GNUC__) && !defined(__clang__)
-+#if __GNUC__ < 9 || (__GNUC__ == 9 && (__GNUC_MINOR__ <= 2))
-+FORCE_INLINE uint8x16x4_t vld1q_u8_x4(const uint8_t *p)
-+{
-+ uint8x16x4_t ret;
-+ ret.val[0] = vld1q_u8(p + 0);
-+ ret.val[1] = vld1q_u8(p + 16);
-+ ret.val[2] = vld1q_u8(p + 32);
-+ ret.val[3] = vld1q_u8(p + 48);
-+ return ret;
-+}
-+#endif
-+#endif
-+
-+
-+// ******************************************
-+// Set/get methods
-+// ******************************************
-+
-+// Loads one cache line of data from address p to a location closer to the
-+// processor. https://msdn.microsoft.com/en-us/library/84szxsww(v=vs.100).aspx
-+FORCE_INLINE void _mm_prefetch(const void *p, int i)
-+{
-+ __builtin_prefetch(p);
-+}
-+
-+// extracts the lower order floating point value from the parameter :
-+// https://msdn.microsoft.com/en-us/library/bb514059%28v=vs.120%29.aspx?f=255&MSPPError=-2147217396
-+FORCE_INLINE float _mm_cvtss_f32(__m128 a)
-+{
-+ return vgetq_lane_f32(vreinterpretq_f32_m128(a), 0);
-+}
-+
-+// Sets the 128-bit value to zero
-+// https://msdn.microsoft.com/en-us/library/vstudio/ys7dw0kh(v=vs.100).aspx
-+FORCE_INLINE __m128i _mm_setzero_si128(void)
-+{
-+ return vreinterpretq_m128i_s32(vdupq_n_s32(0));
-+}
-+
-+// Clears the four single-precision, floating-point values.
-+// https://msdn.microsoft.com/en-us/library/vstudio/tk1t2tbz(v=vs.100).aspx
-+FORCE_INLINE __m128 _mm_setzero_ps(void)
-+{
-+ return vreinterpretq_m128_f32(vdupq_n_f32(0));
-+}
-+
-+// Sets the four single-precision, floating-point values to w.
-+//
-+// r0 := r1 := r2 := r3 := w
-+//
-+// https://msdn.microsoft.com/en-us/library/vstudio/2x1se8ha(v=vs.100).aspx
-+FORCE_INLINE __m128 _mm_set1_ps(float _w)
-+{
-+ return vreinterpretq_m128_f32(vdupq_n_f32(_w));
-+}
-+
-+// Sets the four single-precision, floating-point values to w.
-+// https://msdn.microsoft.com/en-us/library/vstudio/2x1se8ha(v=vs.100).aspx
-+FORCE_INLINE __m128 _mm_set_ps1(float _w)
-+{
-+ return vreinterpretq_m128_f32(vdupq_n_f32(_w));
-+}
-+
-+// Sets the four single-precision, floating-point values to the four inputs.
-+// https://msdn.microsoft.com/en-us/library/vstudio/afh0zf75(v=vs.100).aspx
-+FORCE_INLINE __m128 _mm_set_ps(float w, float z, float y, float x)
-+{
-+ float __attribute__((aligned(16))) data[4] = {x, y, z, w};
-+ return vreinterpretq_m128_f32(vld1q_f32(data));
-+}
-+
-+// Sets the four single-precision, floating-point values to the four inputs in
-+// reverse order.
-+// https://msdn.microsoft.com/en-us/library/vstudio/d2172ct3(v=vs.100).aspx
-+FORCE_INLINE __m128 _mm_setr_ps(float w, float z, float y, float x)
-+{
-+ float __attribute__((aligned(16))) data[4] = {w, z, y, x};
-+ return vreinterpretq_m128_f32(vld1q_f32(data));
-+}
-+
-+// Sets the 8 signed 16-bit integer values in reverse order.
-+//
-+// Return Value
-+// r0 := w0
-+// r1 := w1
-+// ...
-+// r7 := w7
-+FORCE_INLINE __m128i _mm_setr_epi16(short w0,
-+ short w1,
-+ short w2,
-+ short w3,
-+ short w4,
-+ short w5,
-+ short w6,
-+ short w7)
-+{
-+ int16_t __attribute__((aligned(16)))
-+ data[8] = {w0, w1, w2, w3, w4, w5, w6, w7};
-+ return vreinterpretq_m128i_s16(vld1q_s16((int16_t *) data));
-+}
-+
-+// Sets the 4 signed 32-bit integer values in reverse order
-+// https://technet.microsoft.com/en-us/library/security/27yb3ee5(v=vs.90).aspx
-+FORCE_INLINE __m128i _mm_setr_epi32(int i3, int i2, int i1, int i0)
-+{
-+ int32_t __attribute__((aligned(16))) data[4] = {i3, i2, i1, i0};
-+ return vreinterpretq_m128i_s32(vld1q_s32(data));
-+}
-+
-+// Sets the 16 signed 8-bit integer values to b.
-+//
-+// r0 := b
-+// r1 := b
-+// ...
-+// r15 := b
-+//
-+// https://msdn.microsoft.com/en-us/library/6e14xhyf(v=vs.100).aspx
-+FORCE_INLINE __m128i _mm_set1_epi8(char w)
-+{
-+ return vreinterpretq_m128i_s8(vdupq_n_s8(w));
-+}
-+
-+// Sets the 8 signed 16-bit integer values to w.
-+//
-+// r0 := w
-+// r1 := w
-+// ...
-+// r7 := w
-+//
-+// https://msdn.microsoft.com/en-us/library/k0ya3x0e(v=vs.90).aspx
-+FORCE_INLINE __m128i _mm_set1_epi16(short w)
-+{
-+ return vreinterpretq_m128i_s16(vdupq_n_s16(w));
-+}
-+
-+// Sets the 16 signed 8-bit integer values.
-+// https://msdn.microsoft.com/en-us/library/x0cx8zd3(v=vs.90).aspx
-+FORCE_INLINE __m128i _mm_set_epi8(char b15,
-+ char b14,
-+ char b13,
-+ char b12,
-+ char b11,
-+ char b10,
-+ char b9,
-+ char b8,
-+ char b7,
-+ char b6,
-+ char b5,
-+ char b4,
-+ char b3,
-+ char b2,
-+ char b1,
-+ char b0)
-+{
-+ int8_t __attribute__((aligned(16)))
-+ data[16] = {(int8_t) b0, (int8_t) b1, (int8_t) b2, (int8_t) b3,
-+ (int8_t) b4, (int8_t) b5, (int8_t) b6, (int8_t) b7,
-+ (int8_t) b8, (int8_t) b9, (int8_t) b10, (int8_t) b11,
-+ (int8_t) b12, (int8_t) b13, (int8_t) b14, (int8_t) b15};
-+ return (__m128i) vld1q_s8(data);
-+}
-+
-+// Sets the 8 signed 16-bit integer values.
-+// https://msdn.microsoft.com/en-au/library/3e0fek84(v=vs.90).aspx
-+FORCE_INLINE __m128i _mm_set_epi16(short i7,
-+ short i6,
-+ short i5,
-+ short i4,
-+ short i3,
-+ short i2,
-+ short i1,
-+ short i0)
-+{
-+ int16_t __attribute__((aligned(16)))
-+ data[8] = {i0, i1, i2, i3, i4, i5, i6, i7};
-+ return vreinterpretq_m128i_s16(vld1q_s16(data));
-+}
-+
-+// Sets the 16 signed 8-bit integer values in reverse order.
-+// https://msdn.microsoft.com/en-us/library/2khb9c7k(v=vs.90).aspx
-+FORCE_INLINE __m128i _mm_setr_epi8(char b0,
-+ char b1,
-+ char b2,
-+ char b3,
-+ char b4,
-+ char b5,
-+ char b6,
-+ char b7,
-+ char b8,
-+ char b9,
-+ char b10,
-+ char b11,
-+ char b12,
-+ char b13,
-+ char b14,
-+ char b15)
-+{
-+ int8_t __attribute__((aligned(16)))
-+ data[16] = {(int8_t) b0, (int8_t) b1, (int8_t) b2, (int8_t) b3,
-+ (int8_t) b4, (int8_t) b5, (int8_t) b6, (int8_t) b7,
-+ (int8_t) b8, (int8_t) b9, (int8_t) b10, (int8_t) b11,
-+ (int8_t) b12, (int8_t) b13, (int8_t) b14, (int8_t) b15};
-+ return (__m128i) vld1q_s8(data);
-+}
-+
-+// Sets the 4 signed 32-bit integer values to i.
-+//
-+// r0 := i
-+// r1 := i
-+// r2 := i
-+// r3 := I
-+//
-+// https://msdn.microsoft.com/en-us/library/vstudio/h4xscxat(v=vs.100).aspx
-+FORCE_INLINE __m128i _mm_set1_epi32(int _i)
-+{
-+ return vreinterpretq_m128i_s32(vdupq_n_s32(_i));
-+}
-+
-+// Sets the 4 signed 64-bit integer values to i.
-+// https://msdn.microsoft.com/en-us/library/vstudio/h4xscxat(v=vs.100).aspx
-+FORCE_INLINE __m128i _mm_set1_epi64(int64_t _i)
-+{
-+ return vreinterpretq_m128i_s64(vdupq_n_s64(_i));
-+}
-+
-+// Sets the 4 signed 32-bit integer values.
-+// https://msdn.microsoft.com/en-us/library/vstudio/019beekt(v=vs.100).aspx
-+FORCE_INLINE __m128i _mm_set_epi32(int i3, int i2, int i1, int i0)
-+{
-+ int32_t __attribute__((aligned(16))) data[4] = {i0, i1, i2, i3};
-+ return vreinterpretq_m128i_s32(vld1q_s32(data));
-+}
-+
-+// Returns the __m128i structure with its two 64-bit integer values
-+// initialized to the values of the two 64-bit integers passed in.
-+// https://msdn.microsoft.com/en-us/library/dk2sdw0h(v=vs.120).aspx
-+FORCE_INLINE __m128i _mm_set_epi64x(int64_t i1, int64_t i2)
-+{
-+ int64_t __attribute__((aligned(16))) data[2] = {i2, i1};
-+ return vreinterpretq_m128i_s64(vld1q_s64(data));
-+}
-+
-+// Stores four single-precision, floating-point values.
-+// https://msdn.microsoft.com/en-us/library/vstudio/s3h4ay6y(v=vs.100).aspx
-+FORCE_INLINE void _mm_store_ps(float *p, __m128 a)
-+{
-+ vst1q_f32(p, vreinterpretq_f32_m128(a));
-+}
-+
-+// Stores four single-precision, floating-point values.
-+// https://msdn.microsoft.com/en-us/library/44e30x22(v=vs.100).aspx
-+FORCE_INLINE void _mm_storeu_ps(float *p, __m128 a)
-+{
-+ vst1q_f32(p, vreinterpretq_f32_m128(a));
-+}
-+
-+// Stores four 32-bit integer values as (as a __m128i value) at the address p.
-+// https://msdn.microsoft.com/en-us/library/vstudio/edk11s13(v=vs.100).aspx
-+FORCE_INLINE void _mm_store_si128(__m128i *p, __m128i a)
-+{
-+ vst1q_s32((int32_t *) p, vreinterpretq_s32_m128i(a));
-+}
-+
-+// Stores four 32-bit integer values as (as a __m128i value) at the address p.
-+// https://msdn.microsoft.com/en-us/library/vstudio/edk11s13(v=vs.100).aspx
-+FORCE_INLINE void _mm_storeu_si128(__m128i *p, __m128i a)
-+{
-+ vst1q_s32((int32_t *) p, vreinterpretq_s32_m128i(a));
-+}
-+
-+// Stores the lower single - precision, floating - point value.
-+// https://msdn.microsoft.com/en-us/library/tzz10fbx(v=vs.100).aspx
-+FORCE_INLINE void _mm_store_ss(float *p, __m128 a)
-+{
-+ vst1q_lane_f32(p, vreinterpretq_f32_m128(a), 0);
-+}
-+
-+// Reads the lower 64 bits of b and stores them into the lower 64 bits of a.
-+// https://msdn.microsoft.com/en-us/library/hhwf428f%28v=vs.90%29.aspx
-+FORCE_INLINE void _mm_storel_epi64(__m128i *a, __m128i b)
-+{
-+ uint64x1_t hi = vget_high_u64(vreinterpretq_u64_m128i(*a));
-+ uint64x1_t lo = vget_low_u64(vreinterpretq_u64_m128i(b));
-+ *a = vreinterpretq_m128i_u64(vcombine_u64(lo, hi));
-+}
-+
-+// Stores the lower two single-precision floating point values of a to the
-+// address p.
-+//
-+// *p0 := b0
-+// *p1 := b1
-+//
-+// https://msdn.microsoft.com/en-us/library/h54t98ks(v=vs.90).aspx
-+FORCE_INLINE void _mm_storel_pi(__m64 *p, __m128 a)
-+{
-+ *p = vget_low_f32(a);
-+}
-+
-+// Loads a single single-precision, floating-point value, copying it into all
-+// four words
-+// https://msdn.microsoft.com/en-us/library/vstudio/5cdkf716(v=vs.100).aspx
-+FORCE_INLINE __m128 _mm_load1_ps(const float *p)
-+{
-+ return vreinterpretq_m128_f32(vld1q_dup_f32(p));
-+}
-+#define _mm_load_ps1 _mm_load1_ps
-+
-+// Sets the lower two single-precision, floating-point values with 64
-+// bits of data loaded from the address p; the upper two values are passed
-+// through from a.
-+//
-+// Return Value
-+// r0 := *p0
-+// r1 := *p1
-+// r2 := a2
-+// r3 := a3
-+//
-+// https://msdn.microsoft.com/en-us/library/s57cyak2(v=vs.100).aspx
-+FORCE_INLINE __m128 _mm_loadl_pi(__m128 a, __m64 const *b)
-+{
-+ return vreinterpretq_m128_f32(
-+ vcombine_f32(vld1_f32((const float32_t *) b), vget_high_f32(a)));
-+}
-+
-+// Loads four single-precision, floating-point values.
-+// https://msdn.microsoft.com/en-us/library/vstudio/zzd50xxt(v=vs.100).aspx
-+FORCE_INLINE __m128 _mm_load_ps(const float *p)
-+{
-+ return vreinterpretq_m128_f32(vld1q_f32(p));
-+}
-+
-+// Loads four single-precision, floating-point values.
-+// https://msdn.microsoft.com/en-us/library/x1b16s7z%28v=vs.90%29.aspx
-+FORCE_INLINE __m128 _mm_loadu_ps(const float *p)
-+{
-+ // for neon, alignment doesn't matter, so _mm_load_ps and _mm_loadu_ps are
-+ // equivalent for neon
-+ return vreinterpretq_m128_f32(vld1q_f32(p));
-+}
-+
-+// Loads an single - precision, floating - point value into the low word and
-+// clears the upper three words.
-+// https://msdn.microsoft.com/en-us/library/548bb9h4%28v=vs.90%29.aspx
-+FORCE_INLINE __m128 _mm_load_ss(const float *p)
-+{
-+ return vreinterpretq_m128_f32(vsetq_lane_f32(*p, vdupq_n_f32(0), 0));
-+}
-+
-+FORCE_INLINE __m128i _mm_loadl_epi64(__m128i const *p)
-+{
-+ /* Load the lower 64 bits of the value pointed to by p into the
-+ * lower 64 bits of the result, zeroing the upper 64 bits of the result.
-+ */
-+ return vcombine_s32(vld1_s32((int32_t const *) p), vcreate_s32(0));
-+}
-+
-+// ******************************************
-+// Logic/Binary operations
-+// ******************************************
-+
-+// Compares for inequality.
-+// https://msdn.microsoft.com/en-us/library/sf44thbx(v=vs.100).aspx
-+FORCE_INLINE __m128 _mm_cmpneq_ps(__m128 a, __m128 b)
-+{
-+ return vreinterpretq_m128_u32(vmvnq_u32(
-+ vceqq_f32(vreinterpretq_f32_m128(a), vreinterpretq_f32_m128(b))));
-+}
-+
-+// Computes the bitwise AND-NOT of the four single-precision, floating-point
-+// values of a and b.
-+//
-+// r0 := ~a0 & b0
-+// r1 := ~a1 & b1
-+// r2 := ~a2 & b2
-+// r3 := ~a3 & b3
-+//
-+// https://msdn.microsoft.com/en-us/library/vstudio/68h7wd02(v=vs.100).aspx
-+FORCE_INLINE __m128 _mm_andnot_ps(__m128 a, __m128 b)
-+{
-+ return vreinterpretq_m128_s32(
-+ vbicq_s32(vreinterpretq_s32_m128(b),
-+ vreinterpretq_s32_m128(a))); // *NOTE* argument swap
-+}
-+
-+// Computes the bitwise AND of the 128-bit value in b and the bitwise NOT of the
-+// 128-bit value in a.
-+//
-+// r := (~a) & b
-+//
-+// https://msdn.microsoft.com/en-us/library/vstudio/1beaceh8(v=vs.100).aspx
-+FORCE_INLINE __m128i _mm_andnot_si128(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_m128i_s32(
-+ vbicq_s32(vreinterpretq_s32_m128i(b),
-+ vreinterpretq_s32_m128i(a))); // *NOTE* argument swap
-+}
-+
-+// Computes the bitwise AND of the 128-bit value in a and the 128-bit value in
-+// b.
-+//
-+// r := a & b
-+//
-+// https://msdn.microsoft.com/en-us/library/vstudio/6d1txsa8(v=vs.100).aspx
-+FORCE_INLINE __m128i _mm_and_si128(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_m128i_s32(
-+ vandq_s32(vreinterpretq_s32_m128i(a), vreinterpretq_s32_m128i(b)));
-+}
-+
-+// Computes the bitwise AND of the four single-precision, floating-point values
-+// of a and b.
-+//
-+// r0 := a0 & b0
-+// r1 := a1 & b1
-+// r2 := a2 & b2
-+// r3 := a3 & b3
-+//
-+// https://msdn.microsoft.com/en-us/library/vstudio/73ck1xc5(v=vs.100).aspx
-+FORCE_INLINE __m128 _mm_and_ps(__m128 a, __m128 b)
-+{
-+ return vreinterpretq_m128_s32(
-+ vandq_s32(vreinterpretq_s32_m128(a), vreinterpretq_s32_m128(b)));
-+}
-+
-+// Computes the bitwise OR of the four single-precision, floating-point values
-+// of a and b.
-+// https://msdn.microsoft.com/en-us/library/vstudio/7ctdsyy0(v=vs.100).aspx
-+FORCE_INLINE __m128 _mm_or_ps(__m128 a, __m128 b)
-+{
-+ return vreinterpretq_m128_s32(
-+ vorrq_s32(vreinterpretq_s32_m128(a), vreinterpretq_s32_m128(b)));
-+}
-+
-+// Computes bitwise EXOR (exclusive-or) of the four single-precision,
-+// floating-point values of a and b.
-+// https://msdn.microsoft.com/en-us/library/ss6k3wk8(v=vs.100).aspx
-+FORCE_INLINE __m128 _mm_xor_ps(__m128 a, __m128 b)
-+{
-+ return vreinterpretq_m128_s32(
-+ veorq_s32(vreinterpretq_s32_m128(a), vreinterpretq_s32_m128(b)));
-+}
-+
-+// Computes the bitwise OR of the 128-bit value in a and the 128-bit value in b.
-+//
-+// r := a | b
-+//
-+// https://msdn.microsoft.com/en-us/library/vstudio/ew8ty0db(v=vs.100).aspx
-+FORCE_INLINE __m128i _mm_or_si128(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_m128i_s32(
-+ vorrq_s32(vreinterpretq_s32_m128i(a), vreinterpretq_s32_m128i(b)));
-+}
-+
-+// Computes the bitwise XOR of the 128-bit value in a and the 128-bit value in
-+// b. https://msdn.microsoft.com/en-us/library/fzt08www(v=vs.100).aspx
-+FORCE_INLINE __m128i _mm_xor_si128(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_m128i_s32(
-+ veorq_s32(vreinterpretq_s32_m128i(a), vreinterpretq_s32_m128i(b)));
-+}
-+
-+// Moves the upper two values of B into the lower two values of A.
-+//
-+// r3 := a3
-+// r2 := a2
-+// r1 := b3
-+// r0 := b2
-+FORCE_INLINE __m128 _mm_movehl_ps(__m128 __A, __m128 __B)
-+{
-+ float32x2_t a32 = vget_high_f32(vreinterpretq_f32_m128(__A));
-+ float32x2_t b32 = vget_high_f32(vreinterpretq_f32_m128(__B));
-+ return vreinterpretq_m128_f32(vcombine_f32(b32, a32));
-+}
-+
-+// Moves the lower two values of B into the upper two values of A.
-+//
-+// r3 := b1
-+// r2 := b0
-+// r1 := a1
-+// r0 := a0
-+FORCE_INLINE __m128 _mm_movelh_ps(__m128 __A, __m128 __B)
-+{
-+ float32x2_t a10 = vget_low_f32(vreinterpretq_f32_m128(__A));
-+ float32x2_t b10 = vget_low_f32(vreinterpretq_f32_m128(__B));
-+ return vreinterpretq_m128_f32(vcombine_f32(a10, b10));
-+}
-+
-+// NEON does not provide this method
-+// Creates a 4-bit mask from the most significant bits of the four
-+// single-precision, floating-point values.
-+// https://msdn.microsoft.com/en-us/library/vstudio/4490ys29(v=vs.100).aspx
-+FORCE_INLINE int _mm_movemask_ps(__m128 a)
-+{
-+#if 0 /* C version */
-+ uint32x4_t &ia = *(uint32x4_t *) &a;
-+ return (ia[0] >> 31) | ((ia[1] >> 30) & 2) | ((ia[2] >> 29) & 4) |
-+ ((ia[3] >> 28) & 8);
-+#endif
-+ static const uint32x4_t movemask = {1, 2, 4, 8};
-+ static const uint32x4_t highbit = {0x80000000, 0x80000000, 0x80000000,
-+ 0x80000000};
-+ uint32x4_t t0 = vreinterpretq_u32_m128(a);
-+ uint32x4_t t1 = vtstq_u32(t0, highbit);
-+ uint32x4_t t2 = vandq_u32(t1, movemask);
-+ uint32x2_t t3 = vorr_u32(vget_low_u32(t2), vget_high_u32(t2));
-+ return vget_lane_u32(t3, 0) | vget_lane_u32(t3, 1);
-+}
-+
-+FORCE_INLINE __m128i _mm_abs_epi32(__m128i a)
-+{
-+ return vqabsq_s32(a);
-+}
-+
-+FORCE_INLINE __m128i _mm_abs_epi16(__m128i a)
-+{
-+ return vreinterpretq_s32_s16(vqabsq_s16(vreinterpretq_s16_s32(a)));
-+}
-+
-+// Takes the upper 64 bits of a and places it in the low end of the result
-+// Takes the lower 64 bits of b and places it into the high end of the result.
-+FORCE_INLINE __m128 _mm_shuffle_ps_1032(__m128 a, __m128 b)
-+{
-+ float32x2_t a32 = vget_high_f32(vreinterpretq_f32_m128(a));
-+ float32x2_t b10 = vget_low_f32(vreinterpretq_f32_m128(b));
-+ return vreinterpretq_m128_f32(vcombine_f32(a32, b10));
-+}
-+
-+// takes the lower two 32-bit values from a and swaps them and places in high
-+// end of result takes the higher two 32 bit values from b and swaps them and
-+// places in low end of result.
-+FORCE_INLINE __m128 _mm_shuffle_ps_2301(__m128 a, __m128 b)
-+{
-+ float32x2_t a01 = vrev64_f32(vget_low_f32(vreinterpretq_f32_m128(a)));
-+ float32x2_t b23 = vrev64_f32(vget_high_f32(vreinterpretq_f32_m128(b)));
-+ return vreinterpretq_m128_f32(vcombine_f32(a01, b23));
-+}
-+
-+FORCE_INLINE __m128 _mm_shuffle_ps_0321(__m128 a, __m128 b)
-+{
-+ float32x2_t a21 = vget_high_f32(
-+ vextq_f32(vreinterpretq_f32_m128(a), vreinterpretq_f32_m128(a), 3));
-+ float32x2_t b03 = vget_low_f32(
-+ vextq_f32(vreinterpretq_f32_m128(b), vreinterpretq_f32_m128(b), 3));
-+ return vreinterpretq_m128_f32(vcombine_f32(a21, b03));
-+}
-+
-+FORCE_INLINE __m128 _mm_shuffle_ps_2103(__m128 a, __m128 b)
-+{
-+ float32x2_t a03 = vget_low_f32(
-+ vextq_f32(vreinterpretq_f32_m128(a), vreinterpretq_f32_m128(a), 3));
-+ float32x2_t b21 = vget_high_f32(
-+ vextq_f32(vreinterpretq_f32_m128(b), vreinterpretq_f32_m128(b), 3));
-+ return vreinterpretq_m128_f32(vcombine_f32(a03, b21));
-+}
-+
-+FORCE_INLINE __m128 _mm_shuffle_ps_1010(__m128 a, __m128 b)
-+{
-+ float32x2_t a10 = vget_low_f32(vreinterpretq_f32_m128(a));
-+ float32x2_t b10 = vget_low_f32(vreinterpretq_f32_m128(b));
-+ return vreinterpretq_m128_f32(vcombine_f32(a10, b10));
-+}
-+
-+FORCE_INLINE __m128 _mm_shuffle_ps_1001(__m128 a, __m128 b)
-+{
-+ float32x2_t a01 = vrev64_f32(vget_low_f32(vreinterpretq_f32_m128(a)));
-+ float32x2_t b10 = vget_low_f32(vreinterpretq_f32_m128(b));
-+ return vreinterpretq_m128_f32(vcombine_f32(a01, b10));
-+}
-+
-+FORCE_INLINE __m128 _mm_shuffle_ps_0101(__m128 a, __m128 b)
-+{
-+ float32x2_t a01 = vrev64_f32(vget_low_f32(vreinterpretq_f32_m128(a)));
-+ float32x2_t b01 = vrev64_f32(vget_low_f32(vreinterpretq_f32_m128(b)));
-+ return vreinterpretq_m128_f32(vcombine_f32(a01, b01));
-+}
-+
-+// keeps the low 64 bits of b in the low and puts the high 64 bits of a in the
-+// high
-+FORCE_INLINE __m128 _mm_shuffle_ps_3210(__m128 a, __m128 b)
-+{
-+ float32x2_t a10 = vget_low_f32(vreinterpretq_f32_m128(a));
-+ float32x2_t b32 = vget_high_f32(vreinterpretq_f32_m128(b));
-+ return vreinterpretq_m128_f32(vcombine_f32(a10, b32));
-+}
-+
-+FORCE_INLINE __m128 _mm_shuffle_ps_0011(__m128 a, __m128 b)
-+{
-+ float32x2_t a11 = vdup_lane_f32(vget_low_f32(vreinterpretq_f32_m128(a)), 1);
-+ float32x2_t b00 = vdup_lane_f32(vget_low_f32(vreinterpretq_f32_m128(b)), 0);
-+ return vreinterpretq_m128_f32(vcombine_f32(a11, b00));
-+}
-+
-+FORCE_INLINE __m128 _mm_shuffle_ps_0022(__m128 a, __m128 b)
-+{
-+ float32x2_t a22 =
-+ vdup_lane_f32(vget_high_f32(vreinterpretq_f32_m128(a)), 0);
-+ float32x2_t b00 = vdup_lane_f32(vget_low_f32(vreinterpretq_f32_m128(b)), 0);
-+ return vreinterpretq_m128_f32(vcombine_f32(a22, b00));
-+}
-+
-+FORCE_INLINE __m128 _mm_shuffle_ps_2200(__m128 a, __m128 b)
-+{
-+ float32x2_t a00 = vdup_lane_f32(vget_low_f32(vreinterpretq_f32_m128(a)), 0);
-+ float32x2_t b22 =
-+ vdup_lane_f32(vget_high_f32(vreinterpretq_f32_m128(b)), 0);
-+ return vreinterpretq_m128_f32(vcombine_f32(a00, b22));
-+}
-+
-+FORCE_INLINE __m128 _mm_shuffle_ps_3202(__m128 a, __m128 b)
-+{
-+ float32_t a0 = vgetq_lane_f32(vreinterpretq_f32_m128(a), 0);
-+ float32x2_t a22 =
-+ vdup_lane_f32(vget_high_f32(vreinterpretq_f32_m128(a)), 0);
-+ float32x2_t a02 = vset_lane_f32(a0, a22, 1); /* TODO: use vzip ?*/
-+ float32x2_t b32 = vget_high_f32(vreinterpretq_f32_m128(b));
-+ return vreinterpretq_m128_f32(vcombine_f32(a02, b32));
-+}
-+
-+FORCE_INLINE __m128 _mm_shuffle_ps_1133(__m128 a, __m128 b)
-+{
-+ float32x2_t a33 =
-+ vdup_lane_f32(vget_high_f32(vreinterpretq_f32_m128(a)), 1);
-+ float32x2_t b11 = vdup_lane_f32(vget_low_f32(vreinterpretq_f32_m128(b)), 1);
-+ return vreinterpretq_m128_f32(vcombine_f32(a33, b11));
-+}
-+
-+FORCE_INLINE __m128 _mm_shuffle_ps_2010(__m128 a, __m128 b)
-+{
-+ float32x2_t a10 = vget_low_f32(vreinterpretq_f32_m128(a));
-+ float32_t b2 = vgetq_lane_f32(vreinterpretq_f32_m128(b), 2);
-+ float32x2_t b00 = vdup_lane_f32(vget_low_f32(vreinterpretq_f32_m128(b)), 0);
-+ float32x2_t b20 = vset_lane_f32(b2, b00, 1);
-+ return vreinterpretq_m128_f32(vcombine_f32(a10, b20));
-+}
-+
-+FORCE_INLINE __m128 _mm_shuffle_ps_2001(__m128 a, __m128 b)
-+{
-+ float32x2_t a01 = vrev64_f32(vget_low_f32(vreinterpretq_f32_m128(a)));
-+ float32_t b2 = vgetq_lane_f32(b, 2);
-+ float32x2_t b00 = vdup_lane_f32(vget_low_f32(vreinterpretq_f32_m128(b)), 0);
-+ float32x2_t b20 = vset_lane_f32(b2, b00, 1);
-+ return vreinterpretq_m128_f32(vcombine_f32(a01, b20));
-+}
-+
-+FORCE_INLINE __m128 _mm_shuffle_ps_2032(__m128 a, __m128 b)
-+{
-+ float32x2_t a32 = vget_high_f32(vreinterpretq_f32_m128(a));
-+ float32_t b2 = vgetq_lane_f32(b, 2);
-+ float32x2_t b00 = vdup_lane_f32(vget_low_f32(vreinterpretq_f32_m128(b)), 0);
-+ float32x2_t b20 = vset_lane_f32(b2, b00, 1);
-+ return vreinterpretq_m128_f32(vcombine_f32(a32, b20));
-+}
-+
-+// NEON does not support a general purpose permute intrinsic
-+// Selects four specific single-precision, floating-point values from a and b,
-+// based on the mask i.
-+// https://msdn.microsoft.com/en-us/library/vstudio/5f0858x0(v=vs.100).aspx
-+#if 0 /* C version */
-+FORCE_INLINE __m128 _mm_shuffle_ps_default(__m128 a,
-+ __m128 b,
-+ __constrange(0, 255) int imm)
-+{
-+ __m128 ret;
-+ ret[0] = a[imm & 0x3];
-+ ret[1] = a[(imm >> 2) & 0x3];
-+ ret[2] = b[(imm >> 4) & 0x03];
-+ ret[3] = b[(imm >> 6) & 0x03];
-+ return ret;
-+}
-+#endif
-+#define _mm_shuffle_ps_default(a, b, imm) \
-+ ({ \
-+ float32x4_t ret; \
-+ ret = vmovq_n_f32( \
-+ vgetq_lane_f32(vreinterpretq_f32_m128(a), (imm) &0x3)); \
-+ ret = vsetq_lane_f32( \
-+ vgetq_lane_f32(vreinterpretq_f32_m128(a), ((imm) >> 2) & 0x3), \
-+ ret, 1); \
-+ ret = vsetq_lane_f32( \
-+ vgetq_lane_f32(vreinterpretq_f32_m128(b), ((imm) >> 4) & 0x3), \
-+ ret, 2); \
-+ ret = vsetq_lane_f32( \
-+ vgetq_lane_f32(vreinterpretq_f32_m128(b), ((imm) >> 6) & 0x3), \
-+ ret, 3); \
-+ vreinterpretq_m128_f32(ret); \
-+ })
-+
-+// FORCE_INLINE __m128 _mm_shuffle_ps(__m128 a, __m128 b, __constrange(0,255)
-+// int imm)
-+#define _mm_shuffle_ps(a, b, imm) \
-+ ({ \
-+ __m128 ret; \
-+ switch (imm) { \
-+ case _MM_SHUFFLE(1, 0, 3, 2): \
-+ ret = _mm_shuffle_ps_1032((a), (b)); \
-+ break; \
-+ case _MM_SHUFFLE(2, 3, 0, 1): \
-+ ret = _mm_shuffle_ps_2301((a), (b)); \
-+ break; \
-+ case _MM_SHUFFLE(0, 3, 2, 1): \
-+ ret = _mm_shuffle_ps_0321((a), (b)); \
-+ break; \
-+ case _MM_SHUFFLE(2, 1, 0, 3): \
-+ ret = _mm_shuffle_ps_2103((a), (b)); \
-+ break; \
-+ case _MM_SHUFFLE(1, 0, 1, 0): \
-+ ret = _mm_movelh_ps((a), (b)); \
-+ break; \
-+ case _MM_SHUFFLE(1, 0, 0, 1): \
-+ ret = _mm_shuffle_ps_1001((a), (b)); \
-+ break; \
-+ case _MM_SHUFFLE(0, 1, 0, 1): \
-+ ret = _mm_shuffle_ps_0101((a), (b)); \
-+ break; \
-+ case _MM_SHUFFLE(3, 2, 1, 0): \
-+ ret = _mm_shuffle_ps_3210((a), (b)); \
-+ break; \
-+ case _MM_SHUFFLE(0, 0, 1, 1): \
-+ ret = _mm_shuffle_ps_0011((a), (b)); \
-+ break; \
-+ case _MM_SHUFFLE(0, 0, 2, 2): \
-+ ret = _mm_shuffle_ps_0022((a), (b)); \
-+ break; \
-+ case _MM_SHUFFLE(2, 2, 0, 0): \
-+ ret = _mm_shuffle_ps_2200((a), (b)); \
-+ break; \
-+ case _MM_SHUFFLE(3, 2, 0, 2): \
-+ ret = _mm_shuffle_ps_3202((a), (b)); \
-+ break; \
-+ case _MM_SHUFFLE(3, 2, 3, 2): \
-+ ret = _mm_movehl_ps((b), (a)); \
-+ break; \
-+ case _MM_SHUFFLE(1, 1, 3, 3): \
-+ ret = _mm_shuffle_ps_1133((a), (b)); \
-+ break; \
-+ case _MM_SHUFFLE(2, 0, 1, 0): \
-+ ret = _mm_shuffle_ps_2010((a), (b)); \
-+ break; \
-+ case _MM_SHUFFLE(2, 0, 0, 1): \
-+ ret = _mm_shuffle_ps_2001((a), (b)); \
-+ break; \
-+ case _MM_SHUFFLE(2, 0, 3, 2): \
-+ ret = _mm_shuffle_ps_2032((a), (b)); \
-+ break; \
-+ default: \
-+ ret = _mm_shuffle_ps_default((a), (b), (imm)); \
-+ break; \
-+ } \
-+ ret; \
-+ })
-+
-+// Takes the upper 64 bits of a and places it in the low end of the result
-+// Takes the lower 64 bits of a and places it into the high end of the result.
-+FORCE_INLINE __m128i _mm_shuffle_epi_1032(__m128i a)
-+{
-+ int32x2_t a32 = vget_high_s32(vreinterpretq_s32_m128i(a));
-+ int32x2_t a10 = vget_low_s32(vreinterpretq_s32_m128i(a));
-+ return vreinterpretq_m128i_s32(vcombine_s32(a32, a10));
-+}
-+
-+// takes the lower two 32-bit values from a and swaps them and places in low end
-+// of result takes the higher two 32 bit values from a and swaps them and places
-+// in high end of result.
-+FORCE_INLINE __m128i _mm_shuffle_epi_2301(__m128i a)
-+{
-+ int32x2_t a01 = vrev64_s32(vget_low_s32(vreinterpretq_s32_m128i(a)));
-+ int32x2_t a23 = vrev64_s32(vget_high_s32(vreinterpretq_s32_m128i(a)));
-+ return vreinterpretq_m128i_s32(vcombine_s32(a01, a23));
-+}
-+
-+// rotates the least significant 32 bits into the most signficant 32 bits, and
-+// shifts the rest down
-+FORCE_INLINE __m128i _mm_shuffle_epi_0321(__m128i a)
-+{
-+ return vreinterpretq_m128i_s32(
-+ vextq_s32(vreinterpretq_s32_m128i(a), vreinterpretq_s32_m128i(a), 1));
-+}
-+
-+// rotates the most significant 32 bits into the least signficant 32 bits, and
-+// shifts the rest up
-+FORCE_INLINE __m128i _mm_shuffle_epi_2103(__m128i a)
-+{
-+ return vreinterpretq_m128i_s32(
-+ vextq_s32(vreinterpretq_s32_m128i(a), vreinterpretq_s32_m128i(a), 3));
-+}
-+
-+// gets the lower 64 bits of a, and places it in the upper 64 bits
-+// gets the lower 64 bits of a and places it in the lower 64 bits
-+FORCE_INLINE __m128i _mm_shuffle_epi_1010(__m128i a)
-+{
-+ int32x2_t a10 = vget_low_s32(vreinterpretq_s32_m128i(a));
-+ return vreinterpretq_m128i_s32(vcombine_s32(a10, a10));
-+}
-+
-+// gets the lower 64 bits of a, swaps the 0 and 1 elements, and places it in the
-+// lower 64 bits gets the lower 64 bits of a, and places it in the upper 64 bits
-+FORCE_INLINE __m128i _mm_shuffle_epi_1001(__m128i a)
-+{
-+ int32x2_t a01 = vrev64_s32(vget_low_s32(vreinterpretq_s32_m128i(a)));
-+ int32x2_t a10 = vget_low_s32(vreinterpretq_s32_m128i(a));
-+ return vreinterpretq_m128i_s32(vcombine_s32(a01, a10));
-+}
-+
-+// gets the lower 64 bits of a, swaps the 0 and 1 elements and places it in the
-+// upper 64 bits gets the lower 64 bits of a, swaps the 0 and 1 elements, and
-+// places it in the lower 64 bits
-+FORCE_INLINE __m128i _mm_shuffle_epi_0101(__m128i a)
-+{
-+ int32x2_t a01 = vrev64_s32(vget_low_s32(vreinterpretq_s32_m128i(a)));
-+ return vreinterpretq_m128i_s32(vcombine_s32(a01, a01));
-+}
-+
-+FORCE_INLINE __m128i _mm_shuffle_epi_2211(__m128i a)
-+{
-+ int32x2_t a11 = vdup_lane_s32(vget_low_s32(vreinterpretq_s32_m128i(a)), 1);
-+ int32x2_t a22 = vdup_lane_s32(vget_high_s32(vreinterpretq_s32_m128i(a)), 0);
-+ return vreinterpretq_m128i_s32(vcombine_s32(a11, a22));
-+}
-+
-+FORCE_INLINE __m128i _mm_shuffle_epi_0122(__m128i a)
-+{
-+ int32x2_t a22 = vdup_lane_s32(vget_high_s32(vreinterpretq_s32_m128i(a)), 0);
-+ int32x2_t a01 = vrev64_s32(vget_low_s32(vreinterpretq_s32_m128i(a)));
-+ return vreinterpretq_m128i_s32(vcombine_s32(a22, a01));
-+}
-+
-+FORCE_INLINE __m128i _mm_shuffle_epi_3332(__m128i a)
-+{
-+ int32x2_t a32 = vget_high_s32(vreinterpretq_s32_m128i(a));
-+ int32x2_t a33 = vdup_lane_s32(vget_high_s32(vreinterpretq_s32_m128i(a)), 1);
-+ return vreinterpretq_m128i_s32(vcombine_s32(a32, a33));
-+}
-+
-+// Shuffle packed 8-bit integers in a according to shuffle control mask in the
-+// corresponding 8-bit element of b, and store the results in dst.
-+// https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_shuffle_epi8&expand=5146
-+FORCE_INLINE __m128i _mm_shuffle_epi8(__m128i a, __m128i b)
-+{
-+#if __aarch64__
-+ int8x16_t tbl = vreinterpretq_s8_m128i(a); // input a
-+ uint8x16_t idx = vreinterpretq_u8_m128i(b); // input b
-+ uint8_t __attribute__((aligned(16)))
-+ mask[16] = {0x8F, 0x8F, 0x8F, 0x8F, 0x8F, 0x8F, 0x8F, 0x8F,
-+ 0x8F, 0x8F, 0x8F, 0x8F, 0x8F, 0x8F, 0x8F, 0x8F};
-+ uint8x16_t idx_masked =
-+ vandq_u8(idx, vld1q_u8(mask)); // avoid using meaningless bits
-+
-+ return vreinterpretq_m128i_s8(vqtbl1q_s8(tbl, idx_masked));
-+#else
-+ uint8_t *tbl = (uint8_t *) &a; // input a
-+ uint8_t *idx = (uint8_t *) &b; // input b
-+ int32_t r[4];
-+
-+ r[0] = ((idx[3] & 0x80) ? 0 : tbl[idx[3] % 16]) << 24;
-+ r[0] |= ((idx[2] & 0x80) ? 0 : tbl[idx[2] % 16]) << 16;
-+ r[0] |= ((idx[1] & 0x80) ? 0 : tbl[idx[1] % 16]) << 8;
-+ r[0] |= ((idx[0] & 0x80) ? 0 : tbl[idx[0] % 16]);
-+
-+ r[1] = ((idx[7] & 0x80) ? 0 : tbl[idx[7] % 16]) << 24;
-+ r[1] |= ((idx[6] & 0x80) ? 0 : tbl[idx[6] % 16]) << 16;
-+ r[1] |= ((idx[5] & 0x80) ? 0 : tbl[idx[5] % 16]) << 8;
-+ r[1] |= ((idx[4] & 0x80) ? 0 : tbl[idx[4] % 16]);
-+
-+ r[2] = ((idx[11] & 0x80) ? 0 : tbl[idx[11] % 16]) << 24;
-+ r[2] |= ((idx[10] & 0x80) ? 0 : tbl[idx[10] % 16]) << 16;
-+ r[2] |= ((idx[9] & 0x80) ? 0 : tbl[idx[9] % 16]) << 8;
-+ r[2] |= ((idx[8] & 0x80) ? 0 : tbl[idx[8] % 16]);
-+
-+ r[3] = ((idx[15] & 0x80) ? 0 : tbl[idx[15] % 16]) << 24;
-+ r[3] |= ((idx[14] & 0x80) ? 0 : tbl[idx[14] % 16]) << 16;
-+ r[3] |= ((idx[13] & 0x80) ? 0 : tbl[idx[13] % 16]) << 8;
-+ r[3] |= ((idx[12] & 0x80) ? 0 : tbl[idx[12] % 16]);
-+
-+ return vld1q_s32(r);
-+#endif
-+}
-+
-+
-+#if 0 /* C version */
-+FORCE_INLINE __m128i _mm_shuffle_epi32_default(__m128i a,
-+ __constrange(0, 255) int imm)
-+{
-+ __m128i ret;
-+ ret[0] = a[imm & 0x3];
-+ ret[1] = a[(imm >> 2) & 0x3];
-+ ret[2] = a[(imm >> 4) & 0x03];
-+ ret[3] = a[(imm >> 6) & 0x03];
-+ return ret;
-+}
-+#endif
-+#define _mm_shuffle_epi32_default(a, imm) \
-+ ({ \
-+ int32x4_t ret; \
-+ ret = vmovq_n_s32( \
-+ vgetq_lane_s32(vreinterpretq_s32_m128i(a), (imm) &0x3)); \
-+ ret = vsetq_lane_s32( \
-+ vgetq_lane_s32(vreinterpretq_s32_m128i(a), ((imm) >> 2) & 0x3), \
-+ ret, 1); \
-+ ret = vsetq_lane_s32( \
-+ vgetq_lane_s32(vreinterpretq_s32_m128i(a), ((imm) >> 4) & 0x3), \
-+ ret, 2); \
-+ ret = vsetq_lane_s32( \
-+ vgetq_lane_s32(vreinterpretq_s32_m128i(a), ((imm) >> 6) & 0x3), \
-+ ret, 3); \
-+ vreinterpretq_m128i_s32(ret); \
-+ })
-+
-+// FORCE_INLINE __m128i _mm_shuffle_epi32_splat(__m128i a, __constrange(0,255)
-+// int imm)
-+#if defined(__aarch64__)
-+#define _mm_shuffle_epi32_splat(a, imm) \
-+ ({ \
-+ vreinterpretq_m128i_s32( \
-+ vdupq_laneq_s32(vreinterpretq_s32_m128i(a), (imm))); \
-+ })
-+#else
-+#define _mm_shuffle_epi32_splat(a, imm) \
-+ ({ \
-+ vreinterpretq_m128i_s32( \
-+ vdupq_n_s32(vgetq_lane_s32(vreinterpretq_s32_m128i(a), (imm)))); \
-+ })
-+#endif
-+
-+// Shuffles the 4 signed or unsigned 32-bit integers in a as specified by imm.
-+// https://msdn.microsoft.com/en-us/library/56f67xbk%28v=vs.90%29.aspx
-+// FORCE_INLINE __m128i _mm_shuffle_epi32(__m128i a, __constrange(0,255) int
-+// imm)
-+#define _mm_shuffle_epi32(a, imm) \
-+ ({ \
-+ __m128i ret; \
-+ switch (imm) { \
-+ case _MM_SHUFFLE(1, 0, 3, 2): \
-+ ret = _mm_shuffle_epi_1032((a)); \
-+ break; \
-+ case _MM_SHUFFLE(2, 3, 0, 1): \
-+ ret = _mm_shuffle_epi_2301((a)); \
-+ break; \
-+ case _MM_SHUFFLE(0, 3, 2, 1): \
-+ ret = _mm_shuffle_epi_0321((a)); \
-+ break; \
-+ case _MM_SHUFFLE(2, 1, 0, 3): \
-+ ret = _mm_shuffle_epi_2103((a)); \
-+ break; \
-+ case _MM_SHUFFLE(1, 0, 1, 0): \
-+ ret = _mm_shuffle_epi_1010((a)); \
-+ break; \
-+ case _MM_SHUFFLE(1, 0, 0, 1): \
-+ ret = _mm_shuffle_epi_1001((a)); \
-+ break; \
-+ case _MM_SHUFFLE(0, 1, 0, 1): \
-+ ret = _mm_shuffle_epi_0101((a)); \
-+ break; \
-+ case _MM_SHUFFLE(2, 2, 1, 1): \
-+ ret = _mm_shuffle_epi_2211((a)); \
-+ break; \
-+ case _MM_SHUFFLE(0, 1, 2, 2): \
-+ ret = _mm_shuffle_epi_0122((a)); \
-+ break; \
-+ case _MM_SHUFFLE(3, 3, 3, 2): \
-+ ret = _mm_shuffle_epi_3332((a)); \
-+ break; \
-+ case _MM_SHUFFLE(0, 0, 0, 0): \
-+ ret = _mm_shuffle_epi32_splat((a), 0); \
-+ break; \
-+ case _MM_SHUFFLE(1, 1, 1, 1): \
-+ ret = _mm_shuffle_epi32_splat((a), 1); \
-+ break; \
-+ case _MM_SHUFFLE(2, 2, 2, 2): \
-+ ret = _mm_shuffle_epi32_splat((a), 2); \
-+ break; \
-+ case _MM_SHUFFLE(3, 3, 3, 3): \
-+ ret = _mm_shuffle_epi32_splat((a), 3); \
-+ break; \
-+ default: \
-+ ret = _mm_shuffle_epi32_default((a), (imm)); \
-+ break; \
-+ } \
-+ ret; \
-+ })
-+
-+// Shuffles the upper 4 signed or unsigned 16 - bit integers in a as specified
-+// by imm. https://msdn.microsoft.com/en-us/library/13ywktbs(v=vs.100).aspx
-+// FORCE_INLINE __m128i _mm_shufflehi_epi16_function(__m128i a,
-+// __constrange(0,255) int imm)
-+#define _mm_shufflelo_epi16_function(a, imm) \
-+ ({ \
-+ int16x8_t ret = vreinterpretq_s16_s32(a); \
-+ int16x4_t lowBits = vget_low_s16(ret); \
-+ ret = vsetq_lane_s16(vget_lane_s16(lowBits, (imm) &0x3), ret, 4); \
-+ ret = vsetq_lane_s16(vget_lane_s16(lowBits, ((imm) >> 2) & 0x3), ret, \
-+ 5); \
-+ ret = vsetq_lane_s16(vget_lane_s16(lowBits, ((imm) >> 4) & 0x3), ret, \
-+ 6); \
-+ ret = vsetq_lane_s16(vget_lane_s16(lowBits, ((imm) >> 6) & 0x3), ret, \
-+ 7); \
-+ vreinterpretq_s32_s16(ret); \
-+ })
-+
-+// FORCE_INLINE __m128i _mm_shufflehi_epi16(__m128i a, __constrange(0,255) int
-+// imm)
-+#define _mm_shufflelo_epi16(a, imm) _mm_shufflehi_epi16_function((a), (imm))
-+
-+// Shuffles the upper 4 signed or unsigned 16 - bit integers in a as specified
-+// by imm. https://msdn.microsoft.com/en-us/library/13ywktbs(v=vs.100).aspx
-+// FORCE_INLINE __m128i _mm_shufflehi_epi16_function(__m128i a,
-+// __constrange(0,255) int imm)
-+#define _mm_shufflehi_epi16_function(a, imm) \
-+ ({ \
-+ int16x8_t ret = vreinterpretq_s16_s32(a); \
-+ int16x4_t highBits = vget_high_s16(ret); \
-+ ret = vsetq_lane_s16(vget_lane_s16(highBits, (imm) &0x3), ret, 4); \
-+ ret = vsetq_lane_s16(vget_lane_s16(highBits, ((imm) >> 2) & 0x3), ret, \
-+ 5); \
-+ ret = vsetq_lane_s16(vget_lane_s16(highBits, ((imm) >> 4) & 0x3), ret, \
-+ 6); \
-+ ret = vsetq_lane_s16(vget_lane_s16(highBits, ((imm) >> 6) & 0x3), ret, \
-+ 7); \
-+ vreinterpretq_s32_s16(ret); \
-+ })
-+
-+// FORCE_INLINE __m128i _mm_shufflehi_epi16(__m128i a, __constrange(0,255) int
-+// imm)
-+#define _mm_shufflehi_epi16(a, imm) _mm_shufflehi_epi16_function((a), (imm))
-+
-+// Shifts the 4 signed 32-bit integers in a right by count bits while shifting
-+// in the sign bit.
-+//
-+// r0 := a0 >> count
-+// r1 := a1 >> count
-+// r2 := a2 >> count
-+// r3 := a3 >> count immediate
-+FORCE_INLINE __m128i _mm_srai_epi32(__m128i a, int count)
-+{
-+ return vshlq_s32(a, vdupq_n_s32(-count));
-+}
-+
-+// Shifts the 8 signed 16-bit integers in a right by count bits while shifting
-+// in the sign bit.
-+//
-+// r0 := a0 >> count
-+// r1 := a1 >> count
-+// ...
-+// r7 := a7 >> count
-+FORCE_INLINE __m128i _mm_srai_epi16(__m128i a, int count)
-+{
-+ return (__m128i) vshlq_s16((int16x8_t) a, vdupq_n_s16(-count));
-+}
-+
-+// Shifts the 8 signed or unsigned 16-bit integers in a left by count bits while
-+// shifting in zeros.
-+//
-+// r0 := a0 << count
-+// r1 := a1 << count
-+// ...
-+// r7 := a7 << count
-+//
-+// https://msdn.microsoft.com/en-us/library/es73bcsy(v=vs.90).aspx
-+#define _mm_slli_epi16(a, imm) \
-+ ({ \
-+ __m128i ret; \
-+ if ((imm) <= 0) { \
-+ ret = a; \
-+ } else if ((imm) > 31) { \
-+ ret = _mm_setzero_si128(); \
-+ } else { \
-+ ret = vreinterpretq_m128i_s16( \
-+ vshlq_n_s16(vreinterpretq_s16_m128i(a), (imm))); \
-+ } \
-+ ret; \
-+ })
-+
-+// Shifts the 4 signed or unsigned 32-bit integers in a left by count bits while
-+// shifting in zeros. :
-+// https://msdn.microsoft.com/en-us/library/z2k3bbtb%28v=vs.90%29.aspx
-+// FORCE_INLINE __m128i _mm_slli_epi32(__m128i a, __constrange(0,255) int imm)
-+#define _mm_slli_epi32(a, imm) \
-+ ({ \
-+ __m128i ret; \
-+ if ((imm) <= 0) { \
-+ ret = a; \
-+ } else if ((imm) > 31) { \
-+ ret = _mm_setzero_si128(); \
-+ } else { \
-+ ret = vreinterpretq_m128i_s32( \
-+ vshlq_n_s32(vreinterpretq_s32_m128i(a), (imm))); \
-+ } \
-+ ret; \
-+ })
-+
-+// Shift packed 64-bit integers in a left by imm8 while shifting in zeros, and
-+// store the results in dst.
-+#define _mm_slli_epi64(a, imm) \
-+ ({ \
-+ __m128i ret; \
-+ if ((imm) <= 0) { \
-+ ret = a; \
-+ } else if ((imm) > 63) { \
-+ ret = _mm_setzero_si128(); \
-+ } else { \
-+ ret = vreinterpretq_m128i_s64( \
-+ vshlq_n_s64(vreinterpretq_s64_m128i(a), (imm))); \
-+ } \
-+ ret; \
-+ })
-+
-+// Shifts the 8 signed or unsigned 16-bit integers in a right by count bits
-+// while shifting in zeros.
-+//
-+// r0 := srl(a0, count)
-+// r1 := srl(a1, count)
-+// ...
-+// r7 := srl(a7, count)
-+//
-+// https://msdn.microsoft.com/en-us/library/6tcwd38t(v=vs.90).aspx
-+#define _mm_srli_epi16(a, imm) \
-+ ({ \
-+ __m128i ret; \
-+ if ((imm) <= 0) { \
-+ ret = a; \
-+ } else if ((imm) > 31) { \
-+ ret = _mm_setzero_si128(); \
-+ } else { \
-+ ret = vreinterpretq_m128i_u16( \
-+ vshrq_n_u16(vreinterpretq_u16_m128i(a), (imm))); \
-+ } \
-+ ret; \
-+ })
-+
-+// Shifts the 4 signed or unsigned 32-bit integers in a right by count bits
-+// while shifting in zeros.
-+// https://msdn.microsoft.com/en-us/library/w486zcfa(v=vs.100).aspx FORCE_INLINE
-+// __m128i _mm_srli_epi32(__m128i a, __constrange(0,255) int imm)
-+#define _mm_srli_epi32(a, imm) \
-+ ({ \
-+ __m128i ret; \
-+ if ((imm) <= 0) { \
-+ ret = a; \
-+ } else if ((imm) > 31) { \
-+ ret = _mm_setzero_si128(); \
-+ } else { \
-+ ret = vreinterpretq_m128i_u32( \
-+ vshrq_n_u32(vreinterpretq_u32_m128i(a), (imm))); \
-+ } \
-+ ret; \
-+ })
-+
-+// Shift packed 64-bit integers in a right by imm8 while shifting in zeros, and
-+// store the results in dst.
-+#define _mm_srli_epi64(a, imm) \
-+ ({ \
-+ __m128i ret; \
-+ if ((imm) <= 0) { \
-+ ret = a; \
-+ } else if ((imm) > 63) { \
-+ ret = _mm_setzero_si128(); \
-+ } else { \
-+ ret = vreinterpretq_m128i_u64( \
-+ vshrq_n_u64(vreinterpretq_u64_m128i(a), (imm))); \
-+ } \
-+ ret; \
-+ })
-+
-+// Shifts the 4 signed 32 - bit integers in a right by count bits while shifting
-+// in the sign bit.
-+// https://msdn.microsoft.com/en-us/library/z1939387(v=vs.100).aspx
-+// FORCE_INLINE __m128i _mm_srai_epi32(__m128i a, __constrange(0,255) int imm)
-+#define _mm_srai_epi32(a, imm) \
-+ ({ \
-+ __m128i ret; \
-+ if ((imm) <= 0) { \
-+ ret = a; \
-+ } else if ((imm) > 31) { \
-+ ret = vreinterpretq_m128i_s32( \
-+ vshrq_n_s32(vreinterpretq_s32_m128i(a), 16)); \
-+ ret = vreinterpretq_m128i_s32( \
-+ vshrq_n_s32(vreinterpretq_s32_m128i(ret), 16)); \
-+ } else { \
-+ ret = vreinterpretq_m128i_s32( \
-+ vshrq_n_s32(vreinterpretq_s32_m128i(a), (imm))); \
-+ } \
-+ ret; \
-+ })
-+
-+// Shifts the 128 - bit value in a right by imm bytes while shifting in
-+// zeros.imm must be an immediate.
-+//
-+// r := srl(a, imm*8)
-+//
-+// https://msdn.microsoft.com/en-us/library/305w28yz(v=vs.100).aspx
-+// FORCE_INLINE _mm_srli_si128(__m128i a, __constrange(0,255) int imm)
-+#define _mm_srli_si128(a, imm) \
-+ ({ \
-+ __m128i ret; \
-+ if ((imm) <= 0) { \
-+ ret = a; \
-+ } else if ((imm) > 15) { \
-+ ret = _mm_setzero_si128(); \
-+ } else { \
-+ ret = vreinterpretq_m128i_s8( \
-+ vextq_s8(vreinterpretq_s8_m128i(a), vdupq_n_s8(0), (imm))); \
-+ } \
-+ ret; \
-+ })
-+
-+// Shifts the 128-bit value in a left by imm bytes while shifting in zeros. imm
-+// must be an immediate.
-+//
-+// r := a << (imm * 8)
-+//
-+// https://msdn.microsoft.com/en-us/library/34d3k2kt(v=vs.100).aspx
-+// FORCE_INLINE __m128i _mm_slli_si128(__m128i a, __constrange(0,255) int imm)
-+#define _mm_slli_si128(a, imm) \
-+ ({ \
-+ __m128i ret; \
-+ if ((imm) <= 0) { \
-+ ret = a; \
-+ } else if ((imm) > 15) { \
-+ ret = _mm_setzero_si128(); \
-+ } else { \
-+ ret = vreinterpretq_m128i_s8(vextq_s8( \
-+ vdupq_n_s8(0), vreinterpretq_s8_m128i(a), 16 - (imm))); \
-+ } \
-+ ret; \
-+ })
-+
-+// NEON does not provide a version of this function, here is an article about
-+// some ways to repro the results.
-+// http://stackoverflow.com/questions/11870910/sse-mm-movemask-epi8-equivalent-method-for-arm-neon
-+// Creates a 16-bit mask from the most significant bits of the 16 signed or
-+// unsigned 8-bit integers in a and zero extends the upper bits.
-+// https://msdn.microsoft.com/en-us/library/vstudio/s090c8fk(v=vs.100).aspx
-+FORCE_INLINE int _mm_movemask_epi8(__m128i _a)
-+{
-+ uint8x16_t input = vreinterpretq_u8_m128i(_a);
-+ static const int8_t __attribute__((aligned(16)))
-+ xr[8] = {-7, -6, -5, -4, -3, -2, -1, 0};
-+ uint8x8_t mask_and = vdup_n_u8(0x80);
-+ int8x8_t mask_shift = vld1_s8(xr);
-+
-+ uint8x8_t lo = vget_low_u8(input);
-+ uint8x8_t hi = vget_high_u8(input);
-+
-+ lo = vand_u8(lo, mask_and);
-+ lo = vshl_u8(lo, mask_shift);
-+
-+ hi = vand_u8(hi, mask_and);
-+ hi = vshl_u8(hi, mask_shift);
-+
-+ lo = vpadd_u8(lo, lo);
-+ lo = vpadd_u8(lo, lo);
-+ lo = vpadd_u8(lo, lo);
-+
-+ hi = vpadd_u8(hi, hi);
-+ hi = vpadd_u8(hi, hi);
-+ hi = vpadd_u8(hi, hi);
-+
-+ return ((hi[0] << 8) | (lo[0] & 0xFF));
-+}
-+
-+// Compute the bitwise AND of 128 bits (representing integer data) in a and
-+// mask, and return 1 if the result is zero, otherwise return 0.
-+// https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_test_all_zeros&expand=5871
-+FORCE_INLINE int _mm_test_all_zeros(__m128i a, __m128i mask)
-+{
-+ int64x2_t a_and_mask =
-+ vandq_s64(vreinterpretq_s64_m128i(a), vreinterpretq_s64_m128i(mask));
-+ return (vgetq_lane_s64(a_and_mask, 0) | vgetq_lane_s64(a_and_mask, 1)) ? 0
-+ : 1;
-+}
-+
-+// ******************************************
-+// Math operations
-+// ******************************************
-+
-+// Subtracts the four single-precision, floating-point values of a and b.
-+//
-+// r0 := a0 - b0
-+// r1 := a1 - b1
-+// r2 := a2 - b2
-+// r3 := a3 - b3
-+//
-+// https://msdn.microsoft.com/en-us/library/vstudio/1zad2k61(v=vs.100).aspx
-+FORCE_INLINE __m128 _mm_sub_ps(__m128 a, __m128 b)
-+{
-+ return vreinterpretq_m128_f32(
-+ vsubq_f32(vreinterpretq_f32_m128(a), vreinterpretq_f32_m128(b)));
-+}
-+
-+// Subtract 2 packed 64-bit integers in b from 2 packed 64-bit integers in a,
-+// and store the results in dst.
-+// r0 := a0 - b0
-+// r1 := a1 - b1
-+FORCE_INLINE __m128i _mm_sub_epi64(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_m128i_s64(
-+ vsubq_s64(vreinterpretq_s64_m128i(a), vreinterpretq_s64_m128i(b)));
-+}
-+
-+// Subtracts the 4 signed or unsigned 32-bit integers of b from the 4 signed or
-+// unsigned 32-bit integers of a.
-+//
-+// r0 := a0 - b0
-+// r1 := a1 - b1
-+// r2 := a2 - b2
-+// r3 := a3 - b3
-+//
-+// https://msdn.microsoft.com/en-us/library/vstudio/fhh866h0(v=vs.100).aspx
-+FORCE_INLINE __m128i _mm_sub_epi32(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_m128_f32(
-+ vsubq_s32(vreinterpretq_f32_m128(a), vreinterpretq_f32_m128(b)));
-+}
-+
-+FORCE_INLINE __m128i _mm_sub_epi16(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_m128i_s16(
-+ vsubq_s16(vreinterpretq_s16_m128i(a), vreinterpretq_s16_m128i(b)));
-+}
-+
-+FORCE_INLINE __m128i _mm_sub_epi8(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_m128i_s8(
-+ vsubq_s8(vreinterpretq_s8_m128i(a), vreinterpretq_s8_m128i(b)));
-+}
-+
-+// Subtracts the 8 unsigned 16-bit integers of bfrom the 8 unsigned 16-bit
-+// integers of a and saturates..
-+// https://technet.microsoft.com/en-us/subscriptions/index/f44y0s19(v=vs.90).aspx
-+FORCE_INLINE __m128i _mm_subs_epu16(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_m128i_u16(
-+ vqsubq_u16(vreinterpretq_u16_m128i(a), vreinterpretq_u16_m128i(b)));
-+}
-+
-+// Subtracts the 16 unsigned 8-bit integers of b from the 16 unsigned 8-bit
-+// integers of a and saturates.
-+//
-+// r0 := UnsignedSaturate(a0 - b0)
-+// r1 := UnsignedSaturate(a1 - b1)
-+// ...
-+// r15 := UnsignedSaturate(a15 - b15)
-+//
-+// https://technet.microsoft.com/en-us/subscriptions/yadkxc18(v=vs.90)
-+FORCE_INLINE __m128i _mm_subs_epu8(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_m128i_u8(
-+ vqsubq_u8(vreinterpretq_u8_m128i(a), vreinterpretq_u8_m128i(b)));
-+}
-+
-+// Subtracts the 8 signed 16-bit integers of b from the 8 signed 16-bit integers
-+// of a and saturates.
-+//
-+// r0 := SignedSaturate(a0 - b0)
-+// r1 := SignedSaturate(a1 - b1)
-+// ...
-+// r7 := SignedSaturate(a7 - b7)
-+FORCE_INLINE __m128i _mm_subs_epi16(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_m128i_s16(
-+ vqsubq_s16(vreinterpretq_s16_m128i(a), vreinterpretq_s16_m128i(b)));
-+}
-+
-+FORCE_INLINE __m128i _mm_adds_epu16(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_m128i_u16(
-+ vqaddq_u16(vreinterpretq_u16_m128i(a), vreinterpretq_u16_m128i(b)));
-+}
-+
-+FORCE_INLINE __m128i _mm_sign_epi32(__m128i a, __m128i b)
-+{
-+ __m128i zer0 = vdupq_n_s32(0);
-+ __m128i ltMask = vreinterpretq_s32_u32(vcltq_s32(b, zer0));
-+ __m128i gtMask = vreinterpretq_s32_u32(vcgtq_s32(b, zer0));
-+ __m128i neg = vnegq_s32(a);
-+ __m128i tmp = vandq_s32(a, gtMask);
-+ return vorrq_s32(tmp, vandq_s32(neg, ltMask));
-+}
-+
-+FORCE_INLINE __m128i _mm_sign_epi16(__m128i a, __m128i b)
-+{
-+ int16x8_t zer0 = vdupq_n_s16(0);
-+ int16x8_t ltMask =
-+ vreinterpretq_s16_u16(vcltq_s16(vreinterpretq_s16_s32(b), zer0));
-+ int16x8_t gtMask =
-+ vreinterpretq_s16_u16(vcgtq_s16(vreinterpretq_s16_s32(b), zer0));
-+ int16x8_t neg = vnegq_s16(vreinterpretq_s16_s32(a));
-+ int16x8_t tmp = vandq_s16(vreinterpretq_s16_s32(a), gtMask);
-+ return vreinterpretq_s32_s16(vorrq_s16(tmp, vandq_s16(neg, ltMask)));
-+}
-+
-+// Adds the four single-precision, floating-point values of a and b.
-+//
-+// r0 := a0 + b0
-+// r1 := a1 + b1
-+// r2 := a2 + b2
-+// r3 := a3 + b3
-+//
-+// https://msdn.microsoft.com/en-us/library/vstudio/c9848chc(v=vs.100).aspx
-+FORCE_INLINE __m128 _mm_add_ps(__m128 a, __m128 b)
-+{
-+ return vreinterpretq_m128_f32(
-+ vaddq_f32(vreinterpretq_f32_m128(a), vreinterpretq_f32_m128(b)));
-+}
-+
-+// adds the scalar single-precision floating point values of a and b.
-+// https://msdn.microsoft.com/en-us/library/be94x2y6(v=vs.100).aspx
-+FORCE_INLINE __m128 _mm_add_ss(__m128 a, __m128 b)
-+{
-+ float32_t b0 = vgetq_lane_f32(vreinterpretq_f32_m128(b), 0);
-+ float32x4_t value = vsetq_lane_f32(b0, vdupq_n_f32(0), 0);
-+ // the upper values in the result must be the remnants of <a>.
-+ return vreinterpretq_m128_f32(vaddq_f32(a, value));
-+}
-+
-+// Adds the 4 signed or unsigned 64-bit integers in a to the 4 signed or
-+// unsigned 32-bit integers in b.
-+// https://msdn.microsoft.com/en-us/library/vstudio/09xs4fkk(v=vs.100).aspx
-+FORCE_INLINE __m128i _mm_add_epi64(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_s32_s64(
-+ vaddq_s64(vreinterpretq_s64_s32(a), vreinterpretq_s64_s32(b)));
-+}
-+
-+// Adds the 4 signed or unsigned 32-bit integers in a to the 4 signed or
-+// unsigned 32-bit integers in b.
-+//
-+// r0 := a0 + b0
-+// r1 := a1 + b1
-+// r2 := a2 + b2
-+// r3 := a3 + b3
-+//
-+// https://msdn.microsoft.com/en-us/library/vstudio/09xs4fkk(v=vs.100).aspx
-+FORCE_INLINE __m128i _mm_add_epi32(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_m128i_s32(
-+ vaddq_s32(vreinterpretq_s32_m128i(a), vreinterpretq_s32_m128i(b)));
-+}
-+
-+// Adds the 8 signed or unsigned 16-bit integers in a to the 8 signed or
-+// unsigned 16-bit integers in b.
-+// https://msdn.microsoft.com/en-us/library/fceha5k4(v=vs.100).aspx
-+FORCE_INLINE __m128i _mm_add_epi16(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_m128i_s16(
-+ vaddq_s16(vreinterpretq_s16_m128i(a), vreinterpretq_s16_m128i(b)));
-+}
-+
-+// Adds the 16 signed or unsigned 8-bit integers in a to the 16 signed or
-+// unsigned 8-bit integers in b.
-+// https://technet.microsoft.com/en-us/subscriptions/yc7tcyzs(v=vs.90)
-+FORCE_INLINE __m128i _mm_add_epi8(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_m128i_s8(
-+ vaddq_s8(vreinterpretq_s8_m128i(a), vreinterpretq_s8_m128i(b)));
-+}
-+
-+// Adds the 8 signed 16-bit integers in a to the 8 signed 16-bit integers in b
-+// and saturates.
-+//
-+// r0 := SignedSaturate(a0 + b0)
-+// r1 := SignedSaturate(a1 + b1)
-+// ...
-+// r7 := SignedSaturate(a7 + b7)
-+//
-+// https://msdn.microsoft.com/en-us/library/1a306ef8(v=vs.100).aspx
-+FORCE_INLINE __m128i _mm_adds_epi16(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_m128i_s16(
-+ vqaddq_s16(vreinterpretq_s16_m128i(a), vreinterpretq_s16_m128i(b)));
-+}
-+
-+// Adds the 16 unsigned 8-bit integers in a to the 16 unsigned 8-bit integers in
-+// b and saturates..
-+// https://msdn.microsoft.com/en-us/library/9hahyddy(v=vs.100).aspx
-+FORCE_INLINE __m128i _mm_adds_epu8(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_m128i_u8(
-+ vqaddq_u8(vreinterpretq_u8_m128i(a), vreinterpretq_u8_m128i(b)));
-+}
-+
-+// Multiplies the 8 signed or unsigned 16-bit integers from a by the 8 signed or
-+// unsigned 16-bit integers from b.
-+//
-+// r0 := (a0 * b0)[15:0]
-+// r1 := (a1 * b1)[15:0]
-+// ...
-+// r7 := (a7 * b7)[15:0]
-+//
-+// https://msdn.microsoft.com/en-us/library/vstudio/9ks1472s(v=vs.100).aspx
-+FORCE_INLINE __m128i _mm_mullo_epi16(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_m128i_s16(
-+ vmulq_s16(vreinterpretq_s16_m128i(a), vreinterpretq_s16_m128i(b)));
-+}
-+
-+// Multiplies the 4 signed or unsigned 32-bit integers from a by the 4 signed or
-+// unsigned 32-bit integers from b.
-+// https://msdn.microsoft.com/en-us/library/vstudio/bb531409(v=vs.100).aspx
-+FORCE_INLINE __m128i _mm_mullo_epi32(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_m128i_s32(
-+ vmulq_s32(vreinterpretq_s32_m128i(a), vreinterpretq_s32_m128i(b)));
-+}
-+
-+// Multiplies the four single-precision, floating-point values of a and b.
-+//
-+// r0 := a0 * b0
-+// r1 := a1 * b1
-+// r2 := a2 * b2
-+// r3 := a3 * b3
-+//
-+// https://msdn.microsoft.com/en-us/library/vstudio/22kbk6t9(v=vs.100).aspx
-+FORCE_INLINE __m128 _mm_mul_ps(__m128 a, __m128 b)
-+{
-+ return vreinterpretq_m128_f32(
-+ vmulq_f32(vreinterpretq_f32_m128(a), vreinterpretq_f32_m128(b)));
-+}
-+
-+// Multiply the low unsigned 32-bit integers from each packed 64-bit element in
-+// a and b, and store the unsigned 64-bit results in dst.
-+//
-+// r0 := (uint32_t*)a0 * (uint32_t*)b0
-+// r1 := (uint32_t*)a2 * (uint32_t*)b2
-+#if 1 /* C version */
-+FORCE_INLINE __m128i _mm_mul_epu32(__m128i a, __m128i b)
-+{
-+ __m128i d;
-+ vreinterpretq_nth_u64_m128i(d, 0) =
-+ (uint64_t)(vreinterpretq_nth_u32_m128i(a, 0)) *
-+ (uint64_t)(vreinterpretq_nth_u32_m128i(b, 0));
-+ vreinterpretq_nth_u64_m128i(d, 1) =
-+ (uint64_t)(vreinterpretq_nth_u32_m128i(a, 2)) *
-+ (uint64_t)(vreinterpretq_nth_u32_m128i(b, 2));
-+ return d;
-+}
-+#else /* Neon version */
-+// Default to c version until casting can be sorted out on neon version.
-+// (Otherwise requires compiling with -fpermissive) Also unclear whether neon
-+// version actually performs better.
-+FORCE_INLINE __m128i _mm_mul_epu32(__m128i a, __m128i b)
-+{
-+ // shuffle: 0, 1, 2, 3 -> 0, 2, 1, 3 */
-+ __m128i const a_shuf =
-+ *(__m128i *) (&vzip_u32(vget_low_u32(vreinterpretq_u32_m128i(a)),
-+ vget_high_u32(vreinterpretq_u32_m128i(a))));
-+ __m128i const b_shuf =
-+ *(__m128i *) (&vzip_u32(vget_low_u32(vreinterpretq_u32_m128i(b)),
-+ vget_high_u32(vreinterpretq_u32_m128i(b))));
-+ // Multiply low word (32 bit) against low word (32 bit) and high word (32
-+ // bit) against high word (32 bit). Pack both results (64 bit) into 128 bit
-+ // register and return result.
-+ return vreinterpretq_m128i_u64(
-+ vmull_u32(vget_low_u32(vreinterpretq_u32_m128i(a_shuf)),
-+ vget_low_u32(vreinterpretq_u32_m128i(b_shuf))));
-+}
-+#endif
-+
-+// Multiplies the 8 signed 16-bit integers from a by the 8 signed 16-bit
-+// integers from b.
-+//
-+// r0 := (a0 * b0) + (a1 * b1)
-+// r1 := (a2 * b2) + (a3 * b3)
-+// r2 := (a4 * b4) + (a5 * b5)
-+// r3 := (a6 * b6) + (a7 * b7)
-+// https://msdn.microsoft.com/en-us/library/yht36sa6(v=vs.90).aspx
-+FORCE_INLINE __m128i _mm_madd_epi16(__m128i a, __m128i b)
-+{
-+ int32x4_t low = vmull_s16(vget_low_s16(vreinterpretq_s16_m128i(a)),
-+ vget_low_s16(vreinterpretq_s16_m128i(b)));
-+ int32x4_t high = vmull_s16(vget_high_s16(vreinterpretq_s16_m128i(a)),
-+ vget_high_s16(vreinterpretq_s16_m128i(b)));
-+
-+ int32x2_t low_sum = vpadd_s32(vget_low_s32(low), vget_high_s32(low));
-+ int32x2_t high_sum = vpadd_s32(vget_low_s32(high), vget_high_s32(high));
-+
-+ return vreinterpretq_s32_m128i(vcombine_s32(low_sum, high_sum));
-+}
-+
-+// Computes the absolute difference of the 16 unsigned 8-bit integers from a
-+// and the 16 unsigned 8-bit integers from b.
-+//
-+// Return Value
-+// Sums the upper 8 differences and lower 8 differences and packs the
-+// resulting 2 unsigned 16-bit integers into the upper and lower 64-bit
-+// elements.
-+//
-+// r0 := abs(a0 - b0) + abs(a1 - b1) +...+ abs(a7 - b7)
-+// r1 := 0x0
-+// r2 := 0x0
-+// r3 := 0x0
-+// r4 := abs(a8 - b8) + abs(a9 - b9) +...+ abs(a15 - b15)
-+// r5 := 0x0
-+// r6 := 0x0
-+// r7 := 0x0
-+FORCE_INLINE __m128i _mm_sad_epu8(__m128i a, __m128i b)
-+{
-+ uint16x8_t t = vpaddlq_u8(vabdq_u8((uint8x16_t) a, (uint8x16_t) b));
-+ uint16_t r0 = t[0] + t[1] + t[2] + t[3];
-+ uint16_t r4 = t[4] + t[5] + t[6] + t[7];
-+ uint16x8_t r = vsetq_lane_u16(r0, vdupq_n_u16(0), 0);
-+ return (__m128i) vsetq_lane_u16(r4, r, 4);
-+}
-+
-+// Divides the four single-precision, floating-point values of a and b.
-+//
-+// r0 := a0 / b0
-+// r1 := a1 / b1
-+// r2 := a2 / b2
-+// r3 := a3 / b3
-+//
-+// https://msdn.microsoft.com/en-us/library/edaw8147(v=vs.100).aspx
-+FORCE_INLINE __m128 _mm_div_ps(__m128 a, __m128 b)
-+{
-+ float32x4_t recip0 = vrecpeq_f32(vreinterpretq_f32_m128(b));
-+ float32x4_t recip1 =
-+ vmulq_f32(recip0, vrecpsq_f32(recip0, vreinterpretq_f32_m128(b)));
-+ return vreinterpretq_m128_f32(vmulq_f32(vreinterpretq_f32_m128(a), recip1));
-+}
-+
-+// Divides the scalar single-precision floating point value of a by b.
-+// https://msdn.microsoft.com/en-us/library/4y73xa49(v=vs.100).aspx
-+FORCE_INLINE __m128 _mm_div_ss(__m128 a, __m128 b)
-+{
-+ float32_t value =
-+ vgetq_lane_f32(vreinterpretq_f32_m128(_mm_div_ps(a, b)), 0);
-+ return vreinterpretq_m128_f32(
-+ vsetq_lane_f32(value, vreinterpretq_f32_m128(a), 0));
-+}
-+
-+// This version does additional iterations to improve accuracy. Between 1 and 4
-+// recommended. Computes the approximations of reciprocals of the four
-+// single-precision, floating-point values of a.
-+// https://msdn.microsoft.com/en-us/library/vstudio/796k1tty(v=vs.100).aspx
-+FORCE_INLINE __m128 recipq_newton(__m128 in, int n)
-+{
-+ int i;
-+ float32x4_t recip = vrecpeq_f32(vreinterpretq_f32_m128(in));
-+ for (i = 0; i < n; ++i) {
-+ recip =
-+ vmulq_f32(recip, vrecpsq_f32(recip, vreinterpretq_f32_m128(in)));
-+ }
-+ return vreinterpretq_m128_f32(recip);
-+}
-+
-+// Computes the approximations of reciprocals of the four single-precision,
-+// floating-point values of a.
-+// https://msdn.microsoft.com/en-us/library/vstudio/796k1tty(v=vs.100).aspx
-+FORCE_INLINE __m128 _mm_rcp_ps(__m128 in)
-+{
-+ float32x4_t recip = vrecpeq_f32(vreinterpretq_f32_m128(in));
-+ recip = vmulq_f32(recip, vrecpsq_f32(recip, vreinterpretq_f32_m128(in)));
-+ return vreinterpretq_m128_f32(recip);
-+}
-+
-+// Computes the approximations of square roots of the four single-precision,
-+// floating-point values of a. First computes reciprocal square roots and then
-+// reciprocals of the four values.
-+//
-+// r0 := sqrt(a0)
-+// r1 := sqrt(a1)
-+// r2 := sqrt(a2)
-+// r3 := sqrt(a3)
-+//
-+// https://msdn.microsoft.com/en-us/library/vstudio/8z67bwwk(v=vs.100).aspx
-+FORCE_INLINE __m128 _mm_sqrt_ps(__m128 in)
-+{
-+ float32x4_t recipsq = vrsqrteq_f32(vreinterpretq_f32_m128(in));
-+ float32x4_t sq = vrecpeq_f32(recipsq);
-+ // ??? use step versions of both sqrt and recip for better accuracy?
-+ return vreinterpretq_m128_f32(sq);
-+}
-+
-+// Computes the approximation of the square root of the scalar single-precision
-+// floating point value of in.
-+// https://msdn.microsoft.com/en-us/library/ahfsc22d(v=vs.100).aspx
-+FORCE_INLINE __m128 _mm_sqrt_ss(__m128 in)
-+{
-+ float32_t value =
-+ vgetq_lane_f32(vreinterpretq_f32_m128(_mm_sqrt_ps(in)), 0);
-+ return vreinterpretq_m128_f32(
-+ vsetq_lane_f32(value, vreinterpretq_f32_m128(in), 0));
-+}
-+
-+// Computes the approximations of the reciprocal square roots of the four
-+// single-precision floating point values of in.
-+// https://msdn.microsoft.com/en-us/library/22hfsh53(v=vs.100).aspx
-+FORCE_INLINE __m128 _mm_rsqrt_ps(__m128 in)
-+{
-+ return vreinterpretq_m128_f32(vrsqrteq_f32(vreinterpretq_f32_m128(in)));
-+}
-+
-+// Computes the maximums of the four single-precision, floating-point values of
-+// a and b.
-+// https://msdn.microsoft.com/en-us/library/vstudio/ff5d607a(v=vs.100).aspx
-+FORCE_INLINE __m128 _mm_max_ps(__m128 a, __m128 b)
-+{
-+ return vreinterpretq_m128_f32(
-+ vmaxq_f32(vreinterpretq_f32_m128(a), vreinterpretq_f32_m128(b)));
-+}
-+
-+// Computes the minima of the four single-precision, floating-point values of a
-+// and b.
-+// https://msdn.microsoft.com/en-us/library/vstudio/wh13kadz(v=vs.100).aspx
-+FORCE_INLINE __m128 _mm_min_ps(__m128 a, __m128 b)
-+{
-+ return vreinterpretq_m128_f32(
-+ vminq_f32(vreinterpretq_f32_m128(a), vreinterpretq_f32_m128(b)));
-+}
-+
-+// Computes the maximum of the two lower scalar single-precision floating point
-+// values of a and b.
-+// https://msdn.microsoft.com/en-us/library/s6db5esz(v=vs.100).aspx
-+FORCE_INLINE __m128 _mm_max_ss(__m128 a, __m128 b)
-+{
-+ float32_t value = vgetq_lane_f32(
-+ vmaxq_f32(vreinterpretq_f32_m128(a), vreinterpretq_f32_m128(b)), 0);
-+ return vreinterpretq_m128_f32(
-+ vsetq_lane_f32(value, vreinterpretq_f32_m128(a), 0));
-+}
-+
-+// Computes the minimum of the two lower scalar single-precision floating point
-+// values of a and b.
-+// https://msdn.microsoft.com/en-us/library/0a9y7xaa(v=vs.100).aspx
-+FORCE_INLINE __m128 _mm_min_ss(__m128 a, __m128 b)
-+{
-+ float32_t value = vgetq_lane_f32(
-+ vminq_f32(vreinterpretq_f32_m128(a), vreinterpretq_f32_m128(b)), 0);
-+ return vreinterpretq_m128_f32(
-+ vsetq_lane_f32(value, vreinterpretq_f32_m128(a), 0));
-+}
-+
-+// Computes the pairwise maxima of the 16 unsigned 8-bit integers from a and the
-+// 16 unsigned 8-bit integers from b.
-+// https://msdn.microsoft.com/en-us/library/st6634za(v=vs.100).aspx
-+FORCE_INLINE __m128i _mm_max_epu8(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_m128i_u8(
-+ vmaxq_u8(vreinterpretq_u8_m128i(a), vreinterpretq_u8_m128i(b)));
-+}
-+
-+// Computes the pairwise minima of the 16 unsigned 8-bit integers from a and the
-+// 16 unsigned 8-bit integers from b.
-+// https://msdn.microsoft.com/ko-kr/library/17k8cf58(v=vs.100).aspxx
-+FORCE_INLINE __m128i _mm_min_epu8(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_m128i_u8(
-+ vminq_u8(vreinterpretq_u8_m128i(a), vreinterpretq_u8_m128i(b)));
-+}
-+
-+// Computes the pairwise minima of the 8 signed 16-bit integers from a and the 8
-+// signed 16-bit integers from b.
-+// https://msdn.microsoft.com/en-us/library/vstudio/6te997ew(v=vs.100).aspx
-+FORCE_INLINE __m128i _mm_min_epi16(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_m128i_s16(
-+ vminq_s16(vreinterpretq_s16_m128i(a), vreinterpretq_s16_m128i(b)));
-+}
-+
-+// Computes the pairwise maxima of the 8 signed 16-bit integers from a and the 8
-+// signed 16-bit integers from b.
-+// https://msdn.microsoft.com/en-us/LIBRary/3x060h7c(v=vs.100).aspx
-+FORCE_INLINE __m128i _mm_max_epi16(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_m128i_s16(
-+ vmaxq_s16(vreinterpretq_s16_m128i(a), vreinterpretq_s16_m128i(b)));
-+}
-+
-+// epi versions of min/max
-+// Computes the pariwise maximums of the four signed 32-bit integer values of a
-+// and b.
-+//
-+// A 128-bit parameter that can be defined with the following equations:
-+// r0 := (a0 > b0) ? a0 : b0
-+// r1 := (a1 > b1) ? a1 : b1
-+// r2 := (a2 > b2) ? a2 : b2
-+// r3 := (a3 > b3) ? a3 : b3
-+//
-+// https://msdn.microsoft.com/en-us/library/vstudio/bb514055(v=vs.100).aspx
-+FORCE_INLINE __m128i _mm_max_epi32(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_m128i_s32(
-+ vmaxq_s32(vreinterpretq_s32_m128i(a), vreinterpretq_s32_m128i(b)));
-+}
-+
-+// Computes the pariwise minima of the four signed 32-bit integer values of a
-+// and b.
-+//
-+// A 128-bit parameter that can be defined with the following equations:
-+// r0 := (a0 < b0) ? a0 : b0
-+// r1 := (a1 < b1) ? a1 : b1
-+// r2 := (a2 < b2) ? a2 : b2
-+// r3 := (a3 < b3) ? a3 : b3
-+//
-+// https://msdn.microsoft.com/en-us/library/vstudio/bb531476(v=vs.100).aspx
-+FORCE_INLINE __m128i _mm_min_epi32(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_m128i_s32(
-+ vminq_s32(vreinterpretq_s32_m128i(a), vreinterpretq_s32_m128i(b)));
-+}
-+
-+// Multiplies the 8 signed 16-bit integers from a by the 8 signed 16-bit
-+// integers from b.
-+//
-+// r0 := (a0 * b0)[31:16]
-+// r1 := (a1 * b1)[31:16]
-+// ...
-+// r7 := (a7 * b7)[31:16]
-+//
-+// https://msdn.microsoft.com/en-us/library/vstudio/59hddw1d(v=vs.100).aspx
-+FORCE_INLINE __m128i _mm_mulhi_epi16(__m128i a, __m128i b)
-+{
-+ /* FIXME: issue with large values because of result saturation */
-+ // int16x8_t ret = vqdmulhq_s16(vreinterpretq_s16_m128i(a),
-+ // vreinterpretq_s16_m128i(b)); /* =2*a*b */ return
-+ // vreinterpretq_m128i_s16(vshrq_n_s16(ret, 1));
-+ int16x4_t a3210 = vget_low_s16(vreinterpretq_s16_m128i(a));
-+ int16x4_t b3210 = vget_low_s16(vreinterpretq_s16_m128i(b));
-+ int32x4_t ab3210 = vmull_s16(a3210, b3210); /* 3333222211110000 */
-+ int16x4_t a7654 = vget_high_s16(vreinterpretq_s16_m128i(a));
-+ int16x4_t b7654 = vget_high_s16(vreinterpretq_s16_m128i(b));
-+ int32x4_t ab7654 = vmull_s16(a7654, b7654); /* 7777666655554444 */
-+ uint16x8x2_t r =
-+ vuzpq_u16(vreinterpretq_u16_s32(ab3210), vreinterpretq_u16_s32(ab7654));
-+ return vreinterpretq_m128i_u16(r.val[1]);
-+}
-+
-+// Computes pairwise add of each argument as single-precision, floating-point
-+// values a and b.
-+// https://msdn.microsoft.com/en-us/library/yd9wecaa.aspx
-+FORCE_INLINE __m128 _mm_hadd_ps(__m128 a, __m128 b)
-+{
-+#if defined(__aarch64__)
-+ return vreinterpretq_m128_f32(vpaddq_f32(
-+ vreinterpretq_f32_m128(a), vreinterpretq_f32_m128(b))); // AArch64
-+#else
-+ float32x2_t a10 = vget_low_f32(vreinterpretq_f32_m128(a));
-+ float32x2_t a32 = vget_high_f32(vreinterpretq_f32_m128(a));
-+ float32x2_t b10 = vget_low_f32(vreinterpretq_f32_m128(b));
-+ float32x2_t b32 = vget_high_f32(vreinterpretq_f32_m128(b));
-+ return vreinterpretq_m128_f32(
-+ vcombine_f32(vpadd_f32(a10, a32), vpadd_f32(b10, b32)));
-+#endif
-+}
-+
-+// ******************************************
-+// Compare operations
-+// ******************************************
-+
-+// Compares for less than
-+// https://msdn.microsoft.com/en-us/library/vstudio/f330yhc8(v=vs.100).aspx
-+FORCE_INLINE __m128 _mm_cmplt_ps(__m128 a, __m128 b)
-+{
-+ return vreinterpretq_m128_u32(
-+ vcltq_f32(vreinterpretq_f32_m128(a), vreinterpretq_f32_m128(b)));
-+}
-+
-+// Compares for greater than.
-+//
-+// r0 := (a0 > b0) ? 0xffffffff : 0x0
-+// r1 := (a1 > b1) ? 0xffffffff : 0x0
-+// r2 := (a2 > b2) ? 0xffffffff : 0x0
-+// r3 := (a3 > b3) ? 0xffffffff : 0x0
-+//
-+// https://msdn.microsoft.com/en-us/library/vstudio/11dy102s(v=vs.100).aspx
-+FORCE_INLINE __m128 _mm_cmpgt_ps(__m128 a, __m128 b)
-+{
-+ return vreinterpretq_m128_u32(
-+ vcgtq_f32(vreinterpretq_f32_m128(a), vreinterpretq_f32_m128(b)));
-+}
-+
-+// Compares for greater than or equal.
-+// https://msdn.microsoft.com/en-us/library/vstudio/fs813y2t(v=vs.100).aspx
-+FORCE_INLINE __m128 _mm_cmpge_ps(__m128 a, __m128 b)
-+{
-+ return vreinterpretq_m128_u32(
-+ vcgeq_f32(vreinterpretq_f32_m128(a), vreinterpretq_f32_m128(b)));
-+}
-+
-+// Compares for less than or equal.
-+//
-+// r0 := (a0 <= b0) ? 0xffffffff : 0x0
-+// r1 := (a1 <= b1) ? 0xffffffff : 0x0
-+// r2 := (a2 <= b2) ? 0xffffffff : 0x0
-+// r3 := (a3 <= b3) ? 0xffffffff : 0x0
-+//
-+// https://msdn.microsoft.com/en-us/library/vstudio/1s75w83z(v=vs.100).aspx
-+FORCE_INLINE __m128 _mm_cmple_ps(__m128 a, __m128 b)
-+{
-+ return vreinterpretq_m128_u32(
-+ vcleq_f32(vreinterpretq_f32_m128(a), vreinterpretq_f32_m128(b)));
-+}
-+
-+// Compares for equality.
-+// https://msdn.microsoft.com/en-us/library/vstudio/36aectz5(v=vs.100).aspx
-+FORCE_INLINE __m128 _mm_cmpeq_ps(__m128 a, __m128 b)
-+{
-+ return vreinterpretq_m128_u32(
-+ vceqq_f32(vreinterpretq_f32_m128(a), vreinterpretq_f32_m128(b)));
-+}
-+
-+// Compares the 16 signed or unsigned 8-bit integers in a and the 16 signed or
-+// unsigned 8-bit integers in b for equality.
-+// https://msdn.microsoft.com/en-us/library/windows/desktop/bz5xk21a(v=vs.90).aspx
-+FORCE_INLINE __m128i _mm_cmpeq_epi8(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_m128i_u8(
-+ vceqq_s8(vreinterpretq_s8_m128i(a), vreinterpretq_s8_m128i(b)));
-+}
-+
-+// Compares the 8 signed or unsigned 16-bit integers in a and the 8 signed or
-+// unsigned 16-bit integers in b for equality.
-+// https://msdn.microsoft.com/en-us/library/2ay060te(v=vs.100).aspx
-+FORCE_INLINE __m128i _mm_cmpeq_epi16(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_m128i_u16(
-+ vceqq_s16(vreinterpretq_s16_m128i(a), vreinterpretq_s16_m128i(b)));
-+}
-+
-+// Compare packed 32-bit integers in a and b for equality, and store the results
-+// in dst
-+FORCE_INLINE __m128i _mm_cmpeq_epi32(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_m128i_u32(
-+ vceqq_s32(vreinterpretq_s32_m128i(a), vreinterpretq_s32_m128i(b)));
-+}
-+
-+// Compares the 16 signed 8-bit integers in a and the 16 signed 8-bit integers
-+// in b for lesser than.
-+// https://msdn.microsoft.com/en-us/library/windows/desktop/9s46csht(v=vs.90).aspx
-+FORCE_INLINE __m128i _mm_cmplt_epi8(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_m128i_u8(
-+ vcltq_s8(vreinterpretq_s8_m128i(a), vreinterpretq_s8_m128i(b)));
-+}
-+
-+// Compares the 16 signed 8-bit integers in a and the 16 signed 8-bit integers
-+// in b for greater than.
-+//
-+// r0 := (a0 > b0) ? 0xff : 0x0
-+// r1 := (a1 > b1) ? 0xff : 0x0
-+// ...
-+// r15 := (a15 > b15) ? 0xff : 0x0
-+//
-+// https://msdn.microsoft.com/zh-tw/library/wf45zt2b(v=vs.100).aspx
-+FORCE_INLINE __m128i _mm_cmpgt_epi8(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_m128i_u8(
-+ vcgtq_s8(vreinterpretq_s8_m128i(a), vreinterpretq_s8_m128i(b)));
-+}
-+
-+// Compares the 8 signed 16-bit integers in a and the 8 signed 16-bit integers
-+// in b for greater than.
-+//
-+// r0 := (a0 > b0) ? 0xffff : 0x0
-+// r1 := (a1 > b1) ? 0xffff : 0x0
-+// ...
-+// r7 := (a7 > b7) ? 0xffff : 0x0
-+//
-+// https://technet.microsoft.com/en-us/library/xd43yfsa(v=vs.100).aspx
-+FORCE_INLINE __m128i _mm_cmpgt_epi16(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_m128i_u16(
-+ vcgtq_s16(vreinterpretq_s16_m128i(a), vreinterpretq_s16_m128i(b)));
-+}
-+
-+
-+// Compares the 4 signed 32-bit integers in a and the 4 signed 32-bit integers
-+// in b for less than.
-+// https://msdn.microsoft.com/en-us/library/vstudio/4ak0bf5d(v=vs.100).aspx
-+FORCE_INLINE __m128i _mm_cmplt_epi32(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_m128i_u32(
-+ vcltq_s32(vreinterpretq_s32_m128i(a), vreinterpretq_s32_m128i(b)));
-+}
-+
-+// Compares the 4 signed 32-bit integers in a and the 4 signed 32-bit integers
-+// in b for greater than.
-+// https://msdn.microsoft.com/en-us/library/vstudio/1s9f2z0y(v=vs.100).aspx
-+FORCE_INLINE __m128i _mm_cmpgt_epi32(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_m128i_u32(
-+ vcgtq_s32(vreinterpretq_s32_m128i(a), vreinterpretq_s32_m128i(b)));
-+}
-+
-+// Compares the four 32-bit floats in a and b to check if any values are NaN.
-+// Ordered compare between each value returns true for "orderable" and false for
-+// "not orderable" (NaN).
-+// https://msdn.microsoft.com/en-us/library/vstudio/0h9w00fx(v=vs.100).aspx see
-+// also:
-+// http://stackoverflow.com/questions/8627331/what-does-ordered-unordered-comparison-mean
-+// http://stackoverflow.com/questions/29349621/neon-isnanval-intrinsics
-+FORCE_INLINE __m128 _mm_cmpord_ps(__m128 a, __m128 b)
-+{
-+ // Note: NEON does not have ordered compare builtin
-+ // Need to compare a eq a and b eq b to check for NaN
-+ // Do AND of results to get final
-+ uint32x4_t ceqaa =
-+ vceqq_f32(vreinterpretq_f32_m128(a), vreinterpretq_f32_m128(a));
-+ uint32x4_t ceqbb =
-+ vceqq_f32(vreinterpretq_f32_m128(b), vreinterpretq_f32_m128(b));
-+ return vreinterpretq_m128_u32(vandq_u32(ceqaa, ceqbb));
-+}
-+
-+// Compares the lower single-precision floating point scalar values of a and b
-+// using a less than operation. :
-+// https://msdn.microsoft.com/en-us/library/2kwe606b(v=vs.90).aspx Important
-+// note!! The documentation on MSDN is incorrect! If either of the values is a
-+// NAN the docs say you will get a one, but in fact, it will return a zero!!
-+FORCE_INLINE int _mm_comilt_ss(__m128 a, __m128 b)
-+{
-+ uint32x4_t a_not_nan =
-+ vceqq_f32(vreinterpretq_f32_m128(a), vreinterpretq_f32_m128(a));
-+ uint32x4_t b_not_nan =
-+ vceqq_f32(vreinterpretq_f32_m128(b), vreinterpretq_f32_m128(b));
-+ uint32x4_t a_and_b_not_nan = vandq_u32(a_not_nan, b_not_nan);
-+ uint32x4_t a_lt_b =
-+ vcltq_f32(vreinterpretq_f32_m128(a), vreinterpretq_f32_m128(b));
-+ return (vgetq_lane_u32(vandq_u32(a_and_b_not_nan, a_lt_b), 0) != 0) ? 1 : 0;
-+}
-+
-+// Compares the lower single-precision floating point scalar values of a and b
-+// using a greater than operation. :
-+// https://msdn.microsoft.com/en-us/library/b0738e0t(v=vs.100).aspx
-+FORCE_INLINE int _mm_comigt_ss(__m128 a, __m128 b)
-+{
-+ // return vgetq_lane_u32(vcgtq_f32(vreinterpretq_f32_m128(a),
-+ // vreinterpretq_f32_m128(b)), 0);
-+ uint32x4_t a_not_nan =
-+ vceqq_f32(vreinterpretq_f32_m128(a), vreinterpretq_f32_m128(a));
-+ uint32x4_t b_not_nan =
-+ vceqq_f32(vreinterpretq_f32_m128(b), vreinterpretq_f32_m128(b));
-+ uint32x4_t a_and_b_not_nan = vandq_u32(a_not_nan, b_not_nan);
-+ uint32x4_t a_gt_b =
-+ vcgtq_f32(vreinterpretq_f32_m128(a), vreinterpretq_f32_m128(b));
-+ return (vgetq_lane_u32(vandq_u32(a_and_b_not_nan, a_gt_b), 0) != 0) ? 1 : 0;
-+}
-+
-+// Compares the lower single-precision floating point scalar values of a and b
-+// using a less than or equal operation. :
-+// https://msdn.microsoft.com/en-us/library/1w4t7c57(v=vs.90).aspx
-+FORCE_INLINE int _mm_comile_ss(__m128 a, __m128 b)
-+{
-+ // return vgetq_lane_u32(vcleq_f32(vreinterpretq_f32_m128(a),
-+ // vreinterpretq_f32_m128(b)), 0);
-+ uint32x4_t a_not_nan =
-+ vceqq_f32(vreinterpretq_f32_m128(a), vreinterpretq_f32_m128(a));
-+ uint32x4_t b_not_nan =
-+ vceqq_f32(vreinterpretq_f32_m128(b), vreinterpretq_f32_m128(b));
-+ uint32x4_t a_and_b_not_nan = vandq_u32(a_not_nan, b_not_nan);
-+ uint32x4_t a_le_b =
-+ vcleq_f32(vreinterpretq_f32_m128(a), vreinterpretq_f32_m128(b));
-+ return (vgetq_lane_u32(vandq_u32(a_and_b_not_nan, a_le_b), 0) != 0) ? 1 : 0;
-+}
-+
-+// Compares the lower single-precision floating point scalar values of a and b
-+// using a greater than or equal operation. :
-+// https://msdn.microsoft.com/en-us/library/8t80des6(v=vs.100).aspx
-+FORCE_INLINE int _mm_comige_ss(__m128 a, __m128 b)
-+{
-+ // return vgetq_lane_u32(vcgeq_f32(vreinterpretq_f32_m128(a),
-+ // vreinterpretq_f32_m128(b)), 0);
-+ uint32x4_t a_not_nan =
-+ vceqq_f32(vreinterpretq_f32_m128(a), vreinterpretq_f32_m128(a));
-+ uint32x4_t b_not_nan =
-+ vceqq_f32(vreinterpretq_f32_m128(b), vreinterpretq_f32_m128(b));
-+ uint32x4_t a_and_b_not_nan = vandq_u32(a_not_nan, b_not_nan);
-+ uint32x4_t a_ge_b =
-+ vcgeq_f32(vreinterpretq_f32_m128(a), vreinterpretq_f32_m128(b));
-+ return (vgetq_lane_u32(vandq_u32(a_and_b_not_nan, a_ge_b), 0) != 0) ? 1 : 0;
-+}
-+
-+// Compares the lower single-precision floating point scalar values of a and b
-+// using an equality operation. :
-+// https://msdn.microsoft.com/en-us/library/93yx2h2b(v=vs.100).aspx
-+FORCE_INLINE int _mm_comieq_ss(__m128 a, __m128 b)
-+{
-+ // return vgetq_lane_u32(vceqq_f32(vreinterpretq_f32_m128(a),
-+ // vreinterpretq_f32_m128(b)), 0);
-+ uint32x4_t a_not_nan =
-+ vceqq_f32(vreinterpretq_f32_m128(a), vreinterpretq_f32_m128(a));
-+ uint32x4_t b_not_nan =
-+ vceqq_f32(vreinterpretq_f32_m128(b), vreinterpretq_f32_m128(b));
-+ uint32x4_t a_and_b_not_nan = vandq_u32(a_not_nan, b_not_nan);
-+ uint32x4_t a_eq_b =
-+ vceqq_f32(vreinterpretq_f32_m128(a), vreinterpretq_f32_m128(b));
-+ return (vgetq_lane_u32(vandq_u32(a_and_b_not_nan, a_eq_b), 0) != 0) ? 1 : 0;
-+}
-+
-+// Compares the lower single-precision floating point scalar values of a and b
-+// using an inequality operation. :
-+// https://msdn.microsoft.com/en-us/library/bafh5e0a(v=vs.90).aspx
-+FORCE_INLINE int _mm_comineq_ss(__m128 a, __m128 b)
-+{
-+ // return !vgetq_lane_u32(vceqq_f32(vreinterpretq_f32_m128(a),
-+ // vreinterpretq_f32_m128(b)), 0);
-+ uint32x4_t a_not_nan =
-+ vceqq_f32(vreinterpretq_f32_m128(a), vreinterpretq_f32_m128(a));
-+ uint32x4_t b_not_nan =
-+ vceqq_f32(vreinterpretq_f32_m128(b), vreinterpretq_f32_m128(b));
-+ uint32x4_t a_or_b_nan = vmvnq_u32(vandq_u32(a_not_nan, b_not_nan));
-+ uint32x4_t a_neq_b = vmvnq_u32(
-+ vceqq_f32(vreinterpretq_f32_m128(a), vreinterpretq_f32_m128(b)));
-+ return (vgetq_lane_u32(vorrq_u32(a_or_b_nan, a_neq_b), 0) != 0) ? 1 : 0;
-+}
-+
-+// according to the documentation, these intrinsics behave the same as the
-+// non-'u' versions. We'll just alias them here.
-+#define _mm_ucomilt_ss _mm_comilt_ss
-+#define _mm_ucomile_ss _mm_comile_ss
-+#define _mm_ucomigt_ss _mm_comigt_ss
-+#define _mm_ucomige_ss _mm_comige_ss
-+#define _mm_ucomieq_ss _mm_comieq_ss
-+#define _mm_ucomineq_ss _mm_comineq_ss
-+
-+// ******************************************
-+// Conversions
-+// ******************************************
-+
-+// Converts the four single-precision, floating-point values of a to signed
-+// 32-bit integer values using truncate.
-+// https://msdn.microsoft.com/en-us/library/vstudio/1h005y6x(v=vs.100).aspx
-+FORCE_INLINE __m128i _mm_cvttps_epi32(__m128 a)
-+{
-+ return vreinterpretq_m128i_s32(vcvtq_s32_f32(vreinterpretq_f32_m128(a)));
-+}
-+
-+// Converts the four signed 32-bit integer values of a to single-precision,
-+// floating-point values
-+// https://msdn.microsoft.com/en-us/library/vstudio/36bwxcx5(v=vs.100).aspx
-+FORCE_INLINE __m128 _mm_cvtepi32_ps(__m128i a)
-+{
-+ return vreinterpretq_m128_f32(vcvtq_f32_s32(vreinterpretq_s32_m128i(a)));
-+}
-+
-+// Converts the four unsigned 8-bit integers in the lower 32 bits to four
-+// unsigned 32-bit integers.
-+// https://msdn.microsoft.com/en-us/library/bb531467%28v=vs.100%29.aspx
-+FORCE_INLINE __m128i _mm_cvtepu8_epi32(__m128i a)
-+{
-+ uint8x16_t u8x16 = vreinterpretq_u8_s32(a); /* xxxx xxxx xxxx DCBA */
-+ uint16x8_t u16x8 = vmovl_u8(vget_low_u8(u8x16)); /* 0x0x 0x0x 0D0C 0B0A */
-+ uint32x4_t u32x4 = vmovl_u16(vget_low_u16(u16x8)); /* 000D 000C 000B 000A */
-+ return vreinterpretq_s32_u32(u32x4);
-+}
-+
-+// Converts the four signed 16-bit integers in the lower 64 bits to four signed
-+// 32-bit integers.
-+// https://msdn.microsoft.com/en-us/library/bb514079%28v=vs.100%29.aspx
-+FORCE_INLINE __m128i _mm_cvtepi16_epi32(__m128i a)
-+{
-+ return vreinterpretq_m128i_s32(
-+ vmovl_s16(vget_low_s16(vreinterpretq_s16_m128i(a))));
-+}
-+
-+// Converts the four single-precision, floating-point values of a to signed
-+// 32-bit integer values.
-+//
-+// r0 := (int) a0
-+// r1 := (int) a1
-+// r2 := (int) a2
-+// r3 := (int) a3
-+//
-+// https://msdn.microsoft.com/en-us/library/vstudio/xdc42k5e(v=vs.100).aspx
-+// *NOTE*. The default rounding mode on SSE is 'round to even', which ArmV7-A
-+// does not support! It is supported on ARMv8-A however.
-+FORCE_INLINE __m128i _mm_cvtps_epi32(__m128 a)
-+{
-+#if defined(__aarch64__)
-+ return vcvtnq_s32_f32(a);
-+#else
-+ uint32x4_t signmask = vdupq_n_u32(0x80000000);
-+ float32x4_t half = vbslq_f32(signmask, vreinterpretq_f32_m128(a),
-+ vdupq_n_f32(0.5f)); /* +/- 0.5 */
-+ int32x4_t r_normal = vcvtq_s32_f32(vaddq_f32(
-+ vreinterpretq_f32_m128(a), half)); /* round to integer: [a + 0.5]*/
-+ int32x4_t r_trunc =
-+ vcvtq_s32_f32(vreinterpretq_f32_m128(a)); /* truncate to integer: [a] */
-+ int32x4_t plusone = vreinterpretq_s32_u32(vshrq_n_u32(
-+ vreinterpretq_u32_s32(vnegq_s32(r_trunc)), 31)); /* 1 or 0 */
-+ int32x4_t r_even = vbicq_s32(vaddq_s32(r_trunc, plusone),
-+ vdupq_n_s32(1)); /* ([a] + {0,1}) & ~1 */
-+ float32x4_t delta = vsubq_f32(
-+ vreinterpretq_f32_m128(a),
-+ vcvtq_f32_s32(r_trunc)); /* compute delta: delta = (a - [a]) */
-+ uint32x4_t is_delta_half = vceqq_f32(delta, half); /* delta == +/- 0.5 */
-+ return vreinterpretq_m128i_s32(vbslq_s32(is_delta_half, r_even, r_normal));
-+#endif
-+}
-+
-+// Moves the least significant 32 bits of a to a 32-bit integer.
-+// https://msdn.microsoft.com/en-us/library/5z7a9642%28v=vs.90%29.aspx
-+FORCE_INLINE int _mm_cvtsi128_si32(__m128i a)
-+{
-+ return vgetq_lane_s32(vreinterpretq_s32_m128i(a), 0);
-+}
-+
-+// Extracts the low order 64-bit integer from the parameter.
-+// https://msdn.microsoft.com/en-us/library/bb531384(v=vs.120).aspx
-+FORCE_INLINE uint64_t _mm_cvtsi128_si64(__m128i a)
-+{
-+ return vgetq_lane_s64(vreinterpretq_s64_m128i(a), 0);
-+}
-+
-+// Moves 32-bit integer a to the least significant 32 bits of an __m128 object,
-+// zero extending the upper bits.
-+//
-+// r0 := a
-+// r1 := 0x0
-+// r2 := 0x0
-+// r3 := 0x0
-+//
-+// https://msdn.microsoft.com/en-us/library/ct3539ha%28v=vs.90%29.aspx
-+FORCE_INLINE __m128i _mm_cvtsi32_si128(int a)
-+{
-+ return vreinterpretq_m128i_s32(vsetq_lane_s32(a, vdupq_n_s32(0), 0));
-+}
-+
-+// Applies a type cast to reinterpret four 32-bit floating point values passed
-+// in as a 128-bit parameter as packed 32-bit integers.
-+// https://msdn.microsoft.com/en-us/library/bb514099.aspx
-+FORCE_INLINE __m128i _mm_castps_si128(__m128 a)
-+{
-+ return vreinterpretq_m128i_s32(vreinterpretq_s32_m128(a));
-+}
-+
-+// Applies a type cast to reinterpret four 32-bit integers passed in as a
-+// 128-bit parameter as packed 32-bit floating point values.
-+// https://msdn.microsoft.com/en-us/library/bb514029.aspx
-+FORCE_INLINE __m128 _mm_castsi128_ps(__m128i a)
-+{
-+ return vreinterpretq_m128_s32(vreinterpretq_s32_m128i(a));
-+}
-+
-+// Loads 128-bit value. :
-+// https://msdn.microsoft.com/en-us/library/atzzad1h(v=vs.80).aspx
-+FORCE_INLINE __m128i _mm_load_si128(const __m128i *p)
-+{
-+ return vreinterpretq_m128i_s32(vld1q_s32((const int32_t *) p));
-+}
-+
-+// Loads 128-bit value. :
-+// https://msdn.microsoft.com/zh-cn/library/f4k12ae8(v=vs.90).aspx
-+FORCE_INLINE __m128i _mm_loadu_si128(const __m128i *p)
-+{
-+ return vreinterpretq_m128i_s32(vld1q_s32((const int32_t *) p));
-+}
-+
-+// ******************************************
-+// Miscellaneous Operations
-+// ******************************************
-+
-+// Packs the 16 signed 16-bit integers from a and b into 8-bit integers and
-+// saturates.
-+// https://msdn.microsoft.com/en-us/library/k4y4f7w5%28v=vs.90%29.aspx
-+FORCE_INLINE __m128i _mm_packs_epi16(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_m128i_s8(
-+ vcombine_s8(vqmovn_s16(vreinterpretq_s16_m128i(a)),
-+ vqmovn_s16(vreinterpretq_s16_m128i(b))));
-+}
-+
-+// Packs the 16 signed 16 - bit integers from a and b into 8 - bit unsigned
-+// integers and saturates.
-+//
-+// r0 := UnsignedSaturate(a0)
-+// r1 := UnsignedSaturate(a1)
-+// ...
-+// r7 := UnsignedSaturate(a7)
-+// r8 := UnsignedSaturate(b0)
-+// r9 := UnsignedSaturate(b1)
-+// ...
-+// r15 := UnsignedSaturate(b7)
-+//
-+// https://msdn.microsoft.com/en-us/library/07ad1wx4(v=vs.100).aspx
-+FORCE_INLINE __m128i _mm_packus_epi16(const __m128i a, const __m128i b)
-+{
-+ return vreinterpretq_m128i_u8(
-+ vcombine_u8(vqmovun_s16(vreinterpretq_s16_m128i(a)),
-+ vqmovun_s16(vreinterpretq_s16_m128i(b))));
-+}
-+
-+// Packs the 8 signed 32-bit integers from a and b into signed 16-bit integers
-+// and saturates.
-+//
-+// r0 := SignedSaturate(a0)
-+// r1 := SignedSaturate(a1)
-+// r2 := SignedSaturate(a2)
-+// r3 := SignedSaturate(a3)
-+// r4 := SignedSaturate(b0)
-+// r5 := SignedSaturate(b1)
-+// r6 := SignedSaturate(b2)
-+// r7 := SignedSaturate(b3)
-+//
-+// https://msdn.microsoft.com/en-us/library/393t56f9%28v=vs.90%29.aspx
-+FORCE_INLINE __m128i _mm_packs_epi32(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_m128i_s16(
-+ vcombine_s16(vqmovn_s32(vreinterpretq_s32_m128i(a)),
-+ vqmovn_s32(vreinterpretq_s32_m128i(b))));
-+}
-+
-+// Interleaves the lower 8 signed or unsigned 8-bit integers in a with the lower
-+// 8 signed or unsigned 8-bit integers in b.
-+//
-+// r0 := a0
-+// r1 := b0
-+// r2 := a1
-+// r3 := b1
-+// ...
-+// r14 := a7
-+// r15 := b7
-+//
-+// https://msdn.microsoft.com/en-us/library/xf7k860c%28v=vs.90%29.aspx
-+FORCE_INLINE __m128i _mm_unpacklo_epi8(__m128i a, __m128i b)
-+{
-+ int8x8_t a1 = vreinterpret_s8_s16(vget_low_s16(vreinterpretq_s16_m128i(a)));
-+ int8x8_t b1 = vreinterpret_s8_s16(vget_low_s16(vreinterpretq_s16_m128i(b)));
-+ int8x8x2_t result = vzip_s8(a1, b1);
-+ return vreinterpretq_m128i_s8(vcombine_s8(result.val[0], result.val[1]));
-+}
-+
-+// Interleaves the lower 4 signed or unsigned 16-bit integers in a with the
-+// lower 4 signed or unsigned 16-bit integers in b.
-+//
-+// r0 := a0
-+// r1 := b0
-+// r2 := a1
-+// r3 := b1
-+// r4 := a2
-+// r5 := b2
-+// r6 := a3
-+// r7 := b3
-+//
-+// https://msdn.microsoft.com/en-us/library/btxb17bw%28v=vs.90%29.aspx
-+FORCE_INLINE __m128i _mm_unpacklo_epi16(__m128i a, __m128i b)
-+{
-+ int16x4_t a1 = vget_low_s16(vreinterpretq_s16_m128i(a));
-+ int16x4_t b1 = vget_low_s16(vreinterpretq_s16_m128i(b));
-+ int16x4x2_t result = vzip_s16(a1, b1);
-+ return vreinterpretq_m128i_s16(vcombine_s16(result.val[0], result.val[1]));
-+}
-+
-+// Interleaves the lower 2 signed or unsigned 32 - bit integers in a with the
-+// lower 2 signed or unsigned 32 - bit integers in b.
-+//
-+// r0 := a0
-+// r1 := b0
-+// r2 := a1
-+// r3 := b1
-+//
-+// https://msdn.microsoft.com/en-us/library/x8atst9d(v=vs.100).aspx
-+FORCE_INLINE __m128i _mm_unpacklo_epi32(__m128i a, __m128i b)
-+{
-+ int32x2_t a1 = vget_low_s32(vreinterpretq_s32_m128i(a));
-+ int32x2_t b1 = vget_low_s32(vreinterpretq_s32_m128i(b));
-+ int32x2x2_t result = vzip_s32(a1, b1);
-+ return vreinterpretq_m128i_s32(vcombine_s32(result.val[0], result.val[1]));
-+}
-+
-+FORCE_INLINE __m128i _mm_unpacklo_epi64(__m128i a, __m128i b)
-+{
-+ int64x1_t a_l = vget_low_s64(vreinterpretq_s64_m128i(a));
-+ int64x1_t b_l = vget_low_s64(vreinterpretq_s64_m128i(b));
-+ return vreinterpretq_m128i_s64(vcombine_s64(a_l, b_l));
-+}
-+
-+// Selects and interleaves the lower two single-precision, floating-point values
-+// from a and b.
-+//
-+// r0 := a0
-+// r1 := b0
-+// r2 := a1
-+// r3 := b1
-+//
-+// https://msdn.microsoft.com/en-us/library/25st103b%28v=vs.90%29.aspx
-+FORCE_INLINE __m128 _mm_unpacklo_ps(__m128 a, __m128 b)
-+{
-+ float32x2_t a1 = vget_low_f32(vreinterpretq_f32_m128(a));
-+ float32x2_t b1 = vget_low_f32(vreinterpretq_f32_m128(b));
-+ float32x2x2_t result = vzip_f32(a1, b1);
-+ return vreinterpretq_m128_f32(vcombine_f32(result.val[0], result.val[1]));
-+}
-+
-+// Selects and interleaves the upper two single-precision, floating-point values
-+// from a and b.
-+//
-+// r0 := a2
-+// r1 := b2
-+// r2 := a3
-+// r3 := b3
-+//
-+// https://msdn.microsoft.com/en-us/library/skccxx7d%28v=vs.90%29.aspx
-+FORCE_INLINE __m128 _mm_unpackhi_ps(__m128 a, __m128 b)
-+{
-+ float32x2_t a1 = vget_high_f32(vreinterpretq_f32_m128(a));
-+ float32x2_t b1 = vget_high_f32(vreinterpretq_f32_m128(b));
-+ float32x2x2_t result = vzip_f32(a1, b1);
-+ return vreinterpretq_m128_f32(vcombine_f32(result.val[0], result.val[1]));
-+}
-+
-+// Interleaves the upper 8 signed or unsigned 8-bit integers in a with the upper
-+// 8 signed or unsigned 8-bit integers in b.
-+//
-+// r0 := a8
-+// r1 := b8
-+// r2 := a9
-+// r3 := b9
-+// ...
-+// r14 := a15
-+// r15 := b15
-+//
-+// https://msdn.microsoft.com/en-us/library/t5h7783k(v=vs.100).aspx
-+FORCE_INLINE __m128i _mm_unpackhi_epi8(__m128i a, __m128i b)
-+{
-+ int8x8_t a1 =
-+ vreinterpret_s8_s16(vget_high_s16(vreinterpretq_s16_m128i(a)));
-+ int8x8_t b1 =
-+ vreinterpret_s8_s16(vget_high_s16(vreinterpretq_s16_m128i(b)));
-+ int8x8x2_t result = vzip_s8(a1, b1);
-+ return vreinterpretq_m128i_s8(vcombine_s8(result.val[0], result.val[1]));
-+}
-+
-+// Interleaves the upper 4 signed or unsigned 16-bit integers in a with the
-+// upper 4 signed or unsigned 16-bit integers in b.
-+//
-+// r0 := a4
-+// r1 := b4
-+// r2 := a5
-+// r3 := b5
-+// r4 := a6
-+// r5 := b6
-+// r6 := a7
-+// r7 := b7
-+//
-+// https://msdn.microsoft.com/en-us/library/03196cz7(v=vs.100).aspx
-+FORCE_INLINE __m128i _mm_unpackhi_epi16(__m128i a, __m128i b)
-+{
-+ int16x4_t a1 = vget_high_s16(vreinterpretq_s16_m128i(a));
-+ int16x4_t b1 = vget_high_s16(vreinterpretq_s16_m128i(b));
-+ int16x4x2_t result = vzip_s16(a1, b1);
-+ return vreinterpretq_m128i_s16(vcombine_s16(result.val[0], result.val[1]));
-+}
-+
-+// Interleaves the upper 2 signed or unsigned 32-bit integers in a with the
-+// upper 2 signed or unsigned 32-bit integers in b.
-+// https://msdn.microsoft.com/en-us/library/65sa7cbs(v=vs.100).aspx
-+FORCE_INLINE __m128i _mm_unpackhi_epi32(__m128i a, __m128i b)
-+{
-+ int32x2_t a1 = vget_high_s32(vreinterpretq_s32_m128i(a));
-+ int32x2_t b1 = vget_high_s32(vreinterpretq_s32_m128i(b));
-+ int32x2x2_t result = vzip_s32(a1, b1);
-+ return vreinterpretq_m128i_s32(vcombine_s32(result.val[0], result.val[1]));
-+}
-+
-+// Interleaves the upper signed or unsigned 64-bit integer in a with the
-+// upper signed or unsigned 64-bit integer in b.
-+//
-+// r0 := a1
-+// r1 := b1
-+FORCE_INLINE __m128i _mm_unpackhi_epi64(__m128i a, __m128i b)
-+{
-+ int64x1_t a_h = vget_high_s64(vreinterpretq_s64_m128i(a));
-+ int64x1_t b_h = vget_high_s64(vreinterpretq_s64_m128i(b));
-+ return vreinterpretq_m128i_s64(vcombine_s64(a_h, b_h));
-+}
-+
-+// shift to right
-+// https://msdn.microsoft.com/en-us/library/bb514041(v=vs.120).aspx
-+// http://blog.csdn.net/hemmingway/article/details/44828303
-+FORCE_INLINE __m128i _mm_alignr_epi8(__m128i a, __m128i b, const int c)
-+{
-+ return (__m128i) vextq_s8((int8x16_t) a, (int8x16_t) b, c);
-+}
-+
-+// Extracts the selected signed or unsigned 16-bit integer from a and zero
-+// extends. https://msdn.microsoft.com/en-us/library/6dceta0c(v=vs.100).aspx
-+// FORCE_INLINE int _mm_extract_epi16(__m128i a, __constrange(0,8) int imm)
-+#define _mm_extract_epi16(a, imm) \
-+ ({ (vgetq_lane_s16(vreinterpretq_s16_m128i(a), (imm)) & 0x0000ffffUL); })
-+
-+// Inserts the least significant 16 bits of b into the selected 16-bit integer
-+// of a. https://msdn.microsoft.com/en-us/library/kaze8hz1%28v=vs.100%29.aspx
-+// FORCE_INLINE __m128i _mm_insert_epi16(__m128i a, const int b,
-+// __constrange(0,8) int imm)
-+#define _mm_insert_epi16(a, b, imm) \
-+ ({ \
-+ vreinterpretq_m128i_s16( \
-+ vsetq_lane_s16((b), vreinterpretq_s16_m128i(a), (imm))); \
-+ })
-+
-+// ******************************************
-+// Crypto Extensions
-+// ******************************************
-+#if !defined(__ARM_FEATURE_CRYPTO) && defined(__aarch64__)
-+// In the absence of crypto extensions, implement aesenc using regular neon
-+// intrinsics instead. See:
-+// http://www.workofard.com/2017/01/accelerated-aes-for-the-arm64-linux-kernel/
-+// http://www.workofard.com/2017/07/ghash-for-low-end-cores/ and
-+// https://github.com/ColinIanKing/linux-next-mirror/blob/b5f466091e130caaf0735976648f72bd5e09aa84/crypto/aegis128-neon-inner.c#L52
-+// for more information Reproduced with permission of the author.
-+FORCE_INLINE __m128i _mm_aesenc_si128(__m128i EncBlock, __m128i RoundKey)
-+{
-+ static const uint8_t crypto_aes_sbox[256] = {
-+ 0x63, 0x7c, 0x77, 0x7b, 0xf2, 0x6b, 0x6f, 0xc5, 0x30, 0x01, 0x67, 0x2b,
-+ 0xfe, 0xd7, 0xab, 0x76, 0xca, 0x82, 0xc9, 0x7d, 0xfa, 0x59, 0x47, 0xf0,
-+ 0xad, 0xd4, 0xa2, 0xaf, 0x9c, 0xa4, 0x72, 0xc0, 0xb7, 0xfd, 0x93, 0x26,
-+ 0x36, 0x3f, 0xf7, 0xcc, 0x34, 0xa5, 0xe5, 0xf1, 0x71, 0xd8, 0x31, 0x15,
-+ 0x04, 0xc7, 0x23, 0xc3, 0x18, 0x96, 0x05, 0x9a, 0x07, 0x12, 0x80, 0xe2,
-+ 0xeb, 0x27, 0xb2, 0x75, 0x09, 0x83, 0x2c, 0x1a, 0x1b, 0x6e, 0x5a, 0xa0,
-+ 0x52, 0x3b, 0xd6, 0xb3, 0x29, 0xe3, 0x2f, 0x84, 0x53, 0xd1, 0x00, 0xed,
-+ 0x20, 0xfc, 0xb1, 0x5b, 0x6a, 0xcb, 0xbe, 0x39, 0x4a, 0x4c, 0x58, 0xcf,
-+ 0xd0, 0xef, 0xaa, 0xfb, 0x43, 0x4d, 0x33, 0x85, 0x45, 0xf9, 0x02, 0x7f,
-+ 0x50, 0x3c, 0x9f, 0xa8, 0x51, 0xa3, 0x40, 0x8f, 0x92, 0x9d, 0x38, 0xf5,
-+ 0xbc, 0xb6, 0xda, 0x21, 0x10, 0xff, 0xf3, 0xd2, 0xcd, 0x0c, 0x13, 0xec,
-+ 0x5f, 0x97, 0x44, 0x17, 0xc4, 0xa7, 0x7e, 0x3d, 0x64, 0x5d, 0x19, 0x73,
-+ 0x60, 0x81, 0x4f, 0xdc, 0x22, 0x2a, 0x90, 0x88, 0x46, 0xee, 0xb8, 0x14,
-+ 0xde, 0x5e, 0x0b, 0xdb, 0xe0, 0x32, 0x3a, 0x0a, 0x49, 0x06, 0x24, 0x5c,
-+ 0xc2, 0xd3, 0xac, 0x62, 0x91, 0x95, 0xe4, 0x79, 0xe7, 0xc8, 0x37, 0x6d,
-+ 0x8d, 0xd5, 0x4e, 0xa9, 0x6c, 0x56, 0xf4, 0xea, 0x65, 0x7a, 0xae, 0x08,
-+ 0xba, 0x78, 0x25, 0x2e, 0x1c, 0xa6, 0xb4, 0xc6, 0xe8, 0xdd, 0x74, 0x1f,
-+ 0x4b, 0xbd, 0x8b, 0x8a, 0x70, 0x3e, 0xb5, 0x66, 0x48, 0x03, 0xf6, 0x0e,
-+ 0x61, 0x35, 0x57, 0xb9, 0x86, 0xc1, 0x1d, 0x9e, 0xe1, 0xf8, 0x98, 0x11,
-+ 0x69, 0xd9, 0x8e, 0x94, 0x9b, 0x1e, 0x87, 0xe9, 0xce, 0x55, 0x28, 0xdf,
-+ 0x8c, 0xa1, 0x89, 0x0d, 0xbf, 0xe6, 0x42, 0x68, 0x41, 0x99, 0x2d, 0x0f,
-+ 0xb0, 0x54, 0xbb, 0x16};
-+ static const uint8_t shift_rows[] = {0x0, 0x5, 0xa, 0xf, 0x4, 0x9,
-+ 0xe, 0x3, 0x8, 0xd, 0x2, 0x7,
-+ 0xc, 0x1, 0x6, 0xb};
-+ static const uint8_t ror32by8[] = {0x1, 0x2, 0x3, 0x0, 0x5, 0x6, 0x7, 0x4,
-+ 0x9, 0xa, 0xb, 0x8, 0xd, 0xe, 0xf, 0xc};
-+
-+ uint8x16_t v;
-+ uint8x16_t w = vreinterpretq_u8_m128i(EncBlock);
-+
-+ // shift rows
-+ w = vqtbl1q_u8(w, vld1q_u8(shift_rows));
-+
-+ // sub bytes
-+ v = vqtbl4q_u8(vld1q_u8_x4(crypto_aes_sbox), w);
-+ v = vqtbx4q_u8(v, vld1q_u8_x4(crypto_aes_sbox + 0x40), w - 0x40);
-+ v = vqtbx4q_u8(v, vld1q_u8_x4(crypto_aes_sbox + 0x80), w - 0x80);
-+ v = vqtbx4q_u8(v, vld1q_u8_x4(crypto_aes_sbox + 0xc0), w - 0xc0);
-+
-+ // mix columns
-+ w = (v << 1) ^ (uint8x16_t)(((int8x16_t) v >> 7) & 0x1b);
-+ w ^= (uint8x16_t) vrev32q_u16((uint16x8_t) v);
-+ w ^= vqtbl1q_u8(v ^ w, vld1q_u8(ror32by8));
-+
-+ // add round key
-+ return vreinterpretq_m128i_u8(w) ^ RoundKey;
-+}
-+#elif defined(__ARM_FEATURE_CRYPTO)
-+// Implements equivalent of 'aesenc' by combining AESE (with an empty key) and
-+// AESMC and then manually applying the real key as an xor operation This
-+// unfortunately means an additional xor op; the compiler should be able to
-+// optimise this away for repeated calls however See
-+// https://blog.michaelbrase.com/2018/05/08/emulating-x86-aes-intrinsics-on-armv8-a
-+// for more details.
-+inline __m128i _mm_aesenc_si128(__m128i a, __m128i b)
-+{
-+ return vreinterpretq_s32_u8(
-+ vaesmcq_u8(vaeseq_u8(vreinterpretq_u8_s32(a), uint8x16_t{})) ^
-+ vreinterpretq_u8_s32(b));
-+}
-+#endif
-+
-+// ******************************************
-+// Streaming Extensions
-+// ******************************************
-+
-+// Guarantees that every preceding store is globally visible before any
-+// subsequent store.
-+// https://msdn.microsoft.com/en-us/library/5h2w73d1%28v=vs.90%29.aspx
-+FORCE_INLINE void _mm_sfence(void)
-+{
-+ __sync_synchronize();
-+}
-+
-+// Stores the data in a to the address p without polluting the caches. If the
-+// cache line containing address p is already in the cache, the cache will be
-+// updated.Address p must be 16 - byte aligned.
-+// https://msdn.microsoft.com/en-us/library/ba08y07y%28v=vs.90%29.aspx
-+FORCE_INLINE void _mm_stream_si128(__m128i *p, __m128i a)
-+{
-+ vst1q_s32((int32_t *) p, a);
-+}
-+
-+// Cache line containing p is flushed and invalidated from all caches in the
-+// coherency domain. :
-+// https://msdn.microsoft.com/en-us/library/ba08y07y(v=vs.100).aspx
-+FORCE_INLINE void _mm_clflush(void const *p)
-+{
-+ // no corollary for Neon?
-+}
-+
-+#if defined(__GNUC__) || defined(__clang__)
-+#pragma pop_macro("ALIGN_STRUCT")
-+#pragma pop_macro("FORCE_INLINE")
-+#endif
-+
-+#endif
diff --git a/vendor/spoa/src/simd_alignment_engine.cpp b/vendor/spoa/src/simd_alignment_engine.cpp
index 3e5815a..2fd10d7 100644
--- a/vendor/spoa/src/simd_alignment_engine.cpp
@@ -2795,7 +6,7 @@ index 3e5815a..2fd10d7 100644
#include <algorithm>
#include <limits>
-+#include "arch/aarch64/sse2neon.h"
++#include <sse2neon.h>
+/*
extern "C" {
#include <immintrin.h> // AVX2 and lower
diff --git a/var/spack/repos/builtin/packages/racon/package.py b/var/spack/repos/builtin/packages/racon/package.py
index 1e661b4bd7..19b44719f1 100644
--- a/var/spack/repos/builtin/packages/racon/package.py
+++ b/var/spack/repos/builtin/packages/racon/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -25,6 +25,7 @@ class Racon(CMakePackage):
depends_on('cmake@3.2:', type='build')
depends_on('python', type='build')
+ depends_on('sse2neon', when='target=aarch64:')
conflicts('%gcc@:4.7')
conflicts('%clang@:3.1')
diff --git a/var/spack/repos/builtin/packages/raft/package.py b/var/spack/repos/builtin/packages/raft/package.py
index d164cc9c1f..65d3666cb9 100644
--- a/var/spack/repos/builtin/packages/raft/package.py
+++ b/var/spack/repos/builtin/packages/raft/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ragel/package.py b/var/spack/repos/builtin/packages/ragel/package.py
index cff731ef75..586d08f220 100644
--- a/var/spack/repos/builtin/packages/ragel/package.py
+++ b/var/spack/repos/builtin/packages/ragel/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/raja/package.py b/var/spack/repos/builtin/packages/raja/package.py
index c2cdf5a607..4761046956 100644
--- a/var/spack/repos/builtin/packages/raja/package.py
+++ b/var/spack/repos/builtin/packages/raja/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,6 +12,7 @@ class Raja(CMakePackage, CudaPackage, ROCmPackage):
version('develop', branch='develop', submodules='True')
version('main', branch='main', submodules='True')
+ version('0.13.0', tag='v0.13.0', submodules='True')
version('0.12.1', tag='v0.12.1', submodules="True")
version('0.12.0', tag='v0.12.0', submodules="True")
version('0.11.0', tag='v0.11.0', submodules="True")
@@ -32,16 +33,31 @@ class Raja(CMakePackage, CudaPackage, ROCmPackage):
variant('shared', default=True, description='Build Shared Libs')
variant('examples', default=True, description='Build examples.')
variant('exercises', default=True, description='Build exercises.')
+ # TODO: figure out gtest dependency and then set this default True
+ # and remove the +tests conflict below.
+ variant('tests', default=False, description='Build tests')
- conflicts('+openmp', when='+rocm')
+ depends_on('blt', type='build')
+ depends_on('blt@0.3.7:', type='build', when='+rocm')
+
+ depends_on('camp')
+ depends_on('camp+cuda', when='+cuda')
+
+ # variants +rocm and amdgpu_targets are not automatically passed to
+ # dependencies, so do it manually.
+ depends_on('camp+rocm', when='+rocm')
+ for val in ROCmPackage.amdgpu_targets:
+ depends_on('camp amdgpu_target=%s' % val, when='amdgpu_target=%s' % val)
- depends_on('cmake@3.8:', type='build')
- depends_on('cmake@3.9:', when='+cuda', type='build')
+ conflicts('+openmp', when='+rocm')
def cmake_args(self):
spec = self.spec
options = []
+
+ options.append('-DBLT_SOURCE_DIR={0}'.format(spec['blt'].prefix))
+
options.append('-DENABLE_OPENMP={0}'.format(
'ON' if '+openmp' in spec else 'OFF'))
@@ -84,7 +100,8 @@ class Raja(CMakePackage, CudaPackage, ROCmPackage):
if self.spec.satisfies('%clang target=ppc64le:') or not self.run_tests:
options.append('-DENABLE_TESTS=OFF')
else:
- options.append('-DENABLE_TESTS=ON')
+ options.append('-DENABLE_TESTS={0}'.format(
+ 'ON' if '+tests' in spec else 'OFF'))
return options
diff --git a/var/spack/repos/builtin/packages/ramulator/package.py b/var/spack/repos/builtin/packages/ramulator/package.py
index a103d4b68d..96dc4be2c7 100644
--- a/var/spack/repos/builtin/packages/ramulator/package.py
+++ b/var/spack/repos/builtin/packages/ramulator/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/randfold/package.py b/var/spack/repos/builtin/packages/randfold/package.py
index bfb1ee80a9..7dbdecca51 100644
--- a/var/spack/repos/builtin/packages/randfold/package.py
+++ b/var/spack/repos/builtin/packages/randfold/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/random123/package.py b/var/spack/repos/builtin/packages/random123/package.py
index bc958abe38..38279089b2 100644
--- a/var/spack/repos/builtin/packages/random123/package.py
+++ b/var/spack/repos/builtin/packages/random123/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/randrproto/package.py b/var/spack/repos/builtin/packages/randrproto/package.py
index a2dfed152f..ff16e464cc 100644
--- a/var/spack/repos/builtin/packages/randrproto/package.py
+++ b/var/spack/repos/builtin/packages/randrproto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/range-v3/package.py b/var/spack/repos/builtin/packages/range-v3/package.py
index 783c94852e..182f3fecc3 100644
--- a/var/spack/repos/builtin/packages/range-v3/package.py
+++ b/var/spack/repos/builtin/packages/range-v3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -48,7 +48,7 @@ class RangeV3(CMakePackage):
description='Use the specified C++ standard when building.')
variant('doc',
- default=True,
+ default=False,
description='Build and install documentation.')
variant('examples',
diff --git a/var/spack/repos/builtin/packages/rankstr/package.py b/var/spack/repos/builtin/packages/rankstr/package.py
index 98d7aea87f..6fd74d0a71 100644
--- a/var/spack/repos/builtin/packages/rankstr/package.py
+++ b/var/spack/repos/builtin/packages/rankstr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/rapidjson/package.py b/var/spack/repos/builtin/packages/rapidjson/package.py
index 12e2498a23..0cd7dac6c1 100644
--- a/var/spack/repos/builtin/packages/rapidjson/package.py
+++ b/var/spack/repos/builtin/packages/rapidjson/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/raptor2/package.py b/var/spack/repos/builtin/packages/raptor2/package.py
new file mode 100644
index 0000000000..588b16573a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/raptor2/package.py
@@ -0,0 +1,17 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Raptor2(AutotoolsPackage):
+ """libraptor2 for parsing and serializing RDF syntaxes"""
+
+ homepage = "http://librdf.org/"
+ url = "http://download.librdf.org/source/raptor2-2.0.15.tar.gz"
+
+ version('2.0.15', sha256='ada7f0ba54787b33485d090d3d2680533520cd4426d2f7fb4782dd4a6a1480ed')
+
+ depends_on('libxml2')
diff --git a/var/spack/repos/builtin/packages/rasdaemon/package.py b/var/spack/repos/builtin/packages/rasdaemon/package.py
index 4acd6b8beb..4bcb377895 100644
--- a/var/spack/repos/builtin/packages/rasdaemon/package.py
+++ b/var/spack/repos/builtin/packages/rasdaemon/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/rasqal/package.py b/var/spack/repos/builtin/packages/rasqal/package.py
new file mode 100644
index 0000000000..d6926edd31
--- /dev/null
+++ b/var/spack/repos/builtin/packages/rasqal/package.py
@@ -0,0 +1,22 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Rasqal(AutotoolsPackage):
+ """Rasqal is a free software / Open Source C library that
+ handles Resource Description Framework (RDF) query language
+ syntaxes, query construction and execution of queries returning
+ results as bindings, boolean, RDF graphs/triples or syntaxes."""
+
+ homepage = "http://librdf.org/"
+ url = "http://download.librdf.org/source/rasqal-0.9.33.tar.gz"
+
+ version('0.9.33', sha256='6924c9ac6570bd241a9669f83b467c728a322470bf34f4b2da4f69492ccfd97c')
+ version('0.9.32', sha256='eeba03218e3b7dfa033934d523a1a64671a9a0f64eadc38a01e4b43367be2e8f')
+ version('0.9.31', sha256='28d743c9f1b0e5b0486ae4a945fa1e021c8495707e7adbfa0e232244b28b7fee')
+
+ depends_on('raptor2')
diff --git a/var/spack/repos/builtin/packages/ravel/package.py b/var/spack/repos/builtin/packages/ravel/package.py
index e9a3abb0e6..dee24dfa89 100644
--- a/var/spack/repos/builtin/packages/ravel/package.py
+++ b/var/spack/repos/builtin/packages/ravel/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/raxml-ng/package.py b/var/spack/repos/builtin/packages/raxml-ng/package.py
new file mode 100644
index 0000000000..e6b8934e6f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/raxml-ng/package.py
@@ -0,0 +1,34 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class RaxmlNg(CMakePackage):
+ """RAxML-NG is a phylogenetic tree inference tool which uses
+ maximum-likelihood (ML) optimality criterion.
+
+ Its search heuristic is based on iteratively performing a series
+ of Subtree Pruning and Regrafting (SPR) moves,
+ which allows to quickly navigate to the best-known ML tree.
+ RAxML-NG is a successor of RAxML (Stamatakis 2014) and leverages
+ the highly optimized likelihood computation implemented in libpll
+ (Flouri et al. 2014)."""
+
+ homepage = "https://github.com/amkozlov/raxml-ng/wiki"
+ url = "https://github.com/amkozlov/raxml-ng/archive/1.0.1.tar.gz"
+ git = "https://github.com/amkozlov/raxml-ng.git"
+
+ version('1.0.1', submodules='True')
+
+ variant("mpi", default=True, description="Use MPI")
+
+ depends_on('bison')
+ depends_on('flex')
+ depends_on('gmp')
+ depends_on('mpi', when='+mpi')
+
+ def cmake_args(self):
+ return [self.define_from_variant('USE_MPI', 'mpi')]
diff --git a/var/spack/repos/builtin/packages/raxml/package.py b/var/spack/repos/builtin/packages/raxml/package.py
index 7eb477dfc6..f5e7d7d3aa 100644
--- a/var/spack/repos/builtin/packages/raxml/package.py
+++ b/var/spack/repos/builtin/packages/raxml/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ray/package.py b/var/spack/repos/builtin/packages/ray/package.py
index afa849e08d..b63328c855 100644
--- a/var/spack/repos/builtin/packages/ray/package.py
+++ b/var/spack/repos/builtin/packages/ray/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/rccl/package.py b/var/spack/repos/builtin/packages/rccl/package.py
index 45b7b23090..eccd61b794 100644
--- a/var/spack/repos/builtin/packages/rccl/package.py
+++ b/var/spack/repos/builtin/packages/rccl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,10 +13,12 @@ class Rccl(CMakePackage):
and reduce-scatter."""
homepage = "https://github.com/RadeonOpenCompute/rccl"
- url = "https://github.com/ROCmSoftwarePlatform/rccl/archive/rocm-3.7.0.tar.gz"
+ url = "https://github.com/ROCmSoftwarePlatform/rccl/archive/rocm-4.0.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ version('4.0.0', sha256='0632a15b3d6b5981c05377cf4aeb51546f4c4901fd7c37fb0c98071851ad531a')
+ version('3.10.0', sha256='d9dd0b0d8b9d056fc5e6c7b814520800190952acd30dac3a7c462c4cb6f42bb3')
version('3.9.0', sha256='ff9d03154d668093309ff814a33788f2cc093b3c627e78e42ae246e6017408b0')
version('3.8.0', sha256='0b6676d06bdb1f65d511a95db9f842a3443def83d75759dfdf812b5e62d8c910')
version('3.7.0', sha256='8273878ff71aac2e7adf5cc8562d2933034c6c6b3652f88fbe3cd4f2691036e3')
@@ -25,13 +27,13 @@ class Rccl(CMakePackage):
patch('0001-Fix-numactl-path-issue.patch', when='@3.7.0:')
depends_on('cmake@3:', type='build')
- for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0']:
+ for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('rocm-cmake@' + ver, type='build', when='@' + ver)
depends_on('hip@' + ver, type=('build', 'run'), when='@' + ver)
depends_on('rocm-device-libs@' + ver, type=('build', 'run'), when='@' + ver)
depends_on('comgr@' + ver, type='build', when='@' + ver)
depends_on('hsa-rocr-dev@' + ver, type='build', when='@' + ver)
- if ver in ['3.7.0', '3.8.0', '3.9.0']:
+ if ver in ['3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('numactl@2.0.12', type=('build', 'link'), when='@' + ver)
def setup_build_environment(self, env):
diff --git a/var/spack/repos/builtin/packages/rclone/package.py b/var/spack/repos/builtin/packages/rclone/package.py
index 8e043319f8..5fada5f9e8 100644
--- a/var/spack/repos/builtin/packages/rclone/package.py
+++ b/var/spack/repos/builtin/packages/rclone/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/rdc/package.py b/var/spack/repos/builtin/packages/rdc/package.py
index 86f0fc3d6a..19158549fe 100644
--- a/var/spack/repos/builtin/packages/rdc/package.py
+++ b/var/spack/repos/builtin/packages/rdc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,14 +15,26 @@ class Rdc(CMakePackage):
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ def url_for_version(self, version):
+ if version == Version('3.9.0'):
+ return "https://github.com/RadeonOpenCompute/rdc/archive/rdc_so_ver-0.3.tar.gz"
+
+ url = "https://github.com/RadeonOpenCompute/rdc/archive/rocm-{0}.tar.gz"
+ return url.format(version)
+
+ version('4.0.0', sha256='e9ebfc46dfa983400909ed8a9da4fa37869ab118a8426c2e4f793e21174ca07f')
+ version('3.10.0', sha256='fdc51f9f1f756406d1e2ffaeee0e247d1b04fc4078f08e581bbaa7da79697ac1')
+ version('3.9.0', sha256='bc6339e7f41850a4a049d085a880cfafd3fd8e1610fb94c572d79753d01aa298')
version('3.8.0', sha256='d0d0a0e68a848b7a8fa2d88c1d0352ce68e1e142debf32c31d941904f03c4b2f')
depends_on('cmake@3.15:', type='build')
depends_on('grpc@1.28.1+shared', type='build')
depends_on('protobuf', type=('build', 'link'))
- depends_on('rocm-smi-lib@3.8.0', type=('build', 'link'))
depends_on('libcap', type=('build', 'link'))
+ for ver in ['3.8.0', '3.9.0', '3.10.0', '4.0.0']:
+ depends_on('rocm-smi-lib@' + ver, type=('build', 'link'), when='@' + ver)
+
def patch(self):
filter_file(
r'\${ROCM_DIR}/rocm_smi', '${ROCM_SMI_DIR}', 'CMakeLists.txt')
diff --git a/var/spack/repos/builtin/packages/rdma-core/package.py b/var/spack/repos/builtin/packages/rdma-core/package.py
index 0e09e7d210..4a889095c9 100644
--- a/var/spack/repos/builtin/packages/rdma-core/package.py
+++ b/var/spack/repos/builtin/packages/rdma-core/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,6 +12,7 @@ class RdmaCore(CMakePackage):
homepage = "https://github.com/linux-rdma/rdma-core"
url = "https://github.com/linux-rdma/rdma-core/releases/download/v17.1/rdma-core-17.1.tar.gz"
+ version('33.1', sha256='d179b102bec551ce62265ed463d1095fb2ae9baff604261ad63327fcd20650e5')
version('32.0', sha256='8197e20a59990b9b06a2e4c83f4a96802fc080ec1669392b643b59b6023931fc')
version('31.0', sha256='51ae9a3ab81cd6834436813fafc310c8b7007feae9d09a53fdd5c169e648d50b')
version('30.0', sha256='23e1bd2d7b38149a1621ee577a3428ac652e305adb8e0eee923cbe71356a9bf9')
diff --git a/var/spack/repos/builtin/packages/rdp-classifier/package.py b/var/spack/repos/builtin/packages/rdp-classifier/package.py
index 2895010cd7..c5afc4ea6c 100644
--- a/var/spack/repos/builtin/packages/rdp-classifier/package.py
+++ b/var/spack/repos/builtin/packages/rdp-classifier/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/rdptools/package.py b/var/spack/repos/builtin/packages/rdptools/package.py
index 5f5957c8b1..2c47980921 100644
--- a/var/spack/repos/builtin/packages/rdptools/package.py
+++ b/var/spack/repos/builtin/packages/rdptools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/re2/package.py b/var/spack/repos/builtin/packages/re2/package.py
index 0ffd9096ca..5be8f32d10 100644
--- a/var/spack/repos/builtin/packages/re2/package.py
+++ b/var/spack/repos/builtin/packages/re2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/re2c/package.py b/var/spack/repos/builtin/packages/re2c/package.py
index 976fc17d39..d3849c5bfb 100644
--- a/var/spack/repos/builtin/packages/re2c/package.py
+++ b/var/spack/repos/builtin/packages/re2c/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/readfq/package.py b/var/spack/repos/builtin/packages/readfq/package.py
index ce06114ba2..69ebb9e667 100644
--- a/var/spack/repos/builtin/packages/readfq/package.py
+++ b/var/spack/repos/builtin/packages/readfq/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/readline/package.py b/var/spack/repos/builtin/packages/readline/package.py
index d4e95c8037..e137e47012 100644
--- a/var/spack/repos/builtin/packages/readline/package.py
+++ b/var/spack/repos/builtin/packages/readline/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/recon/package.py b/var/spack/repos/builtin/packages/recon/package.py
index 68f3c37f98..32036c003d 100644
--- a/var/spack/repos/builtin/packages/recon/package.py
+++ b/var/spack/repos/builtin/packages/recon/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/recorder/package.py b/var/spack/repos/builtin/packages/recorder/package.py
index c4abc67977..56ede19025 100644
--- a/var/spack/repos/builtin/packages/recorder/package.py
+++ b/var/spack/repos/builtin/packages/recorder/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/recordproto/package.py b/var/spack/repos/builtin/packages/recordproto/package.py
index 4067ddaacb..f02c5b88f2 100644
--- a/var/spack/repos/builtin/packages/recordproto/package.py
+++ b/var/spack/repos/builtin/packages/recordproto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/redis/package.py b/var/spack/repos/builtin/packages/redis/package.py
index d7375066fd..b946c5bdc2 100644
--- a/var/spack/repos/builtin/packages/redis/package.py
+++ b/var/spack/repos/builtin/packages/redis/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/reditools/package.py b/var/spack/repos/builtin/packages/reditools/package.py
index 7dd0197a51..256ec5cb0f 100644
--- a/var/spack/repos/builtin/packages/reditools/package.py
+++ b/var/spack/repos/builtin/packages/reditools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/redland/package.py b/var/spack/repos/builtin/packages/redland/package.py
new file mode 100644
index 0000000000..d0973b69c5
--- /dev/null
+++ b/var/spack/repos/builtin/packages/redland/package.py
@@ -0,0 +1,21 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+from spack import *
+
+
+class Redland(AutotoolsPackage):
+ """Redland RDF Library - librdf providing the RDF API and triple stores"""
+
+ homepage = "http://librdf.org/"
+ url = "http://download.librdf.org/source/redland-1.0.17.tar.gz"
+
+ version('1.0.17', sha256='de1847f7b59021c16bdc72abb4d8e2d9187cd6124d69156f3326dd34ee043681')
+ version('1.0.16', sha256='d9a274fc086e61119d5c9beafb8d05527e040ec86f4c0961276ca8de0a049dbd')
+ version('1.0.15', sha256='0e1f5825b6357c9b490da866c95ae1d895dbb5f445013d2511c37df822ee9ec6')
+
+ depends_on('raptor2')
+ depends_on('rasqal')
diff --git a/var/spack/repos/builtin/packages/redset/package.py b/var/spack/repos/builtin/packages/redset/package.py
index 88ea8b92d4..33a6e1934a 100644
--- a/var/spack/repos/builtin/packages/redset/package.py
+++ b/var/spack/repos/builtin/packages/redset/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/redundans/package.py b/var/spack/repos/builtin/packages/redundans/package.py
index 25a0a64d22..334e36850f 100644
--- a/var/spack/repos/builtin/packages/redundans/package.py
+++ b/var/spack/repos/builtin/packages/redundans/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/reframe/package.py b/var/spack/repos/builtin/packages/reframe/package.py
index 5c1f19659b..6c343c883f 100644
--- a/var/spack/repos/builtin/packages/reframe/package.py
+++ b/var/spack/repos/builtin/packages/reframe/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -22,7 +22,10 @@ class Reframe(Package):
# notify when the package is updated.
maintainers = ['victorusu', 'vkarak']
- version('master', branch='master')
+ version('master', branch='master')
+ version('3.4', sha256='7e74b1c7468b94e89cff4cd4a91934645ab227ad61d57a9ddf6a7d3d0726010e')
+ version('3.3', sha256='9da150a051e9fa4ffea1361f30e8593261e7f6ebc71ec91ed32143539f871ad7')
+ version('3.2', sha256='dc7f72e31386e549a874699067666607a72835914fef18c38ae6032ab5e5ed51')
version('3.1', sha256='a9f6ac1ae8fdc51be8032d5cc79c117ff602f57b57aace2e195b2cfe1bd3a16f')
version('3.0', sha256='fb76b4513c03b84f5b3bbbc988f7747e5b58f04c983b3935bab1f2e81adccb82')
version('2.21', sha256='f35d4fda2f9672c87d3ef664d9a2d6eb0c01c88218a31772a6645c32c8934c4d')
@@ -31,29 +34,53 @@ class Reframe(Package):
version('2.17.2', sha256='092241cdc15918040aacb922c806aecb59c5bdc3ff7db034a4f355d39aecc101')
version('2.17.1', sha256='0b0d32a892607840a7d668f5dcea6f03f7022a26b23e5042a0faf5b8c41cb146')
- variant("docs", default=False,
- description="Build ReFrame's man page documentation")
- variant("gelf", default=False,
- description="Add graylog handler support")
+ variant('docs', default=False,
+ description='Build ReFrame\'s man page documentation')
+ variant('gelf', default=False,
+ description='Add graylog handler support')
+ # ReFrame requires git up to version 3.1, see:
+ # https://github.com/eth-cscs/reframe/issues/1464
+ depends_on('git', when='@2.0:3.1', type='run')
+
+ # supported python
depends_on('python@3.5:', when='@2.0:2.999', type='run')
depends_on('python@3.6:', when='@3.0:', type='run')
- depends_on('py-jsonschema', type='run')
+
+ # python build dependencies
depends_on('py-setuptools', type='build')
- depends_on("py-pygelf", when="+gelf", type="run")
- depends_on("py-sphinx", when="+docs", type="build")
- depends_on("py-sphinx-rtd-theme", when="+docs", type="build")
- # ReFrame requires git up to version 3.1, see:
- # https://github.com/eth-cscs/reframe/issues/1464
- depends_on("git", when="@2.0:3.1", type="run")
+
+ # python runtime dependencies
+ depends_on('py-jsonschema', type='run')
+ depends_on('py-importlib-metadata', type='run')
+
+ # communication dependencies
+ depends_on('py-pygelf', when='+gelf', type='run')
+
+ # documentation dependencies
+ depends_on('py-sphinx', when='+docs', type='build')
+ depends_on('py-sphinx-rtd-theme', when='+docs', type='build')
+
+ # sanity check
+ sanity_check_is_file = ['bin/reframe']
+ sanity_check_is_dir = ['bin', 'config', 'docs', 'reframe', 'tutorials',
+ 'unittests', 'cscs-checks']
+
+ # check if we can run reframe
+ @run_after('install')
+ @on_package_attributes(run_tests=True)
+ def check_list(self):
+ with working_dir(self.stage.source_path):
+ reframe = Executable(self.prefix + '/bin/reframe')
+ reframe('-l')
def install(self, spec, prefix):
if spec.version >= Version('3.0'):
- if "+docs" in spec:
- with working_dir("docs"):
- make("man")
- make("html")
- with working_dir("man"):
+ if '+docs' in spec:
+ with working_dir('docs'):
+ make('man')
+ make('html')
+ with working_dir('man'):
mkdir('man1')
shutil.move('reframe.1', 'man1')
mkdir('man8')
@@ -62,5 +89,5 @@ class Reframe(Package):
def setup_run_environment(self, env):
if self.spec.version >= Version('3.0'):
- if "+docs" in self.spec:
+ if '+docs' in self.spec:
env.prepend_path('MANPATH', self.prefix.docs.man)
diff --git a/var/spack/repos/builtin/packages/regcm/package.py b/var/spack/repos/builtin/packages/regcm/package.py
index 05625de77b..cf496e9b9c 100644
--- a/var/spack/repos/builtin/packages/regcm/package.py
+++ b/var/spack/repos/builtin/packages/regcm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/relax/package.py b/var/spack/repos/builtin/packages/relax/package.py
index d2ac4aa1c8..7ef85fb96c 100644
--- a/var/spack/repos/builtin/packages/relax/package.py
+++ b/var/spack/repos/builtin/packages/relax/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,6 +13,8 @@ class Relax(CMakePackage):
homepage = "https://twiki.cern.ch/twiki/bin/view/LCG/RELAX"
url = "http://lcgpackages.web.cern.ch/lcgpackages/tarFiles/sources/RELAX-1.tar.gz"
+ tags = ['hep']
+
# The RELAX project stopped using a fixed release model since it moved to
# ROOT 6, so any package checksum is a lie...
version('root6')
diff --git a/var/spack/repos/builtin/packages/relion/0002-Simple-patch-to-fix-intel-mkl-linking.patch b/var/spack/repos/builtin/packages/relion/0002-Simple-patch-to-fix-intel-mkl-linking.patch
new file mode 100644
index 0000000000..6c2e036e4b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/relion/0002-Simple-patch-to-fix-intel-mkl-linking.patch
@@ -0,0 +1,31 @@
+From 0448e229d5c38d00e8a4b9f7081a862e966f8c17 Mon Sep 17 00:00:00 2001
+From: Evan Bollig <ebbollig@amazon.com>
+Date: Tue, 9 Feb 2021 09:48:13 -0600
+Subject: [PATCH] Simple patch to fix intel mkl linking
+
+---
+ src/apps/CMakeLists.txt | 8 ++++++++
+ 1 file changed, 8 insertions(+)
+
+diff --git a/src/apps/CMakeLists.txt b/src/apps/CMakeLists.txt
+index 9f23f797..b26d373d 100644
+--- a/src/apps/CMakeLists.txt
++++ b/src/apps/CMakeLists.txt
+@@ -212,6 +212,14 @@ foreach (_target ${RELION_TARGETS})
+ target_link_libraries(${_target} ${LIB} ${EXTRA_LIBS} ${MPI_LIBRARIES} ${CMAKE_DL_LIBS})
+ else()
+ target_link_libraries(${_target} ${LIB} ${FFTW_LIBRARIES} ${EXTRA_LIBS} ${MPI_LIBRARIES} ${CMAKE_DL_LIBS})
++ # Intel MKL needs to be last in the list
++ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel")
++ SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fopenmp -mkl -limf ")
++ #target_link_libraries(${_target} "fopenmp" "mkl" "imf")
++ else()
++ #SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lmkl_intel_ilp64 -lmkl_core -lmkl_sequential ")
++ target_link_libraries(${_target} "mkl_intel_ilp64" "mkl_core" "mkl_sequential")
++ endif()
+ endif(NOT MKLFFT)
+
+ if(CUDA_FOUND)
+--
+2.25.1
+
diff --git a/var/spack/repos/builtin/packages/relion/package.py b/var/spack/repos/builtin/packages/relion/package.py
index 73244fcb65..5c8a455e86 100644
--- a/var/spack/repos/builtin/packages/relion/package.py
+++ b/var/spack/repos/builtin/packages/relion/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,15 +14,14 @@ class Relion(CMakePackage, CudaPackage):
homepage = "http://http://www2.mrc-lmb.cam.ac.uk/relion"
git = "https://github.com/3dem/relion.git"
+ url = "https://github.com/3dem/relion/archive/3.1.0.zip"
- # 3.1 is beta but referenced in published papers
- # prefer stable 3.0 until no longer beta
- version('3.1_beta', branch='ver3.1')
+ version('3.1.1', sha256='63e9b77e1ba9ec239375020ad6ff631424d1a5803cba5c608c09fd44d20b1618')
+ version('3.1.0', sha256='8a7e751fa6ebcdf9f36046499b3d88e170c4da86d5ff9ad1914b5f3d178867a8')
# 3.0.8 latest release in 3.0 branch
- # prefer for now
- version('3.0.8', tag='3.0.8', preferred=True)
- version('3.0.7', tag='3.0.7')
+ version('3.0.8', sha256='18cdd58e3a612d32413eb37e473fe8fbf06262d2ed72e42da20356f459260973')
+ version('3.0.7', sha256='a6d37248fc4d0bfc18f4badb7986dc1b6d6849baa2128b0b4dade13cb6991a99')
# relion master contains development code
# contains 3.0 branch code
@@ -40,15 +39,21 @@ class Relion(CMakePackage, CudaPackage):
description='The build type to build',
values=('Debug', 'Release', 'RelWithDebInfo',
'Profiling', 'Benchmarking'))
+ variant('mklfft', default=True, description='Use MKL rather than FFTW for FFT')
+ variant('allow_ctf_in_sagd', default=True, description='Allow CTF-modulation in SAGD, as specified in Claim 1 of patent US10,282,513B2')
depends_on('mpi')
depends_on('cmake@3:', type='build')
- depends_on('fftw precision=float,double')
+ depends_on('fftw precision=float,double', when='~mklfft')
depends_on('fltk', when='+gui')
depends_on('libtiff')
depends_on('cuda', when='+cuda')
depends_on('cuda@9:', when='@3: +cuda')
+ depends_on('tbb', when='~cuda')
+ depends_on('mkl', when='~cuda +mklfft')
+
+ patch('0002-Simple-patch-to-fix-intel-mkl-linking.patch', when='@:3.1.1 os=ubuntu18.04')
def cmake_args(self):
@@ -60,6 +65,7 @@ class Relion(CMakePackage, CudaPackage):
'-DGUI=%s' % ('+gui' in self.spec),
'-DDoublePrec_CPU=%s' % ('+double' in self.spec),
'-DDoublePrec_GPU=%s' % ('+double-gpu' in self.spec),
+ '-DALLOW_CTF_IN_SAGD=%s' % ('+allow_ctf_in_sagd' in self.spec),
]
if '+cuda' in self.spec:
@@ -73,7 +79,7 @@ class Relion(CMakePackage, CudaPackage):
# these new values were added in relion 3
# do not seem to cause problems with < 3
else:
- args += ['-DMKLFFT=ON', '-DFORCE_OWN_TBB=ON', '-DALTCPU=ON']
+ args += ['-DMKLFFT=%s' % ('+mklfft' in self.spec), '-DALTCPU=ON']
return args
diff --git a/var/spack/repos/builtin/packages/remhos/package.py b/var/spack/repos/builtin/packages/remhos/package.py
index 337c0056dd..15ad1355f2 100644
--- a/var/spack/repos/builtin/packages/remhos/package.py
+++ b/var/spack/repos/builtin/packages/remhos/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/rempi/package.py b/var/spack/repos/builtin/packages/rempi/package.py
index a7c394f1ab..cf4f2952cf 100644
--- a/var/spack/repos/builtin/packages/rempi/package.py
+++ b/var/spack/repos/builtin/packages/rempi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/rename/package.py b/var/spack/repos/builtin/packages/rename/package.py
index 6cf3c49278..1d1e1bbe40 100644
--- a/var/spack/repos/builtin/packages/rename/package.py
+++ b/var/spack/repos/builtin/packages/rename/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/rendercheck/package.py b/var/spack/repos/builtin/packages/rendercheck/package.py
index b6f4d90438..eeb893022f 100644
--- a/var/spack/repos/builtin/packages/rendercheck/package.py
+++ b/var/spack/repos/builtin/packages/rendercheck/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,6 +18,6 @@ class Rendercheck(AutotoolsPackage, XorgPackage):
depends_on('libxrender')
depends_on('libx11')
- depends_on('xproto@7.0.17:', type='build')
+ depends_on('xproto@7.0.17:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/renderproto/package.py b/var/spack/repos/builtin/packages/renderproto/package.py
index 87f1a6708a..83d98ed92e 100644
--- a/var/spack/repos/builtin/packages/renderproto/package.py
+++ b/var/spack/repos/builtin/packages/renderproto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/repeatmasker/package.py b/var/spack/repos/builtin/packages/repeatmasker/package.py
index 15aa062b35..30da0679fc 100644
--- a/var/spack/repos/builtin/packages/repeatmasker/package.py
+++ b/var/spack/repos/builtin/packages/repeatmasker/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/repeatmodeler/package.py b/var/spack/repos/builtin/packages/repeatmodeler/package.py
index 3231dd18e8..f703b19dc7 100644
--- a/var/spack/repos/builtin/packages/repeatmodeler/package.py
+++ b/var/spack/repos/builtin/packages/repeatmodeler/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/repeatscout/package.py b/var/spack/repos/builtin/packages/repeatscout/package.py
index 78a7a54093..035c26a5bc 100644
--- a/var/spack/repos/builtin/packages/repeatscout/package.py
+++ b/var/spack/repos/builtin/packages/repeatscout/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/resourceproto/package.py b/var/spack/repos/builtin/packages/resourceproto/package.py
index 3c5f74eddc..fb565072db 100644
--- a/var/spack/repos/builtin/packages/resourceproto/package.py
+++ b/var/spack/repos/builtin/packages/resourceproto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/revbayes/package.py b/var/spack/repos/builtin/packages/revbayes/package.py
index e3703b2e52..24205fc757 100644
--- a/var/spack/repos/builtin/packages/revbayes/package.py
+++ b/var/spack/repos/builtin/packages/revbayes/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/revocap-coupler/package.py b/var/spack/repos/builtin/packages/revocap-coupler/package.py
index 6bc128152d..838b51036d 100644
--- a/var/spack/repos/builtin/packages/revocap-coupler/package.py
+++ b/var/spack/repos/builtin/packages/revocap-coupler/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,6 +14,8 @@ class RevocapCoupler(AutotoolsPackage):
homepage = "http://www.ciss.iis.u-tokyo.ac.jp/dl/index.php"
url = "file://{0}/REVOCAP_Coupler-2.1.tar.gz".format(os.getcwd())
+ manual_download = True
+
version('2.1', sha256='9e7612d5c508ccdce23bff9ccbf62aeb635877bc2276cdc05c109de40f609f49')
depends_on('mpi')
diff --git a/var/spack/repos/builtin/packages/revocap-refiner/package.py b/var/spack/repos/builtin/packages/revocap-refiner/package.py
index f95e8f6e1d..36ae876599 100644
--- a/var/spack/repos/builtin/packages/revocap-refiner/package.py
+++ b/var/spack/repos/builtin/packages/revocap-refiner/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/rgb/package.py b/var/spack/repos/builtin/packages/rgb/package.py
index 416aef769c..ea5fc4eab4 100644
--- a/var/spack/repos/builtin/packages/rgb/package.py
+++ b/var/spack/repos/builtin/packages/rgb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -22,4 +22,4 @@ class Rgb(AutotoolsPackage, XorgPackage):
depends_on('xorg-server')
- depends_on('xproto', type='build')
+ depends_on('xproto')
diff --git a/var/spack/repos/builtin/packages/rhash/package.py b/var/spack/repos/builtin/packages/rhash/package.py
index e5e12eaa93..eee6a50b03 100644
--- a/var/spack/repos/builtin/packages/rhash/package.py
+++ b/var/spack/repos/builtin/packages/rhash/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/rinetd/package.py b/var/spack/repos/builtin/packages/rinetd/package.py
index bc02248539..91c0c4ea19 100644
--- a/var/spack/repos/builtin/packages/rinetd/package.py
+++ b/var/spack/repos/builtin/packages/rinetd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ripgrep/package.py b/var/spack/repos/builtin/packages/ripgrep/package.py
index eadaa6df79..6fc73655a1 100644
--- a/var/spack/repos/builtin/packages/ripgrep/package.py
+++ b/var/spack/repos/builtin/packages/ripgrep/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/rivet/package.py b/var/spack/repos/builtin/packages/rivet/package.py
index 3d28b81632..a5fc4f8f88 100644
--- a/var/spack/repos/builtin/packages/rivet/package.py
+++ b/var/spack/repos/builtin/packages/rivet/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,6 +13,8 @@ class Rivet(AutotoolsPackage):
homepage = "https://rivet.hepforge.org/"
url = "https://rivet.hepforge.org/downloads/?f=Rivet-3.1.2.tar.bz2"
+ tags = ['hep']
+
version('3.1.2', sha256='c041d09644f4eae7c212d82237033267fbc1583dfbb4e3e67377f86cece9577a')
version('3.1.1', sha256='7c98b26af5f859bc65200499d15765e4b056b4cf233b34176f27a7e6bc4cf9b1')
version('3.1.0', sha256='4e156daee5eb10bd1573ef32d4a6a6df74788cd9180fc977db93ef4cb281000c')
diff --git a/var/spack/repos/builtin/packages/rlwrap/package.py b/var/spack/repos/builtin/packages/rlwrap/package.py
index a3d0e4c41a..1a5e6ce1f7 100644
--- a/var/spack/repos/builtin/packages/rlwrap/package.py
+++ b/var/spack/repos/builtin/packages/rlwrap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/rmats/package.py b/var/spack/repos/builtin/packages/rmats/package.py
index 0563c5ddfd..48d7d79bd7 100644
--- a/var/spack/repos/builtin/packages/rmats/package.py
+++ b/var/spack/repos/builtin/packages/rmats/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/rmlab/package.py b/var/spack/repos/builtin/packages/rmlab/package.py
index 21e96c51c4..2c711a6e0b 100644
--- a/var/spack/repos/builtin/packages/rmlab/package.py
+++ b/var/spack/repos/builtin/packages/rmlab/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/rna-seqc/package.py b/var/spack/repos/builtin/packages/rna-seqc/package.py
index 0f357ae0c0..96c7b240b3 100644
--- a/var/spack/repos/builtin/packages/rna-seqc/package.py
+++ b/var/spack/repos/builtin/packages/rna-seqc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/rnaz/package.py b/var/spack/repos/builtin/packages/rnaz/package.py
index 89679aa4ef..fc52e583c6 100644
--- a/var/spack/repos/builtin/packages/rnaz/package.py
+++ b/var/spack/repos/builtin/packages/rnaz/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/rng-tools/package.py b/var/spack/repos/builtin/packages/rng-tools/package.py
index c2a3a41bf3..f0a8726f9e 100644
--- a/var/spack/repos/builtin/packages/rng-tools/package.py
+++ b/var/spack/repos/builtin/packages/rng-tools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/rngstreams/package.py b/var/spack/repos/builtin/packages/rngstreams/package.py
index 4c6483d30e..45a8ab04b4 100644
--- a/var/spack/repos/builtin/packages/rngstreams/package.py
+++ b/var/spack/repos/builtin/packages/rngstreams/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/rocalution/package.py b/var/spack/repos/builtin/packages/rocalution/package.py
index 93b729c7c5..b05d56b7c2 100644
--- a/var/spack/repos/builtin/packages/rocalution/package.py
+++ b/var/spack/repos/builtin/packages/rocalution/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,16 +16,19 @@ class Rocalution(CMakePackage):
other scientific software packages."""
homepage = "https://github.com/ROCmSoftwarePlatform/rocALUTION"
- url = "https://github.com/ROCmSoftwarePlatform/rocALUTION/archive/rocm-3.7.0.tar.gz"
+ url = "https://github.com/ROCmSoftwarePlatform/rocALUTION/archive/rocm-4.0.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ version('4.0.0', sha256='80a224a5c19dea290e6edc0e170c3dff2e726c2b3105d599ec6858cc66f076a9')
+ version('3.10.0', sha256='c24cb9d1a8a1a3118040b8b16dec7c06268bcf157424d3378256cc9eb93f1b58')
+ version('3.9.0', sha256='1ce36801fe1d44f743b46b43345c0cd90d76b73911b2ec97be763f93a35396fb')
version('3.8.0', sha256='39e64a29e75c4276163a93596436064c6338770ca72ce7f43711ed8285ed2de5')
version('3.7.0', sha256='4d6b20aaaac3bafb7ec084d684417bf578349203b0f9f54168f669e3ec5699f8')
version('3.5.0', sha256='be2f78c10c100d7fd9df5dd2403a44700219c2cbabaacf2ea50a6e2241df7bfe')
depends_on('cmake@3.5:', type='build')
- for ver in ['3.5.0', '3.7.0', '3.8.0']:
+ for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('hip@' + ver, when='@' + ver)
depends_on('rocblas@' + ver, type='link', when='@' + ver)
depends_on('rocprim@' + ver, type='link', when='@' + ver)
@@ -33,12 +36,24 @@ class Rocalution(CMakePackage):
depends_on('rocm-device-libs@' + ver, type='build', when='@' + ver)
depends_on('comgr@' + ver, type='build', when='@' + ver)
depends_on('llvm-amdgpu@' + ver, type='build', when='@' + ver)
+ if ver in ['3.9.0', '3.10.0', '4.0.0']:
+ depends_on('rocrand@' + ver, type='link', when='@' + ver)
patch('0001-fix-hip-build-error.patch')
def setup_build_environment(self, env):
env.set('CXX', self.spec['hip'].hipcc)
+ def patch(self):
+ if '@3.9.0:' in self.spec:
+ kwargs = {'ignore_absent': False, 'backup': False, 'string': False}
+
+ with working_dir('src/base/hip'):
+ match = '^#include <rocrand/rocrand.hpp>'
+ substitute = "#include <rocrand.hpp>"
+ files = ['hip_rand_normal.hpp', 'hip_rand_uniform.hpp']
+ filter_file(match, substitute, *files, **kwargs)
+
def cmake_args(self):
args = [
'-DSUPPORT_HIP=ON',
diff --git a/var/spack/repos/builtin/packages/rocblas/package.py b/var/spack/repos/builtin/packages/rocblas/package.py
index 66c63ce9ab..08c974c7fe 100644
--- a/var/spack/repos/builtin/packages/rocblas/package.py
+++ b/var/spack/repos/builtin/packages/rocblas/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,10 +11,12 @@ class Rocblas(CMakePackage):
"""Radeon Open Compute BLAS library"""
homepage = "https://github.com/ROCmSoftwarePlatform/rocBLAS/"
- url = "https://github.com/ROCmSoftwarePlatform/rocBLAS/archive/rocm-3.5.0.tar.gz"
+ url = "https://github.com/ROCmSoftwarePlatform/rocBLAS/archive/rocm-4.0.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ version('4.0.0', sha256='78e37a7597b581d90a29e4b956fa65d0f8d1c8fb51667906b5fe2a223338d401')
+ version('3.10.0', sha256='9bfd0cf99662192b1ac105ab387531cfa9338ae615db80ed690c6a14d987e0e8')
version('3.9.0', sha256='3ecd2d9fd2be0e1697a191d143a2d447b53a91ae01afb50231d591136ad5e2fe')
version('3.8.0', sha256='568a9da0360349b1b134d74cc67cbb69b43c06eeca7c33b50072cd26cd3d8900')
version('3.7.0', sha256='9425db5f8e8b6f7fb172d09e2a360025b63a4e54414607709efc5acb28819642')
@@ -26,7 +28,7 @@ class Rocblas(CMakePackage):
depends_on('cmake@3:', type='build')
- for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0']:
+ for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('rocm-cmake@' + ver, type='build', when='@' + ver)
depends_on('rocm-device-libs@' + ver, type='build', when='@' + ver)
depends_on('hip@' + ver, when='@' + ver)
@@ -65,6 +67,16 @@ class Rocblas(CMakePackage):
commit='b68edc65aaeed08c71b2b8622f69f83498b57d7a',
when='@3.9.0')
+ resource(name='Tensile',
+ git='https://github.com/ROCmSoftwarePlatform/Tensile.git',
+ commit='ab44bf46b609b5a40053f310bef2ab7511f726ae',
+ when='@3.10.0')
+
+ resource(name='Tensile',
+ git='https://github.com/ROCmSoftwarePlatform/Tensile.git',
+ commit='ab44bf46b609b5a40053f310bef2ab7511f726ae',
+ when='@4.0.0')
+
# Status: https://github.com/ROCmSoftwarePlatform/Tensile/commit/a488f7dadba34f84b9658ba92ce9ec5a0615a087
# Not yet landed in 3.7.0, nor 3.8.0.
patch('0001-Fix-compilation-error-with-StringRef-to-basic-string.patch', when='@:3.8')
diff --git a/var/spack/repos/builtin/packages/rocfft/package.py b/var/spack/repos/builtin/packages/rocfft/package.py
index c43aaa2c1a..44cea0da57 100644
--- a/var/spack/repos/builtin/packages/rocfft/package.py
+++ b/var/spack/repos/builtin/packages/rocfft/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,10 +11,12 @@ class Rocfft(CMakePackage):
"""Radeon Open Compute FFT library"""
homepage = "https://github.com/ROCmSoftwarePlatform/rocFFT/"
- url = "https://github.com/ROCmSoftwarePlatform/rocfft/archive/rocm-3.8.0.tar.gz"
+ url = "https://github.com/ROCmSoftwarePlatform/rocfft/archive/rocm-4.0.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ version('4.0.0', sha256='d1d10d270f822e0bab64307313ef163ba449b058bf3352962bbb26d4f4db89d0')
+ version('3.10.0', sha256='9f57226aac7d9a0515e14a5a5b08a85e727de72b3f9c2177daf56749ac2c76ae')
version('3.9.0', sha256='9c9c0b7f09bab17250f5101d1605e7a61218eae828a3eb8fe048d607181294ce')
version('3.8.0', sha256='ed23009796e2ee7c43dcc24527f2d6b1d7a73dceac06c30384460098d2fe1556')
version('3.7.0', sha256='94462e4bd19c2c749fcf6903adbee66d4d3bd345c0246861ff8f40b9d08a6ead')
@@ -31,7 +33,7 @@ class Rocfft(CMakePackage):
depends_on('cmake@3:', type='build')
- for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0']:
+ for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('rocm-cmake@' + ver, type='build', when='@' + ver)
depends_on('rocm-device-libs@' + ver, type='build', when='@' + ver)
depends_on('hip@' + ver, when='@' + ver)
diff --git a/var/spack/repos/builtin/packages/rocketmq/package.py b/var/spack/repos/builtin/packages/rocketmq/package.py
index b3630b06ea..1d1aebe41c 100644
--- a/var/spack/repos/builtin/packages/rocketmq/package.py
+++ b/var/spack/repos/builtin/packages/rocketmq/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/rocksdb/package.py b/var/spack/repos/builtin/packages/rocksdb/package.py
index a31a9af5cc..574bff0dbe 100644
--- a/var/spack/repos/builtin/packages/rocksdb/package.py
+++ b/var/spack/repos/builtin/packages/rocksdb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/rockstar/package.py b/var/spack/repos/builtin/packages/rockstar/package.py
index 80d9138f5f..fe25487d68 100644
--- a/var/spack/repos/builtin/packages/rockstar/package.py
+++ b/var/spack/repos/builtin/packages/rockstar/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/rocm-bandwidth-test/package.py b/var/spack/repos/builtin/packages/rocm-bandwidth-test/package.py
index 26a30322bc..be1a092fd1 100644
--- a/var/spack/repos/builtin/packages/rocm-bandwidth-test/package.py
+++ b/var/spack/repos/builtin/packages/rocm-bandwidth-test/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,10 +11,12 @@ class RocmBandwidthTest(CMakePackage):
"""Test to measure PciE bandwidth on ROCm platforms"""
homepage = "https://github.com/RadeonOpenCompute/rocm_bandwidth_test"
- url = "https://github.com/RadeonOpenCompute/rocm_bandwidth_test/archive/rocm-3.8.0.tar.gz"
+ url = "https://github.com/RadeonOpenCompute/rocm_bandwidth_test/archive/rocm-4.0.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ version('4.0.0', sha256='bde2aa743979eac195dd13ec8d0fcb7da183fff489da32c28b872eed7f6681b3')
+ version('3.10.0', sha256='ad1dedad9023ccb050082c866fa5131665d9c3b50de0b78e4618730c29a07773')
version('3.9.0', sha256='f366299b48a29b419febb2ba398d1abe4cd01425d33254777e426966b722d3b1')
version('3.8.0', sha256='7de71a2ba17bbeea9107f2e9e65729f507234d6cbbb44f251240d64683027497')
version('3.7.0', sha256='9aa1d4b7b01ee4d443effc76ed5f6f43a051fd815692b59dfccf0ecbfeaeed03')
@@ -24,7 +26,7 @@ class RocmBandwidthTest(CMakePackage):
depends_on('cmake@3:', type='build')
- for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0']:
+ for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('hsa-rocr-dev@' + ver, type='link', when='@' + ver)
depends_on('hsakmt-roct@' + ver, type='build', when='@' + ver)
diff --git a/var/spack/repos/builtin/packages/rocm-clang-ocl/package.py b/var/spack/repos/builtin/packages/rocm-clang-ocl/package.py
index f9fcb06444..0c59dba8e3 100644
--- a/var/spack/repos/builtin/packages/rocm-clang-ocl/package.py
+++ b/var/spack/repos/builtin/packages/rocm-clang-ocl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,10 +10,12 @@ class RocmClangOcl(CMakePackage):
""" OpenCL compilation with clang compiler """
homepage = "https://github.com/RadeonOpenCompute/clang-ocl"
- url = "https://github.com/RadeonOpenCompute/clang-ocl/archive/rocm-3.9.0.tar.gz"
+ url = "https://github.com/RadeonOpenCompute/clang-ocl/archive/rocm-4.0.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ version('4.0.0', sha256='c8f9091396ee0096f6d7c1cd13d80532c424e838bec1e4cebf903ebaf649e82e')
+ version('3.10.0', sha256='17fc8fb8c38b18f9f0cac339dda6cea3e9e66805f7a92ec2456072fc1e72fa85')
version('3.9.0', sha256='3d63c7ac259ba8b0bfd5e4a94df1490c2b6cbac4d43dc7bbc210a536251268fe')
version('3.8.0', sha256='a829aa2efb6e3bc00d8a08a96404f937f3c8adf3b4922b5ac35050d6e08b912d')
version('3.7.0', sha256='9c00c7e7dd3ac8326ae6772a43866b44ae049d5960ea6993d14a2370db74d326')
@@ -23,8 +25,9 @@ class RocmClangOcl(CMakePackage):
depends_on('cmake@3:', type='build')
- for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0']:
+ for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('rocm-cmake@' + ver, type='build', when='@' + ver)
depends_on('llvm-amdgpu@' + ver, type='build', when='@' + ver)
- for ver in ['3.7.0', '3.8.0', '3.9.0']:
+
+ for ver in ['3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('rocm-device-libs@' + ver, type='build', when='@' + ver)
diff --git a/var/spack/repos/builtin/packages/rocm-cmake/package.py b/var/spack/repos/builtin/packages/rocm-cmake/package.py
index 86593f4b5d..b03f734ada 100644
--- a/var/spack/repos/builtin/packages/rocm-cmake/package.py
+++ b/var/spack/repos/builtin/packages/rocm-cmake/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,10 +12,12 @@ class RocmCmake(CMakePackage):
needed for the ROCM software stack"""
homepage = "https://github.com/RadeonOpenCompute/rocm-cmake"
- url = "https://github.com/RadeonOpenCompute/rocm-cmake/archive/rocm-3.9.0.tar.gz"
+ url = "https://github.com/RadeonOpenCompute/rocm-cmake/archive/rocm-4.0.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ version('4.0.0', sha256='4577487acaa6e041a1316145867584f31caaf0d4aa2dd8fd7f82f81c269cada6')
+ version('3.10.0', sha256='751be4484efdcf0d5fa675480db6e2cddab897de4708c7c7b9fa7adb430b52d7')
version('3.9.0', sha256='e0a8db85bb55acb549f360eb9b04f55104aa93e4c3db33f9ba11d9adae2a07eb')
version('3.8.0', sha256='9e4be93c76631224eb49b2fa30b0d14c1b3311a6519c8b393da96ac0649d9f30')
version('3.7.0', sha256='51abfb06124c2e0677c4d6f7fe83c22fe855cb21386f0053ace09f8ab297058b')
diff --git a/var/spack/repos/builtin/packages/rocm-dbgapi/package.py b/var/spack/repos/builtin/packages/rocm-dbgapi/package.py
index a4d06d612a..fd83125ab5 100644
--- a/var/spack/repos/builtin/packages/rocm-dbgapi/package.py
+++ b/var/spack/repos/builtin/packages/rocm-dbgapi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,10 +14,12 @@ class RocmDbgapi(CMakePackage):
AMD's commercially available GPU architectures."""
homepage = "https://github.com/ROCm-Developer-Tools/ROCdbgapi"
- url = "https://github.com/ROCm-Developer-Tools/ROCdbgapi/archive/rocm-3.8.0.tar.gz"
+ url = "https://github.com/ROCm-Developer-Tools/ROCdbgapi/archive/rocm-4.0.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ version('4.0.0', sha256='e87f31b3a22861397eb62d8363dd1e153596097ccfe68c6eefc1a83a2432ae18')
+ version('3.10.0', sha256='89a8d352d59e4c0dc13160b1bf1f4bc3bfec5af544050030aa619b1ff88f1850')
version('3.9.0', sha256='d1553f89d2b0419304ea82ed2b97abdc323c2fed183f0e119da1a72416a48136')
version('3.8.0', sha256='760ff77c6578f3548f367a8bd3dda8680b7519f6b20216755105b87785d1e3f8')
version('3.7.0', sha256='bdeaf81ea8a0ac861a697e435c72cbe767c291638be43f0d09116ad605dfee4f')
@@ -25,7 +27,7 @@ class RocmDbgapi(CMakePackage):
depends_on('cmake@3:', type='build')
- for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0']:
+ for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('hsa-rocr-dev@' + ver, type='build', when='@' + ver)
depends_on('comgr@' + ver, type=('build', 'link'), when='@' + ver)
diff --git a/var/spack/repos/builtin/packages/rocm-debug-agent/package.py b/var/spack/repos/builtin/packages/rocm-debug-agent/package.py
index 07fbab2397..e647fb6eeb 100644
--- a/var/spack/repos/builtin/packages/rocm-debug-agent/package.py
+++ b/var/spack/repos/builtin/packages/rocm-debug-agent/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,10 +11,12 @@ class RocmDebugAgent(CMakePackage):
"""Radeon Open Compute (ROCm) debug agent"""
homepage = "https://github.com/ROCm-Developer-Tools/rocr_debug_agent"
- url = "https://github.com/ROCm-Developer-Tools/rocr_debug_agent/archive/rocm-3.8.0.tar.gz"
+ url = "https://github.com/ROCm-Developer-Tools/rocr_debug_agent/archive/rocm-4.0.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ version('4.0.0', sha256='a9e64834d56a9221c242e71aa110c2cef0087aa8f86f50428dd618e5e623cc3c')
+ version('3.10.0', sha256='675b8d3cc4aecc4428a93553abf664bbe6a2cb153f1f480e6cadeeb4d24ef4b1')
version('3.9.0', sha256='3e56bf8b2b53d9102e8709b6259deea52257dc6210df16996b71a7d677952b1b')
version('3.8.0', sha256='55243331ac4b0d90e88882eb29fd06fad354e278f8a34ac7f0680b2c895ca2ac')
version('3.7.0', sha256='d0f442a2b224a734b0080c906f0fc3066a698e5cde9ff97ffeb485b36d2caba1')
@@ -34,10 +36,10 @@ class RocmDebugAgent(CMakePackage):
depends_on('cmake@3:', type='build')
depends_on("elfutils", type='link')
- for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0']:
+ for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('hsa-rocr-dev@' + ver, type='link', when='@' + ver)
depends_on('hsakmt-roct@' + ver, type='link', when='@' + ver)
- if ver in ['3.7.0', '3.8.0', '3.9.0']:
+ if ver in ['3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('rocm-dbgapi@' + ver, type='link', when='@' + ver)
depends_on('hip@' + ver, when='@' + ver)
diff --git a/var/spack/repos/builtin/packages/rocm-device-libs/package.py b/var/spack/repos/builtin/packages/rocm-device-libs/package.py
index 17f13b04db..e447191228 100644
--- a/var/spack/repos/builtin/packages/rocm-device-libs/package.py
+++ b/var/spack/repos/builtin/packages/rocm-device-libs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,10 +11,12 @@ class RocmDeviceLibs(CMakePackage):
"""set of AMD specific device-side language runtime libraries"""
homepage = "https://github.com/RadeonOpenCompute/ROCm-Device-Libs"
- url = "https://github.com/RadeonOpenCompute/ROCm-Device-Libs/archive/rocm-3.9.0.tar.gz"
+ url = "https://github.com/RadeonOpenCompute/ROCm-Device-Libs/archive/rocm-4.0.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ version('4.0.0', sha256='d0aa495f9b63f6d8cf8ac668f4dc61831d996e9ae3f15280052a37b9d7670d2a')
+ version('3.10.0', sha256='bca9291385d6bdc91a8b39a46f0fd816157d38abb1725ff5222e6a0daa0834cc')
version('3.9.0', sha256='c99f45dacf5967aef9a31e3731011b9c142446d4a12bac69774998976f2576d7')
version('3.8.0', sha256='e82cc9a8eb7d92de02cabb856583e28f17a05c8cf9c97aec5275608ef1a38574')
version('3.7.0', sha256='b3a114180bf184b3b829c356067bc6a98021d52c1c6f9db6bc57272ebafc5f1d')
@@ -25,7 +27,7 @@ class RocmDeviceLibs(CMakePackage):
depends_on('cmake@3:', type='build')
depends_on('zlib', type='link', when='@3.9.0:')
depends_on('texinfo', type='link', when='@3.9.0:')
- for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0']:
+ for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('llvm-amdgpu@' + ver, type='build', when='@' + ver)
depends_on('rocm-cmake@' + ver, type='build', when='@' + ver)
diff --git a/var/spack/repos/builtin/packages/rocm-gdb/package.py b/var/spack/repos/builtin/packages/rocm-gdb/package.py
index 4bda8ef75b..9caa5c61a1 100644
--- a/var/spack/repos/builtin/packages/rocm-gdb/package.py
+++ b/var/spack/repos/builtin/packages/rocm-gdb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,10 +12,12 @@ class RocmGdb(AutotoolsPackage):
based on GDB, the GNU source-level debugger."""
homepage = "https://github.com/ROCm-Developer-Tools/ROCgdb/"
- url = "https://github.com/ROCm-Developer-Tools/ROCgdb/archive/rocm-3.9.0.tar.gz"
+ url = "https://github.com/ROCm-Developer-Tools/ROCgdb/archive/rocm-3.10.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ version('4.0.0', sha256='b90291b0a8409fe66d8a65d2731dcb87b9f5a22bac9ce3ffbab726eb129ba13d')
+ version('3.10.0', sha256='05455cb47dd42404ee8bba047def6a6846a7e877e7a7db8dcffc7100d5ba16f0')
version('3.9.0', sha256='0765c96439c0efa145418d210d865b9faed463466d7522274959cc4476a37097')
version('3.8.0', sha256='a7c11dc30c952587c616bf7769bad603c3bf80522afc8b73ccda5b78d27bed41')
version('3.7.0', sha256='7a29ef584fd7b6c66bb03aaf8ec2f5a8c758370672a28a4d0d95066e5f6fbdc1')
@@ -26,12 +28,12 @@ class RocmGdb(AutotoolsPackage):
depends_on('bison', type='build')
depends_on('flex', type='build')
depends_on('libunwind', type='build')
- depends_on('expat', type='build')
- depends_on('python', type='build')
+ depends_on('expat', type=('build', 'link'))
+ depends_on('python', type=('build', 'link'))
depends_on('zlib', type='link')
depends_on('babeltrace@1.2.4', type='link')
- for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0']:
+ for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('rocm-dbgapi@' + ver, type='link', when='@' + ver)
depends_on('comgr@' + ver, type='link', when='@' + ver)
diff --git a/var/spack/repos/builtin/packages/rocm-opencl/package.py b/var/spack/repos/builtin/packages/rocm-opencl/package.py
index d2112db14c..4f99676a26 100644
--- a/var/spack/repos/builtin/packages/rocm-opencl/package.py
+++ b/var/spack/repos/builtin/packages/rocm-opencl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -20,16 +20,18 @@ class RocmOpencl(CMakePackage):
url = "https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/archive/rocm-{0}.tar.gz"
return url.format(version)
+ version('4.0.0', sha256='d43ea5898c6b9e730b5efabe8367cc136a9260afeac5d0fe85b481d625dd7df1')
+ version('3.10.0', sha256='3aa9dc5a5f570320b04b35ee129ce9ff21062d2770df934c6c307913f975e93d')
version('3.9.0', sha256='286ff64304905384ce524cd8794c28aee216befd6c9267d4187a12e5a21e2daf')
version('3.8.0', sha256='7f75dd1abf3d771d554b0e7b0a7d915ab5f11a74962c92b013ee044a23c1270a')
version('3.7.0', sha256='283e1dfe4c3d2e8af4d677ed3c20e975393cdb0856e3ccd77b9c7ed2a151650b')
version('3.5.0', sha256='511b617d5192f2d4893603c1a02402b2ac9556e9806ff09dd2a91d398abf39a0')
depends_on('cmake@3:', type='build')
- depends_on('mesa~llvm@18.3:', type='link')
- depends_on('numactl', type='link', when='@3.7.0')
+ depends_on('mesa18~llvm@18.3:', type='link')
+ depends_on('numactl', type='link', when='@3.7.0:')
- for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0']:
+ for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('hip-rocclr@' + ver, type='build', when='@' + ver)
depends_on('comgr@' + ver, type='build', when='@' + ver)
depends_on('hsa-rocr-dev@' + ver, type='link', when='@' + ver)
diff --git a/var/spack/repos/builtin/packages/rocm-openmp-extras/package.py b/var/spack/repos/builtin/packages/rocm-openmp-extras/package.py
new file mode 100644
index 0000000000..21fdc67f71
--- /dev/null
+++ b/var/spack/repos/builtin/packages/rocm-openmp-extras/package.py
@@ -0,0 +1,357 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+import os
+import re
+
+tools_url = 'https://github.com/ROCm-Developer-Tools'
+compute_url = 'https://github.com/RadeonOpenCompute'
+
+# Arrays of hashes are in order of the versions array below
+# For example array[0] = 3.9.0, array[1] = 3.10.0, etc.
+
+aomp = [
+ "377ab59b685a73b3f95fba95f5e028678ec5aafabc4177b7f0ffb78da095d679",
+ "808fca9bdefb109d5bcbbc9f5b59c564a6d422488869e986516f2a7233eda235",
+ "aa75455cf1d333419e5310117678e5789c5222f7cb05b05e3dfacef855c55d84"
+]
+
+devlib = [
+ "c99f45dacf5967aef9a31e3731011b9c142446d4a12bac69774998976f2576d7",
+ "bca9291385d6bdc91a8b39a46f0fd816157d38abb1725ff5222e6a0daa0834cc",
+ "d0aa495f9b63f6d8cf8ac668f4dc61831d996e9ae3f15280052a37b9d7670d2a"
+]
+
+llvm = [
+ "1ff14b56d10c2c44d36c3c412b190d3d8cd1bb12cfc7cd58af004c16fd9987d1",
+ "8262aff88c1ff6c4deb4da5a4f8cda1bf90668950e2b911f93f73edaee53b370",
+ "aa1f80f429fded465e86bcfaef72255da1af1c5c52d58a4c979bc2f6c2da5a69"
+]
+
+flang = [
+ "5d113f44fb173bd0d5704b282c5cebbb2aa642c7c29f188764bfa1daa58374c9",
+ "3990d39ff1c908b150f464f0653a123d94be30802f9cad6af18fbb560c4b412e",
+ "f3e19699ce4ac404f41ffe08ef4546e31e2e741d8deb403b5477659e054275d5"
+]
+
+extras = [
+ "830a37cf1c6700f81fc00749206a37e7cda4d2867bbdf489e9e2d81f52d06b3d",
+ "5d98d34aff97416d8b5b9e16e7cf474580f8de8a73bd0e549c4440a3c5df4ef5",
+ "51cc8a7c5943e1d9bc657fc9b9797f45e3ce6a4e544d3d3a967c7cd0185a0510"
+]
+
+versions = ['3.9.0', '3.10.0', '4.0.0']
+versions_dict = dict()
+components = ['aomp', 'devlib', 'llvm', 'flang', 'extras']
+component_hashes = [aomp, devlib, llvm, flang, extras]
+
+# Loop through versions and create necessary dictionaries of components
+for outer_index, item in enumerate(versions):
+ for inner_index, component in enumerate(component_hashes):
+ versions_dict.setdefault(item, {})[components[inner_index]] = \
+ component_hashes[inner_index][outer_index]
+
+
+class RocmOpenmpExtras(Package):
+ """OpenMP support for ROCm LLVM."""
+
+ homepage = tools_url + "/aomp"
+ url = tools_url + "/aomp/archive/rocm-4.0.0.tar.gz"
+
+ maintainers = ['srekolam', 'arjun-raj-kuppala', 'estewart08']
+ version('4.0.0', sha256=versions_dict['4.0.0']['aomp'])
+ version('3.10.0', sha256=versions_dict['3.10.0']['aomp'])
+ version('3.9.0', sha256=versions_dict['3.9.0']['aomp'])
+
+ depends_on('cmake@3:', type='build')
+ depends_on('mesa18~llvm@18.3:', type=('build', 'link'))
+ depends_on('py-setuptools', type='build')
+ depends_on('python@3:', type='build')
+ depends_on('perl-data-dumper', type='build')
+ depends_on('awk', type='build')
+ depends_on('elfutils', type=('build', 'link'))
+ depends_on('libffi', type=('build', 'link'))
+
+ for ver in ['3.9.0', '3.10.0', '4.0.0']:
+ depends_on('hsakmt-roct@' + ver, type=('build', 'run'), when='@' + ver)
+ depends_on('comgr@' + ver, type='build', when='@' + ver)
+ depends_on('hsa-rocr-dev@' + ver, type=('build', 'run'),
+ when='@' + ver)
+ depends_on('rocm-device-libs@' + ver, type=('build', 'run'),
+ when='@' + ver)
+ depends_on('llvm-amdgpu@' + ver, type=('build', 'run'),
+ when='@' + ver)
+
+ # tag changed to 'rocm-' in 4.0.0
+ if ver == '3.9.0' or ver == '3.10.0':
+ tag = 'rocm-uc-'
+ else:
+ tag = 'rocm-'
+
+ resource(
+ name='rocm-device-libs',
+ url=compute_url +
+ '/ROCm-Device-Libs/archive/' + tag + ver + '.tar.gz',
+ sha256=versions_dict[ver]['devlib'],
+ expand=True,
+ destination='rocm-openmp-extras',
+ placement='rocm-device-libs',
+ when='@' + ver)
+
+ resource(
+ name='flang',
+ url=tools_url + '/flang/archive/' + tag + ver + '.tar.gz',
+ sha256=versions_dict[ver]['flang'],
+ expand=True,
+ destination='rocm-openmp-extras',
+ placement='flang',
+ when='@' + ver)
+
+ resource(
+ name='aomp-extras',
+ url=tools_url + '/aomp-extras/archive/' + tag + ver + '.tar.gz',
+ sha256=versions_dict[ver]['extras'],
+ expand=True,
+ destination='rocm-openmp-extras',
+ placement='aomp-extras',
+ when='@' + ver)
+
+ resource(
+ name='llvm-project',
+ url=compute_url + '/llvm-project/archive/rocm-' + ver + '.tar.gz',
+ sha256=versions_dict[ver]['llvm'],
+ expand=True,
+ destination='rocm-openmp-extras',
+ placement='llvm-project',
+ when='@' + ver)
+
+ def setup_run_environment(self, env):
+ devlibs_prefix = self.spec['rocm-device-libs'].prefix
+ openmp_extras_prefix = self.spec['rocm-openmp-extras'].prefix
+ llvm_prefix = self.spec['llvm-amdgpu'].prefix
+ env.set('AOMP', '{0}'.format(llvm_prefix))
+ env.set('HIP_DEVICE_LIB_PATH',
+ '{0}/amdgcn/bitcode'.format(devlibs_prefix))
+ env.set('AOMP_GPU',
+ '`{0}/rocm-bin/mygpu`'.format(openmp_extras_prefix))
+
+ def setup_build_environment(self, env):
+ openmp_extras_prefix = self.spec['rocm-openmp-extras'].prefix
+ llvm_prefix = self.spec['llvm-amdgpu'].prefix
+ env.set('AOMP', '{0}'.format(llvm_prefix))
+ env.set('FC', '{0}/bin/flang'.format(openmp_extras_prefix))
+ env.set(
+ 'GFXLIST',
+ 'gfx700 gfx701 gfx801 gfx803 gfx900 gfx902 gfx906 gfx908')
+
+ def patch(self):
+ src = self.stage.source_path
+ aomp_extras = '{0}/rocm-openmp-extras/aomp-extras/aomp-device-libs'
+ libomptarget = \
+ '{0}/rocm-openmp-extras/llvm-project/openmp/libomptarget'
+ flang = '{0}/rocm-openmp-extras/flang/'
+
+ filter_file(
+ '{ROCM_DIR}/amdgcn/bitcode', '{DEVICE_LIBS_DIR}',
+ aomp_extras.format(src) + '/aompextras/CMakeLists.txt',
+ aomp_extras.format(src) + '/libm/CMakeLists.txt',
+ libomptarget.format(src) + '/deviceRTLs/amdgcn/CMakeLists.txt')
+
+ # Openmp adjustments
+ filter_file(
+ '-nogpulib', '-nogpulib -nogpuinc',
+ libomptarget.format(src) + '/deviceRTLs/amdgcn/CMakeLists.txt')
+
+ filter_file(
+ '-x hip', '-x hip -nogpulib -nogpuinc',
+ libomptarget.format(src) + '/deviceRTLs/amdgcn/CMakeLists.txt')
+
+ filter_file(
+ '-c ', '-c -nogpulib -nogpuinc -I{LIMIT}',
+ libomptarget.format(src) + '/hostrpc/CMakeLists.txt')
+
+ filter_file(
+ r'${ROCM_DIR}/hsa/include ${ROCM_DIR}/hsa/include/hsa',
+ '${HSA_INCLUDE}/hsa/include ${HSA_INCLUDE}/hsa/include/hsa',
+ libomptarget.format(src) + '/plugins/hsa/CMakeLists.txt',
+ string=True)
+
+ filter_file(
+ '{ROCM_DIR}/hsa/lib', '{HSA_LIB}',
+ libomptarget.format(src) + '/plugins/hsa/CMakeLists.txt')
+
+ filter_file(
+ r'{ROCM_DIR}/lib\)',
+ '{HSAKMT_LIB})\nset(HSAKMT_LIB64 ${HSAKMT_LIB64})',
+ libomptarget.format(src) + '/plugins/hsa/CMakeLists.txt')
+
+ filter_file(
+ r'-L${LIBOMPTARGET_DEP_LIBHSAKMT_LIBRARIES_DIRS}',
+ '-L${LIBOMPTARGET_DEP_LIBHSAKMT_LIBRARIES_DIRS} -L${HSAKMT_LIB64}',
+ libomptarget.format(src) + '/plugins/hsa/CMakeLists.txt',
+ string=True)
+
+ filter_file(
+ r'-rpath,${LIBOMPTARGET_DEP_LIBHSAKMT_LIBRARIES_DIRS}',
+ '-rpath,${LIBOMPTARGET_DEP_LIBHSAKMT_LIBRARIES_DIRS}' +
+ ',-rpath,${HSAKMT_LIB64}',
+ libomptarget.format(src) + '/plugins/hsa/CMakeLists.txt',
+ string=True)
+
+ filter_file(
+ '{ROCM_DIR}/include', '{COMGR_INCLUDE}',
+ libomptarget.format(src) + '/plugins/hsa/CMakeLists.txt')
+
+ filter_file(
+ r'-L${LLVM_LIBDIR}${OPENMP_LIBDIR_SUFFIX}',
+ '-L${LLVM_LIBDIR}${OPENMP_LIBDIR_SUFFIX} -L${COMGR_LIB}',
+ libomptarget.format(src) + '/plugins/hsa/CMakeLists.txt',
+ string=True)
+
+ filter_file(
+ r'rpath,${LLVM_LIBDIR}${OPENMP_LIBDIR_SUFFIX}',
+ 'rpath,${LLVM_LIBDIR}${OPENMP_LIBDIR_SUFFIX}' +
+ '-Wl,-rpath,${COMGR_LIB}',
+ libomptarget.format(src) + '/plugins/hsa/CMakeLists.txt',
+ string=True)
+
+ filter_file(
+ 'ADDITIONAL_VERSIONS 2.7', 'ADDITIONAL_VERSIONS 3',
+ flang.format(src) + 'CMakeLists.txt')
+
+ def install(self, spec, prefix):
+ src = self.stage.source_path
+ gfx_list = "gfx700;gfx701;gfx801;gfx803;gfx900;gfx902;gfx906;gfx908"
+ openmp_extras_prefix = self.spec['rocm-openmp-extras'].prefix
+ devlibs_prefix = self.spec['rocm-device-libs'].prefix
+ devlibs_src = '{0}/rocm-openmp-extras/rocm-device-libs'.format(src)
+ hsa_prefix = self.spec['hsa-rocr-dev'].prefix
+ hsakmt_prefix = self.spec['hsakmt-roct'].prefix
+ comgr_prefix = self.spec['comgr'].prefix
+ llvm_inc = '/rocm-openmp-extras/llvm-project/llvm/include'
+ llvm_prefix = self.spec['llvm-amdgpu'].prefix
+ omp_bin_dir = '{0}/bin'.format(openmp_extras_prefix)
+ omp_lib_dir = '{0}/lib'.format(openmp_extras_prefix)
+ bin_dir = '{0}/bin'.format(llvm_prefix)
+ lib_dir = '{0}/lib'.format(llvm_prefix)
+
+ # flang1 and flang2 symlink needed for build of flang-runtime
+ # libdevice symlink to rocm-openmp-extras for runtime
+ # libdebug symlink to rocm-openmp-extras for runtime
+ if not (os.path.islink((os.path.join(bin_dir, 'flang1')))):
+ os.symlink(os.path.join(omp_bin_dir, 'flang1'),
+ os.path.join(bin_dir, 'flang1'))
+ if not (os.path.islink((os.path.join(bin_dir, 'flang2')))):
+ os.symlink(os.path.join(omp_bin_dir, 'flang2'),
+ os.path.join(bin_dir, 'flang2'))
+ if not (os.path.islink((os.path.join(lib_dir, 'libdevice')))):
+ os.symlink(os.path.join(omp_lib_dir, 'libdevice'),
+ os.path.join(lib_dir, 'libdevice'))
+ if not (os.path.islink((os.path.join(llvm_prefix, 'lib-debug')))):
+ os.symlink(os.path.join(openmp_extras_prefix, 'lib-debug'),
+ os.path.join(llvm_prefix, 'lib-debug'))
+
+ # Set cmake args
+ components = dict()
+
+ components['aomp-extras'] = [
+ '../rocm-openmp-extras/aomp-extras',
+ '-DLLVM_DIR={0}'.format(llvm_prefix),
+ '-DDEVICE_LIBS_DIR={0}/amdgcn/bitcode'.format(devlibs_prefix),
+ '-DAOMP_STANDALONE_BUILD=0',
+ '-DDEVICELIBS_ROOT={0}'.format(devlibs_src),
+ '-DNEW_BC_PATH=1',
+ '-DAOMP={0}'.format(llvm_prefix)
+ ]
+
+ # Shared cmake configuration for openmp, openmp-debug
+ openmp_common_args = [
+ '-DROCM_DIR={0}'.format(hsa_prefix),
+ '-DDEVICE_LIBS_DIR={0}/amdgcn/bitcode'.format(devlibs_prefix),
+ '-DAOMP_STANDALONE_BUILD=0',
+ '-DDEVICELIBS_ROOT={0}'.format(devlibs_src),
+ '-DOPENMP_TEST_C_COMPILER={0}/clang'.format(bin_dir),
+ '-DOPENMP_TEST_CXX_COMPILER={0}/clang++'.format(bin_dir),
+ '-DLIBOMPTARGET_AMDGCN_GFXLIST={0}'.format(gfx_list),
+ '-DLIBOMP_COPY_EXPORTS=OFF',
+ '-DHSA_INCLUDE={0}'.format(hsa_prefix),
+ '-DHSA_LIB={0}/lib'.format(hsa_prefix),
+ '-DHSAKMT_LIB={0}/lib'.format(hsakmt_prefix),
+ '-DHSAKMT_LIB64={0}/lib64'.format(hsakmt_prefix),
+ '-DCOMGR_INCLUDE={0}/include'.format(comgr_prefix),
+ '-DCOMGR_LIB={0}/lib'.format(comgr_prefix),
+ '-DOPENMP_ENABLE_LIBOMPTARGET=1',
+ '-DOPENMP_ENABLE_LIBOMPTARGET_HSA=1',
+ '-DLLVM_MAIN_INCLUDE_DIR={0}{1}'.format(src, llvm_inc),
+ '-DLLVM_INSTALL_PREFIX={0}'.format(llvm_prefix)
+ ]
+
+ components['openmp'] = ['../rocm-openmp-extras/llvm-project/openmp']
+ components['openmp'] += openmp_common_args
+
+ components['openmp-debug'] = [
+ '../rocm-openmp-extras/llvm-project/openmp',
+ '-DLIBOMPTARGET_NVPTX_DEBUG=ON',
+ '-DCMAKE_CXX_FLAGS=-g',
+ '-DCMAKE_C_FLAGS=-g'
+ ]
+
+ components['openmp-debug'] += openmp_common_args
+
+ # Shared cmake configuration for pgmath, flang, flang-runtime
+ flang_common_args = [
+ '-DLLVM_ENABLE_ASSERTIONS=ON',
+ '-DLLVM_CONFIG={0}/llvm-config'.format(bin_dir),
+ '-DCMAKE_CXX_COMPILER={0}/clang++'.format(bin_dir),
+ '-DCMAKE_C_COMPILER={0}/clang'.format(bin_dir),
+ '-DCMAKE_Fortran_COMPILER={0}/flang'.format(bin_dir),
+ '-DLLVM_TARGETS_TO_BUILD=AMDGPU;x86'
+ ]
+
+ components['pgmath'] = [
+ '../rocm-openmp-extras/flang/runtime/libpgmath'
+ ]
+
+ components['pgmath'] += flang_common_args
+
+ components['flang'] = [
+ '../rocm-openmp-extras/flang',
+ '-DFLANG_OPENMP_GPU_AMD=ON',
+ '-DFLANG_OPENMP_GPU_NVIDIA=ON'
+ ]
+
+ components['flang'] += flang_common_args
+
+ components['flang-runtime'] = [
+ '../rocm-openmp-extras/flang',
+ '-DLLVM_INSTALL_RUNTIME=ON',
+ '-DFLANG_BUILD_RUNTIME=ON',
+ '-DOPENMP_BUILD_DIR={0}/spack-build-openmp/runtime/src'.format(src)
+ ]
+ components['flang-runtime'] += flang_common_args
+
+ build_order = [
+ "aomp-extras", "openmp", "openmp-debug", "pgmath",
+ "flang", "flang-runtime"
+ ]
+
+ # Override standard CMAKE_BUILD_TYPE
+ for arg in std_cmake_args:
+ found = re.search("CMAKE_BUILD_TYPE", arg)
+ if found:
+ std_cmake_args.remove(arg)
+ for component in build_order:
+ with working_dir('spack-build-{0}'.format(component), create=True):
+ cmake_args = components[component]
+ cmake_args.extend(std_cmake_args)
+ # OpenMP build needs to be run twice(Release, Debug)
+ if component == "openmp-debug":
+ cmake_args.append("-DCMAKE_BUILD_TYPE=Debug")
+ else:
+ cmake_args.append("-DCMAKE_BUILD_TYPE=Release")
+ cmake(*cmake_args)
+ make()
+ make("install")
diff --git a/var/spack/repos/builtin/packages/rocm-smi-lib/package.py b/var/spack/repos/builtin/packages/rocm-smi-lib/package.py
index a33130dcdd..c5826271a0 100644
--- a/var/spack/repos/builtin/packages/rocm-smi-lib/package.py
+++ b/var/spack/repos/builtin/packages/rocm-smi-lib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,10 +13,12 @@ class RocmSmiLib(CMakePackage):
for applications to monitor and control GPU applications."""
homepage = "https://github.com/RadeonOpenCompute/rocm_smi_lib"
- url = "https://github.com/RadeonOpenCompute/rocm_smi_lib/archive/rocm-3.8.0.tar.gz"
+ url = "https://github.com/RadeonOpenCompute/rocm_smi_lib/archive/rocm-4.0.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ version('4.0.0', sha256='93d19229b5a511021bf836ddc2a9922e744bf8ee52ee0e2829645064301320f4')
+ version('3.10.0', sha256='8bb2142640d1c6bf141f19accf809e61377a6e0c0222e47ac4daa5da2c85ddac')
version('3.9.0', sha256='b2934b112542af56de2dc1d5bffff59957e21050db6e3e5abd4c99e46d4a0ffe')
version('3.8.0', sha256='86250c9ae9dfb18d4f7259a5f2f09b21574d4996fe5034a739ce63a27acd0082')
version('3.7.0', sha256='72d2a3deda0b55a2d92833cd648f50c7cb64f8341b254a0badac0152b26f1391')
diff --git a/var/spack/repos/builtin/packages/rocm-smi/package.py b/var/spack/repos/builtin/packages/rocm-smi/package.py
index 121f037e54..126c7325b9 100644
--- a/var/spack/repos/builtin/packages/rocm-smi/package.py
+++ b/var/spack/repos/builtin/packages/rocm-smi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,10 +13,12 @@ class RocmSmi(MakefilePackage):
management of your ROCm enabled system"""
homepage = "https://github.com/RadeonOpenCompute/ROC-smi"
- url = "https://github.com/RadeonOpenCompute/ROC-smi/archive/rocm-3.9.0.tar.gz"
+ url = "https://github.com/RadeonOpenCompute/ROC-smi/archive/rocm-4.0.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ version('4.0.0', sha256='bf8738ae81c0a02d83eb9437b93dc153fb63f659f3b04d454024e30678b43575')
+ version('3.10.0', sha256='b1c7e529e8fcc53fb6b40a4126651da0ab07bcb91faac99519ba9660412ea4ed')
version('3.9.0', sha256='af3cc6d5e2296f47b1873339faad2d27cf2f24725771bf34c7f644d20cc6ef3b')
version('3.8.0', sha256='248d9bddc3353c74defd57f203df0648278a4613f2af7fb838d92a4bc8de575d')
version('3.7.0', sha256='4e34b3b4e409bb89677882f47d9988d56bc2d9bb9893f0712c22a4b73789e06a')
diff --git a/var/spack/repos/builtin/packages/rocm-tensile/0002-require-openmp-when-tensile-use-openmp-is-on.patch b/var/spack/repos/builtin/packages/rocm-tensile/0002-require-openmp-when-tensile-use-openmp-is-on.patch
new file mode 100644
index 0000000000..4c616d47f2
--- /dev/null
+++ b/var/spack/repos/builtin/packages/rocm-tensile/0002-require-openmp-when-tensile-use-openmp-is-on.patch
@@ -0,0 +1,90 @@
+diff --git a/HostLibraryTests/CMakeLists.txt b/HostLibraryTests/CMakeLists.txt
+index 79e1529..034f8bb 100644
+--- a/HostLibraryTests/CMakeLists.txt
++++ b/HostLibraryTests/CMakeLists.txt
+@@ -19,7 +19,7 @@
+ # CTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ ################################################################################
+
+-cmake_minimum_required(VERSION 3.5)
++cmake_minimum_required(VERSION 3.9)
+
+ project(TensileHostLibraryTest)
+
+@@ -78,21 +78,7 @@ if(TENSILE_USE_HIP)
+ endif()
+
+ if(TENSILE_USE_OPENMP)
+- #set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_OPENMP")
+- find_package(OpenMP QUIET)
+- if (OPENMP_FOUND)
+- set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
+- set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
+- set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${OpenMP_EXE_LINKER_FLAGS}")
+- else()
+- if(EXISTS /etc/redhat-release)
+- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fopenmp=libgomp")
+- else()
+- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fopenmp")
+- set(OPENMP_LIBRARY /usr/lib/x86_64-linux-gnu/libomp.so)
+- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${OPENMP_LIBRARY}")
+- endif()
+- endif()
++ find_package(OpenMP REQUIRED)
+ endif()
+
+ add_subdirectory(configs)
+@@ -187,6 +173,6 @@ if(TENSILE_USE_HIP)
+ endif()
+
+ if(TENSILE_USE_OPENMP)
+- target_link_libraries(TensileTests PRIVATE "${OpenMP_EXE_LINKER_FLAGS}")
++ target_link_libraries(TensileTests PRIVATE OpenMP::OpenMP_CXX)
+ endif()
+
+diff --git a/Tensile/Source/CMakeLists.txt b/Tensile/Source/CMakeLists.txt
+index 821fd53..fe65c9e 100644
+--- a/Tensile/Source/CMakeLists.txt
++++ b/Tensile/Source/CMakeLists.txt
+@@ -61,21 +61,7 @@ if(TENSILE_NEW_CLIENT)
+ endif()
+
+ if(TENSILE_USE_OPENMP)
+- #set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_OPENMP")
+- find_package(OpenMP QUIET)
+- if (OPENMP_FOUND)
+- set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
+- set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
+- set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${OpenMP_EXE_LINKER_FLAGS}")
+- else ()
+- if(EXISTS /etc/redhat-release)
+- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fopenmp=libgomp")
+- else()
+- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fopenmp")
+- set(OPENMP_LIBRARY /usr/lib/x86_64-linux-gnu/libomp.so)
+- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${OPENMP_LIBRARY}")
+- endif()
+- endif()
++ find_package(OpenMP REQUIRED)
+ endif()
+
+ #set(TENSILE_CXX_COMPILER "${CMAKE_CXX_COMPILER}")
+diff --git a/Tensile/Source/client/CMakeLists.txt b/Tensile/Source/client/CMakeLists.txt
+index 9ccba86..081280b 100644
+--- a/Tensile/Source/client/CMakeLists.txt
++++ b/Tensile/Source/client/CMakeLists.txt
+@@ -52,12 +52,8 @@ target_link_libraries(TensileClient TensileHost ${Boost_LIBRARIES} rocm_smi)
+ add_executable(tensile_client main.cpp)
+
+ target_link_libraries(tensile_client PRIVATE TensileHost TensileClient ${Boost_LIBRARIES})
+-if(OpenMP_FOUND)
+- target_link_libraries(tensile_client PRIVATE "${OpenMP_EXE_LINKER_FLAGS}")
+-else()
+- set(OPENMP_LIBRARY /usr/lib/x86_64-linux-gnu/libomp.so)
+- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${OPENMP_LIBRARY}")
+- target_link_libraries(tensile_client PRIVATE "${OpenMP_EXE_LINKER_FLAGS}")
++if(TENSILE_USE_OPENMP)
++ target_link_libraries(tensile_client PRIVATE OpenMP::OpenMP_CXX)
+ endif()
+
+ foreach(arch IN LISTS TENSILE_GPU_ARCHS)
diff --git a/var/spack/repos/builtin/packages/rocm-tensile/package.py b/var/spack/repos/builtin/packages/rocm-tensile/package.py
index 18dcd9f4bd..484de03ef7 100644
--- a/var/spack/repos/builtin/packages/rocm-tensile/package.py
+++ b/var/spack/repos/builtin/packages/rocm-tensile/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,17 +14,24 @@ class RocmTensile(CMakePackage):
url = "https://github.com/ROCmSoftwarePlatform/Tensile/archive/rocm-3.8.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ version('4.0.0', sha256='cf105ce8c3e352d19713b3bf8bda77f25c1a692c4f2ca82d631ba15523ecc1cd')
+ version('3.10.0', sha256='8d5b50aadfa56a9195e4c387b8eb351c9b9b7671b136b624e07fe28db24bd330')
+ version('3.9.0', sha256='17a011f8c3433d4f8c2dddabd5854cf96c406d24592b3942deb51672c570882e')
version('3.8.0', sha256='c78a11db85fdf54bfd26533ee6fa98f6a6e789fa423537993061497ac5f22ed6')
version('3.7.0', sha256='488a7f76ea42a7601d0557f53068ec4832a2c7c06bb1b511470a4e35599a5a4d')
version('3.5.0', sha256='71eb3eed6625b08a4cedb539dd9b596e3d4cc82a1a8063d37d94c0765b6f8257')
- amdgpu_targets = ('all', 'gfx803', 'gfx900', 'gfx906', 'gfx908')
+ tensile_architecture = ('all', 'gfx803', 'gfx900', 'gfx906', 'gfx908')
- variant('amdgpu_target', default='all', multi=True, values=amdgpu_targets)
+ variant('tensile_architecture', default='all', values=tensile_architecture, multi=False)
+ variant('openmp', default=True, description='Enable OpenMP')
depends_on('cmake@3:', type='build')
+ # This is the default library format since 3.7.0
+ depends_on('msgpack-c@3:', when='@3.7:')
+ depends_on('boost', type=('build', 'link'))
- for ver in ['3.5.0', '3.7.0', '3.8.0']:
+ for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('rocm-cmake@' + ver, type='build', when='@' + ver)
depends_on('rocm-device-libs@' + ver, type='build', when='@' + ver)
depends_on('hip@' + ver, when='@' + ver)
@@ -32,30 +39,28 @@ class RocmTensile(CMakePackage):
# used in Tensile
depends_on('rocm-smi@' + ver, type='build', when='@' + ver)
depends_on('rocm-smi-lib@' + ver, type='build', when='@' + ver)
- depends_on('llvm-amdgpu@' + ver, type='build', when='@' + ver)
-
- # This is the default library format since 3.7.0
- depends_on('msgpack-c@3:', when='@3.7:')
- depends_on('boost@1.58.0', type=('build', 'link'))
+ depends_on('llvm-amdgpu@' + ver, type='build', when='@' + ver + '+openmp')
+ depends_on('llvm-amdgpu@' + ver + '~openmp', type='build', when='@' + ver + '~openmp')
root_cmakelists_dir = 'Tensile/Source'
# Status: https://github.com/ROCmSoftwarePlatform/Tensile/commit/a488f7dadba34f84b9658ba92ce9ec5a0615a087
# Not yet landed in 3.7.0, nor 3.8.0.
- patch('0001-fix-compile-error.patch')
+ patch('0001-fix-compile-error.patch', when='@3.7.0:3.8.0')
+ patch('0002-require-openmp-when-tensile-use-openmp-is-on.patch', when='@3.9.0:')
def setup_build_environment(self, env):
env.set('CXX', self.spec['hip'].hipcc)
def cmake_args(self):
- archs = ",".join(self.spec.variants['amdgpu_target'].value)
-
+ arch = self.spec.variants['tensile_architecture'].value
args = [
'-Damd_comgr_DIR={0}'.format(self.spec['comgr'].prefix),
'-DTensile_COMPILER=hipcc',
- '-DTensile_ARCHITECTURE={0}'.format(archs),
+ '-DTensile_ARCHITECTURE={0}'.format(arch),
'-DTensile_LOGIC=asm_full',
'-DTensile_CODE_OBJECT_VERSION=V3',
- '-DBoost_USE_STATIC_LIBS=Off',
+ '-DBoost_USE_STATIC_LIBS=OFF',
+ '-DTENSILE_USE_OPENMP=ON',
'-DBUILD_WITH_TENSILE_HOST={0}'.format(
'ON' if '@3.7.0:' in self.spec else 'OFF'
)
@@ -65,3 +70,8 @@ class RocmTensile(CMakePackage):
args.append('-DTensile_LIBRARY_FORMAT=msgpack')
return args
+
+ def install(self, spec, prefix):
+ with working_dir(self.build_directory):
+ install_tree('./client', prefix.client)
+ install_tree('./lib', prefix.lib)
diff --git a/var/spack/repos/builtin/packages/rocm-validation-suite/package.py b/var/spack/repos/builtin/packages/rocm-validation-suite/package.py
index 5b7800cd78..563a0f93ea 100644
--- a/var/spack/repos/builtin/packages/rocm-validation-suite/package.py
+++ b/var/spack/repos/builtin/packages/rocm-validation-suite/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,10 +15,12 @@ class RocmValidationSuite(CMakePackage):
compatible platform."""
homepage = "https://github.com/ROCm-Developer-Tools/ROCmValidationSuite"
- url = "https://github.com/ROCm-Developer-Tools/ROCmValidationSuite/archive/rocm-3.8.0.tar.gz"
+ url = "https://github.com/ROCm-Developer-Tools/ROCmValidationSuite/archive/rocm-4.0.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ version('4.0.0', sha256='04743ca8901b94a801759a3c13c8caf3e6ea950ffcda6408173e6f9ef7b86e74')
+ version('3.10.0', sha256='9f9a530f7850770663e0b0ec0c786367f2e22500a472ac6652c4fd9fb4df4f64')
version('3.9.0', sha256='17662028a4485b97e3ccaad5e94d20aaa2c3e9e3f741c7ebbf0f8b4cdebcc555')
version('3.8.0', sha256='68f1c5102e5cbed205a0ecf5a01efbdccf480f7e484ab1e58cbc6bc03e428122')
version('3.7.0', sha256='bb42d7fb7ee877b80ce53b0cd1f04b0c8301197b6777d2edddcb44732bf8c9e2')
@@ -35,7 +37,7 @@ class RocmValidationSuite(CMakePackage):
spec = self.spec
build_env.set("HIPCC_PATH", spec['hip'].prefix)
- for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0']:
+ for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('hip@' + ver, type='build', when='@' + ver)
depends_on('rocm-device-libs@' + ver, type='build', when='@' + ver)
depends_on('comgr@' + ver, type='build', when='@' + ver)
diff --git a/var/spack/repos/builtin/packages/rocminfo/package.py b/var/spack/repos/builtin/packages/rocminfo/package.py
index 70ea8ddedb..5ad9cfbe0f 100644
--- a/var/spack/repos/builtin/packages/rocminfo/package.py
+++ b/var/spack/repos/builtin/packages/rocminfo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,10 +11,12 @@ class Rocminfo(CMakePackage):
"""Radeon Open Compute (ROCm) Runtime rocminfo tool"""
homepage = "https://github.com/RadeonOpenCompute/rocminfo"
- url = "https://github.com/RadeonOpenCompute/rocminfo/archive/rocm-3.9.0.tar.gz"
+ url = "https://github.com/RadeonOpenCompute/rocminfo/archive/rocm-4.0.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ version('4.0.0', sha256='0b3d692959dd4bc2d1665ab3a838592fcd08d2b5e373593b9192ca369e2c4aa7')
+ version('3.10.0', sha256='ed02375be3be518b83aea7309ef5ca62dc9b6dbad0aae33e92995102d6d660be')
version('3.9.0', sha256='9592781e0c62b910c4adc5c7f4c27c7a0cddbed13111a19dd91a2ff43720e43d')
version('3.8.0', sha256='c135dc98ecb5f420e22a6efd2f461ba9ed90be3f42e2ac29356e05c6a0706f8f')
version('3.7.0', sha256='86a8e3ce7d91fb2d79688a22a2805757c83922d9f17ea7ea1cb41bf9516197ea')
@@ -22,7 +24,7 @@ class Rocminfo(CMakePackage):
depends_on('cmake@3:', type='build')
- for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0']:
+ for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('hsakmt-roct@' + ver, type='build', when='@' + ver)
depends_on('hsa-rocr-dev@' + ver, type='link', when='@' + ver)
diff --git a/var/spack/repos/builtin/packages/rocprim/package.py b/var/spack/repos/builtin/packages/rocprim/package.py
index 95032c3d66..c3083d52f4 100644
--- a/var/spack/repos/builtin/packages/rocprim/package.py
+++ b/var/spack/repos/builtin/packages/rocprim/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,10 +10,12 @@ class Rocprim(CMakePackage):
""" Radeon Open Compute Parallel Primitives Library"""
homepage = "https://github.com/ROCmSoftwarePlatform/rocPRIM"
- url = "https://github.com/ROCmSoftwarePlatform/rocPRIM/archive/rocm-3.8.0.tar.gz"
+ url = "https://github.com/ROCmSoftwarePlatform/rocPRIM/archive/rocm-4.0.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ version('4.0.0', sha256='61abf4d51853ae71e54258f43936bbbb096bf06f5891d224d359bfe3104015d0')
+ version('3.10.0', sha256='b406956b27d1c06b749e991a250d4ad3eb26e20c6bebf121e2ca6051597b4fa4')
version('3.9.0', sha256='ace6b4ee4b641280807028375cb0e6fa7b296edba9e9fc09177a5d8d075a716e')
version('3.8.0', sha256='4d37320d174eaada99dd796d81fa97d5dcc65a6dff8e8ff1c21e8e68acb4ea74')
version('3.7.0', sha256='225209a0cbd003c241821c8a9192cec5c07c7f1a6ab7da296305fc69f5f6d365')
@@ -23,7 +25,8 @@ class Rocprim(CMakePackage):
depends_on('cmake@3:', type='build')
depends_on('numactl', type='link', when='@3.7.0:')
- for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0']:
+
+ for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('hip@' + ver, type='build', when='@' + ver)
depends_on('rocm-device-libs@' + ver, type='build', when='@' + ver)
depends_on('comgr@' + ver, type='build', when='@' + ver)
diff --git a/var/spack/repos/builtin/packages/rocprofiler-dev/package.py b/var/spack/repos/builtin/packages/rocprofiler-dev/package.py
index e14eb4c031..c3ddc84067 100644
--- a/var/spack/repos/builtin/packages/rocprofiler-dev/package.py
+++ b/var/spack/repos/builtin/packages/rocprofiler-dev/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,17 +11,19 @@ class RocprofilerDev(CMakePackage):
"""ROCPROFILER library for AMD HSA runtime API extension support"""
homepage = "https://github.com/ROCm-Developer-Tools/rocprofiler"
- url = "https://github.com/ROCm-Developer-Tools/rocprofiler/archive/rocm-3.8.0.tar.gz"
+ url = "https://github.com/ROCm-Developer-Tools/rocprofiler/archive/rocm-4.0.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ version('4.0.0', sha256='e9960940d1ec925814a0e55ee31f5fc2fb23fa839d1c6a909f72dd83f657fb25')
+ version('3.10.0', sha256='fbf5ce9fbc13ba2b3f9489838e00b54885aba92336f055e8b03fef3e3347071e')
version('3.9.0', sha256='f07ddd9bf2f86550c8d243f887e9bde9d4f2ceec81ecc6393012aaf2a45999e8')
version('3.8.0', sha256='38ad3ac20f60f3290ce750c34f0aad442354b1d0a56b81167a018e44ecdf7fff')
version('3.7.0', sha256='d3f03bf850cbd86ca9dfe6e6cc6f559d8083b0f3ea4711d8260b232cb6fdd1cc')
version('3.5.0', sha256='c42548dd467b7138be94ad68c715254eb56a9d3b670ccf993c43cd4d43659937')
depends_on('cmake@3:', type='build')
- for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0']:
+ for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('hsakmt-roct@' + ver, type='build', when='@' + ver)
depends_on('hsa-rocr-dev@' + ver, type='link', when='@' + ver)
depends_on('rocminfo@' + ver, type='build', when='@' + ver)
@@ -58,6 +60,22 @@ class RocprofilerDev(CMakePackage):
placement='roctracer',
when='@3.9.0')
+ resource(name='roctracer-dev',
+ url='https://github.com/ROCm-Developer-Tools/roctracer/archive/rocm-3.10.0.tar.gz',
+ sha256='ac4a1d059fc34377e906071fd0e56f5434a7e0e4ded9db8faf9217a115239dec',
+ expand=True,
+ destination='',
+ placement='roctracer',
+ when='@3.10.0')
+
+ resource(name='roctracer-dev',
+ url='https://github.com/ROCm-Developer-Tools/roctracer/archive/rocm-4.0.0.tar.gz',
+ sha256='f47859a46173228b597c463eda850b870e810534af5efd5f2a746067ef04edee',
+ expand=True,
+ destination='',
+ placement='roctracer',
+ when='@4.0.0')
+
def patch(self):
filter_file('${HSA_RUNTIME_LIB_PATH}/../include',
'${HSA_RUNTIME_LIB_PATH}/../include ${HSA_KMT_LIB_PATH}/..\
diff --git a/var/spack/repos/builtin/packages/rocrand/package.py b/var/spack/repos/builtin/packages/rocrand/package.py
index cd0bbf950b..23e25ce064 100644
--- a/var/spack/repos/builtin/packages/rocrand/package.py
+++ b/var/spack/repos/builtin/packages/rocrand/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,10 +12,12 @@ class Rocrand(CMakePackage):
pseudo-random and quasi-random numbers."""
homepage = "https://github.com/ROCmSoftwarePlatform/rocRAND"
- url = "https://github.com/ROCmSoftwarePlatform/rocRAND/archive/rocm-3.8.0.tar.gz"
+ url = "https://github.com/ROCmSoftwarePlatform/rocRAND/archive/rocm-4.0.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ version('4.0.0', sha256='1cafdbfa15cde635bd424d2a858dc5cc94d668f9a211ff39606ee01ed1715f41')
+ version('3.10.0', sha256='f55e2b49b4dfd887e46eea049f3359ae03c60bae366ffc979667d364205bc99c')
version('3.9.0', sha256='a500a3a83be36b6c91aa062dc6eef1f9fc1d9ee62422d541cc279513d98efa91')
version('3.8.0', sha256='79eb84d41363a46ed9bb18d9757cf6a419d2f48bb6a71b8e4db616a5007a6560')
version('3.7.0', sha256='5e43fe07afe2c7327a692b3b580875bae6e6ee790e044c053fffafbfcbc14860')
@@ -23,7 +25,8 @@ class Rocrand(CMakePackage):
depends_on('cmake@3.5.1:', type='build')
depends_on('numactl', when='@3.7.0:')
- for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0']:
+
+ for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('hip@' + ver, type='build', when='@' + ver)
depends_on('comgr@' + ver, type='build', when='@' + ver)
depends_on('rocm-device-libs@' + ver, type='build', when='@' + ver)
diff --git a/var/spack/repos/builtin/packages/rocsolver/package.py b/var/spack/repos/builtin/packages/rocsolver/package.py
index 33a95a4253..4340aad660 100644
--- a/var/spack/repos/builtin/packages/rocsolver/package.py
+++ b/var/spack/repos/builtin/packages/rocsolver/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,10 +12,12 @@ class Rocsolver(CMakePackage):
homepage = "https://github.com/ROCmSoftwarePlatform/rocSOLVER"
git = "https://github.com/ROCmSoftwarePlatform/rocSOLVER.git"
- url = "https://github.com/ROCmSoftwarePlatform/rocSOLVER/archive/rocm-3.8.0.tar.gz"
+ url = "https://github.com/ROCmSoftwarePlatform/rocSOLVER/archive/rocm-4.0.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ version('4.0.0', sha256='be9a52644c276813f76d78f2c11eddaf8c2d7f9dd04f4570f23d328ad30d5880')
+ version('3.10.0', sha256='bc72483656b6b23a1e321913a580ca460da3bc5976404647536a01857f178dd2')
version('3.9.0', sha256='85fd77fe5acf5af518d11e90e2c03ee0c5abd61071cea86ef5df09f944879648')
version('3.8.0', sha256='72aa74284944d8b454088e8c8d74cf05464a4e2e46d33a57017ddd009113025e')
version('3.7.0', sha256='8c1c630595952806e658c539fd0f3056bd45bafc22b57f0dd10141abefbe4595')
@@ -24,10 +26,10 @@ class Rocsolver(CMakePackage):
depends_on('cmake@3:', type='build')
depends_on('numactl', type='link', when='@3.7.0:')
- for ver in ['3.7.0', '3.8.0', '3.9.0']:
+ for ver in ['3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('hsa-rocr-dev@' + ver, type='build', when='@' + ver)
- for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0']:
+ for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('hip@' + ver, type='build', when='@' + ver)
depends_on('rocm-device-libs@' + ver, type='build', when='@' + ver)
depends_on('comgr@' + ver, type='build', when='@' + ver)
diff --git a/var/spack/repos/builtin/packages/rocsparse/package.py b/var/spack/repos/builtin/packages/rocsparse/package.py
index 63826b8499..e40a367b68 100644
--- a/var/spack/repos/builtin/packages/rocsparse/package.py
+++ b/var/spack/repos/builtin/packages/rocsparse/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,10 +14,12 @@ class Rocsparse(CMakePackage):
language and optimized for AMD's latest discrete GPUs."""
homepage = "https://github.com/ROCmSoftwarePlatform/rocSPARSE"
- url = "https://github.com/ROCmSoftwarePlatform/rocSPARSE/archive/rocm-3.8.0.tar.gz"
+ url = "https://github.com/ROCmSoftwarePlatform/rocSPARSE/archive/rocm-4.0.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ version('4.0.0', sha256='2b41bc6623d204ad7f351a902810f34cd32b762d1bf59081dbb00f83e689a794')
+ version('3.10.0', sha256='8325828c5d7818dfb45e03b5f1572a573cc21964d596aaaa33b7469817b03abd')
version('3.9.0', sha256='7b8f952d0c7f8ac2f3bb60879ab420fabbfafb0885a3d8464d5b4c191e97dec6')
version('3.8.0', sha256='a5d085fffe05a7ac7f5658075d9782b9b02d0c5c3e2c1807dad266c3a61141fd')
version('3.7.0', sha256='db561ae5e8ee117f7c539a9ef6ee49c13b82ba9f702b22c76e741cca245386a9')
@@ -25,7 +27,7 @@ class Rocsparse(CMakePackage):
depends_on('cmake@3:', type='build')
- for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0']:
+ for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('hip@' + ver, when='@' + ver)
depends_on('rocm-device-libs@' + ver, type='build', when='@' + ver)
depends_on('comgr@' + ver, type='build', when='@' + ver)
diff --git a/var/spack/repos/builtin/packages/rocthrust/package.py b/var/spack/repos/builtin/packages/rocthrust/package.py
index 3e9117d8d9..d5103e43f8 100644
--- a/var/spack/repos/builtin/packages/rocthrust/package.py
+++ b/var/spack/repos/builtin/packages/rocthrust/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,10 +13,12 @@ class Rocthrust(CMakePackage):
library works on HIP/ROCm platforms"""
homepage = "https://github.com/ROCmSoftwarePlatform/rocThrust"
- url = "https://github.com/ROCmSoftwarePlatform/rocThrust/archive/rocm-3.8.0.tar.gz"
+ url = "https://github.com/ROCmSoftwarePlatform/rocThrust/archive/rocm-4.0.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ version('4.0.0', sha256='120c87316f44ce8e8975e57c9b9bf1246b1ffc00879d31d744289ba9438a976c')
+ version('3.10.0', sha256='31bea6cd19a0ffa15e4ab50ecde2402ea5aaa182149cfab98242357e41f1805b')
version('3.9.0', sha256='65f5e74d72c5aaee90459468d693b212af7d56e31098ee8237b18d1b4d620eb0')
version('3.8.0', sha256='39350aeb8bfbcd09e387717b2a05c7e3a19e0fa85ff4284b967bb8fae12f9013')
version('3.7.0', sha256='4cb923dde5eec150a566cb10d23ee5c7ce3aa892c4dea94886a89d95b90f3bdd')
@@ -26,8 +28,9 @@ class Rocthrust(CMakePackage):
description='CMake build type')
depends_on('cmake@3:', type='build')
- depends_on('numactl', when='@3.7.0')
- for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0']:
+ depends_on('numactl', when='@3.7.0:')
+
+ for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('hip@' + ver, type='build', when='@' + ver)
depends_on('rocm-device-libs@' + ver, type='build', when='@' + ver)
depends_on('comgr@' + ver, type='build', when='@' + ver)
diff --git a/var/spack/repos/builtin/packages/roctracer-dev/package.py b/var/spack/repos/builtin/packages/roctracer-dev/package.py
index 36f22a1f30..61b1506b74 100644
--- a/var/spack/repos/builtin/packages/roctracer-dev/package.py
+++ b/var/spack/repos/builtin/packages/roctracer-dev/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,10 +13,13 @@ class RoctracerDev(CMakePackage):
specific runtime profiler to trace API and asyncronous activity."""
homepage = "https://github.com/ROCm-Developer-Tools/roctracer"
- url = "https://github.com/ROCm-Developer-Tools/roctracer/archive/rocm-3.5.0.tar.gz"
+ url = "https://github.com/ROCm-Developer-Tools/roctracer/archive/rocm-4.0.0.tar.gz"
maintainers = ['srekolam', 'arjun-raj-kuppala']
+ version('4.0.0', sha256='f47859a46173228b597c463eda850b870e810534af5efd5f2a746067ef04edee')
+ version('3.10.0', sha256='ac4a1d059fc34377e906071fd0e56f5434a7e0e4ded9db8faf9217a115239dec')
+ version('3.9.0', sha256='0678f9faf45058b16923948c66d77ba2c072283c975d167899caef969169b292')
version('3.8.0', sha256='5154a84ce7568cd5dba756e9508c34ae9fc62f4b0b5731f93c2ad68b21537ed1')
version('3.7.0', sha256='6fa5b771e990f09c242237ab334b9f01039ec7d54ccde993e719c5d6577d1518')
version('3.5.0', sha256='7af5326c9ca695642b4265232ec12864a61fd6b6056aa7c4ecd9e19c817f209e')
@@ -26,7 +29,7 @@ class RoctracerDev(CMakePackage):
depends_on('python@:2', type='build')
depends_on('py-cppheaderparser', type='build')
- for ver in ['3.5.0', '3.7.0', '3.8.0']:
+ for ver in ['3.5.0', '3.7.0', '3.8.0', '3.9.0', '3.10.0', '4.0.0']:
depends_on('hsakmt-roct@' + ver, type='build', when='@' + ver)
depends_on('hsa-rocr-dev@' + ver, type='build', when='@' + ver)
depends_on('rocminfo@' + ver, type='build', when='@' + ver)
diff --git a/var/spack/repos/builtin/packages/rodinia/package.py b/var/spack/repos/builtin/packages/rodinia/package.py
index 6310dc5444..bfeaa06d15 100644
--- a/var/spack/repos/builtin/packages/rodinia/package.py
+++ b/var/spack/repos/builtin/packages/rodinia/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/root/package.py b/var/spack/repos/builtin/packages/root/package.py
index 859840a525..a6db42c953 100644
--- a/var/spack/repos/builtin/packages/root/package.py
+++ b/var/spack/repos/builtin/packages/root/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,6 +15,8 @@ class Root(CMakePackage):
homepage = "https://root.cern.ch"
url = "https://root.cern/download/root_v6.16.00.source.tar.gz"
+ tags = ['hep']
+
maintainers = ['chissg', 'HadrienG2', 'drbenmorgan', 'vvolkl']
# ###################### Versions ##########################
@@ -26,9 +28,10 @@ class Root(CMakePackage):
# Development version (when more recent than production).
# Production version
+ version('6.22.06', sha256='c4688784a7e946cd10b311040b6cf0b2f75125a7520e04d1af0b746505911b57')
+ version('6.22.02', sha256='89784afa9c9047e9da25afa72a724f32fa8aa646df267b7731e4527cc8a0c340')
version('6.22.00', sha256='efd961211c0f9cd76cf4a486e4f89badbcf1d08e7535bba556862b3c1a80beed')
- version('6.20.08', sha256='d02f224b4908c814a99648782b927c353d44db79dea2cadea86138c1afc23ae9',
- preferred=True)
+ version('6.20.08', sha256='d02f224b4908c814a99648782b927c353d44db79dea2cadea86138c1afc23ae9')
version('6.20.06', sha256='9a734758a91598d8a58a3d64d7d606aeb17bdf6fd8214e33f5c4d9947d391951')
version('6.20.04', sha256='1f8c76ccdb550e64e6ddb092b4a7e9d0a10655ef80044828cba12d5e7c874472')
version('6.20.02', sha256='0997586bf097c0afbc6f08edbffcebf5eb6a4237262216114ba3f5c8087dcba6')
@@ -136,12 +139,14 @@ class Root(CMakePackage):
description='Enable R ROOT bindings')
variant('rpath', default=True,
description='Enable RPATH')
- variant('rootfit', default=True,
+ variant('roofit', default=True,
description='Build the libRooFit advanced fitting package')
variant('root7', default=False,
description='Enable ROOT 7 support')
variant('shadow', default=False,
description='Enable shadow password support')
+ variant('spectrum', default=False,
+ description='Enable support for TSpectrum')
variant('sqlite', default=False,
description='Enable SQLite support')
variant('ssl', default=False,
@@ -246,7 +251,8 @@ class Root(CMakePackage):
depends_on('vc', when='+vc')
depends_on('vdt', when='+vdt')
depends_on('libxml2', when='+xml')
- depends_on('xrootd@:4.99.99', when='+xrootd')
+ depends_on('xrootd', when='+xrootd')
+ depends_on('xrootd@:4.99.99', when='@:6.22.03 +xrootd')
# ###################### Conflicts ######################
@@ -388,11 +394,12 @@ class Root(CMakePackage):
define_from_variant('qtgsi', 'qt4'), # See conflicts
define_from_variant('r'),
define('rfio', False),
- define('roofit', False),
+ define_from_variant('roofit'),
define_from_variant('root7'), # See conflicts
define('ruby', False),
define('sapdb', False),
define_from_variant('shadowpw', 'shadow'),
+ define_from_variant('spectrum'),
define_from_variant('sqlite'),
define('srp', False),
define_from_variant('ssl'),
diff --git a/var/spack/repos/builtin/packages/rose/package.py b/var/spack/repos/builtin/packages/rose/package.py
index 0255230da1..ac2b9f0baf 100644
--- a/var/spack/repos/builtin/packages/rose/package.py
+++ b/var/spack/repos/builtin/packages/rose/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ross/package.py b/var/spack/repos/builtin/packages/ross/package.py
index 7c33fef84a..21e99499ba 100644
--- a/var/spack/repos/builtin/packages/ross/package.py
+++ b/var/spack/repos/builtin/packages/ross/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/routino/package.py b/var/spack/repos/builtin/packages/routino/package.py
index b1b7fafccc..f1f58956ff 100644
--- a/var/spack/repos/builtin/packages/routino/package.py
+++ b/var/spack/repos/builtin/packages/routino/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/rpcsvc-proto/package.py b/var/spack/repos/builtin/packages/rpcsvc-proto/package.py
index fd89714027..10d4221abc 100644
--- a/var/spack/repos/builtin/packages/rpcsvc-proto/package.py
+++ b/var/spack/repos/builtin/packages/rpcsvc-proto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/rr/package.py b/var/spack/repos/builtin/packages/rr/package.py
index f96d336533..0d3539135d 100644
--- a/var/spack/repos/builtin/packages/rr/package.py
+++ b/var/spack/repos/builtin/packages/rr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/rrdtool/package.py b/var/spack/repos/builtin/packages/rrdtool/package.py
index b3f22b0be0..d228f18740 100644
--- a/var/spack/repos/builtin/packages/rrdtool/package.py
+++ b/var/spack/repos/builtin/packages/rrdtool/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/rsbench/package.py b/var/spack/repos/builtin/packages/rsbench/package.py
index 08ca35a20f..5e16563e99 100644
--- a/var/spack/repos/builtin/packages/rsbench/package.py
+++ b/var/spack/repos/builtin/packages/rsbench/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/rsem/package.py b/var/spack/repos/builtin/packages/rsem/package.py
index 8e24f7bfcd..eebce12929 100644
--- a/var/spack/repos/builtin/packages/rsem/package.py
+++ b/var/spack/repos/builtin/packages/rsem/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/rstart/package.py b/var/spack/repos/builtin/packages/rstart/package.py
index aa49ddbfe9..ee13a1987b 100644
--- a/var/spack/repos/builtin/packages/rstart/package.py
+++ b/var/spack/repos/builtin/packages/rstart/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,6 +19,6 @@ class Rstart(AutotoolsPackage, XorgPackage):
version('1.0.5', sha256='5271c0c2675b4ad09aace7edddfdd137af10fc754afa6260d8eb5d0bba7098c7')
- depends_on('xproto', type='build')
+ depends_on('xproto')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/rsync/package.py b/var/spack/repos/builtin/packages/rsync/package.py
index d9a59ed7bd..e223150cfe 100644
--- a/var/spack/repos/builtin/packages/rsync/package.py
+++ b/var/spack/repos/builtin/packages/rsync/package.py
@@ -1,9 +1,10 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
+import re
class Rsync(AutotoolsPackage):
@@ -25,5 +26,13 @@ class Rsync(AutotoolsPackage):
conflicts('%nvhpc')
+ executables = ['^rsync$']
+
+ @classmethod
+ def determine_version(cls, exe):
+ output = Executable(exe)('--version', output=str, error=str)
+ match = re.search(r'rsync\s+version\s+(\S+)', output)
+ return match.group(1) if match else None
+
def configure_args(self):
return ['--with-included-zlib=no']
diff --git a/var/spack/repos/builtin/packages/rsyslog/package.py b/var/spack/repos/builtin/packages/rsyslog/package.py
index 5bc81968a0..23a8cb2575 100644
--- a/var/spack/repos/builtin/packages/rsyslog/package.py
+++ b/var/spack/repos/builtin/packages/rsyslog/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -23,7 +23,7 @@ class Rsyslog(AutotoolsPackage):
depends_on('libestr')
depends_on('libfastjson')
depends_on('zlib')
- depends_on('libuuid')
+ depends_on('uuid')
depends_on('libgcrypt')
depends_on('curl')
depends_on('byacc', type='build')
diff --git a/var/spack/repos/builtin/packages/rt-tests/package.py b/var/spack/repos/builtin/packages/rt-tests/package.py
index ba5975e518..8484e5af19 100644
--- a/var/spack/repos/builtin/packages/rt-tests/package.py
+++ b/var/spack/repos/builtin/packages/rt-tests/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/rtags/package.py b/var/spack/repos/builtin/packages/rtags/package.py
index 6ae39013aa..e12b45e602 100644
--- a/var/spack/repos/builtin/packages/rtags/package.py
+++ b/var/spack/repos/builtin/packages/rtags/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/rtax/package.py b/var/spack/repos/builtin/packages/rtax/package.py
index 830e9b8073..24c06ed2e5 100644
--- a/var/spack/repos/builtin/packages/rtax/package.py
+++ b/var/spack/repos/builtin/packages/rtax/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ruby-asciidoctor/package.py b/var/spack/repos/builtin/packages/ruby-asciidoctor/package.py
index e83abed536..8768e76da2 100644
--- a/var/spack/repos/builtin/packages/ruby-asciidoctor/package.py
+++ b/var/spack/repos/builtin/packages/ruby-asciidoctor/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ruby-erubis/package.py b/var/spack/repos/builtin/packages/ruby-erubis/package.py
index 764f2f342c..58862c43a1 100644
--- a/var/spack/repos/builtin/packages/ruby-erubis/package.py
+++ b/var/spack/repos/builtin/packages/ruby-erubis/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ruby-gnuplot/package.py b/var/spack/repos/builtin/packages/ruby-gnuplot/package.py
index 56509c40ea..dac530f4c2 100644
--- a/var/spack/repos/builtin/packages/ruby-gnuplot/package.py
+++ b/var/spack/repos/builtin/packages/ruby-gnuplot/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ruby-hpricot/package.py b/var/spack/repos/builtin/packages/ruby-hpricot/package.py
index 92edad8281..0b824913e4 100644
--- a/var/spack/repos/builtin/packages/ruby-hpricot/package.py
+++ b/var/spack/repos/builtin/packages/ruby-hpricot/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ruby-mustache/package.py b/var/spack/repos/builtin/packages/ruby-mustache/package.py
index 494bd4c8fc..c81f99fdcd 100644
--- a/var/spack/repos/builtin/packages/ruby-mustache/package.py
+++ b/var/spack/repos/builtin/packages/ruby-mustache/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ruby-narray/package.py b/var/spack/repos/builtin/packages/ruby-narray/package.py
index 0f38c039f7..00af435e33 100644
--- a/var/spack/repos/builtin/packages/ruby-narray/package.py
+++ b/var/spack/repos/builtin/packages/ruby-narray/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ruby-rake/package.py b/var/spack/repos/builtin/packages/ruby-rake/package.py
index b9b59c0b22..ceda5924b7 100644
--- a/var/spack/repos/builtin/packages/ruby-rake/package.py
+++ b/var/spack/repos/builtin/packages/ruby-rake/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ruby-rdiscount/package.py b/var/spack/repos/builtin/packages/ruby-rdiscount/package.py
index 40a3ae1499..5eee5c4c73 100644
--- a/var/spack/repos/builtin/packages/ruby-rdiscount/package.py
+++ b/var/spack/repos/builtin/packages/ruby-rdiscount/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ruby-ronn/package.py b/var/spack/repos/builtin/packages/ruby-ronn/package.py
index 5571ff6d64..b335ad0d4c 100644
--- a/var/spack/repos/builtin/packages/ruby-ronn/package.py
+++ b/var/spack/repos/builtin/packages/ruby-ronn/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ruby-rubyinline/package.py b/var/spack/repos/builtin/packages/ruby-rubyinline/package.py
index cb26205355..0abd0f6bb6 100644
--- a/var/spack/repos/builtin/packages/ruby-rubyinline/package.py
+++ b/var/spack/repos/builtin/packages/ruby-rubyinline/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ruby-svn2git/package.py b/var/spack/repos/builtin/packages/ruby-svn2git/package.py
index 5715a9d922..3926a759c1 100644
--- a/var/spack/repos/builtin/packages/ruby-svn2git/package.py
+++ b/var/spack/repos/builtin/packages/ruby-svn2git/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ruby-terminal-table/package.py b/var/spack/repos/builtin/packages/ruby-terminal-table/package.py
index b2384ab225..7523aa42ec 100644
--- a/var/spack/repos/builtin/packages/ruby-terminal-table/package.py
+++ b/var/spack/repos/builtin/packages/ruby-terminal-table/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ruby-thor/package.py b/var/spack/repos/builtin/packages/ruby-thor/package.py
index e514ea5066..135976a702 100644
--- a/var/spack/repos/builtin/packages/ruby-thor/package.py
+++ b/var/spack/repos/builtin/packages/ruby-thor/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ruby-tmuxinator/package.py b/var/spack/repos/builtin/packages/ruby-tmuxinator/package.py
index 31e1fa8580..d5066fe027 100644
--- a/var/spack/repos/builtin/packages/ruby-tmuxinator/package.py
+++ b/var/spack/repos/builtin/packages/ruby-tmuxinator/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ruby-unicode-display-width/package.py b/var/spack/repos/builtin/packages/ruby-unicode-display-width/package.py
index 6f4073e097..9a5d845c44 100644
--- a/var/spack/repos/builtin/packages/ruby-unicode-display-width/package.py
+++ b/var/spack/repos/builtin/packages/ruby-unicode-display-width/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ruby-xdg/package.py b/var/spack/repos/builtin/packages/ruby-xdg/package.py
index 6c86522cc9..0ee2902b58 100644
--- a/var/spack/repos/builtin/packages/ruby-xdg/package.py
+++ b/var/spack/repos/builtin/packages/ruby-xdg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ruby-zentest/package.py b/var/spack/repos/builtin/packages/ruby-zentest/package.py
index 64960072b3..e5a6ba7b44 100644
--- a/var/spack/repos/builtin/packages/ruby-zentest/package.py
+++ b/var/spack/repos/builtin/packages/ruby-zentest/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ruby/package.py b/var/spack/repos/builtin/packages/ruby/package.py
index 132e1c83fb..ae5a76e5b5 100644
--- a/var/spack/repos/builtin/packages/ruby/package.py
+++ b/var/spack/repos/builtin/packages/ruby/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,6 +15,8 @@ class Ruby(AutotoolsPackage):
list_url = "http://cache.ruby-lang.org/pub/ruby/"
list_depth = 1
+ version('3.0.0', sha256='a13ed141a1c18eb967aac1e33f4d6ad5f21be1ac543c344e0d6feeee54af8e28')
+ version('2.7.2', sha256='6e5706d0d4ee4e1e2f883db9d768586b4d06567debea353c796ec45e8321c3d4')
version('2.7.1', sha256='d418483bdd0000576c1370571121a6eb24582116db0b7bb2005e90e250eae418')
version('2.6.2', sha256='a0405d2bf2c2d2f332033b70dff354d224a864ab0edd462b7a413420453b49ab')
version('2.5.3', sha256='9828d03852c37c20fa333a0264f2490f07338576734d910ee3fd538c9520846c')
@@ -28,9 +30,9 @@ class Ruby(AutotoolsPackage):
depends_on('pkgconfig', type=('build'))
depends_on('libffi')
depends_on('zlib')
- depends_on('libx11')
- depends_on('tcl')
- depends_on('tk')
+ depends_on('libx11', when='@:2.3')
+ depends_on('tcl', when='@:2.3')
+ depends_on('tk', when='@:2.3')
depends_on('openssl@:1.0', when='@:2.3+openssl')
depends_on('openssl', when='+openssl')
depends_on('readline', when='+readline')
@@ -73,7 +75,8 @@ class Ruby(AutotoolsPackage):
if '+readline' in self.spec:
args.append("--with-readline-dir=%s"
% self.spec['readline'].prefix)
- args.append('--with-tk=%s' % self.spec['tk'].prefix)
+ if '^tk' in self.spec:
+ args.append('--with-tk=%s' % self.spec['tk'].prefix)
if self.spec.satisfies("%fj"):
args.append('--disable-dtrace')
return args
diff --git a/var/spack/repos/builtin/packages/rust-bindgen/package.py b/var/spack/repos/builtin/packages/rust-bindgen/package.py
index 47563a9064..23c524a8c9 100644
--- a/var/spack/repos/builtin/packages/rust-bindgen/package.py
+++ b/var/spack/repos/builtin/packages/rust-bindgen/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/rust/package.py b/var/spack/repos/builtin/packages/rust/package.py
index 60e1bec023..07313b037b 100644
--- a/var/spack/repos/builtin/packages/rust/package.py
+++ b/var/spack/repos/builtin/packages/rust/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -62,6 +62,7 @@ class Rust(Package):
depends_on('python@2.7:2.8', when='@:1.43', type='build')
depends_on('gmake@3.81:', type='build')
depends_on('cmake@3.4.3:', type='build')
+ depends_on('ninja', when='@1.48.0:', type='build')
depends_on('pkgconfig', type='build')
depends_on('openssl')
depends_on('libssh2')
@@ -87,6 +88,7 @@ class Rust(Package):
# The `x.py` bootstrapping script did not exist prior to Rust 1.17. It
# would be possible to support both, but for simplicitly, we only support
# Rust 1.17 and newer
+ version('1.48.0', sha256='0e763e6db47d5d6f91583284d2f989eacc49b84794d1443355b85c58d67ae43b')
version('1.47.0', sha256='3185df064c4747f2c8b9bb8c4468edd58ff4ad6d07880c879ac1b173b768d81d')
version('1.46.0', sha256='2d6a3b7196db474ba3f37b8f5d50a1ecedff00738d7846840605b42bfc922728')
version('1.45.1', sha256='ea53e6424e3d1fe56c6d77a00e72c5d594b509ec920c5a779a7b8e1dbd74219b')
@@ -133,6 +135,12 @@ class Rust(Package):
# This dictionary contains a version: hash dictionary for each supported
# Rust target.
rust_releases = {
+ '1.48.0': {
+ 'x86_64-unknown-linux-gnu': '950420a35b2dd9091f1b93a9ccd5abc026ca7112e667f246b1deb79204e2038b',
+ 'powerpc64le-unknown-linux-gnu': 'e6457a0214f3b1b04bd5b2618bba7e3826e254216420dede2971b571a1c13bb1',
+ 'aarch64-unknown-linux-gnu': 'c4769418d8d89f432e4a3a21ad60f99629e4b13bbfc29aef7d9d51c4e8ee8a8a',
+ 'x86_64-apple-darwin': 'f30ce0162b39dc7cf877020cec64d4826cad50467af493d180b5b28cf5eb50b3'
+ },
'1.47.0': {
'x86_64-unknown-linux-gnu': 'd0e11e1756a072e8e246b05d54593402813d047d12e44df281fbabda91035d96',
'powerpc64le-unknown-linux-gnu': '5760c3b1897ea70791320c2565f3eef700a3d54059027b84bbe6b8d6157f81c8',
@@ -437,9 +445,8 @@ class Rust(Package):
),
sha256=rust_sha256,
destination='spack_bootstrap_stage',
- when='@{version} platform={platform} target={target}'\
- .format(
- version=rust_version,
+ when='@{ver} platform={platform} target={target}'.format(
+ ver=rust_version,
platform=rust_arch['platform'],
target=rust_arch['target']
)
@@ -513,7 +520,7 @@ class Rust(Package):
ar = which('ar', required=True)
extra_targets = []
- if self.spec.variants['extra_targets'].value != 'none':
+ if not self.spec.satisfies('extra_targets=none'):
extra_targets = list(self.spec.variants['extra_targets'].value)
targets = [self.get_rust_target()] + extra_targets
diff --git a/var/spack/repos/builtin/packages/sabre/package.py b/var/spack/repos/builtin/packages/sabre/package.py
index 6f7a647154..51911d2940 100644
--- a/var/spack/repos/builtin/packages/sabre/package.py
+++ b/var/spack/repos/builtin/packages/sabre/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/saga-gis/package.py b/var/spack/repos/builtin/packages/saga-gis/package.py
index bb867da786..c659a44e6c 100644
--- a/var/spack/repos/builtin/packages/saga-gis/package.py
+++ b/var/spack/repos/builtin/packages/saga-gis/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sailfish/package.py b/var/spack/repos/builtin/packages/sailfish/package.py
index ea202bb58f..cb354e8973 100644
--- a/var/spack/repos/builtin/packages/sailfish/package.py
+++ b/var/spack/repos/builtin/packages/sailfish/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/salmon-tddft/cmakefix.patch b/var/spack/repos/builtin/packages/salmon-tddft/cmakefix.patch
new file mode 100755
index 0000000000..65ff24bdb4
--- /dev/null
+++ b/var/spack/repos/builtin/packages/salmon-tddft/cmakefix.patch
@@ -0,0 +1,108 @@
+diff -ru spack-src.org/cmakefiles/Modules/FindBLACS.cmake spack-src/cmakefiles/Modules/FindBLACS.cmake
+--- spack-src.org/cmakefiles/Modules/FindBLACS.cmake 2020-12-22 17:37:19.960178408 +0900
++++ spack-src/cmakefiles/Modules/FindBLACS.cmake 2020-12-22 17:32:55.395622085 +0900
+@@ -29,7 +29,7 @@
+ # ## List of vendors (BLA_VENDOR) valid in this module
+ # Generic, Intel (MKL)
+
+-set(_lapack_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES})
++set(_salmon_blacks_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES})
+
+ # Check the language being used
+ if( NOT (CMAKE_C_COMPILER_LOADED OR CMAKE_CXX_COMPILER_LOADED OR CMAKE_Fortran_COMPILER_LOADED) )
+@@ -55,7 +55,7 @@
+
+ # TODO: move this stuff to separate module
+
+-macro(Check_Lapack_Libraries LIBRARIES _prefix _name _flags _list _blas _threads)
++macro(salmon_Check_Lapack_Libraries LIBRARIES _prefix _name _flags _list _blas _threads)
+ # This macro checks for the existence of the combination of fortran libraries
+ # given by _list. If the combination is found, this macro checks (using the
+ # Check_Fortran_Function_Exists macro) whether can link against that library
+@@ -170,7 +170,7 @@
+ if (BLA_VENDOR STREQUAL "Generic" OR
+ BLA_VENDOR STREQUAL "All")
+ if ( NOT BLACS_LIBRARIES )
+- check_lapack_libraries(
++ salmon_check_lapack_libraries(
+ BLACS_LIBRARIES
+ BLACS
+ pcheevx
+@@ -215,7 +215,7 @@
+
+ # First try empty lapack libs
+ if (NOT ${_LIBRARIES})
+- check_lapack_libraries(
++ salmon_check_lapack_libraries(
+ ${_LIBRARIES}
+ BLACS
+ ${BLACS_mkl_SEARCH_SYMBOL}
+@@ -228,7 +228,7 @@
+ # Then try the search libs
+ foreach (IT ${BLACS_SEARCH_LIBS})
+ if (NOT ${_LIBRARIES})
+- check_lapack_libraries(
++ salmon_check_lapack_libraries(
+ ${_LIBRARIES}
+ BLACS
+ ${BLACS_mkl_SEARCH_SYMBOL}
+@@ -268,4 +268,4 @@
+ endif()
+
+ cmake_pop_check_state()
+-set(CMAKE_FIND_LIBRARY_SUFFIXES ${_lapack_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES})
++set(CMAKE_FIND_LIBRARY_SUFFIXES ${_salmon_blacks_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES})
+diff -ru spack-src.org/cmakefiles/Modules/FindScaLAPACK.cmake spack-src/cmakefiles/Modules/FindScaLAPACK.cmake
+--- spack-src.org/cmakefiles/Modules/FindScaLAPACK.cmake 2020-12-22 17:37:19.965178229 +0900
++++ spack-src/cmakefiles/Modules/FindScaLAPACK.cmake 2020-12-22 17:33:39.365051770 +0900
+@@ -29,7 +29,7 @@
+ # ## List of vendors (BLA_VENDOR) valid in this module
+ # Generic, Intel (MKL)
+
+-set(_lapack_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES})
++set(_salmon_scalapack_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES})
+
+ # Check the language being used
+ if( NOT (CMAKE_C_COMPILER_LOADED OR CMAKE_CXX_COMPILER_LOADED OR CMAKE_Fortran_COMPILER_LOADED) )
+@@ -55,7 +55,7 @@
+
+ # TODO: move this stuff to separate module
+
+-macro(Check_Lapack_Libraries LIBRARIES _prefix _name _flags _list _blas _threads)
++macro(salmon_Check_Lapack_Libraries LIBRARIES _prefix _name _flags _list _blas _threads)
+ # This macro checks for the existence of the combination of fortran libraries
+ # given by _list. If the combination is found, this macro checks (using the
+ # Check_Fortran_Function_Exists macro) whether can link against that library
+@@ -161,7 +161,7 @@
+ if (BLA_VENDOR STREQUAL "Generic" OR
+ BLA_VENDOR STREQUAL "All")
+ if ( NOT ScaLAPACK_LIBRARIES )
+- check_lapack_libraries(
++ salmon_check_lapack_libraries(
+ ScaLAPACK_LIBRARIES
+ ScaLAPACK
+ pcheevx
+@@ -202,7 +202,7 @@
+
+ # First try empty lapack libs
+ if (NOT ${_LIBRARIES})
+- check_lapack_libraries(
++ salmon_check_lapack_libraries(
+ ${_LIBRARIES}
+ ScaLAPACK
+ ${ScaLAPACK_mkl_SEARCH_SYMBOL}
+@@ -215,7 +215,7 @@
+ # Then try the search libs
+ foreach (IT ${ScaLAPACK_SEARCH_LIBS})
+ if (NOT ${_LIBRARIES})
+- check_lapack_libraries(
++ salmon_check_lapack_libraries(
+ ${_LIBRARIES}
+ ScaLAPACK
+ ${ScaLAPACK_mkl_SEARCH_SYMBOL}
+@@ -255,4 +255,4 @@
+ endif()
+
+ cmake_pop_check_state()
+-set(CMAKE_FIND_LIBRARY_SUFFIXES ${_lapack_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES})
++set(CMAKE_FIND_LIBRARY_SUFFIXES ${_salmon_scalapack_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES})
diff --git a/var/spack/repos/builtin/packages/salmon-tddft/fjmpi.patch b/var/spack/repos/builtin/packages/salmon-tddft/fjmpi.patch
new file mode 100755
index 0000000000..3208d150e8
--- /dev/null
+++ b/var/spack/repos/builtin/packages/salmon-tddft/fjmpi.patch
@@ -0,0 +1,67 @@
+--- spack-src.org/CMakeLists.txt 2020-07-21 12:08:53.000000000 +0900
++++ spack-src/CMakeLists.txt 2020-12-23 11:32:57.147128677 +0900
+@@ -38,6 +38,7 @@
+ option_set(USE_SCALAPACK "Use ScaLAPACK Library" OFF)
+ option_set(USE_EIGENEXA "Use EigenExa Library" OFF)
+ option_set(USE_LIBXC "Use Libxc library" OFF)
++option_set(USE_FJMPI "Use FUJITSU MPI" OFF)
+
+ ## Optimization for stencil compitations
+ option_set(USE_OPT_DOMAIN_IS_POW2 "Enable whether the opimization assumes that a stencil domain size is power of two" OFF)
+--- spack-src.org/src/config.h.in 2020-07-21 12:08:53.000000000 +0900
++++ spack-src/src/config.h.in 2020-12-23 11:48:48.384061907 +0900
+@@ -15,6 +15,7 @@
+ #cmakedefine SYSTEM_HAS_PATH_MAX_IN_LINUX_LIMITS_H
+
+ #cmakedefine USE_MPI
++#cmakedefine USE_FJMPI
+ #cmakedefine USE_SCALAPACK
+ #cmakedefine USE_EIGENEXA
+ #cmakedefine USE_LIBXC
+diff -ru spack-src.org/src/parallel/init_communicator.f90 spack-src/src/parallel/init_communicator.f90
+--- spack-src.org/src/parallel/init_communicator.f90 2020-07-21 12:08:53.000000000 +0900
++++ spack-src/src/parallel/init_communicator.f90 2020-12-23 11:50:58.997384260 +0900
+@@ -13,6 +13,7 @@
+ ! See the License for the specific language governing permissions and
+ ! limitations under the License.
+ !
++#include "config.h"
+ MODULE init_communicator
+ implicit none
+
+@@ -35,7 +36,7 @@
+ integer :: i1,i2,i3,i4,i5,ix,iy,iz,nl
+ integer,allocatable :: iranklists(:)
+
+-#ifdef __FUJITSU
++#ifdef USE_FJMPI
+ integer :: iret
+ #endif
+
+@@ -59,7 +60,7 @@
+ 0:nproc_k-1))
+
+ ! communicator r,o,k,ro,ko
+-#ifdef __FUJITSU
++#ifdef USE_FJMPI
+ call tofu_network_oriented_mapping(iret)
+ if (iret < 0) then
+ if (comm_is_root(info%id_rko)) then
+@@ -106,7 +107,7 @@
+
+ if (nl /= info%isize_rko-1) &
+ stop '[FATAL ERROR] init_communicator_dft'
+-#ifdef __FUJITSU
++#ifdef USE_FJMPI
+ end if
+ #endif
+
+@@ -234,7 +235,7 @@
+ info%icomm_xy = comm_create_group_byid(comm, iranklists(1:nl))
+ call comm_get_groupinfo(info%icomm_xy, info%id_xy, info%isize_xy)
+
+-#ifdef __FUJITSU
++#ifdef USE_FJMPI
+ contains
+ subroutine tofu_network_oriented_mapping(iret)
+ use mpi_ext
diff --git a/var/spack/repos/builtin/packages/salmon-tddft/package.py b/var/spack/repos/builtin/packages/salmon-tddft/package.py
new file mode 100755
index 0000000000..f926c4bbae
--- /dev/null
+++ b/var/spack/repos/builtin/packages/salmon-tddft/package.py
@@ -0,0 +1,98 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+from spack import *
+
+
+class SalmonTddft(CMakePackage):
+ """SALMON is an open-source computer program for ab-initio
+ quantum-mechanical calculations of electron dynamics at the nanoscale
+ that takes place in various situations of light-matter interactions.
+ It is based on time-dependent density functional theory, solving
+ time-dependent Kohn-Sham equation in real time and real space
+ with norm-conserving pseudopotentials."""
+
+ homepage = "https://salmon-tddft.jp"
+ url = "http://salmon-tddft.jp/download/SALMON-v.2.0.0.tar.gz"
+
+ version('2.0.0', sha256='c3bb80bc5d338cba21cd8f345acbf2f2d81ef75af069a0a0ddbdc0acf358456c')
+ version('1.2.1', sha256='a5045149e49abe9dd9edefe00cd1508a1323081bc3d034632176b728effdbaeb')
+
+ variant('mpi', default=False, description='Enable MPI')
+ variant('libxc', default=False, description='Enable libxc')
+ variant('scalapack', default=False, description='Enable scalapack')
+ variant('eigenexa', default=False, description='Enable eigenexa')
+ variant(
+ 'manycore', default=False,
+ description='Enable optimization of reduction for many-core processor'
+ )
+ variant(
+ 'current_processing', default=False,
+ description='Enable preprocessing of the current computation in RT'
+ )
+
+ depends_on('cmake@3.14:', type='build')
+ depends_on('mpi', type='link', when='+mpi')
+ depends_on('scalapack', type='link', when='+scalapack')
+ depends_on('eigenexa', type='link', when='+eigenexa')
+ depends_on('lapack', type='link')
+ depends_on('libxc', type='link', when='+libxc')
+ depends_on('libxc@:4.9', type='link', when='@:1.9.9 +libxc')
+
+ conflicts('+scalapack', when='~mpi')
+ conflicts('+eigenexa', when='@:1.9.9')
+ conflicts('+eigenexa', when='~scalapack')
+ conflicts('+manycore', when='@2.0.0:')
+ conflicts('+current_processing', when='@2.0.0:')
+
+ patch('fjmpi.patch', when='@2.0.0: %fj')
+ patch('v2.0.libxc-5.0.patch', when='@2.0.0 +libxc')
+ patch('cmakefix.patch', when='+scalapack')
+
+ def cmake_args(self):
+ define_from_variant = self.define_from_variant
+ spec = self.spec
+ define = self.define
+ args = [
+ define_from_variant('USE_SCALAPACK', 'scalapack'),
+ define_from_variant('USE_EIGENEXA', 'eigenexa'),
+ define_from_variant('USE_MPI', 'mpi'),
+ define_from_variant('USE_LIBXC', 'libxc'),
+ define_from_variant('REDUCE_FOR_MANYCORE', 'manycore'),
+ define_from_variant('CURRENT_PREPROCESSING', 'current_processing')
+ ]
+ if spec.satisfies('+mpi'):
+ args.extend([
+ define('CMAKE_C_COMPILER', spec['mpi'].mpicc),
+ define('CMAKE_Fortran_COMPILER', spec['mpi'].mpifc),
+ ])
+ if spec.satisfies('+scalapack'):
+ math_libs = spec['scalapack'].libs + \
+ spec['lapack'].libs + spec['blas'].libs
+ if spec.satisfies('@2.0:'):
+ args.append(define('ScaLAPACK_VENDOR_FLAGS',
+ math_libs.ld_flags))
+ else:
+ args.extend([
+ define('BLACS_LINKER_FLAGS', math_libs.ld_flags),
+ define('BLACS_LIBRARIES', math_libs.libraries),
+ define('ScaLAPACK_LINKER_FLAGS', math_libs.ld_flags),
+ define('ScaLAPACK_LIBRARIES', math_libs.libraries)
+ ])
+ if spec.satisfies('^fujitsu-mpi'):
+ args.append(define('USE_FJMPI', True))
+ else:
+ args.append(define('USE_FJMPI', False))
+ if spec.satisfies('%fj'):
+ args.append(self.define('CMAKE_Fortran_MODDIR_FLAG', '-M'))
+ return args
+
+ def flag_handler(self, name, flags):
+ flags = list(flags)
+ if name == 'fflags':
+ if self.spec.satisfies('%gcc'):
+ flags.append('-ffree-line-length-none')
+ return (None, None, flags)
diff --git a/var/spack/repos/builtin/packages/salmon-tddft/v2.0.libxc-5.0.patch b/var/spack/repos/builtin/packages/salmon-tddft/v2.0.libxc-5.0.patch
new file mode 100755
index 0000000000..956eb93da4
--- /dev/null
+++ b/var/spack/repos/builtin/packages/salmon-tddft/v2.0.libxc-5.0.patch
@@ -0,0 +1,312 @@
+diff -ru spack-src.org/src/common/structures.f90 spack-src/src/common/structures.f90
+--- spack-src.org/src/common/structures.f90 2020-07-21 12:08:53.000000000 +0900
++++ spack-src/src/common/structures.f90 2020-12-23 09:15:16.693976332 +0900
+@@ -26,6 +26,8 @@
+ #ifdef USE_LIBXC
+ #if XC_MAJOR_VERSION <= 4
+ use xc_f90_types_m
++#else
++ use iso_c_binding
+ #endif
+ use xc_f90_lib_m
+ #endif
+diff -ru spack-src.org/src/xc/builtin_pbe.f90 spack-src/src/xc/builtin_pbe.f90
+--- spack-src.org/src/xc/builtin_pbe.f90 2020-07-21 12:08:53.000000000 +0900
++++ spack-src/src/xc/builtin_pbe.f90 2020-12-23 09:15:16.701976046 +0900
+@@ -14,17 +14,34 @@
+ ! limitations under the License.
+ !
+ !-----------------------------------------------------------------------------------------
++#include "config.h"
++#ifdef USE_LIBXC
++#include "xc_version.h"
++#endif
+ module builtin_pbe
+ use salmon_math, only: erfc_salmon
++#ifdef USE_LIBXC
++#if XC_MAJOR_VERSION >= 5
++ use iso_c_binding
++#endif
++#endif
+ implicit none
+-
++
+ real(8),parameter :: Pi=3.141592653589793d0
+
+ contains
+
+ subroutine exc_cor_pbe(nl, rho, grho_s, exc, eexc, vexc, nd, ifdx, ifdy, ifdz, nabx, naby, nabz)
+ implicit none
++#ifdef USE_LIBXC
++#if XC_MAJOR_VERSION >= 5
++ integer(c_size_t), intent(in) :: nl
++#else
++ integer, intent(in) :: nl
++#endif
++#else
+ integer, intent(in) :: nl
++#endif
+ real(8), intent(in) :: rho(nl), grho_s(nl, 3)
+ real(8), intent(out) :: exc(nl), eexc(nl), vexc(nl)
+ integer, intent(in) :: nd
+diff -ru spack-src.org/src/xc/builtin_pz.f90 spack-src/src/xc/builtin_pz.f90
+--- spack-src.org/src/xc/builtin_pz.f90 2020-07-21 12:08:53.000000000 +0900
++++ spack-src/src/xc/builtin_pz.f90 2020-12-23 09:15:16.709975759 +0900
+@@ -14,15 +14,28 @@
+ ! limitations under the License.
+ !
+ !-----------------------------------------------------------------------------------------
++#include "config.h"
++#ifdef USE_LIBXC
++#include "xc_version.h"
++#endif
++
+ module builtin_pz
++#if XC_MAJOR_VERSION >= 5
++ use iso_c_binding
++#endif
+ implicit none
++
+
+ contains
+
+
+ subroutine exc_cor_pz(nl, rho_s, exc, eexc, vexc)
+ implicit none
++#if XC_MAJOR_VERSION >= 5
++ integer(c_size_t), intent(in) :: nl
++#else
+ integer, intent(in) :: nl
++#endif
+ real(8), intent(in) :: rho_s(nl)
+ real(8), intent(out) :: exc(nl), eexc(nl), vexc(nl)
+ integer :: i
+diff -ru spack-src.org/src/xc/builtin_pz_sp.f90 spack-src/src/xc/builtin_pz_sp.f90
+--- spack-src.org/src/xc/builtin_pz_sp.f90 2020-07-21 12:08:53.000000000 +0900
++++ spack-src/src/xc/builtin_pz_sp.f90 2020-12-23 09:15:16.717975473 +0900
+@@ -14,7 +14,16 @@
+ ! limitations under the License.
+ !
+ !-----------------------------------------------------------------------------------------
++#include "config.h"
++#ifdef USE_LIBXC
++#include "xc_version.h"
++#endif
+ module builtin_pz_sp
++#ifdef USE_LIBXC
++#if XC_MAJOR_VERSION >= 5
++ use iso_c_binding
++#endif
++#endif
+ implicit none
+
+ contains
+@@ -22,7 +31,15 @@
+
+ subroutine exc_cor_pz_sp(nl, rho_s, exc, eexc, vexc_s)
+ implicit none
++#ifdef USE_LIBXC
++#if XC_MAJOR_VERSION >= 5
++ integer(c_size_t), intent(in) :: nl
++#else
+ integer, intent(in) :: nl
++#endif
++#else
++ integer, intent(in) :: nl
++#endif
+ real(8), intent(in) :: rho_s(nl,2)
+ real(8), intent(out) :: exc(nl), eexc(nl), vexc_s(nl,2)
+ integer :: i
+diff -ru spack-src.org/src/xc/builtin_pzm.f90 spack-src/src/xc/builtin_pzm.f90
+--- spack-src.org/src/xc/builtin_pzm.f90 2020-07-21 12:08:53.000000000 +0900
++++ spack-src/src/xc/builtin_pzm.f90 2020-12-23 09:15:16.722975294 +0900
+@@ -14,14 +14,31 @@
+ ! limitations under the License.
+ !
+ !-----------------------------------------------------------------------------------------
++#include "config.h"
++#ifdef USE_LIBXC
++#include "xc_version.h"
++#endif
+ module builtin_pzm
++#ifdef USE_LIBXC
++#if XC_MAJOR_VERSION >= 5
++ use iso_c_binding
++#endif
++#endif
+ implicit none
+
+ contains
+
+ subroutine exc_cor_pzm(nl, rho_s, exc, eexc, vexc)
+ implicit none
++#ifdef USE_LIBXC
++#if XC_MAJOR_VERSION >= 5
++ integer(c_size_t), intent(in) :: nl
++#else
+ integer, intent(in) :: nl
++#endif
++#else
++ integer, intent(in) :: nl
++#endif
+ real(8), intent(in) :: rho_s(nl)
+ real(8), intent(out) :: exc(nl), eexc(nl), vexc(nl)
+ integer :: i
+diff -ru spack-src.org/src/xc/builtin_tbmbj.f90 spack-src/src/xc/builtin_tbmbj.f90
+--- spack-src.org/src/xc/builtin_tbmbj.f90 2020-07-21 12:08:53.000000000 +0900
++++ spack-src/src/xc/builtin_tbmbj.f90 2020-12-23 09:15:16.725975186 +0900
+@@ -14,7 +14,15 @@
+ ! limitations under the License.
+ !
+ !-----------------------------------------------------------------------------------------
++#include "config.h"
++#ifdef USE_LIBXC
++#include "xc_version.h"
++#endif
++
+ module builtin_tbmbj
++#if XC_MAJOR_VERSION >= 5
++ use iso_c_binding
++#endif
+ use salmon_math, only: erfc_salmon
+ implicit none
+
+@@ -27,7 +35,12 @@
+ subroutine exc_cor_tbmbj(nl, rho, rho_s, grho_s, lrho_s, tau_s, j_s, cval, eexc, vexc)
+ !subroutine exc_cor_tbmbj(nl, rho, rho_s, grho_s, lrho_s, tau_s, j_s, cval, eexc, vexc, Hxyz, aLxyz)
+ implicit none
++
++#if XC_MAJOR_VERSION >= 5
++ integer(c_size_t), intent(in) :: nl
++#else
+ integer, intent(in) :: nl
++#endif
+ real(8), intent(in) :: rho(nl), rho_s(nl)
+ real(8), intent(in) :: grho_s(nl, 3), lrho_s(nl), tau_s(nl), j_s(nl, 3)
+ real(8), intent(in) :: cval
+diff -ru spack-src.org/src/xc/salmon_xc.f90 spack-src/src/xc/salmon_xc.f90
+--- spack-src.org/src/xc/salmon_xc.f90 2020-07-21 12:08:53.000000000 +0900
++++ spack-src/src/xc/salmon_xc.f90 2020-12-23 09:29:58.603384238 +0900
+@@ -32,6 +32,8 @@
+ #ifdef USE_LIBXC
+ #if XC_MAJOR_VERSION <= 4
+ use xc_f90_types_m
++#else
++ use iso_c_binding
+ #endif
+ use xc_f90_lib_m
+ #endif
+@@ -631,7 +633,15 @@
+ ! real(8), intent(in), optional :: aLxyz
+ !===============================================================
+
++#ifdef USE_LIBXC
++#if XC_MAJOR_VERSION <= 4
++ integer :: nx, ny, nz, nl
++#else
++ integer(c_size_t) :: nx, ny, nz, nl
++#endif
++#else
+ integer :: nx, ny, nz, nl
++#endif
+
+ ! Detect size of 3-dimensional grid
+ if (xc%ispin == 0) then
+@@ -699,9 +709,9 @@
+ real(8) :: vexc_sp_1d(nl,2)
+
+ if (xc%ispin == 0) then
+- rho_s_1d = reshape(rho, (/nl/)) * 0.5
++ rho_s_1d = reshape(rho, (/int(nl)/)) * 0.5
+ else if (xc%ispin == 1) then
+- rho_s_sp_1d = reshape(rho_s, (/nl,2/))
++ rho_s_sp_1d = reshape(rho_s, (/int(nl),2/))
+ end if
+
+ #ifndef SALMON_DEBUG_NEGLECT_NLCC
+@@ -723,20 +733,20 @@
+
+ if (xc%ispin == 0) then
+ if (present(vxc)) then
+- vxc = vxc + reshape(vexc_1d, (/nx, ny, nz/))
++ vxc = vxc + reshape(vexc_1d, (/int(nx), int(ny), int(nz)/))
+ endif
+ else if(xc%ispin == 1) then
+ if (present(vxc_s)) then
+- vxc_s = vxc_s + reshape(vexc_sp_1d, (/nx, ny, nz,2/))
++ vxc_s = vxc_s + reshape(vexc_sp_1d, (/int(nx), int(ny), int(nz),2/))
+ endif
+ end if
+
+ if (present(exc)) then
+- exc = exc + reshape(exc_1d, (/nx, ny, nz/))
++ exc = exc + reshape(exc_1d, (/int(nx), int(ny), int(nz)/))
+ endif
+
+ if (present(eexc)) then
+- eexc = eexc + reshape(eexc_1d, (/nx, ny, nz/))
++ eexc = eexc + reshape(eexc_1d, (/int(nx), int(ny), int(nz)/))
+ endif
+
+ return
+@@ -786,22 +796,22 @@
+ real(8) :: eexc_1d(nl)
+ real(8) :: vexc_1d(nl)
+
+- rho_1d = reshape(rho, (/nl/))
+- grho_s_1d = reshape(grho(:, :, :, :), (/nl, 3/)) * 0.5
++ rho_1d = reshape(rho, (/int(nl)/))
++ grho_s_1d = reshape(grho(:, :, :, :), (/int(nl), 3/)) * 0.5
+
+ call exc_cor_pbe(nl, rho_1d, grho_s_1d, exc_1d, eexc_1d, vexc_1d, &
+ & nd, ifdx, ifdy, ifdz, nabx, naby, nabz)
+
+ if (present(vxc)) then
+- vxc = vxc + reshape(vexc_1d, (/nx, ny, nz/))
++ vxc = vxc + reshape(vexc_1d, (/int(nx), int(ny), int(nz)/))
+ endif
+
+ if (present(exc)) then
+- exc = exc + reshape(exc_1d, (/nx, ny, nz/))
++ exc = exc + reshape(exc_1d, (/int(nx), int(ny), int(nz)/))
+ endif
+
+ if (present(eexc)) then
+- eexc = eexc + reshape(eexc_1d, (/nx, ny, nz/))
++ eexc = eexc + reshape(eexc_1d, (/int(nx), int(ny), int(nz)/))
+ endif
+
+ return
+@@ -828,25 +838,25 @@
+ endif
+ #endif
+
+- grho_s_1d = reshape(grho(:, :, :, :), (/nl, 3/)) * 0.5
+- rlrho_s_1d = reshape(rlrho(:, :, :), (/nl/)) * 0.5
+- tau_s_1d = reshape(tau(:, :, :), (/nl/)) * 0.5
+- j_s_1d = reshape(rj(:, :, :, :), (/nl, 3/)) * 0.5
++ grho_s_1d = reshape(grho(:, :, :, :), (/int(nl), 3/)) * 0.5
++ rlrho_s_1d = reshape(rlrho(:, :, :), (/int(nl)/)) * 0.5
++ tau_s_1d = reshape(tau(:, :, :), (/int(nl)/)) * 0.5
++ j_s_1d = reshape(rj(:, :, :, :), (/int(nl), 3/)) * 0.5
+
+ !call exc_cor_tbmbj(nl, rho_1d, rho_s_1d, grho_s_1d, rlrho_s_1d, tau_s_1d, j_s_1d, xc%cval, eexc_1d, vexc_1d, Hxyz, aLxyz)
+ call exc_cor_tbmbj(nl, rho_1d, rho_s_1d, grho_s_1d, rlrho_s_1d, tau_s_1d, j_s_1d, xc%cval, eexc_1d, vexc_1d)
+
+ if (present(vxc)) then
+- vxc = vxc + reshape(vexc_1d, (/nx, ny, nz/))
++ vxc = vxc + reshape(vexc_1d, (/int(nx), int(ny), int(nz)/))
+ endif
+
+ if (present(exc)) then
+ ! NOTE: Take care for "zero-division error"
+- exc = exc + reshape(eexc_1d, (/nx, ny, nz/)) / rho
++ exc = exc + reshape(eexc_1d, (/int(nx), int(ny), int(nz)/)) / rho
+ endif
+
+ if (present(eexc)) then
+- eexc = eexc + reshape(eexc_1d, (/nx, ny, nz/))
++ eexc = eexc + reshape(eexc_1d, (/int(nx), int(ny), int(nz)/))
+ endif
+
+ return
diff --git a/var/spack/repos/builtin/packages/salmon/package.py b/var/spack/repos/builtin/packages/salmon/package.py
index c75450eb4a..263bc1cd24 100644
--- a/var/spack/repos/builtin/packages/salmon/package.py
+++ b/var/spack/repos/builtin/packages/salmon/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sambamba/package.py b/var/spack/repos/builtin/packages/sambamba/package.py
index 72e318baf6..afcac2874b 100644
--- a/var/spack/repos/builtin/packages/sambamba/package.py
+++ b/var/spack/repos/builtin/packages/sambamba/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/samblaster/package.py b/var/spack/repos/builtin/packages/samblaster/package.py
index 9c87c4b7b9..3dcb2bd1fe 100644
--- a/var/spack/repos/builtin/packages/samblaster/package.py
+++ b/var/spack/repos/builtin/packages/samblaster/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/samrai/package.py b/var/spack/repos/builtin/packages/samrai/package.py
index 358aa884f0..44ea581fd7 100644
--- a/var/spack/repos/builtin/packages/samrai/package.py
+++ b/var/spack/repos/builtin/packages/samrai/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/samtools/package.py b/var/spack/repos/builtin/packages/samtools/package.py
index 54a171cac5..aafa363aa7 100644
--- a/var/spack/repos/builtin/packages/samtools/package.py
+++ b/var/spack/repos/builtin/packages/samtools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sandbox/package.py b/var/spack/repos/builtin/packages/sandbox/package.py
index b512e9fae9..bcd2882474 100644
--- a/var/spack/repos/builtin/packages/sandbox/package.py
+++ b/var/spack/repos/builtin/packages/sandbox/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/satsuma2/package.py b/var/spack/repos/builtin/packages/satsuma2/package.py
index 8d1e0eea29..4ba902d88b 100644
--- a/var/spack/repos/builtin/packages/satsuma2/package.py
+++ b/var/spack/repos/builtin/packages/satsuma2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/savanna/package.py b/var/spack/repos/builtin/packages/savanna/package.py
index 37da8bd766..b71eba4238 100644
--- a/var/spack/repos/builtin/packages/savanna/package.py
+++ b/var/spack/repos/builtin/packages/savanna/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/saws/package.py b/var/spack/repos/builtin/packages/saws/package.py
index 41a117227f..22441d4b95 100644
--- a/var/spack/repos/builtin/packages/saws/package.py
+++ b/var/spack/repos/builtin/packages/saws/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sblim-sfcc/package.py b/var/spack/repos/builtin/packages/sblim-sfcc/package.py
index e8eb78a2ea..1105e05a00 100644
--- a/var/spack/repos/builtin/packages/sblim-sfcc/package.py
+++ b/var/spack/repos/builtin/packages/sblim-sfcc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sbml/package.py b/var/spack/repos/builtin/packages/sbml/package.py
index e1cae0af23..c44a5dd4a6 100644
--- a/var/spack/repos/builtin/packages/sbml/package.py
+++ b/var/spack/repos/builtin/packages/sbml/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sbt/package.py b/var/spack/repos/builtin/packages/sbt/package.py
index 63484249da..64a0b19230 100644
--- a/var/spack/repos/builtin/packages/sbt/package.py
+++ b/var/spack/repos/builtin/packages/sbt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/scala/package.py b/var/spack/repos/builtin/packages/scala/package.py
index a5226af1cf..6a65cb2de1 100644
--- a/var/spack/repos/builtin/packages/scala/package.py
+++ b/var/spack/repos/builtin/packages/scala/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/scalasca/package.py b/var/spack/repos/builtin/packages/scalasca/package.py
index f4fbeb0fec..f6013c46db 100644
--- a/var/spack/repos/builtin/packages/scalasca/package.py
+++ b/var/spack/repos/builtin/packages/scalasca/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -30,7 +30,7 @@ class Scalasca(AutotoolsPackage):
# version 2.4+
depends_on('cubew@4.4:', when='@2.4:')
- depends_on('scorep@6.0:', when='@2.4:')
+ depends_on('scorep@6.0:', when='@2.4:', type=('run'))
# version 2.3+
depends_on('otf2@2:', when='@2.3:')
diff --git a/var/spack/repos/builtin/packages/scallop/package.py b/var/spack/repos/builtin/packages/scallop/package.py
index a05aa44a5d..ff3180769a 100644
--- a/var/spack/repos/builtin/packages/scallop/package.py
+++ b/var/spack/repos/builtin/packages/scallop/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/scalpel/package.py b/var/spack/repos/builtin/packages/scalpel/package.py
index 1634fe11f4..5a8b2bd659 100644
--- a/var/spack/repos/builtin/packages/scalpel/package.py
+++ b/var/spack/repos/builtin/packages/scalpel/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/scan-for-matches/package.py b/var/spack/repos/builtin/packages/scan-for-matches/package.py
index c4abe6d7d0..d76ebff32a 100644
--- a/var/spack/repos/builtin/packages/scan-for-matches/package.py
+++ b/var/spack/repos/builtin/packages/scan-for-matches/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/scantailor/package.py b/var/spack/repos/builtin/packages/scantailor/package.py
index 26d250a11a..97d90b73c0 100644
--- a/var/spack/repos/builtin/packages/scantailor/package.py
+++ b/var/spack/repos/builtin/packages/scantailor/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/scipoptsuite/package.py b/var/spack/repos/builtin/packages/scipoptsuite/package.py
index 6521808f21..300ede769c 100644
--- a/var/spack/repos/builtin/packages/scipoptsuite/package.py
+++ b/var/spack/repos/builtin/packages/scipoptsuite/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/scons/package.py b/var/spack/repos/builtin/packages/scons/package.py
index b4505385e6..9873061333 100644
--- a/var/spack/repos/builtin/packages/scons/package.py
+++ b/var/spack/repos/builtin/packages/scons/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class Scons(PythonPackage):
"""SCons is a software construction tool"""
homepage = "http://scons.org"
- url = "https://pypi.io/packages/source/s/scons/scons-3.1.1.tar.gz"
+ pypi = "scons/scons-3.1.1.tar.gz"
version('3.1.2', sha256='8aaa483c303efeb678e6f7c776c8444a482f8ddc3ad891f8b6cdd35264da9a1f')
version('3.1.1', sha256='fd44f8f2a4562e7e5bc8c63c82b01e469e8115805a3e9c2923ee54cdcd6678b3')
diff --git a/var/spack/repos/builtin/packages/scorec-core/package.py b/var/spack/repos/builtin/packages/scorec-core/package.py
index 4ff96cae85..29a85f35e3 100644
--- a/var/spack/repos/builtin/packages/scorec-core/package.py
+++ b/var/spack/repos/builtin/packages/scorec-core/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/scorep/package.py b/var/spack/repos/builtin/packages/scorep/package.py
index 61586ac43c..3b2e31bb07 100644
--- a/var/spack/repos/builtin/packages/scorep/package.py
+++ b/var/spack/repos/builtin/packages/scorep/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/scotch/package.py b/var/spack/repos/builtin/packages/scotch/package.py
index f9ec64ca13..770f2f4858 100644
--- a/var/spack/repos/builtin/packages/scotch/package.py
+++ b/var/spack/repos/builtin/packages/scotch/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -102,12 +102,14 @@ class Scotch(Package):
'-DCOMMON_RANDOM_FIXED_SEED',
'-DSCOTCH_DETERMINISTIC',
'-DSCOTCH_RENAME',
- '-DIDXSIZE64', # SCOTCH_Idx typedef: indices for addressing
]
- # SCOTCH_Num typedef: size of integers in arguments
if '+int64' in self.spec:
+ # SCOTCH_Num typedef: size of integers in arguments
cflags.append('-DINTSIZE64')
+ cflags.append('-DIDXSIZE64') # SCOTCH_Idx typedef: indices for addressing
+ else:
+ cflags.append('-DIDXSIZE32') # SCOTCH_Idx typedef: indices for addressing
if self.spec.satisfies('platform=darwin'):
cflags.extend([
diff --git a/var/spack/repos/builtin/packages/scr/package.py b/var/spack/repos/builtin/packages/scr/package.py
index 5175bf6dc1..6821f8c5ed 100644
--- a/var/spack/repos/builtin/packages/scr/package.py
+++ b/var/spack/repos/builtin/packages/scr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -50,6 +50,8 @@ class Scr(CMakePackage):
variant('libyogrt', default=True,
description="Build SCR with libyogrt for get_time_remaining.")
+ depends_on('libyogrt scheduler=slurm', when="+libyogrt resource_manager=SLURM")
+ depends_on('libyogrt scheduler=lsf', when="+libyogrt resource_manager=LSF")
depends_on('libyogrt', when="+libyogrt")
# MySQL not yet in spack
diff --git a/var/spack/repos/builtin/packages/screen/package.py b/var/spack/repos/builtin/packages/screen/package.py
index e2ac6fc7d9..b0690e8069 100644
--- a/var/spack/repos/builtin/packages/screen/package.py
+++ b/var/spack/repos/builtin/packages/screen/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/scripts/package.py b/var/spack/repos/builtin/packages/scripts/package.py
index 6ecfe9fae1..d4346da1bf 100644
--- a/var/spack/repos/builtin/packages/scripts/package.py
+++ b/var/spack/repos/builtin/packages/scripts/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/scrnsaverproto/package.py b/var/spack/repos/builtin/packages/scrnsaverproto/package.py
index f4239e2cd7..4365b7afca 100644
--- a/var/spack/repos/builtin/packages/scrnsaverproto/package.py
+++ b/var/spack/repos/builtin/packages/scrnsaverproto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/scs/package.py b/var/spack/repos/builtin/packages/scs/package.py
index 5d783d0dc4..55b213b87a 100644
--- a/var/spack/repos/builtin/packages/scs/package.py
+++ b/var/spack/repos/builtin/packages/scs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sctk/package.py b/var/spack/repos/builtin/packages/sctk/package.py
index c81dda0e3c..421ec76182 100644
--- a/var/spack/repos/builtin/packages/sctk/package.py
+++ b/var/spack/repos/builtin/packages/sctk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sdl2-image/package.py b/var/spack/repos/builtin/packages/sdl2-image/package.py
index 83541f234d..4cdc8d11e1 100644
--- a/var/spack/repos/builtin/packages/sdl2-image/package.py
+++ b/var/spack/repos/builtin/packages/sdl2-image/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sdl2/package.py b/var/spack/repos/builtin/packages/sdl2/package.py
index 0ea1b2441c..2882866896 100644
--- a/var/spack/repos/builtin/packages/sdl2/package.py
+++ b/var/spack/repos/builtin/packages/sdl2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sdsl-lite/package.py b/var/spack/repos/builtin/packages/sdsl-lite/package.py
index ba2485c6b7..dd7cbb8f67 100644
--- a/var/spack/repos/builtin/packages/sdsl-lite/package.py
+++ b/var/spack/repos/builtin/packages/sdsl-lite/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/seacas/package.py b/var/spack/repos/builtin/packages/seacas/package.py
index 862cba1b87..94e89f76d3 100644
--- a/var/spack/repos/builtin/packages/seacas/package.py
+++ b/var/spack/repos/builtin/packages/seacas/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -26,6 +26,8 @@ class Seacas(CMakePackage):
# ###################### Versions ##########################
version('master', branch='master')
+ version('2021-01-20', sha256='7814e81981d03009b6816be3eb4ed3845fd02cc69e006ee008a2cbc85d508246')
+ version('2021-01-06', sha256='b233502a7dc3e5ab69466054cf358eb033e593b8679c6721bf630b03999bd7e5')
version('2020-08-13', sha256='e5eaf203eb2dbfb33c61ccde26deea459d058aaea79b0847e2f4bdb0cef1ddcb')
version('2020-05-12', sha256='7fc6915f60568b36e052ba07a77d691c99abe42eaba6ae8a6dc74bb33490ed60')
version('2020-03-16', sha256='2eb404f3dcb17c3e7eacf66978372830d40ef3722788207741fcd48417807af6')
@@ -165,8 +167,10 @@ class Seacas(CMakePackage):
'-DSEACASProj_ENABLE_SEACASGrepos:BOOL=%s' % (
'ON' if '+fortran' in spec else 'OFF'),
'-DSEACASProj_ENABLE_SEACASMat2exo:BOOL=ON',
+ '-DSEACASProj_ENABLE_SEACASNas2exo:BOOL=ON',
'-DSEACASProj_ENABLE_SEACASNemslice:BOOL=ON',
'-DSEACASProj_ENABLE_SEACASNemspread:BOOL=ON',
+ '-DSEACASProj_ENABLE_SEACASSlice:BOOL=ON',
])
if '+legacy' in spec:
diff --git a/var/spack/repos/builtin/packages/sed/package.py b/var/spack/repos/builtin/packages/sed/package.py
index 3565c3c9ef..98ac82b36f 100644
--- a/var/spack/repos/builtin/packages/sed/package.py
+++ b/var/spack/repos/builtin/packages/sed/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sensei/package.py b/var/spack/repos/builtin/packages/sensei/package.py
index fa2e534166..e379aed3e2 100644
--- a/var/spack/repos/builtin/packages/sensei/package.py
+++ b/var/spack/repos/builtin/packages/sensei/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sentencepiece/package.py b/var/spack/repos/builtin/packages/sentencepiece/package.py
index f3b168db66..d96c99ad9e 100644
--- a/var/spack/repos/builtin/packages/sentencepiece/package.py
+++ b/var/spack/repos/builtin/packages/sentencepiece/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sentieon-genomics/package.py b/var/spack/repos/builtin/packages/sentieon-genomics/package.py
index e58877abbc..3ebbfe0921 100644
--- a/var/spack/repos/builtin/packages/sentieon-genomics/package.py
+++ b/var/spack/repos/builtin/packages/sentieon-genomics/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -23,6 +23,7 @@ class SentieonGenomics(Package):
homepage = "https://www.sentieon.com/"
url = "file://{0}/sentieon-genomics-201808.01.tar.gz".format(os.getcwd())
+ manual_download = True
version('201808.07', sha256='fb66b18a7b99e44968eb2c3a6a5b761d6b1e70fba9f7dfc4e5db3a74ab3d3dd9')
version('201808.01', sha256='6d77bcd5a35539549b28eccae07b19a3b353d027720536e68f46dcf4b980d5f7')
diff --git a/var/spack/repos/builtin/packages/seqan/package.py b/var/spack/repos/builtin/packages/seqan/package.py
index f70a6a7d52..bb970b7d10 100644
--- a/var/spack/repos/builtin/packages/seqan/package.py
+++ b/var/spack/repos/builtin/packages/seqan/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/seqkit/package.py b/var/spack/repos/builtin/packages/seqkit/package.py
index 7ac7e979d9..386de59057 100644
--- a/var/spack/repos/builtin/packages/seqkit/package.py
+++ b/var/spack/repos/builtin/packages/seqkit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/seqprep/package.py b/var/spack/repos/builtin/packages/seqprep/package.py
index 06ce717785..f595b1a38a 100644
--- a/var/spack/repos/builtin/packages/seqprep/package.py
+++ b/var/spack/repos/builtin/packages/seqprep/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/seqtk/package.py b/var/spack/repos/builtin/packages/seqtk/package.py
index eab48389bb..b3c4a0a31c 100644
--- a/var/spack/repos/builtin/packages/seqtk/package.py
+++ b/var/spack/repos/builtin/packages/seqtk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/serf/package.py b/var/spack/repos/builtin/packages/serf/package.py
index 96df6f7579..fa272fd1a5 100644
--- a/var/spack/repos/builtin/packages/serf/package.py
+++ b/var/spack/repos/builtin/packages/serf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sessreg/package.py b/var/spack/repos/builtin/packages/sessreg/package.py
index dbed54afcd..0d0cf125cb 100644
--- a/var/spack/repos/builtin/packages/sessreg/package.py
+++ b/var/spack/repos/builtin/packages/sessreg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,7 +16,7 @@ class Sessreg(AutotoolsPackage, XorgPackage):
version('1.1.0', sha256='e561edb48dfc3b0624554169c15f9dd2c3139e83084cb323b0c712724f2b6043')
- depends_on('xproto@7.0.25:', type='build')
+ depends_on('xproto@7.0.25:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/setserial/package.py b/var/spack/repos/builtin/packages/setserial/package.py
index 01b9695a88..782024a5f6 100644
--- a/var/spack/repos/builtin/packages/setserial/package.py
+++ b/var/spack/repos/builtin/packages/setserial/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/setxkbmap/package.py b/var/spack/repos/builtin/packages/setxkbmap/package.py
index 2c3ebba00b..015fd23146 100644
--- a/var/spack/repos/builtin/packages/setxkbmap/package.py
+++ b/var/spack/repos/builtin/packages/setxkbmap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sfcgal/package.py b/var/spack/repos/builtin/packages/sfcgal/package.py
index c1e80174e0..12ffc4af6b 100644
--- a/var/spack/repos/builtin/packages/sfcgal/package.py
+++ b/var/spack/repos/builtin/packages/sfcgal/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sga/package.py b/var/spack/repos/builtin/packages/sga/package.py
index 5114f38cf4..dc6d0cffc2 100644
--- a/var/spack/repos/builtin/packages/sga/package.py
+++ b/var/spack/repos/builtin/packages/sga/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sgpp/package.py b/var/spack/repos/builtin/packages/sgpp/package.py
index 7afddd732c..a37086d7ae 100644
--- a/var/spack/repos/builtin/packages/sgpp/package.py
+++ b/var/spack/repos/builtin/packages/sgpp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -34,7 +34,7 @@ class Sgpp(SConsPackage):
# be copied into prefix/lib upon installation
# (otherwise it would be prefix/lib/sgpp)
# Fixed in SGpp in PR https://github.com/SGpp/SGpp/pull/222
- patch('directory.patch', when='@:3.2.0')
+ patch('directory.patch', when='@1.0.0:3.2.0')
# Fix faulty setup.py introduced in 3.2.0
# Fixed in SGpp in version 3.3.0
patch('fix-setup-py.patch', when='@3.2.0')
@@ -73,20 +73,24 @@ class Sgpp(SConsPackage):
# extends('openjdk', when='+java')
# Mandatory dependencies
- depends_on('scons@2.5.1', when='@:3.1.0', type=('build'))
+ depends_on('scons', type=('build'))
+ depends_on('scons@2.5.1', when='@1.0.0:3.1.0', type=('build'))
depends_on('scons@3:', when='@3.2.0:', type=('build'))
depends_on('zlib', type=('link'))
# Python dependencies
extends('python', when='+python')
depends_on('py-setuptools', when='+python', type=('build'))
# Python 3 support was added in version 3.2.0
- depends_on('python@2.7:2.8', when='@:3.1.0+python', type=('build', 'run'))
+ depends_on('python', when='+python', type=('build', 'run'))
+ depends_on('python@2.7:2.8', when='@1.0.0:3.1.0+python', type=('build', 'run'))
depends_on('python@3:', when='@3.2.0:+python', type=('build', 'run'))
depends_on('swig@3:', when='+python', type=('build'))
# Python libraries (version depends on whether we use Python 2 or 3)
- depends_on('py-numpy@:1.16', when='@:3.1.0+python', type=('build', 'run'))
+ depends_on('py-numpy', when='+python', type=('build', 'run'))
+ depends_on('py-numpy@:1.16', when='@1.0.0:3.1.0+python', type=('build', 'run'))
depends_on('py-numpy@1.17:', when='@3.2.0:+python', type=('build', 'run'))
- depends_on('py-scipy@:1.2.3', when='@:3.1.0+python', type=('build', 'run'))
+ depends_on('py-scipy', when='+python', type=('build', 'run'))
+ depends_on('py-scipy@:1.2.3', when='@1.0.0:3.1.0+python', type=('build', 'run'))
depends_on('py-scipy@1.3.0:', when='@3.2.0:+python', type=('build', 'run'))
# OpenCL dependency
depends_on('opencl@1.1:', when='+opencl', type=('build', 'run'))
@@ -113,14 +117,14 @@ class Sgpp(SConsPackage):
conflicts('+misc', when='-solver')
conflicts('+misc', when='-optimization')
conflicts('+misc', when='-pde')
- conflicts('+misc', when='@:3.1.0',
+ conflicts('+misc', when='@1.0.0:3.1.0',
msg='The misc module was introduced in version 3.2.0')
# Combigrid module requirements (for 3.2.0 or older)
# newer combigrids have no dependencies
- conflicts('+combigrid', when='@:3.2.0~optimization')
- conflicts('+combigrid', when='@:3.2.0~pde')
- conflicts('+combigrid', when='@:3.2.0~solver')
- conflicts('+combigrid', when='@:3.2.0~quadrature')
+ conflicts('+combigrid', when='@1.0.0:3.2.0~optimization')
+ conflicts('+combigrid', when='@1.0.0:3.2.0~pde')
+ conflicts('+combigrid', when='@1.0.0:3.2.0~solver')
+ conflicts('+combigrid', when='@1.0.0:3.2.0~quadrature')
patch('for_aarch64.patch', when='target=aarch64:')
@@ -131,7 +135,7 @@ class Sgpp(SConsPackage):
'RUN_BOOST_TESTS=1']
if ('+python' in spec):
self.args.append('RUN_PYTHON_TESTS=1')
- if spec.satisfies('@:3.2.0'):
+ if spec.satisfies('@1.0.0:3.2.0'):
self.args.append('RUN_CPPLINT=1')
else: # argument was renamed after 3.2.0
self.args.append('CHECK_STYLE=1')
@@ -139,7 +143,7 @@ class Sgpp(SConsPackage):
self.args = ['COMPILE_BOOST_TESTS=0',
'RUN_BOOST_TESTS=0',
'RUN_PYTHON_TESTS=0']
- if spec.satisfies('@:3.2.0'):
+ if spec.satisfies('@1.0.0:3.2.0'):
self.args.append('RUN_CPPLINT=0')
else: # argument was renamed after 3.2.0
self.args.append('CHECK_STYLE=0')
@@ -171,7 +175,7 @@ class Sgpp(SConsPackage):
'1' if '+solver' in spec else '0'))
# Misc flag did not exist in older versions
- if spec.satisfies('@3.2.0:'):
+ if not spec.satisfies('@1.0.0:3.2.0'):
self.args.append('SG_MISC={0}'.format(
'1' if '+misc' in spec else '0'))
@@ -198,6 +202,8 @@ class Sgpp(SConsPackage):
if ('+mpi' in spec):
self.args.append('CXX={0}'.format(
self.spec['mpi'].mpicxx))
+ else:
+ self.args.append('CXX={0}'.format(self.compiler.cxx))
return self.args
diff --git a/var/spack/repos/builtin/packages/shadow/package.py b/var/spack/repos/builtin/packages/shadow/package.py
index 99cef1fa47..6e5c88a4b1 100644
--- a/var/spack/repos/builtin/packages/shadow/package.py
+++ b/var/spack/repos/builtin/packages/shadow/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/shapeit/package.py b/var/spack/repos/builtin/packages/shapeit/package.py
index d0fa2e6d02..bbd6bab2a0 100644
--- a/var/spack/repos/builtin/packages/shapeit/package.py
+++ b/var/spack/repos/builtin/packages/shapeit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/shapeit4/package.py b/var/spack/repos/builtin/packages/shapeit4/package.py
index 009e5084bf..864365894f 100644
--- a/var/spack/repos/builtin/packages/shapeit4/package.py
+++ b/var/spack/repos/builtin/packages/shapeit4/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/shapelib/package.py b/var/spack/repos/builtin/packages/shapelib/package.py
index 47be5cdaa1..8f331c0f7f 100644
--- a/var/spack/repos/builtin/packages/shapelib/package.py
+++ b/var/spack/repos/builtin/packages/shapelib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/shared-mime-info/package.py b/var/spack/repos/builtin/packages/shared-mime-info/package.py
index 25cfe11182..600fa8ffab 100644
--- a/var/spack/repos/builtin/packages/shared-mime-info/package.py
+++ b/var/spack/repos/builtin/packages/shared-mime-info/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/shark/package.py b/var/spack/repos/builtin/packages/shark/package.py
index 6c6fa433a4..d163dcc96e 100644
--- a/var/spack/repos/builtin/packages/shark/package.py
+++ b/var/spack/repos/builtin/packages/shark/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/shc/package.py b/var/spack/repos/builtin/packages/shc/package.py
index e8ca1c18fd..a6c6484447 100644
--- a/var/spack/repos/builtin/packages/shc/package.py
+++ b/var/spack/repos/builtin/packages/shc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/shengbte/package.py b/var/spack/repos/builtin/packages/shengbte/package.py
index 59697a51ce..b76cc2c6c5 100644
--- a/var/spack/repos/builtin/packages/shengbte/package.py
+++ b/var/spack/repos/builtin/packages/shengbte/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/shiny-server/package.py b/var/spack/repos/builtin/packages/shiny-server/package.py
index 87cefed936..0f575c53a1 100644
--- a/var/spack/repos/builtin/packages/shiny-server/package.py
+++ b/var/spack/repos/builtin/packages/shiny-server/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -26,7 +26,7 @@ class ShinyServer(CMakePackage):
version('1.5.3.838', sha256='6fd1b12cd1cbe5c64cacbec4accefe955353f9c675e5feff809c0e911a382141')
depends_on('python@:2.8') # docs say: "Really. 3.x will not work"
- depends_on('cmake@2.8.10:')
+ depends_on('cmake@2.8.10:', type='build')
depends_on('git')
depends_on('r+X')
depends_on('openssl')
diff --git a/var/spack/repos/builtin/packages/shiro/package.py b/var/spack/repos/builtin/packages/shiro/package.py
index a97e5ca87d..863c77c1b7 100644
--- a/var/spack/repos/builtin/packages/shiro/package.py
+++ b/var/spack/repos/builtin/packages/shiro/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/shocklibs/package.py b/var/spack/repos/builtin/packages/shocklibs/package.py
index 49e9b76828..983ff6e192 100644
--- a/var/spack/repos/builtin/packages/shocklibs/package.py
+++ b/var/spack/repos/builtin/packages/shocklibs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/shoremap/package.py b/var/spack/repos/builtin/packages/shoremap/package.py
index c03aa6e186..34693da379 100644
--- a/var/spack/repos/builtin/packages/shoremap/package.py
+++ b/var/spack/repos/builtin/packages/shoremap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/shortbred/package.py b/var/spack/repos/builtin/packages/shortbred/package.py
index e64fb340e9..11ae21c8be 100644
--- a/var/spack/repos/builtin/packages/shortbred/package.py
+++ b/var/spack/repos/builtin/packages/shortbred/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/shortstack/package.py b/var/spack/repos/builtin/packages/shortstack/package.py
index 22de260298..d28aef0c79 100644
--- a/var/spack/repos/builtin/packages/shortstack/package.py
+++ b/var/spack/repos/builtin/packages/shortstack/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/showfont/package.py b/var/spack/repos/builtin/packages/showfont/package.py
index ae06e94365..ef2b09d9b0 100644
--- a/var/spack/repos/builtin/packages/showfont/package.py
+++ b/var/spack/repos/builtin/packages/showfont/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/shtools/package.py b/var/spack/repos/builtin/packages/shtools/package.py
index dc0388939f..56cf255a8c 100644
--- a/var/spack/repos/builtin/packages/shtools/package.py
+++ b/var/spack/repos/builtin/packages/shtools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/shuffile/package.py b/var/spack/repos/builtin/packages/shuffile/package.py
index e7a8da2c0e..06315a0bc0 100644
--- a/var/spack/repos/builtin/packages/shuffile/package.py
+++ b/var/spack/repos/builtin/packages/shuffile/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sickle/package.py b/var/spack/repos/builtin/packages/sickle/package.py
index 5b61aea14e..260614c800 100644
--- a/var/spack/repos/builtin/packages/sickle/package.py
+++ b/var/spack/repos/builtin/packages/sickle/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/siesta/package.py b/var/spack/repos/builtin/packages/siesta/package.py
index 17b8e5ec74..2779e8420a 100644
--- a/var/spack/repos/builtin/packages/siesta/package.py
+++ b/var/spack/repos/builtin/packages/siesta/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -45,6 +45,8 @@ class Siesta(Package):
# Intel's mpiifort is not found
'MPIFC=%s' % spec['mpi'].mpifc
]
+ if self.spec.satisfies('%gcc'):
+ configure_args.append('FCFLAGS=-ffree-line-length-0')
for d in ['Obj', 'Obj_trans']:
with working_dir(d, create=True):
sh('../Src/configure', *configure_args)
diff --git a/var/spack/repos/builtin/packages/signalp/package.py b/var/spack/repos/builtin/packages/signalp/package.py
index 4ed3336763..521e9b28c1 100644
--- a/var/spack/repos/builtin/packages/signalp/package.py
+++ b/var/spack/repos/builtin/packages/signalp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/signify/package.py b/var/spack/repos/builtin/packages/signify/package.py
index 519556aa32..f2e7309dc2 100644
--- a/var/spack/repos/builtin/packages/signify/package.py
+++ b/var/spack/repos/builtin/packages/signify/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/silo/H5FD_class_t-terminate.patch b/var/spack/repos/builtin/packages/silo/H5FD_class_t-terminate.patch
new file mode 100644
index 0000000000..02df290b5b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/silo/H5FD_class_t-terminate.patch
@@ -0,0 +1,12 @@
+diff --git a/src/hdf5_drv/H5FDsilo.c b/src/hdf5_drv/H5FDsilo.c
+index 840dfd0..0d09147 100644
+--- a/src/hdf5_drv/H5FDsilo.c
++++ b/src/hdf5_drv/H5FDsilo.c
+@@ -500,6 +500,7 @@ static const H5FD_class_t H5FD_silo_g = {
+ "silo", /*name */
+ MAXADDR, /*maxaddr */
+ H5F_CLOSE_WEAK, /* fc_degree */
++ NULL, /*terminate */
+ H5FD_silo_sb_size, /*sb_size */
+ H5FD_silo_sb_encode, /*sb_encode */
+ H5FD_silo_sb_decode, /*sb_decode */
diff --git a/var/spack/repos/builtin/packages/silo/package.py b/var/spack/repos/builtin/packages/silo/package.py
index 3d9ef4e16c..a3cffefd89 100644
--- a/var/spack/repos/builtin/packages/silo/package.py
+++ b/var/spack/repos/builtin/packages/silo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -38,6 +38,7 @@ class Silo(AutotoolsPackage):
depends_on('zlib')
patch('remove-mpiposix.patch', when='@4.8:4.10.2')
+ patch('H5FD_class_t-terminate.patch', when='^hdf5@1.10.0:')
def flag_handler(self, name, flags):
spec = self.spec
diff --git a/var/spack/repos/builtin/packages/simde/package.py b/var/spack/repos/builtin/packages/simde/package.py
new file mode 100644
index 0000000000..173054460f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/simde/package.py
@@ -0,0 +1,25 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Simde(MesonPackage):
+ """The SIMDe header-only library provides fast, portable
+ implementations of SIMD intrinsics on hardware which doesn't
+ natively support them, such as calling SSE functions on ARM.
+ There is no performance penalty if the hardware supports the
+ native implementation (e.g., SSE/AVX runs at full speed on x86,
+ NEON on ARM, etc.)."""
+
+ homepage = "https://github.com/simd-everywhere/simde"
+ url = "https://github.com/simd-everywhere/simde/archive/v0.6.0.tar.gz"
+ git = "https://github.com/simd-everywhere/simde.git"
+
+ version('0.6.0', sha256='25a8b8c69c17ddc2f6209e86caa6b12d4ed91c0f841617efc56e5675eea84915')
+
+ patch('sve-gcc.patch', when='@0.6.0 %gcc')
+ conflicts('%gcc@8', when='target=a64fx',
+ msg='Internal compiler error with gcc8 and a64fx')
diff --git a/var/spack/repos/builtin/packages/simde/sve-gcc.patch b/var/spack/repos/builtin/packages/simde/sve-gcc.patch
new file mode 100644
index 0000000000..ea690e49de
--- /dev/null
+++ b/var/spack/repos/builtin/packages/simde/sve-gcc.patch
@@ -0,0 +1,18 @@
+diff --git a/simde/simde-features.h b/simde/simde-features.h
+index 2a3ce9c..5cfcf48 100644
+--- a/simde/simde-features.h
++++ b/simde/simde-features.h
+@@ -252,8 +252,10 @@
+
+ #if !defined(SIMDE_ARM_SVE_NATIVE) && !defined(SIMDE_ARM_SVE_NO_NATIVE) && !defined(SIMDE_NO_NATIVE)
+ #if defined(SIMDE_ARCH_ARM_SVE)
+- #define SIMDE_ARM_SVE_NATIVE
+- #include <arm_sve.h>
++ #if !defined(HEDLEY_GCC_VERSION) || HEDLEY_GCC_VERSION_CHECK(10,0,0)
++ #define SIMDE_ARM_SVE_NATIVE
++ #include <arm_sve.h>
++ #endif
+ #endif
+ #endif
+
+
diff --git a/var/spack/repos/builtin/packages/simgrid/package.py b/var/spack/repos/builtin/packages/simgrid/package.py
index b62ed1923c..df675a2842 100644
--- a/var/spack/repos/builtin/packages/simgrid/package.py
+++ b/var/spack/repos/builtin/packages/simgrid/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/simmetrix-simmodsuite/package.py b/var/spack/repos/builtin/packages/simmetrix-simmodsuite/package.py
index 7d38e267d7..87e7324061 100644
--- a/var/spack/repos/builtin/packages/simmetrix-simmodsuite/package.py
+++ b/var/spack/repos/builtin/packages/simmetrix-simmodsuite/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,80 +9,80 @@ import os
def simmodsuite_releases():
releases = [
- {
- 'version': '14.0-191122',
- 'components': {
- 'gmadv': ['01cea5f7aff5e442ea544df054969740ad33e2ff4097cf02de31874d16a0c7c2', 'advmodel'],
- 'msadapt': ['69839698f24969f97963869fd212bdcff0b5d52dd40ec3fdc710d878e43b527a', 'base'],
- 'gmvoxel': ['bfea15e1fc5d258ed9db69132042a848ca81995e92bf265215e4b88d08a308a8', 'voxel'],
- 'gmabstract': ['dccdcd4b71758e4110cd69b0befa7875e5c1f3871f87478410c6676da3f39092', 'abstract'],
- 'fdcore': ['6981b2eb0c0143e6abc3ec29918fc3552f81018755770bf922d2491275984e1a', 'base'],
- 'msparallelmesh': ['1e1a431ec9dd85354ff42c6a2a41df7fbe3dfe5d296f40105c4d3aa372639dc3', 'parallelmesh'],
- 'mscore': ['bca80fcb2c86e7b6dc0259681ccd73197ce85c47f00f1910bd6b518fa0b3a092', 'base'],
- 'discrete': ['430e5f2270864b1ab9c8dff75d2510147a0c5cde8af0828975d9e38661be3a35', 'discrete'],
- 'gmimport': ['e83b3c43b7c695fa96ed42253a4b317a2882bcb8987fd3225c09492e353e49aa', 'import'],
- 'pskrnl': ['31455cfce746b2339b3644f3890d4444014fb839654a9f576ec747d28ff6c1c4', 'parasolid'],
- 'gmcore': ['af5d89b9ce266cac5b45f2bf96e1324e87e54c6e2f568bd5b6a85c41122d39e4', 'base'],
- 'aciskrnl': ['764e5633e6d502951788accfb8c34ed59430a4779a44d1775fd67f9aab8a654a', 'acis'],
- 'msparalleladapt': ['8ae607112958f6b9d319736c71a6597cf99a8a59ceed733f2a939cb9cfa6dd67', 'paralleladapt'],
- 'psint': ['f6c90b2fe87e690b2cba20f357d03c5962fed91541d6b79e01dc25cb8f01d1e0', 'parasolid'],
- 'msadv': ['f18a8285d539cb07b00fde06fe970d958eceabf2a10182bcca6c8ad1c074c395', 'adv'],
+ {
+ 'version': '14.0-191122',
+ 'components': {
+ 'gmadv': ['01cea5f7aff5e442ea544df054969740ad33e2ff4097cf02de31874d16a0c7c2', 'advmodel'],
+ 'msadapt': ['69839698f24969f97963869fd212bdcff0b5d52dd40ec3fdc710d878e43b527a', 'base'],
+ 'gmvoxel': ['bfea15e1fc5d258ed9db69132042a848ca81995e92bf265215e4b88d08a308a8', 'voxel'],
+ 'gmabstract': ['dccdcd4b71758e4110cd69b0befa7875e5c1f3871f87478410c6676da3f39092', 'abstract'],
+ 'fdcore': ['6981b2eb0c0143e6abc3ec29918fc3552f81018755770bf922d2491275984e1a', 'base'],
+ 'msparallelmesh': ['1e1a431ec9dd85354ff42c6a2a41df7fbe3dfe5d296f40105c4d3aa372639dc3', 'parallelmesh'],
+ 'mscore': ['bca80fcb2c86e7b6dc0259681ccd73197ce85c47f00f1910bd6b518fa0b3a092', 'base'],
+ 'discrete': ['430e5f2270864b1ab9c8dff75d2510147a0c5cde8af0828975d9e38661be3a35', 'discrete'],
+ 'gmimport': ['e83b3c43b7c695fa96ed42253a4b317a2882bcb8987fd3225c09492e353e49aa', 'import'],
+ 'pskrnl': ['31455cfce746b2339b3644f3890d4444014fb839654a9f576ec747d28ff6c1c4', 'parasolid'],
+ 'gmcore': ['af5d89b9ce266cac5b45f2bf96e1324e87e54c6e2f568bd5b6a85c41122d39e4', 'base'],
+ 'aciskrnl': ['764e5633e6d502951788accfb8c34ed59430a4779a44d1775fd67f9aab8a654a', 'acis'],
+ 'msparalleladapt': ['8ae607112958f6b9d319736c71a6597cf99a8a59ceed733f2a939cb9cfa6dd67', 'paralleladapt'],
+ 'psint': ['f6c90b2fe87e690b2cba20f357d03c5962fed91541d6b79e01dc25cb8f01d1e0', 'parasolid'],
+ 'msadv': ['f18a8285d539cb07b00fde06fe970d958eceabf2a10182bcca6c8ad1c074c395', 'adv'],
+ },
+ 'docs': {
+ 'MeshSim': ['f3c475072f270ff49ac2f6639ca1cddb0642889648cbea7df1a3f1b85f7cac36', 'base'],
+ 'GeomSimVoxel': ['9f4ee5a8204fee1d899cb912e0379f8be7a826e81ca0a0d8a670a4b804ca1276', 'voxel'],
+ 'MeshSimAdvanced': ['8c8bc3709238e600e8938c7c345588f8947d89eae98a228b0d0e3d46f5f4c0d9', 'adv'],
+ 'GeomSimDiscreteModeling': ['4e8e26a88e8a5ad396a637597a52f5973d8f77abc0a5b99fa737caf37226d6cc', 'discrete'],
+ 'GeomSimAdvanced': ['5efb38317d6be7862ce34024922ca372b30691a30af820474e2e26e4c3055278', 'advmodel'],
+ 'GeomSimParasolid': ['6851bdaf6d96e7b2335fce3394825e9876800f0aba0a42644758dc1bd06f60fe', 'parasolid'],
+ 'GeomSimImport': ['d931ecfc332460c825b473c0950c7ae8ff9f845e0d1565f85bfd7698da5e6d26', 'import'],
+ 'ParallelMeshSim': ['0f0d235b25a660271e401488e412220f574b341dadb827f7b82f0e93172b5cdb', 'parallelmesh'],
+ 'ParallelMeshSimAdapt': ['7964ebbd7e8d971ea85fc5260e44f7e876da5ad474dc67d8d6fc939bfa5ba454', 'paralleladapt'],
+ 'GeomSimAcis': ['dea82efbc4e3043ecda163be792ef295057e08be17654a7783ce7ca5e786f950', 'acis'],
+ 'MeshSimAdapt': ['ee4d5595572c1fe1a0d78bd9b85c774a55e994c48170450d6c5f34b05fcf2411', 'base'],
+ 'FieldSim': ['6b09b4ab278911d3e9229fd4cd8dc92ba188f151d42d9d7b96d542aad2af1fac', 'base'],
+ 'GeomSim': ['0673823d649998367c0e427055911eae971bb6e8c76625882e7a7901f4d18c44', 'base'],
+ 'GeomSimDiscrete': ['58dfd33fc5cdd2ab24e9084377943f28d5ba68b8c017b11b71cde64c5e4f2113', 'discrete'],
+ 'GeomSimAbstract': ['16248cd2a0d133029eb4b79d61397da008e4d5b5c3eaf0161a0a44148b0bc519', 'abstract'],
+ }
},
- 'docs': {
- 'MeshSim': ['f3c475072f270ff49ac2f6639ca1cddb0642889648cbea7df1a3f1b85f7cac36', 'base'],
- 'GeomSimVoxel': ['9f4ee5a8204fee1d899cb912e0379f8be7a826e81ca0a0d8a670a4b804ca1276', 'voxel'],
- 'MeshSimAdvanced': ['8c8bc3709238e600e8938c7c345588f8947d89eae98a228b0d0e3d46f5f4c0d9', 'adv'],
- 'GeomSimDiscreteModeling': ['4e8e26a88e8a5ad396a637597a52f5973d8f77abc0a5b99fa737caf37226d6cc', 'discrete'],
- 'GeomSimAdvanced': ['5efb38317d6be7862ce34024922ca372b30691a30af820474e2e26e4c3055278', 'advmodel'],
- 'GeomSimParasolid': ['6851bdaf6d96e7b2335fce3394825e9876800f0aba0a42644758dc1bd06f60fe', 'parasolid'],
- 'GeomSimImport': ['d931ecfc332460c825b473c0950c7ae8ff9f845e0d1565f85bfd7698da5e6d26', 'import'],
- 'ParallelMeshSim': ['0f0d235b25a660271e401488e412220f574b341dadb827f7b82f0e93172b5cdb', 'parallelmesh'],
- 'ParallelMeshSimAdapt': ['7964ebbd7e8d971ea85fc5260e44f7e876da5ad474dc67d8d6fc939bfa5ba454', 'paralleladapt'],
- 'GeomSimAcis': ['dea82efbc4e3043ecda163be792ef295057e08be17654a7783ce7ca5e786f950', 'acis'],
- 'MeshSimAdapt': ['ee4d5595572c1fe1a0d78bd9b85c774a55e994c48170450d6c5f34b05fcf2411', 'base'],
- 'FieldSim': ['6b09b4ab278911d3e9229fd4cd8dc92ba188f151d42d9d7b96d542aad2af1fac', 'base'],
- 'GeomSim': ['0673823d649998367c0e427055911eae971bb6e8c76625882e7a7901f4d18c44', 'base'],
- 'GeomSimDiscrete': ['58dfd33fc5cdd2ab24e9084377943f28d5ba68b8c017b11b71cde64c5e4f2113', 'discrete'],
- 'GeomSimAbstract': ['16248cd2a0d133029eb4b79d61397da008e4d5b5c3eaf0161a0a44148b0bc519', 'abstract'],
+ {
+ 'version': '12.0-191027',
+ 'components': {
+ 'gmadv': ['1a133523062974c4d9acb1d52baa3893dc891482aebaaeb79a7dc907461d5dbc', 'advmodel'],
+ 'fdcore': ['c3a89093f811cb489698d203dbe68ca910e6c67ea75c0a7aba73dd369508b9ec', 'base'],
+ 'mscore': ['a2f043278d45d8729020b663c66c57960fcec33dafd3d90db55f0a9e32723bce', 'base'],
+ 'msparallelmesh': ['2f6fd47d3c5c2f1ece4634985a522ac599d3cee20ad8a4623f252cc75aa32c4c', 'parallelmesh'],
+ 'msparalleladapt': ['8d288730b1300215a32f3b21624bd2e0e2d8a684fe928459757fcec7e0aeb7d3', 'paralleladapt'],
+ 'gmabstract': ['3b608f21e6c11db5bb48e49f9cd7e9d88aeec4feadebd778529a5c9d506d08c6', 'abstract'],
+ 'gmimport': ['fc1626c7b1522b90eaa3926e1253b84d28440c7df8634decdedb79b5229be800', 'import'],
+ 'discrete': ['a15ead08138f0c59c7ee46cd0d348d4f26e1b021d2580a134cf2b84a7337bcf9', 'discrete'],
+ 'aciskrnl': ['8773f00e08d237052c877e79d1a869214f59891e812d70df938b2a5e5423a96f', 'acis'],
+ 'msadv': ['41bdb9555ab9feb0891f0832a49fc29777d40957473f315e1c33e1c0077cba7d', 'adv'],
+ 'psint': ['b040ab48833eb2a748f757e2de6929f3002aa98db459ba92bd9a88e443e5cb07', 'parasolid'],
+ 'gmvoxel': ['19fba83c9c7eac20d9613236530fbae652dc8edef35233214f0f92b81c91a877', 'voxel'],
+ 'msadapt': ['1a752adb6724c3328fffb26f1aebed007d3c2a5df725cd29aa0cf0fdfda1f39a', 'base'],
+ 'gmcore': ['ec95bae84b36644e6e04cf0a6b4e813a51990d0a30519176ebb8a05f681af7f2', 'base'],
+ 'pskrnl': ['7b7b4952513e06c8c23aa8f7c1748f5c199d9af70ea06c4a359412237ed8ac1d', 'parasolid'],
+ },
+ 'docs': {
+ 'FieldSim': ['5109d91fe61ccdaf0af5aa869aea9c38ec98760746ec3983d100f870cbb1cb63', 'base'],
+ 'ParallelMeshSim': ['a1e6618a77022a9580beac4c698dd4b9aa70f617a27db9ce13ab1f2388475290', 'parallelmesh'],
+ 'GeomSimAcis': ['f0319b32eb417fa9b237575d9b2dc1c061848888c36fd4da97d97cdbb3cf19c3', 'acis'],
+ 'GeomSimAbstract': ['c44023e6944522057c47925db49089031c7de9b67938ca6a987e04fadfeda9b7', 'abstract'],
+ 'GeomSimDiscrete': ['ad648752fa7d2dc1ce234a612e28ce84eb1f064a1decadf17b42e9fe56967350', 'discrete'],
+ 'MeshSimAdapt': ['dcb7d6ec74c910b41b5ae707d9fd4664fcb3a0fdb2c876caaa28a6f1cf701024', 'base'],
+ 'MeshSim': ['e5a8cb300b1e13b9f2733bf8b738872ffb37d9df15836a6ab264483c10000696', 'base'],
+ 'GeomSimParasolid': ['2bf33cc5b3879716437d45fde0a02caaa165e37d248d05b4b00708e76573a15e', 'parasolid'],
+ 'GeomSimImport': ['5309433dcdce660e062412f070719eefcc6299764e9b0169533ff343c9c9c406', 'import'],
+ 'ParallelMeshSimAdapt': ['2e8e0ceede3107b85dba9536f3bbf5e6959793073a5147548cfb01ca568c8da2', 'paralleladapt'],
+ 'GeomSimDiscreteModeling': ['ff88ec234b890315cc36539e3f73f4f977dab94160860950e7b7ee0303c9b55e', 'discrete'],
+ 'GeomSim': ['62ae33372f999d5e62a1b7b161ddd7de04c055adc85cfd258e088c95b76d5fef', 'base'],
+ 'GeomSimVoxel': ['7a624ddaebd833077511acac3efd4b4c1dab09bd9feff40aba0813182eeb262f', 'voxel'],
+ 'GeomSimAdvanced': ['f0ab801ddf3d701a4ac3f8c47900cc858a4488eb0fe2f663504ba260cd270d20', 'advmodel'],
+ 'MeshSimAdvanced': ['bb532027e4fcc311a7c376383da010aed5ee133a9122b186a4e5c7d0cf1d976b', 'adv'],
+ }
}
- },
- {
- 'version': '12.0-191027',
- 'components': {
- 'gmadv': ['1a133523062974c4d9acb1d52baa3893dc891482aebaaeb79a7dc907461d5dbc', 'advmodel'],
- 'fdcore': ['c3a89093f811cb489698d203dbe68ca910e6c67ea75c0a7aba73dd369508b9ec', 'base'],
- 'mscore': ['a2f043278d45d8729020b663c66c57960fcec33dafd3d90db55f0a9e32723bce', 'base'],
- 'msparallelmesh': ['2f6fd47d3c5c2f1ece4634985a522ac599d3cee20ad8a4623f252cc75aa32c4c', 'parallelmesh'],
- 'msparalleladapt': ['8d288730b1300215a32f3b21624bd2e0e2d8a684fe928459757fcec7e0aeb7d3', 'paralleladapt'],
- 'gmabstract': ['3b608f21e6c11db5bb48e49f9cd7e9d88aeec4feadebd778529a5c9d506d08c6', 'abstract'],
- 'gmimport': ['fc1626c7b1522b90eaa3926e1253b84d28440c7df8634decdedb79b5229be800', 'import'],
- 'discrete': ['a15ead08138f0c59c7ee46cd0d348d4f26e1b021d2580a134cf2b84a7337bcf9', 'discrete'],
- 'aciskrnl': ['8773f00e08d237052c877e79d1a869214f59891e812d70df938b2a5e5423a96f', 'acis'],
- 'msadv': ['41bdb9555ab9feb0891f0832a49fc29777d40957473f315e1c33e1c0077cba7d', 'adv'],
- 'psint': ['b040ab48833eb2a748f757e2de6929f3002aa98db459ba92bd9a88e443e5cb07', 'parasolid'],
- 'gmvoxel': ['19fba83c9c7eac20d9613236530fbae652dc8edef35233214f0f92b81c91a877', 'voxel'],
- 'msadapt': ['1a752adb6724c3328fffb26f1aebed007d3c2a5df725cd29aa0cf0fdfda1f39a', 'base'],
- 'gmcore': ['ec95bae84b36644e6e04cf0a6b4e813a51990d0a30519176ebb8a05f681af7f2', 'base'],
- 'pskrnl': ['7b7b4952513e06c8c23aa8f7c1748f5c199d9af70ea06c4a359412237ed8ac1d', 'parasolid'],
- },
- 'docs': {
- 'FieldSim': ['5109d91fe61ccdaf0af5aa869aea9c38ec98760746ec3983d100f870cbb1cb63', 'base'],
- 'ParallelMeshSim': ['a1e6618a77022a9580beac4c698dd4b9aa70f617a27db9ce13ab1f2388475290', 'parallelmesh'],
- 'GeomSimAcis': ['f0319b32eb417fa9b237575d9b2dc1c061848888c36fd4da97d97cdbb3cf19c3', 'acis'],
- 'GeomSimAbstract': ['c44023e6944522057c47925db49089031c7de9b67938ca6a987e04fadfeda9b7', 'abstract'],
- 'GeomSimDiscrete': ['ad648752fa7d2dc1ce234a612e28ce84eb1f064a1decadf17b42e9fe56967350', 'discrete'],
- 'MeshSimAdapt': ['dcb7d6ec74c910b41b5ae707d9fd4664fcb3a0fdb2c876caaa28a6f1cf701024', 'base'],
- 'MeshSim': ['e5a8cb300b1e13b9f2733bf8b738872ffb37d9df15836a6ab264483c10000696', 'base'],
- 'GeomSimParasolid': ['2bf33cc5b3879716437d45fde0a02caaa165e37d248d05b4b00708e76573a15e', 'parasolid'],
- 'GeomSimImport': ['5309433dcdce660e062412f070719eefcc6299764e9b0169533ff343c9c9c406', 'import'],
- 'ParallelMeshSimAdapt': ['2e8e0ceede3107b85dba9536f3bbf5e6959793073a5147548cfb01ca568c8da2', 'paralleladapt'],
- 'GeomSimDiscreteModeling': ['ff88ec234b890315cc36539e3f73f4f977dab94160860950e7b7ee0303c9b55e', 'discrete'],
- 'GeomSim': ['62ae33372f999d5e62a1b7b161ddd7de04c055adc85cfd258e088c95b76d5fef', 'base'],
- 'GeomSimVoxel': ['7a624ddaebd833077511acac3efd4b4c1dab09bd9feff40aba0813182eeb262f', 'voxel'],
- 'GeomSimAdvanced': ['f0ab801ddf3d701a4ac3f8c47900cc858a4488eb0fe2f663504ba260cd270d20', 'advmodel'],
- 'MeshSimAdvanced': ['bb532027e4fcc311a7c376383da010aed5ee133a9122b186a4e5c7d0cf1d976b', 'adv'],
- }
- }
]
return releases
@@ -138,6 +138,7 @@ class SimmetrixSimmodsuite(Package):
"""
homepage = "http://www.simmetrix.com/products/SimulationModelingSuite/main.html"
+ manual_download = True
license_required = True
license_vars = ['SIM_LICENSE_FILE']
diff --git a/var/spack/repos/builtin/packages/simplemoc/package.py b/var/spack/repos/builtin/packages/simplemoc/package.py
index 0745910d9c..e522dabada 100644
--- a/var/spack/repos/builtin/packages/simplemoc/package.py
+++ b/var/spack/repos/builtin/packages/simplemoc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/simul/package.py b/var/spack/repos/builtin/packages/simul/package.py
index 90f5922403..3c22f1c195 100644
--- a/var/spack/repos/builtin/packages/simul/package.py
+++ b/var/spack/repos/builtin/packages/simul/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/simulationio/package.py b/var/spack/repos/builtin/packages/simulationio/package.py
index a6d45d1d93..81f0331571 100644
--- a/var/spack/repos/builtin/packages/simulationio/package.py
+++ b/var/spack/repos/builtin/packages/simulationio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/singularity-legacy/package.py b/var/spack/repos/builtin/packages/singularity-legacy/package.py
index d70eff6b10..638333e085 100644
--- a/var/spack/repos/builtin/packages/singularity-legacy/package.py
+++ b/var/spack/repos/builtin/packages/singularity-legacy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,10 +19,10 @@ class SingularityLegacy(AutotoolsPackage):
# Versions before 2.5.2 suffer from a serious security problem.
# https://nvd.nist.gov/vuln/detail/CVE-2018-12021
- version('2.6-release', branch='vault/2.6-release')
- version('2.6.1', sha256='f38d46a225e8368eb4693137806d2dc96e925a50bdf7f6983662848831041df2')
- version('2.6.0', sha256='7c425211a099f6fa6f74037e6e17be58fb5923b0bd11aea745e48ef83c488b49')
- version('2.5.2', sha256='eca09dbf4de5e971404a31f24d6c90081aef77075f51be8b3eb15b8715d6805e')
+ version('2.6-release', branch='vault/2.6-release', deprecated=True)
+ version('2.6.1', sha256='f38d46a225e8368eb4693137806d2dc96e925a50bdf7f6983662848831041df2', deprecated=True)
+ version('2.6.0', sha256='7c425211a099f6fa6f74037e6e17be58fb5923b0bd11aea745e48ef83c488b49', deprecated=True)
+ version('2.5.2', sha256='eca09dbf4de5e971404a31f24d6c90081aef77075f51be8b3eb15b8715d6805e', deprecated=True)
depends_on('libarchive', when='@2.5.2:')
# these are only needed if we're grabbing the unreleased tree
diff --git a/var/spack/repos/builtin/packages/singularity/package.py b/var/spack/repos/builtin/packages/singularity/package.py
index cf06bd20b2..145256d2d4 100644
--- a/var/spack/repos/builtin/packages/singularity/package.py
+++ b/var/spack/repos/builtin/packages/singularity/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -30,6 +30,7 @@ class Singularity(MakefilePackage):
maintainers = ['alalazo']
version('master', branch='master')
+ version('3.7.0', sha256='fb96aaf5f462a56a4a5bd2951287bcbbefe8cf543e228e4e955428f386a8d478')
version('3.6.4', sha256='71233a81d6bb4d686d8dc636b3e3e962a372f54001921c89a12b062cefd9e79f')
version('3.6.3', sha256='b1a985757a9907d8db0f102fc170a25387e715f7ff31957be964bf47914ea2fd')
version('3.6.2', sha256='dfd7ec7376ca0321c47787388fb3e781034edf99068f66efc36109e516024d9b')
@@ -47,7 +48,7 @@ class Singularity(MakefilePackage):
depends_on('pkgconfig', type='build')
depends_on('go')
- depends_on('libuuid')
+ depends_on('uuid')
depends_on('libgpg-error')
depends_on('libseccomp')
depends_on('squashfs', type='run')
diff --git a/var/spack/repos/builtin/packages/sio/package.py b/var/spack/repos/builtin/packages/sio/package.py
index 0bcffaad44..9c6ede1f53 100644
--- a/var/spack/repos/builtin/packages/sio/package.py
+++ b/var/spack/repos/builtin/packages/sio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,9 +19,28 @@ class Sio(CMakePackage):
maintainers = ['vvolkl', 'tmadlener']
version('master', branch='master')
+ version('0.0.4', sha256='72e96e6a1cc8dd3641d3e2bb9876e75bf6af8074e1617220da9e52df522ef5c0')
version('0.0.3', sha256='4c8b9c08480fb53cd10abb0e1260071a8c3f68d06a8acfd373f6560a916155cc')
version('0.0.2', sha256='e4cd2aeaeaa23c1da2c20c5c08a9b72a31b16b7a8f5aa6d480dcd561ef667657')
+ variant('builtin_zlib', default=True,
+ description='Use and statically link against a builtin version of zlib')
+ variant('cxxstd', default='17',
+ values=('11', '14', '17', '20'),
+ multi=False,
+ description='Use the specified C++ standard when building.')
+
+ depends_on('zlib', when='~builtin_zlib')
+
+ def cmake_args(self):
+ return [
+ self.define('CMAKE_CXX_STANDARD', self.spec.variants['cxxstd'].value),
+ # Examples are built this way, but if the examples are built they
+ # are also used for tests
+ self.define('SIO_EXAMPLES', self.run_tests),
+ self.define_from_variant('SIO_BUILTIN_ZLIB', 'builtin_zlib')
+ ]
+
def url_for_version(self, version):
"""Translate version numbers to ilcsoft conventions.
in spack, the convention is: 0.1 (or 0.1.0) 0.1.1, 0.2, 0.2.1 ...
diff --git a/var/spack/repos/builtin/packages/sionlib/for_aarch64.patch b/var/spack/repos/builtin/packages/sionlib/for_aarch64.patch
new file mode 100644
index 0000000000..19f1fe475f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/sionlib/for_aarch64.patch
@@ -0,0 +1,11 @@
+--- spack-src/mf/Makefile.defs.linux-gomp.bak 2019-11-20 20:03:44.000000000 +0900
++++ spack-src/mf/Makefile.defs.linux-gomp 2020-12-22 17:23:16.857881412 +0900
+@@ -11,7 +11,7 @@
+ # Platform Settings
+ #------------------------------------------------------------------------------
+ PREC = 64
+-PFLAG = -m$(PREC)
++PFLAG =
+ AFLAG =
+
+ PLAT = linux
diff --git a/var/spack/repos/builtin/packages/sionlib/package.py b/var/spack/repos/builtin/packages/sionlib/package.py
new file mode 100644
index 0000000000..52c83783bc
--- /dev/null
+++ b/var/spack/repos/builtin/packages/sionlib/package.py
@@ -0,0 +1,31 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+class Sionlib(AutotoolsPackage):
+ """Scalable I/O library for parallel access to task-local files"""
+
+ homepage = "https://www.fz-juelich.de/ias/jsc/EN/Expertise/Support/Software/SIONlib/_node.html"
+ url = "http://apps.fz-juelich.de/jsc/sionlib/download.php?version=1.7.6"
+
+ maintainers = ['pramodk']
+
+ version('1.7.6', sha256='e85253ed3cd17a3b1c124ccd704caea3ad3c200abfcca9cc0851cb14f5a60691', extension='tar.gz')
+
+ depends_on('mpi')
+ patch('for_aarch64.patch', when='target=aarch64:')
+
+ def configure_args(self):
+ args = []
+ spec = self.spec
+
+ if spec.satisfies('^intel-mpi'):
+ args.append('--mpi=intel2')
+ elif spec.satisfies('^mpich') or spec.satisfies('^mvapich2'):
+ args.append('--mpi=mpich2')
+ elif spec.satisfies('^openmpi'):
+ args.append('--mpi=openmpi')
+
+ return args
diff --git a/var/spack/repos/builtin/packages/sirius/package.py b/var/spack/repos/builtin/packages/sirius/package.py
index 26163fbcfa..66af3015c5 100644
--- a/var/spack/repos/builtin/packages/sirius/package.py
+++ b/var/spack/repos/builtin/packages/sirius/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/skilion-onedrive/package.py b/var/spack/repos/builtin/packages/skilion-onedrive/package.py
index 5349544227..fc5ad8d873 100644
--- a/var/spack/repos/builtin/packages/skilion-onedrive/package.py
+++ b/var/spack/repos/builtin/packages/skilion-onedrive/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/skopeo/package.py b/var/spack/repos/builtin/packages/skopeo/package.py
index 4f0372639c..637dd7d2ed 100644
--- a/var/spack/repos/builtin/packages/skopeo/package.py
+++ b/var/spack/repos/builtin/packages/skopeo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sl/package.py b/var/spack/repos/builtin/packages/sl/package.py
index 2b3e9bb16a..4a8c2410ed 100644
--- a/var/spack/repos/builtin/packages/sl/package.py
+++ b/var/spack/repos/builtin/packages/sl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/slang/package.py b/var/spack/repos/builtin/packages/slang/package.py
index c3ba78103d..2f2ab10dc5 100644
--- a/var/spack/repos/builtin/packages/slang/package.py
+++ b/var/spack/repos/builtin/packages/slang/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/slate/package.py b/var/spack/repos/builtin/packages/slate/package.py
index 730322ec52..ec522e0e55 100644
--- a/var/spack/repos/builtin/packages/slate/package.py
+++ b/var/spack/repos/builtin/packages/slate/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sleef/package.py b/var/spack/repos/builtin/packages/sleef/package.py
index 4573e8f196..854e067e3e 100644
--- a/var/spack/repos/builtin/packages/sleef/package.py
+++ b/var/spack/repos/builtin/packages/sleef/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/slepc/package.py b/var/spack/repos/builtin/packages/slepc/package.py
index 47223be224..b5c3b5e31f 100644
--- a/var/spack/repos/builtin/packages/slepc/package.py
+++ b/var/spack/repos/builtin/packages/slepc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,6 +18,8 @@ class Slepc(Package):
maintainers = ['joseeroman', 'balay']
version('master', branch='master')
+ version('3.14.2', sha256='3e54578dda1f4c54d35ac27d02f70a43f6837906cb7604dbcec0e033cfb264c8')
+ version('3.14.1', sha256='cc78a15e34d26b3e6dde003d4a30064e595225f6185c1975bbd460cb5edd99c7')
version('3.14.0', sha256='37f8bb270169d1d3f5d43756ac8929d56204e596bd7a78a7daff707513472e46')
version('3.13.4', sha256='ddc9d58e1a4413218f4e67ea3b255b330bd389d67f394403a27caedf45afa496')
version('3.13.3', sha256='23d179c22b4b2f22d29fa0ac0a62f5355a964d3bc245a667e9332347c5aa8f81')
@@ -52,7 +54,7 @@ class Slepc(Package):
depends_on('python@2.6:2.8,3.4:', type='build', when='@3.11:')
# Cannot mix release and development versions of SLEPc and PETSc:
- depends_on('petsc@develop', when='@develop')
+ depends_on('petsc@develop', when='@master')
depends_on('petsc@3.14:3.14.99', when='@3.14:3.14.99')
depends_on('petsc@3.13:3.13.99', when='@3.13:3.13.99')
depends_on('petsc@3.12:3.12.99', when='@3.12:3.12.99')
@@ -95,7 +97,7 @@ class Slepc(Package):
if '+arpack' in spec:
options.extend([
- '--with-arpack-dir=%s' % spec['arpack-ng'].prefix.lib,
+ '--with-arpack-dir=%s' % spec['arpack-ng'].prefix,
])
if spec.satisfies('@:3.12.99'):
arpackopt = '--with-arpack-flags'
@@ -124,6 +126,10 @@ class Slepc(Package):
make('install', parallel=False)
+ def setup_run_environment(self, env):
+ # set SLEPC_DIR in the module file
+ env.set('SLEPC_DIR', self.prefix)
+
def setup_dependent_build_environment(self, env, dependent_spec):
# set up SLEPC_DIR for everyone using SLEPc package
env.set('SLEPC_DIR', self.prefix)
diff --git a/var/spack/repos/builtin/packages/slf4j/package.py b/var/spack/repos/builtin/packages/slf4j/package.py
index 0dc6fa40b1..5eeec60958 100644
--- a/var/spack/repos/builtin/packages/slf4j/package.py
+++ b/var/spack/repos/builtin/packages/slf4j/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/slider/package.py b/var/spack/repos/builtin/packages/slider/package.py
index 18695a3151..f64debcce1 100644
--- a/var/spack/repos/builtin/packages/slider/package.py
+++ b/var/spack/repos/builtin/packages/slider/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sloccount/package.py b/var/spack/repos/builtin/packages/sloccount/package.py
index c580a043d1..5beda2a1de 100644
--- a/var/spack/repos/builtin/packages/sloccount/package.py
+++ b/var/spack/repos/builtin/packages/sloccount/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/slurm/package.py b/var/spack/repos/builtin/packages/slurm/package.py
index de89d80544..83f9b435c9 100644
--- a/var/spack/repos/builtin/packages/slurm/package.py
+++ b/var/spack/repos/builtin/packages/slurm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -24,6 +24,7 @@ class Slurm(AutotoolsPackage):
homepage = 'https://slurm.schedmd.com'
url = 'https://github.com/SchedMD/slurm/archive/slurm-19-05-6-1.tar.gz'
+ version('20-11-0-1', sha256='404f72c287c5aad887a5b141304e4962548c12f79b04fc9c88550bc024604228')
version('20-02-4-1', sha256='d32a39df20a99430973de6692870269f38443d8b963c32b4d6475c9d5e92cd73')
version('19-05-6-1', sha256='1b83bce4260af06d644253b1f2ec2979b80b4418c631e9c9f48c2729ae2c95ba')
version('19-05-5-1', sha256='e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07')
diff --git a/var/spack/repos/builtin/packages/smalt/package.py b/var/spack/repos/builtin/packages/smalt/package.py
index 47d5c99329..8998620d92 100644
--- a/var/spack/repos/builtin/packages/smalt/package.py
+++ b/var/spack/repos/builtin/packages/smalt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/smartdenovo/aarch64.patch b/var/spack/repos/builtin/packages/smartdenovo/aarch64.patch
index 998c9b2cdf..f734dee41b 100644
--- a/var/spack/repos/builtin/packages/smartdenovo/aarch64.patch
+++ b/var/spack/repos/builtin/packages/smartdenovo/aarch64.patch
@@ -23,7 +23,7 @@ index 15dd0f2..22641ed 100644
#include <stdlib.h>
#include <stdint.h>
-#include <emmintrin.h>
-+#include "SSE2NEON.h"
++#include "sse2neon.h"
#include "ksw.h"
#ifdef USE_MALLOC_WRAPPERS
diff --git a/var/spack/repos/builtin/packages/smartdenovo/package.py b/var/spack/repos/builtin/packages/smartdenovo/package.py
index 48109ea9e4..8c1096e681 100644
--- a/var/spack/repos/builtin/packages/smartdenovo/package.py
+++ b/var/spack/repos/builtin/packages/smartdenovo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/smartmontools/package.py b/var/spack/repos/builtin/packages/smartmontools/package.py
index a3c555bd1a..69fc9434c1 100644
--- a/var/spack/repos/builtin/packages/smartmontools/package.py
+++ b/var/spack/repos/builtin/packages/smartmontools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/smof/package.py b/var/spack/repos/builtin/packages/smof/package.py
index 41d41aeac0..7e106fc41e 100644
--- a/var/spack/repos/builtin/packages/smof/package.py
+++ b/var/spack/repos/builtin/packages/smof/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/smproxy/package.py b/var/spack/repos/builtin/packages/smproxy/package.py
index 5e05f134e5..c487121c06 100644
--- a/var/spack/repos/builtin/packages/smproxy/package.py
+++ b/var/spack/repos/builtin/packages/smproxy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/snakemake/package.py b/var/spack/repos/builtin/packages/snakemake/package.py
index 2b670192b0..8e8fbb7756 100644
--- a/var/spack/repos/builtin/packages/snakemake/package.py
+++ b/var/spack/repos/builtin/packages/snakemake/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -10,7 +10,7 @@ class Snakemake(PythonPackage):
"""Snakemake is an MIT-licensed workflow management system."""
homepage = "https://snakemake.readthedocs.io/en/stable/"
- url = "https://pypi.io/packages/source/s/snakemake/snakemake-3.11.2.tar.gz"
+ pypi = "snakemake/snakemake-3.11.2.tar.gz"
version('3.11.2', sha256='f7a3b586bc2195f2dce4a4817b7ec828b6d2a0cff74a04e0f7566dcd923f9761')
diff --git a/var/spack/repos/builtin/packages/snap-berkeley/package.py b/var/spack/repos/builtin/packages/snap-berkeley/package.py
index de9928e0c3..7cf465a4ca 100644
--- a/var/spack/repos/builtin/packages/snap-berkeley/package.py
+++ b/var/spack/repos/builtin/packages/snap-berkeley/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/snap-korf/package.py b/var/spack/repos/builtin/packages/snap-korf/package.py
index dc10171052..511c9895dc 100644
--- a/var/spack/repos/builtin/packages/snap-korf/package.py
+++ b/var/spack/repos/builtin/packages/snap-korf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/snap/package.py b/var/spack/repos/builtin/packages/snap/package.py
index 3815d3ac64..eee20dab51 100644
--- a/var/spack/repos/builtin/packages/snap/package.py
+++ b/var/spack/repos/builtin/packages/snap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/snappy/package.py b/var/spack/repos/builtin/packages/snappy/package.py
index 2e0154aa6f..053aa4a9be 100644
--- a/var/spack/repos/builtin/packages/snappy/package.py
+++ b/var/spack/repos/builtin/packages/snappy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/snbone/package.py b/var/spack/repos/builtin/packages/snbone/package.py
index a349593b5a..835634a8f0 100644
--- a/var/spack/repos/builtin/packages/snbone/package.py
+++ b/var/spack/repos/builtin/packages/snbone/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sniffles/package.py b/var/spack/repos/builtin/packages/sniffles/package.py
index fafa8a1f9d..806d4835f9 100644
--- a/var/spack/repos/builtin/packages/sniffles/package.py
+++ b/var/spack/repos/builtin/packages/sniffles/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/snpeff/package.py b/var/spack/repos/builtin/packages/snpeff/package.py
index b8f23c5b68..7544d504b9 100644
--- a/var/spack/repos/builtin/packages/snpeff/package.py
+++ b/var/spack/repos/builtin/packages/snpeff/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/snphylo/package.py b/var/spack/repos/builtin/packages/snphylo/package.py
index 04eaf44d0e..e06bf65911 100644
--- a/var/spack/repos/builtin/packages/snphylo/package.py
+++ b/var/spack/repos/builtin/packages/snphylo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/snptest/package.py b/var/spack/repos/builtin/packages/snptest/package.py
index eb47242a29..062f9bc067 100644
--- a/var/spack/repos/builtin/packages/snptest/package.py
+++ b/var/spack/repos/builtin/packages/snptest/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/soapdenovo-trans/package.py b/var/spack/repos/builtin/packages/soapdenovo-trans/package.py
index 88c4cff038..6c76590c31 100644
--- a/var/spack/repos/builtin/packages/soapdenovo-trans/package.py
+++ b/var/spack/repos/builtin/packages/soapdenovo-trans/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/soapdenovo2/package.py b/var/spack/repos/builtin/packages/soapdenovo2/package.py
index 1045ba56a7..82e0172ab0 100644
--- a/var/spack/repos/builtin/packages/soapdenovo2/package.py
+++ b/var/spack/repos/builtin/packages/soapdenovo2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/soci/package.py b/var/spack/repos/builtin/packages/soci/package.py
index 2c8bae12c5..0d960942b9 100644
--- a/var/spack/repos/builtin/packages/soci/package.py
+++ b/var/spack/repos/builtin/packages/soci/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sofa-c/package.py b/var/spack/repos/builtin/packages/sofa-c/package.py
index f953033781..2b53d41274 100644
--- a/var/spack/repos/builtin/packages/sofa-c/package.py
+++ b/var/spack/repos/builtin/packages/sofa-c/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sollve/package.py b/var/spack/repos/builtin/packages/sollve/package.py
index c50eb85d7f..93462b031c 100644
--- a/var/spack/repos/builtin/packages/sollve/package.py
+++ b/var/spack/repos/builtin/packages/sollve/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -72,7 +72,7 @@ class Sollve(CMakePackage):
depends_on('binutils+gold', when='+gold')
# develop version.
- version("develop")
+ version("develop", deprecated=True)
resource(name='compiler-rt',
svn='http://llvm.org/svn/llvm-project/compiler-rt/trunk',
destination='projects', when='@develop+compiler-rt',
@@ -99,7 +99,8 @@ class Sollve(CMakePackage):
placement='libunwind')
# 1.0a2 based on LLVM 9.0+
- version("1.0a2", commit="cb4343bda9e57076a74dee23236ac9737e07594f")
+ version("1.0a2", commit="cb4343bda9e57076a74dee23236ac9737e07594f",
+ deprecated=True)
resource(name='compiler-rt',
svn='https://llvm.org/svn/llvm-project/compiler-rt/trunk',
revision=373130, destination='projects',
diff --git a/var/spack/repos/builtin/packages/sollya/package.py b/var/spack/repos/builtin/packages/sollya/package.py
new file mode 100644
index 0000000000..6d3fdad7de
--- /dev/null
+++ b/var/spack/repos/builtin/packages/sollya/package.py
@@ -0,0 +1,33 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Sollya(AutotoolsPackage):
+ """Sollya is both a tool environment and a library for safe floating-point code
+ development. It is particularily targeted to the automatized implementation of
+ mathematical floating-point libraries (libm). Amongst other features, it offers
+ a certified infinity (supremum) norm and a fast Remez algorithm."""
+
+ homepage = "https://www.sollya.org"
+ url = "https://www.sollya.org/releases/sollya-7.0/sollya-7.0.tar.bz2"
+
+ version('7.0', sha256='15745871f7dd3e96e12915098dd6df2078b815853a38143b2bc6c01477044984')
+
+ depends_on('gmp')
+ depends_on('mpfi')
+ depends_on('mpfr')
+ depends_on('libxml2')
+ depends_on('fplll')
+
+ def configure_args(self):
+ args = ['--with-gmp=' + self.spec['gmp'].prefix,
+ '--with-mpfr=' + self.spec['mpfr'].prefix,
+ '--with-mpfi=' + self.spec['mpfi'].prefix,
+ '--with-xml2=' + self.spec['libxml2'].prefix,
+ '--with-fplll=' + self.spec['fplll'].prefix
+ ]
+ return args
diff --git a/var/spack/repos/builtin/packages/solr/package.py b/var/spack/repos/builtin/packages/solr/package.py
index 84158c2ae4..16ef667bdd 100644
--- a/var/spack/repos/builtin/packages/solr/package.py
+++ b/var/spack/repos/builtin/packages/solr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,6 +17,8 @@ class Solr(Package):
list_url = "https://archive.apache.org/dist/lucene/solr"
list_depth = 1
+ depends_on('java', type='run')
+
version('8.6.0', sha256='4519ccdb531619df770f1065db6adcedc052c7aa94b42806d541966550956aa5')
version('8.5.2', sha256='c457d6c7243241cad141e1df34c6f669d58a6c60e537f4217d032616dd066dcf')
version('8.5.1', sha256='47b68073b37bbcc0517a355ef722f20827c3f1416537ebbccf5239dda8064a0b')
diff --git a/var/spack/repos/builtin/packages/somatic-sniper/package.py b/var/spack/repos/builtin/packages/somatic-sniper/package.py
index 792c8551cb..adabe87392 100644
--- a/var/spack/repos/builtin/packages/somatic-sniper/package.py
+++ b/var/spack/repos/builtin/packages/somatic-sniper/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sonlib/package.py b/var/spack/repos/builtin/packages/sonlib/package.py
index c071e8a7b0..c5d1a65ef4 100644
--- a/var/spack/repos/builtin/packages/sonlib/package.py
+++ b/var/spack/repos/builtin/packages/sonlib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sortmerna/for_aarch64.patch b/var/spack/repos/builtin/packages/sortmerna/for_aarch64.patch
new file mode 100644
index 0000000000..a1a279a1de
--- /dev/null
+++ b/var/spack/repos/builtin/packages/sortmerna/for_aarch64.patch
@@ -0,0 +1,22 @@
+--- spack-src/src/sortmerna/ssw.c.bak 2021-01-15 15:52:23.000000000 +0900
++++ spack-src/src/sortmerna/ssw.c 2021-01-15 16:20:53.863003152 +0900
+@@ -42,7 +42,7 @@
+ * July 10, 2013
+ */
+
+-#include <emmintrin.h>
++#include <sse2neon.h>
+ #include <stdint.h>
+ #include <stdlib.h>
+ #include <stdio.h>
+--- spack-src/include/ssw.h.bak 2021-01-15 15:52:22.000000000 +0900
++++ spack-src/include/ssw.h 2021-01-15 16:16:51.383025096 +0900
+@@ -21,7 +21,7 @@
+ #include <stdio.h>
+ #include <stdint.h>
+ #include <string.h>
+-#include <emmintrin.h>
++#include <sse2neon.h>
+
+ extern const char map_nt[122];
+ /*! @typedef structure of the query profile */
diff --git a/var/spack/repos/builtin/packages/sortmerna/package.py b/var/spack/repos/builtin/packages/sortmerna/package.py
index 3369f9b3a8..a5537da9b2 100644
--- a/var/spack/repos/builtin/packages/sortmerna/package.py
+++ b/var/spack/repos/builtin/packages/sortmerna/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,10 +16,13 @@ class Sortmerna(CMakePackage):
version('2017-07-13', commit='8bde6fa113a5d99a23ae81b48eeea6760e966094')
depends_on('zlib')
+ depends_on('sse2neon', when='target=aarch64:')
+
+ patch('for_aarch64.patch', when='target=aarch64:')
def install(self, spec, prefix):
mkdirp(prefix.bin)
- with working_dir(join_path('spack-build', 'src', 'indexdb')):
+ with working_dir(join_path(self.build_directory, 'src', 'indexdb')):
install('indexdb', prefix.bin)
- with working_dir(join_path('spack-build', 'src', 'sortmerna')):
+ with working_dir(join_path(self.build_directory, 'src', 'sortmerna')):
install('sortmerna', prefix.bin)
diff --git a/var/spack/repos/builtin/packages/sosflow/package.py b/var/spack/repos/builtin/packages/sosflow/package.py
index 161eed24dc..450034a351 100644
--- a/var/spack/repos/builtin/packages/sosflow/package.py
+++ b/var/spack/repos/builtin/packages/sosflow/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/source-highlight/package.py b/var/spack/repos/builtin/packages/source-highlight/package.py
index 67d3b36881..addb69cfed 100644
--- a/var/spack/repos/builtin/packages/source-highlight/package.py
+++ b/var/spack/repos/builtin/packages/source-highlight/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sowing/package.py b/var/spack/repos/builtin/packages/sowing/package.py
index 8039dcb5b4..55dbb3017f 100644
--- a/var/spack/repos/builtin/packages/sowing/package.py
+++ b/var/spack/repos/builtin/packages/sowing/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sox/package.py b/var/spack/repos/builtin/packages/sox/package.py
index db936cf60f..edd3ae1ead 100644
--- a/var/spack/repos/builtin/packages/sox/package.py
+++ b/var/spack/repos/builtin/packages/sox/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/spades/package.py b/var/spack/repos/builtin/packages/spades/package.py
index 47c0fcbcfd..9c535b2be1 100644
--- a/var/spack/repos/builtin/packages/spades/package.py
+++ b/var/spack/repos/builtin/packages/spades/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,8 +11,9 @@ class Spades(CMakePackage):
standard isolates and single-cell MDA bacteria assemblies."""
homepage = "http://cab.spbu.ru/software/spades/"
- url = "http://cab.spbu.ru/files/release3.10.1/SPAdes-3.10.1.tar.gz"
+ url = "https://github.com/ablab/spades/releases/download/v3.15.0/SPAdes-3.15.0.tar.gz"
+ version('3.15.0', sha256='6719489fa4bed6dd96d78bdd4001a30806d5469170289085836711d1ffb8b28b')
version('3.14.1', sha256='d629b78f7e74c82534ac20f5b3c2eb367f245e6840a67b9ef6a76f6fac5323ca')
version('3.13.0', sha256='c63442248c4c712603979fa70503c2bff82354f005acda2abc42dd5598427040')
version('3.12.0', sha256='15b48a3bcbbe6a8ad58fd04ba5d3f1015990fbfd9bdf4913042803b171853ac7')
diff --git a/var/spack/repos/builtin/packages/span-lite/package.py b/var/spack/repos/builtin/packages/span-lite/package.py
index ea22806822..c433640fd7 100644
--- a/var/spack/repos/builtin/packages/span-lite/package.py
+++ b/var/spack/repos/builtin/packages/span-lite/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/spark/package.py b/var/spack/repos/builtin/packages/spark/package.py
index 7458a82068..a545d14448 100644
--- a/var/spack/repos/builtin/packages/spark/package.py
+++ b/var/spack/repos/builtin/packages/spark/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sparse/package.py b/var/spack/repos/builtin/packages/sparse/package.py
index b6db13039b..049a087e9a 100644
--- a/var/spack/repos/builtin/packages/sparse/package.py
+++ b/var/spack/repos/builtin/packages/sparse/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sparsehash/package.py b/var/spack/repos/builtin/packages/sparsehash/package.py
index 0591029f36..88862a9b0e 100644
--- a/var/spack/repos/builtin/packages/sparsehash/package.py
+++ b/var/spack/repos/builtin/packages/sparsehash/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sparta/package.py b/var/spack/repos/builtin/packages/sparta/package.py
index ab1460aae4..c03d5fe96c 100644
--- a/var/spack/repos/builtin/packages/sparta/package.py
+++ b/var/spack/repos/builtin/packages/sparta/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/spath/package.py b/var/spack/repos/builtin/packages/spath/package.py
index 5ccd259f48..c81d01bc4a 100644
--- a/var/spack/repos/builtin/packages/spath/package.py
+++ b/var/spack/repos/builtin/packages/spath/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/spdlog/package.py b/var/spack/repos/builtin/packages/spdlog/package.py
index 15a0cc1d9d..a52096bd99 100644
--- a/var/spack/repos/builtin/packages/spdlog/package.py
+++ b/var/spack/repos/builtin/packages/spdlog/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,6 +12,11 @@ class Spdlog(CMakePackage):
homepage = "https://github.com/gabime/spdlog"
url = "https://github.com/gabime/spdlog/archive/v0.9.0.tar.gz"
+ version('1.8.1', sha256='5197b3147cfcfaa67dd564db7b878e4a4b3d9f3443801722b3915cdeced656cb')
+ version('1.8.0', sha256='1e68e9b40cf63bb022a4b18cdc1c9d88eb5d97e4fd64fa981950a9cacf57a4bf')
+ version('1.7.0', sha256='f0114a4d3c88be9e696762f37a7c379619443ce9d668546c61b21d41affe5b62')
+ version('1.6.1', sha256='378a040d91f787aec96d269b0c39189f58a6b852e4cbf9150ccfacbe85ebbbfc')
+ version('1.6.0', sha256='0421667c9f2fc78e6548d44f7bc5921be0f03e612df384294c16cedb93d967f8')
version('1.5.0', sha256='b38e0bbef7faac2b82fed550a0c19b0d4e7f6737d5321d4fd8f216b80f8aee8a')
version('1.4.2', sha256='821c85b120ad15d87ca2bc44185fa9091409777c756029125a02f81354072157')
version('1.4.1', sha256='3291958eb54ed942d1bd3aef1b4f8ccf70566cbc04d34296ec61eb96ceb73cff')
diff --git a/var/spack/repos/builtin/packages/specfem3d-globe/gcc_rm_werror.patch b/var/spack/repos/builtin/packages/specfem3d-globe/gcc_rm_werror.patch
new file mode 100644
index 0000000000..f53c4661b7
--- /dev/null
+++ b/var/spack/repos/builtin/packages/specfem3d-globe/gcc_rm_werror.patch
@@ -0,0 +1,11 @@
+--- spack-src/flags.guess.org 2021-01-07 14:37:33.000000000 +0900
++++ spack-src/flags.guess 2021-01-07 14:38:07.000000000 +0900
+@@ -115,7 +115,7 @@
+ # with some versions of gfortran/gcc you make get errors about unused functions when compiling with the options below;
+ # if so, either change -Wunused to -Wunused -Werror=no-unused-function, or remove -Wunused, or remove -Werror
+ #
+- DEF_FFLAGS="-std=gnu -fimplicit-none -frange-check -fmax-errors=10 -pedantic -pedantic-errors -Waliasing -Wampersand -Wcharacter-truncation -Wline-truncation -Wsurprising -Wno-tabs -Wunderflow -ffpe-trap=invalid,zero,overflow -Wunused -Werror" # -mcmodel=medium
++ DEF_FFLAGS="-std=gnu -fimplicit-none -frange-check -fmax-errors=10 -pedantic -pedantic-errors -Waliasing -Wampersand -Wcharacter-truncation -Wline-truncation -Wsurprising -Wno-tabs -Wunderflow -ffpe-trap=invalid,zero,overflow -Wunused" # -mcmodel=medium
+ OPT_FFLAGS="-O3 -finline-functions"
+ DEBUG_FFLAGS="-g -O0 -ggdb -fbacktrace -fbounds-check"
+ # useful to track loss of accuracy because of automatic double to single precision conversion: -Wconversion (this may generate many warnings...)
diff --git a/var/spack/repos/builtin/packages/specfem3d-globe/package.py b/var/spack/repos/builtin/packages/specfem3d-globe/package.py
new file mode 100644
index 0000000000..e331a2e8c8
--- /dev/null
+++ b/var/spack/repos/builtin/packages/specfem3d-globe/package.py
@@ -0,0 +1,63 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Specfem3dGlobe(AutotoolsPackage, CudaPackage):
+ """Program specfem3D from SPECFEM3D_GLOBE is
+ a 3-D spectral-element solver for the Earth.
+ It uses a mesh generated by program meshfem3D."""
+
+ homepage = "https://github.com/geodynamics/specfem3d_globe"
+ url = "https://github.com/geodynamics/specfem3d_globe/archive/v7.0.2.tar.gz"
+
+ version('7.0.2', sha256='78b4cfbe4e5121927ab82a8c2e821b65cdfff3e94d017303bf21af7805186d9b')
+
+ variant('opencl', default=False,
+ description="Build with OpenCL code generator")
+ variant('openmp', default=True,
+ description="Build with OpenMP code generator")
+ variant('double-precision', default=False,
+ description="Treat REAL as double precision")
+
+ depends_on('mpi')
+ depends_on('opencl', when='+opencl')
+
+ # When building with the gcc compiler,'Werror' is added to FFLAGS.
+ # In the case of using the gcc compiler and the default simulation
+ # settings, there is the process which always causes
+ # array out-of-bounds reference error.
+ # This issue will be fixed in version 8.0.0,
+ # so, remove '-Werror' when building with gcc compiler
+ # in versions up to 7.0.2 of specfem3d-globe.
+ # https://github.com/geodynamics/specfem3d_globe/issues/717
+ patch('gcc_rm_werror.patch', when='@:7.0.2%gcc')
+
+ def configure_args(self):
+ args = []
+
+ if '+cuda' in self.spec:
+ args.append('--with-cuda')
+ args.append('CUDA_LIB={0}'
+ .format(spec['cuda'].libs.directories[0]))
+ args.append('CUDA_INC={0}'
+ .format(spec['cuda'].prefix.include))
+ args.append('MPI_INC={0}'
+ .format(spec['mpi'].prefix.include))
+ if '+opencl' in self.spec:
+ args.append('--with-opencl')
+ args.append('OCL_LIB={0}'
+ .format(spec['opencl'].libs.directories[0]))
+ args.append('OCL_INC={0}'
+ .format(spec['opencl'].prefix.include))
+
+ args.extend(self.enable_or_disable('openmp'))
+ args.extend(self.enable_or_disable('double-precision'))
+
+ return args
+
+ def install(self, spec, prefix):
+ install_tree('.', prefix)
diff --git a/var/spack/repos/builtin/packages/spectrum-mpi/package.py b/var/spack/repos/builtin/packages/spectrum-mpi/package.py
index 4efd7a0dd9..b1e03f1593 100644
--- a/var/spack/repos/builtin/packages/spectrum-mpi/package.py
+++ b/var/spack/repos/builtin/packages/spectrum-mpi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/speex/package.py b/var/spack/repos/builtin/packages/speex/package.py
index 734d811f7f..3b5608b7f4 100644
--- a/var/spack/repos/builtin/packages/speex/package.py
+++ b/var/spack/repos/builtin/packages/speex/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/speexdsp/package.py b/var/spack/repos/builtin/packages/speexdsp/package.py
index 1031bb5eb7..3f47ee17e2 100644
--- a/var/spack/repos/builtin/packages/speexdsp/package.py
+++ b/var/spack/repos/builtin/packages/speexdsp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/spfft/package.py b/var/spack/repos/builtin/packages/spfft/package.py
index 2068f46537..d5a54624d5 100644
--- a/var/spack/repos/builtin/packages/spfft/package.py
+++ b/var/spack/repos/builtin/packages/spfft/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,6 +17,8 @@ class Spfft(CMakePackage, CudaPackage):
version('develop', branch='develop')
version('master', branch='master')
+ version('1.0.1', sha256='f8ab706309776cfbd2bfd8e29a6a9ffb5c8f3cd62399bf82db1e416ae5c490c8')
+ version('1.0.0', sha256='bd98897aa6734563ec63cd84168e731ef2e2bbc01a574c6dc59b74475742b6ee')
version('0.9.13', sha256='5ccc93c9362bec14cfb6e31dd0e7ae7e48db0453ab49ebc9722041b69db759ef')
version('0.9.12', sha256='1f7bf5164dcceb0e3bbce7d6ff9faef3145ad17cf3430149d40a98c43c010acc')
version('0.9.11', sha256='36542a60378e8672654188dee006975ef9e10f502791459ff7ebf4b38451cb9b')
@@ -55,27 +57,30 @@ class Spfft(CMakePackage, CudaPackage):
def cmake_args(self):
spec = self.spec
- args = []
- if spec.satisfies('+openmp'):
- args += ["-DSPFFT_OMP=On"]
- if spec.satisfies('+mpi'):
- args += ["-DSPFFT_MPI=On"]
- if spec.satisfies('+single_precision'):
- args += ["-DSPFFT_SINGLE_PRECISION=On"]
- if spec.satisfies('+gpu_direct'):
- args += ["-DSPFFT_GPU_DIRECT=On"]
+ args = [
+ self.define_from_variant('SPFFT_OMP', 'openmp'),
+ self.define_from_variant('SPFFT_MPI', 'mpi'),
+ self.define_from_variant('SPFFT_SINGLE_PRECISION', 'single_precision'),
+ self.define_from_variant('SPFFT_GPU_DIRECT', 'gpu_direct'),
+ self.define_from_variant('SPFFT_FORTRAN', 'fortran'),
+ self.define_from_variant('SPFFT_STATIC', 'static')
+ ]
+
if spec.satisfies('+cuda'):
args += ["-DSPFFT_GPU_BACKEND=CUDA"]
+
if spec.satisfies('+rocm'):
archs = ",".join(self.spec.variants['amdgpu_target'].value)
args += [
'-DSPFFT_GPU_BACKEND=ROCM',
'-DHIP_ROOT_DIR={0}'.format(spec['hip'].prefix),
- '-DHIP_HCC_FLAGS=--amdgpu-target={0}'.format(archs)
+ '-DHIP_HCC_FLAGS=--amdgpu-target={0}'.format(archs),
+ '-DHIP_CXX_COMPILER={0}'.format(self.spec['hip'].hipcc)
]
- if spec.satisfies('+fortran'):
- args += ["-DSPFFT_FORTAN=On"]
- if spec.satisfies('+static'):
- args += ["-DSPFFT_STATIC=On"]
+
+ if 'fftw' in spec:
+ args += ["-DSPFFT_FFTW_LIB=FFTW"]
+ elif 'intel-mkl' in spec:
+ args += ["-DSPFFT_FFTW_LIB=MKL"]
return args
diff --git a/var/spack/repos/builtin/packages/spglib/package.py b/var/spack/repos/builtin/packages/spglib/package.py
index dff137ef03..585def1724 100644
--- a/var/spack/repos/builtin/packages/spglib/package.py
+++ b/var/spack/repos/builtin/packages/spglib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,8 +16,26 @@ class Spglib(CMakePackage):
# patch by Krishnendu Ghosh
patch('fix_cpp.patch', when='@:1.10.3')
- version('1.10.3', sha256='43776b5fb220b746d53c1aa39d0230f304687ec05984671392bccaf850d9d696')
- version('1.10.0', sha256='117fff308731784bea2ddaf3d076f0ecbf3981b31ea1c1bfd5ce4f057a5325b1')
+ version('1.16.1', sha256='e90682239e4ef63b492fa4e44f7dbcde2e2fe2e688579d96b01f2730dfdf5b2e')
+ version('1.16.0', sha256='969311a2942fef77ee79ac9faab089b68e256f21713194969197e7f2bdb14772')
+ version('1.15.1', sha256='b6dc2c8adcc7d0edee7a076e765c28b2941b2aeba590d213a0b4893c8af0c026')
+ version('1.15.0', sha256='2e217beff6840a22ab2149598eb2f40616b2eeb9e155edab52761d3301412f98')
+ version('1.14.1', sha256='9803b0648d9c2d99377f3e1c4cecf712320488403cd674192ec5cbe956bb3c78')
+ version('1.14.0', sha256='0a5e518c3dc221386d2219cbd260d08b032b0d2a31bccc32e1a8cb7874e7e9e9')
+ version('1.13.0', sha256='ed72ae7bdd129487c45ff7bebb8e2ac03074657060e068b015e7741c0271e16b')
+ version('1.12.2', sha256='d92f5e4fa0f54cc0abd0209b81c4d5c647dae9d25b774c2296f44b8558b17976')
+ version('1.12.1', sha256='1765e68982425de6d30029d50d200f20425b8ed1deff52b8e73a4a1457ac9ab6')
+ version('1.12.0', sha256='79361ef230b4fd55d5eb7521c23430acc3f11ab527125dc324ffb315783ebdfa')
+ version('1.11.2.1', sha256='f6795523a04871e012e7f5f5ab97b249fa36657b73cdc9b4ea53ef023cfcaac4')
+ version('1.11.2', sha256='aae61218dd0cca1fda245d4ad906c2eed5e8d30e28b575d74eab9a6be26bbd5d')
+ version('1.11.1.2', sha256='d99dab24accd269df65c01febd05cb5dd1094a89d7279f8390871f0432df2b56')
+ version('1.11.1', sha256='3b5a859f3fe2c9b096fc0754ffbd9341c568bc8003d2eeb74c958c1cacb480f5')
+ version('1.11.0', sha256='e4befe27473a69b7982597760d6838cc48d9ef7b624a439436a17f5487f78f51')
+ version('1.10.4', sha256='6a15a324a821ad9d3e615e120d9c5e704e284d8eb1f076aa21741a23fbcf08df')
+ version('1.10.3', sha256='43776b5fb220b746d53c1aa39d0230f304687ec05984671392bccaf850d9d696')
+ version('1.10.2', sha256='5907d0d29563689146512ef24aa8960d9475c5de326501f277bb58b3de21b07d')
+ version('1.10.1', sha256='8ed979cda82f6d440567197ec191bffcb82ee83c5bfe8a484c5a008dd00273f0')
+ version('1.10.0', sha256='117fff308731784bea2ddaf3d076f0ecbf3981b31ea1c1bfd5ce4f057a5325b1')
@property
def libs(self):
diff --git a/var/spack/repos/builtin/packages/sph2pipe/package.py b/var/spack/repos/builtin/packages/sph2pipe/package.py
index c6b2f7a1f1..b8dd571163 100644
--- a/var/spack/repos/builtin/packages/sph2pipe/package.py
+++ b/var/spack/repos/builtin/packages/sph2pipe/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/spherepack/package.py b/var/spack/repos/builtin/packages/spherepack/package.py
index 8ef671f0a7..715d932417 100644
--- a/var/spack/repos/builtin/packages/spherepack/package.py
+++ b/var/spack/repos/builtin/packages/spherepack/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/spindle/package.py b/var/spack/repos/builtin/packages/spindle/package.py
index 2b7296e6d3..1ebbc29fb2 100644
--- a/var/spack/repos/builtin/packages/spindle/package.py
+++ b/var/spack/repos/builtin/packages/spindle/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/spiral/package.py b/var/spack/repos/builtin/packages/spiral/package.py
index da6a364ccd..9eb89c4bbf 100644
--- a/var/spack/repos/builtin/packages/spiral/package.py
+++ b/var/spack/repos/builtin/packages/spiral/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/spla/package.py b/var/spack/repos/builtin/packages/spla/package.py
index 467814fc40..bcf242f885 100644
--- a/var/spack/repos/builtin/packages/spla/package.py
+++ b/var/spack/repos/builtin/packages/spla/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -41,12 +41,10 @@ class Spla(CMakePackage):
depends_on('hsa-rocr-dev', when='+rocm', type='link')
def cmake_args(self):
- args = []
-
- if '+openmp' in self.spec:
- args += ["-DSPLA_OMP=ON"]
- else:
- args += ["-DSPLA_OMP=OFF"]
+ args = [
+ self.define_from_variant('SPLA_OMP', 'openmp'),
+ self.define_from_variant('SPLA_STATIC', 'static')
+ ]
if '+cuda' in self.spec:
args += ["-DSPLA_GPU_BACKEND=CUDA"]
@@ -55,11 +53,6 @@ class Spla(CMakePackage):
else:
args += ["-DSPLA_GPU_BACKEND=OFF"]
- if '+static' in self.spec:
- args += ["-DSPLA_STATIC=ON"]
- else:
- args += ["-DSPLA_STATIC=OFF"]
-
if self.spec['blas'].name == 'openblas':
args += ["-DSPLA_HOST_BLAS=OPENBLAS"]
elif self.spec['blas'].name in ['amdblis', 'blis']:
diff --git a/var/spack/repos/builtin/packages/spm/package.py b/var/spack/repos/builtin/packages/spm/package.py
index 1545c3d2dd..aabd89a7c5 100644
--- a/var/spack/repos/builtin/packages/spm/package.py
+++ b/var/spack/repos/builtin/packages/spm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/spot/package.py b/var/spack/repos/builtin/packages/spot/package.py
index 428a6bf439..6b15acf9a3 100644
--- a/var/spack/repos/builtin/packages/spot/package.py
+++ b/var/spack/repos/builtin/packages/spot/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sprng/package.py b/var/spack/repos/builtin/packages/sprng/package.py
index eb85db87e0..0dbf067c89 100644
--- a/var/spack/repos/builtin/packages/sprng/package.py
+++ b/var/spack/repos/builtin/packages/sprng/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sqlcipher/package.py b/var/spack/repos/builtin/packages/sqlcipher/package.py
new file mode 100644
index 0000000000..2d6f6970b7
--- /dev/null
+++ b/var/spack/repos/builtin/packages/sqlcipher/package.py
@@ -0,0 +1,33 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+class Sqlcipher(AutotoolsPackage):
+ """SQLCipher is an SQLite extension that provides 256 bit AES encryption
+ of database files.
+ """
+
+ homepage = "https://www.zetetic.net/sqlcipher/"
+ url = "https://github.com/sqlcipher/sqlcipher/archive/v4.4.1.tar.gz"
+ git = "https://github.com/sqlcipher/sqlcipher.git"
+
+ maintainers = ['rmsds']
+
+ version('4.4.1', sha256='a36ed7c879a5e9af1054942201c75fc56f1db22e46bf6c2bbae3975dfeb6782d')
+ version('4.4.0', sha256='0924b2ae1079717954498bda78a30de20ce2a6083076b16214a711567821d148')
+ version('4.3.0', sha256='fccb37e440ada898902b294d02cde7af9e8706b185d77ed9f6f4d5b18b4c305f')
+ version('4.2.0', sha256='105c1b813f848da038c03647a8bfc9d42fb46865e6aaf4edfd46ff3b18cdccfc')
+ version('4.1.0', sha256='65144ca3ba4c0f9cd4bae8c20bb42f2b84424bf29d1ebcf04c44a728903b1faa')
+ version('4.0.1', sha256='2f803017378c7479cb791be59b7bad8392a15acddbcc094e4433581fe421f4ca')
+ version('4.0.0', sha256='c8f5fc6d800aae6107bf23900144804db5510c2676c93fbb269e4a0700837d68')
+ version('3.4.2', sha256='69897a5167f34e8a84c7069f1b283aba88cdfa8ec183165c4a5da2c816cfaadb')
+
+ depends_on('openssl')
+ depends_on('tcl', type=['build', ])
+ depends_on('zlib')
+
+ def configure_args(self):
+ args = []
+ args.append('--enable-tempstore=yes')
+ args.append('CFLAGS=-DSQLITE_HAS_CODEC')
+ return args
diff --git a/var/spack/repos/builtin/packages/sqlite-jdbc/package.py b/var/spack/repos/builtin/packages/sqlite-jdbc/package.py
index bea64a30dd..b4cfb3100f 100644
--- a/var/spack/repos/builtin/packages/sqlite-jdbc/package.py
+++ b/var/spack/repos/builtin/packages/sqlite-jdbc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sqlite/package.py b/var/spack/repos/builtin/packages/sqlite/package.py
index db456cb0d7..c78aada6e0 100644
--- a/var/spack/repos/builtin/packages/sqlite/package.py
+++ b/var/spack/repos/builtin/packages/sqlite/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,7 +13,9 @@ class Sqlite(AutotoolsPackage):
"""
homepage = "https://www.sqlite.org"
+ version('3.34.0', sha256='bf6db7fae37d51754737747aaaf413b4d6b3b5fbacd52bdb2d0d6e5b2edd9aee')
version('3.33.0', sha256='106a2c48c7f75a298a7557bcc0d5f4f454e5b43811cc738b7ca294d6956bbb15')
+ version('3.32.03', sha256='a31507123c1c2e3a210afec19525fd7b5bb1e19a6a34ae5b998fbd7302568b66')
version('3.31.1', sha256='62284efebc05a76f909c580ffa5c008a7d22a1287285d68b7825a2b6b51949ae')
version('3.30.1', sha256='8c5a50db089bd2a1b08dbc5b00d2027602ca7ff238ba7658fabca454d4298e60')
version('3.30.0', sha256='e0a8cf4c7a87455e55e10413d16f358ca121ccec687fe1301eac95e2d340fc58')
diff --git a/var/spack/repos/builtin/packages/sqlitebrowser/package.py b/var/spack/repos/builtin/packages/sqlitebrowser/package.py
index b92d65348e..64c083e8ba 100644
--- a/var/spack/repos/builtin/packages/sqlitebrowser/package.py
+++ b/var/spack/repos/builtin/packages/sqlitebrowser/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sqoop/package.py b/var/spack/repos/builtin/packages/sqoop/package.py
index bd83d0c907..e29293ce79 100644
--- a/var/spack/repos/builtin/packages/sqoop/package.py
+++ b/var/spack/repos/builtin/packages/sqoop/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/squashfs/gcc-10.patch b/var/spack/repos/builtin/packages/squashfs/gcc-10.patch
new file mode 100644
index 0000000000..e7f4a721c7
--- /dev/null
+++ b/var/spack/repos/builtin/packages/squashfs/gcc-10.patch
@@ -0,0 +1,13 @@
+diff --git a/squashfs-tools/mksquashfs.h b/squashfs-tools/mksquashfs.h
+index 1beefef7..b6503063 100644
+--- a/squashfs-tools/mksquashfs.h
++++ b/squashfs-tools/mksquashfs.h
+@@ -143,7 +143,7 @@ struct append_file {
+ #endif
+
+ extern struct cache *reader_buffer, *fragment_buffer, *reserve_cache;
+-struct cache *bwriter_buffer, *fwriter_buffer;
++extern struct cache *bwriter_buffer, *fwriter_buffer;
+ extern struct queue *to_reader, *to_deflate, *to_writer, *from_writer,
+ *to_frag, *locked_fragment, *to_process_frag;
+ extern struct append_file **file_mapping;
diff --git a/var/spack/repos/builtin/packages/squashfs/package.py b/var/spack/repos/builtin/packages/squashfs/package.py
index 4d203e3d15..a5fb61e4d3 100644
--- a/var/spack/repos/builtin/packages/squashfs/package.py
+++ b/var/spack/repos/builtin/packages/squashfs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -24,7 +24,7 @@ class Squashfs(MakefilePackage):
variant('lzo', default=False, description='Enable LZO compression support')
variant('xz', default=False, description='Enable xz compression support')
variant('zstd', default=False, description='Enable Zstandard/zstd support')
- variant('default_compression', default='gzip', values=('gzip', 'lz4', 'lzo', 'xz', 'zstd'),
+ variant('default_compression', default='gzip', values=('gzip', 'lz4', 'lzo', 'xz', 'zstd'),
multi=False, description='Default compression algorithm')
conflicts('squashfs~gzip default_compression=gzip', msg='Cannot set default compression to missing algorithm')
@@ -44,6 +44,11 @@ class Squashfs(MakefilePackage):
depends_on('xz', when='+xz')
depends_on('zstd', when='+zstd')
+ # patch from
+ # https://github.com/plougher/squashfs-tools/commit/fe2f5da4b0f8994169c53e84b7cb8a0feefc97b5.patch
+ patch('gcc-10.patch', when="%gcc@10:")
+ patch('gcc-10.patch', when="%clang@11:")
+
def build(self, spec, prefix):
with working_dir('squashfs-tools'):
default = spec.variants['default_compression'].value
diff --git a/var/spack/repos/builtin/packages/squid/package.py b/var/spack/repos/builtin/packages/squid/package.py
index dd944edbad..82f7b3d6d8 100644
--- a/var/spack/repos/builtin/packages/squid/package.py
+++ b/var/spack/repos/builtin/packages/squid/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sratoolkit/package.py b/var/spack/repos/builtin/packages/sratoolkit/package.py
index d38de8eead..299d49de0e 100644
--- a/var/spack/repos/builtin/packages/sratoolkit/package.py
+++ b/var/spack/repos/builtin/packages/sratoolkit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,10 +12,11 @@ class Sratoolkit(Package):
format."""
homepage = "https://trace.ncbi.nlm.nih.gov/Traces/sra"
- url = "https://ftp-trace.ncbi.nlm.nih.gov/sra/sdk/2.8.2-1/sratoolkit.2.8.2-1-centos_linux64.tar.gz"
+ url = "https://ftp-trace.ncbi.nlm.nih.gov/sra/sdk/2.10.9/sratoolkit.2.10.9-centos_linux64.tar.gz"
maintainers = ['robqiao']
+ version('2.10.9', sha256='2c849b4b9865737ff17732e3befa70718616ce31cac98e8a61b1c5ed5a6514c5')
version('2.10.7', sha256='b3f319974f0c7a318554d6383a13dd30f7d447533d92b6fd3bd057d3524e0140')
version('2.9.6', sha256='faab687c822d0c02956f73f35e04875dde420ce9f602b88bbf3f2e8d79a17155')
version('2.9.2', sha256='17dbe13aa1ed7955d31e1e76e8b62786e80a77e9ed9d396631162dc3ad8b716d')
diff --git a/var/spack/repos/builtin/packages/sse2neon/package.py b/var/spack/repos/builtin/packages/sse2neon/package.py
index 32f0b69c04..a0c6ef585a 100644
--- a/var/spack/repos/builtin/packages/sse2neon/package.py
+++ b/var/spack/repos/builtin/packages/sse2neon/package.py
@@ -1,15 +1,15 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
class Sse2neon(Package):
- """A C/C++ header file that converts Intel SSE intrinsics to ARN NEON
- intrinsics."""
+ """A C/C++ header file that converts Intel SSE intrinsics to Arm/Aarch64
+ NEON intrinsics."""
- homepage = "https://github.com/jratcliff63367/sse2neon"
- git = "https://github.com/jratcliff63367/sse2neon.git"
+ homepage = "https://github.com/DLTcollab/sse2neon"
+ git = "https://github.com/DLTcollab/sse2neon.git"
version('master', branch='master')
diff --git a/var/spack/repos/builtin/packages/sshpass/package.py b/var/spack/repos/builtin/packages/sshpass/package.py
index 499761a867..97a5e14728 100644
--- a/var/spack/repos/builtin/packages/sshpass/package.py
+++ b/var/spack/repos/builtin/packages/sshpass/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ssht/package.py b/var/spack/repos/builtin/packages/ssht/package.py
index 1500871e62..8987d751d1 100644
--- a/var/spack/repos/builtin/packages/ssht/package.py
+++ b/var/spack/repos/builtin/packages/ssht/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -6,7 +6,7 @@
from spack import *
-class Ssht(Package):
+class Ssht(CMakePackage):
"""ssht: Spin spherical harmonic transforms
The SSHT code provides functionality to perform fast and exact
@@ -16,32 +16,15 @@ class Ssht(Package):
"""
homepage = "https://astro-informatics.github.io/ssht/"
+ url = "https://github.com/astro-informatics/ssht/archive/v1.3.4.tar.gz"
git = "https://github.com/astro-informatics/ssht.git"
maintainers = ['eschnett']
- version('1.2b1', commit='7378ce8853897cbd1b08adebf7ec088c1e40f860')
-
- depends_on('fftw')
-
- patch('float_conversion.patch')
-
- def install(self, spec, prefix):
- make('default', 'SSHTDIR=.')
- mkdirp(join_path(prefix, 'include', 'ssht'))
- install('src/c/ssht.h',
- join_path(prefix, 'include', 'ssht', 'ssht.h'))
- install('src/c/ssht_adjoint.h',
- join_path(prefix, 'include', 'ssht', 'ssht_adjoint.h'))
- install('src/c/ssht_core.h',
- join_path(prefix, 'include', 'ssht', 'ssht_core.h'))
- install('src/c/ssht_dl.h',
- join_path(prefix, 'include', 'ssht', 'ssht_dl.h'))
- install('src/c/ssht_error.h',
- join_path(prefix, 'include', 'ssht', 'ssht_error.h'))
- install('src/c/ssht_sampling.h',
- join_path(prefix, 'include', 'ssht', 'ssht_sampling.h'))
- install('src/c/ssht_types.h',
- join_path(prefix, 'include', 'ssht', 'ssht_types.h'))
- install_tree('doc/c', join_path(prefix, 'doc'))
- install_tree('lib/c', join_path(prefix, 'lib'))
+ version('1.3.4', sha256='dfcceca9a4ffe8973a45e213e8d5331dcee6a504a42601f50fdfa4fd022cce7b')
+ version('1.3.3', sha256='1f3b89e29d89fa79170b9979046a55c81b588d9dd563fd36f37887495b71dd28')
+ version('1.3.2', sha256='6cb3b6f94fb90dff45ba59da30a8ccd9667d8e319bed437f19d2287f59e35dd1')
+ version('1.3.0', sha256='9e2c220a70d662714ff601a121b674c8423866058279e000cbbee532d31dd3c9')
+ # version('1.2b1', commit='7378ce8853897cbd1b08adebf7ec088c1e40f860')
+
+ depends_on('fftw @3.0.0:')
diff --git a/var/spack/repos/builtin/packages/ssmtp/package.py b/var/spack/repos/builtin/packages/ssmtp/package.py
index c1ed9055f2..177a6043a2 100644
--- a/var/spack/repos/builtin/packages/ssmtp/package.py
+++ b/var/spack/repos/builtin/packages/ssmtp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sspace-longread/package.py b/var/spack/repos/builtin/packages/sspace-longread/package.py
index d96f6faded..7a233bedd9 100644
--- a/var/spack/repos/builtin/packages/sspace-longread/package.py
+++ b/var/spack/repos/builtin/packages/sspace-longread/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sspace-standard/package.py b/var/spack/repos/builtin/packages/sspace-standard/package.py
index 5ce8febf46..1b20b5f144 100644
--- a/var/spack/repos/builtin/packages/sspace-standard/package.py
+++ b/var/spack/repos/builtin/packages/sspace-standard/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sst-core/package.py b/var/spack/repos/builtin/packages/sst-core/package.py
index 5b214d11bd..c45b09a79c 100644
--- a/var/spack/repos/builtin/packages/sst-core/package.py
+++ b/var/spack/repos/builtin/packages/sst-core/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sst-dumpi/package.py b/var/spack/repos/builtin/packages/sst-dumpi/package.py
index 0710c5607e..d17717725e 100644
--- a/var/spack/repos/builtin/packages/sst-dumpi/package.py
+++ b/var/spack/repos/builtin/packages/sst-dumpi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sst-elements/package.py b/var/spack/repos/builtin/packages/sst-elements/package.py
index e314df6a58..c00449c8b4 100644
--- a/var/spack/repos/builtin/packages/sst-elements/package.py
+++ b/var/spack/repos/builtin/packages/sst-elements/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sst-macro/package.py b/var/spack/repos/builtin/packages/sst-macro/package.py
index 59911ba3ab..8c396a8dfa 100644
--- a/var/spack/repos/builtin/packages/sst-macro/package.py
+++ b/var/spack/repos/builtin/packages/sst-macro/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sst-transports/package.py b/var/spack/repos/builtin/packages/sst-transports/package.py
index 39a6e99d05..8c2cbbf74b 100644
--- a/var/spack/repos/builtin/packages/sst-transports/package.py
+++ b/var/spack/repos/builtin/packages/sst-transports/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/stacks/package.py b/var/spack/repos/builtin/packages/stacks/package.py
index 81fb81a047..2fa6c1f4cd 100644
--- a/var/spack/repos/builtin/packages/stacks/package.py
+++ b/var/spack/repos/builtin/packages/stacks/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/staden-io-lib/package.py b/var/spack/repos/builtin/packages/staden-io-lib/package.py
index 21c0fee40f..36df40249f 100644
--- a/var/spack/repos/builtin/packages/staden-io-lib/package.py
+++ b/var/spack/repos/builtin/packages/staden-io-lib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/star-ccm-plus/package.py b/var/spack/repos/builtin/packages/star-ccm-plus/package.py
index ec7d503fcd..e0b637de1e 100644
--- a/var/spack/repos/builtin/packages/star-ccm-plus/package.py
+++ b/var/spack/repos/builtin/packages/star-ccm-plus/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/star/package.py b/var/spack/repos/builtin/packages/star/package.py
index 80dcaac241..a801a9ea57 100644
--- a/var/spack/repos/builtin/packages/star/package.py
+++ b/var/spack/repos/builtin/packages/star/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/startup-notification/package.py b/var/spack/repos/builtin/packages/startup-notification/package.py
index 448fe1e05a..5f2fbf9ce1 100644
--- a/var/spack/repos/builtin/packages/startup-notification/package.py
+++ b/var/spack/repos/builtin/packages/startup-notification/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/stat/package.py b/var/spack/repos/builtin/packages/stat/package.py
index 2db8a33ab8..1e68f58809 100644
--- a/var/spack/repos/builtin/packages/stat/package.py
+++ b/var/spack/repos/builtin/packages/stat/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,6 +12,7 @@ class Stat(AutotoolsPackage):
homepage = "http://paradyn.org/STAT/STAT.html"
url = "https://github.com/LLNL/STAT/archive/v2.0.0.tar.gz"
git = "https://github.com/llnl/stat.git"
+ maintainers = ['lee218llnl']
version('develop', branch='develop')
version('4.0.2', sha256='9ece10dde8e1579c9db469ac8d2391b26e59498c0947dbb271c2d01d7ef0a65d',
@@ -39,16 +40,18 @@ class Stat(AutotoolsPackage):
depends_on('dyninst', when='~dysect')
depends_on('dyninst@:9.99', when='@:4.0.1')
depends_on('dyninst@8.2.1+stat_dysect', when='+dysect')
- depends_on('fast-global-file-status', when='+fgfs')
+ # we depend on fgfs@master to avoid seg faults with fgfs 1.1
+ depends_on('fast-global-file-status@master', when='+fgfs')
depends_on('graphlib@2.0.0', when='@2.0.0:2.2.0')
depends_on('graphlib@3.0.0', when='@3:')
depends_on('graphviz', type=('build', 'link', 'run'))
- depends_on('launchmon')
+ # we depend on mpa@master for bug fixes since launchmon 1.0.2
+ depends_on('launchmon@master')
depends_on('mrnet')
depends_on('python@:2.8', when='@:4.0.0')
depends_on('py-pygtk', type=('build', 'run'), when='@:4.0.0')
depends_on('py-enum34', type=('run'), when='@:4.0.0')
- depends_on('py-xdot', when='@4.0.1:')
+ depends_on('py-xdot@1.0', when='@4.0.1:')
depends_on('swig')
depends_on('mpi', when='+examples')
depends_on('boost')
diff --git a/var/spack/repos/builtin/packages/stata/package.py b/var/spack/repos/builtin/packages/stata/package.py
index 263fc60cd0..9d10d9f936 100644
--- a/var/spack/repos/builtin/packages/stata/package.py
+++ b/var/spack/repos/builtin/packages/stata/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -25,6 +25,7 @@ class Stata(Package):
# * I haven't tested any installer version but 15.
homepage = "https://www.stata.com/"
+ manual_download = True
# url = "stata"
version('16', 'a13a6a92558eeb3c6cb3013c458a6777e54c21af43599df6b0a924f5f5c2d5d2')
diff --git a/var/spack/repos/builtin/packages/static-analysis-suite/package.py b/var/spack/repos/builtin/packages/static-analysis-suite/package.py
index fe6d82cc4a..af2606ddae 100644
--- a/var/spack/repos/builtin/packages/static-analysis-suite/package.py
+++ b/var/spack/repos/builtin/packages/static-analysis-suite/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/stc/package.py b/var/spack/repos/builtin/packages/stc/package.py
index 790f1b66c3..e521d9fcdd 100644
--- a/var/spack/repos/builtin/packages/stc/package.py
+++ b/var/spack/repos/builtin/packages/stc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/steps/package.py b/var/spack/repos/builtin/packages/steps/package.py
index dd074f188a..0f33dd87c1 100644
--- a/var/spack/repos/builtin/packages/steps/package.py
+++ b/var/spack/repos/builtin/packages/steps/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/stinger/package.py b/var/spack/repos/builtin/packages/stinger/package.py
index fe78dc015c..406a8b575e 100644
--- a/var/spack/repos/builtin/packages/stinger/package.py
+++ b/var/spack/repos/builtin/packages/stinger/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/storm/package.py b/var/spack/repos/builtin/packages/storm/package.py
index d9a2ad2ece..3f63eab08c 100644
--- a/var/spack/repos/builtin/packages/storm/package.py
+++ b/var/spack/repos/builtin/packages/storm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/stow/package.py b/var/spack/repos/builtin/packages/stow/package.py
index 2ce4c91b3e..83edbe07e0 100644
--- a/var/spack/repos/builtin/packages/stow/package.py
+++ b/var/spack/repos/builtin/packages/stow/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/strace/package.py b/var/spack/repos/builtin/packages/strace/package.py
index a46a98b2bc..278ef0a975 100644
--- a/var/spack/repos/builtin/packages/strace/package.py
+++ b/var/spack/repos/builtin/packages/strace/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/stream/package.py b/var/spack/repos/builtin/packages/stream/package.py
index e7c937ce26..8dca2665e8 100644
--- a/var/spack/repos/builtin/packages/stream/package.py
+++ b/var/spack/repos/builtin/packages/stream/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/strelka/package.py b/var/spack/repos/builtin/packages/strelka/package.py
index d1d2e0d9ec..3b1806c8d5 100644
--- a/var/spack/repos/builtin/packages/strelka/package.py
+++ b/var/spack/repos/builtin/packages/strelka/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -31,5 +31,5 @@ class Strelka(CMakePackage):
depends_on('python@2.4:2.7')
depends_on('zlib')
depends_on('bzip2')
- depends_on('cmake@2.8.5:')
+ depends_on('cmake@2.8.5:', type='build')
depends_on('boost@1.56.0:')
diff --git a/var/spack/repos/builtin/packages/stress/package.py b/var/spack/repos/builtin/packages/stress/package.py
index b407eede15..bafed9bc5c 100644
--- a/var/spack/repos/builtin/packages/stress/package.py
+++ b/var/spack/repos/builtin/packages/stress/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/string-view-lite/package.py b/var/spack/repos/builtin/packages/string-view-lite/package.py
index d2dbd7ad39..ac316d761e 100644
--- a/var/spack/repos/builtin/packages/string-view-lite/package.py
+++ b/var/spack/repos/builtin/packages/string-view-lite/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/stringtie/package.py b/var/spack/repos/builtin/packages/stringtie/package.py
index afbca1b813..5fa249de46 100644
--- a/var/spack/repos/builtin/packages/stringtie/package.py
+++ b/var/spack/repos/builtin/packages/stringtie/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/structure/package.py b/var/spack/repos/builtin/packages/structure/package.py
index 646530bc3a..adf52faefa 100644
--- a/var/spack/repos/builtin/packages/structure/package.py
+++ b/var/spack/repos/builtin/packages/structure/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/strumpack/package.py b/var/spack/repos/builtin/packages/strumpack/package.py
index be00d24937..d6ffad3d3c 100644
--- a/var/spack/repos/builtin/packages/strumpack/package.py
+++ b/var/spack/repos/builtin/packages/strumpack/package.py
@@ -1,12 +1,14 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
+from spack.util.environment import set_env
+from spack.util.executable import which
-class Strumpack(CMakePackage, CudaPackage):
+class Strumpack(CMakePackage, CudaPackage, ROCmPackage):
"""STRUMPACK -- STRUctured Matrix PACKage - provides linear solvers
for sparse matrices and for dense rank-structured matrices, i.e.,
matrices that exhibit some kind of low-rank property. It provides a
@@ -18,12 +20,15 @@ class Strumpack(CMakePackage, CudaPackage):
iterative solvers."""
homepage = "http://portal.nersc.gov/project/sparse/strumpack"
- url = "https://github.com/pghysels/STRUMPACK/archive/v4.0.0.tar.gz"
+ url = "https://github.com/pghysels/STRUMPACK/archive/v5.1.0.tar.gz"
git = "https://github.com/pghysels/STRUMPACK.git"
maintainers = ['pghysels']
+ test_requires_compiler = True
+
version('master', branch='master')
+ version('5.1.1', sha256='6cf4eaae5beb9bd377f2abce9e4da9fd3e95bf086ae2f04554fad6dd561c28b9')
version('5.0.0', sha256='bdfd1620ff7158d96055059be04ee49466ebaca8213a2fdab33e2d4571019a49')
version('4.0.0', sha256='a3629f1f139865c74916f8f69318f53af6319e7f8ec54e85c16466fd7d256938')
version('3.3.0', sha256='499fd3b58656b4b6495496920e5372895861ebf15328be8a7a9354e06c734bc7')
@@ -34,8 +39,6 @@ class Strumpack(CMakePackage, CudaPackage):
variant('mpi', default=True, description='Use MPI')
variant('openmp', default=True,
description='Enable thread parallellism via tasking with OpenMP')
- variant('cuda', default=True,
- description='Enable CUDA support')
variant('parmetis', default=True,
description='Enable use of ParMetis')
variant('scotch', default=False,
@@ -54,8 +57,8 @@ class Strumpack(CMakePackage, CudaPackage):
description='Build developer test routines')
variant('build_tests', default=False,
description='Build test routines')
-
- # TODO: add a slate variant
+ variant('slate', default=True,
+ description="Build with SLATE support")
depends_on('cmake@3.11:', type='build')
depends_on('mpi', when='+mpi')
@@ -70,12 +73,24 @@ class Strumpack(CMakePackage, CudaPackage):
depends_on('butterflypack@1.2.0:', when='@4.0.0: +butterflypack+mpi')
depends_on('cuda', when='@4.0.0: +cuda')
depends_on('zfp', when='+zfp')
+ depends_on('hipblas', when='+rocm')
+ depends_on('rocsolver', when='+rocm')
+ depends_on('slate', when='+slate')
+ depends_on('slate+cuda', when='+cuda+slate')
conflicts('+parmetis', when='~mpi')
conflicts('+butterflypack', when='~mpi')
conflicts('+butterflypack', when='@:3.2.0')
- conflicts('+cuda', when='@:3.9.999')
conflicts('+zfp', when='@:3.9.999')
+ conflicts('+cuda', when='@:3.9.999')
+ conflicts('+rocm', when='@:5.0.999')
+ conflicts('+rocm', when='+cuda')
+ conflicts('+slate', when='@:5.1.1')
+ conflicts('+slate', when='~mpi')
+ conflicts('^openblas@0.3.6: threads=none', when='+openmp',
+ msg='STRUMPACK requires openblas with OpenMP threading support')
+ conflicts('^openblas@0.3.6: threads=pthreads', when='+openmp',
+ msg='STRUMPACK requires openblas with OpenMP threading support')
patch('intel-19-compile.patch', when='@3.1.1')
@@ -88,6 +103,8 @@ class Strumpack(CMakePackage, CudaPackage):
args = [
'-DSTRUMPACK_USE_MPI=%s' % on_off('+mpi'),
'-DSTRUMPACK_USE_OPENMP=%s' % on_off('+openmp'),
+ '-DSTRUMPACK_USE_CUDA=%s' % on_off('+cuda'),
+ '-DSTRUMPACK_USE_HIP=%s' % on_off('+rocm'),
'-DTPL_ENABLE_PARMETIS=%s' % on_off('+parmetis'),
'-DTPL_ENABLE_SCOTCH=%s' % on_off('+scotch'),
'-DTPL_ENABLE_BPACK=%s' % on_off('+butterflypack'),
@@ -97,10 +114,14 @@ class Strumpack(CMakePackage, CudaPackage):
'-DSTRUMPACK_BUILD_TESTS=%s' % on_off('+build_tests'),
'-DTPL_BLAS_LIBRARIES=%s' % spec['blas'].libs.joined(";"),
'-DTPL_LAPACK_LIBRARIES=%s' % spec['lapack'].libs.joined(";"),
- '-DTPL_SCALAPACK_LIBRARIES=%s' % spec['scalapack'].
- libs.joined(";"),
+ '-DBUILD_SHARED_LIBS=%s' % on_off('+shared')
]
+ if '+mpi' in spec:
+ args.append(
+ '-DTPL_SCALAPACK_LIBRARIES=%s' % spec['scalapack'].
+ libs.joined(";"))
+
if spec.satisfies('@:3.9.999'):
if '+mpi' in spec:
args.extend([
@@ -112,13 +133,70 @@ class Strumpack(CMakePackage, CudaPackage):
'-DSTRUMPACK_C_INTERFACE=%s' % on_off('+c_interface'),
])
- if spec.satisfies('@4.0.0:'):
+ if '+cuda' in spec:
args.extend([
- '-DSTRUMPACK_USE_CUDA=%s' % on_off('+cuda')
- ])
-
- args.extend([
- '-DBUILD_SHARED_LIBS=%s' % on_off('+shared')
- ])
+ '-DCUDA_TOOLKIT_ROOT_DIR={0}'.format(spec['cuda'].prefix),
+ '-DCMAKE_CUDA_HOST_COMPILER={0}'.format(env["SPACK_CXX"])])
+ cuda_archs = spec.variants['cuda_arch'].value
+ if 'none' not in cuda_archs:
+ args.append('-DCUDA_NVCC_FLAGS={0}'.
+ format(' '.join(self.cuda_flags(cuda_archs))))
+
+ if '+rocm' in spec:
+ args.append(
+ '-DHIP_ROOT_DIR={0}'.format(spec['hip'].prefix))
+ rocm_archs = spec.variants['amdgpu_target'].value
+ if 'none' not in rocm_archs:
+ args.append('-DHIP_HIPCC_FLAGS=--amdgpu-target={0}'.
+ format(",".join(rocm_archs)))
return args
+
+ test_data_dir = 'examples/data'
+ test_src_dir = 'test'
+
+ @run_after('install')
+ def cache_test_sources(self):
+ """Copy the example source files after the package is installed to an
+ install test subdirectory for use during `spack test run`."""
+ self.cache_extra_test_sources([self.test_data_dir, self.test_src_dir])
+
+ def _test_example(self, test_prog, test_dir, test_cmd, test_args):
+ tmpbld_dir = '{0}/_BUILD'.format(test_dir)
+ with working_dir(tmpbld_dir, create=True):
+ with open('{0}/CMakeLists.txt'.format(tmpbld_dir), 'w') as mkfile:
+ mkfile.write('cmake_minimum_required(VERSION 3.13)\n')
+ mkfile.write('project(StrumpackSmokeTest LANGUAGES CXX)\n')
+ mkfile.write('find_package(STRUMPACK REQUIRED)\n')
+ mkfile.write('add_executable({0} ../{0}.cpp)\n'.
+ format(test_prog))
+ mkfile.write('target_link_libraries({0} '.format(test_prog) +
+ 'PRIVATE STRUMPACK::strumpack)\n')
+
+ opts = self.std_cmake_args
+ opts += self.cmake_args()
+ opts += ['.']
+ self.run_test('cmake', opts, [], installed=False, work_dir='.')
+ self.run_test('make')
+ with set_env(OMP_NUM_THREADS='4'):
+ self.run_test(test_cmd, test_args, installed=False,
+ purpose='test: strumpack smoke test',
+ skip_missing=False, work_dir='.')
+ self.run_test('rm', ['-fR', tmpbld_dir])
+
+ def test(self):
+ test_dir = join_path(self.install_test_root, self.test_src_dir)
+ test_exe = 'test_sparse_seq'
+ test_exe_mpi = 'test_sparse_mpi'
+ exe_arg = ['../../examples/data/pde900.mtx']
+ if '+mpi' in self.spec:
+ test_args = ['-n', '4', test_exe_mpi]
+ test_args.extend(exe_arg)
+ mpiexe_list = ['mpirun', 'mpiexec', 'srun']
+ for mpiexe in mpiexe_list:
+ if which(mpiexe) is not None:
+ self._test_example(test_exe_mpi, test_dir,
+ mpiexe, test_args)
+ break
+ else:
+ self._test_example(test_exe, test_dir, test_exe, exe_arg)
diff --git a/var/spack/repos/builtin/packages/su2/package.py b/var/spack/repos/builtin/packages/su2/package.py
index 3aa51e5828..1389db676d 100644
--- a/var/spack/repos/builtin/packages/su2/package.py
+++ b/var/spack/repos/builtin/packages/su2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sublime-text/package.py b/var/spack/repos/builtin/packages/sublime-text/package.py
index 942e62d311..f16a6a3ea1 100644
--- a/var/spack/repos/builtin/packages/sublime-text/package.py
+++ b/var/spack/repos/builtin/packages/sublime-text/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/subread/package.py b/var/spack/repos/builtin/packages/subread/package.py
index 5bd51ad889..1906179072 100644
--- a/var/spack/repos/builtin/packages/subread/package.py
+++ b/var/spack/repos/builtin/packages/subread/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/subversion/package.py b/var/spack/repos/builtin/packages/subversion/package.py
index 98874ee2bd..e7d5d33a33 100644
--- a/var/spack/repos/builtin/packages/subversion/package.py
+++ b/var/spack/repos/builtin/packages/subversion/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/suite-sparse/package.py b/var/spack/repos/builtin/packages/suite-sparse/package.py
index 0c75d8394f..3300dbf6c9 100644
--- a/var/spack/repos/builtin/packages/suite-sparse/package.py
+++ b/var/spack/repos/builtin/packages/suite-sparse/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -119,8 +119,8 @@ class SuiteSparse(Package):
# SuiteSparse defaults to using '-fno-common -fexceptions' in
# CFLAGS, but not all compilers use the same flags for these
# optimizations
- if any([x in spec
- for x in ('%apple-clang', '%clang', '%gcc', '%intel')]):
+ if any([x in spec for x in
+ ('%apple-clang', '%clang', '%gcc', '%intel', '%fj')]):
make_args += ['CFLAGS+=-fno-common -fexceptions']
elif '%pgi' in spec:
make_args += ['CFLAGS+=--exceptions']
diff --git a/var/spack/repos/builtin/packages/sumaclust/package.py b/var/spack/repos/builtin/packages/sumaclust/package.py
index fe23e8ecfe..eeabf61936 100644
--- a/var/spack/repos/builtin/packages/sumaclust/package.py
+++ b/var/spack/repos/builtin/packages/sumaclust/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sumo/package.py b/var/spack/repos/builtin/packages/sumo/package.py
index 0fbd58303d..93339afe14 100644
--- a/var/spack/repos/builtin/packages/sumo/package.py
+++ b/var/spack/repos/builtin/packages/sumo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sundials/package.py b/var/spack/repos/builtin/packages/sundials/package.py
index d00bda0c03..10934aefa4 100644
--- a/var/spack/repos/builtin/packages/sundials/package.py
+++ b/var/spack/repos/builtin/packages/sundials/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -22,6 +22,9 @@ class Sundials(CMakePackage):
# Versions
# ==========================================================================
version('develop', branch='develop')
+ version('5.7.0', sha256='8d6dd094feccbb8d6ecc41340ec16a65fabac82ed4415023f6d7c1c2390ea2f3')
+ version('5.6.1', sha256='16b77999ec7e7f2157aa1d04ca1de4a2371ca8150e056d24951d0c58966f2a83')
+ version('5.6.0', sha256='95e4201912e150f29c6f6f7625de763385e2073dae7f929c4a544561ea29915d')
version('5.5.0', sha256='2a755e89aab96d2ff096a4e30bf00bb162e80be20e9e99f424dccfb249098237')
version('5.4.0', sha256='04d8a2ebe02cdaeef5a9e22ff7e3146bb563d8400f65772b6c7af80001413ffa')
version('5.3.0', sha256='88dff7e11a366853d8afd5de05bf197a8129a804d9d4461fb64297f1ef89bca7')
@@ -123,6 +126,10 @@ class Sundials(CMakePackage):
variant('generic-math', default=True,
description='Use generic (std-c) math libraries on unix systems')
+ # Monitoring
+ variant('monitoring', default=False,
+ description='Build with simulation monitoring capabilities')
+
# ==========================================================================
# Conflicts
# ==========================================================================
@@ -139,6 +146,7 @@ class Sundials(CMakePackage):
conflicts('+superlu-dist', when='@:4.1.0')
conflicts('+f2003', when='@:4.1.0')
conflicts('+trilinos', when='@:4.1.0')
+ conflicts('+monitoring', when='@:5.5.0')
# External libraries incompatible with 64-bit indices
conflicts('+lapack', when='@3.0.0: +int64')
@@ -262,6 +270,11 @@ class Sundials(CMakePackage):
'-DUSE_GENERIC_MATH=%s' % on_off('+generic-math')
])
+ # Monitoring
+ args.extend([
+ '-DSUNDIALS_BUILD_WITH_MONITORING=%s' % on_off('+monitoring')
+ ])
+
# parallelism
args.extend([
'-DMPI_ENABLE=%s' % on_off('+mpi'),
diff --git a/var/spack/repos/builtin/packages/superchic/package.py b/var/spack/repos/builtin/packages/superchic/package.py
new file mode 100644
index 0000000000..ad78f5a3cb
--- /dev/null
+++ b/var/spack/repos/builtin/packages/superchic/package.py
@@ -0,0 +1,51 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Superchic(MakefilePackage):
+ """SuperChic is a Fortran based Monte Carlo event generator for exclusive and
+ photon-initiated production in proton and heavy ion collisions.
+
+ A range of Standard Model final states are implemented, in most cases with
+ spin correlations where relevant, and a fully differential treatment of the soft
+ survival factor is given. Arbitrary user-defined histograms and cuts may be
+ made, as well as unweighted events in the HEPEVT, HEPMC and LHE formats.
+ """
+
+ homepage = "https://superchic.hepforge.org/"
+ url = "https://superchic.hepforge.org/superchic4.01.tar.gz"
+
+ version('4.01', sha256='2d690e1cdb0fd0ee345028b0d823a76c8d93156aaa0c9cd1ecb5f18cde75acd6')
+ version('3.06', sha256='17b4f56e85634f3c9708d5263772d7035fe4d7fb91a11bbffe889e0860efbd02')
+ version('3.05', sha256='032f5c784f284ca02003a990234b099f61cd125791d56715680cd342e55c7da1')
+
+ depends_on('lhapdf')
+ depends_on('apfel', when='@4.01:')
+
+ def edit(self, spec, prefix):
+ makefile = FileFilter('makefile')
+ makefile.filter('LHAPDFLIB = .*',
+ 'LHAPDFLIB = ' + self.spec['lhapdf'].prefix.lib)
+ if self.spec.satisfies('@4.01:'):
+ makefile.filter('APFELLIB = .*',
+ 'APFELLIB = ' + self.spec['apfel'].prefix.lib)
+
+ def build(self, spec, prefix):
+ make('PWD=' + self.build_directory)
+
+ def install(self, spec, prefix):
+ mkdirp(self.prefix.bin)
+ install_tree('bin', self.prefix.bin)
+
+ mkdirp(self.prefix.lib)
+ install_tree('lib', self.prefix.lib)
+
+ if self.spec.satisfies('@3.05:'):
+ mkdirp(join_path(self.prefix, 'src', 'inc'))
+ install_tree(join_path('src', 'inc'), join_path(self.prefix, 'src', 'inc'))
+ mkdirp(join_path(self.prefix, 'obj'))
+ install_tree('obj', join_path(self.prefix, 'obj'))
diff --git a/var/spack/repos/builtin/packages/superlu-dist/package.py b/var/spack/repos/builtin/packages/superlu-dist/package.py
index 0450347301..f5c92e0aa8 100644
--- a/var/spack/repos/builtin/packages/superlu-dist/package.py
+++ b/var/spack/repos/builtin/packages/superlu-dist/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/superlu-mt/package.py b/var/spack/repos/builtin/packages/superlu-mt/package.py
index b3595428ab..a03664bab6 100644
--- a/var/spack/repos/builtin/packages/superlu-mt/package.py
+++ b/var/spack/repos/builtin/packages/superlu-mt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/superlu/package.py b/var/spack/repos/builtin/packages/superlu/package.py
index fb41b4faf4..5a02bdb782 100644
--- a/var/spack/repos/builtin/packages/superlu/package.py
+++ b/var/spack/repos/builtin/packages/superlu/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,14 +18,18 @@ class Superlu(Package):
variant('pic', default=True,
description='Build with position independent code')
+ depends_on('tcsh', type='build')
depends_on('cmake', when='@5.2.1:', type='build')
depends_on('blas')
+ test_requires_compiler = True
+
# CMake installation method
def install(self, spec, prefix):
cmake_args = [
'-Denable_blaslib=OFF',
- '-DBLAS_blas_LIBRARY={0}'.format(spec['blas'].libs.joined())
+ '-DBLAS_blas_LIBRARY={0}'.format(spec['blas'].libs.joined()),
+ '-DCMAKE_INSTALL_LIBDIR={0}'.format(self.prefix.lib)
]
if '+pic' in spec:
@@ -93,3 +97,77 @@ class Superlu(Package):
install_tree('lib', prefix.lib)
mkdir(prefix.include)
install(join_path('SRC', '*.h'), prefix.include)
+
+ examples_src_dir = 'EXAMPLE'
+ make_hdr_file = 'make.inc'
+
+ @run_after('install')
+ def cache_test_sources(self):
+ """Copy the example source files after the package is installed to an
+ install test subdirectory for use during `spack test run`."""
+ self.cache_extra_test_sources(self.examples_src_dir)
+
+ def _generate_make_hdr_for_test(self):
+ config_args = []
+
+ # Define make.inc file
+ config_args.extend([
+ 'SuperLUroot = {0}'.format(self.prefix),
+ 'SUPERLULIB = {0}/libsuperlu.a'.format(self.prefix.lib),
+ 'BLASLIB = {0}'.format(self.spec['blas'].libs.ld_flags),
+ 'TMGLIB = libtmglib.a',
+ 'LIBS = $(SUPERLULIB) $(BLASLIB)',
+ 'ARCH = ar',
+ 'ARCHFLAGS = cr',
+ 'RANLIB = {0}'.format('ranlib' if which('ranlib') else 'echo'),
+ 'CC = {0}'.format(self.compiler.cc),
+ 'FORTRAN = {0}'.format(self.compiler.fc),
+ 'LOADER = {0}'.format(self.compiler.cc),
+ 'CFLAGS = -O3 -DNDEBUG -DUSE_VENDOR_BLAS -DPRNTlevel=0 -DAdd_',
+ 'NOOPTS = -O0'
+ ])
+
+ return config_args
+
+ # Pre-cmake configuration
+ @when('@4.3')
+ def _generate_make_hdr_for_test(self):
+ config_args = []
+
+ # Define make.inc file
+ config_args.extend([
+ 'PLAT = _x86_64',
+ 'SuperLUroot = {0}'.format(self.prefix),
+ 'SUPERLULIB = {0}/libsuperlu_{1}.a'.format(self.prefix.lib,
+ self.spec.version),
+ 'BLASLIB = {0}'.format(self.spec['blas'].libs.ld_flags),
+ 'TMGLIB = libtmglib.a',
+ 'LIBS = $(SUPERLULIB) $(BLASLIB)',
+ 'ARCH = ar',
+ 'ARCHFLAGS = cr',
+ 'RANLIB = {0}'.format('ranlib' if which('ranlib') else 'echo'),
+ 'CC = {0}'.format(self.compiler.cc),
+ 'FORTRAN = {0}'.format(self.compiler.fc),
+ 'LOADER = {0}'.format(self.compiler.cc),
+ 'CFLAGS = -O3 -DNDEBUG -DUSE_VENDOR_BLAS -DPRNTlevel=0 -DAdd_',
+ 'NOOPTS = -O0'
+ ])
+
+ return config_args
+
+ def test(self):
+ config_args = self._generate_make_hdr_for_test()
+
+ # Write configuration options to make.inc file
+ make_file_inc = join_path(self.install_test_root, self.make_hdr_file)
+ with open(make_file_inc, 'w') as inc:
+ for option in config_args:
+ inc.write('{0}\n'.format(option))
+
+ test_dir = join_path(self.install_test_root, self.examples_src_dir)
+ with working_dir(test_dir, create=False):
+ make('HEADER={0}'.format(self.prefix.include), 'superlu',
+ parallel=False)
+ self.run_test('./superlu', purpose='Smoke test for superlu',
+ work_dir='.')
+ make('clean')
diff --git a/var/spack/repos/builtin/packages/supernova/package.py b/var/spack/repos/builtin/packages/supernova/package.py
index a83a14dfab..fff4d9843b 100644
--- a/var/spack/repos/builtin/packages/supernova/package.py
+++ b/var/spack/repos/builtin/packages/supernova/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sw4lite/package.py b/var/spack/repos/builtin/packages/sw4lite/package.py
index 815360c259..196409da4b 100644
--- a/var/spack/repos/builtin/packages/sw4lite/package.py
+++ b/var/spack/repos/builtin/packages/sw4lite/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/swap-assembler/package.py b/var/spack/repos/builtin/packages/swap-assembler/package.py
index 04a6a63f9c..c5f9a53946 100644
--- a/var/spack/repos/builtin/packages/swap-assembler/package.py
+++ b/var/spack/repos/builtin/packages/swap-assembler/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/swarm/package.py b/var/spack/repos/builtin/packages/swarm/package.py
index 4f38c7522e..e41640f916 100644
--- a/var/spack/repos/builtin/packages/swarm/package.py
+++ b/var/spack/repos/builtin/packages/swarm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,8 +12,11 @@ class Swarm(MakefilePackage):
homepage = "https://github.com/torognes/swarm"
url = "https://github.com/torognes/swarm/archive/v2.1.13.tar.gz"
+ version('3.0.0', sha256='b63761a9914ebf1fee14befaffd93af9c795b692c006c644d049a6d985b55810')
version('2.1.13', sha256='ec4b22cc1874ec6d2c89fe98e23a2fb713aec500bc4a784f0556389d22c02650')
+ conflicts('@2.1.13', when='target=aarch64:')
+
build_directory = 'src'
def install(self, spec, prefix):
diff --git a/var/spack/repos/builtin/packages/swfft/package.py b/var/spack/repos/builtin/packages/swfft/package.py
index ada58c5f19..40ec43c506 100644
--- a/var/spack/repos/builtin/packages/swfft/package.py
+++ b/var/spack/repos/builtin/packages/swfft/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/swftools/package.py b/var/spack/repos/builtin/packages/swftools/package.py
index 02a658599d..8e300554a8 100644
--- a/var/spack/repos/builtin/packages/swftools/package.py
+++ b/var/spack/repos/builtin/packages/swftools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/swiftsim/package.py b/var/spack/repos/builtin/packages/swiftsim/package.py
index c3c594f07e..eab510002b 100644
--- a/var/spack/repos/builtin/packages/swiftsim/package.py
+++ b/var/spack/repos/builtin/packages/swiftsim/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/swig/package.py b/var/spack/repos/builtin/packages/swig/package.py
index 87c92f483f..bf7a395eed 100644
--- a/var/spack/repos/builtin/packages/swig/package.py
+++ b/var/spack/repos/builtin/packages/swig/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/swipl/package.py b/var/spack/repos/builtin/packages/swipl/package.py
index da3e161c2c..ffe2258eae 100644
--- a/var/spack/repos/builtin/packages/swipl/package.py
+++ b/var/spack/repos/builtin/packages/swipl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/symengine/package.py b/var/spack/repos/builtin/packages/symengine/package.py
index a9c866edb7..63065cfa49 100644
--- a/var/spack/repos/builtin/packages/symengine/package.py
+++ b/var/spack/repos/builtin/packages/symengine/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/symlinks/package.py b/var/spack/repos/builtin/packages/symlinks/package.py
index f6e5ca4f2e..1893a3008f 100644
--- a/var/spack/repos/builtin/packages/symlinks/package.py
+++ b/var/spack/repos/builtin/packages/symlinks/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -9,13 +9,14 @@ from spack import *
class Symlinks(MakefilePackage):
"""Scan or change symbolic links."""
- homepage = "http://ibiblio.org/pub/Linux/utils/file"
- url = "http://ibiblio.org/pub/Linux/utils/file/symlinks-1.4.tar.gz"
+ homepage = "https://ibiblio.org/pub/Linux/utils/file"
+ url = "https://ibiblio.org/pub/Linux/utils/file/symlinks-1.4.tar.gz"
- version('1.4', sha256='4818a3be253b53f2547fe51349652c87301794fc2ff4e3104850301ffe9843a0')
+ version('1.4', sha256='b0bb689dd0a2c46d9a7dd111b053707aba7b9cf29c4f0bad32984b14bdbe0399')
def edit(self, spec, prefix):
filter_file('/usr/local', prefix, 'Makefile', string=True)
+ filter_file('-o root -g root', '', 'Makefile')
def install(self, spec, prefix):
mkdirp(prefix.bin)
diff --git a/var/spack/repos/builtin/packages/sympol/package.py b/var/spack/repos/builtin/packages/sympol/package.py
index 70e860953a..746c55ac8c 100644
--- a/var/spack/repos/builtin/packages/sympol/package.py
+++ b/var/spack/repos/builtin/packages/sympol/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sysbench/package.py b/var/spack/repos/builtin/packages/sysbench/package.py
index 062d4fcf9b..a5e248b9ba 100644
--- a/var/spack/repos/builtin/packages/sysbench/package.py
+++ b/var/spack/repos/builtin/packages/sysbench/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/syscalc/package.py b/var/spack/repos/builtin/packages/syscalc/package.py
index 86a4cf75b6..36676f446d 100644
--- a/var/spack/repos/builtin/packages/syscalc/package.py
+++ b/var/spack/repos/builtin/packages/syscalc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,6 +15,8 @@ class Syscalc(MakefilePackage):
version('1.1.7', sha256='ac73df0f9f195eb62601fafc2eede3db17a562750f7971616870d6df4abd1b6c',
url='https://bazaar.launchpad.net/~mgtools/mg5amcnlo/SysCalc/tarball/17')
+ tags = ['hep']
+
depends_on('lhapdf@6:')
def url_for_version(self, version):
diff --git a/var/spack/repos/builtin/packages/sysfsutils/package.py b/var/spack/repos/builtin/packages/sysfsutils/package.py
index 515294cdab..4c4f6df9a7 100644
--- a/var/spack/repos/builtin/packages/sysfsutils/package.py
+++ b/var/spack/repos/builtin/packages/sysfsutils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sysget/package.py b/var/spack/repos/builtin/packages/sysget/package.py
index d2af862f53..b73a9341c5 100644
--- a/var/spack/repos/builtin/packages/sysget/package.py
+++ b/var/spack/repos/builtin/packages/sysget/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/sysstat/package.py b/var/spack/repos/builtin/packages/sysstat/package.py
index 4d6ec48bc2..e66fb0580b 100644
--- a/var/spack/repos/builtin/packages/sysstat/package.py
+++ b/var/spack/repos/builtin/packages/sysstat/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/systemtap/package.py b/var/spack/repos/builtin/packages/systemtap/package.py
index 00491e8dc4..72cb6cd24f 100644
--- a/var/spack/repos/builtin/packages/systemtap/package.py
+++ b/var/spack/repos/builtin/packages/systemtap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -23,7 +23,10 @@ class Systemtap(AutotoolsPackage):
version('4.1', sha256='8efa1ee2b34f1c6b2f33a25313287d59c8ed1b00265e900aea874da8baca1e1d')
depends_on('gettext')
- depends_on('elfutils')
+ depends_on('elfutils@0.151:')
+ depends_on('sqlite')
+ depends_on('py-setuptools', type='build')
+ depends_on('python', type=('build', 'run'))
def configure_args(self):
args = ['LDFLAGS=-lintl']
diff --git a/var/spack/repos/builtin/packages/sz/package.py b/var/spack/repos/builtin/packages/sz/package.py
index c9cb86604f..e90c4f5bbf 100644
--- a/var/spack/repos/builtin/packages/sz/package.py
+++ b/var/spack/repos/builtin/packages/sz/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -21,6 +21,7 @@ class Sz(CMakePackage):
return url.format(version)
version('master', branch='master')
+ version('2.1.11.1', sha256='e6fa5c969b012782b1e5e9fbd1cd7d1c0ace908d9ec982e78b2910ec5c2161ac')
version('2.1.11', sha256='85b8ef99344a3317ba9ee63ca4b9d99a51d1832d4d8880e01c7c56b3a69cacc9')
version('2.1.10', sha256='3aba7619bdb5412218f162696f946c9d3a3df5acf128ddc685b21e45c11f6ae3',
url="https://github.com/szcompressor/SZ/releases/download/v2.1.10/sz-2.1.10.tar.gz")
diff --git a/var/spack/repos/builtin/packages/tabix/package.py b/var/spack/repos/builtin/packages/tabix/package.py
index 2e358da82d..1d729a019e 100644
--- a/var/spack/repos/builtin/packages/tabix/package.py
+++ b/var/spack/repos/builtin/packages/tabix/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tajo/package.py b/var/spack/repos/builtin/packages/tajo/package.py
index 5fb12d6bd3..0c4be5927e 100644
--- a/var/spack/repos/builtin/packages/tajo/package.py
+++ b/var/spack/repos/builtin/packages/tajo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/talass/package.py b/var/spack/repos/builtin/packages/talass/package.py
index 4633eb9cf5..b7a0315472 100644
--- a/var/spack/repos/builtin/packages/talass/package.py
+++ b/var/spack/repos/builtin/packages/talass/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -35,9 +35,10 @@ class Talass(CMakePackage):
args = []
if int(variants['local'].value) > int(variants['global'].value):
- raise InstallError('The global index space (%d bits) must be at least as large\
- as the local index space (% bits)' % (variants['global'].value,
- variants['local'].value))
+ msg = ('The global index space (%d bits) must be at least as '
+ 'large as the local index space (% bits)')
+ raise InstallError(
+ msg % (variants['global'].value, variants['local'].value))
if variants['precision'].value == '32':
args.append('-DFUNCTION_TYPE=float')
diff --git a/var/spack/repos/builtin/packages/talloc/package.py b/var/spack/repos/builtin/packages/talloc/package.py
index df28b55527..dd05b19f3f 100644
--- a/var/spack/repos/builtin/packages/talloc/package.py
+++ b/var/spack/repos/builtin/packages/talloc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tangram/package.py b/var/spack/repos/builtin/packages/tangram/package.py
index 6f65dba55f..265cc11574 100644
--- a/var/spack/repos/builtin/packages/tangram/package.py
+++ b/var/spack/repos/builtin/packages/tangram/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,10 +14,11 @@ class Tangram(CMakePackage):
homepage = "https://portage.lanl.gov"
git = "https://github.com/laristra/tangram.git"
- url = "https://github.com/laristra/tangram/releases/download/1.0.1/tangram-1.0.1.tar.gz"
+ url = "https://github.com/laristra/tangram/releases/download/1.0.5/tangram-1.0.5.tar.gz"
maintainers = ['raovgarimella']
+ version('1.0.5', sha256='4fa61d5fecd67215237ab3df8fe64bc6c4d018b22313f2174923486026e93e53')
version('1.0.1', sha256='8f2f8c01bb2d726b0f64e5a5bc3aa2bd8057ccaee7a29c68f1439d16e39aaa90')
version('master', branch='master', submodules=True)
@@ -54,7 +55,6 @@ class Tangram(CMakePackage):
depends_on('wonton+kokkos', when='+kokkos')
depends_on('wonton+cuda', when='+cuda')
depends_on('wonton+openmp', when='+openmp')
- depends_on('wonton+cuda', when='+cuda')
def cmake_args(self):
options = []
diff --git a/var/spack/repos/builtin/packages/tantan/package.py b/var/spack/repos/builtin/packages/tantan/package.py
index d9a8847635..c24550a532 100644
--- a/var/spack/repos/builtin/packages/tantan/package.py
+++ b/var/spack/repos/builtin/packages/tantan/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tar/package.py b/var/spack/repos/builtin/packages/tar/package.py
index 156476ccd4..d5303abe70 100644
--- a/var/spack/repos/builtin/packages/tar/package.py
+++ b/var/spack/repos/builtin/packages/tar/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/targetp/package.py b/var/spack/repos/builtin/packages/targetp/package.py
index 7d691f2fc7..06a1f77ef6 100644
--- a/var/spack/repos/builtin/packages/targetp/package.py
+++ b/var/spack/repos/builtin/packages/targetp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/task/package.py b/var/spack/repos/builtin/packages/task/package.py
index 4d1d54565c..52d0713669 100644
--- a/var/spack/repos/builtin/packages/task/package.py
+++ b/var/spack/repos/builtin/packages/task/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,6 +16,6 @@ class Task(CMakePackage):
depends_on('cmake@2.8:', type='build')
depends_on('gnutls')
- depends_on('libuuid')
+ depends_on('uuid')
conflicts('%gcc@:4.7')
diff --git a/var/spack/repos/builtin/packages/taskd/package.py b/var/spack/repos/builtin/packages/taskd/package.py
index 1456d4cabb..6f906e70ff 100644
--- a/var/spack/repos/builtin/packages/taskd/package.py
+++ b/var/spack/repos/builtin/packages/taskd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,7 +14,7 @@ class Taskd(CMakePackage):
version('1.1.0', sha256='7b8488e687971ae56729ff4e2e5209ff8806cf8cd57718bfd7e521be130621b4')
- depends_on('libuuid')
+ depends_on('uuid')
depends_on('gnutls')
depends_on('cmake@2.8:', type='build')
diff --git a/var/spack/repos/builtin/packages/taskflow/package.py b/var/spack/repos/builtin/packages/taskflow/package.py
index 5ebc0434da..53862cc6ab 100644
--- a/var/spack/repos/builtin/packages/taskflow/package.py
+++ b/var/spack/repos/builtin/packages/taskflow/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tasmanian/package.py b/var/spack/repos/builtin/packages/tasmanian/package.py
index a4aa94056a..7e6f43c863 100644
--- a/var/spack/repos/builtin/packages/tasmanian/package.py
+++ b/var/spack/repos/builtin/packages/tasmanian/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tassel/package.py b/var/spack/repos/builtin/packages/tassel/package.py
index 7de1648af4..1b51edbc0e 100644
--- a/var/spack/repos/builtin/packages/tassel/package.py
+++ b/var/spack/repos/builtin/packages/tassel/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tau/package.py b/var/spack/repos/builtin/packages/tau/package.py
index 331f88861c..f3356c8bb5 100644
--- a/var/spack/repos/builtin/packages/tau/package.py
+++ b/var/spack/repos/builtin/packages/tau/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -24,6 +24,7 @@ class Tau(Package):
git = "https://github.com/UO-OACISS/tau2"
version('master', branch='master')
+ version('2.30.1', sha256='9c20ca1b4f4e80d885f24491cee598068871f0e9dd67906a5e47e4b4147d08fc')
version('2.30', sha256='e581c33e21488d69839a00d97fd4451ea579f47249b2750d5c36bea773041eaf')
version('2.29.1', sha256='4195a0a236bba510ab50a93e13c7f00d9472e8bc46c91de3f0696112a34e34e2')
version('2.29', sha256='146be769a23c869a7935e8fa5ba79f40ba36b9057a96dda3be6730fc9ca86086')
diff --git a/var/spack/repos/builtin/packages/tauola/package.py b/var/spack/repos/builtin/packages/tauola/package.py
index e850ce4dcc..5122aef89b 100644
--- a/var/spack/repos/builtin/packages/tauola/package.py
+++ b/var/spack/repos/builtin/packages/tauola/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,15 +12,39 @@ class Tauola(AutotoolsPackage):
homepage = "https://tauolapp.web.cern.ch/tauolapp/"
url = "https://tauolapp.web.cern.ch/tauolapp/resources/TAUOLA.1.1.8/TAUOLA.1.1.8-LHC.tar.gz"
+ tags = ['hep']
+
version('1.1.8', sha256='3f734e8a967682869cca2c1ffebd3e055562613c40853cc81820d8b666805ed5')
+ variant('hepmc', default=True, description="Enable hepmc 2.x support")
+ variant('hepmc3', default=False, description="Enable hepmc3 support")
+ variant('lhapdf', default=False, description="Enable lhapdf support")
+ variant('cxxstd',
+ default='11',
+ values=('11', '14', '17', '20'),
+ multi=False,
+ description='Use the specified C++ standard when building.')
+
maintainers = ['vvolkl']
- depends_on('hepmc@:2.99.99')
+ depends_on('hepmc', when='+hepmc')
+ depends_on('hepmc3', when='+hepmc3')
+ depends_on('lhapdf', when='+lhapdf')
+
+ def flag_handler(self, name, flags):
+ if name == 'cflags':
+ flags.append('-O2')
+ elif name == 'cxxflags':
+ flags.append('-O2')
+ flags.append('-std=c++{0}'.format(self.spec.variants['cxxstd'].value))
+ elif name == 'fflags':
+ flags.append('-O2')
+ return (None, None, flags)
def configure_args(self):
- args = []
+ args = ['--with-pic']
- args.append('--with-hepmc=%s' % self.spec["hepmc"].prefix)
- args.append('--without-hepmc3')
+ args.extend(self.with_or_without('hepmc', 'prefix'))
+ args.extend(self.with_or_without('hepmc3', 'prefix'))
+ args.extend(self.with_or_without('lhapdf', 'prefix'))
return args
diff --git a/var/spack/repos/builtin/packages/tbl2asn/package.py b/var/spack/repos/builtin/packages/tbl2asn/package.py
index 8f1c0ba74c..5785f5ed61 100644
--- a/var/spack/repos/builtin/packages/tbl2asn/package.py
+++ b/var/spack/repos/builtin/packages/tbl2asn/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tcl-itcl/package.py b/var/spack/repos/builtin/packages/tcl-itcl/package.py
index c39e18df8e..d0bdba2862 100644
--- a/var/spack/repos/builtin/packages/tcl-itcl/package.py
+++ b/var/spack/repos/builtin/packages/tcl-itcl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tcl-tcllib/package.py b/var/spack/repos/builtin/packages/tcl-tcllib/package.py
index 4f372e7aa3..864395a502 100644
--- a/var/spack/repos/builtin/packages/tcl-tcllib/package.py
+++ b/var/spack/repos/builtin/packages/tcl-tcllib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tcl-tclxml/package.py b/var/spack/repos/builtin/packages/tcl-tclxml/package.py
index eb70996f11..72c09e2ddd 100644
--- a/var/spack/repos/builtin/packages/tcl-tclxml/package.py
+++ b/var/spack/repos/builtin/packages/tcl-tclxml/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tcl/package.py b/var/spack/repos/builtin/packages/tcl/package.py
index 05cd896435..5d82bb7eef 100644
--- a/var/spack/repos/builtin/packages/tcl/package.py
+++ b/var/spack/repos/builtin/packages/tcl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,8 +17,9 @@ class Tcl(AutotoolsPackage, SourceforgePackage):
that is truly cross platform, easily deployed and highly
extensible."""
homepage = "http://www.tcl.tk"
- sourceforge_mirror_path = "tcl/tcl8.6.5-src.tar.gz"
+ sourceforge_mirror_path = "tcl/tcl8.6.11-src.tar.gz"
+ version('8.6.11', sha256='8c0486668586672c5693d7d95817cb05a18c5ecca2f40e2836b9578064088258')
version('8.6.10', sha256='5196dbf6638e3df8d5c87b5815c8c2b758496eb6f0e41446596c9a4e638d87ed')
version('8.6.8', sha256='c43cb0c1518ce42b00e7c8f6eaddd5195c53a98f94adc717234a65cbcfd3f96a')
version('8.6.6', sha256='a265409781e4b3edcc4ef822533071b34c3dc6790b893963809b9fe221befe07')
diff --git a/var/spack/repos/builtin/packages/tclap/package.py b/var/spack/repos/builtin/packages/tclap/package.py
index f8d8ce800d..5599fd469b 100644
--- a/var/spack/repos/builtin/packages/tclap/package.py
+++ b/var/spack/repos/builtin/packages/tclap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tcoffee/package.py b/var/spack/repos/builtin/packages/tcoffee/package.py
index 36cf8a6389..49c2c11d47 100644
--- a/var/spack/repos/builtin/packages/tcoffee/package.py
+++ b/var/spack/repos/builtin/packages/tcoffee/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tcpdump/package.py b/var/spack/repos/builtin/packages/tcpdump/package.py
index 53507d5bda..08b138dc4a 100644
--- a/var/spack/repos/builtin/packages/tcpdump/package.py
+++ b/var/spack/repos/builtin/packages/tcpdump/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tcptrace/package.py b/var/spack/repos/builtin/packages/tcptrace/package.py
index b2e41e8d26..4122021ad5 100644
--- a/var/spack/repos/builtin/packages/tcptrace/package.py
+++ b/var/spack/repos/builtin/packages/tcptrace/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tcsh/package.py b/var/spack/repos/builtin/packages/tcsh/package.py
index 7cdd8bb412..e718e4d734 100644
--- a/var/spack/repos/builtin/packages/tcsh/package.py
+++ b/var/spack/repos/builtin/packages/tcsh/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tdengine/package.py b/var/spack/repos/builtin/packages/tdengine/package.py
index 4a31e8a4ab..b17e7cd3ed 100644
--- a/var/spack/repos/builtin/packages/tdengine/package.py
+++ b/var/spack/repos/builtin/packages/tdengine/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tealeaf/package.py b/var/spack/repos/builtin/packages/tealeaf/package.py
index 807d9565fe..a25c605034 100644
--- a/var/spack/repos/builtin/packages/tealeaf/package.py
+++ b/var/spack/repos/builtin/packages/tealeaf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/teckit/package.py b/var/spack/repos/builtin/packages/teckit/package.py
index f8ac04816a..e01e0100c3 100644
--- a/var/spack/repos/builtin/packages/teckit/package.py
+++ b/var/spack/repos/builtin/packages/teckit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tecplot/package.py b/var/spack/repos/builtin/packages/tecplot/package.py
index d741cb7df7..5f5a66db2f 100644
--- a/var/spack/repos/builtin/packages/tecplot/package.py
+++ b/var/spack/repos/builtin/packages/tecplot/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tempestremap/package.py b/var/spack/repos/builtin/packages/tempestremap/package.py
new file mode 100644
index 0000000000..7704e00d5e
--- /dev/null
+++ b/var/spack/repos/builtin/packages/tempestremap/package.py
@@ -0,0 +1,45 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Tempestremap(AutotoolsPackage):
+ """ TempestRemap is a conservative, consistent and monotone remapping
+ package for arbitrary grid geometry with support for finite volumes
+ and finite elements.
+
+ There is still quite a bit of work to be done, but any feedback is
+ appreciated on the software in its current form
+ """
+
+ homepage = "https://github.com/ClimateGlobalChange/tempestremap"
+ url = "https://github.com/ClimateGlobalChange/tempestremap/archive/v2.0.5.tar.gz"
+
+ maintainers = ['iulian787', 'vijaysm', 'paullric']
+
+ version('2.0.5', sha256='8618f5cbde450922efa1d77e67b062c557788b0cf4304adca30237afe3ade887')
+ version('2.0.4', sha256='8349eeb604e97b13d2ecde8626a69e579a7af70ad0e8a6925a8bb4306a4963a4')
+ version('2.0.3', sha256='b4578c2cb101ba091a10dc914e15ac968257f5db27ca78bc9fb5dbd70bce191f')
+ version('2.0.2', sha256='2347bf804d19d515cb630a76b87e6dc6edcc1a828ff8c0f2a8a28e77794bad13')
+ version('2.0.1', sha256='a3f1bef8cc413a689d429ac56f2bcc2e1d282d99797c3375233de792a7448ece')
+ version('2.0.0', sha256='5850e251a4ad04fc924452f49183e5e12c38725832a568e57fa424a844b8a000')
+
+ depends_on('autoconf', type='build')
+ depends_on('automake', type='build')
+ depends_on('libtool', type='build')
+ depends_on('m4', type='build')
+
+ depends_on('netcdf-c')
+ depends_on('blas')
+ depends_on('lapack')
+
+ def configure_args(self):
+ spec = self.spec
+ options = []
+ options.append('--with-netcdf=%s' % spec['netcdf-c'].prefix)
+ options.append('--with-blas=%s' % spec['blas'].libs.ld_flags)
+ options.append('--with-lapack=%s' % spec['lapack'].libs.ld_flags)
+ return options
diff --git a/var/spack/repos/builtin/packages/templight-tools/package.py b/var/spack/repos/builtin/packages/templight-tools/package.py
index debc9e82ce..1fd53d112e 100644
--- a/var/spack/repos/builtin/packages/templight-tools/package.py
+++ b/var/spack/repos/builtin/packages/templight-tools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/templight/package.py b/var/spack/repos/builtin/packages/templight/package.py
index 371999266d..a24ee96efc 100644
--- a/var/spack/repos/builtin/packages/templight/package.py
+++ b/var/spack/repos/builtin/packages/templight/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tengine/package.py b/var/spack/repos/builtin/packages/tengine/package.py
index 4296c18758..e7cf6f03a3 100644
--- a/var/spack/repos/builtin/packages/tengine/package.py
+++ b/var/spack/repos/builtin/packages/tengine/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tensorflow-serving-client/package.py b/var/spack/repos/builtin/packages/tensorflow-serving-client/package.py
index 58976df975..710c9440bd 100644
--- a/var/spack/repos/builtin/packages/tensorflow-serving-client/package.py
+++ b/var/spack/repos/builtin/packages/tensorflow-serving-client/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/termcap/package.py b/var/spack/repos/builtin/packages/termcap/package.py
index b873f2969a..cdacf46938 100644
--- a/var/spack/repos/builtin/packages/termcap/package.py
+++ b/var/spack/repos/builtin/packages/termcap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tesseract/package.py b/var/spack/repos/builtin/packages/tesseract/package.py
index a03be72f4e..165ccc2d07 100644
--- a/var/spack/repos/builtin/packages/tesseract/package.py
+++ b/var/spack/repos/builtin/packages/tesseract/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/testdfsio/package.py b/var/spack/repos/builtin/packages/testdfsio/package.py
index 27b96a3015..9d83f0f610 100644
--- a/var/spack/repos/builtin/packages/testdfsio/package.py
+++ b/var/spack/repos/builtin/packages/testdfsio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tetgen/package.py b/var/spack/repos/builtin/packages/tetgen/package.py
index 6d434c6e14..d7b5fcfd5e 100644
--- a/var/spack/repos/builtin/packages/tetgen/package.py
+++ b/var/spack/repos/builtin/packages/tetgen/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tethex/package.py b/var/spack/repos/builtin/packages/tethex/package.py
index 88c3412b66..0ac1857b63 100644
--- a/var/spack/repos/builtin/packages/tethex/package.py
+++ b/var/spack/repos/builtin/packages/tethex/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/texinfo/package.py b/var/spack/repos/builtin/packages/texinfo/package.py
index b33a07eb46..f2959712fd 100644
--- a/var/spack/repos/builtin/packages/texinfo/package.py
+++ b/var/spack/repos/builtin/packages/texinfo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/texlive/package.py b/var/spack/repos/builtin/packages/texlive/package.py
index 1687af6bed..ffacf409cd 100644
--- a/var/spack/repos/builtin/packages/texlive/package.py
+++ b/var/spack/repos/builtin/packages/texlive/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/texstudio/package.py b/var/spack/repos/builtin/packages/texstudio/package.py
index babfaa078c..13d1daba11 100644
--- a/var/spack/repos/builtin/packages/texstudio/package.py
+++ b/var/spack/repos/builtin/packages/texstudio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/textparser/package.py b/var/spack/repos/builtin/packages/textparser/package.py
index 85252633a0..035f3339be 100644
--- a/var/spack/repos/builtin/packages/textparser/package.py
+++ b/var/spack/repos/builtin/packages/textparser/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tfel/package.py b/var/spack/repos/builtin/packages/tfel/package.py
index 86305d69f8..1861d13eaa 100644
--- a/var/spack/repos/builtin/packages/tfel/package.py
+++ b/var/spack/repos/builtin/packages/tfel/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -29,12 +29,13 @@ class Tfel(CMakePackage):
"""
homepage = "http://tfel.sourceforge.net"
- url = "https://github.com/thelfer/tfel/archive/TFEL-3.3.0.tar.gz"
+ url = "https://github.com/thelfer/tfel/archive/TFEL-3.4.0.tar.gz"
git = "https://github.com/thelfer/tfel.git"
maintainers = ['thelfer']
# development branches
version("master", branch="master")
+ version("rliv-3.4", branch="rliv-3.4")
version("rliv-3.3", branch="rliv-3.3")
version("rliv-3.2", branch="rliv-3.2")
version("rliv-3.1", branch="rliv-3.1")
@@ -43,6 +44,7 @@ class Tfel(CMakePackage):
version("rliv-1.2", branch="rliv-1.2")
# released version
+ version('3.4.0', sha256='884ad68b0fbbededc3a602d559433c24114ae4534dc9f0a759d31ca3589dace0')
version('3.3.0', sha256='884ad68b0fbbededc3a602d559433c24114ae4534dc9f0a759d31ca3589dace0')
version('3.2.2', sha256='69b01ae0d1f9140b619aaa9135948284ff40d4654672c335e55ab4934c02eb43')
version('3.2.1', sha256='12786480524a7fe86889120fb334fa00211dfd44ad5ec71e2279e7adf1ddc807')
@@ -101,7 +103,7 @@ class Tfel(CMakePackage):
type=('build', 'link', 'run'))
depends_on('python', when='+python_bindings',
type=('build', 'link', 'run'))
- depends_on('boost+python', when='+python_bindings')
+ depends_on('boost+python+numpy', when='+python_bindings')
extends('python', when='+python_bindings')
@@ -109,6 +111,8 @@ class Tfel(CMakePackage):
args = []
+ args.append("-DUSE_EXTERNAL_COMPILER_FLAGS=ON")
+
for i in ['fortran', 'java', 'aster', 'abaqus', 'calculix',
'ansys', 'europlexus', 'cyrano', 'lsdyna', 'python',
'comsol', 'diana-fea']:
diff --git a/var/spack/repos/builtin/packages/the-platinum-searcher/package.py b/var/spack/repos/builtin/packages/the-platinum-searcher/package.py
index 9c7c6a68a0..e5be2ec6ba 100644
--- a/var/spack/repos/builtin/packages/the-platinum-searcher/package.py
+++ b/var/spack/repos/builtin/packages/the-platinum-searcher/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,7 +14,7 @@ class ThePlatinumSearcher(Package):
version('head')
- extends("go", deptypes='build')
+ extends("go", type='build')
def install(self, spec, prefix):
env['GOPATH'] = self.stage.source_path + ':' + env['GOPATH']
diff --git a/var/spack/repos/builtin/packages/the-silver-searcher/package.py b/var/spack/repos/builtin/packages/the-silver-searcher/package.py
index 516e744247..3afe1bc4f1 100644
--- a/var/spack/repos/builtin/packages/the-silver-searcher/package.py
+++ b/var/spack/repos/builtin/packages/the-silver-searcher/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/thepeg/package.py b/var/spack/repos/builtin/packages/thepeg/package.py
index 766586acf4..59d07b97d2 100644
--- a/var/spack/repos/builtin/packages/thepeg/package.py
+++ b/var/spack/repos/builtin/packages/thepeg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,6 +12,8 @@ class Thepeg(AutotoolsPackage):
homepage = "http://home.thep.lu.se/~leif/ThePEG/"
url = "https://thepeg.hepforge.org/downloads/?f=ThePEG-2.2.1.tar.bz2"
+ tags = ['hep']
+
# The commented out versions exist, but may need patches
# and/or recipe changes
version('2.2.1', sha256='63abc7215e6ad45c11cf9dac013738e194cc38556a8368b850b70ab1b57ea58f')
diff --git a/var/spack/repos/builtin/packages/thornado-mini/package.py b/var/spack/repos/builtin/packages/thornado-mini/package.py
index 34e40e8233..40a9be8dcd 100644
--- a/var/spack/repos/builtin/packages/thornado-mini/package.py
+++ b/var/spack/repos/builtin/packages/thornado-mini/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/thrift/package.py b/var/spack/repos/builtin/packages/thrift/package.py
index da7d9e6809..56f0edec41 100644
--- a/var/spack/repos/builtin/packages/thrift/package.py
+++ b/var/spack/repos/builtin/packages/thrift/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/thrust/package.py b/var/spack/repos/builtin/packages/thrust/package.py
index e82737189d..f7878736b1 100644
--- a/var/spack/repos/builtin/packages/thrust/package.py
+++ b/var/spack/repos/builtin/packages/thrust/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tig/package.py b/var/spack/repos/builtin/packages/tig/package.py
index 68e54bc05d..e264badd2b 100644
--- a/var/spack/repos/builtin/packages/tig/package.py
+++ b/var/spack/repos/builtin/packages/tig/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/time/package.py b/var/spack/repos/builtin/packages/time/package.py
index 0744b22509..de561b1c87 100644
--- a/var/spack/repos/builtin/packages/time/package.py
+++ b/var/spack/repos/builtin/packages/time/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/timedatex/package.py b/var/spack/repos/builtin/packages/timedatex/package.py
index 5ee5ef9d1c..b5966a6953 100644
--- a/var/spack/repos/builtin/packages/timedatex/package.py
+++ b/var/spack/repos/builtin/packages/timedatex/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/timemory/package.py b/var/spack/repos/builtin/packages/timemory/package.py
index 7add541617..814dbf4a34 100644
--- a/var/spack/repos/builtin/packages/timemory/package.py
+++ b/var/spack/repos/builtin/packages/timemory/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tinker/package.py b/var/spack/repos/builtin/packages/tinker/package.py
index 7a15b81107..91d8909768 100644
--- a/var/spack/repos/builtin/packages/tinker/package.py
+++ b/var/spack/repos/builtin/packages/tinker/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tinyxml/package.py b/var/spack/repos/builtin/packages/tinyxml/package.py
index 3e924e3a9f..4ce541c250 100644
--- a/var/spack/repos/builtin/packages/tinyxml/package.py
+++ b/var/spack/repos/builtin/packages/tinyxml/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tinyxml2/package.py b/var/spack/repos/builtin/packages/tinyxml2/package.py
index 1cca1b4c30..ab3492bae0 100644
--- a/var/spack/repos/builtin/packages/tinyxml2/package.py
+++ b/var/spack/repos/builtin/packages/tinyxml2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tioga/package.py b/var/spack/repos/builtin/packages/tioga/package.py
index 602e5823ef..e436bfbc6b 100644
--- a/var/spack/repos/builtin/packages/tioga/package.py
+++ b/var/spack/repos/builtin/packages/tioga/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tippecanoe/package.py b/var/spack/repos/builtin/packages/tippecanoe/package.py
index 4bf4b70125..0d8f792ae3 100644
--- a/var/spack/repos/builtin/packages/tippecanoe/package.py
+++ b/var/spack/repos/builtin/packages/tippecanoe/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tiptop/package.py b/var/spack/repos/builtin/packages/tiptop/package.py
index 2fb46c678c..2ce95777b9 100644
--- a/var/spack/repos/builtin/packages/tiptop/package.py
+++ b/var/spack/repos/builtin/packages/tiptop/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tix/package.py b/var/spack/repos/builtin/packages/tix/package.py
index c3d3651ee0..2dc682d2e2 100644
--- a/var/spack/repos/builtin/packages/tix/package.py
+++ b/var/spack/repos/builtin/packages/tix/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tixi/package.py b/var/spack/repos/builtin/packages/tixi/package.py
index 74a7ed7c65..0521f01f78 100644
--- a/var/spack/repos/builtin/packages/tixi/package.py
+++ b/var/spack/repos/builtin/packages/tixi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tk/package.py b/var/spack/repos/builtin/packages/tk/package.py
index ff2e08875c..1eab02b16d 100644
--- a/var/spack/repos/builtin/packages/tk/package.py
+++ b/var/spack/repos/builtin/packages/tk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tldd/package.py b/var/spack/repos/builtin/packages/tldd/package.py
index bd3d0f4f2a..0036a6601a 100644
--- a/var/spack/repos/builtin/packages/tldd/package.py
+++ b/var/spack/repos/builtin/packages/tldd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tmalign/package.py b/var/spack/repos/builtin/packages/tmalign/package.py
index 5ee2493c60..9a11d590d0 100644
--- a/var/spack/repos/builtin/packages/tmalign/package.py
+++ b/var/spack/repos/builtin/packages/tmalign/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tmhmm/package.py b/var/spack/repos/builtin/packages/tmhmm/package.py
index 9758f58510..692a2a91e5 100644
--- a/var/spack/repos/builtin/packages/tmhmm/package.py
+++ b/var/spack/repos/builtin/packages/tmhmm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tmux/package.py b/var/spack/repos/builtin/packages/tmux/package.py
index 8a50e2ebe9..04b0656b83 100644
--- a/var/spack/repos/builtin/packages/tmux/package.py
+++ b/var/spack/repos/builtin/packages/tmux/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tomcat/package.py b/var/spack/repos/builtin/packages/tomcat/package.py
index 8821f482f6..374b03eb82 100644
--- a/var/spack/repos/builtin/packages/tomcat/package.py
+++ b/var/spack/repos/builtin/packages/tomcat/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tophat/package.py b/var/spack/repos/builtin/packages/tophat/package.py
index f54df7eca4..ea08822ab7 100644
--- a/var/spack/repos/builtin/packages/tophat/package.py
+++ b/var/spack/repos/builtin/packages/tophat/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/totalview/package.py b/var/spack/repos/builtin/packages/totalview/package.py
index 50553aaeea..b985fc094f 100644
--- a/var/spack/repos/builtin/packages/totalview/package.py
+++ b/var/spack/repos/builtin/packages/totalview/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tpm2-tss/package.py b/var/spack/repos/builtin/packages/tpm2-tss/package.py
index f06f4a0378..31d49e3d8e 100644
--- a/var/spack/repos/builtin/packages/tpm2-tss/package.py
+++ b/var/spack/repos/builtin/packages/tpm2-tss/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tppred/package.py b/var/spack/repos/builtin/packages/tppred/package.py
index d672f9e776..00606e0303 100644
--- a/var/spack/repos/builtin/packages/tppred/package.py
+++ b/var/spack/repos/builtin/packages/tppred/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tracer/package.py b/var/spack/repos/builtin/packages/tracer/package.py
index 400078f1ff..4694ef632a 100644
--- a/var/spack/repos/builtin/packages/tracer/package.py
+++ b/var/spack/repos/builtin/packages/tracer/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/transabyss/package.py b/var/spack/repos/builtin/packages/transabyss/package.py
index 3ae4936857..f867732d0a 100644
--- a/var/spack/repos/builtin/packages/transabyss/package.py
+++ b/var/spack/repos/builtin/packages/transabyss/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/transdecoder/package.py b/var/spack/repos/builtin/packages/transdecoder/package.py
index 9e621a2152..c173f3e6c2 100644
--- a/var/spack/repos/builtin/packages/transdecoder/package.py
+++ b/var/spack/repos/builtin/packages/transdecoder/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/transposome/package.py b/var/spack/repos/builtin/packages/transposome/package.py
index 434e1307d4..a4a46d503a 100644
--- a/var/spack/repos/builtin/packages/transposome/package.py
+++ b/var/spack/repos/builtin/packages/transposome/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/transrate/package.py b/var/spack/repos/builtin/packages/transrate/package.py
index 2cb551bdd8..4b33cdfa21 100644
--- a/var/spack/repos/builtin/packages/transrate/package.py
+++ b/var/spack/repos/builtin/packages/transrate/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/transset/package.py b/var/spack/repos/builtin/packages/transset/package.py
index 089ab2aecf..49dcdcf98d 100644
--- a/var/spack/repos/builtin/packages/transset/package.py
+++ b/var/spack/repos/builtin/packages/transset/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,6 +16,6 @@ class Transset(AutotoolsPackage, XorgPackage):
depends_on('libx11')
- depends_on('xproto@7.0.17:', type='build')
+ depends_on('xproto@7.0.17:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/trapproto/package.py b/var/spack/repos/builtin/packages/trapproto/package.py
index 4945caa50a..a63ad2d064 100644
--- a/var/spack/repos/builtin/packages/trapproto/package.py
+++ b/var/spack/repos/builtin/packages/trapproto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tree/package.py b/var/spack/repos/builtin/packages/tree/package.py
index 3f3e480969..16c21aff0a 100644
--- a/var/spack/repos/builtin/packages/tree/package.py
+++ b/var/spack/repos/builtin/packages/tree/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/treelite/package.py b/var/spack/repos/builtin/packages/treelite/package.py
index c602f9623d..b3b440f094 100644
--- a/var/spack/repos/builtin/packages/treelite/package.py
+++ b/var/spack/repos/builtin/packages/treelite/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/treesub/package.py b/var/spack/repos/builtin/packages/treesub/package.py
index 0a4dad25d6..10be3af820 100644
--- a/var/spack/repos/builtin/packages/treesub/package.py
+++ b/var/spack/repos/builtin/packages/treesub/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/trf/package.py b/var/spack/repos/builtin/packages/trf/package.py
index 635b7e2830..1009a14596 100644
--- a/var/spack/repos/builtin/packages/trf/package.py
+++ b/var/spack/repos/builtin/packages/trf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/triangle/package.py b/var/spack/repos/builtin/packages/triangle/package.py
index f8703f33b3..c7528b7078 100644
--- a/var/spack/repos/builtin/packages/triangle/package.py
+++ b/var/spack/repos/builtin/packages/triangle/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/trident/package.py b/var/spack/repos/builtin/packages/trident/package.py
index 6e13a864dc..e2ff7de95a 100644
--- a/var/spack/repos/builtin/packages/trident/package.py
+++ b/var/spack/repos/builtin/packages/trident/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/trilinos-catalyst-ioss-adapter/package.py b/var/spack/repos/builtin/packages/trilinos-catalyst-ioss-adapter/package.py
index f0393510e1..a90f08511e 100644
--- a/var/spack/repos/builtin/packages/trilinos-catalyst-ioss-adapter/package.py
+++ b/var/spack/repos/builtin/packages/trilinos-catalyst-ioss-adapter/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/trilinos/package.py b/var/spack/repos/builtin/packages/trilinos/package.py
index 2d341b245a..8f333e050c 100644
--- a/var/spack/repos/builtin/packages/trilinos/package.py
+++ b/var/spack/repos/builtin/packages/trilinos/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -77,6 +77,8 @@ class Trilinos(CMakePackage, CudaPackage):
description='Compile with Fortran support')
variant('wrapper', default=False,
description="Use nvcc-wrapper for CUDA build")
+ variant('cuda_rdc', default=False,
+ description='turn on RDC for CUDA build')
variant('cxxstd', default='11', values=['11', '14', '17'], multi=False)
variant('hwloc', default=False,
description='Enable hwloc')
@@ -269,7 +271,6 @@ class Trilinos(CMakePackage, CudaPackage):
conflicts('+isorropia', when='~teuchos')
conflicts('+isorropia', when='~zoltan')
conflicts('+muelu', when='~teuchos')
- conflicts('+muelu', when='~xpetra')
conflicts('+nox', when='~teuchos')
conflicts('+phalanx', when='~kokkos')
conflicts('+phalanx', when='~sacado')
@@ -290,7 +291,6 @@ class Trilinos(CMakePackage, CudaPackage):
conflicts('+tpetra', when='~teuchos')
conflicts('+zoltan2', when='~teuchos')
conflicts('+zoltan2', when='~tpetra')
- conflicts('+zoltan2', when='~xpetra')
conflicts('+zoltan2', when='~zoltan')
conflicts('+dtk', when='~boost')
@@ -328,8 +328,10 @@ class Trilinos(CMakePackage, CudaPackage):
conflicts('+adios2', when='@:12.14.1')
conflicts('+adios2', when='@xsdk-0.2.0')
conflicts('+pnetcdf', when='~netcdf')
+ conflicts('+cuda_rdc', when='~cuda')
conflicts('+wrapper', when='~cuda')
conflicts('+wrapper', when='%clang')
+ conflicts('cxxstd=11', when='@develop')
conflicts('cxxstd=11', when='+wrapper ^cuda@6.5.14')
conflicts('cxxstd=14', when='+wrapper ^cuda@6.5.14:8.0.61')
conflicts('cxxstd=17', when='+wrapper ^cuda@6.5.14:10.2.89')
@@ -395,7 +397,6 @@ class Trilinos(CMakePackage, CudaPackage):
# Dependencies/conflicts when MPI is disabled
depends_on('hdf5~mpi', when='+hdf5~mpi')
- conflicts('+parmetis', when='~mpi')
conflicts('+pnetcdf', when='~mpi')
patch('umfpack_from_suitesparse.patch', when='@11.14.1:12.8.1')
@@ -752,6 +753,10 @@ class Trilinos(CMakePackage, CudaPackage):
define('Kokkos_ENABLE_CUDA', True),
define('Kokkos_ENABLE_CUDA_UVM', True),
define('Kokkos_ENABLE_CUDA_LAMBDA', True)])
+ if '+cuda_rdc' in spec:
+ options.append(define(
+ 'Kokkos_ENABLE_CUDA_RELOCATABLE_DEVICE_CODE',
+ True))
for iArchCC in spec.variants['cuda_arch'].value:
options.append(define(
"Kokkos_ARCH_" +
diff --git a/var/spack/repos/builtin/packages/trimal/package.py b/var/spack/repos/builtin/packages/trimal/package.py
index dce8604c50..106a1723b2 100644
--- a/var/spack/repos/builtin/packages/trimal/package.py
+++ b/var/spack/repos/builtin/packages/trimal/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/trimgalore/package.py b/var/spack/repos/builtin/packages/trimgalore/package.py
index 9c431073cb..93be5a19e4 100644
--- a/var/spack/repos/builtin/packages/trimgalore/package.py
+++ b/var/spack/repos/builtin/packages/trimgalore/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/trimmomatic/package.py b/var/spack/repos/builtin/packages/trimmomatic/package.py
index 99a24fc8f1..cc0a4b78d7 100644
--- a/var/spack/repos/builtin/packages/trimmomatic/package.py
+++ b/var/spack/repos/builtin/packages/trimmomatic/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/trinity/package.py b/var/spack/repos/builtin/packages/trinity/package.py
index 8bdc10dd79..efb7a1f572 100644
--- a/var/spack/repos/builtin/packages/trinity/package.py
+++ b/var/spack/repos/builtin/packages/trinity/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/trinotate/package.py b/var/spack/repos/builtin/packages/trinotate/package.py
index 00c0ad3953..2b2f96de7d 100644
--- a/var/spack/repos/builtin/packages/trinotate/package.py
+++ b/var/spack/repos/builtin/packages/trinotate/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/trnascan-se/package.py b/var/spack/repos/builtin/packages/trnascan-se/package.py
index cad1a15e90..091d88a266 100644
--- a/var/spack/repos/builtin/packages/trnascan-se/package.py
+++ b/var/spack/repos/builtin/packages/trnascan-se/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tskit/package.py b/var/spack/repos/builtin/packages/tskit/package.py
index 387405259c..00daac3d3f 100644
--- a/var/spack/repos/builtin/packages/tskit/package.py
+++ b/var/spack/repos/builtin/packages/tskit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,7 +11,7 @@ class Tskit(PythonPackage):
examine, and manipulate tree sequences"""
homepage = "https://tskit.readthedocs.io/en/latest/"
- url = "https://pypi.io/packages/source/t/tskit/tskit-0.3.1.tar.gz"
+ pypi = "tskit/tskit-0.3.1.tar.gz"
version('0.3.1', sha256='b9c5a9b2fb62a615e389036946345ef8a35b09f1ffee541995b16f97fedb3d36')
diff --git a/var/spack/repos/builtin/packages/tulip/package.py b/var/spack/repos/builtin/packages/tulip/package.py
index 77d010222d..29263afe8e 100644
--- a/var/spack/repos/builtin/packages/tulip/package.py
+++ b/var/spack/repos/builtin/packages/tulip/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/turbine/package.py b/var/spack/repos/builtin/packages/turbine/package.py
index c180037304..3050cb0b09 100644
--- a/var/spack/repos/builtin/packages/turbine/package.py
+++ b/var/spack/repos/builtin/packages/turbine/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/turbomole/package.py b/var/spack/repos/builtin/packages/turbomole/package.py
index 501f06d3ca..d5cac01132 100644
--- a/var/spack/repos/builtin/packages/turbomole/package.py
+++ b/var/spack/repos/builtin/packages/turbomole/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/turnserver/package.py b/var/spack/repos/builtin/packages/turnserver/package.py
index fe1024b95c..6134d84b22 100644
--- a/var/spack/repos/builtin/packages/turnserver/package.py
+++ b/var/spack/repos/builtin/packages/turnserver/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/tut/package.py b/var/spack/repos/builtin/packages/tut/package.py
index 621fd4c072..64fdc242d1 100644
--- a/var/spack/repos/builtin/packages/tut/package.py
+++ b/var/spack/repos/builtin/packages/tut/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/twm/package.py b/var/spack/repos/builtin/packages/twm/package.py
index 45dae87541..c7de0c45d0 100644
--- a/var/spack/repos/builtin/packages/twm/package.py
+++ b/var/spack/repos/builtin/packages/twm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -24,7 +24,7 @@ class Twm(AutotoolsPackage, XorgPackage):
depends_on('libice')
depends_on('libsm')
- depends_on('xproto@7.0.17:', type='build')
+ depends_on('xproto@7.0.17:')
depends_on('bison', type='build')
depends_on('flex', type='build')
depends_on('pkgconfig', type='build')
diff --git a/var/spack/repos/builtin/packages/tycho2/package.py b/var/spack/repos/builtin/packages/tycho2/package.py
index a7c22ec56d..0f02b49227 100644
--- a/var/spack/repos/builtin/packages/tycho2/package.py
+++ b/var/spack/repos/builtin/packages/tycho2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/typhon/package.py b/var/spack/repos/builtin/packages/typhon/package.py
index 621b2479e4..8a7d1f0d96 100644
--- a/var/spack/repos/builtin/packages/typhon/package.py
+++ b/var/spack/repos/builtin/packages/typhon/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/typhonio/package.py b/var/spack/repos/builtin/packages/typhonio/package.py
index ac15cf9625..a409a92e3d 100644
--- a/var/spack/repos/builtin/packages/typhonio/package.py
+++ b/var/spack/repos/builtin/packages/typhonio/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,8 +17,8 @@ class Typhonio(CMakePackage):
version('develop', branch='cmake_build')
version('1.6_CMake', sha256='c9b7b2a7f4fa0b786f6b69c6426b67f42efc4ea6871323139d52cd44f4d0ff7c')
- variant('build_type', default='Release', description='The build type to build',
- values=('Debug', 'Release'))
+ variant('build_type', default='Release', values=('Debug', 'Release'),
+ description='The build type to build')
variant('fortran', default=False, description='Enable Fortran support')
variant('shared', default=False, description='Build shared libraries')
variant('doc', default=False, description='Build user guide and doxygen documentation')
diff --git a/var/spack/repos/builtin/packages/uchardet/package.py b/var/spack/repos/builtin/packages/uchardet/package.py
index 1e09e08e62..37e98f3f9e 100644
--- a/var/spack/repos/builtin/packages/uchardet/package.py
+++ b/var/spack/repos/builtin/packages/uchardet/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ucx/package.py b/var/spack/repos/builtin/packages/ucx/package.py
index c428a5bbd8..3abc53cb04 100644
--- a/var/spack/repos/builtin/packages/ucx/package.py
+++ b/var/spack/repos/builtin/packages/ucx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/udunits/package.py b/var/spack/repos/builtin/packages/udunits/package.py
index e20f2b6ccd..732bc06c5f 100644
--- a/var/spack/repos/builtin/packages/udunits/package.py
+++ b/var/spack/repos/builtin/packages/udunits/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ufo-core/package.py b/var/spack/repos/builtin/packages/ufo-core/package.py
index 23ce2bf3a2..2b2d5583f5 100644
--- a/var/spack/repos/builtin/packages/ufo-core/package.py
+++ b/var/spack/repos/builtin/packages/ufo-core/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ufo-filters/package.py b/var/spack/repos/builtin/packages/ufo-filters/package.py
index 6b2da72352..524c414100 100644
--- a/var/spack/repos/builtin/packages/ufo-filters/package.py
+++ b/var/spack/repos/builtin/packages/ufo-filters/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/umap/package.py b/var/spack/repos/builtin/packages/umap/package.py
index 030e51287e..c2a8f7e778 100644
--- a/var/spack/repos/builtin/packages/umap/package.py
+++ b/var/spack/repos/builtin/packages/umap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/umesimd/package.py b/var/spack/repos/builtin/packages/umesimd/package.py
new file mode 100644
index 0000000000..7832a4a2dc
--- /dev/null
+++ b/var/spack/repos/builtin/packages/umesimd/package.py
@@ -0,0 +1,25 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Umesimd(CMakePackage):
+ """UME::SIMD is an explicit vectorization library. The library defines
+ homogeneous interface for accessing functionality of SIMD registers of
+ AVX, AVX2, AVX512 and IMCI (KNCNI, k1om) instruction set."""
+
+ homepage = "https://github.com/edanor/umesimd"
+ url = "https://github.com/edanor/umesimd/archive/v0.8.1.tar.gz"
+
+ version('0.8.1', sha256='78f457634ee593495083cf8eb6ec1cf7f274db5ff7210c37b3a954f1a712d357')
+ version('0.7.1', sha256='c5377f8223fbf93ad79412e4b40fd14e88a86e08aa573f49df38a159d451023d')
+ version('0.6.1', sha256='15d9fde1a5c89f3c77c42550c2b55d25a581971002157a338e01104079cdf843')
+ version('0.5.2', sha256='8a02c0322b38f1e1757675bb781e190b2458fb8bc508a6bd03356da248362daf')
+ version('0.5.1', sha256='6b7bc62548170e15e98d9e4c57c2980d2cd46593167d6d4b83765aa57175e5ad')
+ version('0.4.2', sha256='a5dd2ec7ecf781af01f7e3336975870f34bfc8c79ef4bba90ec90e43b5f5969f')
+ version('0.4.1', sha256='e05b9f886164826005c8db5d2240f22cb88593c05b4fe45c81aba4d1d57a9bfa')
+ version('0.3.2', sha256='90399fa64489ca4d492a57a49582f5b827d4710a691f533822fd61edc346e8f6')
+ version('0.3.1', sha256='9bab8b4c70e11dbdd864a09053225c74cfabb801739e09a314ddeb1d84a43f0a')
diff --git a/var/spack/repos/builtin/packages/umoci/package.py b/var/spack/repos/builtin/packages/umoci/package.py
index 476e06dd66..6f25be1b1d 100644
--- a/var/spack/repos/builtin/packages/umoci/package.py
+++ b/var/spack/repos/builtin/packages/umoci/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/umpire/package.py b/var/spack/repos/builtin/packages/umpire/package.py
index 8b035e59df..c069b8c812 100644
--- a/var/spack/repos/builtin/packages/umpire/package.py
+++ b/var/spack/repos/builtin/packages/umpire/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -61,6 +61,7 @@ class Umpire(CMakePackage, CudaPackage, ROCmPackage):
depends_on('cmake@3.9:', when='+cuda', type='build')
depends_on('blt', type='build')
+ depends_on('blt@0.3.7:', type='build', when='+rocm')
# variants +rocm and amdgpu_targets are not automatically passed to
# dependencies, so do it manually.
@@ -73,6 +74,10 @@ class Umpire(CMakePackage, CudaPackage, ROCmPackage):
conflicts('+numa', when='@:0.3.2')
conflicts('~c', when='+fortran', msg='Fortran API requires C API')
+ # device allocator exports device code, which requires static libs
+ # currently only available for cuda.
+ conflicts('+shared', when='+cuda')
+
def cmake_args(self):
spec = self.spec
diff --git a/var/spack/repos/builtin/packages/unblur/package.py b/var/spack/repos/builtin/packages/unblur/package.py
index 7366ad836a..f16f73761e 100644
--- a/var/spack/repos/builtin/packages/unblur/package.py
+++ b/var/spack/repos/builtin/packages/unblur/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/uncrustify/package.py b/var/spack/repos/builtin/packages/uncrustify/package.py
index 99aeaeaab3..a04ed20731 100644
--- a/var/spack/repos/builtin/packages/uncrustify/package.py
+++ b/var/spack/repos/builtin/packages/uncrustify/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/unibilium/package.py b/var/spack/repos/builtin/packages/unibilium/package.py
index 862eee9325..e401f3069e 100644
--- a/var/spack/repos/builtin/packages/unibilium/package.py
+++ b/var/spack/repos/builtin/packages/unibilium/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/unifdef/package.py b/var/spack/repos/builtin/packages/unifdef/package.py
index 7b38686d93..4379fd9e18 100644
--- a/var/spack/repos/builtin/packages/unifdef/package.py
+++ b/var/spack/repos/builtin/packages/unifdef/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/unifyfs/package.py b/var/spack/repos/builtin/packages/unifyfs/package.py
index c1038d7c68..a78dc51715 100644
--- a/var/spack/repos/builtin/packages/unifyfs/package.py
+++ b/var/spack/repos/builtin/packages/unifyfs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -20,11 +20,13 @@ class Unifyfs(AutotoolsPackage):
maintainers = ['CamStan']
version('develop', branch='dev')
+ version('0.9.1', sha256='2498a859cfa4961356fdf5c4c17e3afc3de7e034ad013b8c7145a622ef6199a0')
version('0.9.0', sha256='e6c73e22ef1c23f3141646aa17058b69c1c4e526886771f8fe982da924265b0f')
variant('auto-mount', default='True', description='Enable automatic mount/unmount in MPI_Init/Finalize')
variant('hdf5', default='False', description='Build with parallel HDF5 (install with `^hdf5~mpi` for serial)')
variant('fortran', default='False', description='Build with gfortran support')
+ variant('mdhim', default='False', description='Enable MDHIM build options')
variant('pmi', default='False', description='Enable PMI2 build options')
variant('pmix', default='False', description='Enable PMIx build options')
variant('spath', default='True', description='Use spath library to normalize relative paths')
@@ -36,19 +38,22 @@ class Unifyfs(AutotoolsPackage):
depends_on('pkgconfig', type='build')
# Required dependencies
- depends_on('flatcc', when='@:0.9.0')
- depends_on('gotcha@0.0.2', when='@:0.9.0')
depends_on('gotcha@1.0.3:', when='@0.9.1:')
- depends_on('leveldb')
- depends_on('margo')
- depends_on('mercury+bmi+sm')
+ depends_on('margo@0.4.3')
+ depends_on('mercury@1.0.1+bmi+sm')
depends_on('mpi')
depends_on('openssl')
# Optional dependencies
depends_on('hdf5', when='+hdf5')
+ depends_on('leveldb', when='@0.9.1:+mdhim')
depends_on('spath', when='@0.9.1:+spath')
+ # Required dependencies for older versions
+ depends_on('flatcc', when='@:0.9.0')
+ depends_on('gotcha@0.0.2', when='@:0.9.0')
+ depends_on('leveldb', when='@:0.9.0')
+
conflicts('^mercury~bmi')
conflicts('^mercury~sm')
# Known compatibility issues with ifort and xlf. Fixes coming.
@@ -94,6 +99,9 @@ class Unifyfs(AutotoolsPackage):
if '+fortran' in spec:
args.append('--enable-fortran')
+ if '+mdhim' in spec:
+ args.append('--enable-mdhim')
+
if '+pmi' in spec:
args.append('--enable-pmi')
diff --git a/var/spack/repos/builtin/packages/unigen/package.py b/var/spack/repos/builtin/packages/unigen/package.py
new file mode 100644
index 0000000000..ace8b6b4ab
--- /dev/null
+++ b/var/spack/repos/builtin/packages/unigen/package.py
@@ -0,0 +1,33 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+from spack import *
+
+
+class Unigen(MakefilePackage):
+ """The United Generators project was launched by the Virtual Institute 146
+ VI-SIM in September 2005 following a proposal of Herbert Strobele.
+ The goal was to facilitate comparison between various models (see below)
+ and/or various experiments (HADES, FOPI, CERES, NA49, CBM). The package
+ at present allows to convert output of various event generators to a
+ generic root format."""
+
+ homepage = "https://www.gsi.de/work/wissenschaftliche_netzwerke/helmholtz_virtuelle_institute/unigen.htm"
+ url = "https://github.com/FairRootGroup/UniGen/archive/v2.3.tar.gz"
+
+ tags = ['hep']
+
+ version('2.3', sha256='8783bcabbdf8c50dab6e93153cff9cfb267a9a9e61aef51bf1e17679ba42a717')
+ patch('unigen-2.3.patch', level=0)
+
+ depends_on('root', type=('build', 'link'))
+
+ def build(self, spec, prefix):
+ mkdirp(join_path(self.build_directory, 'lib'))
+ make('TOPDIR=' + self.build_directory, 'all')
+
+ def install(self, spec, prefix):
+ make('DESTDIR=' + prefix, 'TOPDIR=' + self.build_directory, 'install')
diff --git a/var/spack/repos/builtin/packages/unigen/unigen-2.3.patch b/var/spack/repos/builtin/packages/unigen/unigen-2.3.patch
new file mode 100644
index 0000000000..2cb58628df
--- /dev/null
+++ b/var/spack/repos/builtin/packages/unigen/unigen-2.3.patch
@@ -0,0 +1,127 @@
+--- config/Makelib.orig 2019-10-29 01:07:48.000000000 +0100
++++ config/Makelib 2021-01-27 15:09:05.473365100 +0100
+@@ -3,7 +3,7 @@
+
+
+ # Default target
+-all : obj dict lib
++all : lib
+
+
+ # ----- Rules for source compilation ----------
+@@ -20,7 +20,14 @@
+
+ $(TARGET)Dict.cxx : $(incl) include/$(TARGET)LinkDef.h
+ @echo 'Generating dictionary' $@ '...'
++ifneq ($(strip $(RLIBMAP)),)
++# ROOTv5
+ @rootcint -f $@ -c $(INCDIR) $^
++else
++#ROOT v6
++ @rootcling -f $@ -rmf $(TOPDIR)/lib/lib$(TARGET).rootmap -rml lib$(TARGET) -s lib$(TARGET) $(INCDIR) $^
++ @mv lib$(TARGET)_rdict.pcm $(TOPDIR)/lib/lib$(TARGET)_rdict.pcm
++endif
+ # -----------------------------------------------
+
+
+@@ -96,6 +103,7 @@
+ @rm -f $(TOPDIR)/lib/lib$(TARGET).so
+ @rm -f $(TOPDIR)/lib/lib$(TARGET).a
+ @rm -f $(TOPDIR)/lib/lib$(TARGET).rootmap
++ @rm -f $(TOPDIR)/lib/lib$(TARGET)_rdict.pcm
+
+ htmldoc :
+ @echo 'Building class documentation...'
+@@ -106,8 +114,10 @@
+ install_lib : lib
+ @echo 'Installing library ...'
+ mkdir -p -m 0755 $(DESTDIR)/lib
++ mkdir -p -m 0755 $(DESTDIR)/include/unigen
+ install -m 0755 $(TOPDIR)/lib/lib$(TARGET).so $(DESTDIR)/lib
+-ifneq ($(strip $(RLIBMAP)),)
+ install -m 0644 $(TOPDIR)/lib/lib$(TARGET).rootmap $(DESTDIR)/lib
++ifeq ($(strip $(RLIBMAP)),)
++ install -m 0644 $(TOPDIR)/lib/lib$(TARGET)_rdict.pcm $(DESTDIR)/lib
+ endif
+-
++ install -m 0644 include/*.h $(DESTDIR)/include/unigen
+--- converters/urqmd2u.cpp.orig 2019-10-29 01:07:48.000000000 +0100
++++ converters/urqmd2u.cpp 2021-01-27 15:04:37.547010300 +0100
+@@ -93,7 +93,6 @@
+ char *inpfile;
+ char *outfile;
+ char c;
+- int nevents;
+ string dust;
+
+ URun *ru = 0;
+@@ -101,7 +100,7 @@
+ int filetype, eos, aproj, zproj, atarg, ztarg, nr;
+ double beta, b, bmin, bmax, sigma, elab, plab, sqrts, time, dtime;
+
+- if (argc != 4) {
++ if (argc < 3 || argc > 4) {
+ cout << "usage: " << argv[0] << " inpfile outfile nevents\n";
+ cout << "example: " << argv[0] << " ftn14 ftn14.root 10\n";
+ exit(0);
+@@ -109,7 +108,7 @@
+
+ inpfile = argv[1];
+ outfile = argv[2];
+- nevents = atoi(argv[3]);
++ const int nevents = (argc == 4) ? atoi(argv[3]) : 1e8;
+
+ int nout=0;
+ in.open(inpfile);
+@@ -141,15 +140,14 @@
+ in.ignore(777,'\n'); // ignore the rest of the line
+
+ comment.clear();
+- // read 3 lines of options and 4 lines of params
+- for (int i=0; i<100; i++) {
+- getline(in,line);
+- if(0 == line.substr(0, 4).compare("pvec"))
+- {
+- break;
+- }
+- comment.append(line);
+- comment.append("\n");
++ // read options and parameters
++ while (true) {
++ getline(in, line);
++ if (TString(line).BeginsWith("op") || TString(line).BeginsWith("pa")) {
++ comment.append(line);
++ comment.append("\n");
++ } else
++ break;
+ }
+ //in.ignore(777,'\n');
+
+@@ -207,9 +205,15 @@
+ double m = 0.938271998;
+ double ecm = sqrts/2; // energy per nucleon in cm
+ double pcm = sqrt(ecm*ecm-m*m); // momentum per nucleon in cm
+- double gamma = 1.0/sqrt(1-beta*beta);
+- double pproj = gamma*(+pcm-beta*ecm);
+- double ptarg = gamma*(-pcm-beta*ecm);
++ double pproj = 0.0;
++ double ptarg = 0.0;
++ if (fabs(beta) < 1e-8) { // we are in CM
++ pproj = pcm;
++ ptarg = -pcm;
++ } else {
++ pproj = plab;
++ ptarg = 0.0;
++ }
+ ru = new URun(generator.data(), comment.data(),
+ aproj, zproj, pproj,
+ atarg, ztarg, ptarg,
+@@ -217,7 +221,7 @@
+ ru->Write();
+ fi->Write();
+ fi->Close();
+- return nout;
++
+ return 0;
+ }
+ /*****************************************************************************/
diff --git a/var/spack/repos/builtin/packages/unison/package.py b/var/spack/repos/builtin/packages/unison/package.py
index d0894419a6..fbc8d75c41 100644
--- a/var/spack/repos/builtin/packages/unison/package.py
+++ b/var/spack/repos/builtin/packages/unison/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/units/package.py b/var/spack/repos/builtin/packages/units/package.py
index 7ee1ecd2e1..56c2bbe2d4 100644
--- a/var/spack/repos/builtin/packages/units/package.py
+++ b/var/spack/repos/builtin/packages/units/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/unittest-cpp/package.py b/var/spack/repos/builtin/packages/unittest-cpp/package.py
index ffd5b92ec7..326cfaca33 100644
--- a/var/spack/repos/builtin/packages/unittest-cpp/package.py
+++ b/var/spack/repos/builtin/packages/unittest-cpp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/universal-ctags/package.py b/var/spack/repos/builtin/packages/universal-ctags/package.py
index 4027e589ec..0f37f69264 100644
--- a/var/spack/repos/builtin/packages/universal-ctags/package.py
+++ b/var/spack/repos/builtin/packages/universal-ctags/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -21,3 +21,4 @@ class UniversalCtags(AutotoolsPackage):
depends_on('automake', type='build')
depends_on('libtool', type='build')
depends_on('m4', type='build')
+ depends_on('libiconv', type='link')
diff --git a/var/spack/repos/builtin/packages/unixodbc/package.py b/var/spack/repos/builtin/packages/unixodbc/package.py
index b93e7eb166..595478a6e0 100644
--- a/var/spack/repos/builtin/packages/unixodbc/package.py
+++ b/var/spack/repos/builtin/packages/unixodbc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/unqlite/package.py b/var/spack/repos/builtin/packages/unqlite/package.py
index ff746cc75a..1b3112ec5b 100644
--- a/var/spack/repos/builtin/packages/unqlite/package.py
+++ b/var/spack/repos/builtin/packages/unqlite/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/unrar/package.py b/var/spack/repos/builtin/packages/unrar/package.py
index 09ffea40e6..1cf3a84b88 100644
--- a/var/spack/repos/builtin/packages/unrar/package.py
+++ b/var/spack/repos/builtin/packages/unrar/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/unuran/package.py b/var/spack/repos/builtin/packages/unuran/package.py
index 0bd35ee562..62ab5fa9d2 100644
--- a/var/spack/repos/builtin/packages/unuran/package.py
+++ b/var/spack/repos/builtin/packages/unuran/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/unzip/package.py b/var/spack/repos/builtin/packages/unzip/package.py
index 986bf60705..111164e9a2 100644
--- a/var/spack/repos/builtin/packages/unzip/package.py
+++ b/var/spack/repos/builtin/packages/unzip/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/upcxx/package.py b/var/spack/repos/builtin/packages/upcxx/package.py
index d5c74bebb9..aa1c2fb28c 100644
--- a/var/spack/repos/builtin/packages/upcxx/package.py
+++ b/var/spack/repos/builtin/packages/upcxx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -29,6 +29,10 @@ class Upcxx(Package):
version('develop', branch='develop')
version('master', branch='master')
+ version('2020.11.0', sha256='f6f212760a485a9f346ca11bb4751e7095bbe748b8e5b2389ff9238e9e321317',
+ url='https://bitbucket.org/berkeleylab/upcxx/downloads/upcxx-2020.11.0-memory_kinds_prototype.tar.gz')
+ version('2020.10.0', sha256='623e074b512bf8cad770a04040272e1cc660d2749760398b311f9bcc9d381a37',
+ preferred=True)
version('2020.3.0', sha256='01be35bef4c0cfd24e9b3d50c88866521b9cac3ad4cbb5b1fc97aea55078810f')
version('2019.9.0', sha256='7d67ccbeeefb59de9f403acc719f52127a30801a2c2b9774a1df03f850f8f1d4')
version('2019.3.2', sha256='dcb0b337c05a0feb2ed5386f5da6c60342412b49cab10f282f461e74411018ad')
diff --git a/var/spack/repos/builtin/packages/uqtk/package.py b/var/spack/repos/builtin/packages/uqtk/package.py
index 46db9462a5..846b5bbfa7 100644
--- a/var/spack/repos/builtin/packages/uqtk/package.py
+++ b/var/spack/repos/builtin/packages/uqtk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/uriparser/package.py b/var/spack/repos/builtin/packages/uriparser/package.py
index e2a6536e9f..5ca053eaaf 100644
--- a/var/spack/repos/builtin/packages/uriparser/package.py
+++ b/var/spack/repos/builtin/packages/uriparser/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/usbutils/package.py b/var/spack/repos/builtin/packages/usbutils/package.py
index 11f104b2e8..1db8646555 100644
--- a/var/spack/repos/builtin/packages/usbutils/package.py
+++ b/var/spack/repos/builtin/packages/usbutils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/usearch/package.py b/var/spack/repos/builtin/packages/usearch/package.py
index e9aa3921d8..0bbb67f453 100644
--- a/var/spack/repos/builtin/packages/usearch/package.py
+++ b/var/spack/repos/builtin/packages/usearch/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/userspace-rcu/package.py b/var/spack/repos/builtin/packages/userspace-rcu/package.py
index be03459d34..1e6030e247 100644
--- a/var/spack/repos/builtin/packages/userspace-rcu/package.py
+++ b/var/spack/repos/builtin/packages/userspace-rcu/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/utf8proc/package.py b/var/spack/repos/builtin/packages/utf8proc/package.py
index 55e7e114c6..1ec1f0425d 100644
--- a/var/spack/repos/builtin/packages/utf8proc/package.py
+++ b/var/spack/repos/builtin/packages/utf8proc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/util-linux-uuid/package.py b/var/spack/repos/builtin/packages/util-linux-uuid/package.py
new file mode 100644
index 0000000000..6f6613ce92
--- /dev/null
+++ b/var/spack/repos/builtin/packages/util-linux-uuid/package.py
@@ -0,0 +1,45 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class UtilLinuxUuid(AutotoolsPackage):
+ """Util-linux is a suite of essential utilities for any Linux system."""
+
+ homepage = "https://github.com/karelzak/util-linux"
+ url = "https://www.kernel.org/pub/linux/utils/util-linux/v2.29/util-linux-2.29.2.tar.gz"
+ list_url = "https://www.kernel.org/pub/linux/utils/util-linux"
+ list_depth = 1
+
+ version('2.36', sha256='82942cd877a989f6d12d4ce2c757fb67ec53d8c5cd9af0537141ec5f84a2eea3')
+
+ depends_on('pkgconfig', type='build')
+
+ provides('uuid')
+
+ def url_for_version(self, version):
+ url = "https://www.kernel.org/pub/linux/utils/util-linux/v{0}/util-linux-{1}.tar.gz"
+ return url.format(version.up_to(2), version)
+
+ @property
+ def libs(self):
+ return find_libraries('libuuid', self.prefix, recursive=True)
+
+ @property
+ def headers(self):
+ return find_headers('uuid', self.prefix, recursive=True)
+
+ def configure_args(self):
+ config_args = [
+ '--disable-use-tty-group',
+ '--disable-makeinstall-chown',
+ '--without-systemd',
+ '--disable-all-programs',
+ '--without-python',
+ '--enable-libuuid',
+ '--disable-bash-completion',
+ ]
+ return config_args
diff --git a/var/spack/repos/builtin/packages/util-linux/package.py b/var/spack/repos/builtin/packages/util-linux/package.py
index bfd1e40163..f51b7b6e9f 100644
--- a/var/spack/repos/builtin/packages/util-linux/package.py
+++ b/var/spack/repos/builtin/packages/util-linux/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,6 +15,7 @@ class UtilLinux(AutotoolsPackage):
list_url = "https://www.kernel.org/pub/linux/utils/util-linux"
list_depth = 1
+ version('2.36', sha256='82942cd877a989f6d12d4ce2c757fb67ec53d8c5cd9af0537141ec5f84a2eea3')
version('2.35.1', sha256='37ac05d82c6410d89bc05d43cee101fefc8fe6cf6090b3ce7a1409a6f35db606')
version('2.35', sha256='98acab129a8490265052e6c1e033ca96d68758a13bb7fcd232c06bf16cc96238')
version('2.34', sha256='b62c92e5e1629642113cd41cec1ee86d1ee7e36b8ffe8ec3ac89c11797e9ac25')
@@ -24,12 +25,10 @@ class UtilLinux(AutotoolsPackage):
version('2.29.1', sha256='a6a7adba65a368e6dad9582d9fbedee43126d990df51266eaee089a73c893653')
version('2.25', sha256='7e43273a9e2ab99b5a54ac914fddf5d08ba7ab9b114c550e9f03474672bd23a1')
- depends_on('python@2.7:')
- depends_on('pkgconfig')
+ depends_on('python@2.7:', type='build')
+ depends_on('pkgconfig', type='build')
+ depends_on('ncurses', type='link')
- # Make it possible to disable util-linux's libuuid so that you may
- # reliably depend_on(`libuuid`).
- variant('libuuid', default=True, description='Build libuuid')
variant('bash', default=False, description='Install bash completion scripts')
depends_on('bash', when="+bash", type='run')
@@ -43,6 +42,7 @@ class UtilLinux(AutotoolsPackage):
'--disable-use-tty-group',
'--disable-makeinstall-chown',
'--without-systemd',
+ '--disable-libuuid',
]
if "+bash" in self.spec:
config_args.extend(
@@ -52,7 +52,6 @@ class UtilLinux(AutotoolsPackage):
"share", "bash-completion", "completions")])
else:
config_args.append('--disable-bash-completion')
- config_args.extend(self.enable_or_disable('libuuid'))
return config_args
diff --git a/var/spack/repos/builtin/packages/util-macros/package.py b/var/spack/repos/builtin/packages/util-macros/package.py
index aed09613bf..4fa98bc32b 100644
--- a/var/spack/repos/builtin/packages/util-macros/package.py
+++ b/var/spack/repos/builtin/packages/util-macros/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/uvw/package.py b/var/spack/repos/builtin/packages/uvw/package.py
index cf6a96ee9c..534795727b 100644
--- a/var/spack/repos/builtin/packages/uvw/package.py
+++ b/var/spack/repos/builtin/packages/uvw/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/valgrind/package.py b/var/spack/repos/builtin/packages/valgrind/package.py
index 20d8791f4e..ce2e41d010 100644
--- a/var/spack/repos/builtin/packages/valgrind/package.py
+++ b/var/spack/repos/builtin/packages/valgrind/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -23,6 +23,7 @@ class Valgrind(AutotoolsPackage, SourcewarePackage):
git = "git://sourceware.org/git/valgrind.git"
version('develop', branch='master')
+ version('3.16.1', sha256='c91f3a2f7b02db0f3bc99479861656154d241d2fdb265614ba918cc6720a33ca')
version('3.15.0', sha256='417c7a9da8f60dd05698b3a7bc6002e4ef996f14c13f0ff96679a16873e78ab1')
version('3.14.0', sha256='037c11bfefd477cc6e9ebe8f193bb237fe397f7ce791b4a4ce3fa1c6a520baa5')
version('3.13.0', sha256='d76680ef03f00cd5e970bbdcd4e57fb1f6df7d2e2c071635ef2be74790190c3b')
diff --git a/var/spack/repos/builtin/packages/vampirtrace/package.py b/var/spack/repos/builtin/packages/vampirtrace/package.py
index da22aeb391..bef3b5ce71 100644
--- a/var/spack/repos/builtin/packages/vampirtrace/package.py
+++ b/var/spack/repos/builtin/packages/vampirtrace/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/vardictjava/package.py b/var/spack/repos/builtin/packages/vardictjava/package.py
index fa07b90db1..9f7cf57177 100644
--- a/var/spack/repos/builtin/packages/vardictjava/package.py
+++ b/var/spack/repos/builtin/packages/vardictjava/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/variorum/package.py b/var/spack/repos/builtin/packages/variorum/package.py
index d12efe20cc..c6a371b603 100644
--- a/var/spack/repos/builtin/packages/variorum/package.py
+++ b/var/spack/repos/builtin/packages/variorum/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/varnish-cache/package.py b/var/spack/repos/builtin/packages/varnish-cache/package.py
index 8d5c02f6cc..3e64e27106 100644
--- a/var/spack/repos/builtin/packages/varnish-cache/package.py
+++ b/var/spack/repos/builtin/packages/varnish-cache/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/varscan/package.py b/var/spack/repos/builtin/packages/varscan/package.py
index ecf83a1e5e..e062139028 100644
--- a/var/spack/repos/builtin/packages/varscan/package.py
+++ b/var/spack/repos/builtin/packages/varscan/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/vasp/package.py b/var/spack/repos/builtin/packages/vasp/package.py
index 68bf03bf99..8c30ab71f9 100644
--- a/var/spack/repos/builtin/packages/vasp/package.py
+++ b/var/spack/repos/builtin/packages/vasp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,7 +17,9 @@ class Vasp(MakefilePackage):
homepage = "http://vasp.at"
url = "file://{0}/vasp.5.4.4.pl2.tgz".format(os.getcwd())
+ manual_download = True
+ version('6.1.1', sha256='e37a4dfad09d3ad0410833bcd55af6b599179a085299026992c2d8e319bf6927')
version('5.4.4.pl2', sha256='98f75fd75399a23d76d060a6155f4416b340a1704f256a00146f89024035bc8e')
version('5.4.4', sha256='5bd2449462386f01e575f9adf629c08cb03a13142806ffb6a71309ca4431cfb3')
@@ -76,6 +78,9 @@ class Vasp(MakefilePackage):
filter_file('^CPP_OPTIONS[ ]{0,}=[ ]{0,}',
'CPP_OPTIONS ?= ',
'makefile.include')
+ filter_file('^FFLAGS[ ]{0,}=[ ]{0,}',
+ 'FFLAGS ?= ',
+ 'makefile.include')
filter_file('^LIBDIR[ ]{0,}=.*$', '', 'makefile.include')
filter_file('^BLAS[ ]{0,}=.*$', 'BLAS ?=', 'makefile.include')
@@ -113,8 +118,13 @@ class Vasp(MakefilePackage):
'-Dqd_emulate'])
else:
cpp_options.append('-DHOST=\\"LinuxGNU\\"')
+ if self.spec.satisfies('@6:'):
+ cpp_options.append('-Dvasp6')
cflags = ['-fPIC', '-DADD_']
+ fflags = []
+ if '%gcc' in spec or '%intel' in spec:
+ fflags.append('-w')
spack_env.set('BLAS', spec['blas'].libs.ld_flags)
spack_env.set('LAPACK', spec['lapack'].libs.ld_flags)
@@ -141,15 +151,19 @@ class Vasp(MakefilePackage):
if '+vaspsol' in spec:
cpp_options.append('-Dsol_compat')
+ if spec.satisfies('%gcc@10:'):
+ fflags.append('-fallow-argument-mismatch')
+
# Finally
spack_env.set('CPP_OPTIONS', ' '.join(cpp_options))
spack_env.set('CFLAGS', ' '.join(cflags))
+ spack_env.set('FFLAGS', ' '.join(fflags))
def build(self, spec, prefix):
if '+cuda' in self.spec:
make('gpu', 'gpu_ncl')
else:
- make()
+ make('std', 'gam', 'ncl')
def install(self, spec, prefix):
install_tree('bin/', prefix.bin)
diff --git a/var/spack/repos/builtin/packages/vbfnlo/package.py b/var/spack/repos/builtin/packages/vbfnlo/package.py
index 99a9b53f3b..57627cda24 100644
--- a/var/spack/repos/builtin/packages/vbfnlo/package.py
+++ b/var/spack/repos/builtin/packages/vbfnlo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,6 +15,8 @@ class Vbfnlo(AutotoolsPackage):
homepage = "https://www.itp.kit.edu/vbfnlo/wiki/doku.php?id=overview"
url = "https://github.com/vbfnlo/vbfnlo/archive/v3.0.0beta5.tar.gz"
+ tags = ["hep"]
+
# The commented out versions exist, but are not tested
version('3.0.0beta5', sha256='777a3dedb365ea9abc38848a60f30d325da3799cbad69fa308664b94a8c31a90')
version('3.0.0beta4', sha256='511e84765e9634a75766a160eae1925812dacbb3943e7e3b4dc90e2eacac8a2c')
diff --git a/var/spack/repos/builtin/packages/vc/package.py b/var/spack/repos/builtin/packages/vc/package.py
index 7d975c352b..fd05baf441 100644
--- a/var/spack/repos/builtin/packages/vc/package.py
+++ b/var/spack/repos/builtin/packages/vc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/vcftools/package.py b/var/spack/repos/builtin/packages/vcftools/package.py
index 92d49392c5..197287a8d2 100644
--- a/var/spack/repos/builtin/packages/vcftools/package.py
+++ b/var/spack/repos/builtin/packages/vcftools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/vcsh/package.py b/var/spack/repos/builtin/packages/vcsh/package.py
index 3368c596df..6454c2f3f3 100644
--- a/var/spack/repos/builtin/packages/vcsh/package.py
+++ b/var/spack/repos/builtin/packages/vcsh/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -22,4 +22,5 @@ class Vcsh(Package):
# vcsh provides a makefile, if needed the install method should be adapted
def install(self, spec, prefix):
+ mkdirp(prefix.bin)
install('vcsh', prefix.bin)
diff --git a/var/spack/repos/builtin/packages/vdt/package.py b/var/spack/repos/builtin/packages/vdt/package.py
index 77c78e7f27..cc7bc06274 100644
--- a/var/spack/repos/builtin/packages/vdt/package.py
+++ b/var/spack/repos/builtin/packages/vdt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/veccore/package.py b/var/spack/repos/builtin/packages/veccore/package.py
index a339358a08..e04f71e219 100644
--- a/var/spack/repos/builtin/packages/veccore/package.py
+++ b/var/spack/repos/builtin/packages/veccore/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/vecgeom/package.py b/var/spack/repos/builtin/packages/vecgeom/package.py
index 1df60770f5..0680a00425 100644
--- a/var/spack/repos/builtin/packages/vecgeom/package.py
+++ b/var/spack/repos/builtin/packages/vecgeom/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,9 +15,13 @@ class Vecgeom(CMakePackage, CudaPackage):
url = "https://gitlab.cern.ch/VecGeom/VecGeom/-/archive/v1.1.6/VecGeom-v1.1.6.tar.gz"
git = "https://gitlab.cern.ch/VecGeom/VecGeom.git"
+ tags = ['hep']
+
maintainers = ['drbenmorgan', 'sethrj']
version('master', branch='master')
+ version('1.1.9', sha256='a90e11bf83724300d1d7206e5fe89a7915c4ec6aae881587f18e282ac0f6ee8e')
+ version('1.1.8', sha256='9c42206d788ec4b791571882f5ea8d2c591c938abe61c21cc5ec37bfea6bf768')
version('1.1.7', sha256='cc79a0baa783b21ecc399c4e7cca925ca340e6aeb96e3b2cad45c141557519bf')
version('1.1.6', sha256='c4806a6b67d01b40074b8cc6865d78574a6a1c573be51696f2ecdf98b9cb954a')
version('1.1.5', sha256='da674f3bbc75c30f56c1a2d251fa8930c899f27fa64b03a36569924030d87b95')
diff --git a/var/spack/repos/builtin/packages/veclibfort/package.py b/var/spack/repos/builtin/packages/veclibfort/package.py
index bfd3fc2d32..a0b7744485 100644
--- a/var/spack/repos/builtin/packages/veclibfort/package.py
+++ b/var/spack/repos/builtin/packages/veclibfort/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/vegas2/package.py b/var/spack/repos/builtin/packages/vegas2/package.py
index dff83b2adf..a4dfb1cbb1 100644
--- a/var/spack/repos/builtin/packages/vegas2/package.py
+++ b/var/spack/repos/builtin/packages/vegas2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/veloc/package.py b/var/spack/repos/builtin/packages/veloc/package.py
index f6b6d4b8b1..aeb06f8516 100644
--- a/var/spack/repos/builtin/packages/veloc/package.py
+++ b/var/spack/repos/builtin/packages/veloc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/velvet/package.py b/var/spack/repos/builtin/packages/velvet/package.py
index f205c8034f..3997262dc1 100644
--- a/var/spack/repos/builtin/packages/velvet/package.py
+++ b/var/spack/repos/builtin/packages/velvet/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/velvetoptimiser/package.py b/var/spack/repos/builtin/packages/velvetoptimiser/package.py
index 8a71bb6ad0..d143b2b949 100644
--- a/var/spack/repos/builtin/packages/velvetoptimiser/package.py
+++ b/var/spack/repos/builtin/packages/velvetoptimiser/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/verilator/package.py b/var/spack/repos/builtin/packages/verilator/package.py
index c662ab1b62..456bd49715 100644
--- a/var/spack/repos/builtin/packages/verilator/package.py
+++ b/var/spack/repos/builtin/packages/verilator/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/verrou/package.py b/var/spack/repos/builtin/packages/verrou/package.py
index f92443d144..a791ab8e1e 100644
--- a/var/spack/repos/builtin/packages/verrou/package.py
+++ b/var/spack/repos/builtin/packages/verrou/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/vesta/package.py b/var/spack/repos/builtin/packages/vesta/package.py
index 65a9a0fa12..5875ffc65b 100644
--- a/var/spack/repos/builtin/packages/vesta/package.py
+++ b/var/spack/repos/builtin/packages/vesta/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/vgm/package.py b/var/spack/repos/builtin/packages/vgm/package.py
index 2ae62bdff1..71624929e7 100644
--- a/var/spack/repos/builtin/packages/vgm/package.py
+++ b/var/spack/repos/builtin/packages/vgm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,6 +14,8 @@ class Vgm(CMakePackage):
url = "https://github.com/vmc-project/vgm/archive/v4-8.tar.gz"
git = "https://github.com/vmc-project/vgm.git"
+ tags = ['hep']
+
maintainer = ['wdconinc']
version('master', branch='master')
diff --git a/var/spack/repos/builtin/packages/videoproto/package.py b/var/spack/repos/builtin/packages/videoproto/package.py
index 8aa1fea213..4eb33f48cb 100644
--- a/var/spack/repos/builtin/packages/videoproto/package.py
+++ b/var/spack/repos/builtin/packages/videoproto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/viennarna/package.py b/var/spack/repos/builtin/packages/viennarna/package.py
index f06629f098..3d0dffc87a 100644
--- a/var/spack/repos/builtin/packages/viennarna/package.py
+++ b/var/spack/repos/builtin/packages/viennarna/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/viewres/package.py b/var/spack/repos/builtin/packages/viewres/package.py
index 7294e2ab0c..028968f176 100644
--- a/var/spack/repos/builtin/packages/viewres/package.py
+++ b/var/spack/repos/builtin/packages/viewres/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/vifi/package.py b/var/spack/repos/builtin/packages/vifi/package.py
index e2c0bfa472..2a165e4505 100644
--- a/var/spack/repos/builtin/packages/vifi/package.py
+++ b/var/spack/repos/builtin/packages/vifi/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/vigra/package.py b/var/spack/repos/builtin/packages/vigra/package.py
index 217f55a9bd..a231aec36d 100644
--- a/var/spack/repos/builtin/packages/vigra/package.py
+++ b/var/spack/repos/builtin/packages/vigra/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/vim/package.py b/var/spack/repos/builtin/packages/vim/package.py
index 722fe46a67..9ba07d6592 100644
--- a/var/spack/repos/builtin/packages/vim/package.py
+++ b/var/spack/repos/builtin/packages/vim/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/virtualgl/package.py b/var/spack/repos/builtin/packages/virtualgl/package.py
index 9ac87f3609..8aa30eeba0 100644
--- a/var/spack/repos/builtin/packages/virtualgl/package.py
+++ b/var/spack/repos/builtin/packages/virtualgl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/visit/package.py b/var/spack/repos/builtin/packages/visit/package.py
index 2bdb274273..fcc1ffb00a 100644
--- a/var/spack/repos/builtin/packages/visit/package.py
+++ b/var/spack/repos/builtin/packages/visit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -180,8 +180,8 @@ class Visit(CMakePackage):
depends_on('vtk+python', when='+python @3.0:,develop')
depends_on('vtk~mpi', when='~mpi')
depends_on('vtk+qt', when='+gui')
- depends_on('qt@4.8.6:4.999', when='+gui @:2.999')
- depends_on('qt@5.10:', when='+gui @3.0:,develop')
+ depends_on('qt+gui@4.8.6:4.999', when='+gui @:2.999')
+ depends_on('qt+gui@5.10:', when='+gui @3.0:,develop')
depends_on('qwt', when='+gui')
depends_on('python@2.6:2.8', when='+python')
# VisIt uses Silo's 'ghost zone' data structures, which are only available
diff --git a/var/spack/repos/builtin/packages/vizglow/package.py b/var/spack/repos/builtin/packages/vizglow/package.py
index 41118b5f89..6e6639a778 100644
--- a/var/spack/repos/builtin/packages/vizglow/package.py
+++ b/var/spack/repos/builtin/packages/vizglow/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/vmatch/package.py b/var/spack/repos/builtin/packages/vmatch/package.py
index 60e1bfb66f..a2192a6ad2 100644
--- a/var/spack/repos/builtin/packages/vmatch/package.py
+++ b/var/spack/repos/builtin/packages/vmatch/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/vmc/package.py b/var/spack/repos/builtin/packages/vmc/package.py
index 93282c4469..5e1889ddfc 100644
--- a/var/spack/repos/builtin/packages/vmc/package.py
+++ b/var/spack/repos/builtin/packages/vmc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/vmd/package.py b/var/spack/repos/builtin/packages/vmd/package.py
index 18dc9a9e43..7a0d3e949a 100644
--- a/var/spack/repos/builtin/packages/vmd/package.py
+++ b/var/spack/repos/builtin/packages/vmd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -23,6 +23,7 @@ class Vmd(Package):
homepage = "https://www.ks.uiuc.edu/Research/vmd/"
version('1.9.3', sha256='145b4d0cc10b56cadeb71e16c54ab8be713e268f11491714cd617422758ec643',
url='file://{0}/vmd-1.9.3.bin.LINUXAMD64-CUDA8-OptiX4-OSPRay111p1.opengl.tar.gz'.format(os.getcwd()))
+ manual_download = True
phases = ['configure', 'install']
diff --git a/var/spack/repos/builtin/packages/volk/package.py b/var/spack/repos/builtin/packages/volk/package.py
index 846948f87a..bd96d7ad31 100644
--- a/var/spack/repos/builtin/packages/volk/package.py
+++ b/var/spack/repos/builtin/packages/volk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/voropp/package.py b/var/spack/repos/builtin/packages/voropp/package.py
index 5dc7406afc..4a1172064d 100644
--- a/var/spack/repos/builtin/packages/voropp/package.py
+++ b/var/spack/repos/builtin/packages/voropp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/votca-csg-tutorials/package.py b/var/spack/repos/builtin/packages/votca-csg-tutorials/package.py
index 80b9291eb4..fc4ebb8951 100644
--- a/var/spack/repos/builtin/packages/votca-csg-tutorials/package.py
+++ b/var/spack/repos/builtin/packages/votca-csg-tutorials/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -22,6 +22,8 @@ class VotcaCsgTutorials(CMakePackage):
version('master', branch='master')
version('stable', branch='stable')
+ version('1.6.4', sha256='34ef40db6b178a7f513f8a6f43e7caff6ecb498d66d7bf8bc44900bc7aea31dc')
+ version('1.6.3', sha256='709582b978d84f9de09ae6c3ba4ed28daec886d4e0431bc7d19c7246bd65f0b1')
version('1.6.2', sha256='7c25e76391f3ffdd15f8a91aeed2d3ce7377591f128ed4ae34b36eca20e5af8f')
version('1.6.1', sha256='d8428c4a03ce42d88317045ec555af3defa022fd9a61f05e07b57c5577288c8c')
version('1.6', sha256='54946c647724f1beb95942d47ec7f4cf7a95a59ec7268522693d5ec723585daf')
@@ -31,6 +33,6 @@ class VotcaCsgTutorials(CMakePackage):
version('1.4', sha256='27d50acd68a9d8557fef18ec2b0c62841ae91c22275ab9afbd65c35e4dd5f719')
for v in ["1.4", "1.4.1", "1.5", "1.5.1", "1.6", "1.6.1", "1.6.2",
- "master", "stable"]:
+ "1.6.3", "1.6.4", "master", "stable"]:
depends_on('votca-csg@%s' % v, when="@%s:%s.0" % (v, v))
depends_on("boost")
diff --git a/var/spack/repos/builtin/packages/votca-csg/package.py b/var/spack/repos/builtin/packages/votca-csg/package.py
index 871154f2ba..013c08f022 100644
--- a/var/spack/repos/builtin/packages/votca-csg/package.py
+++ b/var/spack/repos/builtin/packages/votca-csg/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -22,6 +22,8 @@ class VotcaCsg(CMakePackage):
version('master', branch='master')
version('stable', branch='stable')
+ version('1.6.4', sha256='eae771b623f3c3edb09744030d053f10c75d64bad919df26c4f9bf3bfaa1cf86')
+ version('1.6.3', sha256='35456b1f3116364b10ada37d99798294bd2d3df2e670cef3936251f88036ef88')
version('1.6.2', sha256='96b244b282005259832ed6ec0dc22dafe132dcfc3d73dcd8e53b62f40befb545')
version('1.6.1', sha256='ed12bcb1ccdf71f54e21cdcc9803add4b8ebdc6b8263cb5b0034f5db01e31dbb')
version('1.6', sha256='8cf6a4ac3ef7347c720a44d8a676f8cbd1462e162f6113de39f27b89354465ea')
@@ -32,7 +34,7 @@ class VotcaCsg(CMakePackage):
depends_on("cmake@2.8:", type='build')
for v in ["1.4", "1.4.1", "1.5", "1.5.1", "1.6", "1.6.1", "1.6.2",
- "master", "stable"]:
+ "1.6.3", "1.6.4", "master", "stable"]:
depends_on('votca-tools@%s' % v, when="@%s:%s.0" % (v, v))
depends_on("boost")
depends_on("gromacs~mpi@5.1:2019.9999")
diff --git a/var/spack/repos/builtin/packages/votca-csgapps/package.py b/var/spack/repos/builtin/packages/votca-csgapps/package.py
index 9661335595..6d344915d9 100644
--- a/var/spack/repos/builtin/packages/votca-csgapps/package.py
+++ b/var/spack/repos/builtin/packages/votca-csgapps/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -20,8 +20,8 @@ class VotcaCsgapps(CMakePackage):
git = "https://github.com/votca/csgapps.git"
maintainers = ['junghans']
- version('master', branch='master')
- version('stable', branch='stable')
+ version('1.6.4', sha256='ef3d6fbc7f2ff2f29af7d170a5351ae3c37f52ca4c2b1697b1d2e30c26ff4eb1')
+ version('1.6.3', sha256='fdb6a94eabdfe1bfae6002da16e364086d036c2dc24700a941b73d5bb1afc422')
version('1.6.2', sha256='f7db0bda27d4419c570f44dc60d04b1fd7b4cdcf10db6301005fca70111fcfe3')
version('1.6.1', sha256='03c7cef2a76e73cf953b2b5ea2cdca765ec1a2627d0a9d8869d46166e63d197c')
version('1.6', sha256='084bbc5b179bb7eb8f6671d2d5fa13e69e68946570c9120a7e4b10aff1866e2e')
@@ -31,6 +31,6 @@ class VotcaCsgapps(CMakePackage):
version('1.4', sha256='4ea8348c2f7de3cc488f48fbd8652e69b52515441952766c06ff67ed1aaf69a0')
for v in ["1.4", "1.4.1", "1.5", "1.5.1", "1.6", "1.6.1", "1.6.2",
- "master", "stable"]:
+ "1.6.3", "1.6.4"]:
depends_on('votca-csg@%s' % v, when="@%s:%s.0" % (v, v))
depends_on("boost")
diff --git a/var/spack/repos/builtin/packages/votca-ctp/package.py b/var/spack/repos/builtin/packages/votca-ctp/package.py
index 15648f5d50..4fce94aec9 100644
--- a/var/spack/repos/builtin/packages/votca-ctp/package.py
+++ b/var/spack/repos/builtin/packages/votca-ctp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/votca-tools/package.py b/var/spack/repos/builtin/packages/votca-tools/package.py
index 55f080e579..7d46ff0af4 100644
--- a/var/spack/repos/builtin/packages/votca-tools/package.py
+++ b/var/spack/repos/builtin/packages/votca-tools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -22,6 +22,8 @@ class VotcaTools(CMakePackage):
version('master', branch='master')
version('stable', branch='stable')
+ version('1.6.4', sha256='aa79ef4617a80ba3ca063932d5ee0d5767c0285b4b613abd373ad3c986ab9f4c')
+ version('1.6.3', sha256='b4ba63861f4342070d81309992f76c4cc798dffeab894bff64799881e75b3cc2')
version('1.6.2', sha256='1b31e0dd7550b80b963e6714d671f3516d68ebc1e75068a5d827a6e8b4f1759a')
version('1.6.1', sha256='3e8f51d484cb3fdfbeb851aab387807ba4c40aecef8317c90182da68ad282dcc')
version('1.6', sha256='cfd0fedc80fecd009f743b5df47777508d76bf3ef294a508a9f11fbb42efe9a5')
@@ -38,7 +40,7 @@ class VotcaTools(CMakePackage):
depends_on("cmake@2.8:", type='build')
depends_on("expat")
- depends_on("fftw")
+ depends_on("fftw-api@3")
depends_on("gsl", when="@1.4:1.4.9999")
depends_on("eigen@3.3:", when="@stable,1.5:")
depends_on("boost")
diff --git a/var/spack/repos/builtin/packages/votca-xtp/package.py b/var/spack/repos/builtin/packages/votca-xtp/package.py
index 21b40cee92..70282be40e 100644
--- a/var/spack/repos/builtin/packages/votca-xtp/package.py
+++ b/var/spack/repos/builtin/packages/votca-xtp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -22,6 +22,8 @@ class VotcaXtp(CMakePackage):
version('master', branch='master')
version('stable', branch='stable')
+ version('1.6.4', sha256='699a835954556cf6b2f20dac7942c1761c6dd6c6c3fbdde62c8bfcfd71ee075b')
+ version('1.6.3', sha256='757b9a6a470b3c356f638d62269c5b72b8ace374f006658aef8bb6afd1ad1413')
version('1.6.2', sha256='b51a28cddceca6998b981ad61466617ad624d577ce424c0653d92a680f460061')
version('1.6.1', sha256='886af50bc12457bbafb06dc927b7fd4cadc3db1b4615b24a08953f6b358debef')
version('1.6', sha256='695c2d9d3f924103481529f992e3723bdce10b8edfc294421a849cdf51dbbb6e')
@@ -31,7 +33,7 @@ class VotcaXtp(CMakePackage):
depends_on("cmake@2.8:", type='build')
for v in ["1.4.1", "1.5", "1.5.1", "1.6", "1.6.1", "1.6.2",
- "master", "stable"]:
+ "1.6.3", "1.6.4", "master", "stable"]:
depends_on('votca-tools@%s' % v, when="@%s:%s.0" % (v, v))
depends_on('votca-csg@%s' % v, when="@%s:%s.0" % (v, v))
depends_on("libxc", when='@stable,1.5:')
diff --git a/var/spack/repos/builtin/packages/vpfft/package.py b/var/spack/repos/builtin/packages/vpfft/package.py
index 2851288052..49e598fcec 100644
--- a/var/spack/repos/builtin/packages/vpfft/package.py
+++ b/var/spack/repos/builtin/packages/vpfft/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/vpic/package.py b/var/spack/repos/builtin/packages/vpic/package.py
index 846b09650b..483f72c676 100644
--- a/var/spack/repos/builtin/packages/vpic/package.py
+++ b/var/spack/repos/builtin/packages/vpic/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/vsearch/package.py b/var/spack/repos/builtin/packages/vsearch/package.py
index 4448edaf4b..49be73c180 100644
--- a/var/spack/repos/builtin/packages/vsearch/package.py
+++ b/var/spack/repos/builtin/packages/vsearch/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/vsftpd/package.py b/var/spack/repos/builtin/packages/vsftpd/package.py
index 29f0bc7839..90a937db8f 100644
--- a/var/spack/repos/builtin/packages/vsftpd/package.py
+++ b/var/spack/repos/builtin/packages/vsftpd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/vt/package.py b/var/spack/repos/builtin/packages/vt/package.py
index 9fabcaf4bf..e923b4907a 100644
--- a/var/spack/repos/builtin/packages/vt/package.py
+++ b/var/spack/repos/builtin/packages/vt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/vtable-dumper/package.py b/var/spack/repos/builtin/packages/vtable-dumper/package.py
index e01aaf0ffe..a72b75d62e 100644
--- a/var/spack/repos/builtin/packages/vtable-dumper/package.py
+++ b/var/spack/repos/builtin/packages/vtable-dumper/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/vtk-h/package.py b/var/spack/repos/builtin/packages/vtk-h/package.py
index 0ac45e15e5..6386dd9073 100644
--- a/var/spack/repos/builtin/packages/vtk-h/package.py
+++ b/var/spack/repos/builtin/packages/vtk-h/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -40,6 +40,7 @@ class VtkH(Package, CudaPackage):
maintainers = ['cyrush']
version('develop', branch='develop', submodules=True)
+ version('0.6.6', sha256="5fe8bae5f55dbeb3047a37499cc41f3b548e4d86f0058993069f1df57f7915a1")
version('0.6.5', sha256="3e566ee06150edece8a61711d9347de216c1ae45f3b4585784b2252ee9ff2a9b")
version('0.6.4', sha256="c1345679fa4110cba449a9e27d40774d53c1f0bbddd41e52f5eb395cec1ee2d0")
version('0.6.3', sha256="388ad05110efac45df6ae0d565a7d16bd05ff83c95b8b2b8daa206360ab73eec")
diff --git a/var/spack/repos/builtin/packages/vtk-m/package.py b/var/spack/repos/builtin/packages/vtk-m/package.py
index 06d38cfc28..fa5e5babfd 100644
--- a/var/spack/repos/builtin/packages/vtk-m/package.py
+++ b/var/spack/repos/builtin/packages/vtk-m/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -6,6 +6,7 @@
from spack import *
import os
+import shutil
import sys
@@ -60,30 +61,24 @@ class VtkM(CMakePackage, CudaPackage):
amdgpu_targets = (
'gfx900', 'gfx906', 'gfx908'
)
- kokkos_amd_gpu_map = {
- 'gfx900': 'vega900',
- 'gfx906': 'vega906',
- 'gfx908': 'vega908'
- }
variant('amdgpu_target', default='none', multi=True, values=('none',) + amdgpu_targets)
conflicts("+hip", when="amdgpu_target=none")
- depends_on("cmake@3.12:", type="build") # CMake >= 3.12
- depends_on("cmake@3.18:", when="+hip") # CMake >= 3.18
+ depends_on("cmake@3.12:", type="build") # CMake >= 3.12
+ depends_on("cmake@3.18:", when="+hip", type="build") # CMake >= 3.18
depends_on('cuda@10.2.0:', when='+cuda')
depends_on("tbb", when="+tbb")
depends_on("mpi", when="+mpi")
- for kokkos_value in kokkos_amd_gpu_map:
- depends_on("kokkos@develop +hip amd_gpu_arch=%s" % kokkos_amd_gpu_map[kokkos_value], when="amdgpu_target=%s" % kokkos_value)
+ for amdgpu_value in amdgpu_targets:
+ depends_on("kokkos@develop +rocm amdgpu_target=%s" % amdgpu_value, when="amdgpu_target=%s" % amdgpu_value)
depends_on("rocm-cmake@3.7:", when="+hip")
depends_on("hip@3.7:", when="+hip")
conflicts("+hip", when="+cuda")
- conflicts("~shared", when="~pic")
def cmake_args(self):
spec = self.spec
@@ -195,3 +190,171 @@ class VtkM(CMakePackage, CudaPackage):
options.append("-DVTKm_ENABLE_TBB:BOOL=OFF")
return options
+
+ def smoke_test(self):
+ print("Checking VTK-m installation...")
+ spec = self.spec
+ checkdir = "spack-check"
+ with working_dir(checkdir, create=True):
+ source = r"""
+#include <vtkm/cont/Algorithm.h>
+#include <vtkm/cont/ArrayHandle.h>
+#include <vtkm/cont/Initialize.h>
+
+#include <iostream>
+#include <vector>
+
+struct NoArgKernel {
+ VTKM_EXEC void operator()(vtkm::Id) const {}
+
+ void SetErrorMessageBuffer(
+ const vtkm::exec::internal::ErrorMessageBuffer &errorMessage) {
+ this->ErrorMessage = errorMessage;
+ }
+
+ vtkm::exec::internal::ErrorMessageBuffer ErrorMessage;
+};
+
+template <typename PortalType> struct FillArrayKernel {
+ using ValueType = typename PortalType::ValueType;
+
+ FillArrayKernel(const PortalType &array, ValueType fill)
+ : Array(array), FillValue(fill) {}
+
+ VTKM_EXEC void operator()(vtkm::Id index) const {
+ this->Array.Set(index, this->FillValue);
+ }
+ void SetErrorMessageBuffer(
+ const vtkm::exec::internal::ErrorMessageBuffer &) {
+ }
+
+ PortalType Array;
+ ValueType FillValue;
+};
+
+
+int main() {
+ vtkm::cont::Initialize();
+
+ constexpr vtkm::Id size = 1000000;
+#if defined(VTKM_ENABLE_KOKKOS)
+ constexpr vtkm::cont::DeviceAdapterTagKokkos desired_device;
+#elif defined(VTKM_ENABLE_CUDA)
+ constexpr vtkm::cont::DeviceAdapterTagCuda desired_device;
+#elif defined(VTKM_ENABLE_TBB)
+ constexpr vtkm::cont::DeviceAdapterTagTBB desired_device;
+#elif defined(VTKM_ENABLE_OPENMP)
+ constexpr vtkm::cont::DeviceAdapterTagOpenMP desired_device;
+#else
+ #error "No VTK-m Device Adapter enabled"
+#endif
+
+ std::cout << "-------------------------------------------\n";
+ std::cout << "Testing No Argument Kernel" << std::endl;
+ vtkm::cont::Algorithm::Schedule(desired_device, NoArgKernel(), size);
+
+ vtkm::cont::ArrayHandle<vtkm::Id> handle;
+ {
+ std::cout << "-------------------------------------------\n";
+ std::cout << "Testing Kernel + ArrayHandle PrepareForOutput" << std::endl;
+ vtkm::cont::Token token;
+ auto portal = handle.PrepareForOutput(size, desired_device, token);
+ vtkm::cont::Algorithm::Schedule(desired_device,
+ FillArrayKernel<decltype(portal)>{portal, 1}, size);
+ }
+
+ {
+ std::cout << "-------------------------------------------\n";
+ std::cout << "Testing Kernel + ArrayHandle PrepareForInPlace" << std::endl;
+ vtkm::cont::Token token;
+ auto portal = handle.PrepareForInPlace(desired_device, token);
+ vtkm::cont::Algorithm::Schedule(desired_device,
+ FillArrayKernel<decltype(portal)>{portal, 2}, size);
+ }
+
+ std::cout << "-------------------------------------------\n";
+ std::cout << "Ran tests on: " << desired_device.GetName() << std::endl;
+
+ return 0;
+}
+"""
+
+ cmakelists = r"""
+##============================================================================
+## Copyright (c) Kitware, Inc.
+## All rights reserved.
+## See LICENSE.txt for details.
+##
+## This software is distributed WITHOUT ANY WARRANTY; without even
+## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+## PURPOSE. See the above copyright notice for more information.
+##============================================================================
+cmake_minimum_required(VERSION 3.12...3.18 FATAL_ERROR)
+project(VTKmSmokeTest CXX)
+
+#Find the VTK-m package
+find_package(VTKm REQUIRED QUIET)
+
+add_executable(VTKmSmokeTest main.cxx)
+target_link_libraries(VTKmSmokeTest PRIVATE vtkm_cont)
+vtkm_add_target_information(VTKmSmokeTest
+ DROP_UNUSED_SYMBOLS MODIFY_CUDA_FLAGS
+ DEVICE_SOURCES main.cxx)
+"""
+
+ with open("main.cxx", 'w') as f:
+ f.write(source)
+ with open("CMakeLists.txt", 'w') as f:
+ f.write(cmakelists)
+ builddir = "build"
+ with working_dir(builddir, create=True):
+ cmake = Executable(spec['cmake'].prefix.bin + "/cmake")
+ cmakefiledir = spec['vtk-m'].prefix.lib + "/cmake"
+ cmakefiledir = cmakefiledir + "/" + os.listdir(cmakefiledir)[0]
+ cmake(*(["..", "-DVTKm_DIR=" + cmakefiledir]))
+ cmake(*(["--build", "."]))
+ try:
+ test = Executable('./VTKmSmokeTest')
+ output = test(output=str)
+ except ProcessError:
+ output = ""
+ print(output)
+ if "+hip" in spec:
+ expected_device = 'Kokkos'
+ elif "+cuda" in spec:
+ expected_device = 'Cuda'
+ elif "+tbb" in spec:
+ expected_device = 'TBB'
+ elif "+openmp" in spec:
+ expected_device = 'OpenMP'
+ expected = """\
+-------------------------------------------
+Testing No Argument Kernel
+-------------------------------------------
+Testing Kernel + ArrayHandle PrepareForOutput
+-------------------------------------------
+Testing Kernel + ArrayHandle PrepareForInPlace
+-------------------------------------------
+Ran tests on: """ + expected_device + "\n"
+ success = output == expected
+ if success:
+ print("Test success")
+ if not success:
+ print("Produced output does not match expected output.")
+ print("Expected output:")
+ print('-' * 80)
+ print(expected)
+ print('-' * 80)
+ print("Produced output:")
+ print('-' * 80)
+ print(output)
+ print('-' * 80)
+ raise RuntimeError("VTK-m install check failed")
+ shutil.rmtree(checkdir)
+
+ @run_after('install')
+ @on_package_attributes(run_tests=True)
+ def check_install(self):
+ spec = self.spec
+ if "@master" in spec:
+ self.smoke_test()
diff --git a/var/spack/repos/builtin/packages/vtk/package.py b/var/spack/repos/builtin/packages/vtk/package.py
index 19640c4222..d7a7126830 100644
--- a/var/spack/repos/builtin/packages/vtk/package.py
+++ b/var/spack/repos/builtin/packages/vtk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -265,11 +265,10 @@ class Vtk(CMakePackage):
'-DVTK_USE_X:BOOL=ON',
'-DVTK_USE_COCOA:BOOL=OFF'])
+ compile_flags = []
+
if spec.satisfies('@:6.1.0'):
- cmake_args.extend([
- '-DCMAKE_C_FLAGS=-DGLX_GLXEXT_LEGACY',
- '-DCMAKE_CXX_FLAGS=-DGLX_GLXEXT_LEGACY'
- ])
+ compile_flags.append('-DGLX_GLXEXT_LEGACY')
# VTK 6.1.0 (and possibly earlier) does not use
# NETCDF_CXX_ROOT to detect NetCDF C++ bindings, so
@@ -298,4 +297,16 @@ class Vtk(CMakePackage):
cmake_args.append(
'-DVTK_MODULE_ENABLE_VTK_IOMotionFX:BOOL=OFF')
+ # -no-ipo prevents an internal compiler error from multi-file
+ # optimization (https://github.com/spack/spack/issues/20471)
+ if '%intel' in spec:
+ compile_flags.append('-no-ipo')
+
+ if compile_flags:
+ compile_flags = ' '.join(compile_flags)
+ cmake_args.extend([
+ '-DCMAKE_C_FLAGS={0}'.format(compile_flags),
+ '-DCMAKE_CXX_FLAGS={0}'.format(compile_flags)
+ ])
+
return cmake_args
diff --git a/var/spack/repos/builtin/packages/vvtest/package.py b/var/spack/repos/builtin/packages/vvtest/package.py
index 271b8d20b9..3b98602f23 100755
--- a/var/spack/repos/builtin/packages/vvtest/package.py
+++ b/var/spack/repos/builtin/packages/vvtest/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/wannier90/package.py b/var/spack/repos/builtin/packages/wannier90/package.py
index e4aa1017c7..71833fa835 100644
--- a/var/spack/repos/builtin/packages/wannier90/package.py
+++ b/var/spack/repos/builtin/packages/wannier90/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/warpx/package.py b/var/spack/repos/builtin/packages/warpx/package.py
index 9cabbc4d73..2a084c5045 100644
--- a/var/spack/repos/builtin/packages/warpx/package.py
+++ b/var/spack/repos/builtin/packages/warpx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -33,7 +33,7 @@ class Warpx(MakefilePackage):
multi=True,
description='Programming model for compute kernels')
variant('mpi', default=True, description='Enable MPI support')
- variant('psatd', default=False, description='Enable PSATD solver')
+ variant('psatd', default=True, description='Enable PSATD solver support')
variant('debug', default=False, description='Enable debugging features')
variant('tprof', default=True, description='Enable tiny profiling features')
variant('openpmd', default=True, description='Enable openPMD I/O')
@@ -41,13 +41,13 @@ class Warpx(MakefilePackage):
depends_on('cuda@9.2.88:', when='backend=cuda')
depends_on('mpi', when='+mpi')
- depends_on('fftw@3:', when='+psatd')
- depends_on('fftw +mpi', when='+psatd +mpi')
+ depends_on('fftw@3:', when='+psatd backend=openmp')
+ depends_on('fftw +mpi', when='+psatd +mpi backend=openmp')
depends_on('blaspp', when='+psatd dims=rz')
depends_on('lapackpp', when='+psatd dims=rz')
depends_on('pkgconfig', type='build', when='+openpmd')
depends_on('python', type='build') # AMReX' build system info
- depends_on('openpmd-api@0.11.0:,dev', when='+openpmd')
+ depends_on('openpmd-api@0.13.1:,dev', when='+openpmd')
depends_on('openpmd-api +mpi', when='+openpmd +mpi')
depends_on('ascent', when='+ascent')
depends_on('ascent +cuda', when='+ascent backend=cuda')
diff --git a/var/spack/repos/builtin/packages/watch/package.py b/var/spack/repos/builtin/packages/watch/package.py
index 0416cff450..cf62fdab35 100644
--- a/var/spack/repos/builtin/packages/watch/package.py
+++ b/var/spack/repos/builtin/packages/watch/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/wayland/package.py b/var/spack/repos/builtin/packages/wayland/package.py
index daece1a824..7dabbd827c 100644
--- a/var/spack/repos/builtin/packages/wayland/package.py
+++ b/var/spack/repos/builtin/packages/wayland/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/wcs/package.py b/var/spack/repos/builtin/packages/wcs/package.py
index 44a39cccbe..8aded12fe6 100644
--- a/var/spack/repos/builtin/packages/wcs/package.py
+++ b/var/spack/repos/builtin/packages/wcs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/wcslib/package.py b/var/spack/repos/builtin/packages/wcslib/package.py
index 0c336592d0..7526f40e7c 100644
--- a/var/spack/repos/builtin/packages/wcslib/package.py
+++ b/var/spack/repos/builtin/packages/wcslib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/webbench/package.py b/var/spack/repos/builtin/packages/webbench/package.py
index 8681d283df..d1eb8e6a70 100644
--- a/var/spack/repos/builtin/packages/webbench/package.py
+++ b/var/spack/repos/builtin/packages/webbench/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/weechat/package.py b/var/spack/repos/builtin/packages/weechat/package.py
index ddee20bf1f..60950f3315 100644
--- a/var/spack/repos/builtin/packages/weechat/package.py
+++ b/var/spack/repos/builtin/packages/weechat/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/weighttp/package.py b/var/spack/repos/builtin/packages/weighttp/package.py
index f7b1c5adda..1a9d36cbdd 100644
--- a/var/spack/repos/builtin/packages/weighttp/package.py
+++ b/var/spack/repos/builtin/packages/weighttp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/wget/package.py b/var/spack/repos/builtin/packages/wget/package.py
index c9ef5e9dd8..0b9b5cde31 100644
--- a/var/spack/repos/builtin/packages/wget/package.py
+++ b/var/spack/repos/builtin/packages/wget/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/wgsim/package.py b/var/spack/repos/builtin/packages/wgsim/package.py
index fe6b25ef4a..d38be06377 100644
--- a/var/spack/repos/builtin/packages/wgsim/package.py
+++ b/var/spack/repos/builtin/packages/wgsim/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/which/package.py b/var/spack/repos/builtin/packages/which/package.py
index c95315ee7f..8784b77754 100644
--- a/var/spack/repos/builtin/packages/which/package.py
+++ b/var/spack/repos/builtin/packages/which/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/whizard/package.py b/var/spack/repos/builtin/packages/whizard/package.py
index f7aee3ceb9..db93e324c1 100644
--- a/var/spack/repos/builtin/packages/whizard/package.py
+++ b/var/spack/repos/builtin/packages/whizard/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,6 +15,8 @@ class Whizard(AutotoolsPackage):
url = "https://whizard.hepforge.org/downloads/?f=whizard-2.8.3.tar.gz"
git = "https://gitlab.tp.nt.uni-siegen.de/whizard/public.git"
+ tags = ['hep']
+
maintainers = ['vvolkl']
version('master', branch="master")
diff --git a/var/spack/repos/builtin/packages/windowswmproto/package.py b/var/spack/repos/builtin/packages/windowswmproto/package.py
index 12f8e783d2..b82423916b 100644
--- a/var/spack/repos/builtin/packages/windowswmproto/package.py
+++ b/var/spack/repos/builtin/packages/windowswmproto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/wireshark/package.py b/var/spack/repos/builtin/packages/wireshark/package.py
index e6a98b43d0..d6c72ac1a2 100644
--- a/var/spack/repos/builtin/packages/wireshark/package.py
+++ b/var/spack/repos/builtin/packages/wireshark/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/wonton/package.py b/var/spack/repos/builtin/packages/wonton/package.py
index 468b80c74c..9dd5492488 100644
--- a/var/spack/repos/builtin/packages/wonton/package.py
+++ b/var/spack/repos/builtin/packages/wonton/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,10 +17,12 @@ class Wonton(CMakePackage):
homepage = "https://portage.lanl.gov"
git = "https://github.com/laristra/wonton.git"
- url = "https://github.com/laristra/wonton/releases/download/1.2.1/wonton-1.2.1.tar.gz"
+ url = "https://github.com/laristra/wonton/releases/download/1.2.11/wonton-1.2.11.tar.gz"
maintainers = ['raovgarimella']
+ version('1.2.11', sha256='613436c799b392a99355db1cbf1062f1da39f3287eed665a5cd43bb65364d926')
+ version('1.2.10', sha256='c5c2c99f040f1fa5a8da21ac5ccbbc5b226d1fd43ce3eb14c76d211601b65a72')
version('1.2.1', sha256='4f00513d1abe86f256214d2b5171b1575b2cd464df8609307c24cbc4c595c305')
variant('lapacke', default=True, description='Use LAPACKE solvers')
diff --git a/var/spack/repos/builtin/packages/wordnet/package.py b/var/spack/repos/builtin/packages/wordnet/package.py
index 416c626ff2..30d932db41 100644
--- a/var/spack/repos/builtin/packages/wordnet/package.py
+++ b/var/spack/repos/builtin/packages/wordnet/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/workrave/package.py b/var/spack/repos/builtin/packages/workrave/package.py
index 85b74f7aff..5b6b1d939f 100644
--- a/var/spack/repos/builtin/packages/workrave/package.py
+++ b/var/spack/repos/builtin/packages/workrave/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/wps/for_aarch64.patch b/var/spack/repos/builtin/packages/wps/for_aarch64.patch
new file mode 100644
index 0000000000..fc71d97a1f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/wps/for_aarch64.patch
@@ -0,0 +1,11 @@
+--- spack-src/arch/configure.defaults.bak 2020-04-24 04:31:06.000000000 +0900
++++ spack-src/arch/configure.defaults 2020-12-11 15:33:51.215405970 +0900
+@@ -168,7 +168,7 @@
+ RANLIB = ranlib
+
+ ########################################################################################################################
+-#ARCH Linux x86_64, gfortran # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
++#ARCH Linux aarch64, gfortran # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
+ #
+ COMPRESSION_LIBS = CONFIGURE_COMP_L
+ COMPRESSION_INC = CONFIGURE_COMP_I
diff --git a/var/spack/repos/builtin/packages/wps/package.py b/var/spack/repos/builtin/packages/wps/package.py
index 70cbc030ad..5a9c7303e6 100644
--- a/var/spack/repos/builtin/packages/wps/package.py
+++ b/var/spack/repos/builtin/packages/wps/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -45,6 +45,8 @@ class Wps(Package):
depends_on('jasper')
phases = ['configure', 'build', 'install']
+ patch('for_aarch64.patch', when='target=aarch64:')
+
def setup_build_environment(self, env):
env.set('WRF_DIR', self.spec['wrf'].prefix)
env.set('NETCDF', self.spec['netcdf-c'].prefix)
diff --git a/var/spack/repos/builtin/packages/wrf/package.py b/var/spack/repos/builtin/packages/wrf/package.py
index 4841bd2a12..36c7c2496d 100644
--- a/var/spack/repos/builtin/packages/wrf/package.py
+++ b/var/spack/repos/builtin/packages/wrf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -105,6 +105,7 @@ class Wrf(Package):
patch("patches/3.9/netcdf_backport.patch", when="@3.9.1.1")
patch("patches/3.9/tirpc_detect.patch", when="@3.9.1.1")
patch("patches/3.9/add_aarch64.patch", when="@3.9.1.1")
+ patch("patches/3.9/configure_aocc.patch", when="@3.9.1.1 %aocc@:3.0")
# These patches deal with netcdf & netcdf-fortran being two diff things
# Patches are based on:
@@ -129,6 +130,8 @@ class Wrf(Package):
patch("patches/4.2/Makefile.patch", when="@4.2")
patch("patches/4.2/tirpc_detect.patch", when="@4.2")
patch("patches/4.2/add_aarch64.patch", when="@4.2")
+ patch("patches/4.2/configure4.2_aocc.patch", when="@4.2 %aocc@:3.0")
+ patch("patches/4.2/derf_fix.patch", when="@4.2 %aocc@:3.0")
depends_on("pkgconfig", type=("build"))
depends_on("libtirpc")
@@ -144,6 +147,7 @@ class Wrf(Package):
depends_on("libpng")
depends_on("zlib")
depends_on("perl")
+ depends_on("jemalloc", when="%aocc")
# not sure if +fortran is required, but seems like a good idea
depends_on("hdf5+fortran+hl+mpi")
# build script use csh
@@ -170,6 +174,11 @@ class Wrf(Package):
env.set("FCFLAGS", args)
env.set("FFLAGS", args)
+ if self.spec.satisfies("%aocc"):
+ env.set("WRFIO_NCD_LARGE_FILE_SUPPORT", 1)
+ env.set("HDF5", self.spec["hdf5"].prefix)
+ env.prepend_path('PATH', ancestor(self.compiler.cc))
+
def patch(self):
# Let's not assume csh is intalled in bin
files = glob.glob("*.csh")
@@ -232,12 +241,53 @@ class Wrf(Package):
)
ofh.write(line)
+ if self.spec.satisfies("@3.9.1.1 %aocc"):
+ rename(
+ "./arch/configure_new.defaults",
+ "./arch/configure_new.defaults.bak",
+ )
+ with open("./arch/configure_new.defaults.bak", "rt") as ifh:
+ with open("./arch/configure_new.defaults", "wt") as ofh:
+ for line in ifh:
+ if line.startswith("DM_"):
+ line = line.replace(
+ "mpif90 -DMPI2_SUPPORT",
+ self.spec['mpi'].mpifc + " -DMPI2_SUPPORT"
+ )
+ line = line.replace(
+ "mpicc -DMPI2_SUPPORT",
+ self.spec['mpi'].mpicc + " -DMPI2_SUPPORT"
+ )
+ ofh.write(line)
+
+ if self.spec.satisfies("@4.2 %aocc"):
+ # In version 4.2 the file to be patched is called
+ # configure.defaults, while in earlier versions
+ # it's configure_new.defaults
+ rename(
+ "./arch/configure.defaults",
+ "./arch/configure.defaults.bak",
+ )
+ with open("./arch/configure.defaults.bak", "rt") as ifh:
+ with open("./arch/configure.defaults", "wt") as ofh:
+ for line in ifh:
+ if line.startswith("DM_"):
+ line = line.replace(
+ "mpif90 -DMPI2_SUPPORT",
+ self.spec['mpi'].mpifc + " -DMPI2_SUPPORT"
+ )
+ line = line.replace(
+ "mpicc -DMPI2_SUPPORT",
+ self.spec['mpi'].mpicc + " -DMPI2_SUPPORT"
+ )
+ ofh.write(line)
+
def configure(self, spec, prefix):
# Remove broken default options...
self.do_configure_fixup()
- if self.spec.compiler.name not in ["intel", "gcc"]:
+ if self.spec.compiler.name not in ["intel", "gcc", "aocc"]:
raise InstallError(
"Compiler %s not currently supported for WRF build."
% self.spec.compiler.name
@@ -284,6 +334,12 @@ class Wrf(Package):
if returncode != 0:
raise InstallError("Configure failed - unknown error")
+ @run_after("configure")
+ def patch_for_libmvec(self):
+ if self.spec.satisfies("@3.9.1.1 %aocc@:3.0"):
+ fp = self.package_dir + "/patches/3.9/aocc_lmvec.patch"
+ which('patch')('-s', '-p1', '-i', '{0}'.format(fp), '-d', '.')
+
def run_compile_script(self):
csh_bin = self.spec["tcsh"].prefix.bin.csh
csh = Executable(csh_bin)
diff --git a/var/spack/repos/builtin/packages/wrf/patches/3.9/aocc_lmvec.patch b/var/spack/repos/builtin/packages/wrf/patches/3.9/aocc_lmvec.patch
new file mode 100644
index 0000000000..6d67b04612
--- /dev/null
+++ b/var/spack/repos/builtin/packages/wrf/patches/3.9/aocc_lmvec.patch
@@ -0,0 +1,130 @@
+diff --git a/configure.wrf b/configure_libm.wrf
+index b0e306c..41a6cba 100644
+--- a/configure.wrf
++++ b/configure_libm.wrf
+@@ -263,56 +263,56 @@ wrfio_nf :
+ ( cd $(WRF_SRC_ROOT_DIR)/external/io_netcdf ; \
+ make $(J) NETCDFPATH="$(NETCDFPATH)" NETCDFFPATH="$(NETCDFFPATH)" RANLIB="$(RANLIB)" CPP="$(CPP)" \
+ CC="$(SCC)" CFLAGS="$(CFLAGS)" \
+- FC="$(SFC) $(PROMOTION) $(OMP) $(FCFLAGS)" TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" )
++ FC="$(SFC) $(PROMOTION) $(OMP) $(LIBMVEC) $(FCFLAGS)" TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" )
+
+ wrfio_pnf :
+ ( cd $(WRF_SRC_ROOT_DIR)/external/io_pnetcdf ; \
+ make $(J) NETCDFPATH="$(PNETCDFPATH)" RANLIB="$(RANLIB)" CPP="$(CPP) $(ARCHFLAGS)" \
+- FC="$(FC) $(PROMOTION) $(OMP) $(FCFLAGS)" TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" )
++ FC="$(FC) $(PROMOTION) $(OMP) $(LIBMVEC) $(FCFLAGS)" TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" )
+
+ wrfio_grib_share :
+ ( cd $(WRF_SRC_ROOT_DIR)/external/io_grib_share ; \
+ make $(J) CC="$(SCC)" CFLAGS="$(CFLAGS)" RM="$(RM)" RANLIB="$(RANLIB)" CPP="$(CPP)" \
+- FC="$(SFC) $(PROMOTION) -I. $(FCDEBUG) $(FCBASEOPTS) $(FCSUFFIX)" TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" archive)
++ FC="$(SFC) $(PROMOTION) -I. $(LIBMVEC) $(FCDEBUG) $(FCBASEOPTS) $(FCSUFFIX)" TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" archive)
+
+ wrfio_grib1 :
+ ( cd $(WRF_SRC_ROOT_DIR)/external/io_grib1 ; \
+ make $(J) CC="$(SCC)" CFLAGS="$(CFLAGS)" RM="$(RM)" RANLIB="$(RANLIB)" CPP="$(CPP)" \
+- FC="$(SFC) $(PROMOTION) -I. $(FCDEBUG) $(FCBASEOPTS) $(FCSUFFIX)" TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" archive)
++ FC="$(SFC) $(PROMOTION) -I. $(LIBMVEC) $(FCDEBUG) $(FCBASEOPTS) $(FCSUFFIX)" TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" archive)
+
+ wrfio_grib2 :
+ ( cd $(WRF_SRC_ROOT_DIR)/external/io_grib2 ; \
+ make $(J) CC="$(SCC)" CFLAGS="$(CFLAGS) " RM="$(RM)" RANLIB="$(RANLIB)" \
+ CPP="$(CPP)" \
+- FC="$(SFC) $(PROMOTION) -I. $(FCDEBUG) $(FCBASEOPTS) $(FCSUFFIX)" TRADFLAG="-traditional" AR="$(AR)" ARFLAGS="$(ARFLAGS)" \
++ FC="$(SFC) $(PROMOTION) -I. $(LIBMVEC) $(FCDEBUG) $(FCBASEOPTS) $(FCSUFFIX)" TRADFLAG="-traditional" AR="$(AR)" ARFLAGS="$(ARFLAGS)" \
+ FIXED="$(FORMAT_FIXED)" archive)
+
+ wrfio_int :
+ ( cd $(WRF_SRC_ROOT_DIR)/external/io_int ; \
+ make $(J) CC="$(CC)" CFLAGS_LOCAL="$(CFLAGS_LOCAL)" RM="$(RM)" RANLIB="$(RANLIB)" CPP="$(CPP)" \
+- FC="$(FC) $(PROMOTION) $(FCDEBUG) $(FCBASEOPTS) $(OMP)" FGREP="$(FGREP)" \
++ FC="$(FC) $(PROMOTION) $(LIBMVEC) $(FCDEBUG) $(FCBASEOPTS) $(OMP)" FGREP="$(FGREP)" \
+ TRADFLAG="$(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" ARCHFLAGS="$(ARCHFLAGS)" all )
+
+ esmf_time :
+ ( cd $(WRF_SRC_ROOT_DIR)/external/esmf_time_f90 ; \
+- make $(J) FC="$(SFC) $(PROMOTION) $(FCDEBUG) $(FCBASEOPTS)" RANLIB="$(RANLIB)" \
++ make $(J) FC="$(SFC) $(PROMOTION) $(LIBMVEC) $(FCDEBUG) $(FCBASEOPTS)" RANLIB="$(RANLIB)" \
+ CPP="$(CPP) -I$(WRF_SRC_ROOT_DIR)/inc -I. $(ARCHFLAGS) $(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" )
+
+ fftpack :
+ ( cd $(WRF_SRC_ROOT_DIR)/external/fftpack/fftpack5 ; \
+- make $(J) FC="$(SFC)" FFLAGS="$(PROMOTION) $(FCDEBUG) $(FCBASEOPTS)" RANLIB="$(RANLIB)" AR="$(AR)" \
++ make $(J) FC="$(SFC)" FFLAGS="$(PROMOTION) $(LIBMVEC) $(FCDEBUG) $(FCBASEOPTS)" RANLIB="$(RANLIB)" AR="$(AR)" \
+ ARFLAGS="$(ARFLAGS)" CPP="$(CPP)" CPPFLAGS="$(CPPFLAGS)" RM="$(RM)" )
+
+ atm_ocn :
+ ( cd $(WRF_SRC_ROOT_DIR)/external/atm_ocn ; \
+ make $(J) CC="$(SCC)" CFLAGS="$(CFLAGS) " RM="$(RM)" RANLIB="$(RANLIB)" \
+ CPP="$(CPP)" CPPFLAGS="$(CPPFLAGS)" \
+- FC="$(DM_FC) $(PROMOTION) -I. $(FCDEBUG) $(FCBASEOPTS) $(FCSUFFIX)" TRADFLAG="-traditional" AR="$(AR)" ARFLAGS="$(ARFLAGS)" \
++ FC="$(DM_FC) $(PROMOTION) -I. $(LIBMVEC) $(FCDEBUG) $(FCBASEOPTS) $(FCSUFFIX)" TRADFLAG="-traditional" AR="$(AR)" ARFLAGS="$(ARFLAGS)" \
+ FIXED="$(FORMAT_FIXED)" )
+
+ $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/librsl_lite.a :
+ ( cd $(WRF_SRC_ROOT_DIR)/external/RSL_LITE ; make $(J) CC="$(CC) $(CFLAGS)" \
+- FC="$(FC) $(FCFLAGS) $(OMP) $(PROMOTION) $(BYTESWAPIO)" \
++ FC="$(FC) $(FCFLAGS) $(LIBMVEC) $(OMP) $(PROMOTION) $(BYTESWAPIO)" \
+ CPP="$(CPP) -I. $(ARCHFLAGS) $(OMPCPP) $(TRADFLAG)" AR="$(AR)" ARFLAGS="$(ARFLAGS)" ;\
+ $(RANLIB) $(WRF_SRC_ROOT_DIR)/external/RSL_LITE/librsl_lite.a )
+
+@@ -332,7 +332,7 @@ wrf_ioapi_includes :
+
+ wrfio_esmf :
+ ( cd $(WRF_SRC_ROOT_DIR)/external/io_esmf ; \
+- make FC="$(FC) $(PROMOTION) $(FCDEBUG) $(FCBASEOPTS) $(ESMF_MOD_INC)" \
++ make FC="$(FC) $(PROMOTION) $(LIBMVEC) $(FCDEBUG) $(FCBASEOPTS) $(ESMF_MOD_INC)" \
+ RANLIB="$(RANLIB)" CPP="$(CPP) $(POUND_DEF) " AR="$(AR)" ARFLAGS="$(ARFLAGS)" )
+
+ # There is probably no reason to modify these rules
+@@ -357,7 +357,7 @@ wrfio_esmf :
+ $(WRF_SRC_ROOT_DIR)/var/build/da_name_space.pl $*.f90 > $*.f90.tmp ; \
+ mv $*.f90.tmp $*.f90 ; \
+ fi
+- $(FC) -o $@ -c $(FCFLAGS) $(OMP) $(MODULE_DIRS) $(PROMOTION) $(FCSUFFIX) $*.f90
++ $(FC) -o $@ -c $(FCFLAGS) $(LIBMVEC) $(OMP) $(MODULE_DIRS) $(PROMOTION) $(FCSUFFIX) $*.f90
+
+
+ .F.f90:
+@@ -370,7 +370,7 @@ wrfio_esmf :
+
+ .f90.o:
+ $(RM) $@
+- $(FC) -o $@ -c $(FCFLAGS) $(PROMOTION) $(FCSUFFIX) $*.f90
++ $(FC) -o $@ -c $(FCFLAGS) $(LIBMVEC) $(PROMOTION) $(FCSUFFIX) $*.f90
+
+ setfeenv.o : setfeenv.c
+ $(RM) $@
+@@ -474,10 +474,10 @@ wrf_tsin.o :
+ fi
+ if $(FGREP) '!$$OMP' $*.f90 ; then \
+ if [ -n "$(OMP)" ] ; then echo COMPILING $*.F WITH OMP ; fi ; \
+- $(FC) -c $(PROMOTION) $(FCNOOPT) $(FCBASEOPTS) $(MODULE_DIRS) $(FCSUFFIX) $(OMP) $*.f90 ; \
++ $(FC) -c $(PROMOTION) $(FCNOOPT) $(LIBMVEC) $(FCBASEOPTS) $(MODULE_DIRS) $(FCSUFFIX) $(OMP) $*.f90 ; \
+ else \
+ if [ -n "$(OMP)" ] ; then echo COMPILING $*.F WITHOUT OMP ; fi ; \
+- $(FC) -c $(PROMOTION) $(FCNOOPT) $(FCBASEOPTS) $(MODULE_DIRS) $(FCSUFFIX) $*.f90 ; \
++ $(FC) -c $(PROMOTION) $(FCNOOPT) $(LIBMVEC) $(FCBASEOPTS) $(MODULE_DIRS) $(FCSUFFIX) $*.f90 ; \
+ fi
+
+ #solve_em.o :
+@@ -497,10 +497,10 @@ module_sf_ruclsm.o :
+ if $(FGREP) '!$$OMP' $*.f90 ; then \
+ echo COMPILING $*.F WITH OMP ; \
+ if [ -n "$(OMP)" ] ; then echo COMPILING $*.F WITH OMP ; fi ; \
+- $(FC) -c $(PROMOTION) $(FCREDUCEDOPT) $(FCBASEOPTS) $(MODULE_DIRS) $(FCSUFFIX) $(OMP) $*.f90 ; \
++ $(FC) -c $(PROMOTION) $(FCREDUCEDOPT) $(LIBMVEC) $(FCBASEOPTS) $(MODULE_DIRS) $(FCSUFFIX) $(OMP) $*.f90 ; \
+ else \
+ if [ -n "$(OMP)" ] ; then echo COMPILING $*.F WITHOUT OMP ; fi ; \
+- $(FC) -c $(PROMOTION) $(FCREDUCEDOPT) $(FCBASEOPTS) $(MODULE_DIRS) $(FCSUFFIX) $*.f90 ; \
++ $(FC) -c $(PROMOTION) $(FCREDUCEDOPT) $(LIBMVEC) $(FCBASEOPTS) $(MODULE_DIRS) $(FCSUFFIX) $*.f90 ; \
+ fi
+
+ # compile without OMP
+@@ -547,4 +547,4 @@ module_configure.o :
+ mv $*.f90.tmp $*.f90 ; \
+ fi
+ $(RM) $*.b $*.bb
+- $(FC) -c $(PROMOTION) $(FCSUFFIX) $(FCNOOPT) $(FCBASEOPTS) $(MODULE_DIRS) $*.f90
++ $(FC) -c $(PROMOTION) $(FCSUFFIX) $(LIBMVEC) $(FCNOOPT) $(FCBASEOPTS) $(MODULE_DIRS) $*.f90
diff --git a/var/spack/repos/builtin/packages/wrf/patches/3.9/configure_aocc.patch b/var/spack/repos/builtin/packages/wrf/patches/3.9/configure_aocc.patch
new file mode 100644
index 0000000000..cbdcf702dd
--- /dev/null
+++ b/var/spack/repos/builtin/packages/wrf/patches/3.9/configure_aocc.patch
@@ -0,0 +1,55 @@
+--- WRF-3.9.1.1/arch/configure_new.defaults 2017-08-29 01:59:47.000000000 +0530
++++ WRF-3.9.1.1/arch/configure_391_aocc22.defaults 2020-12-23 10:06:29.764955610 +0530
+@@ -1917,6 +1917,52 @@
+ CC_TOOLS = $(SCC)
+
+ #insert new stanza here
++############################################################
++#ARCH AMD EPYC Linux x86_64 AOCC Compilers #dm+sm
++#
++DESCRIPTION = AMD AOCC ($SFC/$SCC): EPYC
++DMPARALLEL = 1
++OMPCPP = -D_OPENMP
++OMP = -fopenmp
++OMPCC = -fopenmp -Mpreprocess
++SFC = flang
++SCC = clang
++CCOMP = clang
++DM_FC = mpif90 -DMPI2_SUPPORT
++DM_CC = mpicc -DMPI2_SUPPORT
++FC = $(DM_FC)
++CC = $(DM_CC) -DFSEEKO64_OK
++LD = $(FC)
++RWORDSIZE = $(NATIVE_RWORDSIZE)
++PROMOTION =
++ARCH_LOCAL = -DNONSTANDARD_SYSTEM_SUBR -DWRF_USE_CLM
++LIBMVEC = -mllvm -vector-library=LIBMVEC
++AMDARCHOPT = -march=native
++AOCCOPT = -O3 -m64 -Ofast -ffast-math $(AMDARCHOPT)
++CFLAGS_LOCAL = -w $(AOCCOPT)
++LDFLAGS_LOCAL = -lm -ltirpc -lamdlibm -ljemalloc -lmvec $(AOCCOPT)
++CPLUSPLUSLIB =
++ESMF_LDFLAG = $(CPLUSPLUSLIB)
++FCOPTIM = $(AOCCOPT) -fopenmp
++FCREDUCEDOPT = -O2 -Ofast -ffast-math
++FCNOOPT = -O0 -DFCNOOPT -fopenmp
++FCDEBUG = #-g
++FORMAT_FIXED = -Mfixed
++FORMAT_FREE = -Mfreeform
++FCSUFFIX =
++BYTESWAPIO = -Mbyteswapio
++FCBASEOPTS_NO_G = $(FORMAT_FREE) $(BYTESWAPIO) -fopenmp
++FCBASEOPTS = $(FCBASEOPTS_NO_G) $(FCDEBUG) -DBASEOPTS -fopenmp
++MODULE_SRCH_FLAG =
++TRADFLAG = -traditional
++CPP = /lib/cpp -P
++AR = llvm-ar
++ARFLAGS = ru
++M4 = m4
++RANLIB = llvm-ranlib
++RLFLAGS =
++CC_TOOLS = $(SCC)
++
+
+ ###########################################################
+ #ARCH Fujitsu FX10/FX100 Linux x86_64 SPARC64IXfx/SPARC64Xlfx, mpifrtpx and mpifccpx compilers #serial smpar dmpar dm+sm
diff --git a/var/spack/repos/builtin/packages/wrf/patches/4.2/configure4.2_aocc.patch b/var/spack/repos/builtin/packages/wrf/patches/4.2/configure4.2_aocc.patch
new file mode 100644
index 0000000000..12417bf698
--- /dev/null
+++ b/var/spack/repos/builtin/packages/wrf/patches/4.2/configure4.2_aocc.patch
@@ -0,0 +1,54 @@
+--- WRF-4.2/arch/configure.defaults 2020-04-23 22:38:37.000000000 +0530
++++ WRF-4.2/arch/configure_42_aocc22.defaults 2020-12-28 08:22:49.253214150 +0530
+@@ -1975,6 +1975,51 @@
+ $(WRF_SRC_ROOT_DIR)/frame/pack_utils.o
+
+ #insert new stanza here
++#############################################################
++#ARCH AMD EPYC Linux x86_64 AOCC Compilers #dm+sm
++#
++DESCRIPTION = AMD AOCC ($SFC/$SCC): EPYC
++DMPARALLEL = 1
++OMPCPP = -D_OPENMP
++OMP = -fopenmp
++OMPCC = -fopenmp -Mpreprocess
++SFC = flang
++SCC = clang
++CCOMP = clang
++DM_FC = mpif90 -DMPI2_SUPPORT
++DM_CC = mpicc -DMPI2_SUPPORT
++FC = time $(DM_FC)
++CC = $(DM_CC) -DFSEEKO64_OK
++LD = $(FC)
++RWORDSIZE = $(NATIVE_RWORDSIZE)
++PROMOTION =
++ARCH_LOCAL = -DNONSTANDARD_SYSTEM_SUBR -DWRF_USE_CLM
++LIBMVEC = -mllvm -vector-library=LIBMVEC
++AMDARCHOPT = -march=native
++AOCCOPT = -O3 -m64 -Ofast -ffast-math -g $(AMDARCHOPT)
++CFLAGS_LOCAL = -w $(AOCCOPT)
++LDFLAGS_LOCAL = -lm -ltirpc -lamdlibm -ljemalloc -lmvec $(AOCCOPT)
++CPLUSPLUSLIB =
++ESMF_LDFLAG = $(CPLUSPLUSLIB)
++FCOPTIM = $(AOCCOPT) -fopenmp
++FCREDUCEDOPT = -O2 -Ofast -ffast-math
++FCNOOPT = -O0 -ffast-math
++FCDEBUG = #-g
++FORMAT_FIXED = -Mfixed
++FORMAT_FREE = -Mfreeform
++FCSUFFIX =
++BYTESWAPIO = -Mbyteswapio
++FCBASEOPTS_NO_G = -w $(FORMAT_FREE) $(BYTESWAPIO) -ffast-math
++FCBASEOPTS = $(FCBASEOPTS_NO_G) $(FCDEBUG)
++MODULE_SRCH_FLAG =
++TRADFLAG = -traditional
++CPP = /lib/cpp -P
++AR = llvm-ar
++ARFLAGS = ru
++M4 = m4
++RANLIB = llvm-ranlib
++RLFLAGS =
++CC_TOOLS = $(SCC)
+
+ ###########################################################
+ #ARCH Fujitsu FX10/FX100 Linux x86_64 SPARC64IXfx/SPARC64Xlfx, mpifrtpx and mpifccpx compilers #serial smpar dmpar dm+sm
diff --git a/var/spack/repos/builtin/packages/wrf/patches/4.2/derf_fix.patch b/var/spack/repos/builtin/packages/wrf/patches/4.2/derf_fix.patch
new file mode 100644
index 0000000000..227c467352
--- /dev/null
+++ b/var/spack/repos/builtin/packages/wrf/patches/4.2/derf_fix.patch
@@ -0,0 +1,11 @@
+--- WRF-4.2/phys/module_mp_SBM_polar_radar.F 2020-04-23 22:38:37.000000000 +0530
++++ WRF-4.2/phys/module_mp_SBM_polar_radar_aocc.F 2020-12-29 11:45:52.329495585 +0530
+@@ -1534,7 +1534,7 @@
+ (1.0d0-(1.0d0-fract_volume_water)*ratc))
+ ! new change 18.01.09 (start)
+ if(fract_volume_water.gt.1.0d-10) then
+- t=derf((1.0d0-fract_volume_water)/fract_volume_water-0.2d0)
++ t=erf((1.0d0-fract_volume_water)/fract_volume_water-0.2d0)
+ else
+ t=1.0d0
+ endif
diff --git a/var/spack/repos/builtin/packages/wrk/package.py b/var/spack/repos/builtin/packages/wrk/package.py
index 0eaddbd82e..9eb4eb30e3 100644
--- a/var/spack/repos/builtin/packages/wrk/package.py
+++ b/var/spack/repos/builtin/packages/wrk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/wsmancli/package.py b/var/spack/repos/builtin/packages/wsmancli/package.py
index 0a28a1c539..d2769dbeec 100644
--- a/var/spack/repos/builtin/packages/wsmancli/package.py
+++ b/var/spack/repos/builtin/packages/wsmancli/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/wt/package.py b/var/spack/repos/builtin/packages/wt/package.py
index dcc08ca12d..9f3cd73d1e 100644
--- a/var/spack/repos/builtin/packages/wt/package.py
+++ b/var/spack/repos/builtin/packages/wt/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/wtdbg2/for_aarch64.patch b/var/spack/repos/builtin/packages/wtdbg2/for_aarch64.patch
new file mode 100644
index 0000000000..425edc927f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/wtdbg2/for_aarch64.patch
@@ -0,0 +1,23 @@
+--- spack-src/ksw.c.bak 2019-01-21 10:35:00.000000000 +0900
++++ spack-src/ksw.c 2021-01-29 16:24:06.281952856 +0900
+@@ -25,7 +25,7 @@
+
+ #include <stdlib.h>
+ #include <stdint.h>
+-#include <emmintrin.h>
++#include <sse2neon.h>
+ #include "ksw.h"
+
+ #ifdef USE_MALLOC_WRAPPERS
+--- spack-src/poacns.h.bak 2019-01-21 10:35:00.000000000 +0900
++++ spack-src/poacns.h 2021-01-29 16:23:27.631956791 +0900
+@@ -25,8 +25,7 @@
+ #include "chararray.h"
+ #include "list.h"
+ #include "hashset.h"
+-#include <emmintrin.h>
+-#include <tmmintrin.h>
++#include <sse2neon.h>
+
+ #if __BYTE_ORDER == 1234
+ //#pragma message(" ** " __FILE__ " has been tested in LITTLE_ENDIAN **\n")
diff --git a/var/spack/repos/builtin/packages/wtdbg2/package.py b/var/spack/repos/builtin/packages/wtdbg2/package.py
index 255ea90560..299ad7f34c 100644
--- a/var/spack/repos/builtin/packages/wtdbg2/package.py
+++ b/var/spack/repos/builtin/packages/wtdbg2/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -15,6 +15,14 @@ class Wtdbg2(MakefilePackage):
version('2.3', sha256='fb61d38a4c60a39b3b194e63b855141c05ddcbe71cf244ae613766a9b0a56621')
depends_on('zlib')
+ depends_on('sse2neon', when='target=aarch64:')
+
+ patch('for_aarch64.patch', when='target=aarch64:')
+
+ def edit(self, spec, prefix):
+ if spec.target.family == 'aarch64':
+ makefile = FileFilter('Makefile')
+ makefile.filter('-mpopcnt -msse4.2', '')
def install(self, spec, prefix):
make('install', 'BIN=%s' % prefix.bin)
diff --git a/var/spack/repos/builtin/packages/wxpropgrid/package.py b/var/spack/repos/builtin/packages/wxpropgrid/package.py
index c288d0d533..aa73bfef83 100644
--- a/var/spack/repos/builtin/packages/wxpropgrid/package.py
+++ b/var/spack/repos/builtin/packages/wxpropgrid/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/wxwidgets/package.py b/var/spack/repos/builtin/packages/wxwidgets/package.py
index 5b31c4e59b..4e159ec36d 100644
--- a/var/spack/repos/builtin/packages/wxwidgets/package.py
+++ b/var/spack/repos/builtin/packages/wxwidgets/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/x11perf/package.py b/var/spack/repos/builtin/packages/x11perf/package.py
index bdd58e64c9..ed0350728b 100644
--- a/var/spack/repos/builtin/packages/x11perf/package.py
+++ b/var/spack/repos/builtin/packages/x11perf/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,6 +19,6 @@ class X11perf(AutotoolsPackage, XorgPackage):
depends_on('libxrender')
depends_on('libxft')
- depends_on('xproto@7.0.17:', type='build')
+ depends_on('xproto@7.0.17:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xabclib/package.py b/var/spack/repos/builtin/packages/xabclib/package.py
index 80f691d31b..c9338c0340 100644
--- a/var/spack/repos/builtin/packages/xabclib/package.py
+++ b/var/spack/repos/builtin/packages/xabclib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xapian-core/package.py b/var/spack/repos/builtin/packages/xapian-core/package.py
index 5e1bc5d244..096ccd3467 100644
--- a/var/spack/repos/builtin/packages/xapian-core/package.py
+++ b/var/spack/repos/builtin/packages/xapian-core/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xauth/package.py b/var/spack/repos/builtin/packages/xauth/package.py
index aefbf692c7..c967c47c1c 100644
--- a/var/spack/repos/builtin/packages/xauth/package.py
+++ b/var/spack/repos/builtin/packages/xauth/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xbacklight/package.py b/var/spack/repos/builtin/packages/xbacklight/package.py
index 5fd7d6b4e3..f465c75d54 100644
--- a/var/spack/repos/builtin/packages/xbacklight/package.py
+++ b/var/spack/repos/builtin/packages/xbacklight/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xbiff/package.py b/var/spack/repos/builtin/packages/xbiff/package.py
index 3305eebd83..bc259eee76 100644
--- a/var/spack/repos/builtin/packages/xbiff/package.py
+++ b/var/spack/repos/builtin/packages/xbiff/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -21,6 +21,6 @@ class Xbiff(AutotoolsPackage, XorgPackage):
depends_on('libxext')
depends_on('libx11')
- depends_on('xbitmaps', type='build')
+ depends_on('xbitmaps')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xbitmaps/package.py b/var/spack/repos/builtin/packages/xbitmaps/package.py
index 0b61b98e2c..7f681b5925 100644
--- a/var/spack/repos/builtin/packages/xbitmaps/package.py
+++ b/var/spack/repos/builtin/packages/xbitmaps/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xbraid/package.py b/var/spack/repos/builtin/packages/xbraid/package.py
index 530390c100..cffe634d76 100644
--- a/var/spack/repos/builtin/packages/xbraid/package.py
+++ b/var/spack/repos/builtin/packages/xbraid/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xcalc/package.py b/var/spack/repos/builtin/packages/xcalc/package.py
index 85078d3860..68670ab684 100644
--- a/var/spack/repos/builtin/packages/xcalc/package.py
+++ b/var/spack/repos/builtin/packages/xcalc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,6 +19,6 @@ class Xcalc(AutotoolsPackage, XorgPackage):
depends_on('libxt')
depends_on('libx11')
- depends_on('xproto@7.0.17:', type='build')
+ depends_on('xproto@7.0.17:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xcb-demo/package.py b/var/spack/repos/builtin/packages/xcb-demo/package.py
index 83e7eb2666..6336a7eeac 100644
--- a/var/spack/repos/builtin/packages/xcb-demo/package.py
+++ b/var/spack/repos/builtin/packages/xcb-demo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xcb-proto/package.py b/var/spack/repos/builtin/packages/xcb-proto/package.py
index 7bf70df0e5..98b7e25f8a 100644
--- a/var/spack/repos/builtin/packages/xcb-proto/package.py
+++ b/var/spack/repos/builtin/packages/xcb-proto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -11,8 +11,10 @@ class XcbProto(AutotoolsPackage):
generate the majority of its code and API."""
homepage = "http://xcb.freedesktop.org/"
- url = "http://xcb.freedesktop.org/dist/xcb-proto-1.13.tar.gz"
+ url = "https://xorg.freedesktop.org/archive/individual/proto/xcb-proto-1.14.1.tar.xz"
+ version('1.14.1', sha256='f04add9a972ac334ea11d9d7eb4fc7f8883835da3e4859c9afa971efdf57fcc3')
+ version('1.14', sha256='186a3ceb26f9b4a015f5a44dcc814c93033a5fc39684f36f1ecc79834416a605')
version('1.13', sha256='0698e8f596e4c0dbad71d3dc754d95eb0edbb42df5464e0f782621216fa33ba7')
version('1.12', sha256='cfa49e65dd390233d560ce4476575e4b76e505a0e0bacdfb5ba6f8d0af53fd59')
version('1.11', sha256='d12152193bd71aabbdbb97b029717ae6d5d0477ab239614e3d6193cc0385d906')
@@ -22,3 +24,11 @@ class XcbProto(AutotoolsPackage):
# extends('python')
patch('xcb-proto-1.12-schema-1.patch', when='@1.12')
+
+ def url_for_version(self, version):
+ if version >= Version('1.14'):
+ url = 'https://xorg.freedesktop.org/archive/individual/proto/xcb-proto-{0}.tar.xz'
+ else:
+ url = 'http://xcb.freedesktop.org/dist/xcb-proto-{0}.tar.gz'
+
+ return url.format(version)
diff --git a/var/spack/repos/builtin/packages/xcb-util-cursor/package.py b/var/spack/repos/builtin/packages/xcb-util-cursor/package.py
index 6b241c46c7..ad6a5a9e6b 100644
--- a/var/spack/repos/builtin/packages/xcb-util-cursor/package.py
+++ b/var/spack/repos/builtin/packages/xcb-util-cursor/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xcb-util-errors/package.py b/var/spack/repos/builtin/packages/xcb-util-errors/package.py
index e861511d33..da09925c43 100644
--- a/var/spack/repos/builtin/packages/xcb-util-errors/package.py
+++ b/var/spack/repos/builtin/packages/xcb-util-errors/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -21,5 +21,5 @@ class XcbUtilErrors(AutotoolsPackage):
depends_on('libxcb@1.4:')
- depends_on('xcb-proto', type='build')
+ depends_on('xcb-proto')
depends_on('pkgconfig', type='build')
diff --git a/var/spack/repos/builtin/packages/xcb-util-image/package.py b/var/spack/repos/builtin/packages/xcb-util-image/package.py
index e9b341e259..46442ba19f 100644
--- a/var/spack/repos/builtin/packages/xcb-util-image/package.py
+++ b/var/spack/repos/builtin/packages/xcb-util-image/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -22,5 +22,5 @@ class XcbUtilImage(AutotoolsPackage):
depends_on('libxcb@1.4:')
depends_on('xcb-util')
- depends_on('xproto@7.0.8:', type='build')
+ depends_on('xproto@7.0.8:')
depends_on('pkgconfig', type='build')
diff --git a/var/spack/repos/builtin/packages/xcb-util-keysyms/package.py b/var/spack/repos/builtin/packages/xcb-util-keysyms/package.py
index 5b51fe0fe5..e214fcaad4 100644
--- a/var/spack/repos/builtin/packages/xcb-util-keysyms/package.py
+++ b/var/spack/repos/builtin/packages/xcb-util-keysyms/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -21,5 +21,5 @@ class XcbUtilKeysyms(AutotoolsPackage):
depends_on('libxcb@1.4:')
- depends_on('xproto@7.0.8:', type='build')
+ depends_on('xproto@7.0.8:')
depends_on('pkgconfig', type='build')
diff --git a/var/spack/repos/builtin/packages/xcb-util-renderutil/package.py b/var/spack/repos/builtin/packages/xcb-util-renderutil/package.py
index 864fa51989..c72bb75f1e 100644
--- a/var/spack/repos/builtin/packages/xcb-util-renderutil/package.py
+++ b/var/spack/repos/builtin/packages/xcb-util-renderutil/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xcb-util-wm/package.py b/var/spack/repos/builtin/packages/xcb-util-wm/package.py
index 8e1f8d764f..c19caa0831 100644
--- a/var/spack/repos/builtin/packages/xcb-util-wm/package.py
+++ b/var/spack/repos/builtin/packages/xcb-util-wm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xcb-util-xrm/package.py b/var/spack/repos/builtin/packages/xcb-util-xrm/package.py
index 0c0185f142..4ae58ac3ea 100644
--- a/var/spack/repos/builtin/packages/xcb-util-xrm/package.py
+++ b/var/spack/repos/builtin/packages/xcb-util-xrm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xcb-util/package.py b/var/spack/repos/builtin/packages/xcb-util/package.py
index 7b3f1b4a4a..470a8d74e8 100644
--- a/var/spack/repos/builtin/packages/xcb-util/package.py
+++ b/var/spack/repos/builtin/packages/xcb-util/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xcfun/package.py b/var/spack/repos/builtin/packages/xcfun/package.py
index 2e07c72819..fbb8f03e0d 100644
--- a/var/spack/repos/builtin/packages/xcfun/package.py
+++ b/var/spack/repos/builtin/packages/xcfun/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xclip/package.py b/var/spack/repos/builtin/packages/xclip/package.py
index 167ab66255..f3aff9f53b 100644
--- a/var/spack/repos/builtin/packages/xclip/package.py
+++ b/var/spack/repos/builtin/packages/xclip/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xclipboard/package.py b/var/spack/repos/builtin/packages/xclipboard/package.py
index 7caf75a319..2d201265af 100644
--- a/var/spack/repos/builtin/packages/xclipboard/package.py
+++ b/var/spack/repos/builtin/packages/xclipboard/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -23,6 +23,6 @@ class Xclipboard(AutotoolsPackage, XorgPackage):
depends_on('libx11')
depends_on('libxkbfile')
- depends_on('xproto@7.0.17:', type='build')
+ depends_on('xproto@7.0.17:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xclock/package.py b/var/spack/repos/builtin/packages/xclock/package.py
index 2e79e2f874..834005fb48 100644
--- a/var/spack/repos/builtin/packages/xclock/package.py
+++ b/var/spack/repos/builtin/packages/xclock/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -24,6 +24,6 @@ class Xclock(AutotoolsPackage, XorgPackage):
depends_on('libxkbfile')
depends_on('libxt')
- depends_on('xproto@7.0.17:', type='build')
+ depends_on('xproto@7.0.17:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xcmiscproto/package.py b/var/spack/repos/builtin/packages/xcmiscproto/package.py
index 312b144e9b..8594976049 100644
--- a/var/spack/repos/builtin/packages/xcmiscproto/package.py
+++ b/var/spack/repos/builtin/packages/xcmiscproto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xcmsdb/package.py b/var/spack/repos/builtin/packages/xcmsdb/package.py
index 98c8711766..ec9c9549e1 100644
--- a/var/spack/repos/builtin/packages/xcmsdb/package.py
+++ b/var/spack/repos/builtin/packages/xcmsdb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xcompmgr/package.py b/var/spack/repos/builtin/packages/xcompmgr/package.py
index c2574230fa..20f1e857ca 100644
--- a/var/spack/repos/builtin/packages/xcompmgr/package.py
+++ b/var/spack/repos/builtin/packages/xcompmgr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xconsole/package.py b/var/spack/repos/builtin/packages/xconsole/package.py
index 1e20f7d5f4..628be26d8a 100644
--- a/var/spack/repos/builtin/packages/xconsole/package.py
+++ b/var/spack/repos/builtin/packages/xconsole/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xcursor-themes/package.py b/var/spack/repos/builtin/packages/xcursor-themes/package.py
index f5767be36c..e9b723b5bb 100644
--- a/var/spack/repos/builtin/packages/xcursor-themes/package.py
+++ b/var/spack/repos/builtin/packages/xcursor-themes/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xcursorgen/package.py b/var/spack/repos/builtin/packages/xcursorgen/package.py
index e9c1d9a499..1836d64dde 100644
--- a/var/spack/repos/builtin/packages/xcursorgen/package.py
+++ b/var/spack/repos/builtin/packages/xcursorgen/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xdbedizzy/package.py b/var/spack/repos/builtin/packages/xdbedizzy/package.py
index 3928dbb781..cc7227e261 100644
--- a/var/spack/repos/builtin/packages/xdbedizzy/package.py
+++ b/var/spack/repos/builtin/packages/xdbedizzy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xdelta/package.py b/var/spack/repos/builtin/packages/xdelta/package.py
index 43adf75c72..3d22858868 100644
--- a/var/spack/repos/builtin/packages/xdelta/package.py
+++ b/var/spack/repos/builtin/packages/xdelta/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xditview/package.py b/var/spack/repos/builtin/packages/xditview/package.py
index 2d45fe2a24..82e834b02a 100644
--- a/var/spack/repos/builtin/packages/xditview/package.py
+++ b/var/spack/repos/builtin/packages/xditview/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xdm/package.py b/var/spack/repos/builtin/packages/xdm/package.py
index d68445c02d..434788ca61 100644
--- a/var/spack/repos/builtin/packages/xdm/package.py
+++ b/var/spack/repos/builtin/packages/xdm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xdmf3/package.py b/var/spack/repos/builtin/packages/xdmf3/package.py
index 33c9e802b9..b4ff900c36 100644
--- a/var/spack/repos/builtin/packages/xdmf3/package.py
+++ b/var/spack/repos/builtin/packages/xdmf3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xdotool/package.py b/var/spack/repos/builtin/packages/xdotool/package.py
index da918c32a7..539c332cd1 100644
--- a/var/spack/repos/builtin/packages/xdotool/package.py
+++ b/var/spack/repos/builtin/packages/xdotool/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xdpyinfo/package.py b/var/spack/repos/builtin/packages/xdpyinfo/package.py
index 6b16fed4e2..df91bfc3bf 100644
--- a/var/spack/repos/builtin/packages/xdpyinfo/package.py
+++ b/var/spack/repos/builtin/packages/xdpyinfo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -24,9 +24,9 @@ class Xdpyinfo(AutotoolsPackage, XorgPackage):
depends_on('libxtst')
depends_on('libxcb')
- depends_on('xproto@7.0.22:', type='build')
- depends_on('recordproto', type='build')
- depends_on('inputproto', type='build')
- depends_on('fixesproto', type='build')
+ depends_on('xproto@7.0.22:')
+ depends_on('recordproto')
+ depends_on('inputproto')
+ depends_on('fixesproto')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xdriinfo/package.py b/var/spack/repos/builtin/packages/xdriinfo/package.py
index ce44860d61..0c64b34b7d 100644
--- a/var/spack/repos/builtin/packages/xdriinfo/package.py
+++ b/var/spack/repos/builtin/packages/xdriinfo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -22,6 +22,6 @@ class Xdriinfo(AutotoolsPackage, XorgPackage):
depends_on('libxfixes')
depends_on('pcre')
- depends_on('glproto', type='build')
+ depends_on('glproto')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xedit/package.py b/var/spack/repos/builtin/packages/xedit/package.py
index be32863f04..967d144675 100644
--- a/var/spack/repos/builtin/packages/xedit/package.py
+++ b/var/spack/repos/builtin/packages/xedit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xerces-c/package.py b/var/spack/repos/builtin/packages/xerces-c/package.py
index d24ef904de..b1dbccefcf 100644
--- a/var/spack/repos/builtin/packages/xerces-c/package.py
+++ b/var/spack/repos/builtin/packages/xerces-c/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xeus/package.py b/var/spack/repos/builtin/packages/xeus/package.py
index 756a130aa4..43ae7d598b 100644
--- a/var/spack/repos/builtin/packages/xeus/package.py
+++ b/var/spack/repos/builtin/packages/xeus/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -29,7 +29,7 @@ class Xeus(CMakePackage):
depends_on('xtl@0.4.0:')
depends_on('nlohmann-json@3.2.0', when='@develop,0.15.0:')
depends_on('nlohmann-json@3.1.1', when='@0.14.1')
- depends_on('libuuid')
+ depends_on('uuid')
# finds cryptopp not built with cmake, removes c++17 attribute
# in check_cxx_source_compiles
diff --git a/var/spack/repos/builtin/packages/xev/package.py b/var/spack/repos/builtin/packages/xev/package.py
index 462efcf883..842ccde5d0 100644
--- a/var/spack/repos/builtin/packages/xev/package.py
+++ b/var/spack/repos/builtin/packages/xev/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -23,6 +23,6 @@ class Xev(AutotoolsPackage, XorgPackage):
depends_on('libxrandr@1.2:')
depends_on('libx11')
- depends_on('xproto@7.0.17:', type='build')
+ depends_on('xproto@7.0.17:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xextproto/package.py b/var/spack/repos/builtin/packages/xextproto/package.py
index e0a187d2d2..cdf299f51f 100644
--- a/var/spack/repos/builtin/packages/xextproto/package.py
+++ b/var/spack/repos/builtin/packages/xextproto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xeyes/package.py b/var/spack/repos/builtin/packages/xeyes/package.py
index 0d7e94fb28..abf84807bb 100644
--- a/var/spack/repos/builtin/packages/xeyes/package.py
+++ b/var/spack/repos/builtin/packages/xeyes/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xf86bigfontproto/package.py b/var/spack/repos/builtin/packages/xf86bigfontproto/package.py
index c1dff58458..547f95da5e 100644
--- a/var/spack/repos/builtin/packages/xf86bigfontproto/package.py
+++ b/var/spack/repos/builtin/packages/xf86bigfontproto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xf86dga/package.py b/var/spack/repos/builtin/packages/xf86dga/package.py
index 1d2ba4f5c0..ad5c89a766 100644
--- a/var/spack/repos/builtin/packages/xf86dga/package.py
+++ b/var/spack/repos/builtin/packages/xf86dga/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xf86dgaproto/package.py b/var/spack/repos/builtin/packages/xf86dgaproto/package.py
index 18c1b7d205..afac3a85ec 100644
--- a/var/spack/repos/builtin/packages/xf86dgaproto/package.py
+++ b/var/spack/repos/builtin/packages/xf86dgaproto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xf86driproto/package.py b/var/spack/repos/builtin/packages/xf86driproto/package.py
index 45124af03a..0bf1681588 100644
--- a/var/spack/repos/builtin/packages/xf86driproto/package.py
+++ b/var/spack/repos/builtin/packages/xf86driproto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xf86miscproto/package.py b/var/spack/repos/builtin/packages/xf86miscproto/package.py
index da62b39064..0f3b1934c4 100644
--- a/var/spack/repos/builtin/packages/xf86miscproto/package.py
+++ b/var/spack/repos/builtin/packages/xf86miscproto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xf86rushproto/package.py b/var/spack/repos/builtin/packages/xf86rushproto/package.py
index 5ace6998b1..2b34016963 100644
--- a/var/spack/repos/builtin/packages/xf86rushproto/package.py
+++ b/var/spack/repos/builtin/packages/xf86rushproto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xf86vidmodeproto/package.py b/var/spack/repos/builtin/packages/xf86vidmodeproto/package.py
index 74c0fc06bd..0e9d56b642 100644
--- a/var/spack/repos/builtin/packages/xf86vidmodeproto/package.py
+++ b/var/spack/repos/builtin/packages/xf86vidmodeproto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xfd/package.py b/var/spack/repos/builtin/packages/xfd/package.py
index 3760f44ae9..1d1c0e60f2 100644
--- a/var/spack/repos/builtin/packages/xfd/package.py
+++ b/var/spack/repos/builtin/packages/xfd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -24,7 +24,7 @@ class Xfd(AutotoolsPackage, XorgPackage):
depends_on('libxmu')
depends_on('libxt')
- depends_on('xproto@7.0.17:', type='build')
+ depends_on('xproto@7.0.17:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xfindproxy/package.py b/var/spack/repos/builtin/packages/xfindproxy/package.py
index 68b4847a39..f40a1d334a 100644
--- a/var/spack/repos/builtin/packages/xfindproxy/package.py
+++ b/var/spack/repos/builtin/packages/xfindproxy/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -22,7 +22,7 @@ class Xfindproxy(AutotoolsPackage, XorgPackage):
depends_on('libice')
depends_on('libxt')
- depends_on('xproto', type='build')
- depends_on('xproxymanagementprotocol', type='build')
+ depends_on('xproto')
+ depends_on('xproxymanagementprotocol')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xfontsel/package.py b/var/spack/repos/builtin/packages/xfontsel/package.py
index 758631f82b..472d598dda 100644
--- a/var/spack/repos/builtin/packages/xfontsel/package.py
+++ b/var/spack/repos/builtin/packages/xfontsel/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xforms/package.py b/var/spack/repos/builtin/packages/xforms/package.py
new file mode 100644
index 0000000000..74faa5aa22
--- /dev/null
+++ b/var/spack/repos/builtin/packages/xforms/package.py
@@ -0,0 +1,26 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Xforms(AutotoolsPackage):
+ """This is the Free Software distribution of the XForms Library, a
+ graphical user interface toolkit for X Window Systems."""
+
+ homepage = "http://www.nongnu.org/xforms/"
+ url = "http://download.savannah.gnu.org/releases/xforms/xforms-1.0.91.tar.gz"
+
+ version('1.2.4', sha256='78cc6b07071bbeaa1f906e0a22d5e9980e48f8913577bc082d661afe5cb75696')
+ version('1.2.3', sha256='7989b39598c769820ad451ad91e5cb0de29946940c8240aac94ca8238c2def61')
+ version('1.0.91', sha256='88684237c77489bcb1fbc9a794621a2919aa800e1c0a6d83d679b97980e3441d')
+
+ depends_on('libx11', type='link')
+ depends_on('libxpm', type='link')
+ depends_on('jpeg', type='link')
+
+ def configure_args(self):
+ args = ['--enable-static']
+ return args
diff --git a/var/spack/repos/builtin/packages/xfs/package.py b/var/spack/repos/builtin/packages/xfs/package.py
index ead61d320b..a7e7b13fca 100644
--- a/var/spack/repos/builtin/packages/xfs/package.py
+++ b/var/spack/repos/builtin/packages/xfs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,8 +17,8 @@ class Xfs(AutotoolsPackage, XorgPackage):
depends_on('libxfont@1.4.5:')
depends_on('font-util')
- depends_on('xproto@7.0.17:', type='build')
- depends_on('fontsproto', type='build')
- depends_on('xtrans', type='build')
+ depends_on('xproto@7.0.17:')
+ depends_on('fontsproto')
+ depends_on('xtrans')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xfsdump/package.py b/var/spack/repos/builtin/packages/xfsdump/package.py
new file mode 100644
index 0000000000..412036d0d7
--- /dev/null
+++ b/var/spack/repos/builtin/packages/xfsdump/package.py
@@ -0,0 +1,45 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Xfsdump(MakefilePackage):
+ """XFS Dump Tools."""
+
+ homepage = "http://oss.sgi.com/projects/xfs/"
+ url = "https://github.com/pcacjr/xfsdump/archive/v3.1.6.tar.gz"
+
+ version('3.1.6', sha256='bbf659758107cad9b41cf3001df121e6428485b341109a1f1a952fd477a7010b')
+ version('3.1.5', sha256='ba5bb91413ccb5a0eaffaa84f242baa08520a09f7b990b28bbd0d33a4390f7b6')
+ version('3.1.4', sha256='a75d5c7dabd3dd4184008efcfd30d0c96b6ab318edaad9659ce180dfb9652b01')
+
+ depends_on('gettext')
+ depends_on('autoconf', type='build')
+ depends_on('automake', type='build')
+ depends_on('libtool', type='build')
+ depends_on('m4', type='build')
+ depends_on('util-linux')
+ depends_on('attr')
+ depends_on('xfsprogs@:4.20.0')
+
+ def setup_build_environment(self, env):
+ env.append_flags('LDFLAGS', '-lintl')
+
+ def build(self, spec, prefix):
+ make('prefix={0}'.format(self.prefix),
+ 'MSGFMT={0}'.format(self.spec['gettext'].prefix.bin.msgfmt),
+ 'MSGMERGE={0}'.format(self.spec['gettext'].prefix.bin.msgmerge),
+ 'XGETTEXT={0}'.format(self.spec['gettext'].prefix.bin.xgettext))
+
+ def install(self, spec, prefix):
+ make('prefix={0}'.format(self.prefix),
+ 'MSGFMT={0}'.format(self.spec['gettext'].prefix.bin.msgfmt),
+ 'MSGMERGE={0}'.format(self.spec['gettext'].prefix.bin.msgmerge),
+ 'XGETTEXT={0}'.format(self.spec['gettext'].prefix.bin.xgettext),
+ 'install')
+
+ def setup_run_environment(self, env):
+ env.prepend_path('PATH', self.prefix.sbin)
diff --git a/var/spack/repos/builtin/packages/xfsinfo/package.py b/var/spack/repos/builtin/packages/xfsinfo/package.py
index 72235c2c98..d85373a34b 100644
--- a/var/spack/repos/builtin/packages/xfsinfo/package.py
+++ b/var/spack/repos/builtin/packages/xfsinfo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -20,6 +20,6 @@ class Xfsinfo(AutotoolsPackage, XorgPackage):
depends_on('libfs')
- depends_on('xproto@7.0.17:', type='build')
+ depends_on('xproto@7.0.17:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xfsprogs/package.py b/var/spack/repos/builtin/packages/xfsprogs/package.py
index 8d9b290e63..0a79482dec 100644
--- a/var/spack/repos/builtin/packages/xfsprogs/package.py
+++ b/var/spack/repos/builtin/packages/xfsprogs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,6 +19,7 @@ class Xfsprogs(AutotoolsPackage):
version('4.20.0', sha256='beafdfd080352a8c9d543491e0874d0e8809cb643a3b9d352d5feed38d77022a')
depends_on('gettext')
+ depends_on('uuid')
depends_on('util-linux')
def setup_build_environment(self, env):
diff --git a/var/spack/repos/builtin/packages/xfwp/package.py b/var/spack/repos/builtin/packages/xfwp/package.py
index 7f57aa91c4..c5ada1a220 100644
--- a/var/spack/repos/builtin/packages/xfwp/package.py
+++ b/var/spack/repos/builtin/packages/xfwp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,8 +16,8 @@ class Xfwp(AutotoolsPackage, XorgPackage):
depends_on('libice')
- depends_on('xproto', type='build')
- depends_on('xproxymanagementprotocol', type='build')
+ depends_on('xproto')
+ depends_on('xproxymanagementprotocol')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xgamma/package.py b/var/spack/repos/builtin/packages/xgamma/package.py
index c5971fccfd..07fcd6f872 100644
--- a/var/spack/repos/builtin/packages/xgamma/package.py
+++ b/var/spack/repos/builtin/packages/xgamma/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,6 +18,6 @@ class Xgamma(AutotoolsPackage, XorgPackage):
depends_on('libx11')
depends_on('libxxf86vm')
- depends_on('xproto@7.0.17:', type='build')
+ depends_on('xproto@7.0.17:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xgboost/package.py b/var/spack/repos/builtin/packages/xgboost/package.py
index 15cdbb763e..374e89fbdb 100644
--- a/var/spack/repos/builtin/packages/xgboost/package.py
+++ b/var/spack/repos/builtin/packages/xgboost/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xgc/package.py b/var/spack/repos/builtin/packages/xgc/package.py
index 9516216a38..8466e5f595 100644
--- a/var/spack/repos/builtin/packages/xgc/package.py
+++ b/var/spack/repos/builtin/packages/xgc/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xhmm/package.py b/var/spack/repos/builtin/packages/xhmm/package.py
index bff123a68a..0043311129 100644
--- a/var/spack/repos/builtin/packages/xhmm/package.py
+++ b/var/spack/repos/builtin/packages/xhmm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xhost/package.py b/var/spack/repos/builtin/packages/xhost/package.py
index 20fd613407..4ad318a273 100644
--- a/var/spack/repos/builtin/packages/xhost/package.py
+++ b/var/spack/repos/builtin/packages/xhost/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,6 +19,6 @@ class Xhost(AutotoolsPackage, XorgPackage):
depends_on('libxmu')
depends_on('libxau')
- depends_on('xproto@7.0.22:', type='build')
+ depends_on('xproto@7.0.22:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xineramaproto/package.py b/var/spack/repos/builtin/packages/xineramaproto/package.py
index 85e73cadbc..33849b3bf2 100644
--- a/var/spack/repos/builtin/packages/xineramaproto/package.py
+++ b/var/spack/repos/builtin/packages/xineramaproto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xinit/package.py b/var/spack/repos/builtin/packages/xinit/package.py
index 92536ee22a..922339532e 100644
--- a/var/spack/repos/builtin/packages/xinit/package.py
+++ b/var/spack/repos/builtin/packages/xinit/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,6 +18,6 @@ class Xinit(AutotoolsPackage, XorgPackage):
depends_on('libx11')
- depends_on('xproto@7.0.17:', type='build')
+ depends_on('xproto@7.0.17:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xinput/package.py b/var/spack/repos/builtin/packages/xinput/package.py
index 09c1263377..d26ddd5b61 100644
--- a/var/spack/repos/builtin/packages/xinput/package.py
+++ b/var/spack/repos/builtin/packages/xinput/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -20,9 +20,9 @@ class Xinput(AutotoolsPackage, XorgPackage):
depends_on('libxrandr')
depends_on('libxinerama')
- depends_on('inputproto@2.1.99.1:', type='build')
- depends_on('fixesproto', type='build')
- depends_on('randrproto', type='build')
- depends_on('xineramaproto', type='build')
+ depends_on('inputproto@2.1.99.1:')
+ depends_on('fixesproto')
+ depends_on('randrproto')
+ depends_on('xineramaproto')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xios/package.py b/var/spack/repos/builtin/packages/xios/package.py
index 2b5c6f9dae..980f7396ef 100644
--- a/var/spack/repos/builtin/packages/xios/package.py
+++ b/var/spack/repos/builtin/packages/xios/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -113,7 +113,7 @@ OASIS_LIB=""
param['LIBCXX'] = '-lstdc++'
if any(map(spec.satisfies,
- ('%gcc', '%intel', '%apple-clang', '%clang'))):
+ ('%gcc', '%intel', '%apple-clang', '%clang', '%fj'))):
text = r"""
%CCOMPILER {MPICXX}
%FCOMPILER {MPIFC}
diff --git a/var/spack/repos/builtin/packages/xkbcomp/package.py b/var/spack/repos/builtin/packages/xkbcomp/package.py
index ef994a8cac..ae1480ba5a 100644
--- a/var/spack/repos/builtin/packages/xkbcomp/package.py
+++ b/var/spack/repos/builtin/packages/xkbcomp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -22,7 +22,7 @@ class Xkbcomp(AutotoolsPackage, XorgPackage):
depends_on('libx11')
depends_on('libxkbfile')
- depends_on('xproto@7.0.17:', type='build')
+ depends_on('xproto@7.0.17:')
depends_on('bison', type='build')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xkbdata/package.py b/var/spack/repos/builtin/packages/xkbdata/package.py
index 980e65a6b5..a0722dc996 100644
--- a/var/spack/repos/builtin/packages/xkbdata/package.py
+++ b/var/spack/repos/builtin/packages/xkbdata/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xkbevd/package.py b/var/spack/repos/builtin/packages/xkbevd/package.py
index 16cc0a7f60..2ed9670bae 100644
--- a/var/spack/repos/builtin/packages/xkbevd/package.py
+++ b/var/spack/repos/builtin/packages/xkbevd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xkbprint/package.py b/var/spack/repos/builtin/packages/xkbprint/package.py
index 207f56cea4..bfaaad82b7 100644
--- a/var/spack/repos/builtin/packages/xkbprint/package.py
+++ b/var/spack/repos/builtin/packages/xkbprint/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,6 +18,6 @@ class Xkbprint(AutotoolsPackage, XorgPackage):
depends_on('libxkbfile')
depends_on('libx11')
- depends_on('xproto@7.0.17:', type='build')
+ depends_on('xproto@7.0.17:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xkbutils/package.py b/var/spack/repos/builtin/packages/xkbutils/package.py
index dad36cbdc1..686a72e837 100644
--- a/var/spack/repos/builtin/packages/xkbutils/package.py
+++ b/var/spack/repos/builtin/packages/xkbutils/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,7 +19,7 @@ class Xkbutils(AutotoolsPackage, XorgPackage):
depends_on('libxt')
depends_on('libx11')
- depends_on('xproto@7.0.17:', type='build')
- depends_on('inputproto', type='build')
+ depends_on('xproto@7.0.17:')
+ depends_on('inputproto')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xkeyboard-config/package.py b/var/spack/repos/builtin/packages/xkeyboard-config/package.py
index 4db99a63b4..f8622e7067 100644
--- a/var/spack/repos/builtin/packages/xkeyboard-config/package.py
+++ b/var/spack/repos/builtin/packages/xkeyboard-config/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -21,7 +21,7 @@ class XkeyboardConfig(AutotoolsPackage, XorgPackage):
depends_on('libxslt', type='build')
depends_on('pkgconfig', type='build')
depends_on('intltool@0.30:', type='build')
- depends_on('xproto@7.0.20:', type='build')
+ depends_on('xproto@7.0.20:')
# TODO: missing dependencies
# xgettext
diff --git a/var/spack/repos/builtin/packages/xkill/package.py b/var/spack/repos/builtin/packages/xkill/package.py
index 4a80023038..fa87924552 100644
--- a/var/spack/repos/builtin/packages/xkill/package.py
+++ b/var/spack/repos/builtin/packages/xkill/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -19,6 +19,6 @@ class Xkill(AutotoolsPackage, XorgPackage):
depends_on('libx11')
depends_on('libxmu')
- depends_on('xproto@7.0.22:', type='build')
+ depends_on('xproto@7.0.22:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xlc/package.py b/var/spack/repos/builtin/packages/xlc/package.py
new file mode 100644
index 0000000000..42cf3b5888
--- /dev/null
+++ b/var/spack/repos/builtin/packages/xlc/package.py
@@ -0,0 +1,81 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+import collections
+import re
+
+import spack.compiler
+import llnl.util.tty as tty
+
+
+class Xlc(Package):
+ """IBM XL C/C++ is an advanced, high-performance compiler that can be
+ used for developing complex, computationally intensive programs, including
+ interlanguage calls with C and Fortran programs.
+ """
+
+ homepage = "https://www.ibm.com/support/knowledgecenter/SSXVZZ_16.1.1/com.ibm.compilers.linux.doc/welcome.html"
+
+ variant('r', default=True, description='The _r version of compilers')
+
+ def install(self, spec, prefix):
+ raise InstallError(
+ 'XL compilers are not installable yet, but can be '
+ 'detected on a system where they are supplied by vendor'
+ )
+
+ executables = [r'xlc', r'xlC', r'xlc\+\+']
+
+ @classmethod
+ def determine_version(cls, exe):
+ version_regex = re.compile(r'([0-9]?[0-9]\.[0-9])')
+ try:
+ output = spack.compiler.get_compiler_version_output(
+ exe, '-qversion'
+ )
+ # Exclude spurious Fortran compilers
+ if 'Fortran' in output:
+ return None
+
+ match = version_regex.search(output)
+ if match:
+ return match.group(1)
+ except spack.util.executable.ProcessError:
+ pass
+ except Exception as e:
+ tty.debug(str(e))
+
+ @classmethod
+ def determine_variants(cls, exes, version_str):
+ variants = collections.defaultdict(dict)
+ for exe in exes:
+ # Determine the variant of the spec
+ variant_str = '+r' if '_r' in exe else '~r'
+ if 'xlc++' in exe:
+ variants[variant_str]['cxx'] = exe
+ continue
+
+ if 'xlc' in exe:
+ variants[variant_str]['c'] = exe
+ continue
+
+ results = []
+ for variant_str, compilers in variants.items():
+ results.append((variant_str, {'compilers': compilers}))
+
+ return results
+
+ @property
+ def cc(self):
+ if self.spec.external:
+ return self.spec.extra_attributes['compilers']['c']
+ msg = "cannot retrieve C compiler [spec is not concrete]"
+ assert self.spec.concrete, msg
+
+ @property
+ def cxx(self):
+ if self.spec.external:
+ return self.spec.extra_attributes['compilers']['cxx']
+ msg = "cannot retrieve C compiler [spec is not concrete]"
+ assert self.spec.concrete, msg
diff --git a/var/spack/repos/builtin/packages/xlf/package.py b/var/spack/repos/builtin/packages/xlf/package.py
new file mode 100644
index 0000000000..4f5aefdd0f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/xlf/package.py
@@ -0,0 +1,69 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+import os.path
+import collections
+import re
+
+import spack.compiler
+import llnl.util.tty as tty
+
+
+class Xlf(Package):
+ """IBM XL Fortran is an advanced, high-performance compiler that can be
+ used for developing complex, computationally intensive programs, including
+ interlanguage calls with C and Fortran programs.
+ """
+
+ homepage = "https://www.ibm.com/support/knowledgecenter/SSXVZZ_16.1.1/com.ibm.compilers.linux.doc/welcome.html"
+
+ variant('r', default=True, description='The _r version of compilers')
+
+ def install(self, spec, prefix):
+ raise InstallError(
+ 'XL compilers are not installable yet, but can be '
+ 'detected on a system where they are supplied by vendor'
+ )
+
+ executables = [r'xlf']
+
+ @classmethod
+ def determine_version(cls, exe):
+ version_regex = re.compile(r'([0-9]?[0-9]\.[0-9])')
+ try:
+ output = spack.compiler.get_compiler_version_output(
+ exe, '-qversion'
+ )
+ match = version_regex.search(output)
+ if match:
+ return match.group(1)
+ except spack.util.executable.ProcessError:
+ pass
+ except Exception as e:
+ tty.debug(e)
+
+ @classmethod
+ def determine_variants(cls, exes, version_str):
+ variants = collections.defaultdict(dict)
+ for exe in exes:
+ if os.path.basename(exe) == 'xlf':
+ variants['~r']['fortran'] = exe
+ continue
+
+ if os.path.basename(exe) == 'xlf_r':
+ variants['+r']['fortran'] = exe
+ continue
+
+ results = []
+ for variant_str, compilers in variants.items():
+ results.append((variant_str, {'compilers': compilers}))
+
+ return results
+
+ @property
+ def fortran(self):
+ if self.spec.external:
+ return self.spec.extra_attributes['compilers']['fortran']
+ msg = "cannot retrieve C compiler [spec is not concrete]"
+ assert self.spec.concrete, msg
diff --git a/var/spack/repos/builtin/packages/xload/package.py b/var/spack/repos/builtin/packages/xload/package.py
index a898bb2dd7..c4ae7501b7 100644
--- a/var/spack/repos/builtin/packages/xload/package.py
+++ b/var/spack/repos/builtin/packages/xload/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -20,6 +20,6 @@ class Xload(AutotoolsPackage, XorgPackage):
depends_on('libxt')
depends_on('libx11')
- depends_on('xproto@7.0.17:', type='build')
+ depends_on('xproto@7.0.17:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xlogo/package.py b/var/spack/repos/builtin/packages/xlogo/package.py
index 1f0b7528e4..30d741a5c2 100644
--- a/var/spack/repos/builtin/packages/xlogo/package.py
+++ b/var/spack/repos/builtin/packages/xlogo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xlsatoms/package.py b/var/spack/repos/builtin/packages/xlsatoms/package.py
index 08439aae3d..a05b863765 100644
--- a/var/spack/repos/builtin/packages/xlsatoms/package.py
+++ b/var/spack/repos/builtin/packages/xlsatoms/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xlsclients/package.py b/var/spack/repos/builtin/packages/xlsclients/package.py
index 930c628275..da8df48239 100644
--- a/var/spack/repos/builtin/packages/xlsclients/package.py
+++ b/var/spack/repos/builtin/packages/xlsclients/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xlsfonts/package.py b/var/spack/repos/builtin/packages/xlsfonts/package.py
index 5d01efe003..c0b0888ca2 100644
--- a/var/spack/repos/builtin/packages/xlsfonts/package.py
+++ b/var/spack/repos/builtin/packages/xlsfonts/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,6 +17,6 @@ class Xlsfonts(AutotoolsPackage, XorgPackage):
depends_on('libx11')
- depends_on('xproto@7.0.17:', type='build')
+ depends_on('xproto@7.0.17:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xmag/package.py b/var/spack/repos/builtin/packages/xmag/package.py
index fcda514cbb..6e802b5c71 100644
--- a/var/spack/repos/builtin/packages/xmag/package.py
+++ b/var/spack/repos/builtin/packages/xmag/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xman/package.py b/var/spack/repos/builtin/packages/xman/package.py
index 4c963ec69c..d70099ed04 100644
--- a/var/spack/repos/builtin/packages/xman/package.py
+++ b/var/spack/repos/builtin/packages/xman/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,6 +18,6 @@ class Xman(AutotoolsPackage, XorgPackage):
depends_on('libxaw')
depends_on('libxt')
- depends_on('xproto@7.0.17:', type='build')
+ depends_on('xproto@7.0.17:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xmessage/package.py b/var/spack/repos/builtin/packages/xmessage/package.py
index f810f03c25..9d75655349 100644
--- a/var/spack/repos/builtin/packages/xmessage/package.py
+++ b/var/spack/repos/builtin/packages/xmessage/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xmh/package.py b/var/spack/repos/builtin/packages/xmh/package.py
index c88e29d193..2c3ea1d8cb 100644
--- a/var/spack/repos/builtin/packages/xmh/package.py
+++ b/var/spack/repos/builtin/packages/xmh/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -21,6 +21,6 @@ class Xmh(AutotoolsPackage, XorgPackage):
depends_on('libxt')
depends_on('libx11')
- depends_on('xbitmaps@1.1.0:', type='build')
+ depends_on('xbitmaps@1.1.0:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xmlf90/package.py b/var/spack/repos/builtin/packages/xmlf90/package.py
index ff2a2a622b..63abdfa453 100644
--- a/var/spack/repos/builtin/packages/xmlf90/package.py
+++ b/var/spack/repos/builtin/packages/xmlf90/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xmlrpc-c/package.py b/var/spack/repos/builtin/packages/xmlrpc-c/package.py
index 758be25f76..d990e7b086 100644
--- a/var/spack/repos/builtin/packages/xmlrpc-c/package.py
+++ b/var/spack/repos/builtin/packages/xmlrpc-c/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xmlto/package.py b/var/spack/repos/builtin/packages/xmlto/package.py
index e7dc54f598..ef82b5b254 100644
--- a/var/spack/repos/builtin/packages/xmlto/package.py
+++ b/var/spack/repos/builtin/packages/xmlto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xmodmap/package.py b/var/spack/repos/builtin/packages/xmodmap/package.py
index bfffca335a..4f986b24b9 100644
--- a/var/spack/repos/builtin/packages/xmodmap/package.py
+++ b/var/spack/repos/builtin/packages/xmodmap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -20,6 +20,6 @@ class Xmodmap(AutotoolsPackage, XorgPackage):
depends_on('libx11')
- depends_on('xproto@7.0.25:', type='build')
+ depends_on('xproto@7.0.25:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xmore/package.py b/var/spack/repos/builtin/packages/xmore/package.py
index b6b4d6c360..20d3aa0625 100644
--- a/var/spack/repos/builtin/packages/xmore/package.py
+++ b/var/spack/repos/builtin/packages/xmore/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xorg-cf-files/package.py b/var/spack/repos/builtin/packages/xorg-cf-files/package.py
index 1ac58c5b09..48c3e6eaac 100644
--- a/var/spack/repos/builtin/packages/xorg-cf-files/package.py
+++ b/var/spack/repos/builtin/packages/xorg-cf-files/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xorg-docs/package.py b/var/spack/repos/builtin/packages/xorg-docs/package.py
index cdded0a96f..9f87d923bb 100644
--- a/var/spack/repos/builtin/packages/xorg-docs/package.py
+++ b/var/spack/repos/builtin/packages/xorg-docs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xorg-gtest/package.py b/var/spack/repos/builtin/packages/xorg-gtest/package.py
index 1d7bb7bcbe..909177d9c1 100644
--- a/var/spack/repos/builtin/packages/xorg-gtest/package.py
+++ b/var/spack/repos/builtin/packages/xorg-gtest/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xorg-server/package.py b/var/spack/repos/builtin/packages/xorg-server/package.py
index 079b9cd129..2f942c4ed2 100644
--- a/var/spack/repos/builtin/packages/xorg-server/package.py
+++ b/var/spack/repos/builtin/packages/xorg-server/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -21,9 +21,9 @@ class XorgServer(AutotoolsPackage, XorgPackage):
depends_on('libdrm@2.3.0:')
depends_on('libx11')
- depends_on('dri2proto@2.8:', type='build')
- depends_on('dri3proto@1.0:', type='build')
- depends_on('glproto@1.4.17:', type='build')
+ depends_on('dri2proto@2.8:')
+ depends_on('dri3proto@1.0:')
+ depends_on('glproto@1.4.17:')
depends_on('flex', type='build')
depends_on('bison', type='build')
diff --git a/var/spack/repos/builtin/packages/xorg-sgml-doctools/package.py b/var/spack/repos/builtin/packages/xorg-sgml-doctools/package.py
index 9b57524b47..29ed4812da 100644
--- a/var/spack/repos/builtin/packages/xorg-sgml-doctools/package.py
+++ b/var/spack/repos/builtin/packages/xorg-sgml-doctools/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xphelloworld/package.py b/var/spack/repos/builtin/packages/xphelloworld/package.py
index f3e6e47be9..1038e91be2 100644
--- a/var/spack/repos/builtin/packages/xphelloworld/package.py
+++ b/var/spack/repos/builtin/packages/xphelloworld/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xplor-nih/package.py b/var/spack/repos/builtin/packages/xplor-nih/package.py
index 94ad11836a..9522d2f5de 100644
--- a/var/spack/repos/builtin/packages/xplor-nih/package.py
+++ b/var/spack/repos/builtin/packages/xplor-nih/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xplsprinters/package.py b/var/spack/repos/builtin/packages/xplsprinters/package.py
index 729ee62893..2cbe6558da 100644
--- a/var/spack/repos/builtin/packages/xplsprinters/package.py
+++ b/var/spack/repos/builtin/packages/xplsprinters/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xpmem/package.py b/var/spack/repos/builtin/packages/xpmem/package.py
index 90fa58df06..a5f56d74b0 100644
--- a/var/spack/repos/builtin/packages/xpmem/package.py
+++ b/var/spack/repos/builtin/packages/xpmem/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -25,6 +25,7 @@ class Xpmem(AutotoolsPackage):
# Versions starting 2.6.4 are neither tagged nor released in the repo
# (the choice of commits is based on the commit history of
# 'kernel/xpmem_private.h'):
+ version('2.6.5-36', commit='0d0bad4e1d07b38d53ecc8f20786bb1328c446da')
version('2.6.5', commit='4efeed9cbaabe971f3766d67cb108e2c3316d4b8')
version('2.6.4', commit='522054850e4d1479d69f50f7190d1548bf9749fd')
@@ -35,6 +36,10 @@ class Xpmem(AutotoolsPackage):
variant('kernel-module', default=True,
description='Enable building the kernel module')
+ # Added RHEL 8.3 kernel support
+ # Here 2.6.5-36 referes to 2.6.5 version and 36th commit id
+ patch('xpmem_v2.6.5-36.patch', when="@2.6.5-36", level=1)
+
depends_on('autoconf', type='build')
depends_on('automake', type='build')
depends_on('libtool', type='build')
diff --git a/var/spack/repos/builtin/packages/xpmem/xpmem_v2.6.5-36.patch b/var/spack/repos/builtin/packages/xpmem/xpmem_v2.6.5-36.patch
new file mode 100644
index 0000000000..a17fba4ad1
--- /dev/null
+++ b/var/spack/repos/builtin/packages/xpmem/xpmem_v2.6.5-36.patch
@@ -0,0 +1,15 @@
+--- xpmem/kernel/xpmem_pfn.c 2021-02-08 22:49:05.321501753 -0800
++++ xpmem.patch/kernel/xpmem_pfn.c 2021-02-08 23:30:30.875309634 -0800
+@@ -251,6 +251,12 @@
+ cpu_to_node(task_cpu(current)) != cpu_to_node(task_cpu(src_task))) {
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 3, 0)
+ saved_mask = current->cpus_mask;
++#elif LINUX_VERSION_CODE == KERNEL_VERSION(4,18, 0)
++ #ifdef RHEL_RELEASE_CODE
++ #if RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(8,3)
++ saved_mask = current->cpus_mask;
++ #endif
++ #endif
+ #else
+ saved_mask = current->cpus_allowed;
+ #endif
diff --git a/var/spack/repos/builtin/packages/xpr/package.py b/var/spack/repos/builtin/packages/xpr/package.py
index ca57b0c95b..e19849e7ce 100644
--- a/var/spack/repos/builtin/packages/xpr/package.py
+++ b/var/spack/repos/builtin/packages/xpr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,6 +18,6 @@ class Xpr(AutotoolsPackage, XorgPackage):
depends_on('libxmu')
depends_on('libx11')
- depends_on('xproto@7.0.17:', type='build')
+ depends_on('xproto@7.0.17:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xprehashprinterlist/package.py b/var/spack/repos/builtin/packages/xprehashprinterlist/package.py
index 2f03d06f40..afb2c1005a 100644
--- a/var/spack/repos/builtin/packages/xprehashprinterlist/package.py
+++ b/var/spack/repos/builtin/packages/xprehashprinterlist/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xprop/package.py b/var/spack/repos/builtin/packages/xprop/package.py
index a0d11ae17f..3bae624efc 100644
--- a/var/spack/repos/builtin/packages/xprop/package.py
+++ b/var/spack/repos/builtin/packages/xprop/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,6 +17,6 @@ class Xprop(AutotoolsPackage, XorgPackage):
depends_on('libx11')
- depends_on('xproto@7.0.17:', type='build')
+ depends_on('xproto@7.0.17:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xproto/package.py b/var/spack/repos/builtin/packages/xproto/package.py
index 7414ba1f5e..d1e27975e8 100644
--- a/var/spack/repos/builtin/packages/xproto/package.py
+++ b/var/spack/repos/builtin/packages/xproto/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xproxymanagementprotocol/package.py b/var/spack/repos/builtin/packages/xproxymanagementprotocol/package.py
index cc9b421887..0c590a5b96 100644
--- a/var/spack/repos/builtin/packages/xproxymanagementprotocol/package.py
+++ b/var/spack/repos/builtin/packages/xproxymanagementprotocol/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xqilla/package.py b/var/spack/repos/builtin/packages/xqilla/package.py
index 645edc19e5..dcf2789c89 100644
--- a/var/spack/repos/builtin/packages/xqilla/package.py
+++ b/var/spack/repos/builtin/packages/xqilla/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xrandr/package.py b/var/spack/repos/builtin/packages/xrandr/package.py
index 544e05d173..50b2d1d52d 100644
--- a/var/spack/repos/builtin/packages/xrandr/package.py
+++ b/var/spack/repos/builtin/packages/xrandr/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -20,6 +20,6 @@ class Xrandr(AutotoolsPackage, XorgPackage):
depends_on('libx11')
depends_on('randrproto')
- depends_on('xproto@7.0.17:', type='build')
+ depends_on('xproto@7.0.17:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xrdb/package.py b/var/spack/repos/builtin/packages/xrdb/package.py
index 3455f33740..2e19b83f3a 100644
--- a/var/spack/repos/builtin/packages/xrdb/package.py
+++ b/var/spack/repos/builtin/packages/xrdb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,6 +17,6 @@ class Xrdb(AutotoolsPackage, XorgPackage):
depends_on('libxmu')
depends_on('libx11')
- depends_on('xproto@7.0.17:', type='build')
+ depends_on('xproto@7.0.17:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xrefresh/package.py b/var/spack/repos/builtin/packages/xrefresh/package.py
index fa6e4ec074..b359e08d47 100644
--- a/var/spack/repos/builtin/packages/xrefresh/package.py
+++ b/var/spack/repos/builtin/packages/xrefresh/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,6 +16,6 @@ class Xrefresh(AutotoolsPackage, XorgPackage):
depends_on('libx11')
- depends_on('xproto@7.0.17:', type='build')
+ depends_on('xproto@7.0.17:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xrootd/package.py b/var/spack/repos/builtin/packages/xrootd/package.py
index 70292848d6..7a4bc09f47 100644
--- a/var/spack/repos/builtin/packages/xrootd/package.py
+++ b/var/spack/repos/builtin/packages/xrootd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -13,8 +13,10 @@ class Xrootd(CMakePackage):
homepage = "http://xrootd.org"
url = "http://xrootd.org/download/v5.0.1/xrootd-5.0.1.tar.gz"
+ version('5.0.3', sha256='be40a1897d6c1f153d3e23c39fe96e45063bfafc3cc073db88a1a9531db79ac5')
version('5.0.1', sha256='ff4462b0b61db4cc01dda0e26abdd78e43649ee7ac5e90f7a05b74328ff5ac83')
- version('4.12.3', sha256='6f2ca1accc8d49d605706bb556777c753860bf46d845b1ee11393a5cb5987f15', preferred=True)
+ version('4.12.6', sha256='1a9056ab7aeeaafa586ea77e442960c71d233c9ba60c7f9db9262c1410954ac4')
+ version('4.12.3', sha256='6f2ca1accc8d49d605706bb556777c753860bf46d845b1ee11393a5cb5987f15')
version('4.12.2', sha256='29f7bc3ea51b9d5d310eabd177152245d4160223325933c67f938ed5120f67bb')
version('4.12.1', sha256='7350d9196a26d17719b839fd242849e3995692fda25f242e67ac6ec907218d13')
version('4.12.0', sha256='69ef4732256d9a88127de4bfdf96bbf73348e0c70ce1d756264871a0ffadd2fc')
@@ -56,7 +58,7 @@ class Xrootd(CMakePackage):
depends_on('bzip2')
depends_on('cmake@2.6:', type='build')
depends_on('libxml2', when='+http')
- depends_on('libuuid', when="@4.11.0:")
+ depends_on('uuid', when="@4.11.0:")
depends_on('openssl')
depends_on('python', when='+python')
depends_on('readline', when='+readline')
diff --git a/var/spack/repos/builtin/packages/xrx/package.py b/var/spack/repos/builtin/packages/xrx/package.py
index 5abc2911eb..606f6bdc8b 100644
--- a/var/spack/repos/builtin/packages/xrx/package.py
+++ b/var/spack/repos/builtin/packages/xrx/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -26,7 +26,7 @@ class Xrx(AutotoolsPackage, XorgPackage):
depends_on('libice')
depends_on('libxaw')
- depends_on('xtrans', type='build')
- depends_on('xproxymanagementprotocol', type='build')
+ depends_on('xtrans')
+ depends_on('xproxymanagementprotocol')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xsbench/package.py b/var/spack/repos/builtin/packages/xsbench/package.py
index 3b2215553d..da4e7263be 100644
--- a/var/spack/repos/builtin/packages/xsbench/package.py
+++ b/var/spack/repos/builtin/packages/xsbench/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -46,8 +46,10 @@ class Xsbench(MakefilePackage):
if '+mpi' in self.spec:
targets.append('CC={0}'.format(self.spec['mpi'].mpicc))
+ targets.append('MPI=yes')
else:
- targets.append('CC={0}'.format(self.compiler.cxx))
+ targets.append('CC={0}'.format(self.compiler.cc))
+ targets.append('MPI=no')
if '+openmp' in self.spec:
cflags += ' ' + self.compiler.openmp_flag
diff --git a/var/spack/repos/builtin/packages/xscope/package.py b/var/spack/repos/builtin/packages/xscope/package.py
index 27d108ab6e..700cf3fa8e 100644
--- a/var/spack/repos/builtin/packages/xscope/package.py
+++ b/var/spack/repos/builtin/packages/xscope/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,7 +14,7 @@ class Xscope(AutotoolsPackage, XorgPackage):
version('1.4.1', sha256='f99558a64e828cd2c352091ed362ad2ef42b1c55ef5c01cbf782be9735bb6de3')
- depends_on('xproto@7.0.17:', type='build')
- depends_on('xtrans', type='build')
+ depends_on('xproto@7.0.17:')
+ depends_on('xtrans')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xsd/package.py b/var/spack/repos/builtin/packages/xsd/package.py
index 17127eb784..0de8b0830c 100644
--- a/var/spack/repos/builtin/packages/xsd/package.py
+++ b/var/spack/repos/builtin/packages/xsd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xsdk-examples/package.py b/var/spack/repos/builtin/packages/xsdk-examples/package.py
index 418651ec72..335fcc1c9b 100644
--- a/var/spack/repos/builtin/packages/xsdk-examples/package.py
+++ b/var/spack/repos/builtin/packages/xsdk-examples/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xsdk/package.py b/var/spack/repos/builtin/packages/xsdk/package.py
index e99952c655..bd0103cff2 100644
--- a/var/spack/repos/builtin/packages/xsdk/package.py
+++ b/var/spack/repos/builtin/packages/xsdk/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -32,6 +32,7 @@ class Xsdk(BundlePackage):
variant('omega-h', default=True, description='Enable omega-h package build')
variant('strumpack', default=True, description='Enable strumpack package build')
variant('dealii', default=True, description='Enable dealii package build')
+ variant('alquimia', default=True, description='Enable alquimia package build')
variant('phist', default=True, description='Enable phist package build')
variant('ginkgo', default=True, description='Enable ginkgo package build')
variant('libensemble', default=True, description='Enable py-libensemble package build')
@@ -61,7 +62,7 @@ class Xsdk(BundlePackage):
depends_on('superlu-dist@5.2.2', when='@0.3.0')
depends_on('superlu-dist@xsdk-0.2.0', when='@xsdk-0.2.0')
- depends_on('trilinos@develop+hypre+superlu-dist+metis+hdf5~mumps+boost~suite-sparse+tpetra+nox+ifpack2+zoltan2+amesos2~exodus+dtk+intrepid2+shards gotype=int',
+ depends_on('trilinos@develop+hypre+superlu-dist+metis+hdf5~mumps+boost~suite-sparse+tpetra+nox+ifpack2+zoltan2+amesos2~exodus~dtk+intrepid2+shards+stratimikos gotype=int cxxstd=14',
when='@develop +trilinos')
depends_on('trilinos@13.0.1+hypre+superlu-dist+metis+hdf5~mumps+boost~suite-sparse+tpetra+nox+ifpack2+zoltan2+amesos2~exodus~dtk+intrepid2+shards gotype=int',
when='@0.6.0 +trilinos')
@@ -74,6 +75,7 @@ class Xsdk(BundlePackage):
depends_on('trilinos@xsdk-0.2.0+hypre+superlu-dist+metis+hdf5~mumps+boost~suite-sparse~tpetra~ifpack2~zoltan2~amesos2~exodus',
when='@xsdk-0.2.0 +trilinos')
+ depends_on('datatransferkit@master', when='@develop +trilinos +datatransferkit')
depends_on('datatransferkit@3.1-rc2', when='@0.6.0 +trilinos +datatransferkit')
depends_on('petsc +trilinos', when='+trilinos')
@@ -94,7 +96,7 @@ class Xsdk(BundlePackage):
depends_on('dealii +trilinos~adol-c', when='+trilinos +dealii')
depends_on('dealii ~trilinos', when='~trilinos +dealii')
- depends_on('dealii@develop~assimp~python~doc~gmsh+petsc+slepc+mpi~int64+hdf5~netcdf+metis~sundials~ginkgo~symengine', when='@develop +dealii')
+ depends_on('dealii@master~assimp~python~doc~gmsh+petsc+slepc+mpi~int64+hdf5~netcdf+metis~sundials~ginkgo~symengine~nanoflann', when='@develop +dealii')
depends_on('dealii@9.2.0~assimp~python~doc~gmsh+petsc+slepc+mpi~int64+hdf5~netcdf+metis~sundials~ginkgo~symengine', when='@0.6.0 +dealii')
depends_on('dealii@9.1.1~assimp~python~doc~gmsh+petsc+slepc+mpi~int64+hdf5~netcdf+metis~sundials~ginkgo~symengine', when='@0.5.0 +dealii')
depends_on('dealii@9.0.1~assimp~python~doc~gmsh+petsc~slepc+mpi~int64+hdf5~netcdf+metis~ginkgo~symengine', when='@0.4.0 +dealii')
@@ -106,12 +108,12 @@ class Xsdk(BundlePackage):
depends_on('pflotran@xsdk-0.3.0', when='@0.3.0')
depends_on('pflotran@xsdk-0.2.0', when='@xsdk-0.2.0')
- depends_on('alquimia@develop', when='@develop')
- depends_on('alquimia@xsdk-0.6.0', when='@0.6.0')
- depends_on('alquimia@xsdk-0.5.0', when='@0.5.0')
- depends_on('alquimia@xsdk-0.4.0', when='@0.4.0')
- depends_on('alquimia@xsdk-0.3.0', when='@0.3.0')
- depends_on('alquimia@xsdk-0.2.0', when='@xsdk-0.2.0')
+ depends_on('alquimia@develop', when='@develop +alquimia')
+ depends_on('alquimia@xsdk-0.6.0', when='@0.6.0 +alquimia')
+ depends_on('alquimia@xsdk-0.5.0', when='@0.5.0 +alquimia ')
+ depends_on('alquimia@xsdk-0.4.0', when='@0.4.0 +alquimia')
+ depends_on('alquimia@xsdk-0.3.0', when='@0.3.0 +alquimia')
+ depends_on('alquimia@xsdk-0.2.0', when='@xsdk-0.2.0 +alquimia')
depends_on('sundials +cuda', when='+cuda @0.6.0:')
depends_on('sundials +trilinos', when='+trilinos @0.6.0:')
@@ -141,25 +143,25 @@ class Xsdk(BundlePackage):
depends_on('amrex@18.10.1', when='@0.4.0 %intel')
depends_on('amrex@18.10.1', when='@0.4.0 %gcc')
- depends_on('slepc@develop', when='@develop')
+ depends_on('slepc@master', when='@develop')
depends_on('slepc@3.14.0', when='@0.6.0')
depends_on('slepc@3.12.0', when='@0.5.0')
depends_on('slepc@3.10.1', when='@0.4.0')
depends_on('omega-h +trilinos', when='+trilinos +omega-h')
depends_on('omega-h ~trilinos', when='~trilinos +omega-h')
- depends_on('omega-h@develop', when='@develop +omega-h')
+ depends_on('omega-h@main', when='@develop +omega-h')
depends_on('omega-h@9.32.5', when='@0.6.0 +omega-h')
depends_on('omega-h@9.29.0', when='@0.5.0 +omega-h')
depends_on('omega-h@9.19.1', when='@0.4.0 +omega-h')
- depends_on('strumpack ~cuda', when='~cuda @0.6.0:')
- depends_on('strumpack@master', when='@develop +strumpack')
- depends_on('strumpack@5.0.0', when='@0.6.0 +strumpack')
- depends_on('strumpack@3.3.0', when='@0.5.0 +strumpack')
- depends_on('strumpack@3.1.1', when='@0.4.0 +strumpack')
+ depends_on('strumpack ~cuda', when='~cuda @0.6.0: +strumpack')
+ depends_on('strumpack@master~slate', when='@develop +strumpack')
+ depends_on('strumpack@5.0.0~slate', when='@0.6.0 +strumpack')
+ depends_on('strumpack@3.3.0~slate', when='@0.5.0 +strumpack')
+ depends_on('strumpack@3.1.1~slate', when='@0.4.0 +strumpack')
- depends_on('pumi@develop', when='@develop')
+ depends_on('pumi@master', when='@develop')
depends_on('pumi@2.2.5', when='@0.6.0')
depends_on('pumi@2.2.1', when='@0.5.0')
depends_on('pumi@2.2.0', when='@0.4.0')
@@ -182,7 +184,7 @@ class Xsdk(BundlePackage):
depends_on('phist kernel_lib=tpetra', when='+trilinos +phist')
depends_on('phist kernel_lib=petsc', when='~trilinos +phist')
- depends_on('phist@develop ~fortran ~scamac ~host', when='@develop +phist')
+ depends_on('phist@develop ~fortran ~scamac ~openmp ~host ~int64', when='@develop +phist')
depends_on('phist@1.9.3 ~fortran ~scamac ~openmp ~host ~int64', when='@0.6.0 +phist')
depends_on('phist@1.8.0 ~fortran ~scamac ~openmp ~host ~int64', when='@0.5.0 +phist')
depends_on('phist@1.7.5 ~fortran ~scamac ~openmp ~host ~int64', when='@0.4.0 +phist')
@@ -195,7 +197,9 @@ class Xsdk(BundlePackage):
depends_on('ginkgo@1.1.0 ~openmp+cuda', when='@0.5.0 +cuda +ginkgo')
depends_on('py-libensemble@develop+petsc4py', type='run', when='@develop +libensemble')
+ depends_on('py-petsc4py@develop', type='run', when='@develop +libensemble')
depends_on('py-libensemble@0.7.1+petsc4py', type='run', when='@0.6.0 +libensemble')
+ depends_on('py-petsc4py@3.14.0', type='run', when='@0.6.0 +libensemble')
depends_on('py-libensemble@0.5.2+petsc4py', type='run', when='@0.5.0 +libensemble')
depends_on('py-petsc4py@3.12.0', type='run', when='@0.5.0 +libensemble')
@@ -213,8 +217,10 @@ class Xsdk(BundlePackage):
depends_on('heffte@develop+fftw', when='@develop +heffte')
depends_on('heffte@2.0.0+fftw', when='@0.6.0 +heffte')
- depends_on('slate@2020.10.00 ~cuda', when='~cuda +slate %gcc@6.0:')
- depends_on('slate@2020.10.00 +cuda', when='+cuda +slate %gcc@6.0:')
+ depends_on('slate@master ~cuda', when='@develop ~cuda +slate %gcc@6.0:')
+ depends_on('slate@master +cuda', when='@develop +cuda +slate %gcc@6.0:')
+ depends_on('slate@2020.10.00 ~cuda', when='@0.6.0 ~cuda +slate %gcc@6.0:')
+ depends_on('slate@2020.10.00 +cuda', when='@0.6.0 +cuda +slate %gcc@6.0:')
# xSDKTrilinos depends on the version of Trilinos built with
# +tpetra which is turned off for faster xSDK
diff --git a/var/spack/repos/builtin/packages/xsdktrilinos/package.py b/var/spack/repos/builtin/packages/xsdktrilinos/package.py
index effb4404b0..c1290a6616 100644
--- a/var/spack/repos/builtin/packages/xsdktrilinos/package.py
+++ b/var/spack/repos/builtin/packages/xsdktrilinos/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xset/package.py b/var/spack/repos/builtin/packages/xset/package.py
index b113bb7cef..cf929d2362 100644
--- a/var/spack/repos/builtin/packages/xset/package.py
+++ b/var/spack/repos/builtin/packages/xset/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,6 +17,6 @@ class Xset(AutotoolsPackage, XorgPackage):
depends_on('libxmu')
depends_on('libx11')
- depends_on('xproto@7.0.17:', type='build')
+ depends_on('xproto@7.0.17:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xsetmode/package.py b/var/spack/repos/builtin/packages/xsetmode/package.py
index d2da4f613b..e8fac09fd4 100644
--- a/var/spack/repos/builtin/packages/xsetmode/package.py
+++ b/var/spack/repos/builtin/packages/xsetmode/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xsetpointer/package.py b/var/spack/repos/builtin/packages/xsetpointer/package.py
index ba400c0dc6..e14c53e81a 100644
--- a/var/spack/repos/builtin/packages/xsetpointer/package.py
+++ b/var/spack/repos/builtin/packages/xsetpointer/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -16,7 +16,7 @@ class Xsetpointer(AutotoolsPackage, XorgPackage):
depends_on('libxi', type='link')
depends_on('libx11', type='link')
- depends_on('inputproto@1.4:', type='link')
+ depends_on('inputproto@1.4:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xsetroot/package.py b/var/spack/repos/builtin/packages/xsetroot/package.py
index 60fc05f912..5e71a05dd2 100644
--- a/var/spack/repos/builtin/packages/xsetroot/package.py
+++ b/var/spack/repos/builtin/packages/xsetroot/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,7 +18,7 @@ class Xsetroot(AutotoolsPackage, XorgPackage):
depends_on('libx11')
depends_on('libxcursor')
- depends_on('xbitmaps', type='build')
- depends_on('xproto@7.0.17:', type='build')
+ depends_on('xbitmaps')
+ depends_on('xproto@7.0.17:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xsimd/package.py b/var/spack/repos/builtin/packages/xsimd/package.py
index fcb9d90a11..a4ba667ede 100644
--- a/var/spack/repos/builtin/packages/xsimd/package.py
+++ b/var/spack/repos/builtin/packages/xsimd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xsm/package.py b/var/spack/repos/builtin/packages/xsm/package.py
index 312223216f..01fb4fdc43 100644
--- a/var/spack/repos/builtin/packages/xsm/package.py
+++ b/var/spack/repos/builtin/packages/xsm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xstdcmap/package.py b/var/spack/repos/builtin/packages/xstdcmap/package.py
index 23cab1c4ec..5c73f58814 100644
--- a/var/spack/repos/builtin/packages/xstdcmap/package.py
+++ b/var/spack/repos/builtin/packages/xstdcmap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -20,6 +20,6 @@ class Xstdcmap(AutotoolsPackage, XorgPackage):
depends_on('libxmu')
depends_on('libx11')
- depends_on('xproto@7.0.17:', type='build')
+ depends_on('xproto@7.0.17:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xtensor-python/package.py b/var/spack/repos/builtin/packages/xtensor-python/package.py
index 781e8307bc..16d558af14 100644
--- a/var/spack/repos/builtin/packages/xtensor-python/package.py
+++ b/var/spack/repos/builtin/packages/xtensor-python/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xtensor/package.py b/var/spack/repos/builtin/packages/xtensor/package.py
index 740f17d4e3..597b57c005 100644
--- a/var/spack/repos/builtin/packages/xtensor/package.py
+++ b/var/spack/repos/builtin/packages/xtensor/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xterm/package.py b/var/spack/repos/builtin/packages/xterm/package.py
index e72da49f0c..c293920e24 100644
--- a/var/spack/repos/builtin/packages/xterm/package.py
+++ b/var/spack/repos/builtin/packages/xterm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -38,3 +38,4 @@ class Xterm(AutotoolsPackage):
depends_on('bzip2')
depends_on('pkgconfig', type='build')
+ depends_on('termcap', type='link')
diff --git a/var/spack/repos/builtin/packages/xtl/package.py b/var/spack/repos/builtin/packages/xtl/package.py
index 15aa530a82..d3131b93ca 100644
--- a/var/spack/repos/builtin/packages/xtl/package.py
+++ b/var/spack/repos/builtin/packages/xtl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xtrans/package.py b/var/spack/repos/builtin/packages/xtrans/package.py
index ff7f902661..b084adf78f 100644
--- a/var/spack/repos/builtin/packages/xtrans/package.py
+++ b/var/spack/repos/builtin/packages/xtrans/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xtrap/package.py b/var/spack/repos/builtin/packages/xtrap/package.py
index ff6a074b52..0ae0275d18 100644
--- a/var/spack/repos/builtin/packages/xtrap/package.py
+++ b/var/spack/repos/builtin/packages/xtrap/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xts/package.py b/var/spack/repos/builtin/packages/xts/package.py
index 8c44ffbedf..667a695c93 100644
--- a/var/spack/repos/builtin/packages/xts/package.py
+++ b/var/spack/repos/builtin/packages/xts/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -23,11 +23,11 @@ class Xts(AutotoolsPackage, XorgPackage):
depends_on('libxt', type='link')
depends_on('libxmu', type='link')
depends_on('libxaw', type='link')
- depends_on('inputproto', type='link')
- depends_on('recordproto', type='link')
- depends_on('fixesproto', type='link')
+ depends_on('inputproto')
+ depends_on('recordproto')
+ depends_on('fixesproto')
- depends_on('xtrans', type='build')
+ depends_on('xtrans')
depends_on('bdftopcf', type='build')
depends_on('mkfontdir', type='build')
depends_on('perl', type='build')
diff --git a/var/spack/repos/builtin/packages/xvidtune/package.py b/var/spack/repos/builtin/packages/xvidtune/package.py
index 3d3daa996d..3349783507 100644
--- a/var/spack/repos/builtin/packages/xvidtune/package.py
+++ b/var/spack/repos/builtin/packages/xvidtune/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xvinfo/package.py b/var/spack/repos/builtin/packages/xvinfo/package.py
index 4be8a63fb0..87d202e448 100644
--- a/var/spack/repos/builtin/packages/xvinfo/package.py
+++ b/var/spack/repos/builtin/packages/xvinfo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,6 +18,6 @@ class Xvinfo(AutotoolsPackage, XorgPackage):
depends_on('libxv')
depends_on('libx11')
- depends_on('xproto@7.0.25:', type='build')
+ depends_on('xproto@7.0.25:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xwd/package.py b/var/spack/repos/builtin/packages/xwd/package.py
index de2c43c852..4e0b0afd84 100644
--- a/var/spack/repos/builtin/packages/xwd/package.py
+++ b/var/spack/repos/builtin/packages/xwd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,6 +17,6 @@ class Xwd(AutotoolsPackage, XorgPackage):
depends_on('libx11')
depends_on('libxkbfile')
- depends_on('xproto@7.0.17:', type='build')
+ depends_on('xproto@7.0.17:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xwininfo/package.py b/var/spack/repos/builtin/packages/xwininfo/package.py
index 58c25cf4be..6632d16f16 100644
--- a/var/spack/repos/builtin/packages/xwininfo/package.py
+++ b/var/spack/repos/builtin/packages/xwininfo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -18,6 +18,6 @@ class Xwininfo(AutotoolsPackage, XorgPackage):
depends_on('libxcb@1.6:')
depends_on('libx11')
- depends_on('xproto@7.0.17:', type='build')
+ depends_on('xproto@7.0.17:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xwud/package.py b/var/spack/repos/builtin/packages/xwud/package.py
index 15dc45a848..f0ef776f80 100644
--- a/var/spack/repos/builtin/packages/xwud/package.py
+++ b/var/spack/repos/builtin/packages/xwud/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -17,6 +17,6 @@ class Xwud(AutotoolsPackage, XorgPackage):
depends_on('libx11')
- depends_on('xproto@7.0.17:', type='build')
+ depends_on('xproto@7.0.17:')
depends_on('pkgconfig', type='build')
depends_on('util-macros', type='build')
diff --git a/var/spack/repos/builtin/packages/xxhash/package.py b/var/spack/repos/builtin/packages/xxhash/package.py
index 3ef3a16f24..d6549f1e47 100644
--- a/var/spack/repos/builtin/packages/xxhash/package.py
+++ b/var/spack/repos/builtin/packages/xxhash/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/xz/package.py b/var/spack/repos/builtin/packages/xz/package.py
index 6f8a24848c..1162d21e65 100644
--- a/var/spack/repos/builtin/packages/xz/package.py
+++ b/var/spack/repos/builtin/packages/xz/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/yajl/package.py b/var/spack/repos/builtin/packages/yajl/package.py
index ff7ed9ffef..da39126f39 100644
--- a/var/spack/repos/builtin/packages/yajl/package.py
+++ b/var/spack/repos/builtin/packages/yajl/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/yambo/package.py b/var/spack/repos/builtin/packages/yambo/package.py
index df6d585557..9ca26bb7d2 100644
--- a/var/spack/repos/builtin/packages/yambo/package.py
+++ b/var/spack/repos/builtin/packages/yambo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/yaml-cpp/package.py b/var/spack/repos/builtin/packages/yaml-cpp/package.py
index bbaef0f329..da351f3c5a 100644
--- a/var/spack/repos/builtin/packages/yaml-cpp/package.py
+++ b/var/spack/repos/builtin/packages/yaml-cpp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/yara/package.py b/var/spack/repos/builtin/packages/yara/package.py
index 92fe48da0d..6d2fa15e46 100644
--- a/var/spack/repos/builtin/packages/yara/package.py
+++ b/var/spack/repos/builtin/packages/yara/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/yarn/package.py b/var/spack/repos/builtin/packages/yarn/package.py
index c9a5299a10..65f275e338 100644
--- a/var/spack/repos/builtin/packages/yarn/package.py
+++ b/var/spack/repos/builtin/packages/yarn/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/yasm/package.py b/var/spack/repos/builtin/packages/yasm/package.py
index c6f757b453..6ad054229b 100644
--- a/var/spack/repos/builtin/packages/yasm/package.py
+++ b/var/spack/repos/builtin/packages/yasm/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/ycsb/package.py b/var/spack/repos/builtin/packages/ycsb/package.py
index dafe8311cc..1fa2ab79ae 100644
--- a/var/spack/repos/builtin/packages/ycsb/package.py
+++ b/var/spack/repos/builtin/packages/ycsb/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/yoda/package.py b/var/spack/repos/builtin/packages/yoda/package.py
index 4da424c2a8..c007e73ca3 100644
--- a/var/spack/repos/builtin/packages/yoda/package.py
+++ b/var/spack/repos/builtin/packages/yoda/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -12,6 +12,10 @@ class Yoda(AutotoolsPackage):
homepage = "https://yoda.hepforge.org/"
url = "https://yoda.hepforge.org/downloads/?f=YODA-1.8.3.tar.bz2"
+ tags = ['hep']
+
+ version('1.8.5', sha256='4c2e6b8571fc176271515a309b45687a2981af1b07ff3f00d0b035a597aa32fd')
+ version('1.8.4', sha256='9d24a41c9b7cc6eb14cab0a48f65d2fca7ec9d794afe0922ceb158d0153c150e')
version('1.8.3', sha256='d9dd0ea5e0f630cdf4893c09a40c78bd44455777c2125385ecc26fa9a2acba8a')
version('1.8.2', sha256='89558c11cf9b88b0899713e5b4bf8781fdcecc480ff155985ebbf148c6d80bdb')
version('1.8.1', sha256='51472e12065b9469f13906f0dc609e036d0c1dbd2a8e445e7d654aba73660112')
@@ -59,7 +63,10 @@ class Yoda(AutotoolsPackage):
depends_on('python', type=('build', 'run'))
depends_on('py-future', type=('build', 'run'))
depends_on('boost', when='@:1.6.0', type=('build', 'run'))
- depends_on('py-cython', type='build')
+ depends_on('py-cython@0.18:', type='build', when='@:1.4.0')
+ depends_on('py-cython@0.20:', type='build', when='@1.4.0:1.6.5')
+ depends_on('py-cython@0.23.5:', type='build', when='@1.6.5:1.8.0')
+ depends_on('py-cython@0.24:', type='build', when='@1.8.0:')
depends_on('py-matplotlib', when='@1.3.0:', type=('build', 'run'))
depends_on('root', type=('build', 'run'), when='+root')
diff --git a/var/spack/repos/builtin/packages/yorick/package.py b/var/spack/repos/builtin/packages/yorick/package.py
index eb3e2a3698..97da8f1633 100644
--- a/var/spack/repos/builtin/packages/yorick/package.py
+++ b/var/spack/repos/builtin/packages/yorick/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/z-checker/package.py b/var/spack/repos/builtin/packages/z-checker/package.py
index 215cfbff66..991e8e18de 100644
--- a/var/spack/repos/builtin/packages/z-checker/package.py
+++ b/var/spack/repos/builtin/packages/z-checker/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/z3/package.py b/var/spack/repos/builtin/packages/z3/package.py
index 462316cbdf..18dd1838b4 100644
--- a/var/spack/repos/builtin/packages/z3/package.py
+++ b/var/spack/repos/builtin/packages/z3/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -14,6 +14,8 @@ class Z3(MakefilePackage):
homepage = "https://github.com/Z3Prover/z3/wiki"
url = "https://github.com/Z3Prover/z3/archive/z3-4.5.0.tar.gz"
+ version('4.8.9', sha256='c9fd04b9b33be74fffaac3ec2bc2c320d1a4cc32e395203c55126b12a14ff3f4')
+ version('4.8.8', sha256='6962facdcdea287c5eeb1583debe33ee23043144d0e5308344e6a8ee4503bcff')
version('4.8.7', sha256='8c1c49a1eccf5d8b952dadadba3552b0eac67482b8a29eaad62aa7343a0732c3')
version('4.5.0', sha256='aeae1d239c5e06ac183be7dd853775b84698db1265cb2258e5918a28372d4a0c')
version('4.4.1', sha256='50967cca12c5c6e1612d0ccf8b6ebf5f99840a783d6cf5216336a2b59c37c0ce')
diff --git a/var/spack/repos/builtin/packages/zabbix/package.py b/var/spack/repos/builtin/packages/zabbix/package.py
index 6c1f96f362..70d247b2d3 100644
--- a/var/spack/repos/builtin/packages/zabbix/package.py
+++ b/var/spack/repos/builtin/packages/zabbix/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/zfp/package.py b/var/spack/repos/builtin/packages/zfp/package.py
index 44a659c193..a065af9281 100644
--- a/var/spack/repos/builtin/packages/zfp/package.py
+++ b/var/spack/repos/builtin/packages/zfp/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -6,26 +6,48 @@
from spack import *
-class Zfp(CMakePackage):
- """zfp is an open source C/C++ library for high-fidelity, high-throughput
- lossy compression of floating-point and integer multi-dimensional
+class Zfp(CMakePackage, CudaPackage):
+ """zfp is a compressed number format for multidimensional floating-point
+ and integer arrays.
+
+ zfp provides compressed-array classes that support high throughput
+ read and write random access to individual array elements. zfp also
+ supports serial and parallel (OpenMP and CUDA) compression of whole
arrays.
"""
- homepage = 'http://computing.llnl.gov/projects/floating-point-compression'
- url = 'http://computing.llnl.gov/projects/floating-point-compression/download/zfp-0.5.2.tar.gz'
+ # Package info
+ homepage = 'https://zfp.llnl.gov'
+ url = 'https://github.com/LLNL/zfp/releases/download/0.5.5/zfp-0.5.5.tar.gz'
+ git = 'https://github.com/LLNL/zfp.git'
+ maintainers = ['lindstro', 'GarrettDMorrison']
+ # Versions
+ version('develop', branch='develop')
version('0.5.5', sha256='fdf7b948bab1f4e5dccfe2c2048fd98c24e417ad8fb8a51ed3463d04147393c5')
- version('0.5.4', sha256='768a05ed9bf10e54ac306f90b81dd17b0e7b13782f01823d7da4394fd2da8adb')
- version('0.5.2', sha256='89e718edb966422b5898b5c37b1b0a781d4effacb511520558469e3ff7f65d7c')
- version('0.5.1', sha256='867c04cf965f1c70d9725b396c6e1b5d29db55b0d69b8e87a995aaebd221b830')
+ version('0.5.4', sha256='746e17aaa401c67dcffd273d6e6f95c76adfbbd5cf523dcad56d09e9d3b71196')
+ version('0.5.3', sha256='a5d2f8e5b47a7c92e2a5775b82cbfb3a76c87d0ac83d25abb4ac10ea75a2856e')
+ version('0.5.2', sha256='9c738ec525cc76b4bb80b2b3f7c9f07507eeda3a341470e5942cda97efbe9a4f', url='https://github.com/LLNL/zfp/archive/0.5.2/zfp-0.5.2.tar.gz')
+ version('0.5.1', sha256='f255dd1708c9ae4dc6a56dd2614e8b47a10d833c87fd349cbd47545a19c2b779', url='https://github.com/LLNL/zfp/archive/0.5.1/zfp-0.5.1.tar.gz')
+
+ # Build targets
+ # TODO: variant('utilities', default=True, description='Build utilities')
+ variant('shared', default=True, description='Build shared libraries')
+
+ # Language bindings
+ variant('c', default=False, description='Enable C bindings')
+ variant('python', default=False, description='Enable Python bindings')
+ variant('fortran', default=False, description='Enable Fortran bindings')
- variant('bsws',
- default='64',
- values=('8', '16', '32', '64'),
- multi=False,
- description='Bit stream word size: use smaller for finer '
- 'rate granularity. Use 8 for H5Z-ZFP filter.')
+ # Execution policies
+ variant('openmp', default=False, description='Enable OpenMP execution')
+ variant('cuda', default=False, description='Enable CUDA execution')
+
+ # Advanced options
+ variant('bsws', default='64', values=('8', '16', '32', '64'), multi=False,
+ description='Bit stream word size: '
+ 'use smaller for finer rate granularity. '
+ 'Use 8 for H5Z-ZFP filter.')
variant('strided', default=False,
description='Enable strided access for progressive zfp streams')
variant('aligned', default=False,
@@ -36,32 +58,47 @@ class Zfp(CMakePackage):
description='Use a faster but more collision prone hash function')
variant('profile', default=False,
description='Count cache misses')
- variant('shared', default=True,
- description='Build shared versions of the library')
+ # Conflicts
+ conflicts('+c', when='@:0.5.3',
+ msg='+c requires zfp 0.5.4 or later')
+ conflicts('+python', when='@:0.5.4',
+ msg='+python requires zfp 0.5.5 or later')
+ conflicts('+fortran', when='@:0.5.4',
+ msg='+fortran requires zfp 0.5.5 or later')
+ conflicts('+openmp', when='@:0.5.2',
+ msg='+openmp requires zfp 0.5.3 or later')
+ conflicts('+cuda', when='@:0.5.3',
+ msg='+cuda requires zfp 0.5.4 or later')
+ conflicts('+fasthash', when='@:0.5.1',
+ msg='+fasthash requires zfp 0.5.2 or later')
+ conflicts('+profile', when='@:0.5.1',
+ msg='+profile requires zfp 0.5.2 or later')
+
+ # Dependencies
depends_on('cmake@3.4.0:', type='build')
+ depends_on('cuda@7:', type=('build', 'test', 'run'), when='+cuda')
+ depends_on('py-numpy', type=('build', 'test', 'run'), when='+python')
+ depends_on('py-cython', type='build', when='+python')
def cmake_args(self):
spec = self.spec
+ # CMake options
args = [
- '-DZFP_BIT_STREAM_WORD_SIZE:STRING={0}'.format(
- spec.variants['bsws'].value),
- '-DZFP_WITH_BIT_STREAM_STRIDED:BOOL={0}'.format(
- 'ON' if '+strided' in spec else 'OFF'),
- '-DZFP_WITH_ALIGNED_ALLOC:BOOL={0}'.format(
- 'ON' if '+aligned' in spec else 'OFF'),
- '-DZFP_WITH_CACHE_TWOWAY:BOOL={0}'.format(
- 'ON' if '+twoway' in spec else 'OFF'),
- '-DBUILD_SHARED_LIBS:BOOL={0}'.format(
- 'ON' if '+shared' in spec else 'OFF'),
- '-DBUILD_TESTING:BOOL={0}'.format(
- 'ON' if self.run_tests else 'OFF')
+ # TODO: self.define_from_variant('BUILD_UTILITIES', 'utilities'),
+ self.define('BUILD_TESTING', self.run_tests),
+ self.define_from_variant('BUILD_SHARED_LIBS', 'shared'),
+ self.define_from_variant('BUILD_CFP', 'c'),
+ self.define_from_variant('BUILD_ZFPY', 'python'),
+ self.define_from_variant('BUILD_ZFORP', 'fortran'),
+ self.define('ZFP_BIT_STREAM_WORD_SIZE',
+ spec.variants['bsws'].value),
+ self.define_from_variant('ZFP_WITH_BIT_STREAM_STRIDED', 'strided'),
+ self.define_from_variant('ZFP_WITH_ALIGNED_ALLOC', 'aligned'),
+ self.define_from_variant('ZFP_WITH_CACHE_TWOWAY', 'twoway'),
+ self.define_from_variant('ZFP_WITH_CACHE_FAST_HASH', 'fasthash'),
+ self.define_from_variant('ZFP_WITH_CACHE_PROFILE', 'profile')
]
- if spec.version >= Version('0.5.2'):
- args.append('-DZFP_WITH_CACHE_FAST_HASH:BOOL={0}'.format(
- 'ON' if '+fasthash' in spec else 'OFF'))
- args.append('-DZFP_WITH_CACHE_PROFILE:BOOL={0}'.format(
- 'ON' if '+profile' in spec else 'OFF'))
return args
diff --git a/var/spack/repos/builtin/packages/zfs/package.py b/var/spack/repos/builtin/packages/zfs/package.py
index 819dc2d755..d8fe42004e 100644
--- a/var/spack/repos/builtin/packages/zfs/package.py
+++ b/var/spack/repos/builtin/packages/zfs/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -20,7 +20,7 @@ class Zfs(AutotoolsPackage):
version('0.8.1', sha256='0af79fde44b7b8ecb94d5166ce2e4fff7409c20ed874c2d759db92909e6c2799')
version('0.8.0', sha256='0fd92e87f4b9df9686f18e2ac707c16b2eeaf00f682d41c20ea519f3a0fe4705')
- depends_on('libuuid')
+ depends_on('uuid')
depends_on('libtirpc')
depends_on('util-linux')
diff --git a/var/spack/repos/builtin/packages/zip/package.py b/var/spack/repos/builtin/packages/zip/package.py
index a7ae19af67..5e4e951235 100644
--- a/var/spack/repos/builtin/packages/zip/package.py
+++ b/var/spack/repos/builtin/packages/zip/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/zipkin/package.py b/var/spack/repos/builtin/packages/zipkin/package.py
index 8a584c4ece..f13a24eb74 100644
--- a/var/spack/repos/builtin/packages/zipkin/package.py
+++ b/var/spack/repos/builtin/packages/zipkin/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/zlib/package.py b/var/spack/repos/builtin/packages/zlib/package.py
index 0d30f2d67c..1b084383c6 100644
--- a/var/spack/repos/builtin/packages/zlib/package.py
+++ b/var/spack/repos/builtin/packages/zlib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/zoltan/package.py b/var/spack/repos/builtin/packages/zoltan/package.py
index 6c91069e59..b77419338f 100644
--- a/var/spack/repos/builtin/packages/zoltan/package.py
+++ b/var/spack/repos/builtin/packages/zoltan/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
@@ -20,12 +20,9 @@ class Zoltan(AutotoolsPackage):
"""
homepage = "http://www.cs.sandia.gov/zoltan"
- url = "http://www.cs.sandia.gov/~kddevin/Zoltan_Distributions/zoltan_distrib_v3.83.tar.gz"
+ url = "https://github.com/sandialabs/Zoltan/archive/v3.83.tar.gz"
- version('3.83', sha256='d0d78fdeab7a385c87d3666b8a8dc748994ff04d3fd846872a4845e12d79c1bb')
- version('3.8', sha256='5bdd46548fb9c73b225bbcf3d206c558c318cb292f0b19645e536315d14aafb7')
- version('3.6', sha256='d2cb41e5fb72ca564b24bc5f21d82d9f7992f2c977bc82b243a01a8a8ee4eb9c')
- version('3.3', sha256='8a90585674ab1bbd011dab29f778b9816519712c78d0aab4cdde9c68f02b30dc')
+ version('3.83', sha256='17320a9f08e47f30f6f3846a74d15bfea6f3c1b937ca93c0ab759ca02c40e56c')
patch('notparallel.patch', when='@3.8')
@@ -39,6 +36,7 @@ class Zoltan(AutotoolsPackage):
depends_on('mpi', when='+mpi')
+ depends_on('parmetis@4: +int64', when='+parmetis+int64')
depends_on('parmetis@4:', when='+parmetis')
depends_on('metis+int64', when='+parmetis+int64')
depends_on('metis', when='+parmetis')
@@ -90,6 +88,10 @@ class Zoltan(AutotoolsPackage):
'-g' if '+debug' in spec else '',
]
+ config_ldflags = []
+ # PGI runtime libraries
+ if '%pgi' in spec:
+ config_ldflags.append('-pgf90libs')
if '+shared' in spec:
config_args.extend([
'RANLIB=echo',
@@ -142,7 +144,8 @@ class Zoltan(AutotoolsPackage):
config_args.extend([
'--with-cflags={0}'.format(' '.join(config_cflags)),
'--with-cxxflags={0}'.format(' '.join(config_cflags)),
- '--with-fcflags={0}'.format(' '.join(config_fcflags))
+ '--with-fcflags={0}'.format(' '.join(config_fcflags)),
+ '--with-ldflags={0}'.format(' '.join(config_ldflags))
])
return config_args
diff --git a/var/spack/repos/builtin/packages/zookeeper-benchmark/package.py b/var/spack/repos/builtin/packages/zookeeper-benchmark/package.py
index 7cb8f74068..1c1261bfb6 100644
--- a/var/spack/repos/builtin/packages/zookeeper-benchmark/package.py
+++ b/var/spack/repos/builtin/packages/zookeeper-benchmark/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/zookeeper/package.py b/var/spack/repos/builtin/packages/zookeeper/package.py
index bd4e09efd4..df0950b596 100644
--- a/var/spack/repos/builtin/packages/zookeeper/package.py
+++ b/var/spack/repos/builtin/packages/zookeeper/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/zsh/package.py b/var/spack/repos/builtin/packages/zsh/package.py
index 1288eddbad..b59fd4251e 100644
--- a/var/spack/repos/builtin/packages/zsh/package.py
+++ b/var/spack/repos/builtin/packages/zsh/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/zstd/package.py b/var/spack/repos/builtin/packages/zstd/package.py
index 9589a6ff78..8911931cbf 100644
--- a/var/spack/repos/builtin/packages/zstd/package.py
+++ b/var/spack/repos/builtin/packages/zstd/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/builtin/packages/zziplib/package.py b/var/spack/repos/builtin/packages/zziplib/package.py
index c8f96738d3..d98a57259c 100644
--- a/var/spack/repos/builtin/packages/zziplib/package.py
+++ b/var/spack/repos/builtin/packages/zziplib/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/tutorial/packages/armadillo/package.py b/var/spack/repos/tutorial/packages/armadillo/package.py
index 13fabc20b3..77be3376c1 100644
--- a/var/spack/repos/tutorial/packages/armadillo/package.py
+++ b/var/spack/repos/tutorial/packages/armadillo/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/tutorial/packages/elpa/package.py b/var/spack/repos/tutorial/packages/elpa/package.py
index 7fc10ef8fa..ad483ed0b7 100644
--- a/var/spack/repos/tutorial/packages/elpa/package.py
+++ b/var/spack/repos/tutorial/packages/elpa/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/tutorial/packages/hdf5/package.py b/var/spack/repos/tutorial/packages/hdf5/package.py
index 9b0c683013..333b0a566f 100644
--- a/var/spack/repos/tutorial/packages/hdf5/package.py
+++ b/var/spack/repos/tutorial/packages/hdf5/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/tutorial/packages/mpich/package.py b/var/spack/repos/tutorial/packages/mpich/package.py
index 0acb31c217..87c7e30d82 100644
--- a/var/spack/repos/tutorial/packages/mpich/package.py
+++ b/var/spack/repos/tutorial/packages/mpich/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
diff --git a/var/spack/repos/tutorial/packages/netlib-lapack/package.py b/var/spack/repos/tutorial/packages/netlib-lapack/package.py
index e7edd9e23a..6f1d83de13 100644
--- a/var/spack/repos/tutorial/packages/netlib-lapack/package.py
+++ b/var/spack/repos/tutorial/packages/netlib-lapack/package.py
@@ -1,4 +1,4 @@
-# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)