commit: 5166aa524184853aeaf7ba74c26a508aa19bbd3a
Author: ingenarel (NeoJesus) <ingenarel_neojesus <AT> disroot <DOT> org>
AuthorDate: Wed Jan 28 20:58:38 2026 +0000
Commit: Saad Abdullah <ingenarelitems <AT> gmail <DOT> com>
CommitDate: Wed Jan 28 23:23:16 2026 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5166aa52
dev-util/stripe-cli: update 9999, 1.33.0
- updates copyright years
- Updates and fixes the previous LICENSE var
problem on my part is that I used LICENSES instead of LICENSE
new deplicenses were generated by a script of mine
for more info, look at bug 967017
- uses ${VAR} instead of $VAR as recommended by negril
- keep the 9999 check consistent, so it doesn't check for `9999` on one
place and `*9999*` in another place
(backticks added to explain)
Signed-off-by: ingenarel (NeoJesus) <ingenarel_neojesus <AT> disroot.org>
...i-1.33.0.ebuild => stripe-cli-1.33.0-r1.ebuild} | 17 ++++++---------
dev-util/stripe-cli/stripe-cli-9999.ebuild | 25 ++++++++++++----------
2 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/dev-util/stripe-cli/stripe-cli-1.33.0.ebuild
b/dev-util/stripe-cli/stripe-cli-1.33.0-r1.ebuild
similarity index 68%
rename from dev-util/stripe-cli/stripe-cli-1.33.0.ebuild
rename to dev-util/stripe-cli/stripe-cli-1.33.0-r1.ebuild
index 5c82f4f977..eafed1c2f1 100644
--- a/dev-util/stripe-cli/stripe-cli-1.33.0.ebuild
+++ b/dev-util/stripe-cli/stripe-cli-1.33.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2024 Gentoo Authors
+# Copyright 2024-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -20,18 +20,15 @@ else
fi
LICENSE="Apache-2.0"
+#gentoo-go-license stripe-cli-1.33.0.ebuild
+LICENSE+=" Apache-2.0 BSD-2 BSD ISC MIT MPL-2.0 Unlicense "
-# echo "# dependency licenses:"; printf 'LICENSES+=" '
-# go-licenses report ./... 2>/dev/null | awk -F ',' '{ print $NF }' | sort
--unique | tr '\n' ' '; echo '"'
-
-# dependency licenses:
-LICENSES+=" Apache-2.0 BSD-2-Clause BSD ISC MIT MPL-2.0 Unlicense "
SLOT="0"
BDEPEND=">=dev-lang/go-1.24.1"
src_unpack() {
- if [[ "$PV" == *9999* ]];then
+ if [[ "${PV}" == 9999 ]];then
git-r3_src_unpack
go-module_live_vendor
else
@@ -47,10 +44,10 @@ src_install() {
dobin "bin/${MY_PN}"
# disables telemetry
- doenvd "$FILESDIR/99$PN"
+ doenvd "${FILESDIR}/99${PN}"
"bin/${MY_PN}" completion --shell bash
- newbashcomp "${MY_PN}-completion.bash" "$MY_PN"
+ newbashcomp "${MY_PN}-completion.bash" "${MY_PN}"
"bin/${MY_PN}" completion --shell zsh
- newzshcomp "${MY_PN}-completion.zsh" "_$MY_PN"
+ newzshcomp "${MY_PN}-completion.zsh" "_${MY_PN}"
}
diff --git a/dev-util/stripe-cli/stripe-cli-9999.ebuild
b/dev-util/stripe-cli/stripe-cli-9999.ebuild
index 65aa98cb50..a0e33f6dce 100644
--- a/dev-util/stripe-cli/stripe-cli-9999.ebuild
+++ b/dev-util/stripe-cli/stripe-cli-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2024 Gentoo Authors
+# Copyright 2024-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -16,22 +16,25 @@ else
KEYWORDS="~amd64"
SRC_URI="https://github.com/stripe/${PN}/archive/refs/tags/v${PV}.tar.gz ->
${P}.tar.gz"
# possible depfiles link if used
- # SRC_URI+=""
+ SRC_URI+="
+
https://github.com/ingenarel/guru-depfiles/releases/download/${P}-deps.tar.xz/${P}-go-mod-deps.tar.xz
->
+ ${P}-deps.tar.xz
+ "
+ # you can either use -go-mod-deps or -vendor-deps for the file
+ # vendor-deps are small, but may not work for some packages/version
+ # go-mod-deps are LARGE, but will most likely always work
fi
LICENSE="Apache-2.0"
+#gentoo-go-license stripe-cli-9999.ebuild
+LICENSE+=" Apache-2.0 BSD-2 BSD ISC MIT MPL-2.0 Unlicense "
-# echo "# dependency licenses:"; printf 'LICENSES+=" '
-# go-licenses report ./... 2>/dev/null | awk -F ',' '{ print $NF }' | sort
--unique | tr '\n' ' '; echo '"'
-
-# dependency licenses:
-LICENSES+=" Apache-2.0 BSD-2-Clause BSD ISC MIT MPL-2.0 Unlicense "
SLOT="0"
BDEPEND=">=dev-lang/go-1.24.1"
src_unpack() {
- if [[ "$PV" == *9999* ]];then
+ if [[ "${PV}" == 9999 ]];then
git-r3_src_unpack
go-module_live_vendor
else
@@ -47,10 +50,10 @@ src_install() {
dobin "bin/${MY_PN}"
# disables telemetry
- doenvd "$FILESDIR/99$PN"
+ doenvd "${FILESDIR}/99${PN}"
"bin/${MY_PN}" completion --shell bash
- newbashcomp "${MY_PN}-completion.bash" "$MY_PN"
+ newbashcomp "${MY_PN}-completion.bash" "${MY_PN}"
"bin/${MY_PN}" completion --shell zsh
- newzshcomp "${MY_PN}-completion.zsh" "_$MY_PN"
+ newzshcomp "${MY_PN}-completion.zsh" "_${MY_PN}"
}