Sync from SUSE:SLFO:Main python-munch revision 64d40889658ca1bcdfd3cf2256b53f89
This commit is contained in:
commit
cc6bde86b6
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
munch-2.5.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
munch-2.5.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
51
python-munch.changes
Normal file
51
python-munch.changes
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 21 12:28:20 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- add sle15_python_module_pythons (jsc#PED-68)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 13 22:42:39 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Make calling of %{sle15modernpython} optional.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 20 19:20:53 UTC 2019 - Dirk Mueller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- 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)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
||||||
|
|
||||||
|
- Initial packaging (version 2.2.0)
|
58
python-munch.spec
Normal file
58
python-munch.spec
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-munch
|
||||||
|
#
|
||||||
|
# Copyright (c) 2023 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
|
Name: python-munch
|
||||||
|
Version: 2.5.0
|
||||||
|
Release: 0
|
||||||
|
Summary: A dot-accessible dictionary
|
||||||
|
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 pbr}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-six
|
||||||
|
BuildArch: noarch
|
||||||
|
# SECTION test requirements
|
||||||
|
BuildRequires: %{python_module six}
|
||||||
|
# /SECTION
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
A dot-accessible dictionary (a la JavaScript objects).
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n munch-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%python_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%license LICENSE.txt
|
||||||
|
%doc README.md
|
||||||
|
%{python_sitelib}/*
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user