forked from pool/python-addict
Accepting request 834472 from devel:languages:python
- Update to 2.3.0: * Document default value behaviour (#126) * Add Python 3.9's merge operators `|` and `|=` support (#127) (#128) * Add alias 'Addict' to import Dict (#118) - Switch to pytest to run tests OBS-URL: https://build.opensuse.org/request/show/834472 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-addict?expand=0&rev=5
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 15 05:07:38 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 2.3.0:
|
||||
* Document default value behaviour (#126)
|
||||
* Add Python 3.9's merge operators `|` and `|=` support (#127) (#128)
|
||||
* Add alias 'Addict' to import Dict (#118)
|
||||
- Switch to pytest to run tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 29 07:03:49 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-addict
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,13 +18,13 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-addict
|
||||
Version: 2.2.1
|
||||
Version: 2.3.0
|
||||
Release: 0
|
||||
Summary: A dictionary using both attribute and item syntax
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/mewwts/addict
|
||||
Source: https://github.com/mewwts/addict/archive/v%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -47,7 +47,7 @@ using both attribute and item syntax.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:398bba9e7fa25e2ce144c5c4b8ec6208e89b9445869403dfa88ab66ec110fa12
|
||||
size 8260
|
||||
3
v2.3.0.tar.gz
Normal file
3
v2.3.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7c0c6a4f8162be84eec98ba089ab4845db56c62954b5701f350e61124da04cb8
|
||||
size 8700
|
||||
Reference in New Issue
Block a user