From b2aa94b5b463c6bc99903298f89cca61c51bdcf9 Mon Sep 17 00:00:00 2001 From: obache Date: Sat, 19 Jan 2013 09:22:36 +0000 Subject: [PATCH] Update py-xlrd to 0.8.0. 0.8.0: This release finally lands the support for both .xls and .xlsx files. Many thanks to John Machin for all his work on making this happen. Opening of .xlsx files is seamless, just use xlrd as you did before and it all should "just work". xlrd 0.8.0 is also the first release that that targets Python 2.6 and 2.7, but no Python 3 just yet. Python 2.5 and below may work but are not supported. If you need to use Python 2.5 or earlier, please stick to xlrd 0.7.x. 0.7.9: This release fixes an annoying merge bug on my part that resulted in a "NameError: global name 'BYTES_X00' is not defined" error where opening certain Excel files. 0.7.8: This release features the following changes: - Compatibility with Python 2.1 and 2.2 is restored. - Fix for github issue #7: assertion error when reading file with xlwt-written bitmap. The assertion is now ignored and a warning logged if verbosity > 0. - superfluous zero bytes at end of xls OBJECT records are now ignored. --- textproc/py-xlrd/Makefile | 5 ++--- textproc/py-xlrd/PLIST | 8 +++++++- textproc/py-xlrd/distinfo | 8 ++++---- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/textproc/py-xlrd/Makefile b/textproc/py-xlrd/Makefile index 00bcb14ba7021..0a77fa03daffe 100644 --- a/textproc/py-xlrd/Makefile +++ b/textproc/py-xlrd/Makefile @@ -1,9 +1,8 @@ -# $NetBSD: Makefile,v 1.6 2012/10/25 06:56:52 asau Exp $ +# $NetBSD: Makefile,v 1.7 2013/01/19 09:22:36 obache Exp $ # -DISTNAME= xlrd-0.7.7 +DISTNAME= xlrd-0.8.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 CATEGORIES= textproc python MASTER_SITES= http://pypi.python.org/packages/source/x/xlrd/ diff --git a/textproc/py-xlrd/PLIST b/textproc/py-xlrd/PLIST index 95272e1a6aa0f..82d155c098012 100644 --- a/textproc/py-xlrd/PLIST +++ b/textproc/py-xlrd/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.5 2012/04/23 13:13:44 obache Exp $ +@comment $NetBSD: PLIST,v 1.6 2013/01/19 09:22:37 obache Exp $ bin/runxlrd.py ${PYSITELIB}/${EGG_FILE} ${PYSITELIB}/xlrd/__init__.py @@ -7,6 +7,9 @@ ${PYSITELIB}/xlrd/__init__.pyo ${PYSITELIB}/xlrd/biffh.py ${PYSITELIB}/xlrd/biffh.pyc ${PYSITELIB}/xlrd/biffh.pyo +${PYSITELIB}/xlrd/book.py +${PYSITELIB}/xlrd/book.pyc +${PYSITELIB}/xlrd/book.pyo ${PYSITELIB}/xlrd/compdoc.py ${PYSITELIB}/xlrd/compdoc.pyc ${PYSITELIB}/xlrd/compdoc.pyo @@ -37,3 +40,6 @@ ${PYSITELIB}/xlrd/timemachine.pyo ${PYSITELIB}/xlrd/xldate.py ${PYSITELIB}/xlrd/xldate.pyc ${PYSITELIB}/xlrd/xldate.pyo +${PYSITELIB}/xlrd/xlsx.py +${PYSITELIB}/xlrd/xlsx.pyc +${PYSITELIB}/xlrd/xlsx.pyo diff --git a/textproc/py-xlrd/distinfo b/textproc/py-xlrd/distinfo index c33c7515f2703..ad466cfb0e1ba 100644 --- a/textproc/py-xlrd/distinfo +++ b/textproc/py-xlrd/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.2 2012/04/23 13:13:44 obache Exp $ +$NetBSD: distinfo,v 1.3 2013/01/19 09:22:37 obache Exp $ -SHA1 (xlrd-0.7.7.tar.gz) = c829729dcfab38fe00b93b5f91147456a7d40abf -RMD160 (xlrd-0.7.7.tar.gz) = 3126668d25bb706d6ad236183784b1df6bbf45b7 -Size (xlrd-0.7.7.tar.gz) = 132736 bytes +SHA1 (xlrd-0.8.0.tar.gz) = 5045e8ec5916029a5483bd0e1376f5b6288c24d7 +RMD160 (xlrd-0.8.0.tar.gz) = b297a0a7ec2fad32d15cf51f66828d93a2f2c628 +Size (xlrd-0.8.0.tar.gz) = 134716 bytes