Accepting request 1004364 from home:apersaud:branches:devel:languages:python

update to latest version

OBS-URL: https://build.opensuse.org/request/show/1004364
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tempora?expand=0&rev=31
This commit is contained in:
Dirk Mueller 2022-09-19 07:44:05 +00:00 committed by Git OBS Bridge
parent 5ab67d0f44
commit 17a5803aa7
4 changed files with 27 additions and 8 deletions

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Sat Sep 17 15:45:14 UTC 2022 - Arun Persaud <arun@gmx.de>
- specfile:
* change to pyproject.toml build
- update to version 5.0.2:
* Refreshed project.
* Enrolled with Tidelift.
-------------------------------------------------------------------
Thu Feb 3 21:18:29 UTC 2022 - Arun Persaud <arun@gmx.de>
- update to version 5.0.1:
* Refreshed project.
-------------------------------------------------------------------
Sat Jan 29 18:11:13 UTC 2022 - Arun Persaud <arun@gmx.de>

View File

@ -24,20 +24,23 @@
%bcond_with libalternatives
%endif
Name: python-tempora
Version: 5.0.0
Version: 5.0.2
Release: 0
Summary: Objects and routines pertaining to date and time (tempora)
License: MIT
URL: https://github.com/jaraco/tempora
Source: https://files.pythonhosted.org/packages/source/t/tempora/tempora-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module freezegun}
BuildRequires: %{python_module jaraco.functools >= 1.20}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest > 4.6}
BuildRequires: %{python_module pytest-freezegun}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module setuptools >= 56}
BuildRequires: %{python_module setuptools_scm >= 3.4.1}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module toml}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros >= 20210929
Requires: python-jaraco.functools >= 1.20
@ -65,10 +68,10 @@ Modules include:
sed -i '/--mypy/d' pytest.ini
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/calc-prorate
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@ -91,6 +94,6 @@ sed -i -e 's:--black::' -e 's:--cov::' -e 's/--flake8//g' pytest.ini
%doc CHANGES.rst README.rst docs/*rst
%python_alternative %{_bindir}/calc-prorate
%{python_sitelib}/tempora
%{python_sitelib}/tempora-%{version}-py*.egg-info
%{python_sitelib}/tempora-%{version}.dist-info
%changelog

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:aa21dd1956e29559ecb2f2f2e14fcdb950085222fbbf86e6c946b5e1a8c36b26
size 18532

3
tempora-5.0.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:31fa5bb33b2641026211f23e808eb8bd351901988b167d45f323c8f450ecf211
size 19530