c65ae7
Name:               python-iniconfig
c65ae7
Version:            1.1.1
c65ae7
Release:            7%{?dist}
c65ae7
Summary:            Brain-dead simple parsing of ini files
c65ae7
License:            MIT
c65ae7
URL:                http://github.com/RonnyPfannschmidt/iniconfig
c65ae7
BuildArch:          noarch
c65ae7
BuildRequires:      python3-devel
c65ae7
BuildRequires:      pyproject-rpm-macros
c65ae7
c65ae7
Source0:            %{pypi_source iniconfig}
c65ae7
c65ae7
# Tests are disabled to remove the test dependencies
c65ae7
# Specify --with tests to run the tests on e.g. EPEL
c65ae7
%bcond_with tests
c65ae7
c65ae7
%global _description %{expand:
c65ae7
iniconfig is a small and simple INI-file parser module
c65ae7
having a unique set of features:
c65ae7
c65ae7
* tested against Python2.4 across to Python3.2, Jython, PyPy
c65ae7
* maintains order of sections and entries
c65ae7
* supports multi-line values with or without line-continuations
c65ae7
* supports "#" comments everywhere
c65ae7
* raises errors with proper line-numbers
c65ae7
* no bells and whistles like automatic substitutions
c65ae7
* iniconfig raises an Error if two sections have the same name.}
c65ae7
%description %_description
c65ae7
c65ae7
c65ae7
%package -n python3-iniconfig
c65ae7
Summary:            %{summary}
c65ae7
%description -n python3-iniconfig %_description
c65ae7
c65ae7
c65ae7
%prep
c65ae7
%autosetup -n iniconfig-%{version}
c65ae7
c65ae7
c65ae7
%generate_buildrequires
c65ae7
%pyproject_buildrequires %{?with_tests:-t}
c65ae7
c65ae7
c65ae7
%build
c65ae7
%pyproject_wheel
c65ae7
c65ae7
c65ae7
%install
c65ae7
%pyproject_install
c65ae7
%pyproject_save_files iniconfig
c65ae7
c65ae7
c65ae7
%if %{with tests}
c65ae7
%check
c65ae7
%tox
c65ae7
%endif
c65ae7
c65ae7
c65ae7
%files -n python3-iniconfig -f %{pyproject_files}
c65ae7
%doc README.txt
c65ae7
%license LICENSE
c65ae7
c65ae7
c65ae7
%changelog
c65ae7
* Tue Feb 22 2022 Tomas Orsava <torsava@redhat.com> - 1.1.1-7
c65ae7
- Add gating configuration and a simple smoke test
c65ae7
- Related: rhbz#1950291
c65ae7
c65ae7
* Tue Feb 08 2022 Tomas Orsava <torsava@redhat.com> - 1.1.1-6
c65ae7
- Add automatically generated Obsoletes tag with the python39- prefix
c65ae7
  for smoother upgrade from RHEL8
c65ae7
- Related: rhbz#1990421
c65ae7
c65ae7
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.1.1-5
c65ae7
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
c65ae7
  Related: rhbz#1991688
c65ae7
c65ae7
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.1.1-4
c65ae7
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
c65ae7
c65ae7
* Mon Mar 08 2021 Charalampos Stratakis <cstratak@redhat.com> - 1.1.1-3
c65ae7
- Disable tests on RHEL9 to remove tox dependency
c65ae7
c65ae7
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-2
c65ae7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
c65ae7
c65ae7
* Thu Oct 15 2020 Tomas Hrnciar <thrnciar@redhat.com> - 1.1.1-1
c65ae7
- Update to 1.1.1 (#1888157)
c65ae7
c65ae7
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
c65ae7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
c65ae7
c65ae7
* Mon Jul 13 2020 Miro HronĨok <mhroncok@redhat.com> - 1.0.0-1
c65ae7
- Initial package (#1856421)