From 61148529b1734102fa937560847f47719bbd9bd4 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 24 Mar 2023 18:48:11 +0000 Subject: gentoo auto-resync : 24:03:2023 - 18:48:11 --- app-emacs/flycheck/flycheck-32_p20230305-r1.ebuild | 23 +++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) (limited to 'app-emacs/flycheck/flycheck-32_p20230305-r1.ebuild') diff --git a/app-emacs/flycheck/flycheck-32_p20230305-r1.ebuild b/app-emacs/flycheck/flycheck-32_p20230305-r1.ebuild index f1f18ee87b30..144233694866 100644 --- a/app-emacs/flycheck/flycheck-32_p20230305-r1.ebuild +++ b/app-emacs/flycheck/flycheck-32_p20230305-r1.ebuild @@ -7,15 +7,28 @@ NEED_EMACS="24.3" inherit edo elisp -COMMIT="5f2ef177cb21ae8b73714575802beef04abd0f5e" DESCRIPTION="Modern on-the-fly syntax checking extension for GNU Emacs" -HOMEPAGE="https://www.flycheck.org/" -SRC_URI="https://github.com/flycheck/flycheck/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-${COMMIT}" +HOMEPAGE="https://www.flycheck.org/ + https://github.com/flycheck/flycheck/" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" +else + if [[ ${PV} == *_p20230305 ]] ; then + COMMIT=5f2ef177cb21ae8b73714575802beef04abd0f5e + SRC_URI="https://github.com/${PN}/${PN}/archive/${COMMIT}.tar.gz + -> ${P}.tar.gz" + S="${WORKDIR}"/${PN}-${COMMIT} + else + SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz + -> ${P}.tar.gz" + fi + KEYWORDS="~amd64 ~arm ~ppc64" +fi LICENSE="GPL-3+" SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc64" IUSE="test" # Tests fail for now, need more investigation RESTRICT="!test? ( test ) test" -- cgit v1.2.3