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 开发者_Go百科library from the developer's site?
Have a look here, you have to install a local portfile repositories.
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.
精彩评论