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.
comparison 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 |
comparison
equal
deleted
inserted
replaced
136:4f080a258623 | 137:e08c1ff80cad |
---|---|
64 # activate environment | 64 # activate environment |
65 source "dist/v/${virtualenvActivationPath}" | 65 source "dist/v/${virtualenvActivationPath}" |
66 | 66 |
67 # WORKAROUND: | 67 # WORKAROUND: |
68 # we need to make sure we have a current version of setuptools to install Kallithea's dependencies | 68 # we need to make sure we have a current version of setuptools to install Kallithea's dependencies |
69 pip install 'setuptools>=17.1' | 69 pip2.7 install 'setuptools>=17.1' || die "Failed to install setuptools, aborting!" |
70 | 70 |
71 # WORKAROUND: | 71 # WORKAROUND: |
72 # _after_ installation on --config we need a certain version of paster to create the initial config file... | 72 # _after_ installation on --config we need a certain version of paster to create the initial config file... |
73 pip install 'PasteScript==2.0.2' | 73 pip2.7 install 'PasteScript==2.0.2' || die "Failed to install PasteScript, aborting!" |
74 | 74 |
75 # WORKAROUND: | 75 # WORKAROUND: |
76 # Kallithea's attempt to install Mercurial fails, so we do it first | 76 # Kallithea's attempt to install Mercurial fails, so we do it first |
77 pip install 'mercurial>=2.9,<3.8' | 77 pip2.7 install 'mercurial>=2.9,<3.8' || die "Failed to install Mercurial, aborting!" |
78 | 78 |
79 # perform automatic installation, includes dependencies | 79 # perform automatic installation, includes dependencies |
80 echo | 80 echo |
81 echo "===> output by Kallithea's setup.py" | 81 echo "===> output by Kallithea's setup.py" |
82 python setup.py install | 82 python2.7 setup.py install |
83 retval=$? | 83 retval=$? |
84 echo "<=== Kallithea's setup.py is done, resuming ebuild code" | 84 echo "<=== Kallithea's setup.py is done, resuming ebuild code" |
85 echo | 85 echo |
86 | 86 |
87 # quit now if failed | 87 # quit now if failed |