From c4e010402aaab7db5da88be1dcb7f0b8313d1c1246d33f92c349d8cd12a2b5b2 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 27 Dec 2023 16:36:32 +0000 Subject: [PATCH] - update to 1.10: * Fix performance issue with large datasets. * Use f-strings instead of str.format(). * Fix issue #2: Allow non-orderable items when a CircularDependencyError is raised * Completely change to pyproject.toml. Deleted setup.cfg. * Drop support for python 2.7. * No functional changes. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-toposort?expand=0&rev=4 --- python-toposort.changes | 12 ++++++++++++ python-toposort.spec | 11 +++++------ toposort-1.10.tar.gz | 3 +++ toposort-1.7.tar.gz | 3 --- 4 files changed, 20 insertions(+), 9 deletions(-) create mode 100644 toposort-1.10.tar.gz delete mode 100644 toposort-1.7.tar.gz diff --git a/python-toposort.changes b/python-toposort.changes index 79c1301..273ef1e 100644 --- a/python-toposort.changes +++ b/python-toposort.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Wed Dec 27 16:34:52 UTC 2023 - Dirk Müller + +- update to 1.10: + * Fix performance issue with large datasets. + * Use f-strings instead of str.format(). + * Fix issue #2: Allow non-orderable items when a + CircularDependencyError is raised + * Completely change to pyproject.toml. Deleted setup.cfg. + * Drop support for python 2.7. + * No functional changes. + ------------------------------------------------------------------- Fri Oct 22 20:19:36 UTC 2021 - Ben Greiner diff --git a/python-toposort.spec b/python-toposort.spec index 6257c17..bf1c509 100644 --- a/python-toposort.spec +++ b/python-toposort.spec @@ -1,7 +1,7 @@ # # spec file for package python-toposort # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,9 +16,9 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?sle15_python_module_pythons} Name: python-toposort -Version: 1.7 +Version: 1.10 Release: 0 Summary: Implements a topological sort algorithm License: Apache-2.0 @@ -26,7 +26,6 @@ Group: Development/Languages/Python URL: https://gitlab.com/ericvsmith/toposort Source: https://files.pythonhosted.org/packages/source/t/toposort/toposort-%{version}.tar.gz BuildRequires: %{python_module pip} -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -53,10 +52,10 @@ sed -i '/unittest.main/d' test/test_toposort.py %pyunittest -v %files %{python_files} -%doc CHANGES.txt README.txt +%doc CHANGES.txt README.md %license LICENSE.txt %{python_sitelib}/toposort.py* %pycache_only %{python_sitelib}/__pycache__/toposort* -%{python_sitelib}/toposort-%{version}*-info +%{python_sitelib}/toposort-%{version}.dist-info %changelog diff --git a/toposort-1.10.tar.gz b/toposort-1.10.tar.gz new file mode 100644 index 0000000..cb2d4fb --- /dev/null +++ b/toposort-1.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bfbb479c53d0a696ea7402601f4e693c97b0367837c8898bc6471adfca37a6bd +size 11132 diff --git a/toposort-1.7.tar.gz b/toposort-1.7.tar.gz deleted file mode 100644 index 15a0576..0000000 --- a/toposort-1.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ddc2182c42912a440511bd7ff5d3e6a1cabc3accbc674a3258c8c41cbfbb2125 -size 10671