summaryrefslogtreecommitdiff
path: root/app-emacs/fedi
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/fedi')
-rw-r--r--app-emacs/fedi/Manifest3
-rw-r--r--app-emacs/fedi/fedi-0.2.ebuild40
-rw-r--r--app-emacs/fedi/metadata.xml14
3 files changed, 57 insertions, 0 deletions
diff --git a/app-emacs/fedi/Manifest b/app-emacs/fedi/Manifest
new file mode 100644
index 000000000000..885557f91cb1
--- /dev/null
+++ b/app-emacs/fedi/Manifest
@@ -0,0 +1,3 @@
+DIST fedi-0.2.tar.gz 23341 BLAKE2B 588fefb92404d9c654c9c6a62a4404ec6ba624bbb16e64532a863d460feb7cea3aeb924f86f04d543dcb842dff7c54858628cda2170d228be5fb7590f55c77ee SHA512 e6f9a27ef9beb45df7e3fbb8dba54965135e378c37fbcdaea95e6ce8c46cb0f7b5219220c245d5cf40636e8219932a5b6bd86251ee655674d8e453d249376218
+EBUILD fedi-0.2.ebuild 757 BLAKE2B 506c7241f159ccec85c2ff4b7297e536c32db9c3223897a0e1f9c82eb2eab94062ea885087ad3b9a122e7fb0f4f863234a77e62933c0454fa30fb5fcf7ff6b79 SHA512 a39527f6ae4d4d97cb0eb8fdfbedecb61a906e120fc0b08e9c34e721bb321f25d2815546a7379ceb826a9c39e886d08bd68dd2e59fe8c080c2993fa1d01e0d2b
+MISC metadata.xml 500 BLAKE2B 21914526169004f4946ddf3a30103ccff339ef38afb15e6f5b1a2ce4cb38b8f8d6c6bdff1597e0a214f7d20f55e9ae560dbeb253a7921291b2306a8d193708d5 SHA512 3f3a15ee858d0c6eefb2da58a0bf0529c1f611b348ff48b25a003a028785fc88e55c1e5ea91cd13b7a7ae3719b70ba0f4c94540f044a3273b64b2246e312c52f
diff --git a/app-emacs/fedi/fedi-0.2.ebuild b/app-emacs/fedi/fedi-0.2.ebuild
new file mode 100644
index 000000000000..2a89507c0b2c
--- /dev/null
+++ b/app-emacs/fedi/fedi-0.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS="28.1"
+
+inherit elisp
+
+DESCRIPTION="Helper functions for Fediverse or other REST API clients for GNU Emacs"
+HOMEPAGE="https://codeberg.org/martianh/fedi.el/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://codeberg.org/martianh/${PN}.el.git"
+else
+ SRC_URI="https://codeberg.org/martianh/${PN}.el/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}.el"
+
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+RDEPEND="
+ app-emacs/markdown-mode
+ || (
+ >=app-editors/emacs-31.0
+ >=app-editors/emacs-${NEED_EMACS}[json]
+ )
+"
+BDEPEND="
+ ${RDEPEND}
+"
+
+DOCS=( readme.org )
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/fedi/metadata.xml b/app-emacs/fedi/metadata.xml
new file mode 100644
index 000000000000..953a3e572ba3
--- /dev/null
+++ b/app-emacs/fedi/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+ <maintainer type="project">
+ <email>gnu-emacs@gentoo.org</email>
+ <name>Gentoo GNU Emacs project</name>
+ </maintainer>
+ <upstream>
+ <changelog>https://codeberg.org/martianh/fedi.el/releases/</changelog>
+ <bugs-to>https://codeberg.org/martianh/fedi.el/issues/</bugs-to>
+ <remote-id type="codeberg">martianh/fedi.el</remote-id>
+ </upstream>
+</pkgmetadata>