pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/py-feedparser Import Universal Feed Parser 3....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cb64b6852272
branches:  trunk
changeset: 477139:cb64b6852272
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Sun Jun 27 06:31:20 2004 +0000

description:
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:

 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(+), 0 deletions(-)

diffs (58 lines):

diff -r cae8f88d59f1 -r cb64b6852272 textproc/py-feedparser/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-feedparser/DESCR      Sun Jun 27 06:31:20 2004 +0000
@@ -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 -r cae8f88d59f1 -r cb64b6852272 textproc/py-feedparser/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-feedparser/Makefile   Sun Jun 27 06:31:20 2004 +0000
@@ -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@localhost
+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 -r cae8f88d59f1 -r cb64b6852272 textproc/py-feedparser/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-feedparser/PLIST      Sun Jun 27 06:31:20 2004 +0000
@@ -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 -r cae8f88d59f1 -r cb64b6852272 textproc/py-feedparser/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-feedparser/distinfo   Sun Jun 27 06:31:20 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index