pantry/projects/crates.io/versio/package.yml
Kevin Chen c02a523802
+versio -- manage semantic versions based on conventional commits (#3201)
* +versio -- manage semantic versions based on conventional commits

* add gpgme dep

* gpgme ^1.13

* needs libassuan

* runtime libs

* zlib

---------

Co-authored-by: Jacob Heider <jacob@tea.xyz>
2023-09-05 03:19:38 +02:00

30 lines
573 B
YAML

distributable:
url: https://github.com/chaaz/versio/archive/refs/tags/v{{ version }}.tar.gz
strip-components: 1
provides:
- bin/versio
versions:
github: chaaz/versio
strip: /v/
dependencies:
openssl.org: ^1.1
gnupg.org/libgpg-error: 1
gnupg.org/gpgme: ^1.13
gnupg.org/libassuan: '*'
zlib.net: ^1
build:
dependencies:
rust-lang.org: '>=1.65'
rust-lang.org/cargo: '*'
freedesktop.org/pkg-config: '*'
script:
cargo install --locked --path . --root {{prefix}}
test:
script:
- test "$(versio --version)" = "versio {{version}}"