From ac3c497d3b99b2eda5ab4e90bf32918970cdda89 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Sat, 3 Apr 2021 17:51:38 +0200 Subject: net-mail/rss2email: 3.13 + tests Signed-off-by: Sebastian Pipping Package-Manager: Portage-3.0.18, Repoman-3.0.3 --- net-mail/rss2email/Manifest | 1 + net-mail/rss2email/rss2email-3.13.ebuild | 36 ++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 net-mail/rss2email/rss2email-3.13.ebuild (limited to 'net-mail') diff --git a/net-mail/rss2email/Manifest b/net-mail/rss2email/Manifest index eae5daa0544a..2936b4bfbc1a 100644 --- a/net-mail/rss2email/Manifest +++ b/net-mail/rss2email/Manifest @@ -1,2 +1,3 @@ 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.tar.gz 157303 BLAKE2B 907d8f11af6c547287fcaf3fa6063850a98b560db112a047a1c860f82d818b08d4eebc174da8d83ed73673cf5c0105ab7fb7b8fd13c27280535de13f85d843f8 SHA512 548919d11762e751c2ae7ab84135aa8571104a616f0e516faf8bd9c340777972273e6642a91180387d0125300c89d6212a9da7b901f15b430f7b58284d896e98 diff --git a/net-mail/rss2email/rss2email-3.13.ebuild b/net-mail/rss2email/rss2email-3.13.ebuild new file mode 100644 index 000000000000..4efe89638d75 --- /dev/null +++ b/net-mail/rss2email/rss2email-3.13.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 +} -- cgit v1.2.3-65-gdbad