commit f98899d80ecd726fc82f0c4928130d163f90138f255d49f52b22958b564229ac Author: Markéta Machová Date: Mon May 26 12:30:29 2025 +0000 - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dotmap?expand=0&rev=12 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/dotmap-1.3.30.tar.gz b/dotmap-1.3.30.tar.gz new file mode 100644 index 0000000..81f2553 --- /dev/null +++ b/dotmap-1.3.30.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5821a7933f075fb47563417c0e92e0b7c031158b4c9a6a7e56163479b658b368 +size 12391 diff --git a/python-dotmap.changes b/python-dotmap.changes new file mode 100644 index 0000000..d529219 --- /dev/null +++ b/python-dotmap.changes @@ -0,0 +1,64 @@ +------------------------------------------------------------------- +Mon May 26 12:30:15 UTC 2025 - Markéta Machová + +- Convert to pip-based build + +------------------------------------------------------------------- +Tue Sep 27 18:59:25 UTC 2022 - Yogalakshmi Arunachalam + +- update to 1.3.30 + * apply _key_convert_hook to nested fields (#90) + * add key convert hook (#89) + * Revert "fix issue #85 (#86)" (#88) + * Fix indent (#87) + * fix issue #85 (#86) + * fix issue #85 + Handle keys with dashes/dots by replacing them with underlines + * fix typo + +------------------------------------------------------------------- +Sat Jan 15 16:15:01 UTC 2022 - Dirk Müller + +- update to 1.3.26: + * no changelog findable + +------------------------------------------------------------------- +Thu Sep 9 11:33:09 UTC 2021 - Matej Cepl + +- Replace python setup.py test with running unittest runner directly. + +------------------------------------------------------------------- +Fri Sep 3 11:42:02 UTC 2021 - John Paul Adrian Glaubitz + +- Update to 1.3.24 + * Include license metadata in setup.py (#79) + * drop 2.7 support + * ignore ds store + * drop python 2.7 test support + * update pytest + * Donate link for those interested +- from version 1.2.23 + * fix for circular references in __init__ (#71) + +------------------------------------------------------------------- +Thu Oct 22 03:56:59 UTC 2020 - Steve Kowalik + +- Update to 1.3.22: + * No changelog + +------------------------------------------------------------------- +Tue Jun 16 04:25:23 UTC 2020 - Steve Kowalik + +- Update to 1.3.17: + * No changelog + +------------------------------------------------------------------- +Mon Apr 13 02:04:18 UTC 2020 - John Vandenberg + +- Remove unnecessary dependency devel and supply license +- Update to v1.3.13 + +------------------------------------------------------------------- +Mon Jan 21 03:43:33 UTC 2019 - Todd R + +- Initial version 1.3.4 diff --git a/python-dotmap.spec b/python-dotmap.spec new file mode 100644 index 0000000..f337b00 --- /dev/null +++ b/python-dotmap.spec @@ -0,0 +1,56 @@ +# +# spec file for package python-dotmap +# +# 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 +# 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/ +# + + +Name: python-dotmap +Version: 1.3.30 +Release: 0 +Summary: Python ordered, dynamically-expandable dot-access dictionary +License: MIT +URL: https://github.com/drgrib/dotmap +Source: https://files.pythonhosted.org/packages/source/d/dotmap/dotmap-%{version}.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildArch: noarch +%python_subpackages + +%description +Python ordered, dynamically-expandable dot-access dictionary. + +%prep +%setup -q -n dotmap-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pyunittest -v dotmap.test + +%files %{python_files} +%doc README.md +%license LICENSE.txt +%{python_sitelib}/dotmap +%{python_sitelib}/dotmap-%{version}*-info + +%changelog