commit:     8eb6d2c2055e1fbd06a3d15fa95161c02c35c216
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon May  8 06:54:40 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon May  8 12:21:17 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8eb6d2c2

app-emacs/elfeed-protocol: new package; add 0.8.1

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-emacs/elfeed-protocol/Manifest                 |  1 +
 .../elfeed-protocol/elfeed-protocol-0.8.1.ebuild   | 29 ++++++++++++++++++++++
 .../files/50elfeed-protocol-gentoo.el              |  5 ++++
 app-emacs/elfeed-protocol/metadata.xml             | 18 ++++++++++++++
 4 files changed, 53 insertions(+)

diff --git a/app-emacs/elfeed-protocol/Manifest 
b/app-emacs/elfeed-protocol/Manifest
new file mode 100644
index 000000000000..61cad9f82c06
--- /dev/null
+++ b/app-emacs/elfeed-protocol/Manifest
@@ -0,0 +1 @@
+DIST elfeed-protocol-0.8.1.tar.gz 48250 BLAKE2B 
9a6491c29b1fe64bc7ced8e94548552b85b501279e60173bca0a8a11e5b624a17a51cdb035139620905ecde0c7c4dab0fed7a00f869af823123ca69c12dcfdc6
 SHA512 
846c39766d9312b3612b9d27ebe88e2aac153b2a3cd1683438b696004aaa4cb6d250b876c9669bf63a17a6fc6aaa6a0980550e962b19ab85268d6214ad4a022f

diff --git a/app-emacs/elfeed-protocol/elfeed-protocol-0.8.1.ebuild 
b/app-emacs/elfeed-protocol/elfeed-protocol-0.8.1.ebuild
new file mode 100644
index 000000000000..1fd5f3db4117
--- /dev/null
+++ b/app-emacs/elfeed-protocol/elfeed-protocol-0.8.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="Provide extra news client subscription protocols for elfeed"
+HOMEPAGE="https://github.com/fasheng/elfeed-protocol/";
+
+if [[ ${PV} == *9999* ]] ; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/fasheng/${PN}.git";
+else
+       SRC_URI="https://github.com/fasheng/${PN}/archive/${PV}.tar.gz
+               -> ${P}.tar.gz"
+       KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+RDEPEND="app-emacs/elfeed"
+BDEPEND="${RDEPEND}"
+
+DOCS=( README.md )
+SITEFILE="50${PN}-gentoo.el"
+
+elisp-enable-tests ert-runner test

diff --git a/app-emacs/elfeed-protocol/files/50elfeed-protocol-gentoo.el 
b/app-emacs/elfeed-protocol/files/50elfeed-protocol-gentoo.el
new file mode 100644
index 000000000000..788ac23ffeba
--- /dev/null
+++ b/app-emacs/elfeed-protocol/files/50elfeed-protocol-gentoo.el
@@ -0,0 +1,5 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'elfeed-protocol-disable "elfeed-protocol"
+  "Disable hooks and advices for elfeed-protocol." t)
+(autoload 'elfeed-protocol-enable "elfeed-protocol"
+  "Enable hooks and advices for elfeed-protocol." t)

diff --git a/app-emacs/elfeed-protocol/metadata.xml 
b/app-emacs/elfeed-protocol/metadata.xml
new file mode 100644
index 000000000000..7906f06796a4
--- /dev/null
+++ b/app-emacs/elfeed-protocol/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+
+<pkgmetadata>
+  <maintainer type="project">
+    <email>gnu-em...@gentoo.org</email>
+    <name>Gentoo GNU Emacs project</name>
+  </maintainer>
+  <longdescription>
+    Provide extra protocols to make self-hosting RSS readers work with elfeed,
+    including Fever, NewsBlur, Nextcloud/ownCloud News, Tiny Tiny RSS and even
+    more.
+  </longdescription>
+  <upstream>
+    <bugs-to>https://github.com/fasheng/elfeed-protocol/issues/</bugs-to>
+    <remote-id type="github">fasheng/elfeed-protocol</remote-id>
+  </upstream>
+</pkgmetadata>

Reply via email to