xkcdpass: update to 1.19.8.

This commit is contained in:
Andrew J. Hesford 2024-02-24 13:15:19 -05:00
parent 683cb1b4d5
commit 496f342d05
2 changed files with 13 additions and 2 deletions

View 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)]),

View file

@ -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