File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# /bin/bash
2- owd =$( pwd)
2+ trepan_merge_30_owd =$( pwd)
33cd $( dirname ${BASH_SOURCE[0]} )
44if . ./setup-python-3.0.sh; then
5- git merge python-3.3 -to-3.5
5+ git merge python-3.2 -to-3.5
66fi
7- cd $owd
7+ cd $trepan_merge_30_owd
Original file line number Diff line number Diff line change 11# /bin/bash
2- owd =$( pwd)
2+ trepan_merge_32_owd =$( pwd)
33cd $( dirname ${BASH_SOURCE[0]} )
44if . ./setup-python-3.2.sh; then
55 git merge python-3.6-to-3.10
66fi
7- cd $owd
7+ cd $trepan_merge_32_owd
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11# /bin/bash
2- owd =$( pwd)
2+ trepan_merge_36_owd =$( pwd)
33cd $( dirname ${BASH_SOURCE[0]} )
44if . ./setup-python-3.6.sh; then
55 git merge master
66fi
7- cd $owd
7+ cd $trepan_merge_36_owd
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ PYTHON_VERSION=3.1
3+
4+ # FIXME put some of the below in a common routine
5+ function checkout_version {
6+ local repo=$1
7+ version=${2:- python-3.0-to-3.2}
8+ echo Checking out $version on $repo ...
9+ (cd ../$repo && git checkout $version && pyenv local $PYTHON_VERSION ) && \
10+ git pull
11+ return $?
12+ }
13+
14+ export PATH=$HOME /.pyenv/bin/pyenv:$PATH
15+ python3_trepan_owd=$( pwd)
16+ bs=${BASH_SOURCE[0]}
17+ if [[ $0 == $bs ]] ; then
18+ echo " This script should be *sourced* rather than run directly through bash"
19+ exit 1
20+ fi
21+
22+ mydir=$( dirname $bs )
23+ fulldir=$( readlink -f $mydir )
24+ (cd $fulldir /.. && \
25+ checkout_version python-spark master && \
26+ checkout_version python-xdis && \
27+ checkout_version python-filecache python-3.1-to-3.2 && \
28+ checkout_version pycolumnize python-3.0-to-3.5 && \
29+ checkout_version python-uncompyle6 \
30+ )
31+ cd $owd
32+ rm -v * /.python-version || true
33+
34+ git checkout python-3.0-to-3.1 && pyenv local $PYTHON_VERSION && git pull
35+ cd $python3_trepan_owd
You can’t perform that action at this time.
0 commit comments