Accepting request 887890 from devel:languages:python

- update to 1.0.0:
  * First stable release.
  * Main change is that it returns always an OrderedDict, even for Python >=
    3.7 for consistency
- remove happy_utf8.patch: upstream

OBS-URL: https://build.opensuse.org/request/show/887890
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-yamlloader?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2021-04-26 14:38:49 +00:00 committed by Git OBS Bridge
commit 831fd3cce2
5 changed files with 19 additions and 23 deletions

View File

@ -1,11 +0,0 @@
--- a/setup.py
+++ b/setup.py
@@ -13,7 +13,7 @@ with io.open(os.path.join(here, 'require
def long_description():
"""Load README.rst."""
- with open('README.rst', 'r') as f:
+ with io.open('README.rst', 'r', encoding="utf-8") as f:
return f.read()

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Apr 22 20:42:37 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 1.0.0:
* First stable release.
* Main change is that it returns always an OrderedDict, even for Python >=
3.7 for consistency
- remove happy_utf8.patch: upstream
-------------------------------------------------------------------
Mon Dec 9 11:10:50 UTC 2019 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-yamlloader
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,26 +12,24 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-yamlloader
Version: 0.5.5
Version: 1.0.0
Release: 0
License: MIT
Summary: Ordered YAML loader and dumper for PyYAML
Url: https://github.com/Phynix/yamlloader
URL: https://github.com/Phynix/yamlloader
Group: Development/Languages/Python
Source: https://files.pythonhosted.org/packages/source/y/yamlloader/yamlloader-%{version}.tar.gz
# PATCH-FIX-UPSTREAM happy_utf8.patch gh#Phynix/yamlloader#16 mcepl@suse.com
# Python 3.6 shouldnt fail on opening utf8 encoded README.rst
Patch0: happy_utf8.patch
BuildRequires: python-rpm-macros
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module PyYAML}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages

View File

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

3
yamlloader-1.0.0.tar.gz Normal file
View File

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