racket packages: fix typo after multiple build systems support (#40088)
This commit is contained in:
parent
3108036533
commit
c0f1072dc7
@ -64,7 +64,7 @@ class RacketBuilder(spack.builder.Builder):
|
||||
|
||||
@property
|
||||
def subdirectory(self):
|
||||
if self.racket_name:
|
||||
if self.pkg.racket_name:
|
||||
return "pkgs/{0}".format(self.pkg.racket_name)
|
||||
return None
|
||||
|
||||
|
20
var/spack/repos/builtin/packages/rkt-racket-lib/package.py
Normal file
20
var/spack/repos/builtin/packages/rkt-racket-lib/package.py
Normal file
@ -0,0 +1,20 @@
|
||||
# Copyright 2013-2023 Lawrence Livermore 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 RktRacketLib(RacketPackage):
|
||||
"""Stub package for packages which are currently part of core
|
||||
racket installation (but which may change in the future)."""
|
||||
|
||||
git = "ssh://git@github.com/racket/racket.git"
|
||||
|
||||
maintainers = ["elfprince13"]
|
||||
|
||||
version("8.3", commit="cab83438422bfea0e4bd74bc3e8305e6517cf25f") # tag="v8.3"
|
||||
depends_on("racket@8.3", type=("build", "run"), when="@8.3")
|
||||
|
||||
racket_name = "racket-lib"
|
@ -17,3 +17,4 @@ class RktSchemeLib(RacketPackage):
|
||||
depends_on("rkt-base@8.3", type=("build", "run"), when="@8.3")
|
||||
|
||||
racket_name = "scheme-lib"
|
||||
subdirectory = None
|
||||
|
Loading…
Reference in New Issue
Block a user