diff options
author | Austin English <wizardedit@gentoo.org> | 2017-11-28 17:23:07 -0600 |
---|---|---|
committer | Austin English <wizardedit@gentoo.org> | 2017-11-29 15:29:26 -0600 |
commit | 1239b5aa9b7fe770adc9c2a7f3b73991cfe2fb2a (patch) | |
tree | e8d99c4b16ff85c34b665c46ed17b219ea575642 /app-admin/github-backup-utils/files/github-backup-utils-python27.patch | |
parent | 3fbf5447812aa1d9a15c3a4ca0befd1a0680ee1b (diff) | |
download | gentoo-1239b5aa9b7fe770adc9c2a7f3b73991cfe2fb2a.tar.gz gentoo-1239b5aa9b7fe770adc9c2a7f3b73991cfe2fb2a.tar.xz |
app-admin/github-backup-utils: fix test failures
Gentoo-Bug: https://bugs.gentoo.org/629628
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'app-admin/github-backup-utils/files/github-backup-utils-python27.patch')
-rw-r--r-- | app-admin/github-backup-utils/files/github-backup-utils-python27.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app-admin/github-backup-utils/files/github-backup-utils-python27.patch b/app-admin/github-backup-utils/files/github-backup-utils-python27.patch new file mode 100644 index 00000000000..c305b688cec --- /dev/null +++ b/app-admin/github-backup-utils/files/github-backup-utils-python27.patch @@ -0,0 +1,13 @@ +diff --git a/test/bin/python b/test/bin/python +index c79b0a4..a9c2991 100755 +--- a/test/bin/python ++++ b/test/bin/python +@@ -18,7 +18,7 @@ cat >/dev/null + # verify the python compiles at least. if this fails then the python code passed + # to -c failed basic syntax checks. + echo "$2" | +-/usr/bin/python -c "import sys; __import__('compiler').parse(sys.stdin.read())" ++/usr/bin/python2.7 -c "import sys; __import__('compiler').parse(sys.stdin.read())" + + # pretend we found zero processes. + echo 0 |