summaryrefslogtreecommitdiff
path: root/app-emacs/emacs-bazel-mode/emacs-bazel-mode-0_p20220707.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-31 03:00:52 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-31 03:00:52 +0000
commit4b70b249bd1fe7302633ca0b4f7abd22dd269d02 (patch)
treec39fc6439ab9c72db6a0f070fe02312591ccc963 /app-emacs/emacs-bazel-mode/emacs-bazel-mode-0_p20220707.ebuild
parent182063dd85a03f2086258946276c8967945ffe95 (diff)
gentoo auto-resync : 31:01:2023 - 03:00:52
Diffstat (limited to 'app-emacs/emacs-bazel-mode/emacs-bazel-mode-0_p20220707.ebuild')
-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() {