forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-java/coursier-bin: add 2.1.0_rc5
Signed-off-by: Florian Schmaus <[email protected]>
- Loading branch information
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
DIST coursier-bin-2.1.0_rc2.gz 21077153 BLAKE2B 19ff645670b3f94162672b669063491f10e4ae8aee645fe0205f4f0dc80e9380ab045c665cdca792d93f1723348c8d267b01bfabc4db5014765757417d1cdc6e SHA512 9b822f8642a10afe7933c8f7bf246aea73b42e0d6ef5db0f9e4f9edee96a31a3d00111a8e1ba2e77898135131b6158dd3be5ca5ba3bac9ca95866aef881e5b80 | ||
DIST coursier-bin-2.1.0_rc3.gz 21120545 BLAKE2B 55d4236c408b9883d49fa64ed79f269fc935171abe161c3bef8e92da396f12881c9cf7750dd8e8d5b955c390cfb29304a8406c3db702c3a477219acbf0c0b989 SHA512 1a31d7ced6c8c1137b6e330723c90e12f010a815592a4e11129c7bd5611528edc62166415937c6fa5dc92732b277bce1b971e6dee27f9b1350ac71b4b7afc290 | ||
DIST coursier-bin-2.1.0_rc5.gz 20759374 BLAKE2B 5e44db9b22a1b3febb5e815401249ed4df663efd8dbbfe8a54a05ae8fbb23a4cae6407e5845ef199098ac8f49e01138a3a2ac5c21998ae3e5addec3159093895 SHA512 5c276e13b65b2a3058a1d4010c97b59e28637c3e17e2f448fbb65dd4e97325846add95557836339d5026ee92bcba82ec5c0948a2ad8a31d7b60ce59c0c36160c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |