commit:     b262810e02ed91e5b6ebeb019b316580f0aa2968
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 12 19:04:31 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 12 19:05:33 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b262810e

dev-util/webhook: drop 2.7.0, EAPI=7--

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-util/webhook/Manifest             |  1 -
 dev-util/webhook/webhook-2.7.0.ebuild | 64 -----------------------------------
 2 files changed, 65 deletions(-)

diff --git a/dev-util/webhook/Manifest b/dev-util/webhook/Manifest
index 42e0a70ca85b..81786bf44438 100644
--- a/dev-util/webhook/Manifest
+++ b/dev-util/webhook/Manifest
@@ -1,2 +1 @@
-DIST webhook-2.7.0.tar.gz 1652898 BLAKE2B 
e6cf049b39d7fea689060e9e1e42f6386a7a671a10cc7d3fc288ea9285dc90e674a3a4b5fcb77ac5af8a8b1bbfee0a574b2ae94f8df296b64e15578c824f8500
 SHA512 
107db4f873aa66c9e9910eb7542edf18c3bd5b3509ff03d6e6947cb162d08101f5b11855c403d6a0a27fea8da693aaa2c995799670b73693c8fe2b2f50ac1da1
 DIST webhook-2.8.1.tar.gz 1657848 BLAKE2B 
7e6dbea83614042c6dcf2e0b377933dee625bfd300e24530f0682b68945734e11e3d2d5bc34ef8b19936b3880cab7febfa39160a5eea988c4f882acf47d99cbd
 SHA512 
25edff21725ba9ac8823dbe5728234f7cd9218027e87df3e2482ef365a7dd0efe8659800233753c275f858ff87f848ff6141d09be3e0b66ff88b795680b9b635

diff --git a/dev-util/webhook/webhook-2.7.0.ebuild 
b/dev-util/webhook/webhook-2.7.0.ebuild
deleted file mode 100644
index 26bab00698ef..000000000000
--- a/dev-util/webhook/webhook-2.7.0.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit go-module
-
-DESCRIPTION="lightweight incoming webhook server to run shell commands"
-HOMEPAGE="https://github.com/adnanh/webhook/";
-
-if [[ ${PV} == *9999 ]]; then
-       inherit git-r3
-       EGIT_REPO_URI="https://github.com/adnanh/webhook/";
-else
-       SRC_URI="https://github.com/adnanh/webhook/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-       KEYWORDS="~amd64"
-       S="${WORKDIR}/webhook-${PV}"
-fi
-
-# SPDX:BSD-3-Clause is 'BSD' in Gentoo
-# SPDX:BSD-2-Clause is 'BSD-2' in Gentoo
-LICENSE="Apache-2.0 BSD-2 BSD MIT"
-SLOT="0"
-
-RDEPEND=""
-BDEPEND=">=dev-lang/go-1.13"
-
-DOCS=(
-       README.md
-       hooks.json.example
-       hooks.json.tmpl.example
-       hooks.yaml.example
-       hooks.yaml.tmpl.example
-       docs/Hook-Definition.md
-       docs/Hook-Examples.md
-       docs/Hook-Rules.md
-       docs/Referencing-Request-Values.md
-       docs/Templates.md
-       docs/Webhook-Parameters.md
-)
-
-# Do not let these leak from outside into the package
-unset GOBIN GOPATH GOCODE
-
-src_unpack() {
-       if [[ ${PV} == *9999 ]]; then
-               git-r3_src_unpack
-               go-module_live_vendor
-       else
-               go-module_src_unpack
-       fi
-}
-
-src_compile() {
-       # Golang LDFLAGS are not the same as GCC/Binutils LDFLAGS
-       unset LDFLAGS
-       # -mod=vendor is needed because the go version specified in go.mod
-       # is too low.
-       ego build -mod=vendor
-}
-
-src_install() {
-       dobin webhook
-       einstalldocs
-}

Reply via email to