You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-02 16:44:46 +08:00
More administrivia
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# Run tests over all Python versions in branch python-2.4-2.7
|
||||||
set -e
|
set -e
|
||||||
function finish {
|
function finish {
|
||||||
cd $owd
|
cd $owd
|
||||||
@@ -11,7 +12,9 @@ if ! source ./pyenv-2.4-2.7-versions ; then
|
|||||||
exit $?
|
exit $?
|
||||||
fi
|
fi
|
||||||
if ! source ./setup-python-2.4.sh ; then
|
if ! source ./setup-python-2.4.sh ; then
|
||||||
exit $?
|
rc=$?
|
||||||
|
finish
|
||||||
|
exit $rc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
@@ -22,6 +25,8 @@ for version in $PYVERSIONS; do
|
|||||||
fi
|
fi
|
||||||
make clean && python setup.py develop
|
make clean && python setup.py develop
|
||||||
if ! make check ; then
|
if ! make check ; then
|
||||||
|
finish
|
||||||
|
rc=$?
|
||||||
exit $?
|
exit $?
|
||||||
fi
|
fi
|
||||||
echo === $version ===
|
echo === $version ===
|
||||||
|
@@ -1,4 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# Run tests over all Python versions in branch python-3.3-3.5
|
||||||
|
set -e
|
||||||
function finish {
|
function finish {
|
||||||
cd $owd
|
cd $owd
|
||||||
}
|
}
|
||||||
@@ -25,3 +27,4 @@ for version in $PYVERSIONS; do
|
|||||||
fi
|
fi
|
||||||
echo === $version ===
|
echo === $version ===
|
||||||
done
|
done
|
||||||
|
finish
|
||||||
|
@@ -1,6 +1,14 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# Check out master branch and dependent development master branches
|
||||||
|
set -e
|
||||||
PYTHON_VERSION=3.8.18
|
PYTHON_VERSION=3.8.18
|
||||||
|
|
||||||
|
bs=${BASH_SOURCE[0]}
|
||||||
|
if [[ $0 == $bs ]] ; then
|
||||||
|
echo "This script should be *sourced* rather than run directly through bash"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
function checkout_version {
|
function checkout_version {
|
||||||
local repo=$1
|
local repo=$1
|
||||||
version=${2:-master}
|
version=${2:-master}
|
||||||
@@ -14,18 +22,17 @@ function checkout_version {
|
|||||||
function finish {
|
function finish {
|
||||||
cd $owd
|
cd $owd
|
||||||
}
|
}
|
||||||
|
|
||||||
export PATH=$HOME/.pyenv/bin/pyenv:$PATH
|
|
||||||
owd=$(pwd)
|
owd=$(pwd)
|
||||||
bs=${BASH_SOURCE[0]}
|
trap finish EXIT
|
||||||
if [[ $0 == $bs ]] ; then
|
|
||||||
echo "This script should be *sourced* rather than run directly through bash"
|
export PATH=$HOME/.pyenv/bin/pyenv:$PATHb
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
mydir=$(dirname $bs)
|
mydir=$(dirname $bs)
|
||||||
fulldir=$(readlink -f $mydir)
|
fulldir=$(readlink -f $mydir)
|
||||||
cd $fulldir/..
|
cd $fulldir/..
|
||||||
(cd $fulldir/.. && checkout_version python-spark && checkout_version python-xdis &&
|
(cd $fulldir/.. && checkout_version python-spark && checkout_version python-xdis &&
|
||||||
checkout_version python-uncompyle6)
|
checkout_version python-uncompyle6)
|
||||||
cd $owd
|
|
||||||
rm -v */.python-version >/dev/null 2>&1 || true
|
git pull
|
||||||
|
rm -v */.python-version || true
|
||||||
|
finish
|
||||||
|
@@ -1,10 +1,19 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# Check out python-2.4-to-2.7 and dependent development branches.
|
||||||
|
|
||||||
|
set -e
|
||||||
PYTHON_VERSION=2.4.6
|
PYTHON_VERSION=2.4.6
|
||||||
|
|
||||||
|
bs=${BASH_SOURCE[0]}
|
||||||
|
if [[ $0 == $bs ]] ; then
|
||||||
|
echo "This script should be *sourced* rather than run directly through bash"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
function checkout_version {
|
function checkout_version {
|
||||||
local repo=$1
|
local repo=$1
|
||||||
version=${2:-python-2.4}
|
version=${2:-python-2.4-to-2.7}
|
||||||
echo Checking out $version.4 on $repo ...
|
echo Checking out $version on $repo ...
|
||||||
(cd ../$repo && git checkout $version && pyenv local $PYTHON_VERSION) && \
|
(cd ../$repo && git checkout $version && pyenv local $PYTHON_VERSION) && \
|
||||||
git pull
|
git pull
|
||||||
return $?
|
return $?
|
||||||
@@ -13,16 +22,16 @@ function checkout_version {
|
|||||||
function finish {
|
function finish {
|
||||||
cd $owd
|
cd $owd
|
||||||
}
|
}
|
||||||
|
|
||||||
owd=$(pwd)
|
owd=$(pwd)
|
||||||
bs=${BASH_SOURCE[0]}
|
trap finish EXIT
|
||||||
if [[ $0 == $bs ]] ; then
|
|
||||||
echo "This script should be *sourced* rather than run directly through bash"
|
export PATH=$HOME/.pyenv/bin/pyenv:$PATH
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
mydir=$(dirname $bs)
|
mydir=$(dirname $bs)
|
||||||
fulldir=$(readlink -f $mydir)
|
fulldir=$(readlink -f $mydir)
|
||||||
(cd $fulldir/.. && checkout_version python-spark && checkout_version python-xdis python-2.4-to-2.7 &&
|
(cd $fulldir/.. && checkout_version python-spark && checkout_version python-xdis python-2.4-to-2.7 &&
|
||||||
checkout_version python-uncompyle6)
|
checkout_version python-uncompyle6)
|
||||||
|
|
||||||
|
git pull
|
||||||
rm -v */.python-version || true
|
rm -v */.python-version || true
|
||||||
finish
|
finish
|
||||||
|
@@ -1,7 +1,14 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# Check out python-3.0-to-3.2 and dependent development branches.
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
PYTHON_VERSION=3.0.1
|
PYTHON_VERSION=3.0.1
|
||||||
pyenv local $PYTHON_VERSION
|
|
||||||
|
bs=${BASH_SOURCE[0]}
|
||||||
|
if [[ $0 == $bs ]] ; then
|
||||||
|
echo "This script should be *sourced* rather than run directly through bash"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
# FIXME put some of the below in a common routine
|
# FIXME put some of the below in a common routine
|
||||||
function checkout_version {
|
function checkout_version {
|
||||||
@@ -16,14 +23,10 @@ function checkout_version {
|
|||||||
function finish {
|
function finish {
|
||||||
cd $owd
|
cd $owd
|
||||||
}
|
}
|
||||||
|
owd=$(pwd)
|
||||||
|
trap finish EXIT
|
||||||
|
|
||||||
export PATH=$HOME/.pyenv/bin/pyenv:$PATH
|
export PATH=$HOME/.pyenv/bin/pyenv:$PATH
|
||||||
owd=$(pwd)
|
|
||||||
bs=${BASH_SOURCE[0]}
|
|
||||||
if [[ $0 == $bs ]] ; then
|
|
||||||
echo "This script should be *sourced* rather than run directly through bash"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
mydir=$(dirname $bs)
|
mydir=$(dirname $bs)
|
||||||
fulldir=$(readlink -f $mydir)
|
fulldir=$(readlink -f $mydir)
|
||||||
@@ -31,6 +34,6 @@ cd $fulldir/..
|
|||||||
(cd $fulldir/.. && checkout_version python-spark master && checkout_version python-xdis &&
|
(cd $fulldir/.. && checkout_version python-spark master && checkout_version python-xdis &&
|
||||||
checkout_version python-uncompyle6)
|
checkout_version python-uncompyle6)
|
||||||
|
|
||||||
git checkout python-3.0-to-3.2 && git pull && pyenv local $PYTHON_VERSION
|
git pull
|
||||||
rm -v */.python-version || true
|
rm -v */.python-version || true
|
||||||
finish
|
finish
|
||||||
|
@@ -1,7 +1,13 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# Check out python-3.3-to-3.5 and dependent development branches.
|
||||||
set -e
|
set -e
|
||||||
PYTHON_VERSION=3.3.7
|
PYTHON_VERSION=3.3.7
|
||||||
pyenv local $PYTHON_VERSION
|
|
||||||
|
bs=${BASH_SOURCE[0]}
|
||||||
|
if [[ $0 == $bs ]] ; then
|
||||||
|
echo "This script should be *sourced* rather than run directly through bash"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
# FIXME put some of the below in a common routine
|
# FIXME put some of the below in a common routine
|
||||||
function checkout_version {
|
function checkout_version {
|
||||||
@@ -16,22 +22,17 @@ function checkout_version {
|
|||||||
function finish {
|
function finish {
|
||||||
cd $owd
|
cd $owd
|
||||||
}
|
}
|
||||||
|
owd=$(pwd)
|
||||||
|
trap finish EXIT
|
||||||
|
|
||||||
export PATH=$HOME/.pyenv/bin/pyenv:$PATH
|
export PATH=$HOME/.pyenv/bin/pyenv:$PATH
|
||||||
owd=$(pwd)
|
|
||||||
bs=${BASH_SOURCE[0]}
|
|
||||||
if [[ $0 == $bs ]] ; then
|
|
||||||
echo "This script should be *sourced* rather than run directly through bash"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
mydir=$(dirname $bs)
|
|
||||||
fulldir=$(readlink -f $mydir)
|
fulldir=$(readlink -f $mydir)
|
||||||
cd $fulldir/..
|
cd $fulldir/..
|
||||||
(cd $fulldir/.. && checkout_version python-spark master && checkout_version python-xdis &&
|
(cd $fulldir/.. && checkout_version python-spark master && checkout_version python-xdis &&
|
||||||
checkout_version python-uncompyle6)
|
checkout_version python-uncompyle6)
|
||||||
rm -v */.python-version || true
|
rm -v */.python-version || true
|
||||||
|
|
||||||
git checkout python-3.3-to-3.5 && git pull && pyenv local $PYTHON_VERSION
|
git pull
|
||||||
rm -v */.python-version || true
|
rm -v */.python-version || true
|
||||||
finish
|
finish
|
||||||
|
Reference in New Issue
Block a user