Accepting request 685043 from devel:languages:python

- Update to 5.1:
  * many changes, see CHANGES

OBS-URL: https://build.opensuse.org/request/show/685043
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyYAML?expand=0&rev=17
This commit is contained in:
Dominique Leuenberger 2019-03-29 19:35:08 +00:00 committed by Git OBS Bridge
commit 4e5f353023
4 changed files with 13 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3ef3092145e9b70e3ddd2c7ad59bdd0252a94dfe3949721633e41344de00a6bf
size 270607

3
PyYAML-5.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:436bc774ecf7c103814098159fbb84c2715d25980175292c648f2da143909f95
size 274244

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Mar 14 14:47:06 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 5.1:
* many changes, see CHANGES
-------------------------------------------------------------------
Mon Jan 14 16:06:38 CET 2019 - kukuk@suse.de

View File

@ -19,15 +19,16 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
Name: python-PyYAML
Version: 3.13
Version: 5.1
Release: 0
Summary: YAML parser and emitter for Python
License: MIT
Group: Development/Languages/Python
Url: http://pyyaml.org/wiki/PyYAML
URL: https://github.com/yaml/pyyaml
Source: https://files.pythonhosted.org/packages/source/P/PyYAML/PyYAML-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: libyaml-devel
BuildRequires: python-rpm-macros
%ifpython2
@ -62,6 +63,7 @@ find examples/ -type f | xargs chmod a-x
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
# Increase file-descriptor-count for ppc to make tests happy.
@ -71,7 +73,6 @@ ulimit -Sn 2048
%python_exec setup.py test
%files %{python_files}
%defattr(-,root,root)
%license LICENSE
%doc CHANGES README examples/
%{python_sitearch}/yaml