2020-02-18 16:54:37 +08:00
|
|
|
Name: python-filelock
|
2023-06-21 14:49:29 +08:00
|
|
|
Version: 3.12.2
|
2023-04-27 14:27:19 +08:00
|
|
|
Release: 1
|
2020-02-18 16:54:37 +08:00
|
|
|
Summary: A platform independent file lock
|
|
|
|
|
License: Unlicense
|
|
|
|
|
URL: https://github.com/benediktschmitt/py-filelock
|
2023-06-21 14:49:29 +08:00
|
|
|
Source0: https://files.pythonhosted.org/packages/00/0b/c506e9e44e4c4b6c89fcecda23dc115bf8e7ff7eb127e0cb9c114cbc9a15/filelock-3.12.2.tar.gz
|
2020-02-18 16:54:37 +08:00
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
2023-04-27 14:27:19 +08:00
|
|
|
BuildRequires: python3-pip python3-hatchling python3-hatch-vcs python3-wheel python3-pytest
|
|
|
|
|
BuildRequires: python3-pytest-mock
|
|
|
|
|
|
2020-02-18 16:54:37 +08:00
|
|
|
%description
|
2022-03-03 17:02:53 +08:00
|
|
|
This package contains a single module, which implements a platform
|
2020-02-18 16:54:37 +08:00
|
|
|
independent file locking mechanism for Python.
|
|
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
|
Summary: Documentation for filelock, A platform independent file lock
|
2022-03-03 17:02:53 +08:00
|
|
|
BuildRequires: python3-sphinx
|
2020-02-18 16:54:37 +08:00
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
|
Documentation for filelock, A platform independent file lock
|
|
|
|
|
|
|
|
|
|
%package -n python3-filelock
|
|
|
|
|
Summary: A platform independent file lock
|
|
|
|
|
BuildRequires: python3-devel python3-setuptools
|
|
|
|
|
%{?python_provide:%python_provide python3-filelock}
|
|
|
|
|
Suggests: %{name}-doc
|
|
|
|
|
|
|
|
|
|
%description -n python3-filelock
|
2022-03-03 17:02:53 +08:00
|
|
|
This package contains a single module, which implements a platform
|
2020-02-18 16:54:37 +08:00
|
|
|
independent file locking mechanism for Python.
|
|
|
|
|
|
|
|
|
|
%package_help
|
|
|
|
|
|
|
|
|
|
%prep
|
2023-04-27 14:27:19 +08:00
|
|
|
%autosetup -p1 -n filelock-%{version}
|
2020-02-18 16:54:37 +08:00
|
|
|
|
|
|
|
|
%build
|
2023-04-27 14:27:19 +08:00
|
|
|
%pyproject_build
|
2020-02-18 16:54:37 +08:00
|
|
|
|
|
|
|
|
%install
|
2023-04-27 14:27:19 +08:00
|
|
|
%pyproject_install filelock==%{version}
|
2020-02-18 16:54:37 +08:00
|
|
|
|
|
|
|
|
%check
|
2023-04-27 14:27:19 +08:00
|
|
|
export PYTHONPATH=%{buildroot}%{python3_sitelib}/
|
|
|
|
|
|
|
|
|
|
pytest
|
2020-02-18 16:54:37 +08:00
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
|
|
%files -n python3-filelock
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%license LICENSE
|
2023-04-27 14:27:19 +08:00
|
|
|
%{python3_sitelib}/filelock*
|
2020-02-18 16:54:37 +08:00
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-06-21 14:49:29 +08:00
|
|
|
* Wed Jun 21 2023 chendexi <chendexi@kylinos.cn> - 3.12.2-1
|
|
|
|
|
- Update package to version 3.12.2
|
|
|
|
|
|
2023-04-27 14:27:19 +08:00
|
|
|
* Thu Apr 27 2023 xu_ping <707078654@qq.com> - 3.12.0-1
|
|
|
|
|
- Upgrade to 3.12.0
|
|
|
|
|
|
2022-03-03 17:02:53 +08:00
|
|
|
* Thu Mar 3 2022 zhaoshuang<zhaoshuang@uniontech.com> - 3.0.12-3
|
|
|
|
|
- remove unnecessary buildrequires
|
|
|
|
|
|
2020-06-18 15:18:36 +08:00
|
|
|
* Thu Jun 18 2020 hanhui<hanhui15@huawei.com> - 3.0.12-2
|
|
|
|
|
- bugfix
|
|
|
|
|
- fix python can not find file
|
|
|
|
|
|
2020-02-18 17:00:35 +08:00
|
|
|
* Tue Feb 11 2020 huzunhao<huzunhao2@huawei.com> - 3.0.12-1
|
2020-02-18 16:54:37 +08:00
|
|
|
- Package init
|