14
0
forked from pool/python-kmatch

- 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
This commit is contained in:
2023-12-27 14:25:48 +00:00
committed by Git OBS Bridge
parent 46113bb43f
commit b24ac05dcc
5 changed files with 25 additions and 18 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:54a22fbbc03861b1adcb5e9cacac0eb78237b1f3c0f9b08b3cae8b78e0a0a650
size 7216

3
kmatch-0.5.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7690d16606c87a77a72691f04728b6935f65b0c819dcf070a7c95946ce2b5ac0
size 8152

View File

@@ -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

View File

@@ -1,13 +1,20 @@
-------------------------------------------------------------------
Wed Dec 27 14:25:10 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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 <steven.kowalik@suse.com>
- 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

View File

@@ -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