initial commit for epel8
This commit is contained in:
parent
ef180f539d
commit
d46824cc98
3 changed files with 127 additions and 0 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -0,0 +1,3 @@
|
||||||
|
/python-ruamel-yaml-pytest27.patch
|
||||||
|
/python-ruamel-yaml-pathlib.patch
|
||||||
|
/ruamel-yaml-0.15.41.tar.gz
|
||||||
121
python-ruamel-yaml.spec
Normal file
121
python-ruamel-yaml.spec
Normal file
|
|
@ -0,0 +1,121 @@
|
||||||
|
%global pypi_name ruamel.yaml
|
||||||
|
%global pname ruamel-yaml
|
||||||
|
%global commit 75b1b39341d9
|
||||||
|
|
||||||
|
Name: python-%{pname}
|
||||||
|
Version: 0.15.41
|
||||||
|
Release: 2%{?dist}
|
||||||
|
Summary: YAML 1.2 loader/dumper package for Python
|
||||||
|
|
||||||
|
License: MIT
|
||||||
|
URL: https://bitbucket.org/ruamel/yaml
|
||||||
|
#Source0: https://files.pythonhosted.org/packages/source/r/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
||||||
|
# Use bitbucket sources so we can run the tests
|
||||||
|
Source0: https://bitbucket.org/ruamel/yaml/get/%{version}.tar.gz#/%{pname}-%{version}.tar.gz
|
||||||
|
# Works with pytest 2.7
|
||||||
|
Patch0: python-ruamel-yaml-pytest27.patch
|
||||||
|
|
||||||
|
# Don't require ruamel.std.pathlib, but use stdlib's pathlib on py3, pathlib2 on py2
|
||||||
|
Patch1: python-ruamel-yaml-pathlib.patch
|
||||||
|
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: libyaml-devel
|
||||||
|
|
||||||
|
%description
|
||||||
|
ruamel.yaml is a YAML 1.2 loader/dumper package for Python.
|
||||||
|
It is a derivative of Kirill Simonov’s PyYAML 3.11
|
||||||
|
|
||||||
|
%package -n python%{python3_pkgversion}-%{pname}
|
||||||
|
Summary: YAML 1.2 loader/dumper package for Python
|
||||||
|
BuildRequires: python%{python3_pkgversion}-devel
|
||||||
|
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||||
|
# For tests
|
||||||
|
BuildRequires: python%{python3_pkgversion}-pytest
|
||||||
|
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
|
||||||
|
|
||||||
|
Requires: python%{python3_pkgversion}-setuptools
|
||||||
|
|
||||||
|
%description -n python%{python3_pkgversion}-%{pname}
|
||||||
|
ruamel.yaml is a YAML 1.2 loader/dumper package for Python.
|
||||||
|
It is a derivative of Kirill Simonov’s PyYAML 3.11
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{pname}-%{commit} -p1
|
||||||
|
rm -rf %{pypi_name}.egg-info
|
||||||
|
|
||||||
|
%build
|
||||||
|
%py3_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%{__python3} setup.py install --single-version-externally-managed --skip-build --root $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%check
|
||||||
|
PYTHONPATH=$(echo build/lib.*%{python3_version}) py.test-%{python3_version} _test/test_*.py
|
||||||
|
|
||||||
|
%files -n python%{python3_pkgversion}-%{pname}
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.rst
|
||||||
|
%{python3_sitearch}/ruamel
|
||||||
|
%{python3_sitearch}/_ruamel_yaml.cpython-*
|
||||||
|
%{python3_sitearch}/%{pypi_name}-%{version}-py?.?-*.pth
|
||||||
|
%{python3_sitearch}/%{pypi_name}-%{version}-py?.?.egg-info
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.41-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jun 29 2018 Miro Hrončok <mhroncok@redhat.com> - 0.15.41-1
|
||||||
|
- Update to 0.15.41
|
||||||
|
- Add patch not to require ruamel.std.pathlib
|
||||||
|
|
||||||
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.13.14-4
|
||||||
|
- Rebuilt for Python 3.7
|
||||||
|
|
||||||
|
* Fri Feb 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.13.14-3
|
||||||
|
- Update Python 2 dependency declarations to new packaging standards
|
||||||
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||||
|
|
||||||
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.14-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Aug 9 2017 Orion Poplawski <orion@nwra.com> - 0.13.14-1
|
||||||
|
- Update to 0.13.14
|
||||||
|
|
||||||
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.13-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.13-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Feb 13 2017 Jan Chaloupka <jchaloup@redhat.com> - 0.13.13-3
|
||||||
|
- The ruamel.yaml needs at least typing >= 3.5.2.2
|
||||||
|
related: #1386563
|
||||||
|
|
||||||
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.13-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jan 31 2017 Orion Poplawski <orion@cora.nwra.com> - 0.13.13-1
|
||||||
|
- Update to 0.13.13
|
||||||
|
|
||||||
|
* Tue Jan 31 2017 Orion Poplawski <orion@cora.nwra.com> - 0.12.14-7
|
||||||
|
- Add patch to support pytest 2.7 in EPEL7
|
||||||
|
|
||||||
|
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.12.14-6
|
||||||
|
- Rebuild for Python 3.6
|
||||||
|
|
||||||
|
* Wed Oct 26 2016 Orion Poplawski <orion@cora.nwra.com> - 0.12.14-5
|
||||||
|
- Require python34-typing on EPEL
|
||||||
|
- Ignore python2 test failure due to old pytest on EPEL7
|
||||||
|
|
||||||
|
* Wed Oct 26 2016 Orion Poplawski <orion@cora.nwra.com> - 0.12.14-4
|
||||||
|
- Build python3 package
|
||||||
|
- Run tests
|
||||||
|
|
||||||
|
* Tue Oct 25 2016 Chandan Kumar <chkumar@redhat.com> - 0.12.14-3
|
||||||
|
- Disabling python3 as python3-ruamel-ordereddict not available
|
||||||
|
|
||||||
|
* Mon Oct 24 2016 Chandan Kumar <chkumar@redhat.com> - 0.12.14-2
|
||||||
|
- Fixed python2-typing runtime dependency issue
|
||||||
|
|
||||||
|
* Fri Oct 14 2016 Chandan Kumar <chkumar@redhat.com> - 0.12.14-1
|
||||||
|
- Initial package.
|
||||||
3
sources
3
sources
|
|
@ -0,0 +1,3 @@
|
||||||
|
SHA512 (python-ruamel-yaml-pytest27.patch) = aa2e9517d9a4bcd68eab14db809e35254b51227929f66caa08f82744bb60c93cc36d563e9eda7d187c5e21dafec203c6a4daec3094f5e7922212ad0971aa86ae
|
||||||
|
SHA512 (python-ruamel-yaml-pathlib.patch) = a69351d2c0bb6c060ba86d1c532a70df5a3c16a24ecd49dc940594caac4bd40f6f3e00ee611a083c66ed5f74b568be2fad75828c080500091bb571f5cc06edd9
|
||||||
|
SHA512 (ruamel-yaml-0.15.41.tar.gz) = 5dcc6430a6e13a419132b9dd54bc27dedeb8037d079717817a23bde5700469fa58f634eecc6f9ca6ce67c0146ec42df0a8f9f41eca0b1e35bf6dcce1a13860d6
|
||||||
Loading…
Add table
Add a link
Reference in a new issue