[Bug 256826] dns/py-namebench fails to detect correct python version

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 25 Jun 2021 12:12:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256826

            Bug ID: 256826
           Summary: dns/py-namebench fails to detect correct python
                    version
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: jgh@FreeBSD.org
          Reporter: tech-lists@zyxst.net
          Assignee: jgh@FreeBSD.org
             Flags: maintainer-feedback?(jgh@FreeBSD.org)

Hi,

py38-namebench-1.3.1_1 fails to detect correct python version when it runs.

context: 
built with poudriere-devel poudriere-devel-3.3.99.20210617
portstree last updated: Fri Jun 25 08:56:31 2021 +0800 version: 549828
OS: stable/13-n245218-41d864457dd (on both arm64 and aarch64)

[...]
% namebench.py 
  File "/usr/local/bin/namebench.py", line 28
    print '* Your Python version (%s) is too old! Please upgrade to 2.6+!' %
your_version
          ^
SyntaxError: invalid syntax
[...]

% pkg info -xo python
py38-dnspython-1.16.0          dns/py-dnspython                                 
python3-3_3                    lang/python3                                     
python38-3.8.10                lang/python38

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