aboutsummaryrefslogtreecommitdiffstats
path: root/community/xkcdpass/fix-bin-name.patch
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2017-11-20 17:37:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-11-28 17:09:32 +0000
commit5d21bf5945f2ea2647aaa7f9daf8df7bc0e4ba39 (patch)
tree9f573b3ffee4e9d99d5932204a32bf31949b86a6 /community/xkcdpass/fix-bin-name.patch
parent4f00e352fdfa2efb763e8ea314283a2cc1214ecf (diff)
downloadaports-5d21bf5945f2ea2647aaa7f9daf8df7bc0e4ba39.tar.bz2
aports-5d21bf5945f2ea2647aaa7f9daf8df7bc0e4ba39.tar.xz
community/xkcdpass: upgrade to 1.14.2
Diffstat (limited to 'community/xkcdpass/fix-bin-name.patch')
-rw-r--r--community/xkcdpass/fix-bin-name.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/xkcdpass/fix-bin-name.patch b/community/xkcdpass/fix-bin-name.patch
new file mode 100644
index 0000000000..ad96945700
--- /dev/null
+++ b/community/xkcdpass/fix-bin-name.patch
@@ -0,0 +1,11 @@
+--- xkcdpass-1.14.2/tests/test_xkcdpass.py
++++ xkcdpass-1.14.2/tests/test_xkcdpass.py.new
+@@ -32,7 +32,7 @@
+ def test_commandlineCount(self):
+ count = 5
+ result = subprocess.check_output(
+- ["python", "xkcdpass/xkcd_password.py", "-w", WORDFILE,
++ ["python3", "xkcdpass/xkcd_password.py", "-w", WORDFILE,
+ "-c", str(count)])
+ self.assertTrue(result.count(b"\n"), count)
+