summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-05-08 08:54:40 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-05-08 14:21:17 +0200
commit8eb6d2c2055e1fbd06a3d15fa95161c02c35c216 (patch)
tree8f6b3199e3587690eebaa3a403dbfe263ad5feb7 /app-emacs/elfeed-protocol
parentdev-python/hiredis: Bump to 2.2.3 (diff)
downloadgentoo-8eb6d2c2055e1fbd06a3d15fa95161c02c35c216.tar.gz
gentoo-8eb6d2c2055e1fbd06a3d15fa95161c02c35c216.tar.bz2
gentoo-8eb6d2c2055e1fbd06a3d15fa95161c02c35c216.zip
app-emacs/elfeed-protocol: new package; add 0.8.1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/elfeed-protocol')
-rw-r--r--app-emacs/elfeed-protocol/Manifest1
-rw-r--r--app-emacs/elfeed-protocol/elfeed-protocol-0.8.1.ebuild29
-rw-r--r--app-emacs/elfeed-protocol/files/50elfeed-protocol-gentoo.el5
-rw-r--r--app-emacs/elfeed-protocol/metadata.xml18
4 files changed, 53 insertions, 0 deletions
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-emacs@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>