Accepting request 1089592 from devel:languages:python

- update to 1.17.1:
  * Fixed tests in sdist
  * Added support for Decimals
  * Added tests in sdist

OBS-URL: https://build.opensuse.org/request/show/1089592
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fastjsonschema?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2023-05-30 20:01:18 +00:00 committed by Git OBS Bridge
commit 6c7f161f8c
4 changed files with 22 additions and 15 deletions

BIN
fastjsonschema-2.16.3.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

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

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon May 29 14:28:04 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 1.17.1:
* Fixed tests in sdist
* Added support for Decimals
* Added tests in sdist
-------------------------------------------------------------------
Fri May 12 10:18:43 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>

View File

@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-fastjsonschema
Version: 2.16.3
Version: 2.17.1
Release: 0
Summary: Fastest Python implementation of JSON schema
License: BSD-3-Clause
@ -26,16 +26,14 @@ Group: Development/Languages/Python
URL: https://github.com/horejsek/python-fastjsonschema
Source: https://files.pythonhosted.org/packages/source/f/fastjsonschema/fastjsonschema-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest-benchmark}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Suggests: python-colorama
Suggests: python-json-spec
Suggests: python-jsonschema
Suggests: python-pylint
Suggests: python-pytest
Suggests: python-pytest-benchmark
Suggests: python-pytest-cache
Suggests: python-validictory
BuildArch: noarch
%python_subpackages
@ -46,19 +44,20 @@ Fastest Python implementation of JSON schema
%prep
%autosetup -p1 -n fastjsonschema-%{version}
chmod -x fastjsonschema.egg-info/*
%build
%python_build
%pyproject_wheel
%check
%pytest
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/fastjsonschema
%{python_sitelib}/fastjsonschema-%{version}*-info
%{python_sitelib}/fastjsonschema-%{version}.dist-info
%changelog