|
|
|
@ -9,81 +9,161 @@ 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: 13%{?dist}
|
|
|
|
|
Version: 4.19.1
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
License: MIT
|
|
|
|
|
|
|
|
|
|
URL: https://github.com/Julian/jsonschema
|
|
|
|
|
Source0: %{pypi_source}
|
|
|
|
|
Patch0: 0001-Remove-hatch-vcs-and-hatch-fancy-pypi-readme-deps.patch
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
|
|
|
|
|
BuildRequires: python3dist(setuptools)
|
|
|
|
|
BuildRequires: python3dist(setuptools-scm)
|
|
|
|
|
# test requirements
|
|
|
|
|
%if %{defined rhel}
|
|
|
|
|
%bcond_with tests
|
|
|
|
|
%else
|
|
|
|
|
%bcond_without tests
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
# For “trial-3”
|
|
|
|
|
BuildRequires: python3dist(twisted)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%description %{common_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python3-%{pypi_name}
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
# This subpackage was removed for missing deps:
|
|
|
|
|
Obsoletes: python3-%{pypi_name}+format < 3.2.0-12
|
|
|
|
|
|
|
|
|
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
|
|
|
|
|
|
|
%description -n python3-%{pypi_name} %{common_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{pypi_name}-%{version}
|
|
|
|
|
%autosetup -n %{pypi_name}-%{version} -p1
|
|
|
|
|
|
|
|
|
|
# Remove bundled egg-info
|
|
|
|
|
rm -rf %{pypi_name}.egg-info
|
|
|
|
|
# Requires a checkout of the JSON-Schema-Test-Suite
|
|
|
|
|
# https://github.com/json-schema-org/JSON-Schema-Test-Suite
|
|
|
|
|
rm jsonschema/tests/test_jsonschema_test_suite.py
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%pyproject_buildrequires -w
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
%pyproject_install
|
|
|
|
|
%pyproject_save_files %{pypi_name}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with tests}
|
|
|
|
|
%check
|
|
|
|
|
PYTHONPATH=%{buildroot}%{python3_sitelib} trial-3 %{pypi_name}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files -n python3-%{pypi_name}
|
|
|
|
|
%files -n python3-%{pypi_name} -f %{pyproject_files}
|
|
|
|
|
%license COPYING json/LICENSE
|
|
|
|
|
%doc README.rst
|
|
|
|
|
|
|
|
|
|
%{_bindir}/jsonschema
|
|
|
|
|
|
|
|
|
|
%{python3_sitelib}/%{pypi_name}/
|
|
|
|
|
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 4.19.1-7
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 4.19.1-6
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
* Thu Jun 27 2024 Ondřej Budai <obudai@redhat.com> - 4.19.1-6
|
|
|
|
|
- Remove meta-subpackages because they are not needed in RHEL
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 3.2.0-13
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
* Wed Jun 26 2024 Ondřej Budai <obudai@redhat.com> - 4.19.1-5
|
|
|
|
|
- Drop unneeded build dependencies
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 4.19.1-4
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.19.1-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.19.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Sep 20 2023 Joel Capitao <jcapitao@redhat.com> - 4.19.1-1
|
|
|
|
|
- Update to 4.19.1 release (#2239879)
|
|
|
|
|
|
|
|
|
|
* Mon Aug 07 2023 Joel Capitao <jcapitao@redhat.com> - 4.19.0-1
|
|
|
|
|
- Update to 4.19.0 release (#2139238)
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.17.3-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jun 29 2023 Python Maint <python-maint@redhat.com> - 4.17.3-4
|
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
|
|
|
|
|
* Thu Jun 15 2023 Python Maint <python-maint@redhat.com> - 4.17.3-3
|
|
|
|
|
- Bootstrap for Python 3.12
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.17.3-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Dec 19 2022 Parag Nemade <pnemade AT redhat DOT com> - 4.17.3-1
|
|
|
|
|
- Update to 4.17.3 release
|
|
|
|
|
|
|
|
|
|
* Mon Nov 07 2022 Parag Nemade <pnemade AT redhat DOT com> - 4.17.0-1
|
|
|
|
|
- Update to 4.17.0 release
|
|
|
|
|
|
|
|
|
|
* Wed Sep 21 2022 Parag Nemade <pnemade AT redhat DOT com> - 4.16.0-1
|
|
|
|
|
- Update to 4.16.0 release
|
|
|
|
|
|
|
|
|
|
* Wed Aug 17 2022 Parag Nemade <pnemade AT redhat DOT com> - 4.10.0-1
|
|
|
|
|
- Update to 4.10.0 release
|
|
|
|
|
|
|
|
|
|
* Mon Aug 01 2022 Parag Nemade <pnemade AT redhat DOT com> - 4.9.0-1
|
|
|
|
|
- Update to 4.9.0 release
|
|
|
|
|
|
|
|
|
|
* Sun Jul 24 2022 Parag Nemade <pnemade AT redhat DOT com> - 4.7.2-1
|
|
|
|
|
- Update to 4.7.2 release
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.6.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jun 28 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 4.6.0-3
|
|
|
|
|
- Drop some BuildRequires that are generated or no longer needed
|
|
|
|
|
|
|
|
|
|
* Tue Jun 28 2022 Miro Hrončok <mhroncok@redhat.com> - 4.6.0-2
|
|
|
|
|
- Include the metadata directory in python3-jsonschema
|
|
|
|
|
- Fixes: rhbz#2101786
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 3.2.0-16
|
|
|
|
|
- Bootstrap for Python 3.11
|
|
|
|
|
|
|
|
|
|
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 3.2.0-15
|
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
|
|
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 3.2.0-14
|
|
|
|
|
- Bootstrap for Python 3.11
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-13
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed May 19 2021 Miroslav Rezanina <mrezanin@redhat.com> - 3.2.0-12
|
|
|
|
|
- Remove +format metapackage
|
|
|
|
|
- Resolves: rhbz#1952356
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-12
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Apr 21 2021 Miroslav Rezanina <mrezanin@redhat.com> - 3.2.0-11
|
|
|
|
|
- Remove unwanted packages
|
|
|
|
|
- Resolves: bz#1935823
|
|
|
|
|
- Resolves: bz#1942562
|
|
|
|
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 3.2.0-11
|
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 3.2.0-10
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 3.2.0-10
|
|
|
|
|
- Bootstrap for Python 3.10
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|