[Bug 242463] devel/mercurial: Update to 5.4

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon May 18 19:35:57 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242463

Charlie Li <ml+freebsd at vishwin.info> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ml+freebsd at vishwin.info

--- Comment #38 from Charlie Li <ml+freebsd at vishwin.info> ---
(In reply to Kurt Jaeger from comment #25)
.pyc and .pyo only work for Python 2. In order to package properly for Python
3, conditionals are needed:

%%PYTHON2%%%%PYTHON_SITELIBDIR%%/mercurial/__modulepolicy__.pyc
%%PYTHON2%%%%PYTHON_SITELIBDIR%%/mercurial/__modulepolicy__.pyo
%%PYTHON3%%%%PYTHON_SITELIBDIR%%/mercurial/__pycache__/__modulepolicy__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON3%%%%PYTHON_SITELIBDIR%%/mercurial/__pycache__/__modulepolicy__.cpython-%%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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.


More information about the freebsd-python mailing list