15
0

Accepting request 453530 from Cloud:Tools

- Needed by google-cloud-sdk, generally useful

OBS-URL: https://build.opensuse.org/request/show/453530
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruamel.yaml?expand=0&rev=1
This commit is contained in:
2017-01-31 08:44:13 +00:00
committed by Git OBS Bridge
commit e9dbd6f48f
6 changed files with 106 additions and 0 deletions

51
python-ruamel.yaml.spec Normal file
View File

@@ -0,0 +1,51 @@
#
# spec file for package python-ruamel.yaml
#
# Copyright (c) 2016 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-ruamel.yaml
Version: 0.12.14
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
Requires: python-ruamel.ordereddict
BuildRequires: python-devel
BuildRequires: python-ruamel.ordereddict
Buildrequires: python-setuptools
%description
ruamel.yaml is a YAML parser/emitter that supports roundtrip preservation
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
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} --single-version-externally-managed
%files
%defattr(-,root,root,-)
%doc LICENSE README.rst
%{python_sitearch}/*