pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/py-xlrd 1.1.0:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5747c6ddcc67
branches:  trunk
changeset: 367375:5747c6ddcc67
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Aug 31 09:27:44 2017 +0000

description:
1.1.0:
Fix for parsing of merged cells containing a single cell reference in xlsx files.
Fix for ?invalid literal for int() with base 10: ?true?? when reading some xlsx files.
Make xldate_as_datetime available to import direct from xlrd.
Build universal wheels.
Sphinx documentation.
Document the problem with XML vulnerabilities in xlsx files and mitigation measures.
Fix NameError on has_defaults is not defined.
Some whitespace and code style tweaks.
Make example in README compatible with both Python 2 and 3.
Add default value for cells containing errors that causeed parsing of some xlsx files to fail.
Add Python 3.6 to the list of supported Python versions, drop 3.3 and 2.6.
Use generator expressions to avoid unnecessary lists in memory.
Document unicode encoding used in Excel files from Excel 97 onwards.
Report hyperlink errors in R1C1 syntax.

diffstat:

 textproc/py-xlrd/Makefile |  11 ++++++-----
 textproc/py-xlrd/PLIST    |  17 +++++++++++------
 textproc/py-xlrd/distinfo |  10 +++++-----
 3 files changed, 22 insertions(+), 16 deletions(-)

diffs (79 lines):

diff -r e97f4cc61ae1 -r 5747c6ddcc67 textproc/py-xlrd/Makefile
--- a/textproc/py-xlrd/Makefile Thu Aug 31 09:14:29 2017 +0000
+++ b/textproc/py-xlrd/Makefile Thu Aug 31 09:27:44 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2016/06/08 17:43:41 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2017/08/31 09:27:44 adam Exp $
 
-DISTNAME=      xlrd-0.9.3
+DISTNAME=      xlrd-1.1.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=x/xlrd/}
@@ -10,9 +10,10 @@
 COMMENT=       Python library to extract data from Microsoft Excel spreadsheet files
 LICENSE=       modified-bsd
 
-USE_LANGUAGES=         #none
+USE_LANGUAGES=         # none
 
-PYTHON_SELF_CONFLICT=  yes
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && ${MV} runxlrd.py runxlrd${PYVERSSUFFIX}.py || ${TRUE}
 
-.include "../../lang/python/distutils.mk"
+.include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r e97f4cc61ae1 -r 5747c6ddcc67 textproc/py-xlrd/PLIST
--- a/textproc/py-xlrd/PLIST    Thu Aug 31 09:14:29 2017 +0000
+++ b/textproc/py-xlrd/PLIST    Thu Aug 31 09:27:44 2017 +0000
@@ -1,6 +1,10 @@
-@comment $NetBSD: PLIST,v 1.7 2014/08/08 13:15:32 obache Exp $
-bin/runxlrd.py
-${PYSITELIB}/${EGG_FILE}
+@comment $NetBSD: PLIST,v 1.8 2017/08/31 09:27:44 adam Exp $
+bin/runxlrd${PYVERSSUFFIX}.py
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/xlrd/__init__.py
 ${PYSITELIB}/xlrd/__init__.pyc
 ${PYSITELIB}/xlrd/__init__.pyo
@@ -13,6 +17,10 @@
 ${PYSITELIB}/xlrd/compdoc.py
 ${PYSITELIB}/xlrd/compdoc.pyc
 ${PYSITELIB}/xlrd/compdoc.pyo
+${PYSITELIB}/xlrd/examples/namesdemo.xls
+${PYSITELIB}/xlrd/examples/xlrdnameAPIdemo.py
+${PYSITELIB}/xlrd/examples/xlrdnameAPIdemo.pyc
+${PYSITELIB}/xlrd/examples/xlrdnameAPIdemo.pyo
 ${PYSITELIB}/xlrd/formatting.py
 ${PYSITELIB}/xlrd/formatting.pyc
 ${PYSITELIB}/xlrd/formatting.pyo
@@ -22,9 +30,6 @@
 ${PYSITELIB}/xlrd/info.py
 ${PYSITELIB}/xlrd/info.pyc
 ${PYSITELIB}/xlrd/info.pyo
-${PYSITELIB}/xlrd/licences.py
-${PYSITELIB}/xlrd/licences.pyc
-${PYSITELIB}/xlrd/licences.pyo
 ${PYSITELIB}/xlrd/sheet.py
 ${PYSITELIB}/xlrd/sheet.pyc
 ${PYSITELIB}/xlrd/sheet.pyo
diff -r e97f4cc61ae1 -r 5747c6ddcc67 textproc/py-xlrd/distinfo
--- a/textproc/py-xlrd/distinfo Thu Aug 31 09:14:29 2017 +0000
+++ b/textproc/py-xlrd/distinfo Thu Aug 31 09:27:44 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2015/11/04 02:00:05 agc Exp $
+$NetBSD: distinfo,v 1.7 2017/08/31 09:27:44 adam Exp $
 
-SHA1 (xlrd-0.9.3.tar.gz) = 1970c6a0a4ff7582e8c80b5b1efdc725de215113
-RMD160 (xlrd-0.9.3.tar.gz) = 45382a5e8c98ca43f65148a1aba3b47cf7f64e93
-SHA512 (xlrd-0.9.3.tar.gz) = 8b1480b1b0eb40435c33e6494e3f1c960d97a4e5a7f5a30d1b418485a88e4c6d2721501646eb129d9fce0bcd775aee50b866807b26da77b5c2d35d977bb247d0
-Size (xlrd-0.9.3.tar.gz) = 178490 bytes
+SHA1 (xlrd-1.1.0.tar.gz) = cb048309af7710ccb4e3d2c6a0515a52fc18d3f1
+RMD160 (xlrd-1.1.0.tar.gz) = a388fd7831f07f47877f5044ce2d131a36765f7b
+SHA512 (xlrd-1.1.0.tar.gz) = b58f8d2febc0381ebbddac140139a9a216b5abbc25c11dfbf16fee94c87c84916e6710660542e24bb769163792af000947e3e91616142a82a2b532e59093dbfe
+Size (xlrd-1.1.0.tar.gz) = 541397 bytes



Home | Main Index | Thread Index | Old Index