Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| a66d30dfcf | |||
| df6a9d3742 |
BIN
lexicon-2.0.1.tar.gz
LFS
BIN
lexicon-2.0.1.tar.gz
LFS
Binary file not shown.
3
lexicon-3.0.0.tar.gz
Normal file
3
lexicon-3.0.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:fb4d9a382f266d2fe2c72d903b7ce0dd2988ab3878cd9590e2c02212f8094869
|
||||||
|
size 10247
|
||||||
@@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 8 21:03:44 UTC 2025 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
|
- Update to version 3.0.0:
|
||||||
|
- Dropped support for Python <3.9
|
||||||
|
- Modernized project metadata re: Python interpreters, development
|
||||||
|
dependencies, etc.
|
||||||
|
- Remove obsolete support-pytest-8.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 14 02:07:51 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
Tue May 14 02:07:51 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
@@ -59,7 +68,7 @@ Sun Mar 4 09:23:34 UTC 2018 - jengelh@inai.de
|
|||||||
- Update descriptions.
|
- Update descriptions.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Mar 3 10:38:55 UTC 2018 - sebix+novell.com@sebix.at
|
Sat Mar 3 10:38:55 UTC 2018 - sebix@sebix.at
|
||||||
|
|
||||||
- initial package for version 1.0.0
|
- initial package for version 1.0.0
|
||||||
- add add_test_init.patch to fix execution of tests
|
- add add_test_init.patch to fix execution of tests
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-lexicon
|
# spec file for package python-lexicon
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-lexicon
|
Name: python-lexicon
|
||||||
Version: 2.0.1
|
Version: 3.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python dict subclass(es) with aliasing and attribute access
|
Summary: Python dict subclass(es) with aliasing and attribute access
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
@@ -26,8 +26,7 @@ URL: https://github.com/bitprophet/lexicon
|
|||||||
Source: https://files.pythonhosted.org/packages/source/l/lexicon/lexicon-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/l/lexicon/lexicon-%{version}.tar.gz
|
||||||
# PATCH-FIX-UPSTREAM (sort of) Not in the sdist, but on GitHub
|
# PATCH-FIX-UPSTREAM (sort of) Not in the sdist, but on GitHub
|
||||||
Patch0: add-pytest-ini.patch
|
Patch0: add-pytest-ini.patch
|
||||||
# PATCH-FIX-OPENSUSE Support pytest >= 8
|
BuildRequires: %{python_module base >= 3.9}
|
||||||
Patch1: support-pytest-8.patch
|
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
|
|||||||
@@ -1,22 +0,0 @@
|
|||||||
Index: lexicon-2.0.1/tests/alias_dict.py
|
|
||||||
===================================================================
|
|
||||||
--- lexicon-2.0.1.orig/tests/alias_dict.py
|
|
||||||
+++ lexicon-2.0.1/tests/alias_dict.py
|
|
||||||
@@ -36,7 +36,7 @@ class AliasDict_:
|
|
||||||
ad.unalias("lol no")
|
|
||||||
|
|
||||||
class aliases_of:
|
|
||||||
- def setup(self):
|
|
||||||
+ def setup_method(self):
|
|
||||||
self.ad = AliasDict()
|
|
||||||
|
|
||||||
def returns_list_of_aliases_for_given_real_key(self):
|
|
||||||
@@ -162,7 +162,7 @@ class AliasDict_:
|
|
||||||
class aliases_are_not_real_keys:
|
|
||||||
"aliases are not real keys"
|
|
||||||
|
|
||||||
- def setup(self):
|
|
||||||
+ def setup_method(self):
|
|
||||||
self.a = AliasDict({"key1": "val1", "key2": "val2"})
|
|
||||||
self.a.alias("myalias", "key1")
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user