summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2012-01-11 16:50:52 +0000
committerschmonz <schmonz@pkgsrc.org>2012-01-11 16:50:52 +0000
commit7c824a7949101e4b140772e31d0d4008ada566c5 (patch)
treed1d831d2246908d91e814e4d841476e790daabe3 /textproc
parent46e2a6be8429f5e9b2a67cca3eb1459133b96114 (diff)
downloadpkgsrc-7c824a7949101e4b140772e31d0d4008ada566c5.tar.gz
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
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-feedparser/Makefile13
-rw-r--r--textproc/py-feedparser/PLIST6
-rw-r--r--textproc/py-feedparser/distinfo8
3 files changed, 16 insertions, 11 deletions
diff --git a/textproc/py-feedparser/Makefile b/textproc/py-feedparser/Makefile
index 9071780f537..1876390e2e5 100644
--- a/textproc/py-feedparser/Makefile
+++ b/textproc/py-feedparser/Makefile
@@ -1,23 +1,24 @@
-# $NetBSD: Makefile,v 1.17 2011/03/16 16:43:35 drochner Exp $
+# $NetBSD: Makefile,v 1.18 2012/01/11 16:50:52 schmonz Exp $
#
-DISTNAME= feedparser-5.0.1
+DISTNAME= feedparser-5.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc python
MASTER_SITES= http://feedparser.googlecode.com/files/
-EXTRACT_SUFX= .zip
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://feedparser.googlecode.com/
COMMENT= Parse RSS and Atom feeds in Python
+LICENSE= 2-clause-bsd
-# XXXschmonz: python 2.4 -> 3.1
PKG_DESTDIR_SUPPORT= user-destdir
-PYDISTUTILSPKG= yes
+PYTHON_VERSIONS_INCLUDE_3X= yes
+
+PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
do-test:
cd ${WRKSRC}/feedparser && ${PYTHONBIN} feedparsertest.py
-.include "../../lang/python/extension.mk"
+.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-feedparser/PLIST b/textproc/py-feedparser/PLIST
index 42bd7df623d..d3324989d33 100644
--- a/textproc/py-feedparser/PLIST
+++ b/textproc/py-feedparser/PLIST
@@ -1,4 +1,8 @@
-@comment $NetBSD: PLIST,v 1.2 2004/08/28 14:53:01 schmonz Exp $
+@comment $NetBSD: PLIST,v 1.3 2012/01/11 16:50:53 schmonz Exp $
+${PYSITELIB}/feedparser-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/PKG-INFO
+${PYSITELIB}/feedparser-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/SOURCES.txt
+${PYSITELIB}/feedparser-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/dependency_links.txt
+${PYSITELIB}/feedparser-${PKGVERSION}-py${PYVERSSUFFIX}.egg-info/top_level.txt
${PYSITELIB}/feedparser.py
${PYSITELIB}/feedparser.pyc
${PYSITELIB}/feedparser.pyo
diff --git a/textproc/py-feedparser/distinfo b/textproc/py-feedparser/distinfo
index 0b67ac99703..8e84897444c 100644
--- a/textproc/py-feedparser/distinfo
+++ b/textproc/py-feedparser/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.11 2011/03/16 16:43:35 drochner Exp $
+$NetBSD: distinfo,v 1.12 2012/01/11 16:50:53 schmonz Exp $
-SHA1 (feedparser-5.0.1.zip) = 6b6840030718fc768790d45c54aaabc49ed30f55
-RMD160 (feedparser-5.0.1.zip) = 6c3001b53bd4b227cb435fdec6578f3d3f8853db
-Size (feedparser-5.0.1.zip) = 2022807 bytes
+SHA1 (feedparser-5.1.tar.gz) = 88503d130abb4becdbeb57dacb2974fe97b0977b
+RMD160 (feedparser-5.1.tar.gz) = 416a9cb60d00f98f4c598b9a5e0cd48c2270fb34
+Size (feedparser-5.1.tar.gz) = 278613 bytes