dev-java/coursier-bin: add 2.1.4

Signed-off-by: Florian Schmaus <flow@gentoo.org>
This commit is contained in:
Florian Schmaus 2023-05-27 12:57:31 +02:00
parent d689cea93b
commit 37dcb81b2c
No known key found for this signature in database
GPG Key ID: 2239A7E8F5852052
2 changed files with 31 additions and 0 deletions

View File

@ -1,2 +1,3 @@
DIST coursier-bin-2.1.0.gz 20682614 BLAKE2B 16209943324466bc0e07b139bb17001f4490fde41dc683f4e534290e2394f1182493a63ec55235c42f3bd2fc5bd187c78c84386db3ab97c0c8bb03400f25b3d9 SHA512 f8e9e1cc972fe433ddab325c97d927beb70af0b81c4381e7bd96e10c12e996bc2060ce82406758e48a33f12fe22c086f9c21020afb6e8e99fe8e6d693124b59f
DIST coursier-bin-2.1.2.gz 20649289 BLAKE2B 85abbb1b0cdc5ee2fadea1b6520ef07d61335adaeab0c5768bb0ba109599b2483fb0c3ceea07f705bda4b206f64aaca3850b77b3a7e4fa3ebaddc73e44072b50 SHA512 ed2729abadbb6be535a28fd124f48f2901f47d6bd141d476d87d40b32b158b7d78d561748b038eec95ef5a1c185fce91aa9cd2a03213c328d65c20b3b687b6d3
DIST coursier-bin-2.1.4.gz 20662315 BLAKE2B 33009be5bc0a8ee415bd08d5e13cace34011ab2733c5a0aff47e7e5eb4254b4e4205b0580d1df6bb6b38d66059ffab7f929fa83c50f1bd052d3c3dffffc73dd0 SHA512 9144309c437f29e7d57149b12dd5810612d7b624299c2e392d6e11aa3a15a71d33dfb131751da10345c15feaeeac3c4f1dd878777354c2d49a8c2fbb6d74da0e

View File

@ -0,0 +1,30 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
get_orig_coursier_pv() {
local orig_pv=$(ver_rs 3 -)
orig_pv=${orig_pv/rc/RC}
orig_pv=${orig_pv/pre/M}
echo "${orig_pv}"
}
DESCRIPTION="Java/Scala artifact fetching, bundling and deploying"
HOMEPAGE="https://get-coursier.io/"
SRC_URI="https://github.com/coursier/coursier/releases/download/v$(get_orig_coursier_pv)/cs-x86_64-pc-linux.gz -> ${P}.gz"
KEYWORDS="~amd64"
LICENSE="Apache-2.0"
SLOT="0"
S="${WORKDIR}"
RDEPEND=">=virtual/jre-8"
QA_FLAGS_IGNORED="usr/bin/coursier"
QA_TEXTRELS="usr/bin/coursier"
src_install() {
newbin "${P}" coursier
}