Compare commits
10 Commits
6edb4d76ce
...
23547fb215
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
23547fb215 | ||
|
|
1241d3613a | ||
|
|
b193ea6854 | ||
|
|
f68c6d6f28 | ||
|
|
032e4faa39 | ||
|
|
07e6481d2c | ||
|
|
64b84e9b7f | ||
|
|
b1dbbbbdcb | ||
|
|
4fe4717db4 | ||
|
|
a7b86b2c2a |
Binary file not shown.
BIN
jsonschema-4.21.1.tar.gz
Normal file
BIN
jsonschema-4.21.1.tar.gz
Normal file
Binary file not shown.
@ -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: 3.2.0
|
||||
Version: 4.21.1
|
||||
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/source/j/jsonschema/%{pypi_name}-%{version}.tar.gz
|
||||
Source0: https://files.pythonhosted.org/packages/4d/c5/3f6165d3df419ea7b0990b3abed4ff348946a826caf0e7c990b65ff7b9be/jsonschema-4.21.1.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
|
||||
@ -37,26 +39,41 @@ Summary: An implementation of JSON Schema validation for Python %{python3
|
||||
%autosetup -n %{pypi_name}-%{version} -p1
|
||||
|
||||
%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
|
||||
* Fri Jan 26 2024 huangxinhua <huangxinhua12@huawei.com> - 4.21.1-1
|
||||
- upgrade to version 4.21.1
|
||||
|
||||
* 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
|
||||
|
||||
* Fri Dec 16 2022 lijian <lijian2@kylinos.cn> - 4.17.3-1
|
||||
- update to upstream version 4.17.3
|
||||
|
||||
* Tue Sep 27 2022 wangjunqi <wangjunqi@kylinos.cn> - 4.0.1-1
|
||||
- update version to 4.0.1
|
||||
|
||||
* Wed Jul 29 2020 jinzhimin<jinzhimin2@huawei.com> - 3.2.0-1
|
||||
- update to 3.2.0
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user