Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-07-01 07:56:21

0001 from spack.package import *
0002 from spack.pkg.builtin.py_rpds_py import PyRpdsPy as BuiltinPyRpdsPy
0003 from spack.spec import Spec
0004 
0005 
0006 class PyRpdsPy(BuiltinPyRpdsPy):
0007     depends_on("rust@1.76:", type="build", when="@0.19:")
0008 
0009     def __init__(self, spec):
0010         super(PyRpdsPy, self).__init__(spec)
0011         # HACK Remove rust as a runtime dependency
0012         for _spec in ["@0.19:"]:
0013             if Spec(_spec) in PyRpdsPy.dependencies:
0014                 del PyRpdsPy.dependencies[Spec(_spec)]
0015 
0016 # instantiate at least once
0017 _pyrpdspy = PyRpdsPy(Spec("py-rpds-py"))