mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-24 11:16:28 +00:00
Improve Macports installs
This commit is contained in:
parent
eb580988bc
commit
c14d734137
@ -192,7 +192,8 @@ package () {
|
||||
elif [ "$PACKAGE_MANAGER" == 'yum' ]; then
|
||||
yum install -y $1
|
||||
elif [ "$PACKAGE_MANAGER" == 'port' ]; then
|
||||
port install $1
|
||||
# Unintuitive, but this skips all promps which should assume Y
|
||||
port -N install $1
|
||||
elif [ "$PACKAGE_MANAGER" == 'brew' ]; then
|
||||
brew install $1
|
||||
else
|
||||
@ -223,7 +224,8 @@ sudo_package () {
|
||||
elif [ "$PACKAGE_MANAGER" == 'yum' ]; then
|
||||
sudo yum install -y $1
|
||||
elif [ "$PACKAGE_MANAGER" == 'port' ]; then
|
||||
sudo port install $1
|
||||
# Unintuitive, but this skips all promps which should assume Y
|
||||
sudo port -N install $1
|
||||
elif [ "$PACKAGE_MANAGER" == 'brew' ]; then
|
||||
brew install $1
|
||||
else
|
||||
|
@ -9,11 +9,17 @@ case "$PACKAGE_MANAGER" in
|
||||
# Non-standard packages
|
||||
sudo_package 'the_silver_searcher md5sha1sum gradle go bash apache-ant'
|
||||
# Python packages
|
||||
sudo_package 'python27 py27-pip py27-six python36 py36-pip py36-six'
|
||||
sudo_package 'python27 py27-ipython py27-pip py27-six py27-tox py27-flake8 py27-virtualenv'
|
||||
sudo_package 'python36 py36-ipython py36-pip py36-six py36-tox py36-flake8 py36-virtualenv'
|
||||
sudo port select --set python python27
|
||||
sudo port select --set python2 python27
|
||||
sudo port select --set python3 python36
|
||||
sudo port select --set ipython py27-ipython
|
||||
sudo port select --set ipython2 py27-ipython
|
||||
sudo port select --set ipython3 py36-ipython
|
||||
sudo port select --set pip pip27
|
||||
sudo port select --set tox tox27
|
||||
sudo port select --set flake8 flake8-27
|
||||
sudo port select --set virtualenv virtualenv27
|
||||
# Macvim with ruby and python support
|
||||
# sudo_package 'macvim +ruby +python27'
|
||||
@ -31,10 +37,3 @@ case "$PACKAGE_MANAGER" in
|
||||
sudo_package 'build-essential vim golang-go'
|
||||
;;
|
||||
esac
|
||||
|
||||
# Install ruby gems
|
||||
# TODO: Install RVM and other ruby requirements and get ruby 1.9.2
|
||||
sudo gem install rake
|
||||
|
||||
# install python packages
|
||||
sudo pip install -U pip ipython flake8 virtualenv tox
|
||||
|
Loading…
Reference in New Issue
Block a user