14
0
forked from pool/python-pyaml

Accepting request 632475 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/632475
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyaml?expand=0&rev=2
This commit is contained in:
2018-09-03 08:34:31 +00:00
committed by Git OBS Bridge
4 changed files with 17 additions and 18 deletions

View File

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

3
pyaml-17.12.1.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Aug 31 10:43:07 UTC 2018 - Martin Pluskal <mpluskal@suse.com>
- Update to version 17.12.1:
* Internal changes
- Drop some useless dependencies and conditions
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Nov 10 04:23:04 UTC 2017 - arun@gmx.de Fri Nov 10 04:23:04 UTC 2017 - arun@gmx.de

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pyaml # spec file for package python-pyaml
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -12,33 +12,27 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test
Name: python-pyaml Name: python-pyaml
Version: 17.10.0 Version: 17.12.1
Release: 0 Release: 0
Summary: Produce pretty and readable YAML-serialized data Summary: Produce pretty and readable YAML-serialized data
License: WTFPL License: WTFPL
Group: Development/Languages/Python Group: Development/Languages/Python
Url: https://github.com/mk-fg/pretty-yaml URL: https://github.com/mk-fg/pretty-yaml
Source: https://files.pythonhosted.org/packages/source/p/pyaml/pyaml-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pyaml/pyaml-%{version}.tar.gz
BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
%if %{with test}
BuildRequires: %{python_module Unidecode} BuildRequires: %{python_module Unidecode}
%endif BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-PyYAML Requires: python-PyYAML
Recommends: python-Unidecode Recommends: python-Unidecode
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@@ -55,14 +49,12 @@ YAML-serialized data.
%python_install %python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with test}
%check %check
%python_exec setup.py test %python_exec setup.py test
%endif
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-) %license COPYING
%doc COPYING README.rst %doc README.rst
%{python_sitelib}/* %{python_sitelib}/*
%changelog %changelog