pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/py-feedparser Update to 4.0. From the changelog:
details: https://anonhg.NetBSD.org/pkgsrc/rev/d947d8b2357a
branches: trunk
changeset: 504868:d947d8b2357a
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Tue Dec 27 14:33:22 2005 +0000
description:
Update to 4.0. From the changelog:
* Support for Atom 1.0.
* Support for iTunes extensions.
* Support for dc:contributor.
* Universal Feed Parser now captures the feed's namespaces. See
Namespace Handling for details.
* Lots of things have been renamed to match Atom 1.0 terminology.
issued is now entries[i].published, modified is now entries[i].updated,
and url is now href everywhere. You can still access these elements
with the old names, so you shouldn't need to change any existing
code, but don't be surprised if you can't find them during
debugging.
* category and categories have been replaced by tags, see feed.tags
and entries[i].tags. The old names still work.
* mode is gone from all detail and content dictionaries. It was
never terribly useful, since Universal Feed Parser unescapes
content automatically.
* entries[i].source is now a dictionary of feed metadata as per
section 4.2.11 of RFC 4287. Universal Feed Parser no longer
supports the RSS 2.0's source element.
* Content in unknown namespaces is no longer discarded (bug 993305)
* Lots of other bug fixes.
diffstat:
textproc/py-feedparser/DESCR | 13 +++++++------
textproc/py-feedparser/Makefile | 4 ++--
textproc/py-feedparser/distinfo | 8 ++++----
3 files changed, 13 insertions(+), 12 deletions(-)
diffs (51 lines):
diff -r f47843394f2e -r d947d8b2357a textproc/py-feedparser/DESCR
--- a/textproc/py-feedparser/DESCR Tue Dec 27 14:00:53 2005 +0000
+++ b/textproc/py-feedparser/DESCR Tue Dec 27 14:33:22 2005 +0000
@@ -1,14 +1,15 @@
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.
+RSS 0.91, RSS 0.92, RSS 0.93, RSS 0.94, RSS 1.0, RSS 2.0, Atom 0.3,
+Atom 1.0, and CDF feeds. It also parses several popular extension
+modules, including Dublin Core and Apple's iTunes extensions.
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.
+in a single file, feedparser.py, and it has one primary 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 f47843394f2e -r d947d8b2357a textproc/py-feedparser/Makefile
--- a/textproc/py-feedparser/Makefile Tue Dec 27 14:00:53 2005 +0000
+++ b/textproc/py-feedparser/Makefile Tue Dec 27 14:33:22 2005 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2005/04/11 21:47:42 tv Exp $
+# $NetBSD: Makefile,v 1.8 2005/12/27 14:33:22 schmonz Exp $
#
-DISTNAME= feedparser-3.3
+DISTNAME= feedparser-4.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=feedparser/}
diff -r f47843394f2e -r d947d8b2357a textproc/py-feedparser/distinfo
--- a/textproc/py-feedparser/distinfo Tue Dec 27 14:00:53 2005 +0000
+++ b/textproc/py-feedparser/distinfo Tue Dec 27 14:33:22 2005 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2005/02/24 14:48:48 agc Exp $
+$NetBSD: distinfo,v 1.5 2005/12/27 14:33:22 schmonz Exp $
-SHA1 (feedparser-3.3.zip) = 30f2d197efe69dd85c8bedd9258ff34b8c1aa15c
-RMD160 (feedparser-3.3.zip) = 082a4d0052027afbbd51190acde882fdebce43ee
-Size (feedparser-3.3.zip) = 255518 bytes
+SHA1 (feedparser-4.0.zip) = 9ad071e26de46a4faea0db9fe0cf793926656dbd
+RMD160 (feedparser-4.0.zip) = 9b674cfec65000fe66d1a990acb55ef4ecd7c63d
+Size (feedparser-4.0.zip) = 282513 bytes
Home |
Main Index |
Thread Index |
Old Index