commit python-addict for openSUSE:Factory

2020-09-15 Thread root
Hello community,

here is the log from the commit of package python-addict for openSUSE:Factory 
checked in at 2020-09-15 16:29:18

Comparing /work/SRC/openSUSE:Factory/python-addict (Old)
 and  /work/SRC/openSUSE:Factory/.python-addict.new.4249 (New)


Package is "python-addict"

Tue Sep 15 16:29:18 2020 rev:5 rq:834472 version:2.3.0

Changes:

--- /work/SRC/openSUSE:Factory/python-addict/python-addict.changes  
2019-04-30 13:05:51.941909343 +0200
+++ /work/SRC/openSUSE:Factory/.python-addict.new.4249/python-addict.changes
2020-09-15 16:29:22.162658782 +0200
@@ -1,0 +2,9 @@
+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
+
+---

Old:

  v2.2.1.tar.gz

New:

  v2.3.0.tar.gz



Other differences:
--
++ python-addict.spec ++
--- /var/tmp/diff_new_pack.KM7RRq/_old  2020-09-15 16:29:23.086659667 +0200
+++ /var/tmp/diff_new_pack.KM7RRq/_new  2020-09-15 16:29:23.090659670 +0200
@@ -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 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_exec setup.py test
+%pytest
 
 %files %{python_files}
 %doc README.md

