1 |
commit: ac3c497d3b99b2eda5ab4e90bf32918970cdda89 |
2 |
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 3 15:51:38 2021 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 3 16:17:22 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac3c497d |
7 |
|
8 |
net-mail/rss2email: 3.13 + tests |
9 |
|
10 |
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org> |
11 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
12 |
|
13 |
net-mail/rss2email/Manifest | 1 + |
14 |
net-mail/rss2email/rss2email-3.13.ebuild | 36 ++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 37 insertions(+) |
16 |
|
17 |
diff --git a/net-mail/rss2email/Manifest b/net-mail/rss2email/Manifest |
18 |
index eae5daa0544..2936b4bfbc1 100644 |
19 |
--- a/net-mail/rss2email/Manifest |
20 |
+++ b/net-mail/rss2email/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST rss2email-3.12.2.tar.gz 74096 BLAKE2B 5b7d6808d5741795de805e49bb955694a39a087e1dd64820303243227bf4b12ff9ee9354008c4f6cce415a8a8f84266266f8a677d6fed4eefa69713e5f664de9 SHA512 4df498cebd74bb25ffa2caa5aa851ccb106b0fa1b98113c5643cdd3ed8f9a73d266a649df521b8237740ea491ba086a65df0ba60c28a60a3d63360b8280a3888 |
23 |
DIST rss2email-3.12.3.tar.gz 74151 BLAKE2B 5bbd796d204e6fbb7720de3c23df19c28374faea757907f69d6cd38cc560503bdc7229e7dc71aaaa89b8303942369a800d3bf9c5ac2d1d0def2b27d795352bc8 SHA512 189f6d81020a582a6a0d142cd31cf2dd200382037f4e87444a4d3df58d9feeb3b5503a689ea91c5ad88d70cfc6a7f9767314cbaa0dad0f20cb525a8251df3026 |
24 |
+DIST rss2email-3.13.tar.gz 157303 BLAKE2B 907d8f11af6c547287fcaf3fa6063850a98b560db112a047a1c860f82d818b08d4eebc174da8d83ed73673cf5c0105ab7fb7b8fd13c27280535de13f85d843f8 SHA512 548919d11762e751c2ae7ab84135aa8571104a616f0e516faf8bd9c340777972273e6642a91180387d0125300c89d6212a9da7b901f15b430f7b58284d896e98 |
25 |
|
26 |
diff --git a/net-mail/rss2email/rss2email-3.13.ebuild b/net-mail/rss2email/rss2email-3.13.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..4efe89638d7 |
29 |
--- /dev/null |
30 |
+++ b/net-mail/rss2email/rss2email-3.13.ebuild |
31 |
@@ -0,0 +1,36 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+# Tests are broken for Python >=3.9 |
38 |
+# (see upstream issue https://github.com/rss2email/rss2email/issues/178) |
39 |
+PYTHON_COMPAT=( python3_{7..8} ) |
40 |
+ |
41 |
+inherit distutils-r1 |
42 |
+ |
43 |
+DESCRIPTION="A python script that converts RSS/Atom newsfeeds to email" |
44 |
+HOMEPAGE="https://github.com/rss2email/rss2email" |
45 |
+SRC_URI="https://github.com/rss2email/rss2email/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="|| ( GPL-2 GPL-3 )" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+IUSE="" |
51 |
+ |
52 |
+RDEPEND=">=dev-python/feedparser-6[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/html2text-2020.1.16[${PYTHON_USEDEP}] |
54 |
+ " |
55 |
+DEPEND="${RDEPEND}" |
56 |
+ |
57 |
+distutils_enable_tests unittest |
58 |
+ |
59 |
+src_install() { |
60 |
+ distutils-r1_src_install |
61 |
+ doman r2e.1 |
62 |
+} |
63 |
+ |
64 |
+python_test() { |
65 |
+ cd test/ || die # or the tests won't find their data |
66 |
+ distutils-r1_python_test |
67 |
+} |