Apply patch to configure with 2to3 rename for 3.0.12

This commit is contained in:
FUTATSUKI Yasuhito 2017-06-19 15:37:29 +09:00 • committed by Yasuhito FUTATSUKI
commit 9d9acba737
3 changed files with 7 additions and 2 deletions

View file

@ -386,7 +386,7 @@ else
PYSCRIPT = $(RUNME)3.py
endif
PY2TO3 = 2to3 `2to3 -l | grep -v -E "Available|import$$" | awk '{print "-f "$$0}'`
PY2TO3 = @PY2TO3PROG@ `@PY2TO3PROG@ -l | grep -v -E "Available|import$$" | awk '{print "-f "$$0}'`
python_run: $(PYSCRIPT)
ifneq (,$(PEP8))

View file

@ -16,7 +16,7 @@ PEP8_FLAGS = --ignore=E30,E402,E501,E731,W291,W391
#*_runme.py for Python 2.x, *_runme3.py for Python 3.x
PY2SCRIPTSUFFIX = _runme.py
PY3SCRIPTSUFFIX = _runme3.py
PY2TO3 = 2to3 -x import
PY2TO3 = @PY2TO3PROG@ -x import
ifeq (,$(PY3))
SCRIPTSUFFIX = $(PY2SCRIPTSUFFIX)