]> git.pld-linux.org Git - packages/python3-secretstorage.git/commitdiff
- updated to 3.3.3 master auto/th/python3-secretstorage-3.3.3-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 15 Oct 2023 14:39:24 +0000 (16:39 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 15 Oct 2023 14:39:24 +0000 (16:39 +0200)
python3-secretstorage.spec

index bce2d8276d9ab1f7b17ea3d8ff0ec9187429e24b..788678826579699e539ba29bb91f20d1b7809a19 100644 (file)
@@ -1,18 +1,18 @@
 #
 # Conditional build:
 %bcond_without doc     # Sphinx documentation
-%bcond_with    tests   # unit tests [require dbus and some Secret Service daemon running]
+%bcond_with    tests   # unit tests (require dbus stub or some Secret Service daemon running, e.g. GNOME Keyring)
 
 Summary:       Python 3 bindings to Freedesktop.org Secret Service API
 Summary(pl.UTF-8):     Wiązania Pythona 3 do API Secret Service z Freedesktop.org
 Name:          python3-secretstorage
-Version:       3.3.1
-Release:       3
+Version:       3.3.3
+Release:       1
 License:       BSD
 Group:         Libraries/Python
 #Source0Download: https://pypi.org/simple/secretstorage/
 Source0:       https://files.pythonhosted.org/packages/source/S/SecretStorage/SecretStorage-%{version}.tar.gz
-# Source0-md5: 23563c1d167c51e3d9483479cd7caccd
+# Source0-md5: c6ff1cc866d2f1d274b75c6490726b1b
 URL:           https://github.com/mitya57/secretstorage
 BuildRequires: python3-modules >= 1:3.6
 BuildRequires: python3-setuptools >= 1:30.3
@@ -20,6 +20,7 @@ BuildRequires:        python3-setuptools >= 1:30.3
 BuildRequires: python3-Sphinx
 %endif
 %if %{with tests}
+BuildRequires: dbus
 BuildRequires: python3-cryptography >= 2.0
 BuildRequires: python3-jeepney >= 0.6
 %endif
@@ -61,9 +62,7 @@ Dokumentacja API secretstorage.
 %py3_build %{?with_doc:build_sphinx}
 
 %if %{with tests}
-# TODO: proper value
-export DBUS_SESSION_BUS_ADDRESS=???
-%{__python3} tests/run_tests.py
+dbus-run-session -- %{__python3} -m unittest discover -s tests
 %endif
 
 %install
This page took 0.150282 seconds and 4 git commands to generate.