|
|
2ae660 |
%global pypi_name ruamel.yaml
|
|
|
2ae660 |
%global pname ruamel-yaml
|
|
|
2ae660 |
%global commit 44504659794e
|
|
|
2ae660 |
%global debug_package %{nil}
|
|
|
2ae660 |
|
|
|
2ae660 |
Name: python-%{pname}
|
|
|
2ae660 |
Version: 0.16.6
|
|
|
a1f38e |
Release: 7%{?dist}.1
|
|
|
2ae660 |
Summary: YAML 1.2 loader/dumper package for Python
|
|
|
2ae660 |
|
|
|
2ae660 |
License: MIT
|
|
|
2ae660 |
URL: https://bitbucket.org/ruamel/yaml
|
|
|
2ae660 |
# Use bitbucket sources so we can run the tests
|
|
|
2ae660 |
Source0: https://bitbucket.org/ruamel/yaml/get/%{version}.tar.gz#/%{pname}-%{version}.tar.gz
|
|
|
2ae660 |
# Works with pytest 2.7
|
|
|
2ae660 |
Patch0: python-ruamel-yaml-pytest27.patch
|
|
|
2ae660 |
|
|
|
2ae660 |
# Don't require ruamel.std.pathlib, but use stdlib's pathlib on py3, pathlib2 on py2
|
|
|
2ae660 |
Patch1: python-ruamel-yaml-pathlib.patch
|
|
|
2ae660 |
|
|
|
2ae660 |
|
|
|
2ae660 |
%description
|
|
|
2ae660 |
ruamel.yaml is a YAML 1.2 loader/dumper package for Python.
|
|
|
2ae660 |
It is a derivative of Kirill Simonov’s PyYAML 3.11
|
|
|
2ae660 |
|
|
|
2ae660 |
%package -n python%{python3_pkgversion}-%{pname}
|
|
|
2ae660 |
Summary: YAML 1.2 loader/dumper package for Python
|
|
|
2ae660 |
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
2ae660 |
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
|
2ae660 |
# For tests
|
|
|
2ae660 |
BuildRequires: python%{python3_pkgversion}-pytest
|
|
|
2ae660 |
# typing was added in Python 3.5
|
|
|
2ae660 |
%if %{python3_pkgversion} == 34
|
|
|
2ae660 |
BuildRequires: python%{python3_pkgversion}-typing
|
|
|
2ae660 |
%endif
|
|
|
2ae660 |
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
|
|
|
2ae660 |
|
|
|
2ae660 |
Requires: python%{python3_pkgversion}-ruamel-yaml-clib
|
|
|
2ae660 |
Requires: python%{python3_pkgversion}-setuptools
|
|
|
2ae660 |
%if %{python3_pkgversion} == 34
|
|
|
2ae660 |
Requires: python%{python3_pkgversion}-typing
|
|
|
2ae660 |
%endif
|
|
|
2ae660 |
|
|
|
2ae660 |
%description -n python%{python3_pkgversion}-%{pname}
|
|
|
2ae660 |
ruamel.yaml is a YAML 1.2 loader/dumper package for Python.
|
|
|
2ae660 |
It is a derivative of Kirill Simonov’s PyYAML 3.11
|
|
|
2ae660 |
|
|
|
2ae660 |
%prep
|
|
|
2ae660 |
%autosetup -n %{pname}-%{commit} -p1
|
|
|
2ae660 |
rm -rf %{pypi_name}.egg-info
|
|
|
2ae660 |
|
|
|
2ae660 |
%build
|
|
|
2ae660 |
%py3_build
|
|
|
2ae660 |
|
|
|
2ae660 |
%install
|
|
|
2ae660 |
%{__python3} setup.py install --single-version-externally-managed --skip-build --root $RPM_BUILD_ROOT
|
|
|
2ae660 |
|
|
|
2ae660 |
%check
|
|
|
2ae660 |
PYTHONPATH=$(echo build/lib) py.test-%{python3_version} _test/test_*.py
|
|
|
2ae660 |
|
|
|
2ae660 |
%files -n python%{python3_pkgversion}-%{pname}
|
|
|
2ae660 |
%license LICENSE
|
|
|
2ae660 |
%doc README.rst
|
|
|
2ae660 |
%{python3_sitelib}/ruamel
|
|
|
2ae660 |
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}-*.pth
|
|
|
2ae660 |
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
|
|
|
2ae660 |
|
|
|
2ae660 |
%changelog
|
|
|
a1f38e |
* Thu Sep 30 2021 Akira TAGOH <tagoh@redhat.com> - 0.16.6-7.1
|
|
|
a1f38e |
- Add CI test.
|
|
|
a1f38e |
Resolves: rhbz#2009152
|
|
|
a1f38e |
|
|
|
2ae660 |
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.16.6-7
|
|
|
2ae660 |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
2ae660 |
Related: rhbz#1991688
|
|
|
2ae660 |
|
|
|
2ae660 |
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.16.6-6
|
|
|
2ae660 |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
2ae660 |
|
|
|
2ae660 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.6-5
|
|
|
2ae660 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
2ae660 |
|
|
|
2ae660 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.6-4
|
|
|
2ae660 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
2ae660 |
|
|
|
2ae660 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.16.6-3
|
|
|
2ae660 |
- Rebuilt for Python 3.9
|
|
|
2ae660 |
|
|
|
2ae660 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.16.6-2
|
|
|
2ae660 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
2ae660 |
|
|
|
2ae660 |
* Mon Jan 20 2020 Jason Montleon <jmontleo@redhat.com> - 0.16.6-1
|
|
|
2ae660 |
- Update to 0.16.6
|
|
|
2ae660 |
|
|
|
2ae660 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.16.5-3
|
|
|
2ae660 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
2ae660 |
|
|
|
2ae660 |
* Fri Aug 30 2019 Chandan Kumar <raukadah@gmail.com> - 0.16.5-2
|
|
|
2ae660 |
- Added ruamel-yaml-clib as Requires
|
|
|
2ae660 |
|
|
|
2ae660 |
* Tue Aug 27 2019 Chedi Toueiti <chedi.toueiti@gmail.com> - 0.16.5-1
|
|
|
2ae660 |
- Update to 0.16.5
|
|
|
2ae660 |
|
|
|
2ae660 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.15.41-6
|
|
|
2ae660 |
- Rebuilt for Python 3.8
|
|
|
2ae660 |
|
|
|
2ae660 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.41-5
|
|
|
2ae660 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
2ae660 |
|
|
|
2ae660 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.41-4
|
|
|
2ae660 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
2ae660 |
|
|
|
2ae660 |
* Mon Jan 14 2019 Miro Hrončok <mhroncok@redhat.com> - 0.15.41-3
|
|
|
2ae660 |
- Subpackage python2-ruamel-yaml has been removed
|
|
|
2ae660 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
2ae660 |
|
|
|
2ae660 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.41-2
|
|
|
2ae660 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
2ae660 |
|
|
|
2ae660 |
* Fri Jun 29 2018 Miro Hrončok <mhroncok@redhat.com> - 0.15.41-1
|
|
|
2ae660 |
- Update to 0.15.41
|
|
|
2ae660 |
- Add patch not to require ruamel.std.pathlib
|
|
|
2ae660 |
|
|
|
2ae660 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.13.14-4
|
|
|
2ae660 |
- Rebuilt for Python 3.7
|
|
|
2ae660 |
|
|
|
2ae660 |
* Fri Feb 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.13.14-3
|
|
|
2ae660 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
2ae660 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
2ae660 |
|
|
|
2ae660 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.14-2
|
|
|
2ae660 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
2ae660 |
|
|
|
2ae660 |
* Wed Aug 9 2017 Orion Poplawski <orion@nwra.com> - 0.13.14-1
|
|
|
2ae660 |
- Update to 0.13.14
|
|
|
2ae660 |
|
|
|
2ae660 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.13-5
|
|
|
2ae660 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
2ae660 |
|
|
|
2ae660 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.13-4
|
|
|
2ae660 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
2ae660 |
|
|
|
2ae660 |
* Mon Feb 13 2017 Jan Chaloupka <jchaloup@redhat.com> - 0.13.13-3
|
|
|
2ae660 |
- The ruamel.yaml needs at least typing >= 3.5.2.2
|
|
|
2ae660 |
related: #1386563
|
|
|
2ae660 |
|
|
|
2ae660 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.13-2
|
|
|
2ae660 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
2ae660 |
|
|
|
2ae660 |
* Tue Jan 31 2017 Orion Poplawski <orion@cora.nwra.com> - 0.13.13-1
|
|
|
2ae660 |
- Update to 0.13.13
|
|
|
2ae660 |
|
|
|
2ae660 |
* Tue Jan 31 2017 Orion Poplawski <orion@cora.nwra.com> - 0.12.14-7
|
|
|
2ae660 |
- Add patch to support pytest 2.7 in EPEL7
|
|
|
2ae660 |
|
|
|
2ae660 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.12.14-6
|
|
|
2ae660 |
- Rebuild for Python 3.6
|
|
|
2ae660 |
|
|
|
2ae660 |
* Wed Oct 26 2016 Orion Poplawski <orion@cora.nwra.com> - 0.12.14-5
|
|
|
2ae660 |
- Require python34-typing on EPEL
|
|
|
2ae660 |
- Ignore python2 test failure due to old pytest on EPEL7
|
|
|
2ae660 |
|
|
|
2ae660 |
* Wed Oct 26 2016 Orion Poplawski <orion@cora.nwra.com> - 0.12.14-4
|
|
|
2ae660 |
- Build python3 package
|
|
|
2ae660 |
- Run tests
|
|
|
2ae660 |
|
|
|
2ae660 |
* Tue Oct 25 2016 Chandan Kumar <chkumar@redhat.com> - 0.12.14-3
|
|
|
2ae660 |
- Disabling python3 as python3-ruamel-ordereddict not available
|
|
|
2ae660 |
|
|
|
2ae660 |
* Mon Oct 24 2016 Chandan Kumar <chkumar@redhat.com> - 0.12.14-2
|
|
|
2ae660 |
- Fixed python2-typing runtime dependency issue
|
|
|
2ae660 |
|
|
|
2ae660 |
* Fri Oct 14 2016 Chandan Kumar <chkumar@redhat.com> - 0.12.14-1
|
|
|
2ae660 |
- Initial package.
|