diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2020-03-30 15:26:46 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2020-03-30 15:26:57 +0300 |
commit | 049de9f25d69da4a1be59d68dafe6409f47a26e9 (patch) | |
tree | ac7bf2aa3d0e75065f68c57ac5d918f5fc8bf44b /net-mail/rss2email | |
parent | net-mail/rss2email: amd64 stable wrt bug #715048 (diff) | |
download | gentoo-049de9f25d69da4a1be59d68dafe6409f47a26e9.tar.gz gentoo-049de9f25d69da4a1be59d68dafe6409f47a26e9.tar.bz2 gentoo-049de9f25d69da4a1be59d68dafe6409f47a26e9.zip |
net-mail/rss2email: Drop old (py2-only)
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'net-mail/rss2email')
-rw-r--r-- | net-mail/rss2email/Manifest | 2 | ||||
-rw-r--r-- | net-mail/rss2email/files/rss2email-2.69-config-location.patch | 16 | ||||
-rw-r--r-- | net-mail/rss2email/rss2email-2.71-r2.ebuild | 68 |
3 files changed, 0 insertions, 86 deletions
diff --git a/net-mail/rss2email/Manifest b/net-mail/rss2email/Manifest index 3f2f76023c4d..fe4ad53ee4a4 100644 --- a/net-mail/rss2email/Manifest +++ b/net-mail/rss2email/Manifest @@ -1,3 +1 @@ -DIST rss2email-2.71.tar.gz 63268 BLAKE2B 56c4e2b59611ffcb0e7a9ff3558e6ed4da3f5ba186d5c2f84b715b8b63bf4729a57c1986f910a46d81813f3e756e07a35959e3000f1bf65839a5da830c50377f SHA512 242a4f2e4fe64f42e3348f8c159d91f79121224beec4faf542393c8323bdcba85510a28fc967ec59702f08205de1d40c2a26235f9d5590751f392880a7211c60 DIST rss2email-3.11.tar.gz 66441 BLAKE2B 24be7c4d280e337869833f9fa492186a9f4cc208e9f6152c1d4012edb016993a37cddd991d6211888d6aa7654d66bc79d9d70f1508dae20fa39d79fffeeef55b SHA512 2efdef703a4b4774d85926f500a37689aea3a324f63a13a686a2322c9f69ac7b940c5b953f417d9259e1493b3dafde4c2e1ddb3433d085fb2400cd06001141bb -DIST rss2email_2.65-1.diff.gz 8626 BLAKE2B 25b497e099d6093d94a29bf79d89b53d51cff0ed71c926e709b17d8a5a066d13a64c75e162ab02fa34756c49891595f43d1031f4549bf5603238d76bf8e1ac3d SHA512 cb0ca7f6c02f342305c6c19f03973f91343ca530a6a858427bfd6a57948e6123e02d64b1285efed10cda9541f3237f666d8e1a7954a3c2b57866a68dd43b8d8d diff --git a/net-mail/rss2email/files/rss2email-2.69-config-location.patch b/net-mail/rss2email/files/rss2email-2.69-config-location.patch deleted file mode 100644 index 215c1725a9c1..000000000000 --- a/net-mail/rss2email/files/rss2email-2.69-config-location.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- rss2email.py 2010-11-25 02:22:14.607431246 +0100 -+++ rss2email.py 2010-11-25 02:26:54.478306015 +0100 -@@ -254,7 +254,12 @@ - - # Read options from config file if present. - import sys --sys.path.insert(0,".") -+import os -+_conf_dir = os.path.expanduser('~/.rss2email') -+if not os.path.exists(os.path.join(_conf_dir, 'config.py')): -+ _conf_dir = '/etc/rss2email' -+sys.path.insert(0, _conf_dir) -+ - try: - from config import * - except: diff --git a/net-mail/rss2email/rss2email-2.71-r2.ebuild b/net-mail/rss2email/rss2email-2.71-r2.ebuild deleted file mode 100644 index 351a6d6351e6..000000000000 --- a/net-mail/rss2email/rss2email-2.71-r2.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -PYTHON_COMPAT=( python2_7 ) - -inherit eutils python-r1 - -DEBIAN_PV="2.65" - -DESCRIPTION="A python script that converts RSS/Atom newsfeeds to email" -HOMEPAGE="http://www.allthingsrss.com/rss2email" -SRC_URI="http://www.allthingsrss.com/${PN}/${P}.tar.gz - mirror://debian/pool/main/r/${PN}/${PN}_${DEBIAN_PV}-1.diff.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND="dev-util/patchutils" -RDEPEND="${PYTHON_DEPS} - >=dev-python/feedparser-5.0.1 - <dev-python/html2text-2019.8.11" - -src_unpack() { - # Tarball has zero permissions inside - tar xf "${DISTDIR}"/${P}.tar.gz || die - chmod 0755 ${P} || die - chmod 0644 ${P}/* || die -} - -src_prepare() { - epatch "${FILESDIR}"/${PN}-2.69-config-location.patch - - # Extract man page from Debian patch - zcat "${DISTDIR}"/${PN}_${DEBIAN_PV}-1.diff.gz \ - | filterdiff -i '*/r2e.1' \ - > "${S}"/r2e.1.patch || die - EPATCH_OPTS="-p1" epatch r2e.1.patch -} - -src_install() { - my_install() { - python_moduleinto ${PN} - python_newscript rss2email.py main.py - } - python_foreach_impl my_install - - insinto /etc/${PN} - doins config.py.example - - dodoc CHANGELOG readme.html - doman r2e.1 - - # Replace r2e wrapper - cat <<-"EOF" >r2e - #! /bin/sh - SITE_PACKAGES=`python2 -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"` - CONF_DIR=${HOME}/.rss2email - mkdir -p "${CONF_DIR}" - exec python2 "${SITE_PACKAGES}"/rss2email/main.py "${CONF_DIR}"/feeds.dat $* - EOF - - dobin r2e -} |