Sync from SUSE:ALP:Source:Standard:1.0 python-Cycler revision 6197e7049844372c5324818f54ddafc5

This commit is contained in:
Adrian Schröter 2023-06-07 08:29:30 +02:00
commit 36d5ca53a3
4 changed files with 152 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

BIN
cycler-0.11.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

64
python-Cycler.changes Normal file
View File

@ -0,0 +1,64 @@
-------------------------------------------------------------------
Fri Apr 21 12:20:24 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add sle15_python_module_pythons (jsc#PED-68)
-------------------------------------------------------------------
Thu Apr 13 22:40:48 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Make calling of %{sle15modernpython} optional.
-------------------------------------------------------------------
Tue Jun 21 19:51:07 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 0.11.0:
* Added Cycler.by_key, which produces values by key (#26)
* Added Cycler.__contains__, which adds support for in checks (#34)
* Wheels now includes the LICENSE file (#48)
* The sdist now includes the LICENSE (#58) and tests (#32)
* Cycler no longer supports Python 2. Supported versions of Python are 3.6 and above.
- enable tests
-------------------------------------------------------------------
Tue Nov 5 09:50:26 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Format with spec-cleaner
- Install license file
-------------------------------------------------------------------
Tue Dec 4 12:47:05 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Wed Apr 12 19:00:14 UTC 2017 - toddrme2178@gmail.com
- Fix download URL.
-------------------------------------------------------------------
Wed Apr 12 17:31:02 UTC 2017 - toddrme2178@gmail.com
- Fix redefinition of %python_module macro.
-------------------------------------------------------------------
Mon Feb 27 18:45:41 UTC 2017 - toddrme2178@gmail.com
- Fix macro usage
-------------------------------------------------------------------
Sat Feb 25 04:12:47 UTC 2017 - toddrme2178@gmail.com
- Switch to single-spec version
-------------------------------------------------------------------
Fri Jan 20 20:57:54 UTC 2017 - toddrme2178@gmail.com
- update to version 0.10.0:
(no changelog available)
- Update url to pypi.io
-------------------------------------------------------------------
Fri Oct 30 10:40:42 UTC 2015 - toddrme2178@gmail.com
- Initial version

62
python-Cycler.spec Normal file
View File

@ -0,0 +1,62 @@
#
# spec file for package python-Cycler
#
# Copyright (c) 2023 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() python3-%{**}}
%global skip_python2 1
%{?sle15_python_module_pythons}
Name: python-Cycler
Version: 0.11.0
Release: 0
Summary: Composable style cycles
License: BSD-3-Clause
URL: https://github.com/matplotlib/cycler
Source: https://files.pythonhosted.org/packages/source/c/cycler/cycler-%{version}.tar.gz
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
When plotting more than one line it is common to want to be able to
cycle over one or more artist styles. For simple cases than can be
done with out too much trouble.
However, if you want to do something more complicated, the plotting
logic can quickly become very involved. To address this and allow
easy cycling over arbitrary kwargs the Cycler class, a composable
kwarg iterator, was developed.
%prep
%setup -q -n cycler-%{version}
%build
%python_build
%install
%python_install
%check
%pytest
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/*
%changelog