[game-data-packager] 01/01: fedora: pyflakes3 has an other name

Alexandre Detiste detiste-guest at moszumanska.debian.org
Sun Nov 1 23:48:02 UTC 2015


This is an automated email from the git hooks/post-receive script.

detiste-guest pushed a commit to branch master
in repository game-data-packager.

commit 46fbd0da99b9783a6f3838957c7409c37ea4ebc7
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Mon Nov 2 00:47:30 2015 +0100

    fedora: pyflakes3 has an other name
---
 Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 1b1182a..e1522c8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
 DIRS := ./out
 GDP_MIRROR ?= localhost
+PYFLAKES3 := $(shell test -x /usr/bin/pyflakes3 && echo pyflakes3 || echo python3-pyflakes)
 
 # some cherry picked games that:
 # - are freely downloadable (either demo or full version)
@@ -94,7 +95,7 @@ clean:
 	for d in $(DIRS); do [ ! -d "$$d" ]  || rmdir "$$d"; done
 
 check:
-	LC_ALL=C pyflakes3 game_data_packager/*.py game_data_packager/*/*.py runtime/*.py tools/*.py || :
+	LC_ALL=C $(PYFLAKES3) game_data_packager/*.py game_data_packager/*/*.py runtime/*.py tools/*.py || :
 	LC_ALL=C GDP_UNINSTALLED=1 PYTHONPATH=. python3 tools/check_syntax.py
 
 # Requires additional setup, so not part of "make check"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git



More information about the Pkg-games-commits mailing list