|
|
21c66c0 |
%bcond_without tests
|
|
|
21c66c0 |
|
|
|
21c66c0 |
%global pypi_name dotmap
|
|
|
21c66c0 |
|
|
|
21c66c0 |
%global _description %{expand:
|
|
|
21c66c0 |
DotMap is a dot-access dict subclass that has dynamic hierarchy
|
|
|
21c66c0 |
creation (autovivification), can be initialized with keys, easily
|
|
|
21c66c0 |
initializes from dict, easily converts to dict, is ordered by insertion.
|
|
|
21c66c0 |
The key feature is exactly what you want: dot-access.}
|
|
|
21c66c0 |
|
|
|
21c66c0 |
|
|
|
21c66c0 |
Name: python-%{pypi_name}
|
|
|
01e6fe0 |
Version: 1.3.30
|
|
|
84b1432 |
Release: 8%{?dist}
|
|
|
21c66c0 |
Summary: Dot access dictionary with dynamic hierarchy creation and ordered iteration
|
|
|
21c66c0 |
|
|
|
21c66c0 |
License: MIT
|
|
|
21c66c0 |
URL: https://github.com/drgrib/%{pypi_name}
|
|
|
ce4d992 |
Source0: %{pypi_source dotmap}
|
|
|
21c66c0 |
|
|
|
21c66c0 |
BuildArch: noarch
|
|
|
21c66c0 |
|
|
|
21c66c0 |
%description %_description
|
|
|
21c66c0 |
|
|
|
21c66c0 |
%package -n python3-%{pypi_name}
|
|
|
21c66c0 |
Summary: %{summary}
|
|
|
21c66c0 |
|
|
|
21c66c0 |
BuildRequires: make
|
|
|
21c66c0 |
BuildRequires: python3-devel
|
|
|
21c66c0 |
|
|
|
21c66c0 |
%if %{with tests}
|
|
|
21c66c0 |
BuildRequires: python3dist(pytest)
|
|
|
21c66c0 |
%endif
|
|
|
21c66c0 |
|
|
|
21c66c0 |
%description -n python3-%{pypi_name} %_description
|
|
|
21c66c0 |
|
|
|
21c66c0 |
%prep
|
|
|
21c66c0 |
%autosetup -n %{pypi_name}-%{version}
|
|
|
21c66c0 |
|
|
|
21c66c0 |
%generate_buildrequires
|
|
|
21c66c0 |
%pyproject_buildrequires -r
|
|
|
21c66c0 |
|
|
|
21c66c0 |
%build
|
|
|
21c66c0 |
%pyproject_wheel
|
|
|
21c66c0 |
|
|
|
21c66c0 |
%install
|
|
|
21c66c0 |
%pyproject_install
|
|
|
21c66c0 |
%pyproject_save_files dotmap
|
|
|
21c66c0 |
|
|
|
21c66c0 |
%check
|
|
|
21c66c0 |
%if %{with tests}
|
|
|
21c66c0 |
python3 -m unittest
|
|
|
21c66c0 |
%endif
|
|
|
21c66c0 |
|
|
|
21c66c0 |
%files -n python3-dotmap -f %{pyproject_files}
|
|
|
21c66c0 |
%license LICENSE.txt
|
|
|
21c66c0 |
%doc README.md
|
|
|
21c66c0 |
|
|
|
21c66c0 |
%changelog
|
|
|
84b1432 |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.30-8
|
|
|
84b1432 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
84b1432 |
|
|
|
c3e7fcf |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.30-7
|
|
|
c3e7fcf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
c3e7fcf |
|
|
|
680cda3 |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.30-6
|
|
|
680cda3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
680cda3 |
|
|
|
b20f31f |
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.3.30-5
|
|
|
b20f31f |
- Rebuilt for Python 3.12
|
|
|
b20f31f |
|
|
|
5c5b615 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.30-4
|
|
|
5c5b615 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
5c5b615 |
|
|
|
ebf1151 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.30-3
|
|
|
ebf1151 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
ebf1151 |
|
|
|
0cc8e14 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.3.30-2
|
|
|
0cc8e14 |
- Rebuilt for Python 3.11
|
|
|
0cc8e14 |
|
|
|
01e6fe0 |
* Thu Apr 7 2022 Iztok Fister Jr. <iztokf AT fedoraproject DOT org> - 1.3.30-1
|
|
|
01e6fe0 |
- Update to the latest upstream's release
|
|
|
01e6fe0 |
|
|
|
ce4d992 |
* Thu Apr 7 2022 Iztok Fister Jr. <iztokf AT fedoraproject DOT org> - 1.3.29-2
|
|
|
ce4d992 |
- Source corrected
|
|
|
ce4d992 |
|
|
|
8890ea9 |
* Tue Apr 5 2022 Iztok Fister Jr. <iztokf AT fedoraproject DOT org> - 1.3.29-1
|
|
|
8890ea9 |
- Update to the latest upstream's release
|
|
|
8890ea9 |
|
|
|
eca1c9e |
* Fri Apr 1 2022 Iztok Fister Jr. <iztokf AT fedoraproject DOT org> - 1.3.27-1
|
|
|
eca1c9e |
- Update to the latest upstream's release
|
|
|
eca1c9e |
|
|
|
d73c82d |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.26-2
|
|
|
d73c82d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
d73c82d |
|
|
|
21c66c0 |
* Sat Dec 11 2021 Iztok Fister Jr. <iztokf AT fedoraproject DOT org> - 1.3.26-1
|
|
|
21c66c0 |
- Initial package
|