svn commit: r373775 - head/devel/py-olefile
Antoine Brodin
antoine at FreeBSD.org
Tue Dec 2 17:56:10 UTC 2014
Author: antoine
Date: Tue Dec 2 17:56:09 2014
New Revision: 373775
URL: https://svnweb.freebsd.org/changeset/ports/373775
QAT: https://qat.redports.org/buildarchive/r373775/
Log:
Update to 0.41
Modified:
head/devel/py-olefile/Makefile
head/devel/py-olefile/distinfo
Modified: head/devel/py-olefile/Makefile
==============================================================================
--- head/devel/py-olefile/Makefile Tue Dec 2 17:52:32 2014 (r373774)
+++ head/devel/py-olefile/Makefile Tue Dec 2 17:56:09 2014 (r373775)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= olefile
-PORTVERSION= 0.40
+PORTVERSION= 0.41
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -16,4 +16,13 @@ LICENSE_FILE= ${WRKSRC}/olefile/LICENSE.
USES= dos2unix python zip
USE_PYTHON= distutils autoplist
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+# Remove files not python 3 ready and allow compile again
+post-patch:
+.if ${PYTHON_REL} >= 300
+ ${RM} ${WRKSRC}/olefile/olefile2.py ${WRKSRC}/olefile/test_open_string.py
+.endif
+ ${REINPLACE_CMD} "/install' in sys.argv:/,+1d" ${WRKSRC}/setup.py
+
+.include <bsd.port.post.mk>
Modified: head/devel/py-olefile/distinfo
==============================================================================
--- head/devel/py-olefile/distinfo Tue Dec 2 17:52:32 2014 (r373774)
+++ head/devel/py-olefile/distinfo Tue Dec 2 17:56:09 2014 (r373775)
@@ -1,2 +1,2 @@
-SHA256 (olefile-0.40.zip) = 75e889e2e49a76f7387ea935e54c70fd8762fc56860d86a5695f92111a63c335
-SIZE (olefile-0.40.zip) = 111165
+SHA256 (olefile-0.41.zip) = 1f76a5b8ff0e47dbdd22a4f4aa5bc1c29af0bfb3dc12bc86354ae374ad9192f1
+SIZE (olefile-0.41.zip) = 117775
More information about the svn-ports-all
mailing list