Python app installed with -2.7 suffix - how to avoid?

Ryan Schmidt ryandesign at macports.org
Thu Feb 24 20:03:49 PST 2011


On Feb 24, 2011, at 10:51, Alexander Skwar wrote:

> I installed s3cmd 1.0.0 based on the 0.9.9 Portfile in the tree
> http://trac.macports.org/browser/trunk/dports/net/s3cmd/Portfile
> My 1.0.0 Portfile is here: http://macports.pastebin.com/Uie43wj2
> 
> I basically just changed the version number and python2.5 to python2.7.
> 
> After having done "port install s3cmd" to install it, I ended up with a
> s3cmd-2.7 command.
> 
> What do I have to change in the Portfile, so that I do NOT get
> the -2.7 suffix?

Add this line to the portfile:

python.link_binaries_suffix

That is, you're telling it to use a blank suffix, instead of the default "-2.7" suffix.





More information about the macports-users mailing list