Blob Blame History Raw
From 65c73dc4f8a964e3d340804195e8558759752ddb Mon Sep 17 00:00:00 2001
From: Michael Kuhn <suraia@fedoraproject.org>
Date: Fri, 5 Oct 2018 23:24:10 +0200
Subject: [PATCH 4/4] Disable python2

---
 Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 0e0a6ac..9a9bd3c 100644
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,6 @@ install: debian-distro-info ubuntu-distro-info
 	install -m 644 $(wildcard doc/*.1) $(DESTDIR)$(PREFIX)/share/man/man1
 	install -d $(DESTDIR)$(PREFIX)/share/perl5/vendor_perl/Debian
 	install -m 644 $(wildcard perl/Debian/*.pm) $(DESTDIR)$(PREFIX)/share/perl5/vendor_perl/Debian
-	cd python && python setup.py install --root="$(DESTDIR)" --no-compile
 	cd python && python3 setup.py install --root="$(DESTDIR)" --no-compile
 
 test: test-commandline test-perl test-python
@@ -41,7 +40,7 @@ test-perl:
 	cd perl && ./test.pl
 
 test-python:
-	$(foreach python,$(shell pyversions -r && py3versions -r),cd python && $(python) setup.py test$(\n))
+	cd python && python3 setup.py test
 
 clean:
 	rm -rf debian-distro-info ubuntu-distro-info python/build python/*.egg-info python/.pylint.d
-- 
2.17.1