2022-11-10 17:00:04 +03:00
|
|
|
# cargo install bpb does not work because cargo does not require correct
|
|
|
|
# semantic versioning and allows yanking so the dependency graph has begun to
|
|
|
|
# fail
|
|
|
|
|
|
|
|
distributable:
|
|
|
|
url: https://github.com/withoutboats/bpb/tarball/b1ef5ca1d2dea0e2ec0b1616f087f110ea17adfa
|
|
|
|
# repo has no tags, presumably we can get the tags from crates.io, but not
|
|
|
|
# sure how to do that at this time
|
2023-05-01 20:14:59 +03:00
|
|
|
# we can find the versions here: https://github.com/rust-lang/crates.io-index/blob/master/3/b/bpb
|
|
|
|
# but converting those to a downloadable URL is a different story.
|
|
|
|
# https://crates.io/api/v1/crates/bpb/1.1.0/download is one lead, but it downloads a .crate file
|
2022-11-10 17:00:04 +03:00
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/bpb
|
|
|
|
|
|
|
|
versions:
|
|
|
|
- 1.1.0
|
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
rust-lang.org/cargo: '*'
|
|
|
|
script:
|
|
|
|
cargo install --locked --path . --root {{prefix}}
|
|
|
|
|
|
|
|
test:
|
|
|
|
bpb --help
|