!11 update to 4.0.1
From: @zhuofeng6 Reviewed-by: @xiezhipeng1 Signed-off-by: @xiezhipeng1
This commit is contained in:
commit
59924d216d
Binary file not shown.
BIN
jsonschema-4.0.1.tar.gz
Normal file
BIN
jsonschema-4.0.1.tar.gz
Normal file
Binary file not shown.
@ -3,8 +3,8 @@
|
|||||||
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: 3.2.0
|
Version: 4.0.1
|
||||||
Release: 2
|
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
|
||||||
@ -35,17 +35,20 @@ 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
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%if %{without tests}
|
%if %{without tests}
|
||||||
%check
|
%check
|
||||||
%{__python3} setup.py test --test-suite=jsonschema.tests
|
%{__python3} setup.py test --test-suite=jsonschema.tests
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files -n python%{python3_pkgversion}-%{pypi_name}
|
%files -n python%{python3_pkgversion}-%{pypi_name}
|
||||||
%license COPYING
|
%license COPYING
|
||||||
@ -58,6 +61,9 @@ Summary: An implementation of JSON Schema validation for Python %{python3
|
|||||||
%doc README.rst PKG-INFO
|
%doc README.rst PKG-INFO
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 03 2022 zhuofeng <zhuofeng2@huawei.com> - 4.0.1-1
|
||||||
|
- update to 4.0.1
|
||||||
|
|
||||||
* Mon Oct 24 2022 zhangruifang <zhangruifang1@h-partners.com> - 3.2.0-2
|
* Mon Oct 24 2022 zhangruifang <zhangruifang1@h-partners.com> - 3.2.0-2
|
||||||
- Do not pack open-source test case files
|
- Do not pack open-source test case files
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user