问题
I am installing one library for python from MacPorts. But macports version of the library is older than actual development svn version. Is it possible to specify a custom location for a port installation in MacPorts so I could install latest library from the developer's site?
回答1:
Have a look here, you have to install a local portfile repositories.
回答2:
If you simply want the latest version, couldn't you just not install the old version?
If you are planning to build and deploy the svn version yourself and want to test it while not removing the old version, you might find virtualenv useful. It allows you to deploy a parallel Python environment with its own independent set of libraries.
I'm still not clear on your requirements, so I hope the above helps somehow.
来源:https://stackoverflow.com/questions/2566357/macports-manual-port-location