Bug#1081138: secrets: Move to python3-python-zxcvbn-rs-py

Bastian Germann bage at debian.org
Sun Sep 8 14:34:44 BST 2024


Control: tags -1 patch

Please find a patch attached to deal with this.
-------------- next part --------------
diff -Nru secrets-9.6/debian/changelog secrets-9.6/debian/changelog
--- secrets-9.6/debian/changelog	2024-07-22 13:36:26.000000000 +0000
+++ secrets-9.6/debian/changelog	2024-09-08 13:28:38.000000000 +0000
@@ -1,3 +1,10 @@
+secrets (9.6-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload
+  * Replace zxcvbn with zxcvbn-rs-py (Closes: #1081138)
+
+ -- Bastian Germann <bage at debian.org>  Sun, 08 Sep 2024 13:28:38 +0000
+
 secrets (9.6-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru secrets-9.6/debian/control secrets-9.6/debian/control
--- secrets-9.6/debian/control	2024-07-22 13:27:29.000000000 +0000
+++ secrets-9.6/debian/control	2024-09-08 13:28:32.000000000 +0000
@@ -21,7 +21,7 @@
                python3-pytest <!nocheck>,
                python3-validators (>= 0.20.0),
                python3-yubico,
-               python3-zxcvbn (>= 4.4.28)
+               python3-python-zxcvbn-rs-py (>= 4.4.28)
 Standards-Version: 4.7.0
 Section: gnome
 Vcs-Browser: https://salsa.debian.org/gnome-team/secrets
@@ -39,7 +39,7 @@
          python3-pyotp,
          python3-validators,
          python3-yubico,
-         python3-zxcvbn,
+         python3-python-zxcvbn-rs-py,
          ${misc:Depends},
          ${python3:Depends}
 Description: Manage your passwords
diff -Nru secrets-9.6/debian/patches/Replace-zxcvbn-with-zxcvbn-rs-py.patch secrets-9.6/debian/patches/Replace-zxcvbn-with-zxcvbn-rs-py.patch
--- secrets-9.6/debian/patches/Replace-zxcvbn-with-zxcvbn-rs-py.patch	1970-01-01 00:00:00.000000000 +0000
+++ secrets-9.6/debian/patches/Replace-zxcvbn-with-zxcvbn-rs-py.patch	2024-09-08 13:27:34.000000000 +0000
@@ -0,0 +1,24 @@
+Description: Replace zxcvbn with zxcvbn-rs-py
+---
+--- secrets-9.6.orig/gsecrets/password_generator.py
++++ secrets-9.6/gsecrets/password_generator.py
+@@ -7,7 +7,7 @@ import threading
+ import typing
+ 
+ from gi.repository import GLib
+-from zxcvbn import zxcvbn
++from zxcvbn-rs-py import zxcvbn
+ 
+ if typing.TYPE_CHECKING:
+     from typing import Callable
+--- secrets-9.6.orig/meson.build
++++ secrets-9.6/meson.build
+@@ -32,7 +32,7 @@ python_bin = python.find_installation('p
+   'pykeepass',
+   'pyotp',
+   'validators',
+-  'zxcvbn',
++  'zxcvbn-rs-py',
+   'PyKCS11',
+   'yubico',
+ ])
diff -Nru secrets-9.6/debian/patches/series secrets-9.6/debian/patches/series
--- secrets-9.6/debian/patches/series	1970-01-01 00:00:00.000000000 +0000
+++ secrets-9.6/debian/patches/series	2024-09-08 13:27:01.000000000 +0000
@@ -0,0 +1 @@
+Replace-zxcvbn-with-zxcvbn-rs-py.patch


More information about the pkg-gnome-maintainers mailing list