|
 |
d6d23d4 |
%global pypi_name jsonschema
|
|
 |
d6d23d4 |
|
|
 |
e62be75 |
%global common_description %{expand:
|
|
 |
e62be75 |
jsonschema is an implementation of JSON Schema for Python (supporting
|
|
 |
e62be75 |
2.7+, including Python 3).
|
|
Thomas Spura |
83756b6 |
|
|
 |
e62be75 |
- Full support for Draft 7, Draft 6, Draft 4 and Draft 3
|
|
 |
e62be75 |
- Lazy validation that can iteratively report all validation errors.
|
|
 |
e62be75 |
- Small and extensible
|
|
 |
e62be75 |
- Programmatic querying of which properties or items failed validation.}
|
|
 |
e62be75 |
|
|
 |
e62be75 |
Name: python-%{pypi_name}
|
|
 |
e62be75 |
Summary: Implementation of JSON Schema validation for Python
|
|
 |
7e0ee88 |
Version: 4.6.0
|
|
 |
4747ac6 |
Release: 2%{?dist}
|
|
 |
d6d23d4 |
License: MIT
|
|
 |
e62be75 |
URL: https://github.com/Julian/jsonschema
|
|
 |
d19d678 |
Source0: %{pypi_source}
|
|
 |
e62be75 |
|
|
 |
d6d23d4 |
BuildArch: noarch
|
|
 |
e62be75 |
BuildRequires: python3-devel
|
|
 |
e62be75 |
BuildRequires: python3dist(setuptools)
|
|
 |
e62be75 |
BuildRequires: python3dist(setuptools-scm)
|
|
 |
e62be75 |
|
|
 |
e62be75 |
# test requirements
|
|
 |
12cb94e |
%bcond_without tests
|
|
 |
12cb94e |
%if %{with tests}
|
|
 |
e62be75 |
BuildRequires: python3dist(attrs)
|
|
 |
d19d678 |
BuildRequires: python3dist(pyrsistent)
|
|
 |
e62be75 |
BuildRequires: python3dist(six)
|
|
 |
e62be75 |
BuildRequires: python3dist(twisted)
|
|
 |
12cb94e |
%endif
|
|
 |
e62be75 |
|
|
 |
e62be75 |
%description %{common_description}
|
|
 |
e62be75 |
|
|
 |
e62be75 |
|
|
 |
e62be75 |
%package -n python3-%{pypi_name}
|
|
 |
e62be75 |
Summary: %{summary}
|
|
 |
e62be75 |
%description -n python3-%{pypi_name} %{common_description}
|
|
 |
e62be75 |
|
|
 |
7e0ee88 |
%pyproject_extras_subpkg -n python3-%{pypi_name} format format-nongpl
|
|
 |
d0bb165 |
|
|
 |
d0bb165 |
|
|
 |
d6d23d4 |
%prep
|
|
 |
d19d678 |
%autosetup -n %{pypi_name}-%{version}
|
|
 |
e62be75 |
|
|
 |
7e0ee88 |
#This test mostly get skipped or gives error
|
|
 |
7e0ee88 |
rm jsonschema/tests/test_jsonschema_test_suite.py
|
|
 |
e62be75 |
|
|
 |
7e0ee88 |
%generate_buildrequires
|
|
 |
7e0ee88 |
%pyproject_buildrequires -w
|
|
 |
d6d23d4 |
|
|
 |
d6d23d4 |
%build
|
|
 |
7e0ee88 |
%pyproject_wheel
|
|
 |
d6d23d4 |
|
|
 |
d6d23d4 |
%install
|
|
 |
7e0ee88 |
%pyproject_install
|
|
 |
4747ac6 |
%pyproject_save_files %{pypi_name}
|
|
 |
e62be75 |
|
|
 |
d6d23d4 |
|
|
 |
12cb94e |
%if %{with tests}
|
|
Thomas Spura |
83756b6 |
%check
|
|
 |
