megacoffee.net Gentoo overlay - legacy mirror
We have moved to Git. This repository is only provided for compatibility with old installations. Learn how to migrate your installation here.
diff dev-vcs/kallithea/kallithea-0.3.1.ebuild @ 137:e08c1ff80cad
dev-vcs/kallithea: forcing Python 2.7, otherwise ebuild will fail on fresh Gentoo installations
author | Daniel Neugebauer <dneuge@energiequant.de> |
---|---|
date | Mon, 28 Mar 2016 16:03:11 +0200 |
parents | 4f080a258623 |
children | 28cb864a4a8f |
line wrap: on
line diff
--- a/dev-vcs/kallithea/kallithea-0.3.1.ebuild Mon Mar 28 15:56:07 2016 +0200 +++ b/dev-vcs/kallithea/kallithea-0.3.1.ebuild Mon Mar 28 16:03:11 2016 +0200 @@ -66,20 +66,20 @@ # WORKAROUND: # we need to make sure we have a current version of setuptools to install Kallithea's dependencies - pip install 'setuptools>=17.1' + pip2.7 install 'setuptools>=17.1' || die "Failed to install setuptools, aborting!" # WORKAROUND: # _after_ installation on --config we need a certain version of paster to create the initial config file... - pip install 'PasteScript==2.0.2' + pip2.7 install 'PasteScript==2.0.2' || die "Failed to install PasteScript, aborting!" # WORKAROUND: # Kallithea's attempt to install Mercurial fails, so we do it first - pip install 'mercurial>=2.9,<3.8' + pip2.7 install 'mercurial>=2.9,<3.8' || die "Failed to install Mercurial, aborting!" # perform automatic installation, includes dependencies echo echo "===> output by Kallithea's setup.py" - python setup.py install + python2.7 setup.py install retval=$? echo "<=== Kallithea's setup.py is done, resuming ebuild code" echo