forked from pool/python-dirtyjson
- update to 1.0.8:
* Add Python 3.10 support - drop support-python-310.patch (upstream) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dirtyjson?expand=0&rev=6
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b1d1e457b5432fd53283eb0341b2a273690a8b6bb9090689d2cd6a776f57efe7
|
||||
size 25351
|
||||
3
dirtyjson-1.0.8.tar.gz
Normal file
3
dirtyjson-1.0.8.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:90ca4a18f3ff30ce849d100dcf4a003953c79d3a2348ef056f1d9c22231a25fd
|
||||
size 30782
|
||||
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 10 10:19:46 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 1.0.8:
|
||||
* Add Python 3.10 support
|
||||
- drop support-python-310.patch (upstream)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 24 00:48:06 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-dirtyjson
|
||||
#
|
||||
# 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
|
||||
@@ -18,15 +18,13 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-dirtyjson
|
||||
Version: 1.0.7
|
||||
Version: 1.0.8
|
||||
Release: 0
|
||||
Summary: Python JSON decoder that can extract data from dirty input
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/codecobblers/dirtyjson
|
||||
Source: https://files.pythonhosted.org/packages/source/d/dirtyjson/dirtyjson-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM gh#codecobblers/dirtyjson#6
|
||||
Patch0: support-python-310.patch
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
From 45d359a9e061f5a2e00d8f38817372a0e39822ae Mon Sep 17 00:00:00 2001
|
||||
From: Eric Swanson <eswanson@alloscomp.com>
|
||||
Date: Fri, 17 Dec 2021 11:38:13 -0500
|
||||
Subject: [PATCH] Python 3.10 support
|
||||
|
||||
---
|
||||
dirtyjson/attributed_containers.py | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dirtyjson/attributed_containers.py b/dirtyjson/attributed_containers.py
|
||||
index c71e411..147f303 100644
|
||||
--- a/dirtyjson/attributed_containers.py
|
||||
+++ b/dirtyjson/attributed_containers.py
|
||||
@@ -4,7 +4,10 @@
|
||||
|
||||
"""
|
||||
try:
|
||||
- from collections import MutableMapping as DictMixin
|
||||
+ try:
|
||||
+ from collections.abc import MutableMapping as DictMixin
|
||||
+ except ImportError:
|
||||
+ from collections import MutableMapping as DictMixin
|
||||
py_level = 3
|
||||
except ImportError:
|
||||
# noinspection PyUnresolvedReferences,PyCompatibility
|
||||
Reference in New Issue
Block a user