pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/newspipe Initial import of newspipe, an RSS/Atom ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/26287b50087b
branches:  trunk
changeset: 504030:26287b50087b
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Sat Dec 03 06:34:01 2005 +0000

description:
Initial import of newspipe, an RSS/Atom aggregator with a difference:
it allows you to keep track of your feeds through email. You create
an OPML file listing your feeds and Newspipe will collect them,
convert them to e-mail messages and send them to your mailbox.

This means you can read, organize and archive news feeds using your
current mail client (or even webmail), without needing to use a
separate program. Newspipe can send you news items as plaintext or
HTML mail, both as single items or grouped in a digest.

diffstat:

 mail/newspipe/DESCR            |   9 ++++++++
 mail/newspipe/Makefile         |  47 ++++++++++++++++++++++++++++++++++++++++++
 mail/newspipe/PLIST            |  12 ++++++++++
 mail/newspipe/distinfo         |   7 ++++++
 mail/newspipe/patches/patch-aa |  12 ++++++++++
 mail/newspipe/patches/patch-ab |  12 ++++++++++
 6 files changed, 99 insertions(+), 0 deletions(-)

diffs (123 lines):

diff -r f89935c689d9 -r 26287b50087b mail/newspipe/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/newspipe/DESCR       Sat Dec 03 06:34:01 2005 +0000
@@ -0,0 +1,9 @@
+Newspipe is an RSS/Atom aggregator with a difference: it allows
+you to keep track of your feeds through email. You create an OPML
+file listing your feeds and Newspipe will collect them, convert
+them to e-mail messages and send them to your mailbox.
+
+This means you can read, organize and archive news feeds using your
+current mail client (or even webmail), without needing to use a
+separate program. Newspipe can send you news items as plaintext or
+HTML mail, both as single items or grouped in a digest.
diff -r f89935c689d9 -r 26287b50087b mail/newspipe/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/newspipe/Makefile    Sat Dec 03 06:34:01 2005 +0000
@@ -0,0 +1,47 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/12/03 06:34:01 schmonz Exp $
+#
+
+DISTNAME=              newspipe.1.1.9
+PKGNAME=               ${DISTNAME:S/./-/}
+CATEGORIES=            mail
+MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=newspipe/}
+EXTRACT_SUFX=          .zip
+
+MAINTAINER=            schmonz%NetBSD.org@localhost
+HOMEPAGE=              http://newspipe.sourceforge.net/
+COMMENT=               Read RSS/Atom feeds as email messages
+
+WRKSRC=                        ${WRKDIR}
+
+DEPENDS+=               ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
+DEPENDS+=               ${PYPKGPREFIX}-feedparser-[0-9]*:../../textproc/py-feedparser
+DEPENDS+=               ${PYPKGPREFIX}-html2text-[0-9]*:../../textproc/py-html2text
+
+NO_BUILD=              yes
+PYTHON_PATCH_SCRIPTS=  *.py
+
+SUBST_CLASSES+=                bin
+SUBST_STAGE.bin=       do-configure
+SUBST_FILES.bin=       newspipe.py newspipe
+SUBST_SED.bin=         -e 's|@LOCALBASE@|${LOCALBASE}|g'
+SUBST_SED.bin+=                -e 's|@PREFIX@|${PREFIX}|g'
+SUBST_SED.bin+=                -e 's|@PYTHONBIN@|${PYTHONBIN}|g'
+
+INSTALLATION_DIRS=     bin share/newspipe share/doc/newspipe
+INSTALLATION_DIRS+=    share/examples/newspipe
+
+do-install:
+       cd ${WRKSRC};                                                   \
+       ${INSTALL_SCRIPT} newspipe ${PREFIX}/bin;                       \
+       for f in cache.py newspipe.py opml.py; do                       \
+       ${INSTALL_SCRIPT} $${f} ${PREFIX}/share/newspipe;               \
+       done;                                                           \
+       for f in manual.html readme; do                                 \
+       ${INSTALL_DATA} $${f} ${PREFIX}/share/doc/newspipe;             \
+       done;                                                           \
+       for f in newspipe.ini test.opml; do                             \
+       ${INSTALL_DATA} $${f} ${PREFIX}/share/examples/newspipe;        \
+       done
+
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r f89935c689d9 -r 26287b50087b mail/newspipe/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/newspipe/PLIST       Sat Dec 03 06:34:01 2005 +0000
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/12/03 06:34:01 schmonz Exp $
+bin/newspipe
+share/doc/newspipe/manual.html
+share/doc/newspipe/readme
+share/examples/newspipe/newspipe.ini
+share/examples/newspipe/test.opml
+share/newspipe/cache.py
+share/newspipe/newspipe.py
+share/newspipe/opml.py
+@dirrm share/newspipe
+@dirrm share/examples/newspipe
+@dirrm share/doc/newspipe
diff -r f89935c689d9 -r 26287b50087b mail/newspipe/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/newspipe/distinfo    Sat Dec 03 06:34:01 2005 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/12/03 06:34:01 schmonz Exp $
+
+SHA1 (newspipe.1.1.9.zip) = 6adb2553a32c997f8d51495ef75659b81b08144e
+RMD160 (newspipe.1.1.9.zip) = d322545faead198dad908f675038558b133db0cf
+Size (newspipe.1.1.9.zip) = 76060 bytes
+SHA1 (patch-aa) = 4d1577f8f6376b1ef6f317348697680470795c6f
+SHA1 (patch-ab) = 69933506636914f28d0c2f9746862e8a7bec67c2
diff -r f89935c689d9 -r 26287b50087b mail/newspipe/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/newspipe/patches/patch-aa    Sat Dec 03 06:34:01 2005 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/12/03 06:34:01 schmonz Exp $
+
+--- newspipe.py.orig   2005-07-17 21:23:28.000000000 -0400
++++ newspipe.py
+@@ -57,6 +57,7 @@ except ImportError:
+     import dummy_threading as _threading
+     has_threading = False
+ 
++sys.path.append("@LOCALBASE@/share/html2text")
+ has_html2text = True
+ try:
+     from html2text import *
diff -r f89935c689d9 -r 26287b50087b mail/newspipe/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/newspipe/patches/patch-ab    Sat Dec 03 06:34:01 2005 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 2005/12/03 06:34:01 schmonz Exp $
+
+--- newspipe.orig      2005-12-03 01:21:02.000000000 -0500
++++ newspipe
+@@ -0,0 +1,7 @@
++#!/bin/sh
++set -e
++if [ ! -d ~/.newspipe ]; then
++      mkdir ~/.newspipe
++fi
++cd ~/.newspipe
++exec @PYTHONBIN@ @PREFIX@/share/newspipe/newspipe.py $*



Home | Main Index | Thread Index | Old Index