Installation.Gentoo - noxrepo/nox-classic GitHub Wiki
mkdir -p /usr/local/portage/foo/dev-python/twisted/files cd /usr/local/portage/foo/dev-python/twisted wget http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-python/twisted/twisted-8.2.0-r2.ebuild cd files wget http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-python/twisted/files/twisted-8.2.0_tests.patch wget http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-python/twisted/files/twisted-2.1.0-zsh-head.patch wget http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-python/twisted/files/twisted-2.1.0-echo-less.patch ebuild /usr/local/portage/foo/dev-python/twisted/twisted-8.2.0-r2.ebuild manifest
Then, add =dev-python/twisted-10.1.0 and =dev-lang/swig-2.0.2 to /etc/portage/package.mask to prevent these from upgrading (since newer version are not compatible) .
sudo emerge dev-lang/swig dev-libs/boost dev-python/twisted