summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Albrecht <albrecht.andi@gmail.com>2011-07-30 21:46:51 +0200
committerAndi Albrecht <albrecht.andi@gmail.com>2011-07-30 21:46:51 +0200
commit718616c4123fcdac4ec2d15eed641f6f80da9600 (patch)
treea4c7a1a7e58666f0ee9d463e86959043136099c2
parent9030635cce5346a1c6de844f6bc22283d2da6f06 (diff)
downloadsqlparse-718616c4123fcdac4ec2d15eed641f6f80da9600.tar.gz
Don't write diffs when generating py3k version.
Since the diff contains non-ascii chars it causes an error on buildbot. See http://bugs.python.org/issue7922
-rw-r--r--extras/py3k/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/extras/py3k/Makefile b/extras/py3k/Makefile
index 499f2bf..57fcaeb 100644
--- a/extras/py3k/Makefile
+++ b/extras/py3k/Makefile
@@ -1,17 +1,16 @@
-2TO3=2to3-3.1
+2TO3=2to3
+2TO3OPTS=--no-diffs -w -n
all: sqlparse tests
sqlparse:
cp -r ../../sqlparse .
- $(2TO3) sqlparse > sqlparse.diff
- patch -p0 < sqlparse.diff
+ $(2TO3) $(2TO3OPTS) sqlparse
patch -p0 < fixes.diff
tests:
cp -r ../../tests .
- $(2TO3) tests > tests.diff
- patch -p0 < tests.diff
+ $(2TO3) $(2TO3OPTS) tests
clean:
rm -rf sqlparse