Hello community, here is the log from the commit of package python-SecretStorage for openSUSE:Factory checked in at 2016-12-05 16:32:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-SecretStorage (Old) and /work/SRC/openSUSE:Factory/.python-SecretStorage.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-SecretStorage" Changes: -------- --- /work/SRC/openSUSE:Factory/python-SecretStorage/python-SecretStorage.changes 2016-09-08 17:37:30.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-SecretStorage.new/python-SecretStorage.changes 2016-12-05 16:32:03.000000000 +0100 @@ -1,0 +2,5 @@ +Tue Nov 22 12:37:40 UTC 2016 - hpj@urpla.net + +- add test section + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-SecretStorage.spec ++++++ --- /var/tmp/diff_new_pack.6DiZ1X/_old 2016-12-05 16:32:04.000000000 +0100 +++ /var/tmp/diff_new_pack.6DiZ1X/_new 2016-12-05 16:32:04.000000000 +0100 @@ -26,11 +26,15 @@ # NOTE(toabctl): For whatever reason, the pypi.io url is not working... #Source: https://pypi.io/packages/source/s/SecretStorage/SecretStorage-%{version}.tar.gz Source: https://pypi.python.org/packages/a5/a5/0830cfe34a4cfd0d1c3c8b614ede1edb2aaf9... -BuildRequires: python-cryptography +BuildRequires: dbus-1-python BuildRequires: python-devel BuildRequires: python-setuptools Requires: dbus-1-python +BuildRequires: python-cryptography Requires: python-cryptography +# Testing requirements +BuildRequires: dbus-1-x11 +BuildRequires: gnome-keyring BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} @@ -66,6 +70,11 @@ %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%check +# gnome-keyring "forgets" to create this directory under certain conditions +mkdir $HOME/.cache +dbus-run-session -- python -m unittest discover -s tests + %files %defattr(-,root,root,-) %doc changelog README.rst LICENSE