Compare commits
No commits in common. "c8-stream-3.9" and "c10s" have entirely different histories.
c8-stream-
...
c10s
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
5
.gitignore
vendored
5
.gitignore
vendored
@ -1 +1,4 @@
|
|||||||
SOURCES/iniconfig-1.1.1.tar.gz
|
/iniconfig-*.tar.gz
|
||||||
|
/iniconfig-*/
|
||||||
|
/results_python-iniconfig/
|
||||||
|
*.rpm
|
||||||
|
@ -1 +0,0 @@
|
|||||||
f0d3a75f00752f75876468d04bf0cfbc05643b7e SOURCES/iniconfig-1.1.1.tar.gz
|
|
@ -1,89 +0,0 @@
|
|||||||
Name: python-iniconfig
|
|
||||||
Version: 1.1.1
|
|
||||||
Release: 2%{?dist}
|
|
||||||
Summary: Brain-dead simple parsing of ini files
|
|
||||||
License: MIT
|
|
||||||
URL: http://github.com/RonnyPfannschmidt/iniconfig
|
|
||||||
|
|
||||||
BuildArch: noarch
|
|
||||||
# Exclude i686 arch. Due to a modularity issue it's being added to the
|
|
||||||
# x86_64 compose of CRB, but we don't want to ship it at all.
|
|
||||||
# See: https://projects.engineering.redhat.com/browse/RCM-72605
|
|
||||||
ExcludeArch: i686
|
|
||||||
|
|
||||||
BuildRequires: python%{python3_pkgversion}-devel
|
|
||||||
BuildRequires: python%{python3_pkgversion}-rpm-macros
|
|
||||||
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
||||||
BuildRequires: python%{python3_pkgversion}-wheel
|
|
||||||
|
|
||||||
Source0: %{pypi_source iniconfig}
|
|
||||||
|
|
||||||
# pytest 6+ needs this and this uses pytest for tests
|
|
||||||
%bcond_without tests
|
|
||||||
|
|
||||||
%if %{with tests}
|
|
||||||
BuildRequires: python%{python3_pkgversion}-pytest
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%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 python%{python3_pkgversion}-iniconfig
|
|
||||||
Summary: %{summary}
|
|
||||||
%description -n python%{python3_pkgversion}-iniconfig %_description
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%autosetup -n iniconfig-%{version}
|
|
||||||
|
|
||||||
# Remove dependency of setuptools-scm
|
|
||||||
sed -i "s/ *use_scm_version=.*,/version='%{version}',/" setup.py
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
|
||||||
%py3_build
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
|
||||||
%py3_install
|
|
||||||
|
|
||||||
|
|
||||||
%if %{with tests}
|
|
||||||
%check
|
|
||||||
%pytest
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%files -n python%{python3_pkgversion}-iniconfig
|
|
||||||
%doc README.txt
|
|
||||||
%license LICENSE
|
|
||||||
%{python3_sitelib}/iniconfig-%{version}-py%{python3_version}.egg-info/
|
|
||||||
%{python3_sitelib}/iniconfig/
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Wed Jan 13 2021 Tomas Orsava <torsava@redhat.com> - 1.1.1-2
|
|
||||||
- Convert from Fedora to the python39 module in RHEL8
|
|
||||||
- Revert usage of pyproject-rpm-macros
|
|
||||||
- Remove dependency on setuptools_scm
|
|
||||||
- Resolves: rhbz#1877430
|
|
||||||
|
|
||||||
* 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
|
|
||||||
|
|
||||||
* Mon Jul 13 2020 Miro Hrončok <mhroncok@redhat.com> - 1.0.0-1
|
|
||||||
- Initial package (#1856421)
|
|
5
gating.yaml
Normal file
5
gating.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
--- !Policy
|
||||||
|
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
11
plans.fmf
Normal file
11
plans.fmf
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
discover:
|
||||||
|
- name: Smoke-tests
|
||||||
|
how: shell
|
||||||
|
tests:
|
||||||
|
- name: python-import-test
|
||||||
|
test: python3 -c 'import iniconfig'
|
||||||
|
require:
|
||||||
|
- python3-iniconfig
|
||||||
|
duration: 1m
|
||||||
|
execute:
|
||||||
|
how: tmt
|
132
python-iniconfig.spec
Normal file
132
python-iniconfig.spec
Normal file
@ -0,0 +1,132 @@
|
|||||||
|
Name: python-iniconfig
|
||||||
|
Version: 1.1.1
|
||||||
|
Release: 18%{?dist}
|
||||||
|
Summary: Brain-dead simple parsing of ini files
|
||||||
|
# SPDX
|
||||||
|
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}
|
||||||
|
|
||||||
|
%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}
|
||||||
|
# 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
|
||||||
|
|
||||||
|
|
||||||
|
%generate_buildrequires
|
||||||
|
%pyproject_buildrequires
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
%pyproject_wheel
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
%pyproject_install
|
||||||
|
%pyproject_save_files iniconfig
|
||||||
|
|
||||||
|
|
||||||
|
%if %{with tests}
|
||||||
|
%check
|
||||||
|
%pytest -v
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
%files -n python3-iniconfig -f %{pyproject_files}
|
||||||
|
%doc README.txt
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.1.1-18
|
||||||
|
- Bump release for October 2024 mass rebuild:
|
||||||
|
Resolves: RHEL-64018
|
||||||
|
|
||||||
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.1.1-17
|
||||||
|
- Bump release for June 2024 mass rebuild
|
||||||
|
|
||||||
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-16
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-15
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-14
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jun 16 2023 Python Maint <python-maint@redhat.com> - 1.1.1-13
|
||||||
|
- Rebuilt for Python 3.12
|
||||||
|
|
||||||
|
* 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
|
||||||
|
|
||||||
|
* 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
|
||||||
|
|
||||||
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.1.1-8
|
||||||
|
- Rebuilt for Python 3.11
|
||||||
|
|
||||||
|
* 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
|
||||||
|
|
||||||
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.1.1-4
|
||||||
|
- Rebuilt for Python 3.10
|
||||||
|
|
||||||
|
* 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
|
||||||
|
|
||||||
|
* 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
|
||||||
|
|
||||||
|
* Mon Jul 13 2020 Miro Hrončok <mhroncok@redhat.com> - 1.0.0-1
|
||||||
|
- Initial package (#1856421)
|
Loading…
Reference in New Issue
Block a user