Update to 4.6.0

This commit is contained in:
Parag Nemade 2022-06-27 15:37:22 +05:30
parent eb2b28d3ea
commit 7e0ee880fc
No known key found for this signature in database
GPG Key ID: 71932951EB71E972
3 changed files with 15 additions and 24 deletions

1
.gitignore vendored
View File

@ -15,3 +15,4 @@
/jsonschema-3.0.1.tar.gz
/jsonschema-3.0.2.tar.gz
/jsonschema-3.2.0.tar.gz
/jsonschema-4.6.0.tar.gz

View File

@ -9,21 +9,16 @@ jsonschema is an implementation of JSON Schema for Python (supporting
- Small and extensible
- Programmatic querying of which properties or items failed validation.}
%{?python_enable_dependency_generator}
Name: python-%{pypi_name}
Summary: Implementation of JSON Schema validation for Python
Version: 3.2.0
Release: 17%{?dist}
Version: 4.6.0
Release: 1%{?dist}
License: MIT
URL: https://github.com/Julian/jsonschema
Source0: %{pypi_source}
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3dist(setuptools)
BuildRequires: python3dist(setuptools-scm)
@ -42,47 +37,42 @@ BuildRequires: python3dist(twisted)
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name} %{common_description}
%{?python_extras_subpkg:%python_extras_subpkg -n python3-%{pypi_name} -i %{python3_sitelib}/*.egg-info format}
%pyproject_extras_subpkg -n python3-%{pypi_name} format format-nongpl
%prep
%autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
#This test mostly get skipped or gives error
rm jsonschema/tests/test_jsonschema_test_suite.py
%generate_buildrequires
%pyproject_buildrequires -w
%build
%py3_build
%pyproject_wheel
%install
%py3_install
%pyproject_install
%if %{with tests}
%check
PYTHONPATH=$(pwd) trial-3 %{pypi_name}
PYTHONPATH=%{buildroot}%{python3_sitelib} trial-3 %{pypi_name}
%endif
%files -n python3-%{pypi_name}
%license COPYING json/LICENSE
%doc README.rst
%{_bindir}/jsonschema
%{python3_sitelib}/%{pypi_name}/
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
%changelog
* Mon Jun 27 2022 Parag Nemade <pnemade AT redhat DOT com> - 4.6.0-1
- Update to 4.6.0
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 3.2.0-17
- Rebuilt for Python 3.11

View File

@ -1 +1 @@
SHA512 (jsonschema-3.2.0.tar.gz) = acbb4cec730a8cdab9f070593ed896064fbe082d464ec362adc952e4985e9eaa12ad0f2d55a04018ffdaf675e54037999a7219533dad6b84bf609f5dfe21bbab
SHA512 (jsonschema-4.6.0.tar.gz) = 82d9e0c7de867c4a53b67b9dc79a38a76e384f5d41c66b52c57d407e03eb97faf8ebf41370ef08b30966f13eca210f94916b6a40347a2a75088e33017ccc2f5f