[?bug?] PortGroup python 1.0

Bjarne D Mathiesen macintosh at mathiesen.info
Tue Sep 3 00:36:48 UTC 2019


Christopher Jones wrote:
> Hi,
> 
> Your port file is incorrectly set up. Compare to the original
> 
> https://github.com/macports/macports-ports/blob/master/python/py-acme/Portfile
> 
> you are missing the subport bits. This part is not optional, its part of
> how the python PG works. ${python.version} is only defined within each
> subport the PG sets up.

Adding

if {${name} ne ${subport}} {
...
}

fixed it 👍🏻😃

> 
> Chris
> 

🤓👍🏻 thanks 👍🏻🤓

-- 
Bjarne D Mathiesen
Korsør ; Danmark ; Europa
----------------------------------------------------------------------
denne besked er skrevet i et (næsten) M$-frit miljø
MacOS X 10.13.6 High Sierra :
   17" 2011 MacBook Pro ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3
   2012 Mac Pro ; 2 x 3.46GHz 6-Core Xeon ; 48GB
MacOS X 10.6.8 Snow Leopard :
   Mac Mini ; 2GHz Core 2 Duo (64 bit) ; 4GB (3GB actual) 667MHz
   Mac Mini ; 1.83GHz Core Duo (32 bit) ; 2GB 667Mhz


More information about the macports-users mailing list