diff --git a/Yapsy-1.11.223.tar.gz b/Yapsy-1.11.223.tar.gz deleted file mode 100644 index 0155c08..0000000 --- a/Yapsy-1.11.223.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:45bb39a72461913388d7f3e92ce33816e84fff59946c45e16796eb1fb1d5f2a6 -size 80783 diff --git a/Yapsy-1.12.0.tar.gz b/Yapsy-1.12.0.tar.gz new file mode 100644 index 0000000..c19790d --- /dev/null +++ b/Yapsy-1.12.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f08cb229a96f14cc0b1d4b68cb7c111d1020ab8c3989b426d3aa39b82d6a3e3c +size 83308 diff --git a/fix-error-plugin-test.patch b/fix-error-plugin-test.patch deleted file mode 100644 index 4c7b45e..0000000 --- a/fix-error-plugin-test.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- test/test_ErrorInPlugin.py 2015-03-28 22:00:14.000000000 +0100 -+++ test/test_ErrorInPlugin.py 2017-07-22 21:35:03.391697688 +0200 -@@ -50,7 +50,7 @@ - self.assertEqual(len(callback_infos),1) - self.assertTrue(isinstance(callback_infos[0].error,tuple)) - self.assertEqual(loadedPlugins[0],callback_infos[0]) -- self.assertEqual(callback_infos[0].error[0],ImportError) -+ self.assertTrue(issubclass(callback_infos[0].error[0],ImportError)) - # check that the getCategories works - self.assertEqual(len(spm.getCategories()),1) - sole_category = spm.getCategories()[0] diff --git a/fix-file-location-test.patch b/fix-file-location-test.patch deleted file mode 100644 index 58a94c1..0000000 --- a/fix-file-location-test.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- test/test_PluginFileLocator.py 2015-04-18 22:48:35.000000000 +0200 -+++ test/test_PluginFileLocator1.py 2017-07-22 20:50:21.661546448 +0200 -@@ -192,7 +192,7 @@ - def test_default_plugins_place_is_parent_dir(self): - """Test a non-trivial default behaviour introduced some time ago :S""" - pl = PluginFileLocator() -- self.assertTrue("package/yapsy" in pl.plugins_places[0]) -+ self.assertTrue("yapsy" in pl.plugins_places[0]) - - def test_locatePlugins(self): - pl = PluginFileLocator() diff --git a/python-Yapsy.changes b/python-Yapsy.changes index cf0856a..c949911 100644 --- a/python-Yapsy.changes +++ b/python-Yapsy.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Jul 25 13:31:48 UTC 2019 - pgajdos@suse.com + +- version update to 1.12.0 + * no upstream change log +- deleted patches + - fix-error-plugin-test.patch (unneeded) + - fix-file-location-test.patch (unneeded) + ------------------------------------------------------------------- Tue Dec 4 12:56:20 UTC 2018 - Matej Cepl diff --git a/python-Yapsy.spec b/python-Yapsy.spec index 21f9507..3db7bbf 100644 --- a/python-Yapsy.spec +++ b/python-Yapsy.spec @@ -1,7 +1,7 @@ # # spec file for package python-Yapsy # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,19 +17,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without test Name: python-Yapsy -Version: 1.11.223 +Version: 1.12.0 Release: 0 Summary: Yet another plugin system License: BSD-2-Clause Group: Development/Languages/Python Url: http://yapsy.sourceforge.net -Source: https://files.pythonhosted.org/packages/source/Y/Yapsy/Yapsy-1.11.223.tar.gz -# PATCH-FIX-OPENSUSE fix-file-location-test.patch sebix+novell.com@sebix.at -- Fix file locations for tests -Patch0: fix-file-location-test.patch -# PATCH-FIX-OPENSUSE fix-error-plugin-test.patch sebix+novell.com@sebix.at -- Fix exception class for tests -Patch1: fix-error-plugin-test.patch +Source: https://files.pythonhosted.org/packages/source/Y/Yapsy/Yapsy-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -59,8 +54,6 @@ HTML documentation files for %{name}. %prep %setup -q -n Yapsy-%{version} -%patch0 -%patch1 %build %{python_build} @@ -74,10 +67,8 @@ popd %{python_install} %{python_expand %fdupes %{buildroot}%{$python_sitelib}} -%if %{with test} %check %{python_exec setup.py test} -%endif %files %{python_files} %{python_sitelib}/*