aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-08-19 11:52:29 +0000
committerJohn Marino <marino@FreeBSD.org>2014-08-19 11:52:29 +0000
commit352da671e8cc74fa43e4d1b4ce33bf31b4717bea (patch)
treecd8a224fe0f4b68d76146954d2c0e2d8d03b4cc6
parent80d88a60d7ed4531419f51f40fb9aca40b5bcb2c (diff)
downloadports-352da671e8cc74fa43e4d1b4ce33bf31b4717bea.tar.gz
ports-352da671e8cc74fa43e4d1b4ce33bf31b4717bea.zip
www/rss2email: Upgrade version 2.70 => 2.71 and assign maintainer
This is the first part of a two-part PR, and it involves upgrading rss2email. The second part will relocate the port. During the first part, the following changed: * python prefix added to package name * USE_PYTHON converted to USES=python * Upgraded to version 2.71 * Assign maintainership to submitter * Update the comment * Note GPLv2 and GPLv3 dual licensing * Improve RUN_DEPENDS specification * Note conflict with py-rss2email3 PR: 190381 Submitted by: Stephen R. Guglielmo Tweaked by: marino
Notes
Notes: svn path=/head/; revision=365371
-rw-r--r--mail/rss2email/Makefile25
-rw-r--r--mail/rss2email/distinfo4
-rw-r--r--mail/rss2email/pkg-descr11
3 files changed, 25 insertions, 15 deletions
diff --git a/mail/rss2email/Makefile b/mail/rss2email/Makefile
index 4768e8482973..37d3450e1bf3 100644
--- a/mail/rss2email/Makefile
+++ b/mail/rss2email/Makefile
@@ -2,19 +2,27 @@
# $FreeBSD$
PORTNAME= rss2email
-PORTVERSION= 2.70
+PORTVERSION= 2.71
CATEGORIES= mail python
MASTER_SITES= http://www.allthingsrss.com/rss2email/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Read newsfeeds in your email client
+MAINTAINER= srg@guglielmo.us
+COMMENT= Emails posts from subscribed RSS/Atom newsfeeds
-RUN_DEPENDS= py*-feedparser>=0:${PORTSDIR}/textproc/py-feedparser \
- py*-html2text>=0:${PORTSDIR}/textproc/py-html2text
+LICENSE= GPLv2 GPLv3
+LICENSE_COMB= dual
-USE_PYTHON= yes
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}feedparser>=5.0.1:${PORTSDIR}/textproc/py-feedparser \
+ ${PYTHON_PKGNAMEPREFIX}html2text>=3.0.1:${PORTSDIR}/textproc/py-html2text
+
+USES= python:2
NO_BUILD= yes
-PLIST_FILES= bin/r2e %%DATADIR%%/${PORTNAME}.py
+
+CONFLICTS_INSTALL= py*-rss2email-3.*
+
+PLIST_FILES= bin/r2e \
+ %%DATADIR%%/${PORTNAME}.py
PLIST_DIRS= %%DATADIR%%
PORTEXAMPLES= config.py.example
@@ -27,10 +35,9 @@ post-patch:
${WRKSRC}/rss2email.py
do-install:
- @${MKDIR} ${STAGEDIR}${DATADIR}
+ @${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.py ${STAGEDIR}${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/r2e ${STAGEDIR}${PREFIX}/bin
- @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/config.py.example ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
diff --git a/mail/rss2email/distinfo b/mail/rss2email/distinfo
index ba347d868d6e..a942272d54f3 100644
--- a/mail/rss2email/distinfo
+++ b/mail/rss2email/distinfo
@@ -1,2 +1,2 @@
-SHA256 (rss2email-2.70.tar.gz) = 3882be0c87e3fca7c66ca006ba7311293da737a7e6ee128844422140a4fa6835
-SIZE (rss2email-2.70.tar.gz) = 57961
+SHA256 (rss2email-2.71.tar.gz) = d5245197a5034410405f1f5794610b84bf26c0c40c8d05fe0895116797a99b31
+SIZE (rss2email-2.71.tar.gz) = 63268
diff --git a/mail/rss2email/pkg-descr b/mail/rss2email/pkg-descr
index f718b6776836..d9d4a94304d3 100644
--- a/mail/rss2email/pkg-descr
+++ b/mail/rss2email/pkg-descr
@@ -1,5 +1,8 @@
-rss2email is a simple Python script that lets you subscribe to a
-list of XML newsfeeds and get new items sent to you by email.
+rss2email is a python script that lets you subscribe to a list of
+RSS or Atom feeds and get new posts sent to you by email. It is
+generally run via cron, but can be run manually as well.
-Author: Aaron Swartz <me@aaronsw.com>
-WWW: http://rss2email.infogami.com/
+This is the original rss2email project and requires python 2. It
+will not run on python 3.
+
+WWW: http://www.allthingsrss.com/rss2email/