6231b78
%global pypi_name box
6231b78
6231b78
Name:           python-%{pypi_name}
06379f9
Version:        6.0.2
06379f9
Release:        1%{?dist}
9995678
Summary:        Python dictionaries with advanced dot notation access
9995678
9995678
License:        MIT
9995678
URL:            https://github.com/cdgriffith/Box
6231b78
Source0:        %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
9995678
BuildArch:      noarch
9995678
9995678
%description
6231b78
Box will automatically make otherwise inaccessible keys safe to
6231b78
access as an attribute. You can always pass conversion_box=False
6231b78
to Box to disable that behavior. Also, all new dict and lists
6231b78
added to a Box or BoxList object are converted automatically.
9995678
6231b78
%package -n python3-%{pypi_name}
9995678
Summary:        %{summary}
9995678
6231b78
BuildRequires:  python3-devel
de232bf
BuildRequires:  python3dist(setuptools)
6231b78
BuildRequires:  python3dist(pytest)
6231b78
BuildRequires:  python3dist(pytest-runner)
6231b78
BuildRequires:  python3dist(pytest-cov)
6231b78
BuildRequires:  python3dist(msgpack)
9eb60ac
BuildRequires:  python3dist(ruamel-yaml)
16023c0
BuildRequires:  python3dist(toml)
6231b78
6231b78
Requires:       python3dist(msgpack)
9eb60ac
Requires:       python3dist(ruamel-yaml)
6231b78
Requires:       python3dist(toml)
6231b78
%{?python_provide:%python_provide python3-%{pypi_name}}
6231b78
6231b78
%description -n python3-%{pypi_name}
6231b78
Box will automatically make otherwise inaccessible keys safe to
6231b78
access as an attribute. You can always pass conversion_box=False
6231b78
to Box to disable that behavior. Also, all new dict and lists
6231b78
added to a Box or BoxList object are converted automatically.
9995678
9995678
%prep
6231b78
%autosetup -n Box-%{version}
9995678
9995678
%build
9995678
%py3_build
9995678
9995678
%install
9995678
%py3_install
9995678
6231b78
%check
6231b78
%pytest -v test -k "not test_msgpack"
9995678
6231b78
%files -n python3-%{pypi_name}
9995678
%license LICENSE
9995678
%doc README.rst
6231b78
%{python3_sitelib}/%{pypi_name}/
6231b78
%{python3_sitelib}/python_box-%{version}-py%{python3_version}.egg-info/
9995678
9995678
%changelog
06379f9
* Fri Aug 19 2022 Fabian Affolter <mail@fabian-affolter.ch> - 6.0.2-1
06379f9
- Update to latest upstream release 6.0.2 (closes rhbz#2043812)
06379f9
96ee192
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.4.0-5
96ee192
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
96ee192
647c4b8
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 5.4.0-4
647c4b8
- Rebuilt for Python 3.11
647c4b8
252a949
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.4.0-3
252a949
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
252a949
16023c0
* Fri Dec 17 2021 Miro Hrončok <mhroncok@redhat.com> - 5.4.0-2
16023c0
- BuildRequire all runtime deps, toml was only brought in transitively trough pytest
16023c0
9b0b4de
* Wed Aug 25 2021 Fabian Affolter <mail@fabian-affolter.ch> - 5.4.0-1
9b0b4de
- Update to latest upstream release 5.4.0 (rhbz#1993666)
9b0b4de
12679b4
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.0-3
12679b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
12679b4
efaadbb
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 5.3.0-2
efaadbb
- Rebuilt for Python 3.10
efaadbb
1ca8d30
* Sun Feb 14 2021 Fabian Affolter <mail@fabian-affolter.ch> - 5.3.0-1
1ca8d30
- Update to new upstream release 5.3.0 (#1928418)
1ca8d30
2b87686
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.0-2
2b87686
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2b87686
54b9da7
* Sat Oct 31 2020 Fabian Affolter <mail@fabian-affolter.ch> - 5.2.0-1
54b9da7
- Update to new upstream release 5.2.0 (#1892840)
54b9da7
6231b78
* Fri Sep 25 2020 Fabian Affolter <mail@fabian-affolter.ch> - 5.1.1-1
6231b78
- Enable tests
54b9da7
1867812)
6231b78
e18177e
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.5-4
e18177e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
e18177e
6e19b99
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 3.4.5-3
6e19b99
- Rebuilt for Python 3.9
6e19b99
c698c39
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.5-2
c698c39
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
c698c39
6708ac2
* Fri Oct 11 2019 David Moreau Simard <dmsimard@redhat.com> - 3.4.5-1
6708ac2
- Update to latest upstream release
6708ac2
d1ed08c
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 3.4.2-4
d1ed08c
- Rebuilt for Python 3.8.0rc1 (#1748018)
d1ed08c
b75bb4c
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 3.4.2-3
b75bb4c
- Rebuilt for Python 3.8
b75bb4c
205b398
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.2-2
205b398
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
205b398
9995678
* Fri Jul 5 2019 David Moreau Simard <dmsimard@redhat.com> - 3.4.1-1
9995678
- First version of the package