From ed484c7ce1f86704e3912bd6f244262edc890ee364cb35d6f4edc2dc559c041d Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:41:36 +0000 Subject: [PATCH 1/3] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-munch?expand=0&rev=3 --- python-munch.changes | 5 +++++ python-munch.spec | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/python-munch.changes b/python-munch.changes index b0cedb1..225b13d 100644 --- a/python-munch.changes +++ b/python-munch.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:50:36 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Mon Feb 12 08:37:50 UTC 2018 - tbechtold@suse.com diff --git a/python-munch.spec b/python-munch.spec index 725f8dd..09c0fdf 100644 --- a/python-munch.spec +++ b/python-munch.spec @@ -12,7 +12,7 @@ # 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/ # @@ -25,7 +25,6 @@ License: MIT Group: Development/Languages/Python 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: python-rpm-macros # SECTION test requirements From 05a58582b238a72ccc290142da30c6935b5377611be13e66fe86b632a42e33f6 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:17:01 +0000 Subject: [PATCH 2/3] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-munch?expand=0&rev=4 --- python-munch.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/python-munch.spec b/python-munch.spec index 09c0fdf..742441c 100644 --- a/python-munch.spec +++ b/python-munch.spec @@ -23,17 +23,16 @@ 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 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 @@ -50,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 From f9344de77b028bb27fbae1f33498ab2d8f05aa0ba84f17db8413ddc826c2c420 Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Thu, 6 Dec 2018 05:43:33 +0000 Subject: [PATCH 3/3] 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 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-munch?expand=0&rev=5 --- munch-2.2.0.tar.gz | 3 --- munch-2.3.2.tar.gz | 3 +++ python-munch.changes | 24 ++++++++++++++++++++++++ python-munch.spec | 2 +- 4 files changed, 28 insertions(+), 4 deletions(-) delete mode 100644 munch-2.2.0.tar.gz create mode 100644 munch-2.3.2.tar.gz diff --git a/munch-2.2.0.tar.gz b/munch-2.2.0.tar.gz deleted file mode 100644 index f40237e..0000000 --- a/munch-2.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:62fb4fb318e965a464b088e6af52a63e0905a50500b770596a939d3855e7aa15 -size 7108 diff --git a/munch-2.3.2.tar.gz b/munch-2.3.2.tar.gz new file mode 100644 index 0000000..c5772c8 --- /dev/null +++ b/munch-2.3.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6ae3d26b837feacf732fb8aa5b842130da1daf221f5af9f9d4b2a0a6414b0d51 +size 7598 diff --git a/python-munch.changes b/python-munch.changes index 225b13d..b09e0f0 100644 --- a/python-munch.changes +++ b/python-munch.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Thu Dec 6 05:40:17 UTC 2018 - Thomas Bechtold + +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 diff --git a/python-munch.spec b/python-munch.spec index 742441c..ac7c76f 100644 --- a/python-munch.spec +++ b/python-munch.spec @@ -18,7 +18,7 @@ %{?!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