@@ -31,15 +31,22 @@ class Vecgeom(CMakePackage, CudaPackage):
3131 maintainers ("drbenmorgan" , "sethrj" )
3232
3333 version ("master" , branch = "master" , get_full_repo = True )
34+ version (
35+ "2.0.0" ,
36+ url = "https://gitlab.cern.ch/-/project/981/uploads/d2ae816669e324d5828c16857b307372/VecGeom-v2.0.0.tar.gz" ,
37+ sha256 = "f5fb455b2a2a5f386e171a621d0e95908ab6269803c4b186861849e8c88e8350" ,
38+ )
3439 version (
3540 "2.0.0-rc.9" ,
3641 url = "https://gitlab.cern.ch/-/project/981/uploads/4a8ba32606365d4be04455827ea32c51/VecGeom-v2.0.0-rc.9.tar.gz" ,
3742 sha256 = "cfc0cb86303c1dc475a5dde9022384e2034f789a0908feb007103c1e7cd9aa65" ,
43+ deprecated = True ,
3844 )
3945 version (
4046 "2.0.0-rc.7" ,
4147 url = "https://gitlab.cern.ch/-/project/981/uploads/f1017874e9d138165f221d4b854a39a4/VecGeom-v2.0.0-rc.7.tar.gz" ,
4248 sha256 = "f95eacd7154f7b41950161988465b5c086f80dade91dec8328085949c6f443a0" ,
49+ deprecated = True ,
4350 )
4451 version (
4552 "1.2.11" ,
@@ -64,10 +71,14 @@ class Vecgeom(CMakePackage, CudaPackage):
6471 )
6572 variant ("gdml" , default = True , description = "Support native GDML geometry descriptions" )
6673 # TODO: delete geant4/root variants since they don't affect the build
67- variant ("geant4" , default = False , description = "Support Geant4 geometry construction" )
68- variant ("root" , default = False , description = "Support ROOT geometry construction" )
74+ variant (
75+ "geant4" , default = False , when = "@:1" , description = "Support Geant4 geometry construction"
76+ )
77+ variant ("root" , default = False , when = "@:1" , description = "Support ROOT geometry construction" )
6978 variant ("shared" , default = True , description = "Build shared libraries" )
70- variant ("surface" , default = False , when = "@2:" , description = "Use surface frame representation" )
79+ variant (
80+ "surface" , default = False , when = "@2:" , description = "Support surface frame representation"
81+ )
7182
7283 depends_on ("c" , type = "build" )
7384 depends_on ("cxx" , type = "build" )
0 commit comments