Index: head/devel/py-olefile/Makefile =================================================================== --- head/devel/py-olefile/Makefile (revision 460800) +++ head/devel/py-olefile/Makefile (revision 460801) @@ -1,22 +1,25 @@ # Created by: Antoine Brodin # $FreeBSD$ PORTNAME= olefile -PORTVERSION= 0.44 +PORTVERSION= 0.45.1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= antoine@FreeBSD.org COMMENT= Python module to read MS OLE2 files LICENSE= BSD2CLAUSE MIT LICENSE_COMB= multi -LICENSE_FILE_BSD2CLAUSE= ${WRKSRC}/olefile/LICENSE.txt -LICENSE_FILE_MIT= ${WRKSRC}/olefile/LICENSE.txt +LICENSE_FILE= ${WRKSRC}/LICENSE.txt NO_ARCH= yes -USES= dos2unix python zip +USES= python zip USE_PYTHON= distutils autoplist +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +do-test: + @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} tests/test_olefile.py) .include Index: head/devel/py-olefile/distinfo =================================================================== --- head/devel/py-olefile/distinfo (revision 460800) +++ head/devel/py-olefile/distinfo (revision 460801) @@ -1,3 +1,3 @@ -TIMESTAMP = 1483899501 -SHA256 (olefile-0.44.zip) = 61f2ca0cd0aa77279eb943c07f607438edf374096b66332fae1ee64a6f0f73ad -SIZE (olefile-0.44.zip) = 74147 +TIMESTAMP = 1516970331 +SHA256 (olefile-0.45.1.zip) = 2b6575f5290de8ab1086f8c5490591f7e0885af682c7c1793bdaf6e64078d385 +SIZE (olefile-0.45.1.zip) = 112359 Index: head/textproc/py-pyhwp/Makefile =================================================================== --- head/textproc/py-pyhwp/Makefile (revision 460800) +++ head/textproc/py-pyhwp/Makefile (revision 460801) @@ -1,24 +1,24 @@ # Created by: Ryan Steinmetz # $FreeBSD$ PORTNAME= pyhwp PORTVERSION= 0.1b8 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= zi@FreeBSD.org COMMENT= HWP Document Format v5 parser & processor RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>0:security/py-pycrypto@${FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}olefile>=0.40:devel/py-olefile@${FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hypua2jamo>0:textproc/py-hypua2jamo@${FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}docopt>0:devel/py-docopt@${FLAVOR} BUILD_DEPENDS:= ${RUN_DEPENDS} USES= python:2.7 zip USE_PYTHON= distutils autoplist .include Index: head/textproc/py-pyhwp/files/patch-pyhwp_hwp5_plat_olefileio.py =================================================================== --- head/textproc/py-pyhwp/files/patch-pyhwp_hwp5_plat_olefileio.py (nonexistent) +++ head/textproc/py-pyhwp/files/patch-pyhwp_hwp5_plat_olefileio.py (revision 460801) @@ -0,0 +1,30 @@ +--- pyhwp/hwp5/plat/olefileio.py.orig 2014-11-03 13:47:24 UTC ++++ pyhwp/hwp5/plat/olefileio.py +@@ -22,11 +22,10 @@ from hwp5.utils import cached_property + + def is_enabled(): + try: +- import OleFileIO_PL ++ import olefile + except Exception: + return False + else: +- OleFileIO_PL + return True + + +@@ -62,12 +61,12 @@ class OleStorage(OleStorageItem): + + def __init__(self, olefile, path='', parent=None): + if not hasattr(olefile, 'openstream'): +- from OleFileIO_PL import isOleFile ++ from olefile import isOleFile + if not isOleFile(olefile): + from hwp5.errors import InvalidOleStorageError + errormsg = 'Not an OLE2 Compound Binary File.' + raise InvalidOleStorageError(errormsg) +- from OleFileIO_PL import OleFileIO ++ from olefile import OleFileIO + olefile = OleFileIO(olefile) + OleStorageItem.__init__(self, olefile, path, parent) + Property changes on: head/textproc/py-pyhwp/files/patch-pyhwp_hwp5_plat_olefileio.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property