Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jan 2019 21:57:18 +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: r489923 - head/devel/py-jaraco.classes
Message-ID:  <201901102157.x0ALvI4Y080359@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Thu Jan 10 21:57:18 2019
New Revision: 489923
URL: https://svnweb.freebsd.org/changeset/ports/489923

Log:
  Fix build with Python 3

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

Modified: head/devel/py-jaraco.classes/Makefile
==============================================================================
--- head/devel/py-jaraco.classes/Makefile	Thu Jan 10 21:47:56 2019	(r489922)
+++ head/devel/py-jaraco.classes/Makefile	Thu Jan 10 21:57:18 2019	(r489923)
@@ -26,8 +26,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.x0ALvI4Y080359>