commit c72a94c65490b8320e779c29f9d04af253df0089a167427e35b584bec858c841 Author: Adrian Schröter Date: Fri May 3 19:44:48 2024 +0200 Sync from SUSE:SLFO:Main python-Cycler revision 6197e7049844372c5324818f54ddafc5 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/cycler-0.11.0.tar.gz b/cycler-0.11.0.tar.gz new file mode 100644 index 0000000..0a0c82d --- /dev/null +++ b/cycler-0.11.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9c87405839a19696e837b3b818fed3f5f69f16f1eec1a1ad77e043dcea9c772f +size 18784 diff --git a/python-Cycler.changes b/python-Cycler.changes new file mode 100644 index 0000000..34de298 --- /dev/null +++ b/python-Cycler.changes @@ -0,0 +1,64 @@ +------------------------------------------------------------------- +Fri Apr 21 12:20:24 UTC 2023 - Dirk Müller + +- add sle15_python_module_pythons (jsc#PED-68) + +------------------------------------------------------------------- +Thu Apr 13 22:40:48 UTC 2023 - Matej Cepl + +- Make calling of %{sle15modernpython} optional. + +------------------------------------------------------------------- +Tue Jun 21 19:51:07 UTC 2022 - Dirk Müller + +- 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 + +- Format with spec-cleaner +- Install license file + +------------------------------------------------------------------- +Tue Dec 4 12:47:05 UTC 2018 - Matej Cepl + +- 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 + diff --git a/python-Cycler.spec b/python-Cycler.spec new file mode 100644 index 0000000..22aa81c --- /dev/null +++ b/python-Cycler.spec @@ -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