summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2022-11-27 00:53:39 +0100
committerSebastian Pipping <sping@gentoo.org>2022-11-27 01:34:55 +0100
commit0c45b2d7615a6d80084f5a68a27ad5595e9a4ea2 (patch)
treec188ff65981f284b962156fa8f99edceac80131b /net-mail
parentapp-crypt/jetring: 0.31 + EAPI 8 (diff)
downloadgentoo-0c45b2d7615a6d80084f5a68a27ad5595e9a4ea2.tar.gz
gentoo-0c45b2d7615a6d80084f5a68a27ad5595e9a4ea2.tar.bz2
gentoo-0c45b2d7615a6d80084f5a68a27ad5595e9a4ea2.zip
net-mail/rss2email: 3.14 + EAPI 8 + Python 3.11 + DISTUTILS_USE_PEP517
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/rss2email/Manifest1
-rw-r--r--net-mail/rss2email/rss2email-3.14.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/net-mail/rss2email/Manifest b/net-mail/rss2email/Manifest
index 59104800a919..ff816571673e 100644
--- a/net-mail/rss2email/Manifest
+++ b/net-mail/rss2email/Manifest
@@ -1 +1,2 @@
DIST rss2email-3.13.1.tar.gz 159108 BLAKE2B 4651765d97f4b5c35559511765e7f1697f9fde461f69cf2e42a8b94232e287c915f8727e7709666a3bf7644664e93ef0bae88e9a41e6acb93aacd1a2ae5ca839 SHA512 fbfd47c3512fc86a4db692245f7765281515b733cfd9bb13e8f7d225c8fe20a816469be2f1f9e71e925216686e6f470349c16573ab9c662d8e2b4e9d1b6debe6
+DIST rss2email-3.14.tar.gz 175600 BLAKE2B 70dec53bb65f8238f123097dad98f2d687538e1da58ab7abc83cca16a834947f66894f36380a24fb51db32724263164bffaaf72b5ca3e575a593f3c3cbcfc463 SHA512 42308a3ae2bfe3adaf4b904983c2270a162d268ce5f4357d853a7ba74814d97dc5dc66d7d94ef6b3fbe510e8368361f63a99de814d3388f37b190fa63594a727
diff --git a/net-mail/rss2email/rss2email-3.14.ebuild b/net-mail/rss2email/rss2email-3.14.ebuild
new file mode 100644
index 000000000000..579daa88112d
--- /dev/null
+++ b/net-mail/rss2email/rss2email-3.14.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="A python script that converts RSS/Atom newsfeeds to email"
+HOMEPAGE="https://github.com/rss2email/rss2email"
+SRC_URI="https://github.com/rss2email/rss2email/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="|| ( GPL-2 GPL-3 )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+
+RDEPEND=">=dev-python/feedparser-6.0.5[${PYTHON_USEDEP}]
+ >=dev-python/html2text-2020.1.16[${PYTHON_USEDEP}]
+ "
+DEPEND="${RDEPEND}"
+
+distutils_enable_tests unittest
+
+src_install() {
+ distutils-r1_src_install
+ doman r2e.1
+}
+
+python_test() {
+ cd test/ || die # or the tests won't find their data
+ distutils-r1_python_test
+}