2006-06-03 05:19:52 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.3 2006/06/03 09:49:24 alek Exp $
|
Initial import of py-feedparser-3.3.
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.
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-10-28 05:53:49 -04:00
|
|
|
|
|
|
|
COMMENT= "RSS and Atom feeds parser written in Python"
|
|
|
|
|
2006-02-02 04:25:47 -05:00
|
|
|
DISTNAME= feedparser-4.1
|
2006-06-03 05:19:52 -04:00
|
|
|
PKGNAME= py-${DISTNAME}p0
|
Initial import of py-feedparser-3.3.
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.
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-10-28 05:53:49 -04:00
|
|
|
CATEGORIES= textproc
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.feedparser.org/
|
|
|
|
|
2006-02-02 04:25:47 -05:00
|
|
|
MAINTAINER= Romain Gaillegue <romain@biscotte.net>
|
Initial import of py-feedparser-3.3.
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.
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-10-28 05:53:49 -04:00
|
|
|
|
|
|
|
# PSF license <http://www.python.org/2.1/license.html>
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=feedparser/}
|
|
|
|
EXTRACT_SUFX= .zip
|
|
|
|
|
|
|
|
MODULES= lang/python
|
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2006-02-02 04:25:47 -05:00
|
|
|
WRKDIST= ${WRKDIR}
|
Initial import of py-feedparser-3.3.
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.
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-10-28 05:53:49 -04:00
|
|
|
|
2006-02-02 04:25:47 -05:00
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-feedparser
|
Initial import of py-feedparser-3.3.
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.
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-10-28 05:53:49 -04:00
|
|
|
# GNU Free Documentation License
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-feedparser
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${DOCSDIR}
|
2006-02-02 04:25:47 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/*.html ${DOCSDIR}
|
|
|
|
${INSTALL_DATA_DIR} ${DOCSDIR}/css
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/css/feedparser.css ${DOCSDIR}/css
|
|
|
|
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/examples/*.{rdf,xml} ${EXAMPLESDIR}
|
Initial import of py-feedparser-3.3.
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.
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-10-28 05:53:49 -04:00
|
|
|
${INSTALL_DATA_DIR} ${DOCSDIR}/images
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/images/*.{gif,png} ${DOCSDIR}/images
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|