7e0ee88 |
PYTHONPATH=%{buildroot}%{python3_sitelib} trial-3 %{pypi_name}
|
|
 |
12cb94e |
%endif
|
|
 |
e62be75 |
|
|
 |
4747ac6 |
%files -n python3-%{pypi_name} -f %{pyproject_files}
|
|
 |
e62be75 |
%license COPYING json/LICENSE
|
|
Orion Poplawski |
70e86e1 |
%doc README.rst
|
|
Alan Pevec |
69c2281 |
%{_bindir}/jsonschema
|
|
 |
d6d23d4 |
|
|
 |
d6d23d4 |
%changelog
|
|
 |
4747ac6 |
* Tue Jun 28 2022 Miro Hrončok <mhroncok@redhat.com> - 4.6.0-2
|
|
 |
4747ac6 |
- Include the metadata directory in python3-jsonschema
|
|
 |
4747ac6 |
- Fixes: rhbz#2101786
|
|
 |
4747ac6 |
|
|
 |
7e0ee88 |
* Mon Jun 27 2022 Parag Nemade <pnemade AT redhat DOT com> - 4.6.0-1
|
|
 |
7e0ee88 |
- Update to 4.6.0
|
|
 |
7e0ee88 |
|
|
 |
eb2b28d |
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 3.2.0-17
|
|
 |
eb2b28d |
- Rebuilt for Python 3.11
|
|
 |
eb2b28d |
|
|
 |
144faca |
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 3.2.0-16
|
|
 |
144faca |
- Bootstrap for Python 3.11
|
|
 |
144faca |
|
|
 |
30095f8 |
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 3.2.0-15
|
|
 |
30095f8 |
- Rebuilt for Python 3.11
|
|
 |
30095f8 |
|
|
 |
511d3e8 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 3.2.0-14
|
|
 |
511d3e8 |
- Bootstrap for Python 3.11
|
|
 |
511d3e8 |
|
|
 |
6bbf143 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-13
|
|
 |
6bbf143 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
 |
6bbf143 |
|
|
 |
f516a44 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-12
|
|
 |
f516a44 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
 |
f516a44 |
|
|
 |
8254365 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 3.2.0-11
|
|
 |
8254365 |
- Rebuilt for Python 3.10
|
|
 |
8254365 |
|
|
 |
1ab179a |
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 3.2.0-10
|
|
 |
1ab179a |
- Bootstrap for Python 3.10
|
|
 |
1ab179a |
|
|
 |
d150a1e |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-9
|
|
 |
d150a1e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
 |
d150a1e |
|
|
 |
d0bb165 |
* Tue Nov 10 2020 Nils Philippsen <nils@redhat.com> - 3.2.0-8
|
|
 |
