commit 117ab0d5c59def3e9009169bab76bf72a27432914b3628891fc52b7de497e1f9 Author: Adrian Schröter Date: Tue May 13 16:58:01 2025 +0200 Sync from SUSE:SLFO:Main python-retrying revision 7801a4d84e5723a5caf217b25e2dd5b9 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/python-retrying.changes b/python-retrying.changes new file mode 100644 index 0000000..b2852cb --- /dev/null +++ b/python-retrying.changes @@ -0,0 +1,68 @@ +------------------------------------------------------------------- +Wed Mar 6 11:40:49 UTC 2024 - John Paul Adrian Glaubitz + +- Switch package to modern Python Stack on SLE-15 + + Add %{?sle15_python_module_pythons} + +------------------------------------------------------------------- +Tue Jan 2 22:35:49 UTC 2024 - Dirk Müller + +- require setuptools + +------------------------------------------------------------------- +Thu Dec 21 03:40:17 UTC 2023 - Steve Kowalik + +- Switch to pyproject macros. +- Stop using greedy globs in %files. + +------------------------------------------------------------------- +Tue Dec 6 15:30:28 UTC 2022 - Yogalakshmi Arunachalam + +- Update to version 1.3.4 + * Added Greg Roodt as maintainer + * Formatted code with black + * Updated repository references + +------------------------------------------------------------------- +Fri Jan 4 13:58:10 UTC 2019 - Jan Engelhardt + +- Improve summary. + +------------------------------------------------------------------- +Tue Dec 4 12:53:52 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +------------------------------------------------------------------- +Sat Aug 26 15:09:39 UTC 2017 - jengelh@inai.de + +- Remove duplicated license information from description. + +------------------------------------------------------------------- +Tue Aug 22 06:13:42 UTC 2017 - tbechtold@suse.com + +- convert to singlespec + +------------------------------------------------------------------- +Wed Jan 7 15:37:09 UTC 2015 - tbechtold@suse.com + +- update to version 1.3.3: + - Add minimum six version of 1.7.0 since anything less will break + things +- Add python-six as Requires + +------------------------------------------------------------------- +Thu Dec 11 13:02:33 UTC 2014 - dmueller@suse.com + +- update to 1.3.2: + - Ensure we wrap the decorated functions to prevent information loss + - Allow a jitter value to be passed in + - Add requirements.txt to MANIFEST.in to fix pip installs + - Add upstream six dependency, remove embedded six functionality + - Add support for custom wait and stop functions + +------------------------------------------------------------------- +Sun Jul 13 18:27:55 UTC 2014 - dmueller@suse.com + +- Initial package + diff --git a/python-retrying.spec b/python-retrying.spec new file mode 100644 index 0000000..c1213f1 --- /dev/null +++ b/python-retrying.spec @@ -0,0 +1,57 @@ +# +# spec file for package python-retrying +# +# Copyright (c) 2024 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/ +# + + +%{?sle15_python_module_pythons} +Name: python-retrying +Version: 1.3.4 +Release: 0 +Summary: Retrying library for Python +License: Apache-2.0 +URL: https://github.com/rholder/retrying +Source: https://files.pythonhosted.org/packages/source/r/retrying/retrying-%{version}.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-six >= 1.7.0 +BuildArch: noarch +%python_subpackages + +%description +Retrying is a general-purpose retrying library, written in Python, to +simplify the task of adding retry behavior to just about anything. + +%prep +%setup -q -n retrying-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%license LICENSE +%doc AUTHORS.rst README.rst +%{python_sitelib}/retrying.py +%pycache_only %{python_sitelib}/__pycache__/retrying.*.py* +%{python_sitelib}/retrying-%{version}.dist-info + +%changelog diff --git a/retrying-1.3.4.tar.gz b/retrying-1.3.4.tar.gz new file mode 100644 index 0000000..ef52a85 --- /dev/null +++ b/retrying-1.3.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:345da8c5765bd982b1d1915deb9102fd3d1f7ad16bd84a9700b85f64d24e8f3e +size 10929