diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-07-02 08:56:51 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-07-02 08:56:51 +0000 |
commit | 46ff09015541985fbc9b50ad508dd267a2ad430c (patch) | |
tree | 91c4f79a3e3229f7f685f0c21a5ec034fc039397 /textproc | |
parent | 98ad22aa9642e46f4783e90565ca46de64ebc7fb (diff) | |
download | ports-46ff09015541985fbc9b50ad508dd267a2ad430c.tar.gz ports-46ff09015541985fbc9b50ad508dd267a2ad430c.zip |
Notes
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/py-feedparser/Makefile | 15 | ||||
-rw-r--r-- | textproc/py-feedparser/distinfo | 4 | ||||
-rw-r--r-- | textproc/py-feedparser/pkg-descr | 19 |
3 files changed, 23 insertions, 15 deletions
diff --git a/textproc/py-feedparser/Makefile b/textproc/py-feedparser/Makefile index 0dc56a488aff..8cc9181b5c9e 100644 --- a/textproc/py-feedparser/Makefile +++ b/textproc/py-feedparser/Makefile @@ -7,22 +7,19 @@ # PORTNAME= feedparser -PORTVERSION= 2.76 +PORTVERSION= 3.1 CATEGORIES= textproc python -MASTER_SITES= http://diveintomark.org/projects/feed_parser/ -EXTRACT_SUFX= .py -DISTNAME= ${PORTNAME} +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= feedparser PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@FreeBSD.org -COMMENT= An RSS feed parser +COMMENT= An RSS feed parser written in Python -EXTRACT_CMD= ${CP} -EXTRACT_BEFORE_ARGS= # -EXTRACT_AFTER_ARGS= . +WRKSRC= ${WRKDIR}/${PORTNAME} NO_BUILD= yes -NO_WRKSUBDIR= yes USE_PYTHON= yes +USE_ZIP= yes PLIST_FILES= ${PYTHON_SITELIBDIR:S,^${PREFIX}/,,}/${PORTNAME}.py diff --git a/textproc/py-feedparser/distinfo b/textproc/py-feedparser/distinfo index c089ef76796f..920bcdb0927f 100644 --- a/textproc/py-feedparser/distinfo +++ b/textproc/py-feedparser/distinfo @@ -1,2 +1,2 @@ -MD5 (feedparser.py) = b233c80826705aacaab5b50819b277e7 -SIZE (feedparser.py) = 57429 +MD5 (feedparser-3.1.zip) = 1e499c6195b9f5a5aecc1fce14aa2189 +SIZE (feedparser-3.1.zip) = 1205563 diff --git a/textproc/py-feedparser/pkg-descr b/textproc/py-feedparser/pkg-descr index 414bc24e5577..bcac7a6fcd7a 100644 --- a/textproc/py-feedparser/pkg-descr +++ b/textproc/py-feedparser/pkg-descr @@ -1,5 +1,16 @@ -This is a "universal" feed parser, suitable for reading syndicated feeds as -produced by weblogs, news sites, wikis, and many other types of sites. It -handles Atom feeds, and the 9 different versions of RSS. +Universal Feed Parser is a Python module for downloading and parsing +syndicated feeds. It can handle RSS 0.90, Netscape RSS 0.91, Userland +RSS 0.91, RSS 0.92, RSS 0.93, RSS 0.94, RSS 1.0, RSS 2.0, Atom, and +CDF feeds. -WWW: http://diveintomark.org/projects/feed_parser/ +To use Universal Feed Parser, you will need Python 2.1 or later. +Universal Feed Parser is not meant to run standalone; it is a module +for you to use as part of a larger Python program. + +Universal Feed Parser is easy to use; the module is self-contained in +a single file, feedparser.py, and it has only one public function, +parse. parse takes a number of arguments, but only one is required, +and it can be a URL, a local filename, or a raw string containing feed +data in any format. + +WWW: http://feedparser.org/ |