diff options
Diffstat (limited to 'net-mail')
-rw-r--r-- | net-mail/rss2email/Manifest | 1 | ||||
-rw-r--r-- | net-mail/rss2email/rss2email-3.13.1.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/net-mail/rss2email/Manifest b/net-mail/rss2email/Manifest index 2936b4bfbc1a..442ace6a38d5 100644 --- a/net-mail/rss2email/Manifest +++ b/net-mail/rss2email/Manifest @@ -1,3 +1,4 @@ DIST rss2email-3.12.2.tar.gz 74096 BLAKE2B 5b7d6808d5741795de805e49bb955694a39a087e1dd64820303243227bf4b12ff9ee9354008c4f6cce415a8a8f84266266f8a677d6fed4eefa69713e5f664de9 SHA512 4df498cebd74bb25ffa2caa5aa851ccb106b0fa1b98113c5643cdd3ed8f9a73d266a649df521b8237740ea491ba086a65df0ba60c28a60a3d63360b8280a3888 DIST rss2email-3.12.3.tar.gz 74151 BLAKE2B 5bbd796d204e6fbb7720de3c23df19c28374faea757907f69d6cd38cc560503bdc7229e7dc71aaaa89b8303942369a800d3bf9c5ac2d1d0def2b27d795352bc8 SHA512 189f6d81020a582a6a0d142cd31cf2dd200382037f4e87444a4d3df58d9feeb3b5503a689ea91c5ad88d70cfc6a7f9767314cbaa0dad0f20cb525a8251df3026 +DIST rss2email-3.13.1.tar.gz 159108 BLAKE2B 4651765d97f4b5c35559511765e7f1697f9fde461f69cf2e42a8b94232e287c915f8727e7709666a3bf7644664e93ef0bae88e9a41e6acb93aacd1a2ae5ca839 SHA512 fbfd47c3512fc86a4db692245f7765281515b733cfd9bb13e8f7d225c8fe20a816469be2f1f9e71e925216686e6f470349c16573ab9c662d8e2b4e9d1b6debe6 DIST rss2email-3.13.tar.gz 157303 BLAKE2B 907d8f11af6c547287fcaf3fa6063850a98b560db112a047a1c860f82d818b08d4eebc174da8d83ed73673cf5c0105ab7fb7b8fd13c27280535de13f85d843f8 SHA512 548919d11762e751c2ae7ab84135aa8571104a616f0e516faf8bd9c340777972273e6642a91180387d0125300c89d6212a9da7b901f15b430f7b58284d896e98 diff --git a/net-mail/rss2email/rss2email-3.13.1.ebuild b/net-mail/rss2email/rss2email-3.13.1.ebuild new file mode 100644 index 000000000000..4efe89638d75 --- /dev/null +++ b/net-mail/rss2email/rss2email-3.13.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# Tests are broken for Python >=3.9 +# (see upstream issue https://github.com/rss2email/rss2email/issues/178) +PYTHON_COMPAT=( python3_{7..8} ) + +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 ~x86" +IUSE="" + +RDEPEND=">=dev-python/feedparser-6[${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 +} |