Accepting request 885633 from devel:languages:python
- Disable Python2 builds which are no longer supported upstream OBS-URL: https://build.opensuse.org/request/show/885633 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-arrow?expand=0&rev=20
This commit is contained in:
commit
aa0664c70e
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 15 12:33:30 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Disable Python2 builds which are no longer supported upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 9 05:13:18 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package python
|
||||
# spec file for package python-arrow
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
@ -17,6 +17,7 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
%if "%{flavor}" == "test"
|
||||
%define psuffix -test
|
||||
@ -24,7 +25,6 @@
|
||||
%else
|
||||
%bcond_with test
|
||||
%endif
|
||||
%bcond_without python2
|
||||
Name: python-arrow%{?psuffix}
|
||||
Version: 1.0.3
|
||||
Release: 0
|
||||
@ -48,12 +48,6 @@ BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module pytz}
|
||||
BuildRequires: %{python_module simplejson}
|
||||
%endif
|
||||
%if %{with python2}
|
||||
BuildRequires: python-backports.functools_lru_cache >= 1.2.1
|
||||
%endif
|
||||
%ifpython2
|
||||
Requires: python-backports.functools_lru_cache >= 1.2.1
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
|
Loading…
Reference in New Issue
Block a user