pkgsrc/textproc/py-feedparser/Makefile

20 lines
518 B
Makefile
Raw Normal View History

Update to 5.2.1. From the changelog: * Fix #22 (pip package keeps upgrading all the time) * Support PyPy * Remove the HTTP Status 9001 test that caused unit test tracebacks * Remove the completely-untested HTML tidy code * Remove BeautifulSoup as a dependency * Remove the XFN microformat parsing code * Remove the rel_enclosure microformat parsing code * Remove the rel_hcard microformat parsing code * Remove the rel_tag microformat parsing code * Replace the regex-based RFC 822 date parser with a procedural one * Replace the Python-licensed W3DTF date parser * Support HTML5 audio/source/video element relative URL's * Remove the unparsed itunes_keywords key from the result dictionary * Fix issue 321 just a little more (yet another code path was missed) * Issue 62 (support georss and gml namespaces) * Issue 296 (GUID's are always treated like relative URI's) * Issue 334 (media:restriction element content is not returned) * Issue 335 (sub-elements of media:group are not parsed and returned) * Issue 342 (support multiple dc:creator elements) * Issue 357 (loose parser breaks ampersands in link element URL's) * Issue 374 (support the Podlove Simple Chapters namespace) * Issue 380 (support media:rating element) * Issue 384 (fix chardet support in Python 3) * Issue 389 (elements in unknown uppercase namespaces are ignored) * Issue 392 (tags element subverts 'tags' key in result dictionary) * Issue 396 (Podlove Simple Chapters version 1.0 causes a KeyError) * Issue 399 (docs call `request_headers` parameter `extra_headers`) * Issue 401 (support additional dcterms and media namespaces elements) * Issue 404 (support asctime datetime strings with timezone information) * Issue 407 (decode forward slashes encoded as character entities) * Issue 421 (delay chardet invocation as long as possible) * Issue 422 (add return types docstrings) * Issue 433 (update the list of allowed MathML elements and attributes)
2015-10-31 15:18:32 +01:00
# $NetBSD: Makefile,v 1.27 2015/10/31 14:18:32 schmonz Exp $
Update to 5.2.1. From the changelog: * Fix #22 (pip package keeps upgrading all the time) * Support PyPy * Remove the HTTP Status 9001 test that caused unit test tracebacks * Remove the completely-untested HTML tidy code * Remove BeautifulSoup as a dependency * Remove the XFN microformat parsing code * Remove the rel_enclosure microformat parsing code * Remove the rel_hcard microformat parsing code * Remove the rel_tag microformat parsing code * Replace the regex-based RFC 822 date parser with a procedural one * Replace the Python-licensed W3DTF date parser * Support HTML5 audio/source/video element relative URL's * Remove the unparsed itunes_keywords key from the result dictionary * Fix issue 321 just a little more (yet another code path was missed) * Issue 62 (support georss and gml namespaces) * Issue 296 (GUID's are always treated like relative URI's) * Issue 334 (media:restriction element content is not returned) * Issue 335 (sub-elements of media:group are not parsed and returned) * Issue 342 (support multiple dc:creator elements) * Issue 357 (loose parser breaks ampersands in link element URL's) * Issue 374 (support the Podlove Simple Chapters namespace) * Issue 380 (support media:rating element) * Issue 384 (fix chardet support in Python 3) * Issue 389 (elements in unknown uppercase namespaces are ignored) * Issue 392 (tags element subverts 'tags' key in result dictionary) * Issue 396 (Podlove Simple Chapters version 1.0 causes a KeyError) * Issue 399 (docs call `request_headers` parameter `extra_headers`) * Issue 401 (support additional dcterms and media namespaces elements) * Issue 404 (support asctime datetime strings with timezone information) * Issue 407 (decode forward slashes encoded as character entities) * Issue 421 (delay chardet invocation as long as possible) * Issue 422 (add return types docstrings) * Issue 433 (update the list of allowed MathML elements and attributes)
2015-10-31 15:18:32 +01:00
DISTNAME= feedparser-5.2.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc python
Update to 5.2.1. From the changelog: * Fix #22 (pip package keeps upgrading all the time) * Support PyPy * Remove the HTTP Status 9001 test that caused unit test tracebacks * Remove the completely-untested HTML tidy code * Remove BeautifulSoup as a dependency * Remove the XFN microformat parsing code * Remove the rel_enclosure microformat parsing code * Remove the rel_hcard microformat parsing code * Remove the rel_tag microformat parsing code * Replace the regex-based RFC 822 date parser with a procedural one * Replace the Python-licensed W3DTF date parser * Support HTML5 audio/source/video element relative URL's * Remove the unparsed itunes_keywords key from the result dictionary * Fix issue 321 just a little more (yet another code path was missed) * Issue 62 (support georss and gml namespaces) * Issue 296 (GUID's are always treated like relative URI's) * Issue 334 (media:restriction element content is not returned) * Issue 335 (sub-elements of media:group are not parsed and returned) * Issue 342 (support multiple dc:creator elements) * Issue 357 (loose parser breaks ampersands in link element URL's) * Issue 374 (support the Podlove Simple Chapters namespace) * Issue 380 (support media:rating element) * Issue 384 (fix chardet support in Python 3) * Issue 389 (elements in unknown uppercase namespaces are ignored) * Issue 392 (tags element subverts 'tags' key in result dictionary) * Issue 396 (Podlove Simple Chapters version 1.0 causes a KeyError) * Issue 399 (docs call `request_headers` parameter `extra_headers`) * Issue 401 (support additional dcterms and media namespaces elements) * Issue 404 (support asctime datetime strings with timezone information) * Issue 407 (decode forward slashes encoded as character entities) * Issue 421 (delay chardet invocation as long as possible) * Issue 422 (add return types docstrings) * Issue 433 (update the list of allowed MathML elements and attributes)
2015-10-31 15:18:32 +01:00
MASTER_SITES= ${MASTER_SITE_PYPI:=f/feedparser/}
MAINTAINER= schmonz@NetBSD.org
Update to 5.2.1. From the changelog: * Fix #22 (pip package keeps upgrading all the time) * Support PyPy * Remove the HTTP Status 9001 test that caused unit test tracebacks * Remove the completely-untested HTML tidy code * Remove BeautifulSoup as a dependency * Remove the XFN microformat parsing code * Remove the rel_enclosure microformat parsing code * Remove the rel_hcard microformat parsing code * Remove the rel_tag microformat parsing code * Replace the regex-based RFC 822 date parser with a procedural one * Replace the Python-licensed W3DTF date parser * Support HTML5 audio/source/video element relative URL's * Remove the unparsed itunes_keywords key from the result dictionary * Fix issue 321 just a little more (yet another code path was missed) * Issue 62 (support georss and gml namespaces) * Issue 296 (GUID's are always treated like relative URI's) * Issue 334 (media:restriction element content is not returned) * Issue 335 (sub-elements of media:group are not parsed and returned) * Issue 342 (support multiple dc:creator elements) * Issue 357 (loose parser breaks ampersands in link element URL's) * Issue 374 (support the Podlove Simple Chapters namespace) * Issue 380 (support media:rating element) * Issue 384 (fix chardet support in Python 3) * Issue 389 (elements in unknown uppercase namespaces are ignored) * Issue 392 (tags element subverts 'tags' key in result dictionary) * Issue 396 (Podlove Simple Chapters version 1.0 causes a KeyError) * Issue 399 (docs call `request_headers` parameter `extra_headers`) * Issue 401 (support additional dcterms and media namespaces elements) * Issue 404 (support asctime datetime strings with timezone information) * Issue 407 (decode forward slashes encoded as character entities) * Issue 421 (delay chardet invocation as long as possible) * Issue 422 (add return types docstrings) * Issue 433 (update the list of allowed MathML elements and attributes)
2015-10-31 15:18:32 +01:00
HOMEPAGE= https://pypi.python.org/pypi/feedparser
COMMENT= Parse RSS and Atom feeds in Python
Update to 5.1. From the changelog: * Extensive, extensive unit test refactoring * Convert the Docbook documentation to ReST * Include the documentation in the source distribution * Consolidate the disparate README files into one * Support Jython somewhat (almost all unit tests pass) * Support Python 3.2 * Fix Python 3 issues exposed by improved unit tests * Fix international domain name issues exposed by improved unit tests * Issue 148 (loose parser doesn't always return unicode strings) * Issue 204 (FeedParserDict behavior should not be controlled by `assert`) * Issue 247 (mssql date parser uses hardcoded tokyo timezone) * Issue 249 (KeyboardInterrupt and SystemExit exceptions being caught) * Issue 250 (`updated` can be a 9-tuple or a string, depending on context) * Issue 252 (running setup.py in Python 3 fails due to missing sgmllib) * Issue 253 (document that text/plain content isn't sanitized) * Issue 260 (Python 3 doesn't decompress gzip'ed or deflate'd content) * Issue 261 (popping from empty tag list) * Issue 262 (docs are missing from distribution files) * Issue 264 (vcard parser crashes on non-ascii characters) * Issue 265 (http header comparisons are case sensitive) * Issue 271 (monkey-patching sgmllib breaks other libraries) * Issue 272 (can't pass bytes or str to `parse()` in Python 3) * Issue 275 (`_parse_date()` doesn't catch OverflowError) * Issue 276 (mutable types used as default values in `parse()`) * Issue 277 (`python3 setup.py install` fails) * Issue 281 (`_parse_date()` doesn't catch ValueError) * Issue 282 (`_parse_date()` crashes when passed `None`) * Issue 285 (crash on empty xmlns attribute) * Issue 286 ('apos' character entity not handled properly) * Issue 289 (add an option to disable microformat parsing) * Issue 290 (Blogger's invalid img tags are unparseable) * Issue 292 (atom id element not explicitly supported) * Issue 294 ('categories' key exists but raises KeyError) * Issue 297 (unresolvable external doctype causes crash) * Issue 298 (nested nodes clobber actual values) * Issue 300 (performance improvements) * Issue 303 (unicode characters cause crash during relative uri resolution) * Remove "Hot RSS" support since the format doesn't actually exist * Remove the old feedparser.org website files from the source * Remove the feedparser command line interface * Remove the Zope interoperability hack * Remove extraneous whitespace
2012-01-11 17:50:52 +01:00
LICENSE= 2-clause-bsd
2012-02-04 13:45:36 +01:00
USE_LANGUAGES= #none
do-test:
cd ${WRKSRC}/feedparser && ${PYTHONBIN} feedparsertest.py
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"