diff options
author | Sam James <sam@gentoo.org> | 2023-03-23 03:04:43 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-03-23 03:23:42 +0000 |
commit | be8d21d3b2ff66059d9597ea364172647b9cd834 (patch) | |
tree | 9953b0f91ec556ba1497f62de7e12fdfc94c8618 | |
parent | profiles: last rite net-fs/minio (diff) | |
download | gentoo-be8d21d3b2ff66059d9597ea364172647b9cd834.tar.gz gentoo-be8d21d3b2ff66059d9597ea364172647b9cd834.tar.bz2 gentoo-be8d21d3b2ff66059d9597ea364172647b9cd834.zip |
app-emacs/flycheck-clang-tidy: new package, add 0.3.0_p20221116
Signed-off-by: Sam James <sam@gentoo.org>
4 files changed, 48 insertions, 0 deletions
diff --git a/app-emacs/flycheck-clang-tidy/Manifest b/app-emacs/flycheck-clang-tidy/Manifest new file mode 100644 index 000000000000..2be7b54a0616 --- /dev/null +++ b/app-emacs/flycheck-clang-tidy/Manifest @@ -0,0 +1 @@ +DIST flycheck-clang-tidy-0.3.0_p20221116.tar.gz 4485 BLAKE2B e7e760093c1f8e4e2b110ac85b1223959de66412e77a780788270e2a238b3e2abb0f4ba17861ee6a714f3cfd437f1b60d074d0beba7295651b553c7e9816b125 SHA512 f29bd187ceb72b58c4954e1aefe2ed1034a70bb9b4d8992e16d29bea5399374111cff29b96cb3d90ed4dbee15d1c3593b6365fabe7ad2e4669b01a2482558a64 diff --git a/app-emacs/flycheck-clang-tidy/files/50flycheck-clang-tidy-gentoo.el b/app-emacs/flycheck-clang-tidy/files/50flycheck-clang-tidy-gentoo.el new file mode 100644 index 000000000000..431f7e90ae73 --- /dev/null +++ b/app-emacs/flycheck-clang-tidy/files/50flycheck-clang-tidy-gentoo.el @@ -0,0 +1 @@ +(add-to-list 'load-path "@SITELISP@") diff --git a/app-emacs/flycheck-clang-tidy/flycheck-clang-tidy-0.3.0_p20221116.ebuild b/app-emacs/flycheck-clang-tidy/flycheck-clang-tidy-0.3.0_p20221116.ebuild new file mode 100644 index 000000000000..d02cbfe8abda --- /dev/null +++ b/app-emacs/flycheck-clang-tidy/flycheck-clang-tidy-0.3.0_p20221116.ebuild @@ -0,0 +1,30 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +NEED_EMACS=24 +inherit elisp + +DESCRIPTION="Flycheck syntax checker using clang-tidy" +HOMEPAGE="https://github.com/ch1bo/flycheck-clang-tidy" +if [[ ${PV} == *_p* ]] ; then + MY_COMMIT="f9ae7306bd6ca08b689b36c1e8f6f6b91d61db5f" + SRC_URI="https://github.com/ch1bo/flycheck-clang-tidy/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}"/${PN}-${MY_COMMIT} +else + SRC_URI="https://github.com/ch1bo/flycheck-clang-tidy/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +fi + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + >=app-emacs/flycheck-0.30 +" +RDEPEND=" + ${BDEPEND} +" + +SITEFILE="50${PN}-gentoo.el" diff --git a/app-emacs/flycheck-clang-tidy/metadata.xml b/app-emacs/flycheck-clang-tidy/metadata.xml new file mode 100644 index 000000000000..55a6a6ea0b59 --- /dev/null +++ b/app-emacs/flycheck-clang-tidy/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>sam@gentoo.org</email> + <name>Sam James</name> + </maintainer> + <maintainer type="project"> + <email>gnu-emacs@gentoo.org</email> + <name>Gentoo GNU Emacs project</name> + </maintainer> + <upstream> + <bugs-to>https://gitlab.com/ch1bo/flycheck-clang-tidy/issues/</bugs-to> + <remote-id type="gitlab">ch1bo/flycheck-clang-tidy</remote-id> + </upstream> +</pkgmetadata> |