From b19f674010b83ed806ff7495f97c57c366d1abb7 Mon Sep 17 00:00:00 2001 From: tigro Date: Wed, 1 Jan 2025 21:08:59 +0300 Subject: [PATCH] import python-flufl-lock-8.0.2-3.el10 --- .gitignore | 1 + .python-flufl-lock.metadata | 1 + SPECS/python-flufl-lock.spec | 169 +++++++++++++++++++++++++++++++++++ 3 files changed, 171 insertions(+) create mode 100644 .gitignore create mode 100644 .python-flufl-lock.metadata create mode 100644 SPECS/python-flufl-lock.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3aa1b08 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/flufl_lock-8.0.2.tar.gz diff --git a/.python-flufl-lock.metadata b/.python-flufl-lock.metadata new file mode 100644 index 0000000..ab9bccc --- /dev/null +++ b/.python-flufl-lock.metadata @@ -0,0 +1 @@ +97189dd86b84cf5f2bdcb418abc2cc78c40096fe SOURCES/flufl_lock-8.0.2.tar.gz diff --git a/SPECS/python-flufl-lock.spec b/SPECS/python-flufl-lock.spec new file mode 100644 index 0000000..5bec2a9 --- /dev/null +++ b/SPECS/python-flufl-lock.spec @@ -0,0 +1,169 @@ +%global pkgname flufl-lock + +Name: python-%{pkgname} +Version: 8.0.2 +Release: 3%{?dist} +Summary: NFS-safe file locking with timeouts for POSIX systems + +License: Apache-2.0 +URL: https://gitlab.com/warsaw/flufl.lock +Source0: https://files.pythonhosted.org/packages/source/f/flufl.lock/flufl_lock-%{version}.tar.gz + +BuildArch: noarch + +BuildRequires: python3-devel +# for tests +# we don't actually test code cov. +# upstream default pytest flags have --cov +# so this is easier than a patch. we add +# the --no-cov flag below to avoid running coverage +BuildRequires: python3-pytest-cov +BuildRequires: python3-sybil + +%global _description %{expand: +The flufl.lock library provides an NFS-safe file-based locking algorithm +influenced by the GNU/Linux "open(2)" man page, under the description of +the "O_EXCL" option.} + +%description %{_description} + + +%package -n python3-%{pkgname} +Summary: %{summary} + +%description -n python3-%{pkgname} %{_description} + + +%prep +%autosetup -n flufl_lock-%{version} + +%generate_buildrequires +%pyproject_buildrequires + + +%build +%pyproject_wheel + + +%install +%pyproject_install +%pyproject_save_files flufl + + +%check +# this file causes pytest to do weird things +# so let's get it out of the way +rm -f conftest.py +%pytest --no-cov + + +%files -n python3-%{pkgname} -f %{pyproject_files} +%license LICENSE +%doc README.rst docs/ + + +%changelog +* Wed Jan 01 2025 Arkady L. Shane - 8.0.2-3 +- Rebuilt for MSVSphere 10 + +* Fri Jul 19 2024 Fedora Release Engineering - 8.0.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 8.0.2-2 +- Rebuilt for Python 3.13 + +* Fri Feb 02 2024 jonathanspw - 8.0.2-1 +- Update to 8.0.2 rhbz#2216613 + +* Fri Jan 26 2024 Fedora Release Engineering - 7.1.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 7.1.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 7.1.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Jun 14 2023 Python Maint - 7.1.1-3 +- Rebuilt for Python 3.12 + +* Fri Jan 20 2023 Fedora Release Engineering - 7.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Nov 26 2022 Jonathan Wright - 7.1.1-1 +- Update to 7.1.1 +- rhbz#1852603 + +* Thu Aug 25 2022 Jonathan Wright - 7.1-1 +- Update to 7.1 +- rhbz#1852603 + +* Thu Aug 25 2022 Jonathan Wright - 6.0-1 +- Updated to 6.0-1 +- Spec file modernization + +* Fri Jul 22 2022 Fedora Release Engineering - 3.2-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 3.2-15 +- Rebuilt for Python 3.11 + +* Fri Jan 21 2022 Fedora Release Engineering - 3.2-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 3.2-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Python Maint - 3.2-12 +- Rebuilt for Python 3.10 + +* Wed Jan 27 2021 Fedora Release Engineering - 3.2-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 3.2-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue May 26 2020 Miro Hrončok - 3.2-9 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 3.2-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Miro Hrončok - 3.2-7 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 3.2-6 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 3.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 3.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 3.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 3.2-2 +- Rebuilt for Python 3.7 + +* Thu Feb 15 2018 Aurelien Bompard - 3.2-1 +- Version 3.2 + +* Fri Feb 09 2018 Fedora Release Engineering - 2.4.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Aug 02 2017 Aurelien Bompard - 2.4.1-5 +- Fix BuildRequires name + +* Thu Jul 27 2017 Fedora Release Engineering - 2.4.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 2.4.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Dec 19 2016 Miro Hrončok - 2.4.1-2 +- Rebuild for Python 3.6 + +* Wed Sep 14 2016 Aurelien Bompard - 2.4.1-1 +- Initial package.