SHA256
1
0
forked from pool/python-munch

17 Commits

Author SHA256 Message Date
8a2b99fe3c Accepting request 1282935 from devel:languages:python
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1282935
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-munch?expand=0&rev=8
2025-06-10 06:57:07 +00:00
1cf094683a - Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-munch?expand=0&rev=17
2025-06-05 04:43:18 +00:00
c5579acf9c Accepting request 1190528 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1190528
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-munch?expand=0&rev=7
2024-08-01 20:03:17 +00:00
4bb1144498 Accepting request 1133681 from devel:languages:python
- update to 4.0.0:
  * Remove six dependency
- drop python-munch-no-six.patch (upstream)

OBS-URL: https://build.opensuse.org/request/show/1133681
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-munch?expand=0&rev=6
2023-12-17 20:29:09 +00:00
c6139b3fa3 - update to 4.0.0:
* Remove six dependency
- drop python-munch-no-six.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-munch?expand=0&rev=13
2023-12-17 01:57:37 +00:00
d52a713a80 Accepting request 1091747 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1091747
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-munch?expand=0&rev=5
2023-06-11 17:52:33 +00:00
bcc1583cd9 Accepting request 1091713 from home:pgajdos:python
- version update to 3.0.0
  * Fix munchify for tuples of lists
  * Require Python >=3.6 and upgrade syntax - thanks @EwoutH
  * Update __init__.py  to work with non standard version - thanks @mboisson
  * Allow importing even when VERSION read fails - thanks @mdornseif and @dangillet
  * Add imports to README
  * replace pkg_resources with importlib.metadata - thanks @dhellmann
  * Added RecursiveMunch object - thanks @GuillaumeRochette
- added patches
  fix https://github.com/Infinidat/munch/issues/96
  + python-munch-no-six.patch
- test package

OBS-URL: https://build.opensuse.org/request/show/1091713
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-munch?expand=0&rev=11
2023-06-09 05:13:47 +00:00
7c551a2d52 Accepting request 1081859 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081859
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-munch?expand=0&rev=4
2023-04-22 20:00:00 +00:00
564919b4f6 Accepting request 1081496 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081496
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-munch?expand=0&rev=9
2023-04-21 14:21:22 +00:00
2a14b9e243 Accepting request 758636 from devel:languages:python
- update to 2.5.0:
  * Support fromJSON classmethod for all Munch subclasses
  * Fix DefaultMunch/DefaultFactoryMunch return value for get method (fixes #53)
  * Support fromYAML classmethod for all Munch subclasses (fixes #34)

OBS-URL: https://build.opensuse.org/request/show/758636
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-munch?expand=0&rev=3
2019-12-21 11:34:36 +00:00
b7425aabdf - update to 2.5.0:
* Support fromJSON classmethod for all Munch subclasses
  * Fix DefaultMunch/DefaultFactoryMunch return value for get method (fixes #53)
  * Support fromYAML classmethod for all Munch subclasses (fixes #34)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-munch?expand=0&rev=7
2019-12-20 19:21:56 +00:00
f1f4abecdc 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
2018-12-06 11:19:10 +00:00
Thomas Bechtold
f9344de77b 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
2018-12-06 05:43:33 +00:00
05a58582b2 Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-munch?expand=0&rev=4
2018-12-04 17:17:01 +00:00
ed484c7ce1 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-munch?expand=0&rev=3
2018-12-04 13:41:36 +00:00
ab9bab4317 Accepting request 575506 from devel:languages:python
For OpenStack clients

OBS-URL: https://build.opensuse.org/request/show/575506
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-munch?expand=0&rev=1
2018-02-14 08:45:34 +00:00
Thomas Bechtold
4803d1e017 - Initial packaging (version 2.2.0)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-munch?expand=0&rev=1
2018-02-12 08:39:09 +00:00
2 changed files with 11 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 5 04:38:04 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Tue Jul 30 11:14:38 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-munch
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -22,13 +22,14 @@ Version: 4.0.0
Release: 0
Summary: A dot-accessible dictionary
License: MIT
Group: Development/Languages/Python
URL: https://github.com/Infinidat/munch
Source: https://files.pythonhosted.org/packages/source/m/munch/munch-%{version}.tar.gz
# PATCH-FIX-UPSTREAM - gh/Infinidat/munch#104 - Adjust tests for Python 3.13
Patch: https://patch-diff.githubusercontent.com/raw/Infinidat/munch/pull/104.patch#/adjust-tests-for-python3.13.patch
BuildRequires: %{python_module pbr}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -44,10 +45,10 @@ A dot-accessible dictionary (a la JavaScript objects).
%autosetup -p1 -n munch-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -57,6 +58,6 @@ A dot-accessible dictionary (a la JavaScript objects).
%license LICENSE.txt
%doc README.md
%{python_sitelib}/munch
%{python_sitelib}/munch-*.egg-info
%{python_sitelib}/munch-%{version}.dist-info
%changelog