eabfc08
From 65c73dc4f8a964e3d340804195e8558759752ddb Mon Sep 17 00:00:00 2001
eabfc08
From: Michael Kuhn <suraia@fedoraproject.org>
eabfc08
Date: Fri, 5 Oct 2018 23:24:10 +0200
eabfc08
Subject: [PATCH 4/4] Disable python2
eabfc08
eabfc08
---
eabfc08
 Makefile | 3 +--
eabfc08
 1 file changed, 1 insertion(+), 2 deletions(-)
eabfc08
eabfc08
diff --git a/Makefile b/Makefile
eabfc08
index 0e0a6ac..9a9bd3c 100644
eabfc08
--- a/Makefile
eabfc08
+++ b/Makefile
eabfc08
@@ -28,7 +28,6 @@ install: debian-distro-info ubuntu-distro-info
eabfc08
 	install -m 644 $(wildcard doc/*.1) $(DESTDIR)$(PREFIX)/share/man/man1
eabfc08
 	install -d $(DESTDIR)$(PREFIX)/share/perl5/vendor_perl/Debian
eabfc08
 	install -m 644 $(wildcard perl/Debian/*.pm) $(DESTDIR)$(PREFIX)/share/perl5/vendor_perl/Debian
eabfc08
-	cd python && python setup.py install --root="$(DESTDIR)" --no-compile
eabfc08
 	cd python && python3 setup.py install --root="$(DESTDIR)" --no-compile
eabfc08
 
eabfc08
 test: test-commandline test-perl test-python
eabfc08
@@ -41,7 +40,7 @@ test-perl:
eabfc08
 	cd perl && ./test.pl
eabfc08
 
eabfc08
 test-python:
eabfc08
-	$(foreach python,$(shell pyversions -r && py3versions -r),cd python && $(python) setup.py test$(\n))
eabfc08
+	cd python && python3 setup.py test
eabfc08
 
eabfc08
 clean:
eabfc08
 	rm -rf debian-distro-info ubuntu-distro-info python/build python/*.egg-info python/.pylint.d
eabfc08
-- 
eabfc08
2.17.1
eabfc08