Date: Mon, 18 May 2020 19:35:52 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 242463] devel/mercurial: Update to 5.4 Message-ID: <bug-242463-21822-Dwr1H7vsRE@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-242463-21822@https.bugs.freebsd.org/bugzilla/> References: <bug-242463-21822@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242463 Charlie Li <ml+freebsd@vishwin.info> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ml+freebsd@vishwin.info --- Comment #38 from Charlie Li <ml+freebsd@vishwin.info> --- (In reply to Kurt Jaeger from comment #25) .pyc and .pyo only work for Python 2. In order to package properly for Pyth= on 3, conditionals are needed: %%PYTHON2%%%%PYTHON_SITELIBDIR%%/mercurial/__modulepolicy__.pyc %%PYTHON2%%%%PYTHON_SITELIBDIR%%/mercurial/__modulepolicy__.pyo %%PYTHON3%%%%PYTHON_SITELIBDIR%%/mercurial/__pycache__/__modulepolicy__.cpy= thon-%%PYTHON_SUFFIX%%.opt-1.pyc %%PYTHON3%%%%PYTHON_SITELIBDIR%%/mercurial/__pycache__/__modulepolicy__.cpy= thon-%%PYTHON_SUFFIX%%.pyc Kind of annoying since distutils/autoplist doesn't pick up __modulepolicy__= .py since it is auto-generated. Also, hgweb.cgi needs the shebangfix treatment. --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242463-21822-Dwr1H7vsRE>