17
0

Compare commits

4 Commits

5 changed files with 23 additions and 19 deletions

View File

@@ -1,13 +0,0 @@
Index: xkcdpass-1.19.8/tests/test_xkcdpass.py
===================================================================
--- xkcdpass-1.19.8.orig/tests/test_xkcdpass.py
+++ xkcdpass-1.19.8/tests/test_xkcdpass.py
@@ -58,7 +58,7 @@ class XkcdPasswordTests(unittest.TestCas
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,3 +1,20 @@
-------------------------------------------------------------------
Tue Mar 18 11:17:45 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.20.0
* Add German word lists
* Disable setting max word length to min word length
* Fix no delimiter being used sometimes
* Improvements to DE wordlists, bugfixes
- Use Python 3.11 on SLE-15 by default
-------------------------------------------------------------------
Wed Feb 5 11:42:34 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.19.9
* Remove usage of deprecated assertEquals
- Drop fix-test-assertion-methods.patch, fixed upstream
-------------------------------------------------------------------
Fri Mar 15 00:00:07 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-xkcdpass
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,14 +16,14 @@
#
%{?sle15_python_module_pythons}
Name: python-xkcdpass
Version: 1.19.8
Version: 1.20.0
Release: 0
Summary: A flexible and scriptable password generator which generates strong passphrases
License: BSD-3-Clause
URL: https://github.com/redacted/XKCD-password-generator
Source: https://files.pythonhosted.org/packages/source/x/xkcdpass/xkcdpass-%{version}.tar.gz
Patch0: fix-test-assertion-methods.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:30afff4399b83de362a11b26c4768c6cddb1edae12920572d31931baf9d4b9fa
size 2689908

3
xkcdpass-1.20.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b5abfd7d2b59cdda59f937fb22210ac4649ad0d2e09e1f87bfe74a54e23ad18a
size 2722027