Skip to content

Commit f422302

Browse files
committed
Merge branches 'guile-c11' and 'python-ci-fix'
Fix Travis CI builds broken due to the changes in Travis CI build environment since the last successful build. See swig#1798, swig#1799.
2 parents 6cf36d4 + 6c5d00b commit f422302

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Examples/test-suite/python/Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ endif
1111
LANGUAGE = python
1212
PYTHON = $(PYBIN)
1313
PYCODESTYLE = @PYCODESTYLE@
14-
PYCODESTYLE_FLAGS = --ignore=E252,E30,E402,E501,E731,W291,W391
14+
PYCODESTYLE_FLAGS = --ignore=E252,E30,E402,E501,E731,E741,W291,W391
1515

1616
#*_runme.py for Python 2.x, *_runme3.py for Python 3.x
1717
PY2SCRIPTSUFFIX = _runme.py

configure.ac

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ else
622622
PYEPREFIX=`($PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)") 2>/dev/null`
623623
AC_MSG_RESULT($PYEPREFIX)
624624

625-
if test x"$PYOSNAME" = x"nt" -a x"$PYSEPARATOR" = x"\\"; then
625+
if test x"$PYOSNAME" = x"nt" -a x"$PYSEPARATOR" = x'\\'; then
626626
# Windows installations are quite different to posix installations (MinGW path separator is a forward slash)
627627
PYPREFIX=`echo "$PYPREFIX" | sed -e 's,\\\\,/,g'` # Forward slashes are easier to use and even work on Windows most of the time
628628
PYTHON_SO=.pyd
@@ -739,7 +739,7 @@ else
739739
PYVER=0
740740
fi
741741
if test "x$PY3BIN" = xyes; then
742-
if test x"$PYOSNAME" = x"nt" -a x"$PYSEPARATOR" = x"\\" -a $PYVER -ge 3; then
742+
if test x"$PYOSNAME" = x"nt" -a x"$PYSEPARATOR" = x'\\' -a $PYVER -ge 3; then
743743
PYTHON3="$PYTHON"
744744
else
745745
for py_ver in 3 3.9 3.8 3.7 3.6 3.5 3.4 3.3 3.2 ""; do
@@ -774,7 +774,7 @@ else
774774
PYSEPARATOR=`($PYTHON3 -c "import sys, os; sys.stdout.write(os.sep)") 2>/dev/null`
775775
AC_MSG_RESULT($PYSEPARATOR)
776776

777-
if test x"$PY3OSNAME" = x"nt" -a x"$PYSEPARATOR" = x"\\"; then
777+
if test x"$PY3OSNAME" = x"nt" -a x"$PYSEPARATOR" = x'\\'; then
778778
# Windows installations are quite different to posix installations
779779
# There is no python-config to use
780780
AC_MSG_CHECKING(for Python 3.x prefix)

0 commit comments

Comments
 (0)