summaryrefslogtreecommitdiff
path: root/textproc/py-feedparser
diff options
context:
space:
mode:
authorschmonz <schmonz>2004-06-27 06:31:20 +0000
committerschmonz <schmonz>2004-06-27 06:31:20 +0000
commit97d688547d30a3faf5a54b7a662f2bb4cfd5f431 (patch)
treeb5062e896118dc96e59e60c33b67354c466294c3 /textproc/py-feedparser
parente7857801c51d7553c4d1ce306affdaeba7f9cb16 (diff)
downloadpkgsrc-97d688547d30a3faf5a54b7a662f2bb4cfd5f431.tar.gz
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.
Diffstat (limited to 'textproc/py-feedparser')
-rw-r--r--textproc/py-feedparser/DESCR14
-rw-r--r--textproc/py-feedparser/Makefile21
-rw-r--r--textproc/py-feedparser/PLIST3
-rw-r--r--textproc/py-feedparser/distinfo4
4 files changed, 42 insertions, 0 deletions
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