15
0

- Update to 3.13.1:

* add support for pathlib

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-json_tricks?expand=0&rev=9
This commit is contained in:
Tomáš Chvátal
2019-03-26 14:57:12 +00:00
committed by Git OBS Bridge
parent 4f280b7fd8
commit acacdb2ba9
4 changed files with 19 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-json_tricks
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,31 +18,32 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-json_tricks
Version: 3.12.2
Version: 3.13.1
Release: 0
Summary: Extra features for Python's JSON
License: BSD-3-Clause
Group: Development/Languages/Python
Url: https://github.com/mverleg/pyjson_tricks
URL: https://github.com/mverleg/pyjson_tricks
Source: https://files.pythonhosted.org/packages/source/j/json_tricks/json_tricks-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Recommends: python-numpy
Recommends: python-pandas
Recommends: python-pathlib
Recommends: python-pytz
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module pandas}
BuildRequires: %{python_module pathlib}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytz}
BuildRequires: python-enum34
# /SECTION
Recommends: python-numpy
Recommends: python-pandas
Recommends: python-pytz
%ifpython2
Recommends: python-enum34
%endif
BuildArch: noarch
%python_subpackages
%description
@@ -69,7 +70,7 @@ As well as compression and disallowing duplicate keys.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_expand py.test-%{$python_bin_suffix}
%pytest
%files %{python_files}
%doc README.rst