2009-08-05 07:01:14 +02:00
|
|
|
# $NetBSD: Makefile,v 1.15 2009/08/05 05:01:14 schmonz Exp $
|
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.
2004-06-27 08:31:20 +02:00
|
|
|
#
|
|
|
|
|
2009-08-05 07:01:14 +02:00
|
|
|
DISTNAME= feedparser-2009-03-04-4.2-pre-294-svn
|
|
|
|
PKGNAME= ${PYPKGPREFIX}-feedparser-4.2pre294
|
2004-07-22 11:15:59 +02:00
|
|
|
CATEGORIES= textproc python
|
Update to a prerelease 4.2 snapshot, as 4.1 no longer copes
particularly well with many feeds and there's no indication that
a release is imminent. From the changelog:
* Support for parsing microformats, including rel=enclosure, rel=tag,
XFN, and hCard.
* Updated the whitelist of acceptable HTML elements and attributes based
on the latest draft of the HTML 5 specification.
* Support for CSS Sanitization. (Previous versions of Universal Feed
Parser simply stripped all inline styles.) Many thanks to Sam Ruby for
implementing this, despite my insistence that it was impossible.
* Support for SVG Sanitization.
* Support for MathML Sanitization. Many thanks to Jacques Distler for
patiently debugging this feature.
* IRI support for every element that can contain a URI.
* Ability to disable relative URI resolution.
* Command-line arguments and alternate serializers, for manipulating
Universal Feed Parser from shell scripts or other non-Python sources.
* More robust parsing of author email addresses, misencoded win-1252
content, rel=self links, and better detection of HTML content in
elements with ambiguous content types.
2008-08-07 16:56:11 +02:00
|
|
|
MASTER_SITES= http://nightly.feedparser.org/dist/
|
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.
2004-06-27 08:31:20 +02:00
|
|
|
EXTRACT_SUFX= .zip
|
|
|
|
|
|
|
|
MAINTAINER= schmonz@NetBSD.org
|
|
|
|
HOMEPAGE= http://feedparser.org/
|
|
|
|
COMMENT= Parse RSS and Atom feeds in Python
|
|
|
|
|
2008-06-12 04:14:13 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
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.
2004-06-27 08:31:20 +02:00
|
|
|
PYDISTUTILSPKG= yes
|
|
|
|
|
|
|
|
.include "../../lang/python/extension.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|