!19 update to upstream version 4.19.2
From: @desert-sailor Reviewed-by: @licihua Signed-off-by: @licihua
This commit is contained in:
commit
b193ea6854
Binary file not shown.
BIN
jsonschema-4.19.2.tar.gz
Normal file
BIN
jsonschema-4.19.2.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
|
jsonschema is JSON Schema validator currently based on http://tools.ietf.org/html/draft-zyp-json-schema-03
|
||||||
|
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: 4.0.1
|
Version: 4.19.2
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: An implementation of JSON Schema validation for Python
|
Summary: An implementation of JSON Schema validation for Python
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://pypi.python.org/pypi/jsonschema
|
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
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: python3-devel python3-setuptools python3-setuptools_scm
|
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
|
# test requirements
|
||||||
%bcond_without tests
|
%bcond_without tests
|
||||||
@ -35,31 +37,31 @@ Summary: An implementation of JSON Schema validation for Python %{python3
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{pypi_name}-%{version} -p1
|
%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
|
%build
|
||||||
%py3_build
|
%pyproject_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%pyproject_install
|
||||||
|
|
||||||
%if %{without tests}
|
%if %{without tests}
|
||||||
%check
|
%check
|
||||||
%{__python3} setup.py test --test-suite=jsonschema.tests
|
%pytest
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files -n python%{python3_pkgversion}-%{pypi_name}
|
%files -n python%{python3_pkgversion}-%{pypi_name}
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{_bindir}/jsonschema
|
%{_bindir}/jsonschema
|
||||||
%{python3_sitelib}/%{pypi_name}/
|
%{python3_sitelib}/%{pypi_name}/
|
||||||
%{python3_sitelib}/*.egg-info
|
%{python3_sitelib}/%{pypi_name}*.dist-info
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%doc README.rst PKG-INFO
|
%doc README.rst PKG-INFO
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Apr 10 2023 zhuofeng <zhuofeng2@huawei.com> - 4.0.1-1
|
||||||
- revert version 4.0.1
|
- revert version 4.0.1
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user