summaryrefslogtreecommitdiff
path: root/textproc/py-feedparser/Makefile
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2004-06-27 06:31:20 +0000
committerschmonz <schmonz@pkgsrc.org>2004-06-27 06:31:20 +0000
commit7ee5e70b41d44082fdc01e39b0f84cd9373fcb23 (patch)
treeb5062e896118dc96e59e60c33b67354c466294c3 /textproc/py-feedparser/Makefile
parenta4ca35722531fa312c6a7a3115f0b32402ca66ee (diff)
downloadpkgsrc-7ee5e70b41d44082fdc01e39b0f84cd9373fcb23.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/Makefile')
-rw-r--r--textproc/py-feedparser/Makefile21
1 files changed, 21 insertions, 0 deletions
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"