summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-01-30 21:29:45 +0100
committerMaciej Barć <xgqt@gentoo.org>2023-01-30 21:31:30 +0100
commitff7d89fb05372a559134e51f6dee5de3ab45b488 (patch)
tree3cb905e4ddc81a11feeeff36f9609ae19eff7d59 /app-emacs/emacs-bazel-mode
parentgames-util/antimicrox: drop old 3.2.5 (diff)
downloadgentoo-ff7d89fb05372a559134e51f6dee5de3ab45b488.tar.gz
gentoo-ff7d89fb05372a559134e51f6dee5de3ab45b488.tar.bz2
gentoo-ff7d89fb05372a559134e51f6dee5de3ab45b488.zip
app-emacs: H -> COMMIT
Bug: https://github.com/pkgcore/pkgcheck/issues/536 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/emacs-bazel-mode')
-rw-r--r--app-emacs/emacs-bazel-mode/emacs-bazel-mode-0_p20220707.ebuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/app-emacs/emacs-bazel-mode/emacs-bazel-mode-0_p20220707.ebuild b/app-emacs/emacs-bazel-mode/emacs-bazel-mode-0_p20220707.ebuild
index d282d5b5bf8e..bc5cca85f718 100644
--- a/app-emacs/emacs-bazel-mode/emacs-bazel-mode-0_p20220707.ebuild
+++ b/app-emacs/emacs-bazel-mode/emacs-bazel-mode-0_p20220707.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-H=8f7875998f233d248097006df224a33873bbc4f2
+[[ ${PV} == *_p20220707 ]] && COMMIT=8f7875998f233d248097006df224a33873bbc4f2
NEED_EMACS=27.1
inherit elisp
@@ -11,16 +11,17 @@ inherit elisp
DESCRIPTION="Emacs major modes for the Bazel build system support"
HOMEPAGE="https://bazel.build/
https://github.com/bazelbuild/emacs-bazel-mode/"
-SRC_URI="https://github.com/bazelbuild/${PN}/archive/${H}.tar.gz
+SRC_URI="https://github.com/bazelbuild/${PN}/archive/${COMMIT}.tar.gz
-> ${P}.tar.gz"
-S="${WORKDIR}"/${PN}-${H}
+S="${WORKDIR}"/${PN}-${COMMIT}
LICENSE="Apache-2.0"
KEYWORDS="amd64 ~x86"
SLOT="0"
-DOCS=( CONTRIBUTING.md README.md )
PATCHES=( "${FILESDIR}"/${PN}-bazel-test--directory.patch )
+
+DOCS=( CONTRIBUTING.md README.md )
SITEFILE="50${PN}-gentoo.el"
src_compile() {