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