[Bug 272771] Mk/Uses/python.mk: Correct the .whl file name when DISTNAME contains a hyphen

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 28 Jul 2023 07:43:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272771

            Bug ID: 272771
           Summary: Mk/Uses/python.mk: Correct the .whl file name when
                    DISTNAME contains a hyphen
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: yuri@freebsd.org

Created attachment 243662
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=243662&action=edit
patch

When DISTNAME contains a hyphen and this DISTNAME value is set as project
version - the wheel file name contains ".post" in place of "-".

For example, DISTVERSION=1.1.0-3 would become "1.1.0.post3" in the wheel name.

See the cad/py-amaranth port for an example of this: it uses the equivalent of
this patch as a workaround.

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