Name: python3-jsonschema
Version: 4.16.0
Release: 1%{?dist}
Summary: An implementation of JSON Schema validation for Python
License: MIT
Group: Development/Languages/Python
Vendor: VMware, Inc.
Distribution: Photon
URL: https://python-jsonschema.readthedocs.io/en/stable
Source0: https://github.com/python-jsonschema/jsonschema/archive/refs/tags/jsonschema-%{version}.tar.gz
%define sha512 jsonschema=c84abc992f410e9d558e2ce06c7172e9e2d298cff469baf8a23b1ea5b4777e6addfa757c5cc62b2e28e257721ee55e04bec0852e5f525adfa87392cbf712828f
BuildRequires: python3-devel
BuildRequires: python3-pip
BuildRequires: python3-setuptools
BuildRequires: python3-xml
BuildRequires: python3-pathspec
BuildRequires: python3-hatch-fancy-pypi-readme
BuildRequires: python3-hatch-vcs
BuildRequires: python3-hatchling
BuildRequires: python3-pluggy
BuildRequires: python3-packaging
BuildRequires: python3-vcversioner
BuildRequires: python3-setuptools_scm
Requires: python3
Requires: python3-pyrsistent
Requires: python3-attrs
BuildArch: noarch
%description
jsonschema is JSON Schema validator currently based on
http://tools.ietf.org/html/draft-zyp-json-schema-03
%prep
%autosetup -p1 -n jsonschema-%{version}
%build
%{pyproject_wheel}
%install
%{pyproject_install}
mv %{buildroot}/%{_bindir}/jsonschema %{buildroot}/%{_bindir}/jsonschema3
%check
python3 setup test
%files
%defattr(-,root,root)
%{python3_sitelib}/*
%{_bindir}/jsonschema3
%changelog
* Mon Oct 31 2022 Prashant S Chauhan <psinghchauha@vmware.com> 4.16.0-1
- Update to 4.16.0
* Fri Jul 24 2020 Gerrit Photon <photon-checkins@vmware.com> 3.2.0-1
- Automatic Version Bump
* Wed Jun 17 2020 Tapas Kundu <tkundu@vmware.com> 2.6.0-2
- Mass removal python2
* Tue Oct 23 2018 Sujay G <gsujay@vmware.com> 2.6.0-1
- Initial version