@@ -48,7 +48,7 @@ struct PkgInfo
4848 repo:: Union{String, Nothing}
4949 subdir:: Union{String, Nothing}
5050
51- # Package.toml [deprecated]:
51+ # Package.toml [tags. deprecated]:
5252 deprecated:: Union{Dict{String, Any}, Nothing}
5353
5454 # Versions.toml:
@@ -205,9 +205,10 @@ function init_package_info!(pkg::PkgEntry)
205205 repo = get (d_p, " repo" , nothing ):: Union{Nothing, String}
206206 subdir = get (d_p, " subdir" , nothing ):: Union{Nothing, String}
207207
208- # The presence of a [deprecated] table indicates the package is deprecated
208+ # The presence of a [tags. deprecated] table indicates the package is deprecated
209209 # We store the raw table to allow other tools to use the metadata
210- deprecated = get (d_p, " deprecated" , nothing ):: Union{Nothing, Dict{String, Any}}
210+ tags = get (d_p, " tags" , nothing ):: Union{Nothing, Dict{String, Any}}
211+ deprecated = tags != = nothing ? get (tags, " deprecated" , nothing ):: Union{Nothing, Dict{String, Any}} : nothing
211212
212213 # Versions.toml
213214 d_v = custom_isfile (pkg. in_memory_registry, pkg. registry_path, joinpath (pkg. path, " Versions.toml" )) ?
0 commit comments