15
0

Accepting request 928963 from home:pgajdos:python

- version update to 1.5.2
  * Merge pull request #41 from josephwhite13/allow-dictionary-filtering
  * Merge pull request #48 from back2root/master
  * Check for null value.
  * Merge pull request #40 from memborsky/add-regular-expression-contains-support
  * feat: support regular expression for performing contains (=~) filtering
  * if datum.value is a dictionary, filter on the list of values
- %check: use python -m pytest instead of setup.py test

OBS-URL: https://build.opensuse.org/request/show/928963
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsonpath-ng?expand=0&rev=3
This commit is contained in:
John Vandenberg
2021-11-03 08:37:18 +00:00
committed by Git OBS Bridge
parent 9184b9684f
commit 018563dba9
4 changed files with 17 additions and 5 deletions

View File

@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-jsonpath-ng
Version: 1.5.1
Version: 1.5.2
Release: 0
Summary: JSONPath for Python
License: Apache-2.0
@@ -72,7 +72,7 @@ export PYTHONPATH=${CWD}
if [[ ! -d %{buildroot}%{$python_sitelib}/oslotest ]]; then
rm tests/test_jsonpath_rw_ext.py
fi
$python setup.py test
$python -m pytest
}
%files %{python_files}