forked from pool/python-ruamel.yaml
Accepting request 490856 from home:alois:branches:devel:languages:python
- Update to 0.14.9 (see included CHANGES file) - Converted to single-spec - LICENSE file is now provided internally, so dropped Source1 - Dropped python-ruamel.ordereddict as build requirement OBS-URL: https://build.opensuse.org/request/show/490856 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruamel.yaml?expand=0&rev=3
This commit is contained in:
21
LICENSE
21
LICENSE
@@ -1,21 +0,0 @@
|
||||
|
||||
The MIT License (MIT)
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 24 20:16:56 UTC 2017 - aloisio@gmx.com
|
||||
|
||||
- Update to 0.14.9 (see included CHANGES file)
|
||||
- Converted to single-spec
|
||||
- LICENSE file is now provided internally, so dropped Source1
|
||||
- Dropped python-ruamel.ordereddict as build requirement
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 11 21:14:56 UTC 2016 - rjschwei@suse.com
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-ruamel.yaml
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,19 +16,24 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-ruamel.yaml
|
||||
Version: 0.12.14
|
||||
Version: 0.14.9
|
||||
Release: 0
|
||||
Url: https://bitbucket.org/ruamel/yaml
|
||||
Summary: Python YAML parser
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Source: ruamel.yaml-%{version}.tar.gz
|
||||
Source1: LICENSE
|
||||
Url: https://bitbucket.org/ruamel/yaml
|
||||
Source: https://files.pythonhosted.org/packages/source/r/ruamel.yaml/ruamel.yaml-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%ifpython2
|
||||
Requires: python-ruamel.ordereddict
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-ruamel.ordereddict
|
||||
Buildrequires: python-setuptools
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
ruamel.yaml is a YAML parser/emitter that supports roundtrip preservation
|
||||
@@ -37,15 +42,20 @@ of comments, seq/map flow style, and map key order
|
||||
%prep
|
||||
%setup -q -n ruamel.yaml-%{version}
|
||||
rm -rf *egg-info
|
||||
cp %{SOURCE1} .
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot} --single-version-externally-managed
|
||||
%python_install --single-version-externally-managed
|
||||
%python_exec %fdupes -s %{buildroot}%{$python_sitearch}
|
||||
|
||||
%files
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE README.rst
|
||||
%{python_sitearch}/*
|
||||
%doc CHANGES LICENSE README.rst
|
||||
%{python_sitearch}/_ruamel_yaml*.so
|
||||
%{python_sitearch}/ruamel
|
||||
%{python_sitearch}/ruamel.yaml-%{version}-py%{python_version}-nspkg.pth
|
||||
%{python_sitearch}/ruamel.yaml-%{version}-py%{python_version}.egg-info
|
||||
|
||||
%changelog
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e7e2996bca3faf6eee94e13b72d32b9ba86089397c5e0c581f0860cd35b643f0
|
||||
size 228952
|
||||
3
ruamel.yaml-0.14.9.tar.gz
Normal file
3
ruamel.yaml-0.14.9.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9e6b83ee98e1b71195ae9afc1e41b57ce8e858d091564b58e8007a100545cf7c
|
||||
size 241660
|
||||
Reference in New Issue
Block a user