From bfd7116a55512e58c69f652b1a2c9efa65ffb08180aae3a0f461e86319b351da Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 10 Nov 2024 22:02:32 +0000 Subject: [PATCH] - update to 8.1.0: * Add support for Python 3.12. (GL#35) * Switch to hatch, replacing pdm and tox OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flufl.lock?expand=0&rev=19 --- .gitattributes | 23 ++++++++ .gitignore | 1 + flufl_lock-8.0.2.tar.gz | 3 ++ flufl_lock-8.1.0.tar.gz | 3 ++ python-flufl.lock.changes | 110 ++++++++++++++++++++++++++++++++++++++ python-flufl.lock.spec | 69 ++++++++++++++++++++++++ 6 files changed, 209 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 flufl_lock-8.0.2.tar.gz create mode 100644 flufl_lock-8.1.0.tar.gz create mode 100644 python-flufl.lock.changes create mode 100644 python-flufl.lock.spec 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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/flufl_lock-8.0.2.tar.gz b/flufl_lock-8.0.2.tar.gz new file mode 100644 index 0000000..66796a5 --- /dev/null +++ b/flufl_lock-8.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:61c7246b34d6e5544c8a1fa4dae396d10e16ceb23371a31db22e0a2993d01432 +size 34369 diff --git a/flufl_lock-8.1.0.tar.gz b/flufl_lock-8.1.0.tar.gz new file mode 100644 index 0000000..d0cc382 --- /dev/null +++ b/flufl_lock-8.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d88302005692a63d98b60080158faf089be5ecae6969f706409da8276fdce7cb +size 32884 diff --git a/python-flufl.lock.changes b/python-flufl.lock.changes new file mode 100644 index 0000000..7cb43d0 --- /dev/null +++ b/python-flufl.lock.changes @@ -0,0 +1,110 @@ +------------------------------------------------------------------- +Sun Nov 10 22:02:11 UTC 2024 - Dirk Müller + +- update to 8.1.0: + * Add support for Python 3.12. (GL#35) + * Switch to hatch, replacing pdm and tox + +------------------------------------------------------------------- +Fri Jan 5 17:22:14 UTC 2024 - Dirk Müller + +- update to 8.0.2: + * Update dependencies. + * Other minor improvements and cleanups. + * Minor documentation fix. + * Drop Python 3.7 support (GL#34) + * Added a claimfile property to Lock objects + * Switch to pdm- ackend (GL#33) + * Use ruff for linting, since its much faster. + +------------------------------------------------------------------- +Mon Jun 12 06:54:25 UTC 2023 - Andreas Schneider + +- Use sle15_python_module_pythons + +------------------------------------------------------------------- +Wed Dec 21 21:51:33 UTC 2022 - Ben Greiner + +- Fix requirements +- Remove coverage flags from testsuite + +------------------------------------------------------------------- +Wed Sep 28 15:32:42 UTC 2022 - Yogalakshmi Arunachalam + +- Update to 7.1.1 (2022-09-03) + * Improvements to the GitLab CI integration. + +- Update to 7.1 (2022-08-27) + * Add support for Python 3.11. + * Update to pdm 1.3. + * Update all dependencies eagerly. + +------------------------------------------------------------------- +Wed Aug 31 16:29:35 UTC 2022 - Markéta Machová + +- Fix build dependencies + +------------------------------------------------------------------- +Thu Jan 20 18:33:51 UTC 2022 - Matej Cepl + +- Update to 7.0: + - Fix spurious log messages when not breaking the lock. + - Use modern package management by adopting pdm and + pyproject.toml, and dropping setup.py and setup.cfg. + - Build the docs with Python 3.8. + - Update to version 3.0 of Sybil. + - Adopt the Furo documentation theme. + - Add a favicon and logos to the published documentation. + - Use importlib.metadata.version() as a better way to get the + package version number for the documentation. + - Drop Python 3.6 support. + - Update copyright years. +- Remove now irrelevant patch python-flufl.lock-fix-setup.patch. + +------------------------------------------------------------------- +Wed Nov 17 09:13:16 UTC 2021 - Andreas Schneider + +- Update to version 6.0 + * Added a default_timeout argument to the Lock constructor, + which can be used in the context manager syntax as well. + * When a Lock uses a lock file that already exists and does + not appear to be a lock file (i.e. because its contents are + ill-formatted), do a better job of not clobbering that file. + * Improve some QA by re-adding diff-cover, Gitlab SAST during + CI, and testing on Python 3.10 beta (except for Windows) + * Added a py.typed file to satisfy type checkers. + +------------------------------------------------------------------- +Tue May 25 16:11:12 UTC 2021 - Andreas Schneider + +- Update to version 5.0.5 + * Blued code. + +------------------------------------------------------------------- +Fri Feb 12 07:54:17 UTC 2021 - Andreas Schneider + +- The package Requires python-typing_extensions + +------------------------------------------------------------------- +Thu Feb 11 19:06:49 UTC 2021 - Andreas Schneider + +- Add missing python-typing_extensions BuildRequires for tests + +------------------------------------------------------------------- +Thu Feb 11 07:45:45 UTC 2021 - Andreas Schneider + +- Update to version 5.0.4 + * https://gitlab.com/warsaw/flufl.lock/-/blob/5.0.4/docs/NEWS.rst +- Removed LICENSE (part of the tarball now) +- Added python-flufl.lock-fix-setup.patch + +------------------------------------------------------------------- +Mon Dec 2 10:47:12 UTC 2019 - pgajdos@suse.com + +- call spec-cleaner + +------------------------------------------------------------------- +Thu Sep 26 10:46:46 UTC 2019 - pgajdos@suse.com + +- initial version 3.2, required by python-mailman [SLE-7686] + diff --git a/python-flufl.lock.spec b/python-flufl.lock.spec new file mode 100644 index 0000000..97d2ab7 --- /dev/null +++ b/python-flufl.lock.spec @@ -0,0 +1,69 @@ +# +# spec file for package python-flufl.lock +# +# 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-flufl.lock +Version: 8.1.0 +Release: 0 +Summary: NFS-safe file locking with timeouts for POSIX and Windows +License: Apache-2.0 +URL: https://gitlab.com/warsaw/flufl.lock +Source: https://files.pythonhosted.org/packages/source/f/flufl.lock/flufl_lock-%{version}.tar.gz +BuildRequires: %{python_module atpublic >= 2.3} +BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module hatch_vcs} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module psutil >= 5.9} +BuildRequires: %{python_module typing_extensions if %python-base < 3.8} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-atpublic >= 2.3 +Requires: python-psutil >= 5.9 +Requires: (python-typing_extensions if python-base < 3.8) +BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module sybil} +# /SECTION +%python_subpackages + +%description +NFS-safe file locking with timeouts for POSIX and Windows. + +%prep +%autosetup -p1 -n flufl_lock-%{version} +sed -i 's/--cov=flufl --cov-report=term --cov-report=xml//' pyproject.toml + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%doc README.rst docs/NEWS.rst +%license LICENSE +%dir %{python_sitelib}/flufl +%{python_sitelib}/flufl/lock +%{python_sitelib}/flufl_lock-%{version}.dist-info + +%changelog