From c02a52380238d36aec5a6cc8b7d5b7659cb53dc0 Mon Sep 17 00:00:00 2001 From: Kevin Chen Date: Mon, 4 Sep 2023 21:19:38 -0400 Subject: [PATCH] +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 --- projects/crates.io/versio/package.yml | 29 +++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 projects/crates.io/versio/package.yml diff --git a/projects/crates.io/versio/package.yml b/projects/crates.io/versio/package.yml new file mode 100644 index 00000000..4661b8bc --- /dev/null +++ b/projects/crates.io/versio/package.yml @@ -0,0 +1,29 @@ +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}}"