[MacPorts] #67889: kerberos5: @1.21.1_1 - deviation in Portfile & Python311 dependency

MacPorts noreply at macports.org
Wed Aug 2 14:36:02 UTC 2023


#67889: kerberos5: @1.21.1_1 - deviation in Portfile & Python311 dependency
------------------------+------------------------
  Reporter:  Zweihorn   |      Owner:  ryandesign
      Type:  defect     |     Status:  accepted
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.8.1
Resolution:             |   Keywords:
      Port:  kerberos5  |
------------------------+------------------------

Comment (by Zweihorn):

 Replying to [comment:1 ryandesign]:

 > I will want to contact the developers to report that the configure
 script should not allow a wrong python value, if I can determine how to do
 so.

 Thank you for the insight and I appreciate your concern.

 Just as an idea and I tested this.  Maybe an intermediate fix in the
 Portfile could be:

 {{{
 set python_branch   3.11
 set python_version  [strsed ${python_branch} {s|\.||}]

 . . .

 depends_build       port:python${python_version}

 configure.python    ${prefix}/bin/python${python_branch}
 }}}

 I derived this from the MacPorts Guide ref
 https://guide.macports.org/index.html#reference.portgroup.python.variables

 However, a "PortGroup Python" would be an overkill or not helpful at all,
 I guess.  That is why I introduced the a.m. local variables and schematic.

 Hope this helps.

-- 
Ticket URL: <https://trac.macports.org/ticket/67889#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list