Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 May 2014 19:47:55 GMT
From:      Stephen R Guglielmo <srg@guglielmo.us>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/190381: [Patch] Rename and Update of mail/rss2email Ports
Message-ID:  <201405291947.s4TJltdx093801@cgiserv.freebsd.org>
Resent-Message-ID: <201405291950.s4TJo213026246@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         190381
>Category:       ports
>Synopsis:       [Patch] Rename and Update of mail/rss2email Ports
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 29 19:50:02 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Stephen R Guglielmo
>Release:        10.0-RELEASE
>Organization:
>Environment:
>Description:
This is a patch for a few things:
-Update the conflicts for mail/rss2email3
-Update mail/rss2email2 and take over maintenance
-Rename mail/rss2email to mail/rss2email2 to avoid ambiguity
-Add the entry to MOVED and fix some minor LINT issues
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: MOVED
===================================================================
--- MOVED	(revision 355720)
+++ MOVED	(working copy)
@@ -5930,7 +5930,6 @@
 textproc/glimpse||2014-04-11|Has expired: No more public distfiles
 ftp/ftplocate||2014-04-11|Has expired: Depends on expired textproc/glimpse
 misc/tkman||2014-04-11|Has expired: Depends on expired textproc/glimpse
-devel/asl||2014-04-11|Has expired: Unmaintained since 1997
 net/pcnfsd||2014-04-11|Has expired: Unmaintained since 1997
 cad/chipmunk||2014-04-11|Has expired: Unmaintained since 1999
 graphics/comix||2014-04-11|Has expired: Insists on installing in /usr/local, and uses nautilus2 which is deprecated
@@ -6083,13 +6082,13 @@
 benchmarks/pnetmark||2014-05-04|Has expired: PNET dependency decommissioned Dec 2012
 lang/pnet||2014-05-04|Has expired: Alpha-quality abandonware - Decommissioned Dec 2012 - Use mono
 x11-wm/stumpwm||2014-05-04|Has expired: Broken for more than 4 months
-sysutils/cpupowerd||2014-05-04|Has expired: Not maintained from upstream anymore and only supports ancient AMD K8.
+sysutils/cpupowerd||2014-05-04|Has expired: Not maintained from upstream anymore and only supports ancient AMD K8
 net/pchar||2014-05-04|Has expired: Obsolete, abandoned
 x11-fonts/texcm-ttf||2014-05-04|Has expired: Should be replaced by x11-fonts/stix-fonts
 devel/buildapp||2014-05-05|Has expired: Broken for more than 6 months
 converters/konwert||2014-05-05|Broken with modern compilers, not staged, no upstream
-graphics/gimp-gap||2014-05-05|Broken with gimp 2.8, no release in 5 years.
-games/gnome-games-extra-data||2014-05-05|Not used in GNOME 3.
+graphics/gimp-gap||2014-05-05|Broken with gimp 2.8, no release in 5 years
+games/gnome-games-extra-data||2014-05-05|Not used in GNOME 3
 audio/libshout2|audio/libshout|2014-05-05|Use audio/libshout instead
 devel/bsdlibdwarf||2014-05-06|Has expired: Outdated, included in all supported versions of FreeBSD
 security/yassl|security/cyassl|2014-05-06|Moved to match upstream name
@@ -6118,3 +6117,4 @@
 devel/libgconf-java||2014-05-27|Has expired: Unmaintained, outdated not depend on
 x11/libgnome-java||2014-05-27|Has expired: Unmaintained, outdated not depend on
 security/calife-devel||2014-05-28|Replaced by security/calife
