aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--MOVED1
-rw-r--r--www/Makefile1
-rw-r--r--www/py-rssdler/Makefile39
-rw-r--r--www/py-rssdler/distinfo2
-rw-r--r--www/py-rssdler/files/patch-_main12
-rw-r--r--www/py-rssdler/files/patch-main14
-rw-r--r--www/py-rssdler/files/patch-percentUnQuote16
-rw-r--r--www/py-rssdler/files/patch-xmlUnEscape32
-rw-r--r--www/py-rssdler/pkg-descr5
-rw-r--r--www/py-rssdler/pkg-plist4
10 files changed, 1 insertions, 125 deletions
diff --git a/MOVED b/MOVED
index ec2a54fd9ac1..6f8e676e2177 100644
--- a/MOVED
+++ b/MOVED
@@ -3225,3 +3225,4 @@ net-im/libicq||2012-01-18|Runtime is broken. Unmaintained upstream
devel/luajit|lang/luajit|2012-01-19|Compilers typically live in the lang category
devel/p5-DBIx-Class-Schema-PopulateMore||2012-01-20|Removed
textproc/qgoogletranslator||2012-01-20|Has expired: Runtime is broken because Google close free usage of API. Project closed.
+py-rssdler||2012-01-25|Runtime is mostly broken, abandoned upstream. Use www/py-flexget instead
diff --git a/www/Makefile b/www/Makefile
index f802b017126d..95b043cfc519 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1527,7 +1527,6 @@
SUBDIR += py-requests-oauth-hook
SUBDIR += py-restclient
SUBDIR += py-routes
- SUBDIR += py-rssdler
SUBDIR += py-satchmo
SUBDIR += py-scgi
SUBDIR += py-scrapy
diff --git a/www/py-rssdler/Makefile b/www/py-rssdler/Makefile
deleted file mode 100644
index a008d23f2049..000000000000
--- a/www/py-rssdler/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-# New ports collection makefile for: py-rssdler
-# Date created: 02 May 2010
-# Whom: Anonymous <swell.k@gmail.com>
-#
-# $FreeBSD$
-#
-
-PORTNAME= rssdler
-PORTVERSION= 0.4.2
-PORTREVISION= 4
-CATEGORIES= www python
-MASTER_SITES= GOOGLE_CODE
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Automatically grab link elements of an RSS feed
-
-DEPRECATED= Runtime is mostly broken, abandoned upstream. Use www/py-flexget instead
-EXPIRATION_DATE= 2012-01-25
-
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}feedparser>=4.1:${PORTSDIR}/textproc/py-feedparser
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}feedparser>=4.1:${PORTSDIR}/textproc/py-feedparser
-
-LICENSE= GPLv2
-
-USE_PYTHON= yes
-USE_PYDISTUTILS=yes
-WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:S/.//g}
-
-OPTIONS= MECHANIZE "Retrieve pages with mechanize" On
-OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
-
-.include <bsd.port.pre.mk>
-
-.if !defined(WITHOUT_MECHANIZE)
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mechanize>=0.2:${PORTSDIR}/www/py-mechanize
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/www/py-rssdler/distinfo b/www/py-rssdler/distinfo
deleted file mode 100644
index cc879e9172ec..000000000000
--- a/www/py-rssdler/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (rssdler-0.4.2.tar.gz) = 96e1fefd1a6a3325aee1778fcf5ca115dcfb924047024f70e1ddd869017829ce
-SIZE (rssdler-0.4.2.tar.gz) = 36612
diff --git a/www/py-rssdler/files/patch-_main b/www/py-rssdler/files/patch-_main
deleted file mode 100644
index 5f07dd60ab26..000000000000
--- a/www/py-rssdler/files/patch-_main
+++ /dev/null
@@ -1,12 +0,0 @@
-Index: rssdler.py
-===================================================================
---- rssdler.py (revision 169)
-+++ rssdler.py (working copy)
-@@ -2180,6 +2180,7 @@
- elif param == "--purge-saved": _action = 'purge-saved'
- elif param == "--comment-config": _action = 'comment-config'
- signal.signal(signal.SIGINT, signalHandler)
-+ signal.signal(signal.SIGTERM, signalHandler)
- sys.excepthook = setDebug #this is NOT supposed to be called!
- if _action == 'comment-config':
- print(commentConfig)
diff --git a/www/py-rssdler/files/patch-main b/www/py-rssdler/files/patch-main
deleted file mode 100644
index d45b908b33a7..000000000000
--- a/www/py-rssdler/files/patch-main
+++ /dev/null
@@ -1,14 +0,0 @@
-Index: rssdler.py
-===================================================================
---- rssdler.py (revision 169)
-+++ rssdler.py (working copy)
-@@ -2085,6 +2085,9 @@
- raise
- if _runOnce:
- logging.info( u"[Complete] %s" % time.asctime() )
-+ try: codecs.open(os.path.join(getConfig()['global']['workingDir'],
-+ getConfig()['global']['daemonInfo']), 'w', 'utf-8').write('')
-+ except IOError, m: pass
- break
- logging.info( u"[Sleeping] %s" % time.asctime() )
- checkSleep( getConfig()['global']['scanMins'] * 60 )
diff --git a/www/py-rssdler/files/patch-percentUnQuote b/www/py-rssdler/files/patch-percentUnQuote
deleted file mode 100644
index b9c7e108acb9..000000000000
--- a/www/py-rssdler/files/patch-percentUnQuote
+++ /dev/null
@@ -1,16 +0,0 @@
-Index: rssdler.py
-===================================================================
---- rssdler.py (revision 169)
-+++ rssdler.py (working copy)
-@@ -363,9 +363,9 @@ def percentUnQuote( sStr, p=percentunQuoteDict, re
- replaced in order of the sequence"""
- for search in p:
- if search in reserved: continue
-- sStr = sStr.replace( search, p[search] )
-+ sStr = re.sub('(?i)' + re.escape(search), p[search], sStr)
- for search in reserved:
-- sStr = sStr.replace( search, p[search])
-+ sStr = re.sub('(?i)' + re.escape(search), p[search], sStr)
- return sStr
-
- def percentQuote(sStr, urlPart=(2,), pd=percentQuoteDict):
diff --git a/www/py-rssdler/files/patch-xmlUnEscape b/www/py-rssdler/files/patch-xmlUnEscape
deleted file mode 100644
index 75e0e7823ba5..000000000000
--- a/www/py-rssdler/files/patch-xmlUnEscape
+++ /dev/null
@@ -1,32 +0,0 @@
-Index: rssdler.py
-===================================================================
---- rssdler.py (revision 169)
-+++ rssdler.py (working copy)
-@@ -79,6 +79,7 @@ percentQuoteDict = {u'!': u'%21', u' ': u'%20', u'
- u';': u'%3B', u':': u'%3A', u']': u'%5D', u'[': u'%5B', u'?': u'%3F',
- u'!':u'%7E'}
- percentunQuoteDict = dict(((j,i) for (i,j) in percentQuoteDict.items()))
-+xmlUnEscapeDict = { u'&lt;' : u'<', u'&gt;' : u'>', u'&amp;' : u'&' }
- netscapeHeader= """# HTTP Cookie File
- # http://www.netscape.com/newsref/std/cookie_spec.html
- # This is a generated file! Do not edit.\n\n"""
-@@ -327,16 +328,15 @@ def unicodeC( s ):
- raise UnicodeEncodeError(u'could not encode %s to unicode' % s)
- return s
-
--def xmlUnEscape( sStr, percent=0, pd=percentunQuoteDict ):
-+def xmlUnEscape( sStr, percent=0, pd=percentunQuoteDict, xd=xmlUnEscapeDict ):
- u"""xml unescape a string, by default also checking for percent encoded
- characters. set percent=0 to ignore percent encoding.
- can specify your own percent quote dict
- (key, value) pairs are of (search, replace) ordering with percentunQuoteDict
- """
-- sStr = sStr.replace("&lt;", "<")
-- sStr = sStr.replace("&gt;", ">")
- if percent: sStr = percentUnQuote( sStr, pd )
-- sStr = sStr.replace("&amp;", "&")
-+ for search in xd:
-+ sStr = re.sub('(?i)' + re.escape(search), xd[search], sStr)
- return sStr
-
- def percentIsQuoted(sStr, testCases=percentQuoteDict.values()):
diff --git a/www/py-rssdler/pkg-descr b/www/py-rssdler/pkg-descr
deleted file mode 100644
index c2fe4a9a985c..000000000000
--- a/www/py-rssdler/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-A utility to automatically download enclosures and other objects
-linked to from various types of RSS feeds. Works well on podcasts,
-videocasts, and torrents.
-
-WWW: http://code.google.com/p/rssdler/
diff --git a/www/py-rssdler/pkg-plist b/www/py-rssdler/pkg-plist
deleted file mode 100644
index 163482ee25ed..000000000000
--- a/www/py-rssdler/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/rssdler
-%%PYTHON_SITELIBDIR%%/rssdler.py
-%%PYTHON_SITELIBDIR%%/rssdler.pyc
-%%PYTHON_SITELIBDIR%%/rssdler.pyo