2007-05-27 10:06:06 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.4 2007/05/27 14:06:06 martynas 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"
|
|
|
|
|
2007-05-27 10:06:06 -04:00
|
|
|
V= 4.1
|
|
|
|
DISTNAME= feedparser-${V}
|
2006-06-03 05:19:52 -04:00
|
|
|
PKGNAME= py-${DISTNAME}p0
|
2007-05-27 10:06:06 -04:00
|
|
|
CATEGORIES= textproc lang/python
|
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
|
|
|
|
|
|
|
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/}
|
2007-05-27 10:06:06 -04:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
|
|
feedparser-tests-${V}${EXTRACT_SUFX}
|
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
|
|
|
EXTRACT_SUFX= .zip
|
|
|
|
|
|
|
|
MODULES= lang/python
|
|
|
|
|
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
|
|
|
|
|
2007-05-27 10:06:06 -04:00
|
|
|
do-regress:
|
|
|
|
cd ${WRKSRC} && ${MODPY_BIN} feedparsertest.py
|
|
|
|
|
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
|
|
|
.include <bsd.port.mk>
|