From b24ac05dcce7639fa7adeaa1abde9dc0c82aa37194b208709b29e7d4f24b184e Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 27 Dec 2023 14:25:48 +0000 Subject: [PATCH] - update to 0.5.0: * Add support for python 3.9 * Drop support for python 3.5, 3.6 - Remove unneeded BuildRequires on mock. * no upstream changelog OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-kmatch?expand=0&rev=17 --- kmatch-0.4.0.tar.gz | 3 --- kmatch-0.5.0.tar.gz | 3 +++ python-kmatch-no-mock.patch | 20 ++++++++++---------- python-kmatch.changes | 11 +++++++++-- python-kmatch.spec | 6 +++--- 5 files changed, 25 insertions(+), 18 deletions(-) delete mode 100644 kmatch-0.4.0.tar.gz create mode 100644 kmatch-0.5.0.tar.gz diff --git a/kmatch-0.4.0.tar.gz b/kmatch-0.4.0.tar.gz deleted file mode 100644 index 7727c97..0000000 --- a/kmatch-0.4.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:54a22fbbc03861b1adcb5e9cacac0eb78237b1f3c0f9b08b3cae8b78e0a0a650 -size 7216 diff --git a/kmatch-0.5.0.tar.gz b/kmatch-0.5.0.tar.gz new file mode 100644 index 0000000..3d47c95 --- /dev/null +++ b/kmatch-0.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7690d16606c87a77a72691f04728b6935f65b0c819dcf070a7c95946ce2b5ac0 +size 8152 diff --git a/python-kmatch-no-mock.patch b/python-kmatch-no-mock.patch index 7118323..259093d 100644 --- a/python-kmatch-no-mock.patch +++ b/python-kmatch-no-mock.patch @@ -1,12 +1,12 @@ -Index: kmatch-0.4.0/kmatch/tests/kmatch_tests.py +Index: kmatch-0.5.0/kmatch/tests/kmatch_tests.py =================================================================== ---- kmatch-0.4.0.orig/kmatch/tests/kmatch_tests.py 2020-12-22 22:27:55.000000000 +0100 -+++ kmatch-0.4.0/kmatch/tests/kmatch_tests.py 2022-03-23 12:33:03.395890702 +0100 +--- kmatch-0.5.0.orig/kmatch/tests/kmatch_tests.py ++++ kmatch-0.5.0/kmatch/tests/kmatch_tests.py @@ -1,6 +1,6 @@ - from sys import version - from unittest import TestCase --from mock import patch -+from unittest.mock import patch - - from kmatch import K - + from sys import version + from unittest import TestCase +-from mock import patch ++from unittest.mock import patch + + from kmatch import K + diff --git a/python-kmatch.changes b/python-kmatch.changes index 0e8ee29..d9ab8be 100644 --- a/python-kmatch.changes +++ b/python-kmatch.changes @@ -1,13 +1,20 @@ +------------------------------------------------------------------- +Wed Dec 27 14:25:10 UTC 2023 - Dirk Müller + +- update to 0.5.0: + * Add support for python 3.9 + * Drop support for python 3.5, 3.6 + ------------------------------------------------------------------- Tue Aug 2 03:20:44 UTC 2022 - Steve Kowalik -- Remove unneeded BuildRequires on mock. +- Remove unneeded BuildRequires on mock. ------------------------------------------------------------------- Wed Mar 23 11:54:58 UTC 2022 - pgajdos@suse.com - version update to 0.4.0 - * no upstream changelog + * no upstream changelog - added patches fix https://github.com/ambitioninc/kmatch/issues/42 + python-kmatch-no-mock.patch diff --git a/python-kmatch.spec b/python-kmatch.spec index c55fb73..270232f 100644 --- a/python-kmatch.spec +++ b/python-kmatch.spec @@ -1,7 +1,7 @@ # # spec file for package python-kmatch # -# Copyright (c) 2022 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-kmatch -Version: 0.4.0 +Version: 0.5.0 Release: 0 Summary: A language for matching/validating/filtering Python dictionaries License: MIT