Gentoo Archives: gentoo-commits

From: Matthew Smith <matthew@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/cmake-font-lock/, app-emacs/cmake-font-lock/files/
Date: Sun, 27 Feb 2022 10:23:36
Message-Id: 1645957370.8b4de17c352543df284ca1b10e90f59e73d1aa66.matthew@gentoo
1 commit: 8b4de17c352543df284ca1b10e90f59e73d1aa66
2 Author: Matthew Smith <matthew <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 27 09:43:24 2022 +0000
4 Commit: Matthew Smith <matthew <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 27 10:22:50 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b4de17c
7
8 app-emacs/cmake-font-lock: init at 0.1.12
9
10 Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>
11
12 app-emacs/cmake-font-lock/Manifest | 1 +
13 .../cmake-font-lock/cmake-font-lock-0.1.12.ebuild | 31 ++++++++++++++++++++++
14 .../files/50cmake-font-lock-gentoo.el | 2 ++
15 app-emacs/cmake-font-lock/metadata.xml | 12 +++++++++
16 4 files changed, 46 insertions(+)
17
18 diff --git a/app-emacs/cmake-font-lock/Manifest b/app-emacs/cmake-font-lock/Manifest
19 new file mode 100644
20 index 000000000000..85cbf633d185
21 --- /dev/null
22 +++ b/app-emacs/cmake-font-lock/Manifest
23 @@ -0,0 +1 @@
24 +DIST cmake-font-lock-0.1.12.tar.gz 225598 BLAKE2B f3bf11a804d58a92cc09c7e657a66a4f8b56c072b6cfa23184124e931e7a1f238818ac238c6f5d7fd368879bef155c12623837a2b40eb87ae28e7ad5c7bf8d44 SHA512 8ad4d03bfabb0aa9077fc5e8b1444b862934c0df49e4edd673e9f3c1fff702245e796f02e26850ac26fc5ae9134a0522a2648d1d8b5c844316905a3bdcfa2fa7
25
26 diff --git a/app-emacs/cmake-font-lock/cmake-font-lock-0.1.12.ebuild b/app-emacs/cmake-font-lock/cmake-font-lock-0.1.12.ebuild
27 new file mode 100644
28 index 000000000000..091bbf2cc75f
29 --- /dev/null
30 +++ b/app-emacs/cmake-font-lock/cmake-font-lock-0.1.12.ebuild
31 @@ -0,0 +1,31 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +NEED_EMACS=26
37 +
38 +# The upstream does not create git tags for releases.
39 +# This commit hash corresponds to a bump to 0.1.12 and was published to
40 +# MELPA.
41 +MY_HASH=0d6111b36a66013aa9b452e664c93308df3b07e1
42 +
43 +inherit elisp
44 +
45 +DESCRIPTION="Advanced, type aware, highlight support for CMake"
46 +HOMEPAGE="https://github.com/Lindydancer/cmake-font-lock"
47 +SRC_URI="https://github.com/Lindydancer/${PN}/archive/${MY_HASH}.tar.gz -> ${P}.tar.gz"
48 +S="${WORKDIR}"/${PN}-${MY_HASH}
49 +
50 +LICENSE="GPL-3+"
51 +SLOT="0"
52 +KEYWORDS="~amd64 ~x86"
53 +
54 +SITEFILE="50${PN}-gentoo.el"
55 +
56 +RDEPEND="dev-util/cmake[emacs]"
57 +DEPEND="${RDEPEND}"
58 +
59 +src_compile() {
60 + elisp_src_compile
61 + elisp-make-autoload-file
62 +}
63
64 diff --git a/app-emacs/cmake-font-lock/files/50cmake-font-lock-gentoo.el b/app-emacs/cmake-font-lock/files/50cmake-font-lock-gentoo.el
65 new file mode 100644
66 index 000000000000..636bf931f80a
67 --- /dev/null
68 +++ b/app-emacs/cmake-font-lock/files/50cmake-font-lock-gentoo.el
69 @@ -0,0 +1,2 @@
70 +(add-to-list 'load-path "@SITELISP@")
71 +(load "@SITELISP@/cmake-font-lock-autoloads" nil t)
72
73 diff --git a/app-emacs/cmake-font-lock/metadata.xml b/app-emacs/cmake-font-lock/metadata.xml
74 new file mode 100644
75 index 000000000000..51b04c0ae888
76 --- /dev/null
77 +++ b/app-emacs/cmake-font-lock/metadata.xml
78 @@ -0,0 +1,12 @@
79 +<?xml version="1.0" encoding="UTF-8"?>
80 +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
81 +<pkgmetadata>
82 +<maintainer type="project">
83 + <email>gnu-emacs@g.o</email>
84 + <name>Gentoo GNU Emacs project</name>
85 +</maintainer>
86 +<upstream>
87 + <remote-id type="github">Lindydancer/cmake-font-lock</remote-id>
88 +</upstream>
89 +<stabilize-allarches/>
90 +</pkgmetadata>