dev-util/stripe-cli: drop 1.32.0

Signed-off-by: ingenarel (NeoJesus) <ingenarel_neojesus@disroot.org>
This commit is contained in:
ingenarel (NeoJesus)
2026-01-29 05:13:17 +06:00
parent eb3a507c97
commit c2220016db
2 changed files with 0 additions and 63 deletions

View File

@@ -1,4 +1,2 @@
DIST stripe-cli-1.32.0-deps.tar.xz 62321788 BLAKE2B ec6747b5ca406eab3da974768862f8567a7f54a99f420e4c4a1e5761e627ce2313a8d465f5e573a2ef696c1d3e74eca1443f4f0c12dc6848b599c1adc7aa180b SHA512 5fd0ddbfa6d2a39b08747704c9669a591e8aa3d1a91cdc14de8dc60ee1ff8eaab408949f155e0b35793091899d77a67b5ff6af8fd9b8d9116e6d5f4e79824a97
DIST stripe-cli-1.32.0.tar.gz 1984890 BLAKE2B 771bf119ecd48b332676a7ef0efcf90958fb4bece6ac2121a9252a4dc261f68723dc5d17c73c182798d793d17a0ad2dabf56526b0edaf5d3fb4e6bf557258775 SHA512 d6f4b3aabdebd498ac955c61035d566ff4caf9acd9fed059800031d132bf545daefe6d79ee8d2d1944a560b78af1b875d5d1fd9ff72c2255cef03edf4aaaa205
DIST stripe-cli-1.33.0-deps.tar.xz 61908536 BLAKE2B f58453400dee689744b100500eb2de51a2f3096b38e81dd8bd1773632464774b6025581ebc72d73a533f6246f436f582c25d5d0cf668287be24167ba0cf8563c SHA512 508b18357606cff7ae4e8b38c43e8127fde3bd2db5e500da4f04af397d1b9259e93e3aff121f9198e8a9d5fd84806b2edef06d6d5bd37f9a60a8115c4e3249ec
DIST stripe-cli-1.33.0.tar.gz 2002613 BLAKE2B e7428cb042342a10ec363e6211c7aaf1cb22b8d77a52151bc2f8bb209d64a1e92ce55d1232a5a6fe20c3312da978cc477e9c2e5930d6f5f813644d24a44e56fb SHA512 65a1e7d15f4939bdb83b41b2184cd64b3ee33b1960656f2ad47e91c19a606aeabaf69bc65b6677fd3ae5b9be1763e5b876fc6ecb50a50f68492e42130f2dec5f

View File

@@ -1,61 +0,0 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module shell-completion
MY_PN="${PN%-cli}"
DESCRIPTION="A command-line tool for Stripe"
HOMEPAGE="https://docs.stripe.com/stripe-cli"
if [[ "${PV}" == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/stripe/stripe-cli"
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+=" https://github.com/ingenarel/guru-depfiles/releases/download/${P}-deps.tar.xz/${P}-deps.tar.xz"
fi
LICENSE="Apache-2.0"
# 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"
IUSE="bash-completion zsh-completion"
BDEPEND=">=dev-lang/go-1.24.1"
src_unpack() {
if [[ "$PV" == *9999* ]];then
git-r3_src_unpack
go-module_live_vendor
else
default
fi
}
src_compile() {
CGO_ENABLED=0 ego build -o "bin/${MY_PN}" "cmd/stripe/main.go"
}
src_install() {
dobin "bin/${MY_PN}"
# disables telemetry
doenvd "$FILESDIR/99$PN"
if use bash-completion ; then
"bin/${MY_PN}" completion --shell bash
newbashcomp "${MY_PN}-completion.bash" "$MY_PN"
fi
if use zsh-completion ; then
"bin/${MY_PN}" completion --shell zsh
newzshcomp "${MY_PN}-completion.zsh" "_$MY_PN"
fi
}