1
0

Accepting request 885988 from home:bnavigator:branches:devel:languages:python

- Skip python2 build. Not supported by upstream, a simple
 `import freezegun` already fails. Was not detected because the
  pyunittest runs 0 tests.

OBS-URL: https://build.opensuse.org/request/show/885988
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-freezegun?expand=0&rev=38
This commit is contained in:
Markéta Machová 2021-04-16 13:18:55 +00:00 committed by Git OBS Bridge
parent 24374de273
commit c1a8d418a3
2 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Apr 16 12:47:48 UTC 2021 - Benjamin Greiner <code@bnavigator.de>
- Skip python2 build. Not supported by upstream, a simple
`import freezegun` already fails. Was not detected because the
pyunittest runs 0 tests.
-------------------------------------------------------------------
Thu Jan 28 22:52:22 UTC 2021 - Dirk Müller <dmueller@suse.com>

View File

@ -16,8 +16,8 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-freezegun
Version: 1.1.0
Release: 0
@ -34,9 +34,6 @@ BuildRequires: python-rpm-macros
Requires: python
Requires: python-python-dateutil > 2.7
BuildArch: noarch
%if %{with python2}
BuildRequires: python-mock
%endif
%python_subpackages
%description
@ -60,6 +57,7 @@ time by mocking the datetime module.
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/*
%{python_sitelib}/freezegun
%{python_sitelib}/freezegun-%{version}*-info
%changelog