[Bug 268893] Mk/Uses/python.mk: need a way to specify wheel name != PORTNAME

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 14 Jan 2023 01:32:21 UTC

--- Comment #26 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:


commit 952e0dba497e276c99d0ffb78cecb77a65349832
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2023-01-13 04:12:01 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2023-01-14 01:31:41 +0000

    python.mk: normalise wheel filename arguments in PEP517_INSTALL_CMD

    The living binary distribution format specification derived from
    PEP-427 [0] prescribes that:

      In distribution names, any run of -_. characters (HYPHEN-MINUS,
      LOW LINE and FULL STOP) should be replaced with _ (LOW LINE), and
      uppercase characters should be replaced with corresponding lowercase
      ones. This is equivalent to PEP 503 normalisation followed by
      replacing - with _. Tools consuming wheels must be prepared to
      accept . (FULL STOP) and uppercase letters, however, as these
      were allowed by an earlier version of this specification.

    This fixes staging for packages built under PEP-517 with dashes
    (HYPHEN-MINUS) in their names.


    Reported by: amdmi3
    Tested by: yasu, rhurlin
    PR: 268893
    With hat: python
    Approved by: mentors (implicit)

 Mk/Uses/python.mk | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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