From 7af27eafd53cbbf5d376e2d4bf034ff1856a49305617696c246bc31d90d11394 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 15 Sep 2020 05:08:58 +0000 Subject: [PATCH] - 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/package/show/devel:languages:python/python-addict?expand=0&rev=13 --- python-addict.changes | 9 +++++++++ python-addict.spec | 8 ++++---- v2.2.1.tar.gz | 3 --- v2.3.0.tar.gz | 3 +++ 4 files changed, 16 insertions(+), 7 deletions(-) delete mode 100644 v2.2.1.tar.gz create mode 100644 v2.3.0.tar.gz diff --git a/python-addict.changes b/python-addict.changes index 3e8107e..0daa154 100644 --- a/python-addict.changes +++ b/python-addict.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Sep 15 05:07:38 UTC 2020 - Steve Kowalik + +- 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 diff --git a/python-addict.spec b/python-addict.spec index 7501a6f..0f8bb8d 100644 --- a/python-addict.spec +++ b/python-addict.spec @@ -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 diff --git a/v2.2.1.tar.gz b/v2.2.1.tar.gz deleted file mode 100644 index e1b7ded..0000000 --- a/v2.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:398bba9e7fa25e2ce144c5c4b8ec6208e89b9445869403dfa88ab66ec110fa12 -size 8260 diff --git a/v2.3.0.tar.gz b/v2.3.0.tar.gz new file mode 100644 index 0000000..f1166bc --- /dev/null +++ b/v2.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7c0c6a4f8162be84eec98ba089ab4845db56c62954b5701f350e61124da04cb8 +size 8700