Author: Michael R. Crusoe <michael.crusoe@gmail.com>
Description: s/python/python3/ as appropriate

--- khmer.orig/Makefile
+++ khmer/Makefile
@@ -84,7 +84,7 @@
 	TESTATTR ?= 'not known_failing and not jenkins and not huge and not linux'
 endif
 
-MODEXT=$(shell python -c \
+MODEXT=$(shell python3 -c \
        "import sysconfig;print(sysconfig.get_config_var('SO'))")
 EXTENSION_MODULE = khmer/_khmer$(MODEXT)
 CY_MODULES = $($(wildcard khmer/_oxli/*.pyx): .pyx=.$(MODEXT))
@@ -147,7 +147,7 @@
 
 debug: FORCE
 	export CFLAGS="-pg -fprofile-arcs -D_GLIBCXX_DEBUG_PEDANTIC \
-		-D_GLIBCXX_DEBUG -DDEBUG_ASSEMBLY=1 -DDEBUG_FILTERS=1"; python setup.py build_ext --debug \
+		-D_GLIBCXX_DEBUG -DDEBUG_ASSEMBLY=1 -DDEBUG_FILTERS=1"; python3 setup.py build_ext --debug \
 		--inplace
 
 ## doc         : render documentation in HTML
@@ -263,7 +263,7 @@
 		--html-report diff-cover.html
 
 pytests.xml: FORCE
-	py.test --junitxml=$@ -m ${TESTATTR}
+	py.test-3 --junitxml=$@ -m ${TESTATTR}
 
 ## doxygen     : generate documentation of the C++ and Python code
 # helpful packages: doxygen graphviz
@@ -308,7 +308,7 @@
 ## test        : run the khmer test suite
 test: FORCE
 	./setup.py develop
-	py.test -m ${TESTATTR}
+	py.test-3 -m ${TESTATTR}
 
 sloccount.sc: $(CPPSOURCES) $(PYSOURCES) $(wildcard tests/*.py) Makefile
 	sloccount --duplicates --wide --details include src khmer scripts tests \
@@ -324,7 +324,7 @@
 		export PATH=${PATH}:${cov_analysis_dir}/bin; \
 		cov-build --dir cov-int --c-coverage gcov \
 			--disable-gcov-arg-injection make coverage-debug; \
-		cov-capture --dir cov-int --c-coverage gcov python -m pytest \
+		cov-capture --dir cov-int --c-coverage gcov python3 -m pytest \
 			-m $(TESTATTR) ; \
 		cov-import-scm --dir cov-int --scm git 2>/dev/null; \
 	else echo 'bin/cov-build does not exist in $$cov_analysis_dir: '\
@@ -377,7 +377,7 @@
 
 list-citation:
 	git log --format='%aN,%aE' | sort -u | grep -v -F -f author-skips.txt > authors.csv
-	python sort-authors-list.py
+	python3 sort-authors-list.py
 
 ## cpp-demos   : run programs demonstrating access to the (unstable) C++ API
 cpp-demos: sharedobj
@@ -385,9 +385,9 @@
 
 ## py-demos    : run programs demonstrating access to the Python API
 py-demos: sharedobj
-	python examples/python-api/exact-counting.py
-	python examples/python-api/bloom.py
-	python examples/python-api/consume.py examples/c++-api/reads.fastq
+	python3 examples/python-api/exact-counting.py
+	python3 examples/python-api/bloom.py
+	python3 examples/python-api/consume.py examples/c++-api/reads.fastq
 
 FORCE:
 
