|
rdobuilder |
9f1e85 |
%global pypi_name tomlkit
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
%global common_description %{expand:
|
|
rdobuilder |
9f1e85 |
TOML Kit is a 1.0.0-compliant TOML library.
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
It includes a parser that preserves all comments, indentations, whitespace and
|
|
rdobuilder |
9f1e85 |
internal element ordering, and makes them accessible and editable via an
|
|
rdobuilder |
9f1e85 |
intuitive API.
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
You can also create new TOML documents from scratch using the provided helpers.
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
Part of the implementation has been adapted, improved and fixed from Molten.}
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
Name: python-%{pypi_name}
|
|
rdobuilder |
9f1e85 |
Summary: Style preserving TOML library
|
|
rdobuilder |
9f1e85 |
Version: 0.12.4
|
|
rdobuilder |
9f1e85 |
Release: 1%{?dist}
|
|
rdobuilder |
9f1e85 |
License: MIT
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
URL: https://github.com/sdispater/tomlkit
|
|
rdobuilder |
9f1e85 |
Source0: %{pypi_source %{pypi_name}}
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
BuildArch: noarch
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
BuildRequires: python3-devel
|
|
rdobuilder |
9f1e85 |
BuildRequires: pyproject-rpm-macros
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
# test dependencies
|
|
rdobuilder |
9f1e85 |
BuildRequires: python3dist(pytest)
|
|
rdobuilder |
9f1e85 |
BuildRequires: python3dist(pyyaml)
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
%description %{common_description}
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
%package -n python3-%{pypi_name}
|
|
rdobuilder |
9f1e85 |
Summary: %{summary}
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
%description -n python3-%{pypi_name} %{common_description}
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
%prep
|
|
rdobuilder |
9f1e85 |
%autosetup -n %{pypi_name}-%{version} -p1
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
%generate_buildrequires
|
|
rdobuilder |
9f1e85 |
%pyproject_buildrequires -r
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
%build
|
|
rdobuilder |
9f1e85 |
%pyproject_wheel
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
%install
|
|
rdobuilder |
9f1e85 |
%pyproject_install
|
|
rdobuilder |
9f1e85 |
%pyproject_save_files %{pypi_name}
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
%check
|
|
rdobuilder |
9f1e85 |
%pytest
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
%files -n python3-%{pypi_name} -f %{pyproject_files}
|
|
rdobuilder |
9f1e85 |
%license LICENSE
|
|
rdobuilder |
9f1e85 |
%doc README.md
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
%changelog
|
|
rdobuilder |
9f1e85 |
* Mon Mar 18 2024 Charalampos Stratakis <cstratak@redhat.com> - 0.12.4-1
|
|
rdobuilder |
9f1e85 |
- Update to 0.12.4
|
|
rdobuilder |
9f1e85 |
- Fixes: rhbz#2266221
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.3-3
|
|
rdobuilder |
9f1e85 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.3-2
|
|
rdobuilder |
9f1e85 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
* Sun Nov 19 2023 Maxwell G <maxwell@gtmx.me> - 0.12.3-1
|
|
rdobuilder |
9f1e85 |
- Update to 0.12.3. Fixes rhbz#2249729.
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
* Thu Nov 02 2023 Maxwell G <maxwell@gtmx.me> - 0.12.2-1
|
|
rdobuilder |
9f1e85 |
- Update to 0.12.2. Fixes rhbz#2247663.
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
* Mon Aug 28 2023 Charalampos Stratakis <cstratak@redhat.com> - 0.12.1-1
|
|
rdobuilder |
9f1e85 |
- Update to 0.12.1
|
|
rdobuilder |
9f1e85 |
Resolves: rhbz#2130400
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.4-4
|
|
rdobuilder |
9f1e85 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
* Thu Jun 15 2023 Python Maint <python-maint@redhat.com> - 0.11.4-3
|
|
rdobuilder |
9f1e85 |
- Rebuilt for Python 3.12
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.4-2
|
|
rdobuilder |
9f1e85 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
* Sat Aug 13 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.11.4-1
|
|
rdobuilder |
9f1e85 |
- Update to 0.11.4 (close RHBZ#2078161)
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.1-3
|
|
rdobuilder |
9f1e85 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 0.10.1-2
|
|
rdobuilder |
9f1e85 |
- Rebuilt for Python 3.11
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
* Sun Mar 27 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0.10.1-1
|
|
rdobuilder |
9f1e85 |
- Update to 0.10.1 (close RHBZ#2034117)
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-2
|
|
rdobuilder |
9f1e85 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
* Mon Aug 23 2021 Karolina Surma <ksurma@redhat.com> - 0.7.2-1
|
|
rdobuilder |
9f1e85 |
- Update to version 0.7.2 (#1962396)
|
|
rdobuilder |
9f1e85 |
- Build package using pyproject-rpm-macros
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-4
|
|
rdobuilder |
9f1e85 |
- Second attempt - Rebuilt for
|
|
rdobuilder |
9f1e85 |
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.7.0-3
|
|
rdobuilder |
9f1e85 |
- Rebuilt for Python 3.10
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-2
|
|
rdobuilder |
9f1e85 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
* Sat Oct 03 2020 Fabio Valentini <decathorpe@gmail.com> - 0.7.0-1
|
|
rdobuilder |
9f1e85 |
- Update to version 0.7.0.
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.11-3
|
|
rdobuilder |
9f1e85 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.5.11-2
|
|
rdobuilder |
9f1e85 |
- Rebuilt for Python 3.9
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
* Sat Feb 29 2020 Fabio Valentini <decathorpe@gmail.com> - 0.5.11-1
|
|
rdobuilder |
9f1e85 |
- rebuilt
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
* Fri Feb 28 2020 Fabio Valentini <decathorpe@gmail.com> - 0.5.10-1
|
|
rdobuilder |
9f1e85 |
- Update to version 0.5.10.
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.8-2
|
|
rdobuilder |
9f1e85 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
* Sat Oct 19 2019 Fabio Valentini <decathorpe@gmail.com> - 0.5.8-1
|
|
rdobuilder |
9f1e85 |
- Update to version 0.5.8.
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
* Fri Oct 04 2019 Fabio Valentini <decathorpe@gmail.com> - 0.5.7-1
|
|
rdobuilder |
9f1e85 |
- Update to version 0.5.7.
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.5.5-4
|
|
rdobuilder |
9f1e85 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.5.5-3
|
|
rdobuilder |
9f1e85 |
- Rebuilt for Python 3.8
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.5-2
|
|
rdobuilder |
9f1e85 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
* Tue Jul 02 2019 Fabio Valentini <decathorpe@gmail.com> - 0.5.5-1
|
|
rdobuilder |
9f1e85 |
- Update to version 0.5.5.
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
* Sun Jun 30 2019 Fabio Valentini <decathorpe@gmail.com> - 0.5.4-1
|
|
rdobuilder |
9f1e85 |
- Update to version 0.5.4.
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
* Sat May 04 2019 Fabio Valentini <decathorpe@gmail.com> - 0.5.3-4
|
|
rdobuilder |
9f1e85 |
- Use setup from setuptools, not distutils.core.
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
* Mon Feb 11 2019 Patrik Kopkan <pkopkan@redhat.com> - 0.5.3-3
|
|
rdobuilder |
9f1e85 |
- Added check section.
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-2
|
|
rdobuilder |
9f1e85 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
rdobuilder |
9f1e85 |
|
|
rdobuilder |
9f1e85 |
* Wed Dec 19 2018 Fabio Valentini <decathorpe@gmail.com> - 0.5.3-1
|
|
rdobuilder |
9f1e85 |
- Initial package.
|
|
rdobuilder |
9f1e85 |
|