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/mastodon/, app-emacs/mastodon/files/
Date: Sun, 08 May 2022 12:38:18
Message-Id: 1652013489.eeb954186fb7ab4ac10f44d15619f6152d2b8854.xgqt@gentoo
1 commit: eeb954186fb7ab4ac10f44d15619f6152d2b8854
2 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 8 12:37:38 2022 +0000
4 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
5 CommitDate: Sun May 8 12:38:09 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eeb95418
7
8 app-emacs/mastodon: new package; add version 1.0.0
9
10 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
11
12 app-emacs/mastodon/Manifest | 1 +
13 app-emacs/mastodon/files/50mastodon-gentoo.el | 3 +++
14 app-emacs/mastodon/mastodon-1.0.0.ebuild | 24 ++++++++++++++++++++++++
15 app-emacs/mastodon/metadata.xml | 13 +++++++++++++
16 4 files changed, 41 insertions(+)
17
18 diff --git a/app-emacs/mastodon/Manifest b/app-emacs/mastodon/Manifest
19 new file mode 100644
20 index 000000000000..3070a2eba5c5
21 --- /dev/null
22 +++ b/app-emacs/mastodon/Manifest
23 @@ -0,0 +1 @@
24 +DIST mastodon-1.0.0.tar.gz 91448 BLAKE2B 093599c4e80113fcb91e0419f3fd050dc793965ce5b69ac94aaabefa5c51cf1b02bb9d8b9bb60a6b5cab377780958b30254f0d91c0f3f8309c1b04342415b17d SHA512 206b180e1cbb345ef35182f753e05b57d5ef1649c68aa3a8ff8eee3c4e3157a22457398a04219f4fd052e8af9d94f6978a6c95c399e284eb27449cd9a4c53e8c
25
26 diff --git a/app-emacs/mastodon/files/50mastodon-gentoo.el b/app-emacs/mastodon/files/50mastodon-gentoo.el
27 new file mode 100644
28 index 000000000000..c4056b92a961
29 --- /dev/null
30 +++ b/app-emacs/mastodon/files/50mastodon-gentoo.el
31 @@ -0,0 +1,3 @@
32 +(add-to-list 'load-path "@SITELISP@")
33 +(autoload 'mastodon "mastodon"
34 + "Connect Mastodon client to `mastodon-instance-url' instance." t)
35
36 diff --git a/app-emacs/mastodon/mastodon-1.0.0.ebuild b/app-emacs/mastodon/mastodon-1.0.0.ebuild
37 new file mode 100644
38 index 000000000000..319925f34d35
39 --- /dev/null
40 +++ b/app-emacs/mastodon/mastodon-1.0.0.ebuild
41 @@ -0,0 +1,24 @@
42 +# Copyright 1999-2022 Gentoo Authors
43 +# Distributed under the terms of the GNU General Public License v2
44 +
45 +EAPI=8
46 +
47 +NEED_EMACS=27.1
48 +
49 +inherit elisp
50 +
51 +DESCRIPTION="Emacs client for Mastodon, federated microblogging social network"
52 +HOMEPAGE="https://codeberg.org/martianh/mastodon.el/"
53 +SRC_URI="https://codeberg.org/martianh/${PN}.el/archive/${PV}.tar.gz
54 + -> ${P}.tar.gz"
55 +S="${WORKDIR}"/${PN}.el/lisp
56 +
57 +LICENSE="GPL-3+"
58 +KEYWORDS="~amd64 ~x86"
59 +SLOT="0"
60 +
61 +RDEPEND="app-emacs/request"
62 +BDEPEND="${RDEPEND}"
63 +
64 +DOCS=( ../README.org )
65 +SITEFILE="50${PN}-gentoo.el"
66
67 diff --git a/app-emacs/mastodon/metadata.xml b/app-emacs/mastodon/metadata.xml
68 new file mode 100644
69 index 000000000000..ca48e9f3432a
70 --- /dev/null
71 +++ b/app-emacs/mastodon/metadata.xml
72 @@ -0,0 +1,13 @@
73 +<?xml version="1.0" encoding="UTF-8"?>
74 +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
75 +
76 +<pkgmetadata>
77 + <maintainer type="project">
78 + <email>gnu-emacs@g.o</email>
79 + <name>Gentoo GNU Emacs project</name>
80 + </maintainer>
81 + <upstream>
82 + <changelog>https://codeberg.org/martianh/mastodon.el/releases/</changelog>
83 + <bugs-to>https://codeberg.org/martianh/mastodon.el/issues/</bugs-to>
84 + </upstream>
85 +</pkgmetadata>