svn commit: r489926 - head/devel/py-jaraco.logging

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Thu Jan 10 21:57:38 UTC 2019


Author: sunpoet
Date: Thu Jan 10 21:57:33 2019
New Revision: 489926
URL: https://svnweb.freebsd.org/changeset/ports/489926

Log:
  Fix build with Python 3

Modified:
  head/devel/py-jaraco.logging/Makefile

Modified: head/devel/py-jaraco.logging/Makefile
==============================================================================
--- head/devel/py-jaraco.logging/Makefile	Thu Jan 10 21:57:28 2019	(r489925)
+++ head/devel/py-jaraco.logging/Makefile	Thu Jan 10 21:57:33 2019	(r489926)
@@ -27,8 +27,10 @@ POST_PLIST=	trim-jaraco-namespace
 
 post-install:
 	@${RM} ${STAGEDIR}${PYTHON_SITELIBDIR}/jaraco/__init__.py*
+	-@${RM} ${STAGEDIR}${PYTHON_SITELIBDIR}/jaraco/__pycache__/__init__.*
+	-@${RMDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/jaraco/__pycache__
 
 trim-jaraco-namespace:
-	@${REINPLACE_CMD} '/jaraco\/__init__.py/d' ${TMPPLIST}
+	@${REINPLACE_CMD} '/jaraco\/__init__\./d; /jaraco\/__pycache__\/__init__\./d' ${TMPPLIST}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list