2020-12-14 17:19:47 +08:00
|
|
|
%global _empty_manifest_terminate_build 0
|
|
|
|
|
Name: python-tempora
|
2023-04-11 15:07:32 +08:00
|
|
|
Version: 5.2.2
|
2023-04-27 15:20:24 +08:00
|
|
|
Release: 2
|
2020-12-14 17:19:47 +08:00
|
|
|
Summary: Objects and routines pertaining to date and time (tempora)
|
2022-10-17 15:32:16 +08:00
|
|
|
License: MIT
|
2022-08-08 14:32:46 +08:00
|
|
|
URL: https://github.com/jaraco/tempora
|
2023-04-11 15:07:32 +08:00
|
|
|
Source0: https://files.pythonhosted.org/packages/1c/32/963e37d9ad64582b822b8bf3288ac135ede936e5c8fe1c71da74164f0974/tempora-5.2.2.tar.gz
|
2020-12-14 17:19:47 +08:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
2023-04-11 15:07:32 +08:00
|
|
|
Requires: python3-pytz
|
2020-12-14 17:19:47 +08:00
|
|
|
Requires: python3-sphinx
|
|
|
|
|
Requires: python3-pytest
|
|
|
|
|
Requires: python3-pytest-checkdocs
|
|
|
|
|
Requires: python3-pytest-flake8
|
|
|
|
|
Requires: python3-pytest-cov
|
2023-04-11 15:07:32 +08:00
|
|
|
Requires: python3-pytest-enabler
|
2020-12-14 17:19:47 +08:00
|
|
|
Requires: python3-freezegun
|
|
|
|
|
Requires: python3-pytest-freezegun
|
2022-08-08 14:32:46 +08:00
|
|
|
Requires: python3-types-freezegun
|
|
|
|
|
Requires: python3-types-pytz
|
2020-12-14 17:19:47 +08:00
|
|
|
Requires: python3-pytest-black
|
|
|
|
|
Requires: python3-pytest-mypy
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Objects and routines pertaining to date and time (tempora).
|
|
|
|
|
|
|
|
|
|
%package -n python3-tempora
|
|
|
|
|
Summary: Objects and routines pertaining to date and time (tempora)
|
2023-04-11 15:07:32 +08:00
|
|
|
Provides: python-tempora = %{version}-%{release}
|
2020-12-14 17:19:47 +08:00
|
|
|
BuildRequires: python3-devel
|
2023-04-27 15:20:24 +08:00
|
|
|
BuildRequires: python3-pip python3-wheel python3-flit
|
2022-10-17 15:32:16 +08:00
|
|
|
BuildRequires: python3-setuptools_scm
|
|
|
|
|
BuildRequires: python3-toml
|
2020-12-14 17:19:47 +08:00
|
|
|
%description -n python3-tempora
|
|
|
|
|
Objects and routines pertaining to date and time (tempora).
|
|
|
|
|
|
|
|
|
|
%package help
|
|
|
|
|
Summary: Development documents and examples for tempora
|
|
|
|
|
Provides: python3-tempora-doc
|
|
|
|
|
%description help
|
|
|
|
|
Objects and routines pertaining to date and time (tempora).
|
|
|
|
|
|
|
|
|
|
%prep
|
2023-04-11 15:07:32 +08:00
|
|
|
%autosetup -n tempora-%{version} -p1
|
2020-12-14 17:19:47 +08:00
|
|
|
|
|
|
|
|
%build
|
2023-04-27 15:20:24 +08:00
|
|
|
%pyproject_build
|
2020-12-14 17:19:47 +08:00
|
|
|
|
|
|
|
|
%install
|
2023-04-27 15:20:24 +08:00
|
|
|
%pyproject_install tempora==%{version}
|
2020-12-14 17:19:47 +08:00
|
|
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
|
|
|
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
|
|
|
|
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
|
|
|
|
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
2023-04-27 15:20:24 +08:00
|
|
|
|
|
|
|
|
%files -n python3-tempora
|
|
|
|
|
%{python3_sitelib}/*
|
|
|
|
|
%{_bindir}/calc-prorate
|
|
|
|
|
|
|
|
|
|
%files help
|
2020-12-14 17:19:47 +08:00
|
|
|
%{_docdir}/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-04-27 15:20:24 +08:00
|
|
|
* Thu Apr 27 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 5.2.2-2
|
|
|
|
|
- Use pyproject to compile package
|
|
|
|
|
|
2023-04-11 15:07:32 +08:00
|
|
|
* Tue Apr 11 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 5.2.2-1
|
|
|
|
|
- Update package to version 5.2.2
|
|
|
|
|
|
2023-02-27 14:23:46 +08:00
|
|
|
* Mon Feb 27 2023 yaoxin <yaoxin30@h-partners.com> - 5.2.1-2
|
|
|
|
|
- Fix installation conflicts between python3-tempora and python3-jaraco-classes
|
|
|
|
|
|
2023-02-07 14:05:40 +08:00
|
|
|
* Tue Feb 7 2023 wubijie <wubijie@kylinos.cn> - 5.2.1-1
|
|
|
|
|
- update to 5.2.1
|
|
|
|
|
|
2022-12-13 17:36:08 +08:00
|
|
|
* Tue Dec 13 2022 wenzhiwei <wenzhiwei@kylinos.cn> - 5.1.0-1
|
|
|
|
|
- update to 5.1.0
|
|
|
|
|
|
2022-10-17 15:32:16 +08:00
|
|
|
* Mon Oct 17 2022 liqiuyu <liqiuyu@kylinos.cn> - 5.0.2-2
|
|
|
|
|
- Fix the problem of incomplete providers
|
|
|
|
|
|
2022-08-08 14:32:46 +08:00
|
|
|
* Mon Aug 08 2022 liqiuyu <liqiuyu@kylinos.cn> - 5.0.2-1
|
|
|
|
|
- update to 5.0.2
|
|
|
|
|
|
2022-01-15 16:36:52 +08:00
|
|
|
* Sat Jan 15 2022 wulei <wulei80@huawei.com> - 5.0.0-1
|
|
|
|
|
- Package update
|
|
|
|
|
|
2021-03-15 16:05:26 +08:00
|
|
|
* Mon Mar 15 2021 lingsheng <lingsheng@huawei.com> - 4.0.1-3
|
|
|
|
|
- Add buildrequires python3-setuptools_scm to fix build
|
|
|
|
|
|
2021-01-18 18:58:21 +08:00
|
|
|
* Mon Jan 18 2021 wutao <wutao61@huawei.com> - 4.0.1-2
|
|
|
|
|
- add buildrequires to solve build error
|
|
|
|
|
|
2020-12-14 17:19:47 +08:00
|
|
|
* Mon Nov 16 2020 Python_Bot <Python_Bot@openeuler.org>
|
|
|
|
|
- Package init
|