python-iniconfig/python-iniconfig.spec

117 lines
3.4 KiB
RPMSpec
Raw Normal View History

2020-07-14 11:00:32 +00:00
Name: python-iniconfig
2020-10-15 13:39:09 +00:00
Version: 1.1.1
2023-06-16 06:18:09 +00:00
Release: 13%{?dist}
2020-07-14 11:00:32 +00:00
Summary: Brain-dead simple parsing of ini files
2023-05-26 12:08:24 +00:00
# SDPX
2020-07-14 11:00:32 +00:00
License: MIT
URL: http://github.com/RonnyPfannschmidt/iniconfig
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: pyproject-rpm-macros
# pytest 6+ needs this and this uses pytest for tests
%bcond_without tests
%if %{with tests}
# We BR pytest manually to avoid a dependency on tox in ELN/RHEL
BuildRequires: python3-pytest
%endif
Source0: %{pypi_source iniconfig}
2020-07-14 11:00:32 +00:00
%global _description %{expand:
iniconfig is a small and simple INI-file parser module
having a unique set of features:
* tested against Python2.4 across to Python3.2, Jython, PyPy
* maintains order of sections and entries
* supports multi-line values with or without line-continuations
* supports "#" comments everywhere
* raises errors with proper line-numbers
* no bells and whistles like automatic substitutions
* iniconfig raises an Error if two sections have the same name.}
%description %_description
%package -n python3-iniconfig
Summary: %{summary}
%description -n python3-iniconfig %_description
%prep
%autosetup -n iniconfig-%{version}
2022-12-08 13:21:39 +00:00
# Remove undeclared dependency on python-py
# Merged upstream https://github.com/pytest-dev/iniconfig/pull/47
sed -i "s/py\.test/pytest/" testing/test_iniconfig.py
2020-07-14 11:00:32 +00:00
%generate_buildrequires
%pyproject_buildrequires
2020-07-14 11:00:32 +00:00
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files iniconfig
%if %{with tests}
%check
%pytest -v
2020-07-14 11:00:32 +00:00
%endif
%files -n python3-iniconfig -f %{pyproject_files}
%doc README.txt
%license LICENSE
%changelog
2023-06-16 06:18:09 +00:00
* Fri Jun 16 2023 Python Maint <python-maint@redhat.com> - 1.1.1-13
- Rebuilt for Python 3.12
2023-06-13 20:01:18 +00:00
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.1.1-12
- Bootstrap for Python 3.12
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
2022-12-08 13:21:39 +00:00
* Thu Dec 08 2022 Lumír Balhar <lbalhar@redhat.com> - 1.1.1-10
- Fix build with pytest 7.2 and tox 4
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
2022-06-13 18:21:06 +00:00
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.1.1-8
- Rebuilt for Python 3.11
2022-06-13 14:32:53 +00:00
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.1.1-7
- Bootstrap for Python 3.11
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2021-06-04 17:44:22 +00:00
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.1.1-4
- Rebuilt for Python 3.10
2021-06-02 12:22:37 +00:00
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 1.1.1-3
- Bootstrap for Python 3.10
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2020-10-15 13:39:09 +00:00
* Thu Oct 15 2020 Tomas Hrnciar <thrnciar@redhat.com> - 1.1.1-1
- Update to 1.1.1 (#1888157)
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2020-07-14 11:00:32 +00:00
* Mon Jul 13 2020 Miro Hrončok <mhroncok@redhat.com> - 1.0.0-1
- Initial package (#1856421)