++ v2.2.1.tar.gz -> v2.3.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/addict-2.2.1/README.md new/addict-2.3.0/README.md
--- old/addict-2.2.1/README.md  2019-04-28 10:12:41.0 +0200
+++ new/addict-2.3.0/README.md  2020-09-12 09:19:05.0 +0200
@@ -1,4 +1,4 @@
-# addict - the Python Dict that's better than heroin.
+# addict (maintainer wanted, please reach out.)
 [![build 
Status](https://travis-ci.org/mewwts/addict.svg?branch=master)](https://travis-ci.org/mewwts/addict)
 [![Coverage 
Status](https://img.shields.io/coveralls/mewwts/addict.svg)](https://coveralls.io/r/mewwts/addict)
 [![PyPI 
version](https://badge.fury.io/py/addict.svg)](https://badge.fury.io/py/addict) 
[![Anaconda-Server 
Badge](https://anaconda.org/conda-forge/addict/badges/version.svg)](https://anaconda.org/conda-forge/addict)
 [![Supportwith-Ether 
Badge](https://img.shields.io/badge/Support%20with-ETH-green.svg)](https://supportwith.xyz/ether/0x77D52D817bbb513F827e4E976D425f4FA1618350)
 
 addict is a Python module that gives you dictionaries whose values are both 
gettable and settable using attributes, in addition to standard item-syntax.
@@ -108,6 +108,17 @@
 ```
 just like a regular `dict`. There are no restrictions (other than what a 
regular dict imposes) regarding what keys you can use.
 
+### Default values
+For keys that are not in the dictionary, addict behaves like 
```defaultdict(Dict)```, so missing keys return an empty ```Dict```
+rather than raising ```KeyError```.
+If this behaviour is not desired, it can be overriden using
+```Python
+>>> class DictNoDefault(Dict):
+>>> def __missing__(self, key):
+>>> raise KeyError(key)
+```
+but beware that you will then lose the shorthand assignment functionality 
(```addicted.a.b.c.d.e = 2```).
+
 ### Recursive Fallback to dict
 If you don't feel safe shipping your addict around to other modules, use the 
`to_dict()`-method, which returns a regular dict clone of the addict dictionary.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/addict-2.2.1/addict/__init__.py 
new/addict-2.3.0/addict/__init__.py
--- old/addict-2.2.1/addict/__init__.py 2019-04-28 10:12:41.0 +0200
+++ new/addict-2.3.0/addict/__init__.py 2020-09-12 09:19:05.0 +0200
@@ -1,4 +1,5 @@
 from .addict import Dict
+from .addict import Dict as Addict
 
 
 __title__ = 'addict'
diff -urN '--exclude=CVS' 

commit python-addict for openSUSE:Factory

2019-04-30 Thread root
Hello community,

here is the log from the commit of package python-addict for openSUSE:Factory 
checked in at 2019-04-30 13:05:48

Comparing /work/SRC/openSUSE:Factory/python-addict (Old)
 and  /work/SRC/openSUSE:Factory/.python-addict.new.5536 (New)


Package is "python-addict"

Tue Apr 30 13:05:48 2019 rev:4 rq:699148 version:2.2.1

Changes:

--- /work/SRC/openSUSE:Factory/python-addict/python-addict.changes  
2019-03-22 15:00:32.545820736 +0100
+++ /work/SRC/openSUSE:Factory/.python-addict.new.5536/python-addict.changes
2019-04-30 13:05:51.941909343 +0200
@@ -1,0 +2,6 @@
+Mon Apr 29 07:03:49 UTC 2019 - Tomáš Chvátal 
+
+- Update to 2.2.1:
+  * Include tests in sdist
+
+---

Old:

  v2.2.0.tar.gz

New:

  v2.2.1.tar.gz



Other differences:
--
++ python-addict.spec ++
--- /var/tmp/diff_new_pack.SW4kzp/_old  2019-04-30 13:05:53.337908082 +0200
+++ /var/tmp/diff_new_pack.SW4kzp/_new  2019-04-30 13:05:53.349908071 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-addict
-Version:2.2.0
+Version:2.2.1
 Release:0
 Summary:A dictionary using both attribute and item syntax
 License:MIT

++ v2.2.0.tar.gz -> v2.2.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/addict-2.2.0/MANIFEST.in new/addict-2.2.1/MANIFEST.in
--- old/addict-2.2.0/MANIFEST.in1970-01-01 01:00:00.0 +0100
+++ new/addict-2.2.1/MANIFEST.in2019-04-28 10:12:41.0 +0200
@@ -0,0 +1,2 @@
+include test_addict.py
+include LICENSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/addict-2.2.0/README.md new/addict-2.2.1/README.md
--- old/addict-2.2.0/README.md  2018-08-23 07:30:02.0 +0200
+++ new/addict-2.2.1/README.md  2019-04-28 10:12:41.0 +0200
@@ -50,7 +50,7 @@
 {'a': {'b': {'c': {'d': {'e': 2}
 ```
 
-If the `Dict` is instanciated with any iterable values, it will iterate 
through and clone these values, and turn `dict`s into `Dict`s.
+If the `Dict` is instantiated with any iterable values, it will iterate 
through and clone these values, and turn `dict`s into `Dict`s.
 Hence, the following works
 ```Python
 >>> mapping = {'a': [{'b': 3}, {'b': 3}]}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/addict-2.2.0/addict/__init__.py 
new/addict-2.2.1/addict/__init__.py
--- old/addict-2.2.0/addict/__init__.py 2018-08-23 07:30:02.0 +0200
+++ new/addict-2.2.1/addict/__init__.py 2019-04-28 10:12:41.0 +0200
@@ -2,7 +2,7 @@
 
 
 __title__ = 'addict'
-__version__ = '2.2.0'
+__version__ = '2.2.1'
 __author__ = 'Mats Julian Olsen'
 __license__ = 'MIT'
 __copyright__ = 'Copyright 2014, 2015, 2016 Mats Julian Olsen'




commit python-addict for openSUSE:Factory

2019-03-22 Thread root
Hello community,

here is the log from the commit of package python-addict for openSUSE:Factory 
checked in at 2019-03-22 15:00:25

Comparing /work/SRC/openSUSE:Factory/python-addict (Old)
 and  /work/SRC/openSUSE:Factory/.python-addict.new.25356 (New)


Package is "python-addict"

Fri Mar 22 15:00:25 2019 rev:3 rq:682107 version:2.2.0

Changes:

--- /work/SRC/openSUSE:Factory/python-addict/python-addict.changes  
2018-12-12 17:24:37.407171381 +0100
+++ /work/SRC/openSUSE:Factory/.python-addict.new.25356/python-addict.changes   
2019-03-22 15:00:32.545820736 +0100
@@ -1,0 +2,7 @@
+Wed Mar  6 11:18:43 UTC 2019 - Tomáš Chvátal 
+
+- Update to 2.2.0:
+  * In this release it's easier / better to inherit from a Dict instance
+- Switch to github tarball to get license and tests
+
+---

Old:

  LICENSE
  addict-2.1.2.tar.gz

New:

  v2.2.0.tar.gz



Other differences:
--
++ python-addict.spec ++
--- /var/tmp/diff_new_pack.oesZcl/_old  2019-03-22 15:00:35.393818808 +0100
+++ /var/tmp/diff_new_pack.oesZcl/_new  2019-03-22 15:00:35.437818778 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-addict
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,22 +17,18 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-# Test scripts missing
-%bcond_with test
 Name:   python-addict
-Version:2.1.2
+Version:2.2.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://files.pythonhosted.org/packages/source/a/addict/addict-%{version}.tar.gz
-Source10:   
https://raw.githubusercontent.com/mewwts/addict/v%{version}/LICENSE
+URL:https://github.com/mewwts/addict
+Source: https://github.com/mewwts/addict/archive/v%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildArch:  noarch
-
 %python_subpackages
 
 %description
@@ -42,7 +38,6 @@
 
 %prep
 %setup -q -n addict-%{version}
-cp %{SOURCE10} .
 
 %build
 %python_build
@@ -51,13 +46,10 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%if %{with test}
 %check
 %python_exec setup.py test
-%endif
 
 %files %{python_files}
-%defattr(-,root,root,-)
 %doc README.md
 %license LICENSE
 %{python_sitelib}/*




commit python-addict for openSUSE:Factory

2018-12-12 Thread root
Hello community,

here is the log from the commit of package python-addict for openSUSE:Factory 
checked in at 2018-12-12 17:24:35

Comparing /work/SRC/openSUSE:Factory/python-addict (Old)
 and  /work/SRC/openSUSE:Factory/.python-addict.new.28833 (New)


Package is "python-addict"

Wed Dec 12 17:24:35 2018 rev:2 rq:653904 version:2.1.2

Changes:

--- /work/SRC/openSUSE:Factory/python-addict/python-addict.changes  
2018-05-29 16:48:05.677047489 +0200
+++ /work/SRC/openSUSE:Factory/.python-addict.new.28833/python-addict.changes   
2018-12-12 17:24:37.407171381 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:45:28 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-addict.spec ++
--- /var/tmp/diff_new_pack.MI49oQ/_old  2018-12-12 17:24:37.983170647 +0100
+++ /var/tmp/diff_new_pack.MI49oQ/_new  2018-12-12 17:24:37.987170642 +0100
@@ -12,7 +12,8 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
@@ -21,16 +22,15 @@
 Name:   python-addict
 Version:2.1.2
 Release:0
-License:MIT
 Summary:A dictionary using both attribute and item syntax
-Url:https://github.com/mewwts/addict
+License:MIT
 Group:  Development/Languages/Python
+Url:https://github.com/mewwts/addict
 Source: 
https://files.pythonhosted.org/packages/source/a/addict/addict-%{version}.tar.gz
 Source10:   
https://raw.githubusercontent.com/mewwts/addict/v%{version}/LICENSE
-BuildRequires:  python-rpm-macros
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 BuildArch:  noarch
 
 %python_subpackages