Accepting request 655469 from devel:languages:python

update to version 2.3.2:
  * Add __dict__ property that calls toDict()
  * Limit travis deployment conditions
  * Implement the pickling interface
  * Use flat dicts in __getstate__ (closes #30)
  * Ignore pytest cache
  * __setattr__ will now munchify() any provided dict
  * AutoMunch for automatically converting dicts to Munches
  * Drop support for 2.6, 3.3, 3.4
  * Build python wheels
  * Avoid running yaml tests when in no-deps environment
  * Drop support for Python 2.6, 3.3, 3.4
  * Fix lint in init
  * Ignore flycheck files
  * Drop the dot in pytest invocation
  * Clear and update dict
  * Make DefaultFactoryMunch which lets users provide a factory to
    generate missing values
  * Bump version
  * Remove default from constructor and fromDict. Also add a test for repr

- Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/655469
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-munch?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2018-12-06 11:19:10 +00:00 committed by Git OBS Bridge
commit f1f4abecdc
4 changed files with 40 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:62fb4fb318e965a464b088e6af52a63e0905a50500b770596a939d3855e7aa15
size 7108

3
munch-2.3.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6ae3d26b837feacf732fb8aa5b842130da1daf221f5af9f9d4b2a0a6414b0d51
size 7598

View File

@ -1,3 +1,32 @@
-------------------------------------------------------------------
Thu Dec 6 05:40:17 UTC 2018 - Thomas Bechtold <tbechtold@suse.com>
update to version 2.3.2:
* Add __dict__ property that calls toDict()
* Limit travis deployment conditions
* Implement the pickling interface
* Use flat dicts in __getstate__ (closes #30)
* Ignore pytest cache
* __setattr__ will now munchify() any provided dict
* AutoMunch for automatically converting dicts to Munches
* Drop support for 2.6, 3.3, 3.4
* Build python wheels
* Avoid running yaml tests when in no-deps environment
* Drop support for Python 2.6, 3.3, 3.4
* Fix lint in init
* Ignore flycheck files
* Drop the dot in pytest invocation
* Clear and update dict
* Make DefaultFactoryMunch which lets users provide a factory to
generate missing values
* Bump version
* Remove default from constructor and fromDict. Also add a test for repr
-------------------------------------------------------------------
Tue Dec 4 12:50:36 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Mon Feb 12 08:37:50 UTC 2018 - tbechtold@suse.com

View File

@ -12,29 +12,27 @@
# 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-%{**}}
Name: python-munch
Version: 2.2.0
Version: 2.3.2
Release: 0
Summary: A dot-accessible dictionary
License: MIT
Group: Development/Languages/Python
Url: http://github.com/Infinidat/munch
URL: http://github.com/Infinidat/munch
Source: https://files.pythonhosted.org/packages/source/m/munch/munch-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-six
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module six}
# /SECTION
BuildRequires: fdupes
Requires: python-six
BuildArch: noarch
%python_subpackages
%description
@ -51,7 +49,8 @@ A dot-accessible dictionary (a la JavaScript objects).
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%doc LICENSE.txt README.md
%license LICENSE.txt
%doc README.md
%{python_sitelib}/*
%changelog