From 7ee5e70b41d44082fdc01e39b0f84cd9373fcb23 Mon Sep 17 00:00:00 2001 From: schmonz Date: Sun, 27 Jun 2004 06:31:20 +0000 Subject: Import Universal Feed Parser 3.0.1. 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. 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. --- textproc/py-feedparser/DESCR | 14 ++++++++++++++ textproc/py-feedparser/Makefile | 21 +++++++++++++++++++++ textproc/py-feedparser/PLIST | 3 +++ textproc/py-feedparser/distinfo | 4 ++++ 4 files changed, 42 insertions(+) create mode 100644 textproc/py-feedparser/DESCR create mode 100644 textproc/py-feedparser/Makefile create mode 100644 textproc/py-feedparser/PLIST create mode 100644 textproc/py-feedparser/distinfo (limited to 'textproc') diff --git a/textproc/py-feedparser/DESCR b/textproc/py-feedparser/DESCR new file mode 100644 index 00000000000..8a255675492 --- /dev/null +++ b/textproc/py-feedparser/DESCR @@ -0,0 +1,14 @@ +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. + +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. diff --git a/textproc/py-feedparser/Makefile b/textproc/py-feedparser/Makefile new file mode 100644 index 00000000000..9919555f2d4 --- /dev/null +++ b/textproc/py-feedparser/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/06/27 06:31:20 schmonz Exp $ +# + +DISTNAME= feedparser-3.0.1 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= textproc +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=feedparser/} +EXTRACT_SUFX= .zip + +MAINTAINER= schmonz@NetBSD.org +HOMEPAGE= http://feedparser.org/ +COMMENT= Parse RSS and Atom feeds in Python + +WRKSRC= ${WRKDIR}/feedparser +USE_BUILDLINK3= yes + +PYDISTUTILSPKG= yes +PYTHON_VERSIONS_ACCEPTED?= 23 23pth 22 22pth 21 21pth + +.include "../../lang/python/extension.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/py-feedparser/PLIST b/textproc/py-feedparser/PLIST new file mode 100644 index 00000000000..408d1f1bd81 --- /dev/null +++ b/textproc/py-feedparser/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/06/27 06:31:20 schmonz Exp $ +${PYSITELIB}/feedparser.py +${PYSITELIB}/feedparser.pyc diff --git a/textproc/py-feedparser/distinfo b/textproc/py-feedparser/distinfo new file mode 100644 index 00000000000..bbf6bdb84f2 --- /dev/null +++ b/textproc/py-feedparser/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/06/27 06:31:20 schmonz Exp $ + +SHA1 (feedparser-3.0.1.zip) = d98da676937b6d01d3a5d34c72b92e79fe91ac01 +Size (feedparser-3.0.1.zip) = 1114383 bytes -- cgit v1.2.3