HomeFreeBSD

Uses/cargo: Fix invalid WRKSRC for crates fetched from GitLab with tag

Description

Uses/cargo: Fix invalid WRKSRC for crates fetched from GitLab with tag

When using tags the archive fetched from GitLab has the
corresponding commit hash appended to the directory root too.

snui@git+https://gitlab.com/snakedye/snui.git?tag=v0.1.4\#83873f1e148a9c84471c10f166c9a945a44d3e64

would result in

WRKSRC_crate_snui= ${WRKDIR}/snui-v0.1.4

but it must be

WRKSRC_crate_snui= ${WRKDIR}/snui-v0.1.4-83873f1e148a9c84471c10f166c9a945a44d3e64

PR: 266724
Reported by: jbeich

Details

Provenance
tobikAuthored on Oct 8 2022, 12:21 PM
Parents
R11:9cf374f5ed89: graphics/py-traitsui: Update to 7.4.1
Branches
Unknown
Tags
Unknown