diff options
author | marino <marino@FreeBSD.org> | 2014-08-19 19:52:29 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2014-08-19 19:52:29 +0800 |
commit | bd74bb5b0d000593119c09cbb0def551341ea9cd (patch) | |
tree | cd8a224fe0f4b68d76146954d2c0e2d8d03b4cc6 | |
parent | 1f77a90375cc4cfe842f0efb9f8955598bfce86e (diff) | |
download | freebsd-ports-gnome-bd74bb5b0d000593119c09cbb0def551341ea9cd.tar.gz freebsd-ports-gnome-bd74bb5b0d000593119c09cbb0def551341ea9cd.tar.zst freebsd-ports-gnome-bd74bb5b0d000593119c09cbb0def551341ea9cd.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
-rw-r--r-- | mail/rss2email/Makefile | 25 | ||||
-rw-r--r-- | mail/rss2email/distinfo | 4 | ||||
-rw-r--r-- | mail/rss2email/pkg-descr | 11 |
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/ |