Sync from SUSE:SLFO:Main python-yamlloader revision 39293caaa4df68971530dccdc225b6d0

This commit is contained in:
Adrian Schröter 2024-05-03 23:35:23 +02:00
commit d4e97ae1af
4 changed files with 122 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

32
python-yamlloader.changes Normal file
View File

@ -0,0 +1,32 @@
-------------------------------------------------------------------
Wed Dec 7 22:45:31 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 1.2.2
* release: 1.2.2 add Python 3.11 support
- Update to version 1.2.1
* Merge pull request #38 from Phynix/python311
* WIP: Update ci.yml
-------------------------------------------------------------------
Sat Oct 16 19:36:26 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 1.1.0:
* format to black
* Changed imports of own modules to be relative
-------------------------------------------------------------------
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>
- Initial packaging effort for yamlloader 0.5.5
- Add happy_utf8.patch to make package buildable with Python 3.6
as well. gh#Phynix/yamlloader#16

64
python-yamlloader.spec Normal file
View File

@ -0,0 +1,64 @@
#
# spec file for package python-yamlloader
#
# Copyright (c) 2022 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-yamlloader
Version: 1.2.2
Release: 0
License: MIT
Summary: Ordered YAML loader and dumper for PyYAML
URL: https://github.com/Phynix/yamlloader
Group: Development/Languages/Python
Source: https://files.pythonhosted.org/packages/source/y/yamlloader/yamlloader-%{version}.tar.gz
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
This module provides loaders and dumpers for PyYAML. Currently, an
OrderedDict loader/dumper is implemented, allowing to keep items order
when loading resp. dumping a file from/to an OrderedDict (Python 3.7:
Also regular dicts are supported and are the default items to be loaded
to. As of Python 3.7 preservation of insertion order is a language
feature of regular dicts.)
[API Documentation](https://phynix.github.io/yamlloader/index.html).
%prep
%setup -q -n yamlloader-%{version}
%autopatch -p1
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# there are no tests at all. Sorry.
%files %{python_files}
%{python_sitelib}/*
%changelog

BIN
yamlloader-1.2.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.