d0bb165 |
- Provide python3dist(jsonschema[format]) again (#1878976)
|
|
 |
d0bb165 |
|
|
 |
b6696c5 |
* Tue Sep 29 2020 Miro Hrončok <mhroncok@redhat.com> - 3.2.0-7
|
|
 |
b6696c5 |
- Remove metapackage for python3dist(jsonschema[format]) (missing deps, #1880820)
|
|
 |
b6696c5 |
|
|
 |
766932e |
* Sat Sep 19 2020 Miro Hrončok <mhroncok@redhat.com> - 3.2.0-6
|
|
 |
766932e |
- Add metapackage for python3dist(jsonschema[format]) needed by python3-bravado-core (#1878976)
|
|
 |
766932e |
|
|
 |
a643c8c |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-5
|
|
 |
a643c8c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
 |
a643c8c |
|
|
 |
da98985 |
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 3.2.0-4
|
|
 |
da98985 |
- Rebuilt for Python 3.9
|
|
 |
da98985 |
|
|
 |
155d945 |
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 3.2.0-3
|
|
 |
155d945 |
- Bootstrap for Python 3.9
|
|
 |
155d945 |
|
|
 |
d9f5c32 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-2
|
|
 |
d9f5c32 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
 |
d9f5c32 |
|
|
 |
77f64a8 |
* Sat Dec 07 2019 Fabio Valentini <decathorpe@gmail.com> - 3.2.0-1
|
|
 |
77f64a8 |
- Update to version 3.2.0.
|
|
 |
77f64a8 |
|
|
 |
8a29944 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 3.0.2-4
|
|
 |
8a29944 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
 |
8a29944 |
|
|
 |
8ea42ab |
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 3.0.2-3
|
|
 |
8ea42ab |
- Rebuilt for Python 3.8
|
|
 |
8ea42ab |
|
|
 |
5575e50 |
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 3.0.2-2
|
|
 |
5575e50 |
- Bootstrap for Python 3.8
|
|
 |
5575e50 |
|
|
 |
b479ab8 |
* Fri Aug 02 2019 Fabio Valentini <decathorpe@gmail.com> - 3.0.2-1
|
|
 |
b479ab8 |
- Update to version 3.0.2.
|
|
 |
b479ab8 |
|
|
 |
e810d29 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1-2
|
|
 |
e810d29 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
 |
e810d29 |
|
|
 |
2becd1b |
* Fri Mar 01 2019 Fabio Valentini <decathorpe@gmail.com> - 3.0.1-1
|
|
 |
2becd1b |
- Update to version 3.0.1.
|
|
 |
2becd1b |
|
|
 |
d19d678 |
* Sun Feb 24 2019 Fabio Valentini <decathorpe@gmail.com> - 3.0.0-1
|
|
 |
d19d678 |
- Update to version 3.0.0.
|
|
 |
d19d678 |
|
|
 |
3e3fcd7 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0~b3-2
|
|
 |
3e3fcd7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
 |
3e3fcd7 |
|
|
 |
9fd6f7a |
* Mon Jan 28 2019 Fabio Valentini <decathorpe@gmail.com> - 3.0.0~b3-1
|
|
 |
9fd6f7a |
- Update to version 3.0.0b3.
|
|
 |
9fd6f7a |
|
|
 |
9cc61da |
* Tue Jan 22 2019 Fabio Valentini <decathorpe@gmail.com> - 3.0.0~b1-1
|
|
 |
9cc61da |
- Update to version 3.0.0b1.
|
|
 |
9cc61da |
|
|
 |
e62be75 |
* Sat Jan 19 2019 Fabio Valentini <decathorpe@gmail.com> - 3.0.0~a5-1
|
|
 |
e62be75 |
- Update to version 3.0.0a5.
|
|
 |
e62be75 |
- Moved python2 sub-package to separate source package.
|
|
 |
e62be75 |
|
|
 |
0596d4b |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-6
|
|
 |
0596d4b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
 |
0596d4b |
|
|
 |
30db727 |
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 2.6.0-5
|
|
 |
30db727 |
- Rebuilt for Python 3.7
|
|
 |
30db727 |
|
|
 |
b4114a4 |
* Wed Feb 21 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.6.0-4
|
|
 |
b4114a4 |
- Update Python 2 dependency declarations to new packaging standards
|
|
 |
b4114a4 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
 |
b4114a4 |
|
|
 |
d066e4a |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-3
|
|
 |
d066e4a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
 |
d066e4a |
|
|
 |
efc692e |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-2
|
|
 |
efc692e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
 |
efc692e |
|
|
Alan Pevec |
1abd40c |
* Fri Jul 21 2017 Jan Beran <jberan@redhat.com> 2.6.0-1
|
|
Alan Pevec |
1abd40c |
- Update to 2.6.0
|
|
Alan Pevec |
1abd40c |
- Fix of missing Python 3 version executables
|
|
Alan Pevec |
1abd40c |
|
|
 |
d5a241f |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.1-5
|
|
 |
d5a241f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
 |
d5a241f |
|
|
 |
fa5e446 |
* Wed Dec 14 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.5.1-4
|
|
 |
fa5e446 |
- Rebuild for Python 3.6
|
|
 |
fa5e446 |
|
|
Orion Poplawski |
70e86e1 |
* Mon Nov 21 2016 Orion Poplawski <orion@cora.nwra.com> - 2.5.1-3
|
|
Orion Poplawski |
70e86e1 |
- Enable python3 builds for EPEL (bug #1395653)
|
|
Orion Poplawski |
70e86e1 |
- Ship python2-jsonschema
|
|
Orion Poplawski |
70e86e1 |
- Modernize spec
|
|
Orion Poplawski |
70e86e1 |
- Use %%license
|
|
Orion Poplawski |
70e86e1 |
|
|
 |
8565f12 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.1-2
|
|
 |
8565f12 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
 |
8565f12 |
|
|
Alan Pevec |
50816cf |
* Fri Feb 26 2016 Lon Hohberger <lhh@redhat.com> 2.5.1-1
|
|
Alan Pevec |
50816cf |
- Update to 2.5.1
|
|
Alan Pevec |
50816cf |
|
|
 |
a8b41ca |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-4
|
|
 |
a8b41ca |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
 |
a8b41ca |
|
|
Robert Kuska |
8bb4222 |
* Tue Oct 13 2015 Robert Kuska <rkuska@redhat.com> - 2.4.0-3
|
|
Robert Kuska |
8bb4222 |
- Rebuilt for Python3.5 rebuild
|
|
Robert Kuska |
8bb4222 |
|
|
 |
16c5a43 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.0-2
|
|
 |
16c5a43 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
 |
16c5a43 |
|
|
Alan Pevec |
69c2281 |
* Sat Sep 06 2014 Alan Pevec <apevec@redhat.com> - 2.4.0-1
|
|
Alan Pevec |
69c2281 |
- Latest upstream
|
|
Alan Pevec |
69c2281 |
|
|
 |
9d56511 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.0-3
|
|
 |
9d56511 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
 |
9d56511 |
|
|
 |
873e4cb |
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 2.3.0-2
|
|
 |
873e4cb |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
 |
873e4cb |
|
|
 |
d13263b |
* Mon Mar 10 2014 Pádraig Brady <pbrady@redhat.com> - 2.3.0-1
|
|
 |
d13263b |
- Latest upstream
|
|
 |
d13263b |
|
|
 |
f6aa9e9 |
* Tue Feb 04 2014 Matthias Runge <mrunge@redhat.com> - 2.0.0-3
|
|
 |
f6aa9e9 |
- fix %%{? issues in spec
|
|
 |
f6aa9e9 |
|
|
Thomas Spura |
83756b6 |
* Thu Oct 17 2013 Thomas Spura <tomspur@fedoraproject.org> - 2.0.0-2
|
|
Thomas Spura |
4ed2f41 |
- add python3 subpackage (#1016207)
|
|
Thomas Spura |
83756b6 |
- add %%check
|
|
Thomas Spura |
83756b6 |
|
|
 |
5b08d33 |
* Fri Aug 16 2013 Alan Pevec <apevec@redhat.com> 2.0.0-1
|
|
 |
5b08d33 |
- Update to 2.0.0 release
|
|
 |
5b08d33 |
|
|
 |
fe1ef5d |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-2
|
|
 |
fe1ef5d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
 |
fe1ef5d |
|
|
 |
73756f5 |
* Mon May 13 2013 Pádraig Brady <P@draigBrady.com> - 1.3.0-1
|
|
 |
73756f5 |
- Update to 1.3.0 release
|
|
 |
73756f5 |
|
|
 |
3f0ad43 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-3
|
|
 |
3f0ad43 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
 |
3f0ad43 |
|
|
 |
5737170 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-2
|
|
 |
5737170 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
 |
5737170 |
|
|
 |
d6d23d4 |
* Wed May 23 2012 Pádraig Brady <P@draigBrady.com> - 0.2-1
|
|
 |
d6d23d4 |
- Initial package.
|
|
 |
e62be75 |
|