spack/var/spack/repos/builtin/packages/rkt-rackunit-lib/package.py
Massimiliano Culpo 1913dc2da3
Fix performance regression with spack mirror create --all (#32005)
This PR fixes the performance regression reported in #31985 and a few
other issues found while refactoring the spack mirror create command.

Modifications:

* (Primary) Do not require concretization for
  `spack mirror create --all`
* Forbid using --versions-per-spec together with --all
* Fixed a few issues when reading specs from input file (specs were
  not concretized, command would fail when trying to mirror
  dependencies)
* Fix issue with default directory for spack mirror create not being
  canonicalized
* Add more unit tests to poke spack mirror create
* Skip externals also when mirroring environments
* Changed slightly the wording for reporting (it was mentioning
  "Successfully created" even in presence of errors)
* Fix issue with colify (was not called properly during error
  reporting)
2022-08-11 16:51:01 -07:00

23 lines
706 B
Python

# Copyright 2013-2021 Lawrence Livermore 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.package import *
class RktRackunitLib(RacketPackage):
"""RackUnit testing framework."""
git = "ssh://git@github.com/racket/rackunit.git"
maintainers = ["elfprince13"]
version("8.3", commit="683237bee2a979c7b1541092922fb51a75ea8ca9") # tag='v8.3'
depends_on("rkt-base@8.3:", type=("build", "run"), when="@8.3")
depends_on("rkt-testing-util-lib@8.3", type=("build", "run"), when="@8.3")
racket_name = "rackunit-lib"
pkgs = True
subdirectory = racket_name