diff options
author | Maciej Barć <xgqt@gentoo.org> | 2024-02-07 22:53:21 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2024-02-07 23:21:57 +0100 |
commit | 13ff8a22f25dcc7de84b4c7064ac3c7c162c08a4 (patch) | |
tree | a1d29a39914b8d1d29229839ccbb87d129f43fd4 /app-emacs/flycheck/flycheck-33.1.ebuild | |
parent | dev-dotnet/fable: bump to 4.11.0 (diff) | |
download | gentoo-13ff8a22f25dcc7de84b4c7064ac3c7c162c08a4.tar.gz gentoo-13ff8a22f25dcc7de84b4c7064ac3c7c162c08a4.tar.bz2 gentoo-13ff8a22f25dcc7de84b4c7064ac3c7c162c08a4.zip |
app-emacs/flycheck: bump to 33.1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/flycheck/flycheck-33.1.ebuild')
-rw-r--r-- | app-emacs/flycheck/flycheck-33.1.ebuild | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/app-emacs/flycheck/flycheck-33.1.ebuild b/app-emacs/flycheck/flycheck-33.1.ebuild new file mode 100644 index 000000000000..b4b987aac19a --- /dev/null +++ b/app-emacs/flycheck/flycheck-33.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp + +DESCRIPTION="Modern on-the-fly syntax checking extension for GNU Emacs" +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 + SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz + -> ${P}.tar.gz" + + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" +fi + +LICENSE="GPL-3+" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=app-emacs/dash-2.12.1 + >=app-emacs/pkg-info-0.4 +" +BDEPEND=" + test? ( + app-emacs/buttercup + app-emacs/shut-up + ) +" + +ELISP_REMOVE=" + test/specs/test-documentation.el + test/specs/test-melpa-package.el +" + +SITEFILE="50${PN}-gentoo-r1.el" +DOCS=( CHANGES.rst README.md ) + +elisp-enable-tests buttercup "${S}" + +src_compile() { + elisp-compile "${PN}.el" + elisp-make-autoload-file +} + +src_install() { + elisp-install "${PN}" ${PN}.el{,c} "${PN}-autoloads.el" + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + einstalldocs +} |