forked from pool/python-arrow
- Update to 0.13.1:
* Support for python3.7 - Remove merged patch arrow-py37.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-arrow?expand=0&rev=16
This commit is contained in:
committed by
Git OBS Bridge
parent
71f26bfb4a
commit
5aaec9ed83
@@ -19,14 +19,13 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without python2
|
||||
Name: python-arrow
|
||||
Version: 0.13.0
|
||||
Version: 0.13.1
|
||||
Release: 0
|
||||
Summary: Better dates and times for Python
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/crsmithdev/arrow
|
||||
Source: https://files.pythonhosted.org/packages/source/a/arrow/arrow-%{version}.tar.gz
|
||||
Patch0: arrow-py37.patch
|
||||
BuildRequires: %{python_module chai}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module python-dateutil}
|
||||
@@ -57,7 +56,6 @@ Arrow is heavily inspired by moment.js and requests.
|
||||
|
||||
%prep
|
||||
%setup -q -n arrow-%{version}
|
||||
%patch0 -p1
|
||||
rm -rf arrow.egg-info
|
||||
|
||||
%build
|
||||
@@ -68,7 +66,7 @@ rm -rf arrow.egg-info
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}:$PYTHONPATH" $python %{_bindir}/nosetests
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} nosetests-%{$python_bin_suffix} -v
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
||||
Reference in New Issue
Block a user