Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jan 2019 21:57:34 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r489926 - head/devel/py-jaraco.logging
Message-ID:  <201901102157.x0ALvYOv080686@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901102157.x0ALvYOv080686>