!19 update to upstream version 4.19.2

From: @desert-sailor 
Reviewed-by: @licihua 
Signed-off-by: @licihua
This commit is contained in:
openeuler-ci-bot 2023-11-09 11:12:17 +00:00 committed by Gitee
commit b193ea6854
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 11 additions and 9 deletions

Binary file not shown.

BIN
jsonschema-4.19.2.tar.gz Normal file

Binary file not shown.

View File

@ -3,15 +3,17 @@
jsonschema is JSON Schema validator currently based on http://tools.ietf.org/html/draft-zyp-json-schema-03
Name: python-%{pypi_name}
Version: 4.0.1
Version: 4.19.2
Release: 1
Summary: An implementation of JSON Schema validation for Python
License: MIT
URL: http://pypi.python.org/pypi/jsonschema
Source0: https://files.pythonhosted.org/packages/97/e6/314e86934570970658bdcffd4aa5bb0376a9d97a8e43971740292c3c0054/jsonschema-4.0.1.tar.gz
Source0: https://files.pythonhosted.org/packages/95/18/618159fb2efbe3fb2cd32b16c40278954cde94744957734ef0482286a052/jsonschema-4.19.2.tar.gz
BuildArch: noarch
BuildRequires: python3-devel python3-setuptools python3-setuptools_scm
BuildRequires: python3-pbr python3-pip python3-wheel
BuildRequires: python3-hatchling python3-hatch-vcs python3-hatch-fancy-pypi-readme
# test requirements
%bcond_without tests
@ -35,31 +37,31 @@ Summary: An implementation of JSON Schema validation for Python %{python3
%prep
%autosetup -n %{pypi_name}-%{version} -p1
touch setup.py
echo "from setuptools import setup" > setup.py
echo "setup(use_scm_version=True)" >> setup.py
%build
%py3_build
%pyproject_build
%install
%py3_install
%pyproject_install
%if %{without tests}
%check
%{__python3} setup.py test --test-suite=jsonschema.tests
%pytest
%endif
%files -n python%{python3_pkgversion}-%{pypi_name}
%license COPYING
%{_bindir}/jsonschema
%{python3_sitelib}/%{pypi_name}/
%{python3_sitelib}/*.egg-info
%{python3_sitelib}/%{pypi_name}*.dist-info
%files help
%doc README.rst PKG-INFO
%changelog
* Thu Nov 2 2023 Dongxing Wang <dxwangk@isoftstone.com> - 4.19.2-1
- upgrade to version 4.19.2
* Mon Apr 10 2023 zhuofeng <zhuofeng2@huawei.com> - 4.0.1-1
- revert version 4.0.1