public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-emacs/flycheck-clang-tidy/files/, app-emacs/flycheck-clang-tidy/
@ 2023-03-23  3:24 Sam James
  0 siblings, 0 replies; only message in thread
From: Sam James @ 2023-03-23  3:24 UTC (permalink / raw
  To: gentoo-commits

commit:     be8d21d3b2ff66059d9597ea364172647b9cd834
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 23 03:04:43 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 23 03:23:42 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be8d21d3

app-emacs/flycheck-clang-tidy: new package, add 0.3.0_p20221116

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-emacs/flycheck-clang-tidy/Manifest             |  1 +
 .../files/50flycheck-clang-tidy-gentoo.el          |  1 +
 .../flycheck-clang-tidy-0.3.0_p20221116.ebuild     | 30 ++++++++++++++++++++++
 app-emacs/flycheck-clang-tidy/metadata.xml         | 16 ++++++++++++
 4 files changed, 48 insertions(+)

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>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-03-23  3:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-23  3:24 [gentoo-commits] repo/gentoo:master commit in: app-emacs/flycheck-clang-tidy/files/, app-emacs/flycheck-clang-tidy/ Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox