From cd8715cd476284b859d2eb0488698fadc5ebd597 Mon Sep 17 00:00:00 2001 From: John Turner Date: Mon, 28 Mar 2022 22:52:45 -0400 Subject: [PATCH] app-emacs/flycheck: copied the old ebuild into this one --- app-emacs/flycheck/flycheck-32.ebuild | 40 +++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 app-emacs/flycheck/flycheck-32.ebuild diff --git a/app-emacs/flycheck/flycheck-32.ebuild b/app-emacs/flycheck/flycheck-32.ebuild new file mode 100644 index 0000000..2513b79 --- /dev/null +++ b/app-emacs/flycheck/flycheck-32.ebuild @@ -0,0 +1,40 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +NEED_EMACS="24.3" + +inherit elisp + +if [[ ${PV} = "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/flycheck/flycheck" + EGIT_BRANCH="master" + EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}" + S="${EGIT_CHECKOUT_DIR}" +else + if [[ ${PV} = *_p* ]]; then + COMMIT="784f184cdd9f9cb4e3dbb997c09d93e954142842" + SRC_URI="https://github.com/flycheck/flycheck/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${COMMIT}" + else + SRC_URI="https://github.com/flycheck/flycheck/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + fi + KEYWORDS="~amd64" +fi + +DESCRIPTION="Modern on-the-fly syntax checking extension for GNU Emacs" +HOMEPAGE="https://www.flycheck.org/" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="test" # test requires cask and ert-runner which are not packaged yet + +RDEPEND=">=app-emacs/dash-2.12.1 + >=app-emacs/pkg-info-0.4" + +SITEFILE="50${PN}-gentoo.el" +DOCS=( README.md ) +ELISP_REMOVE="flycheck-buttercup.el flycheck-ert.el" -- 2.39.5