+mail/rss2email|mail/rss2email2|2014-05-29|Renamed to avoid ambiguity with mail/rss2email3
Index: mail/rss2email/Makefile
===================================================================
--- mail/rss2email/Makefile	(revision 355720)
+++ mail/rss2email/Makefile	(working copy)
@@ -1,36 +0,0 @@
-# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
-# $FreeBSD$
-
-PORTNAME=	rss2email
-PORTVERSION=	2.70
-CATEGORIES=	mail python
-MASTER_SITES=	http://www.allthingsrss.com/rss2email/
-
-MAINTAINER=	chifeng@gmail.com
-COMMENT=	Read newsfeeds in your email client
-
-RUN_DEPENDS=	py*-feedparser>=0:${PORTSDIR}/textproc/py-feedparser \
-		py*-html2text>=0:${PORTSDIR}/textproc/py-html2text
-
-USE_PYTHON=	yes
-NO_BUILD=	yes
-PLIST_FILES=	bin/r2e %%DATADIR%%/${PORTNAME}.py
-PLIST_DIRS=	%%DATADIR%%
-PORTEXAMPLES=	config.py.example
-
-OPTIONS_DEFINE=	EXAMPLES
-
-post-patch:
-	@${REINPLACE_CMD} -e 's|@PYTHONCMD@|${PYTHON_CMD}|;s|@DATADIR@|${DATADIR}|'\
-		${WRKSRC}/r2e
-	@${REINPLACE_CMD} -e "s|\([^[:alnum:]]\)c.type\([^[:alnum:]]\)|\1c.get('type','')\2|"\
-		${WRKSRC}/rss2email.py
-
-do-install:
-	@${MKDIR} ${STAGEDIR}${DATADIR}
-	${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>
Index: mail/rss2email/distinfo
===================================================================
--- mail/rss2email/distinfo	(revision 355720)
+++ mail/rss2email/distinfo	(working copy)
@@ -1,2 +0,0 @@
-SHA256 (rss2email-2.70.tar.gz) = 3882be0c87e3fca7c66ca006ba7311293da737a7e6ee128844422140a4fa6835
-SIZE (rss2email-2.70.tar.gz) = 57961
Index: mail/rss2email/files/patch-r2e
===================================================================
--- mail/rss2email/files/patch-r2e	(revision 355720)
+++ mail/rss2email/files/patch-r2e	(working copy)
@@ -1,11 +0,0 @@
---- r2e.orig	2010-10-14 16:54:13.000000000 +0000
-+++ r2e	2010-10-14 17:00:36.000000000 +0000
-@@ -1,2 +1,7 @@
- #!/bin/sh
--python rss2email.py feeds.dat $*
-+set -e
-+if [ ! -d ~/.rss2email ]; then
-+	mkdir ~/.rss2email
-+fi
-+cd ~/.rss2email
-+exec @PYTHONCMD@ @DATADIR@/rss2email.py feeds.dat $*
Index: mail/rss2email/pkg-descr
===================================================================
--- mail/rss2email/pkg-descr	(revision 355720)
+++ mail/rss2email/pkg-descr	(working copy)
@@ -1,5 +0,0 @@
-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.
-
-Author: Aaron Swartz <me@aaronsw.com>
-WWW: http://rss2email.infogami.com/
Index: mail/rss2email2/Makefile
===================================================================
--- mail/rss2email2/Makefile	(revision 0)
+++ mail/rss2email2/Makefile	(working copy)
@@ -0,0 +1,43 @@
+# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	rss2email
+PORTVERSION=	2.71
+CATEGORIES=	mail python
+MASTER_SITES=	http://www.allthingsrss.com/rss2email/
+
+MAINTAINER=	srg@guglielmo.us
+COMMENT=	Emails posts from subscribed RSS/Atom newsfeeds
+
+LICENSE=	GPLv2 GPLv3
+LICENSE_COMB=	dual
+
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}feedparser>=5.0.1:${PORTSDIR}/textproc/py-feedparser \
+			${PYTHON_PKGNAMEPREFIX}html2text>=3.0.1:${PORTSDIR}/textproc/py-html2text
+
+USE_PYTHON=2
+CONFLICTS_INSTALL=py*-rss2email-3.*
+
+PLIST_FILES=	bin/r2e %%DATADIR%%/${PORTNAME}.py %%PORTEXAMPLES%%/config.py.example
+PLIST_DIRS=	%%DATADIR%% %%EXAMPLESDIR%%
+PORTEXAMPLES=	config.py.example
+
+PORTDOCS=		CHANGELOG readme.html
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|@PYTHONCMD@|${PYTHON_CMD}|;s|@DATADIR@|${DATADIR}|'\
+		${WRKSRC}/r2e
+	@${REINPLACE_CMD} -e "s|\([^[:alnum:]]\)c.type\([^[:alnum:]]\)|\1c.get('type','')\2|"\
+		${WRKSRC}/rss2email.py
+
+do-install:
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${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>

Property changes on: mail/rss2email2/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+FreeBSD=%H
\ No newline at end of property
Index: mail/rss2email2/distinfo
===================================================================
--- mail/rss2email2/distinfo	(revision 0)
+++ mail/rss2email2/distinfo	(working copy)
@@ -0,0 +1,2 @@
+SHA256 (rss2email-2.71.tar.gz) = d5245197a5034410405f1f5794610b84bf26c0c40c8d05fe0895116797a99b31
+SIZE (rss2email-2.71.tar.gz) = 63268

Property changes on: mail/rss2email2/distinfo
___________________________________________________________________
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: mail/rss2email2/files/patch-r2e
===================================================================
--- mail/rss2email2/files/patch-r2e	(revision 0)
+++ mail/rss2email2/files/patch-r2e	(working copy)
@@ -0,0 +1,11 @@
+--- r2e.orig	2010-10-14 16:54:13.000000000 +0000
++++ r2e	2010-10-14 17:00:36.000000000 +0000
+@@ -1,2 +1,7 @@
+ #!/bin/sh
+-python rss2email.py feeds.dat $*
++set -e
++if [ ! -d ~/.rss2email ]; then
++	mkdir ~/.rss2email
++fi
++cd ~/.rss2email
++exec @PYTHONCMD@ @DATADIR@/rss2email.py feeds.dat $*

Property changes on: mail/rss2email2/files/patch-r2e
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Index: mail/rss2email2/pkg-descr
===================================================================
--- mail/rss2email2/pkg-descr	(revision 0)
+++ mail/rss2email2/pkg-descr	(working copy)
@@ -0,0 +1,8 @@
+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.
+
+This is the original rss2email project and requires python 2. It
+will not run on python 3.
+
+WWW: http://www.allthingsrss.com/rss2email/

Property changes on: mail/rss2email2/pkg-descr
___________________________________________________________________
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: mail/rss2email3/Makefile
===================================================================
--- mail/rss2email3/Makefile	(revision 355720)
+++ mail/rss2email3/Makefile	(working copy)
@@ -24,7 +24,7 @@
 USE_PYDISTUTILS=yes
 PYDISTUTILS_AUTOPLIST=yes
 
-CONFLICTS_INSTALL=rss2email2
+CONFLICTS_INSTALL=py*-rss2email-2.*
 
 PORTDOCS=	AUTHORS CHANGELOG README
 OPTIONS_DEFINE=	DOCS


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405291947.s4TJltdx093801>