Gentoo Archives: gentoo-commits

From: "Maciej Barć" <xgqt@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/uxntal-mode/, app-emacs/uxntal-mode/files/
Date: Wed, 17 Aug 2022 01:08:32
Message-Id: 1660698494.cc71e35cf46ce263dee5cecf1d2b85176a55b84e.xgqt@gentoo
1 commit: cc71e35cf46ce263dee5cecf1d2b85176a55b84e
2 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 17 01:07:36 2022 +0000
4 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 17 01:08:14 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc71e35c
7
8 app-emacs/uxntal-mode: new package; add version 0.2
9
10 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
11
12 app-emacs/uxntal-mode/Manifest | 1 +
13 app-emacs/uxntal-mode/files/50uxntal-mode-gentoo.el | 4 ++++
14 app-emacs/uxntal-mode/metadata.xml | 14 ++++++++++++++
15 app-emacs/uxntal-mode/uxntal-mode-0.2.ebuild | 19 +++++++++++++++++++
16 4 files changed, 38 insertions(+)
17
18 diff --git a/app-emacs/uxntal-mode/Manifest b/app-emacs/uxntal-mode/Manifest
19 new file mode 100644
20 index 000000000000..8cc984f16315
21 --- /dev/null
22 +++ b/app-emacs/uxntal-mode/Manifest
23 @@ -0,0 +1 @@
24 +DIST uxntal-mode-0.2.tar.gz 9450 BLAKE2B b8c3517f452c087aafce7fb1f0dd3dceca5160db27c59b24e1eb46eb0496768b330ab5a741fa809284817a3adcf1e4a46a16c6ec44e8d687f299b63e680eca46 SHA512 4f84a67831c9a43361849185c2ab097174a66c70bd2fd57ca175cb46977be5fef2797d52bd70ea6854a69c99cf94faaa8aa5a6f38ef306e895a42ae62de590a9
25
26 diff --git a/app-emacs/uxntal-mode/files/50uxntal-mode-gentoo.el b/app-emacs/uxntal-mode/files/50uxntal-mode-gentoo.el
27 new file mode 100644
28 index 000000000000..916ad70e1619
29 --- /dev/null
30 +++ b/app-emacs/uxntal-mode/files/50uxntal-mode-gentoo.el
31 @@ -0,0 +1,4 @@
32 +(add-to-list 'load-path "@SITELISP@")
33 +(autoload 'uxntal-mode "uxntal-mode"
34 + "Major mode for editing Uxntal files." t)
35 +(add-to-list 'auto-mode-alist '("\\.tal\\'" . uxntal-mode))
36
37 diff --git a/app-emacs/uxntal-mode/metadata.xml b/app-emacs/uxntal-mode/metadata.xml
38 new file mode 100644
39 index 000000000000..d8c98f52eae3
40 --- /dev/null
41 +++ b/app-emacs/uxntal-mode/metadata.xml
42 @@ -0,0 +1,14 @@
43 +<?xml version="1.0" encoding="UTF-8"?>
44 +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
45 +
46 +<pkgmetadata>
47 + <maintainer type="project">
48 + <email>gnu-emacs@g.o</email>
49 + <name>Gentoo GNU Emacs project</name>
50 + </maintainer>
51 + <stabilize-allarches />
52 + <upstream>
53 + <bugs-to>https://github.com/non/uxntal-mode/issues/</bugs-to>
54 + <remote-id type="github">non/uxntal-mode</remote-id>
55 + </upstream>
56 +</pkgmetadata>
57
58 diff --git a/app-emacs/uxntal-mode/uxntal-mode-0.2.ebuild b/app-emacs/uxntal-mode/uxntal-mode-0.2.ebuild
59 new file mode 100644
60 index 000000000000..27a4bd542e1d
61 --- /dev/null
62 +++ b/app-emacs/uxntal-mode/uxntal-mode-0.2.ebuild
63 @@ -0,0 +1,19 @@
64 +# Copyright 1999-2022 Gentoo Authors
65 +# Distributed under the terms of the GNU General Public License v2
66 +
67 +EAPI=8
68 +
69 +NEED_EMACS=27.1
70 +
71 +inherit elisp
72 +
73 +DESCRIPTION="GNU Emacs major mode for the uxntal assembly language"
74 +HOMEPAGE="https://github.com/non/uxntal-mode/"
75 +SRC_URI="https://github.com/non/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
76 +
77 +LICENSE="Apache-2.0"
78 +SLOT="0"
79 +KEYWORDS="~amd64 ~x86"
80 +
81 +DOCS=( README.md )
82 +SITEFILE="50${PN}-gentoo.el"