Hi, Your port file is incorrectly set up. Compare to the original
https://github.com/macports/macports-ports/blob/master/python/py-acme/Portfile <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. Chris > On 2 Sep 2019, at 9:10 pm, Bjarne D Mathiesen <[email protected]> > wrote: > > I've got this : > > file:///Volumes/Bjarne/WebServer/MacPorts/newPorts > rsync://rsync.macports.org/release/tarballs/ports.tar [default] > > in my sources.conf > > Now, if I put my py-acme Portfile > https://macports.mathiesen.info/portfiles/python/py-acme/Portfile > into my own port tree, I get this : > > #=> port -d sync > [standard stuff]... > Failed to parse file python/py-acme/Portfile: can't read > "python.version": no such variable > > Total number of ports parsed: 1 > Ports successfully parsed: 0 > Ports failed: 1 > Up-to-date ports skipped: 17 > > +++ > I've "rsync -a" the '_resources' directory into my ports tree. > > I have to explicitly set "python.version 37" in the Portfile in order > for macports to accept it. > > Am I doing something wrong here ?!? > The original macports portfile doesn't explicitly set this value. > > -- > 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
smime.p7s
Description: S/MIME cryptographic signature
