From owner-freebsd-python@freebsd.org Tue May 19 14:29:47 2020 Return-Path: Delivered-To: freebsd-python@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 37C542D9E08 for ; Tue, 19 May 2020 14:29:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49RJDq0p3kz4bvj for ; Tue, 19 May 2020 14:29:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 1B5222D9D8E; Tue, 19 May 2020 14:29:47 +0000 (UTC) Delivered-To: python@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1B1BA2D9E06 for ; Tue, 19 May 2020 14:29:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49RJDp72Vxz4bnF for ; Tue, 19 May 2020 14:29:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id ECF87C0BF for ; Tue, 19 May 2020 14:29:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 04JETkSn012538 for ; Tue, 19 May 2020 14:29:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 04JETk5M012537 for python@FreeBSD.org; Tue, 19 May 2020 14:29:46 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 242463] devel/mercurial: Update to 5.4 Date: Tue, 19 May 2020 14:29:47 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: buildisok X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd@dhke.de X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? exp-run- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2020 14:29:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242463 --- Comment #39 from Peter Wullinger --- (In reply to Charlie Li from comment #38) > Kind of annoying since distutils/autoplist doesn't pick up __modulepolicy= __.py since it is auto-generated. Somewhere around the patch to 5.3.1 my changes for setup.py to include __modulepolicy__.py and derivations in the list of reported output files got dropped: def get_outputs(self, include_bytecode=3D1): from itertools import chain import importlib extra_modules =3D [os.path.join(self.build_lib, 'mercurial', '__modulepolicy__.py')] extra_outputs =3D list(extra_modules) if include_bytecode: for extra_module in extra_modules: if self.compile: extra_outputs.append( importlib.util.cache_from_source(filename, optimization= =3D'') ) if self.optimize > 0: extra_outputs.append( importlib.util.cache_from_source(filename, optimization=3Dself.optimize) ) return chain( build_py.get_outputs(self), extra_outputs ) I consider this rather crude, but the proper fix should probably happen upstream, anyway. I'm not sure why SHEBANG_FILES=3D contrib/* does not apply shebangfix to hgweb.cgi (but does properly update hgweb.fcgi= ). --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=