svn commit: r365371 - head/mail/rss2email
John Marino
marino at FreeBSD.org
Tue Aug 19 11:52:30 UTC 2014
Author: marino
Date: Tue Aug 19 11:52:29 2014
New Revision: 365371
URL: http://svnweb.freebsd.org/changeset/ports/365371
QAT: https://qat.redports.org/buildarchive/r365371/
Log:
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
Modified:
head/mail/rss2email/Makefile
head/mail/rss2email/distinfo
head/mail/rss2email/pkg-descr
Modified: head/mail/rss2email/Makefile
==============================================================================
--- head/mail/rss2email/Makefile Tue Aug 19 10:40:58 2014 (r365370)
+++ head/mail/rss2email/Makefile Tue Aug 19 11:52:29 2014 (r365371)
@@ -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 at FreeBSD.org
-COMMENT= Read newsfeeds in your email client
+MAINTAINER= srg at 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>
Modified: head/mail/rss2email/distinfo
==============================================================================
--- head/mail/rss2email/distinfo Tue Aug 19 10:40:58 2014 (r365370)
+++ head/mail/rss2email/distinfo Tue Aug 19 11:52:29 2014 (r365371)
@@ -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
Modified: head/mail/rss2email/pkg-descr
==============================================================================
--- head/mail/rss2email/pkg-descr Tue Aug 19 10:40:58 2014 (r365370)
+++ head/mail/rss2email/pkg-descr Tue Aug 19 11:52:29 2014 (r365371)
@@ -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 at 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/
More information about the svn-ports-head
mailing list