[Bug 283790] textproc/py-bracex: Version went backwards

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 02 Jan 2025 08:19:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283790

            Bug ID: 283790
           Summary: textproc/py-bracex: Version went backwards
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: matthew@FreeBSD.org
          Reporter: chris@chrullrich.net
          Assignee: matthew@FreeBSD.org
             Flags: maintainer-feedback?(matthew@FreeBSD.org)

The latest update to textproc/py-bracex changed DISTVERSION from 2.5 to
2.5.post1, which becomes a PORTVERSION of 2.5.p1, and this is less than the
previous version:

$ pkg version -t 2.5 2.5.p1
<

Suggested patch attached. It looks fairly ugly because I hit a problem with
USES=python where DISTVERSION is used in a number of places. Because overriding
both DISTVERSION and PORTVERSION is not permitted, I had to copy the things
that use DISTVERSION.

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