mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 14:17:02 +02:00
xkcdpass: update to 1.19.8.
This commit is contained in:
parent
683cb1b4d5
commit
496f342d05
2 changed files with 13 additions and 2 deletions
11
srcpkgs/xkcdpass/patches/fix-tests.patch
Normal file
11
srcpkgs/xkcdpass/patches/fix-tests.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- a/tests/test_xkcdpass.py
|
||||
+++ b/tests/test_xkcdpass.py
|
||||
@@ -58,7 +58,7 @@
|
||||
wordlist, numwords=numwords, random_delimiters=True
|
||||
)
|
||||
# check that the result is the right length
|
||||
- self.assertEquals(len(result), numwords * wordlength + (numwords - 1))
|
||||
+ self.assertEqual(len(result), numwords * wordlength + (numwords - 1))
|
||||
# check we have the right number of delimiters
|
||||
self.assertEqual(
|
||||
len([x for x in result if x in set(xkcd_password.DEFAULT_DELIMITERS)]),
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'xkcdpass'
|
||||
pkgname=xkcdpass
|
||||
version=1.19.6
|
||||
version=1.19.8
|
||||
revision=1
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
|
@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
|
|||
license="BSD-3-Clause"
|
||||
homepage="https://github.com/redacted/XKCD-password-generator"
|
||||
distfiles="https://github.com/redacted/XKCD-password-generator/archive/xkcdpass-${version}.tar.gz"
|
||||
checksum=f164d5b3f5c2788c6424147e7d5bd0472265e4bed2baa18bed20e9755c405d7a
|
||||
checksum=8e0b4d48edb9d3ec70fd119849e160aea0c52f765e38391883c6a02257367ae6
|
||||
|
||||
post_install() {
|
||||
vman xkcdpass.1
|
||||
|
|
Loading…
Add table
Reference in a new issue