[MacPorts] #50453: Failed to build py27-pymc

MacPorts noreply at macports.org
Fri May 4 01:06:24 UTC 2018


#50453: Failed to build py27-pymc
---------------------------------+--------------------------------
  Reporter:  sankha.mukherjee@…  |      Owner:  macports-tickets@…
      Type:  defect              |     Status:  new
  Priority:  Normal              |  Milestone:
 Component:  ports               |    Version:  2.3.4
Resolution:                      |   Keywords:
      Port:  py-pymc             |
---------------------------------+--------------------------------

Comment (by reneeotten):

 Michael, I have matched the {{{ compilers.setup}}} line from py-numpy.
 Before submitting a PR I would like to check one more thing with you.
 Looking at the Portfile for py-numpy I also noticed the following code
 snippet:
 {{{
 if {${name} ne ${subport}} {
     # the python PortGroup puts compiler names in build.env and
 destroot.env
     # for this to be done correctly, the following must be located before
 python.versions
     pre-build    { set_compilers }
     pre-destroot { set_compilers }
 }
 }}}

 From the comment it suggests to me that this needs to be done when using
 the python PortGroup? To be honest, I don't really understand what that's
 doing, but also don't see that in any other python Portfile... Am I
 correct to assume that this is specific for the numpy port only and I
 don't need to do this? Thanks!

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


More information about the macports-tickets mailing list