OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-arrow?expand=0&rev=29
This commit is contained in:
parent
520a533871
commit
fde041141f
@ -32,12 +32,10 @@ Summary: Better dates and times for Python
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/crsmithdev/arrow
|
||||
Source: https://files.pythonhosted.org/packages/source/a/arrow/arrow-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%if %{without test}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
%else
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module arrow == %{version}}
|
||||
BuildRequires: %{python_module chai}
|
||||
BuildRequires: %{python_module dateparser}
|
||||
@ -72,9 +70,7 @@ Arrow is heavily inspired by moment.js and requests.
|
||||
rm -rf arrow.egg-info
|
||||
|
||||
%build
|
||||
%if %{without test}
|
||||
%python_build
|
||||
%endif
|
||||
|
||||
%install
|
||||
%if %{without test}
|
||||
|
Loading…
Reference in New Issue
Block a user