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,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:232d216077411f44817532d0175012fd7e96497be7f888a0eaea4987281ccd2a
size 35227

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a613ed6ba2437e53ca15e35fc78c0763d3a6b483814b5eac07ab5e5d67c52262
size 36523

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 26 14:53:58 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 3.13.1:
* add support for pathlib
-------------------------------------------------------------------
Tue Dec 4 12:49:40 UTC 2018 - Matej Cepl <mcepl@suse.com>

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